>20,d=r?a:a+l,p=o?a+l:c;for(let f=d;f=u&&h.type===n)return f}if(o){let f=s[u];if(f&&Je(f)&&f.type===n)return u}return null}function Dt(e,t,n,r){let o=e[n],i=t.data;if(wh(o)){let s=o;s.resolving&&np(tp(i[n]));let a=Tr(s.canSeeViewProviders);s.resolving=!0;let u,c=s.injectImpl?ne(s.injectImpl):null,l=Uc(e,r,w.Default);try{o=e[n]=s.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&Ih(n,i[n],t)}finally{c!==null&&ne(c),Tr(a),s.resolving=!1,qc()}}return o}function Ah(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(un)?e[un]:void 0;return typeof t=="number"?t>=0?t&Kc:Oh:t}function gu(e,t,n){let r=1<>Jc)]&r)}function mu(e,t){return!(e&w.Self)&&!(e&w.Host&&t)}var ft=class{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return nl(this._tNode,this._lView,t,qr(r),n)}};function Oh(){return new ft(Z(),b())}function E0(e){return Dn(()=>{let t=e.prototype.constructor,n=t[Dr]||Di(t),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[Dr]||Di(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function Di(e){return Yu(e)?()=>{let t=Di(Q(e));return t&&t()}:pt(e)}function Rh(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[m]&2048&&!(s[m]&512);){let a=rl(i,s,n,r|w.Self,be);if(a!==be)return a;let u=i.parent;if(!u){let c=s[Ec];if(c){let l=c.get(n,be,r);if(l!==be)return l}u=ol(s),s=s[Zt]}i=u}return o}function ol(e){let t=e[y],n=t.type;return n===2?t.declTNode:n===1?e[se]:null}function Fh(e){return Th(Z(),e)}function yu(e,t=null,n=null,r){let o=il(e,t,n,r);return o.resolveInjectorInitializers(),o}function il(e,t=null,n=null,r,o=new Set){let i=[n||re,Pp(e)];return r=r||(typeof e=="object"?void 0:K(e)),new fn(i,t||ws(),r||null,o)}var dt=class dt{static create(t,n){if(Array.isArray(t))return yu({name:""},n,t,"");{let r=t.name??"";return yu({name:r},t.parent,t.providers,r)}}};dt.THROW_IF_NOT_FOUND=cn,dt.NULL=new Cr,dt.\u0275prov=P({token:dt,providedIn:"any",factory:()=>$(rc)}),dt.__NG_ELEMENT_ID__=-1;var It=dt;var kh=new N("");kh.__NG_ELEMENT_ID__=e=>{let t=Z();if(t===null)throw new x(204,!1);if(t.type&2)return t.value;if(e&w.Optional)return null;throw new x(204,!1)};var Ph="ngOriginalError";function Yo(e){return e[Ph]}var Fs=(()=>{let t=class t{};t.__NG_ELEMENT_ID__=Lh,t.__NG_ENV_ID__=r=>r;let e=t;return e})(),Ii=class extends Fs{constructor(t){super(),this._lView=t}onDestroy(t){return Oc(this._lView,t),()=>ih(this._lView,t)}};function Lh(){return new Ii(b())}var Kr=(()=>{let t=class t{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new nn(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let r=this.taskId++;return this.pendingTasks.add(r),r}remove(r){this.pendingTasks.delete(r),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}};t.\u0275prov=P({token:t,providedIn:"root",factory:()=>new t});let e=t;return e})();var Ei=class extends we{constructor(t=!1){super(),this.destroyRef=void 0,this.pendingTasks=void 0,this.__isAsync=t,Ic()&&(this.destroyRef=_(Fs,{optional:!0})??void 0,this.pendingTasks=_(Kr,{optional:!0})??void 0)}emit(t){let n=M(null);try{super.next(t)}finally{M(n)}}subscribe(t,n,r){let o=t,i=n||(()=>null),s=r;if(t&&typeof t=="object"){let u=t;o=u.next?.bind(u),i=u.error?.bind(u),s=u.complete?.bind(u)}this.__isAsync&&(i=this.wrapInTimeout(i),o&&(o=this.wrapInTimeout(o)),s&&(s=this.wrapInTimeout(s)));let a=super.subscribe({next:o,error:i,complete:s});return t instanceof B&&t.add(a),a}wrapInTimeout(t){return n=>{let r=this.pendingTasks?.add();setTimeout(()=>{t(n),r!==void 0&&this.pendingTasks?.remove(r)})}}},De=Ei;function Ar(...e){}function sl(e){let t,n;function r(){e=Ar;try{n!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(n),t!==void 0&&clearTimeout(t)}catch{}}return t=setTimeout(()=>{e(),r()}),typeof requestAnimationFrame=="function"&&(n=requestAnimationFrame(()=>{e(),r()})),()=>r()}function vu(e){return queueMicrotask(()=>e()),()=>{e=Ar}}var ks="isAngularZone",Or=ks+"_ID",jh=0,J=class e{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new De(!1),this.onMicrotaskEmpty=new De(!1),this.onStable=new De(!1),this.onError=new De(!1),typeof Zone>"u")throw new x(908,!1);Zone.assertZonePatched();let o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!r&&n,o.shouldCoalesceRunChangeDetection=r,o.callbackScheduled=!1,$h(o)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(ks)===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new x(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new x(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,o){let i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,t,Vh,Ar,Ar);try{return i.runTask(s,n,r)}finally{i.cancelTask(s)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}},Vh={};function Ps(e){if(e._nesting==0&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function Bh(e){e.isCheckStableRunning||e.callbackScheduled||(e.callbackScheduled=!0,Zone.root.run(()=>{sl(()=>{e.callbackScheduled=!1,wi(e),e.isCheckStableRunning=!0,Ps(e),e.isCheckStableRunning=!1})}),wi(e))}function $h(e){let t=()=>{Bh(e)},n=jh++;e._inner=e._inner.fork({name:"angular",properties:{[ks]:!0,[Or]:n,[Or+n]:!0},onInvokeTask:(r,o,i,s,a,u)=>{if(Hh(u))return r.invokeTask(i,s,a,u);try{return Du(e),r.invokeTask(i,s,a,u)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),Iu(e)}},onInvoke:(r,o,i,s,a,u,c)=>{try{return Du(e),r.invoke(i,s,a,u,c)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!Uh(u)&&t(),Iu(e)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,wi(e),Ps(e)):s.change=="macroTask"&&(e.hasPendingMacrotasks=s.macroTask))},onHandleError:(r,o,i,s)=>(r.handleError(i,s),e.runOutsideAngular(()=>e.onError.emit(s)),!1)})}function wi(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function Du(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Iu(e){e._nesting--,Ps(e)}var Ci=class{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new De,this.onMicrotaskEmpty=new De,this.onStable=new De,this.onError=new De}run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,o){return t.apply(n,r)}};function Hh(e){return al(e,"__ignore_ng_zone__")}function Uh(e){return al(e,"__scheduler_tick__")}function al(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}var Ut=class{constructor(){this._console=console}handleError(t){let n=this._findOriginalError(t);this._console.error("ERROR",t),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&Yo(t);for(;n&&Yo(n);)n=Yo(n);return n||null}},zh=new N("",{providedIn:"root",factory:()=>{let e=_(J),t=_(Ut);return n=>e.runOutsideAngular(()=>t.handleError(n))}});function Gh(){return Yt(Z(),b())}function Yt(e,t){return new Qt(fe(e,t))}var Qt=(()=>{let t=class t{constructor(r){this.nativeElement=r}};t.__NG_ELEMENT_ID__=Gh;let e=t;return e})();function Wh(e){return e instanceof Qt?e.nativeElement:e}function qh(){return this._results[Symbol.iterator]()}var bi=class e{get changes(){return this._changes??=new De}constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._onDirty=void 0,this._results=[],this._changesDetected=!1,this._changes=void 0,this.length=0,this.first=void 0,this.last=void 0;let n=e.prototype;n[Symbol.iterator]||(n[Symbol.iterator]=qh)}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,n){return this._results.reduce(t,n)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,n){this.dirty=!1;let r=gp(t);(this._changesDetected=!hp(this._results,r,n))&&(this._results=r,this.length=r.length,this.last=r[this.length-1],this.first=r[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}onDirty(t){this._onDirty=t}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}};function ul(e){return(e.flags&128)===128}var cl=new Map,Zh=0;function Yh(){return Zh++}function Qh(e){cl.set(e[Zr],e)}function Kh(e){cl.delete(e[Zr])}var Eu="__ngContext__";function Et(e,t){Ze(t)?(e[Eu]=t[Zr],Qh(t)):e[Eu]=t}function ll(e){return fl(e[pn])}function dl(e){return fl(e[Ie])}function fl(e){for(;e!==null&&!ke(e);)e=e[Ie];return e}var Mi;function w0(e){Mi=e}function Jh(){if(Mi!==void 0)return Mi;if(typeof document<"u")return document;throw new x(210,!1)}var C0=new N("",{providedIn:"root",factory:()=>Xh}),Xh="ng",eg=new N(""),Ls=new N("",{providedIn:"platform",factory:()=>"unknown"});var b0=new N(""),M0=new N("",{providedIn:"root",factory:()=>Jh().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var tg="h",ng="b";var rg=()=>null;function js(e,t,n=!1){return rg(e,t,n)}var pl=!1,og=new N("",{providedIn:"root",factory:()=>pl});var ar;function ig(){if(ar===void 0&&(ar=null,We.trustedTypes))try{ar=We.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return ar}function Jr(e){return ig()?.createHTML(e)||e}var ur;function sg(){if(ur===void 0&&(ur=null,We.trustedTypes))try{ur=We.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return ur}function wu(e){return sg()?.createScriptURL(e)||e}var Re=class{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Gu})`}},_i=class extends Re{getTypeName(){return"HTML"}},xi=class extends Re{getTypeName(){return"Style"}},Si=class extends Re{getTypeName(){return"Script"}},Ti=class extends Re{getTypeName(){return"URL"}},Ni=class extends Re{getTypeName(){return"ResourceURL"}};function Cn(e){return e instanceof Re?e.changingThisBreaksApplicationSecurity:e}function hl(e,t){let n=ag(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${Gu})`)}return n===t}function ag(e){return e instanceof Re&&e.getTypeName()||null}function _0(e){return new _i(e)}function x0(e){return new xi(e)}function S0(e){return new Si(e)}function T0(e){return new Ti(e)}function N0(e){return new Ni(e)}function ug(e){let t=new Oi(e);return cg()?new Ai(t):t}var Ai=class{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t=""+t;try{let n=new window.DOMParser().parseFromString(Jr(t),"text/html").body;return n===null?this.inertDocumentHelper.getInertBodyElement(t):(n.firstChild?.remove(),n)}catch{return null}}},Oi=class{constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){let n=this.inertDocument.createElement("template");return n.innerHTML=Jr(t),n}};function cg(){try{return!!new window.DOMParser().parseFromString(Jr(""),"text/html")}catch{return!1}}var lg=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function gl(e){return e=String(e),e.match(lg)?e:"unsafe:"+e}function Pe(e){let t={};for(let n of e.split(","))t[n]=!0;return t}function bn(...e){let t={};for(let n of e)for(let r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}var ml=Pe("area,br,col,hr,img,wbr"),yl=Pe("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),vl=Pe("rp,rt"),dg=bn(vl,yl),fg=bn(yl,Pe("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),pg=bn(vl,Pe("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),Cu=bn(ml,fg,pg,dg),Dl=Pe("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),hg=Pe("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),gg=Pe("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext"),mg=bn(Dl,hg,gg),yg=Pe("script,style,template"),Ri=class{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let n=t.firstChild,r=!0,o=[];for(;n;){if(n.nodeType===Node.ELEMENT_NODE?r=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,r&&n.firstChild){o.push(n),n=Ig(n);continue}for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let i=Dg(n);if(i){n=i;break}n=o.pop()}}return this.buf.join("")}startElement(t){let n=bu(t).toLowerCase();if(!Cu.hasOwnProperty(n))return this.sanitizedSomething=!0,!yg.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);let r=t.attributes;for(let o=0;o"),!0}endElement(t){let n=bu(t).toLowerCase();Cu.hasOwnProperty(n)&&!ml.hasOwnProperty(n)&&(this.buf.push(""),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(Mu(t))}};function vg(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function Dg(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw Il(t);return t}function Ig(e){let t=e.firstChild;if(t&&vg(e,t))throw Il(t);return t}function bu(e){let t=e.nodeName;return typeof t=="string"?t:"FORM"}function Il(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var Eg=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,wg=/([^\#-~ |!])/g;function Mu(e){return e.replace(/&/g,"&").replace(Eg,function(t){let n=t.charCodeAt(0),r=t.charCodeAt(1);return""+((n-55296)*1024+(r-56320)+65536)+";"}).replace(wg,function(t){return""+t.charCodeAt(0)+";"}).replace(//g,">")}var cr;function A0(e,t){let n=null;try{cr=cr||ug(e);let r=t?String(t):"";n=cr.getInertBodyElement(r);let o=5,i=r;do{if(o===0)throw new Error("Failed to sanitize html because the input is unstable");o--,r=i,i=n.innerHTML,n=cr.getInertBodyElement(r)}while(r!==i);let a=new Ri().sanitizeChildren(_u(n)||n);return Jr(a)}finally{if(n){let r=_u(n)||n;for(;r.firstChild;)r.firstChild.remove()}}}function _u(e){return"content"in e&&Cg(e)?e.content:null}function Cg(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var Vs=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}(Vs||{});function bg(e){let t=El();return t?t.sanitize(Vs.URL,e)||"":hl(e,"URL")?Cn(e):gl(Wr(e))}function Mg(e){let t=El();if(t)return wu(t.sanitize(Vs.RESOURCE_URL,e)||"");if(hl(e,"ResourceURL"))return wu(Cn(e));throw new x(904,!1)}function _g(e,t){return t==="src"&&(e==="embed"||e==="frame"||e==="iframe"||e==="media"||e==="script")||t==="href"&&(e==="base"||e==="link")?Mg:bg}function O0(e,t,n){return _g(t,n)(e)}function El(){let e=b();return e&&e[Me].sanitizer}function wl(e){return e instanceof Function?e():e}function xg(e){return(e??_(It)).get(Ls)==="browser"}var Rr=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(Rr||{}),Sg;function Bs(e,t){return Sg(e,t)}function Ft(e,t,n,r,o){if(r!=null){let i,s=!1;ke(r)?i=r:Ze(r)&&(s=!0,r=r[Fe]);let a=_e(r);e===0&&n!==null?o==null?xl(t,n,a):Fr(t,n,a,o||null,!0):e===1&&n!==null?Fr(t,n,a,o||null,!0):e===2?$g(t,a,s):e===3&&t.destroyNode(a),i!=null&&Ug(t,e,i,n,o)}}function Tg(e,t){return e.createText(t)}function Ng(e,t,n){e.setValue(t,n)}function Cl(e,t,n){return e.createElement(t,n)}function Ag(e,t){bl(e,t),t[Fe]=null,t[se]=null}function Og(e,t,n,r,o,i){r[Fe]=o,r[se]=t,eo(e,r,n,1,o,i)}function bl(e,t){t[Me].changeDetectionScheduler?.notify(8),eo(e,t,t[j],2,null,null)}function Rg(e){let t=e[pn];if(!t)return Qo(e[y],e);for(;t;){let n=null;if(Ze(t))n=t[pn];else{let r=t[W];r&&(n=r)}if(!n){for(;t&&!t[Ie]&&t!==e;)Ze(t)&&Qo(t[y],t),t=t[q];t===null&&(t=e),Ze(t)&&Qo(t[y],t),n=t&&t[Ie]}t=n}}function Fg(e,t,n,r){let o=W+r,i=n.length;r>0&&(n[o-1][Ie]=t),r0&&(e[n-1][Ie]=r[Ie]);let i=Er(e,W+t);Ag(r[y],r);let s=i[Oe];s!==null&&s.detachView(i[y]),r[q]=null,r[Ie]=null,r[m]&=-129}return r}function Xr(e,t){if(!(t[m]&256)){let n=t[j];n.destroyNode&&eo(e,t,n,3,null,null),Rg(t)}}function Qo(e,t){if(t[m]&256)return;let n=M(null);try{t[m]&=-129,t[m]|=256,t[de]&&_o(t[de]),Pg(e,t),kg(e,t),t[y].type===1&&t[j].destroy();let r=t[ht];if(r!==null&&ke(t[q])){r!==t[q]&&$s(r,t);let o=t[Oe];o!==null&&o.detachView(e)}Kh(t)}finally{M(n)}}function kg(e,t){let n=e.cleanup,r=t[br];if(n!==null)for(let i=0;i=0?r[s]():r[-s].unsubscribe(),i+=2}else{let s=r[n[i+1]];n[i].call(s)}r!==null&&(t[br]=null);let o=t[qe];if(o!==null){t[qe]=null;for(let i=0;i-1){let{encapsulation:i}=e.data[r.directiveStart+o];if(i===ln.None||i===ln.Emulated)return null}return fe(r,n)}}function Fr(e,t,n,r,o){e.insertBefore(t,n,r,o)}function xl(e,t,n){e.appendChild(t,n)}function xu(e,t,n,r,o){r!==null?Fr(e,t,n,r,o):xl(e,t,n)}function Sl(e,t){return e.parentNode(t)}function jg(e,t){return e.nextSibling(t)}function Tl(e,t,n){return Bg(e,t,n)}function Vg(e,t,n){return e.type&40?fe(e,n):null}var Bg=Vg,Su;function Hs(e,t,n,r){let o=_l(e,r,t),i=t[j],s=r.parent||t[se],a=Tl(s,r,t);if(o!=null)if(Array.isArray(n))for(let u=0;uue&&Fl(e,t,ue,!1),Ce(s?2:0,o),n(r,o)}finally{yt(i),Ce(s?3:1,o)}}function jl(e,t,n){if(Cc(t)){let r=M(null);try{let o=t.directiveStart,i=t.directiveEnd;for(let s=o;snull;function Jg(e,t,n,r){let o=Zl(t);o.push(n),e.firstCreatePass&&Yl(e).push(r,o.length-1)}function Xg(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return kc()&&(a|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function Tu(e,t,n,r,o){for(let i in t){if(!t.hasOwnProperty(i))continue;let s=t[i];if(s===void 0)continue;r??={};let a,u=Ye.None;Array.isArray(s)?(a=s[0],u=s[1]):a=s;let c=i;if(o!==null){if(!o.hasOwnProperty(i))continue;c=o[i]}e===0?Nu(r,n,c,a,u):Nu(r,n,c,a)}return r}function Nu(e,t,n,r,o){let i;e.hasOwnProperty(n)?(i=e[n]).push(t,r):i=e[n]=[t,r],o!==void 0&&i.push(o)}function em(e,t,n){let r=t.directiveStart,o=t.directiveEnd,i=e.data,s=t.attrs,a=[],u=null,c=null;for(let l=r;l0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function im(e,t,n,r){let o=n.directiveStart,i=n.directiveEnd;Yr(n)&&fm(t,n,e.data[o+n.componentOffset]),e.firstCreatePass||Nr(n,t),Et(r,t);let s=n.initialInputs;for(let a=o;a{Qr(e.lView)},consumerOnSignalRead(){this.lView[de]=this}});function Sm(e){let t=e[de]??Object.create(Tm);return t.lView=e,t}var Tm=He($e({},en),{consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{let t=mt(e.lView);for(;t&&!Jl(t[y]);)t=mt(t);t&&Ac(t)},consumerOnSignalRead(){this.lView[de]=this}});function Jl(e){return e.type!==2}var Nm=100;function Xl(e,t=!0,n=0){let r=e[Me],o=r.rendererFactory,i=!1;i||o.begin?.();try{Am(e,n)}catch(s){throw t&&Ql(e,s),s}finally{i||(o.end?.(),r.inlineEffectRunner?.flush())}}function Am(e,t){let n=Vc();try{pu(!0),Li(e,t);let r=0;for(;hn(e);){if(r===Nm)throw new x(103,!1);r++,Li(e,1)}}finally{pu(n)}}function Om(e,t,n,r){let o=t[m];if((o&256)===256)return;let i=!1,s=!1;!i&&t[Me].inlineEffectRunner?.flush(),xs(t);let a=!0,u=null,c=null;i||(Jl(e)?(c=bm(t),u=An(c)):ga()===null?(a=!1,c=Sm(t),u=An(c)):t[de]&&(_o(t[de]),t[de]=null));try{Nc(t),fh(e.bindingStartIndex),n!==null&&Ll(e,t,n,2,r);let l=(o&3)===3;if(!i)if(l){let f=e.preOrderCheckHooks;f!==null&&hr(t,f,null)}else{let f=e.preOrderHooks;f!==null&&gr(t,f,0,null),Wo(t,0)}if(s||Rm(t),ed(t,0),e.contentQueries!==null&&ql(e,t),!i)if(l){let f=e.contentCheckHooks;f!==null&&hr(t,f)}else{let f=e.contentHooks;f!==null&&gr(t,f,1),Wo(t,1)}Wg(e,t);let d=e.components;d!==null&&nd(t,d,0);let p=e.viewQuery;if(p!==null&&Pi(2,p,r),!i)if(l){let f=e.viewCheckHooks;f!==null&&hr(t,f)}else{let f=e.viewHooks;f!==null&&gr(t,f,2),Wo(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[Go]){for(let f of t[Go])f();t[Go]=null}i||(t[m]&=-73)}catch(l){throw i||Qr(t),l}finally{c!==null&&(bo(c,u),a&&_m(c)),Ss()}}function ed(e,t){for(let n=ll(e);n!==null;n=dl(n))for(let r=W;r-1&&(gn(t,r),Er(n,r))}this._attachedToViewContainer=!1}Xr(this._lView[y],this._lView)}onDestroy(t){Oc(this._lView,t)}markForCheck(){qs(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[m]&=-129}reattach(){hi(this._lView),this._lView[m]|=128}detectChanges(){this._lView[m]|=1024,Xl(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new x(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=fi(this._lView),n=this._lView[ht];n!==null&&!t&&$s(n,this._lView),bl(this._lView[y],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new x(902,!1);this._appRef=t;let n=fi(this._lView),r=this._lView[ht];r!==null&&!n&&Ml(r,this._lView),hi(this._lView)}},Ct=(()=>{let t=class t{};t.__NG_ELEMENT_ID__=Lm;let e=t;return e})(),km=Ct,Pm=class extends km{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,n){return this.createEmbeddedViewImpl(t,n)}createEmbeddedViewImpl(t,n,r){let o=ro(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:n,dehydratedView:r});return new wt(o)}};function Lm(){return Zs(Z(),b())}function Zs(e,t){return e.type&4?new Pm(t,e,Yt(e,t)):null}var P0=new RegExp(`^(\\d+)*(${ng}|${tg})*(.*)`);var jm=()=>null;function yn(e,t){return jm(e,t)}var zt=class{},rd=new N("",{providedIn:"root",factory:()=>!1});var od=new N(""),ji=class{},Pr=class{};function Vm(e){let t=Error(`No component factory found for ${K(e)}.`);return t[Bm]=e,t}var Bm="ngComponent";var Vi=class{resolveComponentFactory(t){throw Vm(t)}},ea=class ea{};ea.NULL=new Vi;var Gt=ea,Lr=class{},id=(()=>{let t=class t{constructor(){this.destroyNode=null}};t.__NG_ELEMENT_ID__=()=>$m();let e=t;return e})();function $m(){let e=b(),t=Z(),n=et(t.index,e);return(Ze(n)?n:e)[j]}var Hm=(()=>{let t=class t{};t.\u0275prov=P({token:t,providedIn:"root",factory:()=>null});let e=t;return e})();var Au=new Set;function Kt(e){Au.has(e)||(Au.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}var oe=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(oe||{}),Um={destroy(){}};function zm(e,t){!t&&Zp(zm);let n=t?.injector??_(It);return xg(n)?(Kt("NgAfterNextRender"),Wm(e,n,!0,t?.phase??oe.MixedReadWrite)):Um}function Gm(e,t){if(e instanceof Function)switch(t){case oe.EarlyRead:return{earlyRead:e};case oe.Write:return{write:e};case oe.MixedReadWrite:return{mixedReadWrite:e};case oe.Read:return{read:e}}return e}function Wm(e,t,n,r){let o=Gm(e,r),i=t.get(Ys),s=i.handler??=new $i,a=[],u=[],c=()=>{for(let f of u)s.unregister(f);l()},l=t.get(Fs).onDestroy(c),d=0,p=(f,h)=>{if(!h)return;let g=n?(...E)=>(d--,d<1&&c(),h(...E)):h,S=qp(t,()=>new Bi(f,a,g));s.register(S),u.push(S),d++};return p(oe.EarlyRead,o.earlyRead),p(oe.Write,o.write),p(oe.MixedReadWrite,o.mixedReadWrite),p(oe.Read,o.read),{destroy:c}}var Bi=class{constructor(t,n,r){this.phase=t,this.pipelinedArgs=n,this.callbackFn=r,this.zone=_(J),this.errorHandler=_(Ut,{optional:!0}),_(zt,{optional:!0})?.notify(6)}invoke(){try{let t=this.zone.runOutsideAngular(()=>this.callbackFn.apply(null,this.pipelinedArgs));this.pipelinedArgs.splice(0,this.pipelinedArgs.length,t)}catch(t){this.errorHandler?.handleError(t)}}},$i=class{constructor(){this.executingCallbacks=!1,this.buckets={[oe.EarlyRead]:new Set,[oe.Write]:new Set,[oe.MixedReadWrite]:new Set,[oe.Read]:new Set},this.deferredCallbacks=new Set}register(t){(this.executingCallbacks?this.deferredCallbacks:this.buckets[t.phase]).add(t)}unregister(t){this.buckets[t.phase].delete(t),this.deferredCallbacks.delete(t)}execute(){this.executingCallbacks=!0;for(let t of Object.values(this.buckets))for(let n of t)n.invoke();this.executingCallbacks=!1;for(let t of this.deferredCallbacks)this.buckets[t.phase].add(t);this.deferredCallbacks.clear()}destroy(){for(let t of Object.values(this.buckets))t.clear();this.deferredCallbacks.clear()}},Ys=(()=>{let t=class t{constructor(){this.handler=null,this.internalCallbacks=[]}execute(){this.executeInternalCallbacks(),this.handler?.execute()}executeInternalCallbacks(){let r=[...this.internalCallbacks];this.internalCallbacks.length=0;for(let o of r)o()}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}};t.\u0275prov=P({token:t,providedIn:"root",factory:()=>new t});let e=t;return e})();function Hi(e,t,n){let r=n?e.styles:null,o=n?e.classes:null,i=0;if(t!==null)for(let s=0;s0&&Ol(e,n,i.join(" "))}}function Xm(e,t,n){let r=e.projection=[];for(let o=0;o{let t=class t{};t.__NG_ELEMENT_ID__=ty;let e=t;return e})();function ty(){let e=Z();return ad(e,b())}var ny=Jt,sd=class extends ny{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return Yt(this._hostTNode,this._hostLView)}get injector(){return new ft(this._hostTNode,this._hostLView)}get parentInjector(){let t=Rs(this._hostTNode,this._hostLView);if(Qc(t)){let n=Sr(t,this._hostLView),r=xr(t),o=n[y].data[r+8];return new ft(o,n)}else return new ft(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=Ru(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-W}createEmbeddedView(t,n,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=yn(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,mn(this._hostTNode,s)),a}createComponent(t,n,r,o,i){let s=t&&!Yp(t),a;if(s)a=n;else{let h=n||{};a=h.index,r=h.injector,o=h.projectableNodes,i=h.environmentInjector||h.ngModuleRef}let u=s?t:new Wt(Qe(t)),c=r||this.parentInjector;if(!i&&u.ngModule==null){let g=(s?c:this.parentInjector).get(Ke,null);g&&(i=g)}let l=Qe(u.componentType??{}),d=yn(this._lContainer,l?.id??null),p=d?.firstChild??null,f=u.create(c,o,p,i);return this.insertImpl(f.hostView,a,mn(this._hostTNode,d)),f}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){let o=t._lView;if(rh(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let u=o[q],c=new sd(u,u[se],u[q]);c.detach(c.indexOf(t))}}let i=this._adjustIndex(n),s=this._lContainer;return oo(s,o,i,r),t.attachToViewContainerRef(),nc(Ko(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=Ru(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=gn(this._lContainer,n);r&&(Er(Ko(this._lContainer),n),Xr(r[y],r))}detach(t){let n=this._adjustIndex(t,-1),r=gn(this._lContainer,n);return r&&Er(Ko(this._lContainer),n)!=null?new wt(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function Ru(e){return e[Mr]}function Ko(e){return e[Mr]||(e[Mr]=[])}function ad(e,t){let n,r=t[e.index];return ke(r)?n=r:(n=Wl(r,t,null,e),t[e.index]=n,no(t,n)),oy(n,t,e,r),new sd(n,e,t)}function ry(e,t){let n=e[j],r=n.createComment(""),o=fe(t,e),i=Sl(n,o);return Fr(n,i,r,jg(n,o),!1),r}var oy=ay,iy=()=>!1;function sy(e,t,n){return iy(e,t,n)}function ay(e,t,n,r){if(e[gt])return;let o;n.type&8?o=_e(r):o=ry(t,n),e[gt]=o}var zi=class e{constructor(t){this.queryList=t,this.matches=null}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty()}},Gi=class e{constructor(t=[]){this.queries=t}createEmbeddedView(t){let n=t.queries;if(n!==null){let r=t.contentQueries!==null?t.contentQueries[0]:n.length,o=[];for(let i=0;i0)r.push(s[a/2]);else{let c=i[a+1],l=t[-u];for(let d=W;dt.trim())}function my(e,t,n){e.queries===null&&(e.queries=new qi),e.queries.track(new Zi(t,n))}function yy(e,t){let n=e.contentQueries||(e.contentQueries=[]),r=n.length?n[n.length-1]:-1;t!==r&&n.push(e.queries.length-1,t)}function Qs(e,t){return e.queries.getByIndex(t)}function vy(e,t){let n=e[y],r=Qs(n,t);return r.crossesNgTemplate?Yi(n,e,t,[]):ud(n,e,r,t)}function Dy(e){return typeof e=="function"&&e[Te]!==void 0}function j0(e,t){Kt("NgSignals");let n=_a(e),r=n[Te];return t?.equal&&(r.equal=t.equal),n.set=o=>xo(r,o),n.update=o=>xa(r,o),n.asReadonly=Iy.bind(n),n}function Iy(){let e=this[Te];if(e.readonlyFn===void 0){let t=()=>this();t[Te]=e,e.readonlyFn=t}return e.readonlyFn}function cd(e){return Dy(e)&&typeof e.set=="function"}function Ey(e){return Object.getPrototypeOf(e.prototype).constructor}function wy(e){let t=Ey(e.type),n=!0,r=[e];for(;t;){let o;if(Je(e))o=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new x(903,!1);o=t.\u0275dir}if(o){if(n){r.push(o);let s=e;s.inputs=lr(e.inputs),s.inputTransforms=lr(e.inputTransforms),s.declaredInputs=lr(e.declaredInputs),s.outputs=lr(e.outputs);let a=o.hostBindings;a&&xy(e,a);let u=o.viewQuery,c=o.contentQueries;if(u&&My(e,u),c&&_y(e,c),Cy(e,o),qf(e.outputs,o.outputs),Je(o)&&o.data.animation){let l=e.data;l.animation=(l.animation||[]).concat(o.data.animation)}}let i=o.features;if(i)for(let s=0;s=0;r--){let o=e[r];o.hostVars=t+=o.hostVars,o.hostAttrs=dn(o.hostAttrs,n=dn(n,o.hostAttrs))}}function lr(e){return e===Lt?{}:e===re?[]:e}function My(e,t){let n=e.viewQuery;n?e.viewQuery=(r,o)=>{t(r,o),n(r,o)}:e.viewQuery=t}function _y(e,t){let n=e.contentQueries;n?e.contentQueries=(r,o,i)=>{t(r,o,i),n(r,o,i)}:e.contentQueries=t}function xy(e,t){let n=e.hostBindings;n?e.hostBindings=(r,o)=>{t(r,o),n(r,o)}:e.hostBindings=t}function Sy(e){let t=e.inputConfig,n={};for(let r in t)if(t.hasOwnProperty(r)){let o=t[r];Array.isArray(o)&&o[3]&&(n[r]=o[3])}e.inputTransforms=n}var Xe=class{},Qi=class{};var Ki=class extends Xe{constructor(t,n,r,o=!0){super(),this.ngModuleType=t,this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new jr(this);let i=fc(t);this._bootstrapComponents=wl(i.bootstrap),this._r3Injector=il(t,n,[{provide:Xe,useValue:this},{provide:Gt,useValue:this.componentFactoryResolver},...r],K(t),new Set(["environment"])),o&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){let t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}},Ji=class extends Qi{constructor(t){super(),this.moduleType=t}create(t){return new Ki(this.moduleType,t,[])}};var Vr=class extends Xe{constructor(t){super(),this.componentFactoryResolver=new jr(this),this.instance=null;let n=new fn([...t.providers,{provide:Xe,useValue:this},{provide:Gt,useValue:this.componentFactoryResolver}],t.parent||ws(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function Ty(e,t,n=null){return new Vr({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}function ld(e){return Ay(e)?Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e:!1}function Ny(e,t){if(Array.isArray(e))for(let n=0;n>17&32767}function By(e){return(e&2)==2}function $y(e,t){return e&131071|t<<17}function Xi(e){return e|2}function qt(e){return(e&131068)>>2}function Jo(e,t){return e&-131069|t<<2}function Hy(e){return(e&1)===1}function es(e){return e|1}function Uy(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=bt(s),u=qt(s);e[r]=n;let c=!1,l;if(Array.isArray(n)){let d=n;l=d[1],(l===null||In(d,l)>0)&&(c=!0)}else l=n;if(o)if(u!==0){let p=bt(e[a+1]);e[r+1]=dr(p,a),p!==0&&(e[p+1]=Jo(e[p+1],r)),e[a+1]=$y(e[a+1],r)}else e[r+1]=dr(a,0),a!==0&&(e[a+1]=Jo(e[a+1],r)),a=r;else e[r+1]=dr(u,0),a===0?a=r:e[u+1]=Jo(e[u+1],r),u=r;c&&(e[r+1]=Xi(e[r+1])),Fu(e,l,r,!0),Fu(e,l,r,!1),zy(t,l,e,r,i),s=dr(a,u),i?t.classBindings=s:t.styleBindings=s}function zy(e,t,n,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof t=="string"&&In(i,t)>=0&&(n[r+1]=es(n[r+1]))}function Fu(e,t,n,r){let o=e[n+1],i=t===null,s=r?bt(o):qt(o),a=!1;for(;s!==0&&(a===!1||i);){let u=e[s],c=e[s+1];Gy(u,t)&&(a=!0,e[s+1]=r?es(c):Xi(c)),s=r?bt(c):qt(c)}a&&(e[n+1]=r?Xi(o):es(o))}function Gy(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?In(e,t)>=0:!1}var ve={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Wy(e){return e.substring(ve.key,ve.keyEnd)}function qy(e){return Zy(e),fd(e,pd(e,0,ve.textEnd))}function fd(e,t){let n=ve.textEnd;return n===t?-1:(t=ve.keyEnd=Yy(e,ve.key=t,n),pd(e,t,n))}function Zy(e){ve.key=0,ve.keyEnd=0,ve.value=0,ve.valueEnd=0,ve.textEnd=e.length}function pd(e,t,n){for(;t32;)t++;return t}function Qy(e,t,n){let r=b(),o=wn();if(xe(r,o,t)){let i=z(),s=Ts();Hl(i,s,r,e,t,r[j],n,!1)}return Qy}function ts(e,t,n,r,o){let i=t.inputs,s=o?"class":"style";Gs(e,n,i[s],s,r)}function hd(e,t,n){return gd(e,t,n,!1),hd}function Ky(e,t){return gd(e,t,null,!0),Ky}function V0(e){Xy(iv,Jy,e,!0)}function Jy(e,t){for(let n=qy(t);n>=0;n=fd(t,n))ys(e,Wy(t),!0)}function gd(e,t,n,r){let o=b(),i=z(),s=$c(2);if(i.firstUpdatePass&&yd(i,e,s,r),t!==Le&&xe(o,s,t)){let a=i.data[tt()];vd(i,a,o,o[j],e,o[s+1]=av(t,n),r,s)}}function Xy(e,t,n,r){let o=z(),i=$c(2);o.firstUpdatePass&&yd(o,null,i,r);let s=b();if(n!==Le&&xe(s,i,n)){let a=o.data[tt()];if(Dd(a,r)&&!md(o,i)){let u=r?a.classesWithoutHost:a.stylesWithoutHost;u!==null&&(n=oi(u,n||"")),ts(o,a,s,n,r)}else sv(o,a,s,s[j],s[i+1],s[i+1]=ov(e,t,n),r,i)}}function md(e,t){return t>=e.expandoStartIndex}function yd(e,t,n,r){let o=e.data;if(o[n+1]===null){let i=o[tt()],s=md(e,n);Dd(i,r)&&t===null&&!s&&(t=!1),t=ev(o,i,t,r),Uy(o,i,t,n,s,r)}}function ev(e,t,n,r){let o=mh(e),i=r?t.residualClasses:t.residualStyles;if(o===null)(r?t.classBindings:t.styleBindings)===0&&(n=Xo(null,e,t,n,r),n=vn(n,t.attrs,r),i=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==o)if(n=Xo(o,e,t,n,r),i===null){let u=tv(e,t,r);u!==void 0&&Array.isArray(u)&&(u=Xo(null,e,t,u[1],r),u=vn(u,t.attrs,r),nv(e,t,r,u))}else i=rv(e,t,r)}return i!==void 0&&(r?t.residualClasses=i:t.residualStyles=i),n}function tv(e,t,n){let r=n?t.classBindings:t.styleBindings;if(qt(r)!==0)return e[bt(r)]}function nv(e,t,n,r){let o=n?t.classBindings:t.styleBindings;e[bt(o)]=r}function rv(e,t,n){let r,o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i0;){let u=e[o],c=Array.isArray(u),l=c?u[1]:u,d=l===null,p=n[o+1];p===Le&&(p=d?re:void 0);let f=d?Uo(p,r):l===r?p:void 0;if(c&&!$r(f)&&(f=Uo(u,r)),$r(f)&&(a=f,s))return a;let h=e[o+1];o=s?bt(h):qt(h)}if(t!==null){let u=i?t.residualClasses:t.residualStyles;u!=null&&(a=Uo(u,r))}return a}function $r(e){return e!==void 0}function av(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=K(Cn(e)))),e}function Dd(e,t){return(e.flags&(t?8:16))!==0}var ns=class{destroy(t){}updateValue(t,n){}swap(t,n){let r=Math.min(t,n),o=Math.max(t,n),i=this.detach(o);if(o-r>1){let s=this.detach(r);this.attach(r,i),this.attach(o,s)}else this.attach(r,i)}move(t,n){this.attach(n,this.detach(t))}};function ei(e,t,n,r,o){return e===n&&Object.is(t,r)?1:Object.is(o(e,t),o(n,r))?-1:0}function uv(e,t,n){let r,o,i=0,s=e.length-1,a=void 0;if(Array.isArray(t)){let u=t.length-1;for(;i<=s&&i<=u;){let c=e.at(i),l=t[i],d=ei(i,c,i,l,n);if(d!==0){d<0&&e.updateValue(i,l),i++;continue}let p=e.at(s),f=t[u],h=ei(s,p,u,f,n);if(h!==0){h<0&&e.updateValue(s,f),s--,u--;continue}let g=n(i,c),S=n(s,p),E=n(i,l);if(Object.is(E,S)){let G=n(u,f);Object.is(G,g)?(e.swap(i,s),e.updateValue(s,f),u--,s--):e.move(s,i),e.updateValue(i,l),i++;continue}if(r??=new Hr,o??=Lu(e,i,s,n),rs(e,r,i,E))e.updateValue(i,l),i++,s++;else if(o.has(E))r.set(g,e.detach(i)),s--;else{let G=e.create(i,t[i]);e.attach(i,G),i++,s++}}for(;i<=u;)Pu(e,r,n,i,t[i]),i++}else if(t!=null){let u=t[Symbol.iterator](),c=u.next();for(;!c.done&&i<=s;){let l=e.at(i),d=c.value,p=ei(i,l,i,d,n);if(p!==0)p<0&&e.updateValue(i,d),i++,c=u.next();else{r??=new Hr,o??=Lu(e,i,s,n);let f=n(i,d);if(rs(e,r,i,f))e.updateValue(i,d),i++,s++,c=u.next();else if(!o.has(f))e.attach(i,e.create(i,d)),i++,s++,c=u.next();else{let h=n(i,l);r.set(h,e.detach(i)),s--}}}for(;!c.done;)Pu(e,r,n,e.length,c.value),c=u.next()}for(;i<=s;)e.destroy(e.detach(s--));r?.forEach(u=>{e.destroy(u)})}function rs(e,t,n,r){return t!==void 0&&t.has(r)?(e.attach(n,t.get(r)),t.delete(r),!0):!1}function Pu(e,t,n,r,o){if(rs(e,t,r,n(r,o)))e.updateValue(r,o);else{let i=e.create(r,o);e.attach(r,i)}}function Lu(e,t,n,r){let o=new Set;for(let i=t;i<=n;i++)o.add(r(i,e.at(i)));return o}var Hr=class{constructor(){this.kvMap=new Map,this._vMap=void 0}has(t){return this.kvMap.has(t)}delete(t){if(!this.has(t))return!1;let n=this.kvMap.get(t);return this._vMap!==void 0&&this._vMap.has(n)?(this.kvMap.set(t,this._vMap.get(n)),this._vMap.delete(n)):this.kvMap.delete(t),!0}get(t){return this.kvMap.get(t)}set(t,n){if(this.kvMap.has(t)){let r=this.kvMap.get(t);this._vMap===void 0&&(this._vMap=new Map);let o=this._vMap;for(;o.has(r);)r=o.get(r);o.set(r,n)}else this.kvMap.set(t,n)}forEach(t){for(let[n,r]of this.kvMap)if(t(r,n),this._vMap!==void 0){let o=this._vMap;for(;o.has(r);)r=o.get(r),t(r,n)}}};var os=class{constructor(t,n,r){this.lContainer=t,this.$implicit=n,this.$index=r}get $count(){return this.lContainer.length-W}};var is=class{constructor(t,n,r){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=r}};function B0(e,t,n,r,o,i,s,a,u,c,l,d,p){Kt("NgControlFlow");let f=b(),h=z(),g=u!==void 0,S=b(),E=a?s.bind(S[ae][ie]):s,G=new is(g,E);S[ue+e]=G,Br(f,h,e+1,t,n,r,o,Ht(h.consts,i)),g&&Br(f,h,e+2,u,c,l,d,Ht(h.consts,p))}var ss=class extends ns{constructor(t,n,r){super(),this.lContainer=t,this.hostLView=n,this.templateTNode=r,this.operationsCounter=void 0,this.needsIndexUpdate=!1}get length(){return this.lContainer.length-W}at(t){return this.getLView(t)[ie].$implicit}attach(t,n){let r=n[Vt];this.needsIndexUpdate||=t!==this.length,oo(this.lContainer,n,t,mn(this.templateTNode,r))}detach(t){return this.needsIndexUpdate||=t!==this.length-1,cv(this.lContainer,t)}create(t,n){let r=yn(this.lContainer,this.templateTNode.tView.ssrId),o=ro(this.hostLView,this.templateTNode,new os(this.lContainer,n,t),{dehydratedView:r});return this.operationsCounter?.recordCreate(),o}destroy(t){Xr(t[y],t),this.operationsCounter?.recordDestroy()}updateValue(t,n){this.getLView(t)[ie].$implicit=n}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t(As(!0),Cl(r,o,Dh()));var lt=void 0;function hv(e){let t=e,n=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return n===1&&r===0?1:5}var gv=["en",[["a","p"],["AM","PM"],lt],[["AM","PM"],lt,lt],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],lt,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],lt,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",lt,"{1} 'at' {0}",lt],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",hv],ti={};function pe(e){let t=mv(e),n=Bu(t);if(n)return n;let r=t.split("-")[0];if(n=Bu(r),n)return n;if(r==="en")return gv;throw new x(701,!1)}function Bu(e){return e in ti||(ti[e]=We.ng&&We.ng.common&&We.ng.common.locales&&We.ng.common.locales[e]),ti[e]}var V=function(e){return e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData",e}(V||{});function mv(e){return e.toLowerCase().replace(/_/g,"-")}var Ur="en-US";var yv=Ur;function vv(e){typeof e=="string"&&(yv=e.toLowerCase().replace(/_/g,"-"))}var Dv=(e,t,n)=>{};function Iv(e,t,n,r){let o=b(),i=z(),s=Z();return wd(i,o,o[j],s,e,t,r),Iv}function Ev(e,t,n,r){let o=e.cleanup;if(o!=null)for(let i=0;iu?a[u]:null}typeof s=="string"&&(i+=2)}return null}function wd(e,t,n,r,o,i,s){let a=Cs(r),c=e.firstCreatePass&&Yl(e),l=t[ie],d=Zl(t),p=!0;if(r.type&3||s){let g=fe(r,t),S=s?s(g):g,E=d.length,G=s?Se=>s(_e(Se[r.index])):r.index,ee=null;if(!s&&a&&(ee=Ev(e,t,o,r.index)),ee!==null){let Se=ee.__ngLastListenerFn__||ee;Se.__ngNextListenerFn__=i,ee.__ngLastListenerFn__=i,p=!1}else{i=Hu(r,t,l,i),Dv(g,o,i);let Se=n.listen(S,o,i);d.push(i,Se),c&&c.push(o,G,E,E+1)}}else i=Hu(r,t,l,i);let f=r.outputs,h;if(p&&f!==null&&(h=f[o])){let g=h.length;if(g)for(let S=0;S-1?et(e.index,t):t;qs(s,5);let a=$u(t,n,r,i),u=o.__ngNextListenerFn__;for(;u;)a=$u(t,n,u,i)&&a,u=u.__ngNextListenerFn__;return a}}function H0(e=1){return vh(e)}function wv(e,t){let n=null,r=Mp(e);for(let o=0;o=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}function Z0(e,t=""){let n=b(),r=z(),o=e+ue,i=r.firstCreatePass?Mn(r,o,1,t,null):r.data[o],s=Mv(r,n,i,t,e);n[o]=s,Ns()&&Hs(r,n,s,i),En(i,!1)}var Mv=(e,t,n,r,o)=>(As(!0),Tg(t[j],r));function _v(e){return Cd("",e,""),_v}function Cd(e,t,n){let r=b(),o=Vy(r,e,t,n);return o!==Le&&ym(r,tt(),o),Cd}function xv(e,t,n){cd(t)&&(t=t());let r=b(),o=wn();if(xe(r,o,t)){let i=z(),s=Ts();Hl(i,s,r,e,t,r[j],n,!1)}return xv}function Y0(e,t){let n=cd(e);return n&&e.set(t),n}function Sv(e,t){let n=b(),r=z(),o=Z();return wd(r,n,n[j],o,e,t),Sv}function Tv(e,t,n){let r=z();if(r.firstCreatePass){let o=Je(e);as(n,r.data,r.blueprint,o,!0),as(t,r.data,r.blueprint,o,!1)}}function as(e,t,n,r,o){if(e=Q(e),Array.isArray(e))for(let i=0;i>20;if(jt(e)||!e.multi){let f=new vt(c,o,ce),h=ri(u,t,o?l:l+p,d);h===-1?(vi(Nr(a,s),i,u),ni(i,e,t.length),t.push(u),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(f),s.push(f)):(n[h]=f,s[h]=f)}else{let f=ri(u,t,l+p,d),h=ri(u,t,l,l+p),g=f>=0&&n[f],S=h>=0&&n[h];if(o&&!S||!o&&!g){vi(Nr(a,s),i,u);let E=Ov(o?Av:Nv,n.length,o,r,c);!o&&S&&(n[h].providerFactory=E),ni(i,e,t.length,0),t.push(u),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(E),s.push(E)}else{let E=bd(n[o?h:f],c,!o&&r);ni(i,e,f>-1?f:h,E)}!o&&r&&S&&n[h].componentProviders++}}}function ni(e,t,n,r){let o=jt(t),i=Bp(t);if(o||i){let u=(i?Q(t.useClass):t).prototype.ngOnDestroy;if(u){let c=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){let l=c.indexOf(n);l===-1?c.push(n,[r,u]):c[l+1].push(r,u)}else c.push(n,u)}}}function bd(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function ri(e,t,n,r){for(let o=n;o{n.providersResolver=(r,o)=>Tv(r,o?o(e):e,t)}}var Rv=(()=>{let t=class t{constructor(r){this._injector=r,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(r){if(!r.standalone)return null;if(!this.cachedInjectors.has(r)){let o=gc(!1,r.type),i=o.length>0?Ty([o],this._injector,`Standalone[${r.type.name}]`):null;this.cachedInjectors.set(r,i)}return this.cachedInjectors.get(r)}ngOnDestroy(){try{for(let r of this.cachedInjectors.values())r!==null&&r.destroy()}finally{this.cachedInjectors.clear()}}};t.\u0275prov=P({token:t,providedIn:"environment",factory:()=>new t($(Ke))});let e=t;return e})();function K0(e){Kt("NgStandalone"),e.getStandaloneInjector=t=>t.get(Rv).getOrCreateStandaloneInjector(e)}function J0(e,t,n,r){return Fv(b(),Bc(),e,t,n,r)}function Md(e,t){let n=e[t];return n===Le?void 0:n}function Fv(e,t,n,r,o,i){let s=t+n;return xe(e,s,o)?dd(e,s+1,i?r.call(i,o):r(o)):Md(e,s+1)}function kv(e,t,n,r,o,i,s){let a=t+n;return Oy(e,a,o,i)?dd(e,a+2,s?r.call(s,o,i):r(o,i)):Md(e,a+2)}function X0(e,t){let n=z(),r,o=e+ue;n.firstCreatePass?(r=Pv(t,n.pipeRegistry),n.data[o]=r,r.onDestroy&&(n.destroyHooks??=[]).push(o,r.onDestroy)):r=n.data[o];let i=r.factory||(r.factory=pt(r.type,!0)),s,a=ne(ce);try{let u=Tr(!1),c=i();return Tr(u),bv(n,b(),o,c),c}finally{ne(a)}}function Pv(e,t){if(t)for(let n=t.length-1;n>=0;n--){let r=t[n];if(e===r.name)return r}}function e_(e,t,n,r){let o=e+ue,i=b(),s=th(i,o);return Lv(i,o)?kv(i,Bc(),t,s.transform,n,r,s):s.transform(n,r)}function Lv(e,t){return e[y].data[t].pure}var t_=(()=>{let t=class t{log(r){console.log(r)}warn(r){console.warn(r)}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=P({token:t,factory:t.\u0275fac,providedIn:"platform"});let e=t;return e})();var jv=new N(""),Vv=new N(""),n_=(()=>{let t=class t{constructor(r,o,i){this._ngZone=r,this.registry=o,this._isZoneStable=!0,this._callbacks=[],this.taskTrackingZone=null,Ks||($v(i),i.addToWindow(o)),this._watchAngularEvents(),r.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{J.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}isStable(){return this._isZoneStable&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;this._callbacks.length!==0;){let r=this._callbacks.pop();clearTimeout(r.timeoutId),r.doneCb()}});else{let r=this.getPendingTasks();this._callbacks=this._callbacks.filter(o=>o.updateCb&&o.updateCb(r)?(clearTimeout(o.timeoutId),!1):!0)}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(r=>({source:r.source,creationLocation:r.creationLocation,data:r.data})):[]}addCallback(r,o,i){let s=-1;o&&o>0&&(s=setTimeout(()=>{this._callbacks=this._callbacks.filter(a=>a.timeoutId!==s),r()},o)),this._callbacks.push({doneCb:r,timeoutId:s,updateCb:i})}whenStable(r,o,i){if(i&&!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(r,o,i),this._runCallbacksIfReady()}registerApplication(r){this.registry.registerApplication(r,this)}unregisterApplication(r){this.registry.unregisterApplication(r)}findProviders(r,o,i){return[]}};t.\u0275fac=function(o){return new(o||t)($(J),$(Bv),$(Vv))},t.\u0275prov=P({token:t,factory:t.\u0275fac});let e=t;return e})(),Bv=(()=>{let t=class t{constructor(){this._applications=new Map}registerApplication(r,o){this._applications.set(r,o)}unregisterApplication(r){this._applications.delete(r)}unregisterAllApplications(){this._applications.clear()}getTestability(r){return this._applications.get(r)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(r,o=!0){return Ks?.findTestabilityInTree(this,r,o)??null}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=P({token:t,factory:t.\u0275fac,providedIn:"platform"});let e=t;return e})();function $v(e){Ks=e}var Ks;function Js(e){return!!e&&typeof e.then=="function"}function _d(e){return!!e&&typeof e.subscribe=="function"}var Hv=new N(""),xd=(()=>{let t=class t{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((r,o)=>{this.resolve=r,this.reject=o}),this.appInits=_(Hv,{optional:!0})??[]}runInitializers(){if(this.initialized)return;let r=[];for(let i of this.appInits){let s=i();if(Js(s))r.push(s);else if(_d(s)){let a=new Promise((u,c)=>{s.subscribe({complete:u,error:c})});r.push(a)}}let o=()=>{this.done=!0,this.resolve()};Promise.all(r).then(()=>{o()}).catch(i=>{this.reject(i)}),r.length===0&&o(),this.initialized=!0}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=P({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),Uv=new N("");function zv(){Ma(()=>{throw new x(600,!1)})}function Gv(e){return e.isBoundToModule}var Wv=10;function qv(e,t,n){try{let r=n();return Js(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}var _n=(()=>{let t=class t{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=_(zh),this.afterRenderEffectManager=_(Ys),this.zonelessEnabled=_(rd),this.externalTestViews=new Set,this.beforeRender=new we,this.afterTick=new we,this.componentTypes=[],this.components=[],this.isStable=_(Kr).hasPendingTasks.pipe(Ae(r=>!r)),this._injector=_(Ke)}get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}whenStable(){let r;return new Promise(o=>{r=this.isStable.subscribe({next:i=>{i&&o()}})}).finally(()=>{r.unsubscribe()})}get injector(){return this._injector}bootstrap(r,o){let i=r instanceof Pr;if(!this._injector.get(xd).done){let f=!i&&Fp(r),h=!1;throw new x(405,h)}let a;i?a=r:a=this._injector.get(Gt).resolveComponentFactory(r),this.componentTypes.push(a.componentType);let u=Gv(a)?void 0:this._injector.get(Xe),c=o||a.selector,l=a.create(It.NULL,[],c,u),d=l.location.nativeElement,p=l.injector.get(jv,null);return p?.registerApplication(d),l.onDestroy(()=>{this.detachView(l.hostView),yr(this.components,l),p?.unregisterApplication(d)}),this._loadComponent(l),l}tick(){this._tick(!0)}_tick(r){if(this._runningTick)throw new x(101,!1);let o=M(null);try{this._runningTick=!0,this.detectChangesInAttachedViews(r)}catch(i){this.internalErrorHandler(i)}finally{this._runningTick=!1,M(o),this.afterTick.next()}}detectChangesInAttachedViews(r){let o=null;this._injector.destroyed||(o=this._injector.get(Lr,null,{optional:!0}));let i=0,s=this.afterRenderEffectManager;for(;ihn(u))&&(s.execute(),!this.allViews.some(({_lView:u})=>hn(u))))break}}attachView(r){let o=r;this._views.push(o),o.attachToAppRef(this)}detachView(r){let o=r;yr(this._views,o),o.detachFromAppRef()}_loadComponent(r){this.attachView(r.hostView),this.tick(),this.components.push(r);let o=this._injector.get(Uv,[]);[...this._bootstrapListeners,...o].forEach(i=>i(r))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(r=>r()),this._views.slice().forEach(r=>r.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(r){return this._destroyListeners.push(r),()=>yr(this._destroyListeners,r)}destroy(){if(this._destroyed)throw new x(406,!1);let r=this._injector;r.destroy&&!r.destroyed&&r.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=P({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function yr(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function Zv(e,t,n,r){if(!n&&!hn(e))return;Xl(e,t,n&&!r?0:1)}var cs=class{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}},r_=(()=>{let t=class t{compileModuleSync(r){return new Ji(r)}compileModuleAsync(r){return Promise.resolve(this.compileModuleSync(r))}compileModuleAndAllComponentsSync(r){let o=this.compileModuleSync(r),i=fc(r),s=wl(i.declarations).reduce((a,u)=>{let c=Qe(u);return c&&a.push(new Wt(c)),a},[]);return new cs(o,s)}compileModuleAndAllComponentsAsync(r){return Promise.resolve(this.compileModuleAndAllComponentsSync(r))}clearCache(){}clearCacheFor(r){}getModuleId(r){}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=P({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();var Yv=(()=>{let t=class t{constructor(){this.zone=_(J),this.changeDetectionScheduler=_(zt),this.applicationRef=_(_n)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=P({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function Qv({ngZoneFactory:e,ignoreChangesOutsideZone:t}){return e??=()=>new J(Kv()),[{provide:J,useFactory:e},{provide:wr,multi:!0,useFactory:()=>{let n=_(Yv,{optional:!0});return()=>n.initialize()}},{provide:wr,multi:!0,useFactory:()=>{let n=_(Jv);return()=>{n.initialize()}}},t===!0?{provide:od,useValue:!0}:[]]}function Kv(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var Jv=(()=>{let t=class t{constructor(){this.subscription=new B,this.initialized=!1,this.zone=_(J),this.pendingTasks=_(Kr)}initialize(){if(this.initialized)return;this.initialized=!0;let r=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(r=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{J.assertNotInAngularZone(),queueMicrotask(()=>{r!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(r),r=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{J.assertInAngularZone(),r??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=P({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();var Xv=(()=>{let t=class t{constructor(){this.appRef=_(_n),this.taskService=_(Kr),this.ngZone=_(J),this.zonelessEnabled=_(rd),this.disableScheduling=_(od,{optional:!0})??!1,this.zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run,this.schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}],this.subscriptions=new B,this.angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(Or):null,this.cancelScheduledCallback=null,this.shouldRefreshViews=!1,this.useMicrotaskScheduler=!1,this.runningTick=!1,this.pendingRenderTaskId=null,this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof Ci||!this.zoneIsDefined)}notify(r){if(!this.zonelessEnabled&&r===5)return;switch(r){case 3:case 2:case 0:case 4:case 5:case 1:{this.shouldRefreshViews=!0;break}case 8:case 7:case 6:case 9:default:}if(!this.shouldScheduleTick())return;let o=this.useMicrotaskScheduler?vu:sl;this.pendingRenderTaskId=this.taskService.add(),this.zoneIsDefined?Zone.root.run(()=>{this.cancelScheduledCallback=o(()=>{this.tick(this.shouldRefreshViews)})}):this.cancelScheduledCallback=o(()=>{this.tick(this.shouldRefreshViews)})}shouldScheduleTick(){return!(this.disableScheduling||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(Or+this.angularZoneId))}tick(r){if(this.runningTick||this.appRef.destroyed)return;let o=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick(r)},void 0,this.schedulerTickApplyArgs)}catch(i){throw this.taskService.remove(o),i}finally{this.cleanup()}this.useMicrotaskScheduler=!0,vu(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(o)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.shouldRefreshViews=!1,this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let r=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(r)}}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=P({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function eD(){return typeof $localize<"u"&&$localize.locale||Ur}var io=new N("",{providedIn:"root",factory:()=>_(io,w.Optional|w.SkipSelf)||eD()});var Sd=new N("");function fr(e){return!!e.platformInjector}function tD(e){let t=fr(e)?e.r3Injector:e.moduleRef.injector,n=t.get(J);return n.run(()=>{fr(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=t.get(Ut,null),o;if(n.runOutsideAngular(()=>{o=n.onError.subscribe({next:i=>{r.handleError(i)}})}),fr(e)){let i=()=>t.destroy(),s=e.platformInjector.get(Sd);s.add(i),t.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else e.moduleRef.onDestroy(()=>{yr(e.allPlatformModules,e.moduleRef),o.unsubscribe()});return qv(r,n,()=>{let i=t.get(xd);return i.runInitializers(),i.donePromise.then(()=>{let s=t.get(io,Ur);if(vv(s||Ur),fr(e)){let a=t.get(_n);return e.rootComponent!==void 0&&a.bootstrap(e.rootComponent),a}else return nD(e.moduleRef,e.allPlatformModules),e.moduleRef})})})}function nD(e,t){let n=e.injector.get(_n);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(r=>n.bootstrap(r));else if(e.instance.ngDoBootstrap)e.instance.ngDoBootstrap(n);else throw new x(-403,!1);t.push(e)}var vr=null;function rD(e=[],t){return It.create({name:t,providers:[{provide:vc,useValue:"platform"},{provide:Sd,useValue:new Set([()=>vr=null])},...e]})}function oD(e=[]){if(vr)return vr;let t=rD(e);return vr=t,zv(),iD(t),t}function iD(e){e.get(eg,null)?.forEach(n=>n())}var Td=(()=>{let t=class t{};t.__NG_ELEMENT_ID__=sD;let e=t;return e})();function sD(e){return aD(Z(),b(),(e&16)===16)}function aD(e,t,n){if(Yr(e)&&!n){let r=et(e.index,t);return new wt(r,r)}else if(e.type&175){let r=t[ae];return new wt(r,t)}return null}var ls=class{constructor(){}supports(t){return ld(t)}create(t){return new ds(t)}},uD=(e,t)=>t,ds=class{constructor(t){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=t||uD}forEachItem(t){let n;for(n=this._itHead;n!==null;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,o=0,i=null;for(;n||r;){let s=!r||n&&n.currentIndex{s=this._trackByFn(o,a),n===null||!Object.is(n.trackById,s)?(n=this._mismatch(n,a,s,o),r=!0):(r&&(n=this._verifyReinsertion(n,a,s,o)),Object.is(n.item,a)||this._addIdentityChange(n,a)),n=n._next,o++}),this.length=o;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;t!==null;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;t!==null;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;t!==null;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,r,o){let i;return t===null?i=this._itTail:(i=t._prev,this._remove(t)),t=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null),t!==null?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,i,o)):(t=this._linkedRecords===null?null:this._linkedRecords.get(r,o),t!==null?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,i,o)):t=this._addAfter(new fs(n,r),i,o)),t}_verifyReinsertion(t,n,r,o){let i=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null);return i!==null?t=this._reinsertAfter(i,t._prev,o):t.currentIndex!=o&&(t.currentIndex=o,this._addToMoves(t,o)),t}_truncate(t){for(;t!==null;){let n=t._next;this._addToRemovals(this._unlink(t)),t=n}this._unlinkedRecords!==null&&this._unlinkedRecords.clear(),this._additionsTail!==null&&(this._additionsTail._nextAdded=null),this._movesTail!==null&&(this._movesTail._nextMoved=null),this._itTail!==null&&(this._itTail._next=null),this._removalsTail!==null&&(this._removalsTail._nextRemoved=null),this._identityChangesTail!==null&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,n,r){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(t);let o=t._prevRemoved,i=t._nextRemoved;return o===null?this._removalsHead=i:o._nextRemoved=i,i===null?this._removalsTail=o:i._prevRemoved=o,this._insertAfter(t,n,r),this._addToMoves(t,r),t}_moveAfter(t,n,r){return this._unlink(t),this._insertAfter(t,n,r),this._addToMoves(t,r),t}_addAfter(t,n,r){return this._insertAfter(t,n,r),this._additionsTail===null?this._additionsTail=this._additionsHead=t:this._additionsTail=this._additionsTail._nextAdded=t,t}_insertAfter(t,n,r){let o=n===null?this._itHead:n._next;return t._next=o,t._prev=n,o===null?this._itTail=t:o._prev=t,n===null?this._itHead=t:n._next=t,this._linkedRecords===null&&(this._linkedRecords=new zr),this._linkedRecords.put(t),t.currentIndex=r,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){this._linkedRecords!==null&&this._linkedRecords.remove(t);let n=t._prev,r=t._next;return n===null?this._itHead=r:n._next=r,r===null?this._itTail=n:r._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail===null?this._movesTail=this._movesHead=t:this._movesTail=this._movesTail._nextMoved=t),t}_addToRemovals(t){return this._unlinkedRecords===null&&(this._unlinkedRecords=new zr),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,n){return t.item=n,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=t:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=t,t}},fs=class{constructor(t,n){this.item=t,this.trackById=n,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}},ps=class{constructor(){this._head=null,this._tail=null}add(t){this._head===null?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,n){let r;for(r=this._head;r!==null;r=r._nextDup)if((n===null||n<=r.currentIndex)&&Object.is(r.trackById,t))return r;return null}remove(t){let n=t._prevDup,r=t._nextDup;return n===null?this._head=r:n._nextDup=r,r===null?this._tail=n:r._prevDup=n,this._head===null}},zr=class{constructor(){this.map=new Map}put(t){let n=t.trackById,r=this.map.get(n);r||(r=new ps,this.map.set(n,r)),r.add(t)}get(t,n){let r=t,o=this.map.get(r);return o?o.get(t,n):null}remove(t){let n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function Uu(e,t,n){let r=e.previousIndex;if(r===null)return r;let o=0;return n&&r{let t=class t{constructor(r){this.factories=r}static create(r,o){if(o!=null){let i=o.factories.slice();r=r.concat(i)}return new t(r)}static extend(r){return{provide:t,useFactory:o=>t.create(r,o||zu()),deps:[[t,new pp,new fp]]}}find(r){let o=this.factories.find(i=>i.supports(r));if(o!=null)return o;throw new x(901,!1)}};t.\u0275prov=P({token:t,providedIn:"root",factory:zu});let e=t;return e})();var o_=(()=>{let t=class t{constructor(r){}};t.\u0275fac=function(o){return new(o||t)($(_n))},t.\u0275mod=Ds({type:t}),t.\u0275inj=hs({});let e=t;return e})();function i_(e){try{let{rootComponent:t,appProviders:n,platformProviders:r}=e,o=oD(r),i=[Qv({}),{provide:zt,useExisting:Xv},...n||[]],s=new Vr({providers:i,parent:o,debugName:"",runEnvironmentInitializers:!1});return tD({r3Injector:s.injector,platformInjector:o,rootComponent:t})}catch(t){return Promise.reject(t)}}var s_=new N("");function cD(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function a_(e,t){Kt("NgSignals");let n=wa(e);return t?.equal&&(n[Te].equal=t.equal),n}function lD(e){let t=M(null);try{return e()}finally{M(t)}}function u_(e){let t=Qe(e);if(!t)return null;let n=new Wt(t);return{get selector(){return n.selector},get type(){return n.componentType},get inputs(){return n.inputs},get outputs(){return n.outputs},get ngContentSelectors(){return n.ngContentSelectors},get isStandalone(){return t.standalone},get isSignal(){return t.signals}}}var Ld=null;function ta(){return Ld}function R_(e){Ld??=e}var Nd=class{};var ca=new N(""),la=(()=>{let t=class t{historyGo(r){throw new Error("")}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=P({token:t,factory:()=>_(fD),providedIn:"platform"});let e=t;return e})(),F_=new N(""),fD=(()=>{let t=class t extends la{constructor(){super(),this._doc=_(ca),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return ta().getBaseHref(this._doc)}onPopState(r){let o=ta().getGlobalEventTarget(this._doc,"window");return o.addEventListener("popstate",r,!1),()=>o.removeEventListener("popstate",r)}onHashChange(r){let o=ta().getGlobalEventTarget(this._doc,"window");return o.addEventListener("hashchange",r,!1),()=>o.removeEventListener("hashchange",r)}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(r){this._location.pathname=r}pushState(r,o,i){this._history.pushState(r,o,i)}replaceState(r,o,i){this._history.replaceState(r,o,i)}forward(){this._history.forward()}back(){this._history.back()}historyGo(r=0){this._history.go(r)}getState(){return this._history.state}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=P({token:t,factory:()=>new t,providedIn:"platform"});let e=t;return e})();function da(e,t){if(e.length==0)return t;if(t.length==0)return e;let n=0;return e.endsWith("/")&&n++,t.startsWith("/")&&n++,n==2?e+t.substring(1):n==1?e+t:e+"/"+t}function Ad(e){let t=e.match(/#|\?|$/),n=t&&t.index||e.length,r=n-(e[n-1]==="/"?1:0);return e.slice(0,r)+e.slice(n)}function Ve(e){return e&&e[0]!=="?"?"?"+e:e}var mo=(()=>{let t=class t{historyGo(r){throw new Error("")}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=P({token:t,factory:()=>_(pD),providedIn:"root"});let e=t;return e})(),jd=new N(""),pD=(()=>{let t=class t extends mo{constructor(r,o){super(),this._platformLocation=r,this._removeListenerFns=[],this._baseHref=o??this._platformLocation.getBaseHrefFromDOM()??_(ca).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(r){this._removeListenerFns.push(this._platformLocation.onPopState(r),this._platformLocation.onHashChange(r))}getBaseHref(){return this._baseHref}prepareExternalUrl(r){return da(this._baseHref,r)}path(r=!1){let o=this._platformLocation.pathname+Ve(this._platformLocation.search),i=this._platformLocation.hash;return i&&r?`${o}${i}`:o}pushState(r,o,i,s){let a=this.prepareExternalUrl(i+Ve(s));this._platformLocation.pushState(r,o,a)}replaceState(r,o,i,s){let a=this.prepareExternalUrl(i+Ve(s));this._platformLocation.replaceState(r,o,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(r=0){this._platformLocation.historyGo?.(r)}};t.\u0275fac=function(o){return new(o||t)($(la),$(jd,8))},t.\u0275prov=P({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),k_=(()=>{let t=class t extends mo{constructor(r,o){super(),this._platformLocation=r,this._baseHref="",this._removeListenerFns=[],o!=null&&(this._baseHref=o)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(r){this._removeListenerFns.push(this._platformLocation.onPopState(r),this._platformLocation.onHashChange(r))}getBaseHref(){return this._baseHref}path(r=!1){let o=this._platformLocation.hash??"#";return o.length>0?o.substring(1):o}prepareExternalUrl(r){let o=da(this._baseHref,r);return o.length>0?"#"+o:o}pushState(r,o,i,s){let a=this.prepareExternalUrl(i+Ve(s));a.length==0&&(a=this._platformLocation.pathname),this._platformLocation.pushState(r,o,a)}replaceState(r,o,i,s){let a=this.prepareExternalUrl(i+Ve(s));a.length==0&&(a=this._platformLocation.pathname),this._platformLocation.replaceState(r,o,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(r=0){this._platformLocation.historyGo?.(r)}};t.\u0275fac=function(o){return new(o||t)($(la),$(jd,8))},t.\u0275prov=P({token:t,factory:t.\u0275fac});let e=t;return e})(),hD=(()=>{let t=class t{constructor(r){this._subject=new De,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=r;let o=this._locationStrategy.getBaseHref();this._basePath=yD(Ad(Od(o))),this._locationStrategy.onPopState(i=>{this._subject.emit({url:this.path(!0),pop:!0,state:i.state,type:i.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(r=!1){return this.normalize(this._locationStrategy.path(r))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(r,o=""){return this.path()==this.normalize(r+Ve(o))}normalize(r){return t.stripTrailingSlash(mD(this._basePath,Od(r)))}prepareExternalUrl(r){return r&&r[0]!=="/"&&(r="/"+r),this._locationStrategy.prepareExternalUrl(r)}go(r,o="",i=null){this._locationStrategy.pushState(i,"",r,o),this._notifyUrlChangeListeners(this.prepareExternalUrl(r+Ve(o)),i)}replaceState(r,o="",i=null){this._locationStrategy.replaceState(i,"",r,o),this._notifyUrlChangeListeners(this.prepareExternalUrl(r+Ve(o)),i)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(r=0){this._locationStrategy.historyGo?.(r)}onUrlChange(r){return this._urlChangeListeners.push(r),this._urlChangeSubscription??=this.subscribe(o=>{this._notifyUrlChangeListeners(o.url,o.state)}),()=>{let o=this._urlChangeListeners.indexOf(r);this._urlChangeListeners.splice(o,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(r="",o){this._urlChangeListeners.forEach(i=>i(r,o))}subscribe(r,o,i){return this._subject.subscribe({next:r,error:o,complete:i})}};t.normalizeQueryParams=Ve,t.joinWithSlash=da,t.stripTrailingSlash=Ad,t.\u0275fac=function(o){return new(o||t)($(mo))},t.\u0275prov=P({token:t,factory:()=>gD(),providedIn:"root"});let e=t;return e})();function gD(){return new hD($(mo))}function mD(e,t){if(!e||!t.startsWith(e))return t;let n=t.substring(e.length);return n===""||["/",";","?","#"].includes(n[0])?n:t}function Od(e){return e.replace(/\/index.html$/,"")}function yD(e){if(new RegExp("^(https?:)?//").test(e)){let[,n]=e.split(/\/\/[^\/]+/);return n}return e}var X=function(e){return e[e.Format=0]="Format",e[e.Standalone=1]="Standalone",e}(X||{}),F=function(e){return e[e.Narrow=0]="Narrow",e[e.Abbreviated=1]="Abbreviated",e[e.Wide=2]="Wide",e[e.Short=3]="Short",e}(F||{}),le=function(e){return e[e.Short=0]="Short",e[e.Medium=1]="Medium",e[e.Long=2]="Long",e[e.Full=3]="Full",e}(le||{}),nt={Decimal:0,Group:1,List:2,PercentSign:3,PlusSign:4,MinusSign:5,Exponential:6,SuperscriptingExponent:7,PerMille:8,Infinity:9,NaN:10,TimeSeparator:11,CurrencyDecimal:12,CurrencyGroup:13};function vD(e){return pe(e)[V.LocaleId]}function DD(e,t,n){let r=pe(e),o=[r[V.DayPeriodsFormat],r[V.DayPeriodsStandalone]],i=he(o,t);return he(i,n)}function ID(e,t,n){let r=pe(e),o=[r[V.DaysFormat],r[V.DaysStandalone]],i=he(o,t);return he(i,n)}function ED(e,t,n){let r=pe(e),o=[r[V.MonthsFormat],r[V.MonthsStandalone]],i=he(o,t);return he(i,n)}function wD(e,t){let r=pe(e)[V.Eras];return he(r,t)}function so(e,t){let n=pe(e);return he(n[V.DateFormat],t)}function ao(e,t){let n=pe(e);return he(n[V.TimeFormat],t)}function uo(e,t){let r=pe(e)[V.DateTimeFormat];return he(r,t)}function yo(e,t){let n=pe(e),r=n[V.NumberSymbols][t];if(typeof r>"u"){if(t===nt.CurrencyDecimal)return n[V.NumberSymbols][nt.Decimal];if(t===nt.CurrencyGroup)return n[V.NumberSymbols][nt.Group]}return r}function Vd(e){if(!e[V.ExtraData])throw new Error(`Missing extra locale data for the locale "${e[V.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function CD(e){let t=pe(e);return Vd(t),(t[V.ExtraData][2]||[]).map(r=>typeof r=="string"?na(r):[na(r[0]),na(r[1])])}function bD(e,t,n){let r=pe(e);Vd(r);let o=[r[V.ExtraData][0],r[V.ExtraData][1]],i=he(o,t)||[];return he(i,n)||[]}function he(e,t){for(let n=t;n>-1;n--)if(typeof e[n]<"u")return e[n];throw new Error("Locale data API: locale data undefined")}function na(e){let[t,n]=e.split(":");return{hours:+t,minutes:+n}}var MD=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,co={},_D=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/,Be=function(e){return e[e.Short=0]="Short",e[e.ShortGMT=1]="ShortGMT",e[e.Long=2]="Long",e[e.Extended=3]="Extended",e}(Be||{}),O=function(e){return e[e.FullYear=0]="FullYear",e[e.Month=1]="Month",e[e.Date=2]="Date",e[e.Hours=3]="Hours",e[e.Minutes=4]="Minutes",e[e.Seconds=5]="Seconds",e[e.FractionalSeconds=6]="FractionalSeconds",e[e.Day=7]="Day",e}(O||{}),A=function(e){return e[e.DayPeriods=0]="DayPeriods",e[e.Days=1]="Days",e[e.Months=2]="Months",e[e.Eras=3]="Eras",e}(A||{});function xD(e,t,n,r){let o=PD(e);t=je(n,t)||t;let s=[],a;for(;t;)if(a=_D.exec(t),a){s=s.concat(a.slice(1));let l=s.pop();if(!l)break;t=l}else{s.push(t);break}let u=o.getTimezoneOffset();r&&(u=$d(r,u),o=kD(o,r,!0));let c="";return s.forEach(l=>{let d=RD(l);c+=d?d(o,n,u):l==="''"?"'":l.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),c}function go(e,t,n){let r=new Date(0);return r.setFullYear(e,t,n),r.setHours(0,0,0),r}function je(e,t){let n=vD(e);if(co[n]??={},co[n][t])return co[n][t];let r="";switch(t){case"shortDate":r=so(e,le.Short);break;case"mediumDate":r=so(e,le.Medium);break;case"longDate":r=so(e,le.Long);break;case"fullDate":r=so(e,le.Full);break;case"shortTime":r=ao(e,le.Short);break;case"mediumTime":r=ao(e,le.Medium);break;case"longTime":r=ao(e,le.Long);break;case"fullTime":r=ao(e,le.Full);break;case"short":let o=je(e,"shortTime"),i=je(e,"shortDate");r=lo(uo(e,le.Short),[o,i]);break;case"medium":let s=je(e,"mediumTime"),a=je(e,"mediumDate");r=lo(uo(e,le.Medium),[s,a]);break;case"long":let u=je(e,"longTime"),c=je(e,"longDate");r=lo(uo(e,le.Long),[u,c]);break;case"full":let l=je(e,"fullTime"),d=je(e,"fullDate");r=lo(uo(e,le.Full),[l,d]);break}return r&&(co[n][t]=r),r}function lo(e,t){return t&&(e=e.replace(/\{([^}]+)}/g,function(n,r){return t!=null&&r in t?t[r]:n})),e}function Ee(e,t,n="-",r,o){let i="";(e<0||o&&e<=0)&&(o?e=-e+1:(e=-e,i=n));let s=String(e);for(;s.length0||a>-n)&&(a+=n),e===O.Hours)a===0&&n===-12&&(a=12);else if(e===O.FractionalSeconds)return SD(a,t);let u=yo(s,nt.MinusSign);return Ee(a,t,u,r,o)}}function TD(e,t){switch(e){case O.FullYear:return t.getFullYear();case O.Month:return t.getMonth();case O.Date:return t.getDate();case O.Hours:return t.getHours();case O.Minutes:return t.getMinutes();case O.Seconds:return t.getSeconds();case O.FractionalSeconds:return t.getMilliseconds();case O.Day:return t.getDay();default:throw new Error(`Unknown DateType value "${e}".`)}}function k(e,t,n=X.Format,r=!1){return function(o,i){return ND(o,i,e,t,n,r)}}function ND(e,t,n,r,o,i){switch(n){case A.Months:return ED(t,o,r)[e.getMonth()];case A.Days:return ID(t,o,r)[e.getDay()];case A.DayPeriods:let s=e.getHours(),a=e.getMinutes();if(i){let c=CD(t),l=bD(t,o,r),d=c.findIndex(p=>{if(Array.isArray(p)){let[f,h]=p,g=s>=f.hours&&a>=f.minutes,S=s0?Math.floor(o/60):Math.ceil(o/60);switch(e){case Be.Short:return(o>=0?"+":"")+Ee(s,2,i)+Ee(Math.abs(o%60),2,i);case Be.ShortGMT:return"GMT"+(o>=0?"+":"")+Ee(s,1,i);case Be.Long:return"GMT"+(o>=0?"+":"")+Ee(s,2,i)+":"+Ee(Math.abs(o%60),2,i);case Be.Extended:return r===0?"Z":(o>=0?"+":"")+Ee(s,2,i)+":"+Ee(Math.abs(o%60),2,i);default:throw new Error(`Unknown zone width "${e}"`)}}}var AD=0,ho=4;function OD(e){let t=go(e,AD,1).getDay();return go(e,0,1+(t<=ho?ho:ho+7)-t)}function Bd(e){let t=e.getDay(),n=t===0?-3:ho-t;return go(e.getFullYear(),e.getMonth(),e.getDate()+n)}function ra(e,t=!1){return function(n,r){let o;if(t){let i=new Date(n.getFullYear(),n.getMonth(),1).getDay()-1,s=n.getDate();o=1+Math.floor((s+i)/7)}else{let i=Bd(n),s=OD(i.getFullYear()),a=i.getTime()-s.getTime();o=1+Math.round(a/6048e5)}return Ee(o,e,yo(r,nt.MinusSign))}}function po(e,t=!1){return function(n,r){let i=Bd(n).getFullYear();return Ee(i,e,yo(r,nt.MinusSign),t)}}var oa={};function RD(e){if(oa[e])return oa[e];let t;switch(e){case"G":case"GG":case"GGG":t=k(A.Eras,F.Abbreviated);break;case"GGGG":t=k(A.Eras,F.Wide);break;case"GGGGG":t=k(A.Eras,F.Narrow);break;case"y":t=H(O.FullYear,1,0,!1,!0);break;case"yy":t=H(O.FullYear,2,0,!0,!0);break;case"yyy":t=H(O.FullYear,3,0,!1,!0);break;case"yyyy":t=H(O.FullYear,4,0,!1,!0);break;case"Y":t=po(1);break;case"YY":t=po(2,!0);break;case"YYY":t=po(3);break;case"YYYY":t=po(4);break;case"M":case"L":t=H(O.Month,1,1);break;case"MM":case"LL":t=H(O.Month,2,1);break;case"MMM":t=k(A.Months,F.Abbreviated);break;case"MMMM":t=k(A.Months,F.Wide);break;case"MMMMM":t=k(A.Months,F.Narrow);break;case"LLL":t=k(A.Months,F.Abbreviated,X.Standalone);break;case"LLLL":t=k(A.Months,F.Wide,X.Standalone);break;case"LLLLL":t=k(A.Months,F.Narrow,X.Standalone);break;case"w":t=ra(1);break;case"ww":t=ra(2);break;case"W":t=ra(1,!0);break;case"d":t=H(O.Date,1);break;case"dd":t=H(O.Date,2);break;case"c":case"cc":t=H(O.Day,1);break;case"ccc":t=k(A.Days,F.Abbreviated,X.Standalone);break;case"cccc":t=k(A.Days,F.Wide,X.Standalone);break;case"ccccc":t=k(A.Days,F.Narrow,X.Standalone);break;case"cccccc":t=k(A.Days,F.Short,X.Standalone);break;case"E":case"EE":case"EEE":t=k(A.Days,F.Abbreviated);break;case"EEEE":t=k(A.Days,F.Wide);break;case"EEEEE":t=k(A.Days,F.Narrow);break;case"EEEEEE":t=k(A.Days,F.Short);break;case"a":case"aa":case"aaa":t=k(A.DayPeriods,F.Abbreviated);break;case"aaaa":t=k(A.DayPeriods,F.Wide);break;case"aaaaa":t=k(A.DayPeriods,F.Narrow);break;case"b":case"bb":case"bbb":t=k(A.DayPeriods,F.Abbreviated,X.Standalone,!0);break;case"bbbb":t=k(A.DayPeriods,F.Wide,X.Standalone,!0);break;case"bbbbb":t=k(A.DayPeriods,F.Narrow,X.Standalone,!0);break;case"B":case"BB":case"BBB":t=k(A.DayPeriods,F.Abbreviated,X.Format,!0);break;case"BBBB":t=k(A.DayPeriods,F.Wide,X.Format,!0);break;case"BBBBB":t=k(A.DayPeriods,F.Narrow,X.Format,!0);break;case"h":t=H(O.Hours,1,-12);break;case"hh":t=H(O.Hours,2,-12);break;case"H":t=H(O.Hours,1);break;case"HH":t=H(O.Hours,2);break;case"m":t=H(O.Minutes,1);break;case"mm":t=H(O.Minutes,2);break;case"s":t=H(O.Seconds,1);break;case"ss":t=H(O.Seconds,2);break;case"S":t=H(O.FractionalSeconds,1);break;case"SS":t=H(O.FractionalSeconds,2);break;case"SSS":t=H(O.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":t=fo(Be.Short);break;case"ZZZZZ":t=fo(Be.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":t=fo(Be.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":t=fo(Be.Long);break;default:return null}return oa[e]=t,t}function $d(e,t){e=e.replace(/:/g,"");let n=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(n)?t:n}function FD(e,t){return e=new Date(e.getTime()),e.setMinutes(e.getMinutes()+t),e}function kD(e,t,n){let r=n?-1:1,o=e.getTimezoneOffset(),i=$d(t,o);return FD(e,r*(i-o))}function PD(e){if(Rd(e))return e;if(typeof e=="number"&&!isNaN(e))return new Date(e);if(typeof e=="string"){if(e=e.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(e)){let[o,i=1,s=1]=e.split("-").map(a=>+a);return go(o,i-1,s)}let n=parseFloat(e);if(!isNaN(e-n))return new Date(n);let r;if(r=e.match(MD))return LD(r)}let t=new Date(e);if(!Rd(t))throw new Error(`Unable to convert "${e}" into a date`);return t}function LD(e){let t=new Date(0),n=0,r=0,o=e[8]?t.setUTCFullYear:t.setFullYear,i=e[8]?t.setUTCHours:t.setHours;e[9]&&(n=Number(e[9]+e[10]),r=Number(e[9]+e[11])),o.call(t,Number(e[1]),Number(e[2])-1,Number(e[3]));let s=Number(e[4]||0)-n,a=Number(e[5]||0)-r,u=Number(e[6]||0),c=Math.floor(parseFloat("0."+(e[7]||0))*1e3);return i.call(t,s,a,u,c),t}function Rd(e){return e instanceof Date&&!isNaN(e.valueOf())}function P_(e,t){t=encodeURIComponent(t);for(let n of e.split(";")){let r=n.indexOf("="),[o,i]=r==-1?[n,""]:[n.slice(0,r),n.slice(r+1)];if(o.trim()===t)return decodeURIComponent(i)}return null}var ia=class{constructor(t,n,r,o){this.$implicit=t,this.ngForOf=n,this.index=r,this.count=o}get first(){return this.index===0}get last(){return this.index===this.count-1}get even(){return this.index%2===0}get odd(){return!this.even}},L_=(()=>{let t=class t{set ngForOf(r){this._ngForOf=r,this._ngForOfDirty=!0}set ngForTrackBy(r){this._trackByFn=r}get ngForTrackBy(){return this._trackByFn}constructor(r,o,i){this._viewContainer=r,this._template=o,this._differs=i,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(r){r&&(this._template=r)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;let r=this._ngForOf;if(!this._differ&&r)if(0)try{}catch{}else this._differ=this._differs.find(r).create(this.ngForTrackBy)}if(this._differ){let r=this._differ.diff(this._ngForOf);r&&this._applyChanges(r)}}_applyChanges(r){let o=this._viewContainer;r.forEachOperation((i,s,a)=>{if(i.previousIndex==null)o.createEmbeddedView(this._template,new ia(i.item,this._ngForOf,-1,-1),a===null?void 0:a);else if(a==null)o.remove(s===null?void 0:s);else if(s!==null){let u=o.get(s);o.move(u,a),Fd(u,i)}});for(let i=0,s=o.length;i{let s=o.get(i.currentIndex);Fd(s,i)})}static ngTemplateContextGuard(r,o){return!0}};t.\u0275fac=function(o){return new(o||t)(ce(Jt),ce(Ct),ce(Xs))},t.\u0275dir=Is({type:t,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0});let e=t;return e})();function Fd(e,t){e.context.$implicit=t.item}var j_=(()=>{let t=class t{constructor(r,o){this._viewContainer=r,this._context=new sa,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=o}set ngIf(r){this._context.$implicit=this._context.ngIf=r,this._updateView()}set ngIfThen(r){kd("ngIfThen",r),this._thenTemplateRef=r,this._thenViewRef=null,this._updateView()}set ngIfElse(r){kd("ngIfElse",r),this._elseTemplateRef=r,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(r,o){return!0}};t.\u0275fac=function(o){return new(o||t)(ce(Jt),ce(Ct))},t.\u0275dir=Is({type:t,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0});let e=t;return e})(),sa=class{constructor(){this.$implicit=null,this.ngIf=null}};function kd(e,t){if(!!!(!t||t.createEmbeddedView))throw new Error(`${e} must be a TemplateRef, but received '${K(t)}'.`)}function jD(e,t){return new x(2100,!1)}var VD="mediumDate",BD=new N(""),$D=new N(""),V_=(()=>{let t=class t{constructor(r,o,i){this.locale=r,this.defaultTimezone=o,this.defaultOptions=i}transform(r,o,i,s){if(r==null||r===""||r!==r)return null;try{let a=o??this.defaultOptions?.dateFormat??VD,u=i??this.defaultOptions?.timezone??this.defaultTimezone??void 0;return xD(r,a,s||this.locale,u)}catch(a){throw jD(t,a.message)}}};t.\u0275fac=function(o){return new(o||t)(ce(io,16),ce(BD,24),ce($D,24))},t.\u0275pipe=cc({name:"date",type:t,pure:!0,standalone:!0});let e=t;return e})();var B_=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275mod=Ds({type:t}),t.\u0275inj=hs({});let e=t;return e})(),HD="browser",UD="server";function zD(e){return e===HD}function $_(e){return e===UD}var H_=(()=>{let t=class t{};t.\u0275prov=P({token:t,providedIn:"root",factory:()=>zD(_(Ls))?new aa(_(ca),window):new ua});let e=t;return e})(),aa=class{constructor(t,n){this.document=t,this.window=n,this.offset=()=>[0,0]}setOffset(t){Array.isArray(t)?this.offset=()=>t:this.offset=t}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(t){this.window.scrollTo(t[0],t[1])}scrollToAnchor(t){let n=GD(this.document,t);n&&(this.scrollToElement(n),n.focus())}setHistoryScrollRestoration(t){this.window.history.scrollRestoration=t}scrollToElement(t){let n=t.getBoundingClientRect(),r=n.left+this.window.pageXOffset,o=n.top+this.window.pageYOffset,i=this.offset();this.window.scrollTo(r-i[0],o-i[1])}};function GD(e,t){let n=e.getElementById(t)||e.getElementsByName(t)[0];if(n)return n;if(typeof e.createTreeWalker=="function"&&e.body&&typeof e.body.attachShadow=="function"){let r=e.createTreeWalker(e.body,NodeFilter.SHOW_ELEMENT),o=r.currentNode;for(;o;){let i=o.shadowRoot;if(i){let s=i.getElementById(t)||i.querySelector(`[name="${t}"]`);if(s)return s}o=r.nextNode()}}return null}var ua=class{setOffset(t){}getScrollPosition(){return[0,0]}scrollToPosition(t){}scrollToAnchor(t){}setHistoryScrollRestoration(t){}},Pd=class{};export{$e as a,He as b,WD as c,qD as d,ZD as e,B as f,af as g,T as h,Po as i,Lo as j,we as k,nn as l,on as m,ze as n,yf as o,vf as p,Df as q,at as r,Ae as s,xf as t,ut as u,Vo as v,or as w,Tf as x,Nf as y,ct as z,Xa as A,Af as B,Of as C,sn as D,Bo as E,Rf as F,Ff as G,Lf as H,tu as I,$o as J,jf as K,Vf as L,Bf as M,$f as N,Hf as O,Uf as P,zf as Q,Gf as R,x as S,We as T,Zu as U,P as V,hs as W,v0 as X,N as Y,w as Z,$ as _,_ as $,fp as aa,pp as ba,ln as ca,D0 as da,Ds as ea,Is as fa,I0 as ga,Pp as ha,vc as ia,Ke as ja,qp as ka,Mc as la,E0 as ma,Fh as na,It as oa,Kr as pa,De as qa,J as ra,Ut as sa,Qt as ta,w0 as ua,C0 as va,eg as wa,Ls as xa,b0 as ya,M0 as za,Cn as Aa,hl as Ba,_0 as Ca,x0 as Da,S0 as Ea,T0 as Fa,N0 as Ga,gl as Ha,A0 as Ia,Vs as Ja,O0 as Ka,Rr as La,R0 as Ma,ce as Na,F0 as Oa,zt as Pa,Lr as Qa,id as Ra,Kt as Sa,zm as Ta,Jt as Ua,j0 as Va,wy as Wa,Sy as Xa,Qi as Ya,Ty as Za,ky as _a,jy as $a,Qy as ab,hd as bb,Ky as cb,V0 as db,B0 as eb,$0 as fb,Id as gb,Ed as hb,fv as ib,Iv as jb,H0 as kb,U0 as lb,z0 as mb,G0 as nb,W0 as ob,q0 as pb,Z0 as qb,_v as rb,Cd as sb,xv as tb,Y0 as ub,Sv as vb,Q0 as wb,K0 as xb,J0 as yb,X0 as zb,e_ as Ab,t_ as Bb,jv as Cb,Vv as Db,n_ as Eb,Bv as Fb,Js as Gb,Hv as Hb,Uv as Ib,_n as Jb,r_ as Kb,Td as Lb,o_ as Mb,i_ as Nb,s_ as Ob,cD as Pb,a_ as Qb,lD as Rb,u_ as Sb,ta as Tb,R_ as Ub,Nd as Vb,ca as Wb,F_ as Xb,mo as Yb,pD as Zb,k_ as _b,hD as $b,P_ as ac,L_ as bc,j_ as cc,V_ as dc,B_ as ec,HD as fc,zD as gc,$_ as hc,H_ as ic,Pd as jc};
diff --git a/chunk-UU3TJY2H.js b/chunk-UU3TJY2H.js
new file mode 100644
index 0000000..c4209b7
--- /dev/null
+++ b/chunk-UU3TJY2H.js
@@ -0,0 +1 @@
+import{S as E,V as gt,a as ue,c as pt}from"./chunk-QWKE5DGY.js";var _=function(n){return n[n.State=0]="State",n[n.Transition=1]="Transition",n[n.Sequence=2]="Sequence",n[n.Group=3]="Group",n[n.Animate=4]="Animate",n[n.Keyframes=5]="Keyframes",n[n.Style=6]="Style",n[n.Trigger=7]="Trigger",n[n.Reference=8]="Reference",n[n.AnimateChild=9]="AnimateChild",n[n.AnimateRef=10]="AnimateRef",n[n.Query=11]="Query",n[n.Stagger=12]="Stagger",n}(_||{}),B="*";function yt(n,e=null){return{type:_.Sequence,steps:n,options:e}}function Me(n){return{type:_.Style,styles:n,offset:null}}var U=class{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(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(e=>e()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(e){this._position=this.totalTime?e*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(e){let t=e=="start"?this._onStartFns:this._onDoneFns;t.forEach(s=>s()),t.length=0}},ie=class{constructor(e){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=e;let t=0,s=0,i=0,r=this.players.length;r==0?queueMicrotask(()=>this._onFinish()):this.players.forEach(o=>{o.onDone(()=>{++t==r&&this._onFinish()}),o.onDestroy(()=>{++s==r&&this._onDestroy()}),o.onStart(()=>{++i==r&&this._onStart()})}),this.totalTime=this.players.reduce((o,a)=>Math.max(o,a.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this.players.forEach(e=>e.init())}onStart(e){this._onStartFns.push(e)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(e=>e()),this._onStartFns=[])}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(e=>e.play())}pause(){this.players.forEach(e=>e.pause())}restart(){this.players.forEach(e=>e.restart())}finish(){this._onFinish(),this.players.forEach(e=>e.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(e=>e.destroy()),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this.players.forEach(e=>e.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(e){let t=e*this.totalTime;this.players.forEach(s=>{let i=s.totalTime?Math.min(1,t/s.totalTime):1;s.setPosition(i)})}getPosition(){let e=this.players.reduce((t,s)=>t===null||s.totalTime>t.totalTime?s:t,null);return e!=null?e.getPosition():0}beforeDestroy(){this.players.forEach(e=>{e.beforeDestroy&&e.beforeDestroy()})}triggerCallback(e){let t=e=="start"?this._onStartFns:this._onDoneFns;t.forEach(s=>s()),t.length=0}},ce="!";function _t(n){return new E(3e3,!1)}function Ht(){return new E(3100,!1)}function Yt(){return new E(3101,!1)}function Xt(n){return new E(3001,!1)}function xt(n){return new E(3003,!1)}function Zt(n){return new E(3004,!1)}function Jt(n,e){return new E(3005,!1)}function es(){return new E(3006,!1)}function ts(){return new E(3007,!1)}function ss(n,e){return new E(3008,!1)}function is(n){return new E(3002,!1)}function ns(n,e,t,s,i){return new E(3010,!1)}function rs(){return new E(3011,!1)}function os(){return new E(3012,!1)}function as(){return new E(3200,!1)}function ls(){return new E(3202,!1)}function hs(){return new E(3013,!1)}function us(n){return new E(3014,!1)}function cs(n){return new E(3015,!1)}function fs(n){return new E(3016,!1)}function ds(n){return new E(3500,!1)}function ms(n){return new E(3501,!1)}function ps(n,e){return new E(3404,!1)}function gs(n){return new E(3502,!1)}function ys(n){return new E(3503,!1)}function _s(){return new E(3300,!1)}function Ss(n){return new E(3504,!1)}function Es(n){return new E(3301,!1)}function vs(n,e){return new E(3302,!1)}function Ts(n){return new E(3303,!1)}function ws(n,e){return new E(3400,!1)}function bs(n){return new E(3401,!1)}function Ps(n){return new E(3402,!1)}function As(n,e){return new E(3505,!1)}var Ns=new Set(["-moz-outline-radius","-moz-outline-radius-bottomleft","-moz-outline-radius-bottomright","-moz-outline-radius-topleft","-moz-outline-radius-topright","-ms-grid-columns","-ms-grid-rows","-webkit-line-clamp","-webkit-text-fill-color","-webkit-text-stroke","-webkit-text-stroke-color","accent-color","all","backdrop-filter","background","background-color","background-position","background-size","block-size","border","border-block-end","border-block-end-color","border-block-end-width","border-block-start","border-block-start-color","border-block-start-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-width","border-color","border-end-end-radius","border-end-start-radius","border-image-outset","border-image-slice","border-image-width","border-inline-end","border-inline-end-color","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-width","border-left","border-left-color","border-left-width","border-radius","border-right","border-right-color","border-right-width","border-start-end-radius","border-start-start-radius","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-width","border-width","bottom","box-shadow","caret-color","clip","clip-path","color","column-count","column-gap","column-rule","column-rule-color","column-rule-width","column-width","columns","filter","flex","flex-basis","flex-grow","flex-shrink","font","font-size","font-size-adjust","font-stretch","font-variation-settings","font-weight","gap","grid-column-gap","grid-gap","grid-row-gap","grid-template-columns","grid-template-rows","height","inline-size","input-security","inset","inset-block","inset-block-end","inset-block-start","inset-inline","inset-inline-end","inset-inline-start","left","letter-spacing","line-clamp","line-height","margin","margin-block-end","margin-block-start","margin-bottom","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","mask","mask-border","mask-position","mask-size","max-block-size","max-height","max-inline-size","max-lines","max-width","min-block-size","min-height","min-inline-size","min-width","object-position","offset","offset-anchor","offset-distance","offset-path","offset-position","offset-rotate","opacity","order","outline","outline-color","outline-offset","outline-width","padding","padding-block-end","padding-block-start","padding-bottom","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","perspective","perspective-origin","right","rotate","row-gap","scale","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-coordinate","scroll-snap-destination","scrollbar-color","shape-image-threshold","shape-margin","shape-outside","tab-size","text-decoration","text-decoration-color","text-decoration-thickness","text-emphasis","text-emphasis-color","text-indent","text-shadow","text-underline-offset","top","transform","transform-origin","translate","vertical-align","visibility","width","word-spacing","z-index","zoom"]);function j(n){switch(n.length){case 0:return new U;case 1:return n[0];default:return new ie(n)}}function It(n,e,t=new Map,s=new Map){let i=[],r=[],o=-1,a=null;if(e.forEach(l=>{let h=l.get("offset"),c=h==o,u=c&&a||new Map;l.forEach((S,y)=>{let d=y,g=S;if(y!=="offset")switch(d=n.normalizePropertyName(d,i),g){case ce:g=t.get(y);break;case B:g=s.get(y);break;default:g=n.normalizeStyleValue(y,d,g,i);break}u.set(d,g)}),c||r.push(u),a=u,o=h}),i.length)throw gs(i);return r}function tt(n,e,t,s){switch(e){case"start":n.onStart(()=>s(t&&Ce(t,"start",n)));break;case"done":n.onDone(()=>s(t&&Ce(t,"done",n)));break;case"destroy":n.onDestroy(()=>s(t&&Ce(t,"destroy",n)));break}}function Ce(n,e,t){let s=t.totalTime,i=!!t.disabled,r=st(n.element,n.triggerName,n.fromState,n.toState,e||n.phaseName,s??n.totalTime,i),o=n._data;return o!=null&&(r._data=o),r}function st(n,e,t,s,i="",r=0,o){return{element:n,triggerName:e,fromState:t,toState:s,phaseName:i,totalTime:r,disabled:!!o}}function O(n,e,t){let s=n.get(e);return s||n.set(e,s=t),s}function St(n){let e=n.indexOf(":"),t=n.substring(1,e),s=n.slice(e+1);return[t,s]}var Ds=typeof document>"u"?null:document.documentElement;function it(n){let e=n.parentNode||n.host||null;return e===Ds?null:e}function Ms(n){return n.substring(1,6)=="ebkit"}var Y=null,Et=!1;function Cs(n){Y||(Y=ks()||{},Et=Y.style?"WebkitAppearance"in Y.style:!1);let e=!0;return Y.style&&!Ms(n)&&(e=n in Y.style,!e&&Et&&(e="Webkit"+n.charAt(0).toUpperCase()+n.slice(1)in Y.style)),e}function Ai(n){return Ns.has(n)}function ks(){return typeof document<"u"?document.body:null}function Kt(n,e){for(;e;){if(e===n)return!0;e=it(e)}return!1}function qt(n,e,t){if(t)return Array.from(n.querySelectorAll(e));let s=n.querySelector(e);return s?[s]:[]}var zt=(()=>{let e=class e{validateStyleProperty(s){return Cs(s)}containsElement(s,i){return Kt(s,i)}getParentElement(s){return it(s)}query(s,i,r){return qt(s,i,r)}computeStyle(s,i,r){return r||""}animate(s,i,r,o,a,l=[],h){return new U(r,o)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=gt({token:e,factory:e.\u0275fac});let n=e;return n})(),ut=class ut{};ut.NOOP=new zt;var vt=ut,Ie=class{},Ke=class{normalizePropertyName(e,t){return e}normalizeStyleValue(e,t,s,i){return s}},Fs=1e3,Bt="{{",Rs="}}",nt="ng-enter",ye="ng-leave",fe="ng-trigger",_e=".ng-trigger",Tt="ng-animating",qe=".ng-animating";function $(n){if(typeof n=="number")return n;let e=n.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:ze(parseFloat(e[1]),e[2])}function ze(n,e){switch(e){case"s":return n*Fs;default:return n}}function Se(n,e,t){return n.hasOwnProperty("duration")?n:Os(n,e,t)}function Os(n,e,t){let s=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i,i,r=0,o="";if(typeof n=="string"){let a=n.match(s);if(a===null)return e.push(_t(n)),{duration:0,delay:0,easing:""};i=ze(parseFloat(a[1]),a[2]);let l=a[3];l!=null&&(r=ze(parseFloat(l),a[4]));let h=a[5];h&&(o=h)}else i=n;if(!t){let a=!1,l=e.length;i<0&&(e.push(Ht()),a=!0),r<0&&(e.push(Yt()),a=!0),a&&e.splice(l,0,_t(n))}return{duration:i,delay:r,easing:o}}function Ls(n){return n.length?n[0]instanceof Map?n:n.map(e=>new Map(Object.entries(e))):[]}function wt(n){return Array.isArray(n)?new Map(...n):new Map(n)}function Q(n,e,t){e.forEach((s,i)=>{let r=rt(i);t&&!t.has(i)&&t.set(i,n.style[r]),n.style[r]=s})}function x(n,e){e.forEach((t,s)=>{let i=rt(s);n.style[i]=""})}function ne(n){return Array.isArray(n)?n.length==1?n[0]:yt(n):n}function Is(n,e,t){let s=e.params||{},i=Qt(n);i.length&&i.forEach(r=>{s.hasOwnProperty(r)||t.push(Xt(r))})}var Be=new RegExp(`${Bt}\\s*(.+?)\\s*${Rs}`,"g");function Qt(n){let e=[];if(typeof n=="string"){let t;for(;t=Be.exec(n);)e.push(t[1]);Be.lastIndex=0}return e}function oe(n,e,t){let s=`${n}`,i=s.replace(Be,(r,o)=>{let a=e[o];return a==null&&(t.push(xt(o)),a=""),a.toString()});return i==s?n:i}var Ks=/-+([a-z0-9])/g;function rt(n){return n.replace(Ks,(...e)=>e[1].toUpperCase())}function Ni(n){return n.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function qs(n,e){return n===0||e===0}function zs(n,e,t){if(t.size&&e.length){let s=e[0],i=[];if(t.forEach((r,o)=>{s.has(o)||i.push(o),s.set(o,r)}),i.length)for(let r=1;ro.set(a,ot(n,a)))}}return e}function R(n,e,t){switch(e.type){case _.Trigger:return n.visitTrigger(e,t);case _.State:return n.visitState(e,t);case _.Transition:return n.visitTransition(e,t);case _.Sequence:return n.visitSequence(e,t);case _.Group:return n.visitGroup(e,t);case _.Animate:return n.visitAnimate(e,t);case _.Keyframes:return n.visitKeyframes(e,t);case _.Style:return n.visitStyle(e,t);case _.Reference:return n.visitReference(e,t);case _.AnimateChild:return n.visitAnimateChild(e,t);case _.AnimateRef:return n.visitAnimateRef(e,t);case _.Query:return n.visitQuery(e,t);case _.Stagger:return n.visitStagger(e,t);default:throw Zt(e.type)}}function ot(n,e){return window.getComputedStyle(n)[e]}var Bs=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"]),Qe=class extends Ie{normalizePropertyName(e,t){return rt(e)}normalizeStyleValue(e,t,s,i){let r="",o=s.toString().trim();if(Bs.has(t)&&s!==0&&s!=="0")if(typeof s=="number")r="px";else{let a=s.match(/^[+-]?[\d\.]+([a-z]*)$/);a&&a[1].length==0&&i.push(Jt(e,s))}return o+r}};var Ee="*";function Qs(n,e){let t=[];return typeof n=="string"?n.split(/\s*,\s*/).forEach(s=>$s(s,t,e)):t.push(n),t}function $s(n,e,t){if(n[0]==":"){let l=Vs(n,t);if(typeof l=="function"){e.push(l);return}n=l}let s=n.match(/^(\*|[-\w]+)\s*([=-]>)\s*(\*|[-\w]+)$/);if(s==null||s.length<4)return t.push(cs(n)),e;let i=s[1],r=s[2],o=s[3];e.push(bt(i,o));let a=i==Ee&&o==Ee;r[0]=="<"&&!a&&e.push(bt(o,i))}function Vs(n,e){switch(n){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(t,s)=>parseFloat(s)>parseFloat(t);case":decrement":return(t,s)=>parseFloat(s) *"}}var de=new Set(["true","1"]),me=new Set(["false","0"]);function bt(n,e){let t=de.has(n)||me.has(n),s=de.has(e)||me.has(e);return(i,r)=>{let o=n==Ee||n==i,a=e==Ee||e==r;return!o&&t&&typeof i=="boolean"&&(o=i?de.has(n):me.has(n)),!a&&s&&typeof r=="boolean"&&(a=r?de.has(e):me.has(e)),o&&a}}var $t=":self",Us=new RegExp(`s*${$t}s*,?`,"g");function at(n,e,t,s){return new $e(n).build(e,t,s)}var Pt="",$e=class{constructor(e){this._driver=e}build(e,t,s){let i=new Ve(t);return this._resetContextStyleTimingState(i),R(this,ne(e),i)}_resetContextStyleTimingState(e){e.currentQuerySelector=Pt,e.collectedStyles=new Map,e.collectedStyles.set(Pt,new Map),e.currentTime=0}visitTrigger(e,t){let s=t.queryCount=0,i=t.depCount=0,r=[],o=[];return e.name.charAt(0)=="@"&&t.errors.push(es()),e.definitions.forEach(a=>{if(this._resetContextStyleTimingState(t),a.type==_.State){let l=a,h=l.name;h.toString().split(/\s*,\s*/).forEach(c=>{l.name=c,r.push(this.visitState(l,t))}),l.name=h}else if(a.type==_.Transition){let l=this.visitTransition(a,t);s+=l.queryCount,i+=l.depCount,o.push(l)}else t.errors.push(ts())}),{type:_.Trigger,name:e.name,states:r,transitions:o,queryCount:s,depCount:i,options:null}}visitState(e,t){let s=this.visitStyle(e.styles,t),i=e.options&&e.options.params||null;if(s.containsDynamicStyles){let r=new Set,o=i||{};s.styles.forEach(a=>{a instanceof Map&&a.forEach(l=>{Qt(l).forEach(h=>{o.hasOwnProperty(h)||r.add(h)})})}),r.size&&t.errors.push(ss(e.name,[...r.values()]))}return{type:_.State,name:e.name,style:s,options:i?{params:i}:null}}visitTransition(e,t){t.queryCount=0,t.depCount=0;let s=R(this,ne(e.animation),t),i=Qs(e.expr,t.errors);return{type:_.Transition,matchers:i,animation:s,queryCount:t.queryCount,depCount:t.depCount,options:X(e.options)}}visitSequence(e,t){return{type:_.Sequence,steps:e.steps.map(s=>R(this,s,t)),options:X(e.options)}}visitGroup(e,t){let s=t.currentTime,i=0,r=e.steps.map(o=>{t.currentTime=s;let a=R(this,o,t);return i=Math.max(i,t.currentTime),a});return t.currentTime=i,{type:_.Group,steps:r,options:X(e.options)}}visitAnimate(e,t){let s=Hs(e.timings,t.errors);t.currentAnimateTimings=s;let i,r=e.styles?e.styles:Me({});if(r.type==_.Keyframes)i=this.visitKeyframes(r,t);else{let o=e.styles,a=!1;if(!o){a=!0;let h={};s.easing&&(h.easing=s.easing),o=Me(h)}t.currentTime+=s.duration+s.delay;let l=this.visitStyle(o,t);l.isEmptyStep=a,i=l}return t.currentAnimateTimings=null,{type:_.Animate,timings:s,style:i,options:null}}visitStyle(e,t){let s=this._makeStyleAst(e,t);return this._validateStyleAst(s,t),s}_makeStyleAst(e,t){let s=[],i=Array.isArray(e.styles)?e.styles:[e.styles];for(let a of i)typeof a=="string"?a===B?s.push(a):t.errors.push(is(a)):s.push(new Map(Object.entries(a)));let r=!1,o=null;return s.forEach(a=>{if(a instanceof Map&&(a.has("easing")&&(o=a.get("easing"),a.delete("easing")),!r)){for(let l of a.values())if(l.toString().indexOf(Bt)>=0){r=!0;break}}}),{type:_.Style,styles:s,easing:o,offset:e.offset,containsDynamicStyles:r,options:null}}_validateStyleAst(e,t){let s=t.currentAnimateTimings,i=t.currentTime,r=t.currentTime;s&&r>0&&(r-=s.duration+s.delay),e.styles.forEach(o=>{typeof o!="string"&&o.forEach((a,l)=>{let h=t.collectedStyles.get(t.currentQuerySelector),c=h.get(l),u=!0;c&&(r!=i&&r>=c.startTime&&i<=c.endTime&&(t.errors.push(ns(l,c.startTime,c.endTime,r,i)),u=!1),r=c.startTime),u&&h.set(l,{startTime:r,endTime:i}),t.options&&Is(a,t.options,t.errors)})})}visitKeyframes(e,t){let s={type:_.Keyframes,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push(rs()),s;let i=1,r=0,o=[],a=!1,l=!1,h=0,c=e.steps.map(b=>{let P=this._makeStyleAst(b,t),M=P.offset!=null?P.offset:Gs(P.styles),N=0;return M!=null&&(r++,N=P.offset=M),l=l||N<0||N>1,a=a||N0&&r{let M=S>0?P==y?1:S*P:o[P],N=M*T;t.currentTime=d+g.delay+N,g.duration=N,this._validateStyleAst(b,t),b.offset=M,s.styles.push(b)}),s}visitReference(e,t){return{type:_.Reference,animation:R(this,ne(e.animation),t),options:X(e.options)}}visitAnimateChild(e,t){return t.depCount++,{type:_.AnimateChild,options:X(e.options)}}visitAnimateRef(e,t){return{type:_.AnimateRef,animation:this.visitReference(e.animation,t),options:X(e.options)}}visitQuery(e,t){let s=t.currentQuerySelector,i=e.options||{};t.queryCount++,t.currentQuery=e;let[r,o]=js(e.selector);t.currentQuerySelector=s.length?s+" "+r:r,O(t.collectedStyles,t.currentQuerySelector,new Map);let a=R(this,ne(e.animation),t);return t.currentQuery=null,t.currentQuerySelector=s,{type:_.Query,selector:r,limit:i.limit||0,optional:!!i.optional,includeSelf:o,animation:a,originalSelector:e.selector,options:X(e.options)}}visitStagger(e,t){t.currentQuery||t.errors.push(hs());let s=e.timings==="full"?{duration:0,delay:0,easing:"full"}:Se(e.timings,t.errors,!0);return{type:_.Stagger,animation:R(this,ne(e.animation),t),timings:s,options:null}}};function js(n){let e=!!n.split(/\s*,\s*/).find(t=>t==$t);return e&&(n=n.replace(Us,"")),n=n.replace(/@\*/g,_e).replace(/@\w+/g,t=>_e+"-"+t.slice(1)).replace(/:animating/g,qe),[n,e]}function Ws(n){return n?ue({},n):null}var Ve=class{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 Gs(n){if(typeof n=="string")return null;let e=null;if(Array.isArray(n))n.forEach(t=>{if(t instanceof Map&&t.has("offset")){let s=t;e=parseFloat(s.get("offset")),s.delete("offset")}});else if(n instanceof Map&&n.has("offset")){let t=n;e=parseFloat(t.get("offset")),t.delete("offset")}return e}function Hs(n,e){if(n.hasOwnProperty("duration"))return n;if(typeof n=="number"){let r=Se(n,e).duration;return ke(r,0,"")}let t=n;if(t.split(/\s+/).some(r=>r.charAt(0)=="{"&&r.charAt(1)=="{")){let r=ke(0,0,"");return r.dynamic=!0,r.strValue=t,r}let i=Se(t,e);return ke(i.duration,i.delay,i.easing)}function X(n){return n?(n=ue({},n),n.params&&(n.params=Ws(n.params))):n={},n}function ke(n,e,t){return{duration:n,delay:e,easing:t}}function lt(n,e,t,s,i,r,o=null,a=!1){return{type:1,element:n,keyframes:e,preStyleProps:t,postStyleProps:s,duration:i,delay:r,totalTime:i+r,easing:o,subTimeline:a}}var se=class{constructor(){this._map=new Map}get(e){return this._map.get(e)||[]}append(e,t){let s=this._map.get(e);s||this._map.set(e,s=[]),s.push(...t)}has(e){return this._map.has(e)}clear(){this._map.clear()}},Ys=1,Xs=":enter",xs=new RegExp(Xs,"g"),Zs=":leave",Js=new RegExp(Zs,"g");function ht(n,e,t,s,i,r=new Map,o=new Map,a,l,h=[]){return new Ue().buildKeyframes(n,e,t,s,i,r,o,a,l,h)}var Ue=class{buildKeyframes(e,t,s,i,r,o,a,l,h,c=[]){h=h||new se;let u=new je(e,t,h,i,r,c,[]);u.options=l;let S=l.delay?$(l.delay):0;u.currentTimeline.delayNextStep(S),u.currentTimeline.setStyles([o],null,u.errors,l),R(this,s,u);let y=u.timelines.filter(d=>d.containsAnimation());if(y.length&&a.size){let d;for(let g=y.length-1;g>=0;g--){let T=y[g];if(T.element===t){d=T;break}}d&&!d.allowOnlyTimelineStyles()&&d.setStyles([a],null,u.errors,l)}return y.length?y.map(d=>d.buildKeyframes()):[lt(t,[],[],[],0,S,"",!1)]}visitTrigger(e,t){}visitState(e,t){}visitTransition(e,t){}visitAnimateChild(e,t){let s=t.subInstructions.get(t.element);if(s){let i=t.createSubContext(e.options),r=t.currentTimeline.currentTime,o=this._visitSubInstructions(s,i,i.options);r!=o&&t.transformIntoNewTimeline(o)}t.previousNode=e}visitAnimateRef(e,t){let s=t.createSubContext(e.options);s.transformIntoNewTimeline(),this._applyAnimationRefDelays([e.options,e.animation.options],t,s),this.visitReference(e.animation,s),t.transformIntoNewTimeline(s.currentTimeline.currentTime),t.previousNode=e}_applyAnimationRefDelays(e,t,s){for(let i of e){let r=i?.delay;if(r){let o=typeof r=="number"?r:$(oe(r,i?.params??{},t.errors));s.delayNextStep(o)}}}_visitSubInstructions(e,t,s){let r=t.currentTimeline.currentTime,o=s.duration!=null?$(s.duration):null,a=s.delay!=null?$(s.delay):null;return o!==0&&e.forEach(l=>{let h=t.appendInstructionToTimeline(l,o,a);r=Math.max(r,h.duration+h.delay)}),r}visitReference(e,t){t.updateOptions(e.options,!0),R(this,e.animation,t),t.previousNode=e}visitSequence(e,t){let s=t.subContextCount,i=t,r=e.options;if(r&&(r.params||r.delay)&&(i=t.createSubContext(r),i.transformIntoNewTimeline(),r.delay!=null)){i.previousNode.type==_.Style&&(i.currentTimeline.snapshotCurrentStyles(),i.previousNode=ve);let o=$(r.delay);i.delayNextStep(o)}e.steps.length&&(e.steps.forEach(o=>R(this,o,i)),i.currentTimeline.applyStylesToKeyframe(),i.subContextCount>s&&i.transformIntoNewTimeline()),t.previousNode=e}visitGroup(e,t){let s=[],i=t.currentTimeline.currentTime,r=e.options&&e.options.delay?$(e.options.delay):0;e.steps.forEach(o=>{let a=t.createSubContext(e.options);r&&a.delayNextStep(r),R(this,o,a),i=Math.max(i,a.currentTimeline.currentTime),s.push(a.currentTimeline)}),s.forEach(o=>t.currentTimeline.mergeTimelineCollectedStyles(o)),t.transformIntoNewTimeline(i),t.previousNode=e}_visitTiming(e,t){if(e.dynamic){let s=e.strValue,i=t.params?oe(s,t.params,t.errors):s;return Se(i,t.errors)}else return{duration:e.duration,delay:e.delay,easing:e.easing}}visitAnimate(e,t){let s=t.currentAnimateTimings=this._visitTiming(e.timings,t),i=t.currentTimeline;s.delay&&(t.incrementTime(s.delay),i.snapshotCurrentStyles());let r=e.style;r.type==_.Keyframes?this.visitKeyframes(r,t):(t.incrementTime(s.duration),this.visitStyle(r,t),i.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=e}visitStyle(e,t){let s=t.currentTimeline,i=t.currentAnimateTimings;!i&&s.hasCurrentStyleProperties()&&s.forwardFrame();let r=i&&i.easing||e.easing;e.isEmptyStep?s.applyEmptyStep(r):s.setStyles(e.styles,r,t.errors,t.options),t.previousNode=e}visitKeyframes(e,t){let s=t.currentAnimateTimings,i=t.currentTimeline.duration,r=s.duration,a=t.createSubContext().currentTimeline;a.easing=s.easing,e.styles.forEach(l=>{let h=l.offset||0;a.forwardTime(h*r),a.setStyles(l.styles,l.easing,t.errors,t.options),a.applyStylesToKeyframe()}),t.currentTimeline.mergeTimelineCollectedStyles(a),t.transformIntoNewTimeline(i+r),t.previousNode=e}visitQuery(e,t){let s=t.currentTimeline.currentTime,i=e.options||{},r=i.delay?$(i.delay):0;r&&(t.previousNode.type===_.Style||s==0&&t.currentTimeline.hasCurrentStyleProperties())&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=ve);let o=s,a=t.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!i.optional,t.errors);t.currentQueryTotal=a.length;let l=null;a.forEach((h,c)=>{t.currentQueryIndex=c;let u=t.createSubContext(e.options,h);r&&u.delayNextStep(r),h===t.element&&(l=u.currentTimeline),R(this,e.animation,u),u.currentTimeline.applyStylesToKeyframe();let S=u.currentTimeline.currentTime;o=Math.max(o,S)}),t.currentQueryIndex=0,t.currentQueryTotal=0,t.transformIntoNewTimeline(o),l&&(t.currentTimeline.mergeTimelineCollectedStyles(l),t.currentTimeline.snapshotCurrentStyles()),t.previousNode=e}visitStagger(e,t){let s=t.parentContext,i=t.currentTimeline,r=e.timings,o=Math.abs(r.duration),a=o*(t.currentQueryTotal-1),l=o*t.currentQueryIndex;switch(r.duration<0?"reverse":r.easing){case"reverse":l=a-l;break;case"full":l=s.currentStaggerTime;break}let c=t.currentTimeline;l&&c.delayNextStep(l);let u=c.currentTime;R(this,e.animation,t),t.previousNode=e,s.currentStaggerTime=i.currentTime-u+(i.startTime-s.currentTimeline.startTime)}},ve={},je=class n{constructor(e,t,s,i,r,o,a,l){this._driver=e,this.element=t,this.subInstructions=s,this._enterClassName=i,this._leaveClassName=r,this.errors=o,this.timelines=a,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=ve,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=l||new Te(this._driver,t,0),a.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(e,t){if(!e)return;let s=e,i=this.options;s.duration!=null&&(i.duration=$(s.duration)),s.delay!=null&&(i.delay=$(s.delay));let r=s.params;if(r){let o=i.params;o||(o=this.options.params={}),Object.keys(r).forEach(a=>{(!t||!o.hasOwnProperty(a))&&(o[a]=oe(r[a],o,this.errors))})}}_copyOptions(){let e={};if(this.options){let t=this.options.params;if(t){let s=e.params={};Object.keys(t).forEach(i=>{s[i]=t[i]})}}return e}createSubContext(e=null,t,s){let i=t||this.element,r=new n(this._driver,i,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(i,s||0));return r.previousNode=this.previousNode,r.currentAnimateTimings=this.currentAnimateTimings,r.options=this._copyOptions(),r.updateOptions(e),r.currentQueryIndex=this.currentQueryIndex,r.currentQueryTotal=this.currentQueryTotal,r.parentContext=this,this.subContextCount++,r}transformIntoNewTimeline(e){return this.previousNode=ve,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(e,t,s){let i={duration:t??e.duration,delay:this.currentTimeline.currentTime+(s??0)+e.delay,easing:""},r=new We(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,i,e.stretchStartingKeyframe);return this.timelines.push(r),i}incrementTime(e){this.currentTimeline.forwardTime(this.currentTimeline.duration+e)}delayNextStep(e){e>0&&this.currentTimeline.delayNextStep(e)}invokeQuery(e,t,s,i,r,o){let a=[];if(i&&a.push(this.element),e.length>0){e=e.replace(xs,"."+this._enterClassName),e=e.replace(Js,"."+this._leaveClassName);let l=s!=1,h=this._driver.query(this.element,e,l);s!==0&&(h=s<0?h.slice(h.length+s,h.length):h.slice(0,s)),a.push(...h)}return!r&&a.length==0&&o.push(us(t)),a}},Te=class n{constructor(e,t,s,i){this._driver=e,this.element=t,this.startTime=s,this._elementTimelineStylesLookup=i,this.duration=0,this.easing=null,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){let t=this._keyframes.size===1&&this._pendingStyles.size;this.duration||t?(this.forwardTime(this.currentTime+e),t&&this.snapshotCurrentStyles()):this.startTime+=e}fork(e,t){return this.applyStylesToKeyframe(),new n(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+=Ys,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,s]of this._globalTimelineStyles)this._backFill.set(t,s||B),this._currentKeyframe.set(t,B);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(e,t,s,i){t&&this._previousKeyframe.set("easing",t);let r=i&&i.params||{},o=ei(e,this._globalTimelineStyles);for(let[a,l]of o){let h=oe(l,r,s);this._pendingStyles.set(a,h),this._localTimelineStyles.has(a)||this._backFill.set(a,this._globalTimelineStyles.get(a)??B),this._updateStyle(a,h)}}applyStylesToKeyframe(){this._pendingStyles.size!=0&&(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(){let e=[];for(let t in this._currentKeyframe)e.push(t);return e}mergeTimelineCollectedStyles(e){e._styleSummary.forEach((t,s)=>{let i=this._styleSummary.get(s);(!i||t.time>i.time)&&this._updateStyle(s,t.value)})}buildKeyframes(){this.applyStylesToKeyframe();let e=new Set,t=new Set,s=this._keyframes.size===1&&this.duration===0,i=[];this._keyframes.forEach((a,l)=>{let h=new Map([...this._backFill,...a]);h.forEach((c,u)=>{c===ce?e.add(u):c===B&&t.add(u)}),s||h.set("offset",l/this.duration),i.push(h)});let r=[...e.values()],o=[...t.values()];if(s){let a=i[0],l=new Map(a);a.set("offset",0),l.set("offset",1),i=[a,l]}return lt(this.element,i,r,o,this.duration,this.startTime,this.easing,!1)}},We=class extends Te{constructor(e,t,s,i,r,o,a=!1){super(e,t,o.delay),this.keyframes=s,this.preStyleProps=i,this.postStyleProps=r,this._stretchStartingKeyframe=a,this.timings={duration:o.duration,delay:o.delay,easing:o.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let e=this.keyframes,{delay:t,duration:s,easing:i}=this.timings;if(this._stretchStartingKeyframe&&t){let r=[],o=s+t,a=t/o,l=new Map(e[0]);l.set("offset",0),r.push(l);let h=new Map(e[0]);h.set("offset",At(a)),r.push(h);let c=e.length-1;for(let u=1;u<=c;u++){let S=new Map(e[u]),y=S.get("offset"),d=t+y*s;S.set("offset",At(d/o)),r.push(S)}s=o,t=0,i="",e=r}return lt(this.element,e,this.preStyleProps,this.postStyleProps,s,t,i,!0)}};function At(n,e=3){let t=Math.pow(10,e-1);return Math.round(n*t)/t}function ei(n,e){let t=new Map,s;return n.forEach(i=>{if(i==="*"){s??=e.keys();for(let r of s)t.set(r,B)}else for(let[r,o]of i)t.set(r,o)}),t}function Nt(n,e,t,s,i,r,o,a,l,h,c,u,S){return{type:0,element:n,triggerName:e,isRemovalTransition:i,fromState:t,fromStyles:r,toState:s,toStyles:o,timelines:a,queriedElements:l,preStyleProps:h,postStyleProps:c,totalTime:u,errors:S}}var Fe={},we=class{constructor(e,t,s){this._triggerName=e,this.ast=t,this._stateStyles=s}match(e,t,s,i){return ti(this.ast.matchers,e,t,s,i)}buildStyles(e,t,s){let i=this._stateStyles.get("*");return e!==void 0&&(i=this._stateStyles.get(e?.toString())||i),i?i.buildStyles(t,s):new Map}build(e,t,s,i,r,o,a,l,h,c){let u=[],S=this.ast.options&&this.ast.options.params||Fe,y=a&&a.params||Fe,d=this.buildStyles(s,y,u),g=l&&l.params||Fe,T=this.buildStyles(i,g,u),b=new Set,P=new Map,M=new Map,N=i==="void",Z={params:Vt(g,S),delay:this.ast.options?.delay},q=c?[]:ht(e,t,this.ast.animation,r,o,d,T,Z,h,u),C=0;return q.forEach(k=>{C=Math.max(k.duration+k.delay,C)}),u.length?Nt(t,this._triggerName,s,i,N,d,T,[],[],P,M,C,u):(q.forEach(k=>{let W=k.element,J=O(P,W,new Set);k.preStyleProps.forEach(G=>J.add(G));let ct=O(M,W,new Set);k.postStyleProps.forEach(G=>ct.add(G)),W!==t&&b.add(W)}),Nt(t,this._triggerName,s,i,N,d,T,q,[...b.values()],P,M,C))}};function ti(n,e,t,s,i){return n.some(r=>r(e,t,s,i))}function Vt(n,e){let t=ue({},e);return Object.entries(n).forEach(([s,i])=>{i!=null&&(t[s]=i)}),t}var Ge=class{constructor(e,t,s){this.styles=e,this.defaultParams=t,this.normalizer=s}buildStyles(e,t){let s=new Map,i=Vt(e,this.defaultParams);return this.styles.styles.forEach(r=>{typeof r!="string"&&r.forEach((o,a)=>{o&&(o=oe(o,i,t));let l=this.normalizer.normalizePropertyName(a,t);o=this.normalizer.normalizeStyleValue(a,l,o,t),s.set(a,o)})}),s}};function si(n,e,t){return new He(n,e,t)}var He=class{constructor(e,t,s){this.name=e,this.ast=t,this._normalizer=s,this.transitionFactories=[],this.states=new Map,t.states.forEach(i=>{let r=i.options&&i.options.params||{};this.states.set(i.name,new Ge(i.style,r,s))}),Dt(this.states,"true","1"),Dt(this.states,"false","0"),t.transitions.forEach(i=>{this.transitionFactories.push(new we(e,i,this.states))}),this.fallbackTransition=ii(e,this.states,this._normalizer)}get containsQueries(){return this.ast.queryCount>0}matchTransition(e,t,s,i){return this.transitionFactories.find(o=>o.match(e,t,s,i))||null}matchStyles(e,t,s){return this.fallbackTransition.buildStyles(e,t,s)}};function ii(n,e,t){let s=[(o,a)=>!0],i={type:_.Sequence,steps:[],options:null},r={type:_.Transition,animation:i,matchers:s,options:null,queryCount:0,depCount:0};return new we(n,r,e)}function Dt(n,e,t){n.has(e)?n.has(t)||n.set(t,n.get(e)):n.has(t)&&n.set(e,n.get(t))}var ni=new se,Ye=class{constructor(e,t,s){this.bodyNode=e,this._driver=t,this._normalizer=s,this._animations=new Map,this._playersById=new Map,this.players=[]}register(e,t){let s=[],i=[],r=at(this._driver,t,s,i);if(s.length)throw ys(s);i.length&&void 0,this._animations.set(e,r)}_buildPlayer(e,t,s){let i=e.element,r=It(this._normalizer,e.keyframes,t,s);return this._driver.animate(i,r,e.duration,e.delay,e.easing,[],!0)}create(e,t,s={}){let i=[],r=this._animations.get(e),o,a=new Map;if(r?(o=ht(this._driver,t,r,nt,ye,new Map,new Map,s,ni,i),o.forEach(c=>{let u=O(a,c.element,new Map);c.postStyleProps.forEach(S=>u.set(S,null))})):(i.push(_s()),o=[]),i.length)throw Ss(i);a.forEach((c,u)=>{c.forEach((S,y)=>{c.set(y,this._driver.computeStyle(u,y,B))})});let l=o.map(c=>{let u=a.get(c.element);return this._buildPlayer(c,new Map,u)}),h=j(l);return this._playersById.set(e,h),h.onDestroy(()=>this.destroy(e)),this.players.push(h),h}destroy(e){let t=this._getPlayer(e);t.destroy(),this._playersById.delete(e);let s=this.players.indexOf(t);s>=0&&this.players.splice(s,1)}_getPlayer(e){let t=this._playersById.get(e);if(!t)throw Es(e);return t}listen(e,t,s,i){let r=st(t,"","","");return tt(this._getPlayer(e),s,r,i),()=>{}}command(e,t,s,i){if(s=="register"){this.register(e,i[0]);return}if(s=="create"){let o=i[0]||{};this.create(e,t,o);return}let r=this._getPlayer(e);switch(s){case"play":r.play();break;case"pause":r.pause();break;case"reset":r.reset();break;case"restart":r.restart();break;case"finish":r.finish();break;case"init":r.init();break;case"setPosition":r.setPosition(parseFloat(i[0]));break;case"destroy":this.destroy(e);break}}},Mt="ng-animate-queued",ri=".ng-animate-queued",Re="ng-animate-disabled",oi=".ng-animate-disabled",ai="ng-star-inserted",li=".ng-star-inserted",hi=[],Ut={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},ui={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},K="__ng_removed",ae=class{get params(){return this.options.params}constructor(e,t=""){this.namespaceId=t;let s=e&&e.hasOwnProperty("value"),i=s?e.value:e;if(this.value=fi(i),s){let r=e,{value:o}=r,a=pt(r,["value"]);this.options=a}else this.options={};this.options.params||(this.options.params={})}absorbOptions(e){let t=e.params;if(t){let s=this.options.params;Object.keys(t).forEach(i=>{s[i]==null&&(s[i]=t[i])})}}},re="void",Oe=new ae(re),Xe=class{constructor(e,t,s){this.id=e,this.hostElement=t,this._engine=s,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+e,I(t,this._hostClassName)}listen(e,t,s,i){if(!this._triggers.has(t))throw vs(s,t);if(s==null||s.length==0)throw Ts(t);if(!di(s))throw ws(s,t);let r=O(this._elementListeners,e,[]),o={name:t,phase:s,callback:i};r.push(o);let a=O(this._engine.statesByElement,e,new Map);return a.has(t)||(I(e,fe),I(e,fe+"-"+t),a.set(t,Oe)),()=>{this._engine.afterFlush(()=>{let l=r.indexOf(o);l>=0&&r.splice(l,1),this._triggers.has(t)||a.delete(t)})}}register(e,t){return this._triggers.has(e)?!1:(this._triggers.set(e,t),!0)}_getTrigger(e){let t=this._triggers.get(e);if(!t)throw bs(e);return t}trigger(e,t,s,i=!0){let r=this._getTrigger(t),o=new le(this.id,t,e),a=this._engine.statesByElement.get(e);a||(I(e,fe),I(e,fe+"-"+t),this._engine.statesByElement.set(e,a=new Map));let l=a.get(t),h=new ae(s,this.id);if(!(s&&s.hasOwnProperty("value"))&&l&&h.absorbOptions(l.options),a.set(t,h),l||(l=Oe),!(h.value===re)&&l.value===h.value){if(!gi(l.params,h.params)){let g=[],T=r.matchStyles(l.value,l.params,g),b=r.matchStyles(h.value,h.params,g);g.length?this._engine.reportError(g):this._engine.afterFlush(()=>{x(e,T),Q(e,b)})}return}let S=O(this._engine.playersByElement,e,[]);S.forEach(g=>{g.namespaceId==this.id&&g.triggerName==t&&g.queued&&g.destroy()});let y=r.matchTransition(l.value,h.value,e,h.params),d=!1;if(!y){if(!i)return;y=r.fallbackTransition,d=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:t,transition:y,fromState:l,toState:h,player:o,isFallbackTransition:d}),d||(I(e,Mt),o.onStart(()=>{ee(e,Mt)})),o.onDone(()=>{let g=this.players.indexOf(o);g>=0&&this.players.splice(g,1);let T=this._engine.playersByElement.get(e);if(T){let b=T.indexOf(o);b>=0&&T.splice(b,1)}}),this.players.push(o),S.push(o),o}deregister(e){this._triggers.delete(e),this._engine.statesByElement.forEach(t=>t.delete(e)),this._elementListeners.forEach((t,s)=>{this._elementListeners.set(s,t.filter(i=>i.name!=e))})}clearElementCache(e){this._engine.statesByElement.delete(e),this._elementListeners.delete(e);let t=this._engine.playersByElement.get(e);t&&(t.forEach(s=>s.destroy()),this._engine.playersByElement.delete(e))}_signalRemovalForInnerTriggers(e,t){let s=this._engine.driver.query(e,_e,!0);s.forEach(i=>{if(i[K])return;let r=this._engine.fetchNamespacesByElement(i);r.size?r.forEach(o=>o.triggerLeaveAnimation(i,t,!1,!0)):this.clearElementCache(i)}),this._engine.afterFlushAnimationsDone(()=>s.forEach(i=>this.clearElementCache(i)))}triggerLeaveAnimation(e,t,s,i){let r=this._engine.statesByElement.get(e),o=new Map;if(r){let a=[];if(r.forEach((l,h)=>{if(o.set(h,l.value),this._triggers.has(h)){let c=this.trigger(e,h,re,i);c&&a.push(c)}}),a.length)return this._engine.markElementAsRemoved(this.id,e,!0,t,o),s&&j(a).onDone(()=>this._engine.processLeaveNode(e)),!0}return!1}prepareLeaveAnimationListeners(e){let t=this._elementListeners.get(e),s=this._engine.statesByElement.get(e);if(t&&s){let i=new Set;t.forEach(r=>{let o=r.name;if(i.has(o))return;i.add(o);let l=this._triggers.get(o).fallbackTransition,h=s.get(o)||Oe,c=new ae(re),u=new le(this.id,o,e);this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:o,transition:l,fromState:h,toState:c,player:u,isFallbackTransition:!0})})}}removeNode(e,t){let s=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,t),this.triggerLeaveAnimation(e,t,!0))return;let i=!1;if(s.totalAnimations){let r=s.players.length?s.playersByQueriedElement.get(e):[];if(r&&r.length)i=!0;else{let o=e;for(;o=o.parentNode;)if(s.statesByElement.get(o)){i=!0;break}}}if(this.prepareLeaveAnimationListeners(e),i)s.markElementAsRemoved(this.id,e,!1,t);else{let r=e[K];(!r||r===Ut)&&(s.afterFlush(()=>this.clearElementCache(e)),s.destroyInnerAnimations(e),s._onRemovalComplete(e,t))}}insertNode(e,t){I(e,this._hostClassName)}drainQueuedTransitions(e){let t=[];return this._queue.forEach(s=>{let i=s.player;if(i.destroyed)return;let r=s.element,o=this._elementListeners.get(r);o&&o.forEach(a=>{if(a.name==s.triggerName){let l=st(r,s.triggerName,s.fromState.value,s.toState.value);l._data=e,tt(s.player,a.phase,l,a.callback)}}),i.markedForDestroy?this._engine.afterFlush(()=>{i.destroy()}):t.push(s)}),this._queue=[],t.sort((s,i)=>{let r=s.transition.ast.depCount,o=i.transition.ast.depCount;return r==0||o==0?r-o:this._engine.driver.containsElement(s.element,i.element)?1:-1})}destroy(e){this.players.forEach(t=>t.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,e)}},xe=class{_onRemovalComplete(e,t){this.onRemovalComplete(e,t)}constructor(e,t,s){this.bodyNode=e,this.driver=t,this._normalizer=s,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=(i,r)=>{}}get queuedPlayers(){let e=[];return this._namespaceList.forEach(t=>{t.players.forEach(s=>{s.queued&&e.push(s)})}),e}createNamespace(e,t){let s=new Xe(e,t,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,t)?this._balanceNamespaceList(s,t):(this.newHostElements.set(t,s),this.collectEnterElement(t)),this._namespaceLookup[e]=s}_balanceNamespaceList(e,t){let s=this._namespaceList,i=this.namespacesByHostElement;if(s.length-1>=0){let o=!1,a=this.driver.getParentElement(t);for(;a;){let l=i.get(a);if(l){let h=s.indexOf(l);s.splice(h+1,0,e),o=!0;break}a=this.driver.getParentElement(a)}o||s.unshift(e)}else s.push(e);return i.set(t,e),e}register(e,t){let s=this._namespaceLookup[e];return s||(s=this.createNamespace(e,t)),s}registerTrigger(e,t,s){let i=this._namespaceLookup[e];i&&i.register(t,s)&&this.totalAnimations++}destroy(e,t){e&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{let s=this._fetchNamespace(e);this.namespacesByHostElement.delete(s.hostElement);let i=this._namespaceList.indexOf(s);i>=0&&this._namespaceList.splice(i,1),s.destroy(t),delete this._namespaceLookup[e]}))}_fetchNamespace(e){return this._namespaceLookup[e]}fetchNamespacesByElement(e){let t=new Set,s=this.statesByElement.get(e);if(s){for(let i of s.values())if(i.namespaceId){let r=this._fetchNamespace(i.namespaceId);r&&t.add(r)}}return t}trigger(e,t,s,i){if(pe(t)){let r=this._fetchNamespace(e);if(r)return r.trigger(t,s,i),!0}return!1}insertNode(e,t,s,i){if(!pe(t))return;let r=t[K];if(r&&r.setForRemoval){r.setForRemoval=!1,r.setForMove=!0;let o=this.collectedLeaveElements.indexOf(t);o>=0&&this.collectedLeaveElements.splice(o,1)}if(e){let o=this._fetchNamespace(e);o&&o.insertNode(t,s)}i&&this.collectEnterElement(t)}collectEnterElement(e){this.collectedEnterElements.push(e)}markElementAsDisabled(e,t){t?this.disabledNodes.has(e)||(this.disabledNodes.add(e),I(e,Re)):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),ee(e,Re))}removeNode(e,t,s){if(pe(t)){let i=e?this._fetchNamespace(e):null;i?i.removeNode(t,s):this.markElementAsRemoved(e,t,!1,s);let r=this.namespacesByHostElement.get(t);r&&r.id!==e&&r.removeNode(t,s)}else this._onRemovalComplete(t,s)}markElementAsRemoved(e,t,s,i,r){this.collectedLeaveElements.push(t),t[K]={namespaceId:e,setForRemoval:i,hasAnimation:s,removedBeforeQueried:!1,previousTriggersValues:r}}listen(e,t,s,i,r){return pe(t)?this._fetchNamespace(e).listen(t,s,i,r):()=>{}}_buildInstruction(e,t,s,i,r){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,s,i,e.fromState.options,e.toState.options,t,r)}destroyInnerAnimations(e){let t=this.driver.query(e,_e,!0);t.forEach(s=>this.destroyActiveAnimationsForElement(s)),this.playersByQueriedElement.size!=0&&(t=this.driver.query(e,qe,!0),t.forEach(s=>this.finishActiveQueriedAnimationOnElement(s)))}destroyActiveAnimationsForElement(e){let t=this.playersByElement.get(e);t&&t.forEach(s=>{s.queued?s.markedForDestroy=!0:s.destroy()})}finishActiveQueriedAnimationOnElement(e){let t=this.playersByQueriedElement.get(e);t&&t.forEach(s=>s.finish())}whenRenderingDone(){return new Promise(e=>{if(this.players.length)return j(this.players).onDone(()=>e());e()})}processLeaveNode(e){let t=e[K];if(t&&t.setForRemoval){if(e[K]=Ut,t.namespaceId){this.destroyInnerAnimations(e);let s=this._fetchNamespace(t.namespaceId);s&&s.clearElementCache(e)}this._onRemovalComplete(e,t.setForRemoval)}e.classList?.contains(Re)&&this.markElementAsDisabled(e,!1),this.driver.query(e,oi,!0).forEach(s=>{this.markElementAsDisabled(s,!1)})}flush(e=-1){let t=[];if(this.newHostElements.size&&(this.newHostElements.forEach((s,i)=>this._balanceNamespaceList(s,i)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let s=0;ss()),this._flushFns=[],this._whenQuietFns.length){let s=this._whenQuietFns;this._whenQuietFns=[],t.length?j(t).onDone(()=>{s.forEach(i=>i())}):s.forEach(i=>i())}}reportError(e){throw Ps(e)}_flushAnimations(e,t){let s=new se,i=[],r=new Map,o=[],a=new Map,l=new Map,h=new Map,c=new Set;this.disabledNodes.forEach(f=>{c.add(f);let m=this.driver.query(f,ri,!0);for(let p=0;p{let p=nt+g++;d.set(m,p),f.forEach(v=>I(v,p))});let T=[],b=new Set,P=new Set;for(let f=0;fb.add(v)):P.add(m))}let M=new Map,N=Ft(S,Array.from(b));N.forEach((f,m)=>{let p=ye+g++;M.set(m,p),f.forEach(v=>I(v,p))}),e.push(()=>{y.forEach((f,m)=>{let p=d.get(m);f.forEach(v=>ee(v,p))}),N.forEach((f,m)=>{let p=M.get(m);f.forEach(v=>ee(v,p))}),T.forEach(f=>{this.processLeaveNode(f)})});let Z=[],q=[];for(let f=this._namespaceList.length-1;f>=0;f--)this._namespaceList[f].drainQueuedTransitions(t).forEach(p=>{let v=p.player,A=p.element;if(Z.push(v),this.collectedEnterElements.length){let D=A[K];if(D&&D.setForMove){if(D.previousTriggersValues&&D.previousTriggersValues.has(p.triggerName)){let H=D.previousTriggersValues.get(p.triggerName),L=this.statesByElement.get(p.element);if(L&&L.has(p.triggerName)){let he=L.get(p.triggerName);he.value=H,L.set(p.triggerName,he)}}v.destroy();return}}let z=!u||!this.driver.containsElement(u,A),F=M.get(A),V=d.get(A),w=this._buildInstruction(p,s,V,F,z);if(w.errors&&w.errors.length){q.push(w);return}if(z){v.onStart(()=>x(A,w.fromStyles)),v.onDestroy(()=>Q(A,w.toStyles)),i.push(v);return}if(p.isFallbackTransition){v.onStart(()=>x(A,w.fromStyles)),v.onDestroy(()=>Q(A,w.toStyles)),i.push(v);return}let mt=[];w.timelines.forEach(D=>{D.stretchStartingKeyframe=!0,this.disabledNodes.has(D.element)||mt.push(D)}),w.timelines=mt,s.append(A,w.timelines);let Gt={instruction:w,player:v,element:A};o.push(Gt),w.queriedElements.forEach(D=>O(a,D,[]).push(v)),w.preStyleProps.forEach((D,H)=>{if(D.size){let L=l.get(H);L||l.set(H,L=new Set),D.forEach((he,De)=>L.add(De))}}),w.postStyleProps.forEach((D,H)=>{let L=h.get(H);L||h.set(H,L=new Set),D.forEach((he,De)=>L.add(De))})});if(q.length){let f=[];q.forEach(m=>{f.push(As(m.triggerName,m.errors))}),Z.forEach(m=>m.destroy()),this.reportError(f)}let C=new Map,k=new Map;o.forEach(f=>{let m=f.element;s.has(m)&&(k.set(m,m),this._beforeAnimationBuild(f.player.namespaceId,f.instruction,C))}),i.forEach(f=>{let m=f.element;this._getPreviousPlayers(m,!1,f.namespaceId,f.triggerName,null).forEach(v=>{O(C,m,[]).push(v),v.destroy()})});let W=T.filter(f=>Rt(f,l,h)),J=new Map;kt(J,this.driver,P,h,B).forEach(f=>{Rt(f,l,h)&&W.push(f)});let G=new Map;y.forEach((f,m)=>{kt(G,this.driver,new Set(f),l,ce)}),W.forEach(f=>{let m=J.get(f),p=G.get(f);J.set(f,new Map([...m?.entries()??[],...p?.entries()??[]]))});let Ne=[],ft=[],dt={};o.forEach(f=>{let{element:m,player:p,instruction:v}=f;if(s.has(m)){if(c.has(m)){p.onDestroy(()=>Q(m,v.toStyles)),p.disabled=!0,p.overrideTotalTime(v.totalTime),i.push(p);return}let A=dt;if(k.size>1){let F=m,V=[];for(;F=F.parentNode;){let w=k.get(F);if(w){A=w;break}V.push(F)}V.forEach(w=>k.set(w,A))}let z=this._buildAnimation(p.namespaceId,v,C,r,G,J);if(p.setRealPlayer(z),A===dt)Ne.push(p);else{let F=this.playersByElement.get(A);F&&F.length&&(p.parentPlayer=j(F)),i.push(p)}}else x(m,v.fromStyles),p.onDestroy(()=>Q(m,v.toStyles)),ft.push(p),c.has(m)&&i.push(p)}),ft.forEach(f=>{let m=r.get(f.element);if(m&&m.length){let p=j(m);f.setRealPlayer(p)}}),i.forEach(f=>{f.parentPlayer?f.syncPlayerEvents(f.parentPlayer):f.destroy()});for(let f=0;f!z.destroyed);A.length?mi(this,m,A):this.processLeaveNode(m)}return T.length=0,Ne.forEach(f=>{this.players.push(f),f.onDone(()=>{f.destroy();let m=this.players.indexOf(f);this.players.splice(m,1)}),f.play()}),Ne}afterFlush(e){this._flushFns.push(e)}afterFlushAnimationsDone(e){this._whenQuietFns.push(e)}_getPreviousPlayers(e,t,s,i,r){let o=[];if(t){let a=this.playersByQueriedElement.get(e);a&&(o=a)}else{let a=this.playersByElement.get(e);if(a){let l=!r||r==re;a.forEach(h=>{h.queued||!l&&h.triggerName!=i||o.push(h)})}}return(s||i)&&(o=o.filter(a=>!(s&&s!=a.namespaceId||i&&i!=a.triggerName))),o}_beforeAnimationBuild(e,t,s){let i=t.triggerName,r=t.element,o=t.isRemovalTransition?void 0:e,a=t.isRemovalTransition?void 0:i;for(let l of t.timelines){let h=l.element,c=h!==r,u=O(s,h,[]);this._getPreviousPlayers(h,c,o,a,t.toState).forEach(y=>{let d=y.getRealPlayer();d.beforeDestroy&&d.beforeDestroy(),y.destroy(),u.push(y)})}x(r,t.fromStyles)}_buildAnimation(e,t,s,i,r,o){let a=t.triggerName,l=t.element,h=[],c=new Set,u=new Set,S=t.timelines.map(d=>{let g=d.element;c.add(g);let T=g[K];if(T&&T.removedBeforeQueried)return new U(d.duration,d.delay);let b=g!==l,P=pi((s.get(g)||hi).map(C=>C.getRealPlayer())).filter(C=>{let k=C;return k.element?k.element===g:!1}),M=r.get(g),N=o.get(g),Z=It(this._normalizer,d.keyframes,M,N),q=this._buildPlayer(d,Z,P);if(d.subTimeline&&i&&u.add(g),b){let C=new le(e,a,g);C.setRealPlayer(q),h.push(C)}return q});h.forEach(d=>{O(this.playersByQueriedElement,d.element,[]).push(d),d.onDone(()=>ci(this.playersByQueriedElement,d.element,d))}),c.forEach(d=>I(d,Tt));let y=j(S);return y.onDestroy(()=>{c.forEach(d=>ee(d,Tt)),Q(l,t.toStyles)}),u.forEach(d=>{O(i,d,[]).push(y)}),y}_buildPlayer(e,t,s){return t.length>0?this.driver.animate(e.element,t,e.duration,e.delay,e.easing,s):new U(e.duration,e.delay)}},le=class{constructor(e,t,s){this.namespaceId=e,this.triggerName=t,this.element=s,this._player=new U,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.parentPlayer=null,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(e){this._containsRealPlayer||(this._player=e,this._queuedCallbacks.forEach((t,s)=>{t.forEach(i=>tt(e,s,void 0,i))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(e.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(e){this.totalTime=e}syncPlayerEvents(e){let t=this._player;t.triggerCallback&&e.onStart(()=>t.triggerCallback("start")),e.onDone(()=>this.finish()),e.onDestroy(()=>this.destroy())}_queueEvent(e,t){O(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?!1: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){let t=this._player;t.triggerCallback&&t.triggerCallback(e)}};function ci(n,e,t){let s=n.get(e);if(s){if(s.length){let i=s.indexOf(t);s.splice(i,1)}s.length==0&&n.delete(e)}return s}function fi(n){return n??null}function pe(n){return n&&n.nodeType===1}function di(n){return n=="start"||n=="done"}function Ct(n,e){let t=n.style.display;return n.style.display=e??"none",t}function kt(n,e,t,s,i){let r=[];t.forEach(l=>r.push(Ct(l)));let o=[];s.forEach((l,h)=>{let c=new Map;l.forEach(u=>{let S=e.computeStyle(h,u,i);c.set(u,S),(!S||S.length==0)&&(h[K]=ui,o.push(h))}),n.set(h,c)});let a=0;return t.forEach(l=>Ct(l,r[a++])),o}function Ft(n,e){let t=new Map;if(n.forEach(a=>t.set(a,[])),e.length==0)return t;let s=1,i=new Set(e),r=new Map;function o(a){if(!a)return s;let l=r.get(a);if(l)return l;let h=a.parentNode;return t.has(h)?l=h:i.has(h)?l=s:l=o(h),r.set(a,l),l}return e.forEach(a=>{let l=o(a);l!==s&&t.get(l).push(a)}),t}function I(n,e){n.classList?.add(e)}function ee(n,e){n.classList?.remove(e)}function mi(n,e,t){j(t).onDone(()=>n.processLeaveNode(e))}function pi(n){let e=[];return jt(n,e),e}function jt(n,e){for(let t=0;ti.add(r)):e.set(n,s),t.delete(n),!0}var be=class{constructor(e,t,s){this._driver=t,this._normalizer=s,this._triggerCache={},this.onRemovalComplete=(i,r)=>{},this._transitionEngine=new xe(e.body,t,s),this._timelineEngine=new Ye(e.body,t,s),this._transitionEngine.onRemovalComplete=(i,r)=>this.onRemovalComplete(i,r)}registerTrigger(e,t,s,i,r){let o=e+"-"+i,a=this._triggerCache[o];if(!a){let l=[],h=[],c=at(this._driver,r,l,h);if(l.length)throw ps(i,l);h.length&&void 0,a=si(i,c,this._normalizer),this._triggerCache[o]=a}this._transitionEngine.registerTrigger(t,i,a)}register(e,t){this._transitionEngine.register(e,t)}destroy(e,t){this._transitionEngine.destroy(e,t)}onInsert(e,t,s,i){this._transitionEngine.insertNode(e,t,s,i)}onRemove(e,t,s){this._transitionEngine.removeNode(e,t,s)}disableAnimations(e,t){this._transitionEngine.markElementAsDisabled(e,t)}process(e,t,s,i){if(s.charAt(0)=="@"){let[r,o]=St(s),a=i;this._timelineEngine.command(r,t,o,a)}else this._transitionEngine.trigger(e,t,s,i)}listen(e,t,s,i,r){if(s.charAt(0)=="@"){let[o,a]=St(s);return this._timelineEngine.listen(o,t,a,r)}return this._transitionEngine.listen(e,t,s,i,r)}flush(e=-1){this._transitionEngine.flush(e)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(e){this._transitionEngine.afterFlushAnimationsDone(e)}};function yi(n,e){let t=null,s=null;return Array.isArray(e)&&e.length?(t=Le(e[0]),e.length>1&&(s=Le(e[e.length-1]))):e instanceof Map&&(t=Le(e)),t||s?new Ze(n,t,s):null}var te=class te{constructor(e,t,s){this._element=e,this._startStyles=t,this._endStyles=s,this._state=0;let i=te.initialStylesByElement.get(e);i||te.initialStylesByElement.set(e,i=new Map),this._initialStyles=i}start(){this._state<1&&(this._startStyles&&Q(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Q(this._element,this._initialStyles),this._endStyles&&(Q(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(te.initialStylesByElement.delete(this._element),this._startStyles&&(x(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(x(this._element,this._endStyles),this._endStyles=null),Q(this._element,this._initialStyles),this._state=3)}};te.initialStylesByElement=new WeakMap;var Ze=te;function Le(n){let e=null;return n.forEach((t,s)=>{_i(s)&&(e=e||new Map,e.set(s,t))}),e}function _i(n){return n==="display"||n==="position"}var Pe=class{constructor(e,t,s,i){this.element=e,this.keyframes=t,this.options=s,this._specialStyles=i,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=s.duration,this._delay=s.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;let e=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,e,this.options),this._finalKeyframe=e.length?e[e.length-1]:new Map;let t=()=>this._onFinish();this.domPlayer.addEventListener("finish",t),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",t)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(e){let t=[];return e.forEach(s=>{t.push(Object.fromEntries(s))}),t}_triggerWebAnimation(e,t,s){return e.animate(this._convertKeyframesToObject(t),s)}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){this.domPlayer===void 0&&this.init(),this.domPlayer.currentTime=e*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){let e=new Map;this.hasStarted()&&this._finalKeyframe.forEach((s,i)=>{i!=="offset"&&e.set(i,this._finished?s:ot(this.element,i))}),this.currentSnapshot=e}triggerCallback(e){let t=e==="start"?this._onStartFns:this._onDoneFns;t.forEach(s=>s()),t.length=0}},Je=class{validateStyleProperty(e){return!0}validateAnimatableStyleProperty(e){return!0}containsElement(e,t){return Kt(e,t)}getParentElement(e){return it(e)}query(e,t,s){return qt(e,t,s)}computeStyle(e,t,s){return ot(e,t)}animate(e,t,s,i,r,o=[]){let a=i==0?"both":"forwards",l={duration:s,delay:i,fill:a};r&&(l.easing=r);let h=new Map,c=o.filter(y=>y instanceof Pe);qs(s,i)&&c.forEach(y=>{y.currentSnapshot.forEach((d,g)=>h.set(g,d))});let u=Ls(t).map(y=>new Map(y));u=zs(e,u,h);let S=yi(e,u);return new Pe(e,u,l,S)}};function Di(n,e){return n==="noop"?new be(e,new zt,new Ke):new be(e,new Je,new Qe)}var Ot=class{constructor(e,t){this._driver=e;let s=[],i=[],r=at(e,t,s,i);if(s.length)throw ds(s);i.length&&void 0,this._animationAst=r}buildTimelines(e,t,s,i,r){let o=Array.isArray(t)?wt(t):t,a=Array.isArray(s)?wt(s):s,l=[];r=r||new se;let h=ht(this._driver,e,this._animationAst,nt,ye,o,a,i,r,l);if(l.length)throw ms(l);return h}},ge="@",Wt="@.disabled",Ae=class{constructor(e,t,s,i){this.namespaceId=e,this.delegate=t,this.engine=s,this._onDestroy=i,this.\u0275type=0}get data(){return this.delegate.data}destroyNode(e){this.delegate.destroyNode?.(e)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{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,s,i=!0){this.delegate.insertBefore(e,t,s),this.engine.onInsert(this.namespaceId,t,e,i)}removeChild(e,t,s){this.parentNode(t)&&this.engine.onRemove(this.namespaceId,t,this.delegate)}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,s,i){this.delegate.setAttribute(e,t,s,i)}removeAttribute(e,t,s){this.delegate.removeAttribute(e,t,s)}addClass(e,t){this.delegate.addClass(e,t)}removeClass(e,t){this.delegate.removeClass(e,t)}setStyle(e,t,s,i){this.delegate.setStyle(e,t,s,i)}removeStyle(e,t,s){this.delegate.removeStyle(e,t,s)}setProperty(e,t,s){t.charAt(0)==ge&&t==Wt?this.disableAnimations(e,!!s):this.delegate.setProperty(e,t,s)}setValue(e,t){this.delegate.setValue(e,t)}listen(e,t,s){return this.delegate.listen(e,t,s)}disableAnimations(e,t){this.engine.disableAnimations(e,t)}},et=class extends Ae{constructor(e,t,s,i,r){super(t,s,i,r),this.factory=e,this.namespaceId=t}setProperty(e,t,s){t.charAt(0)==ge?t.charAt(1)=="."&&t==Wt?(s=s===void 0?!0:!!s,this.disableAnimations(e,s)):this.engine.process(this.namespaceId,e,t.slice(1),s):this.delegate.setProperty(e,t,s)}listen(e,t,s){if(t.charAt(0)==ge){let i=Si(e),r=t.slice(1),o="";return r.charAt(0)!=ge&&([r,o]=Ei(r)),this.engine.listen(this.namespaceId,i,r,o,a=>{let l=a._data||-1;this.factory.scheduleListenerCallback(l,s,a)})}return this.delegate.listen(e,t,s)}};function Si(n){switch(n){case"body":return document.body;case"document":return document;case"window":return window;default:return n}}function Ei(n){let e=n.indexOf("."),t=n.substring(0,e),s=n.slice(e+1);return[t,s]}var Lt=class{constructor(e,t,s){this.delegate=e,this.engine=t,this._zone=s,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,t.onRemovalComplete=(i,r)=>{r?.removeChild(null,i)}}createRenderer(e,t){let s="",i=this.delegate.createRenderer(e,t);if(!e||!t?.data?.animation){let h=this._rendererCache,c=h.get(i);if(!c){let u=()=>h.delete(i);c=new Ae(s,i,this.engine,u),h.set(i,c)}return c}let r=t.id,o=t.id+"-"+this._currentId;this._currentId++,this.engine.register(o,e);let a=h=>{Array.isArray(h)?h.forEach(a):this.engine.registerTrigger(r,o,e,h.name,h)};return t.data.animation.forEach(a),new et(this,o,i,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(e,t,s){if(e>=0&&et(s));return}let i=this._animationCallbacksBuffer;i.length==0&&queueMicrotask(()=>{this._zone.run(()=>{i.forEach(r=>{let[o,a]=r;o(a)}),this._animationCallbacksBuffer=[]})}),i.push([t,s])}end(){this._cdRecurDepth--,this._cdRecurDepth==0&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}};export{vt as AnimationDriver,zt as NoopAnimationDriver,Ot as \u0275Animation,be as \u0275AnimationEngine,et as \u0275AnimationRenderer,Lt as \u0275AnimationRendererFactory,Ie as \u0275AnimationStyleNormalizer,Ae as \u0275BaseAnimationRenderer,Ke as \u0275NoopAnimationStyleNormalizer,Je as \u0275WebAnimationsDriver,Pe as \u0275WebAnimationsPlayer,Qe as \u0275WebAnimationsStyleNormalizer,qs as \u0275allowPreviousPlayerStylesMerge,Ni as \u0275camelCaseToDashCase,Kt as \u0275containsElement,Di as \u0275createEngine,it as \u0275getParentElement,qt as \u0275invokeQuery,Ls as \u0275normalizeKeyframes,Cs as \u0275validateStyleProperty,Ai as \u0275validateWebAnimatableStyleProperty};
diff --git a/favicon.ico b/favicon.ico
old mode 100644
new mode 100755
diff --git a/index.html b/index.html
index 093d32b..20d6462 100644
--- a/index.html
+++ b/index.html
@@ -1 +1,16 @@
-Daily Random SchedulerLoading...
\ No newline at end of file
+
+
+
+
+ Daily Random Scheduler
+
+
+
+
+
+
+
+
+ Loading...
+
+
diff --git a/main-7CSZV6TU.js b/main-7CSZV6TU.js
new file mode 100644
index 0000000..7744832
--- /dev/null
+++ b/main-7CSZV6TU.js
@@ -0,0 +1,6 @@
+import{$ as g,$a as Mt,$b as an,A as Wt,Aa as xe,Ab as va,B as qt,Ba as Ee,Bb as ni,C as tr,Ca as ea,Cb as ya,D as er,Da as na,Db as ii,E as wt,Ea as ia,Eb as ri,F as Go,Fa as ra,Fb as cr,G as Ho,Ga as oa,Gb as oi,H as re,Ha as aa,Hb as lr,I as Kt,Ia as sa,Ib as _a,J as nr,Ja as st,Jb as dr,K as Wo,Ka as ca,Kb as ai,L as qo,La as nn,Lb as Se,M as Ko,Ma as A,Mb as wa,N as qn,Na as v,Nb as Ca,O as Kn,Oa as De,Ob as Ia,P as ft,Pa as la,Pb as J,Q as Ce,Qa as Qn,Qb as si,R as U,Ra as rn,Rb as ue,S as j,Sa as da,Sb as xa,T as Yt,Ta as or,Tb as he,U as Xe,Ua as ua,Ub as Ea,V as y,Va as Jn,Vb as Da,W as N,Wa as Ft,Wb as O,X as Yo,Xa as Zt,Xb as Aa,Y as E,Ya as ha,Yb as on,Z as ir,Za as ar,Zb as Ma,_ as f,_a as gt,_b as Sa,a as p,aa as Yn,ab as X,ac as Ta,b as F,ba as rr,bb as ma,bc as ci,ca as Qe,cb as ct,cc as Te,d as Et,da as B,db as Ae,dc as Ra,e as Bo,ea as P,eb as pa,ec as li,f as Ze,fa as L,fb as fa,fc as Oa,g as zo,ga as Zn,gb as C,gc as ka,h as Ki,ha as Zo,hb as w,hc as ur,i as Yi,ia as Xo,ib as Q,ic as Fa,j as Zi,ja as Ie,jb as q,jc as Na,k as Z,ka as At,kb as Nt,l as it,la as oe,lb as St,m as Ht,ma as ae,mb as lt,n as Y,na as Xn,nb as sr,o as b,oa as Je,ob as ti,p as ie,pa as Qo,pb as ei,q as Xi,qa as Ct,qb as S,r as $o,ra as V,rb as de,s as _,sa as se,sb as Me,t as we,ta as W,tb as Pt,u as at,ua as Jo,ub as jt,v as Qi,va as tn,vb as Lt,w as Hn,wa as ta,wb as dt,x as Ji,xa as ce,xb as z,y as Wn,ya as le,yb as ga,z as Dt,za as en,zb as ba}from"./chunk-QWKE5DGY.js";var Kc=Et((qc,Fo)=>{(function(i,t,r){function e(s){var c=this,l=a();c.next=function(){var d=2091639*c.s0+c.c*23283064365386963e-26;return c.s0=c.s1,c.s1=c.s2,c.s2=d-(c.c=d|0)},c.c=1,c.s0=l(" "),c.s1=l(" "),c.s2=l(" "),c.s0-=l(s),c.s0<0&&(c.s0+=1),c.s1-=l(s),c.s1<0&&(c.s1+=1),c.s2-=l(s),c.s2<0&&(c.s2+=1),l=null}function n(s,c){return c.c=s.c,c.s0=s.s0,c.s1=s.s1,c.s2=s.s2,c}function o(s,c){var l=new e(s),d=c&&c.state,u=l.next;return u.int32=function(){return l.next()*4294967296|0},u.double=function(){return u()+(u()*2097152|0)*11102230246251565e-32},u.quick=u,d&&(typeof d=="object"&&n(d,l),u.state=function(){return n(l,{})}),u}function a(){var s=4022871197,c=function(l){l=String(l);for(var d=0;d>>0,u-=s,u*=s,s=u>>>0,u-=s,s+=u*4294967296}return(s>>>0)*23283064365386963e-26};return c}t&&t.exports?t.exports=o:r&&r.amd?r(function(){return o}):this.alea=o})(qc,typeof Fo=="object"&&Fo,typeof define=="function"&&define)});var Zc=Et((Yc,No)=>{(function(i,t,r){function e(a){var s=this,c="";s.x=0,s.y=0,s.z=0,s.w=0,s.next=function(){var d=s.x^s.x<<11;return s.x=s.y,s.y=s.z,s.z=s.w,s.w^=s.w>>>19^d^d>>>8},a===(a|0)?s.x=a:c+=a;for(var l=0;l>>0)/4294967296};return d.double=function(){do var u=c.next()>>>11,h=(c.next()>>>0)/4294967296,m=(u+h)/(1<<21);while(m===0);return m},d.int32=c.next,d.quick=d,l&&(typeof l=="object"&&n(l,c),d.state=function(){return n(c,{})}),d}t&&t.exports?t.exports=o:r&&r.amd?r(function(){return o}):this.xor128=o})(Yc,typeof No=="object"&&No,typeof define=="function"&&define)});var Qc=Et((Xc,Po)=>{(function(i,t,r){function e(a){var s=this,c="";s.next=function(){var d=s.x^s.x>>>2;return s.x=s.y,s.y=s.z,s.z=s.w,s.w=s.v,(s.d=s.d+362437|0)+(s.v=s.v^s.v<<4^(d^d<<1))|0},s.x=0,s.y=0,s.z=0,s.w=0,s.v=0,a===(a|0)?s.x=a:c+=a;for(var l=0;l>>4),s.next()}function n(a,s){return s.x=a.x,s.y=a.y,s.z=a.z,s.w=a.w,s.v=a.v,s.d=a.d,s}function o(a,s){var c=new e(a),l=s&&s.state,d=function(){return(c.next()>>>0)/4294967296};return d.double=function(){do var u=c.next()>>>11,h=(c.next()>>>0)/4294967296,m=(u+h)/(1<<21);while(m===0);return m},d.int32=c.next,d.quick=d,l&&(typeof l=="object"&&n(l,c),d.state=function(){return n(c,{})}),d}t&&t.exports?t.exports=o:r&&r.amd?r(function(){return o}):this.xorwow=o})(Xc,typeof Po=="object"&&Po,typeof define=="function"&&define)});var tl=Et((Jc,jo)=>{(function(i,t,r){function e(a){var s=this;s.next=function(){var l=s.x,d=s.i,u,h,m;return u=l[d],u^=u>>>7,h=u^u<<24,u=l[d+1&7],h^=u^u>>>10,u=l[d+3&7],h^=u^u>>>3,u=l[d+4&7],h^=u^u<<7,u=l[d+7&7],u=u^u<<13,h^=u^u<<9,l[d]=h,s.i=d+1&7,h};function c(l,d){var u,h,m=[];if(d===(d|0))h=m[0]=d;else for(d=""+d,u=0;u0;--u)l.next()}c(s,a)}function n(a,s){return s.x=a.x.slice(),s.i=a.i,s}function o(a,s){a==null&&(a=+new Date);var c=new e(a),l=s&&s.state,d=function(){return(c.next()>>>0)/4294967296};return d.double=function(){do var u=c.next()>>>11,h=(c.next()>>>0)/4294967296,m=(u+h)/(1<<21);while(m===0);return m},d.int32=c.next,d.quick=d,l&&(l.x&&n(l,c),d.state=function(){return n(c,{})}),d}t&&t.exports?t.exports=o:r&&r.amd?r(function(){return o}):this.xorshift7=o})(Jc,typeof jo=="object"&&jo,typeof define=="function"&&define)});var nl=Et((el,Lo)=>{(function(i,t,r){function e(a){var s=this;s.next=function(){var l=s.w,d=s.X,u=s.i,h,m;return s.w=l=l+1640531527|0,m=d[u+34&127],h=d[u=u+1&127],m^=m<<13,h^=h<<17,m^=m>>>15,h^=h>>>12,m=d[u]=m^h,s.i=u,m+(l^l>>>16)|0};function c(l,d){var u,h,m,D,T,R=[],et=128;for(d===(d|0)?(h=d,d=null):(d=d+"\0",h=0,et=Math.max(et,d.length)),m=0,D=-32;D>>15,h^=h<<4,h^=h>>>13,D>=0&&(T=T+1640531527|0,u=R[D&127]^=h+T,m=u==0?m+1:0);for(m>=128&&(R[(d&&d.length||0)&127]=-1),m=127,D=4*128;D>0;--D)h=R[m+34&127],u=R[m=m+1&127],h^=h<<13,u^=u<<17,h^=h>>>15,u^=u>>>12,R[m]=h^u;l.w=T,l.X=R,l.i=m}c(s,a)}function n(a,s){return s.i=a.i,s.w=a.w,s.X=a.X.slice(),s}function o(a,s){a==null&&(a=+new Date);var c=new e(a),l=s&&s.state,d=function(){return(c.next()>>>0)/4294967296};return d.double=function(){do var u=c.next()>>>11,h=(c.next()>>>0)/4294967296,m=(u+h)/(1<<21);while(m===0);return m},d.int32=c.next,d.quick=d,l&&(l.X&&n(l,c),d.state=function(){return n(c,{})}),d}t&&t.exports?t.exports=o:r&&r.amd?r(function(){return o}):this.xor4096=o})(el,typeof Lo=="object"&&Lo,typeof define=="function"&&define)});var rl=Et((il,Vo)=>{(function(i,t,r){function e(a){var s=this,c="";s.next=function(){var d=s.b,u=s.c,h=s.d,m=s.a;return d=d<<25^d>>>7^u,u=u-h|0,h=h<<24^h>>>8^m,m=m-d|0,s.b=d=d<<20^d>>>12^u,s.c=u=u-h|0,s.d=h<<16^u>>>16^m,s.a=m-d|0},s.a=0,s.b=0,s.c=-1640531527,s.d=1367130551,a===Math.floor(a)?(s.a=a/4294967296|0,s.b=a|0):c+=a;for(var l=0;l>>0)/4294967296};return d.double=function(){do var u=c.next()>>>11,h=(c.next()>>>0)/4294967296,m=(u+h)/(1<<21);while(m===0);return m},d.int32=c.next,d.quick=d,l&&(typeof l=="object"&&n(l,c),d.state=function(){return n(c,{})}),d}t&&t.exports?t.exports=o:r&&r.amd?r(function(){return o}):this.tychei=o})(il,typeof Vo=="object"&&Vo,typeof define=="function"&&define)});var ol=Et(()=>{});var sl=Et((al,Gi)=>{(function(i,t,r){var e=256,n=6,o=52,a="random",s=r.pow(e,n),c=r.pow(2,o),l=c*2,d=e-1,u;function h(x,k,nt){var H=[];k=k==!0?{entropy:!0}:k||{};var G=R(T(k.entropy?[x,ot(t)]:x??et(),3),H),mt=new m(H),_t=function(){for(var pt=mt.g(n),kt=s,xt=0;pt=l;)pt/=2,kt/=2,xt>>>=1;return(pt+xt)/kt};return _t.int32=function(){return mt.g(4)|0},_t.quick=function(){return mt.g(4)/4294967296},_t.double=_t,R(ot(mt.S),t),(k.pass||nt||function(pt,kt,xt,Gt){return Gt&&(Gt.S&&D(Gt,mt),pt.state=function(){return D(mt,{})}),xt?(r[a]=pt,kt):pt})(_t,G,"global"in k?k.global:this==r,k.state)}function m(x){var k,nt=x.length,H=this,G=0,mt=H.i=H.j=0,_t=H.S=[];for(nt||(x=[nt++]);G{var gm=Kc(),bm=Zc(),vm=Qc(),ym=tl(),_m=nl(),wm=rl(),_e=sl();_e.alea=gm;_e.xor128=bm;_e.xorwow=vm;_e.xorshift7=ym;_e.xor4096=_m;_e.tychei=wm;cl.exports=_e});var ul=Et(Hi=>{"use strict";Object.defineProperty(Hi,"__esModule",{value:!0});Hi.Md5=void 0;var dl=function(){function i(){this._dataLength=0,this._bufferLength=0,this._state=new Int32Array(4),this._buffer=new ArrayBuffer(68),this._buffer8=new Uint8Array(this._buffer,0,68),this._buffer32=new Uint32Array(this._buffer,0,17),this.start()}return i.hashStr=function(t,r){return r===void 0&&(r=!1),this.onePassHasher.start().appendStr(t).end(r)},i.hashAsciiStr=function(t,r){return r===void 0&&(r=!1),this.onePassHasher.start().appendAsciiStr(t).end(r)},i._hex=function(t){var r=i.hexChars,e=i.hexOut,n,o,a,s;for(s=0;s<4;s+=1)for(o=s*8,n=t[s],a=0;a<8;a+=2)e[o+1+a]=r.charAt(n&15),n>>>=4,e[o+0+a]=r.charAt(n&15),n>>>=4;return e.join("")},i._md5cycle=function(t,r){var e=t[0],n=t[1],o=t[2],a=t[3];e+=(n&o|~n&a)+r[0]-680876936|0,e=(e<<7|e>>>25)+n|0,a+=(e&n|~e&o)+r[1]-389564586|0,a=(a<<12|a>>>20)+e|0,o+=(a&e|~a&n)+r[2]+606105819|0,o=(o<<17|o>>>15)+a|0,n+=(o&a|~o&e)+r[3]-1044525330|0,n=(n<<22|n>>>10)+o|0,e+=(n&o|~n&a)+r[4]-176418897|0,e=(e<<7|e>>>25)+n|0,a+=(e&n|~e&o)+r[5]+1200080426|0,a=(a<<12|a>>>20)+e|0,o+=(a&e|~a&n)+r[6]-1473231341|0,o=(o<<17|o>>>15)+a|0,n+=(o&a|~o&e)+r[7]-45705983|0,n=(n<<22|n>>>10)+o|0,e+=(n&o|~n&a)+r[8]+1770035416|0,e=(e<<7|e>>>25)+n|0,a+=(e&n|~e&o)+r[9]-1958414417|0,a=(a<<12|a>>>20)+e|0,o+=(a&e|~a&n)+r[10]-42063|0,o=(o<<17|o>>>15)+a|0,n+=(o&a|~o&e)+r[11]-1990404162|0,n=(n<<22|n>>>10)+o|0,e+=(n&o|~n&a)+r[12]+1804603682|0,e=(e<<7|e>>>25)+n|0,a+=(e&n|~e&o)+r[13]-40341101|0,a=(a<<12|a>>>20)+e|0,o+=(a&e|~a&n)+r[14]-1502002290|0,o=(o<<17|o>>>15)+a|0,n+=(o&a|~o&e)+r[15]+1236535329|0,n=(n<<22|n>>>10)+o|0,e+=(n&a|o&~a)+r[1]-165796510|0,e=(e<<5|e>>>27)+n|0,a+=(e&o|n&~o)+r[6]-1069501632|0,a=(a<<9|a>>>23)+e|0,o+=(a&n|e&~n)+r[11]+643717713|0,o=(o<<14|o>>>18)+a|0,n+=(o&e|a&~e)+r[0]-373897302|0,n=(n<<20|n>>>12)+o|0,e+=(n&a|o&~a)+r[5]-701558691|0,e=(e<<5|e>>>27)+n|0,a+=(e&o|n&~o)+r[10]+38016083|0,a=(a<<9|a>>>23)+e|0,o+=(a&n|e&~n)+r[15]-660478335|0,o=(o<<14|o>>>18)+a|0,n+=(o&e|a&~e)+r[4]-405537848|0,n=(n<<20|n>>>12)+o|0,e+=(n&a|o&~a)+r[9]+568446438|0,e=(e<<5|e>>>27)+n|0,a+=(e&o|n&~o)+r[14]-1019803690|0,a=(a<<9|a>>>23)+e|0,o+=(a&n|e&~n)+r[3]-187363961|0,o=(o<<14|o>>>18)+a|0,n+=(o&e|a&~e)+r[8]+1163531501|0,n=(n<<20|n>>>12)+o|0,e+=(n&a|o&~a)+r[13]-1444681467|0,e=(e<<5|e>>>27)+n|0,a+=(e&o|n&~o)+r[2]-51403784|0,a=(a<<9|a>>>23)+e|0,o+=(a&n|e&~n)+r[7]+1735328473|0,o=(o<<14|o>>>18)+a|0,n+=(o&e|a&~e)+r[12]-1926607734|0,n=(n<<20|n>>>12)+o|0,e+=(n^o^a)+r[5]-378558|0,e=(e<<4|e>>>28)+n|0,a+=(e^n^o)+r[8]-2022574463|0,a=(a<<11|a>>>21)+e|0,o+=(a^e^n)+r[11]+1839030562|0,o=(o<<16|o>>>16)+a|0,n+=(o^a^e)+r[14]-35309556|0,n=(n<<23|n>>>9)+o|0,e+=(n^o^a)+r[1]-1530992060|0,e=(e<<4|e>>>28)+n|0,a+=(e^n^o)+r[4]+1272893353|0,a=(a<<11|a>>>21)+e|0,o+=(a^e^n)+r[7]-155497632|0,o=(o<<16|o>>>16)+a|0,n+=(o^a^e)+r[10]-1094730640|0,n=(n<<23|n>>>9)+o|0,e+=(n^o^a)+r[13]+681279174|0,e=(e<<4|e>>>28)+n|0,a+=(e^n^o)+r[0]-358537222|0,a=(a<<11|a>>>21)+e|0,o+=(a^e^n)+r[3]-722521979|0,o=(o<<16|o>>>16)+a|0,n+=(o^a^e)+r[6]+76029189|0,n=(n<<23|n>>>9)+o|0,e+=(n^o^a)+r[9]-640364487|0,e=(e<<4|e>>>28)+n|0,a+=(e^n^o)+r[12]-421815835|0,a=(a<<11|a>>>21)+e|0,o+=(a^e^n)+r[15]+530742520|0,o=(o<<16|o>>>16)+a|0,n+=(o^a^e)+r[2]-995338651|0,n=(n<<23|n>>>9)+o|0,e+=(o^(n|~a))+r[0]-198630844|0,e=(e<<6|e>>>26)+n|0,a+=(n^(e|~o))+r[7]+1126891415|0,a=(a<<10|a>>>22)+e|0,o+=(e^(a|~n))+r[14]-1416354905|0,o=(o<<15|o>>>17)+a|0,n+=(a^(o|~e))+r[5]-57434055|0,n=(n<<21|n>>>11)+o|0,e+=(o^(n|~a))+r[12]+1700485571|0,e=(e<<6|e>>>26)+n|0,a+=(n^(e|~o))+r[3]-1894986606|0,a=(a<<10|a>>>22)+e|0,o+=(e^(a|~n))+r[10]-1051523|0,o=(o<<15|o>>>17)+a|0,n+=(a^(o|~e))+r[1]-2054922799|0,n=(n<<21|n>>>11)+o|0,e+=(o^(n|~a))+r[8]+1873313359|0,e=(e<<6|e>>>26)+n|0,a+=(n^(e|~o))+r[15]-30611744|0,a=(a<<10|a>>>22)+e|0,o+=(e^(a|~n))+r[6]-1560198380|0,o=(o<<15|o>>>17)+a|0,n+=(a^(o|~e))+r[13]+1309151649|0,n=(n<<21|n>>>11)+o|0,e+=(o^(n|~a))+r[4]-145523070|0,e=(e<<6|e>>>26)+n|0,a+=(n^(e|~o))+r[11]-1120210379|0,a=(a<<10|a>>>22)+e|0,o+=(e^(a|~n))+r[2]+718787259|0,o=(o<<15|o>>>17)+a|0,n+=(a^(o|~e))+r[9]-343485551|0,n=(n<<21|n>>>11)+o|0,t[0]=e+t[0]|0,t[1]=n+t[1]|0,t[2]=o+t[2]|0,t[3]=a+t[3]|0},i.prototype.start=function(){return this._dataLength=0,this._bufferLength=0,this._state.set(i.stateIdentity),this},i.prototype.appendStr=function(t){var r=this._buffer8,e=this._buffer32,n=this._bufferLength,o,a;for(a=0;a>>6)+192,r[n++]=o&63|128;else if(o<55296||o>56319)r[n++]=(o>>>12)+224,r[n++]=o>>>6&63|128,r[n++]=o&63|128;else{if(o=(o-55296)*1024+(t.charCodeAt(++a)-56320)+65536,o>1114111)throw new Error("Unicode standard supports code points up to U+10FFFF");r[n++]=(o>>>18)+240,r[n++]=o>>>12&63|128,r[n++]=o>>>6&63|128,r[n++]=o&63|128}n>=64&&(this._dataLength+=64,i._md5cycle(this._state,e),n-=64,e[0]=e[16])}return this._bufferLength=n,this},i.prototype.appendAsciiStr=function(t){for(var r=this._buffer8,e=this._buffer32,n=this._bufferLength,o,a=0;;){for(o=Math.min(t.length-a,64-n);o--;)r[n++]=t.charCodeAt(a++);if(n<64)break;this._dataLength+=64,i._md5cycle(this._state,e),n=0}return this._bufferLength=n,this},i.prototype.appendByteArray=function(t){for(var r=this._buffer8,e=this._buffer32,n=this._bufferLength,o,a=0;;){for(o=Math.min(t.length-a,64-n);o--;)r[n++]=t[a++];if(n<64)break;this._dataLength+=64,i._md5cycle(this._state,e),n=0}return this._bufferLength=n,this},i.prototype.getState=function(){var t=this._state;return{buffer:String.fromCharCode.apply(null,Array.from(this._buffer8)),buflen:this._bufferLength,length:this._dataLength,state:[t[0],t[1],t[2],t[3]]}},i.prototype.setState=function(t){var r=t.buffer,e=t.state,n=this._state,o;for(this._dataLength=t.length,this._bufferLength=t.buflen,n[0]=e[0],n[1]=e[1],n[2]=e[2],n[3]=e[3],o=0;o>2)+1;this._dataLength+=r;var a=this._dataLength*8;if(e[r]=128,e[r+1]=e[r+2]=e[r+3]=0,n.set(i.buffer32Identity.subarray(o),o),r>55&&(i._md5cycle(this._state,n),n.set(i.buffer32Identity)),a<=4294967295)n[14]=a;else{var s=a.toString(16).match(/(.*?)(.{0,8})$/);if(s===null)return;var c=parseInt(s[2],16),l=parseInt(s[1],16)||0;n[14]=c,n[15]=l}return i._md5cycle(this._state,n),t?this._state:i._hex(this._state)},i.stateIdentity=new Int32Array([1732584193,-271733879,-1732584194,271733878]),i.buffer32Identity=new Int32Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]),i.hexChars="0123456789abcdef",i.hexOut=[],i.onePassHasher=new i,i}();Hi.Md5=dl;if(dl.hashStr("hello")!=="5d41402abc4b2a76b9719d911017c592")throw new Error("Md5 self test failed.")});var Ha=(()=>{let t=class t{constructor(e,n){this._renderer=e,this._elementRef=n,this.onChange=o=>{},this.onTouched=()=>{}}setProperty(e,n){this._renderer.setProperty(this._elementRef.nativeElement,e,n)}registerOnTouched(e){this.onTouched=e}registerOnChange(e){this.onChange=e}setDisabledState(e){this.setProperty("disabled",e)}};t.\u0275fac=function(n){return new(n||t)(v(rn),v(W))},t.\u0275dir=L({type:t});let i=t;return i})(),Wa=(()=>{let t=class t extends Ha{};t.\u0275fac=(()=>{let e;return function(o){return(e||(e=ae(t)))(o||t)}})(),t.\u0275dir=L({type:t,features:[Ft]});let i=t;return i})(),br=new E("");var Il={provide:br,useExisting:Xe(()=>Xt),multi:!0};function xl(){let i=he()?he().getUserAgent():"";return/android (\d+)/.test(i.toLowerCase())}var El=new E(""),Xt=(()=>{let t=class t extends Ha{constructor(e,n,o){super(e,n),this._compositionMode=o,this._composing=!1,this._compositionMode==null&&(this._compositionMode=!xl())}writeValue(e){let n=e??"";this.setProperty("value",n)}_handleInput(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(e)}_compositionStart(){this._composing=!0}_compositionEnd(e){this._composing=!1,this._compositionMode&&this.onChange(e)}};t.\u0275fac=function(n){return new(n||t)(v(rn),v(W),v(El,8))},t.\u0275dir=L({type:t,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(n,o){n&1&&q("input",function(s){return o._handleInput(s.target.value)})("blur",function(){return o.onTouched()})("compositionstart",function(){return o._compositionStart()})("compositionend",function(s){return o._compositionEnd(s.target.value)})},features:[dt([Il]),Ft]});let i=t;return i})();function Pa(i){return i==null||(typeof i=="string"||Array.isArray(i))&&i.length===0}var qa=new E(""),Dl=new E("");function Al(i){return t=>{if(Pa(t.value)||Pa(i))return null;let r=parseFloat(t.value);return!isNaN(r)&&r{t=r!=null?p(p({},t),r):t}),Object.keys(t).length===0?null:t}function Xa(i,t){return t.map(r=>r(i))}function Ml(i){return!i.validate}function Qa(i){return i.map(t=>Ml(t)?t:r=>t.validate(r))}function Sl(i){if(!i)return null;let t=i.filter(Ka);return t.length==0?null:function(r){return Za(Xa(r,t))}}function Ja(i){return i!=null?Sl(Qa(i)):null}function Tl(i){if(!i)return null;let t=i.filter(Ka);return t.length==0?null:function(r){let e=Xa(r,t).map(Ya);return Wn(e).pipe(_(Za))}}function ts(i){return i!=null?Tl(Qa(i)):null}function La(i,t){return i===null?[t]:Array.isArray(i)?[...i,t]:[i,t]}function Rl(i){return i._rawValidators}function Ol(i){return i._rawAsyncValidators}function hr(i){return i?Array.isArray(i)?i:[i]:[]}function ui(i,t){return Array.isArray(i)?i.includes(t):i===t}function Va(i,t){let r=hr(t);return hr(i).forEach(n=>{ui(r,n)||r.push(n)}),r}function Ua(i,t){return hr(t).filter(r=>!ui(i,r))}var hi=class{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(t){this._rawValidators=t||[],this._composedValidatorFn=Ja(this._rawValidators)}_setAsyncValidators(t){this._rawAsyncValidators=t||[],this._composedAsyncValidatorFn=ts(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(t){this._onDestroyCallbacks.push(t)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(t=>t()),this._onDestroyCallbacks=[]}reset(t=void 0){this.control&&this.control.reset(t)}hasError(t,r){return this.control?this.control.hasError(t,r):!1}getError(t,r){return this.control?this.control.getError(t,r):null}},mr=class extends hi{get formDirective(){return null}get path(){return null}},un=class extends hi{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}},pr=class{constructor(t){this._cd=t}get isTouched(){return this._cd?.control?._touched?.(),!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return this._cd?.control?._pristine?.(),!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return this._cd?.control?._status?.(),!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return this._cd?._submitted?.(),!!this._cd?.submitted}},kl={"[class.ng-untouched]":"isUntouched","[class.ng-touched]":"isTouched","[class.ng-pristine]":"isPristine","[class.ng-dirty]":"isDirty","[class.ng-valid]":"isValid","[class.ng-invalid]":"isInvalid","[class.ng-pending]":"isPending"},tp=F(p({},kl),{"[class.ng-submitted]":"isSubmitted"}),Fe=(()=>{let t=class t extends pr{constructor(e){super(e)}};t.\u0275fac=function(n){return new(n||t)(v(un,2))},t.\u0275dir=L({type:t,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(n,o){n&2&&ct("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)},features:[Ft]});let i=t;return i})();var sn="VALID",di="INVALID",Re="PENDING",cn="DISABLED",ke=class{},mi=class extends ke{constructor(t,r){super(),this.value=t,this.source=r}},ln=class extends ke{constructor(t,r){super(),this.pristine=t,this.source=r}},dn=class extends ke{constructor(t,r){super(),this.touched=t,this.source=r}},Oe=class extends ke{constructor(t,r){super(),this.status=t,this.source=r}};function Fl(i){return(pi(i)?i.validators:i)||null}function Nl(i){return Array.isArray(i)?Ja(i):i||null}function Pl(i,t){return(pi(t)?t.asyncValidators:i)||null}function jl(i){return Array.isArray(i)?ts(i):i||null}function pi(i){return i!=null&&!Array.isArray(i)&&typeof i=="object"}var fr=class{constructor(t,r){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=null,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this._status=si(()=>this.statusReactive()),this.statusReactive=Jn(void 0),this._pristine=si(()=>this.pristineReactive()),this.pristineReactive=Jn(!0),this._touched=si(()=>this.touchedReactive()),this.touchedReactive=Jn(!1),this._events=new Z,this.events=this._events.asObservable(),this._onDisabledChange=[],this._assignValidators(t),this._assignAsyncValidators(r)}get validator(){return this._composedValidatorFn}set validator(t){this._rawValidators=this._composedValidatorFn=t}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(t){this._rawAsyncValidators=this._composedAsyncValidatorFn=t}get parent(){return this._parent}get status(){return ue(this.statusReactive)}set status(t){ue(()=>this.statusReactive.set(t))}get valid(){return this.status===sn}get invalid(){return this.status===di}get pending(){return this.status==Re}get disabled(){return this.status===cn}get enabled(){return this.status!==cn}get pristine(){return ue(this.pristineReactive)}set pristine(t){ue(()=>this.pristineReactive.set(t))}get dirty(){return!this.pristine}get touched(){return ue(this.touchedReactive)}set touched(t){ue(()=>this.touchedReactive.set(t))}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(t){this._assignValidators(t)}setAsyncValidators(t){this._assignAsyncValidators(t)}addValidators(t){this.setValidators(Va(t,this._rawValidators))}addAsyncValidators(t){this.setAsyncValidators(Va(t,this._rawAsyncValidators))}removeValidators(t){this.setValidators(Ua(t,this._rawValidators))}removeAsyncValidators(t){this.setAsyncValidators(Ua(t,this._rawAsyncValidators))}hasValidator(t){return ui(this._rawValidators,t)}hasAsyncValidator(t){return ui(this._rawAsyncValidators,t)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(t={}){let r=this.touched===!1;this.touched=!0;let e=t.sourceControl??this;this._parent&&!t.onlySelf&&this._parent.markAsTouched(F(p({},t),{sourceControl:e})),r&&t.emitEvent!==!1&&this._events.next(new dn(!0,e))}markAllAsTouched(t={}){this.markAsTouched({onlySelf:!0,emitEvent:t.emitEvent,sourceControl:this}),this._forEachChild(r=>r.markAllAsTouched(t))}markAsUntouched(t={}){let r=this.touched===!0;this.touched=!1,this._pendingTouched=!1;let e=t.sourceControl??this;this._forEachChild(n=>{n.markAsUntouched({onlySelf:!0,emitEvent:t.emitEvent,sourceControl:e})}),this._parent&&!t.onlySelf&&this._parent._updateTouched(t,e),r&&t.emitEvent!==!1&&this._events.next(new dn(!1,e))}markAsDirty(t={}){let r=this.pristine===!0;this.pristine=!1;let e=t.sourceControl??this;this._parent&&!t.onlySelf&&this._parent.markAsDirty(F(p({},t),{sourceControl:e})),r&&t.emitEvent!==!1&&this._events.next(new ln(!1,e))}markAsPristine(t={}){let r=this.pristine===!1;this.pristine=!0,this._pendingDirty=!1;let e=t.sourceControl??this;this._forEachChild(n=>{n.markAsPristine({onlySelf:!0,emitEvent:t.emitEvent})}),this._parent&&!t.onlySelf&&this._parent._updatePristine(t,e),r&&t.emitEvent!==!1&&this._events.next(new ln(!0,e))}markAsPending(t={}){this.status=Re;let r=t.sourceControl??this;t.emitEvent!==!1&&(this._events.next(new Oe(this.status,r)),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.markAsPending(F(p({},t),{sourceControl:r}))}disable(t={}){let r=this._parentMarkedDirty(t.onlySelf);this.status=cn,this.errors=null,this._forEachChild(n=>{n.disable(F(p({},t),{onlySelf:!0}))}),this._updateValue();let e=t.sourceControl??this;t.emitEvent!==!1&&(this._events.next(new mi(this.value,e)),this._events.next(new Oe(this.status,e)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(F(p({},t),{skipPristineCheck:r}),this),this._onDisabledChange.forEach(n=>n(!0))}enable(t={}){let r=this._parentMarkedDirty(t.onlySelf);this.status=sn,this._forEachChild(e=>{e.enable(F(p({},t),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors(F(p({},t),{skipPristineCheck:r}),this),this._onDisabledChange.forEach(e=>e(!1))}_updateAncestors(t,r){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),t.skipPristineCheck||this._parent._updatePristine({},r),this._parent._updateTouched({},r))}setParent(t){this._parent=t}getRawValue(){return this.value}updateValueAndValidity(t={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){let e=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===sn||this.status===Re)&&this._runAsyncValidator(e,t.emitEvent)}let r=t.sourceControl??this;t.emitEvent!==!1&&(this._events.next(new mi(this.value,r)),this._events.next(new Oe(this.status,r)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.updateValueAndValidity(F(p({},t),{sourceControl:r}))}_updateTreeValidity(t={emitEvent:!0}){this._forEachChild(r=>r._updateTreeValidity(t)),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?cn:sn}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t,r){if(this.asyncValidator){this.status=Re,this._hasOwnPendingAsyncValidator={emitEvent:r!==!1};let e=Ya(this.asyncValidator(this));this._asyncValidationSubscription=e.subscribe(n=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(n,{emitEvent:r,shouldHaveEmitted:t})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();let t=this._hasOwnPendingAsyncValidator?.emitEvent??!1;return this._hasOwnPendingAsyncValidator=null,t}return!1}setErrors(t,r={}){this.errors=t,this._updateControlsErrors(r.emitEvent!==!1,this,r.shouldHaveEmitted)}get(t){let r=t;return r==null||(Array.isArray(r)||(r=r.split(".")),r.length===0)?null:r.reduce((e,n)=>e&&e._find(n),this)}getError(t,r){let e=r?this.get(r):this;return e&&e.errors?e.errors[t]:null}hasError(t,r){return!!this.getError(t,r)}get root(){let t=this;for(;t._parent;)t=t._parent;return t}_updateControlsErrors(t,r,e){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),(t||e)&&this._events.next(new Oe(this.status,r)),this._parent&&this._parent._updateControlsErrors(t,r,e)}_initObservables(){this.valueChanges=new Ct,this.statusChanges=new Ct}_calculateStatus(){return this._allControlsDisabled()?cn:this.errors?di:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Re)?Re:this._anyControlsHaveStatus(di)?di:sn}_anyControlsHaveStatus(t){return this._anyControls(r=>r.status===t)}_anyControlsDirty(){return this._anyControls(t=>t.dirty)}_anyControlsTouched(){return this._anyControls(t=>t.touched)}_updatePristine(t,r){let e=!this._anyControlsDirty(),n=this.pristine!==e;this.pristine=e,this._parent&&!t.onlySelf&&this._parent._updatePristine(t,r),n&&this._events.next(new ln(this.pristine,r))}_updateTouched(t={},r){this.touched=this._anyControlsTouched(),this._events.next(new dn(this.touched,r)),this._parent&&!t.onlySelf&&this._parent._updateTouched(t,r)}_registerOnCollectionChange(t){this._onCollectionChange=t}_setUpdateStrategy(t){pi(t)&&t.updateOn!=null&&(this._updateOn=t.updateOn)}_parentMarkedDirty(t){let r=this._parent&&this._parent.dirty;return!t&&!!r&&!this._parent._anyControlsDirty()}_find(t){return null}_assignValidators(t){this._rawValidators=Array.isArray(t)?t.slice():t,this._composedValidatorFn=Nl(this._rawValidators)}_assignAsyncValidators(t){this._rawAsyncValidators=Array.isArray(t)?t.slice():t,this._composedAsyncValidatorFn=jl(this._rawAsyncValidators)}};var es=new E("CallSetDisabledState",{providedIn:"root",factory:()=>vr}),vr="always";function Ll(i,t){return[...t.path,i]}function Vl(i,t,r=vr){Bl(i,t),t.valueAccessor.writeValue(i.value),(i.disabled||r==="always")&&t.valueAccessor.setDisabledState?.(i.disabled),zl(i,t),Gl(i,t),$l(i,t),Ul(i,t)}function Ba(i,t){i.forEach(r=>{r.registerOnValidatorChange&&r.registerOnValidatorChange(t)})}function Ul(i,t){if(t.valueAccessor.setDisabledState){let r=e=>{t.valueAccessor.setDisabledState(e)};i.registerOnDisabledChange(r),t._registerOnDestroy(()=>{i._unregisterOnDisabledChange(r)})}}function Bl(i,t){let r=Rl(i);t.validator!==null?i.setValidators(La(r,t.validator)):typeof r=="function"&&i.setValidators([r]);let e=Ol(i);t.asyncValidator!==null?i.setAsyncValidators(La(e,t.asyncValidator)):typeof e=="function"&&i.setAsyncValidators([e]);let n=()=>i.updateValueAndValidity();Ba(t._rawValidators,n),Ba(t._rawAsyncValidators,n)}function zl(i,t){t.valueAccessor.registerOnChange(r=>{i._pendingValue=r,i._pendingChange=!0,i._pendingDirty=!0,i.updateOn==="change"&&ns(i,t)})}function $l(i,t){t.valueAccessor.registerOnTouched(()=>{i._pendingTouched=!0,i.updateOn==="blur"&&i._pendingChange&&ns(i,t),i.updateOn!=="submit"&&i.markAsTouched()})}function ns(i,t){i._pendingDirty&&i.markAsDirty(),i.setValue(i._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(i._pendingValue),i._pendingChange=!1}function Gl(i,t){let r=(e,n)=>{t.valueAccessor.writeValue(e),n&&t.viewToModelUpdate(e)};i.registerOnChange(r),t._registerOnDestroy(()=>{i._unregisterOnChange(r)})}function Hl(i,t){if(!i.hasOwnProperty("model"))return!1;let r=i.model;return r.isFirstChange()?!0:!Object.is(t,r.currentValue)}function Wl(i){return Object.getPrototypeOf(i.constructor)===Wa}function ql(i,t){if(!t)return null;Array.isArray(t);let r,e,n;return t.forEach(o=>{o.constructor===Xt?r=o:Wl(o)?e=o:n=o}),n||e||r||null}function za(i,t){let r=i.indexOf(t);r>-1&&i.splice(r,1)}function $a(i){return typeof i=="object"&&i!==null&&Object.keys(i).length===2&&"value"in i&&"disabled"in i}var Kl=class extends fr{constructor(t=null,r,e){super(Fl(r),Pl(e,r)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(t),this._setUpdateStrategy(r),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),pi(r)&&(r.nonNullable||r.initialValueIsDefault)&&($a(t)?this.defaultValue=t.value:this.defaultValue=t)}setValue(t,r={}){this.value=this._pendingValue=t,this._onChange.length&&r.emitModelToViewChange!==!1&&this._onChange.forEach(e=>e(this.value,r.emitViewToModelChange!==!1)),this.updateValueAndValidity(r)}patchValue(t,r={}){this.setValue(t,r)}reset(t=this.defaultValue,r={}){this._applyFormState(t),this.markAsPristine(r),this.markAsUntouched(r),this.setValue(this.value,r),this._pendingChange=!1}_updateValue(){}_anyControls(t){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(t){this._onChange.push(t)}_unregisterOnChange(t){za(this._onChange,t)}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_unregisterOnDisabledChange(t){za(this._onDisabledChange,t)}_forEachChild(t){}_syncPendingControls(){return this.updateOn==="submit"&&(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),this._pendingChange)?(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0):!1}_applyFormState(t){$a(t)?(this.value=this._pendingValue=t.value,t.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=t}};var Yl={provide:un,useExisting:Xe(()=>me)},Ga=Promise.resolve(),me=(()=>{let t=class t extends un{constructor(e,n,o,a,s,c){super(),this._changeDetectorRef=s,this.callSetDisabledState=c,this.control=new Kl,this._registered=!1,this.name="",this.update=new Ct,this._parent=e,this._setValidators(n),this._setAsyncValidators(o),this.valueAccessor=ql(this,a)}ngOnChanges(e){if(this._checkForErrors(),!this._registered||"name"in e){if(this._registered&&(this._checkName(),this.formDirective)){let n=e.name.previousValue;this.formDirective.removeControl({name:n,path:this._getPath(n)})}this._setUpControl()}"isDisabled"in e&&this._updateDisabled(e),Hl(e,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!!(this.options&&this.options.standalone)}_setUpStandalone(){Vl(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),!this._isStandalone()&&this.name}_updateValue(e){Ga.then(()=>{this.control.setValue(e,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(e){let n=e.isDisabled.currentValue,o=n!==0&&J(n);Ga.then(()=>{o&&!this.control.disabled?this.control.disable():!o&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(e){return this._parent?Ll(e,this._parent):[e]}};t.\u0275fac=function(n){return new(n||t)(v(mr,9),v(qa,10),v(Dl,10),v(br,10),v(Se,8),v(es,8))},t.\u0275dir=L({type:t,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"],options:[0,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[dt([Yl]),Ft,oe]});let i=t;return i})();var Zl={provide:br,useExisting:Xe(()=>hn),multi:!0},hn=(()=>{let t=class t extends Wa{writeValue(e){let n=e??"";this.setProperty("value",n)}registerOnChange(e){this.onChange=n=>{e(n==""?null:parseFloat(n))}}};t.\u0275fac=(()=>{let e;return function(o){return(e||(e=ae(t)))(o||t)}})(),t.\u0275dir=L({type:t,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(n,o){n&1&&q("input",function(s){return o.onChange(s.target.value)})("blur",function(){return o.onTouched()})},features:[dt([Zl]),Ft]});let i=t;return i})();function Xl(i){return typeof i=="number"?i:parseFloat(i)}var Ql=(()=>{let t=class t{constructor(){this._validator=ja}ngOnChanges(e){if(this.inputName in e){let n=this.normalizeInput(e[this.inputName].currentValue);this._enabled=this.enabled(n),this._validator=this._enabled?this.createValidator(n):ja,this._onChange&&this._onChange()}}validate(e){return this._validator(e)}registerOnValidatorChange(e){this._onChange=e}enabled(e){return e!=null}};t.\u0275fac=function(n){return new(n||t)},t.\u0275dir=L({type:t,features:[oe]});let i=t;return i})();var Jl={provide:qa,useExisting:Xe(()=>yr),multi:!0},yr=(()=>{let t=class t extends Ql{constructor(){super(...arguments),this.inputName="min",this.normalizeInput=e=>Xl(e),this.createValidator=e=>Al(e)}};t.\u0275fac=(()=>{let e;return function(o){return(e||(e=ae(t)))(o||t)}})(),t.\u0275dir=L({type:t,selectors:[["input","type","number","min","","formControlName",""],["input","type","number","min","","formControl",""],["input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(n,o){n&2&&Mt("min",o._enabled?o.min:null)},inputs:{min:"min"},features:[dt([Jl]),Ft]});let i=t;return i})();var td=(()=>{let t=class t{};t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=P({type:t}),t.\u0275inj=N({});let i=t;return i})();var Qt=(()=>{let t=class t{static withConfig(e){return{ngModule:t,providers:[{provide:es,useValue:e.callSetDisabledState??vr}]}}};t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=P({type:t}),t.\u0275inj=N({imports:[td]});let i=t;return i})();var Cr=class{};var Ne=class i{constructor(t){this.normalizedNames=new Map,this.lazyUpdate=null,t?typeof t=="string"?this.lazyInit=()=>{this.headers=new Map,t.split(`
+`).forEach(r=>{let e=r.indexOf(":");if(e>0){let n=r.slice(0,e),o=n.toLowerCase(),a=r.slice(e+1).trim();this.maybeSetNormalizedName(n,o),this.headers.has(o)?this.headers.get(o).push(a):this.headers.set(o,[a])}})}:typeof Headers<"u"&&t instanceof Headers?(this.headers=new Map,t.forEach((r,e)=>{this.setHeaderEntries(e,r)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(t).forEach(([r,e])=>{this.setHeaderEntries(r,e)})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();let r=this.headers.get(t.toLowerCase());return r&&r.length>0?r[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,r){return this.clone({name:t,value:r,op:"a"})}set(t,r){return this.clone({name:t,value:r,op:"s"})}delete(t,r){return this.clone({name:t,value:r,op:"d"})}maybeSetNormalizedName(t,r){this.normalizedNames.has(r)||this.normalizedNames.set(r,t)}init(){this.lazyInit&&(this.lazyInit instanceof i?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init(),Array.from(t.headers.keys()).forEach(r=>{this.headers.set(r,t.headers.get(r)),this.normalizedNames.set(r,t.normalizedNames.get(r))})}clone(t){let r=new i;return r.lazyInit=this.lazyInit&&this.lazyInit instanceof i?this.lazyInit:this,r.lazyUpdate=(this.lazyUpdate||[]).concat([t]),r}applyUpdate(t){let r=t.name.toLowerCase();switch(t.op){case"a":case"s":let e=t.value;if(typeof e=="string"&&(e=[e]),e.length===0)return;this.maybeSetNormalizedName(t.name,r);let n=(t.op==="a"?this.headers.get(r):void 0)||[];n.push(...e),this.headers.set(r,n);break;case"d":let o=t.value;if(!o)this.headers.delete(r),this.normalizedNames.delete(r);else{let a=this.headers.get(r);if(!a)return;a=a.filter(s=>o.indexOf(s)===-1),a.length===0?(this.headers.delete(r),this.normalizedNames.delete(r)):this.headers.set(r,a)}break}}setHeaderEntries(t,r){let e=(Array.isArray(r)?r:[r]).map(o=>o.toString()),n=t.toLowerCase();this.headers.set(n,e),this.maybeSetNormalizedName(t,n)}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(r=>t(this.normalizedNames.get(r),this.headers.get(r)))}};var Ir=class{encodeKey(t){return is(t)}encodeValue(t){return is(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}};function ed(i,t){let r=new Map;return i.length>0&&i.replace(/^\?/,"").split("&").forEach(n=>{let o=n.indexOf("="),[a,s]=o==-1?[t.decodeKey(n),""]:[t.decodeKey(n.slice(0,o)),t.decodeValue(n.slice(o+1))],c=r.get(a)||[];c.push(s),r.set(a,c)}),r}var nd=/%(\d[a-f0-9])/gi,id={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function is(i){return encodeURIComponent(i).replace(nd,(t,r)=>id[r]??t)}function fi(i){return`${i}`}var Jt=class i{constructor(t={}){if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new Ir,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=ed(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(r=>{let e=t.fromObject[r],n=Array.isArray(e)?e.map(fi):[fi(e)];this.map.set(r,n)})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();let r=this.map.get(t);return r?r[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,r){return this.clone({param:t,value:r,op:"a"})}appendAll(t){let r=[];return Object.keys(t).forEach(e=>{let n=t[e];Array.isArray(n)?n.forEach(o=>{r.push({param:e,value:o,op:"a"})}):r.push({param:e,value:n,op:"a"})}),this.clone(r)}set(t,r){return this.clone({param:t,value:r,op:"s"})}delete(t,r){return this.clone({param:t,value:r,op:"d"})}toString(){return this.init(),this.keys().map(t=>{let r=this.encoder.encodeKey(t);return this.map.get(t).map(e=>r+"="+this.encoder.encodeValue(e)).join("&")}).filter(t=>t!=="").join("&")}clone(t){let r=new i({encoder:this.encoder});return r.cloneFrom=this.cloneFrom||this,r.updates=(this.updates||[]).concat(t),r}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(t=>this.map.set(t,this.cloneFrom.map.get(t))),this.updates.forEach(t=>{switch(t.op){case"a":case"s":let r=(t.op==="a"?this.map.get(t.param):void 0)||[];r.push(fi(t.value)),this.map.set(t.param,r);break;case"d":if(t.value!==void 0){let e=this.map.get(t.param)||[],n=e.indexOf(fi(t.value));n!==-1&&e.splice(n,1),e.length>0?this.map.set(t.param,e):this.map.delete(t.param)}else{this.map.delete(t.param);break}}}),this.cloneFrom=this.updates=null)}};var xr=class{constructor(){this.map=new Map}set(t,r){return this.map.set(t,r),this}get(t){return this.map.has(t)||this.map.set(t,t.defaultValue()),this.map.get(t)}delete(t){return this.map.delete(t),this}has(t){return this.map.has(t)}keys(){return this.map.keys()}};function rd(i){switch(i){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function rs(i){return typeof ArrayBuffer<"u"&&i instanceof ArrayBuffer}function os(i){return typeof Blob<"u"&&i instanceof Blob}function as(i){return typeof FormData<"u"&&i instanceof FormData}function od(i){return typeof URLSearchParams<"u"&&i instanceof URLSearchParams}var mn=class i{constructor(t,r,e,n){this.url=r,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase();let o;if(rd(this.method)||n?(this.body=e!==void 0?e:null,o=n):o=e,o&&(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.context&&(this.context=o.context),o.params&&(this.params=o.params),this.transferCache=o.transferCache),this.headers??=new Ne,this.context??=new xr,!this.params)this.params=new Jt,this.urlWithParams=r;else{let a=this.params.toString();if(a.length===0)this.urlWithParams=r;else{let s=r.indexOf("?"),c=s===-1?"?":sh.set(m,t.setHeaders[m]),l)),t.setParams&&(d=Object.keys(t.setParams).reduce((h,m)=>h.set(m,t.setParams[m]),d)),new i(r,e,a,{params:d,headers:l,context:u,reportProgress:c,responseType:n,withCredentials:s,transferCache:o})}},ss=function(i){return i[i.Sent=0]="Sent",i[i.UploadProgress=1]="UploadProgress",i[i.ResponseHeader=2]="ResponseHeader",i[i.DownloadProgress=3]="DownloadProgress",i[i.Response=4]="Response",i[i.User=5]="User",i}(ss||{}),Er=class{constructor(t,r=200,e="OK"){this.headers=t.headers||new Ne,this.status=t.status!==void 0?t.status:r,this.statusText=t.statusText||e,this.url=t.url||null,this.ok=this.status>=200&&this.status<300}};var Dr=class i extends Er{constructor(t={}){super(t),this.type=ss.Response,this.body=t.body!==void 0?t.body:null}clone(t={}){return new i({body:t.body!==void 0?t.body:this.body,headers:t.headers||this.headers,status:t.status!==void 0?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}};function wr(i,t){return{body:t,headers:i.headers,context:i.context,observe:i.observe,params:i.params,reportProgress:i.reportProgress,responseType:i.responseType,withCredentials:i.withCredentials,transferCache:i.transferCache}}var cs=(()=>{let t=class t{constructor(e){this.handler=e}request(e,n,o={}){let a;if(e instanceof mn)a=e;else{let l;o.headers instanceof Ne?l=o.headers:l=new Ne(o.headers);let d;o.params&&(o.params instanceof Jt?d=o.params:d=new Jt({fromObject:o.params})),a=new mn(e,n,o.body!==void 0?o.body:null,{headers:l,context:o.context,params:d,reportProgress:o.reportProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials,transferCache:o.transferCache})}let s=b(a).pipe(qt(l=>this.handler.handle(l)));if(e instanceof mn||o.observe==="events")return s;let c=s.pipe(Dt(l=>l instanceof Dr));switch(o.observe||"body"){case"body":switch(a.responseType){case"arraybuffer":return c.pipe(_(l=>{if(l.body!==null&&!(l.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return l.body}));case"blob":return c.pipe(_(l=>{if(l.body!==null&&!(l.body instanceof Blob))throw new Error("Response is not a Blob.");return l.body}));case"text":return c.pipe(_(l=>{if(l.body!==null&&typeof l.body!="string")throw new Error("Response is not a string.");return l.body}));case"json":default:return c.pipe(_(l=>l.body))}case"response":return c;default:throw new Error(`Unreachable: unhandled observe type ${o.observe}}`)}}delete(e,n={}){return this.request("DELETE",e,n)}get(e,n={}){return this.request("GET",e,n)}head(e,n={}){return this.request("HEAD",e,n)}jsonp(e,n){return this.request("JSONP",e,{params:new Jt().append(n,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(e,n={}){return this.request("OPTIONS",e,n)}patch(e,n,o={}){return this.request("PATCH",e,wr(o,n))}post(e,n,o={}){return this.request("POST",e,wr(o,n))}put(e,n,o={}){return this.request("PUT",e,wr(o,n))}};t.\u0275fac=function(n){return new(n||t)(f(Cr))},t.\u0275prov=y({token:t,factory:t.\u0275fac});let i=t;return i})();var Sr=class extends Da{constructor(){super(...arguments),this.supportsDOMEvents=!0}},Tr=class i extends Sr{static makeCurrent(){Ea(new i)}onAndCancel(t,r,e){return t.addEventListener(r,e),()=>{t.removeEventListener(r,e)}}dispatchEvent(t,r){t.dispatchEvent(r)}remove(t){t.remove()}createElement(t,r){return r=r||this.getDefaultDocument(),r.createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,r){return r==="window"?window:r==="document"?t:r==="body"?t.body:null}getBaseHref(t){let r=cd();return r==null?null:ld(r)}resetBaseElement(){pn=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return Ta(document.cookie,t)}},pn=null;function cd(){return pn=pn||document.querySelector("base"),pn?pn.getAttribute("href"):null}function ld(i){return new URL(i,document.baseURI).pathname}var Rr=class{addToWindow(t){Yt.getAngularTestability=(e,n=!0)=>{let o=t.findTestabilityInTree(e,n);if(o==null)throw new j(5103,!1);return o},Yt.getAllAngularTestabilities=()=>t.getAllTestabilities(),Yt.getAllAngularRootElements=()=>t.getAllRootElements();let r=e=>{let n=Yt.getAllAngularTestabilities(),o=n.length,a=function(){o--,o==0&&e()};n.forEach(s=>{s.whenStable(a)})};Yt.frameworkStabilizers||(Yt.frameworkStabilizers=[]),Yt.frameworkStabilizers.push(r)}findTestabilityInTree(t,r,e){if(r==null)return null;let n=t.getTestability(r);return n??(e?he().isShadowRoot(r)?this.findTestabilityInTree(t,r.host,!0):this.findTestabilityInTree(t,r.parentElement,!0):null)}},dd=(()=>{let t=class t{build(){return new XMLHttpRequest}};t.\u0275fac=function(n){return new(n||t)},t.\u0275prov=y({token:t,factory:t.\u0275fac});let i=t;return i})(),gi=new E(""),us=(()=>{let t=class t{constructor(e,n){this._zone=n,this._eventNameToPlugin=new Map,e.forEach(o=>{o.manager=this}),this._plugins=e.slice().reverse()}addEventListener(e,n,o){return this._findPluginFor(n).addEventListener(e,n,o)}getZone(){return this._zone}_findPluginFor(e){let n=this._eventNameToPlugin.get(e);if(n)return n;if(n=this._plugins.find(a=>a.supports(e)),!n)throw new j(5101,!1);return this._eventNameToPlugin.set(e,n),n}};t.\u0275fac=function(n){return new(n||t)(f(gi),f(V))},t.\u0275prov=y({token:t,factory:t.\u0275fac});let i=t;return i})(),fn=class{constructor(t){this._doc=t}},Ar="ng-app-id",hs=(()=>{let t=class t{constructor(e,n,o,a={}){this.doc=e,this.appId=n,this.nonce=o,this.platformId=a,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=ur(a),this.resetHostNodes()}addStyles(e){for(let n of e)this.changeUsageCount(n,1)===1&&this.onStyleAdded(n)}removeStyles(e){for(let n of e)this.changeUsageCount(n,-1)<=0&&this.onStyleRemoved(n)}ngOnDestroy(){let e=this.styleNodesInDOM;e&&(e.forEach(n=>n.remove()),e.clear());for(let n of this.getAllStyles())this.onStyleRemoved(n);this.resetHostNodes()}addHost(e){this.hostNodes.add(e);for(let n of this.getAllStyles())this.addStyleToHost(e,n)}removeHost(e){this.hostNodes.delete(e)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(e){for(let n of this.hostNodes)this.addStyleToHost(n,e)}onStyleRemoved(e){let n=this.styleRef;n.get(e)?.elements?.forEach(o=>o.remove()),n.delete(e)}collectServerRenderedStyles(){let e=this.doc.head?.querySelectorAll(`style[${Ar}="${this.appId}"]`);if(e?.length){let n=new Map;return e.forEach(o=>{o.textContent!=null&&n.set(o.textContent,o)}),n}return null}changeUsageCount(e,n){let o=this.styleRef;if(o.has(e)){let a=o.get(e);return a.usage+=n,a.usage}return o.set(e,{usage:n,elements:[]}),n}getStyleElement(e,n){let o=this.styleNodesInDOM,a=o?.get(n);if(a?.parentNode===e)return o.delete(n),a.removeAttribute(Ar),a;{let s=this.doc.createElement("style");return this.nonce&&s.setAttribute("nonce",this.nonce),s.textContent=n,this.platformIsServer&&s.setAttribute(Ar,this.appId),e.appendChild(s),s}}addStyleToHost(e,n){let o=this.getStyleElement(e,n),a=this.styleRef,s=a.get(n)?.elements;s?s.push(o):a.set(n,{elements:[o],usage:1})}resetHostNodes(){let e=this.hostNodes;e.clear(),e.add(this.doc.head)}};t.\u0275fac=function(n){return new(n||t)(f(O),f(tn),f(en,8),f(ce))},t.\u0275prov=y({token:t,factory:t.\u0275fac});let i=t;return i})(),Mr={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/Math/MathML"},kr=/%COMP%/g,ms="%COMP%",ud=`_nghost-${ms}`,hd=`_ngcontent-${ms}`,md=!0,pd=new E("",{providedIn:"root",factory:()=>md});function fd(i){return hd.replace(kr,i)}function gd(i){return ud.replace(kr,i)}function ps(i,t){return t.map(r=>r.replace(kr,i))}var bi=(()=>{let t=class t{constructor(e,n,o,a,s,c,l,d=null){this.eventManager=e,this.sharedStylesHost=n,this.appId=o,this.removeStylesOnCompDestroy=a,this.doc=s,this.platformId=c,this.ngZone=l,this.nonce=d,this.rendererByCompId=new Map,this.platformIsServer=ur(c),this.defaultRenderer=new gn(e,s,l,this.platformIsServer)}createRenderer(e,n){if(!e||!n)return this.defaultRenderer;this.platformIsServer&&n.encapsulation===Qe.ShadowDom&&(n=F(p({},n),{encapsulation:Qe.Emulated}));let o=this.getOrCreateRenderer(e,n);return o instanceof vi?o.applyToHost(e):o instanceof bn&&o.applyStyles(),o}getOrCreateRenderer(e,n){let o=this.rendererByCompId,a=o.get(n.id);if(!a){let s=this.doc,c=this.ngZone,l=this.eventManager,d=this.sharedStylesHost,u=this.removeStylesOnCompDestroy,h=this.platformIsServer;switch(n.encapsulation){case Qe.Emulated:a=new vi(l,d,n,this.appId,u,s,c,h);break;case Qe.ShadowDom:return new Or(l,d,e,n,s,c,this.nonce,h);default:a=new bn(l,d,n,u,s,c,h);break}o.set(n.id,a)}return a}ngOnDestroy(){this.rendererByCompId.clear()}};t.\u0275fac=function(n){return new(n||t)(f(us),f(hs),f(tn),f(pd),f(O),f(ce),f(V),f(en))},t.\u0275prov=y({token:t,factory:t.\u0275fac});let i=t;return i})(),gn=class{constructor(t,r,e,n){this.eventManager=t,this.doc=r,this.ngZone=e,this.platformIsServer=n,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(t,r){return r?this.doc.createElementNS(Mr[r]||r,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,r){(ls(t)?t.content:t).appendChild(r)}insertBefore(t,r,e){t&&(ls(t)?t.content:t).insertBefore(r,e)}removeChild(t,r){r.remove()}selectRootElement(t,r){let e=typeof t=="string"?this.doc.querySelector(t):t;if(!e)throw new j(-5104,!1);return r||(e.textContent=""),e}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,r,e,n){if(n){r=n+":"+r;let o=Mr[n];o?t.setAttributeNS(o,r,e):t.setAttribute(r,e)}else t.setAttribute(r,e)}removeAttribute(t,r,e){if(e){let n=Mr[e];n?t.removeAttributeNS(n,r):t.removeAttribute(`${e}:${r}`)}else t.removeAttribute(r)}addClass(t,r){t.classList.add(r)}removeClass(t,r){t.classList.remove(r)}setStyle(t,r,e,n){n&(nn.DashCase|nn.Important)?t.style.setProperty(r,e,n&nn.Important?"important":""):t.style[r]=e}removeStyle(t,r,e){e&nn.DashCase?t.style.removeProperty(r):t.style[r]=""}setProperty(t,r,e){t!=null&&(t[r]=e)}setValue(t,r){t.nodeValue=r}listen(t,r,e){if(typeof t=="string"&&(t=he().getGlobalEventTarget(this.doc,t),!t))throw new Error(`Unsupported event target ${t} for event ${r}`);return this.eventManager.addEventListener(t,r,this.decoratePreventDefault(e))}decoratePreventDefault(t){return r=>{if(r==="__ngUnwrap__")return t;(this.platformIsServer?this.ngZone.runGuarded(()=>t(r)):t(r))===!1&&r.preventDefault()}}};function ls(i){return i.tagName==="TEMPLATE"&&i.content!==void 0}var Or=class extends gn{constructor(t,r,e,n,o,a,s,c){super(t,o,a,c),this.sharedStylesHost=r,this.hostEl=e,this.shadowRoot=e.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let l=ps(n.id,n.styles);for(let d of l){let u=document.createElement("style");s&&u.setAttribute("nonce",s),u.textContent=d,this.shadowRoot.appendChild(u)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}appendChild(t,r){return super.appendChild(this.nodeOrShadowRoot(t),r)}insertBefore(t,r,e){return super.insertBefore(this.nodeOrShadowRoot(t),r,e)}removeChild(t,r){return super.removeChild(null,r)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},bn=class extends gn{constructor(t,r,e,n,o,a,s,c){super(t,o,a,s),this.sharedStylesHost=r,this.removeStylesOnCompDestroy=n,this.styles=c?ps(c,e.styles):e.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}},vi=class extends bn{constructor(t,r,e,n,o,a,s,c){let l=n+"-"+e.id;super(t,r,e,o,a,s,c,l),this.contentAttr=fd(l),this.hostAttr=gd(l)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,r){let e=super.createElement(t,r);return super.setAttribute(e,this.contentAttr,""),e}},bd=(()=>{let t=class t extends fn{constructor(e){super(e)}supports(e){return!0}addEventListener(e,n,o){return e.addEventListener(n,o,!1),()=>this.removeEventListener(e,n,o)}removeEventListener(e,n,o){return e.removeEventListener(n,o)}};t.\u0275fac=function(n){return new(n||t)(f(O))},t.\u0275prov=y({token:t,factory:t.\u0275fac});let i=t;return i})(),vd=(()=>{let t=class t extends fn{constructor(e){super(e),this.delegate=g(Ia,{optional:!0})}supports(e){return this.delegate?this.delegate.supports(e):!1}addEventListener(e,n,o){return this.delegate.addEventListener(e,n,o)}removeEventListener(e,n,o){return this.delegate.removeEventListener(e,n,o)}};t.\u0275fac=function(n){return new(n||t)(f(O))},t.\u0275prov=y({token:t,factory:t.\u0275fac});let i=t;return i})(),ds=["alt","control","meta","shift"],yd={"\b":"Backspace"," ":"Tab","\x7F":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},_d={alt:i=>i.altKey,control:i=>i.ctrlKey,meta:i=>i.metaKey,shift:i=>i.shiftKey},wd=(()=>{let t=class t extends fn{constructor(e){super(e)}supports(e){return t.parseEventName(e)!=null}addEventListener(e,n,o){let a=t.parseEventName(n),s=t.eventCallback(a.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>he().onAndCancel(e,a.domEventName,s))}static parseEventName(e){let n=e.toLowerCase().split("."),o=n.shift();if(n.length===0||!(o==="keydown"||o==="keyup"))return null;let a=t._normalizeKey(n.pop()),s="",c=n.indexOf("code");if(c>-1&&(n.splice(c,1),s="code."),ds.forEach(d=>{let u=n.indexOf(d);u>-1&&(n.splice(u,1),s+=d+".")}),s+=a,n.length!=0||a.length===0)return null;let l={};return l.domEventName=o,l.fullKey=s,l}static matchEventFullKeyCode(e,n){let o=yd[e.key]||e.key,a="";return n.indexOf("code.")>-1&&(o=e.code,a="code."),o==null||!o?!1:(o=o.toLowerCase(),o===" "?o="space":o==="."&&(o="dot"),ds.forEach(s=>{if(s!==o){let c=_d[s];c(e)&&(a+=s+".")}}),a+=o,a===n)}static eventCallback(e,n,o){return a=>{t.matchEventFullKeyCode(a,e)&&o.runGuarded(()=>n(a))}}static _normalizeKey(e){return e==="esc"?"escape":e}};t.\u0275fac=function(n){return new(n||t)(f(O))},t.\u0275prov=y({token:t,factory:t.\u0275fac});let i=t;return i})();function fs(i,t){return Ca(p({rootComponent:i},Cd(t)))}function Cd(i){return{appProviders:[...gs,...i?.providers??[]],platformProviders:Dd}}function Id(){Tr.makeCurrent()}function xd(){return new se}function Ed(){return Jo(document),document}var Dd=[{provide:ce,useValue:Oa},{provide:ta,useValue:Id,multi:!0},{provide:O,useFactory:Ed,deps:[]}];var Ad=new E(""),Md=[{provide:ii,useClass:Rr,deps:[]},{provide:ya,useClass:ri,deps:[V,cr,ii]},{provide:ri,useClass:ri,deps:[V,cr,ii]}],gs=[{provide:Xo,useValue:"root"},{provide:se,useFactory:xd,deps:[]},{provide:gi,useClass:bd,multi:!0,deps:[O,V,ce]},{provide:gi,useClass:wd,multi:!0,deps:[O]},{provide:gi,useClass:vd,multi:!0},bi,hs,us,{provide:Qn,useExisting:bi},{provide:Na,useClass:dd,deps:[]},[]],bs=(()=>{let t=class t{constructor(e){}static withServerTransition(e){return{ngModule:t,providers:[{provide:tn,useValue:e.appId}]}}};t.\u0275fac=function(n){return new(n||t)(f(Ad,12))},t.\u0275mod=P({type:t}),t.\u0275inj=N({providers:[...gs,...Md],imports:[li,wa]});let i=t;return i})();var vs=(()=>{let t=class t{constructor(e){this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||""}};t.\u0275fac=function(n){return new(n||t)(f(O))},t.\u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"});let i=t;return i})();var Fr=(()=>{let t=class t{};t.\u0275fac=function(n){return new(n||t)},t.\u0275prov=y({token:t,factory:function(n){let o=null;return n?o=new(n||t):o=f(Sd),o},providedIn:"root"});let i=t;return i})(),Sd=(()=>{let t=class t extends Fr{constructor(e){super(),this._doc=e}sanitize(e,n){if(n==null)return null;switch(e){case st.NONE:return n;case st.HTML:return Ee(n,"HTML")?xe(n):sa(this._doc,String(n)).toString();case st.STYLE:return Ee(n,"Style")?xe(n):n;case st.SCRIPT:if(Ee(n,"Script"))return xe(n);throw new j(5200,!1);case st.URL:return Ee(n,"URL")?xe(n):aa(String(n));case st.RESOURCE_URL:if(Ee(n,"ResourceURL"))return xe(n);throw new j(5201,!1);default:throw new j(5202,!1)}}bypassSecurityTrustHtml(e){return ea(e)}bypassSecurityTrustStyle(e){return na(e)}bypassSecurityTrustScript(e){return ia(e)}bypassSecurityTrustUrl(e){return ra(e)}bypassSecurityTrustResourceUrl(e){return oa(e)}};t.\u0275fac=function(n){return new(n||t)(f(O))},t.\u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"});let i=t;return i})();var Td="@",Rd=(()=>{let t=class t{constructor(e,n,o,a,s){this.doc=e,this.delegate=n,this.zone=o,this.animationType=a,this.moduleImpl=s,this._rendererFactoryPromise=null,this.scheduler=g(la,{optional:!0})}ngOnDestroy(){this._engine?.flush()}loadImpl(){return(this.moduleImpl??import("./chunk-UU3TJY2H.js").then(n=>n)).catch(n=>{throw new j(5300,!1)}).then(({\u0275createEngine:n,\u0275AnimationRendererFactory:o})=>{this._engine=n(this.animationType,this.doc);let a=new o(this.delegate,this._engine,this.zone);return this.delegate=a,a})}createRenderer(e,n){let o=this.delegate.createRenderer(e,n);if(o.\u0275type===0)return o;typeof o.throwOnSyntheticProps=="boolean"&&(o.throwOnSyntheticProps=!1);let a=new Nr(o);return n?.data?.animation&&!this._rendererFactoryPromise&&(this._rendererFactoryPromise=this.loadImpl()),this._rendererFactoryPromise?.then(s=>{let c=s.createRenderer(e,n);a.use(c),this.scheduler?.notify(9)}).catch(s=>{a.use(o)}),a}begin(){this.delegate.begin?.()}end(){this.delegate.end?.()}whenRenderingDone(){return this.delegate.whenRenderingDone?.()??Promise.resolve()}};t.\u0275fac=function(n){De()},t.\u0275prov=y({token:t,factory:t.\u0275fac});let i=t;return i})(),Nr=class{constructor(t){this.delegate=t,this.replay=[],this.\u0275type=1}use(t){if(this.delegate=t,this.replay!==null){for(let r of this.replay)r(t);this.replay=null}}get data(){return this.delegate.data}destroy(){this.replay=null,this.delegate.destroy()}createElement(t,r){return this.delegate.createElement(t,r)}createComment(t){return this.delegate.createComment(t)}createText(t){return this.delegate.createText(t)}get destroyNode(){return this.delegate.destroyNode}appendChild(t,r){this.delegate.appendChild(t,r)}insertBefore(t,r,e,n){this.delegate.insertBefore(t,r,e,n)}removeChild(t,r,e){this.delegate.removeChild(t,r,e)}selectRootElement(t,r){return this.delegate.selectRootElement(t,r)}parentNode(t){return this.delegate.parentNode(t)}nextSibling(t){return this.delegate.nextSibling(t)}setAttribute(t,r,e,n){this.delegate.setAttribute(t,r,e,n)}removeAttribute(t,r,e){this.delegate.removeAttribute(t,r,e)}addClass(t,r){this.delegate.addClass(t,r)}removeClass(t,r){this.delegate.removeClass(t,r)}setStyle(t,r,e,n){this.delegate.setStyle(t,r,e,n)}removeStyle(t,r,e){this.delegate.removeStyle(t,r,e)}setProperty(t,r,e){this.shouldReplay(r)&&this.replay.push(n=>n.setProperty(t,r,e)),this.delegate.setProperty(t,r,e)}setValue(t,r){this.delegate.setValue(t,r)}listen(t,r,e){return this.shouldReplay(r)&&this.replay.push(n=>n.listen(t,r,e)),this.delegate.listen(t,r,e)}shouldReplay(t){return this.replay!==null&&t.startsWith(Td)}};function _s(i="animations"){return da("NgAsyncAnimations"),Zn([{provide:Qn,useFactory:(t,r,e)=>new Rd(t,r,e,i),deps:[O,bi,V]},{provide:le,useValue:i==="noop"?"NoopAnimations":"BrowserAnimations"}])}var I="primary",Rn=Symbol("RouteTitle"),Ur=class{constructor(t){this.params=t||{}}has(t){return Object.prototype.hasOwnProperty.call(this.params,t)}get(t){if(this.has(t)){let r=this.params[t];return Array.isArray(r)?r[0]:r}return null}getAll(t){if(this.has(t)){let r=this.params[t];return Array.isArray(r)?r:[r]}return[]}get keys(){return Object.keys(this.params)}};function Be(i){return new Ur(i)}function Od(i,t,r){let e=r.path.split("/");if(e.length>i.length||r.pathMatch==="full"&&(t.hasChildren()||e.lengthe[o]===n)}else return i===t}function Os(i){return i.length>0?i[i.length-1]:null}function ne(i){return Xi(i)?i:oi(i)?Y(Promise.resolve(i)):b(i)}var Fd={exact:Fs,subset:Ns},ks={exact:Nd,subset:Pd,ignored:()=>!0};function ws(i,t,r){return Fd[r.paths](i.root,t.root,r.matrixParams)&&ks[r.queryParams](i.queryParams,t.queryParams)&&!(r.fragment==="exact"&&i.fragment!==t.fragment)}function Nd(i,t){return Tt(i,t)}function Fs(i,t,r){if(!fe(i.segments,t.segments)||!wi(i.segments,t.segments,r)||i.numberOfChildren!==t.numberOfChildren)return!1;for(let e in t.children)if(!i.children[e]||!Fs(i.children[e],t.children[e],r))return!1;return!0}function Pd(i,t){return Object.keys(t).length<=Object.keys(i).length&&Object.keys(t).every(r=>Rs(i[r],t[r]))}function Ns(i,t,r){return Ps(i,t,t.segments,r)}function Ps(i,t,r,e){if(i.segments.length>r.length){let n=i.segments.slice(0,r.length);return!(!fe(n,r)||t.hasChildren()||!wi(n,r,e))}else if(i.segments.length===r.length){if(!fe(i.segments,r)||!wi(i.segments,r,e))return!1;for(let n in t.children)if(!i.children[n]||!Ns(i.children[n],t.children[n],e))return!1;return!0}else{let n=r.slice(0,i.segments.length),o=r.slice(i.segments.length);return!fe(i.segments,n)||!wi(i.segments,n,e)||!i.children[I]?!1:Ps(i.children[I],t,o,e)}}function wi(i,t,r){return t.every((e,n)=>ks[r](i[n].parameters,e.parameters))}var Ut=class{constructor(t=new M([],{}),r={},e=null){this.root=t,this.queryParams=r,this.fragment=e}get queryParamMap(){return this._queryParamMap??=Be(this.queryParams),this._queryParamMap}toString(){return Vd.serialize(this)}},M=class{constructor(t,r){this.segments=t,this.children=r,this.parent=null,Object.values(r).forEach(e=>e.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Ci(this)}},pe=class{constructor(t,r){this.path=t,this.parameters=r}get parameterMap(){return this._parameterMap??=Be(this.parameters),this._parameterMap}toString(){return Ls(this)}};function jd(i,t){return fe(i,t)&&i.every((r,e)=>Tt(r.parameters,t[e].parameters))}function fe(i,t){return i.length!==t.length?!1:i.every((r,e)=>r.path===t[e].path)}function Ld(i,t){let r=[];return Object.entries(i.children).forEach(([e,n])=>{e===I&&(r=r.concat(t(n,e)))}),Object.entries(i.children).forEach(([e,n])=>{e!==I&&(r=r.concat(t(n,e)))}),r}var On=(()=>{let t=class t{};t.\u0275fac=function(n){return new(n||t)},t.\u0275prov=y({token:t,factory:()=>new ze,providedIn:"root"});let i=t;return i})(),ze=class{parse(t){let r=new $r(t);return new Ut(r.parseRootSegment(),r.parseQueryParams(),r.parseFragment())}serialize(t){let r=`/${vn(t.root,!0)}`,e=zd(t.queryParams),n=typeof t.fragment=="string"?`#${Ud(t.fragment)}`:"";return`${r}${e}${n}`}},Vd=new ze;function Ci(i){return i.segments.map(t=>Ls(t)).join("/")}function vn(i,t){if(!i.hasChildren())return Ci(i);if(t){let r=i.children[I]?vn(i.children[I],!1):"",e=[];return Object.entries(i.children).forEach(([n,o])=>{n!==I&&e.push(`${n}:${vn(o,!1)}`)}),e.length>0?`${r}(${e.join("//")})`:r}else{let r=Ld(i,(e,n)=>n===I?[vn(i.children[I],!1)]:[`${n}:${vn(e,!1)}`]);return Object.keys(i.children).length===1&&i.children[I]!=null?`${Ci(i)}/${r[0]}`:`${Ci(i)}/(${r.join("//")})`}}function js(i){return encodeURIComponent(i).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function yi(i){return js(i).replace(/%3B/gi,";")}function Ud(i){return encodeURI(i)}function zr(i){return js(i).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Ii(i){return decodeURIComponent(i)}function Cs(i){return Ii(i.replace(/\+/g,"%20"))}function Ls(i){return`${zr(i.path)}${Bd(i.parameters)}`}function Bd(i){return Object.entries(i).map(([t,r])=>`;${zr(t)}=${zr(r)}`).join("")}function zd(i){let t=Object.entries(i).map(([r,e])=>Array.isArray(e)?e.map(n=>`${yi(r)}=${yi(n)}`).join("&"):`${yi(r)}=${yi(e)}`).filter(r=>r);return t.length?`?${t.join("&")}`:""}var $d=/^[^\/()?;#]+/;function Pr(i){let t=i.match($d);return t?t[0]:""}var Gd=/^[^\/()?;=#]+/;function Hd(i){let t=i.match(Gd);return t?t[0]:""}var Wd=/^[^=?]+/;function qd(i){let t=i.match(Wd);return t?t[0]:""}var Kd=/^[^]+/;function Yd(i){let t=i.match(Kd);return t?t[0]:""}var $r=class{constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new M([],{}):new M([],this.parseChildren())}parseQueryParams(){let t={};if(this.consumeOptional("?"))do this.parseQueryParam(t);while(this.consumeOptional("&"));return t}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");let t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());let r={};this.peekStartsWith("/(")&&(this.capture("/"),r=this.parseParens(!0));let e={};return this.peekStartsWith("(")&&(e=this.parseParens(!1)),(t.length>0||Object.keys(r).length>0)&&(e[I]=new M(t,r)),e}parseSegment(){let t=Pr(this.remaining);if(t===""&&this.peekStartsWith(";"))throw new j(4009,!1);return this.capture(t),new pe(Ii(t),this.parseMatrixParams())}parseMatrixParams(){let t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){let r=Hd(this.remaining);if(!r)return;this.capture(r);let e="";if(this.consumeOptional("=")){let n=Pr(this.remaining);n&&(e=n,this.capture(e))}t[Ii(r)]=Ii(e)}parseQueryParam(t){let r=qd(this.remaining);if(!r)return;this.capture(r);let e="";if(this.consumeOptional("=")){let a=Yd(this.remaining);a&&(e=a,this.capture(e))}let n=Cs(r),o=Cs(e);if(t.hasOwnProperty(n)){let a=t[n];Array.isArray(a)||(a=[a],t[n]=a),a.push(o)}else t[n]=o}parseParens(t){let r={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let e=Pr(this.remaining),n=this.remaining[e.length];if(n!=="/"&&n!==")"&&n!==";")throw new j(4010,!1);let o;e.indexOf(":")>-1?(o=e.slice(0,e.indexOf(":")),this.capture(o),this.capture(":")):t&&(o=I);let a=this.parseChildren();r[o]=Object.keys(a).length===1?a[I]:new M([],a),this.consumeOptional("//")}return r}peekStartsWith(t){return this.remaining.startsWith(t)}consumeOptional(t){return this.peekStartsWith(t)?(this.remaining=this.remaining.substring(t.length),!0):!1}capture(t){if(!this.consumeOptional(t))throw new j(4011,!1)}};function Vs(i){return i.segments.length>0?new M([],{[I]:i}):i}function Us(i){let t={};for(let[e,n]of Object.entries(i.children)){let o=Us(n);if(e===I&&o.segments.length===0&&o.hasChildren())for(let[a,s]of Object.entries(o.children))t[a]=s;else(o.segments.length>0||o.hasChildren())&&(t[e]=o)}let r=new M(i.segments,t);return Zd(r)}function Zd(i){if(i.numberOfChildren===1&&i.children[I]){let t=i.children[I];return new M(i.segments.concat(t.segments),t.children)}return i}function ge(i){return i instanceof Ut}function Xd(i,t,r=null,e=null){let n=Bs(i);return zs(n,t,r,e)}function Bs(i){let t;function r(o){let a={};for(let c of o.children){let l=r(c);a[c.outlet]=l}let s=new M(o.url,a);return o===i&&(t=s),s}let e=r(i.root),n=Vs(e);return t??n}function zs(i,t,r,e){let n=i;for(;n.parent;)n=n.parent;if(t.length===0)return jr(n,n,n,r,e);let o=Qd(t);if(o.toRoot())return jr(n,n,new M([],{}),r,e);let a=Jd(o,n,i),s=a.processChildren?wn(a.segmentGroup,a.index,o.commands):Gs(a.segmentGroup,a.index,o.commands);return jr(n,a.segmentGroup,s,r,e)}function xi(i){return typeof i=="object"&&i!=null&&!i.outlets&&!i.segmentPath}function xn(i){return typeof i=="object"&&i!=null&&i.outlets}function jr(i,t,r,e,n){let o={};e&&Object.entries(e).forEach(([c,l])=>{o[c]=Array.isArray(l)?l.map(d=>`${d}`):`${l}`});let a;i===t?a=r:a=$s(i,t,r);let s=Vs(Us(a));return new Ut(s,o,n)}function $s(i,t,r){let e={};return Object.entries(i.children).forEach(([n,o])=>{o===t?e[n]=r:e[n]=$s(o,t,r)}),new M(i.segments,e)}var Ei=class{constructor(t,r,e){if(this.isAbsolute=t,this.numberOfDoubleDots=r,this.commands=e,t&&e.length>0&&xi(e[0]))throw new j(4003,!1);let n=e.find(xn);if(n&&n!==Os(e))throw new j(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function Qd(i){if(typeof i[0]=="string"&&i.length===1&&i[0]==="/")return new Ei(!0,0,i);let t=0,r=!1,e=i.reduce((n,o,a)=>{if(typeof o=="object"&&o!=null){if(o.outlets){let s={};return Object.entries(o.outlets).forEach(([c,l])=>{s[c]=typeof l=="string"?l.split("/"):l}),[...n,{outlets:s}]}if(o.segmentPath)return[...n,o.segmentPath]}return typeof o!="string"?[...n,o]:a===0?(o.split("/").forEach((s,c)=>{c==0&&s==="."||(c==0&&s===""?r=!0:s===".."?t++:s!=""&&n.push(s))}),n):[...n,o]},[]);return new Ei(r,t,e)}var Le=class{constructor(t,r,e){this.segmentGroup=t,this.processChildren=r,this.index=e}};function Jd(i,t,r){if(i.isAbsolute)return new Le(t,!0,0);if(!r)return new Le(t,!1,NaN);if(r.parent===null)return new Le(r,!0,0);let e=xi(i.commands[0])?0:1,n=r.segments.length-1+e;return tu(r,n,i.numberOfDoubleDots)}function tu(i,t,r){let e=i,n=t,o=r;for(;o>n;){if(o-=n,e=e.parent,!e)throw new j(4005,!1);n=e.segments.length}return new Le(e,!1,n-o)}function eu(i){return xn(i[0])?i[0].outlets:{[I]:i}}function Gs(i,t,r){if(i??=new M([],{}),i.segments.length===0&&i.hasChildren())return wn(i,t,r);let e=nu(i,t,r),n=r.slice(e.commandIndex);if(e.match&&e.pathIndexo!==I)&&i.children[I]&&i.numberOfChildren===1&&i.children[I].segments.length===0){let o=wn(i.children[I],t,r);return new M(i.segments,o.children)}return Object.entries(e).forEach(([o,a])=>{typeof a=="string"&&(a=[a]),a!==null&&(n[o]=Gs(i.children[o],t,a))}),Object.entries(i.children).forEach(([o,a])=>{e[o]===void 0&&(n[o]=a)}),new M(i.segments,n)}}function nu(i,t,r){let e=0,n=t,o={match:!1,pathIndex:0,commandIndex:0};for(;n=r.length)return o;let a=i.segments[n],s=r[e];if(xn(s))break;let c=`${s}`,l=e0&&c===void 0)break;if(c&&l&&typeof l=="object"&&l.outlets===void 0){if(!xs(c,l,a))return o;e+=2}else{if(!xs(c,{},a))return o;e++}n++}return{match:!0,pathIndex:n,commandIndex:e}}function Gr(i,t,r){let e=i.segments.slice(0,t),n=0;for(;n{typeof e=="string"&&(e=[e]),e!==null&&(t[r]=Gr(new M([],{}),0,e))}),t}function Is(i){let t={};return Object.entries(i).forEach(([r,e])=>t[r]=`${e}`),t}function xs(i,t,r){return i==r.path&&Tt(t,r.parameters)}var Cn="imperative",K=function(i){return i[i.NavigationStart=0]="NavigationStart",i[i.NavigationEnd=1]="NavigationEnd",i[i.NavigationCancel=2]="NavigationCancel",i[i.NavigationError=3]="NavigationError",i[i.RoutesRecognized=4]="RoutesRecognized",i[i.ResolveStart=5]="ResolveStart",i[i.ResolveEnd=6]="ResolveEnd",i[i.GuardsCheckStart=7]="GuardsCheckStart",i[i.GuardsCheckEnd=8]="GuardsCheckEnd",i[i.RouteConfigLoadStart=9]="RouteConfigLoadStart",i[i.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",i[i.ChildActivationStart=11]="ChildActivationStart",i[i.ChildActivationEnd=12]="ChildActivationEnd",i[i.ActivationStart=13]="ActivationStart",i[i.ActivationEnd=14]="ActivationEnd",i[i.Scroll=15]="Scroll",i[i.NavigationSkipped=16]="NavigationSkipped",i}(K||{}),bt=class{constructor(t,r){this.id=t,this.url=r}},$e=class extends bt{constructor(t,r,e="imperative",n=null){super(t,r),this.type=K.NavigationStart,this.navigationTrigger=e,this.restoredState=n}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},Rt=class extends bt{constructor(t,r,e){super(t,r),this.urlAfterRedirects=e,this.type=K.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},ht=function(i){return i[i.Redirect=0]="Redirect",i[i.SupersededByNewNavigation=1]="SupersededByNewNavigation",i[i.NoDataFromResolver=2]="NoDataFromResolver",i[i.GuardRejected=3]="GuardRejected",i}(ht||{}),Di=function(i){return i[i.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",i[i.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",i}(Di||{}),Vt=class extends bt{constructor(t,r,e,n){super(t,r),this.reason=e,this.code=n,this.type=K.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},te=class extends bt{constructor(t,r,e,n){super(t,r),this.reason=e,this.code=n,this.type=K.NavigationSkipped}},En=class extends bt{constructor(t,r,e,n){super(t,r),this.error=e,this.target=n,this.type=K.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},Ai=class extends bt{constructor(t,r,e,n){super(t,r),this.urlAfterRedirects=e,this.state=n,this.type=K.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Hr=class extends bt{constructor(t,r,e,n){super(t,r),this.urlAfterRedirects=e,this.state=n,this.type=K.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Wr=class extends bt{constructor(t,r,e,n,o){super(t,r),this.urlAfterRedirects=e,this.state=n,this.shouldActivate=o,this.type=K.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},qr=class extends bt{constructor(t,r,e,n){super(t,r),this.urlAfterRedirects=e,this.state=n,this.type=K.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Kr=class extends bt{constructor(t,r,e,n){super(t,r),this.urlAfterRedirects=e,this.state=n,this.type=K.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Yr=class{constructor(t){this.route=t,this.type=K.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},Zr=class{constructor(t){this.route=t,this.type=K.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},Xr=class{constructor(t){this.snapshot=t,this.type=K.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Qr=class{constructor(t){this.snapshot=t,this.type=K.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Jr=class{constructor(t){this.snapshot=t,this.type=K.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},to=class{constructor(t){this.snapshot=t,this.type=K.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Mi=class{constructor(t,r,e){this.routerEvent=t,this.position=r,this.anchor=e,this.type=K.Scroll}toString(){let t=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${t}')`}},Dn=class{},Ge=class{constructor(t,r){this.url=t,this.navigationBehaviorOptions=r}};function ru(i,t){return i.providers&&!i._injector&&(i._injector=ar(i.providers,t,`Route: ${i.path}`)),i._injector??t}function It(i){return i.outlet||I}function ou(i,t){let r=i.filter(e=>It(e)===t);return r.push(...i.filter(e=>It(e)!==t)),r}function kn(i){if(!i)return null;if(i.routeConfig?._injector)return i.routeConfig._injector;for(let t=i.parent;t;t=t.parent){let r=t.routeConfig;if(r?._loadedInjector)return r._loadedInjector;if(r?._injector)return r._injector}return null}var eo=class{get injector(){return kn(this.route?.snapshot)??this.rootInjector}set injector(t){}constructor(t){this.rootInjector=t,this.outlet=null,this.route=null,this.children=new Fn(this.rootInjector),this.attachRef=null}},Fn=(()=>{let t=class t{constructor(e){this.rootInjector=e,this.contexts=new Map}onChildOutletCreated(e,n){let o=this.getOrCreateContext(e);o.outlet=n,this.contexts.set(e,o)}onChildOutletDestroyed(e){let n=this.getContext(e);n&&(n.outlet=null,n.attachRef=null)}onOutletDeactivated(){let e=this.contexts;return this.contexts=new Map,e}onOutletReAttached(e){this.contexts=e}getOrCreateContext(e){let n=this.getContext(e);return n||(n=new eo(this.rootInjector),this.contexts.set(e,n)),n}getContext(e){return this.contexts.get(e)||null}};t.\u0275fac=function(n){return new(n||t)(f(Ie))},t.\u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"});let i=t;return i})(),Si=class{constructor(t){this._root=t}get root(){return this._root.value}parent(t){let r=this.pathFromRoot(t);return r.length>1?r[r.length-2]:null}children(t){let r=no(t,this._root);return r?r.children.map(e=>e.value):[]}firstChild(t){let r=no(t,this._root);return r&&r.children.length>0?r.children[0].value:null}siblings(t){let r=io(t,this._root);return r.length<2?[]:r[r.length-2].children.map(n=>n.value).filter(n=>n!==t)}pathFromRoot(t){return io(t,this._root).map(r=>r.value)}};function no(i,t){if(i===t.value)return t;for(let r of t.children){let e=no(i,r);if(e)return e}return null}function io(i,t){if(i===t.value)return[t];for(let r of t.children){let e=io(i,r);if(e.length)return e.unshift(t),e}return[]}var ut=class{constructor(t,r){this.value=t,this.children=r}toString(){return`TreeNode(${this.value})`}};function je(i){let t={};return i&&i.children.forEach(r=>t[r.value.outlet]=r),t}var Ti=class extends Si{constructor(t,r){super(t),this.snapshot=r,mo(this,t)}toString(){return this.snapshot.toString()}};function Hs(i){let t=au(i),r=new it([new pe("",{})]),e=new it({}),n=new it({}),o=new it({}),a=new it(""),s=new Bt(r,e,o,a,n,I,i,t.root);return s.snapshot=t.root,new Ti(new ut(s,[]),t)}function au(i){let t={},r={},e={},n="",o=new Ve([],t,e,n,r,I,i,null,{});return new Oi("",new ut(o,[]))}var Bt=class{constructor(t,r,e,n,o,a,s,c){this.urlSubject=t,this.paramsSubject=r,this.queryParamsSubject=e,this.fragmentSubject=n,this.dataSubject=o,this.outlet=a,this.component=s,this._futureSnapshot=c,this.title=this.dataSubject?.pipe(_(l=>l[Rn]))??b(void 0),this.url=t,this.params=r,this.queryParams=e,this.fragment=n,this.data=o}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe(_(t=>Be(t))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(_(t=>Be(t))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function Ri(i,t,r="emptyOnly"){let e,{routeConfig:n}=i;return t!==null&&(r==="always"||n?.path===""||!t.component&&!t.routeConfig?.loadComponent)?e={params:p(p({},t.params),i.params),data:p(p({},t.data),i.data),resolve:p(p(p(p({},i.data),t.data),n?.data),i._resolvedData)}:e={params:p({},i.params),data:p({},i.data),resolve:p(p({},i.data),i._resolvedData??{})},n&&qs(n)&&(e.resolve[Rn]=n.title),e}var Ve=class{get title(){return this.data?.[Rn]}constructor(t,r,e,n,o,a,s,c,l){this.url=t,this.params=r,this.queryParams=e,this.fragment=n,this.data=o,this.outlet=a,this.component=s,this.routeConfig=c,this._resolve=l}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=Be(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=Be(this.queryParams),this._queryParamMap}toString(){let t=this.url.map(e=>e.toString()).join("/"),r=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${t}', path:'${r}')`}},Oi=class extends Si{constructor(t,r){super(r),this.url=t,mo(this,r)}toString(){return Ws(this._root)}};function mo(i,t){t.value._routerState=i,t.children.forEach(r=>mo(i,r))}function Ws(i){let t=i.children.length>0?` { ${i.children.map(Ws).join(", ")} } `:"";return`${i.value}${t}`}function Lr(i){if(i.snapshot){let t=i.snapshot,r=i._futureSnapshot;i.snapshot=r,Tt(t.queryParams,r.queryParams)||i.queryParamsSubject.next(r.queryParams),t.fragment!==r.fragment&&i.fragmentSubject.next(r.fragment),Tt(t.params,r.params)||i.paramsSubject.next(r.params),kd(t.url,r.url)||i.urlSubject.next(r.url),Tt(t.data,r.data)||i.dataSubject.next(r.data)}else i.snapshot=i._futureSnapshot,i.dataSubject.next(i._futureSnapshot.data)}function ro(i,t){let r=Tt(i.params,t.params)&&jd(i.url,t.url),e=!i.parent!=!t.parent;return r&&!e&&(!i.parent||ro(i.parent,t.parent))}function qs(i){return typeof i.title=="string"||i.title===null}var po=(()=>{let t=class t{constructor(){this.activated=null,this._activatedRoute=null,this.name=I,this.activateEvents=new Ct,this.deactivateEvents=new Ct,this.attachEvents=new Ct,this.detachEvents=new Ct,this.parentContexts=g(Fn),this.location=g(ua),this.changeDetector=g(Se),this.inputBinder=g(ji,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(e){if(e.name){let{firstChange:n,previousValue:o}=e.name;if(n)return;this.isTrackedInParentContexts(o)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(o)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(e){return this.parentContexts.getContext(e)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let e=this.parentContexts.getContext(this.name);e?.route&&(e.attachRef?this.attach(e.attachRef,e.route):this.activateWith(e.route,e.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new j(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new j(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new j(4012,!1);this.location.detach();let e=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(e.instance),e}attach(e,n){this.activated=e,this._activatedRoute=n,this.location.insert(e.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(e.instance)}deactivate(){if(this.activated){let e=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(e)}}activateWith(e,n){if(this.isActivated)throw new j(4013,!1);this._activatedRoute=e;let o=this.location,s=e.snapshot.component,c=this.parentContexts.getOrCreateContext(this.name).children,l=new oo(e,c,o.injector);this.activated=o.createComponent(s,{index:o.length,injector:l,environmentInjector:n}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}};t.\u0275fac=function(n){return new(n||t)},t.\u0275dir=L({type:t,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[oe]});let i=t;return i})(),oo=class i{__ngOutletInjector(t){return new i(this.route,this.childContexts,t)}constructor(t,r,e){this.route=t,this.childContexts=r,this.parent=e}get(t,r){return t===Bt?this.route:t===Fn?this.childContexts:this.parent.get(t,r)}},ji=new E(""),Es=(()=>{let t=class t{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(e){this.unsubscribeFromRouteData(e),this.subscribeToRouteData(e)}unsubscribeFromRouteData(e){this.outletDataSubscriptions.get(e)?.unsubscribe(),this.outletDataSubscriptions.delete(e)}subscribeToRouteData(e){let{activatedRoute:n}=e,o=we([n.queryParams,n.params,n.data]).pipe(ft(([a,s,c],l)=>(c=p(p(p({},a),s),c),l===0?b(c):Promise.resolve(c)))).subscribe(a=>{if(!e.isActivated||!e.activatedComponentRef||e.activatedRoute!==n||n.component===null){this.unsubscribeFromRouteData(e);return}let s=xa(n.component);if(!s){this.unsubscribeFromRouteData(e);return}for(let{templateName:c}of s.inputs)e.activatedComponentRef.setInput(c,a[c])});this.outletDataSubscriptions.set(e,o)}};t.\u0275fac=function(n){return new(n||t)},t.\u0275prov=y({token:t,factory:t.\u0275fac});let i=t;return i})();function su(i,t,r){let e=An(i,t._root,r?r._root:void 0);return new Ti(e,t)}function An(i,t,r){if(r&&i.shouldReuseRoute(t.value,r.value.snapshot)){let e=r.value;e._futureSnapshot=t.value;let n=cu(i,t,r);return new ut(e,n)}else{if(i.shouldAttach(t.value)){let o=i.retrieve(t.value);if(o!==null){let a=o.route;return a.value._futureSnapshot=t.value,a.children=t.children.map(s=>An(i,s)),a}}let e=lu(t.value),n=t.children.map(o=>An(i,o));return new ut(e,n)}}function cu(i,t,r){return t.children.map(e=>{for(let n of r.children)if(i.shouldReuseRoute(e.value,n.value.snapshot))return An(i,e,n);return An(i,e)})}function lu(i){return new Bt(new it(i.url),new it(i.params),new it(i.queryParams),new it(i.fragment),new it(i.data),i.outlet,i.component,i)}var Mn=class{constructor(t,r){this.redirectTo=t,this.navigationBehaviorOptions=r}},Ks="ngNavigationCancelingError";function ki(i,t){let{redirectTo:r,navigationBehaviorOptions:e}=ge(t)?{redirectTo:t,navigationBehaviorOptions:void 0}:t,n=Ys(!1,ht.Redirect);return n.url=r,n.navigationBehaviorOptions=e,n}function Ys(i,t){let r=new Error(`NavigationCancelingError: ${i||""}`);return r[Ks]=!0,r.cancellationCode=t,r}function du(i){return Zs(i)&&ge(i.url)}function Zs(i){return!!i&&i[Ks]}var uu=(i,t,r,e)=>_(n=>(new ao(t,n.targetRouterState,n.currentRouterState,r,e).activate(i),n)),ao=class{constructor(t,r,e,n,o){this.routeReuseStrategy=t,this.futureState=r,this.currState=e,this.forwardEvent=n,this.inputBindingEnabled=o}activate(t){let r=this.futureState._root,e=this.currState?this.currState._root:null;this.deactivateChildRoutes(r,e,t),Lr(this.futureState.root),this.activateChildRoutes(r,e,t)}deactivateChildRoutes(t,r,e){let n=je(r);t.children.forEach(o=>{let a=o.value.outlet;this.deactivateRoutes(o,n[a],e),delete n[a]}),Object.values(n).forEach(o=>{this.deactivateRouteAndItsChildren(o,e)})}deactivateRoutes(t,r,e){let n=t.value,o=r?r.value:null;if(n===o)if(n.component){let a=e.getContext(n.outlet);a&&this.deactivateChildRoutes(t,r,a.children)}else this.deactivateChildRoutes(t,r,e);else o&&this.deactivateRouteAndItsChildren(r,e)}deactivateRouteAndItsChildren(t,r){t.value.component&&this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,r):this.deactivateRouteAndOutlet(t,r)}detachAndStoreRouteSubtree(t,r){let e=r.getContext(t.value.outlet),n=e&&t.value.component?e.children:r,o=je(t);for(let a of Object.values(o))this.deactivateRouteAndItsChildren(a,n);if(e&&e.outlet){let a=e.outlet.detach(),s=e.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:a,route:t,contexts:s})}}deactivateRouteAndOutlet(t,r){let e=r.getContext(t.value.outlet),n=e&&t.value.component?e.children:r,o=je(t);for(let a of Object.values(o))this.deactivateRouteAndItsChildren(a,n);e&&(e.outlet&&(e.outlet.deactivate(),e.children.onOutletDeactivated()),e.attachRef=null,e.route=null)}activateChildRoutes(t,r,e){let n=je(r);t.children.forEach(o=>{this.activateRoutes(o,n[o.value.outlet],e),this.forwardEvent(new to(o.value.snapshot))}),t.children.length&&this.forwardEvent(new Qr(t.value.snapshot))}activateRoutes(t,r,e){let n=t.value,o=r?r.value:null;if(Lr(n),n===o)if(n.component){let a=e.getOrCreateContext(n.outlet);this.activateChildRoutes(t,r,a.children)}else this.activateChildRoutes(t,r,e);else if(n.component){let a=e.getOrCreateContext(n.outlet);if(this.routeReuseStrategy.shouldAttach(n.snapshot)){let s=this.routeReuseStrategy.retrieve(n.snapshot);this.routeReuseStrategy.store(n.snapshot,null),a.children.onOutletReAttached(s.contexts),a.attachRef=s.componentRef,a.route=s.route.value,a.outlet&&a.outlet.attach(s.componentRef,s.route.value),Lr(s.route.value),this.activateChildRoutes(t,null,a.children)}else a.attachRef=null,a.route=n,a.outlet&&a.outlet.activateWith(n,a.injector),this.activateChildRoutes(t,null,a.children)}else this.activateChildRoutes(t,null,e)}},Fi=class{constructor(t){this.path=t,this.route=this.path[this.path.length-1]}},Ue=class{constructor(t,r){this.component=t,this.route=r}};function hu(i,t,r){let e=i._root,n=t?t._root:null;return yn(e,n,r,[e.value])}function mu(i){let t=i.routeConfig?i.routeConfig.canActivateChild:null;return!t||t.length===0?null:{node:i,guards:t}}function We(i,t){let r=Symbol(),e=t.get(i,r);return e===r?typeof i=="function"&&!Yo(i)?i:t.get(i):e}function yn(i,t,r,e,n={canDeactivateChecks:[],canActivateChecks:[]}){let o=je(t);return i.children.forEach(a=>{pu(a,o[a.value.outlet],r,e.concat([a.value]),n),delete o[a.value.outlet]}),Object.entries(o).forEach(([a,s])=>In(s,r.getContext(a),n)),n}function pu(i,t,r,e,n={canDeactivateChecks:[],canActivateChecks:[]}){let o=i.value,a=t?t.value:null,s=r?r.getContext(i.value.outlet):null;if(a&&o.routeConfig===a.routeConfig){let c=fu(a,o,o.routeConfig.runGuardsAndResolvers);c?n.canActivateChecks.push(new Fi(e)):(o.data=a.data,o._resolvedData=a._resolvedData),o.component?yn(i,t,s?s.children:null,e,n):yn(i,t,r,e,n),c&&s&&s.outlet&&s.outlet.isActivated&&n.canDeactivateChecks.push(new Ue(s.outlet.component,a))}else a&&In(t,s,n),n.canActivateChecks.push(new Fi(e)),o.component?yn(i,null,s?s.children:null,e,n):yn(i,null,r,e,n);return n}function fu(i,t,r){if(typeof r=="function")return r(i,t);switch(r){case"pathParamsChange":return!fe(i.url,t.url);case"pathParamsOrQueryParamsChange":return!fe(i.url,t.url)||!Tt(i.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!ro(i,t)||!Tt(i.queryParams,t.queryParams);case"paramsChange":default:return!ro(i,t)}}function In(i,t,r){let e=je(i),n=i.value;Object.entries(e).forEach(([o,a])=>{n.component?t?In(a,t.children.getContext(o),r):In(a,null,r):In(a,t,r)}),n.component?t&&t.outlet&&t.outlet.isActivated?r.canDeactivateChecks.push(new Ue(t.outlet.component,n)):r.canDeactivateChecks.push(new Ue(null,n)):r.canDeactivateChecks.push(new Ue(null,n))}function Nn(i){return typeof i=="function"}function gu(i){return typeof i=="boolean"}function bu(i){return i&&Nn(i.canLoad)}function vu(i){return i&&Nn(i.canActivate)}function yu(i){return i&&Nn(i.canActivateChild)}function _u(i){return i&&Nn(i.canDeactivate)}function wu(i){return i&&Nn(i.canMatch)}function Xs(i){return i instanceof $o||i?.name==="EmptyError"}var _i=Symbol("INITIAL_VALUE");function He(){return ft(i=>we(i.map(t=>t.pipe(wt(1),Kn(_i)))).pipe(_(t=>{for(let r of t)if(r!==!0){if(r===_i)return _i;if(r===!1||Cu(r))return r}return!0}),Dt(t=>t!==_i),wt(1)))}function Cu(i){return ge(i)||i instanceof Mn}function Iu(i,t){return at(r=>{let{targetSnapshot:e,currentSnapshot:n,guards:{canActivateChecks:o,canDeactivateChecks:a}}=r;return a.length===0&&o.length===0?b(F(p({},r),{guardsResult:!0})):xu(a,e,n,i).pipe(at(s=>s&&gu(s)?Eu(e,o,i,t):b(s)),_(s=>F(p({},r),{guardsResult:s})))})}function xu(i,t,r,e){return Y(i).pipe(at(n=>Tu(n.component,n.route,r,t,e)),Kt(n=>n!==!0,!0))}function Eu(i,t,r,e){return Y(t).pipe(qt(n=>Hn(Au(n.route.parent,e),Du(n.route,e),Su(i,n.path,r),Mu(i,n.route,r))),Kt(n=>n!==!0,!0))}function Du(i,t){return i!==null&&t&&t(new Jr(i)),b(!0)}function Au(i,t){return i!==null&&t&&t(new Xr(i)),b(!0)}function Mu(i,t,r){let e=t.routeConfig?t.routeConfig.canActivate:null;if(!e||e.length===0)return b(!0);let n=e.map(o=>Ji(()=>{let a=kn(t)??r,s=We(o,a),c=vu(s)?s.canActivate(t,i):At(a,()=>s(t,i));return ne(c).pipe(Kt())}));return b(n).pipe(He())}function Su(i,t,r){let e=t[t.length-1],o=t.slice(0,t.length-1).reverse().map(a=>mu(a)).filter(a=>a!==null).map(a=>Ji(()=>{let s=a.guards.map(c=>{let l=kn(a.node)??r,d=We(c,l),u=yu(d)?d.canActivateChild(e,i):At(l,()=>d(e,i));return ne(u).pipe(Kt())});return b(s).pipe(He())}));return b(o).pipe(He())}function Tu(i,t,r,e,n){let o=t&&t.routeConfig?t.routeConfig.canDeactivate:null;if(!o||o.length===0)return b(!0);let a=o.map(s=>{let c=kn(t)??n,l=We(s,c),d=_u(l)?l.canDeactivate(i,t,r,e):At(c,()=>l(i,t,r,e));return ne(d).pipe(Kt())});return b(a).pipe(He())}function Ru(i,t,r,e){let n=t.canLoad;if(n===void 0||n.length===0)return b(!0);let o=n.map(a=>{let s=We(a,i),c=bu(s)?s.canLoad(t,r):At(i,()=>s(t,r));return ne(c)});return b(o).pipe(He(),Qs(e))}function Qs(i){return zo(U(t=>{if(typeof t!="boolean")throw ki(i,t)}),_(t=>t===!0))}function Ou(i,t,r,e){let n=t.canMatch;if(!n||n.length===0)return b(!0);let o=n.map(a=>{let s=We(a,i),c=wu(s)?s.canMatch(t,r):At(i,()=>s(t,r));return ne(c)});return b(o).pipe(He(),Qs(e))}var Sn=class{constructor(t){this.segmentGroup=t||null}},Tn=class extends Error{constructor(t){super(),this.urlTree=t}};function Pe(i){return ie(new Sn(i))}function ku(i){return ie(new j(4e3,!1))}function Fu(i){return ie(Ys(!1,ht.GuardRejected))}var so=class{constructor(t,r){this.urlSerializer=t,this.urlTree=r}lineralizeSegments(t,r){let e=[],n=r.root;for(;;){if(e=e.concat(n.segments),n.numberOfChildren===0)return b(e);if(n.numberOfChildren>1||!n.children[I])return ku(`${t.redirectTo}`);n=n.children[I]}}applyRedirectCommands(t,r,e,n,o){if(typeof r!="string"){let s=r,{queryParams:c,fragment:l,routeConfig:d,url:u,outlet:h,params:m,data:D,title:T}=n,R=At(o,()=>s({params:m,data:D,queryParams:c,fragment:l,routeConfig:d,url:u,outlet:h,title:T}));if(R instanceof Ut)throw new Tn(R);r=R}let a=this.applyRedirectCreateUrlTree(r,this.urlSerializer.parse(r),t,e);if(r[0]==="/")throw new Tn(a);return a}applyRedirectCreateUrlTree(t,r,e,n){let o=this.createSegmentGroup(t,r.root,e,n);return new Ut(o,this.createQueryParams(r.queryParams,this.urlTree.queryParams),r.fragment)}createQueryParams(t,r){let e={};return Object.entries(t).forEach(([n,o])=>{if(typeof o=="string"&&o[0]===":"){let s=o.substring(1);e[n]=r[s]}else e[n]=o}),e}createSegmentGroup(t,r,e,n){let o=this.createSegments(t,r.segments,e,n),a={};return Object.entries(r.children).forEach(([s,c])=>{a[s]=this.createSegmentGroup(t,c,e,n)}),new M(o,a)}createSegments(t,r,e,n){return r.map(o=>o.path[0]===":"?this.findPosParam(t,o,n):this.findOrReturn(o,e))}findPosParam(t,r,e){let n=e[r.path.substring(1)];if(!n)throw new j(4001,!1);return n}findOrReturn(t,r){let e=0;for(let n of r){if(n.path===t.path)return r.splice(e),n;e++}return t}},co={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Nu(i,t,r,e,n){let o=fo(i,t,r);return o.matched?(e=ru(t,e),Ou(e,t,r,n).pipe(_(a=>a===!0?o:p({},co)))):b(o)}function fo(i,t,r){if(t.path==="**")return Pu(r);if(t.path==="")return t.pathMatch==="full"&&(i.hasChildren()||r.length>0)?p({},co):{matched:!0,consumedSegments:[],remainingSegments:r,parameters:{},positionalParamSegments:{}};let n=(t.matcher||Od)(r,i,t);if(!n)return p({},co);let o={};Object.entries(n.posParams??{}).forEach(([s,c])=>{o[s]=c.path});let a=n.consumed.length>0?p(p({},o),n.consumed[n.consumed.length-1].parameters):o;return{matched:!0,consumedSegments:n.consumed,remainingSegments:r.slice(n.consumed.length),parameters:a,positionalParamSegments:n.posParams??{}}}function Pu(i){return{matched:!0,parameters:i.length>0?Os(i).parameters:{},consumedSegments:i,remainingSegments:[],positionalParamSegments:{}}}function Ds(i,t,r,e){return r.length>0&&Vu(i,r,e)?{segmentGroup:new M(t,Lu(e,new M(r,i.children))),slicedSegments:[]}:r.length===0&&Uu(i,r,e)?{segmentGroup:new M(i.segments,ju(i,r,e,i.children)),slicedSegments:r}:{segmentGroup:new M(i.segments,i.children),slicedSegments:r}}function ju(i,t,r,e){let n={};for(let o of r)if(Li(i,t,o)&&!e[It(o)]){let a=new M([],{});n[It(o)]=a}return p(p({},e),n)}function Lu(i,t){let r={};r[I]=t;for(let e of i)if(e.path===""&&It(e)!==I){let n=new M([],{});r[It(e)]=n}return r}function Vu(i,t,r){return r.some(e=>Li(i,t,e)&&It(e)!==I)}function Uu(i,t,r){return r.some(e=>Li(i,t,e))}function Li(i,t,r){return(i.hasChildren()||t.length>0)&&r.pathMatch==="full"?!1:r.path===""}function Bu(i,t,r,e){return It(i)!==e&&(e===I||!Li(t,r,i))?!1:fo(t,i,r).matched}function zu(i,t,r){return t.length===0&&!i.children[r]}var lo=class{};function $u(i,t,r,e,n,o,a="emptyOnly"){return new uo(i,t,r,e,n,a,o).recognize()}var Gu=31,uo=class{constructor(t,r,e,n,o,a,s){this.injector=t,this.configLoader=r,this.rootComponentType=e,this.config=n,this.urlTree=o,this.paramsInheritanceStrategy=a,this.urlSerializer=s,this.applyRedirects=new so(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(t){return new j(4002,`'${t.segmentGroup}'`)}recognize(){let t=Ds(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(t).pipe(_(({children:r,rootSnapshot:e})=>{let n=new ut(e,r),o=new Oi("",n),a=Xd(e,[],this.urlTree.queryParams,this.urlTree.fragment);return a.queryParams=this.urlTree.queryParams,o.url=this.urlSerializer.serialize(a),{state:o,tree:a}}))}match(t){let r=new Ve([],Object.freeze({}),Object.freeze(p({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),I,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,t,I,r).pipe(_(e=>({children:e,rootSnapshot:r})),Wt(e=>{if(e instanceof Tn)return this.urlTree=e.urlTree,this.match(e.urlTree.root);throw e instanceof Sn?this.noMatchError(e):e}))}processSegmentGroup(t,r,e,n,o){return e.segments.length===0&&e.hasChildren()?this.processChildren(t,r,e,o):this.processSegment(t,r,e,e.segments,n,!0,o).pipe(_(a=>a instanceof ut?[a]:[]))}processChildren(t,r,e,n){let o=[];for(let a of Object.keys(e.children))a==="primary"?o.unshift(a):o.push(a);return Y(o).pipe(qt(a=>{let s=e.children[a],c=ou(r,a);return this.processSegmentGroup(t,c,s,a,n)}),qo((a,s)=>(a.push(...s),a)),er(null),Wo(),at(a=>{if(a===null)return Pe(e);let s=Js(a);return Hu(s),b(s)}))}processSegment(t,r,e,n,o,a,s){return Y(r).pipe(qt(c=>this.processSegmentAgainstRoute(c._injector??t,r,c,e,n,o,a,s).pipe(Wt(l=>{if(l instanceof Sn)return b(null);throw l}))),Kt(c=>!!c),Wt(c=>{if(Xs(c))return zu(e,n,o)?b(new lo):Pe(e);throw c}))}processSegmentAgainstRoute(t,r,e,n,o,a,s,c){return Bu(e,n,o,a)?e.redirectTo===void 0?this.matchSegmentAgainstRoute(t,n,e,o,a,c):this.allowRedirects&&s?this.expandSegmentAgainstRouteUsingRedirect(t,n,r,e,o,a,c):Pe(n):Pe(n)}expandSegmentAgainstRouteUsingRedirect(t,r,e,n,o,a,s){let{matched:c,parameters:l,consumedSegments:d,positionalParamSegments:u,remainingSegments:h}=fo(r,n,o);if(!c)return Pe(r);typeof n.redirectTo=="string"&&n.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>Gu&&(this.allowRedirects=!1));let m=new Ve(o,l,Object.freeze(p({},this.urlTree.queryParams)),this.urlTree.fragment,As(n),It(n),n.component??n._loadedComponent??null,n,Ms(n)),D=Ri(m,s,this.paramsInheritanceStrategy);m.params=Object.freeze(D.params),m.data=Object.freeze(D.data);let T=this.applyRedirects.applyRedirectCommands(d,n.redirectTo,u,m,t);return this.applyRedirects.lineralizeSegments(n,T).pipe(at(R=>this.processSegment(t,e,r,R.concat(h),a,!1,s)))}matchSegmentAgainstRoute(t,r,e,n,o,a){let s=Nu(r,e,n,t,this.urlSerializer);return e.path==="**"&&(r.children={}),s.pipe(ft(c=>c.matched?(t=e._injector??t,this.getChildConfig(t,e,n).pipe(ft(({routes:l})=>{let d=e._loadedInjector??t,{parameters:u,consumedSegments:h,remainingSegments:m}=c,D=new Ve(h,u,Object.freeze(p({},this.urlTree.queryParams)),this.urlTree.fragment,As(e),It(e),e.component??e._loadedComponent??null,e,Ms(e)),T=Ri(D,a,this.paramsInheritanceStrategy);D.params=Object.freeze(T.params),D.data=Object.freeze(T.data);let{segmentGroup:R,slicedSegments:et}=Ds(r,h,m,l);if(et.length===0&&R.hasChildren())return this.processChildren(d,l,R,D).pipe(_(x=>new ut(D,x)));if(l.length===0&&et.length===0)return b(new ut(D,[]));let ot=It(e)===o;return this.processSegment(d,l,R,et,ot?I:o,!0,D).pipe(_(x=>new ut(D,x instanceof ut?[x]:[])))}))):Pe(r)))}getChildConfig(t,r,e){return r.children?b({routes:r.children,injector:t}):r.loadChildren?r._loadedRoutes!==void 0?b({routes:r._loadedRoutes,injector:r._loadedInjector}):Ru(t,r,e,this.urlSerializer).pipe(at(n=>n?this.configLoader.loadChildren(t,r).pipe(U(o=>{r._loadedRoutes=o.routes,r._loadedInjector=o.injector})):Fu(r))):b({routes:[],injector:t})}};function Hu(i){i.sort((t,r)=>t.value.outlet===I?-1:r.value.outlet===I?1:t.value.outlet.localeCompare(r.value.outlet))}function Wu(i){let t=i.value.routeConfig;return t&&t.path===""}function Js(i){let t=[],r=new Set;for(let e of i){if(!Wu(e)){t.push(e);continue}let n=t.find(o=>e.value.routeConfig===o.value.routeConfig);n!==void 0?(n.children.push(...e.children),r.add(n)):t.push(e)}for(let e of r){let n=Js(e.children);t.push(new ut(e.value,n))}return t.filter(e=>!r.has(e))}function As(i){return i.data||{}}function Ms(i){return i.resolve||{}}function qu(i,t,r,e,n,o){return at(a=>$u(i,t,r,e,a.extractedUrl,n,o).pipe(_(({state:s,tree:c})=>F(p({},a),{targetSnapshot:s,urlAfterRedirects:c}))))}function Ku(i,t){return at(r=>{let{targetSnapshot:e,guards:{canActivateChecks:n}}=r;if(!n.length)return b(r);let o=new Set(n.map(c=>c.route)),a=new Set;for(let c of o)if(!a.has(c))for(let l of tc(c))a.add(l);let s=0;return Y(a).pipe(qt(c=>o.has(c)?Yu(c,e,i,t):(c.data=Ri(c,c.parent,i).resolve,b(void 0))),U(()=>s++),nr(1),at(c=>s===a.size?b(r):Ht))})}function tc(i){let t=i.children.map(r=>tc(r)).flat();return[i,...t]}function Yu(i,t,r,e){let n=i.routeConfig,o=i._resolve;return n?.title!==void 0&&!qs(n)&&(o[Rn]=n.title),Zu(o,i,t,e).pipe(_(a=>(i._resolvedData=a,i.data=Ri(i,i.parent,r).resolve,null)))}function Zu(i,t,r,e){let n=Br(i);if(n.length===0)return b({});let o={};return Y(n).pipe(at(a=>Xu(i[a],t,r,e).pipe(Kt(),U(s=>{if(s instanceof Mn)throw ki(new ze,s);o[a]=s}))),nr(1),Go(o),Wt(a=>Xs(a)?Ht:ie(a)))}function Xu(i,t,r,e){let n=kn(t)??e,o=We(i,n),a=o.resolve?o.resolve(t,r):At(n,()=>o(t,r));return ne(a)}function Vr(i){return ft(t=>{let r=i(t);return r?Y(r).pipe(_(()=>t)):b(t)})}var ec=(()=>{let t=class t{buildTitle(e){let n,o=e.root;for(;o!==void 0;)n=this.getResolvedTitleForRoute(o)??n,o=o.children.find(a=>a.outlet===I);return n}getResolvedTitleForRoute(e){return e.data[Rn]}};t.\u0275fac=function(n){return new(n||t)},t.\u0275prov=y({token:t,factory:()=>g(Qu),providedIn:"root"});let i=t;return i})(),Qu=(()=>{let t=class t extends ec{constructor(e){super(),this.title=e}updateTitle(e){let n=this.buildTitle(e);n!==void 0&&this.title.setTitle(n)}};t.\u0275fac=function(n){return new(n||t)(f(vs))},t.\u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"});let i=t;return i})(),Pn=new E("",{providedIn:"root",factory:()=>({})}),Ju=(()=>{let t=class t{};t.\u0275fac=function(n){return new(n||t)},t.\u0275cmp=B({type:t,selectors:[["ng-component"]],standalone:!0,features:[z],decls:1,vars:0,template:function(n,o){n&1&&Q(0,"router-outlet")},dependencies:[po],encapsulation:2});let i=t;return i})();function go(i){let t=i.children&&i.children.map(go),r=t?F(p({},i),{children:t}):p({},i);return!r.component&&!r.loadComponent&&(t||r.loadChildren)&&r.outlet&&r.outlet!==I&&(r.component=Ju),r}var Ni=new E(""),bo=(()=>{let t=class t{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=g(ai)}loadComponent(e){if(this.componentLoaders.get(e))return this.componentLoaders.get(e);if(e._loadedComponent)return b(e._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(e);let n=ne(e.loadComponent()).pipe(_(nc),U(a=>{this.onLoadEndListener&&this.onLoadEndListener(e),e._loadedComponent=a}),re(()=>{this.componentLoaders.delete(e)})),o=new Zi(n,()=>new Z).pipe(Yi());return this.componentLoaders.set(e,o),o}loadChildren(e,n){if(this.childrenLoaders.get(n))return this.childrenLoaders.get(n);if(n._loadedRoutes)return b({routes:n._loadedRoutes,injector:n._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(n);let a=th(n,this.compiler,e,this.onLoadEndListener).pipe(re(()=>{this.childrenLoaders.delete(n)})),s=new Zi(a,()=>new Z).pipe(Yi());return this.childrenLoaders.set(n,s),s}};t.\u0275fac=function(n){return new(n||t)},t.\u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"});let i=t;return i})();function th(i,t,r,e){return ne(i.loadChildren()).pipe(_(nc),at(n=>n instanceof ha||Array.isArray(n)?b(n):Y(t.compileModuleAsync(n))),_(n=>{e&&e(i);let o,a,s=!1;return Array.isArray(n)?(a=n,s=!0):(o=n.create(r).injector,a=o.get(Ni,[],{optional:!0,self:!0}).flat()),{routes:a.map(go),injector:o}}))}function eh(i){return i&&typeof i=="object"&&"default"in i}function nc(i){return eh(i)?i.default:i}var vo=(()=>{let t=class t{};t.\u0275fac=function(n){return new(n||t)},t.\u0275prov=y({token:t,factory:()=>g(nh),providedIn:"root"});let i=t;return i})(),nh=(()=>{let t=class t{shouldProcessUrl(e){return!0}extract(e){return e}merge(e,n){return e}};t.\u0275fac=function(n){return new(n||t)},t.\u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"});let i=t;return i})(),ic=new E(""),rc=new E("");function ih(i,t,r){let e=i.get(rc),n=i.get(O);return i.get(V).runOutsideAngular(()=>{if(!n.startViewTransition||e.skipNextTransition)return e.skipNextTransition=!1,new Promise(l=>setTimeout(l));let o,a=new Promise(l=>{o=l}),s=n.startViewTransition(()=>(o(),rh(i))),{onViewTransitionCreated:c}=e;return c&&At(i,()=>c({transition:s,from:t,to:r})),a})}function rh(i){return new Promise(t=>{or({read:()=>setTimeout(t)},{injector:i})})}var oh=new E(""),yo=(()=>{let t=class t{get hasRequestedNavigation(){return this.navigationId!==0}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new Z,this.transitionAbortSubject=new Z,this.configLoader=g(bo),this.environmentInjector=g(Ie),this.urlSerializer=g(On),this.rootContexts=g(Fn),this.location=g(an),this.inputBindingEnabled=g(ji,{optional:!0})!==null,this.titleStrategy=g(ec),this.options=g(Pn,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=g(vo),this.createViewTransition=g(ic,{optional:!0}),this.navigationErrorHandler=g(oh,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>b(void 0),this.rootComponentType=null;let e=o=>this.events.next(new Yr(o)),n=o=>this.events.next(new Zr(o));this.configLoader.onLoadEndListener=n,this.configLoader.onLoadStartListener=e}complete(){this.transitions?.complete()}handleNavigationRequest(e){let n=++this.navigationId;this.transitions?.next(F(p(p({},this.transitions.value),e),{id:n}))}setupNavigations(e,n,o){return this.transitions=new it({id:0,currentUrlTree:n,currentRawUrl:n,extractedUrl:this.urlHandlingStrategy.extract(n),urlAfterRedirects:this.urlHandlingStrategy.extract(n),rawUrl:n,extras:{},resolve:()=>{},reject:()=>{},promise:Promise.resolve(!0),source:Cn,restoredState:null,currentSnapshot:o.snapshot,targetSnapshot:null,currentRouterState:o,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(Dt(a=>a.id!==0),_(a=>F(p({},a),{extractedUrl:this.urlHandlingStrategy.extract(a.rawUrl)})),ft(a=>{let s=!1,c=!1;return b(a).pipe(ft(l=>{if(this.navigationId>a.id)return this.cancelNavigationTransition(a,"",ht.SupersededByNewNavigation),Ht;this.currentTransition=a,this.currentNavigation={id:l.id,initialUrl:l.rawUrl,extractedUrl:l.extractedUrl,targetBrowserUrl:typeof l.extras.browserUrl=="string"?this.urlSerializer.parse(l.extras.browserUrl):l.extras.browserUrl,trigger:l.source,extras:l.extras,previousNavigation:this.lastSuccessfulNavigation?F(p({},this.lastSuccessfulNavigation),{previousNavigation:null}):null};let d=!e.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),u=l.extras.onSameUrlNavigation??e.onSameUrlNavigation;if(!d&&u!=="reload"){let h="";return this.events.next(new te(l.id,this.urlSerializer.serialize(l.rawUrl),h,Di.IgnoredSameUrlNavigation)),l.resolve(!1),Ht}if(this.urlHandlingStrategy.shouldProcessUrl(l.rawUrl))return b(l).pipe(ft(h=>{let m=this.transitions?.getValue();return this.events.next(new $e(h.id,this.urlSerializer.serialize(h.extractedUrl),h.source,h.restoredState)),m!==this.transitions?.getValue()?Ht:Promise.resolve(h)}),qu(this.environmentInjector,this.configLoader,this.rootComponentType,e.config,this.urlSerializer,this.paramsInheritanceStrategy),U(h=>{a.targetSnapshot=h.targetSnapshot,a.urlAfterRedirects=h.urlAfterRedirects,this.currentNavigation=F(p({},this.currentNavigation),{finalUrl:h.urlAfterRedirects});let m=new Ai(h.id,this.urlSerializer.serialize(h.extractedUrl),this.urlSerializer.serialize(h.urlAfterRedirects),h.targetSnapshot);this.events.next(m)}));if(d&&this.urlHandlingStrategy.shouldProcessUrl(l.currentRawUrl)){let{id:h,extractedUrl:m,source:D,restoredState:T,extras:R}=l,et=new $e(h,this.urlSerializer.serialize(m),D,T);this.events.next(et);let ot=Hs(this.rootComponentType).snapshot;return this.currentTransition=a=F(p({},l),{targetSnapshot:ot,urlAfterRedirects:m,extras:F(p({},R),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=m,b(a)}else{let h="";return this.events.next(new te(l.id,this.urlSerializer.serialize(l.extractedUrl),h,Di.IgnoredByUrlHandlingStrategy)),l.resolve(!1),Ht}}),U(l=>{let d=new Hr(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(d)}),_(l=>(this.currentTransition=a=F(p({},l),{guards:hu(l.targetSnapshot,l.currentSnapshot,this.rootContexts)}),a)),Iu(this.environmentInjector,l=>this.events.next(l)),U(l=>{if(a.guardsResult=l.guardsResult,l.guardsResult&&typeof l.guardsResult!="boolean")throw ki(this.urlSerializer,l.guardsResult);let d=new Wr(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot,!!l.guardsResult);this.events.next(d)}),Dt(l=>l.guardsResult?!0:(this.cancelNavigationTransition(l,"",ht.GuardRejected),!1)),Vr(l=>{if(l.guards.canActivateChecks.length)return b(l).pipe(U(d=>{let u=new qr(d.id,this.urlSerializer.serialize(d.extractedUrl),this.urlSerializer.serialize(d.urlAfterRedirects),d.targetSnapshot);this.events.next(u)}),ft(d=>{let u=!1;return b(d).pipe(Ku(this.paramsInheritanceStrategy,this.environmentInjector),U({next:()=>u=!0,complete:()=>{u||this.cancelNavigationTransition(d,"",ht.NoDataFromResolver)}}))}),U(d=>{let u=new Kr(d.id,this.urlSerializer.serialize(d.extractedUrl),this.urlSerializer.serialize(d.urlAfterRedirects),d.targetSnapshot);this.events.next(u)}))}),Vr(l=>{let d=u=>{let h=[];u.routeConfig?.loadComponent&&!u.routeConfig._loadedComponent&&h.push(this.configLoader.loadComponent(u.routeConfig).pipe(U(m=>{u.component=m}),_(()=>{})));for(let m of u.children)h.push(...d(m));return h};return we(d(l.targetSnapshot.root)).pipe(er(null),wt(1))}),Vr(()=>this.afterPreactivation()),ft(()=>{let{currentSnapshot:l,targetSnapshot:d}=a,u=this.createViewTransition?.(this.environmentInjector,l.root,d.root);return u?Y(u).pipe(_(()=>a)):b(a)}),_(l=>{let d=su(e.routeReuseStrategy,l.targetSnapshot,l.currentRouterState);return this.currentTransition=a=F(p({},l),{targetRouterState:d}),this.currentNavigation.targetRouterState=d,a}),U(()=>{this.events.next(new Dn)}),uu(this.rootContexts,e.routeReuseStrategy,l=>this.events.next(l),this.inputBindingEnabled),wt(1),U({next:l=>{s=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new Rt(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects))),this.titleStrategy?.updateTitle(l.targetRouterState.snapshot),l.resolve(!0)},complete:()=>{s=!0}}),Ce(this.transitionAbortSubject.pipe(U(l=>{throw l}))),re(()=>{!s&&!c&&this.cancelNavigationTransition(a,"",ht.SupersededByNewNavigation),this.currentTransition?.id===a.id&&(this.currentNavigation=null,this.currentTransition=null)}),Wt(l=>{if(c=!0,Zs(l))this.events.next(new Vt(a.id,this.urlSerializer.serialize(a.extractedUrl),l.message,l.cancellationCode)),du(l)?this.events.next(new Ge(l.url,l.navigationBehaviorOptions)):a.resolve(!1);else{let d=new En(a.id,this.urlSerializer.serialize(a.extractedUrl),l,a.targetSnapshot??void 0);try{let u=At(this.environmentInjector,()=>this.navigationErrorHandler?.(d));if(u instanceof Mn){let{message:h,cancellationCode:m}=ki(this.urlSerializer,u);this.events.next(new Vt(a.id,this.urlSerializer.serialize(a.extractedUrl),h,m)),this.events.next(new Ge(u.redirectTo,u.navigationBehaviorOptions))}else{this.events.next(d);let h=e.errorHandler(l);a.resolve(!!h)}}catch(u){this.options.resolveNavigationPromiseOnError?a.resolve(!1):a.reject(u)}}return Ht}))}))}cancelNavigationTransition(e,n,o){let a=new Vt(e.id,this.urlSerializer.serialize(e.extractedUrl),n,o);this.events.next(a),e.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){let e=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),n=this.currentNavigation?.targetBrowserUrl??this.currentNavigation?.extractedUrl;return e.toString()!==n?.toString()&&!this.currentNavigation?.extras.skipLocationChange}};t.\u0275fac=function(n){return new(n||t)},t.\u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"});let i=t;return i})();function ah(i){return i!==Cn}var sh=(()=>{let t=class t{};t.\u0275fac=function(n){return new(n||t)},t.\u0275prov=y({token:t,factory:()=>g(ch),providedIn:"root"});let i=t;return i})(),ho=class{shouldDetach(t){return!1}store(t,r){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,r){return t.routeConfig===r.routeConfig}},ch=(()=>{let t=class t extends ho{};t.\u0275fac=(()=>{let e;return function(o){return(e||(e=ae(t)))(o||t)}})(),t.\u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"});let i=t;return i})(),oc=(()=>{let t=class t{};t.\u0275fac=function(n){return new(n||t)},t.\u0275prov=y({token:t,factory:()=>g(lh),providedIn:"root"});let i=t;return i})(),lh=(()=>{let t=class t extends oc{constructor(){super(...arguments),this.location=g(an),this.urlSerializer=g(On),this.options=g(Pn,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=g(vo),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new Ut,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=Hs(null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(e){return this.location.subscribe(n=>{n.type==="popstate"&&e(n.url,n.state)})}handleRouterEvent(e,n){if(e instanceof $e)this.stateMemento=this.createStateMemento();else if(e instanceof te)this.rawUrlTree=n.initialUrl;else if(e instanceof Ai){if(this.urlUpdateStrategy==="eager"&&!n.extras.skipLocationChange){let o=this.urlHandlingStrategy.merge(n.finalUrl,n.initialUrl);this.setBrowserUrl(n.targetBrowserUrl??o,n)}}else e instanceof Dn?(this.currentUrlTree=n.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(n.finalUrl,n.initialUrl),this.routerState=n.targetRouterState,this.urlUpdateStrategy==="deferred"&&!n.extras.skipLocationChange&&this.setBrowserUrl(n.targetBrowserUrl??this.rawUrlTree,n)):e instanceof Vt&&(e.code===ht.GuardRejected||e.code===ht.NoDataFromResolver)?this.restoreHistory(n):e instanceof En?this.restoreHistory(n,!0):e instanceof Rt&&(this.lastSuccessfulId=e.id,this.currentPageId=this.browserPageId)}setBrowserUrl(e,n){let o=e instanceof Ut?this.urlSerializer.serialize(e):e;if(this.location.isCurrentPathEqualTo(o)||n.extras.replaceUrl){let a=this.browserPageId,s=p(p({},n.extras.state),this.generateNgRouterState(n.id,a));this.location.replaceState(o,"",s)}else{let a=p(p({},n.extras.state),this.generateNgRouterState(n.id,this.browserPageId+1));this.location.go(o,"",a)}}restoreHistory(e,n=!1){if(this.canceledNavigationResolution==="computed"){let o=this.browserPageId,a=this.currentPageId-o;a!==0?this.location.historyGo(a):this.currentUrlTree===e.finalUrl&&a===0&&(this.resetState(e),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(n&&this.resetState(e),this.resetUrlToCurrentUrlTree())}resetState(e){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,e.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(e,n){return this.canceledNavigationResolution==="computed"?{navigationId:e,\u0275routerPageId:n}:{navigationId:e}}};t.\u0275fac=(()=>{let e;return function(o){return(e||(e=ae(t)))(o||t)}})(),t.\u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"});let i=t;return i})(),_n=function(i){return i[i.COMPLETE=0]="COMPLETE",i[i.FAILED=1]="FAILED",i[i.REDIRECTING=2]="REDIRECTING",i}(_n||{});function ac(i,t){i.events.pipe(Dt(r=>r instanceof Rt||r instanceof Vt||r instanceof En||r instanceof te),_(r=>r instanceof Rt||r instanceof te?_n.COMPLETE:(r instanceof Vt?r.code===ht.Redirect||r.code===ht.SupersededByNewNavigation:!1)?_n.REDIRECTING:_n.FAILED),Dt(r=>r!==_n.REDIRECTING),wt(1)).subscribe(()=>{t()})}function dh(i){throw i}var uh={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},hh={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},ee=(()=>{let t=class t{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){this.disposed=!1,this.console=g(ni),this.stateManager=g(oc),this.options=g(Pn,{optional:!0})||{},this.pendingTasks=g(Qo),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=g(yo),this.urlSerializer=g(On),this.location=g(an),this.urlHandlingStrategy=g(vo),this._events=new Z,this.errorHandler=this.options.errorHandler||dh,this.navigated=!1,this.routeReuseStrategy=g(sh),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=g(Ni,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!g(ji,{optional:!0}),this.eventsSubscription=new Ze,this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:e=>{this.console.warn(e)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){let e=this.navigationTransitions.events.subscribe(n=>{try{let o=this.navigationTransitions.currentTransition,a=this.navigationTransitions.currentNavigation;if(o!==null&&a!==null){if(this.stateManager.handleRouterEvent(n,a),n instanceof Vt&&n.code!==ht.Redirect&&n.code!==ht.SupersededByNewNavigation)this.navigated=!0;else if(n instanceof Rt)this.navigated=!0;else if(n instanceof Ge){let s=n.navigationBehaviorOptions,c=this.urlHandlingStrategy.merge(n.url,o.currentRawUrl),l=p({browserUrl:o.extras.browserUrl,info:o.extras.info,skipLocationChange:o.extras.skipLocationChange,replaceUrl:o.extras.replaceUrl||this.urlUpdateStrategy==="eager"||ah(o.source)},s);this.scheduleNavigation(c,Cn,null,l,{resolve:o.resolve,reject:o.reject,promise:o.promise})}}ph(n)&&this._events.next(n)}catch(o){this.navigationTransitions.transitionAbortSubject.next(o)}});this.eventsSubscription.add(e)}resetRootComponentType(e){this.routerState.root.component=e,this.navigationTransitions.rootComponentType=e}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),Cn,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((e,n)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(e,"popstate",n)},0)})}navigateToSyncWithBrowser(e,n,o){let a={replaceUrl:!0},s=o?.navigationId?o:null;if(o){let l=p({},o);delete l.navigationId,delete l.\u0275routerPageId,Object.keys(l).length!==0&&(a.state=l)}let c=this.parseUrl(e);this.scheduleNavigation(c,n,s,a)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(e){this.config=e.map(go),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(e,n={}){let{relativeTo:o,queryParams:a,fragment:s,queryParamsHandling:c,preserveFragment:l}=n,d=l?this.currentUrlTree.fragment:s,u=null;switch(c??this.options.defaultQueryParamsHandling){case"merge":u=p(p({},this.currentUrlTree.queryParams),a);break;case"preserve":u=this.currentUrlTree.queryParams;break;default:u=a||null}u!==null&&(u=this.removeEmptyProps(u));let h;try{let m=o?o.snapshot:this.routerState.snapshot.root;h=Bs(m)}catch{(typeof e[0]!="string"||e[0][0]!=="/")&&(e=[]),h=this.currentUrlTree.root}return zs(h,e,u,d??null)}navigateByUrl(e,n={skipLocationChange:!1}){let o=ge(e)?e:this.parseUrl(e),a=this.urlHandlingStrategy.merge(o,this.rawUrlTree);return this.scheduleNavigation(a,Cn,null,n)}navigate(e,n={skipLocationChange:!1}){return mh(e),this.navigateByUrl(this.createUrlTree(e,n),n)}serializeUrl(e){return this.urlSerializer.serialize(e)}parseUrl(e){try{return this.urlSerializer.parse(e)}catch{return this.urlSerializer.parse("/")}}isActive(e,n){let o;if(n===!0?o=p({},uh):n===!1?o=p({},hh):o=n,ge(e))return ws(this.currentUrlTree,e,o);let a=this.parseUrl(e);return ws(this.currentUrlTree,a,o)}removeEmptyProps(e){return Object.entries(e).reduce((n,[o,a])=>(a!=null&&(n[o]=a),n),{})}scheduleNavigation(e,n,o,a,s){if(this.disposed)return Promise.resolve(!1);let c,l,d;s?(c=s.resolve,l=s.reject,d=s.promise):d=new Promise((h,m)=>{c=h,l=m});let u=this.pendingTasks.add();return ac(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(u))}),this.navigationTransitions.handleNavigationRequest({source:n,restoredState:o,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:e,extras:a,resolve:c,reject:l,promise:d,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),d.catch(h=>Promise.reject(h))}};t.\u0275fac=function(n){return new(n||t)},t.\u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"});let i=t;return i})();function mh(i){for(let t=0;t{let t=class t{constructor(e,n,o,a,s,c){this.router=e,this.route=n,this.tabIndexAttribute=o,this.renderer=a,this.el=s,this.locationStrategy=c,this.href=null,this.onChanges=new Z,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1,this.routerLinkInput=null;let l=s.nativeElement.tagName?.toLowerCase();this.isAnchorElement=l==="a"||l==="area",this.isAnchorElement?this.subscription=e.events.subscribe(d=>{d instanceof Rt&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(e){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue("tabindex",e)}ngOnChanges(e){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(e){e==null?(this.routerLinkInput=null,this.setTabIndexIfNotOnNativeEl(null)):(ge(e)?this.routerLinkInput=e:this.routerLinkInput=Array.isArray(e)?e:[e],this.setTabIndexIfNotOnNativeEl("0"))}onClick(e,n,o,a,s){let c=this.urlTree;if(c===null||this.isAnchorElement&&(e!==0||n||o||a||s||typeof this.target=="string"&&this.target!="_self"))return!0;let l={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info};return this.router.navigateByUrl(c,l),!this.isAnchorElement}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){let e=this.urlTree;this.href=e!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(e)):null;let n=this.href===null?null:ca(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",n)}applyAttributeValue(e,n){let o=this.renderer,a=this.el.nativeElement;n!==null?o.setAttribute(a,e,n):o.removeAttribute(a,e)}get urlTree(){return this.routerLinkInput===null?null:ge(this.routerLinkInput)?this.routerLinkInput:this.router.createUrlTree(this.routerLinkInput,{relativeTo:this.relativeTo!==void 0?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}};t.\u0275fac=function(n){return new(n||t)(v(ee),v(Bt),Xn("tabindex"),v(rn),v(W),v(on))},t.\u0275dir=L({type:t,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(n,o){n&1&&q("click",function(s){return o.onClick(s.button,s.ctrlKey,s.shiftKey,s.altKey,s.metaKey)}),n&2&&Mt("target",o.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",J],skipLocationChange:[2,"skipLocationChange","skipLocationChange",J],replaceUrl:[2,"replaceUrl","replaceUrl",J],routerLink:"routerLink"},standalone:!0,features:[Zt,oe]});let i=t;return i})();var Pi=class{};var fh=(()=>{let t=class t{constructor(e,n,o,a,s){this.router=e,this.injector=o,this.preloadingStrategy=a,this.loader=s}setUpPreloading(){this.subscription=this.router.events.pipe(Dt(e=>e instanceof Rt),qt(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(e,n){let o=[];for(let a of n){a.providers&&!a._injector&&(a._injector=ar(a.providers,e,`Route: ${a.path}`));let s=a._injector??e,c=a._loadedInjector??s;(a.loadChildren&&!a._loadedRoutes&&a.canLoad===void 0||a.loadComponent&&!a._loadedComponent)&&o.push(this.preloadConfig(s,a)),(a.children||a._loadedRoutes)&&o.push(this.processRoutes(c,a.children??a._loadedRoutes))}return Y(o).pipe(Qi())}preloadConfig(e,n){return this.preloadingStrategy.preload(n,()=>{let o;n.loadChildren&&n.canLoad===void 0?o=this.loader.loadChildren(e,n):o=b(null);let a=o.pipe(at(s=>s===null?b(void 0):(n._loadedRoutes=s.routes,n._loadedInjector=s.injector,this.processRoutes(s.injector??e,s.routes))));if(n.loadComponent&&!n._loadedComponent){let s=this.loader.loadComponent(n);return Y([a,s]).pipe(Qi())}else return a})}};t.\u0275fac=function(n){return new(n||t)(f(ee),f(ai),f(Ie),f(Pi),f(bo))},t.\u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"});let i=t;return i})(),cc=new E(""),gh=(()=>{let t=class t{constructor(e,n,o,a,s={}){this.urlSerializer=e,this.transitions=n,this.viewportScroller=o,this.zone=a,this.options=s,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},s.scrollPositionRestoration||="disabled",s.anchorScrolling||="disabled"}init(){this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(e=>{e instanceof $e?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof Rt?(this.lastId=e.id,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.urlAfterRedirects).fragment)):e instanceof te&&e.code===Di.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(e=>{e instanceof Mi&&(e.position?this.options.scrollPositionRestoration==="top"?this.viewportScroller.scrollToPosition([0,0]):this.options.scrollPositionRestoration==="enabled"&&this.viewportScroller.scrollToPosition(e.position):e.anchor&&this.options.anchorScrolling==="enabled"?this.viewportScroller.scrollToAnchor(e.anchor):this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(e,n){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new Mi(e,this.lastSource==="popstate"?this.store[this.restoredId]:null,n))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}};t.\u0275fac=function(n){De()},t.\u0275prov=y({token:t,factory:t.\u0275fac});let i=t;return i})();function bh(i){return i.routerState.root}function jn(i,t){return{\u0275kind:i,\u0275providers:t}}function vh(){let i=g(Je);return t=>{let r=i.get(dr);if(t!==r.components[0])return;let e=i.get(ee),n=i.get(lc);i.get(_o)===1&&e.initialNavigation(),i.get(dc,null,ir.Optional)?.setUpPreloading(),i.get(cc,null,ir.Optional)?.init(),e.resetRootComponentType(r.componentTypes[0]),n.closed||(n.next(),n.complete(),n.unsubscribe())}}var lc=new E("",{factory:()=>new Z}),_o=new E("",{providedIn:"root",factory:()=>1});function yh(){return jn(2,[{provide:_o,useValue:0},{provide:lr,multi:!0,deps:[Je],useFactory:t=>{let r=t.get(Aa,Promise.resolve());return()=>r.then(()=>new Promise(e=>{let n=t.get(ee),o=t.get(lc);ac(n,()=>{e(!0)}),t.get(yo).afterPreactivation=()=>(e(!0),o.closed?b(void 0):o),n.initialNavigation()}))}}])}function _h(){return jn(3,[{provide:lr,multi:!0,useFactory:()=>{let t=g(ee);return()=>{t.setUpLocationChangeListener()}}},{provide:_o,useValue:2}])}var dc=new E("");function wh(i){return jn(0,[{provide:dc,useExisting:fh},{provide:Pi,useExisting:i}])}function Ch(){return jn(8,[Es,{provide:ji,useExisting:Es}])}function Ih(i){let t=[{provide:ic,useValue:ih},{provide:rc,useValue:p({skipNextTransition:!!i?.skipInitialTransition},i)}];return jn(9,t)}var Ss=new E("ROUTER_FORROOT_GUARD"),xh=[an,{provide:On,useClass:ze},ee,Fn,{provide:Bt,useFactory:bh,deps:[ee]},bo,[]],wo=(()=>{let t=class t{constructor(e){}static forRoot(e,n){return{ngModule:t,providers:[xh,[],{provide:Ni,multi:!0,useValue:e},{provide:Ss,useFactory:Mh,deps:[[ee,new Yn,new rr]]},{provide:Pn,useValue:n||{}},n?.useHash?Dh():Ah(),Eh(),n?.preloadingStrategy?wh(n.preloadingStrategy).\u0275providers:[],n?.initialNavigation?Sh(n):[],n?.bindToComponentInputs?Ch().\u0275providers:[],n?.enableViewTransitions?Ih().\u0275providers:[],Th()]}}static forChild(e){return{ngModule:t,providers:[{provide:Ni,multi:!0,useValue:e}]}}};t.\u0275fac=function(n){return new(n||t)(f(Ss,8))},t.\u0275mod=P({type:t}),t.\u0275inj=N({});let i=t;return i})();function Eh(){return{provide:cc,useFactory:()=>{let i=g(Fa),t=g(V),r=g(Pn),e=g(yo),n=g(On);return r.scrollOffset&&i.setOffset(r.scrollOffset),new gh(n,e,i,t,r)}}}function Dh(){return{provide:on,useClass:Sa}}function Ah(){return{provide:on,useClass:Ma}}function Mh(i){return"guarded"}function Sh(i){return[i.initialNavigation==="disabled"?_h().\u0275providers:[],i.initialNavigation==="enabledBlocking"?yh().\u0275providers:[]]}var Ts=new E("");function Th(){return[{provide:Ts,useFactory:vh},{provide:_a,multi:!0,useExisting:Ts}]}var Io;try{Io=typeof Intl<"u"&&Intl.v8BreakIterator}catch{Io=!1}var tt=(()=>{let t=class t{constructor(e){this._platformId=e,this.isBrowser=this._platformId?ka(this._platformId):typeof document=="object"&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!!(window.chrome||Io)&&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}};t.\u0275fac=function(n){return new(n||t)(f(ce))},t.\u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"});let i=t;return i})();var Ln;function Oh(){if(Ln==null&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>Ln=!0}))}finally{Ln=Ln||!1}return Ln}function qe(i){return Oh()?i:!!i.capture}var Co;function kh(){if(Co==null){let i=typeof document<"u"?document.head:null;Co=!!(i&&(i.createShadowRoot||i.attachShadow))}return Co}function uc(i){if(kh()){let t=i.getRootNode?i.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&t instanceof ShadowRoot)return t}return null}function zt(i){return i.composedPath?i.composedPath()[0]:i.target}function hc(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}function xo(i){return Array.isArray(i)?i:[i]}function be(i){return i instanceof W?i.nativeElement:i}var mc=new Set,ve,Fh=(()=>{let t=class t{constructor(e,n){this._platform=e,this._nonce=n,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):Ph}matchMedia(e){return(this._platform.WEBKIT||this._platform.BLINK)&&Nh(e,this._nonce),this._matchMedia(e)}};t.\u0275fac=function(n){return new(n||t)(f(tt),f(en,8))},t.\u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"});let i=t;return i})();function Nh(i,t){if(!mc.has(i))try{ve||(ve=document.createElement("style"),t&&ve.setAttribute("nonce",t),ve.setAttribute("type","text/css"),document.head.appendChild(ve)),ve.sheet&&(ve.sheet.insertRule(`@media ${i} {body{ }}`,0),mc.add(i))}catch(r){console.error(r)}}function Ph(i){return{matches:i==="all"||i==="",media:i,addListener:()=>{},removeListener:()=>{}}}var fc=(()=>{let t=class t{constructor(e,n){this._mediaMatcher=e,this._zone=n,this._queries=new Map,this._destroySubject=new Z}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(e){return pc(xo(e)).some(o=>this._registerQuery(o).mql.matches)}observe(e){let o=pc(xo(e)).map(s=>this._registerQuery(s).observable),a=we(o);return a=Hn(a.pipe(wt(1)),a.pipe(qn(1),tr(0))),a.pipe(_(s=>{let c={matches:!1,breakpoints:{}};return s.forEach(({matches:l,query:d})=>{c.matches=c.matches||l,c.breakpoints[d]=l}),c}))}_registerQuery(e){if(this._queries.has(e))return this._queries.get(e);let n=this._mediaMatcher.matchMedia(e),a={observable:new Ki(s=>{let c=l=>this._zone.run(()=>s.next(l));return n.addListener(c),()=>{n.removeListener(c)}}).pipe(Kn(n),_(({matches:s})=>({query:e,matches:s})),Ce(this._destroySubject)),mql:n};return this._queries.set(e,a),a}};t.\u0275fac=function(n){return new(n||t)(f(Fh),f(V))},t.\u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"});let i=t;return i})();function pc(i){return i.map(t=>t.split(",")).reduce((t,r)=>t.concat(r)).map(t=>t.trim())}function Do(i){return i.buttons===0||i.detail===0}function Ao(i){let t=i.touches&&i.touches[0]||i.changedTouches&&i.changedTouches[0];return!!t&&t.identifier===-1&&(t.radiusX==null||t.radiusX===1)&&(t.radiusY==null||t.radiusY===1)}var jh=new E("cdk-input-modality-detector-options"),Lh={ignoreKeys:[18,17,224,91,16]},vc=650,Ke=qe({passive:!0,capture:!0}),Vh=(()=>{let t=class t{get mostRecentModality(){return this._modality.value}constructor(e,n,o,a){this._platform=e,this._mostRecentTarget=null,this._modality=new it(null),this._lastTouchMs=0,this._onKeydown=s=>{this._options?.ignoreKeys?.some(c=>c===s.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=zt(s))},this._onMousedown=s=>{Date.now()-this._lastTouchMs{if(Ao(s)){this._modality.next("keyboard");return}this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=zt(s)},this._options=p(p({},Lh),a),this.modalityDetected=this._modality.pipe(qn(1)),this.modalityChanged=this.modalityDetected.pipe(Ho()),e.isBrowser&&n.runOutsideAngular(()=>{o.addEventListener("keydown",this._onKeydown,Ke),o.addEventListener("mousedown",this._onMousedown,Ke),o.addEventListener("touchstart",this._onTouchstart,Ke)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,Ke),document.removeEventListener("mousedown",this._onMousedown,Ke),document.removeEventListener("touchstart",this._onTouchstart,Ke))}};t.\u0275fac=function(n){return new(n||t)(f(tt),f(V),f(O),f(jh,8))},t.\u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"});let i=t;return i})();var Ui=function(i){return i[i.IMMEDIATE=0]="IMMEDIATE",i[i.EVENTUAL=1]="EVENTUAL",i}(Ui||{}),Uh=new E("cdk-focus-monitor-default-options"),Vi=qe({passive:!0,capture:!0}),yc=(()=>{let t=class t{constructor(e,n,o,a,s){this._ngZone=e,this._platform=n,this._inputModalityDetector=o,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=window.setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new Z,this._rootNodeFocusAndBlurListener=c=>{let l=zt(c);for(let d=l;d;d=d.parentElement)c.type==="focus"?this._onFocus(c,d):this._onBlur(c,d)},this._document=a,this._detectionMode=s?.detectionMode||Ui.IMMEDIATE}monitor(e,n=!1){let o=be(e);if(!this._platform.isBrowser||o.nodeType!==1)return b();let a=uc(o)||this._getDocument(),s=this._elementInfo.get(o);if(s)return n&&(s.checkChildren=!0),s.subject;let c={checkChildren:n,subject:new Z,rootNode:a};return this._elementInfo.set(o,c),this._registerGlobalListeners(c),c.subject}stopMonitoring(e){let n=be(e),o=this._elementInfo.get(n);o&&(o.subject.complete(),this._setClasses(n),this._elementInfo.delete(n),this._removeGlobalListeners(o))}focusVia(e,n,o){let a=be(e),s=this._getDocument().activeElement;a===s?this._getClosestElementsInfo(a).forEach(([c,l])=>this._originChanged(c,n,l)):(this._setOrigin(n),typeof a.focus=="function"&&a.focus(o))}ngOnDestroy(){this._elementInfo.forEach((e,n)=>this.stopMonitoring(n))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(e){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(e)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:e&&this._isLastInteractionFromInputLabel(e)?"mouse":"program"}_shouldBeAttributedToTouch(e){return this._detectionMode===Ui.EVENTUAL||!!e?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(e,n){e.classList.toggle("cdk-focused",!!n),e.classList.toggle("cdk-touch-focused",n==="touch"),e.classList.toggle("cdk-keyboard-focused",n==="keyboard"),e.classList.toggle("cdk-mouse-focused",n==="mouse"),e.classList.toggle("cdk-program-focused",n==="program")}_setOrigin(e,n=!1){this._ngZone.runOutsideAngular(()=>{if(this._origin=e,this._originFromTouchInteraction=e==="touch"&&n,this._detectionMode===Ui.IMMEDIATE){clearTimeout(this._originTimeoutId);let o=this._originFromTouchInteraction?vc:1;this._originTimeoutId=setTimeout(()=>this._origin=null,o)}})}_onFocus(e,n){let o=this._elementInfo.get(n),a=zt(e);!o||!o.checkChildren&&n!==a||this._originChanged(n,this._getFocusOrigin(a),o)}_onBlur(e,n){let o=this._elementInfo.get(n);!o||o.checkChildren&&e.relatedTarget instanceof Node&&n.contains(e.relatedTarget)||(this._setClasses(n),this._emitOrigin(o,null))}_emitOrigin(e,n){e.subject.observers.length&&this._ngZone.run(()=>e.subject.next(n))}_registerGlobalListeners(e){if(!this._platform.isBrowser)return;let n=e.rootNode,o=this._rootNodeFocusListenerCount.get(n)||0;o||this._ngZone.runOutsideAngular(()=>{n.addEventListener("focus",this._rootNodeFocusAndBlurListener,Vi),n.addEventListener("blur",this._rootNodeFocusAndBlurListener,Vi)}),this._rootNodeFocusListenerCount.set(n,o+1),++this._monitoredElementCount===1&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(Ce(this._stopInputModalityDetector)).subscribe(a=>{this._setOrigin(a,!0)}))}_removeGlobalListeners(e){let n=e.rootNode;if(this._rootNodeFocusListenerCount.has(n)){let o=this._rootNodeFocusListenerCount.get(n);o>1?this._rootNodeFocusListenerCount.set(n,o-1):(n.removeEventListener("focus",this._rootNodeFocusAndBlurListener,Vi),n.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Vi),this._rootNodeFocusListenerCount.delete(n))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(e,n,o){this._setClasses(e,n),this._emitOrigin(o,n),this._lastFocusOrigin=n}_getClosestElementsInfo(e){let n=[];return this._elementInfo.forEach((o,a)=>{(a===e||o.checkChildren&&a.contains(e))&&n.push([a,o])}),n}_isLastInteractionFromInputLabel(e){let{_mostRecentTarget:n,mostRecentModality:o}=this._inputModalityDetector;if(o!=="mouse"||!n||n===e||e.nodeName!=="INPUT"&&e.nodeName!=="TEXTAREA"||e.disabled)return!1;let a=e.labels;if(a){for(let s=0;s{let t=class t{constructor(e,n){this._platform=e,this._document=n,this._breakpointSubscription=g(fc).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return ye.NONE;let e=this._document.createElement("div");e.style.backgroundColor="rgb(1,2,3)",e.style.position="absolute",this._document.body.appendChild(e);let n=this._document.defaultView||window,o=n&&n.getComputedStyle?n.getComputedStyle(e):null,a=(o&&o.backgroundColor||"").replace(/ /g,"");switch(e.remove(),a){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return ye.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return ye.BLACK_ON_WHITE}return ye.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){let e=this._document.body.classList;e.remove(Eo,gc,bc),this._hasCheckedHighContrastMode=!0;let n=this.getHighContrastMode();n===ye.BLACK_ON_WHITE?e.add(Eo,gc):n===ye.WHITE_ON_BLACK&&e.add(Eo,bc)}}};t.\u0275fac=function(n){return new(n||t)(f(tt),f(O))},t.\u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"});let i=t;return i})();var Mo=(()=>{let t=class t{};t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=P({type:t}),t.\u0275inj=N({});let i=t;return i})();function zh(){return!0}var $h=new E("mat-sanity-checks",{providedIn:"root",factory:zh}),rt=(()=>{let t=class t{constructor(e,n,o){this._sanityChecks=n,this._document=o,this._hasDoneGlobalChecks=!1,e._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(e){return hc()?!1:typeof this._sanityChecks=="boolean"?this._sanityChecks:!!this._sanityChecks[e]}};t.\u0275fac=function(n){return new(n||t)(f(_c),f($h,8),f(O))},t.\u0275mod=P({type:t}),t.\u0275inj=N({imports:[Mo,Mo]});let i=t;return i})();var vt=function(i){return i[i.FADING_IN=0]="FADING_IN",i[i.VISIBLE=1]="VISIBLE",i[i.FADING_OUT=2]="FADING_OUT",i[i.HIDDEN=3]="HIDDEN",i}(vt||{}),Ro=class{constructor(t,r,e,n=!1){this._renderer=t,this.element=r,this.config=e,this._animationForciblyDisabledThroughCss=n,this.state=vt.HIDDEN}fadeOut(){this._renderer.fadeOutRipple(this)}},wc=qe({passive:!0,capture:!0}),Oo=class{constructor(){this._events=new Map,this._delegateEventHandler=t=>{let r=zt(t);r&&this._events.get(t.type)?.forEach((e,n)=>{(n===r||n.contains(r))&&e.forEach(o=>o.handleEvent(t))})}}addHandler(t,r,e,n){let o=this._events.get(r);if(o){let a=o.get(e);a?a.add(n):o.set(e,new Set([n]))}else this._events.set(r,new Map([[e,new Set([n])]])),t.runOutsideAngular(()=>{document.addEventListener(r,this._delegateEventHandler,wc)})}removeHandler(t,r,e){let n=this._events.get(t);if(!n)return;let o=n.get(r);o&&(o.delete(e),o.size===0&&n.delete(r),n.size===0&&(this._events.delete(t),document.removeEventListener(t,this._delegateEventHandler,wc)))}},Cc={enterDuration:225,exitDuration:150},Gh=800,Ic=qe({passive:!0,capture:!0}),xc=["mousedown","touchstart"],Ec=["mouseup","mouseleave","touchend","touchcancel"],Un=class Un{constructor(t,r,e,n){this._target=t,this._ngZone=r,this._platform=n,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,n.isBrowser&&(this._containerElement=be(e))}fadeInRipple(t,r,e={}){let n=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),o=p(p({},Cc),e.animation);e.centered&&(t=n.left+n.width/2,r=n.top+n.height/2);let a=e.radius||Hh(t,r,n),s=t-n.left,c=r-n.top,l=o.enterDuration,d=document.createElement("div");d.classList.add("mat-ripple-element"),d.style.left=`${s-a}px`,d.style.top=`${c-a}px`,d.style.height=`${a*2}px`,d.style.width=`${a*2}px`,e.color!=null&&(d.style.backgroundColor=e.color),d.style.transitionDuration=`${l}ms`,this._containerElement.appendChild(d);let u=window.getComputedStyle(d),h=u.transitionProperty,m=u.transitionDuration,D=h==="none"||m==="0s"||m==="0s, 0s"||n.width===0&&n.height===0,T=new Ro(this,d,e,D);d.style.transform="scale3d(1, 1, 1)",T.state=vt.FADING_IN,e.persistent||(this._mostRecentTransientRipple=T);let R=null;return!D&&(l||o.exitDuration)&&this._ngZone.runOutsideAngular(()=>{let et=()=>{R&&(R.fallbackTimer=null),clearTimeout(x),this._finishRippleTransition(T)},ot=()=>this._destroyRipple(T),x=setTimeout(ot,l+100);d.addEventListener("transitionend",et),d.addEventListener("transitioncancel",ot),R={onTransitionEnd:et,onTransitionCancel:ot,fallbackTimer:x}}),this._activeRipples.set(T,R),(D||!l)&&this._finishRippleTransition(T),T}fadeOutRipple(t){if(t.state===vt.FADING_OUT||t.state===vt.HIDDEN)return;let r=t.element,e=p(p({},Cc),t.config.animation);r.style.transitionDuration=`${e.exitDuration}ms`,r.style.opacity="0",t.state=vt.FADING_OUT,(t._animationForciblyDisabledThroughCss||!e.exitDuration)&&this._finishRippleTransition(t)}fadeOutAll(){this._getActiveRipples().forEach(t=>t.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(t=>{t.config.persistent||t.fadeOut()})}setupTriggerEvents(t){let r=be(t);!this._platform.isBrowser||!r||r===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=r,xc.forEach(e=>{Un._eventManager.addHandler(this._ngZone,e,r,this)}))}handleEvent(t){t.type==="mousedown"?this._onMousedown(t):t.type==="touchstart"?this._onTouchStart(t):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{Ec.forEach(r=>{this._triggerElement.addEventListener(r,this,Ic)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(t){t.state===vt.FADING_IN?this._startFadeOutTransition(t):t.state===vt.FADING_OUT&&this._destroyRipple(t)}_startFadeOutTransition(t){let r=t===this._mostRecentTransientRipple,{persistent:e}=t.config;t.state=vt.VISIBLE,!e&&(!r||!this._isPointerDown)&&t.fadeOut()}_destroyRipple(t){let r=this._activeRipples.get(t)??null;this._activeRipples.delete(t),this._activeRipples.size||(this._containerRect=null),t===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),t.state=vt.HIDDEN,r!==null&&(t.element.removeEventListener("transitionend",r.onTransitionEnd),t.element.removeEventListener("transitioncancel",r.onTransitionCancel),r.fallbackTimer!==null&&clearTimeout(r.fallbackTimer)),t.element.remove()}_onMousedown(t){let r=Do(t),e=this._lastTouchStartEvent&&Date.now(){let r=t.state===vt.VISIBLE||t.config.terminateOnPointerUp&&t.state===vt.FADING_IN;!t.config.persistent&&r&&t.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){let t=this._triggerElement;t&&(xc.forEach(r=>Un._eventManager.removeHandler(r,t,this)),this._pointerUpEventsRegistered&&(Ec.forEach(r=>t.removeEventListener(r,this,Ic)),this._pointerUpEventsRegistered=!1))}};Un._eventManager=new Oo;var ko=Un;function Hh(i,t,r){let e=Math.max(Math.abs(i-r.left),Math.abs(i-r.right)),n=Math.max(Math.abs(t-r.top),Math.abs(t-r.bottom));return Math.sqrt(e*e+n*n)}var Sc=new E("mat-ripple-global-options"),Wh=(()=>{let t=class t{get disabled(){return this._disabled}set disabled(e){e&&this.fadeOutAllNonPersistent(),this._disabled=e,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(e){this._trigger=e,this._setupTriggerEventsIfEnabled()}constructor(e,n,o,a,s){this._elementRef=e,this._animationMode=s,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=a||{},this._rippleRenderer=new ko(this,n,e,o)}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:p(p(p({},this._globalOptions.animation),this._animationMode==="NoopAnimations"?{enterDuration:0,exitDuration:0}:{}),this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(e,n=0,o){return typeof e=="number"?this._rippleRenderer.fadeInRipple(e,n,p(p({},this.rippleConfig),o)):this._rippleRenderer.fadeInRipple(0,0,p(p({},this.rippleConfig),e))}};t.\u0275fac=function(n){return new(n||t)(v(W),v(V),v(tt),v(Sc,8),v(le,8))},t.\u0275dir=L({type:t,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(n,o){n&2&&ct("mat-ripple-unbounded",o.unbounded)},inputs:{color:[0,"matRippleColor","color"],unbounded:[0,"matRippleUnbounded","unbounded"],centered:[0,"matRippleCentered","centered"],radius:[0,"matRippleRadius","radius"],animation:[0,"matRippleAnimation","animation"],disabled:[0,"matRippleDisabled","disabled"],trigger:[0,"matRippleTrigger","trigger"]},exportAs:["matRipple"],standalone:!0});let i=t;return i})(),Tc=(()=>{let t=class t{};t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=P({type:t}),t.\u0275inj=N({imports:[rt,rt]});let i=t;return i})();var Dc={capture:!0},Ac=["focus","mousedown","mouseenter","touchstart"],So="mat-ripple-loader-uninitialized",To="mat-ripple-loader-class-name",Mc="mat-ripple-loader-centered",Bi="mat-ripple-loader-disabled",Rc=(()=>{let t=class t{constructor(){this._document=g(O,{optional:!0}),this._animationMode=g(le,{optional:!0}),this._globalRippleOptions=g(Sc,{optional:!0}),this._platform=g(tt),this._ngZone=g(V),this._hosts=new Map,this._onInteraction=e=>{let n=zt(e);if(n instanceof HTMLElement){let o=n.closest(`[${So}="${this._globalRippleOptions?.namespace??""}"]`);o&&this._createRipple(o)}},this._ngZone.runOutsideAngular(()=>{for(let e of Ac)this._document?.addEventListener(e,this._onInteraction,Dc)})}ngOnDestroy(){let e=this._hosts.keys();for(let n of e)this.destroyRipple(n);for(let n of Ac)this._document?.removeEventListener(n,this._onInteraction,Dc)}configureRipple(e,n){e.setAttribute(So,this._globalRippleOptions?.namespace??""),(n.className||!e.hasAttribute(To))&&e.setAttribute(To,n.className||""),n.centered&&e.setAttribute(Mc,""),n.disabled&&e.setAttribute(Bi,"")}getRipple(e){return this._hosts.get(e)||this._createRipple(e)}setDisabled(e,n){let o=this._hosts.get(e);if(o){o.disabled=n;return}n?e.setAttribute(Bi,""):e.removeAttribute(Bi)}_createRipple(e){if(!this._document)return;let n=this._hosts.get(e);if(n)return n;e.querySelector(".mat-ripple")?.remove();let o=this._document.createElement("span");o.classList.add("mat-ripple",e.getAttribute(To)),e.append(o);let a=new Wh(new W(o),this._ngZone,this._platform,this._globalRippleOptions?this._globalRippleOptions:void 0,this._animationMode?this._animationMode:void 0);return a._isInitialized=!0,a.trigger=e,a.centered=e.hasAttribute(Mc),a.disabled=e.hasAttribute(Bi),this.attachRipple(e,a),a}attachRipple(e,n){e.removeAttribute(So),this._hosts.set(e,n)}destroyRipple(e){let n=this._hosts.get(e);n&&(n.ngOnDestroy(),this._hosts.delete(e))}};t.\u0275fac=function(n){return new(n||t)},t.\u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"});let i=t;return i})();var qh=".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}";var Kh=["mat-icon-button",""],Yh=["*"];var Zh=new E("MAT_BUTTON_CONFIG");var Xh=[{attribute:"mat-button",mdcClasses:["mdc-button","mat-mdc-button"]},{attribute:"mat-flat-button",mdcClasses:["mdc-button","mdc-button--unelevated","mat-mdc-unelevated-button"]},{attribute:"mat-raised-button",mdcClasses:["mdc-button","mdc-button--raised","mat-mdc-raised-button"]},{attribute:"mat-stroked-button",mdcClasses:["mdc-button","mdc-button--outlined","mat-mdc-outlined-button"]},{attribute:"mat-fab",mdcClasses:["mdc-fab","mat-mdc-fab-base","mat-mdc-fab"]},{attribute:"mat-mini-fab",mdcClasses:["mdc-fab","mat-mdc-fab-base","mdc-fab--mini","mat-mdc-mini-fab"]},{attribute:"mat-icon-button",mdcClasses:["mdc-icon-button","mat-mdc-icon-button"]}],Qh=(()=>{let t=class t{get ripple(){return this._rippleLoader?.getRipple(this._elementRef.nativeElement)}set ripple(e){this._rippleLoader?.attachRipple(this._elementRef.nativeElement,e)}get disableRipple(){return this._disableRipple}set disableRipple(e){this._disableRipple=e,this._updateRippleDisabled()}get disabled(){return this._disabled}set disabled(e){this._disabled=e,this._updateRippleDisabled()}constructor(e,n,o,a){this._elementRef=e,this._platform=n,this._ngZone=o,this._animationMode=a,this._focusMonitor=g(yc),this._rippleLoader=g(Rc),this._isFab=!1,this._disableRipple=!1,this._disabled=!1;let s=g(Zh,{optional:!0}),c=e.nativeElement,l=c.classList;this.disabledInteractive=s?.disabledInteractive??!1,this.color=s?.color??null,this._rippleLoader?.configureRipple(c,{className:"mat-mdc-button-ripple"});for(let{attribute:d,mdcClasses:u}of Xh)c.hasAttribute(d)&&l.add(...u)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._rippleLoader?.destroyRipple(this._elementRef.nativeElement)}focus(e="program",n){e?this._focusMonitor.focusVia(this._elementRef.nativeElement,e,n):this._elementRef.nativeElement.focus(n)}_getAriaDisabled(){return this.ariaDisabled!=null?this.ariaDisabled:this.disabled&&this.disabledInteractive?!0:null}_getDisabledAttribute(){return this.disabledInteractive||!this.disabled?null:!0}_updateRippleDisabled(){this._rippleLoader?.setDisabled(this._elementRef.nativeElement,this.disableRipple||this.disabled)}};t.\u0275fac=function(n){De()},t.\u0275dir=L({type:t,inputs:{color:"color",disableRipple:[2,"disableRipple","disableRipple",J],disabled:[2,"disabled","disabled",J],ariaDisabled:[2,"aria-disabled","ariaDisabled",J],disabledInteractive:[2,"disabledInteractive","disabledInteractive",J]},features:[Zt]});let i=t;return i})();var Oc=(()=>{let t=class t extends Qh{constructor(e,n,o,a){super(e,n,o,a),this._rippleLoader.configureRipple(this._elementRef.nativeElement,{centered:!0})}};t.\u0275fac=function(n){return new(n||t)(v(W),v(tt),v(V),v(le,8))},t.\u0275cmp=B({type:t,selectors:[["button","mat-icon-button",""]],hostVars:14,hostBindings:function(n,o){n&2&&(Mt("disabled",o._getDisabledAttribute())("aria-disabled",o._getAriaDisabled()),Ae(o.color?"mat-"+o.color:""),ct("mat-mdc-button-disabled",o.disabled)("mat-mdc-button-disabled-interactive",o.disabledInteractive)("_mat-animation-noopable",o._animationMode==="NoopAnimations")("mat-unthemed",!o.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],standalone:!0,features:[Ft,z],attrs:Kh,ngContentSelectors:Yh,decls:4,vars:0,consts:[[1,"mat-mdc-button-persistent-ripple","mdc-icon-button__ripple"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(n,o){n&1&&(St(),Q(0,"span",0),lt(1),Q(2,"span",1)(3,"span",2))},styles:['.mat-mdc-icon-button{-webkit-user-select:none;user-select:none;display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:rgba(0,0,0,0);fill:currentColor;color:inherit;text-decoration:none;cursor:pointer;z-index:0;overflow:visible;border-radius:50%;flex-shrink:0;text-align:center;width:var(--mdc-icon-button-state-layer-size, 48px);height:var(--mdc-icon-button-state-layer-size, 48px);padding:calc(calc(var(--mdc-icon-button-state-layer-size, 48px) - var(--mdc-icon-button-icon-size, 24px)) / 2);font-size:var(--mdc-icon-button-icon-size);color:var(--mdc-icon-button-icon-color, var(--mat-app-on-surface-variant));-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button[disabled],.mat-mdc-icon-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-icon-button-disabled-icon-color)}.mat-mdc-icon-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-icon-button img,.mat-mdc-icon-button svg{width:var(--mdc-icon-button-icon-size);height:var(--mdc-icon-button-icon-size);vertical-align:baseline}.mat-mdc-icon-button .mat-mdc-button-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-icon-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-icon-button .mdc-button__label,.mat-mdc-icon-button .mat-icon{z-index:1;position:relative}.mat-mdc-icon-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-icon-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-icon-button-ripple-color)}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-state-layer-color, var(--mat-app-on-surface-variant))}.mat-mdc-icon-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-disabled-state-layer-color, var(--mat-app-on-surface-variant))}.mat-mdc-icon-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mat-mdc-icon-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity))}.mat-mdc-icon-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-pressed-state-layer-opacity, var(--mat-app-pressed-state-layer-opacity))}.mat-mdc-icon-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-icon-button-touch-target-display)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:50%}.mat-mdc-icon-button[hidden]{display:none}.mat-mdc-icon-button.mat-unthemed:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-primary:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-accent:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-warn:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}',qh],encapsulation:2,changeDetection:0});let i=t;return i})();var kc=(()=>{let t=class t{};t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=P({type:t}),t.\u0275inj=N({imports:[rt,Tc,rt]});let i=t;return i})();var tm=["*"];var em=[[["","mat-card-avatar",""],["","matCardAvatar",""]],[["mat-card-title"],["mat-card-subtitle"],["","mat-card-title",""],["","mat-card-subtitle",""],["","matCardTitle",""],["","matCardSubtitle",""]],"*"],nm=["[mat-card-avatar], [matCardAvatar]",`mat-card-title, mat-card-subtitle,
+ [mat-card-title], [mat-card-subtitle],
+ [matCardTitle], [matCardSubtitle]`,"*"],im=new E("MAT_CARD_CONFIG"),Fc=(()=>{let t=class t{constructor(e){this.appearance=e?.appearance||"raised"}};t.\u0275fac=function(n){return new(n||t)(v(im,8))},t.\u0275cmp=B({type:t,selectors:[["mat-card"]],hostAttrs:[1,"mat-mdc-card","mdc-card"],hostVars:4,hostBindings:function(n,o){n&2&&ct("mat-mdc-card-outlined",o.appearance==="outlined")("mdc-card--outlined",o.appearance==="outlined")},inputs:{appearance:"appearance"},exportAs:["matCard"],standalone:!0,features:[z],ngContentSelectors:tm,decls:1,vars:0,template:function(n,o){n&1&&(St(),lt(0))},styles:['.mat-mdc-card{display:flex;flex-direction:column;box-sizing:border-box;position:relative;border-style:solid;border-width:0;background-color:var(--mdc-elevated-card-container-color, var(--mat-app-surface));border-color:var(--mdc-elevated-card-container-color, var(--mat-app-surface));border-radius:var(--mdc-elevated-card-container-shape, var(--mat-app-corner-medium));box-shadow:var(--mdc-elevated-card-container-elevation, var(--mat-app-level1))}.mat-mdc-card::after{position:absolute;top:0;left:0;width:100%;height:100%;border:solid 1px rgba(0,0,0,0);content:"";display:block;pointer-events:none;box-sizing:border-box;border-radius:var(--mdc-elevated-card-container-shape, var(--mat-app-corner-medium))}.mat-mdc-card-outlined{background-color:var(--mdc-outlined-card-container-color, var(--mat-app-surface));border-radius:var(--mdc-outlined-card-container-shape, var(--mat-app-corner-medium));border-width:var(--mdc-outlined-card-outline-width);border-color:var(--mdc-outlined-card-outline-color, var(--mat-app-outline-variant));box-shadow:var(--mdc-outlined-card-container-elevation, var(--mat-app-level0))}.mat-mdc-card-outlined::after{border:none}.mdc-card__media{position:relative;box-sizing:border-box;background-repeat:no-repeat;background-position:center;background-size:cover}.mdc-card__media::before{display:block;content:""}.mdc-card__media:first-child{border-top-left-radius:inherit;border-top-right-radius:inherit}.mdc-card__media:last-child{border-bottom-left-radius:inherit;border-bottom-right-radius:inherit}.mat-mdc-card-actions{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;min-height:52px;padding:8px}.mat-mdc-card-title{font-family:var(--mat-card-title-text-font, var(--mat-app-title-large-font));line-height:var(--mat-card-title-text-line-height, var(--mat-app-title-large-line-height));font-size:var(--mat-card-title-text-size, var(--mat-app-title-large-size));letter-spacing:var(--mat-card-title-text-tracking, var(--mat-app-title-large-tracking));font-weight:var(--mat-card-title-text-weight, var(--mat-app-title-large-weight))}.mat-mdc-card-subtitle{color:var(--mat-card-subtitle-text-color, var(--mat-app-on-surface));font-family:var(--mat-card-subtitle-text-font, var(--mat-app-title-medium-font));line-height:var(--mat-card-subtitle-text-line-height, var(--mat-app-title-medium-line-height));font-size:var(--mat-card-subtitle-text-size, var(--mat-app-title-medium-size));letter-spacing:var(--mat-card-subtitle-text-tracking, var(--mat-app-title-medium-tracking));font-weight:var(--mat-card-subtitle-text-weight, var(--mat-app-title-medium-weight))}.mat-mdc-card-title,.mat-mdc-card-subtitle{display:block;margin:0}.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-title,.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-subtitle{padding:16px 16px 0}.mat-mdc-card-header{display:flex;padding:16px 16px 0}.mat-mdc-card-content{display:block;padding:0 16px}.mat-mdc-card-content:first-child{padding-top:16px}.mat-mdc-card-content:last-child{padding-bottom:16px}.mat-mdc-card-title-group{display:flex;justify-content:space-between;width:100%}.mat-mdc-card-avatar{height:40px;width:40px;border-radius:50%;flex-shrink:0;margin-bottom:16px;object-fit:cover}.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-subtitle,.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-title{line-height:normal}.mat-mdc-card-sm-image{width:80px;height:80px}.mat-mdc-card-md-image{width:112px;height:112px}.mat-mdc-card-lg-image{width:152px;height:152px}.mat-mdc-card-xl-image{width:240px;height:240px}.mat-mdc-card-subtitle~.mat-mdc-card-title,.mat-mdc-card-title~.mat-mdc-card-subtitle,.mat-mdc-card-header .mat-mdc-card-header-text .mat-mdc-card-title,.mat-mdc-card-header .mat-mdc-card-header-text .mat-mdc-card-subtitle,.mat-mdc-card-title-group .mat-mdc-card-title,.mat-mdc-card-title-group .mat-mdc-card-subtitle{padding-top:0}.mat-mdc-card-content>:last-child:not(.mat-mdc-card-footer){margin-bottom:0}.mat-mdc-card-actions-align-end{justify-content:flex-end}'],encapsulation:2,changeDetection:0});let i=t;return i})(),Nc=(()=>{let t=class t{};t.\u0275fac=function(n){return new(n||t)},t.\u0275dir=L({type:t,selectors:[["mat-card-title"],["","mat-card-title",""],["","matCardTitle",""]],hostAttrs:[1,"mat-mdc-card-title"],standalone:!0});let i=t;return i})();var Pc=(()=>{let t=class t{};t.\u0275fac=function(n){return new(n||t)},t.\u0275dir=L({type:t,selectors:[["mat-card-content"]],hostAttrs:[1,"mat-mdc-card-content"],standalone:!0});let i=t;return i})();var jc=(()=>{let t=class t{constructor(){this.align="start"}};t.\u0275fac=function(n){return new(n||t)},t.\u0275dir=L({type:t,selectors:[["mat-card-actions"]],hostAttrs:[1,"mat-mdc-card-actions","mdc-card__actions"],hostVars:2,hostBindings:function(n,o){n&2&&ct("mat-mdc-card-actions-align-end",o.align==="end")},inputs:{align:"align"},exportAs:["matCardActions"],standalone:!0});let i=t;return i})(),Lc=(()=>{let t=class t{};t.\u0275fac=function(n){return new(n||t)},t.\u0275cmp=B({type:t,selectors:[["mat-card-header"]],hostAttrs:[1,"mat-mdc-card-header"],standalone:!0,features:[z],ngContentSelectors:nm,decls:4,vars:0,consts:[[1,"mat-mdc-card-header-text"]],template:function(n,o){n&1&&(St(em),lt(0),C(1,"div",0),lt(2,1),w(),lt(3,2))},encapsulation:2,changeDetection:0});let i=t;return i})();var Vc=(()=>{let t=class t{};t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=P({type:t}),t.\u0275inj=N({imports:[rt,li,rt]});let i=t;return i})();var om=["*"],zi;function am(){if(zi===void 0&&(zi=null,typeof window<"u")){let i=window;i.trustedTypes!==void 0&&(zi=i.trustedTypes.createPolicy("angular#components",{createHTML:t=>t}))}return zi}function Bn(i){return am()?.createHTML(i)||i}function Uc(i){return Error(`Unable to find icon with the name "${i}"`)}function sm(){return Error("Could not find HttpClient provider for use with Angular Material icons. Please include the HttpClientModule from @angular/common/http in your app imports.")}function Bc(i){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${i}".`)}function zc(i){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${i}".`)}var $t=class{constructor(t,r,e){this.url=t,this.svgText=r,this.options=e}},cm=(()=>{let t=class t{constructor(e,n,o,a){this._httpClient=e,this._sanitizer=n,this._errorHandler=a,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._resolvers=[],this._defaultFontSetClass=["material-icons","mat-ligature-font"],this._document=o}addSvgIcon(e,n,o){return this.addSvgIconInNamespace("",e,n,o)}addSvgIconLiteral(e,n,o){return this.addSvgIconLiteralInNamespace("",e,n,o)}addSvgIconInNamespace(e,n,o,a){return this._addSvgIconConfig(e,n,new $t(o,null,a))}addSvgIconResolver(e){return this._resolvers.push(e),this}addSvgIconLiteralInNamespace(e,n,o,a){let s=this._sanitizer.sanitize(st.HTML,o);if(!s)throw zc(o);let c=Bn(s);return this._addSvgIconConfig(e,n,new $t("",c,a))}addSvgIconSet(e,n){return this.addSvgIconSetInNamespace("",e,n)}addSvgIconSetLiteral(e,n){return this.addSvgIconSetLiteralInNamespace("",e,n)}addSvgIconSetInNamespace(e,n,o){return this._addSvgIconSetConfig(e,new $t(n,null,o))}addSvgIconSetLiteralInNamespace(e,n,o){let a=this._sanitizer.sanitize(st.HTML,n);if(!a)throw zc(n);let s=Bn(a);return this._addSvgIconSetConfig(e,new $t("",s,o))}registerFontClassAlias(e,n=e){return this._fontCssClassesByAlias.set(e,n),this}classNameForFontAlias(e){return this._fontCssClassesByAlias.get(e)||e}setDefaultFontSetClass(...e){return this._defaultFontSetClass=e,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(e){let n=this._sanitizer.sanitize(st.RESOURCE_URL,e);if(!n)throw Bc(e);let o=this._cachedIconsByUrl.get(n);return o?b($i(o)):this._loadSvgIconFromConfig(new $t(e,null)).pipe(U(a=>this._cachedIconsByUrl.set(n,a)),_(a=>$i(a)))}getNamedSvgIcon(e,n=""){let o=$c(n,e),a=this._svgIconConfigs.get(o);if(a)return this._getSvgFromConfig(a);if(a=this._getIconConfigFromResolvers(n,e),a)return this._svgIconConfigs.set(o,a),this._getSvgFromConfig(a);let s=this._iconSetConfigs.get(n);return s?this._getSvgFromIconSetConfigs(e,s):ie(Uc(o))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(e){return e.svgText?b($i(this._svgElementFromConfig(e))):this._loadSvgIconFromConfig(e).pipe(_(n=>$i(n)))}_getSvgFromIconSetConfigs(e,n){let o=this._extractIconWithNameFromAnySet(e,n);if(o)return b(o);let a=n.filter(s=>!s.svgText).map(s=>this._loadSvgIconSetFromConfig(s).pipe(Wt(c=>{let d=`Loading icon set URL: ${this._sanitizer.sanitize(st.RESOURCE_URL,s.url)} failed: ${c.message}`;return this._errorHandler.handleError(new Error(d)),b(null)})));return Wn(a).pipe(_(()=>{let s=this._extractIconWithNameFromAnySet(e,n);if(!s)throw Uc(e);return s}))}_extractIconWithNameFromAnySet(e,n){for(let o=n.length-1;o>=0;o--){let a=n[o];if(a.svgText&&a.svgText.toString().indexOf(e)>-1){let s=this._svgElementFromConfig(a),c=this._extractSvgIconFromSet(s,e,a.options);if(c)return c}}return null}_loadSvgIconFromConfig(e){return this._fetchIcon(e).pipe(U(n=>e.svgText=n),_(()=>this._svgElementFromConfig(e)))}_loadSvgIconSetFromConfig(e){return e.svgText?b(null):this._fetchIcon(e).pipe(U(n=>e.svgText=n))}_extractSvgIconFromSet(e,n,o){let a=e.querySelector(`[id="${n}"]`);if(!a)return null;let s=a.cloneNode(!0);if(s.removeAttribute("id"),s.nodeName.toLowerCase()==="svg")return this._setSvgAttributes(s,o);if(s.nodeName.toLowerCase()==="symbol")return this._setSvgAttributes(this._toSvgElement(s),o);let c=this._svgElementFromString(Bn(""));return c.appendChild(s),this._setSvgAttributes(c,o)}_svgElementFromString(e){let n=this._document.createElement("DIV");n.innerHTML=e;let o=n.querySelector("svg");if(!o)throw Error("