>rl)]|=i}function Ir(e,t){let n=ol(e,t);if(n!==-1)return n;let r=t[w];r.firstCreatePass&&(e.injectorIndex=t.length,qo(r.data,e),qo(t,null),qo(r.blueprint,null));let o=js(e,t),i=e.injectorIndex;if(tl(o)){let s=Dr(o),a=vr(o,t),u=a[w].data;for(let c=0;c<8;c++)t[i+c]=a[s+c]|u[s+c]}return t[i+8]=o,i}function qo(e,t){e.push(0,0,0,0,0,0,0,0,t)}function ol(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function js(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=cl(o),r===null)return Nt;if(n++,o=o[Vt],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return Nt}function vi(e,t,n){og(e,t,n)}function ig(e,t){if(t==="class")return e.classes;if(t==="style")return e.styles;let n=e.attrs;if(n){let r=n.length,o=0;for(;o>20,d=r?a:a+l,p=o?a+l:c;for(let f=d;f=u&&h.type===n)return f}if(o){let f=s[u];if(f&&je(f)&&f.type===n)return u}return null}function ot(e,t,n,r){let o=e[n],i=t.data;if(Jh(o)){let s=o;s.resolving&&Np(Tp(i[n]));let a=wr(s.canSeeViewProviders);s.resolving=!0;let u,c=s.injectImpl?Q(s.injectImpl):null,l=qc(e,r,M.Default);try{o=e[n]=s.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&Zh(n,i[n],t)}finally{c!==null&&Q(c),wr(a),s.resolving=!1,Kc()}}return o}function ag(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(Kt)?e[Kt]:void 0;return typeof t=="number"?t>=0?t&nl:ug:t}function Cu(e,t,n){let r=1<>rl)]&r)}function bu(e,t){return!(e&M.Self)&&!(e&M.Host&&t)}var Xe=class{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return al(this._tNode,this._lView,t,Br(r),n)}};function ug(){return new Xe(H(),I())}function Ex(e){return pn(()=>{let t=e.prototype.constructor,n=t[pr]||wi(t),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[pr]||wi(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function wi(e){return tc(e)?()=>{let t=wi(G(e));return t&&t()}:et(e)}function cg(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[y]&2048&&!(s[y]&512);){let a=ul(i,s,n,r|M.Self,we);if(a!==we)return a;let u=i.parent;if(!u){let c=s[Ac];if(c){let l=c.get(n,we,r);if(l!==we)return l}u=cl(s),s=s[Vt]}i=u}return o}function cl(e){let t=e[w],n=t.type;return n===2?t.declTNode:n===1?e[ee]:null}function lg(e){return ig(H(),e)}function _u(e,t=null,n=null,r){let o=ll(e,t,n,r);return o.resolveInjectorInitializers(),o}function ll(e,t=null,n=null,r,o=new Set){let i=[n||W,lh(e)];return r=r||(typeof e=="object"?void 0:z(e)),new nn(i,t||Ms(),r||null,o)}var ct=(()=>{let t=class t{static create(r,o){if(Array.isArray(r))return _u({name:""},o,r,"");{let i=r.name??"";return _u({name:i},r.parent,r.providers,i)}}};t.THROW_IF_NOT_FOUND=Jt,t.NULL=new mr,t.\u0275prov=R({token:t,providedIn:"any",factory:()=>$(lc)}),t.__NG_ELEMENT_ID__=-1;let e=t;return e})();var dg="ngOriginalError";function Yo(e){return e[dg]}var Ve=class{constructor(){this._console=console}handleError(t){let n=this._findOriginalError(t);this._console.error("ERROR",t),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&Yo(t);for(;n&&Yo(n);)n=Yo(n);return n||null}},dl=new F("",{providedIn:"root",factory:()=>C(Ve).handleError.bind(void 0)}),qr=(()=>{let t=class t{};t.__NG_ELEMENT_ID__=fg,t.__NG_ENV_ID__=r=>r;let e=t;return e})(),Ii=class extends qr{constructor(t){super(),this._lView=t}onDestroy(t){return Hc(this._lView,t),()=>Fh(this._lView,t)}};function fg(){return new Ii(I())}function pg(){return $t(H(),I())}function $t(e,t){return new lt(te(e,t))}var lt=(()=>{let t=class t{constructor(r){this.nativeElement=r}};t.__NG_ELEMENT_ID__=pg;let e=t;return e})();function hg(e){return e instanceof lt?e.nativeElement:e}var Ei=class extends re{constructor(t=!1){super(),this.destroyRef=void 0,this.__isAsync=t,Tc()&&(this.destroyRef=C(qr,{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=Qo(i),o&&(o=Qo(o)),s&&(s=Qo(s)));let a=super.subscribe({next:o,error:i,complete:s});return t instanceof L&&t.add(a),a}};function Qo(e){return t=>{setTimeout(e,void 0,t)}}var Je=Ei;function gg(){return this._results[Symbol.iterator]()}var Ci=class e{get changes(){return this._changes??=new Je}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]=gg)}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=Up(t);(this._changesDetected=!Hp(this._results,r,n))&&(this._results=r,this.length=r.length,this.last=r[this.length-1],this.first=r[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}onDirty(t){this._onDirty=t}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}},mg="ngSkipHydration",yg="ngskiphydration";function fl(e){let t=e.mergedAttrs;if(t===null)return!1;for(let n=0;nbg}),bg="ng",_g=new F(""),Qr=new F("",{providedIn:"platform",factory:()=>"unknown"});var bx=new F(""),_x=new F("",{providedIn:"root",factory:()=>Yr().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});function Mg(){let e=new Vs;return C(Qr)==="browser"&&(e.store=xg(Yr(),C(Cg))),e}var Vs=(()=>{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 Pg(e,t,n=!1){let r=e.getAttribute(Zo);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(Vs,null,{optional:!0});l!==null&&(u=l.get(Il,[])[Number(r)])}let c={data:u,firstChild:e.firstChild??null};return n&&(c.firstChild=e,Zr(c,0,e.nextSibling)),a?e.setAttribute(Zo,a):e.removeAttribute(Zo),c}function kg(){El=Pg}function $s(e,t,n=!1){return El(e,t,n)}function Lg(e){let t=e._lView;return t[w].type===2?null:(Fc(t)&&(t=t[k]),t)}function jg(e){return e.textContent?.replace(/\s/gm,"")}function Vg(e){let t=Yr(),n=t.createNodeIterator(e,NodeFilter.SHOW_COMMENT,{acceptNode(i){let s=jg(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 Zr(e,t,n){e.segmentHeads??={},e.segmentHeads[t]=n}function Mi(e,t){return e.segmentHeads?.[t]??null}function Bg(e,t){let n=e.data,r=n[Sg]?.[t]??null;return r===null&&n[Bs]?.[t]&&(r=Hs(e,t)),r}function Cl(e,t){return e.data[Bs]?.[t]??null}function Hs(e,t){let n=Cl(e,t)??[],r=0;for(let o of n)r+=o[Cr]*(o[wl]??1);return r}function Kr(e,t){if(typeof e.disconnectedNodes>"u"){let n=e.data[Og];e.disconnectedNodes=n?new Set(n):null}return!!e.disconnectedNodes?.has(t)}var Xn=new F(""),bl=!1,_l=new F("",{providedIn:"root",factory:()=>bl}),$g=new F(""),er;function Hg(){if(er===void 0&&(er=null,Fe.trustedTypes))try{er=Fe.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return er}function Jr(e){return Hg()?.createHTML(e)||e}var tr;function Ug(){if(tr===void 0&&(tr=null,Fe.trustedTypes))try{tr=Fe.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return tr}function xu(e){return Ug()?.createScriptURL(e)||e}var Te=class{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Ku})`}},xi=class extends Te{getTypeName(){return"HTML"}},Si=class extends Te{getTypeName(){return"Style"}},Ti=class extends Te{getTypeName(){return"Script"}},Ni=class extends Te{getTypeName(){return"URL"}},Ai=class extends Te{getTypeName(){return"ResourceURL"}};function vn(e){return e instanceof Te?e.changingThisBreaksApplicationSecurity:e}function Ml(e,t){let n=Gg(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${Ku})`)}return n===t}function Gg(e){return e instanceof Te&&e.getTypeName()||null}function Mx(e){return new xi(e)}function xx(e){return new Si(e)}function Sx(e){return new Ti(e)}function Tx(e){return new Ni(e)}function Nx(e){return new Ai(e)}function Wg(e){let t=new Fi(e);return zg()?new Oi(t):t}var Oi=class{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t=""+t;try{let n=new window.DOMParser().parseFromString(Jr(t),"text/html").body;return n===null?this.inertDocumentHelper.getInertBodyElement(t):(n.removeChild(n.firstChild),n)}catch{return null}}},Fi=class{constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){let n=this.inertDocument.createElement("template");return n.innerHTML=Jr(t),n}};function zg(){try{return!!new window.DOMParser().parseFromString(Jr(""),"text/html")}catch{return!1}}var qg=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function xl(e){return e=String(e),e.match(qg)?e:"unsafe:"+e}function Ne(e){let t={};for(let n of e.split(","))t[n]=!0;return t}function wn(...e){let t={};for(let n of e)for(let r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}var Sl=Ne("area,br,col,hr,img,wbr"),Tl=Ne("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Nl=Ne("rp,rt"),Yg=wn(Nl,Tl),Qg=wn(Tl,Ne("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")),Zg=wn(Nl,Ne("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")),Su=wn(Sl,Qg,Zg,Yg),Al=Ne("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Kg=Ne("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"),Jg=Ne("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"),Xg=wn(Al,Kg,Jg),em=Ne("script,style,template"),Ri=class{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let n=t.firstChild,r=!0,o=[];for(;n;){if(n.nodeType===Node.ELEMENT_NODE?r=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,r&&n.firstChild){o.push(n),n=rm(n);continue}for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let i=nm(n);if(i){n=i;break}n=o.pop()}}return this.buf.join("")}startElement(t){let n=Tu(t).toLowerCase();if(!Su.hasOwnProperty(n))return this.sanitizedSomething=!0,!em.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);let r=t.attributes;for(let o=0;o"),!0}endElement(t){let n=Tu(t).toLowerCase();Su.hasOwnProperty(n)&&!Sl.hasOwnProperty(n)&&(this.buf.push(""),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(Nu(t))}};function tm(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function nm(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw Ol(t);return t}function rm(e){let t=e.firstChild;if(t&&tm(e,t))throw Ol(t);return t}function Tu(e){let t=e.nodeName;return typeof t=="string"?t:"FORM"}function Ol(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var om=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,im=/([^\#-~ |!])/g;function Nu(e){return e.replace(/&/g,"&").replace(om,function(t){let n=t.charCodeAt(0),r=t.charCodeAt(1);return""+((n-55296)*1024+(r-56320)+65536)+";"}).replace(im,function(t){return""+t.charCodeAt(0)+";"}).replace(//g,">")}var nr;function Ax(e,t){let n=null;try{nr=nr||Wg(e);let r=t?String(t):"";n=nr.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=nr.getInertBodyElement(r)}while(r!==i);let a=new Ri().sanitizeChildren(Au(n)||n);return Jr(a)}finally{if(n){let r=Au(n)||n;for(;r.firstChild;)r.removeChild(r.firstChild)}}}function Au(e){return"content"in e&&sm(e)?e.content:null}function sm(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var Us=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}(Us||{});function am(e){let t=Fl();return t?t.sanitize(Us.URL,e)||"":Ml(e,"URL")?vn(e):xl(Vr(e))}function um(e){let t=Fl();if(t)return xu(t.sanitize(Us.RESOURCE_URL,e)||"");if(Ml(e,"ResourceURL"))return xu(vn(e));throw new S(904,!1)}function cm(e,t){return t==="src"&&(e==="embed"||e==="frame"||e==="iframe"||e==="media"||e==="script")||t==="href"&&(e==="base"||e==="link")?um:am}function Ox(e,t,n){return cm(t,n)(e)}function Fl(){let e=I();return e&&e[fe].sanitizer}var lm=/^>|^->||--!>|)/g,fm="\u200B$1\u200B";function pm(e){return e.replace(lm,t=>t.replace(dm,fm))}function hm(e){return e.ownerDocument.body}function Rl(e){return e instanceof Function?e():e}function Zt(e){return(e??C(ct)).get(Qr)==="browser"}var br=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(br||{}),gm;function Gs(e,t){return gm(e,t)}function xt(e,t,n,r,o){if(r!=null){let i,s=!1;Ie(r)?i=r:Me(r)&&(s=!0,r=r[K]);let a=pe(r);e===0&&n!==null?o==null?jl(t,n,a):_r(t,n,a,o||null,!0):e===1&&n!==null?_r(t,n,a,o||null,!0):e===2?Ys(t,a,s):e===3&&t.destroyNode(a),i!=null&&Nm(t,e,i,n,o)}}function Ws(e,t){return e.createText(t)}function mm(e,t,n){e.setValue(t,n)}function zs(e,t){return e.createComment(pm(t))}function Xr(e,t,n){return e.createElement(t,n)}function ym(e,t){Pl(e,t),t[K]=null,t[ee]=null}function Dm(e,t,n,r,o,i){r[K]=o,r[ee]=t,no(e,r,n,1,o,i)}function Pl(e,t){t[fe].changeDetectionScheduler?.notify(1),no(e,t,t[A],2,null,null)}function vm(e){let t=e[on];if(!t)return Ko(e[w],e);for(;t;){let n=null;if(Me(t))n=t[on];else{let r=t[V];r&&(n=r)}if(!n){for(;t&&!t[de]&&t!==e;)Me(t)&&Ko(t[w],t),t=t[j];t===null&&(t=e),Me(t)&&Ko(t[w],t),n=t&&t[de]}t=n}}function wm(e,t,n,r){let o=V+r,i=n.length;r>0&&(n[o-1][de]=t),r0&&(e[n-1][de]=r[de]);let i=gr(e,V+t);ym(r[w],r);let s=i[xe];s!==null&&s.detachView(i[w]),r[j]=null,r[de]=null,r[y]&=-129}return r}function eo(e,t){if(!(t[y]&256)){let n=t[A];n.destroyNode&&no(e,t,n,3,null,null),vm(t)}}function Ko(e,t){if(t[y]&256)return;let n=b(null);try{t[y]&=-129,t[y]|=256,t[tt]&&Co(t[tt]),Cm(e,t),Em(e,t),t[w].type===1&&t[A].destroy();let r=t[gn];if(r!==null&&Ie(t[j])){r!==t[j]&&kl(r,t);let o=t[xe];o!==null&&o.detachView(e)}Eg(t)}finally{b(n)}}function Em(e,t){let n=e.cleanup,r=t[rn];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[rn]=null);let o=t[Re];if(o!==null){t[Re]=null;for(let i=0;i-1){let{encapsulation:i}=e.data[r.directiveStart+o];if(i===en.None||i===en.Emulated)return null}return te(r,n)}}function _r(e,t,n,r,o){e.insertBefore(t,n,r,o)}function jl(e,t,n){e.appendChild(t,n)}function Ou(e,t,n,r,o){r!==null?_r(e,t,n,r,o):jl(e,t,n)}function _m(e,t,n,r){e.removeChild(t,n,r)}function qs(e,t){return e.parentNode(t)}function Mm(e,t){return e.nextSibling(t)}function Vl(e,t,n){return Sm(e,t,n)}function xm(e,t,n){return e.type&40?te(e,n):null}var Sm=xm,Fu;function to(e,t,n,r){let o=Ll(e,r,t),i=t[A],s=r.parent||t[ee],a=Vl(s,r,t);if(o!=null)if(Array.isArray(n))for(let u=0;uk&&Wl(e,t,k,!1),ve(s?2:0,o),n(r,o)}finally{nt(i),ve(s?3:1,o)}}function Zs(e,t,n){if(Ss(t)){let r=b(null);try{let o=t.directiveStart,i=t.directiveEnd;for(let s=o;snull;function jm(e){pl(e)?$l(e):Vg(e)}function Vm(){Zl=jm}function Bm(e,t,n,r){let o=td(t);o.push(n),e.firstCreatePass&&nd(e).push(r,o.length-1)}function $m(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 Ru(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=Pe.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?Pu(r,n,c,a,u):Pu(r,n,c,a)}return r}function Pu(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 Hm(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 qm(e,t,n,r){let o=n.directiveStart,i=n.directiveEnd;mn(n)&&ey(t,n,e.data[o+n.componentOffset]),e.firstCreatePass||Ir(n,t),Be(r,t);let s=n.initialInputs;for(let a=o;a{an(e.lView)},consumerOnSignalRead(){this.lView[tt]=this}}),ad=100;function ud(e,t=!0,n=0){let r=e[fe],o=r.rendererFactory,i=!1;i||o.begin?.();try{hy(e,n)}catch(s){throw t&&rd(e,s),s}finally{i||(o.end?.(),r.inlineEffectRunner?.flush())}}function hy(e,t){ji(e,t);let n=0;for(;Os(e);){if(n===ad)throw new S(103,!1);n++,ji(e,1)}}function gy(e,t,n,r){let o=t[y];if((o&256)===256)return;let i=!1;!i&&t[fe].inlineEffectRunner?.flush(),ks(t);let s=null,a=null;!i&&my(e)&&(a=ly(t),s=Io(a));try{$c(t),Hh(e.bindingStartIndex),n!==null&&Yl(e,t,n,2,r);let u=(o&3)===3;if(!i)if(u){let d=e.preOrderCheckHooks;d!==null&&ur(t,d,null)}else{let d=e.preOrderHooks;d!==null&&cr(t,d,0,null),zo(t,0)}if(yy(t),cd(t,0),e.contentQueries!==null&&ed(e,t),!i)if(u){let d=e.contentCheckHooks;d!==null&&ur(t,d)}else{let d=e.contentHooks;d!==null&&cr(t,d,1),zo(t,1)}Fm(e,t);let c=e.components;c!==null&&dd(t,c,0);let l=e.viewQuery;if(l!==null&&Li(2,l,r),!i)if(u){let d=e.viewCheckHooks;d!==null&&ur(t,d)}else{let d=e.viewHooks;d!==null&&cr(t,d,2),zo(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[ar]){for(let d of t[ar])d();t[ar]=null}i||(t[y]&=-73)}catch(u){throw an(t),u}finally{a!==null&&(Eo(a,s),fy(a)),Ls()}}function my(e){return e.type!==2}function cd(e,t){for(let n=gl(e);n!==null;n=ml(n))for(let r=V;r-1&&(cn(t,r),gr(n,r))}this._attachedToViewContainer=!1}eo(this._lView[w],this._lView)}onDestroy(t){Hc(this._lView,t)}markForCheck(){ra(this._cdRefInjectingView||this._lView)}detach(){this._lView[y]&=-129}reattach(){mi(this._lView),this._lView[y]|=128}detectChanges(){this._lView[y]|=1024,ud(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new S(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,Pl(this._lView[w],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new S(902,!1);this._appRef=t,mi(this._lView)}},kt=(()=>{let t=class t{};t.__NG_ELEMENT_ID__=Iy;let e=t;return e})(),vy=kt,wy=class extends vy{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=so(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:n,dehydratedView:r});return new it(o)}};function Iy(){return uo(H(),I())}function uo(e,t){return e.type&4?new wy(t,e,$t(e,t)):null}function fd(e){let t=e[sn]??[],r=e[j][A];for(let o of t)Ey(o,r);e[sn]=W}function Ey(e,t){let n=0,r=e.firstChild;if(r){let o=e.data[Cr];for(;n0&&(i.firstChild=e,e=lo(r[Cr],e)),n.push(i)}return[e,n]}var hd=()=>null;function Oy(e,t){let n=e[sn];return!t||n===null||n.length===0?null:n[0].data[Ng]===t?n.shift():(fd(e),null)}function Fy(){hd=Oy}function dn(e,t){return hd(e,t)}var Sr=class{},Vi=class{},Tr=class{};function Ry(e){let t=Error(`No component factory found for ${z(e)}.`);return t[Py]=e,t}var Py="ngComponent";var Bi=class{resolveComponentFactory(t){throw Ry(t)}},fo=(()=>{let t=class t{};t.NULL=new Bi;let e=t;return e})(),$i=class{},oa=(()=>{let t=class t{constructor(){this.destroyNode=null}};t.__NG_ELEMENT_ID__=()=>ky();let e=t;return e})();function ky(){let e=I(),t=H(),n=He(t.index,e);return(Me(n)?n:e)[A]}var Ly=(()=>{let t=class t{};t.\u0275prov=R({token:t,providedIn:"root",factory:()=>null});let e=t;return e})(),Xo={};var ku=new Set;function dt(e){ku.has(e)||(ku.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}function Lu(...e){}function jy(){let e=typeof Fe.requestAnimationFrame=="function",t=Fe[e?"requestAnimationFrame":"setTimeout"],n=Fe[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 oe=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 Je(!1),this.onMicrotaskEmpty=new Je(!1),this.onStable=new Je(!1),this.onError=new Je(!1),typeof Zone>"u")throw new S(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=jy().nativeRequestAnimationFrame,$y(o)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get("isAngularZone")===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new S(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new S(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,Vy,Lu,Lu);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)}},Vy={};function ia(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 By(e){e.isCheckStableRunning||e.lastRequestAnimationFrameId!==-1||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(Fe,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,Hi(e),e.isCheckStableRunning=!0,ia(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),Hi(e))}function $y(e){let t=()=>{By(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,o,i,s,a)=>{if(Hy(a))return n.invokeTask(o,i,s,a);try{return ju(e),n.invokeTask(o,i,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&i.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),Vu(e)}},onInvoke:(n,r,o,i,s,a,u)=>{try{return ju(e),n.invoke(o,i,s,a,u)}finally{e.shouldCoalesceRunChangeDetection&&t(),Vu(e)}},onHasTask:(n,r,o,i)=>{n.hasTask(o,i),r===o&&(i.change=="microTask"?(e._hasPendingMicrotasks=i.microTask,Hi(e),ia(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 Hi(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.lastRequestAnimationFrameId!==-1?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function ju(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Vu(e){e._nesting--,ia(e)}function Hy(e){return!Array.isArray(e)||e.length!==1?!1:e[0].data?.__ignore_ng_zone__===!0}var St=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(St||{}),Uy={destroy(){}};function Gy(e,t){!t&&Nc(Gy);let n=t?.injector??C(ct);if(!Zt(n))return Uy;dt("NgAfterNextRender");let r=n.get(sa),o=r.handler??=new Gi,i=t?.phase??St.MixedReadWrite,s=()=>{o.unregister(u),a()},a=n.get(qr).onDestroy(s),u=Ih(n,()=>new Ui(i,()=>{s(),e()}));return o.register(u),{destroy:s}}var Ui=class{constructor(t,n){this.phase=t,this.callbackFn=n,this.zone=C(oe),this.errorHandler=C(Ve,{optional:!0}),C(Sr,{optional:!0})?.notify(1)}invoke(){try{this.zone.runOutsideAngular(this.callbackFn)}catch(t){this.errorHandler?.handleError(t)}}},Gi=class{constructor(){this.executingCallbacks=!1,this.buckets={[St.EarlyRead]:new Set,[St.Write]:new Set,[St.MixedReadWrite]:new Set,[St.Read]:new Set},this.deferredCallbacks=new Set}register(t){(this.executingCallbacks?this.deferredCallbacks:this.buckets[t.phase]).add(t)}unregister(t){this.buckets[t.phase].delete(t),this.deferredCallbacks.delete(t)}execute(){this.executingCallbacks=!0;for(let t of Object.values(this.buckets))for(let n of t)n.invoke();this.executingCallbacks=!1;for(let t of this.deferredCallbacks)this.buckets[t.phase].add(t);this.deferredCallbacks.clear()}destroy(){for(let t of Object.values(this.buckets))t.clear();this.deferredCallbacks.clear()}},sa=(()=>{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=R({token:t,providedIn:"root",factory:()=>new t});let e=t;return e})();function Nr(e,t,n){let r=n?e.styles:null,o=n?e.classes:null,i=0;if(t!==null)for(let s=0;s0&&Ul(e,n,i.join(" "))}}function Ky(e,t,n){let r=e.projection=[];for(let o=0;o{let t=class t{};t.__NG_ELEMENT_ID__=Xy;let e=t;return e})();function Xy(){let e=H();return md(e,I())}var eD=Ut,gd=class extends eD{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return $t(this._hostTNode,this._hostLView)}get injector(){return new Xe(this._hostTNode,this._hostLView)}get parentInjector(){let t=js(this._hostTNode,this._hostLView);if(tl(t)){let n=vr(t,this._hostLView),r=Dr(t),o=n[w].data[r+8];return new Xe(o,n)}else return new Xe(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=$u(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-V}createEmbeddedView(t,n,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=dn(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,ln(this._hostTNode,s)),a}createComponent(t,n,r,o,i){let s=t&&!Eh(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 Lt(ke(t)),c=r||this.parentInjector;if(!i&&u.ngModule==null){let m=(s?c:this.parentInjector).get(Le,null);m&&(i=m)}let l=ke(u.componentType??{}),d=dn(this._lContainer,l?.id??null),p=d?.firstChild??null,f=u.create(c,o,p,i);return this.insertImpl(f.hostView,a,ln(this._hostTNode,d)),f}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){let o=t._lView;if(Nh(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let u=o[j],c=new gd(u,u[ee],u[j]);c.detach(c.indexOf(t))}}let i=this._adjustIndex(n),s=this._lContainer;return ao(s,o,i,r),t.attachToViewContainerRef(),cc(ei(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=$u(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=cn(this._lContainer,n);r&&(gr(ei(this._lContainer),n),eo(r[w],r))}detach(t){let n=this._adjustIndex(t,-1),r=cn(this._lContainer,n);return r&&gr(ei(this._lContainer),n)!=null?new it(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function $u(e){return e[yr]}function ei(e){return e[yr]||(e[yr]=[])}function md(e,t){let n,r=t[e.index];return Ie(r)?n=r:(n=Xl(r,t,null,e),t[e.index]=n,io(t,n)),yd(n,t,e,r),new gd(n,e,t)}function tD(e,t){let n=e[A],r=n.createComment(""),o=te(t,e),i=qs(n,o);return _r(n,i,r,Mm(n,o),!1),r}var yd=Dd,aa=()=>!1;function nD(e,t,n){return aa(e,t,n)}function Dd(e,t,n,r){if(e[Se])return;let o;n.type&8?o=pe(r):o=tD(t,n),e[Se]=o}function rD(e,t,n){if(e[Se]&&e[sn])return!0;let r=n[J],o=t.index-k;if(!r||Dg(t)||Kr(r,o))return!1;let s=Mi(r,o),a=r.data[Bs]?.[o],[u,c]=Ay(s,a);return e[Se]=u,e[sn]=c,!0}function oD(e,t,n,r){aa(e,n,t)||Dd(e,t,n,r)}function iD(){yd=oD,aa=rD}var qi=class e{constructor(t){this.queryList=t,this.matches=null}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty()}},Yi=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=V;dt.trim())}function Id(e,t,n){e.queries===null&&(e.queries=new Qi),e.queries.track(new Zi(t,n))}function hD(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 ua(e,t){return e.queries.getByIndex(t)}function gD(e,t){let n=e[w],r=ua(n,t);return r.crossesNgTemplate?Ki(n,e,t,[]):vd(n,e,r,t)}function mD(e){return typeof e=="function"&&e[_n]!==void 0}function Ed(e){return mD(e)&&typeof e.set=="function"}function yD(e){return Object.getPrototypeOf(e.prototype).constructor}function DD(e){let t=yD(e.type),n=!0,r=[e];for(;t;){let o;if(je(e))o=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new S(903,!1);o=t.\u0275dir}if(o){if(n){r.push(o);let s=e;s.inputs=rr(e.inputs),s.inputTransforms=rr(e.inputTransforms),s.declaredInputs=rr(e.declaredInputs),s.outputs=rr(e.outputs);let a=o.hostBindings;a&&CD(e,a);let u=o.viewQuery,c=o.contentQueries;if(u&&ID(e,u),c&&ED(e,c),vD(e,o),Ip(e.outputs,o.outputs),je(o)&&o.data.animation){let l=e.data;l.animation=(l.animation||[]).concat(o.data.animation)}}let i=o.features;if(i)for(let s=0;s=0;r--){let o=e[r];o.hostVars=t+=o.hostVars,o.hostAttrs=tn(o.hostAttrs,n=tn(n,o.hostAttrs))}}function rr(e){return e===At?{}:e===W?[]:e}function ID(e,t){let n=e.viewQuery;n?e.viewQuery=(r,o)=>{t(r,o),n(r,o)}:e.viewQuery=t}function ED(e,t){let n=e.contentQueries;n?e.contentQueries=(r,o,i)=>{t(r,o,i),n(r,o,i)}:e.contentQueries=t}function CD(e,t){let n=e.hostBindings;n?e.hostBindings=(r,o)=>{t(r,o),n(r,o)}:e.hostBindings=t}function bD(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 $e=class{},Ji=class{};var Xi=class extends $e{constructor(t,n,r){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Ar(this);let o=wc(t);this._bootstrapComponents=Rl(o.bootstrap),this._r3Injector=ll(t,n,[{provide:$e,useValue:this},{provide:fo,useValue:this.componentFactoryResolver},...r],z(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)}},es=class extends Ji{constructor(t){super(),this.moduleType=t}create(t){return new Xi(this.moduleType,t,[])}};var Fr=class extends $e{constructor(t){super(),this.componentFactoryResolver=new Ar(this),this.instance=null;let n=new nn([...t.providers,{provide:$e,useValue:this},{provide:fo,useValue:this.componentFactoryResolver}],t.parent||Ms(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function _D(e,t,n=null){return new Fr({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var ca=(()=>{let t=class t{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new Gt(!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=R({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function Cd(e){return xD(e)?Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e:!1}function MD(e,t){if(Array.isArray(e))for(let n=0;n>17&32767}function RD(e){return(e&2)==2}function PD(e,t){return e&131071|t<<17}function ns(e){return e|2}function jt(e){return(e&131068)>>2}function ti(e,t){return e&-131069|t<<2}function kD(e){return(e&1)===1}function rs(e){return e|1}function LD(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=st(s),u=jt(s);e[r]=n;let c=!1,l;if(Array.isArray(n)){let d=n;l=d[1],(l===null||hn(d,l)>0)&&(c=!0)}else l=n;if(o)if(u!==0){let p=st(e[a+1]);e[r+1]=or(p,a),p!==0&&(e[p+1]=ti(e[p+1],r)),e[a+1]=PD(e[a+1],r)}else e[r+1]=or(a,0),a!==0&&(e[a+1]=ti(e[a+1],r)),a=r;else e[r+1]=or(u,0),a===0?a=r:e[u+1]=ti(e[u+1],r),u=r;c&&(e[r+1]=ns(e[r+1])),Hu(e,l,r,!0),Hu(e,l,r,!1),jD(t,l,e,r,i),s=or(a,u),i?t.classBindings=s:t.styleBindings=s}function jD(e,t,n,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof t=="string"&&hn(i,t)>=0&&(n[r+1]=rs(n[r+1]))}function Hu(e,t,n,r){let o=e[n+1],i=t===null,s=r?st(o):jt(o),a=!1;for(;s!==0&&(a===!1||i);){let u=e[s],c=e[s+1];VD(u,t)&&(a=!0,e[s+1]=r?rs(c):ns(c)),s=r?st(c):jt(c)}a&&(e[n+1]=r?ns(o):rs(o))}function VD(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?hn(e,t)>=0:!1}var le={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function BD(e){return e.substring(le.key,le.keyEnd)}function $D(e){return HD(e),xd(e,Sd(e,0,le.textEnd))}function xd(e,t){let n=le.textEnd;return n===t?-1:(t=le.keyEnd=UD(e,le.key=t,n),Sd(e,t,n))}function HD(e){le.key=0,le.keyEnd=0,le.value=0,le.valueEnd=0,le.textEnd=e.length}function Sd(e,t,n){for(;t32;)t++;return t}function GD(e,t,n){let r=I(),o=ut();if(X(r,o,t)){let i=P(),s=Dn();oo(i,s,r,e,t,r[A],n,!1)}return GD}function os(e,t,n,r,o){let i=t.inputs,s=o?"class":"style";ta(e,n,i[s],s,r)}function Td(e,t,n){return Ad(e,t,n,!1),Td}function WD(e,t){return Ad(e,t,null,!0),WD}function Lx(e){Od(KD,Nd,e,!0)}function Nd(e,t){for(let n=$D(t);n>=0;n=xd(t,n))$r(e,BD(t),!0)}function Ad(e,t,n,r){let o=I(),i=P(),s=Wc(2);if(i.firstUpdatePass&&Rd(i,e,s,r),t!==he&&X(o,s,t)){let a=i.data[Ue()];Pd(i,a,o,o[A],e,o[s+1]=XD(t,n),r,s)}}function Od(e,t,n,r){let o=P(),i=Wc(2);o.firstUpdatePass&&Rd(o,null,i,r);let s=I();if(n!==he&&X(s,i,n)){let a=o.data[Ue()];if(kd(a,r)&&!Fd(o,i)){let u=r?a.classesWithoutHost:a.stylesWithoutHost;u!==null&&(n=ai(u,n||"")),os(o,a,s,n,r)}else JD(o,a,s,s[A],s[i+1],s[i+1]=ZD(e,t,n),r,i)}}function Fd(e,t){return t>=e.expandoStartIndex}function Rd(e,t,n,r){let o=e.data;if(o[n+1]===null){let i=o[Ue()],s=Fd(e,n);kd(i,r)&&t===null&&!s&&(t=!1),t=zD(o,i,t,r),LD(o,i,t,n,s,r)}}function zD(e,t,n,r){let o=zh(e),i=r?t.residualClasses:t.residualStyles;if(o===null)(r?t.classBindings:t.styleBindings)===0&&(n=ni(null,e,t,n,r),n=fn(n,t.attrs,r),i=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==o)if(n=ni(o,e,t,n,r),i===null){let u=qD(e,t,r);u!==void 0&&Array.isArray(u)&&(u=ni(null,e,t,u[1],r),u=fn(u,t.attrs,r),YD(e,t,r,u))}else i=QD(e,t,r)}return i!==void 0&&(r?t.residualClasses=i:t.residualStyles=i),n}function qD(e,t,n){let r=n?t.classBindings:t.styleBindings;if(jt(r)!==0)return e[st(r)]}function YD(e,t,n,r){let o=n?t.classBindings:t.styleBindings;e[st(o)]=r}function QD(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===he&&(p=d?W:void 0);let f=d?Go(p,r):l===r?p:void 0;if(c&&!Rr(f)&&(f=Go(u,r)),Rr(f)&&(a=f,s))return a;let h=e[o+1];o=s?st(h):jt(h)}if(t!==null){let u=i?t.residualClasses:t.residualStyles;u!=null&&(a=Go(u,r))}return a}function Rr(e){return e!==void 0}function XD(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=z(vn(e)))),e}function kd(e,t){return(e.flags&(t?8:16))!==0}function jx(e,t,n){let r=I(),o=la(r,e,t,n);Od($r,Nd,o,!0)}var is=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 ri(e,t,n,r,o){return e===n&&Object.is(t,r)?1:Object.is(o(e,t),o(n,r))?-1:0}function ev(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=ri(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=ri(s,d,a,p,n);if(f!==0){f<0&&e.updateValue(s,p),s--,a--;continue}let h=n(i,u),m=n(s,d),N=n(i,c);if(Object.is(N,m)){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 Pr,o??=Wu(e,i,s,n),ss(e,r,i,N))e.updateValue(i,c),i++,s++;else if(o.has(N))r.set(h,e.detach(i)),s--;else{let x=e.create(i,t[i]);e.attach(i,x),i++,s++}}for(;i<=a;)Gu(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=ri(i,c,i,l,n);if(d!==0)d<0&&e.updateValue(i,l),i++,u=a.next();else{r??=new Pr,o??=Wu(e,i,s,n);let p=n(i,l);if(ss(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;)Gu(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 ss(e,t,n,r){return t!==void 0&&t.has(r)?(e.attach(n,t.get(r)),t.delete(r),!0):!1}function Gu(e,t,n,r,o){if(ss(e,t,r,n(r,o)))e.updateValue(r,o);else{let i=e.create(r,o);e.attach(r,i)}}function Wu(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 Pr=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 Vx(e,t,n){dt("NgControlFlow");let r=I(),o=ut(),i=ls(r,k+e),s=0;if(X(r,o,t)){let a=b(null);try{if(id(i,s),t!==-1){let u=ds(r[w],k+t),c=dn(i,u.tView.ssrId),l=so(r,u,n,{dehydratedView:c});ao(i,l,s,ln(u,c))}}finally{b(a)}}else{let a=od(i,s);a!==void 0&&(a[B]=n)}}var as=class{constructor(t,n,r){this.lContainer=t,this.$implicit=n,this.$index=r}get $count(){return this.lContainer.length-V}};function Bx(e,t){return t}var us=class{constructor(t,n,r){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=r}};function $x(e,t,n,r,o,i,s,a,u,c,l,d,p){dt("NgControlFlow");let f=u!==void 0,h=I(),m=a?s.bind(h[Z][B]):s,N=new us(f,m);h[k+e]=N,ts(e+1,t,n,r,o,i),f&&ts(e+2,u,c,l,d,p)}var cs=class extends is{constructor(t,n,r){super(),this.lContainer=t,this.hostLView=n,this.templateTNode=r,this.needsIndexUpdate=!1}get length(){return this.lContainer.length-V}at(t){return this.getLView(t)[B].$implicit}attach(t,n){let r=n[J];this.needsIndexUpdate||=t!==this.length,ao(this.lContainer,n,t,ln(this.templateTNode,r))}detach(t){return this.needsIndexUpdate||=t!==this.length-1,tv(this.lContainer,t)}create(t,n){let r=dn(this.lContainer,this.templateTNode.tView.ssrId);return so(this.hostLView,this.templateTNode,new as(this.lContainer,n,t),{dehydratedView:r})}destroy(t){eo(t[w],t)}updateValue(t,n){this.getLView(t)[B].$implicit=n}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t(Ee(!0),Xr(r,o,Jc()));function iv(e,t,n,r,o,i){let s=t[J],a=!s||Bt()||In(n)||Kr(s,i);if(Ee(a),a)return Xr(r,o,Jc());let u=co(s,e,t,n);return Cl(s,i)&&Zr(s,i,u.nextSibling),s&&(fl(n)||pl(u))&&mn(n)&&(jh(n),$l(u)),u}function sv(){Vd=iv}function av(e,t,n,r,o){let i=t.consts,s=Pt(i,r),a=Ht(t,e,8,"ng-container",s);s!==null&&Nr(a,s,!0);let u=Pt(i,o);return ea(t,n,a,u),t.queries!==null&&t.queries.elementStart(t,a),a}function Bd(e,t,n){let r=I(),o=P(),i=e+k,s=o.firstCreatePass?av(i,o,r,t,n):o.data[i];at(s,!0);let a=Hd(o,r,s,e);return r[i]=a,Wr()&&to(o,r,a,s),Be(a,r),Gr(s)&&(Ks(o,r,s),Zs(o,s,r)),n!=null&&Js(r,s),Bd}function $d(){let e=H(),t=P();return Fs()?Rs():(e=e.parent,at(e,!1)),t.firstCreatePass&&(zr(t,e),Ss(e)&&t.queries.elementEnd(e)),$d}function uv(e,t,n){return Bd(e,t,n),$d(),uv}var Hd=(e,t,n,r)=>(Ee(!0),zs(t[A],""));function cv(e,t,n,r){let o,i=t[J],s=!i||Bt()||In(n);if(Ee(s),s)return zs(t[A],"");let a=co(i,e,t,n),u=Bg(i,r);return Zr(i,r,a),o=lo(u,a),o}function lv(){Hd=cv}function Ux(){return I()}function dv(e,t,n){let r=I(),o=ut();if(X(r,o,t)){let i=P(),s=Dn();oo(i,s,r,e,t,r[A],n,!0)}return dv}var kr="en-US";var fv=kr;function pv(e){typeof e=="string"&&(fv=e.toLowerCase().replace(/_/g,"-"))}function Ud(e,t,n){let r=e[A];switch(n){case Node.COMMENT_NODE:return zs(r,t);case Node.TEXT_NODE:return Ws(r,t);case Node.ELEMENT_NODE:return Xr(r,t,null)}}var hv=(e,t,n,r)=>(Ee(!0),Ud(e,n,r));function gv(e,t,n,r){return Ee(!0),Ud(e,n,r)}function mv(){hv=gv}function yv(e,t,n,r){let o=I(),i=P(),s=H();return Gd(i,o,o[A],s,e,t,r),yv}function Dv(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 Gd(e,t,n,r,o,i,s){let a=Gr(r),c=e.firstCreatePass&&nd(e),l=t[B],d=td(t),p=!0;if(r.type&3||s){let m=te(r,t),N=s?s(m):m,x=d.length,ne=s?be=>s(pe(be[r.index])):r.index,q=null;if(!s&&a&&(q=Dv(e,t,o,r.index)),q!==null){let be=q.__ngLastListenerFn__||q;be.__ngNextListenerFn__=i,q.__ngLastListenerFn__=i,p=!1}else{i=qu(r,t,l,i,!1);let be=n.listen(N,o,i);d.push(i,be),c&&c.push(o,ne,x,x+1)}}else i=qu(r,t,l,i,!1);let f=r.outputs,h;if(p&&f!==null&&(h=f[o])){let m=h.length;if(m)for(let N=0;N-1?He(e.index,t):t;ra(a);let u=zu(t,n,r,s),c=i.__ngNextListenerFn__;for(;c;)u=zu(t,n,c,s)&&u,c=c.__ngNextListenerFn__;return o&&u===!1&&s.preventDefault(),u}}function Gx(e=1){return Yh(e)}function vv(e,t){let n=null,r=Xp(e);for(let o=0;o=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}function Kx(e){let t=$h();return Bc(t,k+e)}function Jx(e,t=""){let n=I(),r=P(),o=e+k,i=r.firstCreatePass?Ht(r,o,1,t,null):r.data[o],s=zd(r,n,i,t,e);n[o]=s,Wr()&&to(r,n,s,i),at(i,!1)}var zd=(e,t,n,r,o)=>(Ee(!0),Ws(t[A],r));function Ev(e,t,n,r,o){let i=t[J],s=!i||Bt()||In(n)||Kr(i,o);return Ee(s),s?Ws(t[A],r):co(i,e,t,n)}function Cv(){zd=Ev}function bv(e){return qd("",e,""),bv}function qd(e,t,n){let r=I(),o=la(r,e,t,n);return o!==he&&iy(r,Ue(),o),qd}function _v(e,t,n){Ed(t)&&(t=t());let r=I(),o=ut();if(X(r,o,t)){let i=P(),s=Dn();oo(i,s,r,e,t,r[A],n,!1)}return _v}function Xx(e,t){let n=Ed(e);return n&&e.set(t),n}function Mv(e,t){let n=I(),r=P(),o=H();return Gd(r,n,n[A],o,e,t),Mv}function xv(e,t,n){let r=P();if(r.firstCreatePass){let o=je(e);fs(n,r.data,r.blueprint,o,!0),fs(t,r.data,r.blueprint,o,!1)}}function fs(e,t,n,r,o){if(e=G(e),Array.isArray(e))for(let i=0;i>20;if(Ot(e)||!e.multi){let f=new rt(c,o,ge),h=ii(u,t,o?l:l+p,d);h===-1?(vi(Ir(a,s),i,u),oi(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=ii(u,t,l+p,d),h=ii(u,t,l,l+p),m=f>=0&&n[f],N=h>=0&&n[h];if(o&&!N||!o&&!m){vi(Ir(a,s),i,u);let x=Nv(o?Tv:Sv,n.length,o,r,c);!o&&N&&(n[h].providerFactory=x),oi(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=Yd(n[o?h:f],c,!o&&r);oi(i,e,f>-1?f:h,x)}!o&&r&&N&&n[h].componentProviders++}}}function oi(e,t,n,r){let o=Ot(t),i=hh(t);if(o||i){let u=(i?G(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 Yd(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function ii(e,t,n,r){for(let o=n;o{n.providersResolver=(r,o)=>xv(r,o?o(e):e,t)}}var Av=(()=>{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=bc(!1,r.type),i=o.length>0?_D([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=R({token:t,providedIn:"environment",factory:()=>new t($(Le))});let e=t;return e})();function tS(e){dt("NgStandalone"),e.getStandaloneInjector=t=>t.get(Av).getOrCreateStandaloneInjector(e)}function nS(e,t,n){let r=yn()+e,o=I();return o[r]===he?po(o,r,n?t.call(n):t()):SD(o,r)}function rS(e,t,n,r){return Qd(I(),yn(),e,t,n,r)}function oS(e,t,n,r,o){return Ov(I(),yn(),e,t,n,r,o)}function iS(e,t,n,r,o,i){return Fv(I(),yn(),e,t,n,r,o,i)}function da(e,t){let n=e[t];return n===he?void 0:n}function Qd(e,t,n,r,o,i){let s=t+n;return X(e,s,o)?po(e,s+1,i?r.call(i,o):r(o)):da(e,s+1)}function Ov(e,t,n,r,o,i,s){let a=t+n;return bd(e,a,o,i)?po(e,a+2,s?r.call(s,o,i):r(o,i)):da(e,a+2)}function Fv(e,t,n,r,o,i,s,a){let u=t+n;return TD(e,u,o,i,s)?po(e,u+3,a?r.call(a,o,i,s):r(o,i,s)):da(e,u+3)}function sS(e,t){let n=P(),r,o=e+k;n.firstCreatePass?(r=Rv(t,n.pipeRegistry),n.data[o]=r,r.onDestroy&&(n.destroyHooks??=[]).push(o,r.onDestroy)):r=n.data[o];let i=r.factory||(r.factory=et(r.type,!0)),s,a=Q(ge);try{let u=wr(!1),c=i();return wr(u),Iv(n,I(),o,c),c}finally{Q(a)}}function Rv(e,t){if(t)for(let n=t.length-1;n>=0;n--){let r=t[n];if(e===r.name)return r}}function aS(e,t,n){let r=e+k,o=I(),i=Bc(o,r);return Pv(o,r)?Qd(o,yn(),t,i.transform,n,i):i.transform(n)}function Pv(e,t){return e[w].data[t].pure}function uS(e,t){return uo(e,t)}var cS=(()=>{let t=class t{log(r){console.log(r)}warn(r){console.warn(r)}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"platform"});let e=t;return e})();var kv=new F("");function ho(e){return!!e&&typeof e.then=="function"}function fa(e){return!!e&&typeof e.subscribe=="function"}var Lv=new F(""),Zd=(()=>{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(Lv,{optional:!0})??[]}runInitializers(){if(this.initialized)return;let r=[];for(let i of this.appInits){let s=i();if(ho(s))r.push(s);else if(fa(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=R({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),Kd=new F("");function jv(){Oa(()=>{throw new S(600,!1)})}function Vv(e){return e.isBoundToModule}function Bv(e,t,n){try{let r=n();return ho(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}var pa=(()=>{let t=class t{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=C(dl),this.afterRenderEffectManager=C(sa),this.externalTestViews=new Set,this.beforeRender=new re,this.afterTick=new re,this.componentTypes=[],this.components=[],this.isStable=C(ca).hasPendingTasks.pipe(De(r=>!r)),this._injector=C(Le)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(r,o){let i=r instanceof Tr;if(!this._injector.get(Zd).done){let f=!i&&uh(r),h=!1;throw new S(405,h)}let a;i?a=r:a=this._injector.get(fo).resolveComponentFactory(r),this.componentTypes.push(a.componentType);let u=Vv(a)?void 0:this._injector.get($e),c=o||a.selector,l=a.create(ct.NULL,[],c,u),d=l.location.nativeElement,p=l.injector.get(kv,null);return p?.registerApplication(d),l.onDestroy(()=>{this.detachView(l.hostView),si(this.components,l),p?.unregisterApplication(d)}),this._loadComponent(l),l}tick(){this._tick(!0)}_tick(r){if(this._runningTick)throw new S(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===ad)throw new S(103,!1);if(r){let s=o===0;this.beforeRender.next(s);for(let{_lView:a,notifyErrorHandler:u}of this._views)Hv(a,s,u)}if(o++,i.executeInternalCallbacks(),![...this.externalTestViews.keys(),...this._views].some(({_lView:s})=>hs(s))&&(i.execute(),![...this.externalTestViews.keys(),...this._views].some(({_lView:s})=>hs(s))))break}}attachView(r){let o=r;this._views.push(o),o.attachToAppRef(this)}detachView(r){let o=r;si(this._views,o),o.detachFromAppRef()}_loadComponent(r){this.attachView(r.hostView),this.tick(),this.components.push(r);let o=this._injector.get(Kd,[]);[...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),()=>si(this._destroyListeners,r)}destroy(){if(this._destroyed)throw new S(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=R({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function si(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}var ir;function $v(e){ir??=new WeakMap;let t=ir.get(e);if(t)return t;let n=e.isStable.pipe(Bo(r=>r)).toPromise().then(()=>{});return ir.set(e,n),e.onDestroy(()=>ir?.delete(e)),n}function Hv(e,t,n){!t&&!hs(e)||Uv(e,n,t)}function hs(e){return Os(e)}function Uv(e,t,n){let r;n?(r=0,e[y]|=1024):e[y]&64?r=0:r=1,ud(e,t,r)}var gs=class{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}},lS=(()=>{let t=class t{compileModuleSync(r){return new es(r)}compileModuleAsync(r){return Promise.resolve(this.compileModuleSync(r))}compileModuleAndAllComponentsSync(r){let o=this.compileModuleSync(r),i=wc(r),s=Rl(i.declarations).reduce((a,u)=>{let c=ke(u);return c&&a.push(new Lt(c)),a},[]);return new gs(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=R({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();var Gv=(()=>{let t=class t{constructor(){this.zone=C(oe),this.applicationRef=C(pa)}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=R({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function Wv(e){return[{provide:oe,useFactory:e},{provide:Xt,multi:!0,useFactory:()=>{let t=C(Gv,{optional:!0});return()=>t.initialize()}},{provide:Xt,multi:!0,useFactory:()=>{let t=C(Qv);return()=>{t.initialize()}}},{provide:dl,useFactory:zv}]}function zv(){let e=C(oe),t=C(Ve);return n=>e.runOutsideAngular(()=>t.handleError(n))}function qv(e){let t=Wv(()=>new oe(Yv(e)));return Cc([[],t])}function Yv(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var Qv=(()=>{let t=class t{constructor(){this.subscription=new L,this.initialized=!1,this.zone=C(oe),this.pendingTasks=C(ca)}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(()=>{oe.assertNotInAngularZone(),queueMicrotask(()=>{r!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(r),r=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{oe.assertInAngularZone(),r??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function Zv(){return typeof $localize<"u"&&$localize.locale||kr}var ha=new F("",{providedIn:"root",factory:()=>C(ha,M.Optional|M.SkipSelf)||Zv()});var Jd=new F("");var fr=null;function Kv(e=[],t){return ct.create({name:t,providers:[{provide:xc,useValue:"platform"},{provide:Jd,useValue:new Set([()=>fr=null])},...e]})}function Jv(e=[]){if(fr)return fr;let t=Kv(e);return fr=t,jv(),Xv(t),t}function Xv(e){e.get(_g,null)?.forEach(n=>n())}var go=(()=>{let t=class t{};t.__NG_ELEMENT_ID__=ew;let e=t;return e})();function ew(e){return tw(H(),I(),(e&16)===16)}function tw(e,t,n){if(mn(e)&&!n){let r=He(e.index,t);return new it(r,r)}else if(e.type&47){let r=t[Z];return new it(r,t)}return null}var ms=class{constructor(){}supports(t){return Cd(t)}create(t){return new ys(t)}},nw=(e,t)=>t,ys=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||nw}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 Ds(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 Lr),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 Lr),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}},Ds=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}},vs=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}},Lr=class{constructor(){this.map=new Map}put(t){let n=t.trackById,r=this.map.get(n);r||(r=new vs,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 Yu(e,t,n){let r=e.previousIndex;if(r===null)return r;let o=0;return n&&r{let t=class t{constructor(r){this.factories=r}static create(r,o){if(o!=null){let i=o.factories.slice();r=r.concat(i)}return new t(r)}static extend(r){return{provide:t,useFactory:o=>t.create(r,o||Qu()),deps:[[t,new $p,new Bp]]}}find(r){let o=this.factories.find(i=>i.supports(r));if(o!=null)return o;throw new S(901,!1)}};t.\u0275prov=R({token:t,providedIn:"root",factory:Qu});let e=t;return e})();function dS(e){try{let{rootComponent:t,appProviders:n,platformProviders:r}=e,o=Jv(r),i=[qv(),...n||[]],a=new Fr({providers:i,parent:o,debugName:"",runEnvironmentInitializers:!1}).injector,u=a.get(oe);return u.run(()=>{a.resolveInjectorInitializers();let c=a.get(Ve,null),l;u.runOutsideAngular(()=>{l=u.onError.subscribe({next:f=>{c.handleError(f)}})});let d=()=>a.destroy(),p=o.get(Jd);return p.add(d),a.onDestroy(()=>{l.unsubscribe(),p.delete(d)}),Bv(c,u,()=>{let f=a.get(Zd);return f.runInitializers(),f.donePromise.then(()=>{let h=a.get(ha,kr);pv(h||kr);let m=a.get(pa);return t!==void 0&&m.bootstrap(t),m})})})}catch(t){return Promise.reject(t)}}var Zu=!1,rw=!1;function ow(){Zu||(Zu=!0,kg(),sv(),Cv(),lv(),OD(),iD(),Fy(),Vm(),mv())}function iw(e,t){return $v(e)}function fS(){return Cc([{provide:Xn,useFactory:()=>{let e=!0;return Zt()&&(e=!!C(Vs,{optional:!0})?.get(Il,null)),e&&dt("NgHydration"),e}},{provide:Xt,useValue:()=>{rw=!!C($g,{optional:!0}),Zt()&&C(Xn)&&(sw(),ow())},multi:!0},{provide:_l,useFactory:()=>Zt()&&C(Xn)},{provide:Kd,useFactory:()=>{if(Zt()&&C(Xn)){let e=C(pa),t=C(ct);return()=>{iw(e,t).then(()=>{by(e)})}}return()=>{}},multi:!0}])}function sw(){let e=Yr(),t;for(let n of e.body.childNodes)if(n.nodeType===Node.COMMENT_NODE&&n.textContent?.trim()===Rg){t=n;break}if(!t)throw new S(-507,!1)}function aw(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function uw(e,t=NaN){return!isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):t}function ga(e){let t=b(null);try{return e()}finally{b(t)}}var cw=new F("",{providedIn:"root",factory:()=>C(lw)}),lw=(()=>{let t=class t{};t.\u0275prov=R({token:t,providedIn:"root",factory:()=>new ws});let e=t;return e})(),ws=class{constructor(){this.queuedEffectCount=0,this.queues=new Map,this.pendingTasks=C(ca),this.taskId=null}scheduleEffect(t){if(this.enqueue(t),this.taskId===null){let n=this.taskId=this.pendingTasks.add();queueMicrotask(()=>{this.flush(),this.pendingTasks.remove(n),this.taskId=null})}}enqueue(t){let n=t.creationZone;this.queues.has(n)||this.queues.set(n,new Set);let r=this.queues.get(n);r.has(t)||(this.queuedEffectCount++,r.add(t))}flush(){for(;this.queuedEffectCount>0;)for(let[t,n]of this.queues)t===null?this.flushQueue(n):t.run(()=>this.flushQueue(n))}flushQueue(t){for(let n of t)t.delete(n),this.queuedEffectCount--,n.run()}},Is=class{constructor(t,n,r,o,i,s){this.scheduler=t,this.effectFn=n,this.creationZone=r,this.injector=i,this.watcher=Fa(a=>this.runEffect(a),()=>this.schedule(),s),this.unregisterOnDestroy=o?.onDestroy(()=>this.destroy())}runEffect(t){try{this.effectFn(t)}catch(n){this.injector.get(Ve,null,{optional:!0})?.handleError(n)}}run(){this.watcher.run()}schedule(){this.scheduler.scheduleEffect(this)}destroy(){this.watcher.destroy(),this.unregisterOnDestroy?.()}};function dw(e,t){dt("NgSignals"),!t?.injector&&Nc(dw);let n=t?.injector??C(ct),r=t?.manualCleanup!==!0?n.get(qr):null,o=new Is(n.get(cw),e,typeof Zone>"u"?null:Zone.current,r,n,t?.allowSignalWrites??!1),i=n.get(go,null,{optional:!0});return!i||!(i._lView[y]&8)?o.watcher.notify():(i._lView[ar]??=[]).push(o.watcher.notify),o}function pS(e){let t=ke(e);if(!t)return null;let n=new Lt(t);return{get selector(){return n.selector},get type(){return n.componentType},get inputs(){return n.inputs},get outputs(){return n.outputs},get ngContentSelectors(){return n.ngContentSelectors},get isStandalone(){return t.standalone},get isSignal(){return t.signals}}}var af=null;function ma(){return af}function kS(e){af??=e}var ef=class{};var Ca=new F(""),ba=(()=>{let t=class t{historyGo(r){throw new Error("")}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=R({token:t,factory:()=>C(pw),providedIn:"platform"});let e=t;return e})(),LS=new F(""),pw=(()=>{let t=class t extends ba{constructor(){super(),this._doc=C(Ca),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return ma().getBaseHref(this._doc)}onPopState(r){let o=ma().getGlobalEventTarget(this._doc,"window");return o.addEventListener("popstate",r,!1),()=>o.removeEventListener("popstate",r)}onHashChange(r){let o=ma().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=R({token:t,factory:()=>new t,providedIn:"platform"});let e=t;return e})();function _a(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 tf(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 Ae(e){return e&&e[0]!=="?"?"?"+e:e}var mo=(()=>{let t=class t{historyGo(r){throw new Error("")}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=R({token:t,factory:()=>C(hw),providedIn:"root"});let e=t;return e})(),uf=new F(""),hw=(()=>{let t=class t extends mo{constructor(r,o){super(),this._platformLocation=r,this._removeListenerFns=[],this._baseHref=o??this._platformLocation.getBaseHrefFromDOM()??C(Ca).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(r){this._removeListenerFns.push(this._platformLocation.onPopState(r),this._platformLocation.onHashChange(r))}getBaseHref(){return this._baseHref}prepareExternalUrl(r){return _a(this._baseHref,r)}path(r=!1){let o=this._platformLocation.pathname+Ae(this._platformLocation.search),i=this._platformLocation.hash;return i&&r?`${o}${i}`:o}pushState(r,o,i,s){let a=this.prepareExternalUrl(i+Ae(s));this._platformLocation.pushState(r,o,a)}replaceState(r,o,i,s){let a=this.prepareExternalUrl(i+Ae(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)($(ba),$(uf,8))},t.\u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),jS=(()=>{let t=class t extends mo{constructor(r,o){super(),this._platformLocation=r,this._baseHref="",this._removeListenerFns=[],o!=null&&(this._baseHref=o)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(r){this._removeListenerFns.push(this._platformLocation.onPopState(r),this._platformLocation.onHashChange(r))}getBaseHref(){return this._baseHref}path(r=!1){let o=this._platformLocation.hash??"#";return o.length>0?o.substring(1):o}prepareExternalUrl(r){let o=_a(this._baseHref,r);return o.length>0?"#"+o:o}pushState(r,o,i,s){let a=this.prepareExternalUrl(i+Ae(s));a.length==0&&(a=this._platformLocation.pathname),this._platformLocation.pushState(r,o,a)}replaceState(r,o,i,s){let a=this.prepareExternalUrl(i+Ae(s));a.length==0&&(a=this._platformLocation.pathname),this._platformLocation.replaceState(r,o,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(r=0){this._platformLocation.historyGo?.(r)}};t.\u0275fac=function(o){return new(o||t)($(ba),$(uf,8))},t.\u0275prov=R({token:t,factory:t.\u0275fac});let e=t;return e})(),gw=(()=>{let t=class t{constructor(r){this._subject=new Je,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=r;let o=this._locationStrategy.getBaseHref();this._basePath=Dw(tf(nf(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+Ae(o))}normalize(r){return t.stripTrailingSlash(yw(this._basePath,nf(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+Ae(o)),i)}replaceState(r,o="",i=null){this._locationStrategy.replaceState(i,"",r,o),this._notifyUrlChangeListeners(this.prepareExternalUrl(r+Ae(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=Ae,t.joinWithSlash=_a,t.stripTrailingSlash=tf,t.\u0275fac=function(o){return new(o||t)($(mo))},t.\u0275prov=R({token:t,factory:()=>mw(),providedIn:"root"});let e=t;return e})();function mw(){return new gw($(mo))}function yw(e,t){if(!e||!t.startsWith(e))return t;let n=t.substring(e.length);return n===""||["/",";","?","#"].includes(n[0])?n:t}function nf(e){return e.replace(/\/index.html$/,"")}function Dw(e){if(new RegExp("^(https?:)?//").test(e)){let[,n]=e.split(/\/\/[^\/]+/);return n}return e}function VS(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 ya=/\s+/,rf=[],BS=(()=>{let t=class t{constructor(r,o){this._ngEl=r,this._renderer=o,this.initialClasses=rf,this.stateMap=new Map}set klass(r){this.initialClasses=r!=null?r.trim().split(ya):rf}set ngClass(r){this.rawClass=typeof r=="string"?r.trim().split(ya):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(ya).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)(ge(lt),ge(oa))},t.\u0275dir=Hr({type:t,selectors:[["","ngClass",""]],inputs:{klass:[Pe.None,"class","klass"],ngClass:"ngClass"},standalone:!0});let e=t;return e})();var $S=(()=>{let t=class t{constructor(r,o){this._viewContainer=r,this._context=new Da,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){of("ngIfThen",r),this._thenTemplateRef=r,this._thenViewRef=null,this._updateView()}set ngIfElse(r){of("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)(ge(Ut),ge(kt))},t.\u0275dir=Hr({type:t,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0});let e=t;return e})(),Da=class{constructor(){this.$implicit=null,this.ngIf=null}};function of(e,t){if(!!!(!t||t.createEmbeddedView))throw new Error(`${e} must be a TemplateRef, but received '${z(t)}'.`)}var HS=(()=>{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)(ge(Ut))},t.\u0275dir=Hr({type:t,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[Ts]});let e=t;return e})();function vw(e,t){return new S(2100,!1)}var va=class{createSubscription(t,n){return ga(()=>t.subscribe({next:n,error:r=>{throw r}}))}dispose(t){ga(()=>t.unsubscribe())}},wa=class{createSubscription(t,n){return t.then(n,r=>{throw r})}dispose(t){}},ww=new wa,Iw=new va,US=(()=>{let t=class t{constructor(r){this._latestValue=null,this.markForCheckOnValueUpdate=!0,this._subscription=null,this._obj=null,this._strategy=null,this._ref=r}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(r){if(!this._obj){if(r)try{this.markForCheckOnValueUpdate=!1,this._subscribe(r)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return r!==this._obj?(this._dispose(),this.transform(r)):this._latestValue}_subscribe(r){this._obj=r,this._strategy=this._selectStrategy(r),this._subscription=this._strategy.createSubscription(r,o=>this._updateLatestValue(r,o))}_selectStrategy(r){if(ho(r))return ww;if(fa(r))return Iw;throw vw(t,r)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(r,o){r===this._obj&&(this._latestValue=o,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}};t.\u0275fac=function(o){return new(o||t)(ge(go,16))},t.\u0275pipe=yc({name:"async",type:t,pure:!1,standalone:!0});let e=t;return e})();var GS=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275mod=mc({type:t}),t.\u0275inj=nc({});let e=t;return e})(),Ew="browser",Cw="server";function bw(e){return e===Ew}function WS(e){return e===Cw}var zS=(()=>{let t=class t{};t.\u0275prov=R({token:t,providedIn:"root",factory:()=>bw(C(Qr))?new Ia(C(Ca),window):new Ea});let e=t;return e})(),Ia=class{constructor(t,n){this.document=t,this.window=n,this.offset=()=>[0,0]}setOffset(t){Array.isArray(t)?this.offset=()=>t:this.offset=t}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(t){this.window.scrollTo(t[0],t[1])}scrollToAnchor(t){let n=_w(this.document,t);n&&(this.scrollToElement(n),n.focus())}setHistoryScrollRestoration(t){this.window.history.scrollRestoration=t}scrollToElement(t){let n=t.getBoundingClientRect(),r=n.left+this.window.pageXOffset,o=n.top+this.window.pageYOffset,i=this.offset();this.window.scrollTo(r-i[0],o-i[1])}};function _w(e,t){let n=e.getElementById(t)||e.getElementsByName(t)[0];if(n)return n;if(typeof e.createTreeWalker=="function"&&e.body&&typeof e.body.attachShadow=="function"){let r=e.createTreeWalker(e.body,NodeFilter.SHOW_ELEMENT),o=r.currentNode;for(;o;){let i=o.shadowRoot;if(i){let s=i.getElementById(t)||i.querySelector(`[name="${t}"]`);if(s)return s}o=r.nextNode()}}return null}var Ea=class{setOffset(t){}getScrollPosition(){return[0,0]}scrollToPosition(t){}scrollToAnchor(t){}setHistoryScrollRestoration(t){}},sf=class{};var Ce=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}(Ce||{}),QS="*";function ZS(e,t){return{type:Ce.Trigger,name:e,definitions:t,options:{}}}function KS(e,t=null){return{type:Ce.Animate,styles:t,timings:e}}function JS(e,t=null){return{type:Ce.Group,steps:e,options:t}}function XS(e,t=null){return{type:Ce.Sequence,steps:e,options:t}}function eT(e){return{type:Ce.Style,styles:e,offset:null}}function tT(e,t,n){return{type:Ce.State,name:e,styles:t,options:n}}function nT(e,t,n=null){return{type:Ce.Transition,expr:e,animation:t,options:n}}function rT(e=null){return{type:Ce.AnimateChild,options:e}}function oT(e,t,n=null){return{type:Ce.Query,selector:e,animation:t,options:n}}var cf=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}},lf=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}},iT="!";export{ht as a,gt as b,Mw as c,xw as d,Sw as e,Tw as f,mf as g,L as h,xf as i,_ as j,Ro as k,Po as l,re as m,Gt as n,Qe as o,ye as p,Lf as q,jf as r,Vf as s,_e as t,Bf as u,De as v,Yf as w,ue as x,qt as y,Ct as z,Zf as A,Kf as B,Lo as C,Yt as D,op as E,Ke as F,ip as G,su as H,sp as I,ap as J,Qt as K,bt as L,jo as M,up as N,cp as O,fp as P,Bo as Q,$o as R,pp as S,hp as T,Uo as U,gp as V,mp as W,cu as X,yp as Y,Dp as Z,vp as _,lu as $,S as aa,ec as ba,R as ca,nc as da,mx as ea,F as fa,M as ga,$ as ha,C as ia,Bp as ja,$p as ka,en as la,Pe as ma,yx as na,mc as oa,Hr as pa,Cc as qa,xc as ra,Le as sa,Ih as ta,Ts as ua,Dx as va,vx as wa,wx as xa,Ix as ya,Ex as za,lg as Aa,ct as Ba,Ve as Ca,lt as Da,Je as Ea,Ci as Fa,Cx as Ga,Cg as Ha,_g as Ia,Qr as Ja,bx as Ka,_x as La,Vs as Ma,vn as Na,Ml as Oa,Mx as Pa,xx as Qa,Sx as Ra,Tx as Sa,Nx as Ta,xl as Ua,Ax as Va,Us as Wa,am as Xa,Ox as Ya,br as Za,Fx as _a,ge as $a,Rx as ab,kt as bb,Sr as cb,fo as db,$i as eb,oa as fb,dt as gb,oe as hb,Gy as ib,Ut as jb,mD as kb,DD as lb,bD as mb,Ji as nb,_D as ob,ca as pb,ts as qb,FD as rb,GD as sb,Td as tb,WD as ub,Lx as vb,jx as wb,Vx as xb,Bx as yb,$x as zb,Hx as Ab,Ld as Bb,jd as Cb,ov as Db,Bd as Eb,$d as Fb,uv as Gb,Ux as Hb,dv as Ib,yv as Jb,Gx as Kb,Wx as Lb,zx as Mb,wv as Nb,qx as Ob,Yx as Pb,Qx as Qb,Zx as Rb,Kx as Sb,Jx as Tb,bv as Ub,qd as Vb,_v as Wb,Xx as Xb,Mv as Yb,eS as Zb,tS as _b,nS as $b,rS as ac,oS as bc,iS as cc,sS as dc,aS as ec,uS as fc,cS as gc,ho as hc,Lv as ic,Kd as jc,pa as kc,$v as lc,lS as mc,go as nc,Xd as oc,dS as pc,fS as qc,aw as rc,uw as sc,dw as tc,pS as uc,ma as vc,kS as wc,ef as xc,Ca as yc,LS as zc,mo as Ac,uf as Bc,hw as Cc,jS as Dc,gw as Ec,VS as Fc,BS as Gc,$S as Hc,HS as Ic,US as Jc,GS as Kc,Ew as Lc,bw as Mc,WS as Nc,zS as Oc,sf as Pc,Ce as Qc,QS as Rc,ZS as Sc,KS as Tc,JS as Uc,XS as Vc,eT as Wc,tT as Xc,nT as Yc,rT as Zc,oT as _c,cf as $c,lf as ad,iT as bd};
diff --git a/EnvelopeGenerator.API/wwwroot/envelope-creation/index.html b/EnvelopeGenerator.API/wwwroot/envelope-creation/index.html
deleted file mode 100644
index bd0a5ebb..00000000
--- a/EnvelopeGenerator.API/wwwroot/envelope-creation/index.html
+++ /dev/null
@@ -1,16 +0,0 @@
-
-
- signFlow
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/EnvelopeGenerator.API/wwwroot/envelope/index.html b/EnvelopeGenerator.API/wwwroot/envelope/index.html
deleted file mode 100644
index bd0a5ebb..00000000
--- a/EnvelopeGenerator.API/wwwroot/envelope/index.html
+++ /dev/null
@@ -1,16 +0,0 @@
-
-
- signFlow
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/EnvelopeGenerator.API/wwwroot/favicon.ico b/EnvelopeGenerator.API/wwwroot/favicon.ico
deleted file mode 100644
index 60c2c4ab..00000000
Binary files a/EnvelopeGenerator.API/wwwroot/favicon.ico and /dev/null differ
diff --git a/EnvelopeGenerator.API/wwwroot/index.html b/EnvelopeGenerator.API/wwwroot/index.html
deleted file mode 100644
index bd0a5ebb..00000000
--- a/EnvelopeGenerator.API/wwwroot/index.html
+++ /dev/null
@@ -1,16 +0,0 @@
-
-
- signFlow
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/EnvelopeGenerator.API/wwwroot/login/index.html b/EnvelopeGenerator.API/wwwroot/login/index.html
deleted file mode 100644
index d954a116..00000000
--- a/EnvelopeGenerator.API/wwwroot/login/index.html
+++ /dev/null
@@ -1,16 +0,0 @@
-
-
- signFlow
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/EnvelopeGenerator.API/wwwroot/main-7MFQFZI3.js b/EnvelopeGenerator.API/wwwroot/main-7MFQFZI3.js
deleted file mode 100644
index 4bb66d3c..00000000
--- a/EnvelopeGenerator.API/wwwroot/main-7MFQFZI3.js
+++ /dev/null
@@ -1,5 +0,0 @@
-import{$ as vt,$a as d,$b as fi,A as Li,Aa as ve,Ab as Jt,Ac as lo,B as vr,Ba as mi,Bb as h,Bc as Ad,C as _e,Ca as ji,Cb as f,Cc as Od,D as Qc,Da as T,Db as P,Dc as Fd,E as Wt,Ea as z,Eb as Fe,Ec as $i,F as _t,Fa as Ae,Fb as Pe,Fc as Tr,G as ls,Ga as od,Gb as At,Gc as hn,H as si,Ha as oo,Hb as ht,Hc as Pd,I as li,Ia as rd,Ib as ie,Ic as co,J as rn,Ja as Oe,Jb as H,Jc as Nd,K as cs,Ka as Rt,Kb as R,Kc as te,L as wt,La as ro,Lb as mt,Lc as Ld,M as Xc,Ma as yr,Mb as J,Mc as jd,N as Zc,Na as ln,Nb as bd,Nc as uo,O as Xe,Oa as cn,Ob as ct,Oc as Vd,P as ci,Pa as ad,Pb as rt,Pc as Rr,Q as di,Qa as sd,Qb as S,R as ds,Ra as ld,Rb as k,S as Kc,Sa as cd,Sb as Vt,Sc as ne,T as Jc,Ta as dd,Tb as D,Tc as zt,U as td,Ua as ud,Ub as Ct,Uc as ho,V as us,Va as hd,Vb as Yt,W as an,Wa as ce,Wb as _d,Wc as yt,X as Tt,Xa as md,Xb as vd,Xc as Pt,Y as Dt,Ya as fd,Yb as yd,Yc as Bt,Z,Za as ao,Zb as ot,Zc as mo,_ as ed,_a as g,_b as V,_c as fo,a as x,aa as gt,ab as dn,ac as Ne,b as It,ba as jt,bb as bt,bc as Ke,c as Uc,ca as w,cb as pd,cc as xd,d as $c,da as $,db as un,dc as wd,e as Wc,ea as id,eb as xr,ec as Cd,f as Gc,fa as C,fb as Vi,fc as Dr,g as Nt,ga as hs,gb as wr,gc as Er,h as xt,ha as b,hb as O,hc as Sr,i as qc,ia as _,ib as fs,ic as bs,j as Zt,ja as sn,jb as Et,jc as so,k as ss,ka as io,kb as ps,kc as Bi,l as to,la as no,lb as tt,lc as Id,m as N,ma as m,mb as lt,mc as kr,n as $t,na as j,nb as gd,nc as ft,o as be,oa as W,ob as gs,oc as Hi,p as Ft,pa as y,pb as Cr,pc as Dd,q as A,qa as ui,qb as F,qc as Ed,r as Ni,ra as nd,rb as nt,rc as M,s as nn,sa as hi,sb as E,sc as ye,t as Yc,ta as Me,tb as zi,tc as Sd,u as Re,ua as ut,ub as B,uc as kd,v as G,va as Q,vb as qt,vc as Ui,w as on,wa as X,wb as Ir,wc as Td,x as le,xa as Ze,xb as K,xc as Rd,y as eo,ya as ms,yb as de,yc as q,z as _r,za as St,zb as Kt,zc as Md}from"./chunk-VPE7ACHQ.js";var go=class{},bo=class{},Le=class n{constructor(t){this.normalizedNames=new Map,this.lazyUpdate=null,t?typeof t=="string"?this.lazyInit=()=>{this.headers=new Map,t.split(`
-`).forEach(r=>{let e=r.indexOf(":");if(e>0){let i=r.slice(0,e),o=i.toLowerCase(),a=r.slice(e+1).trim();this.maybeSetNormalizedName(i,o),this.headers.has(o)?this.headers.get(o).push(a):this.headers.set(o,[a])}})}:typeof Headers<"u"&&t instanceof Headers?(this.headers=new Map,t.forEach((r,e)=>{this.setHeaderEntries(e,r)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(t).forEach(([r,e])=>{this.setHeaderEntries(r,e)})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();let r=this.headers.get(t.toLowerCase());return r&&r.length>0?r[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,r){return this.clone({name:t,value:r,op:"a"})}set(t,r){return this.clone({name:t,value:r,op:"s"})}delete(t,r){return this.clone({name:t,value:r,op:"d"})}maybeSetNormalizedName(t,r){this.normalizedNames.has(r)||this.normalizedNames.set(r,t)}init(){this.lazyInit&&(this.lazyInit instanceof n?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init(),Array.from(t.headers.keys()).forEach(r=>{this.headers.set(r,t.headers.get(r)),this.normalizedNames.set(r,t.normalizedNames.get(r))})}clone(t){let r=new n;return r.lazyInit=this.lazyInit&&this.lazyInit instanceof n?this.lazyInit:this,r.lazyUpdate=(this.lazyUpdate||[]).concat([t]),r}applyUpdate(t){let r=t.name.toLowerCase();switch(t.op){case"a":case"s":let e=t.value;if(typeof e=="string"&&(e=[e]),e.length===0)return;this.maybeSetNormalizedName(t.name,r);let i=(t.op==="a"?this.headers.get(r):void 0)||[];i.push(...e),this.headers.set(r,i);break;case"d":let o=t.value;if(!o)this.headers.delete(r),this.normalizedNames.delete(r);else{let a=this.headers.get(r);if(!a)return;a=a.filter(s=>o.indexOf(s)===-1),a.length===0?(this.headers.delete(r),this.normalizedNames.delete(r)):this.headers.set(r,a)}break}}setHeaderEntries(t,r){let e=(Array.isArray(r)?r:[r]).map(o=>o.toString()),i=t.toLowerCase();this.headers.set(i,e),this.maybeSetNormalizedName(t,i)}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(r=>t(this.normalizedNames.get(r),this.headers.get(r)))}};var ys=class{encodeKey(t){return zd(t)}encodeValue(t){return zd(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}};function op(n,t){let r=new Map;return n.length>0&&n.replace(/^\?/,"").split("&").forEach(i=>{let o=i.indexOf("="),[a,s]=o==-1?[t.decodeKey(i),""]:[t.decodeKey(i.slice(0,o)),t.decodeValue(i.slice(o+1))],l=r.get(a)||[];l.push(s),r.set(a,l)}),r}var rp=/%(\d[a-f0-9])/gi,ap={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function zd(n){return encodeURIComponent(n).replace(rp,(t,r)=>ap[r]??t)}function Mr(n){return`${n}`}var ue=class n{constructor(t={}){if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new ys,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=op(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(r=>{let e=t.fromObject[r],i=Array.isArray(e)?e.map(Mr):[Mr(e)];this.map.set(r,i)})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();let r=this.map.get(t);return r?r[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,r){return this.clone({param:t,value:r,op:"a"})}appendAll(t){let r=[];return Object.keys(t).forEach(e=>{let i=t[e];Array.isArray(i)?i.forEach(o=>{r.push({param:e,value:o,op:"a"})}):r.push({param:e,value:i,op:"a"})}),this.clone(r)}set(t,r){return this.clone({param:t,value:r,op:"s"})}delete(t,r){return this.clone({param:t,value:r,op:"d"})}toString(){return this.init(),this.keys().map(t=>{let r=this.encoder.encodeKey(t);return this.map.get(t).map(e=>r+"="+this.encoder.encodeValue(e)).join("&")}).filter(t=>t!=="").join("&")}clone(t){let r=new n({encoder:this.encoder});return r.cloneFrom=this.cloneFrom||this,r.updates=(this.updates||[]).concat(t),r}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(t=>this.map.set(t,this.cloneFrom.map.get(t))),this.updates.forEach(t=>{switch(t.op){case"a":case"s":let r=(t.op==="a"?this.map.get(t.param):void 0)||[];r.push(Mr(t.value)),this.map.set(t.param,r);break;case"d":if(t.value!==void 0){let e=this.map.get(t.param)||[],i=e.indexOf(Mr(t.value));i!==-1&&e.splice(i,1),e.length>0?this.map.set(t.param,e):this.map.delete(t.param)}else{this.map.delete(t.param);break}}}),this.cloneFrom=this.updates=null)}};var xs=class{constructor(){this.map=new Map}set(t,r){return this.map.set(t,r),this}get(t){return this.map.has(t)||this.map.set(t,t.defaultValue()),this.map.get(t)}delete(t){return this.map.delete(t),this}has(t){return this.map.has(t)}keys(){return this.map.keys()}};function sp(n){switch(n){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function Bd(n){return typeof ArrayBuffer<"u"&&n instanceof ArrayBuffer}function Hd(n){return typeof Blob<"u"&&n instanceof Blob}function Ud(n){return typeof FormData<"u"&&n instanceof FormData}function lp(n){return typeof URLSearchParams<"u"&&n instanceof URLSearchParams}var po=class n{constructor(t,r,e,i){this.url=r,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase();let o;if(sp(this.method)||i?(this.body=e!==void 0?e:null,o=i):o=e,o&&(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.context&&(this.context=o.context),o.params&&(this.params=o.params),this.transferCache=o.transferCache),this.headers??=new Le,this.context??=new xs,!this.params)this.params=new ue,this.urlWithParams=r;else{let a=this.params.toString();if(a.length===0)this.urlWithParams=r;else{let s=r.indexOf("?"),l=s===-1?"?":sv.set(I,t.setHeaders[I]),c)),t.setParams&&(u=Object.keys(t.setParams).reduce((v,I)=>v.set(I,t.setParams[I]),u)),new n(r,e,a,{params:u,headers:c,context:p,reportProgress:l,responseType:i,withCredentials:s,transferCache:o})}},gi=function(n){return n[n.Sent=0]="Sent",n[n.UploadProgress=1]="UploadProgress",n[n.ResponseHeader=2]="ResponseHeader",n[n.DownloadProgress=3]="DownloadProgress",n[n.Response=4]="Response",n[n.User=5]="User",n}(gi||{}),_o=class{constructor(t,r=vo.Ok,e="OK"){this.headers=t.headers||new Le,this.status=t.status!==void 0?t.status:r,this.statusText=t.statusText||e,this.url=t.url||null,this.ok=this.status>=200&&this.status<300}},Or=class n extends _o{constructor(t={}){super(t),this.type=gi.ResponseHeader}clone(t={}){return new n({headers:t.headers||this.headers,status:t.status!==void 0?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}},Wi=class n extends _o{constructor(t={}){super(t),this.type=gi.Response,this.body=t.body!==void 0?t.body:null}clone(t={}){return new n({body:t.body!==void 0?t.body:this.body,headers:t.headers||this.headers,status:t.status!==void 0?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}},pi=class extends _o{constructor(t){super(t,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${t.url||"(unknown url)"}`:this.message=`Http failure response for ${t.url||"(unknown url)"}: ${t.status} ${t.statusText}`,this.error=t.error||null}},vo=function(n){return n[n.Continue=100]="Continue",n[n.SwitchingProtocols=101]="SwitchingProtocols",n[n.Processing=102]="Processing",n[n.EarlyHints=103]="EarlyHints",n[n.Ok=200]="Ok",n[n.Created=201]="Created",n[n.Accepted=202]="Accepted",n[n.NonAuthoritativeInformation=203]="NonAuthoritativeInformation",n[n.NoContent=204]="NoContent",n[n.ResetContent=205]="ResetContent",n[n.PartialContent=206]="PartialContent",n[n.MultiStatus=207]="MultiStatus",n[n.AlreadyReported=208]="AlreadyReported",n[n.ImUsed=226]="ImUsed",n[n.MultipleChoices=300]="MultipleChoices",n[n.MovedPermanently=301]="MovedPermanently",n[n.Found=302]="Found",n[n.SeeOther=303]="SeeOther",n[n.NotModified=304]="NotModified",n[n.UseProxy=305]="UseProxy",n[n.Unused=306]="Unused",n[n.TemporaryRedirect=307]="TemporaryRedirect",n[n.PermanentRedirect=308]="PermanentRedirect",n[n.BadRequest=400]="BadRequest",n[n.Unauthorized=401]="Unauthorized",n[n.PaymentRequired=402]="PaymentRequired",n[n.Forbidden=403]="Forbidden",n[n.NotFound=404]="NotFound",n[n.MethodNotAllowed=405]="MethodNotAllowed",n[n.NotAcceptable=406]="NotAcceptable",n[n.ProxyAuthenticationRequired=407]="ProxyAuthenticationRequired",n[n.RequestTimeout=408]="RequestTimeout",n[n.Conflict=409]="Conflict",n[n.Gone=410]="Gone",n[n.LengthRequired=411]="LengthRequired",n[n.PreconditionFailed=412]="PreconditionFailed",n[n.PayloadTooLarge=413]="PayloadTooLarge",n[n.UriTooLong=414]="UriTooLong",n[n.UnsupportedMediaType=415]="UnsupportedMediaType",n[n.RangeNotSatisfiable=416]="RangeNotSatisfiable",n[n.ExpectationFailed=417]="ExpectationFailed",n[n.ImATeapot=418]="ImATeapot",n[n.MisdirectedRequest=421]="MisdirectedRequest",n[n.UnprocessableEntity=422]="UnprocessableEntity",n[n.Locked=423]="Locked",n[n.FailedDependency=424]="FailedDependency",n[n.TooEarly=425]="TooEarly",n[n.UpgradeRequired=426]="UpgradeRequired",n[n.PreconditionRequired=428]="PreconditionRequired",n[n.TooManyRequests=429]="TooManyRequests",n[n.RequestHeaderFieldsTooLarge=431]="RequestHeaderFieldsTooLarge",n[n.UnavailableForLegalReasons=451]="UnavailableForLegalReasons",n[n.InternalServerError=500]="InternalServerError",n[n.NotImplemented=501]="NotImplemented",n[n.BadGateway=502]="BadGateway",n[n.ServiceUnavailable=503]="ServiceUnavailable",n[n.GatewayTimeout=504]="GatewayTimeout",n[n.HttpVersionNotSupported=505]="HttpVersionNotSupported",n[n.VariantAlsoNegotiates=506]="VariantAlsoNegotiates",n[n.InsufficientStorage=507]="InsufficientStorage",n[n.LoopDetected=508]="LoopDetected",n[n.NotExtended=510]="NotExtended",n[n.NetworkAuthenticationRequired=511]="NetworkAuthenticationRequired",n}(vo||{});function _s(n,t){return{body:t,headers:n.headers,context:n.context,observe:n.observe,params:n.params,reportProgress:n.reportProgress,responseType:n.responseType,withCredentials:n.withCredentials,transferCache:n.transferCache}}var Ee=(()=>{let t=class t{constructor(e){this.handler=e}request(e,i,o={}){let a;if(e instanceof po)a=e;else{let c;o.headers instanceof Le?c=o.headers:c=new Le(o.headers);let u;o.params&&(o.params instanceof ue?u=o.params:u=new ue({fromObject:o.params})),a=new po(e,i,o.body!==void 0?o.body:null,{headers:c,context:o.context,params:u,reportProgress:o.reportProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials,transferCache:o.transferCache})}let s=A(a).pipe(li(c=>this.handler.handle(c)));if(e instanceof po||o.observe==="events")return s;let l=s.pipe(_t(c=>c instanceof Wi));switch(o.observe||"body"){case"body":switch(a.responseType){case"arraybuffer":return l.pipe(G(c=>{if(c.body!==null&&!(c.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return c.body}));case"blob":return l.pipe(G(c=>{if(c.body!==null&&!(c.body instanceof Blob))throw new Error("Response is not a Blob.");return c.body}));case"text":return l.pipe(G(c=>{if(c.body!==null&&typeof c.body!="string")throw new Error("Response is not a string.");return c.body}));case"json":default:return l.pipe(G(c=>c.body))}case"response":return l;default:throw new Error(`Unreachable: unhandled observe type ${o.observe}}`)}}delete(e,i={}){return this.request("DELETE",e,i)}get(e,i={}){return this.request("GET",e,i)}head(e,i={}){return this.request("HEAD",e,i)}jsonp(e,i){return this.request("JSONP",e,{params:new ue().append(i,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(e,i={}){return this.request("OPTIONS",e,i)}patch(e,i,o={}){return this.request("PATCH",e,_s(o,i))}post(e,i,o={}){return this.request("POST",e,_s(o,i))}put(e,i,o={}){return this.request("PUT",e,_s(o,i))}};t.\u0275fac=function(i){return new(i||t)(b(go))},t.\u0275prov=w({token:t,factory:t.\u0275fac});let n=t;return n})(),cp=/^\)\]\}',?\n/,dp="X-Request-URL";function $d(n){if(n.url)return n.url;let t=dp.toLocaleLowerCase();return n.headers.get(t)}var vs=(()=>{let t=class t{constructor(){this.fetchImpl=_(ws,{optional:!0})?.fetch??fetch.bind(globalThis),this.ngZone=_(O)}handle(e){return new Zt(i=>{let o=new AbortController;return this.doRequest(e,o.signal,i).then(Cs,a=>i.error(new pi({error:a}))),()=>o.abort()})}doRequest(e,i,o){return Nt(this,null,function*(){let a=this.createRequestInit(e),s;try{let L=this.fetchImpl(e.urlWithParams,x({signal:i},a));up(L),o.next({type:gi.Sent}),s=yield L}catch(L){o.error(new pi({error:L,status:L.status??0,statusText:L.statusText,url:e.urlWithParams,headers:L.headers}));return}let l=new Le(s.headers),c=s.statusText,u=$d(s)??e.urlWithParams,p=s.status,v=null;if(e.reportProgress&&o.next(new Or({headers:l,status:p,statusText:c,url:u})),s.body){let L=s.headers.get("content-length"),et=[],U=s.body.getReader(),Y=0,Mt,ai,Ut=typeof Zone<"u"&&Zone.current;yield this.ngZone.runOutsideAngular(()=>Nt(this,null,function*(){for(;;){let{done:Pi,value:Jn}=yield U.read();if(Pi)break;if(et.push(Jn),Y+=Jn.length,e.reportProgress){ai=e.responseType==="text"?(ai??"")+(Mt??=new TextDecoder).decode(Jn,{stream:!0}):void 0;let Hc=()=>o.next({type:gi.DownloadProgress,total:L?+L:void 0,loaded:Y,partialText:ai});Ut?Ut.run(Hc):Hc()}}}));let Kn=this.concatChunks(et,Y);try{let Pi=s.headers.get("Content-Type")??"";v=this.parseBody(e,Kn,Pi)}catch(Pi){o.error(new pi({error:Pi,headers:new Le(s.headers),status:s.status,statusText:s.statusText,url:$d(s)??e.urlWithParams}));return}}p===0&&(p=v?vo.Ok:0),p>=200&&p<300?(o.next(new Wi({body:v,headers:l,status:p,statusText:c,url:u})),o.complete()):o.error(new pi({error:v,headers:l,status:p,statusText:c,url:u}))})}parseBody(e,i,o){switch(e.responseType){case"json":let a=new TextDecoder().decode(i).replace(cp,"");return a===""?null:JSON.parse(a);case"text":return new TextDecoder().decode(i);case"blob":return new Blob([i],{type:o});case"arraybuffer":return i.buffer}}createRequestInit(e){let i={},o=e.withCredentials?"include":void 0;if(e.headers.forEach((a,s)=>i[a]=s.join(",")),i.Accept??="application/json, text/plain, */*",!i["Content-Type"]){let a=e.detectContentTypeHeader();a!==null&&(i["Content-Type"]=a)}return{body:e.serializeBody(),method:e.method,headers:i,credentials:o}}concatChunks(e,i){let o=new Uint8Array(i),a=0;for(let s of e)o.set(s,a),a+=s.length;return o}};t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=w({token:t,factory:t.\u0275fac});let n=t;return n})(),ws=class{};function Cs(){}function up(n){n.then(Cs,Cs)}function hp(n,t){return t(n)}function mp(n,t,r){return(e,i)=>Me(r,()=>t(e,o=>n(o,i)))}var tu=new C(""),eu=new C(""),iu=new C(""),nu=new C("");var Wd=(()=>{let t=class t extends go{constructor(e,i){super(),this.backend=e,this.injector=i,this.chain=null,this.pendingTasks=_(Cr);let o=_(nu,{optional:!0});this.backend=o??e}handle(e){if(this.chain===null){let o=Array.from(new Set([...this.injector.get(eu),...this.injector.get(iu,[])]));this.chain=o.reduceRight((a,s)=>mp(a,s,this.injector),hp)}let i=this.pendingTasks.add();return this.chain(e,o=>this.backend.handle(o)).pipe(ci(()=>this.pendingTasks.remove(i)))}};t.\u0275fac=function(i){return new(i||t)(b(bo),b(hi))},t.\u0275prov=w({token:t,factory:t.\u0275fac});let n=t;return n})();var fp=/^\)\]\}',?\n/;function pp(n){return"responseURL"in n&&n.responseURL?n.responseURL:/^X-Request-URL:/m.test(n.getAllResponseHeaders())?n.getResponseHeader("X-Request-URL"):null}var Gd=(()=>{let t=class t{constructor(e){this.xhrFactory=e}handle(e){if(e.method==="JSONP")throw new gt(-2800,!1);let i=this.xhrFactory;return(i.\u0275loadImpl?Ft(i.\u0275loadImpl()):A(null)).pipe(Dt(()=>new Zt(a=>{let s=i.build();if(s.open(e.method,e.urlWithParams),e.withCredentials&&(s.withCredentials=!0),e.headers.forEach((U,Y)=>s.setRequestHeader(U,Y.join(","))),e.headers.has("Accept")||s.setRequestHeader("Accept","application/json, text/plain, */*"),!e.headers.has("Content-Type")){let U=e.detectContentTypeHeader();U!==null&&s.setRequestHeader("Content-Type",U)}if(e.responseType){let U=e.responseType.toLowerCase();s.responseType=U!=="json"?U:"text"}let l=e.serializeBody(),c=null,u=()=>{if(c!==null)return c;let U=s.statusText||"OK",Y=new Le(s.getAllResponseHeaders()),Mt=pp(s)||e.url;return c=new Or({headers:Y,status:s.status,statusText:U,url:Mt}),c},p=()=>{let{headers:U,status:Y,statusText:Mt,url:ai}=u(),Ut=null;Y!==vo.NoContent&&(Ut=typeof s.response>"u"?s.responseText:s.response),Y===0&&(Y=Ut?vo.Ok:0);let Kn=Y>=200&&Y<300;if(e.responseType==="json"&&typeof Ut=="string"){let Pi=Ut;Ut=Ut.replace(fp,"");try{Ut=Ut!==""?JSON.parse(Ut):null}catch(Jn){Ut=Pi,Kn&&(Kn=!1,Ut={error:Jn,text:Ut})}}Kn?(a.next(new Wi({body:Ut,headers:U,status:Y,statusText:Mt,url:ai||void 0})),a.complete()):a.error(new pi({error:Ut,headers:U,status:Y,statusText:Mt,url:ai||void 0}))},v=U=>{let{url:Y}=u(),Mt=new pi({error:U,status:s.status||0,statusText:s.statusText||"Unknown Error",url:Y||void 0});a.error(Mt)},I=!1,L=U=>{I||(a.next(u()),I=!0);let Y={type:gi.DownloadProgress,loaded:U.loaded};U.lengthComputable&&(Y.total=U.total),e.responseType==="text"&&s.responseText&&(Y.partialText=s.responseText),a.next(Y)},et=U=>{let Y={type:gi.UploadProgress,loaded:U.loaded};U.lengthComputable&&(Y.total=U.total),a.next(Y)};return s.addEventListener("load",p),s.addEventListener("error",v),s.addEventListener("timeout",v),s.addEventListener("abort",v),e.reportProgress&&(s.addEventListener("progress",L),l!==null&&s.upload&&s.upload.addEventListener("progress",et)),s.send(l),a.next({type:gi.Sent}),()=>{s.removeEventListener("error",v),s.removeEventListener("abort",v),s.removeEventListener("load",p),s.removeEventListener("timeout",v),e.reportProgress&&(s.removeEventListener("progress",L),l!==null&&s.upload&&s.upload.removeEventListener("progress",et)),s.readyState!==s.DONE&&s.abort()}})))}};t.\u0275fac=function(i){return new(i||t)(b(Rr))},t.\u0275prov=w({token:t,factory:t.\u0275fac});let n=t;return n})(),ou=new C(""),gp="XSRF-TOKEN",bp=new C("",{providedIn:"root",factory:()=>gp}),_p="X-XSRF-TOKEN",vp=new C("",{providedIn:"root",factory:()=>_p}),Fr=class{},yp=(()=>{let t=class t{constructor(e,i,o){this.doc=e,this.platform=i,this.cookieName=o,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if(this.platform==="server")return null;let e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=Tr(e,this.cookieName),this.lastCookieString=e),this.lastToken}};t.\u0275fac=function(i){return new(i||t)(b(q),b(Oe),b(bp))},t.\u0275prov=w({token:t,factory:t.\u0275fac});let n=t;return n})();function xp(n,t){let r=n.url.toLowerCase();if(!_(ou)||n.method==="GET"||n.method==="HEAD"||r.startsWith("http://")||r.startsWith("https://"))return t(n);let e=_(Fr).getToken(),i=_(vp);return e!=null&&!n.headers.has(i)&&(n=n.clone({headers:n.headers.set(i,e)})),t(n)}var ru=function(n){return n[n.Interceptors=0]="Interceptors",n[n.LegacyInterceptors=1]="LegacyInterceptors",n[n.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",n[n.NoXsrfProtection=3]="NoXsrfProtection",n[n.JsonpSupport=4]="JsonpSupport",n[n.RequestsMadeViaParent=5]="RequestsMadeViaParent",n[n.Fetch=6]="Fetch",n}(ru||{});function wp(n,t){return{\u0275kind:n,\u0275providers:t}}function au(...n){let t=[Ee,Gd,Wd,{provide:go,useExisting:Wd},{provide:bo,useExisting:Gd},{provide:eu,useValue:xp,multi:!0},{provide:ou,useValue:!0},{provide:Fr,useClass:yp}];for(let r of n)t.push(...r.\u0275providers);return ui(t)}function su(){return wp(ru.Fetch,[vs,{provide:bo,useExisting:vs},{provide:nu,useExisting:vs}])}var qd="b",Yd="h",Qd="s",Xd="st",Zd="u",Kd="rt",Ar=new C(""),Cp=["GET","HEAD"];function Ip(n,t){let p=_(Ar),{isCacheActive:r}=p,e=Uc(p,["isCacheActive"]),{transferCache:i,method:o}=n;if(!r||o==="POST"&&!e.includePostRequests&&!i||o!=="POST"&&!Cp.includes(o)||i===!1||e.filter?.(n)===!1)return t(n);let a=_(yr),s=Ep(n),l=a.get(s,null),c=e.includeHeaders;if(typeof i=="object"&&i.includeHeaders&&(c=i.includeHeaders),l){let{[qd]:v,[Kd]:I,[Yd]:L,[Qd]:et,[Xd]:U,[Zd]:Y}=l,Mt=v;switch(I){case"arraybuffer":Mt=new TextEncoder().encode(v).buffer;break;case"blob":Mt=new Blob([v]);break}let ai=new Le(L);return A(new Wi({body:Mt,headers:ai,status:et,statusText:U,url:Y}))}let u=uo(_(Oe));return t(n).pipe(vt(v=>{v instanceof Wi&&u&&a.set(s,{[qd]:v.body,[Yd]:Dp(v.headers,c),[Qd]:v.status,[Xd]:v.statusText,[Zd]:v.url||"",[Kd]:n.responseType})}))}function Dp(n,t){if(!t)return{};let r={};for(let e of t){let i=n.getAll(e);i!==null&&(r[e]=i)}return r}function Jd(n){return[...n.keys()].sort().map(t=>`${t}=${n.getAll(t)}`).join("&")}function Ep(n){let{params:t,method:r,responseType:e,url:i}=n,o=Jd(t),a=n.serializeBody();a instanceof URLSearchParams?a=Jd(a):typeof a!="string"&&(a="");let s=[r,e,i,a,o].join("|"),l=Sp(s);return l}function Sp(n){let t=0;for(let r of n)t=Math.imul(31,t)+r.charCodeAt(0)<<0;return t+=2147483648,t.toString()}function lu(n){return[{provide:Ar,useFactory:()=>(wr("NgHttpTransferCache"),x({isCacheActive:!0},n))},{provide:iu,useValue:Ip,multi:!0,deps:[yr,Ar]},{provide:so,multi:!0,useFactory:()=>{let t=_(Bi),r=_(Ar);return()=>{Id(t).then(()=>{r.isCacheActive=!1})}}}]}var Ss=class extends Rd{constructor(){super(...arguments),this.supportsDOMEvents=!0}},ks=class n extends Ss{static makeCurrent(){Td(new n)}onAndCancel(t,r,e){return t.addEventListener(r,e),()=>{t.removeEventListener(r,e)}}dispatchEvent(t,r){t.dispatchEvent(r)}remove(t){t.parentNode&&t.parentNode.removeChild(t)}createElement(t,r){return r=r||this.getDefaultDocument(),r.createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,r){return r==="window"?window:r==="document"?t:r==="body"?t.body:null}getBaseHref(t){let r=Tp();return r==null?null:Rp(r)}resetBaseElement(){xo=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return Tr(document.cookie,t)}},xo=null;function Tp(){return xo=xo||document.querySelector("base"),xo?xo.getAttribute("href"):null}function Rp(n){return new URL(n,document.baseURI).pathname}var Mp=(()=>{let t=class t{build(){return new XMLHttpRequest}};t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=w({token:t,factory:t.\u0275fac});let n=t;return n})(),Ts=new C(""),uu=(()=>{let t=class t{constructor(e,i){this._zone=i,this._eventNameToPlugin=new Map,e.forEach(o=>{o.manager=this}),this._plugins=e.slice().reverse()}addEventListener(e,i,o){return this._findPluginFor(i).addEventListener(e,i,o)}getZone(){return this._zone}_findPluginFor(e){let i=this._eventNameToPlugin.get(e);if(i)return i;if(i=this._plugins.find(a=>a.supports(e)),!i)throw new gt(5101,!1);return this._eventNameToPlugin.set(e,i),i}};t.\u0275fac=function(i){return new(i||t)(b(Ts),b(O))},t.\u0275prov=w({token:t,factory:t.\u0275fac});let n=t;return n})(),Pr=class{constructor(t){this._doc=t}},Ds="ng-app-id",hu=(()=>{let t=class t{constructor(e,i,o,a={}){this.doc=e,this.appId=i,this.nonce=o,this.platformId=a,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=uo(a),this.resetHostNodes()}addStyles(e){for(let i of e)this.changeUsageCount(i,1)===1&&this.onStyleAdded(i)}removeStyles(e){for(let i of e)this.changeUsageCount(i,-1)<=0&&this.onStyleRemoved(i)}ngOnDestroy(){let e=this.styleNodesInDOM;e&&(e.forEach(i=>i.remove()),e.clear());for(let i of this.getAllStyles())this.onStyleRemoved(i);this.resetHostNodes()}addHost(e){this.hostNodes.add(e);for(let i of this.getAllStyles())this.addStyleToHost(e,i)}removeHost(e){this.hostNodes.delete(e)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(e){for(let i of this.hostNodes)this.addStyleToHost(i,e)}onStyleRemoved(e){let i=this.styleRef;i.get(e)?.elements?.forEach(o=>o.remove()),i.delete(e)}collectServerRenderedStyles(){let e=this.doc.head?.querySelectorAll(`style[${Ds}="${this.appId}"]`);if(e?.length){let i=new Map;return e.forEach(o=>{o.textContent!=null&&i.set(o.textContent,o)}),i}return null}changeUsageCount(e,i){let o=this.styleRef;if(o.has(e)){let a=o.get(e);return a.usage+=i,a.usage}return o.set(e,{usage:i,elements:[]}),i}getStyleElement(e,i){let o=this.styleNodesInDOM,a=o?.get(i);if(a?.parentNode===e)return o.delete(i),a.removeAttribute(Ds),a;{let s=this.doc.createElement("style");return this.nonce&&s.setAttribute("nonce",this.nonce),s.textContent=i,this.platformIsServer&&s.setAttribute(Ds,this.appId),e.appendChild(s),s}}addStyleToHost(e,i){let o=this.getStyleElement(e,i),a=this.styleRef,s=a.get(i)?.elements;s?s.push(o):a.set(i,{elements:[o],usage:1})}resetHostNodes(){let e=this.hostNodes;e.clear(),e.add(this.doc.head)}};t.\u0275fac=function(i){return new(i||t)(b(q),b(oo),b(ro,8),b(Oe))},t.\u0275prov=w({token:t,factory:t.\u0275fac});let n=t;return n})(),Es={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},Os=/%COMP%/g,mu="%COMP%",Ap=`_nghost-${mu}`,Op=`_ngcontent-${mu}`,Fp=!0,Pp=new C("",{providedIn:"root",factory:()=>Fp});function Np(n){return Op.replace(Os,n)}function Lp(n){return Ap.replace(Os,n)}function fu(n,t){return t.map(r=>r.replace(Os,n))}var Nr=(()=>{let t=class t{constructor(e,i,o,a,s,l,c,u=null){this.eventManager=e,this.sharedStylesHost=i,this.appId=o,this.removeStylesOnCompDestroy=a,this.doc=s,this.platformId=l,this.ngZone=c,this.nonce=u,this.rendererByCompId=new Map,this.platformIsServer=uo(l),this.defaultRenderer=new wo(e,s,c,this.platformIsServer)}createRenderer(e,i){if(!e||!i)return this.defaultRenderer;this.platformIsServer&&i.encapsulation===no.ShadowDom&&(i=It(x({},i),{encapsulation:no.Emulated}));let o=this.getOrCreateRenderer(e,i);return o instanceof Lr?o.applyToHost(e):o instanceof Co&&o.applyStyles(),o}getOrCreateRenderer(e,i){let o=this.rendererByCompId,a=o.get(i.id);if(!a){let s=this.doc,l=this.ngZone,c=this.eventManager,u=this.sharedStylesHost,p=this.removeStylesOnCompDestroy,v=this.platformIsServer;switch(i.encapsulation){case no.Emulated:a=new Lr(c,u,i,this.appId,p,s,l,v);break;case no.ShadowDom:return new Rs(c,u,e,i,s,l,this.nonce,v);default:a=new Co(c,u,i,p,s,l,v);break}o.set(i.id,a)}return a}ngOnDestroy(){this.rendererByCompId.clear()}};t.\u0275fac=function(i){return new(i||t)(b(uu),b(hu),b(oo),b(Pp),b(q),b(Oe),b(O),b(ro))},t.\u0275prov=w({token:t,factory:t.\u0275fac});let n=t;return n})(),wo=class{constructor(t,r,e,i){this.eventManager=t,this.doc=r,this.ngZone=e,this.platformIsServer=i,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(t,r){return r?this.doc.createElementNS(Es[r]||r,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,r){(cu(t)?t.content:t).appendChild(r)}insertBefore(t,r,e){t&&(cu(t)?t.content:t).insertBefore(r,e)}removeChild(t,r){t&&t.removeChild(r)}selectRootElement(t,r){let e=typeof t=="string"?this.doc.querySelector(t):t;if(!e)throw new gt(-5104,!1);return r||(e.textContent=""),e}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,r,e,i){if(i){r=i+":"+r;let o=Es[i];o?t.setAttributeNS(o,r,e):t.setAttribute(r,e)}else t.setAttribute(r,e)}removeAttribute(t,r,e){if(e){let i=Es[e];i?t.removeAttributeNS(i,r):t.removeAttribute(`${e}:${r}`)}else t.removeAttribute(r)}addClass(t,r){t.classList.add(r)}removeClass(t,r){t.classList.remove(r)}setStyle(t,r,e,i){i&(ao.DashCase|ao.Important)?t.style.setProperty(r,e,i&ao.Important?"important":""):t.style[r]=e}removeStyle(t,r,e){e&ao.DashCase?t.style.removeProperty(r):t.style[r]=""}setProperty(t,r,e){t!=null&&(t[r]=e)}setValue(t,r){t.nodeValue=r}listen(t,r,e){if(typeof t=="string"&&(t=Ui().getGlobalEventTarget(this.doc,t),!t))throw new Error(`Unsupported event target ${t} for event ${r}`);return this.eventManager.addEventListener(t,r,this.decoratePreventDefault(e))}decoratePreventDefault(t){return r=>{if(r==="__ngUnwrap__")return t;(this.platformIsServer?this.ngZone.runGuarded(()=>t(r)):t(r))===!1&&r.preventDefault()}}};function cu(n){return n.tagName==="TEMPLATE"&&n.content!==void 0}var Rs=class extends wo{constructor(t,r,e,i,o,a,s,l){super(t,o,a,l),this.sharedStylesHost=r,this.hostEl=e,this.shadowRoot=e.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let c=fu(i.id,i.styles);for(let u of c){let p=document.createElement("style");s&&p.setAttribute("nonce",s),p.textContent=u,this.shadowRoot.appendChild(p)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}appendChild(t,r){return super.appendChild(this.nodeOrShadowRoot(t),r)}insertBefore(t,r,e){return super.insertBefore(this.nodeOrShadowRoot(t),r,e)}removeChild(t,r){return super.removeChild(this.nodeOrShadowRoot(t),r)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},Co=class extends wo{constructor(t,r,e,i,o,a,s,l){super(t,o,a,s),this.sharedStylesHost=r,this.removeStylesOnCompDestroy=i,this.styles=l?fu(l,e.styles):e.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}},Lr=class extends Co{constructor(t,r,e,i,o,a,s,l){let c=i+"-"+e.id;super(t,r,e,o,a,s,l,c),this.contentAttr=Np(c),this.hostAttr=Lp(c)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,r){let e=super.createElement(t,r);return super.setAttribute(e,this.contentAttr,""),e}},jp=(()=>{let t=class t extends Pr{constructor(e){super(e)}supports(e){return!0}addEventListener(e,i,o){return e.addEventListener(i,o,!1),()=>this.removeEventListener(e,i,o)}removeEventListener(e,i,o){return e.removeEventListener(i,o)}};t.\u0275fac=function(i){return new(i||t)(b(q))},t.\u0275prov=w({token:t,factory:t.\u0275fac});let n=t;return n})(),du=["alt","control","meta","shift"],Vp={"\b":"Backspace"," ":"Tab","\x7F":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},zp={alt:n=>n.altKey,control:n=>n.ctrlKey,meta:n=>n.metaKey,shift:n=>n.shiftKey},Bp=(()=>{let t=class t extends Pr{constructor(e){super(e)}supports(e){return t.parseEventName(e)!=null}addEventListener(e,i,o){let a=t.parseEventName(i),s=t.eventCallback(a.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Ui().onAndCancel(e,a.domEventName,s))}static parseEventName(e){let i=e.toLowerCase().split("."),o=i.shift();if(i.length===0||!(o==="keydown"||o==="keyup"))return null;let a=t._normalizeKey(i.pop()),s="",l=i.indexOf("code");if(l>-1&&(i.splice(l,1),s="code."),du.forEach(u=>{let p=i.indexOf(u);p>-1&&(i.splice(p,1),s+=u+".")}),s+=a,i.length!=0||a.length===0)return null;let c={};return c.domEventName=o,c.fullKey=s,c}static matchEventFullKeyCode(e,i){let o=Vp[e.key]||e.key,a="";return i.indexOf("code.")>-1&&(o=e.code,a="code."),o==null||!o?!1:(o=o.toLowerCase(),o===" "?o="space":o==="."&&(o="dot"),du.forEach(s=>{if(s!==o){let l=zp[s];l(e)&&(a+=s+".")}}),a+=o,a===i)}static eventCallback(e,i,o){return a=>{t.matchEventFullKeyCode(a,e)&&o.runGuarded(()=>i(a))}}static _normalizeKey(e){return e==="esc"?"escape":e}};t.\u0275fac=function(i){return new(i||t)(b(q))},t.\u0275prov=w({token:t,factory:t.\u0275fac});let n=t;return n})();function pu(n,t){return Dd(x({rootComponent:n},Hp(t)))}function Hp(n){return{appProviders:[...qp,...n?.providers??[]],platformProviders:Gp}}function Up(){ks.makeCurrent()}function $p(){return new ji}function Wp(){return od(document),document}var Gp=[{provide:Oe,useValue:Ld},{provide:rd,useValue:Up,multi:!0},{provide:q,useFactory:Wp,deps:[]}];var qp=[{provide:nd,useValue:"root"},{provide:ji,useFactory:$p,deps:[]},{provide:Ts,useClass:jp,multi:!0,deps:[q,O,Oe]},{provide:Ts,useClass:Bp,multi:!0,deps:[q]},Nr,hu,uu,{provide:xr,useExisting:Nr},{provide:Rr,useClass:Mp,deps:[]},[]];var gu=(()=>{let t=class t{constructor(e){this._doc=e,this._dom=Ui()}addTag(e,i=!1){return e?this._getOrCreateElement(e,i):null}addTags(e,i=!1){return e?e.reduce((o,a)=>(a&&o.push(this._getOrCreateElement(a,i)),o),[]):[]}getTag(e){return e&&this._doc.querySelector(`meta[${e}]`)||null}getTags(e){if(!e)return[];let i=this._doc.querySelectorAll(`meta[${e}]`);return i?[].slice.call(i):[]}updateTag(e,i){if(!e)return null;i=i||this._parseSelector(e);let o=this.getTag(i);return o?this._setMetaElementAttributes(e,o):this._getOrCreateElement(e,!0)}removeTag(e){this.removeTagElement(this.getTag(e))}removeTagElement(e){e&&this._dom.remove(e)}_getOrCreateElement(e,i=!1){if(!i){let s=this._parseSelector(e),l=this.getTags(s).filter(c=>this._containsAttributes(e,c))[0];if(l!==void 0)return l}let o=this._dom.createElement("meta");return this._setMetaElementAttributes(e,o),this._doc.getElementsByTagName("head")[0].appendChild(o),o}_setMetaElementAttributes(e,i){return Object.keys(e).forEach(o=>i.setAttribute(this._getMetaKeyMap(o),e[o])),i}_parseSelector(e){let i=e.name?"name":"property";return`${i}="${e[i]}"`}_containsAttributes(e,i){return Object.keys(e).every(o=>i.getAttribute(this._getMetaKeyMap(o))===e[o])}_getMetaKeyMap(e){return Yp[e]||e}};t.\u0275fac=function(i){return new(i||t)(b(q))},t.\u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})(),Yp={httpEquiv:"http-equiv"},bu=(()=>{let t=class t{constructor(e){this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||""}};t.\u0275fac=function(i){return new(i||t)(b(q))},t.\u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})();var Fs=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=w({token:t,factory:function(i){let o=null;return i?o=new(i||t):o=b(Qp),o},providedIn:"root"});let n=t;return n})(),Qp=(()=>{let t=class t extends Fs{constructor(e){super(),this._doc=e}sanitize(e,i){if(i==null)return null;switch(e){case ce.NONE:return i;case ce.HTML:return cn(i,"HTML")?ln(i):hd(this._doc,String(i)).toString();case ce.STYLE:return cn(i,"Style")?ln(i):i;case ce.SCRIPT:if(cn(i,"Script"))return ln(i);throw new gt(5200,!1);case ce.URL:return cn(i,"URL")?ln(i):ud(String(i));case ce.RESOURCE_URL:if(cn(i,"ResourceURL"))return ln(i);throw new gt(5201,!1);default:throw new gt(5202,!1)}}bypassSecurityTrustHtml(e){return ad(e)}bypassSecurityTrustStyle(e){return sd(e)}bypassSecurityTrustScript(e){return ld(e)}bypassSecurityTrustUrl(e){return cd(e)}bypassSecurityTrustResourceUrl(e){return dd(e)}};t.\u0275fac=function(i){return new(i||t)(b(q))},t.\u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})(),Ms=function(n){return n[n.NoHttpTransferCache=0]="NoHttpTransferCache",n[n.HttpTransferCacheOptions=1]="HttpTransferCacheOptions",n}(Ms||{});function _u(...n){let t=[],r=new Set,e=r.has(Ms.HttpTransferCacheOptions);for(let{\u0275providers:i,\u0275kind:o}of n)r.add(o),i.length&&t.push(i);return ui([[],Ed(),r.has(Ms.NoHttpTransferCache)||e?[]:lu({}),t])}var st="primary",Vo=Symbol("RouteTitle"),Vs=class{constructor(t){this.params=t||{}}has(t){return Object.prototype.hasOwnProperty.call(this.params,t)}get(t){if(this.has(t)){let r=this.params[t];return Array.isArray(r)?r[0]:r}return null}getAll(t){if(this.has(t)){let r=this.params[t];return Array.isArray(r)?r:[r]}return[]}get keys(){return Object.keys(this.params)}};function bn(n){return new Vs(n)}function Xp(n,t,r){let e=r.path.split("/");if(e.length>n.length||r.pathMatch==="full"&&(t.hasChildren()||e.lengthe[o]===i)}else return n===t}function Tu(n){return n.length>0?n[n.length-1]:null}function xi(n){return nn(n)?n:Sr(n)?Ft(Promise.resolve(n)):A(n)}var Kp={exact:Mu,subset:Au},Ru={exact:Jp,subset:tg,ignored:()=>!0};function yu(n,t,r){return Kp[r.paths](n.root,t.root,r.matrixParams)&&Ru[r.queryParams](n.queryParams,t.queryParams)&&!(r.fragment==="exact"&&n.fragment!==t.fragment)}function Jp(n,t){return je(n,t)}function Mu(n,t,r){if(!qi(n.segments,t.segments)||!zr(n.segments,t.segments,r)||n.numberOfChildren!==t.numberOfChildren)return!1;for(let e in t.children)if(!n.children[e]||!Mu(n.children[e],t.children[e],r))return!1;return!0}function tg(n,t){return Object.keys(t).length<=Object.keys(n).length&&Object.keys(t).every(r=>ku(n[r],t[r]))}function Au(n,t,r){return Ou(n,t,t.segments,r)}function Ou(n,t,r,e){if(n.segments.length>r.length){let i=n.segments.slice(0,r.length);return!(!qi(i,r)||t.hasChildren()||!zr(i,r,e))}else if(n.segments.length===r.length){if(!qi(n.segments,r)||!zr(n.segments,r,e))return!1;for(let i in t.children)if(!n.children[i]||!Au(n.children[i],t.children[i],e))return!1;return!0}else{let i=r.slice(0,n.segments.length),o=r.slice(n.segments.length);return!qi(n.segments,i)||!zr(n.segments,i,e)||!n.children[st]?!1:Ou(n.children[st],t,o,e)}}function zr(n,t,r){return t.every((e,i)=>Ru[r](n[i].parameters,e.parameters))}var bi=class{constructor(t=new pt([],{}),r={},e=null){this.root=t,this.queryParams=r,this.fragment=e}get queryParamMap(){return this._queryParamMap??=bn(this.queryParams),this._queryParamMap}toString(){return ng.serialize(this)}},pt=class{constructor(t,r){this.segments=t,this.children=r,this.parent=null,Object.values(r).forEach(e=>e.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Br(this)}},Gi=class{constructor(t,r){this.path=t,this.parameters=r}get parameterMap(){return this._parameterMap??=bn(this.parameters),this._parameterMap}toString(){return Pu(this)}};function eg(n,t){return qi(n,t)&&n.every((r,e)=>je(r.parameters,t[e].parameters))}function qi(n,t){return n.length!==t.length?!1:n.every((r,e)=>r.path===t[e].path)}function ig(n,t){let r=[];return Object.entries(n.children).forEach(([e,i])=>{e===st&&(r=r.concat(t(i,e)))}),Object.entries(n.children).forEach(([e,i])=>{e!==st&&(r=r.concat(t(i,e)))}),r}var zo=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=w({token:t,factory:()=>new Ro,providedIn:"root"});let n=t;return n})(),Ro=class{parse(t){let r=new Hs(t);return new bi(r.parseRootSegment(),r.parseQueryParams(),r.parseFragment())}serialize(t){let r=`/${Io(t.root,!0)}`,e=ag(t.queryParams),i=typeof t.fragment=="string"?`#${og(t.fragment)}`:"";return`${r}${e}${i}`}},ng=new Ro;function Br(n){return n.segments.map(t=>Pu(t)).join("/")}function Io(n,t){if(!n.hasChildren())return Br(n);if(t){let r=n.children[st]?Io(n.children[st],!1):"",e=[];return Object.entries(n.children).forEach(([i,o])=>{i!==st&&e.push(`${i}:${Io(o,!1)}`)}),e.length>0?`${r}(${e.join("//")})`:r}else{let r=ig(n,(e,i)=>i===st?[Io(n.children[st],!1)]:[`${i}:${Io(e,!1)}`]);return Object.keys(n.children).length===1&&n.children[st]!=null?`${Br(n)}/${r[0]}`:`${Br(n)}/(${r.join("//")})`}}function Fu(n){return encodeURIComponent(n).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function jr(n){return Fu(n).replace(/%3B/gi,";")}function og(n){return encodeURI(n)}function Bs(n){return Fu(n).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Hr(n){return decodeURIComponent(n)}function xu(n){return Hr(n.replace(/\+/g,"%20"))}function Pu(n){return`${Bs(n.path)}${rg(n.parameters)}`}function rg(n){return Object.entries(n).map(([t,r])=>`;${Bs(t)}=${Bs(r)}`).join("")}function ag(n){let t=Object.entries(n).map(([r,e])=>Array.isArray(e)?e.map(i=>`${jr(r)}=${jr(i)}`).join("&"):`${jr(r)}=${jr(e)}`).filter(r=>r);return t.length?`?${t.join("&")}`:""}var sg=/^[^\/()?;#]+/;function Ps(n){let t=n.match(sg);return t?t[0]:""}var lg=/^[^\/()?;=#]+/;function cg(n){let t=n.match(lg);return t?t[0]:""}var dg=/^[^=?]+/;function ug(n){let t=n.match(dg);return t?t[0]:""}var hg=/^[^]+/;function mg(n){let t=n.match(hg);return t?t[0]:""}var Hs=class{constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new pt([],{}):new pt([],this.parseChildren())}parseQueryParams(){let t={};if(this.consumeOptional("?"))do this.parseQueryParam(t);while(this.consumeOptional("&"));return t}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");let t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());let r={};this.peekStartsWith("/(")&&(this.capture("/"),r=this.parseParens(!0));let e={};return this.peekStartsWith("(")&&(e=this.parseParens(!1)),(t.length>0||Object.keys(r).length>0)&&(e[st]=new pt(t,r)),e}parseSegment(){let t=Ps(this.remaining);if(t===""&&this.peekStartsWith(";"))throw new gt(4009,!1);return this.capture(t),new Gi(Hr(t),this.parseMatrixParams())}parseMatrixParams(){let t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){let r=cg(this.remaining);if(!r)return;this.capture(r);let e="";if(this.consumeOptional("=")){let i=Ps(this.remaining);i&&(e=i,this.capture(e))}t[Hr(r)]=Hr(e)}parseQueryParam(t){let r=ug(this.remaining);if(!r)return;this.capture(r);let e="";if(this.consumeOptional("=")){let a=mg(this.remaining);a&&(e=a,this.capture(e))}let i=xu(r),o=xu(e);if(t.hasOwnProperty(i)){let a=t[i];Array.isArray(a)||(a=[a],t[i]=a),a.push(o)}else t[i]=o}parseParens(t){let r={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let e=Ps(this.remaining),i=this.remaining[e.length];if(i!=="/"&&i!==")"&&i!==";")throw new gt(4010,!1);let o;e.indexOf(":")>-1?(o=e.slice(0,e.indexOf(":")),this.capture(o),this.capture(":")):t&&(o=st);let a=this.parseChildren();r[o]=Object.keys(a).length===1?a[st]:new pt([],a),this.consumeOptional("//")}return r}peekStartsWith(t){return this.remaining.startsWith(t)}consumeOptional(t){return this.peekStartsWith(t)?(this.remaining=this.remaining.substring(t.length),!0):!1}capture(t){if(!this.consumeOptional(t))throw new gt(4011,!1)}};function Nu(n){return n.segments.length>0?new pt([],{[st]:n}):n}function Lu(n){let t={};for(let[e,i]of Object.entries(n.children)){let o=Lu(i);if(e===st&&o.segments.length===0&&o.hasChildren())for(let[a,s]of Object.entries(o.children))t[a]=s;else(o.segments.length>0||o.hasChildren())&&(t[e]=o)}let r=new pt(n.segments,t);return fg(r)}function fg(n){if(n.numberOfChildren===1&&n.children[st]){let t=n.children[st];return new pt(n.segments.concat(t.segments),t.children)}return n}function _n(n){return n instanceof bi}function pg(n,t,r=null,e=null){let i=ju(n);return Vu(i,t,r,e)}function ju(n){let t;function r(o){let a={};for(let l of o.children){let c=r(l);a[l.outlet]=c}let s=new pt(o.url,a);return o===n&&(t=s),s}let e=r(n.root),i=Nu(e);return t??i}function Vu(n,t,r,e){let i=n;for(;i.parent;)i=i.parent;if(t.length===0)return Ns(i,i,i,r,e);let o=gg(t);if(o.toRoot())return Ns(i,i,new pt([],{}),r,e);let a=bg(o,i,n),s=a.processChildren?So(a.segmentGroup,a.index,o.commands):Bu(a.segmentGroup,a.index,o.commands);return Ns(i,a.segmentGroup,s,r,e)}function Ur(n){return typeof n=="object"&&n!=null&&!n.outlets&&!n.segmentPath}function Mo(n){return typeof n=="object"&&n!=null&&n.outlets}function Ns(n,t,r,e,i){let o={};e&&Object.entries(e).forEach(([l,c])=>{o[l]=Array.isArray(c)?c.map(u=>`${u}`):`${c}`});let a;n===t?a=r:a=zu(n,t,r);let s=Nu(Lu(a));return new bi(s,o,i)}function zu(n,t,r){let e={};return Object.entries(n.children).forEach(([i,o])=>{o===t?e[i]=r:e[i]=zu(o,t,r)}),new pt(n.segments,e)}var $r=class{constructor(t,r,e){if(this.isAbsolute=t,this.numberOfDoubleDots=r,this.commands=e,t&&e.length>0&&Ur(e[0]))throw new gt(4003,!1);let i=e.find(Mo);if(i&&i!==Tu(e))throw new gt(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function gg(n){if(typeof n[0]=="string"&&n.length===1&&n[0]==="/")return new $r(!0,0,n);let t=0,r=!1,e=n.reduce((i,o,a)=>{if(typeof o=="object"&&o!=null){if(o.outlets){let s={};return Object.entries(o.outlets).forEach(([l,c])=>{s[l]=typeof c=="string"?c.split("/"):c}),[...i,{outlets:s}]}if(o.segmentPath)return[...i,o.segmentPath]}return typeof o!="string"?[...i,o]:a===0?(o.split("/").forEach((s,l)=>{l==0&&s==="."||(l==0&&s===""?r=!0:s===".."?t++:s!=""&&i.push(s))}),i):[...i,o]},[]);return new $r(r,t,e)}var pn=class{constructor(t,r,e){this.segmentGroup=t,this.processChildren=r,this.index=e}};function bg(n,t,r){if(n.isAbsolute)return new pn(t,!0,0);if(!r)return new pn(t,!1,NaN);if(r.parent===null)return new pn(r,!0,0);let e=Ur(n.commands[0])?0:1,i=r.segments.length-1+e;return _g(r,i,n.numberOfDoubleDots)}function _g(n,t,r){let e=n,i=t,o=r;for(;o>i;){if(o-=i,e=e.parent,!e)throw new gt(4005,!1);i=e.segments.length}return new pn(e,!1,i-o)}function vg(n){return Mo(n[0])?n[0].outlets:{[st]:n}}function Bu(n,t,r){if(n??=new pt([],{}),n.segments.length===0&&n.hasChildren())return So(n,t,r);let e=yg(n,t,r),i=r.slice(e.commandIndex);if(e.match&&e.pathIndexo!==st)&&n.children[st]&&n.numberOfChildren===1&&n.children[st].segments.length===0){let o=So(n.children[st],t,r);return new pt(n.segments,o.children)}return Object.entries(e).forEach(([o,a])=>{typeof a=="string"&&(a=[a]),a!==null&&(i[o]=Bu(n.children[o],t,a))}),Object.entries(n.children).forEach(([o,a])=>{e[o]===void 0&&(i[o]=a)}),new pt(n.segments,i)}}function yg(n,t,r){let e=0,i=t,o={match:!1,pathIndex:0,commandIndex:0};for(;i=r.length)return o;let a=n.segments[i],s=r[e];if(Mo(s))break;let l=`${s}`,c=e0&&l===void 0)break;if(l&&c&&typeof c=="object"&&c.outlets===void 0){if(!Cu(l,c,a))return o;e+=2}else{if(!Cu(l,{},a))return o;e++}i++}return{match:!0,pathIndex:i,commandIndex:e}}function Us(n,t,r){let e=n.segments.slice(0,t),i=0;for(;i{typeof e=="string"&&(e=[e]),e!==null&&(t[r]=Us(new pt([],{}),0,e))}),t}function wu(n){let t={};return Object.entries(n).forEach(([r,e])=>t[r]=`${e}`),t}function Cu(n,t,r){return n==r.path&&je(t,r.parameters)}var ko="imperative",Ht=function(n){return n[n.NavigationStart=0]="NavigationStart",n[n.NavigationEnd=1]="NavigationEnd",n[n.NavigationCancel=2]="NavigationCancel",n[n.NavigationError=3]="NavigationError",n[n.RoutesRecognized=4]="RoutesRecognized",n[n.ResolveStart=5]="ResolveStart",n[n.ResolveEnd=6]="ResolveEnd",n[n.GuardsCheckStart=7]="GuardsCheckStart",n[n.GuardsCheckEnd=8]="GuardsCheckEnd",n[n.RouteConfigLoadStart=9]="RouteConfigLoadStart",n[n.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",n[n.ChildActivationStart=11]="ChildActivationStart",n[n.ChildActivationEnd=12]="ChildActivationEnd",n[n.ActivationStart=13]="ActivationStart",n[n.ActivationEnd=14]="ActivationEnd",n[n.Scroll=15]="Scroll",n[n.NavigationSkipped=16]="NavigationSkipped",n}(Ht||{}),xe=class{constructor(t,r){this.id=t,this.url=r}},vn=class extends xe{constructor(t,r,e="imperative",i=null){super(t,r),this.type=Ht.NavigationStart,this.navigationTrigger=e,this.restoredState=i}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},Se=class extends xe{constructor(t,r,e){super(t,r),this.urlAfterRedirects=e,this.type=Ht.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},me=function(n){return n[n.Redirect=0]="Redirect",n[n.SupersededByNewNavigation=1]="SupersededByNewNavigation",n[n.NoDataFromResolver=2]="NoDataFromResolver",n[n.GuardRejected=3]="GuardRejected",n}(me||{}),Wr=function(n){return n[n.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",n[n.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",n}(Wr||{}),_i=class extends xe{constructor(t,r,e,i){super(t,r),this.reason=e,this.code=i,this.type=Ht.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},vi=class extends xe{constructor(t,r,e,i){super(t,r),this.reason=e,this.code=i,this.type=Ht.NavigationSkipped}},Ao=class extends xe{constructor(t,r,e,i){super(t,r),this.error=e,this.target=i,this.type=Ht.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},Gr=class extends xe{constructor(t,r,e,i){super(t,r),this.urlAfterRedirects=e,this.state=i,this.type=Ht.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},$s=class extends xe{constructor(t,r,e,i){super(t,r),this.urlAfterRedirects=e,this.state=i,this.type=Ht.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Ws=class extends xe{constructor(t,r,e,i,o){super(t,r),this.urlAfterRedirects=e,this.state=i,this.shouldActivate=o,this.type=Ht.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},Gs=class extends xe{constructor(t,r,e,i){super(t,r),this.urlAfterRedirects=e,this.state=i,this.type=Ht.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},qs=class extends xe{constructor(t,r,e,i){super(t,r),this.urlAfterRedirects=e,this.state=i,this.type=Ht.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Ys=class{constructor(t){this.route=t,this.type=Ht.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},Qs=class{constructor(t){this.route=t,this.type=Ht.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},Xs=class{constructor(t){this.snapshot=t,this.type=Ht.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Zs=class{constructor(t){this.snapshot=t,this.type=Ht.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Ks=class{constructor(t){this.snapshot=t,this.type=Ht.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Js=class{constructor(t){this.snapshot=t,this.type=Ht.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},qr=class{constructor(t,r,e){this.routerEvent=t,this.position=r,this.anchor=e,this.type=Ht.Scroll}toString(){let t=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${t}')`}},Oo=class{},Fo=class{constructor(t){this.url=t}};var tl=class{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new Bo,this.attachRef=null}},Bo=(()=>{let t=class t{constructor(){this.contexts=new Map}onChildOutletCreated(e,i){let o=this.getOrCreateContext(e);o.outlet=i,this.contexts.set(e,o)}onChildOutletDestroyed(e){let i=this.getContext(e);i&&(i.outlet=null,i.attachRef=null)}onOutletDeactivated(){let e=this.contexts;return this.contexts=new Map,e}onOutletReAttached(e){this.contexts=e}getOrCreateContext(e){let i=this.getContext(e);return i||(i=new tl,this.contexts.set(e,i)),i}getContext(e){return this.contexts.get(e)||null}};t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})(),Yr=class{constructor(t){this._root=t}get root(){return this._root.value}parent(t){let r=this.pathFromRoot(t);return r.length>1?r[r.length-2]:null}children(t){let r=el(t,this._root);return r?r.children.map(e=>e.value):[]}firstChild(t){let r=el(t,this._root);return r&&r.children.length>0?r.children[0].value:null}siblings(t){let r=il(t,this._root);return r.length<2?[]:r[r.length-2].children.map(i=>i.value).filter(i=>i!==t)}pathFromRoot(t){return il(t,this._root).map(r=>r.value)}};function el(n,t){if(n===t.value)return t;for(let r of t.children){let e=el(n,r);if(e)return e}return null}function il(n,t){if(n===t.value)return[t];for(let r of t.children){let e=il(n,r);if(e.length)return e.unshift(t),e}return[]}var he=class{constructor(t,r){this.value=t,this.children=r}toString(){return`TreeNode(${this.value})`}};function fn(n){let t={};return n&&n.children.forEach(r=>t[r.value.outlet]=r),t}var Qr=class extends Yr{constructor(t,r){super(t),this.snapshot=r,hl(this,t)}toString(){return this.snapshot.toString()}};function Hu(n){let t=wg(n),r=new $t([new Gi("",{})]),e=new $t({}),i=new $t({}),o=new $t({}),a=new $t(""),s=new yi(r,e,o,a,i,st,n,t.root);return s.snapshot=t.root,new Qr(new he(s,[]),t)}function wg(n){let t={},r={},e={},i="",o=new Po([],t,e,i,r,st,n,null,{});return new Xr("",new he(o,[]))}var yi=class{constructor(t,r,e,i,o,a,s,l){this.urlSubject=t,this.paramsSubject=r,this.queryParamsSubject=e,this.fragmentSubject=i,this.dataSubject=o,this.outlet=a,this.component=s,this._futureSnapshot=l,this.title=this.dataSubject?.pipe(G(c=>c[Vo]))??A(void 0),this.url=t,this.params=r,this.queryParams=e,this.fragment=i,this.data=o}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe(G(t=>bn(t))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(G(t=>bn(t))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function ul(n,t,r="emptyOnly"){let e,{routeConfig:i}=n;return t!==null&&(r==="always"||i?.path===""||!t.component&&!t.routeConfig?.loadComponent)?e={params:x(x({},t.params),n.params),data:x(x({},t.data),n.data),resolve:x(x(x(x({},n.data),t.data),i?.data),n._resolvedData)}:e={params:x({},n.params),data:x({},n.data),resolve:x(x({},n.data),n._resolvedData??{})},i&&$u(i)&&(e.resolve[Vo]=i.title),e}var Po=class{get title(){return this.data?.[Vo]}constructor(t,r,e,i,o,a,s,l,c){this.url=t,this.params=r,this.queryParams=e,this.fragment=i,this.data=o,this.outlet=a,this.component=s,this.routeConfig=l,this._resolve=c}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=bn(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=bn(this.queryParams),this._queryParamMap}toString(){let t=this.url.map(e=>e.toString()).join("/"),r=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${t}', path:'${r}')`}},Xr=class extends Yr{constructor(t,r){super(r),this.url=t,hl(this,r)}toString(){return Uu(this._root)}};function hl(n,t){t.value._routerState=n,t.children.forEach(r=>hl(n,r))}function Uu(n){let t=n.children.length>0?` { ${n.children.map(Uu).join(", ")} } `:"";return`${n.value}${t}`}function Ls(n){if(n.snapshot){let t=n.snapshot,r=n._futureSnapshot;n.snapshot=r,je(t.queryParams,r.queryParams)||n.queryParamsSubject.next(r.queryParams),t.fragment!==r.fragment&&n.fragmentSubject.next(r.fragment),je(t.params,r.params)||n.paramsSubject.next(r.params),Zp(t.url,r.url)||n.urlSubject.next(r.url),je(t.data,r.data)||n.dataSubject.next(r.data)}else n.snapshot=n._futureSnapshot,n.dataSubject.next(n._futureSnapshot.data)}function nl(n,t){let r=je(n.params,t.params)&&eg(n.url,t.url),e=!n.parent!=!t.parent;return r&&!e&&(!n.parent||nl(n.parent,t.parent))}function $u(n){return typeof n.title=="string"||n.title===null}var ml=(()=>{let t=class t{constructor(){this.activated=null,this._activatedRoute=null,this.name=st,this.activateEvents=new z,this.deactivateEvents=new z,this.attachEvents=new z,this.detachEvents=new z,this.parentContexts=_(Bo),this.location=_(Et),this.changeDetector=_(ft),this.environmentInjector=_(hi),this.inputBinder=_(ea,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(e){if(e.name){let{firstChange:i,previousValue:o}=e.name;if(i)return;this.isTrackedInParentContexts(o)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(o)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(e){return this.parentContexts.getContext(e)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let e=this.parentContexts.getContext(this.name);e?.route&&(e.attachRef?this.attach(e.attachRef,e.route):this.activateWith(e.route,e.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new gt(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new gt(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new gt(4012,!1);this.location.detach();let e=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(e.instance),e}attach(e,i){this.activated=e,this._activatedRoute=i,this.location.insert(e.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(e.instance)}deactivate(){if(this.activated){let e=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(e)}}activateWith(e,i){if(this.isActivated)throw new gt(4013,!1);this._activatedRoute=e;let o=this.location,s=e.snapshot.component,l=this.parentContexts.getOrCreateContext(this.name).children,c=new ol(e,l,o.injector);this.activated=o.createComponent(s,{index:o.length,injector:c,environmentInjector:i??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}};t.\u0275fac=function(i){return new(i||t)},t.\u0275dir=y({type:t,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[ut]});let n=t;return n})(),ol=class n{__ngOutletInjector(t){return new n(this.route,this.childContexts,t)}constructor(t,r,e){this.route=t,this.childContexts=r,this.parent=e}get(t,r){return t===yi?this.route:t===Bo?this.childContexts:this.parent.get(t,r)}},ea=new C(""),Iu=(()=>{let t=class t{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(e){this.unsubscribeFromRouteData(e),this.subscribeToRouteData(e)}unsubscribeFromRouteData(e){this.outletDataSubscriptions.get(e)?.unsubscribe(),this.outletDataSubscriptions.delete(e)}subscribeToRouteData(e){let{activatedRoute:i}=e,o=on([i.queryParams,i.params,i.data]).pipe(Dt(([a,s,l],c)=>(l=x(x(x({},a),s),l),c===0?A(l):Promise.resolve(l)))).subscribe(a=>{if(!e.isActivated||!e.activatedComponentRef||e.activatedRoute!==i||i.component===null){this.unsubscribeFromRouteData(e);return}let s=kd(i.component);if(!s){this.unsubscribeFromRouteData(e);return}for(let{templateName:l}of s.inputs)e.activatedComponentRef.setInput(l,a[l])});this.outletDataSubscriptions.set(e,o)}};t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=w({token:t,factory:t.\u0275fac});let n=t;return n})();function Cg(n,t,r){let e=No(n,t._root,r?r._root:void 0);return new Qr(e,t)}function No(n,t,r){if(r&&n.shouldReuseRoute(t.value,r.value.snapshot)){let e=r.value;e._futureSnapshot=t.value;let i=Ig(n,t,r);return new he(e,i)}else{if(n.shouldAttach(t.value)){let o=n.retrieve(t.value);if(o!==null){let a=o.route;return a.value._futureSnapshot=t.value,a.children=t.children.map(s=>No(n,s)),a}}let e=Dg(t.value),i=t.children.map(o=>No(n,o));return new he(e,i)}}function Ig(n,t,r){return t.children.map(e=>{for(let i of r.children)if(n.shouldReuseRoute(e.value,i.value.snapshot))return No(n,e,i);return No(n,e)})}function Dg(n){return new yi(new $t(n.url),new $t(n.params),new $t(n.queryParams),new $t(n.fragment),new $t(n.data),n.outlet,n.component,n)}var Wu="ngNavigationCancelingError";function Gu(n,t){let{redirectTo:r,navigationBehaviorOptions:e}=_n(t)?{redirectTo:t,navigationBehaviorOptions:void 0}:t,i=qu(!1,me.Redirect);return i.url=r,i.navigationBehaviorOptions=e,i}function qu(n,t){let r=new Error(`NavigationCancelingError: ${n||""}`);return r[Wu]=!0,r.cancellationCode=t,r}function Eg(n){return Yu(n)&&_n(n.url)}function Yu(n){return!!n&&n[Wu]}var Sg=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275cmp=j({type:t,selectors:[["ng-component"]],standalone:!0,features:[V],decls:1,vars:0,template:function(i,o){i&1&&P(0,"router-outlet")},dependencies:[ml],encapsulation:2});let n=t;return n})();function kg(n,t){return n.providers&&!n._injector&&(n._injector=gs(n.providers,t,`Route: ${n.path}`)),n._injector??t}function fl(n){let t=n.children&&n.children.map(fl),r=t?It(x({},n),{children:t}):x({},n);return!r.component&&!r.loadComponent&&(t||r.loadChildren)&&r.outlet&&r.outlet!==st&&(r.component=Sg),r}function Ve(n){return n.outlet||st}function Tg(n,t){let r=n.filter(e=>Ve(e)===t);return r.push(...n.filter(e=>Ve(e)!==t)),r}function Ho(n){if(!n)return null;if(n.routeConfig?._injector)return n.routeConfig._injector;for(let t=n.parent;t;t=t.parent){let r=t.routeConfig;if(r?._loadedInjector)return r._loadedInjector;if(r?._injector)return r._injector}return null}var Rg=(n,t,r,e)=>G(i=>(new rl(t,i.targetRouterState,i.currentRouterState,r,e).activate(n),i)),rl=class{constructor(t,r,e,i,o){this.routeReuseStrategy=t,this.futureState=r,this.currState=e,this.forwardEvent=i,this.inputBindingEnabled=o}activate(t){let r=this.futureState._root,e=this.currState?this.currState._root:null;this.deactivateChildRoutes(r,e,t),Ls(this.futureState.root),this.activateChildRoutes(r,e,t)}deactivateChildRoutes(t,r,e){let i=fn(r);t.children.forEach(o=>{let a=o.value.outlet;this.deactivateRoutes(o,i[a],e),delete i[a]}),Object.values(i).forEach(o=>{this.deactivateRouteAndItsChildren(o,e)})}deactivateRoutes(t,r,e){let i=t.value,o=r?r.value:null;if(i===o)if(i.component){let a=e.getContext(i.outlet);a&&this.deactivateChildRoutes(t,r,a.children)}else this.deactivateChildRoutes(t,r,e);else o&&this.deactivateRouteAndItsChildren(r,e)}deactivateRouteAndItsChildren(t,r){t.value.component&&this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,r):this.deactivateRouteAndOutlet(t,r)}detachAndStoreRouteSubtree(t,r){let e=r.getContext(t.value.outlet),i=e&&t.value.component?e.children:r,o=fn(t);for(let a of Object.values(o))this.deactivateRouteAndItsChildren(a,i);if(e&&e.outlet){let a=e.outlet.detach(),s=e.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:a,route:t,contexts:s})}}deactivateRouteAndOutlet(t,r){let e=r.getContext(t.value.outlet),i=e&&t.value.component?e.children:r,o=fn(t);for(let a of Object.values(o))this.deactivateRouteAndItsChildren(a,i);e&&(e.outlet&&(e.outlet.deactivate(),e.children.onOutletDeactivated()),e.attachRef=null,e.route=null)}activateChildRoutes(t,r,e){let i=fn(r);t.children.forEach(o=>{this.activateRoutes(o,i[o.value.outlet],e),this.forwardEvent(new Js(o.value.snapshot))}),t.children.length&&this.forwardEvent(new Zs(t.value.snapshot))}activateRoutes(t,r,e){let i=t.value,o=r?r.value:null;if(Ls(i),i===o)if(i.component){let a=e.getOrCreateContext(i.outlet);this.activateChildRoutes(t,r,a.children)}else this.activateChildRoutes(t,r,e);else if(i.component){let a=e.getOrCreateContext(i.outlet);if(this.routeReuseStrategy.shouldAttach(i.snapshot)){let s=this.routeReuseStrategy.retrieve(i.snapshot);this.routeReuseStrategy.store(i.snapshot,null),a.children.onOutletReAttached(s.contexts),a.attachRef=s.componentRef,a.route=s.route.value,a.outlet&&a.outlet.attach(s.componentRef,s.route.value),Ls(s.route.value),this.activateChildRoutes(t,null,a.children)}else{let s=Ho(i.snapshot);a.attachRef=null,a.route=i,a.injector=s,a.outlet&&a.outlet.activateWith(i,a.injector),this.activateChildRoutes(t,null,a.children)}}else this.activateChildRoutes(t,null,e)}},Zr=class{constructor(t){this.path=t,this.route=this.path[this.path.length-1]}},gn=class{constructor(t,r){this.component=t,this.route=r}};function Mg(n,t,r){let e=n._root,i=t?t._root:null;return Do(e,i,r,[e.value])}function Ag(n){let t=n.routeConfig?n.routeConfig.canActivateChild:null;return!t||t.length===0?null:{node:n,guards:t}}function xn(n,t){let r=Symbol(),e=t.get(n,r);return e===r?typeof n=="function"&&!id(n)?n:t.get(n):e}function Do(n,t,r,e,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=fn(t);return n.children.forEach(a=>{Og(a,o[a.value.outlet],r,e.concat([a.value]),i),delete o[a.value.outlet]}),Object.entries(o).forEach(([a,s])=>To(s,r.getContext(a),i)),i}function Og(n,t,r,e,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=n.value,a=t?t.value:null,s=r?r.getContext(n.value.outlet):null;if(a&&o.routeConfig===a.routeConfig){let l=Fg(a,o,o.routeConfig.runGuardsAndResolvers);l?i.canActivateChecks.push(new Zr(e)):(o.data=a.data,o._resolvedData=a._resolvedData),o.component?Do(n,t,s?s.children:null,e,i):Do(n,t,r,e,i),l&&s&&s.outlet&&s.outlet.isActivated&&i.canDeactivateChecks.push(new gn(s.outlet.component,a))}else a&&To(t,s,i),i.canActivateChecks.push(new Zr(e)),o.component?Do(n,null,s?s.children:null,e,i):Do(n,null,r,e,i);return i}function Fg(n,t,r){if(typeof r=="function")return r(n,t);switch(r){case"pathParamsChange":return!qi(n.url,t.url);case"pathParamsOrQueryParamsChange":return!qi(n.url,t.url)||!je(n.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!nl(n,t)||!je(n.queryParams,t.queryParams);case"paramsChange":default:return!nl(n,t)}}function To(n,t,r){let e=fn(n),i=n.value;Object.entries(e).forEach(([o,a])=>{i.component?t?To(a,t.children.getContext(o),r):To(a,null,r):To(a,t,r)}),i.component?t&&t.outlet&&t.outlet.isActivated?r.canDeactivateChecks.push(new gn(t.outlet.component,i)):r.canDeactivateChecks.push(new gn(null,i)):r.canDeactivateChecks.push(new gn(null,i))}function Uo(n){return typeof n=="function"}function Pg(n){return typeof n=="boolean"}function Ng(n){return n&&Uo(n.canLoad)}function Lg(n){return n&&Uo(n.canActivate)}function jg(n){return n&&Uo(n.canActivateChild)}function Vg(n){return n&&Uo(n.canDeactivate)}function zg(n){return n&&Uo(n.canMatch)}function Qu(n){return n instanceof Yc||n?.name==="EmptyError"}var Vr=Symbol("INITIAL_VALUE");function yn(){return Dt(n=>on(n.map(t=>t.pipe(wt(1),Tt(Vr)))).pipe(G(t=>{for(let r of t)if(r!==!0){if(r===Vr)return Vr;if(r===!1||r instanceof bi)return r}return!0}),_t(t=>t!==Vr),wt(1)))}function Bg(n,t){return le(r=>{let{targetSnapshot:e,currentSnapshot:i,guards:{canActivateChecks:o,canDeactivateChecks:a}}=r;return a.length===0&&o.length===0?A(It(x({},r),{guardsResult:!0})):Hg(a,e,i,n).pipe(le(s=>s&&Pg(s)?Ug(e,o,n,t):A(s)),G(s=>It(x({},r),{guardsResult:s})))})}function Hg(n,t,r,e){return Ft(n).pipe(le(i=>Yg(i.component,i.route,r,t,e)),di(i=>i!==!0,!0))}function Ug(n,t,r,e){return Ft(t).pipe(li(i=>_r(Wg(i.route.parent,e),$g(i.route,e),qg(n,i.path,r),Gg(n,i.route,r))),di(i=>i!==!0,!0))}function $g(n,t){return n!==null&&t&&t(new Ks(n)),A(!0)}function Wg(n,t){return n!==null&&t&&t(new Xs(n)),A(!0)}function Gg(n,t,r){let e=t.routeConfig?t.routeConfig.canActivate:null;if(!e||e.length===0)return A(!0);let i=e.map(o=>Li(()=>{let a=Ho(t)??r,s=xn(o,a),l=Lg(s)?s.canActivate(t,n):Me(a,()=>s(t,n));return xi(l).pipe(di())}));return A(i).pipe(yn())}function qg(n,t,r){let e=t[t.length-1],o=t.slice(0,t.length-1).reverse().map(a=>Ag(a)).filter(a=>a!==null).map(a=>Li(()=>{let s=a.guards.map(l=>{let c=Ho(a.node)??r,u=xn(l,c),p=jg(u)?u.canActivateChild(e,n):Me(c,()=>u(e,n));return xi(p).pipe(di())});return A(s).pipe(yn())}));return A(o).pipe(yn())}function Yg(n,t,r,e,i){let o=t&&t.routeConfig?t.routeConfig.canDeactivate:null;if(!o||o.length===0)return A(!0);let a=o.map(s=>{let l=Ho(t)??i,c=xn(s,l),u=Vg(c)?c.canDeactivate(n,t,r,e):Me(l,()=>c(n,t,r,e));return xi(u).pipe(di())});return A(a).pipe(yn())}function Qg(n,t,r,e){let i=t.canLoad;if(i===void 0||i.length===0)return A(!0);let o=i.map(a=>{let s=xn(a,n),l=Ng(s)?s.canLoad(t,r):Me(n,()=>s(t,r));return xi(l)});return A(o).pipe(yn(),Xu(e))}function Xu(n){return qc(vt(t=>{if(_n(t))throw Gu(n,t)}),G(t=>t===!0))}function Xg(n,t,r,e){let i=t.canMatch;if(!i||i.length===0)return A(!0);let o=i.map(a=>{let s=xn(a,n),l=zg(s)?s.canMatch(t,r):Me(n,()=>s(t,r));return xi(l)});return A(o).pipe(yn(),Xu(e))}var Lo=class{constructor(t){this.segmentGroup=t||null}},Kr=class extends Error{constructor(t){super(),this.urlTree=t}};function mn(n){return Ni(new Lo(n))}function Zg(n){return Ni(new gt(4e3,!1))}function Kg(n){return Ni(qu(!1,me.GuardRejected))}var al=class{constructor(t,r){this.urlSerializer=t,this.urlTree=r}lineralizeSegments(t,r){let e=[],i=r.root;for(;;){if(e=e.concat(i.segments),i.numberOfChildren===0)return A(e);if(i.numberOfChildren>1||!i.children[st])return Zg(t.redirectTo);i=i.children[st]}}applyRedirectCommands(t,r,e){let i=this.applyRedirectCreateUrlTree(r,this.urlSerializer.parse(r),t,e);if(r.startsWith("/"))throw new Kr(i);return i}applyRedirectCreateUrlTree(t,r,e,i){let o=this.createSegmentGroup(t,r.root,e,i);return new bi(o,this.createQueryParams(r.queryParams,this.urlTree.queryParams),r.fragment)}createQueryParams(t,r){let e={};return Object.entries(t).forEach(([i,o])=>{if(typeof o=="string"&&o.startsWith(":")){let s=o.substring(1);e[i]=r[s]}else e[i]=o}),e}createSegmentGroup(t,r,e,i){let o=this.createSegments(t,r.segments,e,i),a={};return Object.entries(r.children).forEach(([s,l])=>{a[s]=this.createSegmentGroup(t,l,e,i)}),new pt(o,a)}createSegments(t,r,e,i){return r.map(o=>o.path.startsWith(":")?this.findPosParam(t,o,i):this.findOrReturn(o,e))}findPosParam(t,r,e){let i=e[r.path.substring(1)];if(!i)throw new gt(4001,!1);return i}findOrReturn(t,r){let e=0;for(let i of r){if(i.path===t.path)return r.splice(e),i;e++}return t}},sl={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Jg(n,t,r,e,i){let o=pl(n,t,r);return o.matched?(e=kg(t,e),Xg(e,t,r,i).pipe(G(a=>a===!0?o:x({},sl)))):A(o)}function pl(n,t,r){if(t.path==="**")return tb(r);if(t.path==="")return t.pathMatch==="full"&&(n.hasChildren()||r.length>0)?x({},sl):{matched:!0,consumedSegments:[],remainingSegments:r,parameters:{},positionalParamSegments:{}};let i=(t.matcher||Xp)(r,n,t);if(!i)return x({},sl);let o={};Object.entries(i.posParams??{}).forEach(([s,l])=>{o[s]=l.path});let a=i.consumed.length>0?x(x({},o),i.consumed[i.consumed.length-1].parameters):o;return{matched:!0,consumedSegments:i.consumed,remainingSegments:r.slice(i.consumed.length),parameters:a,positionalParamSegments:i.posParams??{}}}function tb(n){return{matched:!0,parameters:n.length>0?Tu(n).parameters:{},consumedSegments:n,remainingSegments:[],positionalParamSegments:{}}}function Du(n,t,r,e){return r.length>0&&nb(n,r,e)?{segmentGroup:new pt(t,ib(e,new pt(r,n.children))),slicedSegments:[]}:r.length===0&&ob(n,r,e)?{segmentGroup:new pt(n.segments,eb(n,r,e,n.children)),slicedSegments:r}:{segmentGroup:new pt(n.segments,n.children),slicedSegments:r}}function eb(n,t,r,e){let i={};for(let o of r)if(ia(n,t,o)&&!e[Ve(o)]){let a=new pt([],{});i[Ve(o)]=a}return x(x({},e),i)}function ib(n,t){let r={};r[st]=t;for(let e of n)if(e.path===""&&Ve(e)!==st){let i=new pt([],{});r[Ve(e)]=i}return r}function nb(n,t,r){return r.some(e=>ia(n,t,e)&&Ve(e)!==st)}function ob(n,t,r){return r.some(e=>ia(n,t,e))}function ia(n,t,r){return(n.hasChildren()||t.length>0)&&r.pathMatch==="full"?!1:r.path===""}function rb(n,t,r,e){return Ve(n)!==e&&(e===st||!ia(t,r,n))?!1:pl(t,n,r).matched}function ab(n,t,r){return t.length===0&&!n.children[r]}var ll=class{};function sb(n,t,r,e,i,o,a="emptyOnly"){return new cl(n,t,r,e,i,a,o).recognize()}var lb=31,cl=class{constructor(t,r,e,i,o,a,s){this.injector=t,this.configLoader=r,this.rootComponentType=e,this.config=i,this.urlTree=o,this.paramsInheritanceStrategy=a,this.urlSerializer=s,this.applyRedirects=new al(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(t){return new gt(4002,`'${t.segmentGroup}'`)}recognize(){let t=Du(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(t).pipe(G(r=>{let e=new Po([],Object.freeze({}),Object.freeze(x({},this.urlTree.queryParams)),this.urlTree.fragment,{},st,this.rootComponentType,null,{}),i=new he(e,r),o=new Xr("",i),a=pg(e,[],this.urlTree.queryParams,this.urlTree.fragment);return a.queryParams=this.urlTree.queryParams,o.url=this.urlSerializer.serialize(a),this.inheritParamsAndData(o._root,null),{state:o,tree:a}}))}match(t){return this.processSegmentGroup(this.injector,this.config,t,st).pipe(si(e=>{if(e instanceof Kr)return this.urlTree=e.urlTree,this.match(e.urlTree.root);throw e instanceof Lo?this.noMatchError(e):e}))}inheritParamsAndData(t,r){let e=t.value,i=ul(e,r,this.paramsInheritanceStrategy);e.params=Object.freeze(i.params),e.data=Object.freeze(i.data),t.children.forEach(o=>this.inheritParamsAndData(o,e))}processSegmentGroup(t,r,e,i){return e.segments.length===0&&e.hasChildren()?this.processChildren(t,r,e):this.processSegment(t,r,e,e.segments,i,!0).pipe(G(o=>o instanceof he?[o]:[]))}processChildren(t,r,e){let i=[];for(let o of Object.keys(e.children))o==="primary"?i.unshift(o):i.push(o);return Ft(i).pipe(li(o=>{let a=e.children[o],s=Tg(r,o);return this.processSegmentGroup(t,s,a,o)}),Jc((o,a)=>(o.push(...a),o)),cs(null),Kc(),le(o=>{if(o===null)return mn(e);let a=Zu(o);return cb(a),A(a)}))}processSegment(t,r,e,i,o,a){return Ft(r).pipe(li(s=>this.processSegmentAgainstRoute(s._injector??t,r,s,e,i,o,a).pipe(si(l=>{if(l instanceof Lo)return A(null);throw l}))),di(s=>!!s),si(s=>{if(Qu(s))return ab(e,i,o)?A(new ll):mn(e);throw s}))}processSegmentAgainstRoute(t,r,e,i,o,a,s){return rb(e,i,o,a)?e.redirectTo===void 0?this.matchSegmentAgainstRoute(t,i,e,o,a):this.allowRedirects&&s?this.expandSegmentAgainstRouteUsingRedirect(t,i,r,e,o,a):mn(i):mn(i)}expandSegmentAgainstRouteUsingRedirect(t,r,e,i,o,a){let{matched:s,consumedSegments:l,positionalParamSegments:c,remainingSegments:u}=pl(r,i,o);if(!s)return mn(r);i.redirectTo.startsWith("/")&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>lb&&(this.allowRedirects=!1));let p=this.applyRedirects.applyRedirectCommands(l,i.redirectTo,c);return this.applyRedirects.lineralizeSegments(i,p).pipe(le(v=>this.processSegment(t,e,r,v.concat(u),a,!1)))}matchSegmentAgainstRoute(t,r,e,i,o){let a=Jg(r,e,i,t,this.urlSerializer);return e.path==="**"&&(r.children={}),a.pipe(Dt(s=>s.matched?(t=e._injector??t,this.getChildConfig(t,e,i).pipe(Dt(({routes:l})=>{let c=e._loadedInjector??t,{consumedSegments:u,remainingSegments:p,parameters:v}=s,I=new Po(u,v,Object.freeze(x({},this.urlTree.queryParams)),this.urlTree.fragment,ub(e),Ve(e),e.component??e._loadedComponent??null,e,hb(e)),{segmentGroup:L,slicedSegments:et}=Du(r,u,p,l);if(et.length===0&&L.hasChildren())return this.processChildren(c,l,L).pipe(G(Y=>Y===null?null:new he(I,Y)));if(l.length===0&&et.length===0)return A(new he(I,[]));let U=Ve(e)===o;return this.processSegment(c,l,L,et,U?st:o,!0).pipe(G(Y=>new he(I,Y instanceof he?[Y]:[])))}))):mn(r)))}getChildConfig(t,r,e){return r.children?A({routes:r.children,injector:t}):r.loadChildren?r._loadedRoutes!==void 0?A({routes:r._loadedRoutes,injector:r._loadedInjector}):Qg(t,r,e,this.urlSerializer).pipe(le(i=>i?this.configLoader.loadChildren(t,r).pipe(vt(o=>{r._loadedRoutes=o.routes,r._loadedInjector=o.injector})):Kg(r))):A({routes:[],injector:t})}};function cb(n){n.sort((t,r)=>t.value.outlet===st?-1:r.value.outlet===st?1:t.value.outlet.localeCompare(r.value.outlet))}function db(n){let t=n.value.routeConfig;return t&&t.path===""}function Zu(n){let t=[],r=new Set;for(let e of n){if(!db(e)){t.push(e);continue}let i=t.find(o=>e.value.routeConfig===o.value.routeConfig);i!==void 0?(i.children.push(...e.children),r.add(i)):t.push(e)}for(let e of r){let i=Zu(e.children);t.push(new he(e.value,i))}return t.filter(e=>!r.has(e))}function ub(n){return n.data||{}}function hb(n){return n.resolve||{}}function mb(n,t,r,e,i,o){return le(a=>sb(n,t,r,e,a.extractedUrl,i,o).pipe(G(({state:s,tree:l})=>It(x({},a),{targetSnapshot:s,urlAfterRedirects:l}))))}function fb(n,t){return le(r=>{let{targetSnapshot:e,guards:{canActivateChecks:i}}=r;if(!i.length)return A(r);let o=new Set(i.map(l=>l.route)),a=new Set;for(let l of o)if(!a.has(l))for(let c of Ku(l))a.add(c);let s=0;return Ft(a).pipe(li(l=>o.has(l)?pb(l,e,n,t):(l.data=ul(l,l.parent,n).resolve,A(void 0))),vt(()=>s++),ds(1),le(l=>s===a.size?A(r):be))})}function Ku(n){let t=n.children.map(r=>Ku(r)).flat();return[n,...t]}function pb(n,t,r,e){let i=n.routeConfig,o=n._resolve;return i?.title!==void 0&&!$u(i)&&(o[Vo]=i.title),gb(o,n,t,e).pipe(G(a=>(n._resolvedData=a,n.data=ul(n,n.parent,r).resolve,null)))}function gb(n,t,r,e){let i=zs(n);if(i.length===0)return A({});let o={};return Ft(i).pipe(le(a=>bb(n[a],t,r,e).pipe(di(),vt(s=>{o[a]=s}))),ds(1),Xc(o),si(a=>Qu(a)?be:Ni(a)))}function bb(n,t,r,e){let i=Ho(t)??e,o=xn(n,i),a=o.resolve?o.resolve(t,r):Me(i,()=>o(t,r));return xi(a)}function js(n){return Dt(t=>{let r=n(t);return r?Ft(r).pipe(G(()=>t)):A(t)})}var Ju=(()=>{let t=class t{buildTitle(e){let i,o=e.root;for(;o!==void 0;)i=this.getResolvedTitleForRoute(o)??i,o=o.children.find(a=>a.outlet===st);return i}getResolvedTitleForRoute(e){return e.data[Vo]}};t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=w({token:t,factory:()=>_(_b),providedIn:"root"});let n=t;return n})(),_b=(()=>{let t=class t extends Ju{constructor(e){super(),this.title=e}updateTitle(e){let i=this.buildTitle(e);i!==void 0&&this.title.setTitle(i)}};t.\u0275fac=function(i){return new(i||t)(b(bu))},t.\u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})(),$o=new C("",{providedIn:"root",factory:()=>({})}),jo=new C(""),gl=(()=>{let t=class t{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=_(kr)}loadComponent(e){if(this.componentLoaders.get(e))return this.componentLoaders.get(e);if(e._loadedComponent)return A(e._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(e);let i=xi(e.loadComponent()).pipe(G(th),vt(a=>{this.onLoadEndListener&&this.onLoadEndListener(e),e._loadedComponent=a}),ci(()=>{this.componentLoaders.delete(e)})),o=new to(i,()=>new N).pipe(ss());return this.componentLoaders.set(e,o),o}loadChildren(e,i){if(this.childrenLoaders.get(i))return this.childrenLoaders.get(i);if(i._loadedRoutes)return A({routes:i._loadedRoutes,injector:i._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(i);let a=vb(i,this.compiler,e,this.onLoadEndListener).pipe(ci(()=>{this.childrenLoaders.delete(i)})),s=new to(a,()=>new N).pipe(ss());return this.childrenLoaders.set(i,s),s}};t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})();function vb(n,t,r,e){return xi(n.loadChildren()).pipe(G(th),le(i=>i instanceof gd||Array.isArray(i)?A(i):Ft(t.compileModuleAsync(i))),G(i=>{e&&e(n);let o,a,s=!1;return Array.isArray(i)?(a=i,s=!0):(o=i.create(r).injector,a=o.get(jo,[],{optional:!0,self:!0}).flat()),{routes:a.map(fl),injector:o}}))}function yb(n){return n&&typeof n=="object"&&"default"in n}function th(n){return yb(n)?n.default:n}var bl=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=w({token:t,factory:()=>_(xb),providedIn:"root"});let n=t;return n})(),xb=(()=>{let t=class t{shouldProcessUrl(e){return!0}extract(e){return e}merge(e,i){return e}};t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})(),eh=new C(""),ih=new C("");function wb(n,t,r){let e=n.get(ih),i=n.get(q);return n.get(O).runOutsideAngular(()=>{if(!i.startViewTransition||e.skipNextTransition)return e.skipNextTransition=!1,new Promise(c=>setTimeout(c));let o,a=new Promise(c=>{o=c}),s=i.startViewTransition(()=>(o(),Cb(n))),{onViewTransitionCreated:l}=e;return l&&Me(n,()=>l({transition:s,from:t,to:r})),a})}function Cb(n){return new Promise(t=>{fs(t,{injector:n})})}var _l=(()=>{let t=class t{get hasRequestedNavigation(){return this.navigationId!==0}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new N,this.transitionAbortSubject=new N,this.configLoader=_(gl),this.environmentInjector=_(hi),this.urlSerializer=_(zo),this.rootContexts=_(Bo),this.location=_($i),this.inputBindingEnabled=_(ea,{optional:!0})!==null,this.titleStrategy=_(Ju),this.options=_($o,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=_(bl),this.createViewTransition=_(eh,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>A(void 0),this.rootComponentType=null;let e=o=>this.events.next(new Ys(o)),i=o=>this.events.next(new Qs(o));this.configLoader.onLoadEndListener=i,this.configLoader.onLoadStartListener=e}complete(){this.transitions?.complete()}handleNavigationRequest(e){let i=++this.navigationId;this.transitions?.next(It(x(x({},this.transitions.value),e),{id:i}))}setupNavigations(e,i,o){return this.transitions=new $t({id:0,currentUrlTree:i,currentRawUrl:i,extractedUrl:this.urlHandlingStrategy.extract(i),urlAfterRedirects:this.urlHandlingStrategy.extract(i),rawUrl:i,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:ko,restoredState:null,currentSnapshot:o.snapshot,targetSnapshot:null,currentRouterState:o,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(_t(a=>a.id!==0),G(a=>It(x({},a),{extractedUrl:this.urlHandlingStrategy.extract(a.rawUrl)})),Dt(a=>{let s=!1,l=!1;return A(a).pipe(Dt(c=>{if(this.navigationId>a.id)return this.cancelNavigationTransition(a,"",me.SupersededByNewNavigation),be;this.currentTransition=a,this.currentNavigation={id:c.id,initialUrl:c.rawUrl,extractedUrl:c.extractedUrl,trigger:c.source,extras:c.extras,previousNavigation:this.lastSuccessfulNavigation?It(x({},this.lastSuccessfulNavigation),{previousNavigation:null}):null};let u=!e.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),p=c.extras.onSameUrlNavigation??e.onSameUrlNavigation;if(!u&&p!=="reload"){let v="";return this.events.next(new vi(c.id,this.urlSerializer.serialize(c.rawUrl),v,Wr.IgnoredSameUrlNavigation)),c.resolve(null),be}if(this.urlHandlingStrategy.shouldProcessUrl(c.rawUrl))return A(c).pipe(Dt(v=>{let I=this.transitions?.getValue();return this.events.next(new vn(v.id,this.urlSerializer.serialize(v.extractedUrl),v.source,v.restoredState)),I!==this.transitions?.getValue()?be:Promise.resolve(v)}),mb(this.environmentInjector,this.configLoader,this.rootComponentType,e.config,this.urlSerializer,this.paramsInheritanceStrategy),vt(v=>{a.targetSnapshot=v.targetSnapshot,a.urlAfterRedirects=v.urlAfterRedirects,this.currentNavigation=It(x({},this.currentNavigation),{finalUrl:v.urlAfterRedirects});let I=new Gr(v.id,this.urlSerializer.serialize(v.extractedUrl),this.urlSerializer.serialize(v.urlAfterRedirects),v.targetSnapshot);this.events.next(I)}));if(u&&this.urlHandlingStrategy.shouldProcessUrl(c.currentRawUrl)){let{id:v,extractedUrl:I,source:L,restoredState:et,extras:U}=c,Y=new vn(v,this.urlSerializer.serialize(I),L,et);this.events.next(Y);let Mt=Hu(this.rootComponentType).snapshot;return this.currentTransition=a=It(x({},c),{targetSnapshot:Mt,urlAfterRedirects:I,extras:It(x({},U),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=I,A(a)}else{let v="";return this.events.next(new vi(c.id,this.urlSerializer.serialize(c.extractedUrl),v,Wr.IgnoredByUrlHandlingStrategy)),c.resolve(null),be}}),vt(c=>{let u=new $s(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(u)}),G(c=>(this.currentTransition=a=It(x({},c),{guards:Mg(c.targetSnapshot,c.currentSnapshot,this.rootContexts)}),a)),Bg(this.environmentInjector,c=>this.events.next(c)),vt(c=>{if(a.guardsResult=c.guardsResult,_n(c.guardsResult))throw Gu(this.urlSerializer,c.guardsResult);let u=new Ws(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot,!!c.guardsResult);this.events.next(u)}),_t(c=>c.guardsResult?!0:(this.cancelNavigationTransition(c,"",me.GuardRejected),!1)),js(c=>{if(c.guards.canActivateChecks.length)return A(c).pipe(vt(u=>{let p=new Gs(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot);this.events.next(p)}),Dt(u=>{let p=!1;return A(u).pipe(fb(this.paramsInheritanceStrategy,this.environmentInjector),vt({next:()=>p=!0,complete:()=>{p||this.cancelNavigationTransition(u,"",me.NoDataFromResolver)}}))}),vt(u=>{let p=new qs(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot);this.events.next(p)}))}),js(c=>{let u=p=>{let v=[];p.routeConfig?.loadComponent&&!p.routeConfig._loadedComponent&&v.push(this.configLoader.loadComponent(p.routeConfig).pipe(vt(I=>{p.component=I}),G(()=>{})));for(let I of p.children)v.push(...u(I));return v};return on(u(c.targetSnapshot.root)).pipe(cs(null),wt(1))}),js(()=>this.afterPreactivation()),Dt(()=>{let{currentSnapshot:c,targetSnapshot:u}=a,p=this.createViewTransition?.(this.environmentInjector,c.root,u.root);return p?Ft(p).pipe(G(()=>a)):A(a)}),G(c=>{let u=Cg(e.routeReuseStrategy,c.targetSnapshot,c.currentRouterState);return this.currentTransition=a=It(x({},c),{targetRouterState:u}),this.currentNavigation.targetRouterState=u,a}),vt(()=>{this.events.next(new Oo)}),Rg(this.rootContexts,e.routeReuseStrategy,c=>this.events.next(c),this.inputBindingEnabled),wt(1),vt({next:c=>{s=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new Se(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects))),this.titleStrategy?.updateTitle(c.targetRouterState.snapshot),c.resolve(!0)},complete:()=>{s=!0}}),Z(this.transitionAbortSubject.pipe(vt(c=>{throw c}))),ci(()=>{!s&&!l&&this.cancelNavigationTransition(a,"",me.SupersededByNewNavigation),this.currentTransition?.id===a.id&&(this.currentNavigation=null,this.currentTransition=null)}),si(c=>{if(l=!0,Yu(c))this.events.next(new _i(a.id,this.urlSerializer.serialize(a.extractedUrl),c.message,c.cancellationCode)),Eg(c)?this.events.next(new Fo(c.url)):a.resolve(!1);else{this.events.next(new Ao(a.id,this.urlSerializer.serialize(a.extractedUrl),c,a.targetSnapshot??void 0));try{a.resolve(e.errorHandler(c))}catch(u){this.options.resolveNavigationPromiseOnError?a.resolve(!1):a.reject(u)}}return be}))}))}cancelNavigationTransition(e,i,o){let a=new _i(e.id,this.urlSerializer.serialize(e.extractedUrl),i,o);this.events.next(a),e.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){return this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))).toString()!==this.currentTransition?.extractedUrl.toString()&&!this.currentTransition?.extras.skipLocationChange}};t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})();function Ib(n){return n!==ko}var Db=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=w({token:t,factory:()=>_(Eb),providedIn:"root"});let n=t;return n})(),dl=class{shouldDetach(t){return!1}store(t,r){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,r){return t.routeConfig===r.routeConfig}},Eb=(()=>{let t=class t extends dl{};t.\u0275fac=(()=>{let e;return function(o){return(e||(e=St(t)))(o||t)}})(),t.\u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})(),nh=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=w({token:t,factory:()=>_(Sb),providedIn:"root"});let n=t;return n})(),Sb=(()=>{let t=class t extends nh{constructor(){super(...arguments),this.location=_($i),this.urlSerializer=_(zo),this.options=_($o,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=_(bl),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new bi,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=Hu(null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(e){return this.location.subscribe(i=>{i.type==="popstate"&&e(i.url,i.state)})}handleRouterEvent(e,i){if(e instanceof vn)this.stateMemento=this.createStateMemento();else if(e instanceof vi)this.rawUrlTree=i.initialUrl;else if(e instanceof Gr){if(this.urlUpdateStrategy==="eager"&&!i.extras.skipLocationChange){let o=this.urlHandlingStrategy.merge(i.finalUrl,i.initialUrl);this.setBrowserUrl(o,i)}}else e instanceof Oo?(this.currentUrlTree=i.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(i.finalUrl,i.initialUrl),this.routerState=i.targetRouterState,this.urlUpdateStrategy==="deferred"&&(i.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,i))):e instanceof _i&&(e.code===me.GuardRejected||e.code===me.NoDataFromResolver)?this.restoreHistory(i):e instanceof Ao?this.restoreHistory(i,!0):e instanceof Se&&(this.lastSuccessfulId=e.id,this.currentPageId=this.browserPageId)}setBrowserUrl(e,i){let o=this.urlSerializer.serialize(e);if(this.location.isCurrentPathEqualTo(o)||i.extras.replaceUrl){let a=this.browserPageId,s=x(x({},i.extras.state),this.generateNgRouterState(i.id,a));this.location.replaceState(o,"",s)}else{let a=x(x({},i.extras.state),this.generateNgRouterState(i.id,this.browserPageId+1));this.location.go(o,"",a)}}restoreHistory(e,i=!1){if(this.canceledNavigationResolution==="computed"){let o=this.browserPageId,a=this.currentPageId-o;a!==0?this.location.historyGo(a):this.currentUrlTree===e.finalUrl&&a===0&&(this.resetState(e),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(i&&this.resetState(e),this.resetUrlToCurrentUrlTree())}resetState(e){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,e.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(e,i){return this.canceledNavigationResolution==="computed"?{navigationId:e,\u0275routerPageId:i}:{navigationId:e}}};t.\u0275fac=(()=>{let e;return function(o){return(e||(e=St(t)))(o||t)}})(),t.\u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})(),Eo=function(n){return n[n.COMPLETE=0]="COMPLETE",n[n.FAILED=1]="FAILED",n[n.REDIRECTING=2]="REDIRECTING",n}(Eo||{});function oh(n,t){n.events.pipe(_t(r=>r instanceof Se||r instanceof _i||r instanceof Ao||r instanceof vi),G(r=>r instanceof Se||r instanceof vi?Eo.COMPLETE:(r instanceof _i?r.code===me.Redirect||r.code===me.SupersededByNewNavigation:!1)?Eo.REDIRECTING:Eo.FAILED),_t(r=>r!==Eo.REDIRECTING),wt(1)).subscribe(()=>{t()})}function kb(n){throw n}var Tb={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Rb={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},Qt=(()=>{let t=class t{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){this.disposed=!1,this.isNgZoneEnabled=!1,this.console=_(Er),this.stateManager=_(nh),this.options=_($o,{optional:!0})||{},this.pendingTasks=_(Cr),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=_(_l),this.urlSerializer=_(zo),this.location=_($i),this.urlHandlingStrategy=_(bl),this._events=new N,this.errorHandler=this.options.errorHandler||kb,this.navigated=!1,this.routeReuseStrategy=_(Db),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=_(jo,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!_(ea,{optional:!0}),this.eventsSubscription=new xt,this.isNgZoneEnabled=_(O)instanceof O&&O.isInAngularZone(),this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:e=>{this.console.warn(e)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){let e=this.navigationTransitions.events.subscribe(i=>{try{let o=this.navigationTransitions.currentTransition,a=this.navigationTransitions.currentNavigation;if(o!==null&&a!==null){if(this.stateManager.handleRouterEvent(i,a),i instanceof _i&&i.code!==me.Redirect&&i.code!==me.SupersededByNewNavigation)this.navigated=!0;else if(i instanceof Se)this.navigated=!0;else if(i instanceof Fo){let s=this.urlHandlingStrategy.merge(i.url,o.currentRawUrl),l={info:o.extras.info,skipLocationChange:o.extras.skipLocationChange,replaceUrl:this.urlUpdateStrategy==="eager"||Ib(o.source)};this.scheduleNavigation(s,ko,null,l,{resolve:o.resolve,reject:o.reject,promise:o.promise})}}Ab(i)&&this._events.next(i)}catch(o){this.navigationTransitions.transitionAbortSubject.next(o)}});this.eventsSubscription.add(e)}resetRootComponentType(e){this.routerState.root.component=e,this.navigationTransitions.rootComponentType=e}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),ko,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((e,i)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(e,"popstate",i)},0)})}navigateToSyncWithBrowser(e,i,o){let a={replaceUrl:!0},s=o?.navigationId?o:null;if(o){let c=x({},o);delete c.navigationId,delete c.\u0275routerPageId,Object.keys(c).length!==0&&(a.state=c)}let l=this.parseUrl(e);this.scheduleNavigation(l,i,s,a)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(e){this.config=e.map(fl),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(e,i={}){let{relativeTo:o,queryParams:a,fragment:s,queryParamsHandling:l,preserveFragment:c}=i,u=c?this.currentUrlTree.fragment:s,p=null;switch(l){case"merge":p=x(x({},this.currentUrlTree.queryParams),a);break;case"preserve":p=this.currentUrlTree.queryParams;break;default:p=a||null}p!==null&&(p=this.removeEmptyProps(p));let v;try{let I=o?o.snapshot:this.routerState.snapshot.root;v=ju(I)}catch{(typeof e[0]!="string"||!e[0].startsWith("/"))&&(e=[]),v=this.currentUrlTree.root}return Vu(v,e,p,u??null)}navigateByUrl(e,i={skipLocationChange:!1}){let o=_n(e)?e:this.parseUrl(e),a=this.urlHandlingStrategy.merge(o,this.rawUrlTree);return this.scheduleNavigation(a,ko,null,i)}navigate(e,i={skipLocationChange:!1}){return Mb(e),this.navigateByUrl(this.createUrlTree(e,i),i)}serializeUrl(e){return this.urlSerializer.serialize(e)}parseUrl(e){try{return this.urlSerializer.parse(e)}catch{return this.urlSerializer.parse("/")}}isActive(e,i){let o;if(i===!0?o=x({},Tb):i===!1?o=x({},Rb):o=i,_n(e))return yu(this.currentUrlTree,e,o);let a=this.parseUrl(e);return yu(this.currentUrlTree,a,o)}removeEmptyProps(e){return Object.entries(e).reduce((i,[o,a])=>(a!=null&&(i[o]=a),i),{})}scheduleNavigation(e,i,o,a,s){if(this.disposed)return Promise.resolve(!1);let l,c,u;s?(l=s.resolve,c=s.reject,u=s.promise):u=new Promise((v,I)=>{l=v,c=I});let p=this.pendingTasks.add();return oh(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(p))}),this.navigationTransitions.handleNavigationRequest({source:i,restoredState:o,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:e,extras:a,resolve:l,reject:c,promise:u,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),u.catch(v=>Promise.reject(v))}};t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})();function Mb(n){for(let t=0;t{let t=class t{constructor(e,i,o,a,s,l){this.router=e,this.route=i,this.tabIndexAttribute=o,this.renderer=a,this.el=s,this.locationStrategy=l,this.href=null,this.commands=null,this.onChanges=new N,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;let c=s.nativeElement.tagName?.toLowerCase();this.isAnchorElement=c==="a"||c==="area",this.isAnchorElement?this.subscription=e.events.subscribe(u=>{u instanceof Se&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(e){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue("tabindex",e)}ngOnChanges(e){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(e){e!=null?(this.commands=Array.isArray(e)?e:[e],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(e,i,o,a,s){let l=this.urlTree;if(l===null||this.isAnchorElement&&(e!==0||i||o||a||s||typeof this.target=="string"&&this.target!="_self"))return!0;let c={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info};return this.router.navigateByUrl(l,c),!this.isAnchorElement}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){let e=this.urlTree;this.href=e!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(e)):null;let i=this.href===null?null:fd(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",i)}applyAttributeValue(e,i){let o=this.renderer,a=this.el.nativeElement;i!==null?o.setAttribute(a,e,i):o.removeAttribute(a,e)}get urlTree(){return this.commands===null?null:this.router.createUrlTree(this.commands,{relativeTo:this.relativeTo!==void 0?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}};t.\u0275fac=function(i){return new(i||t)(d(Qt),d(yi),ve("tabindex"),d(Vi),d(T),d(lo))},t.\u0275dir=y({type:t,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(i,o){i&1&&H("click",function(s){return o.onClick(s.button,s.ctrlKey,s.shiftKey,s.altKey,s.metaKey)}),i&2&&nt("target",o.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[m.HasDecoratorInputTransform,"preserveFragment","preserveFragment",M],skipLocationChange:[m.HasDecoratorInputTransform,"skipLocationChange","skipLocationChange",M],replaceUrl:[m.HasDecoratorInputTransform,"replaceUrl","replaceUrl",M],routerLink:"routerLink"},standalone:!0,features:[lt,ut]});let n=t;return n})(),rh=(()=>{let t=class t{get isActive(){return this._isActive}constructor(e,i,o,a,s){this.router=e,this.element=i,this.renderer=o,this.cdr=a,this.link=s,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new z,this.routerEventsSubscription=e.events.subscribe(l=>{l instanceof Se&&this.update()})}ngAfterContentInit(){A(this.links.changes,A(null)).pipe(eo()).subscribe(e=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();let e=[...this.links.toArray(),this.link].filter(i=>!!i).map(i=>i.onChanges);this.linkInputChangesSubscription=Ft(e).pipe(eo()).subscribe(i=>{this._isActive!==this.isLinkActive(this.router)(i)&&this.update()})}set routerLinkActive(e){let i=Array.isArray(e)?e:e.split(" ");this.classes=i.filter(o=>!!o)}ngOnChanges(e){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{let e=this.hasActiveLinks();this.classes.forEach(i=>{e?this.renderer.addClass(this.element.nativeElement,i):this.renderer.removeClass(this.element.nativeElement,i)}),e&&this.ariaCurrentWhenActive!==void 0?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this._isActive!==e&&(this._isActive=e,this.cdr.markForCheck(),this.isActiveChange.emit(e))})}isLinkActive(e){let i=Ob(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return o=>{let a=o.urlTree;return a?e.isActive(a,i):!1}}hasActiveLinks(){let e=this.isLinkActive(this.router);return this.link&&e(this.link)||this.links.some(e)}};t.\u0275fac=function(i){return new(i||t)(d(Qt),d(T),d(Vi),d(ft),d(Jr,8))},t.\u0275dir=y({type:t,selectors:[["","routerLinkActive",""]],contentQueries:function(i,o,a){if(i&1&&ct(a,Jr,5),i&2){let s;S(s=k())&&(o.links=s)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[ut]});let n=t;return n})();function Ob(n){return!!n.paths}var ta=class{};var Fb=(()=>{let t=class t{constructor(e,i,o,a,s){this.router=e,this.injector=o,this.preloadingStrategy=a,this.loader=s}setUpPreloading(){this.subscription=this.router.events.pipe(_t(e=>e instanceof Se),li(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(e,i){let o=[];for(let a of i){a.providers&&!a._injector&&(a._injector=gs(a.providers,e,`Route: ${a.path}`));let s=a._injector??e,l=a._loadedInjector??s;(a.loadChildren&&!a._loadedRoutes&&a.canLoad===void 0||a.loadComponent&&!a._loadedComponent)&&o.push(this.preloadConfig(s,a)),(a.children||a._loadedRoutes)&&o.push(this.processRoutes(l,a.children??a._loadedRoutes))}return Ft(o).pipe(eo())}preloadConfig(e,i){return this.preloadingStrategy.preload(i,()=>{let o;i.loadChildren&&i.canLoad===void 0?o=this.loader.loadChildren(e,i):o=A(null);let a=o.pipe(le(s=>s===null?A(void 0):(i._loadedRoutes=s.routes,i._loadedInjector=s.injector,this.processRoutes(s.injector??e,s.routes))));if(i.loadComponent&&!i._loadedComponent){let s=this.loader.loadComponent(i);return Ft([a,s]).pipe(eo())}else return a})}};t.\u0275fac=function(i){return new(i||t)(b(Qt),b(kr),b(hi),b(ta),b(gl))},t.\u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})(),ah=new C(""),Pb=(()=>{let t=class t{constructor(e,i,o,a,s={}){this.urlSerializer=e,this.transitions=i,this.viewportScroller=o,this.zone=a,this.options=s,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},this.environmentInjector=_(hi),s.scrollPositionRestoration||="disabled",s.anchorScrolling||="disabled"}init(){this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(e=>{e instanceof vn?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof Se?(this.lastId=e.id,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.urlAfterRedirects).fragment)):e instanceof vi&&e.code===Wr.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(e=>{e instanceof qr&&(e.position?this.options.scrollPositionRestoration==="top"?this.viewportScroller.scrollToPosition([0,0]):this.options.scrollPositionRestoration==="enabled"&&this.viewportScroller.scrollToPosition(e.position):e.anchor&&this.options.anchorScrolling==="enabled"?this.viewportScroller.scrollToAnchor(e.anchor):this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(e,i){this.zone.runOutsideAngular(()=>Nt(this,null,function*(){yield new Promise(o=>{setTimeout(()=>{o()}),fs(()=>{o()},{injector:this.environmentInjector})}),this.zone.run(()=>{this.transitions.events.next(new qr(e,this.lastSource==="popstate"?this.store[this.restoredId]:null,i))})}))}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}};t.\u0275fac=function(i){dn()},t.\u0275prov=w({token:t,factory:t.\u0275fac});let n=t;return n})();function sh(n,...t){return ui([{provide:jo,multi:!0,useValue:n},[],{provide:yi,useFactory:lh,deps:[Qt]},{provide:so,multi:!0,useFactory:ch},t.map(r=>r.\u0275providers)])}function lh(n){return n.routerState.root}function Wo(n,t){return{\u0275kind:n,\u0275providers:t}}function ch(){let n=_(mi);return t=>{let r=n.get(Bi);if(t!==r.components[0])return;let e=n.get(Qt),i=n.get(dh);n.get(vl)===1&&e.initialNavigation(),n.get(uh,null,hs.Optional)?.setUpPreloading(),n.get(ah,null,hs.Optional)?.init(),e.resetRootComponentType(r.componentTypes[0]),i.closed||(i.next(),i.complete(),i.unsubscribe())}}var dh=new C("",{factory:()=>new N}),vl=new C("",{providedIn:"root",factory:()=>1});function Nb(){return Wo(2,[{provide:vl,useValue:0},{provide:bs,multi:!0,deps:[mi],useFactory:t=>{let r=t.get(Md,Promise.resolve());return()=>r.then(()=>new Promise(e=>{let i=t.get(Qt),o=t.get(dh);oh(i,()=>{e(!0)}),t.get(_l).afterPreactivation=()=>(e(!0),o.closed?A(void 0):o),i.initialNavigation()}))}}])}function Lb(){return Wo(3,[{provide:bs,multi:!0,useFactory:()=>{let t=_(Qt);return()=>{t.setUpLocationChangeListener()}}},{provide:vl,useValue:2}])}var uh=new C("");function jb(n){return Wo(0,[{provide:uh,useExisting:Fb},{provide:ta,useExisting:n}])}function Vb(){return Wo(8,[Iu,{provide:ea,useExisting:Iu}])}function zb(n){let t=[{provide:eh,useValue:wb},{provide:ih,useValue:x({skipNextTransition:!!n?.skipInitialTransition},n)}];return Wo(9,t)}var Eu=new C("ROUTER_FORROOT_GUARD"),Bb=[$i,{provide:zo,useClass:Ro},Qt,Bo,{provide:yi,useFactory:lh,deps:[Qt]},gl,[]],hh=(()=>{let t=class t{constructor(e){}static forRoot(e,i){return{ngModule:t,providers:[Bb,[],{provide:jo,multi:!0,useValue:e},{provide:Eu,useFactory:Wb,deps:[[Qt,new sn,new io]]},{provide:$o,useValue:i||{}},i?.useHash?Ub():$b(),Hb(),i?.preloadingStrategy?jb(i.preloadingStrategy).\u0275providers:[],i?.initialNavigation?Gb(i):[],i?.bindToComponentInputs?Vb().\u0275providers:[],i?.enableViewTransitions?zb().\u0275providers:[],qb()]}}static forChild(e){return{ngModule:t,providers:[{provide:jo,multi:!0,useValue:e}]}}};t.\u0275fac=function(i){return new(i||t)(b(Eu,8))},t.\u0275mod=W({type:t}),t.\u0275inj=$({});let n=t;return n})();function Hb(){return{provide:ah,useFactory:()=>{let n=_(Vd),t=_(O),r=_($o),e=_(_l),i=_(zo);return r.scrollOffset&&n.setOffset(r.scrollOffset),new Pb(i,e,n,t,r)}}}function Ub(){return{provide:lo,useClass:Fd}}function $b(){return{provide:lo,useClass:Od}}function Wb(n){return"guarded"}function Gb(n){return[n.initialNavigation==="disabled"?Lb().\u0275providers:[],n.initialNavigation==="enabledBlocking"?Nb().\u0275providers:[]]}var Su=new C("");function qb(){return[{provide:Su,useFactory:ch},{provide:so,multi:!0,useExisting:Su}]}var xl;try{xl=typeof Intl<"u"&&Intl.v8BreakIterator}catch{xl=!1}var at=(()=>{let t=class t{constructor(e){this._platformId=e,this.isBrowser=this._platformId?jd(this._platformId):typeof document=="object"&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!!(window.chrome||xl)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}};t.\u0275fac=function(i){return new(i||t)(b(Oe))},t.\u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})();var wn,fh=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function wl(){if(wn)return wn;if(typeof document!="object"||!document)return wn=new Set(fh),wn;let n=document.createElement("input");return wn=new Set(fh.filter(t=>(n.setAttribute("type",t),n.type===t))),wn}var Go;function Yb(){if(Go==null&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>Go=!0}))}finally{Go=Go||!1}return Go}function we(n){return Yb()?n:!!n.capture}var ke=function(n){return n[n.NORMAL=0]="NORMAL",n[n.NEGATED=1]="NEGATED",n[n.INVERTED=2]="INVERTED",n}(ke||{}),na,Yi;function oa(){if(Yi==null){if(typeof document!="object"||!document||typeof Element!="function"||!Element)return Yi=!1,Yi;if("scrollBehavior"in document.documentElement.style)Yi=!0;else{let n=Element.prototype.scrollTo;n?Yi=!/\{\s*\[native code\]\s*\}/.test(n.toString()):Yi=!1}}return Yi}function Cn(){if(typeof document!="object"||!document)return ke.NORMAL;if(na==null){let n=document.createElement("div"),t=n.style;n.dir="rtl",t.width="1px",t.overflow="auto",t.visibility="hidden",t.pointerEvents="none",t.position="absolute";let r=document.createElement("div"),e=r.style;e.width="2px",e.height="1px",n.appendChild(r),document.body.appendChild(n),na=ke.NORMAL,n.scrollLeft===0&&(n.scrollLeft=1,na=n.scrollLeft===0?ke.NEGATED:ke.INVERTED),n.remove()}return na}var yl;function Qb(){if(yl==null){let n=typeof document<"u"?document.head:null;yl=!!(n&&(n.createShadowRoot||n.attachShadow))}return yl}function ph(n){if(Qb()){let t=n.getRootNode?n.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&t instanceof ShadowRoot)return t}return null}function Cl(){let n=typeof document<"u"&&document?document.activeElement:null;for(;n&&n.shadowRoot;){let t=n.shadowRoot.activeElement;if(t===n)break;n=t}return n}function oe(n){return n.composedPath?n.composedPath()[0]:n.target}function qo(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}function Lt(n,...t){return t.length?t.some(r=>n[r]):n.altKey||n.shiftKey||n.ctrlKey||n.metaKey}function ze(n){return n!=null&&`${n}`!="false"}function wi(n,t=0){return Xb(n)?Number(n):t}function Xb(n){return!isNaN(parseFloat(n))&&!isNaN(Number(n))}function In(n){return Array.isArray(n)?n:[n]}function Ot(n){return n==null?"":typeof n=="string"?n:`${n}px`}function re(n){return n instanceof T?n.nativeElement:n}function Zb(n){if(n.type==="characterData"&&n.target instanceof Comment)return!0;if(n.type==="childList"){for(let t=0;t{let t=class t{create(e){return typeof MutationObserver>"u"?null:new MutationObserver(e)}};t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})(),Kb=(()=>{let t=class t{constructor(e){this._mutationObserverFactory=e,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((e,i)=>this._cleanupObserver(i))}observe(e){let i=re(e);return new Zt(o=>{let s=this._observeElement(i).pipe(G(l=>l.filter(c=>!Zb(c))),_t(l=>!!l.length)).subscribe(o);return()=>{s.unsubscribe(),this._unobserveElement(i)}})}_observeElement(e){if(this._observedElements.has(e))this._observedElements.get(e).count++;else{let i=new N,o=this._mutationObserverFactory.create(a=>i.next(a));o&&o.observe(e,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(e,{observer:o,stream:i,count:1})}return this._observedElements.get(e).stream}_unobserveElement(e){this._observedElements.has(e)&&(this._observedElements.get(e).count--,this._observedElements.get(e).count||this._cleanupObserver(e))}_cleanupObserver(e){if(this._observedElements.has(e)){let{observer:i,stream:o}=this._observedElements.get(e);i&&i.disconnect(),o.complete(),this._observedElements.delete(e)}}};t.\u0275fac=function(i){return new(i||t)(b(gh))},t.\u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})(),bh=(()=>{let t=class t{get disabled(){return this._disabled}set disabled(e){this._disabled=e,this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(e){this._debounce=wi(e),this._subscribe()}constructor(e,i,o){this._contentObserver=e,this._elementRef=i,this._ngZone=o,this.event=new z,this._disabled=!1,this._currentSubscription=null}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();let e=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?e.pipe(rn(this.debounce)):e).subscribe(this.event)})}_unsubscribe(){this._currentSubscription?.unsubscribe()}};t.\u0275fac=function(i){return new(i||t)(d(Kb),d(T),d(O))},t.\u0275dir=y({type:t,selectors:[["","cdkObserveContent",""]],inputs:{disabled:[m.HasDecoratorInputTransform,"cdkObserveContentDisabled","disabled",M],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"],standalone:!0,features:[lt]});let n=t;return n})(),ra=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=W({type:t}),t.\u0275inj=$({providers:[gh]});let n=t;return n})();var _h=new Set,Qi,Jb=(()=>{let t=class t{constructor(e,i){this._platform=e,this._nonce=i,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):e_}matchMedia(e){return(this._platform.WEBKIT||this._platform.BLINK)&&t_(e,this._nonce),this._matchMedia(e)}};t.\u0275fac=function(i){return new(i||t)(b(at),b(ro,8))},t.\u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})();function t_(n,t){if(!_h.has(n))try{Qi||(Qi=document.createElement("style"),t&&Qi.setAttribute("nonce",t),Qi.setAttribute("type","text/css"),document.head.appendChild(Qi)),Qi.sheet&&(Qi.sheet.insertRule(`@media ${n} {body{ }}`,0),_h.add(n))}catch(r){console.error(r)}}function e_(n){return{matches:n==="all"||n==="",media:n,addListener:()=>{},removeListener:()=>{}}}var yh=(()=>{let t=class t{constructor(e,i){this._mediaMatcher=e,this._zone=i,this._queries=new Map,this._destroySubject=new N}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(e){return vh(In(e)).some(o=>this._registerQuery(o).mql.matches)}observe(e){let o=vh(In(e)).map(s=>this._registerQuery(s).observable),a=on(o);return a=_r(a.pipe(wt(1)),a.pipe(an(1),rn(0))),a.pipe(G(s=>{let l={matches:!1,breakpoints:{}};return s.forEach(({matches:c,query:u})=>{l.matches=l.matches||c,l.breakpoints[u]=c}),l}))}_registerQuery(e){if(this._queries.has(e))return this._queries.get(e);let i=this._mediaMatcher.matchMedia(e),a={observable:new Zt(s=>{let l=c=>this._zone.run(()=>s.next(c));return i.addListener(l),()=>{i.removeListener(l)}}).pipe(Tt(i),G(({matches:s})=>({query:e,matches:s})),Z(this._destroySubject)),mql:i};return this._queries.set(e,a),a}};t.\u0275fac=function(i){return new(i||t)(b(Jb),b(O))},t.\u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})();function vh(n){return n.map(t=>t.split(",")).reduce((t,r)=>t.concat(r)).map(t=>t.trim())}var Ih=" ";function Tn(n,t,r){let e=ca(n,t);r=r.trim(),!e.some(i=>i.trim()===r)&&(e.push(r),n.setAttribute(t,e.join(Ih)))}function Ci(n,t,r){let e=ca(n,t);r=r.trim();let i=e.filter(o=>o!==r);i.length?n.setAttribute(t,i.join(Ih)):n.removeAttribute(t)}function ca(n,t){return n.getAttribute(t)?.match(/\S+/g)??[]}var Dh="cdk-describedby-message",aa="cdk-describedby-host",El=0,Eh=(()=>{let t=class t{constructor(e,i){this._platform=i,this._messageRegistry=new Map,this._messagesContainer=null,this._id=`${El++}`,this._document=e,this._id=_(oo)+"-"+El++}describe(e,i,o){if(!this._canBeDescribed(e,i))return;let a=Il(i,o);typeof i!="string"?(xh(i,this._id),this._messageRegistry.set(a,{messageElement:i,referenceCount:0})):this._messageRegistry.has(a)||this._createMessageElement(i,o),this._isElementDescribedByMessage(e,a)||this._addMessageReference(e,a)}removeDescription(e,i,o){if(!i||!this._isElementNode(e))return;let a=Il(i,o);if(this._isElementDescribedByMessage(e,a)&&this._removeMessageReference(e,a),typeof i=="string"){let s=this._messageRegistry.get(a);s&&s.referenceCount===0&&this._deleteMessageElement(a)}this._messagesContainer?.childNodes.length===0&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){let e=this._document.querySelectorAll(`[${aa}="${this._id}"]`);for(let i=0;io.indexOf(Dh)!=0);e.setAttribute("aria-describedby",i.join(" "))}_addMessageReference(e,i){let o=this._messageRegistry.get(i);Tn(e,"aria-describedby",o.messageElement.id),e.setAttribute(aa,this._id),o.referenceCount++}_removeMessageReference(e,i){let o=this._messageRegistry.get(i);o.referenceCount--,Ci(e,"aria-describedby",o.messageElement.id),e.removeAttribute(aa)}_isElementDescribedByMessage(e,i){let o=ca(e,"aria-describedby"),a=this._messageRegistry.get(i),s=a&&a.messageElement.id;return!!s&&o.indexOf(s)!=-1}_canBeDescribed(e,i){if(!this._isElementNode(e))return!1;if(i&&typeof i=="object")return!0;let o=i==null?"":`${i}`.trim(),a=e.getAttribute("aria-label");return o?!a||a.trim()!==o:!1}_isElementNode(e){return e.nodeType===this._document.ELEMENT_NODE}};t.\u0275fac=function(i){return new(i||t)(b(q),b(at))},t.\u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})();function Il(n,t){return typeof n=="string"?`${t||""}/${n}`:n}function xh(n,t){n.id||(n.id=`${Dh}-${t}-${El++}`)}var da=class{constructor(t,r){this._items=t,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new N,this._typeaheadSubscription=xt.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._pageUpAndDown={enabled:!1,delta:10},this._skipPredicateFn=e=>e.disabled,this._pressedLetters=[],this.tabOut=new N,this.change=new N,t instanceof Ae?this._itemChangesSubscription=t.changes.subscribe(e=>this._itemsChanged(e.toArray())):ps(t)&&(this._effectRef=Sd(()=>this._itemsChanged(t()),{injector:r}))}skipPredicate(t){return this._skipPredicateFn=t,this}withWrap(t=!0){return this._wrap=t,this}withVerticalOrientation(t=!0){return this._vertical=t,this}withHorizontalOrientation(t){return this._horizontal=t,this}withAllowedModifierKeys(t){return this._allowedModifierKeys=t,this}withTypeAhead(t=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe(vt(r=>this._pressedLetters.push(r)),rn(t),_t(()=>this._pressedLetters.length>0),G(()=>this._pressedLetters.join(""))).subscribe(r=>{let e=this._getItemsArray();for(let i=1;i!t[o]||this._allowedModifierKeys.indexOf(o)>-1);switch(r){case 9:this.tabOut.next();return;case 40:if(this._vertical&&i){this.setNextItemActive();break}else return;case 38:if(this._vertical&&i){this.setPreviousItemActive();break}else return;case 39:if(this._horizontal&&i){this._horizontal==="rtl"?this.setPreviousItemActive():this.setNextItemActive();break}else return;case 37:if(this._horizontal&&i){this._horizontal==="rtl"?this.setNextItemActive():this.setPreviousItemActive();break}else return;case 36:if(this._homeAndEnd&&i){this.setFirstItemActive();break}else return;case 35:if(this._homeAndEnd&&i){this.setLastItemActive();break}else return;case 33:if(this._pageUpAndDown.enabled&&i){let o=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(o>0?o:0,1);break}else return;case 34:if(this._pageUpAndDown.enabled&&i){let o=this._activeItemIndex+this._pageUpAndDown.delta,a=this._getItemsArray().length;this._setActiveItemByIndex(o=65&&r<=90||r>=48&&r<=57)&&this._letterKeyStream.next(String.fromCharCode(r)));return}this._pressedLetters=[],t.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}isTyping(){return this._pressedLetters.length>0}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._getItemsArray().length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(t){let r=this._getItemsArray(),e=typeof t=="number"?t:r.indexOf(t),i=r[e];this._activeItem=i??null,this._activeItemIndex=e}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._effectRef?.destroy(),this._letterKeyStream.complete(),this.tabOut.complete(),this.change.complete(),this._pressedLetters=[]}_setActiveItemByDelta(t){this._wrap?this._setActiveInWrapMode(t):this._setActiveInDefaultMode(t)}_setActiveInWrapMode(t){let r=this._getItemsArray();for(let e=1;e<=r.length;e++){let i=(this._activeItemIndex+t*e+r.length)%r.length,o=r[i];if(!this._skipPredicateFn(o)){this.setActiveItem(i);return}}}_setActiveInDefaultMode(t){this._setActiveItemByIndex(this._activeItemIndex+t,t)}_setActiveItemByIndex(t,r){let e=this._getItemsArray();if(e[t]){for(;this._skipPredicateFn(e[t]);)if(t+=r,!e[t])return;this.setActiveItem(t)}}_getItemsArray(){return ps(this._items)?this._items():this._items instanceof Ae?this._items.toArray():this._items}_itemsChanged(t){if(this._activeItem){let r=t.indexOf(this._activeItem);r>-1&&r!==this._activeItemIndex&&(this._activeItemIndex=r)}}},En=class extends da{setActiveItem(t){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(t),this.activeItem&&this.activeItem.setActiveStyles()}},Sn=class extends da{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(t){return this._origin=t,this}setActiveItem(t){super.setActiveItem(t),this.activeItem&&this.activeItem.focus(this._origin)}};function Ml(n){return n.buttons===0||n.detail===0}function Al(n){let t=n.touches&&n.touches[0]||n.changedTouches&&n.changedTouches[0];return!!t&&t.identifier===-1&&(t.radiusX==null||t.radiusX===1)&&(t.radiusY==null||t.radiusY===1)}var f_=new C("cdk-input-modality-detector-options"),p_={ignoreKeys:[18,17,224,91,16]},Sh=650,Dn=we({passive:!0,capture:!0}),g_=(()=>{let t=class t{get mostRecentModality(){return this._modality.value}constructor(e,i,o,a){this._platform=e,this._mostRecentTarget=null,this._modality=new $t(null),this._lastTouchMs=0,this._onKeydown=s=>{this._options?.ignoreKeys?.some(l=>l===s.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=oe(s))},this._onMousedown=s=>{Date.now()-this._lastTouchMs{if(Al(s)){this._modality.next("keyboard");return}this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=oe(s)},this._options=x(x({},p_),a),this.modalityDetected=this._modality.pipe(an(1)),this.modalityChanged=this.modalityDetected.pipe(Xe()),e.isBrowser&&i.runOutsideAngular(()=>{o.addEventListener("keydown",this._onKeydown,Dn),o.addEventListener("mousedown",this._onMousedown,Dn),o.addEventListener("touchstart",this._onTouchstart,Dn)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,Dn),document.removeEventListener("mousedown",this._onMousedown,Dn),document.removeEventListener("touchstart",this._onTouchstart,Dn))}};t.\u0275fac=function(i){return new(i||t)(b(at),b(O),b(q),b(f_,8))},t.\u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})(),b_=new C("liveAnnouncerElement",{providedIn:"root",factory:__});function __(){return null}var v_=new C("LIVE_ANNOUNCER_DEFAULT_OPTIONS"),y_=0,kh=(()=>{let t=class t{constructor(e,i,o,a){this._ngZone=i,this._defaultOptions=a,this._document=o,this._liveElement=e||this._createLiveElement()}announce(e,...i){let o=this._defaultOptions,a,s;return i.length===1&&typeof i[0]=="number"?s=i[0]:[a,s]=i,this.clear(),clearTimeout(this._previousTimeout),a||(a=o&&o.politeness?o.politeness:"polite"),s==null&&o&&(s=o.duration),this._liveElement.setAttribute("aria-live",a),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(l=>this._currentResolve=l)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=e,typeof s=="number"&&(this._previousTimeout=setTimeout(()=>this.clear(),s)),this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement?.remove(),this._liveElement=null,this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){let e="cdk-live-announcer-element",i=this._document.getElementsByClassName(e),o=this._document.createElement("div");for(let a=0;a .cdk-overlay-container [aria-modal="true"]');for(let o=0;o{let t=class t{constructor(e,i,o,a,s){this._ngZone=e,this._platform=i,this._inputModalityDetector=o,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=window.setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new N,this._rootNodeFocusAndBlurListener=l=>{let c=oe(l);for(let u=c;u;u=u.parentElement)l.type==="focus"?this._onFocus(l,u):this._onBlur(l,u)},this._document=a,this._detectionMode=s?.detectionMode||la.IMMEDIATE}monitor(e,i=!1){let o=re(e);if(!this._platform.isBrowser||o.nodeType!==1)return A();let a=ph(o)||this._getDocument(),s=this._elementInfo.get(o);if(s)return i&&(s.checkChildren=!0),s.subject;let l={checkChildren:i,subject:new N,rootNode:a};return this._elementInfo.set(o,l),this._registerGlobalListeners(l),l.subject}stopMonitoring(e){let i=re(e),o=this._elementInfo.get(i);o&&(o.subject.complete(),this._setClasses(i),this._elementInfo.delete(i),this._removeGlobalListeners(o))}focusVia(e,i,o){let a=re(e),s=this._getDocument().activeElement;a===s?this._getClosestElementsInfo(a).forEach(([l,c])=>this._originChanged(l,i,c)):(this._setOrigin(i),typeof a.focus=="function"&&a.focus(o))}ngOnDestroy(){this._elementInfo.forEach((e,i)=>this.stopMonitoring(i))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(e){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(e)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:e&&this._isLastInteractionFromInputLabel(e)?"mouse":"program"}_shouldBeAttributedToTouch(e){return this._detectionMode===la.EVENTUAL||!!e?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(e,i){e.classList.toggle("cdk-focused",!!i),e.classList.toggle("cdk-touch-focused",i==="touch"),e.classList.toggle("cdk-keyboard-focused",i==="keyboard"),e.classList.toggle("cdk-mouse-focused",i==="mouse"),e.classList.toggle("cdk-program-focused",i==="program")}_setOrigin(e,i=!1){this._ngZone.runOutsideAngular(()=>{if(this._origin=e,this._originFromTouchInteraction=e==="touch"&&i,this._detectionMode===la.IMMEDIATE){clearTimeout(this._originTimeoutId);let o=this._originFromTouchInteraction?Sh:1;this._originTimeoutId=setTimeout(()=>this._origin=null,o)}})}_onFocus(e,i){let o=this._elementInfo.get(i),a=oe(e);!o||!o.checkChildren&&i!==a||this._originChanged(i,this._getFocusOrigin(a),o)}_onBlur(e,i){let o=this._elementInfo.get(i);!o||o.checkChildren&&e.relatedTarget instanceof Node&&i.contains(e.relatedTarget)||(this._setClasses(i),this._emitOrigin(o,null))}_emitOrigin(e,i){e.subject.observers.length&&this._ngZone.run(()=>e.subject.next(i))}_registerGlobalListeners(e){if(!this._platform.isBrowser)return;let i=e.rootNode,o=this._rootNodeFocusListenerCount.get(i)||0;o||this._ngZone.runOutsideAngular(()=>{i.addEventListener("focus",this._rootNodeFocusAndBlurListener,sa),i.addEventListener("blur",this._rootNodeFocusAndBlurListener,sa)}),this._rootNodeFocusListenerCount.set(i,o+1),++this._monitoredElementCount===1&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(Z(this._stopInputModalityDetector)).subscribe(a=>{this._setOrigin(a,!0)}))}_removeGlobalListeners(e){let i=e.rootNode;if(this._rootNodeFocusListenerCount.has(i)){let o=this._rootNodeFocusListenerCount.get(i);o>1?this._rootNodeFocusListenerCount.set(i,o-1):(i.removeEventListener("focus",this._rootNodeFocusAndBlurListener,sa),i.removeEventListener("blur",this._rootNodeFocusAndBlurListener,sa),this._rootNodeFocusListenerCount.delete(i))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(e,i,o){this._setClasses(e,i),this._emitOrigin(o,i),this._lastFocusOrigin=i}_getClosestElementsInfo(e){let i=[];return this._elementInfo.forEach((o,a)=>{(a===e||o.checkChildren&&a.contains(e))&&i.push([a,o])}),i}_isLastInteractionFromInputLabel(e){let{_mostRecentTarget:i,mostRecentModality:o}=this._inputModalityDetector;if(o!=="mouse"||!i||i===e||e.nodeName!=="INPUT"&&e.nodeName!=="TEXTAREA"||e.disabled)return!1;let a=e.labels;if(a){for(let s=0;s{let t=class t{constructor(e,i){this._elementRef=e,this._focusMonitor=i,this._focusOrigin=null,this.cdkFocusChange=new z}get focusOrigin(){return this._focusOrigin}ngAfterViewInit(){let e=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(e,e.nodeType===1&&e.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(i=>{this._focusOrigin=i,this.cdkFocusChange.emit(i)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}};t.\u0275fac=function(i){return new(i||t)(d(T),d(Je))},t.\u0275dir=y({type:t,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"],standalone:!0});let n=t;return n})(),Xi=function(n){return n[n.NONE=0]="NONE",n[n.BLACK_ON_WHITE=1]="BLACK_ON_WHITE",n[n.WHITE_ON_BLACK=2]="WHITE_ON_BLACK",n}(Xi||{}),wh="cdk-high-contrast-black-on-white",Ch="cdk-high-contrast-white-on-black",Dl="cdk-high-contrast-active",Ol=(()=>{let t=class t{constructor(e,i){this._platform=e,this._document=i,this._breakpointSubscription=_(yh).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return Xi.NONE;let e=this._document.createElement("div");e.style.backgroundColor="rgb(1,2,3)",e.style.position="absolute",this._document.body.appendChild(e);let i=this._document.defaultView||window,o=i&&i.getComputedStyle?i.getComputedStyle(e):null,a=(o&&o.backgroundColor||"").replace(/ /g,"");switch(e.remove(),a){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return Xi.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return Xi.BLACK_ON_WHITE}return Xi.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){let e=this._document.body.classList;e.remove(Dl,wh,Ch),this._hasCheckedHighContrastMode=!0;let i=this.getHighContrastMode();i===Xi.BLACK_ON_WHITE?e.add(Dl,wh):i===Xi.WHITE_ON_BLACK&&e.add(Dl,Ch)}}};t.\u0275fac=function(i){return new(i||t)(b(at),b(q))},t.\u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})(),ua=(()=>{let t=class t{constructor(e){e._applyBodyHighContrastModeCssClasses()}};t.\u0275fac=function(i){return new(i||t)(b(Ol))},t.\u0275mod=W({type:t}),t.\u0275inj=$({imports:[ra]});let n=t;return n})();var w_=new C("cdk-dir-doc",{providedIn:"root",factory:C_});function C_(){return _(q)}var I_=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function D_(n){let t=n?.toLowerCase()||"";return t==="auto"&&typeof navigator<"u"&&navigator?.language?I_.test(navigator.language)?"rtl":"ltr":t==="rtl"?"rtl":"ltr"}var kt=(()=>{let t=class t{constructor(e){if(this.value="ltr",this.change=new z,e){let i=e.body?e.body.dir:null,o=e.documentElement?e.documentElement.dir:null;this.value=D_(i||o||"ltr")}}ngOnDestroy(){this.change.complete()}};t.\u0275fac=function(i){return new(i||t)(b(w_,8))},t.\u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})();var Be=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=W({type:t}),t.\u0275inj=$({});let n=t;return n})();var E_=["text"],S_=[[["mat-icon"]],"*"],k_=["mat-icon","*"];function T_(n,t){if(n&1&&P(0,"mat-pseudo-checkbox",1),n&2){let r=R();E("disabled",r.disabled)("state",r.selected?"checked":"unchecked")}}function R_(n,t){if(n&1&&P(0,"mat-pseudo-checkbox",3),n&2){let r=R();E("disabled",r.disabled)}}function M_(n,t){if(n&1&&(h(0,"span",4),D(1),f()),n&2){let r=R();g(),Yt("(",r.group.label,")")}}var A_=["mat-internal-form-field",""],O_=["*"];function F_(){return!0}var P_=new C("mat-sanity-checks",{providedIn:"root",factory:F_}),dt=(()=>{let t=class t{constructor(e,i,o){this._sanityChecks=i,this._document=o,this._hasDoneGlobalChecks=!1,e._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(e){return qo()?!1:typeof this._sanityChecks=="boolean"?this._sanityChecks:!!this._sanityChecks[e]}};t.\u0275fac=function(i){return new(i||t)(b(Ol),b(P_,8),b(q))},t.\u0275mod=W({type:t}),t.\u0275inj=$({imports:[Be,Be]});let n=t;return n})();var Rn=class{constructor(t,r,e,i,o){this._defaultMatcher=t,this.ngControl=r,this._parentFormGroup=e,this._parentForm=i,this._stateChanges=o,this.errorState=!1}updateErrorState(){let t=this.errorState,r=this._parentFormGroup||this._parentForm,e=this.matcher||this._defaultMatcher,i=this.ngControl?this.ngControl.control:null,o=e?.isErrorState(i,r)??!1;o!==t&&(this.errorState=o,this._stateChanges.next())}};var ti=(()=>{let t=class t{isErrorState(e,i){return!!(e&&e.invalid&&(e.touched||i&&i.submitted))}};t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})();var Ce=function(n){return n[n.FADING_IN=0]="FADING_IN",n[n.VISIBLE=1]="VISIBLE",n[n.FADING_OUT=2]="FADING_OUT",n[n.HIDDEN=3]="HIDDEN",n}(Ce||{}),Nl=class{constructor(t,r,e,i=!1){this._renderer=t,this.element=r,this.config=e,this._animationForciblyDisabledThroughCss=i,this.state=Ce.HIDDEN}fadeOut(){this._renderer.fadeOutRipple(this)}},Rh=we({passive:!0,capture:!0}),Ll=class{constructor(){this._events=new Map,this._delegateEventHandler=t=>{let r=oe(t);r&&this._events.get(t.type)?.forEach((e,i)=>{(i===r||i.contains(r))&&e.forEach(o=>o.handleEvent(t))})}}addHandler(t,r,e,i){let o=this._events.get(r);if(o){let a=o.get(e);a?a.add(i):o.set(e,new Set([i]))}else this._events.set(r,new Map([[e,new Set([i])]])),t.runOutsideAngular(()=>{document.addEventListener(r,this._delegateEventHandler,Rh)})}removeHandler(t,r,e){let i=this._events.get(t);if(!i)return;let o=i.get(r);o&&(o.delete(e),o.size===0&&i.delete(r),i.size===0&&(this._events.delete(t),document.removeEventListener(t,this._delegateEventHandler,Rh)))}},Mh={enterDuration:225,exitDuration:150},N_=800,Ah=we({passive:!0,capture:!0}),Oh=["mousedown","touchstart"],Fh=["mouseup","mouseleave","touchend","touchcancel"],Qo=class Qo{constructor(t,r,e,i){this._target=t,this._ngZone=r,this._platform=i,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,i.isBrowser&&(this._containerElement=re(e))}fadeInRipple(t,r,e={}){let i=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),o=x(x({},Mh),e.animation);e.centered&&(t=i.left+i.width/2,r=i.top+i.height/2);let a=e.radius||L_(t,r,i),s=t-i.left,l=r-i.top,c=o.enterDuration,u=document.createElement("div");u.classList.add("mat-ripple-element"),u.style.left=`${s-a}px`,u.style.top=`${l-a}px`,u.style.height=`${a*2}px`,u.style.width=`${a*2}px`,e.color!=null&&(u.style.backgroundColor=e.color),u.style.transitionDuration=`${c}ms`,this._containerElement.appendChild(u);let p=window.getComputedStyle(u),v=p.transitionProperty,I=p.transitionDuration,L=v==="none"||I==="0s"||I==="0s, 0s"||i.width===0&&i.height===0,et=new Nl(this,u,e,L);u.style.transform="scale3d(1, 1, 1)",et.state=Ce.FADING_IN,e.persistent||(this._mostRecentTransientRipple=et);let U=null;return!L&&(c||o.exitDuration)&&this._ngZone.runOutsideAngular(()=>{let Y=()=>this._finishRippleTransition(et),Mt=()=>this._destroyRipple(et);u.addEventListener("transitionend",Y),u.addEventListener("transitioncancel",Mt),U={onTransitionEnd:Y,onTransitionCancel:Mt}}),this._activeRipples.set(et,U),(L||!c)&&this._finishRippleTransition(et),et}fadeOutRipple(t){if(t.state===Ce.FADING_OUT||t.state===Ce.HIDDEN)return;let r=t.element,e=x(x({},Mh),t.config.animation);r.style.transitionDuration=`${e.exitDuration}ms`,r.style.opacity="0",t.state=Ce.FADING_OUT,(t._animationForciblyDisabledThroughCss||!e.exitDuration)&&this._finishRippleTransition(t)}fadeOutAll(){this._getActiveRipples().forEach(t=>t.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(t=>{t.config.persistent||t.fadeOut()})}setupTriggerEvents(t){let r=re(t);!this._platform.isBrowser||!r||r===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=r,Oh.forEach(e=>{Qo._eventManager.addHandler(this._ngZone,e,r,this)}))}handleEvent(t){t.type==="mousedown"?this._onMousedown(t):t.type==="touchstart"?this._onTouchStart(t):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{Fh.forEach(r=>{this._triggerElement.addEventListener(r,this,Ah)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(t){t.state===Ce.FADING_IN?this._startFadeOutTransition(t):t.state===Ce.FADING_OUT&&this._destroyRipple(t)}_startFadeOutTransition(t){let r=t===this._mostRecentTransientRipple,{persistent:e}=t.config;t.state=Ce.VISIBLE,!e&&(!r||!this._isPointerDown)&&t.fadeOut()}_destroyRipple(t){let r=this._activeRipples.get(t)??null;this._activeRipples.delete(t),this._activeRipples.size||(this._containerRect=null),t===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),t.state=Ce.HIDDEN,r!==null&&(t.element.removeEventListener("transitionend",r.onTransitionEnd),t.element.removeEventListener("transitioncancel",r.onTransitionCancel)),t.element.remove()}_onMousedown(t){let r=Ml(t),e=this._lastTouchStartEvent&&Date.now(){let r=t.state===Ce.VISIBLE||t.config.terminateOnPointerUp&&t.state===Ce.FADING_IN;!t.config.persistent&&r&&t.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){let t=this._triggerElement;t&&(Oh.forEach(r=>Qo._eventManager.removeHandler(r,t,this)),this._pointerUpEventsRegistered&&(Fh.forEach(r=>t.removeEventListener(r,this,Ah)),this._pointerUpEventsRegistered=!1))}};Qo._eventManager=new Ll;var jl=Qo;function L_(n,t,r){let e=Math.max(Math.abs(n-r.left),Math.abs(n-r.right)),i=Math.max(Math.abs(t-r.top),Math.abs(t-r.bottom));return Math.sqrt(e*e+i*i)}var Vl=new C("mat-ripple-global-options"),ei=(()=>{let t=class t{get disabled(){return this._disabled}set disabled(e){e&&this.fadeOutAllNonPersistent(),this._disabled=e,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(e){this._trigger=e,this._setupTriggerEventsIfEnabled()}constructor(e,i,o,a,s){this._elementRef=e,this._animationMode=s,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=a||{},this._rippleRenderer=new jl(this,i,e,o)}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:x(x(x({},this._globalOptions.animation),this._animationMode==="NoopAnimations"?{enterDuration:0,exitDuration:0}:{}),this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(e,i=0,o){return typeof e=="number"?this._rippleRenderer.fadeInRipple(e,i,x(x({},this.rippleConfig),o)):this._rippleRenderer.fadeInRipple(0,0,x(x({},this.rippleConfig),e))}};t.\u0275fac=function(i){return new(i||t)(d(T),d(O),d(at),d(Vl,8),d(Rt,8))},t.\u0275dir=y({type:t,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(i,o){i&2&&B("mat-ripple-unbounded",o.unbounded)},inputs:{color:[m.None,"matRippleColor","color"],unbounded:[m.None,"matRippleUnbounded","unbounded"],centered:[m.None,"matRippleCentered","centered"],radius:[m.None,"matRippleRadius","radius"],animation:[m.None,"matRippleAnimation","animation"],disabled:[m.None,"matRippleDisabled","disabled"],trigger:[m.None,"matRippleTrigger","trigger"]},exportAs:["matRipple"],standalone:!0});let n=t;return n})(),Zo=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=W({type:t}),t.\u0275inj=$({imports:[dt,dt]});let n=t;return n})(),j_=(()=>{let t=class t{constructor(e){this._animationMode=e,this.state="unchecked",this.disabled=!1,this.appearance="full"}};t.\u0275fac=function(i){return new(i||t)(d(Rt,8))},t.\u0275cmp=j({type:t,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(i,o){i&2&&B("mat-pseudo-checkbox-indeterminate",o.state==="indeterminate")("mat-pseudo-checkbox-checked",o.state==="checked")("mat-pseudo-checkbox-disabled",o.disabled)("mat-pseudo-checkbox-minimal",o.appearance==="minimal")("mat-pseudo-checkbox-full",o.appearance==="full")("_mat-animation-noopable",o._animationMode==="NoopAnimations")},inputs:{state:"state",disabled:"disabled",appearance:"appearance"},standalone:!0,features:[V],decls:0,vars:0,template:function(i,o){},styles:['.mat-pseudo-checkbox{border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox._mat-animation-noopable{transition:none !important;animation:none !important}.mat-pseudo-checkbox._mat-animation-noopable::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{left:1px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{left:1px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-minimal-pseudo-checkbox-selected-checkmark-color)}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color)}.mat-pseudo-checkbox-full{border-color:var(--mat-full-pseudo-checkbox-unselected-icon-color);border-width:2px;border-style:solid}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-disabled{border-color:var(--mat-full-pseudo-checkbox-disabled-unselected-icon-color)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate{background-color:var(--mat-full-pseudo-checkbox-selected-icon-color);border-color:rgba(0,0,0,0)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-full-pseudo-checkbox-selected-checkmark-color)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled{background-color:var(--mat-full-pseudo-checkbox-disabled-selected-icon-color)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-full-pseudo-checkbox-disabled-selected-checkmark-color)}.mat-pseudo-checkbox{width:18px;height:18px}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after{width:14px;height:6px;transform-origin:center;top:-4.2426406871px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{top:8px;width:16px}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after{width:10px;height:4px;transform-origin:center;top:-2.8284271247px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{top:6px;width:12px}'],encapsulation:2,changeDetection:0});let n=t;return n})(),V_=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=W({type:t}),t.\u0275inj=$({imports:[dt]});let n=t;return n})(),Ko=new C("MAT_OPTION_PARENT_COMPONENT");var Jo=new C("MatOptgroup");var z_=0,Xo=class{constructor(t,r=!1){this.source=t,this.isUserInput=r}},Di=(()=>{let t=class t{get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(e){this._disabled=e}get disableRipple(){return!!(this._parent&&this._parent.disableRipple)}get hideSingleSelectionIndicator(){return!!(this._parent&&this._parent.hideSingleSelectionIndicator)}constructor(e,i,o,a){this._element=e,this._changeDetectorRef=i,this._parent=o,this.group=a,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id=`mat-option-${z_++}`,this.onSelectionChange=new z,this._stateChanges=new N}get active(){return this._active}get viewValue(){return(this._text?.nativeElement.textContent||"").trim()}select(e=!0){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),e&&this._emitSelectionChangeEvent())}deselect(e=!0){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),e&&this._emitSelectionChangeEvent())}focus(e,i){let o=this._getHostElement();typeof o.focus=="function"&&o.focus(i)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(e){(e.keyCode===13||e.keyCode===32)&&!Lt(e)&&(this._selectViaInteraction(),e.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=this.multiple?!this._selected:!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){let e=this.viewValue;e!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=e)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(e=!1){this.onSelectionChange.emit(new Xo(this,e))}};t.\u0275fac=function(i){return new(i||t)(d(T),d(ft),d(Ko,8),d(Jo,8))},t.\u0275cmp=j({type:t,selectors:[["mat-option"]],viewQuery:function(i,o){if(i&1&&rt(E_,7),i&2){let a;S(a=k())&&(o._text=a.first)}},hostAttrs:["role","option",1,"mat-mdc-option","mdc-list-item"],hostVars:11,hostBindings:function(i,o){i&1&&H("click",function(){return o._selectViaInteraction()})("keydown",function(s){return o._handleKeydown(s)}),i&2&&(ie("id",o.id),nt("aria-selected",o.selected)("aria-disabled",o.disabled.toString()),B("mdc-list-item--selected",o.selected)("mat-mdc-option-multiple",o.multiple)("mat-mdc-option-active",o.active)("mdc-list-item--disabled",o.disabled))},inputs:{value:"value",id:"id",disabled:[m.HasDecoratorInputTransform,"disabled","disabled",M]},outputs:{onSelectionChange:"onSelectionChange"},exportAs:["matOption"],standalone:!0,features:[lt,V],ngContentSelectors:k_,decls:8,vars:5,consts:[["text",""],["aria-hidden","true",1,"mat-mdc-option-pseudo-checkbox",3,"disabled","state"],[1,"mdc-list-item__primary-text"],["state","checked","aria-hidden","true","appearance","minimal",1,"mat-mdc-option-pseudo-checkbox",3,"disabled"],[1,"cdk-visually-hidden"],["aria-hidden","true","mat-ripple","",1,"mat-mdc-option-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled"]],template:function(i,o){i&1&&(mt(S_),F(0,T_,1,2,"mat-pseudo-checkbox",1),J(1),h(2,"span",2,0),J(4,1),f(),F(5,R_,1,1,"mat-pseudo-checkbox",3)(6,M_,2,1,"span",4),P(7,"div",5)),i&2&&(K(0,o.multiple?0:-1),g(5),K(5,!o.multiple&&o.selected&&!o.hideSingleSelectionIndicator?5:-1),g(),K(6,o.group&&o.group._inert?6:-1),g(),E("matRippleTrigger",o._getHostElement())("matRippleDisabled",o.disabled||o.disableRipple))},dependencies:[j_,ei],styles:['.mat-mdc-option{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:16px;padding-right:16px;-webkit-user-select:none;user-select:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);color:var(--mat-option-label-text-color);font-family:var(--mat-option-label-text-font);line-height:var(--mat-option-label-text-line-height);font-size:var(--mat-option-label-text-size);letter-spacing:var(--mat-option-label-text-tracking);font-weight:var(--mat-option-label-text-weight);min-height:48px}.mat-mdc-option:focus{outline:none}[dir=rtl] .mat-mdc-option,.mat-mdc-option[dir=rtl]{padding-left:16px;padding-right:16px}.mat-mdc-option:hover:not(.mdc-list-item--disabled){background-color:var(--mat-option-hover-state-layer-color)}.mat-mdc-option:focus.mdc-list-item,.mat-mdc-option.mat-mdc-option-active.mdc-list-item{background-color:var(--mat-option-focus-state-layer-color)}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled) .mdc-list-item__primary-text{color:var(--mat-option-selected-state-label-text-color)}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled):not(.mat-mdc-option-multiple){background-color:var(--mat-option-selected-state-layer-color)}.mat-mdc-option.mdc-list-item{align-items:center;background:rgba(0,0,0,0)}.mat-mdc-option.mdc-list-item--disabled{cursor:default;pointer-events:none}.mat-mdc-option.mdc-list-item--disabled .mat-mdc-option-pseudo-checkbox,.mat-mdc-option.mdc-list-item--disabled .mdc-list-item__primary-text,.mat-mdc-option.mdc-list-item--disabled>mat-icon{opacity:.38}.mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:32px}[dir=rtl] .mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:16px;padding-right:32px}.mat-mdc-option .mat-icon,.mat-mdc-option .mat-pseudo-checkbox-full{margin-right:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-icon,[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-full{margin-right:0;margin-left:16px}.mat-mdc-option .mat-pseudo-checkbox-minimal{margin-left:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-minimal{margin-right:16px;margin-left:0}.mat-mdc-option .mat-mdc-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-option .mdc-list-item__primary-text{white-space:normal;font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;font-family:inherit;text-decoration:inherit;text-transform:inherit;margin-right:auto}[dir=rtl] .mat-mdc-option .mdc-list-item__primary-text{margin-right:0;margin-left:auto}.cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}[dir=rtl] .cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{right:auto;left:16px}.mat-mdc-option-multiple{--mdc-list-list-item-selected-container-color:var(--mdc-list-list-item-container-color, transparent)}.mat-mdc-option-active .mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0});let n=t;return n})();function ma(n,t,r){if(r.length){let e=t.toArray(),i=r.toArray(),o=0;for(let a=0;ar+e?Math.max(0,n-e+t):r}var Mn=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=W({type:t}),t.\u0275inj=$({imports:[Zo,dt,V_]});let n=t;return n})(),Ph={capture:!0},Nh=["focus","click","mouseenter","touchstart"],Fl="mat-ripple-loader-uninitialized",Pl="mat-ripple-loader-class-name",Lh="mat-ripple-loader-centered",ha="mat-ripple-loader-disabled",jh=(()=>{let t=class t{constructor(){this._document=_(q,{optional:!0}),this._animationMode=_(Rt,{optional:!0}),this._globalRippleOptions=_(Vl,{optional:!0}),this._platform=_(at),this._ngZone=_(O),this._hosts=new Map,this._onInteraction=e=>{if(!(e.target instanceof HTMLElement))return;let o=e.target.closest(`[${Fl}]`);o&&this._createRipple(o)},this._ngZone.runOutsideAngular(()=>{for(let e of Nh)this._document?.addEventListener(e,this._onInteraction,Ph)})}ngOnDestroy(){let e=this._hosts.keys();for(let i of e)this.destroyRipple(i);for(let i of Nh)this._document?.removeEventListener(i,this._onInteraction,Ph)}configureRipple(e,i){e.setAttribute(Fl,""),(i.className||!e.hasAttribute(Pl))&&e.setAttribute(Pl,i.className||""),i.centered&&e.setAttribute(Lh,""),i.disabled&&e.setAttribute(ha,"")}getRipple(e){return this._hosts.get(e)||this._createRipple(e)}setDisabled(e,i){let o=this._hosts.get(e);if(o){o.disabled=i;return}i?e.setAttribute(ha,""):e.removeAttribute(ha)}_createRipple(e){if(!this._document)return;let i=this._hosts.get(e);if(i)return i;e.querySelector(".mat-ripple")?.remove();let o=this._document.createElement("span");o.classList.add("mat-ripple",e.getAttribute(Pl)),e.append(o);let a=new ei(new T(o),this._ngZone,this._platform,this._globalRippleOptions?this._globalRippleOptions:void 0,this._animationMode?this._animationMode:void 0);return a._isInitialized=!0,a.trigger=e,a.centered=e.hasAttribute(Lh),a.disabled=e.hasAttribute(ha),this.attachRipple(e,a),a}attachRipple(e,i){e.removeAttribute(Fl),this._hosts.set(e,i)}destroyRipple(e){let i=this._hosts.get(e);i&&(i.ngOnDestroy(),this._hosts.delete(e))}};t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})(),Vh=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275cmp=j({type:t,selectors:[["div","mat-internal-form-field",""]],hostAttrs:[1,"mdc-form-field","mat-internal-form-field"],hostVars:2,hostBindings:function(i,o){i&2&&B("mdc-form-field--align-end",o.labelPosition==="before")},inputs:{labelPosition:"labelPosition"},standalone:!0,features:[V],attrs:A_,ngContentSelectors:O_,decls:1,vars:0,template:function(i,o){i&1&&(mt(),J(0))},styles:[".mdc-form-field{display:inline-flex;align-items:center;vertical-align:middle}.mdc-form-field[hidden]{display:none}.mdc-form-field>label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0;order:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{margin-left:auto;margin-right:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{padding-left:0;padding-right:4px}.mdc-form-field--nowrap>label{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.mdc-form-field--align-end>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px;order:-1}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{margin-left:0;margin-right:auto}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{padding-left:4px;padding-right:0}.mdc-form-field--space-between{justify-content:space-between}.mdc-form-field--space-between>label{margin:0}[dir=rtl] .mdc-form-field--space-between>label,.mdc-form-field--space-between>label[dir=rtl]{margin:0}.mdc-form-field{font-family:var(--mdc-form-field-label-text-font);line-height:var(--mdc-form-field-label-text-line-height);font-size:var(--mdc-form-field-label-text-size);font-weight:var(--mdc-form-field-label-text-weight);letter-spacing:var(--mdc-form-field-label-text-tracking);color:var(--mdc-form-field-label-text-color)}.mat-internal-form-field{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}"],encapsulation:2,changeDetection:0});let n=t;return n})();var B_=["*"],pa;function H_(){if(pa===void 0&&(pa=null,typeof window<"u")){let n=window;n.trustedTypes!==void 0&&(pa=n.trustedTypes.createPolicy("angular#components",{createHTML:t=>t}))}return pa}function er(n){return H_()?.createHTML(n)||n}function zh(n){return Error(`Unable to find icon with the name "${n}"`)}function U_(){return Error("Could not find HttpClient provider for use with Angular Material icons. Please include the HttpClientModule from @angular/common/http in your app imports.")}function Bh(n){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${n}".`)}function Hh(n){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${n}".`)}var ii=class{constructor(t,r,e){this.url=t,this.svgText=r,this.options=e}},$_=(()=>{let t=class t{constructor(e,i,o,a){this._httpClient=e,this._sanitizer=i,this._errorHandler=a,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._resolvers=[],this._defaultFontSetClass=["material-icons","mat-ligature-font"],this._document=o}addSvgIcon(e,i,o){return this.addSvgIconInNamespace("",e,i,o)}addSvgIconLiteral(e,i,o){return this.addSvgIconLiteralInNamespace("",e,i,o)}addSvgIconInNamespace(e,i,o,a){return this._addSvgIconConfig(e,i,new ii(o,null,a))}addSvgIconResolver(e){return this._resolvers.push(e),this}addSvgIconLiteralInNamespace(e,i,o,a){let s=this._sanitizer.sanitize(ce.HTML,o);if(!s)throw Hh(o);let l=er(s);return this._addSvgIconConfig(e,i,new ii("",l,a))}addSvgIconSet(e,i){return this.addSvgIconSetInNamespace("",e,i)}addSvgIconSetLiteral(e,i){return this.addSvgIconSetLiteralInNamespace("",e,i)}addSvgIconSetInNamespace(e,i,o){return this._addSvgIconSetConfig(e,new ii(i,null,o))}addSvgIconSetLiteralInNamespace(e,i,o){let a=this._sanitizer.sanitize(ce.HTML,i);if(!a)throw Hh(i);let s=er(a);return this._addSvgIconSetConfig(e,new ii("",s,o))}registerFontClassAlias(e,i=e){return this._fontCssClassesByAlias.set(e,i),this}classNameForFontAlias(e){return this._fontCssClassesByAlias.get(e)||e}setDefaultFontSetClass(...e){return this._defaultFontSetClass=e,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(e){let i=this._sanitizer.sanitize(ce.RESOURCE_URL,e);if(!i)throw Bh(e);let o=this._cachedIconsByUrl.get(i);return o?A(ga(o)):this._loadSvgIconFromConfig(new ii(e,null)).pipe(vt(a=>this._cachedIconsByUrl.set(i,a)),G(a=>ga(a)))}getNamedSvgIcon(e,i=""){let o=Uh(i,e),a=this._svgIconConfigs.get(o);if(a)return this._getSvgFromConfig(a);if(a=this._getIconConfigFromResolvers(i,e),a)return this._svgIconConfigs.set(o,a),this._getSvgFromConfig(a);let s=this._iconSetConfigs.get(i);return s?this._getSvgFromIconSetConfigs(e,s):Ni(zh(o))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(e){return e.svgText?A(ga(this._svgElementFromConfig(e))):this._loadSvgIconFromConfig(e).pipe(G(i=>ga(i)))}_getSvgFromIconSetConfigs(e,i){let o=this._extractIconWithNameFromAnySet(e,i);if(o)return A(o);let a=i.filter(s=>!s.svgText).map(s=>this._loadSvgIconSetFromConfig(s).pipe(si(l=>{let u=`Loading icon set URL: ${this._sanitizer.sanitize(ce.RESOURCE_URL,s.url)} failed: ${l.message}`;return this._errorHandler.handleError(new Error(u)),A(null)})));return vr(a).pipe(G(()=>{let s=this._extractIconWithNameFromAnySet(e,i);if(!s)throw zh(e);return s}))}_extractIconWithNameFromAnySet(e,i){for(let o=i.length-1;o>=0;o--){let a=i[o];if(a.svgText&&a.svgText.toString().indexOf(e)>-1){let s=this._svgElementFromConfig(a),l=this._extractSvgIconFromSet(s,e,a.options);if(l)return l}}return null}_loadSvgIconFromConfig(e){return this._fetchIcon(e).pipe(vt(i=>e.svgText=i),G(()=>this._svgElementFromConfig(e)))}_loadSvgIconSetFromConfig(e){return e.svgText?A(null):this._fetchIcon(e).pipe(vt(i=>e.svgText=i))}_extractSvgIconFromSet(e,i,o){let a=e.querySelector(`[id="${i}"]`);if(!a)return null;let s=a.cloneNode(!0);if(s.removeAttribute("id"),s.nodeName.toLowerCase()==="svg")return this._setSvgAttributes(s,o);if(s.nodeName.toLowerCase()==="symbol")return this._setSvgAttributes(this._toSvgElement(s),o);let l=this._svgElementFromString(er(""));return l.appendChild(s),this._setSvgAttributes(l,o)}_svgElementFromString(e){let i=this._document.createElement("DIV");i.innerHTML=e;let o=i.querySelector("svg");if(!o)throw Error("