>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&&Ye(f)&&f.type===n)return u}return null}function Dt(e,t,n,r){let o=e[n],i=t.data;if(bg(o)){let s=o;s.resolving&&oh(rh(i[n]));let a=Fr(s.canSeeViewProviders);s.resolving=!0;let u,c=s.injectImpl?re(s.injectImpl):null,l=ul(e,r,_.Default);try{o=e[n]=s.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&Eg(n,i[n],t)}finally{c!==null&&re(c),Fr(a),s.resolving=!1,fl()}}return o}function Fg(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(ln)?e[ln]:void 0;return typeof t=="number"?t>=0?t&yl:Rg:t}function Pu(e,t,n){let r=1<>Dl)]&r)}function ku(e,t){return!(e&_.Self)&&!(e&_.Host&&t)}var ft=class{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return El(this._tNode,this._lView,t,Kr(r),n)}};function Rg(){return new ft(X(),w())}function Jx(e){return xn(()=>{let t=e.prototype.constructor,n=t[Mr]||Pi(t),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[Mr]||Pi(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function Pi(e){return yc(e)?()=>{let t=Pi(Z(e));return t&&t()}:pt(e)}function Pg(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[y]&2048&&!(s[y]&512);){let a=Cl(i,s,n,r|_.Self,Ne);if(a!==Ne)return a;let u=i.parent;if(!u){let c=s[qc];if(c){let l=c.get(n,Ne,r);if(l!==Ne)return l}u=bl(s),s=s[Yt]}i=u}return o}function bl(e){let t=e[D],n=t.type;return n===2?t.declTNode:n===1?e[ue]:null}function kg(e){return Ag(X(),e)}function Lu(e,t=null,n=null,r){let o=_l(e,t,n,r);return o.resolveInjectorInitializers(),o}function _l(e,t=null,n=null,r,o=new Set){let i=[n||K,kh(e)];return r=r||(typeof e=="object"?void 0:J(e)),new gn(i,t||$s(),r||null,o)}var On=(()=>{let t=class t{static create(r,o){if(Array.isArray(r))return Lu({name:""},o,r,"");{let i=r.name??"";return Lu({name:i},r.parent,r.providers,i)}}};t.THROW_IF_NOT_FOUND=dn,t.NULL=new Tr,t.\u0275prov=V({token:t,providedIn:"any",factory:()=>oe(Sc)}),t.__NG_ELEMENT_ID__=-1;let e=t;return e})();var Lg="ngOriginalError";function ui(e){return e[Lg]}var zt=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&&ui(t);for(;n&&ui(n);)n=ui(n);return n||null}},Ml=new R("",{providedIn:"root",factory:()=>N(zt).handleError.bind(void 0)}),xl=(()=>{let t=class t{};t.__NG_ELEMENT_ID__=jg,t.__NG_ENV_ID__=r=>r;let e=t;return e})(),ki=class extends xl{constructor(t){super(),this._lView=t}onDestroy(t){return rl(this._lView,t),()=>ig(this._lView,t)}};function jg(){return new ki(w())}function Vg(){return Kt(X(),w())}function Kt(e,t){return new tt(ce(e,t))}var tt=(()=>{let t=class t{constructor(r){this.nativeElement=r}};t.__NG_ELEMENT_ID__=Vg;let e=t;return e})();function Bg(e){return e instanceof tt?e.nativeElement:e}var Li=class extends fe{constructor(t=!1){super(),this.destroyRef=void 0,this.__isAsync=t,qh()&&(this.destroyRef=N(xl,{optional:!0})??void 0)}emit(t){let n=b(null);try{super.next(t)}finally{b(n)}}subscribe(t,n,r){let o=t,i=n||(()=>null),s=r;if(t&&typeof t=="object"){let u=t;o=u.next?.bind(u),i=u.error?.bind(u),s=u.complete?.bind(u)}this.__isAsync&&(i=ci(i),o&&(o=ci(o)),s&&(s=ci(s)));let a=super.subscribe({next:o,error:i,complete:s});return t instanceof G&&t.add(a),a}};function ci(e){return t=>{setTimeout(e,void 0,t)}}var dt=Li;function $g(){return this._results[Symbol.iterator]()}var ji=class e{get changes(){return this._changes??=new dt}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]=$g)}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=gh(t);(this._changesDetected=!hh(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())}},Hg="ngSkipHydration",Ug="ngskiphydration";function Sl(e){let t=e.mergedAttrs;if(t===null)return!1;for(let n=0;nZg}),Zg="ng",Kg=new R(""),ta=new R("",{providedIn:"platform",factory:()=>"unknown"});var eS=new R(""),tS=new R("",{providedIn:"root",factory:()=>Fn().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});function Jg(){let e=new na;return N(ta)==="browser"&&(e.store=Xg(Fn(),N(Qg))),e}var na=(()=>{let t=class t{constructor(){this.store={},this.onSerializeCallbacks={}}get(r,o){return this.store[r]!==void 0?this.store[r]:o}set(r,o){this.store[r]=o}remove(r){delete this.store[r]}hasKey(r){return this.store.hasOwnProperty(r)}get isEmpty(){return Object.keys(this.store).length===0}onSerialize(r,o){this.onSerializeCallbacks[r]=o}toJson(){for(let r in this.onSerializeCallbacks)if(this.onSerializeCallbacks.hasOwnProperty(r))try{this.store[r]=this.onSerializeCallbacks[r]()}catch(o){console.warn("Exception in onSerialize callback: ",o)}return JSON.stringify(this.store).replace(/null;function am(e,t,n=!1){let r=e.getAttribute(li);if(r==null)return null;let[o,i]=r.split("|");if(r=n?i:o,!r)return null;let s=i?`|${i}`:"",a=n?o:s,u={};if(r!==""){let l=t.get(na,null,{optional:!0});l!==null&&(u=l.get(Ll,[])[Number(r)])}let c={data:u,firstChild:e.firstChild??null};return n&&(c.firstChild=e,oo(c,0,e.nextSibling)),a?e.setAttribute(li,a):e.removeAttribute(li),c}function um(){jl=am}function oa(e,t,n=!1){return jl(e,t,n)}function cm(e){let t=e._lView;return t[D].type===2?null:(Qc(t)&&(t=t[j]),t)}function lm(e){return e.textContent?.replace(/\s/gm,"")}function dm(e){let t=Fn(),n=t.createNodeIterator(e,NodeFilter.SHOW_COMMENT,{acceptNode(i){let s=lm(i);return s==="ngetn"||s==="ngtns"?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_REJECT}}),r,o=[];for(;r=n.nextNode();)o.push(r);for(let i of o)i.textContent==="ngetn"?i.replaceWith(t.createTextNode("")):i.remove()}function oo(e,t,n){e.segmentHeads??={},e.segmentHeads[t]=n}function $i(e,t){return e.segmentHeads?.[t]??null}function fm(e,t){let n=e.data,r=n[em]?.[t]??null;return r===null&&n[ra]?.[t]&&(r=ia(e,t)),r}function Vl(e,t){return e.data[ra]?.[t]??null}function ia(e,t){let n=Vl(e,t)??[],r=0;for(let o of n)r+=o[kr]*(o[kl]??1);return r}function io(e,t){if(typeof e.disconnectedNodes>"u"){let n=e.data[om];e.disconnectedNodes=n?new Set(n):null}return!!e.disconnectedNodes?.has(t)}var fr=new R(""),Bl=!1,$l=new R("",{providedIn:"root",factory:()=>Bl}),pm=new R(""),pr;function hm(){if(pr===void 0&&(pr=null,pe.trustedTypes))try{pr=pe.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return pr}function so(e){return hm()?.createHTML(e)||e}var hr;function gm(){if(hr===void 0&&(hr=null,pe.trustedTypes))try{hr=pe.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return hr}function Vu(e){return gm()?.createHTML(e)||e}var Be=class{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${pc})`}},Hi=class extends Be{getTypeName(){return"HTML"}},Ui=class extends Be{getTypeName(){return"Style"}},Gi=class extends Be{getTypeName(){return"Script"}},zi=class extends Be{getTypeName(){return"URL"}},Wi=class extends Be{getTypeName(){return"ResourceURL"}};function Jt(e){return e instanceof Be?e.changingThisBreaksApplicationSecurity:e}function Hl(e,t){let n=mm(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${pc})`)}return n===t}function mm(e){return e instanceof Be&&e.getTypeName()||null}function nS(e){return new Hi(e)}function rS(e){return new Ui(e)}function oS(e){return new Gi(e)}function iS(e){return new zi(e)}function sS(e){return new Wi(e)}function ym(e){let t=new Yi(e);return Dm()?new qi(t):t}var qi=class{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t=""+t;try{let n=new window.DOMParser().parseFromString(so(t),"text/html").body;return n===null?this.inertDocumentHelper.getInertBodyElement(t):(n.removeChild(n.firstChild),n)}catch{return null}}},Yi=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=so(t),n}};function Dm(){try{return!!new window.DOMParser().parseFromString(so(""),"text/html")}catch{return!1}}var vm=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Ul(e){return e=String(e),e.match(vm)?e:"unsafe:"+e}function $e(e){let t={};for(let n of e.split(","))t[n]=!0;return t}function Rn(...e){let t={};for(let n of e)for(let r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}var Gl=$e("area,br,col,hr,img,wbr"),zl=$e("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Wl=$e("rp,rt"),wm=Rn(Wl,zl),Im=Rn(zl,$e("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")),Em=Rn(Wl,$e("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")),Bu=Rn(Gl,Im,Em,wm),ql=$e("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Cm=$e("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"),bm=$e("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"),_m=Rn(ql,Cm,bm),Mm=$e("script,style,template"),Qi=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=Tm(n);continue}for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let i=Sm(n);if(i){n=i;break}n=o.pop()}}return this.buf.join("")}startElement(t){let n=$u(t).toLowerCase();if(!Bu.hasOwnProperty(n))return this.sanitizedSomething=!0,!Mm.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);let r=t.attributes;for(let o=0;o"),!0}endElement(t){let n=$u(t).toLowerCase();Bu.hasOwnProperty(n)&&!Gl.hasOwnProperty(n)&&(this.buf.push(""),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(Hu(t))}};function xm(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function Sm(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw Yl(t);return t}function Tm(e){let t=e.firstChild;if(t&&xm(e,t))throw Yl(t);return t}function $u(e){let t=e.nodeName;return typeof t=="string"?t:"FORM"}function Yl(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var Nm=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Am=/([^\#-~ |!])/g;function Hu(e){return e.replace(/&/g,"&").replace(Nm,function(t){let n=t.charCodeAt(0),r=t.charCodeAt(1);return""+((n-55296)*1024+(r-56320)+65536)+";"}).replace(Am,function(t){return""+t.charCodeAt(0)+";"}).replace(//g,">")}var gr;function Om(e,t){let n=null;try{gr=gr||ym(e);let r=t?String(t):"";n=gr.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=gr.getInertBodyElement(r)}while(r!==i);let a=new Qi().sanitizeChildren(Uu(n)||n);return so(a)}finally{if(n){let r=Uu(n)||n;for(;r.firstChild;)r.removeChild(r.firstChild)}}}function Uu(e){return"content"in e&&Fm(e)?e.content:null}function Fm(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var sa=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}(sa||{});function aS(e){let t=Ql();return t?Vu(t.sanitize(sa.HTML,e)||""):Hl(e,"HTML")?Vu(Jt(e)):Om(Fn(),Sn(e))}function uS(e){let t=Ql();return t?t.sanitize(sa.URL,e)||"":Hl(e,"URL")?Jt(e):Ul(Sn(e))}function Ql(){let e=w();return e&&e[Ce].sanitizer}var Rm=/^>|^->||--!>|)/g,km="\u200B$1\u200B";function Lm(e){return e.replace(Rm,t=>t.replace(Pm,km))}function cS(e){return e.ownerDocument.defaultView}function lS(e){return e.ownerDocument}function jm(e){return e.ownerDocument.body}function Zl(e){return e instanceof Function?e():e}function mr(e){return(e??N(On)).get(ta)==="browser"}var In=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(In||{}),Vm;function aa(e,t){return Vm(e,t)}function Lt(e,t,n,r,o){if(r!=null){let i,s=!1;Ae(r)?i=r:Le(r)&&(s=!0,r=r[se]);let a=be(r);e===0&&n!==null?o==null?ed(t,n,a):Lr(t,n,a,o||null,!0):e===1&&n!==null?Lr(t,n,a,o||null,!0):e===2?da(t,a,s):e===3&&t.destroyNode(a),i!=null&&ey(t,e,i,n,o)}}function ua(e,t){return e.createText(t)}function Bm(e,t,n){e.setValue(t,n)}function ca(e,t){return e.createComment(Lm(t))}function ao(e,t,n){return e.createElement(t,n)}function $m(e,t){Kl(e,t),t[se]=null,t[ue]=null}function Hm(e,t,n,r,o,i){r[se]=o,r[ue]=t,lo(e,r,n,1,o,i)}function Kl(e,t){t[Ce].changeDetectionScheduler?.notify(1),lo(e,t,t[P],2,null,null)}function Um(e){let t=e[yn];if(!t)return di(e[D],e);for(;t;){let n=null;if(Le(t))n=t[yn];else{let r=t[q];r&&(n=r)}if(!n){for(;t&&!t[Ie]&&t!==e;)Le(t)&&di(t[D],t),t=t[W];t===null&&(t=e),Le(t)&&di(t[D],t),n=t&&t[Ie]}t=n}}function Gm(e,t,n,r){let o=q+r,i=n.length;r>0&&(n[o-1][Ie]=t),r0&&(e[n-1][Ie]=r[Ie]);let i=Sr(e,q+t);$m(r[D],r);let s=i[je];s!==null&&s.detachView(i[D]),r[W]=null,r[Ie]=null,r[y]&=-129}return r}function uo(e,t){if(!(t[y]&256)){let n=t[P];n.destroyNode&&lo(e,t,n,3,null,null),Um(t)}}function di(e,t){if(t[y]&256)return;let n=b(null);try{t[y]&=-129,t[y]|=256,t[gt]&&Wa(t[gt]),qm(e,t),Wm(e,t),t[D].type===1&&t[P].destroy();let r=t[Nn];if(r!==null&&Ae(t[W])){r!==t[W]&&Jl(r,t);let o=t[je];o!==null&&o.detachView(e)}Yg(t)}finally{b(n)}}function Wm(e,t){let n=e.cleanup,r=t[mn];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[mn]=null);let o=t[ze];if(o!==null){t[ze]=null;for(let i=0;i-1){let{encapsulation:i}=e.data[r.directiveStart+o];if(i===pn.None||i===pn.Emulated)return null}return ce(r,n)}}function Lr(e,t,n,r,o){e.insertBefore(t,n,r,o)}function ed(e,t,n){e.appendChild(t,n)}function Gu(e,t,n,r,o){r!==null?Lr(e,t,n,r,o):ed(e,t,n)}function Qm(e,t,n,r){e.removeChild(t,n,r)}function la(e,t){return e.parentNode(t)}function Zm(e,t){return e.nextSibling(t)}function td(e,t,n){return Jm(e,t,n)}function Km(e,t,n){return e.type&40?ce(e,n):null}var Jm=Km,zu;function co(e,t,n,r){let o=Xl(e,r,t),i=t[P],s=r.parent||t[ue],a=td(s,r,t);if(o!=null)if(Array.isArray(n))for(let u=0;uj&&ad(e,t,j,!1),Te(s?2:0,o),n(r,o)}finally{mt(i),Te(s?3:1,o)}}function pa(e,t,n){if(Us(t)){let r=b(null);try{let o=t.directiveStart,i=t.directiveEnd;for(let s=o;snull;function uy(e){Tl(e)?rd(e):dm(e)}function cy(){fd=uy}function ly(e,t,n,r){let o=yd(t);o.push(n),e.firstCreatePass&&Dd(e).push(r,o.length-1)}function dy(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return Qt()&&(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 Wu(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=We.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?qu(r,n,c,a,u):qu(r,n,c,a)}return r}function qu(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 fy(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 yy(e,t,n,r){let o=n.directiveStart,i=n.directiveEnd;An(n)&&by(t,n,e.data[o+n.componentOffset]),e.firstCreatePass||Rr(n,t),Qe(r,t);let s=n.initialInputs;for(let a=o;a{vn(e.lView)},consumerOnSignalRead(){this.lView[gt]=this}}),Cd=100;function bd(e,t=!0,n=0){let r=e[Ce],o=r.rendererFactory,i=!1;i||o.begin?.();try{jy(e,n)}catch(s){throw t&&vd(e,s),s}finally{i||(o.end?.(),r.inlineEffectRunner?.flush())}}function jy(e,t){Xi(e,t);let n=0;for(;Ys(e);){if(n===Cd)throw new M(103,!1);n++,Xi(e,1)}}function Vy(e,t,n,r){let o=t[y];if((o&256)===256)return;let i=!1;!i&&t[Ce].inlineEffectRunner?.flush(),Js(t);let s=null,a=null;!i&&By(e)&&(a=Ry(t),s=Ga(a));try{nl(t),hg(e.bindingStartIndex),n!==null&&ld(e,t,n,2,r);let u=(o&3)===3;if(!i)if(u){let d=e.preOrderCheckHooks;d!==null&&Ir(t,d,null)}else{let d=e.preOrderHooks;d!==null&&Er(t,d,0,null),si(t,0)}if($y(t),_d(t,0),e.contentQueries!==null&&md(e,t),!i)if(u){let d=e.contentCheckHooks;d!==null&&Ir(t,d)}else{let d=e.contentHooks;d!==null&&Er(t,d,1),si(t,1)}ry(e,t);let c=e.components;c!==null&&xd(t,c,0);let l=e.viewQuery;if(l!==null&&Ji(2,l,r),!i)if(u){let d=e.viewCheckHooks;d!==null&&Ir(t,d)}else{let d=e.viewHooks;d!==null&&Er(t,d,2),si(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[ii]){for(let d of t[ii])d();t[ii]=null}i||(t[y]&=-73)}catch(u){throw vn(t),u}finally{a!==null&&(za(a,s),ky(a)),Xs()}}function By(e){return e.type!==2}function _d(e,t){for(let n=Al(e);n!==null;n=Ol(n))for(let r=q;r-1&&(En(t,r),Sr(n,r))}this._attachedToViewContainer=!1}uo(this._lView[D],this._lView)}onDestroy(t){rl(this._lView,t)}markForCheck(){Ia(this._cdRefInjectingView||this._lView)}detach(){this._lView[y]&=-129}reattach(){Ai(this._lView),this._lView[y]|=128}detectChanges(){this._lView[y]|=1024,bd(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new M(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,Kl(this._lView[D],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new M(902,!1);this._appRef=t,Ai(this._lView)}},Ze=(()=>{let t=class t{};t.__NG_ELEMENT_ID__=zy;let e=t;return e})(),Uy=Ze,Gy=class extends Uy{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=ho(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:n,dehydratedView:r});return new vt(o)}};function zy(){return mo(X(),w())}function mo(e,t){return e.type&4?new Gy(t,e,Kt(e,t)):null}function Sd(e){let t=e[Dn]??[],r=e[W][P];for(let o of t)Wy(o,r);e[Dn]=K}function Wy(e,t){let n=0,r=e.firstChild;if(r){let o=e.data[kr];for(;n0&&(i.firstChild=e,e=Do(r[kr],e)),n.push(i)}return[e,n]}var Nd=()=>null;function nD(e,t){let n=e[Dn];return!t||n===null||n.length===0?null:n[0].data[nm]===t?n.shift():(Sd(e),null)}function rD(){Nd=nD}function bn(e,t){return Nd(e,t)}var es=class{},ts=class{},Br=class{};function oD(e){let t=Error(`No component factory found for ${J(e)}.`);return t[iD]=e,t}var iD="ngComponent";var ns=class{resolveComponentFactory(t){throw oD(t)}},vo=(()=>{let t=class t{};t.NULL=new ns;let e=t;return e})(),rs=class{},wo=(()=>{let t=class t{constructor(){this.destroyNode=null}};t.__NG_ELEMENT_ID__=()=>sD();let e=t;return e})();function sD(){let e=w(),t=X(),n=Xe(t.index,e);return(Le(n)?n:e)[P]}var aD=(()=>{let t=class t{};t.\u0275prov=V({token:t,providedIn:"root",factory:()=>null});let e=t;return e})(),pi={};var Yu=new Set;function Pn(e){Yu.has(e)||(Yu.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}function Qu(...e){}function uD(){let e=typeof pe.requestAnimationFrame=="function",t=pe[e?"requestAnimationFrame":"setTimeout"],n=pe[e?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&t&&n){let r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r);let o=n[Zone.__symbol__("OriginalDelegate")];o&&(n=o)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:n}}var Ee=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 dt(!1),this.onMicrotaskEmpty=new dt(!1),this.onStable=new dt(!1),this.onError=new dt(!1),typeof Zone>"u")throw new M(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.lastRequestAnimationFrameId=-1,o.nativeRequestAnimationFrame=uD().nativeRequestAnimationFrame,dD(o)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get("isAngularZone")===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new M(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new M(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,cD,Qu,Qu);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)}},cD={};function Ea(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 lD(e){e.isCheckStableRunning||e.lastRequestAnimationFrameId!==-1||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(pe,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,os(e),e.isCheckStableRunning=!0,Ea(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),os(e))}function dD(e){let t=()=>{lD(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,o,i,s,a)=>{if(fD(a))return n.invokeTask(o,i,s,a);try{return Zu(e),n.invokeTask(o,i,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&i.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),Ku(e)}},onInvoke:(n,r,o,i,s,a,u)=>{try{return Zu(e),n.invoke(o,i,s,a,u)}finally{e.shouldCoalesceRunChangeDetection&&t(),Ku(e)}},onHasTask:(n,r,o,i)=>{n.hasTask(o,i),r===o&&(i.change=="microTask"?(e._hasPendingMicrotasks=i.microTask,os(e),Ea(e)):i.change=="macroTask"&&(e.hasPendingMacrotasks=i.macroTask))},onHandleError:(n,r,o,i)=>(n.handleError(o,i),e.runOutsideAngular(()=>e.onError.emit(i)),!1)})}function os(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.lastRequestAnimationFrameId!==-1?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function Zu(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Ku(e){e._nesting--,Ea(e)}function fD(e){return!Array.isArray(e)||e.length!==1?!1:e[0].data?.__ignore_ng_zone__===!0}var Ad=(()=>{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=V({token:t,providedIn:"root",factory:()=>new t});let e=t;return e})();function $r(e,t,n){let r=n?e.styles:null,o=n?e.classes:null,i=0;if(t!==null)for(let s=0;s0&&id(e,n,i.join(" "))}}function vD(e,t,n){let r=e.projection=[];for(let o=0;o{let t=class t{};t.__NG_ELEMENT_ID__=ID;let e=t;return e})();function ID(){let e=X();return Fd(e,w())}var ED=nt,Od=class extends ED{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return Kt(this._hostTNode,this._hostLView)}get injector(){return new ft(this._hostTNode,this._hostLView)}get parentInjector(){let t=ea(this._hostTNode,this._hostLView);if(ml(t)){let n=Or(t,this._hostLView),r=Ar(t),o=n[D].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=Xu(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-q}createEmbeddedView(t,n,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=bn(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,Cn(this._hostTNode,s)),a}createComponent(t,n,r,o,i){let s=t&&!Yh(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 _n(ht(t)),c=r||this.parentInjector;if(!i&&u.ngModule==null){let g=(s?c:this.parentInjector).get(qe,null);g&&(i=g)}let l=ht(u.componentType??{}),d=bn(this._lContainer,l?.id??null),p=d?.firstChild??null,f=u.create(c,o,p,i);return this.insertImpl(f.hostView,a,Cn(this._hostTNode,d)),f}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){let o=t._lView;if(ng(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let u=o[W],c=new Od(u,u[ue],u[W]);c.detach(c.indexOf(t))}}let i=this._adjustIndex(n),s=this._lContainer;return go(s,o,i,r),t.attachToViewContainerRef(),xc(hi(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=Xu(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=En(this._lContainer,n);r&&(Sr(hi(this._lContainer),n),uo(r[D],r))}detach(t){let n=this._adjustIndex(t,-1),r=En(this._lContainer,n);return r&&Sr(hi(this._lContainer),n)!=null?new vt(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function Xu(e){return e[Nr]}function hi(e){return e[Nr]||(e[Nr]=[])}function Fd(e,t){let n,r=t[e.index];return Ae(r)?n=r:(n=gd(r,t,null,e),t[e.index]=n,po(t,n)),Rd(n,t,e,r),new Od(n,e,t)}function CD(e,t){let n=e[P],r=n.createComment(""),o=ce(t,e),i=la(n,o);return Lr(n,i,r,Zm(n,o),!1),r}var Rd=Pd,Ca=()=>!1;function bD(e,t,n){return Ca(e,t,n)}function Pd(e,t,n,r){if(e[Ve])return;let o;n.type&8?o=be(r):o=CD(t,n),e[Ve]=o}function _D(e,t,n){if(e[Ve]&&e[Dn])return!0;let r=n[ae],o=t.index-j;if(!r||Gg(t)||io(r,o))return!1;let s=$i(r,o),a=r.data[ra]?.[o],[u,c]=tD(s,a);return e[Ve]=u,e[Dn]=c,!0}function MD(e,t,n,r){Ca(e,n,t)||Pd(e,t,n,r)}function xD(){Rd=MD,Ca=_D}var as=class e{constructor(t){this.queryList=t,this.matches=null}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty()}},us=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=q;dt.trim())}function jd(e,t,n){e.queries===null&&(e.queries=new cs),e.queries.track(new ls(t,n))}function kD(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 ba(e,t){return e.queries.getByIndex(t)}function LD(e,t){let n=e[D],r=ba(n,t);return r.crossesNgTemplate?ds(n,e,t,[]):kd(n,e,r,t)}function jD(e){return Object.getPrototypeOf(e.prototype).constructor}function VD(e){let t=jD(e.type),n=!0,r=[e];for(;t;){let o;if(Ye(e))o=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new M(903,!1);o=t.\u0275dir}if(o){if(n){r.push(o);let s=e;s.inputs=yr(e.inputs),s.inputTransforms=yr(e.inputTransforms),s.declaredInputs=yr(e.declaredInputs),s.outputs=yr(e.outputs);let a=o.hostBindings;a&&GD(e,a);let u=o.viewQuery,c=o.contentQueries;if(u&&HD(e,u),c&&UD(e,c),BD(e,o),Qp(e.outputs,o.outputs),Ye(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=hn(o.hostAttrs,n=hn(n,o.hostAttrs))}}function yr(e){return e===Bt?{}:e===K?[]:e}function HD(e,t){let n=e.viewQuery;n?e.viewQuery=(r,o)=>{t(r,o),n(r,o)}:e.viewQuery=t}function UD(e,t){let n=e.contentQueries;n?e.contentQueries=(r,o,i)=>{t(r,o,i),n(r,o,i)}:e.contentQueries=t}function GD(e,t){let n=e.hostBindings;n?e.hostBindings=(r,o)=>{t(r,o),n(r,o)}:e.hostBindings=t}function zD(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 Ke=class{},fs=class{};var ps=class extends Ke{constructor(t,n,r){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Hr(this);let o=jc(t);this._bootstrapComponents=Zl(o.bootstrap),this._r3Injector=_l(t,n,[{provide:Ke,useValue:this},{provide:vo,useValue:this.componentFactoryResolver},...r],J(t),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(t)}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)}},hs=class extends fs{constructor(t){super(),this.moduleType=t}create(t){return new ps(this.moduleType,t,[])}};var Gr=class extends Ke{constructor(t){super(),this.componentFactoryResolver=new Hr(this),this.instance=null;let n=new gn([...t.providers,{provide:Ke,useValue:this},{provide:vo,useValue:this.componentFactoryResolver}],t.parent||$s(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function WD(e,t,n=null){return new Gr({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var Vd=(()=>{let t=class t{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new rn(!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.\u0275fac=function(o){return new(o||t)},t.\u0275prov=V({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function Bd(e){return _a(e)?Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e:!1}function qD(e,t){if(Array.isArray(e))for(let n=0;n>17&32767}function tv(e){return(e&2)==2}function nv(e,t){return e&131071|t<<17}function ms(e){return e|2}function Wt(e){return(e&131068)>>2}function gi(e,t){return e&-131069|t<<2}function rv(e){return(e&1)===1}function ys(e){return e|1}function ov(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=wt(s),u=Wt(s);e[r]=n;let c=!1,l;if(Array.isArray(n)){let d=n;l=d[1],(l===null||Tn(d,l)>0)&&(c=!0)}else l=n;if(o)if(u!==0){let p=wt(e[a+1]);e[r+1]=Dr(p,a),p!==0&&(e[p+1]=gi(e[p+1],r)),e[a+1]=nv(e[a+1],r)}else e[r+1]=Dr(a,0),a!==0&&(e[a+1]=gi(e[a+1],r)),a=r;else e[r+1]=Dr(u,0),a===0?a=r:e[u+1]=gi(e[u+1],r),u=r;c&&(e[r+1]=ms(e[r+1])),ec(e,l,r,!0),ec(e,l,r,!1),iv(t,l,e,r,i),s=Dr(a,u),i?t.classBindings=s:t.styleBindings=s}function iv(e,t,n,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof t=="string"&&Tn(i,t)>=0&&(n[r+1]=ys(n[r+1]))}function ec(e,t,n,r){let o=e[n+1],i=t===null,s=r?wt(o):Wt(o),a=!1;for(;s!==0&&(a===!1||i);){let u=e[s],c=e[s+1];sv(u,t)&&(a=!0,e[s+1]=r?ys(c):ms(c)),s=r?wt(c):Wt(c)}a&&(e[n+1]=r?ms(o):ys(o))}function sv(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?Tn(e,t)>=0:!1}var z={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Gd(e){return e.substring(z.key,z.keyEnd)}function av(e){return e.substring(z.value,z.valueEnd)}function uv(e){return qd(e),zd(e,qt(e,0,z.textEnd))}function zd(e,t){let n=z.textEnd;return n===t?-1:(t=z.keyEnd=lv(e,z.key=t,n),qt(e,t,n))}function cv(e){return qd(e),Wd(e,qt(e,0,z.textEnd))}function Wd(e,t){let n=z.textEnd,r=z.key=qt(e,t,n);return n===r?-1:(r=z.keyEnd=dv(e,r,n),r=tc(e,r,n,58),r=z.value=qt(e,r,n),r=z.valueEnd=fv(e,r,n),tc(e,r,n,59))}function qd(e){z.key=0,z.keyEnd=0,z.value=0,z.valueEnd=0,z.textEnd=e.length}function qt(e,t,n){for(;t32;)t++;return t}function dv(e,t,n){let r;for(;t=65&&(r&-33)<=90||r>=48&&r<=57);)t++;return t}function tc(e,t,n,r){return t=qt(e,t,n),t32&&(a=s),i=o,o=r,r=u&-33}return a}function nc(e,t,n,r){let o=-1,i=n;for(;i=0;n=Wd(t,n))Xd(e,Gd(t),av(t))}function mS(e){Zd(Ev,mv,e,!0)}function mv(e,t){for(let n=uv(t);n>=0;n=zd(t,n))Jr(e,Gd(t),!0)}function Qd(e,t,n,r){let o=w(),i=$(),s=sl(2);if(i.firstUpdatePass&&Jd(i,e,s,r),t!==_e&&he(o,s,t)){let a=i.data[et()];ef(i,a,o,o[P],e,o[s+1]=bv(t,n),r,s)}}function Zd(e,t,n,r){let o=$(),i=sl(2);o.firstUpdatePass&&Jd(o,null,i,r);let s=w();if(n!==_e&&he(s,i,n)){let a=o.data[et()];if(tf(a,r)&&!Kd(o,i)){let u=r?a.classesWithoutHost:a.stylesWithoutHost;u!==null&&(n=Ei(u,n||"")),Ds(o,a,s,n,r)}else Cv(o,a,s,s[P],s[i+1],s[i+1]=Iv(e,t,n),r,i)}}function Kd(e,t){return t>=e.expandoStartIndex}function Jd(e,t,n,r){let o=e.data;if(o[n+1]===null){let i=o[et()],s=Kd(e,n);tf(i,r)&&t===null&&!s&&(t=!1),t=yv(o,i,t,r),ov(o,i,t,n,s,r)}}function yv(e,t,n,r){let o=Dg(e),i=r?t.residualClasses:t.residualStyles;if(o===null)(r?t.classBindings:t.styleBindings)===0&&(n=mi(null,e,t,n,r),n=Mn(n,t.attrs,r),i=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==o)if(n=mi(o,e,t,n,r),i===null){let u=Dv(e,t,r);u!==void 0&&Array.isArray(u)&&(u=mi(null,e,t,u[1],r),u=Mn(u,t.attrs,r),vv(e,t,r,u))}else i=wv(e,t,r)}return i!==void 0&&(r?t.residualClasses=i:t.residualStyles=i),n}function Dv(e,t,n){let r=n?t.classBindings:t.styleBindings;if(Wt(r)!==0)return e[wt(r)]}function vv(e,t,n,r){let o=n?t.classBindings:t.styleBindings;e[wt(o)]=r}function wv(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===_e&&(p=d?K:void 0);let f=d?ri(p,r):l===r?p:void 0;if(c&&!Wr(f)&&(f=ri(u,r)),Wr(f)&&(a=f,s))return a;let h=e[o+1];o=s?wt(h):Wt(h)}if(t!==null){let u=i?t.residualClasses:t.residualStyles;u!=null&&(a=ri(u,r))}return a}function Wr(e){return e!==void 0}function bv(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=J(Jt(e)))),e}function tf(e,t){return(e.flags&(t?8:16))!==0}var vs=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 yi(e,t,n,r,o){return e===n&&Object.is(t,r)?1:Object.is(o(e,t),o(n,r))?-1:0}function _v(e,t,n){let r,o,i=0,s=e.length-1;if(Array.isArray(t)){let a=t.length-1;for(;i<=s&&i<=a;){let u=e.at(i),c=t[i],l=yi(i,u,i,c,n);if(l!==0){l<0&&e.updateValue(i,c),i++;continue}let d=e.at(s),p=t[a],f=yi(s,d,a,p,n);if(f!==0){f<0&&e.updateValue(s,p),s--,a--;continue}let h=n(i,u),g=n(s,d),S=n(i,c);if(Object.is(S,g)){let x=n(a,p);Object.is(x,h)?(e.swap(i,s),e.updateValue(s,p),a--,s--):e.move(s,i),e.updateValue(i,c),i++;continue}if(r??=new qr,o??=ic(e,i,s,n),ws(e,r,i,S))e.updateValue(i,c),i++,s++;else if(o.has(S))r.set(h,e.detach(i)),s--;else{let x=e.create(i,t[i]);e.attach(i,x),i++,s++}}for(;i<=a;)oc(e,r,n,i,t[i]),i++}else if(t!=null){let a=t[Symbol.iterator](),u=a.next();for(;!u.done&&i<=s;){let c=e.at(i),l=u.value,d=yi(i,c,i,l,n);if(d!==0)d<0&&e.updateValue(i,l),i++,u=a.next();else{r??=new qr,o??=ic(e,i,s,n);let p=n(i,l);if(ws(e,r,i,p))e.updateValue(i,l),i++,s++,u=a.next();else if(!o.has(p))e.attach(i,e.create(i,l)),i++,s++,u=a.next();else{let f=n(i,c);r.set(f,e.detach(i)),s--}}}for(;!u.done;)oc(e,r,n,e.length,u.value),u=a.next()}for(;i<=s;)e.destroy(e.detach(s--));r?.forEach(a=>{e.destroy(a)})}function ws(e,t,n,r){return t!==void 0&&t.has(r)?(e.attach(n,t.get(r)),t.delete(r),!0):!1}function oc(e,t,n,r,o){if(ws(e,t,r,n(r,o)))e.updateValue(r,o);else{let i=e.create(r,o);e.attach(r,i)}}function ic(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 qr=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)}}};function yS(e,t,n){Pn("NgControlFlow");let r=w(),o=Zt(),i=bs(r,j+e),s=0;if(he(r,o,t)){let a=b(null);try{if(Id(i,s),t!==-1){let u=_s(r[D],j+t),c=bn(i,u.tView.ssrId),l=ho(r,u,n,{dehydratedView:c});go(i,l,s,Cn(u,c))}}finally{b(a)}}else{let a=wd(i,s);a!==void 0&&(a[Y]=n)}}var Is=class{constructor(t,n,r){this.lContainer=t,this.$implicit=n,this.$index=r}get $count(){return this.lContainer.length-q}};var Es=class{constructor(t,n,r){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=r}};function DS(e,t,n,r,o,i,s,a,u,c,l,d,p){Pn("NgControlFlow");let f=u!==void 0,h=w(),g=a?s.bind(h[ie][Y]):s,S=new Es(f,g);h[j+e]=S,gs(e+1,t,n,r,o,i),f&&gs(e+2,u,c,l,d,p)}var Cs=class extends vs{constructor(t,n,r){super(),this.lContainer=t,this.hostLView=n,this.templateTNode=r,this.needsIndexUpdate=!1}get length(){return this.lContainer.length-q}at(t){return this.getLView(t)[Y].$implicit}attach(t,n){let r=n[ae];this.needsIndexUpdate||=t!==this.length,go(this.lContainer,n,t,Cn(this.templateTNode,r))}detach(t){return this.needsIndexUpdate||=t!==this.length-1,Mv(this.lContainer,t)}create(t,n){let r=bn(this.lContainer,this.templateTNode.tView.ssrId);return ho(this.hostLView,this.templateTNode,new Is(this.lContainer,n,t),{dehydratedView:r})}destroy(t){uo(t[D],t)}updateValue(t,n){this.getLView(t)[Y].$implicit=n}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t(Oe(!0),ao(r,o,pl()));function Nv(e,t,n,r,o,i){let s=t[ae],a=!s||Qt()||Ln(n)||io(s,i);if(Oe(a),a)return ao(r,o,pl());let u=yo(s,e,t,n);return Vl(s,i)&&oo(s,i,u.nextSibling),s&&(Sl(n)||Tl(u))&&An(n)&&(lg(n),rd(u)),u}function Av(){of=Nv}function Ov(e,t,n,r,o){let i=t.consts,s=Gt(i,r),a=Xt(t,e,8,"ng-container",s);s!==null&&$r(a,s,!0);let u=Gt(i,o);return Da(t,n,a,u),t.queries!==null&&t.queries.elementStart(t,a),a}function sf(e,t,n){let r=w(),o=$(),i=e+j,s=o.firstCreatePass?Ov(i,o,r,t,n):o.data[i];It(s,!0);let a=uf(o,r,s,e);return r[i]=a,no()&&co(o,r,a,s),Qe(a,r),eo(s)&&(ha(o,r,s),pa(o,s,r)),n!=null&&ga(r,s),sf}function af(){let e=X(),t=$();return Qs()?Zs():(e=e.parent,It(e,!1)),t.firstCreatePass&&(ro(t,e),Us(e)&&t.queries.elementEnd(e)),af}function Fv(e,t,n){return sf(e,t,n),af(),Fv}var uf=(e,t,n,r)=>(Oe(!0),ca(t[P],""));function Rv(e,t,n,r){let o,i=t[ae],s=!i||Qt()||Ln(n);if(Oe(s),s)return ca(t[P],"");let a=yo(i,e,t,n),u=fm(i,r);return oo(i,r,a),o=Do(u,a),o}function Pv(){uf=Rv}function wS(){return w()}function kv(e,t,n){let r=w(),o=Zt();if(he(r,o,t)){let i=$(),s=to();ya(i,s,r,e,t,r[P],n,!0)}return kv}var lt=void 0;function Lv(e){let t=e,n=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return n===1&&r===0?1:5}var jv=["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",Lv],Di={};function ge(e){let t=Vv(e),n=sc(t);if(n)return n;let r=t.split("-")[0];if(n=sc(r),n)return n;if(r==="en")return jv;throw new M(701,!1)}function sc(e){return e in Di||(Di[e]=pe.ng&&pe.ng.common&&pe.ng.common.locales&&pe.ng.common.locales[e]),Di[e]}var H=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}(H||{});function Vv(e){return e.toLowerCase().replace(/_/g,"-")}var Yr="en-US";var Bv=Yr;function $v(e){typeof e=="string"&&(Bv=e.toLowerCase().replace(/_/g,"-"))}function cf(e,t,n){let r=e[P];switch(n){case Node.COMMENT_NODE:return ca(r,t);case Node.TEXT_NODE:return ua(r,t);case Node.ELEMENT_NODE:return ao(r,t,null)}}var Hv=(e,t,n,r)=>(Oe(!0),cf(e,n,r));function Uv(e,t,n,r){return Oe(!0),cf(e,n,r)}function Gv(){Hv=Uv}function zv(e,t,n,r){let o=w(),i=$(),s=X();return qv(i,o,o[P],s,e,t,r),zv}function Wv(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 qv(e,t,n,r,o,i,s){let a=eo(r),c=e.firstCreatePass&&Dd(e),l=t[Y],d=yd(t),p=!0;if(r.type&3||s){let g=ce(r,t),S=s?s(g):g,x=d.length,de=s?Fe=>s(be(Fe[r.index])):r.index,te=null;if(!s&&a&&(te=Wv(e,t,o,r.index)),te!==null){let Fe=te.__ngLastListenerFn__||te;Fe.__ngNextListenerFn__=i,te.__ngLastListenerFn__=i,p=!1}else{i=uc(r,t,l,i,!1);let Fe=n.listen(S,o,i);d.push(i,Fe),c&&c.push(o,de,x,x+1)}}else i=uc(r,t,l,i,!1);let f=r.outputs,h;if(p&&f!==null&&(h=f[o])){let g=h.length;if(g)for(let S=0;S-1?Xe(e.index,t):t;Ia(a);let u=ac(t,n,r,s),c=i.__ngNextListenerFn__;for(;c;)u=ac(t,n,c,s)&&u,c=c.__ngNextListenerFn__;return o&&u===!1&&s.preventDefault(),u}}function IS(e=1){return wg(e)}function Yv(e,t){let n=null,r=_h(e);for(let o=0;o=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}function SS(e){let t=pg();return Ws(t,j+e)}function TS(e,t=""){let n=w(),r=$(),o=e+j,i=r.firstCreatePass?Xt(r,o,1,t,null):r.data[o],s=df(r,n,i,t,e);n[o]=s,no()&&co(r,n,s,i),It(i,!1)}var df=(e,t,n,r,o)=>(Oe(!0),ua(t[P],r));function Kv(e,t,n,r,o){let i=t[ae],s=!i||Qt()||Ln(n)||io(i,o);return Oe(s),s?ua(t[P],r):yo(i,e,t,n)}function Jv(){df=Kv}function Xv(e){return ff("",e,""),Xv}function ff(e,t,n){let r=w(),o=Ud(r,e,t,n);return o!==_e&&Ty(r,et(),o),ff}function ew(e,t,n){let r=$();if(r.firstCreatePass){let o=Ye(e);Ms(n,r.data,r.blueprint,o,!0),Ms(t,r.data,r.blueprint,o,!1)}}function Ms(e,t,n,r,o){if(e=Z(e),Array.isArray(e))for(let i=0;i>20;if($t(e)||!e.multi){let f=new yt(c,o,B),h=wi(u,t,o?l:l+p,d);h===-1?(Ri(Rr(a,s),i,u),vi(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=wi(u,t,l+p,d),h=wi(u,t,l,l+p),g=f>=0&&n[f],S=h>=0&&n[h];if(o&&!S||!o&&!g){Ri(Rr(a,s),i,u);let x=rw(o?nw:tw,n.length,o,r,c);!o&&S&&(n[h].providerFactory=x),vi(i,e,t.length,0),t.push(u),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(x),s.push(x)}else{let x=pf(n[o?h:f],c,!o&&r);vi(i,e,f>-1?f:h,x)}!o&&r&&S&&n[h].componentProviders++}}}function vi(e,t,n,r){let o=$t(t),i=Bh(t);if(o||i){let u=(i?Z(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 pf(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function wi(e,t,n,r){for(let o=n;o{n.providersResolver=(r,o)=>ew(r,o?o(e):e,t)}}var ow=(()=>{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=Hc(!1,r.type),i=o.length>0?WD([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=V({token:t,providedIn:"environment",factory:()=>new t(oe(qe))});let e=t;return e})();function AS(e){Pn("NgStandalone"),e.getStandaloneInjector=t=>t.get(ow).getOrCreateStandaloneInjector(e)}function OS(e,t,n){let r=Et()+e,o=w();return o[r]===_e?kn(o,r,n?t.call(n):t()):YD(o,r)}function FS(e,t,n,r){return hf(w(),Et(),e,t,n,r)}function RS(e,t,n,r,o){return gf(w(),Et(),e,t,n,r,o)}function PS(e,t,n,r,o,i){return iw(w(),Et(),e,t,n,r,o,i)}function kS(e,t,n,r,o,i,s){return sw(w(),Et(),e,t,n,r,o,i,s)}function Io(e,t){let n=e[t];return n===_e?void 0:n}function hf(e,t,n,r,o,i){let s=t+n;return he(e,s,o)?kn(e,s+1,i?r.call(i,o):r(o)):Io(e,s+1)}function gf(e,t,n,r,o,i,s){let a=t+n;return zr(e,a,o,i)?kn(e,a+2,s?r.call(s,o,i):r(o,i)):Io(e,a+2)}function iw(e,t,n,r,o,i,s,a){let u=t+n;return QD(e,u,o,i,s)?kn(e,u+3,a?r.call(a,o,i,s):r(o,i,s)):Io(e,u+3)}function sw(e,t,n,r,o,i,s,a,u){let c=t+n;return ZD(e,c,o,i,s,a)?kn(e,c+4,u?r.call(u,o,i,s,a):r(o,i,s,a)):Io(e,c+4)}function LS(e,t){let n=$(),r,o=e+j;n.firstCreatePass?(r=aw(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=re(B);try{let u=Fr(!1),c=i();return Fr(u),Zv(n,w(),o,c),c}finally{re(a)}}function aw(e,t){if(t)for(let n=t.length-1;n>=0;n--){let r=t[n];if(e===r.name)return r}}function jS(e,t,n){let r=e+j,o=w(),i=Ws(o,r);return mf(o,r)?hf(o,Et(),t,i.transform,n,i):i.transform(n)}function VS(e,t,n,r){let o=e+j,i=w(),s=Ws(i,o);return mf(i,o)?gf(i,Et(),t,s.transform,n,r,s):s.transform(n,r)}function mf(e,t){return e[D].data[t].pure}function BS(e,t){return mo(e,t)}var $S=(()=>{let t=class t{log(r){console.log(r)}warn(r){console.warn(r)}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=V({token:t,factory:t.\u0275fac,providedIn:"platform"});let e=t;return e})();var uw=new R("");function Ma(e){return!!e&&typeof e.then=="function"}function yf(e){return!!e&&typeof e.subscribe=="function"}var cw=new R(""),Df=(()=>{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=N(cw,{optional:!0})??[]}runInitializers(){if(this.initialized)return;let r=[];for(let i of this.appInits){let s=i();if(Ma(s))r.push(s);else if(yf(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=V({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),vf=new R("");function lw(){qa(()=>{throw new M(600,!1)})}function dw(e){return e.isBoundToModule}function fw(e,t,n){try{let r=n();return Ma(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}var xa=(()=>{let t=class t{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=N(Ml),this.afterRenderEffectManager=N(Ad),this.externalTestViews=new Set,this.beforeRender=new fe,this.afterTick=new fe,this.componentTypes=[],this.components=[],this.isStable=N(Vd).hasPendingTasks.pipe(ke(r=>!r)),this._injector=N(qe)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(r,o){let i=r instanceof Br;if(!this._injector.get(Df).done){let f=!i&&Rh(r),h=!1;throw new M(405,h)}let a;i?a=r:a=this._injector.get(vo).resolveComponentFactory(r),this.componentTypes.push(a.componentType);let u=dw(a)?void 0:this._injector.get(Ke),c=o||a.selector,l=a.create(On.NULL,[],c,u),d=l.location.nativeElement,p=l.injector.get(uw,null);return p?.registerApplication(d),l.onDestroy(()=>{this.detachView(l.hostView),Ii(this.components,l),p?.unregisterApplication(d)}),this._loadComponent(l),l}tick(){this._tick(!0)}_tick(r){if(this._runningTick)throw new M(101,!1);let o=b(null);try{this._runningTick=!0,this.detectChangesInAttachedViews(r)}catch(i){this.internalErrorHandler(i)}finally{this.afterTick.next(),this._runningTick=!1,b(o)}}detectChangesInAttachedViews(r){let o=0,i=this.afterRenderEffectManager;for(;;){if(o===Cd)throw new M(103,!1);if(r){let s=o===0;this.beforeRender.next(s);for(let{_lView:a,notifyErrorHandler:u}of this._views)hw(a,s,u)}if(o++,i.executeInternalCallbacks(),![...this.externalTestViews.keys(),...this._views].some(({_lView:s})=>Ss(s))&&(i.execute(),![...this.externalTestViews.keys(),...this._views].some(({_lView:s})=>Ss(s))))break}}attachView(r){let o=r;this._views.push(o),o.attachToAppRef(this)}detachView(r){let o=r;Ii(this._views,o),o.detachFromAppRef()}_loadComponent(r){this.attachView(r.hostView),this.tick(),this.components.push(r);let o=this._injector.get(vf,[]);[...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),()=>Ii(this._destroyListeners,r)}destroy(){if(this._destroyed)throw new M(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=V({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function Ii(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}var vr;function pw(e){vr??=new WeakMap;let t=vr.get(e);if(t)return t;let n=e.isStable.pipe(Xo(r=>r)).toPromise().then(()=>{});return vr.set(e,n),e.onDestroy(()=>vr?.delete(e)),n}function hw(e,t,n){!t&&!Ss(e)||gw(e,n,t)}function Ss(e){return Ys(e)}function gw(e,t,n){let r;n?(r=0,e[y]|=1024):e[y]&64?r=0:r=1,bd(e,t,r)}var Ts=class{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}},HS=(()=>{let t=class t{compileModuleSync(r){return new hs(r)}compileModuleAsync(r){return Promise.resolve(this.compileModuleSync(r))}compileModuleAndAllComponentsSync(r){let o=this.compileModuleSync(r),i=jc(r),s=Zl(i.declarations).reduce((a,u)=>{let c=ht(u);return c&&a.push(new _n(c)),a},[]);return new Ts(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=V({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();var mw=(()=>{let t=class t{constructor(){this.zone=N(Ee),this.applicationRef=N(xa)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=V({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function yw(e){return[{provide:Ee,useFactory:e},{provide:fn,multi:!0,useFactory:()=>{let t=N(mw,{optional:!0});return()=>t.initialize()}},{provide:fn,multi:!0,useFactory:()=>{let t=N(Iw);return()=>{t.initialize()}}},{provide:Ml,useFactory:Dw}]}function Dw(){let e=N(Ee),t=N(zt);return n=>e.runOutsideAngular(()=>t.handleError(n))}function vw(e){let t=yw(()=>new Ee(ww(e)));return $c([[],t])}function ww(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var Iw=(()=>{let t=class t{constructor(){this.subscription=new G,this.initialized=!1,this.zone=N(Ee),this.pendingTasks=N(Vd)}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(()=>{Ee.assertNotInAngularZone(),queueMicrotask(()=>{r!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(r),r=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{Ee.assertInAngularZone(),r??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=V({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function Ew(){return typeof $localize<"u"&&$localize.locale||Yr}var Eo=new R("",{providedIn:"root",factory:()=>N(Eo,_.Optional|_.SkipSelf)||Ew()});var wf=new R("");var _r=null;function Cw(e=[],t){return On.create({name:t,providers:[{provide:zc,useValue:"platform"},{provide:wf,useValue:new Set([()=>_r=null])},...e]})}function bw(e=[]){if(_r)return _r;let t=Cw(e);return _r=t,lw(),_w(t),t}function _w(e){e.get(Kg,null)?.forEach(n=>n())}var If=(()=>{let t=class t{};t.__NG_ELEMENT_ID__=Mw;let e=t;return e})();function Mw(e){return xw(X(),w(),(e&16)===16)}function xw(e,t,n){if(An(e)&&!n){let r=Xe(e.index,t);return new vt(r,r)}else if(e.type&47){let r=t[ie];return new vt(r,t)}return null}var Ns=class{constructor(){}supports(t){return Bd(t)}create(t){return new As(t)}},Sw=(e,t)=>t,As=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||Sw}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 Os(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 Qr),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 Qr),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}},Os=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}},Fs=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}},Qr=class{constructor(){this.map=new Map}put(t){let n=t.trackById,r=this.map.get(n);r||(r=new Fs,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 cc(e,t,n){let r=e.previousIndex;if(r===null)return r;let o=0;return n&&r{if(n&&n.key===o)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{let i=this._getOrCreateRecordForKey(o,r);n=this._insertBeforeOrAppend(n,i)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let r=n;r!==null;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){let r=t._prev;return n._next=t,n._prev=r,t._prev=n,r&&(r._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){let o=this._records.get(t);this._maybeAddToChanges(o,n);let i=o._prev,s=o._next;return i&&(i._next=s),s&&(s._prev=i),o._next=null,o._prev=null,o}let r=new ks(t);return this._records.set(t,r),r.currentValue=n,this._addToAdditions(r),r}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;t!==null;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;t!==null;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;t!=null;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,n){Object.is(n,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=n,this._addToChanges(t))}_addToAdditions(t){this._additionsHead===null?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){this._changesHead===null?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,n){t instanceof Map?t.forEach(n):Object.keys(t).forEach(r=>n(t[r],r))}},ks=class{constructor(t){this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}};function lc(){return new Sa([new Ns])}var Sa=(()=>{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||lc()),deps:[[t,new Mc,new _c]]}}find(r){let o=this.factories.find(i=>i.supports(r));if(o!=null)return o;throw new M(901,!1)}};t.\u0275prov=V({token:t,providedIn:"root",factory:lc});let e=t;return e})();function dc(){return new Ta([new Rs])}var Ta=(()=>{let t=class t{constructor(r){this.factories=r}static create(r,o){if(o){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||dc()),deps:[[t,new Mc,new _c]]}}find(r){let o=this.factories.find(i=>i.supports(r));if(o)return o;throw new M(901,!1)}};t.\u0275prov=V({token:t,providedIn:"root",factory:dc});let e=t;return e})();function US(e){try{let{rootComponent:t,appProviders:n,platformProviders:r}=e,o=bw(r),i=[vw(),...n||[]],a=new Gr({providers:i,parent:o,debugName:"",runEnvironmentInitializers:!1}).injector,u=a.get(Ee);return u.run(()=>{a.resolveInjectorInitializers();let c=a.get(zt,null),l;u.runOutsideAngular(()=>{l=u.onError.subscribe({next:f=>{c.handleError(f)}})});let d=()=>a.destroy(),p=o.get(wf);return p.add(d),a.onDestroy(()=>{l.unsubscribe(),p.delete(d)}),fw(c,u,()=>{let f=a.get(Df);return f.runInitializers(),f.donePromise.then(()=>{let h=a.get(Eo,Yr);$v(h||Yr);let g=a.get(xa);return t!==void 0&&g.bootstrap(t),g})})})}catch(t){return Promise.reject(t)}}var fc=!1,Tw=!1;function Nw(){fc||(fc=!0,um(),Av(),Jv(),Pv(),XD(),xD(),rD(),cy(),Gv())}function Aw(e,t){return pw(e)}function GS(){return $c([{provide:fr,useFactory:()=>{let e=!0;return mr()&&(e=!!N(na,{optional:!0})?.get(Ll,null)),e&&Pn("NgHydration"),e}},{provide:fn,useValue:()=>{Tw=!!N(pm,{optional:!0}),mr()&&N(fr)&&(Ow(),Nw())},multi:!0},{provide:$l,useFactory:()=>mr()&&N(fr)},{provide:vf,useFactory:()=>{if(mr()&&N(fr)){let e=N(xa),t=N(On);return()=>{Aw(e,t).then(()=>{Yy(e)})}}return()=>{}},multi:!0}])}function Ow(){let e=Fn(),t;for(let n of e.body.childNodes)if(n.nodeType===Node.COMMENT_NODE&&n.textContent?.trim()===sm){t=n;break}if(!t)throw new M(-507,!1)}function Fw(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}var Nf=null;function Na(){return Nf}function fT(e){Nf??=e}var Ef=class{};var Af=new R(""),Of=(()=>{let t=class t{historyGo(r){throw new Error("")}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=V({token:t,factory:()=>N(Pw),providedIn:"platform"});let e=t;return e})();var Pw=(()=>{let t=class t extends Of{constructor(){super(),this._doc=N(Af),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Na().getBaseHref(this._doc)}onPopState(r){let o=Na().getGlobalEventTarget(this._doc,"window");return o.addEventListener("popstate",r,!1),()=>o.removeEventListener("popstate",r)}onHashChange(r){let o=Na().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=V({token:t,factory:()=>new t,providedIn:"platform"});let e=t;return e})();function Ff(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 Cf(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 Ct(e){return e&&e[0]!=="?"?"?"+e:e}var ja=(()=>{let t=class t{historyGo(r){throw new Error("")}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=V({token:t,factory:()=>N(Lw),providedIn:"root"});let e=t;return e})(),kw=new R(""),Lw=(()=>{let t=class t extends ja{constructor(r,o){super(),this._platformLocation=r,this._removeListenerFns=[],this._baseHref=o??this._platformLocation.getBaseHrefFromDOM()??N(Af).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 Ff(this._baseHref,r)}path(r=!1){let o=this._platformLocation.pathname+Ct(this._platformLocation.search),i=this._platformLocation.hash;return i&&r?`${o}${i}`:o}pushState(r,o,i,s){let a=this.prepareExternalUrl(i+Ct(s));this._platformLocation.pushState(r,o,a)}replaceState(r,o,i,s){let a=this.prepareExternalUrl(i+Ct(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)(oe(Of),oe(kw,8))},t.\u0275prov=V({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();var jw=(()=>{let t=class t{constructor(r){this._subject=new dt,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=r;let o=this._locationStrategy.getBaseHref();this._basePath=$w(Cf(bf(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+Ct(o))}normalize(r){return t.stripTrailingSlash(Bw(this._basePath,bf(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+Ct(o)),i)}replaceState(r,o="",i=null){this._locationStrategy.replaceState(i,"",r,o),this._notifyUrlChangeListeners(this.prepareExternalUrl(r+Ct(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=Ct,t.joinWithSlash=Ff,t.stripTrailingSlash=Cf,t.\u0275fac=function(o){return new(o||t)(oe(ja))},t.\u0275prov=V({token:t,factory:()=>Vw(),providedIn:"root"});let e=t;return e})();function Vw(){return new jw(oe(ja))}function Bw(e,t){if(!e||!t.startsWith(e))return t;let n=t.substring(e.length);return n===""||["/",";","?","#"].includes(n[0])?n:t}function bf(e){return e.replace(/\/index.html$/,"")}function $w(e){if(new RegExp("^(https?:)?//").test(e)){let[,n]=e.split(/\/\/[^\/]+/);return n}return e}var ee=function(e){return e[e.Format=0]="Format",e[e.Standalone=1]="Standalone",e}(ee||{}),k=function(e){return e[e.Narrow=0]="Narrow",e[e.Abbreviated=1]="Abbreviated",e[e.Wide=2]="Wide",e[e.Short=3]="Short",e}(k||{}),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||{}),rt={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 Hw(e){return ge(e)[H.LocaleId]}function Uw(e,t,n){let r=ge(e),o=[r[H.DayPeriodsFormat],r[H.DayPeriodsStandalone]],i=me(o,t);return me(i,n)}function Gw(e,t,n){let r=ge(e),o=[r[H.DaysFormat],r[H.DaysStandalone]],i=me(o,t);return me(i,n)}function zw(e,t,n){let r=ge(e),o=[r[H.MonthsFormat],r[H.MonthsStandalone]],i=me(o,t);return me(i,n)}function Ww(e,t){let r=ge(e)[H.Eras];return me(r,t)}function Co(e,t){let n=ge(e);return me(n[H.DateFormat],t)}function bo(e,t){let n=ge(e);return me(n[H.TimeFormat],t)}function _o(e,t){let r=ge(e)[H.DateTimeFormat];return me(r,t)}function Oo(e,t){let n=ge(e),r=n[H.NumberSymbols][t];if(typeof r>"u"){if(t===rt.CurrencyDecimal)return n[H.NumberSymbols][rt.Decimal];if(t===rt.CurrencyGroup)return n[H.NumberSymbols][rt.Group]}return r}function Rf(e){if(!e[H.ExtraData])throw new Error(`Missing extra locale data for the locale "${e[H.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function qw(e){let t=ge(e);return Rf(t),(t[H.ExtraData][2]||[]).map(r=>typeof r=="string"?Aa(r):[Aa(r[0]),Aa(r[1])])}function Yw(e,t,n){let r=ge(e);Rf(r);let o=[r[H.ExtraData][0],r[H.ExtraData][1]],i=me(o,t)||[];return me(i,n)||[]}function me(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 Aa(e){let[t,n]=e.split(":");return{hours:+t,minutes:+n}}var Qw=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Mo={},Zw=/((?:[^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]*)/,Ue=function(e){return e[e.Short=0]="Short",e[e.ShortGMT=1]="ShortGMT",e[e.Long=2]="Long",e[e.Extended=3]="Extended",e}(Ue||{}),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 Kw(e,t,n,r){let o=sI(e);t=He(n,t)||t;let s=[],a;for(;t;)if(a=Zw.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=kf(r,u),o=iI(o,r,!0));let c="";return s.forEach(l=>{let d=rI(l);c+=d?d(o,n,u):l==="''"?"'":l.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),c}function Ao(e,t,n){let r=new Date(0);return r.setFullYear(e,t,n),r.setHours(0,0,0),r}function He(e,t){let n=Hw(e);if(Mo[n]??={},Mo[n][t])return Mo[n][t];let r="";switch(t){case"shortDate":r=Co(e,le.Short);break;case"mediumDate":r=Co(e,le.Medium);break;case"longDate":r=Co(e,le.Long);break;case"fullDate":r=Co(e,le.Full);break;case"shortTime":r=bo(e,le.Short);break;case"mediumTime":r=bo(e,le.Medium);break;case"longTime":r=bo(e,le.Long);break;case"fullTime":r=bo(e,le.Full);break;case"short":let o=He(e,"shortTime"),i=He(e,"shortDate");r=xo(_o(e,le.Short),[o,i]);break;case"medium":let s=He(e,"mediumTime"),a=He(e,"mediumDate");r=xo(_o(e,le.Medium),[s,a]);break;case"long":let u=He(e,"longTime"),c=He(e,"longDate");r=xo(_o(e,le.Long),[u,c]);break;case"full":let l=He(e,"fullTime"),d=He(e,"fullDate");r=xo(_o(e,le.Full),[l,d]);break}return r&&(Mo[n][t]=r),r}function xo(e,t){return t&&(e=e.replace(/\{([^}]+)}/g,function(n,r){return t!=null&&r in t?t[r]:n})),e}function Me(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 Jw(a,t);let u=Oo(s,rt.MinusSign);return Me(a,t,u,r,o)}}function Xw(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 L(e,t,n=ee.Format,r=!1){return function(o,i){return eI(o,i,e,t,n,r)}}function eI(e,t,n,r,o,i){switch(n){case A.Months:return zw(t,o,r)[e.getMonth()];case A.Days:return Gw(t,o,r)[e.getDay()];case A.DayPeriods:let s=e.getHours(),a=e.getMinutes();if(i){let c=qw(t),l=Yw(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 Ue.Short:return(o>=0?"+":"")+Me(s,2,i)+Me(Math.abs(o%60),2,i);case Ue.ShortGMT:return"GMT"+(o>=0?"+":"")+Me(s,1,i);case Ue.Long:return"GMT"+(o>=0?"+":"")+Me(s,2,i)+":"+Me(Math.abs(o%60),2,i);case Ue.Extended:return r===0?"Z":(o>=0?"+":"")+Me(s,2,i)+":"+Me(Math.abs(o%60),2,i);default:throw new Error(`Unknown zone width "${e}"`)}}}var tI=0,No=4;function nI(e){let t=Ao(e,tI,1).getDay();return Ao(e,0,1+(t<=No?No:No+7)-t)}function Pf(e){let t=e.getDay(),n=t===0?-3:No-t;return Ao(e.getFullYear(),e.getMonth(),e.getDate()+n)}function Oa(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=Pf(n),s=nI(i.getFullYear()),a=i.getTime()-s.getTime();o=1+Math.round(a/6048e5)}return Me(o,e,Oo(r,rt.MinusSign))}}function To(e,t=!1){return function(n,r){let i=Pf(n).getFullYear();return Me(i,e,Oo(r,rt.MinusSign),t)}}var Fa={};function rI(e){if(Fa[e])return Fa[e];let t;switch(e){case"G":case"GG":case"GGG":t=L(A.Eras,k.Abbreviated);break;case"GGGG":t=L(A.Eras,k.Wide);break;case"GGGGG":t=L(A.Eras,k.Narrow);break;case"y":t=U(O.FullYear,1,0,!1,!0);break;case"yy":t=U(O.FullYear,2,0,!0,!0);break;case"yyy":t=U(O.FullYear,3,0,!1,!0);break;case"yyyy":t=U(O.FullYear,4,0,!1,!0);break;case"Y":t=To(1);break;case"YY":t=To(2,!0);break;case"YYY":t=To(3);break;case"YYYY":t=To(4);break;case"M":case"L":t=U(O.Month,1,1);break;case"MM":case"LL":t=U(O.Month,2,1);break;case"MMM":t=L(A.Months,k.Abbreviated);break;case"MMMM":t=L(A.Months,k.Wide);break;case"MMMMM":t=L(A.Months,k.Narrow);break;case"LLL":t=L(A.Months,k.Abbreviated,ee.Standalone);break;case"LLLL":t=L(A.Months,k.Wide,ee.Standalone);break;case"LLLLL":t=L(A.Months,k.Narrow,ee.Standalone);break;case"w":t=Oa(1);break;case"ww":t=Oa(2);break;case"W":t=Oa(1,!0);break;case"d":t=U(O.Date,1);break;case"dd":t=U(O.Date,2);break;case"c":case"cc":t=U(O.Day,1);break;case"ccc":t=L(A.Days,k.Abbreviated,ee.Standalone);break;case"cccc":t=L(A.Days,k.Wide,ee.Standalone);break;case"ccccc":t=L(A.Days,k.Narrow,ee.Standalone);break;case"cccccc":t=L(A.Days,k.Short,ee.Standalone);break;case"E":case"EE":case"EEE":t=L(A.Days,k.Abbreviated);break;case"EEEE":t=L(A.Days,k.Wide);break;case"EEEEE":t=L(A.Days,k.Narrow);break;case"EEEEEE":t=L(A.Days,k.Short);break;case"a":case"aa":case"aaa":t=L(A.DayPeriods,k.Abbreviated);break;case"aaaa":t=L(A.DayPeriods,k.Wide);break;case"aaaaa":t=L(A.DayPeriods,k.Narrow);break;case"b":case"bb":case"bbb":t=L(A.DayPeriods,k.Abbreviated,ee.Standalone,!0);break;case"bbbb":t=L(A.DayPeriods,k.Wide,ee.Standalone,!0);break;case"bbbbb":t=L(A.DayPeriods,k.Narrow,ee.Standalone,!0);break;case"B":case"BB":case"BBB":t=L(A.DayPeriods,k.Abbreviated,ee.Format,!0);break;case"BBBB":t=L(A.DayPeriods,k.Wide,ee.Format,!0);break;case"BBBBB":t=L(A.DayPeriods,k.Narrow,ee.Format,!0);break;case"h":t=U(O.Hours,1,-12);break;case"hh":t=U(O.Hours,2,-12);break;case"H":t=U(O.Hours,1);break;case"HH":t=U(O.Hours,2);break;case"m":t=U(O.Minutes,1);break;case"mm":t=U(O.Minutes,2);break;case"s":t=U(O.Seconds,1);break;case"ss":t=U(O.Seconds,2);break;case"S":t=U(O.FractionalSeconds,1);break;case"SS":t=U(O.FractionalSeconds,2);break;case"SSS":t=U(O.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":t=So(Ue.Short);break;case"ZZZZZ":t=So(Ue.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":t=So(Ue.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":t=So(Ue.Long);break;default:return null}return Fa[e]=t,t}function kf(e,t){e=e.replace(/:/g,"");let n=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(n)?t:n}function oI(e,t){return e=new Date(e.getTime()),e.setMinutes(e.getMinutes()+t),e}function iI(e,t,n){let r=n?-1:1,o=e.getTimezoneOffset(),i=kf(t,o);return oI(e,r*(i-o))}function sI(e){if(_f(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 Ao(o,i-1,s)}let n=parseFloat(e);if(!isNaN(e-n))return new Date(n);let r;if(r=e.match(Qw))return aI(r)}let t=new Date(e);if(!_f(t))throw new Error(`Unable to convert "${e}" into a date`);return t}function aI(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 _f(e){return e instanceof Date&&!isNaN(e.valueOf())}function pT(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 Ra=/\s+/,Mf=[],hT=(()=>{let t=class t{constructor(r,o){this._ngEl=r,this._renderer=o,this.initialClasses=Mf,this.stateMap=new Map}set klass(r){this.initialClasses=r!=null?r.trim().split(Ra):Mf}set ngClass(r){this.rawClass=typeof r=="string"?r.trim().split(Ra):r}ngDoCheck(){for(let o of this.initialClasses)this._updateState(o,!0);let r=this.rawClass;if(Array.isArray(r)||r instanceof Set)for(let o of r)this._updateState(o,!0);else if(r!=null)for(let o of Object.keys(r))this._updateState(o,!!r[o]);this._applyStateDiff()}_updateState(r,o){let i=this.stateMap.get(r);i!==void 0?(i.enabled!==o&&(i.changed=!0,i.enabled=o),i.touched=!0):this.stateMap.set(r,{enabled:o,changed:!0,touched:!0})}_applyStateDiff(){for(let r of this.stateMap){let o=r[0],i=r[1];i.changed?(this._toggleClass(o,i.enabled),i.changed=!1):i.touched||(i.enabled&&this._toggleClass(o,!1),this.stateMap.delete(o)),i.touched=!1}}_toggleClass(r,o){r=r.trim(),r.length>0&&r.split(Ra).forEach(i=>{o?this._renderer.addClass(this._ngEl.nativeElement,i):this._renderer.removeClass(this._ngEl.nativeElement,i)})}};t.\u0275fac=function(o){return new(o||t)(B(tt),B(wo))},t.\u0275dir=Je({type:t,selectors:[["","ngClass",""]],inputs:{klass:[We.None,"class","klass"],ngClass:"ngClass"},standalone:!0});let e=t;return e})();var Pa=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}},gT=(()=>{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 Pa(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),xf(u,i)}});for(let i=0,s=o.length;i{let s=o.get(i.currentIndex);xf(s,i)})}static ngTemplateContextGuard(r,o){return!0}};t.\u0275fac=function(o){return new(o||t)(B(nt),B(Ze),B(Sa))},t.\u0275dir=Je({type:t,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0});let e=t;return e})();function xf(e,t){e.context.$implicit=t.item}var mT=(()=>{let t=class t{constructor(r,o){this._viewContainer=r,this._context=new ka,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){Sf("ngIfThen",r),this._thenTemplateRef=r,this._thenViewRef=null,this._updateView()}set ngIfElse(r){Sf("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)(B(nt),B(Ze))},t.\u0275dir=Je({type:t,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0});let e=t;return e})(),ka=class{constructor(){this.$implicit=null,this.ngIf=null}};function Sf(e,t){if(!!!(!t||t.createEmbeddedView))throw new Error(`${e} must be a TemplateRef, but received '${J(t)}'.`)}var uI=!0,La=class{constructor(t,n){this._viewContainerRef=t,this._templateRef=n,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(t){t&&!this._created?this.create():!t&&this._created&&this.destroy()}},cI=(()=>{let t=class t{constructor(){this._defaultViews=[],this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(r){this._ngSwitch=r,this._caseCount===0&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(r){this._defaultViews.push(r)}_matchCase(r){let o=uI?r===this._ngSwitch:r==this._ngSwitch;return this._lastCasesMatched||=o,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),o}_updateDefaultCases(r){if(this._defaultViews.length>0&&r!==this._defaultUsed){this._defaultUsed=r;for(let o of this._defaultViews)o.enforceState(r)}}};t.\u0275fac=function(o){return new(o||t)},t.\u0275dir=Je({type:t,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0});let e=t;return e})(),yT=(()=>{let t=class t{constructor(r,o,i){this.ngSwitch=i,i._addCase(),this._view=new La(r,o)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}};t.\u0275fac=function(o){return new(o||t)(B(nt),B(Ze),B(cI,9))},t.\u0275dir=Je({type:t,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0});let e=t;return e})();var DT=(()=>{let t=class t{constructor(r,o,i){this._ngEl=r,this._differs=o,this._renderer=i,this._ngStyle=null,this._differ=null}set ngStyle(r){this._ngStyle=r,!this._differ&&r&&(this._differ=this._differs.find(r).create())}ngDoCheck(){if(this._differ){let r=this._differ.diff(this._ngStyle);r&&this._applyChanges(r)}}_setStyle(r,o){let[i,s]=r.split("."),a=i.indexOf("-")===-1?void 0:In.DashCase;o!=null?this._renderer.setStyle(this._ngEl.nativeElement,i,s?`${o}${s}`:o,a):this._renderer.removeStyle(this._ngEl.nativeElement,i,a)}_applyChanges(r){r.forEachRemovedItem(o=>this._setStyle(o.key,null)),r.forEachAddedItem(o=>this._setStyle(o.key,o.currentValue)),r.forEachChangedItem(o=>this._setStyle(o.key,o.currentValue))}};t.\u0275fac=function(o){return new(o||t)(B(tt),B(Ta),B(wo))},t.\u0275dir=Je({type:t,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0});let e=t;return e})(),vT=(()=>{let t=class t{constructor(r){this._viewContainerRef=r,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(r){if(this._shouldRecreateView(r)){let o=this._viewContainerRef;if(this._viewRef&&o.remove(o.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let i=this._createContextForwardProxy();this._viewRef=o.createEmbeddedView(this.ngTemplateOutlet,i,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(r){return!!r.ngTemplateOutlet||!!r.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(r,o,i)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,o,i):!1,get:(r,o,i)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,o,i)}})}};t.\u0275fac=function(o){return new(o||t)(B(nt))},t.\u0275dir=Je({type:t,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[Gs]});let e=t;return e})();function lI(e,t){return new M(2100,!1)}var dI="mediumDate",fI=new R(""),pI=new R(""),wT=(()=>{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??dI,u=i??this.defaultOptions?.timezone??this.defaultTimezone??void 0;return Kw(r,a,s||this.locale,u)}catch(a){throw lI(t,a.message)}}};t.\u0275fac=function(o){return new(o||t)(B(Eo,16),B(fI,24),B(pI,24))},t.\u0275pipe=Pc({name:"date",type:t,pure:!0,standalone:!0});let e=t;return e})();var IT=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275mod=Rc({type:t}),t.\u0275inj=Dc({});let e=t;return e})(),hI="browser",gI="server";function ET(e){return e===hI}function CT(e){return e===gI}var Tf=class{};var bt=function(e){return e[e.State=0]="State",e[e.Transition=1]="Transition",e[e.Sequence=2]="Sequence",e[e.Group=3]="Group",e[e.Animate=4]="Animate",e[e.Keyframes=5]="Keyframes",e[e.Style=6]="Style",e[e.Trigger=7]="Trigger",e[e.Reference=8]="Reference",e[e.AnimateChild=9]="AnimateChild",e[e.AnimateRef=10]="AnimateRef",e[e.Query=11]="Query",e[e.Stagger=12]="Stagger",e}(bt||{}),MT="*";function xT(e,t){return{type:bt.Trigger,name:e,definitions:t,options:{}}}function ST(e,t=null){return{type:bt.Animate,styles:t,timings:e}}function TT(e,t=null){return{type:bt.Sequence,steps:e,options:t}}function NT(e){return{type:bt.Style,styles:e,offset:null}}function AT(e,t,n){return{type:bt.State,name:e,styles:t,options:n}}function OT(e,t,n=null){return{type:bt.Transition,expr:e,animation:t,options:n}}var Lf=class{constructor(t=0,n=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=t+n}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}onStart(t){this._originalOnStartFns.push(t),this._onStartFns.push(t)}onDone(t){this._originalOnDoneFns.push(t),this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(t=>t()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(t){this._position=this.totalTime?t*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(t){let n=t=="start"?this._onStartFns:this._onDoneFns;n.forEach(r=>r()),n.length=0}},jf=class{constructor(t){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=t;let n=0,r=0,o=0,i=this.players.length;i==0?queueMicrotask(()=>this._onFinish()):this.players.forEach(s=>{s.onDone(()=>{++n==i&&this._onFinish()}),s.onDestroy(()=>{++r==i&&this._onDestroy()}),s.onStart(()=>{++o==i&&this._onStart()})}),this.totalTime=this.players.reduce((s,a)=>Math.max(s,a.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}init(){this.players.forEach(t=>t.init())}onStart(t){this._onStartFns.push(t)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(t=>t()),this._onStartFns=[])}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(t=>t.play())}pause(){this.players.forEach(t=>t.pause())}restart(){this.players.forEach(t=>t.restart())}finish(){this._onFinish(),this.players.forEach(t=>t.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(t=>t.destroy()),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this.players.forEach(t=>t.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(t){let n=t*this.totalTime;this.players.forEach(r=>{let o=r.totalTime?Math.min(1,n/r.totalTime):1;r.setPosition(o)})}getPosition(){let t=this.players.reduce((n,r)=>n===null||r.totalTime>n.totalTime?r:n,null);return t!=null?t.getPosition():0}beforeDestroy(){this.players.forEach(t=>{t.beforeDestroy&&t.beforeDestroy()})}triggerCallback(t){let n=t=="start"?this._onStartFns:this._onDoneFns;n.forEach(r=>r()),n.length=0}},FT="!";export{en as a,tn as b,mI as c,yI as d,Gf as e,G as f,Jf as g,C as h,qo as i,Yo as j,fe as k,rn as l,sn as m,Pe as n,eC as o,Se as p,up as q,cp as r,lp as s,ut as t,ke as u,Dp as v,ve as w,cr as x,wp as y,Ip as z,Zo as A,Ko as B,Sp as C,ct as D,Np as E,wu as F,Ap as G,Op as H,cn as I,Jo as J,Fp as K,Rp as L,Lp as M,Xo as N,ei as O,jp as P,Vp as Q,Bp as R,ni as S,$p as T,Hp as U,Up as V,Gp as W,zp as X,Wp as Y,qp as Z,M as _,mc as $,V as aa,Dc as ba,zx as ca,R as da,_ as ea,oe as fa,N as ga,pn as ha,We as ia,Wx as ja,Rc as ka,Je as la,Pc as ma,$c as na,zc as oa,qe as pa,qx as qa,Gs as ra,Yx as sa,Qx as ta,Zx as ua,Kx as va,Jx as wa,kg as xa,On as ya,zt as za,tt as Aa,dt as Ba,Xx as Ca,Qg as Da,Kg as Ea,ta as Fa,eS as Ga,tS as Ha,na as Ia,Jt as Ja,Hl as Ka,nS as La,rS as Ma,oS as Na,iS as Oa,sS as Pa,Ul as Qa,Om as Ra,sa as Sa,aS as Ta,uS as Ua,cS as Va,lS as Wa,In as Xa,dS as Ya,B as Za,fS as _a,Ze as $a,es as ab,vo as bb,rs as cb,wo as db,Pn as eb,Ee as fb,nt as gb,VD as hb,zD as ib,fs as jb,WD as kb,Vd as lb,gs as mb,ev as nb,pv as ob,Yd as pb,hv as qb,gS as rb,mS as sb,yS as tb,DS as ub,vS as vb,nf as wb,rf as xb,Tv as yb,sf as zb,af as Ab,Fv as Bb,wS as Cb,kv as Db,zv as Eb,IS as Fb,ES as Gb,CS as Hb,Qv as Ib,bS as Jb,_S as Kb,MS as Lb,xS as Mb,SS as Nb,TS as Ob,Xv as Pb,ff as Qb,NS as Rb,AS as Sb,OS as Tb,FS as Ub,RS as Vb,PS as Wb,kS as Xb,LS as Yb,jS as Zb,VS as _b,BS as $b,$S as ac,Ma as bc,vf as cc,xa as dc,pw as ec,HS as fc,If as gc,US as hc,GS as ic,Fw as jc,Na as kc,fT as lc,Ef as mc,Af as nc,kw as oc,jw as pc,pT as qc,hT as rc,gT as sc,mT as tc,cI as uc,yT as vc,DT as wc,vT as xc,wT as yc,IT as zc,hI as Ac,ET as Bc,CT as Cc,Tf as Dc,bt as Ec,MT as Fc,xT as Gc,ST as Hc,TT as Ic,NT as Jc,AT as Kc,OT as Lc,Lf as Mc,jf as Nc,FT as Oc};
diff --git a/EnvelopeGenerator.GeneratorAPI/wwwroot/chunk-KPVI7RD6.js b/EnvelopeGenerator.GeneratorAPI/wwwroot/chunk-KPVI7RD6.js
deleted file mode 100644
index 5d25d0ed..00000000
--- a/EnvelopeGenerator.GeneratorAPI/wwwroot/chunk-KPVI7RD6.js
+++ /dev/null
@@ -1,7 +0,0 @@
-var ac=Object.defineProperty,uc=Object.defineProperties;var cc=Object.getOwnPropertyDescriptors;var Nt=Object.getOwnPropertySymbols;var ri=Object.prototype.hasOwnProperty,oi=Object.prototype.propertyIsEnumerable;var ni=(e,t,n)=>t in e?ac(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Xe=(e,t)=>{for(var n in t||={})ri.call(t,n)&&ni(e,n,t[n]);if(Nt)for(var n of Nt(t))oi.call(t,n)&&ni(e,n,t[n]);return e},et=(e,t)=>uc(e,cc(t));var fg=(e,t)=>{var n={};for(var r in e)ri.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&Nt)for(var r of Nt(e))t.indexOf(r)<0&&oi.call(e,r)&&(n[r]=e[r]);return n};var ii=null;var Qn=1,si=Symbol("SIGNAL");function E(e){let t=ii;return ii=e,t}var ai={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function lc(e){if(!(Jn(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===Qn)){if(!e.producerMustRecompute(e)&&!Zn(e)){e.dirty=!1,e.lastCleanEpoch=Qn;return}e.producerRecomputeValue(e),e.dirty=!1,e.lastCleanEpoch=Qn}}function ui(e){return e&&(e.nextProducerIndex=0),E(e)}function ci(e,t){if(E(t),!(!e||e.producerNode===void 0||e.producerIndexOfThis===void 0||e.producerLastReadVersion===void 0)){if(Jn(e))for(let n=e.nextProducerIndex;ne.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function Zn(e){At(e);for(let t=0;t0}function At(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function dc(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}function fc(){throw new Error}var pc=fc;function di(e){pc=e}function g(e){return typeof e=="function"}function Re(e){let n=e(r=>{Error.call(r),r.stack=new Error().stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}var Ot=Re(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription:
-${n.map((r,o)=>`${o+1}) ${r.toString()}`).join(`
- `)}`:"",this.name="UnsubscriptionError",this.errors=n});function tt(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var R=class e{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;let{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(let i of n)i.remove(this);else n.remove(this);let{initialTeardown:r}=this;if(g(r))try{r()}catch(i){t=i instanceof Ot?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{fi(i)}catch(s){t=t??[],s instanceof Ot?t=[...t,...s.errors]:t.push(s)}}if(t)throw new Ot(t)}}add(t){var n;if(t&&t!==this)if(this.closed)fi(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(n=this._finalizers)!==null&&n!==void 0?n:[]).push(t)}}_hasParent(t){let{_parentage:n}=this;return n===t||Array.isArray(n)&&n.includes(t)}_addParent(t){let{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t}_removeParent(t){let{_parentage:n}=this;n===t?this._parentage=null:Array.isArray(n)&&tt(n,t)}remove(t){let{_finalizers:n}=this;n&&tt(n,t),t instanceof e&&t._removeParent(this)}};R.EMPTY=(()=>{let e=new R;return e.closed=!0,e})();var Xn=R.EMPTY;function Ft(e){return e instanceof R||e&&"closed"in e&&g(e.remove)&&g(e.add)&&g(e.unsubscribe)}function fi(e){g(e)?e():e.unsubscribe()}var Q={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var Pe={setTimeout(e,t,...n){let{delegate:r}=Pe;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=Pe;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function Rt(e){Pe.setTimeout(()=>{let{onUnhandledError:t}=Q;if(t)t(e);else throw e})}function nt(){}var pi=er("C",void 0,void 0);function hi(e){return er("E",void 0,e)}function gi(e){return er("N",e,void 0)}function er(e,t,n){return{kind:e,value:t,error:n}}var Ie=null;function ke(e){if(Q.useDeprecatedSynchronousErrorHandling){let t=!Ie;if(t&&(Ie={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=Ie;if(Ie=null,n)throw r}}else e()}function mi(e){Q.useDeprecatedSynchronousErrorHandling&&Ie&&(Ie.errorThrown=!0,Ie.error=e)}var we=class extends R{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,Ft(t)&&t.add(this)):this.destination=mc}static create(t,n,r){return new Le(t,n,r)}next(t){this.isStopped?nr(gi(t),this):this._next(t)}error(t){this.isStopped?nr(hi(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?nr(pi,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(t){this.destination.next(t)}_error(t){try{this.destination.error(t)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},hc=Function.prototype.bind;function tr(e,t){return hc.call(e,t)}var rr=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){Pt(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){Pt(r)}else Pt(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){Pt(n)}}},Le=class extends we{constructor(t,n,r){super();let o;if(g(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&Q.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&tr(t.next,i),error:t.error&&tr(t.error,i),complete:t.complete&&tr(t.complete,i)}):o=t}this.destination=new rr(o)}};function Pt(e){Q.useDeprecatedSynchronousErrorHandling?mi(e):Rt(e)}function gc(e){throw e}function nr(e,t){let{onStoppedNotification:n}=Q;n&&Pe.setTimeout(()=>n(e,t))}var mc={closed:!0,next:nt,error:gc,complete:nt};var je=typeof Symbol=="function"&&Symbol.observable||"@@observable";function $(e){return e}function yc(...e){return or(e)}function or(e){return e.length===0?$:e.length===1?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}var M=(()=>{class e{constructor(n){n&&(this._subscribe=n)}lift(n){let r=new e;return r.source=this,r.operator=n,r}subscribe(n,r,o){let i=vc(n)?n:new Le(n,r,o);return ke(()=>{let{operator:s,source:a}=this;i.add(s?s.call(i,a):a?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(n){try{return this._subscribe(n)}catch(r){n.error(r)}}forEach(n,r){return r=yi(r),new r((o,i)=>{let s=new Le({next:a=>{try{n(a)}catch(u){i(u),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(n){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(n)}[je](){return this}pipe(...n){return or(n)(this)}toPromise(n){return n=yi(n),new n((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return e.create=t=>new e(t),e})();function yi(e){var t;return(t=e??Q.Promise)!==null&&t!==void 0?t:Promise}function Dc(e){return e&&g(e.next)&&g(e.error)&&g(e.complete)}function vc(e){return e&&e instanceof we||Dc(e)&&Ft(e)}function ir(e){return g(e?.lift)}function v(e){return t=>{if(ir(t))return t.lift(function(n){try{return e(n,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function I(e,t,n,r,o){return new sr(e,t,n,r,o)}var sr=class extends we{constructor(t,n,r,o,i,s){super(t),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(u){t.error(u)}}:super._next,this._error=o?function(a){try{o(a)}catch(u){t.error(u)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:n}=this;super.unsubscribe(),!n&&((t=this.onFinalize)===null||t===void 0||t.call(this))}}};function ar(){return v((e,t)=>{let n=null;e._refCount++;let r=I(t,void 0,void 0,void 0,()=>{if(!e||e._refCount<=0||0<--e._refCount){n=null;return}let o=e._connection,i=n;n=null,o&&(!i||o===i)&&o.unsubscribe(),t.unsubscribe()});e.subscribe(r),r.closed||(n=e.connect())})}var ur=class extends M{constructor(t,n){super(),this.source=t,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,ir(t)&&(this.lift=t.lift)}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){let t=this._subject;return(!t||t.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:t}=this;this._subject=this._connection=null,t?.unsubscribe()}connect(){let t=this._connection;if(!t){t=this._connection=new R;let n=this.getSubject();t.add(this.source.subscribe(I(n,void 0,()=>{this._teardown(),n.complete()},r=>{this._teardown(),n.error(r)},()=>this._teardown()))),t.closed&&(this._connection=null,t=R.EMPTY)}return t}refCount(){return ar()(this)}};var Di=Re(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var ce=(()=>{class e extends M{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let r=new kt(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new Di}next(n){ke(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){ke(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=n;let{observers:r}=this;for(;r.length;)r.shift().error(n)}})}complete(){ke(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:n}=this;for(;n.length;)n.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var n;return((n=this.observers)===null||n===void 0?void 0:n.length)>0}_trySubscribe(n){return this._throwIfClosed(),super._trySubscribe(n)}_subscribe(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)}_innerSubscribe(n){let{hasError:r,isStopped:o,observers:i}=this;return r||o?Xn:(this.currentObservers=null,i.push(n),new R(()=>{this.currentObservers=null,tt(i,n)}))}_checkFinalizedStatuses(n){let{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){let n=new M;return n.source=this,n}}return e.create=(t,n)=>new kt(t,n),e})(),kt=class extends ce{constructor(t,n){super(),this.destination=t,this.source=n}next(t){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.next)===null||r===void 0||r.call(n,t)}error(t){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.error)===null||r===void 0||r.call(n,t)}complete(){var t,n;(n=(t=this.destination)===null||t===void 0?void 0:t.complete)===null||n===void 0||n.call(t)}_subscribe(t){var n,r;return(r=(n=this.source)===null||n===void 0?void 0:n.subscribe(t))!==null&&r!==void 0?r:Xn}};var rt=class extends ce{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){let n=super._subscribe(t);return!n.closed&&t.next(this._value),n}getValue(){let{hasError:t,thrownError:n,_value:r}=this;if(t)throw n;return this._throwIfClosed(),r}next(t){super.next(this._value=t)}};var ot=new M(e=>e.complete());function vi(e){return e&&g(e.schedule)}function Ii(e){return e[e.length-1]}function wi(e){return g(Ii(e))?e.pop():void 0}function le(e){return vi(Ii(e))?e.pop():void 0}function Ci(e,t,n,r){function o(i){return i instanceof n?i:new n(function(s){s(i)})}return new(n||(n=Promise))(function(i,s){function a(l){try{c(r.next(l))}catch(d){s(d)}}function u(l){try{c(r.throw(l))}catch(d){s(d)}}function c(l){l.done?i(l.value):o(l.value).then(a,u)}c((r=r.apply(e,t||[])).next())})}function Ei(e){var t=typeof Symbol=="function"&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function Ee(e){return this instanceof Ee?(this.v=e,this):new Ee(e)}function bi(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=n.apply(e,t||[]),o,i=[];return o={},a("next"),a("throw"),a("return",s),o[Symbol.asyncIterator]=function(){return this},o;function s(f){return function(m){return Promise.resolve(m).then(f,d)}}function a(f,m){r[f]&&(o[f]=function(b){return new Promise(function(L,F){i.push([f,b,L,F])>1||u(f,b)})},m&&(o[f]=m(o[f])))}function u(f,m){try{c(r[f](m))}catch(b){p(i[0][3],b)}}function c(f){f.value instanceof Ee?Promise.resolve(f.value.v).then(l,d):p(i[0][2],f)}function l(f){u("next",f)}function d(f){u("throw",f)}function p(f,m){f(m),i.shift(),i.length&&u(i[0][0],i[0][1])}}function Mi(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],n;return t?t.call(e):(e=typeof Ei=="function"?Ei(e):e[Symbol.iterator](),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(i){n[i]=e[i]&&function(s){return new Promise(function(a,u){s=e[i](s),o(a,u,s.done,s.value)})}}function o(i,s,a,u){Promise.resolve(u).then(function(c){i({value:c,done:a})},s)}}var Lt=e=>e&&typeof e.length=="number"&&typeof e!="function";function jt(e){return g(e?.then)}function Vt(e){return g(e[je])}function Bt(e){return Symbol.asyncIterator&&g(e?.[Symbol.asyncIterator])}function $t(e){return new TypeError(`You provided ${e!==null&&typeof e=="object"?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function Ic(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Ht=Ic();function Ut(e){return g(e?.[Ht])}function Gt(e){return bi(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:r,done:o}=yield Ee(n.read());if(o)return yield Ee(void 0);yield yield Ee(r)}}finally{n.releaseLock()}})}function zt(e){return g(e?.getReader)}function O(e){if(e instanceof M)return e;if(e!=null){if(Vt(e))return wc(e);if(Lt(e))return Ec(e);if(jt(e))return Cc(e);if(Bt(e))return _i(e);if(Ut(e))return bc(e);if(zt(e))return Mc(e)}throw $t(e)}function wc(e){return new M(t=>{let n=e[je]();if(g(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function Ec(e){return new M(t=>{for(let n=0;n{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,Rt)})}function bc(e){return new M(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function _i(e){return new M(t=>{_c(e,t).catch(n=>t.error(n))})}function Mc(e){return _i(Gt(e))}function _c(e,t){var n,r,o,i;return Ci(this,void 0,void 0,function*(){try{for(n=Mi(e);r=yield n.next(),!r.done;){let s=r.value;if(t.next(s),t.closed)return}}catch(s){o={error:s}}finally{try{r&&!r.done&&(i=n.return)&&(yield i.call(n))}finally{if(o)throw o.error}}t.complete()})}function j(e,t,n,r=0,o=!1){let i=t.schedule(function(){n(),o?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(i),!o)return i}function Wt(e,t=0){return v((n,r)=>{n.subscribe(I(r,o=>j(r,e,()=>r.next(o),t),()=>j(r,e,()=>r.complete(),t),o=>j(r,e,()=>r.error(o),t)))})}function qt(e,t=0){return v((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function xi(e,t){return O(e).pipe(qt(t),Wt(t))}function Ti(e,t){return O(e).pipe(qt(t),Wt(t))}function Si(e,t){return new M(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}function Ni(e,t){return new M(n=>{let r;return j(n,t,()=>{r=e[Ht](),j(n,t,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){n.error(s);return}i?n.complete():n.next(o)},0,!0)}),()=>g(r?.return)&&r.return()})}function Yt(e,t){if(!e)throw new Error("Iterable cannot be null");return new M(n=>{j(n,t,()=>{let r=e[Symbol.asyncIterator]();j(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function Ai(e,t){return Yt(Gt(e),t)}function Oi(e,t){if(e!=null){if(Vt(e))return xi(e,t);if(Lt(e))return Si(e,t);if(jt(e))return Ti(e,t);if(Bt(e))return Yt(e,t);if(Ut(e))return Ni(e,t);if(zt(e))return Ai(e,t)}throw $t(e)}function de(e,t){return t?Oi(e,t):O(e)}function xc(...e){let t=le(e);return de(e,t)}function Tc(e,t){let n=g(e)?e:()=>e,r=o=>o.error(n());return new M(t?o=>t.schedule(r,0,o):r)}function Sc(e){return!!e&&(e instanceof M||g(e.lift)&&g(e.subscribe))}var Ce=Re(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function se(e,t){return v((n,r)=>{let o=0;n.subscribe(I(r,i=>{r.next(e.call(t,i,o++))}))})}var{isArray:Nc}=Array;function Ac(e,t){return Nc(t)?e(...t):e(t)}function Fi(e){return se(t=>Ac(e,t))}var{isArray:Oc}=Array,{getPrototypeOf:Fc,prototype:Rc,keys:Pc}=Object;function Ri(e){if(e.length===1){let t=e[0];if(Oc(t))return{args:t,keys:null};if(kc(t)){let n=Pc(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}function kc(e){return e&&typeof e=="object"&&Fc(e)===Rc}function Pi(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function Lc(...e){let t=le(e),n=wi(e),{args:r,keys:o}=Ri(e);if(r.length===0)return de([],t);let i=new M(jc(r,t,o?s=>Pi(o,s):$));return n?i.pipe(Fi(n)):i}function jc(e,t,n=$){return r=>{ki(t,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let u=0;u{let c=de(e[u],t),l=!1;c.subscribe(I(r,d=>{i[u]=d,l||(l=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function ki(e,t,n){e?j(n,e,t):t()}function Li(e,t,n,r,o,i,s,a){let u=[],c=0,l=0,d=!1,p=()=>{d&&!u.length&&!c&&t.complete()},f=b=>c{i&&t.next(b),c++;let L=!1;O(n(b,l++)).subscribe(I(t,F=>{o?.(F),i?f(F):t.next(F)},()=>{L=!0},void 0,()=>{if(L)try{for(c--;u.length&&cm(F)):m(F)}p()}catch(F){t.error(F)}}))};return e.subscribe(I(t,f,()=>{d=!0,p()})),()=>{a?.()}}function be(e,t,n=1/0){return g(t)?be((r,o)=>se((i,s)=>t(r,i,o,s))(O(e(r,o))),n):(typeof t=="number"&&(n=t),v((r,o)=>Li(r,o,e,n)))}function ji(e=1/0){return be($,e)}function Vi(){return ji(1)}function Qt(...e){return Vi()(de(e,le(e)))}function Vc(e){return new M(t=>{O(e()).subscribe(t)})}function it(e,t){return v((n,r)=>{let o=0;n.subscribe(I(r,i=>e.call(t,i,o++)&&r.next(i)))})}function Bi(e){return v((t,n)=>{let r=null,o=!1,i;r=t.subscribe(I(n,void 0,void 0,s=>{i=O(e(s,Bi(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}function $i(e,t,n,r,o){return(i,s)=>{let a=n,u=t,c=0;i.subscribe(I(s,l=>{let d=c++;u=a?e(u,l,d):(a=!0,l),r&&s.next(u)},o&&(()=>{a&&s.next(u),s.complete()})))}}function Bc(e,t){return g(t)?be(e,t,1):be(e,1)}function st(e){return v((t,n)=>{let r=!1;t.subscribe(I(n,o=>{r=!0,n.next(o)},()=>{r||n.next(e),n.complete()}))})}function cr(e){return e<=0?()=>ot:v((t,n)=>{let r=0;t.subscribe(I(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function $c(e){return se(()=>e)}function Zt(e=Hc){return v((t,n)=>{let r=!1;t.subscribe(I(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function Hc(){return new Ce}function Uc(e){return v((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}function lr(e,t){let n=arguments.length>=2;return r=>r.pipe(e?it((o,i)=>e(o,i,r)):$,cr(1),n?st(t):Zt(()=>new Ce))}function dr(e){return e<=0?()=>ot:v((t,n)=>{let r=[];t.subscribe(I(n,o=>{r.push(o),e{for(let o of r)n.next(o);n.complete()},void 0,()=>{r=null}))})}function Gc(e,t){let n=arguments.length>=2;return r=>r.pipe(e?it((o,i)=>e(o,i,r)):$,dr(1),n?st(t):Zt(()=>new Ce))}function zc(e,t){return v($i(e,t,arguments.length>=2,!0))}function Wc(...e){let t=le(e);return v((n,r)=>{(t?Qt(e,n,t):Qt(e,n)).subscribe(r)})}function qc(e,t){return v((n,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();n.subscribe(I(r,u=>{o?.unsubscribe();let c=0,l=i++;O(e(u,l)).subscribe(o=I(r,d=>r.next(t?t(u,d,l,c++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function Yc(e){return v((t,n)=>{O(e).subscribe(I(n,()=>n.complete(),nt)),!n.closed&&t.subscribe(n)})}function Qc(e,t,n){let r=g(e)||t||n?{next:e,error:t,complete:n}:e;return r?v((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(I(i,u=>{var c;(c=r.next)===null||c===void 0||c.call(r,u),i.next(u)},()=>{var u;a=!1,(u=r.complete)===null||u===void 0||u.call(r),i.complete()},u=>{var c;a=!1,(c=r.error)===null||c===void 0||c.call(r,u),i.error(u)},()=>{var u,c;a&&((u=r.unsubscribe)===null||u===void 0||u.call(r)),(c=r.finalize)===null||c===void 0||c.call(r)}))}):$}var bs="https://g.co/ng/security#xss",_=class extends Error{constructor(t,n){super(Ms(t,n)),this.code=t}};function Ms(e,t){return`${`NG0${Math.abs(e)}`}${t?": "+t:""}`}function fo(e){return{toString:e}.toString()}var en=globalThis;function x(e){for(let t in e)if(e[t]===x)return t;throw Error("Could not find renamed property on target object.")}function H(e){if(typeof e=="string")return e;if(Array.isArray(e))return"["+e.map(H).join(", ")+"]";if(e==null)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;let t=e.toString();if(t==null)return""+t;let n=t.indexOf(`
-`);return n===-1?t:t.substring(0,n)}function Hi(e,t){return e==null||e===""?t===null?"":t:t==null||t===""?e:e+" "+t}var Zc=x({__forward_ref__:x});function _s(e){return e.__forward_ref__=_s,e.toString=function(){return H(this())},e}function W(e){return xs(e)?e():e}function xs(e){return typeof e=="function"&&e.hasOwnProperty(Zc)&&e.__forward_ref__===_s}function N(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Sn(e){return Ui(e,Ts)||Ui(e,Ss)}function XI(e){return Sn(e)!==null}function Ui(e,t){return e.hasOwnProperty(t)?e[t]:null}function Kc(e){let t=e&&(e[Ts]||e[Ss]);return t||null}function Gi(e){return e&&(e.hasOwnProperty(zi)||e.hasOwnProperty(Jc))?e[zi]:null}var Ts=x({\u0275prov:x}),zi=x({\u0275inj:x}),Ss=x({ngInjectableDef:x}),Jc=x({ngInjectorDef:x}),T=class{constructor(t,n){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,typeof n=="number"?this.__NG_ELEMENT_ID__=n:n!==void 0&&(this.\u0275prov=N({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function Ns(e){return e&&!!e.\u0275providers}var Xc=x({\u0275cmp:x}),el=x({\u0275dir:x}),tl=x({\u0275pipe:x}),nl=x({\u0275mod:x}),an=x({\u0275fac:x}),at=x({__NG_ELEMENT_ID__:x}),Wi=x({__NG_ENV_ID__:x});function po(e){return typeof e=="string"?e:e==null?"":String(e)}function rl(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():po(e)}function ol(e,t){let n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new _(-200,e)}function ho(e,t){throw new _(-201,!1)}var D=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}(D||{}),Mr;function As(){return Mr}function z(e){let t=Mr;return Mr=e,t}function Os(e,t,n){let r=Sn(e);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(n&D.Optional)return null;if(t!==void 0)return t;ho(e,"Injector")}var il={},ut=il,sl="__NG_DI_FLAG__",un="ngTempTokenPath",al="ngTokenPath",ul=/\n/gm,cl="\u0275",qi="__source",Ue;function ll(){return Ue}function fe(e){let t=Ue;return Ue=e,t}function dl(e,t=D.Default){if(Ue===void 0)throw new _(-203,!1);return Ue===null?Os(e,void 0,t):Ue.get(e,t&D.Optional?null:void 0,t)}function V(e,t=D.Default){return(As()||dl)(W(e),t)}function C(e,t=D.Default){return V(e,Nn(t))}function Nn(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function _r(e){let t=[];for(let n=0;n ");else if(typeof t=="object"){let i=[];for(let s in t)if(t.hasOwnProperty(s)){let a=t[s];i.push(s+":"+(typeof a=="string"?JSON.stringify(a):H(a)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(ul,`
- `)}`}function ze(e,t){let n=e.hasOwnProperty(an);return n?e[an]:null}function go(e,t){e.forEach(n=>Array.isArray(n)?go(n,t):t(n))}function Fs(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function cn(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}var ct={},_e=[],lt=new T(""),Rs=new T("",-1),Ps=new T(""),ln=class{get(t,n=ut){if(n===ut){let r=new Error(`NullInjectorError: No provider for ${H(t)}!`);throw r.name="NullInjectorError",r}return n}},ks=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(ks||{}),dt=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(dt||{}),xe=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(xe||{});function gl(e,t,n){let r=e.length;for(;;){let o=e.indexOf(t,n);if(o===-1)return o;if(o===0||e.charCodeAt(o-1)<=32){let i=t.length;if(o+i===r||e.charCodeAt(o+i)<=32)return o}n=o+1}}function xr(e,t,n){let r=0;for(;rt){s=i-1;break}}}for(;i-1){let i;for(;++oi?d="":d=o[l+1].toLowerCase(),r&2&&c!==d){if(Z(r))return!1;s=!0}}}}return Z(r)||s}function Z(e){return(e&1)===0}function wl(e,t,n,r){if(t===null)return-1;let o=0;if(r||!n){let i=!1;for(;o-1)for(n++;n0?'="'+a+'"':"")+"]"}else r&8?o+="."+s:r&4&&(o+=" "+s);else o!==""&&!Z(s)&&(t+=Qi(i,o),o=""),r=s,i=i||!Z(r);n++}return o!==""&&(t+=Qi(i,o)),t}function _l(e){return e.map(Ml).join(",")}function xl(e){let t=[],n=[],r=1,o=2;for(;r{let t=$s(e),n=et(Xe({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===ks.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||dt.Emulated,styles:e.styles||_e,_:null,schemas:e.schemas||null,tView:null,id:""});Hs(n);let r=e.dependencies;return n.directiveDefs=Ki(r,!1),n.pipeDefs=Ki(r,!0),n.id=Ol(n),n})}function Tl(e){return Te(e)||js(e)}function Sl(e){return e!==null}function Zi(e,t){if(e==null)return ct;let n={};for(let r in e)if(e.hasOwnProperty(r)){let o=e[r],i,s,a=xe.None;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i):(i=o,s=o),t?(n[i]=a!==xe.None?[r,a]:r,t[i]=s):n[i]=r}return n}function Nl(e){return fo(()=>{let t=$s(e);return Hs(t),t})}function Te(e){return e[Xc]||null}function js(e){return e[el]||null}function Vs(e){return e[tl]||null}function Al(e){let t=Te(e)||js(e)||Vs(e);return t!==null?t.standalone:!1}function Bs(e,t){let n=e[nl]||null;if(!n&&t===!0)throw new Error(`Type ${H(e)} does not have '\u0275mod' property.`);return n}function $s(e){let t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputTransforms:null,inputConfig:e.inputs||ct,exportAs:e.exportAs||null,standalone:e.standalone===!0,signals:e.signals===!0,selectors:e.selectors||_e,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Zi(e.inputs,t),outputs:Zi(e.outputs),debugInfo:null}}function Hs(e){e.features?.forEach(t=>t(e))}function Ki(e,t){if(!e)return null;let n=t?Vs:Tl;return()=>(typeof e=="function"?e():e).map(r=>n(r)).filter(Sl)}function Ol(e){let t=0,n=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery].join("|");for(let o of n)t=Math.imul(31,t)+o.charCodeAt(0)<<0;return t+=2147483648,"c"+t}function Us(e){return{\u0275providers:e}}function Fl(...e){return{\u0275providers:Gs(!0,e),\u0275fromNgModule:!0}}function Gs(e,...t){let n=[],r=new Set,o,i=s=>{n.push(s)};return go(t,s=>{let a=s;Tr(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&zs(o,i),n}function zs(e,t){for(let n=0;n{t(i,r)})}}function Tr(e,t,n,r){if(e=W(e),!e)return!1;let o=null,i=Gi(e),s=!i&&Te(e);if(!i&&!s){let u=e.ngModule;if(i=Gi(u),i)o=u;else return!1}else{if(s&&!s.standalone)return!1;o=e}let a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){let u=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let c of u)Tr(c,t,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let c;try{go(i.imports,l=>{Tr(l,t,n,r)&&(c||=[],c.push(l))})}finally{}c!==void 0&&zs(c,t)}if(!a){let c=ze(o)||(()=>new o);t({provide:o,useFactory:c,deps:_e},o),t({provide:Ps,useValue:o,multi:!0},o),t({provide:lt,useValue:()=>V(o),multi:!0},o)}let u=i.providers;if(u!=null&&!a){let c=e;Do(u,l=>{t(l,c)})}}else return!1;return o!==e&&e.providers!==void 0}function Do(e,t){for(let n of e)Ns(n)&&(n=n.\u0275providers),Array.isArray(n)?Do(n,t):t(n)}var Rl=x({provide:String,useValue:x});function Ws(e){return e!==null&&typeof e=="object"&&Rl in e}function Pl(e){return!!(e&&e.useExisting)}function kl(e){return!!(e&&e.useFactory)}function Sr(e){return typeof e=="function"}var qs=new T(""),tn={},Ll={},fr;function vo(){return fr===void 0&&(fr=new ln),fr}var me=class{},ft=class extends me{get destroyed(){return this._destroyed}constructor(t,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Ar(t,s=>this.processProvider(s)),this.records.set(Rs,Ve(void 0,this)),o.has("environment")&&this.records.set(me,Ve(void 0,this));let i=this.records.get(qs);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(Ps,_e,D.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;let t=E(null);try{for(let r of this._ngOnDestroyHooks)r.ngOnDestroy();let n=this._onDestroyHooks;this._onDestroyHooks=[];for(let r of n)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),E(t)}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();let n=fe(this),r=z(void 0),o;try{return t()}finally{fe(n),z(r)}}get(t,n=ut,r=D.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(Wi))return t[Wi](this);r=Nn(r);let o,i=fe(this),s=z(void 0);try{if(!(r&D.SkipSelf)){let u=this.records.get(t);if(u===void 0){let c=Ul(t)&&Sn(t);c&&this.injectableDefInScope(c)?u=Ve(Nr(t),tn):u=null,this.records.set(t,u)}if(u!=null)return this.hydrate(t,u)}let a=r&D.Self?vo():this.parent;return n=r&D.Optional&&n===ut?null:n,a.get(t,n)}catch(a){if(a.name==="NullInjectorError"){if((a[un]=a[un]||[]).unshift(H(t)),i)throw a;return pl(a,t,"R3InjectorError",this.source)}else throw a}finally{z(s),fe(i)}}resolveInjectorInitializers(){let t=E(null),n=fe(this),r=z(void 0),o;try{let i=this.get(lt,_e,D.Self);for(let s of i)s()}finally{fe(n),z(r),E(t)}}toString(){let t=[],n=this.records;for(let r of n.keys())t.push(H(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new _(205,!1)}processProvider(t){t=W(t);let n=Sr(t)?t:W(t&&t.provide),r=Vl(t);if(!Sr(t)&&t.multi===!0){let o=this.records.get(n);o||(o=Ve(void 0,tn,!0),o.factory=()=>_r(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n){let r=E(null);try{return n.value===tn&&(n.value=Ll,n.value=n.factory()),typeof n.value=="object"&&n.value&&Hl(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{E(r)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=W(t.providedIn);return typeof n=="string"?n==="any"||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){let n=this._onDestroyHooks.indexOf(t);n!==-1&&this._onDestroyHooks.splice(n,1)}};function Nr(e){let t=Sn(e),n=t!==null?t.factory:ze(e);if(n!==null)return n;if(e instanceof T)throw new _(204,!1);if(e instanceof Function)return jl(e);throw new _(204,!1)}function jl(e){if(e.length>0)throw new _(204,!1);let n=Kc(e);return n!==null?()=>n.factory(e):()=>new e}function Vl(e){if(Ws(e))return Ve(void 0,e.useValue);{let t=Bl(e);return Ve(t,tn)}}function Bl(e,t,n){let r;if(Sr(e)){let o=W(e);return ze(o)||Nr(o)}else if(Ws(e))r=()=>W(e.useValue);else if(kl(e))r=()=>e.useFactory(..._r(e.deps||[]));else if(Pl(e))r=()=>V(W(e.useExisting));else{let o=W(e&&(e.useClass||e.provide));if($l(e))r=()=>new o(..._r(e.deps));else return ze(o)||Nr(o)}return r}function Ve(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function $l(e){return!!e.deps}function Hl(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function Ul(e){return typeof e=="function"||typeof e=="object"&&e instanceof T}function Ar(e,t){for(let n of e)Array.isArray(n)?Ar(n,t):n&&Ns(n)?Ar(n.\u0275providers,t):t(n)}function tw(e,t){e instanceof ft&&e.assertNotDestroyed();let n,r=fe(e),o=z(void 0);try{return t()}finally{fe(r),z(o)}}function Gl(){return As()!==void 0||ll()!=null}function zl(e){return typeof e=="function"}var U=0,y=1,h=2,P=3,K=4,ee=5,Y=6,Ji=7,q=8,We=9,X=10,A=11,pt=12,Xi=13,wt=14,G=15,An=16,Be=17,qe=18,On=19,Ys=20,he=21,pr=22,Se=23,B=25,Qs=1,ht=6,ae=7,dn=8,fn=9,k=10,Io=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(Io||{});function ge(e){return Array.isArray(e)&&typeof e[Qs]=="object"}function oe(e){return Array.isArray(e)&&e[Qs]===!0}function Zs(e){return(e.flags&4)!==0}function Et(e){return e.componentOffset>-1}function Ks(e){return(e.flags&1)===1}function Ct(e){return!!e.template}function Js(e){return(e[h]&512)!==0}var Or=class{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function Xs(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}function ea(){return ta}function ta(e){return e.type.prototype.ngOnChanges&&(e.setInput=ql),Wl}ea.ngInherit=!0;function Wl(){let e=ra(this),t=e?.current;if(t){let n=e.previous;if(n===ct)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function ql(e,t,n,r,o){let i=this.declaredInputs[r],s=ra(e)||Yl(e,{previous:ct,current:null}),a=s.current||(s.current={}),u=s.previous,c=u[i];a[i]=new Or(c&&c.currentValue,n,u===ct),Xs(e,t,o,n)}var na="__ngSimpleChanges__";function ra(e){return e[na]||null}function Yl(e,t){return e[na]=t}var es=null;var pe=function(e,t,n){es?.(e,t,n)},oa="svg",Ql="math",Zl=!1;function Kl(){return Zl}function re(e){for(;Array.isArray(e);)e=e[U];return e}function Jl(e,t){return re(t[e])}function te(e,t){return re(t[e.index])}function wo(e,t){return e.data[t]}function Ke(e,t){let n=t[e];return ge(n)?n:n[U]}function Eo(e){return(e[h]&128)===128}function Xl(e){return oe(e[P])}function pn(e,t){return t==null?null:e[t]}function ia(e){e[Be]=0}function ed(e){e[h]&1024||(e[h]|=1024,Eo(e)&>(e))}function Co(e){return!!(e[h]&9216||e[Se]?.dirty)}function Fr(e){e[X].changeDetectionScheduler?.notify(1),Co(e)?gt(e):e[h]&64&&(Kl()?(e[h]|=1024,gt(e)):e[X].changeDetectionScheduler?.notify())}function gt(e){e[X].changeDetectionScheduler?.notify();let t=mt(e);for(;t!==null&&!(t[h]&8192||(t[h]|=8192,!Eo(t)));)t=mt(t)}function sa(e,t){if((e[h]&256)===256)throw new _(911,!1);e[he]===null&&(e[he]=[]),e[he].push(t)}function td(e,t){if(e[he]===null)return;let n=e[he].indexOf(t);n!==-1&&e[he].splice(n,1)}function mt(e){let t=e[P];return oe(t)?t[P]:t}var w={lFrame:ha(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function nd(){return w.lFrame.elementDepthCount}function rd(){w.lFrame.elementDepthCount++}function od(){w.lFrame.elementDepthCount--}function aa(){return w.bindingsEnabled}function bt(){return w.skipHydrationRootTNode!==null}function id(e){return w.skipHydrationRootTNode===e}function sd(e){w.skipHydrationRootTNode=e}function ad(){w.skipHydrationRootTNode=null}function S(){return w.lFrame.lView}function Je(){return w.lFrame.tView}function De(){let e=ua();for(;e!==null&&e.type===64;)e=e.parent;return e}function ua(){return w.lFrame.currentTNode}function ud(){let e=w.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function Mt(e,t){let n=w.lFrame;n.currentTNode=e,n.isParent=t}function ca(){return w.lFrame.isParent}function cd(){w.lFrame.isParent=!1}function la(){let e=w.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function ld(e){return w.lFrame.bindingIndex=e}function bo(){return w.lFrame.bindingIndex++}function dd(){return w.lFrame.inI18n}function fd(e,t){let n=w.lFrame;n.bindingIndex=n.bindingRootIndex=e,Rr(t)}function pd(){return w.lFrame.currentDirectiveIndex}function Rr(e){w.lFrame.currentDirectiveIndex=e}function da(e){w.lFrame.currentQueryIndex=e}function hd(e){let t=e[y];return t.type===2?t.declTNode:t.type===1?e[ee]:null}function fa(e,t,n){if(n&D.SkipSelf){let o=t,i=e;for(;o=o.parent,o===null&&!(n&D.Host);)if(o=hd(i),o===null||(i=i[wt],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=w.lFrame=pa();return r.currentTNode=t,r.lView=e,!0}function Mo(e){let t=pa(),n=e[y];w.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function pa(){let e=w.lFrame,t=e===null?null:e.child;return t===null?ha(e):t}function ha(e){let t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return e!==null&&(e.child=t),t}function ga(){let e=w.lFrame;return w.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var ma=ga;function _o(){let e=ga();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function Fn(){return w.lFrame.selectedIndex}function Ne(e){w.lFrame.selectedIndex=e}function gd(){let e=w.lFrame;return wo(e.tView,e.selectedIndex)}function nw(){w.lFrame.currentNamespace=oa}function rw(){md()}function md(){w.lFrame.currentNamespace=null}function ya(){return w.lFrame.currentNamespace}var Da=!0;function xo(){return Da}function ie(e){Da=e}function yd(e,t,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let s=ta(t);(n.preOrderHooks??=[]).push(e,s),(n.preOrderCheckHooks??=[]).push(e,s)}o&&(n.preOrderHooks??=[]).push(0-e,o),i&&((n.preOrderHooks??=[]).push(e,i),(n.preOrderCheckHooks??=[]).push(e,i))}function To(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n=r)break}else t[u]<0&&(e[Be]+=65536),(a>14>16&&(e[h]&3)===t&&(e[h]+=16384,ts(a,i)):ts(a,i)}var Ge=-1,yt=class{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}};function vd(e){return e instanceof yt}function Id(e){return(e.flags&8)!==0}function wd(e){return(e.flags&16)!==0}function Ia(e){return e!==Ge}function hn(e){return e&32767}function Ed(e){return e>>16}function gn(e,t){let n=Ed(e),r=t;for(;n>0;)r=r[wt],n--;return r}var Pr=!0;function ns(e){let t=Pr;return Pr=e,t}var Cd=256,wa=Cd-1,Ea=5,bd=0,ne={};function Md(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(at)&&(r=n[at]),r==null&&(r=n[at]=bd++);let o=r&wa,i=1<>Ea)]|=i}function Ca(e,t){let n=ba(e,t);if(n!==-1)return n;let r=t[y];r.firstCreatePass&&(e.injectorIndex=t.length,gr(r.data,e),gr(t,null),gr(r.blueprint,null));let o=So(e,t),i=e.injectorIndex;if(Ia(o)){let s=hn(o),a=gn(o,t),u=a[y].data;for(let c=0;c<8;c++)t[i+c]=a[s+c]|u[s+c]}return t[i+8]=o,i}function gr(e,t){e.push(0,0,0,0,0,0,0,0,t)}function ba(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function So(e,t){if(e.parent&&e.parent.injectorIndex!==-1)return e.parent.injectorIndex;let n=0,r=null,o=t;for(;o!==null;){if(r=Sa(o),r===null)return Ge;if(n++,o=o[wt],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return Ge}function _d(e,t,n){Md(e,t,n)}function Ma(e,t,n){if(n&D.Optional||e!==void 0)return e;ho(t,"NodeInjector")}function _a(e,t,n,r){if(n&D.Optional&&r===void 0&&(r=null),!(n&(D.Self|D.Host))){let o=e[We],i=z(void 0);try{return o?o.get(t,r,n&D.Optional):Os(t,r,n&D.Optional)}finally{z(i)}}return Ma(r,t,n)}function xa(e,t,n,r=D.Default,o){if(e!==null){if(t[h]&2048&&!(r&D.Self)){let s=Ad(e,t,n,r,ne);if(s!==ne)return s}let i=Ta(e,t,n,r,ne);if(i!==ne)return i}return _a(t,n,r,o)}function Ta(e,t,n,r,o){let i=Sd(n);if(typeof i=="function"){if(!fa(t,e,r))return r&D.Host?Ma(o,n,r):_a(t,n,r,o);try{let s;if(s=i(r),s==null&&!(r&D.Optional))ho(n);else return s}finally{ma()}}else if(typeof i=="number"){let s=null,a=ba(e,t),u=Ge,c=r&D.Host?t[G][ee]:null;for((a===-1||r&D.SkipSelf)&&(u=a===-1?So(e,t):t[a+8],u===Ge||!os(r,!1)?a=-1:(s=t[y],a=hn(u),t=gn(u,t)));a!==-1;){let l=t[y];if(rs(i,a,l.data)){let d=xd(a,t,n,s,r,c);if(d!==ne)return d}u=t[a+8],u!==Ge&&os(r,t[y].data[a+8]===c)&&rs(i,a,t)?(s=l,a=hn(u),t=gn(u,t)):a=-1}}return o}function xd(e,t,n,r,o,i){let s=t[y],a=s.data[e+8],u=r==null?Et(a)&&Pr:r!=s&&(a.type&3)!==0,c=o&D.Host&&i===a,l=Td(a,s,n,u,c);return l!==null?Dt(t,s,l,a):ne}function Td(e,t,n,r,o){let i=e.providerIndexes,s=t.data,a=i&1048575,u=e.directiveStart,c=e.directiveEnd,l=i>>20,d=r?a:a+l,p=o?a+l:c;for(let f=d;f=u&&m.type===n)return f}if(o){let f=s[u];if(f&&Ct(f)&&f.type===n)return u}return null}function Dt(e,t,n,r){let o=e[n],i=t.data;if(vd(o)){let s=o;s.resolving&&ol(rl(i[n]));let a=ns(s.canSeeViewProviders);s.resolving=!0;let u,c=s.injectImpl?z(s.injectImpl):null,l=fa(e,r,D.Default);try{o=e[n]=s.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&yd(n,i[n],t)}finally{c!==null&&z(c),ns(a),s.resolving=!1,ma()}}return o}function Sd(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(at)?e[at]:void 0;return typeof t=="number"?t>=0?t&wa:Nd:t}function rs(e,t,n){let r=1<>Ea)]&r)}function os(e,t){return!(e&D.Self)&&!(e&D.Host&&t)}var Me=class{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return xa(this._tNode,this._lView,t,Nn(r),n)}};function Nd(){return new Me(De(),S())}function ow(e){return fo(()=>{let t=e.prototype.constructor,n=t[an]||kr(t),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[an]||kr(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function kr(e){return xs(e)?()=>{let t=kr(W(e));return t&&t()}:ze(e)}function Ad(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[h]&2048&&!(s[h]&512);){let a=Ta(i,s,n,r|D.Self,ne);if(a!==ne)return a;let u=i.parent;if(!u){let c=s[Ys];if(c){let l=c.get(n,ne,r);if(l!==ne)return l}u=Sa(s),s=s[wt]}i=u}return o}function Sa(e){let t=e[y],n=t.type;return n===2?t.declTNode:n===1?e[ee]:null}function is(e,t=null,n=null,r){let o=Na(e,t,n,r);return o.resolveInjectorInitializers(),o}function Na(e,t=null,n=null,r,o=new Set){let i=[n||_e,Fl(e)];return r=r||(typeof e=="object"?void 0:H(e)),new ft(i,t||vo(),r||null,o)}var _t=(()=>{let t=class t{static create(r,o){if(Array.isArray(r))return is({name:""},o,r,"");{let i=r.name??"";return is({name:i},r.parent,r.providers,i)}}};t.THROW_IF_NOT_FOUND=ut,t.NULL=new ln,t.\u0275prov=N({token:t,providedIn:"any",factory:()=>V(Rs)}),t.__NG_ELEMENT_ID__=-1;let e=t;return e})();var Od="ngOriginalError";function mr(e){return e[Od]}var Ye=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&&mr(t);for(;n&&mr(n);)n=mr(n);return n||null}},Aa=new T("",{providedIn:"root",factory:()=>C(Ye).handleError.bind(void 0)}),Oa=(()=>{let t=class t{};t.__NG_ELEMENT_ID__=Fd,t.__NG_ENV_ID__=r=>r;let e=t;return e})(),Lr=class extends Oa{constructor(t){super(),this._lView=t}onDestroy(t){return sa(this._lView,t),()=>td(this._lView,t)}};function Fd(){return new Lr(S())}function Rd(){return No(De(),S())}function No(e,t){return new Ao(te(e,t))}var Ao=(()=>{let t=class t{constructor(r){this.nativeElement=r}};t.__NG_ELEMENT_ID__=Rd;let e=t;return e})();var jr=class extends ce{constructor(t=!1){super(),this.destroyRef=void 0,this.__isAsync=t,Gl()&&(this.destroyRef=C(Oa,{optional:!0})??void 0)}emit(t){let n=E(null);try{super.next(t)}finally{E(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=yr(i),o&&(o=yr(o)),s&&(s=yr(s)));let a=super.subscribe({next:o,error:i,complete:s});return t instanceof R&&t.add(a),a}};function yr(e){return t=>{setTimeout(e,void 0,t)}}var $e=jr;var Pd="ngSkipHydration",kd="ngskiphydration";function Fa(e){let t=e.mergedAttrs;if(t===null)return!1;for(let n=0;nUd}),Ud="ng",Gd=new T(""),Oo=new T("",{providedIn:"platform",factory:()=>"unknown"});var sw=new T(""),aw=new T("",{providedIn:"root",factory:()=>Rn().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});function zd(){let e=new Fo;return C(Oo)==="browser"&&(e.store=Wd(Rn(),C(Hd))),e}var Fo=(()=>{let t=class t{constructor(){this.store={},this.onSerializeCallbacks={}}get(r,o){return this.store[r]!==void 0?this.store[r]:o}set(r,o){this.store[r]=o}remove(r){delete this.store[r]}hasKey(r){return this.store.hasOwnProperty(r)}get isEmpty(){return Object.keys(this.store).length===0}onSerialize(r,o){this.onSerializeCallbacks[r]=o}toJson(){for(let r in this.onSerializeCallbacks)if(this.onSerializeCallbacks.hasOwnProperty(r))try{this.store[r]=this.onSerializeCallbacks[r]()}catch(o){console.warn("Exception in onSerialize callback: ",o)}return JSON.stringify(this.store).replace(/
null;function ef(e,t,n=!1){let r=e.getAttribute(Dr);if(r==null)return null;let[o,i]=r.split("|");if(r=n?i:o,!r)return null;let s=i?`|${i}`:"",a=n?o:s,u={};if(r!==""){let l=t.get(Fo,null,{optional:!0});l!==null&&(u=l.get(Ha,[])[Number(r)])}let c={data:u,firstChild:e.firstChild??null};return n&&(c.firstChild=e,Pn(c,0,e.nextSibling)),a?e.setAttribute(Dr,a):e.removeAttribute(Dr),c}function tf(){Ua=ef}function Po(e,t,n=!1){return Ua(e,t,n)}function nf(e){let t=e._lView;return t[y].type===2?null:(Js(t)&&(t=t[B]),t)}function rf(e){return e.textContent?.replace(/\s/gm,"")}function of(e){let t=Rn(),n=t.createNodeIterator(e,NodeFilter.SHOW_COMMENT,{acceptNode(i){let s=rf(i);return s==="ngetn"||s==="ngtns"?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_REJECT}}),r,o=[];for(;r=n.nextNode();)o.push(r);for(let i of o)i.textContent==="ngetn"?i.replaceWith(t.createTextNode("")):i.remove()}function Pn(e,t,n){e.segmentHeads??={},e.segmentHeads[t]=n}function $r(e,t){return e.segmentHeads?.[t]??null}function sf(e,t){let n=e.data,r=n[qd]?.[t]??null;return r===null&&n[Ro]?.[t]&&(r=ko(e,t)),r}function Ga(e,t){return e.data[Ro]?.[t]??null}function ko(e,t){let n=Ga(e,t)??[],r=0;for(let o of n)r+=o[yn]*(o[$a]??1);return r}function kn(e,t){if(typeof e.disconnectedNodes>"u"){let n=e.data[Kd];e.disconnectedNodes=n?new Set(n):null}return!!e.disconnectedNodes?.has(t)}var Kt=new T(""),za=!1,Wa=new T("",{providedIn:"root",factory:()=>za}),af=new T("");var Dn=class{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${bs})`}};function qa(e){return e instanceof Dn?e.changingThisBreaksApplicationSecurity:e}function uf(e,t){let n=cf(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${bs})`)}return n===t}function cf(e){return e instanceof Dn&&e.getTypeName()||null}var lf=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function df(e){return e=String(e),e.match(lf)?e:"unsafe:"+e}var Ya=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}(Ya||{});function uw(e){let t=ff();return t?t.sanitize(Ya.URL,e)||"":uf(e,"URL")?qa(e):df(po(e))}function ff(){let e=S();return e&&e[X].sanitizer}var pf=/^>|^->||--!>|)/g,gf="\u200B$1\u200B";function mf(e){return e.replace(pf,t=>t.replace(hf,gf))}function yf(e){return e.ownerDocument.body}function Qa(e){return e instanceof Function?e():e}function Jt(e){return(e??C(_t)).get(Oo)==="browser"}var Za=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(Za||{}),Df;function Lo(e,t){return Df(e,t)}function He(e,t,n,r,o){if(r!=null){let i,s=!1;oe(r)?i=r:ge(r)&&(s=!0,r=r[U]);let a=re(r);e===0&&n!==null?o==null?Xa(t,n,a):vn(t,n,a,o||null,!0):e===1&&n!==null?vn(t,n,a,o||null,!0):e===2?Ho(t,a,s):e===3&&t.destroyNode(a),i!=null&&Pf(t,e,i,n,o)}}function jo(e,t){return e.createText(t)}function vf(e,t,n){e.setValue(t,n)}function Vo(e,t){return e.createComment(mf(t))}function Ln(e,t,n){return e.createElement(t,n)}function If(e,t){Ka(e,t),t[U]=null,t[ee]=null}function wf(e,t,n,r,o,i){r[U]=o,r[ee]=t,Vn(e,r,n,1,o,i)}function Ka(e,t){t[X].changeDetectionScheduler?.notify(1),Vn(e,t,t[A],2,null,null)}function Ef(e){let t=e[pt];if(!t)return vr(e[y],e);for(;t;){let n=null;if(ge(t))n=t[pt];else{let r=t[k];r&&(n=r)}if(!n){for(;t&&!t[K]&&t!==e;)ge(t)&&vr(t[y],t),t=t[P];t===null&&(t=e),ge(t)&&vr(t[y],t),n=t&&t[K]}t=n}}function Cf(e,t,n,r){let o=k+r,i=n.length;r>0&&(n[o-1][K]=t),r0&&(e[n-1][K]=r[K]);let i=cn(e,k+t);If(r[y],r);let s=i[qe];s!==null&&s.detachView(i[y]),r[P]=null,r[K]=null,r[h]&=-129}return r}function jn(e,t){if(!(t[h]&256)){let n=t[A];n.destroyNode&&Vn(e,t,n,3,null,null),Ef(t)}}function vr(e,t){if(t[h]&256)return;let n=E(null);try{t[h]&=-129,t[h]|=256,t[Se]&&li(t[Se]),_f(e,t),Mf(e,t),t[y].type===1&&t[A].destroy();let r=t[An];if(r!==null&&oe(t[P])){r!==t[P]&&Ja(r,t);let o=t[qe];o!==null&&o.detachView(e)}$d(t)}finally{E(n)}}function Mf(e,t){let n=e.cleanup,r=t[Ji];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[Ji]=null);let o=t[he];if(o!==null){t[he]=null;for(let i=0;i-1){let{encapsulation:i}=e.data[r.directiveStart+o];if(i===dt.None||i===dt.Emulated)return null}return te(r,n)}}function vn(e,t,n,r,o){e.insertBefore(t,n,r,o)}function Xa(e,t,n){e.appendChild(t,n)}function as(e,t,n,r,o){r!==null?vn(e,t,n,r,o):Xa(e,t,n)}function Sf(e,t,n,r){e.removeChild(t,n,r)}function Bo(e,t){return e.parentNode(t)}function Nf(e,t){return e.nextSibling(t)}function Af(e,t,n){return Ff(e,t,n)}function Of(e,t,n){return e.type&40?te(e,n):null}var Ff=Of,us;function $o(e,t,n,r){let o=xf(e,r,t),i=t[A],s=r.parent||t[ee],a=Af(s,r,t);if(o!=null)if(Array.isArray(n))for(let u=0;uB&&ou(e,t,B,!1),pe(s?2:0,o),n(r,o)}finally{Ne(i),pe(s?3:1,o)}}function cu(e,t,n){if(Zs(t)){let r=E(null);try{let o=t.directiveStart,i=t.directiveEnd;for(let s=o;snull;function Hf(e){Ra(e)?tu(e):of(e)}function Uf(){pu=Hf}function Gf(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return bt()&&(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 cs(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=xe.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?ls(r,n,c,a,u):ls(r,n,c,a)}return r}function ls(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 zf(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 Kf(e,t,n,r){let o=n.directiveStart,i=n.directiveEnd;Et(n)&&op(t,n,e.data[o+n.componentOffset]),e.firstCreatePass||Ca(n,t),Ae(r,t);let s=n.initialInputs;for(let a=o;a{gt(e.lView)},consumerOnSignalRead(){this.lView[Se]=this}}),wu=100;function Eu(e,t=!0,n=0){let r=e[X],o=r.rendererFactory,i=!1;i||o.begin?.();try{vp(e,n)}catch(s){throw t&&ap(e,s),s}finally{i||(o.end?.(),r.inlineEffectRunner?.flush())}}function vp(e,t){zr(e,t);let n=0;for(;Co(e);){if(n===wu)throw new _(103,!1);n++,zr(e,1)}}function Ip(e,t,n,r){let o=t[h];if((o&256)===256)return;let i=!1;!i&&t[X].inlineEffectRunner?.flush(),Mo(t);let s=null,a=null;!i&&wp(e)&&(a=gp(t),s=ui(a));try{ia(t),ld(e.bindingStartIndex),n!==null&&uu(e,t,n,2,r);let u=(o&3)===3;if(!i)if(u){let d=e.preOrderCheckHooks;d!==null&&nn(t,d,null)}else{let d=e.preOrderHooks;d!==null&&rn(t,d,0,null),hr(t,0)}if(Ep(t),Cu(t,0),e.contentQueries!==null&&Du(e,t),!i)if(u){let d=e.contentCheckHooks;d!==null&&nn(t,d)}else{let d=e.contentHooks;d!==null&&rn(t,d,1),hr(t,1)}Lf(e,t);let c=e.components;c!==null&&Mu(t,c,0);let l=e.viewQuery;if(l!==null&&Gr(2,l,r),!i)if(u){let d=e.viewCheckHooks;d!==null&&nn(t,d)}else{let d=e.viewHooks;d!==null&&rn(t,d,2),hr(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[pr]){for(let d of t[pr])d();t[pr]=null}i||(t[h]&=-73)}catch(u){throw gt(t),u}finally{a!==null&&(ci(a,s),yp(a)),_o()}}function wp(e){return e.type!==2}function Cu(e,t){for(let n=ka(e);n!==null;n=La(n))for(let r=k;r-1&&(vt(t,r),cn(n,r))}this._attachedToViewContainer=!1}jn(this._lView[y],this._lView)}onDestroy(t){sa(this._lView,t)}markForCheck(){_u(this._cdRefInjectingView||this._lView)}detach(){this._lView[h]&=-129}reattach(){Fr(this._lView),this._lView[h]|=128}detectChanges(){this._lView[h]|=1024,Eu(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new _(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,Ka(this._lView[y],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new _(902,!1);this._appRef=t,Fr(this._lView)}};function xu(e){let t=e[ht]??[],r=e[P][A];for(let o of t)bp(o,r);e[ht]=_e}function bp(e,t){let n=0,r=e.firstChild;if(r){let o=e.data[yn];for(;n0&&(i.firstChild=e,e=Gn(r[yn],e)),n.push(i)}return[e,n]}var Su=()=>null;function Rp(e,t){let n=e[ht];return!t||n===null||n.length===0?null:n[0].data[Qd]===t?n.shift():(xu(e),null)}function Pp(){Su=Rp}function Cn(e,t){return Su(e,t)}var Wr=class{},qr=class{},bn=class{};function kp(e){let t=Error(`No component factory found for ${H(e)}.`);return t[Lp]=e,t}var Lp="ngComponent";var Yr=class{resolveComponentFactory(t){throw kp(t)}},zn=(()=>{let t=class t{};t.NULL=new Yr;let e=t;return e})(),Qr=class{};var jp=(()=>{let t=class t{};t.\u0275prov=N({token:t,providedIn:"root",factory:()=>null});let e=t;return e})(),wr={};var ds=new Set;function Wn(e){ds.has(e)||(ds.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}function fs(...e){}function Vp(){let e=typeof en.requestAnimationFrame=="function",t=en[e?"requestAnimationFrame":"setTimeout"],n=en[e?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&t&&n){let r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r);let o=n[Zone.__symbol__("OriginalDelegate")];o&&(n=o)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:n}}var 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 $e(!1),this.onMicrotaskEmpty=new $e(!1),this.onStable=new $e(!1),this.onError=new $e(!1),typeof Zone>"u")throw new _(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.lastRequestAnimationFrameId=-1,o.nativeRequestAnimationFrame=Vp().nativeRequestAnimationFrame,Hp(o)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get("isAngularZone")===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new _(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new _(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,o){let i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,t,Bp,fs,fs);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)}},Bp={};function Yo(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 $p(e){e.isCheckStableRunning||e.lastRequestAnimationFrameId!==-1||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(en,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,Zr(e),e.isCheckStableRunning=!0,Yo(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),Zr(e))}function Hp(e){let t=()=>{$p(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,o,i,s,a)=>{if(Up(a))return n.invokeTask(o,i,s,a);try{return ps(e),n.invokeTask(o,i,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&i.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),hs(e)}},onInvoke:(n,r,o,i,s,a,u)=>{try{return ps(e),n.invoke(o,i,s,a,u)}finally{e.shouldCoalesceRunChangeDetection&&t(),hs(e)}},onHasTask:(n,r,o,i)=>{n.hasTask(o,i),r===o&&(i.change=="microTask"?(e._hasPendingMicrotasks=i.microTask,Zr(e),Yo(e)):i.change=="macroTask"&&(e.hasPendingMacrotasks=i.macroTask))},onHandleError:(n,r,o,i)=>(n.handleError(o,i),e.runOutsideAngular(()=>e.onError.emit(i)),!1)})}function Zr(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.lastRequestAnimationFrameId!==-1?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function ps(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function hs(e){e._nesting--,Yo(e)}function Up(e){return!Array.isArray(e)||e.length!==1?!1:e[0].data?.__ignore_ng_zone__===!0}var Nu=(()=>{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=N({token:t,providedIn:"root",factory:()=>new t});let e=t;return e})();function Kr(e,t,n){let r=n?e.styles:null,o=n?e.classes:null,i=0;if(t!==null)for(let s=0;s0&&nu(e,n,i.join(" "))}}function Zp(e,t,n){let r=e.projection=[];for(let o=0;o{let t=class t{};t.__NG_ELEMENT_ID__=Jp;let e=t;return e})();function Jp(){let e=De();return eh(e,S())}var Xp=Au,Ou=class extends Xp{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return No(this._hostTNode,this._hostLView)}get injector(){return new Me(this._hostTNode,this._hostLView)}get parentInjector(){let t=So(this._hostTNode,this._hostLView);if(Ia(t)){let n=gn(t,this._hostLView),r=hn(t),o=n[y].data[r+8];return new Me(o,n)}else return new Me(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=ms(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-k}createEmbeddedView(t,n,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=Cn(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,In(this._hostTNode,s)),a}createComponent(t,n,r,o,i){let s=t&&!zl(t),a;if(s)a=n;else{let m=n||{};a=m.index,r=m.injector,o=m.projectableNodes,i=m.environmentInjector||m.ngModuleRef}let u=s?t:new It(Te(t)),c=r||this.parentInjector;if(!i&&u.ngModule==null){let b=(s?c:this.parentInjector).get(me,null);b&&(i=b)}let l=Te(u.componentType??{}),d=Cn(this._lContainer,l?.id??null),p=d?.firstChild??null,f=u.create(c,o,p,i);return this.insertImpl(f.hostView,a,In(this._hostTNode,d)),f}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){let o=t._lView;if(Xl(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let u=o[P],c=new Ou(u,u[ee],u[P]);c.detach(c.indexOf(t))}}let i=this._adjustIndex(n),s=this._lContainer;return qo(s,o,i,r),t.attachToViewContainerRef(),Fs(Er(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=ms(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=vt(this._lContainer,n);r&&(cn(Er(this._lContainer),n),jn(r[y],r))}detach(t){let n=this._adjustIndex(t,-1),r=vt(this._lContainer,n);return r&&cn(Er(this._lContainer),n)!=null?new Qe(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function ms(e){return e[dn]}function Er(e){return e[dn]||(e[dn]=[])}function eh(e,t){let n,r=t[e.index];return oe(r)?n=r:(n=yu(r,t,null,e),t[e.index]=n,Hn(t,n)),Fu(n,t,e,r),new Ou(n,e,t)}function th(e,t){let n=e[A],r=n.createComment(""),o=te(t,e),i=Bo(n,o);return vn(n,i,r,Nf(n,o),!1),r}var Fu=Ru,Qo=()=>!1;function nh(e,t,n){return Qo(e,t,n)}function Ru(e,t,n,r){if(e[ae])return;let o;n.type&8?o=re(r):o=th(t,n),e[ae]=o}function rh(e,t,n){if(e[ae]&&e[ht])return!0;let r=n[Y],o=t.index-B;if(!r||Ld(t)||kn(r,o))return!1;let s=$r(r,o),a=r.data[Ro]?.[o],[u,c]=Fp(s,a);return e[ae]=u,e[ht]=c,!0}function oh(e,t,n,r){Qo(e,n,t)||Ru(e,t,n,r)}function ih(){Fu=oh,Qo=rh}var ye=class{},eo=class{};var to=class extends ye{constructor(t,n,r){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Mn(this);let o=Bs(t);this._bootstrapComponents=Qa(o.bootstrap),this._r3Injector=Na(t,n,[{provide:ye,useValue:this},{provide:zn,useValue:this.componentFactoryResolver},...r],H(t),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(t)}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)}},no=class extends eo{constructor(t){super(),this.moduleType=t}create(t){return new to(this.moduleType,t,[])}};var _n=class extends ye{constructor(t){super(),this.componentFactoryResolver=new Mn(this),this.instance=null;let n=new ft([...t.providers,{provide:ye,useValue:this},{provide:zn,useValue:this.componentFactoryResolver}],t.parent||vo(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function sh(e,t,n=null){return new _n({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var Pu=(()=>{let t=class t{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new rt(!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.\u0275fac=function(o){return new(o||t)},t.\u0275prov=N({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function ku(e,t,n){return e[t]=n}function Lu(e,t){return e[t]}function Ze(e,t,n){let r=e[t];return Object.is(r,n)?!1:(e[t]=n,!0)}function ys(e,t,n,r){let o=Ze(e,t,n);return Ze(e,t+1,r)||o}function ah(e,t,n,r,o,i){let s=ys(e,t,n,r);return ys(e,t+2,o,i)||s}function Tt(e){return(e.flags&32)===32}function uh(e,t,n,r,o,i,s,a,u){let c=t.consts,l=$n(t,e,4,s||null,pn(c,a));hu(t,n,l,pn(c,u)),To(t,l);let d=l.tView=Go(2,l,r,o,i,t.directiveRegistry,t.pipeRegistry,null,t.schemas,c,null);return t.queries!==null&&(t.queries.template(t,l),d.queries=t.queries.embeddedTView(l)),l}function ro(e,t,n,r,o,i,s,a){let u=S(),c=Je(),l=e+B,d=c.firstCreatePass?uh(l,c,u,t,n,r,o,i,s):c.data[l];Mt(d,!1);let p=ju(c,u,d,e);xo()&&$o(c,u,p,d),Ae(p,u);let f=yu(p,u,p,d);return u[l]=f,Hn(u,f),nh(f,d,u),Ks(d)&&lu(c,u,d),s!=null&&du(u,d,a),ro}var ju=Vu;function Vu(e,t,n,r){return ie(!0),t[A].createComment("")}function ch(e,t,n,r){let o=t[Y],i=!o||bt()||Tt(n)||kn(o,r);if(ie(i),i)return Vu(e,t,n,r);let s=o.data[Yd]?.[r]??null;s!==null&&n.tView!==null&&n.tView.ssrId===null&&(n.tView.ssrId=s);let a=Un(o,e,t,n);Pn(o,r,a);let u=ko(o,r);return Gn(u,a)}function lh(){ju=ch}function dh(e,t,n,r){return Ze(e,bo(),n)?t+po(n)+r:xt}function fh(e,t,n){let r=S(),o=bo();if(Ze(r,o,t)){let i=Je(),s=gd();qf(i,s,r,e,t,r[A],n,!1)}return fh}function Ds(e,t,n,r,o){let i=t.inputs,s=o?"class":"style";zo(e,n,i[s],s,r)}var oo=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 Cr(e,t,n,r,o){return e===n&&Object.is(t,r)?1:Object.is(o(e,t),o(n,r))?-1:0}function ph(e,t,n){let r,o,i=0,s=e.length-1;if(Array.isArray(t)){let a=t.length-1;for(;i<=s&&i<=a;){let u=e.at(i),c=t[i],l=Cr(i,u,i,c,n);if(l!==0){l<0&&e.updateValue(i,c),i++;continue}let d=e.at(s),p=t[a],f=Cr(s,d,a,p,n);if(f!==0){f<0&&e.updateValue(s,p),s--,a--;continue}let m=n(i,u),b=n(s,d),L=n(i,c);if(Object.is(L,b)){let F=n(a,p);Object.is(F,m)?(e.swap(i,s),e.updateValue(s,p),a--,s--):e.move(s,i),e.updateValue(i,c),i++;continue}if(r??=new xn,o??=Is(e,i,s,n),io(e,r,i,L))e.updateValue(i,c),i++,s++;else if(o.has(L))r.set(m,e.detach(i)),s--;else{let F=e.create(i,t[i]);e.attach(i,F),i++,s++}}for(;i<=a;)vs(e,r,n,i,t[i]),i++}else if(t!=null){let a=t[Symbol.iterator](),u=a.next();for(;!u.done&&i<=s;){let c=e.at(i),l=u.value,d=Cr(i,c,i,l,n);if(d!==0)d<0&&e.updateValue(i,l),i++,u=a.next();else{r??=new xn,o??=Is(e,i,s,n);let p=n(i,l);if(io(e,r,i,p))e.updateValue(i,l),i++,s++,u=a.next();else if(!o.has(p))e.attach(i,e.create(i,l)),i++,s++,u=a.next();else{let f=n(i,c);r.set(f,e.detach(i)),s--}}}for(;!u.done;)vs(e,r,n,e.length,u.value),u=a.next()}for(;i<=s;)e.destroy(e.detach(s--));r?.forEach(a=>{e.destroy(a)})}function io(e,t,n,r){return t!==void 0&&t.has(r)?(e.attach(n,t.get(r)),t.delete(r),!0):!1}function vs(e,t,n,r,o){if(io(e,t,r,n(r,o)))e.updateValue(r,o);else{let i=e.create(r,o);e.attach(r,i)}}function Is(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 xn=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 so=class{constructor(t,n,r){this.lContainer=t,this.$implicit=n,this.$index=r}get $count(){return this.lContainer.length-k}};var ao=class{constructor(t,n,r){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=r}};function fw(e,t,n,r,o,i,s,a,u,c,l,d,p){Wn("NgControlFlow");let f=u!==void 0,m=S(),b=a?s.bind(m[G][q]):s,L=new ao(f,b);m[B+e]=L,ro(e+1,t,n,r,o,i),f&&ro(e+2,u,c,l,d,p)}var uo=class extends oo{constructor(t,n,r){super(),this.lContainer=t,this.hostLView=n,this.templateTNode=r,this.needsIndexUpdate=!1}get length(){return this.lContainer.length-k}at(t){return this.getLView(t)[q].$implicit}attach(t,n){let r=n[Y];this.needsIndexUpdate||=t!==this.length,qo(this.lContainer,n,t,In(this.templateTNode,r))}detach(t){return this.needsIndexUpdate||=t!==this.length-1,hh(this.lContainer,t)}create(t,n){let r=Cn(this.lContainer,this.templateTNode.tView.ssrId);return vu(this.hostLView,this.templateTNode,new so(this.lContainer,n,t),{dehydratedView:r})}destroy(t){jn(t[y],t)}updateValue(t,n){this.getLView(t)[q].$implicit=n}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t(ie(!0),Ln(r,o,ya()));function Dh(e,t,n,r,o,i){let s=t[Y],a=!s||bt()||Tt(n)||kn(s,i);if(ie(a),a)return Ln(r,o,ya());let u=Un(s,e,t,n);return Ga(s,i)&&Pn(s,i,u.nextSibling),s&&(Fa(n)||Ra(u))&&Et(n)&&(sd(n),tu(u)),u}function vh(){Hu=Dh}var Ih=(e,t,n,r)=>(ie(!0),Vo(t[A],""));function wh(e,t,n,r){let o,i=t[Y],s=!i||bt()||Tt(n);if(ie(s),s)return Vo(t[A],"");let a=Un(i,e,t,n),u=sf(i,r);return Pn(i,r,a),o=Gn(u,a),o}function Eh(){Ih=wh}var Tn="en-US";var Ch=Tn;function bh(e){typeof e=="string"&&(Ch=e.toLowerCase().replace(/_/g,"-"))}function Uu(e,t,n){let r=e[A];switch(n){case Node.COMMENT_NODE:return Vo(r,t);case Node.TEXT_NODE:return jo(r,t);case Node.ELEMENT_NODE:return Ln(r,t,null)}}var Mh=(e,t,n,r)=>(ie(!0),Uu(e,n,r));function _h(e,t,n,r){return ie(!0),Uu(e,n,r)}function xh(){Mh=_h}function hw(e,t=""){let n=S(),r=Je(),o=e+B,i=r.firstCreatePass?$n(r,o,1,t,null):r.data[o],s=Gu(r,n,i,t,e);n[o]=s,xo()&&$o(r,n,s,i),Mt(i,!1)}var Gu=(e,t,n,r,o)=>(ie(!0),jo(t[A],r));function Th(e,t,n,r,o){let i=t[Y],s=!i||bt()||Tt(n)||kn(i,o);return ie(s),s?jo(t[A],r):Un(i,e,t,n)}function Sh(){Gu=Th}function Nh(e){return zu("",e,""),Nh}function zu(e,t,n){let r=S(),o=dh(r,e,t,n);return o!==xt&&up(r,Fn(),o),zu}var Ah=(()=>{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=Gs(!1,r.type),i=o.length>0?sh([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=N({token:t,providedIn:"environment",factory:()=>new t(V(me))});let e=t;return e})();function gw(e){Wn("NgStandalone"),e.getStandaloneInjector=t=>t.get(Ah).getOrCreateStandaloneInjector(e)}function mw(e,t,n){let r=la()+e,o=S();return o[r]===xt?ku(o,r,n?t.call(n):t()):Lu(o,r)}function yw(e,t,n,r,o,i,s,a){let u=la()+e,c=S(),l=ah(c,u,n,r,o,i);return Ze(c,u+4,s)||l?ku(c,u+5,a?t.call(a,n,r,o,i,s):t(n,r,o,i,s)):Lu(c,u+5)}var Dw=(()=>{let t=class t{log(r){console.log(r)}warn(r){console.warn(r)}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=N({token:t,factory:t.\u0275fac,providedIn:"platform"});let e=t;return e})();var Oh=new T("");function Zo(e){return!!e&&typeof e.then=="function"}function Wu(e){return!!e&&typeof e.subscribe=="function"}var Fh=new T(""),qu=(()=>{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=C(Fh,{optional:!0})??[]}runInitializers(){if(this.initialized)return;let r=[];for(let i of this.appInits){let s=i();if(Zo(s))r.push(s);else if(Wu(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=N({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),Yu=new T("");function Rh(){di(()=>{throw new _(600,!1)})}function Ph(e){return e.isBoundToModule}function kh(e,t,n){try{let r=n();return Zo(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}var Ko=(()=>{let t=class t{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=C(Aa),this.afterRenderEffectManager=C(Nu),this.externalTestViews=new Set,this.beforeRender=new ce,this.afterTick=new ce,this.componentTypes=[],this.components=[],this.isStable=C(Pu).hasPendingTasks.pipe(se(r=>!r)),this._injector=C(me)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(r,o){let i=r instanceof bn;if(!this._injector.get(qu).done){let f=!i&&Al(r),m=!1;throw new _(405,m)}let a;i?a=r:a=this._injector.get(zn).resolveComponentFactory(r),this.componentTypes.push(a.componentType);let u=Ph(a)?void 0:this._injector.get(ye),c=o||a.selector,l=a.create(_t.NULL,[],c,u),d=l.location.nativeElement,p=l.injector.get(Oh,null);return p?.registerApplication(d),l.onDestroy(()=>{this.detachView(l.hostView),br(this.components,l),p?.unregisterApplication(d)}),this._loadComponent(l),l}tick(){this._tick(!0)}_tick(r){if(this._runningTick)throw new _(101,!1);let o=E(null);try{this._runningTick=!0,this.detectChangesInAttachedViews(r)}catch(i){this.internalErrorHandler(i)}finally{this.afterTick.next(),this._runningTick=!1,E(o)}}detectChangesInAttachedViews(r){let o=0,i=this.afterRenderEffectManager;for(;;){if(o===wu)throw new _(103,!1);if(r){let s=o===0;this.beforeRender.next(s);for(let{_lView:a,notifyErrorHandler:u}of this._views)jh(a,s,u)}if(o++,i.executeInternalCallbacks(),![...this.externalTestViews.keys(),...this._views].some(({_lView:s})=>co(s))&&(i.execute(),![...this.externalTestViews.keys(),...this._views].some(({_lView:s})=>co(s))))break}}attachView(r){let o=r;this._views.push(o),o.attachToAppRef(this)}detachView(r){let o=r;br(this._views,o),o.detachFromAppRef()}_loadComponent(r){this.attachView(r.hostView),this.tick(),this.components.push(r);let o=this._injector.get(Yu,[]);[...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),()=>br(this._destroyListeners,r)}destroy(){if(this._destroyed)throw new _(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=N({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function br(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}var Xt;function Lh(e){Xt??=new WeakMap;let t=Xt.get(e);if(t)return t;let n=e.isStable.pipe(lr(r=>r)).toPromise().then(()=>{});return Xt.set(e,n),e.onDestroy(()=>Xt?.delete(e)),n}function jh(e,t,n){!t&&!co(e)||Vh(e,n,t)}function co(e){return Co(e)}function Vh(e,t,n){let r;n?(r=0,e[h]|=1024):e[h]&64?r=0:r=1,Eu(e,t,r)}var lo=class{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}},vw=(()=>{let t=class t{compileModuleSync(r){return new no(r)}compileModuleAsync(r){return Promise.resolve(this.compileModuleSync(r))}compileModuleAndAllComponentsSync(r){let o=this.compileModuleSync(r),i=Bs(r),s=Qa(i.declarations).reduce((a,u)=>{let c=Te(u);return c&&a.push(new It(c)),a},[]);return new lo(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=N({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();var Bh=(()=>{let t=class t{constructor(){this.zone=C(J),this.applicationRef=C(Ko)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=N({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function $h(e){return[{provide:J,useFactory:e},{provide:lt,multi:!0,useFactory:()=>{let t=C(Bh,{optional:!0});return()=>t.initialize()}},{provide:lt,multi:!0,useFactory:()=>{let t=C(zh);return()=>{t.initialize()}}},{provide:Aa,useFactory:Hh}]}function Hh(){let e=C(J),t=C(Ye);return n=>e.runOutsideAngular(()=>t.handleError(n))}function Uh(e){let t=$h(()=>new J(Gh(e)));return Us([[],t])}function Gh(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var zh=(()=>{let t=class t{constructor(){this.subscription=new R,this.initialized=!1,this.zone=C(J),this.pendingTasks=C(Pu)}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=N({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function Wh(){return typeof $localize<"u"&&$localize.locale||Tn}var Jo=new T("",{providedIn:"root",factory:()=>C(Jo,D.Optional|D.SkipSelf)||Wh()});var Qu=new T("");var sn=null;function qh(e=[],t){return _t.create({name:t,providers:[{provide:qs,useValue:"platform"},{provide:Qu,useValue:new Set([()=>sn=null])},...e]})}function Yh(e=[]){if(sn)return sn;let t=qh(e);return sn=t,Rh(),Qh(t),t}function Qh(e){e.get(Gd,null)?.forEach(n=>n())}var Zu=(()=>{let t=class t{};t.__NG_ELEMENT_ID__=Zh;let e=t;return e})();function Zh(e){return Kh(De(),S(),(e&16)===16)}function Kh(e,t,n){if(Et(e)&&!n){let r=Ke(e.index,t);return new Qe(r,r)}else if(e.type&47){let r=t[G];return new Qe(r,t)}return null}function Iw(e){try{let{rootComponent:t,appProviders:n,platformProviders:r}=e,o=Yh(r),i=[Uh(),...n||[]],a=new _n({providers:i,parent:o,debugName:"",runEnvironmentInitializers:!1}).injector,u=a.get(J);return u.run(()=>{a.resolveInjectorInitializers();let c=a.get(Ye,null),l;u.runOutsideAngular(()=>{l=u.onError.subscribe({next:f=>{c.handleError(f)}})});let d=()=>a.destroy(),p=o.get(Qu);return p.add(d),a.onDestroy(()=>{l.unsubscribe(),p.delete(d)}),kh(c,u,()=>{let f=a.get(qu);return f.runInitializers(),f.donePromise.then(()=>{let m=a.get(Jo,Tn);bh(m||Tn);let b=a.get(Ko);return t!==void 0&&b.bootstrap(t),b})})})}catch(t){return Promise.reject(t)}}var Cs=!1,Jh=!1;function Xh(){Cs||(Cs=!0,tf(),vh(),Sh(),Eh(),lh(),ih(),Pp(),Uf(),xh())}function eg(e,t){return Lh(e)}function ww(){return Us([{provide:Kt,useFactory:()=>{let e=!0;return Jt()&&(e=!!C(Fo,{optional:!0})?.get(Ha,null)),e&&Wn("NgHydration"),e}},{provide:lt,useValue:()=>{Jh=!!C(af,{optional:!0}),Jt()&&C(Kt)&&(tg(),Xh())},multi:!0},{provide:Wa,useFactory:()=>Jt()&&C(Kt)},{provide:Yu,useFactory:()=>{if(Jt()&&C(Kt)){let e=C(Ko),t=C(_t);return()=>{eg(e,t).then(()=>{_p(e)})}}return()=>{}},multi:!0}])}function tg(){let e=Rn(),t;for(let n of e.body.childNodes)if(n.nodeType===Node.COMMENT_NODE&&n.textContent?.trim()===Xd){t=n;break}if(!t)throw new _(-507,!1)}var tc=null;function Xo(){return tc}function tE(e){tc??=e}var Ku=class{};var nc=new T(""),rc=(()=>{let t=class t{historyGo(r){throw new Error("")}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=N({token:t,factory:()=>C(og),providedIn:"platform"});let e=t;return e})();var og=(()=>{let t=class t extends rc{constructor(){super(),this._doc=C(nc),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Xo().getBaseHref(this._doc)}onPopState(r){let o=Xo().getGlobalEventTarget(this._doc,"window");return o.addEventListener("popstate",r,!1),()=>o.removeEventListener("popstate",r)}onHashChange(r){let o=Xo().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=N({token:t,factory:()=>new t,providedIn:"platform"});let e=t;return e})();function oc(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 Ju(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 Oe(e){return e&&e[0]!=="?"?"?"+e:e}var ei=(()=>{let t=class t{historyGo(r){throw new Error("")}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=N({token:t,factory:()=>C(sg),providedIn:"root"});let e=t;return e})(),ig=new T(""),sg=(()=>{let t=class t extends ei{constructor(r,o){super(),this._platformLocation=r,this._removeListenerFns=[],this._baseHref=o??this._platformLocation.getBaseHrefFromDOM()??C(nc).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 oc(this._baseHref,r)}path(r=!1){let o=this._platformLocation.pathname+Oe(this._platformLocation.search),i=this._platformLocation.hash;return i&&r?`${o}${i}`:o}pushState(r,o,i,s){let a=this.prepareExternalUrl(i+Oe(s));this._platformLocation.pushState(r,o,a)}replaceState(r,o,i,s){let a=this.prepareExternalUrl(i+Oe(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)(V(rc),V(ig,8))},t.\u0275prov=N({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();var ag=(()=>{let t=class t{constructor(r){this._subject=new $e,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=r;let o=this._locationStrategy.getBaseHref();this._basePath=lg(Ju(Xu(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+Oe(o))}normalize(r){return t.stripTrailingSlash(cg(this._basePath,Xu(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+Oe(o)),i)}replaceState(r,o="",i=null){this._locationStrategy.replaceState(i,"",r,o),this._notifyUrlChangeListeners(this.prepareExternalUrl(r+Oe(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=Oe,t.joinWithSlash=oc,t.stripTrailingSlash=Ju,t.\u0275fac=function(o){return new(o||t)(V(ei))},t.\u0275prov=N({token:t,factory:()=>ug(),providedIn:"root"});let e=t;return e})();function ug(){return new ag(V(ei))}function cg(e,t){if(!e||!t.startsWith(e))return t;let n=t.substring(e.length);return n===""||["/",";","?","#"].includes(n[0])?n:t}function Xu(e){return e.replace(/\/index.html$/,"")}function lg(e){if(new RegExp("^(https?:)?//").test(e)){let[,n]=e.split(/\/\/[^\/]+/);return n}return e}function nE(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 rE="browser",dg="server";function oE(e){return e===dg}var ec=class{};export{Xe as a,et as b,fg as c,R as d,yc as e,ar as f,ur as g,ce as h,rt as i,ot as j,de as k,xc as l,Tc as m,Sc as n,Ce as o,se as p,Lc as q,be as r,Qt as s,Vc as t,it as u,Bi as v,Bc as w,st as x,cr as y,$c as z,Uc as A,lr as B,dr as C,Gc as D,zc as E,Wc as F,qc as G,Yc as H,Qc as I,_ as J,N as K,XI as L,T as M,D as N,V as O,C as P,dt as Q,ew as R,Nl as S,Us as T,qs as U,me as V,tw as W,ea as X,nw as Y,rw as Z,ow as _,_t as $,Ye as aa,$e as ba,iw as ca,Hd as da,Gd as ea,Oo as fa,sw as ga,aw as ha,Fo as ia,uw as ja,Za as ka,cw as la,lw as ma,Wr as na,Qr as oa,Wn as pa,J as qa,Au as ra,eo as sa,sh as ta,Pu as ua,fh as va,fw as wa,pw as xa,Bu as ya,$u as za,yh as Aa,hw as Ba,Nh as Ca,zu as Da,gw as Ea,mw as Fa,yw as Ga,Dw as Ha,Zo as Ia,Yu as Ja,Ko as Ka,Lh as La,vw as Ma,Zu as Na,Iw as Oa,ww as Pa,Xo as Qa,tE as Ra,Ku as Sa,nc as Ta,ag as Ua,nE as Va,rE as Wa,oE as Xa,ec as Ya};
diff --git a/EnvelopeGenerator.GeneratorAPI/wwwroot/chunk-NALQ2D3H.js b/EnvelopeGenerator.GeneratorAPI/wwwroot/chunk-NALQ2D3H.js
deleted file mode 100644
index 06f60ce3..00000000
--- a/EnvelopeGenerator.GeneratorAPI/wwwroot/chunk-NALQ2D3H.js
+++ /dev/null
@@ -1 +0,0 @@
-import{J as E,K as gt,a as ue,c as pt}from"./chunk-KPVI7RD6.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)}matchesElement(s,i){return!1}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,i){this.bodyNode=e,this.driver=t,this._normalizer=s,this.scheduler=i,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=(r,o)=>{}}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)){this.scheduler?.notify();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,i){this._driver=t,this._normalizer=s,this._triggerCache={},this.onRemovalComplete=(r,o)=>{},this._transitionEngine=new xe(e.body,t,s,i),this._timelineEngine=new Ye(e.body,t,s),this._transitionEngine.onRemovalComplete=(r,o)=>this.onRemovalComplete(r,o)}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}matchesElement(e,t){return!1}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,t){return n==="noop"?new be(e,new zt,new Ke,t):new be(e,new Je,new Qe,t)}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.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)=>{let o=r?.parentNode(i);o&&r.removeChild(o,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/EnvelopeGenerator.GeneratorAPI/wwwroot/envelope/index.html b/EnvelopeGenerator.GeneratorAPI/wwwroot/envelope/index.html
new file mode 100644
index 00000000..6abc7a8e
--- /dev/null
+++ b/EnvelopeGenerator.GeneratorAPI/wwwroot/envelope/index.html
@@ -0,0 +1,16 @@
+
+
+ signFlow
+
+
+
+
+
+
+
+
+ signFlow
+
+
+
\ No newline at end of file
diff --git a/EnvelopeGenerator.GeneratorAPI/wwwroot/index.html b/EnvelopeGenerator.GeneratorAPI/wwwroot/index.html
index fa077110..5041ff77 100644
--- a/EnvelopeGenerator.GeneratorAPI/wwwroot/index.html
+++ b/EnvelopeGenerator.GeneratorAPI/wwwroot/index.html
@@ -1,179 +1,16 @@
- EnvelopeGeneratorUi
+ signFlow
+
-
+
- Hello, envelope-generator-ui
Congratulations! Your app is running. 🎉
-
+ signFlow
+
-
\ No newline at end of file
+