PageSourceSearch

https://www.futurocasadevalores.com/chunk-R424IGMF.js

js futurocasadevalores.com collected 2026-10-04 11:31:26 UTC 161,381 bytes, 2 lines download raw bytes

vendor: 4,979 bytes, line 1
1import{$ as X,$a as Se,$c as Fo,A as te,Aa as Ar,Ac as Ao,B as nn,Ba as Tr,Bc as et,C as xe,Ca as un,Cc as To,Da as Ze,Db as _o,Dc as se,E as Ye,Ea as Qe,Ec as Io,Fa as eo,Fc as Oo,G as rn,Ga as to,Gc as Pr,H as De,Ha as no,Hc as No,I as Dr,Ia as ro,Ic as At,Ja as io,Jc as Po,Ka as oo,Kc as tt,L as qi,La as so,Lc as xo,M as Y,Ma as ke,Mb as Ae,N as on,O as pe,P as y,Q as sn,Qa as ao,Qb as Co,R as ge,S as me,Sb as wo,T as p,Ta as Dt,Tb as bo,U as ne,Ua as co,V as Wi,Va as dn,W as b,Wa as lo,Wb as Nr,X as v,Xa as Mt,Xc as Vo,Y as u,Yc as mn,Z as an,Zc as vn,_ as Xi,_a as uo,a as Li,aa as U,ab as _,b as Bi,bb as ho,bd as xr,c as Et,cb as fo,d as fe,db as po,e as q,fa as Ke,fb as hn,ga as j,gb as go,gc as ve,h as W,ha as Ve,hb as oe,ia as Ji,ib as T,ja as L,ka as Fe,kb as B,l as V,la as Mr,m,ma as cn,mb as Ir,n as $i,na as re,nb as mo,o as Er,oa as Yi,ob as vo,p as Hi,pb as fn,pc as Eo,q as O,qa as x,qb as pn,qc as Ue,r as Rr,ra as ie,rb as Or,rc as Ro,s as ee,sa as K,sb as yo,t as Rt,ta as Ki,tb as St,tc as Do,u as zi,ua as Me,ub as gn,v as tn,va as Zi,w as Gi,wa as Sr,wc as Mo,xa as Qi,ya as ln,yc as je,zc as So}from"./chunk-RMWXOWRI.js";import{a as d,b as M,f as S}from"./chunk-EQDQRRRY.js";var Tt=class{_doc;constructor(t){this._doc=t}manager},yn=(()=>{class n extends Tt{constructor(e){super(e)}supports(e){return!0}addEventListener(e,r,i,o){return e.addEventListener(r,i,o),()=>this.removeEventListener(e,r,i,o)}removeEventListener(e,r,i,o){return e.removeEventListener(r,i,o)}static \u0275fac=function(r){return new(r||n)(v(j))};static \u0275prov=p({token:n,factory:n.\u0275fac})}return n})(),wn=new b(""),Ur=(()=>{class n{_zone;_plugins;_eventNameToPlugin=new Map;constructor(e,r){this._zone=r,e.forEach(s=>{s.manager=this});let i=e.filter(s=>!(s instanceof yn));this._plugins=i.slice().reverse();let o=e.find(s=>s instanceof yn);o&&this._plugins.push(o)}addEventListener(e,r,i,o){return this._findPluginFor(r).addEventListener(e,r,i,o)}getZone(){return this._zone}_findPluginFor(e){let r=this._eventNameToPlugin.get(e);if(r)return r;if(r=this._plugins.find(o=>o.supports(e)),!r)throw new y(5101,!1);return this._eventNameToPlugin.set(e,r),r}static \u0275fac=function(r){return new(r||n)(v(wn),v(Fe))};static \u0275prov=p({token:n,factory:n.\u0275fac})}return n})(),Vr="ng-app-id";function ko(n){for(let t of n)t.remove()}function Uo(n,t){let e=t.createElement("style");return e.textContent=n,e}function Ha(n,t,e,r){let i=n.head?.querySelectorAll(`style[${Vr}="${t}"],link[${Vr}="${t}"]`);if(i)for(let o of i)o.removeAttribute(Vr),o instanceof HTMLLinkElement?r.set(o.href.slice(o.href.lastIndexOf("/")+1),{usage:0,elements:[o]}):o.textContent&&e.set(o.textContent,{usage:0,elements:[o]})}function kr(n,t){let e=t.createElement("link");return e.setAttribute("rel","stylesheet"),e.setAttribute("href",n),e}var jr=(()=>{class n{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;constructor(e,r,i,o={}){this.doc=e,this.appId=r,this.nonce=i,Ha(e,r,this.inline,this.external),this.hosts.add(e.head)}addStyles(e,r){for(let i of e)this.addUsage(i,this.inline,Uo);r?.forEach(i=>this.addUsage(i,this.external,kr))}removeStyles(e,r){for(let i of e)this.removeUsage(i,this.inline);r?.forEach(i=>this.removeUsage(i,this.external))}addUsage(e,r,i){let o=r.get(e);o?o.usage++:r.set(e,{usage:1,elements:[...this.hosts].map(s=>this.addElement(s,i(e,this.doc)))})}removeUsage(e,r){let i=r.get(e);i&&(i.usage--,i.usage<=0&&(ko(i.elements),r.delete(e)))}ngOnDestroy(){for(let[,{elements:e}]of[...this.inline,...this.external])ko(e);this.hosts.clear()}addHost(e){this.hosts.add(e);for(let[r,{elements:i}]of this.inline)i.push(this.addElement(e,Uo(r,this.doc)));for(let[r,{elements:i}]of this.external)i.push(this.addElement(e,kr(r,this.doc)))}removeHost(e){this.hosts.delete(e)}addElement(e,r){return this.nonce&&r.setAttribute("nonce",this.nonce),e.appendChild(r)}static \u0275fac=function(r){return new(r||n)(v(j),v(Sr),v(Ar,8),v(ln))};static \u0275prov=p({token:n,factory:n.\u0275fac})}return n})(),Fr={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/Math/MathML"},Lr=/%COMP%/g;var Lo="%COMP%",za=`_nghost-${Lo}`,Ga=`_ngcontent-${Lo}`,qa=!0,Wa=new b("",{factory:()=>qa});function Xa(n){return Ga.replace(Lr,n)}function Ja(n){return za.replace(Lr,n)}function Bo(n,t){return t.map(e=>e.replace(Lr,n))}var Br=(()=>{class n{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;constructor(e,r,i,o,s,a,c=null,l=null){this.eventManager=e,this.sharedStylesHost=r,this.appId=i,this.removeStylesOnCompDestroy=o,this.doc=s,this.ngZone=a,this.nonce=c,this.tracingService=l,this.defaultRenderer=new It(e,s,a,this.tracingService)}createRenderer(e,r){if(!e||!r)return this.defaultRenderer;let i=this.getOrCreateRenderer(e,r);
vendor: 10,747 bytes, lines 1-2
1return i instanceof Cn?i.applyToHost(e):i instanceof Ot&&i.applyStyles(),i}getOrCreateRenderer(e,r){let i=this.rendererByCompId,o=i.get(r.id);if(!o){let s=this.doc,a=this.ngZone,c=this.eventManager,l=this.sharedStylesHost,h=this.removeStylesOnCompDestroy,f=this.tracingService;switch(r.encapsulation){case un.Emulated:o=new Cn(c,l,r,this.appId,h,s,a,f);break;case un.ShadowDom:return new _n(c,e,r,s,a,this.nonce,f,l);case un.ExperimentalIsolatedShadowDom:return new _n(c,e,r,s,a,this.nonce,f);default:o=new Ot(c,l,r,h,s,a,f);break}i.set(r.id,o)}return o}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(e){this.rendererByCompId.delete(e)}static \u0275fac=function(r){return new(r||n)(v(Ur),v(jr),v(Sr),v(Wa),v(j),v(Fe),v(Ar),v(dn,8))};static \u0275prov=p({token:n,factory:n.\u0275fac})}return n})(),It=class{eventManager;doc;ngZone;tracingService;data=Object.create(null);throwOnSyntheticProps=!0;constructor(t,e,r,i){this.eventManager=t,this.doc=e,this.ngZone=r,this.tracingService=i}destroy(){}destroyNode=null;createElement(t,e){return e?this.doc.createElementNS(Fr[e]||e,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,e){(jo(t)?t.content:t).appendChild(e)}insertBefore(t,e,r){t&&(jo(t)?t.content:t).insertBefore(e,r)}removeChild(t,e){e.remove()}selectRootElement(t,e){let r=typeof t=="string"?this.doc.querySelector(t):t;if(!r)throw new y(-5104,!1);return e||(r.textContent=""),r}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,e,r,i){if(i){e=i+":"+e;let o=Fr[i];o?t.setAttributeNS(o,e,r):t.setAttribute(e,r)}else t.setAttribute(e,r)}removeAttribute(t,e,r){if(r){let i=Fr[r];i?t.removeAttributeNS(i,e):t.removeAttribute(`${r}:${e}`)}else t.removeAttribute(e)}addClass(t,e){t.classList.add(e)}removeClass(t,e){t.classList.remove(e)}setStyle(t,e,r,i){i&(Dt.DashCase|Dt.Important)?t.style.setProperty(e,r,i&Dt.Important?"important":""):t.style[e]=r}removeStyle(t,e,r){r&Dt.DashCase?t.style.removeProperty(e):t.style[e]=""}setProperty(t,e,r){t!=null&&(t[e]=r)}setValue(t,e){t.nodeValue=e}listen(t,e,r,i){if(typeof t=="string"&&(t=se().getGlobalEventTarget(this.doc,t),!t))throw new y(5102,!1);let o=this.decoratePreventDefault(r);return this.tracingService?.wrapEventListener&&(o=this.tracingService.wrapEventListener(t,e,o)),this.eventManager.addEventListener(t,e,o,i)}decoratePreventDefault(t){return e=>{if(e==="__ngUnwrap__")return t;t(e)===!1&&e.preventDefault()}}};function jo(n){return n.tagName==="TEMPLATE"&&n.content!==void 0}var _n=class extends It{hostEl;sharedStylesHost;shadowRoot;constructor(t,e,r,i,o,s,a,c){super(t,i,o,a),this.hostEl=e,this.sharedStylesHost=c,this.shadowRoot=e.attachShadow({mode:"open"}),this.sharedStylesHost&&this.sharedStylesHost.addHost(this.shadowRoot);let l=r.styles;l=Bo(r.id,l);for(let f of l){let w=document.createElement("style");s&&w.setAttribute("nonce",s),w.textContent=f,this.shadowRoot.appendChild(w)}let h=r.getExternalStyles?.();if(h)for(let f of h){let w=kr(f,i);s&&w.setAttribute("nonce",s),this.shadowRoot.appendChild(w)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}appendChild(t,e){return super.appendChild(this.nodeOrShadowRoot(t),e)}insertBefore(t,e,r){return super.insertBefore(this.nodeOrShadowRoot(t),e,r)}removeChild(t,e){return super.removeChild(null,e)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost&&this.sharedStylesHost.removeHost(this.shadowRoot)}},Ot=class extends It{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(t,e,r,i,o,s,a,c){super(t,o,s,a),this.sharedStylesHost=e,this.removeStylesOnCompDestroy=i;let l=r.styles;this.styles=c?Bo(c,l):l,this.styleUrls=r.getExternalStyles?.(c)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&co.size===0&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},Cn=class extends Ot{contentAttr;hostAttr;constructor(t,e,r,i,o,s,a,c){let l=i+"-"+r.id;super(t,e,r,o,s,a,c,l),this.contentAttr=Xa(l),this.hostAttr=Ja(l)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,e){let r=super.createElement(t,e);return super.setAttribute(r,this.contentAttr,""),r}};var bn=class n extends Oo{supportsDOMEvents=!0;static makeCurrent(){Io(new n)}onAndCancel(t,e,r,i){return t.addEventListener(e,r,i),()=>{t.removeEventListener(e,r,i)}}dispatchEvent(t,e){t.dispatchEvent(e)}remove(t){t.remove()}createElement(t,e){return e=e||this.getDefaultDocument(),e.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,e){return e==="window"?window:e==="document"?t:e==="body"?t.body:null}getBaseHref(t){let e=Ya();return e==null?null:Ka(e)}resetBaseElement(){Nt=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return mn(document.cookie,t)}},Nt=null;function Ya(){return Nt=Nt||document.head.querySelector("base"),Nt?Nt.getAttribute("href"):null}function Ka(n){return new URL(n,document.baseURI).pathname}var En=class{addToWindow(t){ge.getAngularTestability=(r,i=!0)=>{let o=t.findTestabilityInTree(r,i);if(o==null)throw new y(5103,!1);return o},ge.getAllAngularTestabilities=()=>t.getAllTestabilities(),ge.getAllAngularRootElements=()=>t.getAllRootElements();let e=r=>{let i=ge.getAllAngularTestabilities(),o=i.length,s=function(){o--,o==0&&r()};i.forEach(a=>{a.whenStable(s)})};ge.frameworkStabilizers||(ge.frameworkStabilizers=[]),ge.frameworkStabilizers.push(e)}findTestabilityInTree(t,e,r){if(e==null)return null;let i=t.getTestability(e);return i??(r?se().isShadowRoot(e)?this.findTestabilityInTree(t,e.host,!0):this.findTestabilityInTree(t,e.parentElement,!0):null)}},Za=(()=>{class n{build(){return new XMLHttpRequest}static \u0275fac=function(r){return new(r||n)};static \u0275prov=p({token:n,factory:n.\u0275fac})}return n})(),$o=["alt","control","meta","shift"],Qa={"\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"},ec={alt:n=>n.altKey,control:n=>n.ctrlKey,meta:n=>n.metaKey,shift:n=>n.shiftKey},Ho=(()=>{class n extends Tt{constructor(e){super(e)}supports(e){return n.parseEventName(e)!=null}addEventListener(e,r,i,o){let s=n.parseEventName(r),a=n.eventCallback(s.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>se().onAndCancel(e,s.domEventName,a,o))}static parseEventName(e){let r=e.toLowerCase().split("."),i=r.shift();if(r.length===0||!(i==="keydown"||i==="keyup"))return null;let o=n._normalizeKey(r.pop()),s="",a=r.indexOf("code");if(a>-1&&(r.splice(a,1),s="code."),$o.forEach(l=>{let h=r.indexOf(l);h>-1&&(r.splice(h,1),s+=l+".")}),s+=o,r.length!=0||o.length===0)return null;let c={};return c.domEventName=i,c.fullKey=s,c}static matchEventFullKeyCode(e,r){let i=Qa[e.key]||e.key,o="";return r.indexOf("code.")>-1&&(i=e.code,o="code."),i==null||!i?!1:(i=i.toLowerCase(),i===" "?i="space":i==="."&&(i="dot"),$o.forEach(s=>{if(s!==i){let a=ec[s];a(e)&&(o+=s+".")}}),o+=i,o===r)}static eventCallback(e,r,i){return o=>{n.matchEventFullKeyCode(o,e)&&i.runGuarded(()=>r(o))}}static _normalizeKey(e){return e==="esc"?"escape":e}static \u0275fac=function(r){return new(r||n)(v(j))};static \u0275prov=p({token:n,factory:n.\u0275fac})}return n})();function tc(){bn.makeCurrent()}function nc(){return new Mr}function rc(){return Zi(document),document}var ic=[{provide:ln,useValue:Fo},{provide:Qi,useValue:tc,multi:!0},{provide:j,useFactory:rc}],oc=Mo(So,"browser",ic);var sc=[{provide:vo,useClass:En},{provide:mo,useClass:fn},{provide:fn,useClass:fn}],ac=[{provide:Xi,useValue:"root"},{provide:Mr,useFactory:nc},{provide:wn,useClass:yn,multi:!0},{provide:wn,useClass:Ho,multi:!0},Br,jr,Ur,{provide:uo,useExisting:Br},{provide:vn,useClass:Za},[]],cc=(()=>{class n{constructor(){}static \u0275fac=function(r){return new(r||n)};static \u0275mod=oe({type:n});static \u0275inj=ne({providers:[...ac,...sc],imports:[Vo,Ao]})}return n})();var ce=class n{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(t){t?typeof t=="string"?this.lazyInit=()=>{this.headers=new Map,t.split(`
2`).forEach(e=>{let r=e.indexOf(":");if(r>0){let i=e.slice(0,r),o=e.slice(r+1).trim();this.addHeaderEntry(i,o)}})}:typeof Headers<"u"&&t instanceof Headers?(this.headers=new Map,t.forEach((e,r)=>{this.addHeaderEntry(r,e)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(t).forEach(([e,r])=>{this.setHeaderEntries(e,r)})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();let e=this.headers.get(t.toLowerCase());return e&&e.length>0?e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,e){return this.clone({name:t,value:e,op:"a"})}set(t,e){return this.clone({name:t,value:e,op:"s"})}delete(t,e){return this.clone({name:t,value:e,op:"d"})}maybeSetNormalizedName(t,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,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(e=>{this.headers.set(e,t.headers.get(e)),this.normalizedNames.set(e,t.normalizedNames.get(e))})}clone(t){let e=new n;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof n?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([t]),e}applyUpdate(t){let e=t.name.toLowerCase();switch(t.op){case"a":case"s":let r=t.value;if(typeof r=="string"&&(r=[r]),r.length===0)return;this.maybeSetNormalizedName(t.name,e);let i=(t.op==="a"?this.headers.get(e):void 0)||[];i.push(...r),this.headers.set(e,i);break;case"d":let o=t.value;if(!o)this.headers.delete(e),this.normalizedNames.delete(e);else{let s=this.headers.get(e);if(!s)return;s=s.filter(a=>o.indexOf(a)===-1),s.length===0?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,s)}break}}addHeaderEntry(t,e){let r=t.toLowerCase();this.maybeSetNormalizedName(t,r),this.headers.has(r)?this.headers.get(r).push(e):this.headers.set(r,[e])}setHeaderEntries(t,e){let r=(Array.isArray(e)?e:[e]).map(o=>o.toString()),i=t.toLowerCase();this.headers.set(i,r),this.maybeSetNormalizedName(t,i)}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEac
vendor: 4,603 bytes, line 2
2h(e=>t(this.normalizedNames.get(e),this.headers.get(e)))}};var Mn=class{map=new Map;set(t,e){return this.map.set(t,e),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()}},Sn=class{encodeKey(t){return zo(t)}encodeValue(t){return zo(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}};function lc(n,t){let e=new Map;return n.length>0&&n.replace(/^\?/,"").split("&").forEach(i=>{let o=i.indexOf("="),[s,a]=o==-1?[t.decodeKey(i),""]:[t.decodeKey(i.slice(0,o)),t.decodeValue(i.slice(o+1))],c=e.get(s)||[];c.push(a),e.set(s,c)}),e}var uc=/%(\d[a-f0-9])/gi,dc={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function zo(n){return encodeURIComponent(n).replace(uc,(t,e)=>dc[e]??t)}function Rn(n){return`${n}`}var ye=class n{map;encoder;updates=null;cloneFrom=null;constructor(t={}){if(this.encoder=t.encoder||new Sn,t.fromString){if(t.fromObject)throw new y(2805,!1);this.map=lc(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(e=>{let r=t.fromObject[e],i=Array.isArray(r)?r.map(Rn):[Rn(r)];this.map.set(e,i)})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();let e=this.map.get(t);return e?e[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,e){return this.clone({param:t,value:e,op:"a"})}appendAll(t){let e=[];return Object.keys(t).forEach(r=>{let i=t[r];Array.isArray(i)?i.forEach(o=>{e.push({param:r,value:o,op:"a"})}):e.push({param:r,value:i,op:"a"})}),this.clone(e)}set(t,e){return this.clone({param:t,value:e,op:"s"})}delete(t,e){return this.clone({param:t,value:e,op:"d"})}toString(){return this.init(),this.keys().map(t=>{let e=this.encoder.encodeKey(t);return this.map.get(t).map(r=>e+"="+this.encoder.encodeValue(r)).join("&")}).filter(t=>t!=="").join("&")}clone(t){let e=new n({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat(t),e}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 e=(t.op==="a"?this.map.get(t.param):void 0)||[];e.push(Rn(t.value)),this.map.set(t.param,e);break;case"d":if(t.value!==void 0){let r=this.map.get(t.param)||[],i=r.indexOf(Rn(t.value));i!==-1&&r.splice(i,1),r.length>0?this.map.set(t.param,r):this.map.delete(t.param)}else{this.map.delete(t.param);break}}}),this.cloneFrom=this.updates=null)}};function hc(n){switch(n){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function Go(n){return typeof ArrayBuffer<"u"&&n instanceof ArrayBuffer}function qo(n){return typeof Blob<"u"&&n instanceof Blob}function Wo(n){return typeof FormData<"u"&&n instanceof FormData}function fc(n){return typeof URLSearchParams<"u"&&n instanceof URLSearchParams}var Pt="Content-Type",An="Accept",Xo="text/plain",Jo="application/json",Yo=`${Jo}, ${Xo}, */*`,nt=class n{url;body=null;headers;context;reportProgress=!1;withCredentials=!1;credentials;keepalive=!1;cache;priority;mode;redirect;referrer;integrity;referrerPolicy;responseType="json";method;params;urlWithParams;transferCache;timeout;constructor(t,e,r,i){this.url=e,this.method=t.toUpperCase();let o;if(hc(this.method)||i?(this.body=r!==void 0?r:null,o=i):o=r,o){if(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,this.keepalive=!!o.keepalive,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.context&&(this.context=o.context),o.params&&(this.params=o.params),o.priority&&(this.priority=o.priority),o.cache&&(this.cache=o.cache),o.credentials&&(this.credentials=o.credentials),typeof o.timeout=="number"){if(o.timeout<1||!Number.isInteger(o.timeout))throw new y(2822,"");this.timeout=o.timeout}o.mode&&(this.mode=o.mode),o.redirect&&(this.redirect=o.redirect),o.integrity&&(this.integrity=o.integrity),o.referrer&&(this.referrer=o.referrer),o.referrerPolicy&&(this.referrerPolicy=o.referrerPolicy),this.transferCache=o.transferCache}if(this.headers??=new ce,this.context??=new Mn,!this.params)this.params=new ye,this.urlWithParams=e;else{let s=this.params.toString();if(s.length===0)this.urlWithParams=e;else{let a=e.indexOf("?"),c=a===-1?"?":a<e.length-1?"&":"";this.urlWithParams=e+c+s}}}serializeBody(){return this.body===null?null:typeof this.body=="str
2ing"||Go(this.body)||qo(this.body)||Wo(this.body)||fc(this.body)?this.body:this.body instanceof ye?this.body.toString():typeof this.body=="object"||typeof this.body=="boolean"||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return this.body===null||Wo(this.body)?null:qo(this.body)?this.body.type||null:Go(this.body)?null:typeof this.body=="string"?Xo:this.body instanceof ye?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?Jo:null}clone(t={}){let e=t.method||this.method,r=t.url||this.url,i=t.responseType||this.responseType,o=t.keepalive??this.keepalive,s=t.priority||this.priority,a=t.cache||this.cache,c=t.mode||this.mode,l=t.redirect||this.redirect,h=t.credentials||this.credentials,f=t.referrer||this.referrer,w=t.integrity||this.integrity,D=t.referrerPolicy||this.referrerPolicy,k=t.transferCache??this.transferCache,A=t.timeout??this.timeout,C=t.body!==void 0?t.body:this.body,E=t.withCredentials??this.withCredentials,N=t.reportProgress??this.reportProgress,Q=t.headers||this.headers,I=t.params||this.params,Ee=t.context??this.context;return t.setHeaders!==void 0&&(Q=Object.keys(t.setHeaders).reduce((Re,he)=>Re.set(he,t.setHeaders[he]),Q)),t.setParams&&(I=Object.keys(t.setParams).reduce((Re,he)=>Re.set(he,t.setParams[he]),I)),new n(e,r,C,{params:I,headers:Q,context:Ee,reportProgress:N,responseType:i,withCredentials:E,transferCache:k,keepalive:o,cache:a,priority:s,timeout:A,mode:c,redirect:l,credentials:h,referrer:f,integrity:w,referrerPolicy:D})}},_e=(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})(_e||{}),rt=class{headers;status;statusText;url;ok;type;redirected;responseType;constructor(t,e=200,r="OK"){this.headers=t.headers||new ce,this.status=t.status!==void 0?t.status:e,this.statusText=t.statusText||r,this.url=t.url||null,this.redirected=t.redirected,this.responseType=t.responseType,this.ok=this.status>=200&&this.status<300}},xt=class n extends rt{constructor(t={}){super(t)}type=_e.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})}},it=class n extends rt{body;constructor(t={}){super(t),this.body=t.body!==void 0?t.body:null}type=_e.Response;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,redirected:t.redirected??this.redirected,responseType:t.responseType??this.responseType})}},ae=class extends rt{name="HttpErrorResponse";message;error;ok=!1;constructor(t){super(t,0,"Unknown Error"),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}},Ko=200,pc=204;var gc=/^\)\]\}',?\n/,Zo=new b(""),Dn=(()=>{class n{fetchImpl=u(Hr,{optional:!0})?.fetch??((...e)=>globalThis.fetch(...e));ngZone=u(Fe);destroyRef=u(Ve);handle(e){return new Et(r=>{let i=new AbortController;this.doRequest(e,i.signal,r).then(zr,s=>r.error(new ae({error:s})));let o;return e.timeout&&(o=this.ngZone.runOutsideAngular(()=>setTimeout(()=>{i.signal.aborted||i.abort(new DOMException("signal timed out","TimeoutError"))},e.timeout))),()=>{o!==void 0&&clearTimeout(o),i.abort()}})}
vendor: 9,016 bytes, line 2
2doRequest(e,r,i){return S(this,null,function*(){let o=this.createRequestInit(e),s;try{let A=this.ngZone.runOutsideAngular(()=>this.fetchImpl(e.urlWithParams,d({signal:r},o)));mc(A),i.next({type:_e.Sent}),s=yield A}catch(A){i.error(new ae({error:A,status:A.status??0,statusText:A.statusText,url:e.urlWithParams,headers:A.headers}));return}let a=new ce(s.headers),c=s.statusText,l=s.url||e.urlWithParams,h=s.status,f=null;if(e.reportProgress&&i.next(new xt({headers:a,status:h,statusText:c,url:l})),s.body){let A=s.headers.get("content-length"),C=[],E=s.body.getReader(),N=0,Q,I,Ee=typeof Zone<"u"&&Zone.current,Re=!1;if(yield this.ngZone.runOutsideAngular(()=>S(this,null,function*(){for(;;){if(this.destroyRef.destroyed){yield E.cancel(),Re=!0;break}let{done:bt,value:br}=yield E.read();if(bt)break;if(C.push(br),N+=br.length,e.reportProgress){I=e.responseType==="text"?(I??"")+(Q??=new TextDecoder).decode(br,{stream:!0}):void 0;let ji=()=>i.next({type:_e.DownloadProgress,total:A?+A:void 0,loaded:N,partialText:I});Ee?Ee.run(ji):ji()}}})),Re){i.complete();return}let he=this.concatChunks(C,N);try{let bt=s.headers.get(Pt)??"";f=this.parseBody(e,he,bt,h)}catch(bt){i.error(new ae({error:bt,headers:new ce(s.headers),status:s.status,statusText:s.statusText,url:s.url||e.urlWithParams}));return}}h===0&&(h=f?Ko:0);let w=h>=200&&h<300,D=s.redirected,k=s.type;w?(i.next(new it({body:f,headers:a,status:h,statusText:c,url:l,redirected:D,responseType:k})),i.complete()):i.error(new ae({error:f,headers:a,status:h,statusText:c,url:l,redirected:D,responseType:k}))})}parseBody(e,r,i,o){switch(e.responseType){case"json":let s=new TextDecoder().decode(r).replace(gc,"");if(s==="")return null;try{return JSON.parse(s)}catch(a){if(o<200||o>=300)return s;throw a}case"text":return new TextDecoder().decode(r);case"blob":return new Blob([r],{type:i});case"arraybuffer":return r.buffer}}createRequestInit(e){let r={},i;if(i=e.credentials,e.withCredentials&&(i="include"),e.headers.forEach((o,s)=>r[o]=s.join(",")),e.headers.has(An)||(r[An]=Yo),!e.headers.has(Pt)){let o=e.detectContentTypeHeader();o!==null&&(r[Pt]=o)}return{body:e.serializeBody(),method:e.method,headers:r,credentials:i,keepalive:e.keepalive,cache:e.cache,priority:e.priority,mode:e.mode,redirect:e.redirect,referrer:e.referrer,integrity:e.integrity,referrerPolicy:e.referrerPolicy}}concatChunks(e,r){let i=new Uint8Array(r),o=0;for(let s of e)i.set(s,o),o+=s.length;return i}static \u0275fac=function(r){return new(r||n)};static \u0275prov=p({token:n,factory:n.\u0275fac})}return n})(),Hr=class{};function zr(){}function mc(n){n.then(zr,zr)}var vc=/^\)\]\}',?\n/;var Gr=(()=>{class n{xhrFactory;tracingService=u(dn,{optional:!0});constructor(e){this.xhrFactory=e}maybePropagateTrace(e){return this.tracingService?.propagate?this.tracingService.propagate(e):e}handle(e){if(e.method==="JSONP")throw new y(-2800,!1);let r=this.xhrFactory;return m(null).pipe(Y(()=>new Et(o=>{let s=r.build();if(s.open(e.method,e.urlWithParams),e.withCredentials&&(s.withCredentials=!0),e.headers.forEach((C,E)=>s.setRequestHeader(C,E.join(","))),e.headers.has(An)||s.setRequestHeader(An,Yo),!e.headers.has(Pt)){let C=e.detectContentTypeHeader();C!==null&&s.setRequestHeader(Pt,C)}if(e.timeout&&(s.timeout=e.timeout),e.responseType){let C=e.responseType.toLowerCase();s.responseType=C!=="json"?C:"text"}let a=e.serializeBody(),c=null,l=()=>{if(c!==null)return c;let C=s.statusText||"OK",E=new ce(s.getAllResponseHeaders()),N=s.responseURL||e.url;return c=new xt({headers:E,status:s.status,statusText:C,url:N}),c},h=this.maybePropagateTrace(()=>{let{headers:C,status:E,statusText:N,url:Q}=l(),I=null;E!==pc&&(I=typeof s.response>"u"?s.responseText:s.response),E===0&&(E=I?Ko:0);let Ee=E>=200&&E<300;if(e.responseType==="json"&&typeof I=="string"){let Re=I;I=I.replace(vc,"");try{I=I!==""?JSON.parse(I):null}catch(he){I=Re,Ee&&(Ee=!1,I={error:he,text:I})}}Ee?(o.next(new it({body:I,headers:C,status:E,statusText:N,url:Q||void 0})),o.complete()):o.error(new ae({error:I,headers:C,status:E,statusText:N,url:Q||void 0}))}),f=this.maybePropagateTrace(C=>{let{url:E}=l(),N=new ae({error:C,status:s.status||0,statusText:s.statusText||"Unknown Error",url:E||void 0});o.error(N)}),w=f;e.timeout&&(w=this.maybePropagateTrace(C=>{let{url:E}=l(),N=new ae({error:new DOMException("Request timed out","TimeoutError"),status:s.status||0,statusText:s.statusText||"Request timeout",url:E||void 0});o.error(N)}));let D=!1,k=this.maybePropagateTrace(C=>{D||(o.next(l()),D=!0);let E={type:_e.DownloadProgress,loaded:C.loaded};C.lengthComputable&&(E.total=C.total),e.responseType==="text"&&s.responseText&&(E.partialText=s.responseText),o.next(E)}),A=this.maybePropagateTrace(C=>{let E={type:_e.UploadProgress,loaded:C.loaded};C.lengthComputable&&(E.total=C.total),o.next(E)});return s.addEventListener("load",h),s.addEventListener("error",f),s.addEventListener("timeout",w),s.addEventListener("abort",f),e.reportProgress&&(s.addEventListener("progress",k),a!==null&&s.upload&&s.upload.addEventListener("progress",A)),s.send(a),o.next({type:_e.Sent}),()=>{s.removeEventListener("error",f),s.removeEventListener("abort",f),s.removeEventListener("load",h),s.removeEventListener("timeout",w),e.reportProgress&&(s.removeEventListener("progress",k),a!==null&&s.upload&&s.upload.removeEventListener("progress",A)),s.readyState!==s.DONE&&s.abort()}})))}static \u0275fac=function(r){return new(r||n)(v(vn))};static \u0275prov=p({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();function yc(n,t){return t(n)}function _c(n,t,e){return(r,i)=>U(e,()=>t(r,o=>n(o,i)))}var Qo=new b("",{factory:()=>[]}),es=new b(""),ts=new b("",{factory:()=>!0});var In=(()=>{class n{static \u0275fac=function(r){return new(r||n)};static \u0275prov=p({token:n,factory:function(r){let i=null;return r?i=new(r||n):i=v(Gr),i},providedIn:"root"})}return n})();var Tn=(()=>{class n{backend;injector;chain=null;pendingTasks=u(Yi);contributeToStability=u(ts);constructor(e,r){this.backend=e,this.injector=r}handle(e){if(this.chain===null){let r=Array.from(new Set([...this.injector.get(Qo),...this.injector.get(es,[])]));this.chain=r.reduceRight((i,o)=>_c(i,o,this.injector),yc)}if(this.contributeToStability){let r=this.pendingTasks.add();return this.chain(e,i=>this.backend.handle(i)).pipe(rn(r))}else return this.chain(e,r=>this.backend.handle(r))}static \u0275fac=function(r){return new(r||n)(v(In),v(X))};static \u0275prov=p({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),qr=(()=>{class n{static \u0275fac=function(r){return new(r||n)};static \u0275prov=p({token:n,factory:function(r){let i=null;return r?i=new(r||n):i=v(Tn),i},providedIn:"root"})}return n})();function $r(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,credentials:n.credentials,transferCache:n.transferCache,timeout:n.timeout,keepalive:n.keepalive,priority:n.priority,cache:n.cache,mode:n.mode,redirect:n.redirect,integrity:n.integrity,referrer:n.referrer,referrerPolicy:n.referrerPolicy}}var ns=(()=>{class n{handler;constructor(e){this.handler=e}request(e,r,i={}){let o;if(e instanceof nt)o=e;else{let c;i.headers instanceof ce?c=i.headers:c=new ce(i.headers);let l;i.params&&(i.params instanceof ye?l=i.params:l=new ye({fromObject:i.params})),o=new nt(e,r,i.body!==void 0?i.body:null,{headers:c,context:i.context,params:l,reportProgress:i.reportProgress,responseType:i.responseType||"json",withCredentials:i.withCredentials,transferCache:i.transferCache,keepalive:i.keepalive,priority:i.priority,cache:i.cache,mode:i.mode,redirect:i.redirect,credentials:i.credentials,referrer:i.referrer,referrerPolicy:i.referrerPolicy,integrity:i.integrity,timeout:i.timeout})}let s=m(o).pipe(xe(c=>this.handler.handle(c)));if(e instanceof nt||i.observe==="events")return s;let a=s.pipe(te(c=>c instanceof it));switch(i.observe||"body"){case"body":switch(o.responseType){case"arraybuffer":return a.pipe(O(c=>{if(c.body!==null&&!(c.body instanceof ArrayBuffer))throw new y(2806,!1);return c.body}));case"blob":return a.pipe(O(c=>{if(c.body!==null&&!(c.body instanceof Blob))throw new y(2807,!1);return c.body}));case"text":return a.pipe(O(c=>{if(c.body!==null&&typeof c.body!="string")throw new y(2808,!1);return c.body}));default:return a.pipe(O(c=>c.body))}case"response":return a;default:throw new y(2809,!1)}}delete(e,r={}){return this.request("DELETE",e,r)}get(e,r={}){return this.request("GET",e,r)}head(e,r={}){return this.request("HEAD",e,r)}jsonp(e,r){return this.request("JSONP",e,{params:new ye().append(r,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(e,r={}){return this.request("OPTIONS",e,r)}patch(e,r,i={}){return this.request("PATCH",e,$r(i,r))}post(e,r,i={}){return this.request("POST",e,$r(i,r))}put(e,r,i={}){return this.request("PUT",e,$r(i,r))}static \u0275fac=function(r){return new(r||n)(v(qr))};static \u0275prov=p({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();
2var Cc=new b("",{factory:()=>!0}),wc="XSRF-TOKEN",bc=new b("",{factory:()=>wc}),Ec="X-XSRF-TOKEN",Rc=new b("",{factory:()=>Ec}),Dc=(()=>{class n{cookieName=u(bc);doc=u(j);lastCookieString="";lastToken=null;parseCount=0;getToken(){let e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=mn(e,this.cookieName),this.lastCookieString=e),this.lastToken}static \u0275fac=function(r){return new(r||n)};static \u0275prov=p({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),rs=(()=>{class n{static \u0275fac=function(r){return new(r||n)};static \u0275prov=p({token:n,factory:function(r){let i=null;return r?i=new(r||n):i=v(Dc),i},providedIn:"root"})}return n})();function Mc(n,t){if(!u(Cc)||n.method==="GET"||n.method==="HEAD")return t(n);try{let i=u(Pr).href,{origin:o}=new URL(i),{origin:s}=new URL(n.url,o);if(o!==s)return t(n)}catch{return t(n)}let e=u(rs).getToken(),r=u(Rc);return e!=null&&!n.headers.has(r)&&(n=n.clone({headers:n.headers.set(r,e)})),t(n)}var Wr=(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})(Wr||{});function Sc(n,t){return{\u0275kind:n,\u0275providers:t}}function Ac(...n){let t=[ns,Tn,{provide:qr,useExisting:Tn},{provide:In,useFactory:()=>u(Zo,{optional:!0})??u(Gr)},{provide:Qo,useValue:Mc,multi:!0}];for(let e of n)t.push(...e.\u0275providers);return an(t)}function Tc(){return Sc(Wr.Fetch,[Dn,{provide:Zo,useExisting:Dn},{provide:In,useExisting:Dn}])}var is=(()=>{class n{_doc;_dom;constructor(e){this._doc=e,this._dom=se()}addTag(e,r=!1){return e?this._getOrCreateElement(e,r):null}addTags(e,r=!1){return e?e.reduce((i,o)=>(o&&i.push(this._getOrCreateElement(o,r)),i),[]):[]}getTag(e){return e&&this._doc.querySelector(`meta[${e}]`)||null}getTags(e){if(!e)return[];let r=this._doc.querySelectorAll(`meta[${e}]`);return r?[].slice.call(r):[]}updateTag(e,r){if(!e)return null;r=r||this._parseSelector(e);let i=this.getTag(r);return i?this._setMetaElementAttributes(e,i):this._getOrCreateElement(e,!0)}removeTag(e){this.removeTagElement(this.getTag(e))}removeTagElement(e){e&&this._dom.remove(e)}_getOrCreateElement(e,r=!1){if(!r){let s=this._parseSelector(e),a=this.getTags(s).filter(c=>this._containsAttributes(e,c))[0];if(a!==void 0)return a}let i=this._dom.createElement("meta");return this._setMetaElementAttributes(e,i),this._doc.getElementsByTagName("head")[0].appendChild(i),i}_setMetaElementAttributes(e,r){return Object.keys(e).forEach(i=>r.setAttribute(this._getMetaKeyMap(i),e[i])),r}_parseSelector(e){let r=e.name?"name":"property";return`${r}="${e[r]}"`}_containsAttributes(e,r){return Object.keys(e).every(i=>r.getAttribute(this._getMetaKeyMap(i))===e[i])}_getMetaKeyMap(e){return Nc[e]||e}static \u0275fac=function(r){return new(r||n)(v(j))};static \u0275prov=p({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),Nc={httpEquiv:"http-equiv"},On=(()=>{class n{_doc;constructor(e){this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||""}static \u0275fac=function(r){return new(r||n)(v(j))};static \u0275prov=p({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();var Pc=(()=>{class n{static \u0275fac=function(r){return new(r||n)};static \u0275prov=p({token:n,factory:function(r){let i=null;return r?i=new(r||n):i=v(xc),i},providedIn:"root"})}return n})(),xc=(()=>{class n extends Pc{_doc;constructor(e){super(),this._doc=e}sanitize(e,r){if(r==null)return null;switch(e){case ke.NONE:return r;case ke.HTML:return Qe(r,"HTML")?Ze(r):so(this._doc,String(r)).toString();case ke.STYLE:return Qe(r,"Style")?Ze(r):r;case ke.SCRIPT:if(Qe(r,"Script"))return Ze(r);throw new y(5200,!1);case ke.URL:return Qe(r,"URL")?Ze(r):oo(String(r));case ke.RESOURCE_URL:if(Qe(r,"ResourceURL"))return Ze(r);throw new y(5201,!1);default:throw new y(5202,!1)}}bypassSecurityTrustHtml(e){return eo(e)}bypassSecurityTrustStyle(e){return to(e)}bypassSecurityTrustScript(e){return no(e)}bypassSecurityTrustUrl(e){return ro(e)}bypassSecurityTrustResourceUrl(e){return io(e)}static \u0275fac=function(r){return new(r||n)(v(j))};static \u0275prov=p({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();var ms=(()=>{class n{_renderer;_elementRef;onChange=e=>{};onTouched=()=>{};constructor(e,r){this._renderer=e,this._elementRef=r}setProperty(e,r){this._renderer.setProperty(this._elementRef.nativeElement,e,r)}registerOnTouched(e){this.onTouched=e}registerOnChange(e){this.onChange=e}setDisabledState(e){this.setProperty("disabled",e)}static \u0275fac=function(r){return new(r||n)(_(Se),_(Me))};static \u0275dir=T({type:n})}return n})(),Bn=(()=>{class n extends ms{static \u0275fac=(()=>{let e;return function(i){return(e||(e=K(n)))(i||n)}})();static \u0275dir=T({type:n,features:[B]})}return n}
vendor: 8,766 bytes, line 2
2)(),ct=new b(""),Vc={provide:ct,useExisting:me(()=>Fc),multi:!0},Fc=(()=>{class n extends Bn{writeValue(e){this.setProperty("checked",e)}static \u0275fac=(()=>{let e;return function(i){return(e||(e=K(n)))(i||n)}})();static \u0275dir=T({type:n,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(r,i){r&1&&Ae("change",function(s){return i.onChange(s.target.checked)})("blur",function(){return i.onTouched()})},standalone:!1,features:[ve([Vc]),B]})}return n})(),kc={provide:ct,useExisting:me(()=>vs),multi:!0};function Uc(){let n=se()?se().getUserAgent():"";return/android (\d+)/.test(n.toLowerCase())}var jc=new b(""),vs=(()=>{class n extends ms{_compositionMode;_composing=!1;constructor(e,r,i){super(e,r),this._compositionMode=i,this._compositionMode==null&&(this._compositionMode=!Uc())}writeValue(e){let r=e??"";this.setProperty("value",r)}_handleInput(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(e)}_compositionStart(){this._composing=!0}_compositionEnd(e){this._composing=!1,this._compositionMode&&this.onChange(e)}static \u0275fac=function(r){return new(r||n)(_(Se),_(Me),_(jc,8))};static \u0275dir=T({type:n,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(r,i){r&1&&Ae("input",function(s){return i._handleInput(s.target.value)})("blur",function(){return i.onTouched()})("compositionstart",function(){return i._compositionStart()})("compositionend",function(s){return i._compositionEnd(s.target.value)})},standalone:!1,features:[ve([kc]),B]})}return n})();function Qr(n){return n==null||ei(n)===0}function ei(n){return n==null?null:Array.isArray(n)||typeof n=="string"?n.length:n instanceof Set?n.size:null}var $n=new b(""),ti=new b(""),Lc=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,ss=class{static min(t){return Bc(t)}static max(t){return $c(t)}static required(t){return Hc(t)}static requiredTrue(t){return zc(t)}static email(t){return Gc(t)}static minLength(t){return qc(t)}static maxLength(t){return Wc(t)}static pattern(t){return ys(t)}static nullValidator(t){return Pn()}static compose(t){return Rs(t)}static composeAsync(t){return Ms(t)}};function Bc(n){return t=>{if(t.value==null||n==null)return null;let e=parseFloat(t.value);return!isNaN(e)&&e<n?{min:{min:n,actual:t.value}}:null}}function $c(n){return t=>{if(t.value==null||n==null)return null;let e=parseFloat(t.value);return!isNaN(e)&&e>n?{max:{max:n,actual:t.value}}:null}}function Hc(n){return Qr(n.value)?{required:!0}:null}function zc(n){return n.value===!0?null:{required:!0}}function Gc(n){return Qr(n.value)||Lc.test(n.value)?null:{email:!0}}function qc(n){return t=>{let e=t.value?.length??ei(t.value);return e===null||e===0?null:e<n?{minlength:{requiredLength:n,actualLength:e}}:null}}function Wc(n){return t=>{let e=t.value?.length??ei(t.value);return e!==null&&e>n?{maxlength:{requiredLength:n,actualLength:e}}:null}}function ys(n){if(!n)return Pn;let t,e;return typeof n=="string"?(e="",n.charAt(0)!=="^"&&(e+="^"),e+=n,n.charAt(n.length-1)!=="$"&&(e+="$"),t=new RegExp(e)):(e=n.toString(),t=n),r=>{if(Qr(r.value))return null;let i=r.value;return t.test(i)?null:{pattern:{requiredPattern:e,actualValue:i}}}}function Pn(n){return null}function _s(n){return n!=null}function Cs(n){return pn(n)?V(n):n}function ws(n){let t={};return n.forEach(e=>{t=e!=null?d(d({},t),e):t}),Object.keys(t).length===0?null:t}function bs(n,t){return t.map(e=>e(n))}function Xc(n){return!n.validate}function Es(n){return n.map(t=>Xc(t)?t:e=>t.validate(e))}function Rs(n){if(!n)return null;let t=n.filter(_s);return t.length==0?null:function(e){return ws(bs(e,t))}}function Ds(n){return n!=null?Rs(Es(n)):null}function Ms(n){if(!n)return null;let t=n.filter(_s);return t.length==0?null:function(e){let r=bs(e,t).map(Cs);return Gi(r).pipe(O(ws))}}function Ss(n){return n!=null?Ms(Es(n)):null}function as(n,t){return n===null?[t]:Array.isArray(n)?[...n,t]:[n,t]}function As(n){return n._rawValidators}function Ts(n){return n._rawAsyncValidators}function Xr(n){return n?Array.isArray(n)?n:[n]:[]}function xn(n,t){return Array.isArray(n)?n.includes(t):n===t}function cs(n,t){let e=Xr(t);return Xr(n).forEach(i=>{xn(e,i)||e.push(i)}),e}function ls(n,t){return Xr(t).filter(e=>!xn(n,e))}var Vn=class{get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators=[];_rawAsyncValidators=[];_setValidators(t){this._rawValidators=t||[],this._composedValidatorFn=Ds(this._rawValidators)}_setAsyncValidators(t){this._rawAsyncValidators=t||[],this._composedAsyncValidatorFn=Ss(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_onDestroyCallbacks=[];_registerOnDestroy(t){this._onDestroyCallbacks.push(t)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(t=>t()),this._onDestroyCallbacks=[]}reset(t=void 0){this.control&&this.control.reset(t)}hasError(t,e){return this.control?this.control.hasError(t,e):!1}getError(t,e){return this.control?this.control.getError(t,e):null}},Be=class extends Vn{name;get formDirective(){return null}get path(){return null}},$e=class extends Vn{_parent=null;name=null;valueAccessor=null},Fn=class{_cd;constructor(t){this._cd=t}get isTouched(){return this._cd?.control?._touched?.(),!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return this._cd?.control?._pristine?.(),!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return this._cd?.control?._status?.(),!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return this._cd?._submitted?.(),!!this._cd?.submitted}};var Nh=(()=>{class n extends Fn{constructor(e){super(e)}static \u0275fac=function(r){return new(r||n)(_($e,2))};static \u0275dir=T({type:n,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(r,i){r&2&&Nr("ng-untouched",i.isUntouched)("ng-touched",i.isTouched)("ng-pristine",i.isPristine)("ng-dirty",i.isDirty)("ng-valid",i.isValid)("ng-invalid",i.isInvalid)("ng-pending",i.isPending)},standalone:!1,features:[B]})}return n})(),Ph=(()=>{class n extends Fn{constructor(e){super(e)}static \u0275fac=function(r){return new(r||n)(_(Be,10))};static \u0275dir=T({type:n,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["","formArray",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(r,i){r&2&&Nr("ng-untouched",i.isUntouched)("ng-touched",i.isTouched)("ng-pristine",i.isPristine)("ng-dirty",i.isDirty)("ng-valid",i.isValid)("ng-invalid",i.isInvalid)("ng-pending",i.isPending)("ng-submitted",i.isSubmitted)},standalone:!1,features:[B]})}return n})();var Vt="VALID",Nn="INVALID",ot="PENDING",Ft="DISABLED",Te=class{},kn=class extends Te{value;source;constructor(t,e){super(),this.value=t,this.source=e}},kt=class extends Te{pristine;source;constructor(t,e){super(),this.pristine=t,this.source=e}},Ut=class extends Te{touched;source;constructor(t,e){super(),this.touched=t,this.source=e}},st=class extends Te{status;source;constructor(t,e){super(),this.status=t,this.source=e}},Jr=class extends Te{source;constructor(t){super(),this.source=t}},Lt=class extends Te{source;constructor(t){super(),this.source=t}};function ni(n){return(Hn(n)?n.validators:n)||null}
vendor: 8,642 bytes, line 2
2function Jc(n){return Array.isArray(n)?Ds(n):n||null}function ri(n,t){return(Hn(t)?t.asyncValidators:n)||null}function Yc(n){return Array.isArray(n)?Ss(n):n||null}function Hn(n){return n!=null&&!Array.isArray(n)&&typeof n=="object"}function Is(n,t,e){let r=n.controls;if(!(t?Object.keys(r):r).length)throw new y(1e3,"");if(!r[e])throw new y(1001,"")}function Os(n,t,e){n._forEachChild((r,i)=>{if(e[i]===void 0)throw new y(1002,"")})}var at=class{_pendingDirty=!1;_hasOwnPendingAsyncValidator=null;_pendingTouched=!1;_onCollectionChange=()=>{};_updateOn;_parent=null;_asyncValidationSubscription;_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators;_rawAsyncValidators;value;constructor(t,e){this._assignValidators(t),this._assignAsyncValidators(e)}get validator(){return this._composedValidatorFn}set validator(t){this._rawValidators=this._composedValidatorFn=t}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(t){this._rawAsyncValidators=this._composedAsyncValidatorFn=t}get parent(){return this._parent}get status(){return x(this.statusReactive)}set status(t){x(()=>this.statusReactive.set(t))}_status=Ue(()=>this.statusReactive());statusReactive=re(void 0);get valid(){return this.status===Vt}get invalid(){return this.status===Nn}get pending(){return this.status==ot}get disabled(){return this.status===Ft}get enabled(){return this.status!==Ft}errors;get pristine(){return x(this.pristineReactive)}set pristine(t){x(()=>this.pristineReactive.set(t))}_pristine=Ue(()=>this.pristineReactive());pristineReactive=re(!0);get dirty(){return!this.pristine}get touched(){return x(this.touchedReactive)}set touched(t){x(()=>this.touchedReactive.set(t))}_touched=Ue(()=>this.touchedReactive());touchedReactive=re(!1);get untouched(){return!this.touched}_events=new fe;events=this._events.asObservable();valueChanges;statusChanges;get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(t){this._assignValidators(t)}setAsyncValidators(t){this._assignAsyncValidators(t)}addValidators(t){this.setValidators(cs(t,this._rawValidators))}addAsyncValidators(t){this.setAsyncValidators(cs(t,this._rawAsyncValidators))}removeValidators(t){this.setValidators(ls(t,this._rawValidators))}removeAsyncValidators(t){this.setAsyncValidators(ls(t,this._rawAsyncValidators))}hasValidator(t){return xn(this._rawValidators,t)}hasAsyncValidator(t){return xn(this._rawAsyncValidators,t)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(t={}){let e=this.touched===!1;this.touched=!0;let r=t.sourceControl??this;this._parent&&!t.onlySelf&&this._parent.markAsTouched(M(d({},t),{sourceControl:r})),e&&t.emitEvent!==!1&&this._events.next(new Ut(!0,r))}markAllAsDirty(t={}){this.markAsDirty({onlySelf:!0,emitEvent:t.emitEvent,sourceControl:this}),this._forEachChild(e=>e.markAllAsDirty(t))}markAllAsTouched(t={}){this.markAsTouched({onlySelf:!0,emitEvent:t.emitEvent,sourceControl:this}),this._forEachChild(e=>e.markAllAsTouched(t))}markAsUntouched(t={}){let e=this.touched===!0;this.touched=!1,this._pendingTouched=!1;let r=t.sourceControl??this;this._forEachChild(i=>{i.markAsUntouched({onlySelf:!0,emitEvent:t.emitEvent,sourceControl:r})}),this._parent&&!t.onlySelf&&this._parent._updateTouched(t,r),e&&t.emitEvent!==!1&&this._events.next(new Ut(!1,r))}markAsDirty(t={}){let e=this.pristine===!0;this.pristine=!1;let r=t.sourceControl??this;this._parent&&!t.onlySelf&&this._parent.markAsDirty(M(d({},t),{sourceControl:r})),e&&t.emitEvent!==!1&&this._events.next(new kt(!1,r))}markAsPristine(t={}){let e=this.pristine===!1;this.pristine=!0,this._pendingDirty=!1;let r=t.sourceControl??this;this._forEachChild(i=>{i.markAsPristine({onlySelf:!0,emitEvent:t.emitEvent})}),this._parent&&!t.onlySelf&&this._parent._updatePristine(t,r),e&&t.emitEvent!==!1&&this._events.next(new kt(!0,r))}markAsPending(t={}){this.status=ot;let e=t.sourceControl??this;t.emitEvent!==!1&&(this._events.next(new st(this.status,e)),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.markAsPending(M(d({},t),{sourceControl:e}))}disable(t={}){let e=this._parentMarkedDirty(t.onlySelf);this.status=Ft,this.errors=null,this._forEachChild(i=>{i.disable(M(d({},t),{onlySelf:!0}))}),this._updateValue();let r=t.sourceControl??this;t.emitEvent!==!1&&(this._events.next(new kn(this.value,r)),this._events.next(new st(this.status,r)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(M(d({},t),{skipPristineCheck:e}),this),this._onDisabledChange.forEach(i=>i(!0))}enable(t={}){let e=this._parentMarkedDirty(t.onlySelf);this.status=Vt,this._forEachChild(r=>{r.enable(M(d({},t),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors(M(d({},t),{skipPristineCheck:e}),this),this._onDisabledChange.forEach(r=>r(!1))}_updateAncestors(t,e){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),t.skipPristineCheck||this._parent._updatePristine({},e),this._parent._updateTouched({},e))}setParent(t){this._parent=t}getRawValue(){return this.value}updateValueAndValidity(t={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){let r=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Vt||this.status===ot)&&this._runAsyncValidator(r,t.emitEvent)}let e=t.sourceControl??this;t.emitEvent!==!1&&(this._events.next(new kn(this.value,e)),this._events.next(new st(this.status,e)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.updateValueAndValidity(M(d({},t),{sourceControl:e}))}_updateTreeValidity(t={emitEvent:!0}){this._forEachChild(e=>e._updateTreeValidity(t)),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Ft:Vt}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t,e){if(this.asyncValidator){this.status=ot,this._hasOwnPendingAsyncValidator={emitEvent:e!==!1,shouldHaveEmitted:t!==!1};let r=Cs(this.asyncValidator(this));this._asyncValidationSubscription=r.subscribe(i=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(i,{emitEvent:e,shouldHaveEmitted:t})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();let t=(this._hasOwnPendingAsyncValidator?.emitEvent||this._hasOwnPendingAsyncValidator?.shouldHaveEmitted)??!1;return this._hasOwnPendingAsyncValidator=null,t}return!1}setErrors(t,e={}){this.errors=t,this._updateControlsErrors(e.emitEvent!==!1,this,e.shouldHaveEmitted)}get(t){let e=t;return e==null||(Array.isArray(e)||(e=e.split(".")),e.length===0)?null:e.reduce((r,i)=>r&&r._find(i),this)}getError(t,e){let r=e?this.get(e):this;return r&&r.errors?r.errors[t]:null}hasError(t,e){return!!this.getError(t,e)}get root(){let t=this;for(;t._parent;)t=t._parent;return t}_updateControlsErrors(t,e,r){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),(t||r)&&this._events.next(new st(this.status,e)),this._parent&&this._parent._updateControlsErrors(t,e,r)}_initObservables(){this.valueChanges=new L,this.statusChanges=new L}_calculateStatus(){return this._allControlsDisabled()?Ft:this.errors?Nn:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(ot)?ot:this._anyControlsHaveStatus(Nn)?Nn:Vt}_anyControlsHaveStatus(t){return this._anyControls(e=>e.status===t)}_anyControlsDirty(){return this._anyControls(t=>t.dirty)}_anyControlsTouched(){return this._anyControls(t=>t.touched)}_updatePristine(t,e){let r=!this._anyControlsDirty(),i=this.pristine!==r;this.pristine=r,this._parent&&!t.onlySelf&&this._parent._updatePristine(t,e),i&&this._events.next(new kt(this.pristine,e))}_updateTouched(t={},e){this.touched=this._anyControlsTouched(),this._events.next(new Ut(this.touched,e)),this._parent&&!t.onlySelf&&this._parent._updateTouched(t,e)}_onDisabledChange=[];_registerOnCollectionChange(t){this._onCollectionChange=t}_setUpdateStrategy(t){Hn(t)&&t.updateOn!=null&&(this._updateOn=t.updateOn)}_parentMarkedDirty(t){let e=this._parent&&this._parent.dirty;return!t&&!!e&&!this._parent._anyControlsDirty()}_find(t){return null}_assignValidators(t){this._rawValidators=Array.isArray(t)?t.slice():t,this._composedValidatorFn=Jc(this._rawValidators)}_assignAsyncValidators(t){this._rawAsyncValidators=Array.isArray(t)?t.slice():t,this._composedAsyncValidatorFn=Yc(this._rawAsyncValidators)}},Un=class extends at{constructor(t,e,r){super(ni(e),ri(r,e)),this.controls=t,this._initOb
vendor: 23,543 bytes, line 2
2servables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}controls;registerControl(t,e){return this.controls[t]?this.controls[t]:(this.controls[t]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}addControl(t,e,r={}){this.registerControl(t,e),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}removeControl(t,e={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}setControl(t,e,r={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],e&&this.registerControl(t,e),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}contains(t){return this.controls.hasOwnProperty(t)&&this.controls[t].enabled}setValue(t,e={}){Os(this,!0,t),Object.keys(t).forEach(r=>{Is(this,!0,r),this.controls[r].setValue(t[r],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(t,e={}){t!=null&&(Object.keys(t).forEach(r=>{let i=this.controls[r];i&&i.patchValue(t[r],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(t={},e={}){this._forEachChild((r,i)=>{r.reset(t?t[i]:null,M(d({},e),{onlySelf:!0}))}),this._updatePristine(e,this),this._updateTouched(e,this),this.updateValueAndValidity(e),e?.emitEvent!==!1&&this._events.next(new Lt(this))}getRawValue(){return this._reduceChildren({},(t,e,r)=>(t[r]=e.getRawValue(),t))}_syncPendingControls(){let t=this._reduceChildren(!1,(e,r)=>r._syncPendingControls()?!0:e);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_forEachChild(t){Object.keys(this.controls).forEach(e=>{let r=this.controls[e];r&&t(r,e)})}_setUpControls(){this._forEachChild(t=>{t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(t){for(let[e,r]of Object.entries(this.controls))if(this.contains(e)&&t(r))return!0;return!1}_reduceValue(){let t={};return this._reduceChildren(t,(e,r,i)=>((r.enabled||this.disabled)&&(e[i]=r.value),e))}_reduceChildren(t,e){let r=t;return this._forEachChild((i,o)=>{r=e(r,i,o)}),r}_allControlsDisabled(){for(let t of Object.keys(this.controls))if(this.controls[t].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(t){return this.controls.hasOwnProperty(t)?this.controls[t]:null}};var Yr=class extends Un{};var zn=new b("",{factory:()=>Gn}),Gn="always";function Ns(n,t){return[...t.path,n]}function Kr(n,t,e=Gn){ii(n,t),t.valueAccessor.writeValue(n.value),(n.disabled||e==="always")&&t.valueAccessor.setDisabledState?.(n.disabled),Zc(n,t),el(n,t),Qc(n,t),Kc(n,t)}function us(n,t,e=!0){let r=()=>{};t.valueAccessor&&(t.valueAccessor.registerOnChange(r),t.valueAccessor.registerOnTouched(r)),Ln(n,t),n&&(t._invokeOnDestroyCallbacks(),n._registerOnCollectionChange(()=>{}))}function jn(n,t){n.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(t)})}function Kc(n,t){if(t.valueAccessor.setDisabledState){let e=r=>{t.valueAccessor.setDisabledState(r)};n.registerOnDisabledChange(e),t._registerOnDestroy(()=>{n._unregisterOnDisabledChange(e)})}}function ii(n,t){let e=As(n);t.validator!==null?n.setValidators(as(e,t.validator)):typeof e=="function"&&n.setValidators([e]);let r=Ts(n);t.asyncValidator!==null?n.setAsyncValidators(as(r,t.asyncValidator)):typeof r=="function"&&n.setAsyncValidators([r]);let i=()=>n.updateValueAndValidity();jn(t._rawValidators,i),jn(t._rawAsyncValidators,i)}function Ln(n,t){let e=!1;if(n!==null){if(t.validator!==null){let i=As(n);if(Array.isArray(i)&&i.length>0){let o=i.filter(s=>s!==t.validator);o.length!==i.length&&(e=!0,n.setValidators(o))}}if(t.asyncValidator!==null){let i=Ts(n);if(Array.isArray(i)&&i.length>0){let o=i.filter(s=>s!==t.asyncValidator);o.length!==i.length&&(e=!0,n.setAsyncValidators(o))}}}let r=()=>{};return jn(t._rawValidators,r),jn(t._rawAsyncValidators,r),e}function Zc(n,t){t.valueAccessor.registerOnChange(e=>{n._pendingValue=e,n._pendingChange=!0,n._pendingDirty=!0,n.updateOn==="change"&&Ps(n,t)})}function Qc(n,t){t.valueAccessor.registerOnTouched(()=>{n._pendingTouched=!0,n.updateOn==="blur"&&n._pendingChange&&Ps(n,t),n.updateOn!=="submit"&&n.markAsTouched()})}function Ps(n,t){n._pendingDirty&&n.markAsDirty(),n.setValue(n._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(n._pendingValue),n._pendingChange=!1}function el(n,t){let e=(r,i)=>{t.valueAccessor.writeValue(r),i&&t.viewToModelUpdate(r)};n.registerOnChange(e),t._registerOnDestroy(()=>{n._unregisterOnChange(e)})}function tl(n,t){n==null,ii(n,t)}function nl(n,t){return Ln(n,t)}function xs(n,t){if(!n.hasOwnProperty("model"))return!1;let e=n.model;return e.isFirstChange()?!0:!Object.is(t,e.currentValue)}function rl(n){return Object.getPrototypeOf(n.constructor)===Bn}function il(n,t){n._syncPendingControls(),t.forEach(e=>{let r=e.control;r.updateOn==="submit"&&r._pendingChange&&(e.viewToModelUpdate(r._pendingValue),r._pendingChange=!1)})}function Vs(n,t){if(!t)return null;Array.isArray(t);let e,r,i;return t.forEach(o=>{o.constructor===vs?e=o:rl(o)?r=o:i=o}),i||r||e||null}function ol(n,t){let e=n.indexOf(t);e>-1&&n.splice(e,1)}function ds(n,t){let e=n.indexOf(t);e>-1&&n.splice(e,1)}function hs(n){return typeof n=="object"&&n!==null&&Object.keys(n).length===2&&"value"in n&&"disabled"in n}var jt=class extends at{defaultValue=null;_onChange=[];_pendingValue;_pendingChange=!1;constructor(t=null,e,r){super(ni(e),ri(r,e)),this._applyFormState(t),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Hn(e)&&(e.nonNullable||e.initialValueIsDefault)&&(hs(t)?this.defaultValue=t.value:this.defaultValue=t)}setValue(t,e={}){this.value=this._pendingValue=t,this._onChange.length&&e.emitModelToViewChange!==!1&&this._onChange.forEach(r=>r(this.value,e.emitViewToModelChange!==!1)),this.updateValueAndValidity(e)}patchValue(t,e={}){this.setValue(t,e)}reset(t=this.defaultValue,e={}){this._applyFormState(t),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),e.overwriteDefaultValue&&(this.defaultValue=this.value),this._pendingChange=!1,e?.emitEvent!==!1&&this._events.next(new Lt(this))}_updateValue(){}_anyControls(t){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(t){this._onChange.push(t)}_unregisterOnChange(t){ds(this._onChange,t)}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_unregisterOnDisabledChange(t){ds(this._onDisabledChange,t)}_forEachChild(t){}_syncPendingControls(){return this.updateOn==="submit"&&(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),this._pendingChange)?(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0):!1}_applyFormState(t){hs(t)?(this.value=this._pendingValue=t.value,t.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=t}};var sl=n=>n instanceof jt;var al={provide:$e,useExisting:me(()=>cl)},fs=Promise.resolve(),cl=(()=>{class n extends $e{_changeDetectorRef;callSetDisabledState;control=new jt;static ngAcceptInputType_isDisabled;_registered=!1;viewModel;name="";isDisabled;model;options;update=new L;constructor(e,r,i,o,s,a){super(),this._changeDetectorRef=s,this.callSetDisabledState=a,this._parent=e,this._setValidators(r),this._setAsyncValidators(i),this.valueAccessor=Vs(this,o)}ngOnChanges(e){if(this._checkForErrors(),!this._registered||"name"in e){if(this._registered&&(this._checkName(),this.formDirective)){let r=e.name.previousValue;this.formDirective.removeControl({name:r,path:this._getPath(r)})}this._setUpControl()}"isDisabled"in e&&this._updateDisabled(e),xs(e,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!!(this.options&&this.options.standalone)}_setUpStandalone(){Kr(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._checkName()}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),!this._isStandalone()&&this.name}_updateValue(e){fs.then(()=>{this.control.setValue(e,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(e){let r=e.isDisabled.currentValue,i=r!==0&&et(r);fs.then(()=>{i&&!this.control.disabled?this.control.disable():!i&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(e){return this._parent?Ns(e,this._parent):[e]}static \u0275fac=function(r){return new(r||n)(_(Be,9),_($n,10),_(ti,10),_(ct,10),_(je,8),_(zn,8))};static \u0275dir=T({type:n,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"],options:[0,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],standalone:!1,features:[ve([al]),B,ie]})}return n})();var Vh=(()=>{class n{static \u0275fac=function(r){return new(r||n)};static \u0275dir=T({type:n,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""],standalone:!1})}return n})();var Zr=class extends at{constructor(t,e,r){super(ni(e),ri(r,e)),this.controls=t,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}controls;at(t){return this.controls[this._adjustIndex(t)]}push(t,e={}){Array.isArray(t)?t.forEach(r=>{this.controls.push(r),this._registerControl(r)}):(this.controls.push(t),this._registerControl(t)),this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}insert(t,e,r={}){this.controls.splice(t,0,e),this._registerControl(e),this.updateValueAndValidity({emitEvent:r.emitEvent})}removeAt(t,e={}){let r=this._adjustIndex(t);r<0&&(r=0),this.controls[r]&&this.controls[r]._registerOnCollectionChange(()=>{}),this.controls.splice(r,1),this.updateValueAndValidity({emitEvent:e.emitEvent})}setControl(t,e,r={}){let i=this._adjustIndex(t);i<0&&(i=0),this.controls[i]&&this.controls[i]._registerOnCollectionChange(()=>{}),this.controls.splice(i,1),e&&(this.controls.splice(i,0,e),this._registerControl(e)),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(t,e={}){Os(this,!1,t),t.forEach((r,i)=>{Is(this,!1,i),this.at(i).setValue(r,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(t,e={}){t!=null&&(t.forEach((r,i)=>{this.at(i)&&this.at(i).patchValue(r,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(t=[],e={}){this._forEachChild((r,i)=>{r.reset(t[i],M(d({},e),{onlySelf:!0}))}),this._updatePristine(e,this),this._updateTouched(e,this),this.updateValueAndValidity(e),e?.emitEvent!==!1&&this._events.next(new Lt(this))}getRawValue(){return this.controls.map(t=>t.getRawValue())}clear(t={}){this.controls.length<1||(this._forEachChild(e=>e._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:t.emitEvent}))}_adjustIndex(t){return t<0?t+this.length:t}_syncPendingControls(){let t=this.controls.reduce((e,r)=>r._syncPendingControls()?!0:e,!1);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_forEachChild(t){this.controls.forEach((e,r)=>{t(e,r)})}_updateValue(){this.value=this.controls.filter(t=>t.enabled||this.disabled).map(t=>t.value)}_anyControls(t){return this.controls.some(e=>e.enabled&&t(e))}_setUpControls(){this._forEachChild(t=>this._registerControl(t))}_allControlsDisabled(){for(let t of this.controls)if(t.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(t){t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)}_find(t){return this.at(t)??null}};var ll=(()=>{class n extends Be{callSetDisabledState;get submitted(){return x(this._submittedReactive)}set submitted(e){this._submittedReactive.set(e)}_submitted=Ue(()=>this._submittedReactive());_submittedReactive=re(!1);_oldForm;_onCollectionChange=()=>this._updateDomValue();directives=[];constructor(e,r,i){super(),this.callSetDisabledState=i,this._setValidators(e),this._setAsyncValidators(r)}ngOnChanges(e){this.onChanges(e)}ngOnDestroy(){this.onDestroy()}onChanges(e){this._checkFormPresent(),e.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}onDestroy(){this.form&&(Ln(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get path(){return[]}addControl(e){let r=this.form.get(e.path);return Kr(r,e,this.callSetDisabledState),r.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),r}getControl(e){return this.form.get(e.path)}removeControl(e){us(e.control||null,e,!1),ol(this.directives,e)}addFormGroup(e){this._setUpFormContainer(e)}removeFormGroup(e){this._cleanUpFormContainer(e)}getFormGroup(e){return this.form.get(e.path)}getFormArray(e){return this.form.get(e.path)}addFormArray(e){this._setUpFormContainer(e)}removeFormArray(e){this._cleanUpFormContainer(e)}updateModel(e,r){this.form.get(e.path).setValue(r)}onReset(){this.resetForm()}resetForm(e=void 0,r={}){this.form.reset(e,r),this._submittedReactive.set(!1)}onSubmit(e){return this.submitted=!0,il(this.form,this.directives),this.ngSubmit.emit(e),this.form._events.next(new Jr(this.control)),e?.target?.method==="dialog"}_updateDomValue(){this.directives.forEach(e=>{let r=e.control,i=this.form.get(e.path);r!==i&&(us(r||null,e),sl(i)&&(Kr(i,e,this.callSetDisabledState),e.control=i))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(e){let r=this.form.get(e.path);tl(r,e),r.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(e){if(this.form){let r=this.form.get(e.path);r&&nl(r,e)&&r.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){ii(this.form,this),this._oldForm&&Ln(this._oldForm,this)}_checkFormPresent(){this.form}static \u0275fac=function(r){return new(r||n)(_($n,10),_(ti,10),_(zn,8))};static \u0275dir=T({type:n,features:[B,ie]})}return n})();var Fs=new b("");var ul={provide:$e,useExisting:me(()=>dl)},dl=(()=>{class n extends $e{_ngModelWarningConfig;_added=!1;viewModel;control;name=null;set isDisabled(e){}model;update=new L;static _ngModelWarningSentOnce=!1;_ngModelWarningSent=!1;constructor(e,r,i,o,s){super(),this._ngModelWarningConfig=s,this._parent=e,this._setValidators(r),this._setAsyncValidators(i),this.valueAccessor=Vs(this,o)}ngOnChanges(e){this._added||this._setUpControl(),xs(e,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}get path(){return Ns(this.name==null?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_setUpControl(){this.control=this.formDirective.addControl(this),this._added=!0}static \u0275fac=function(r){return new(r||n)(_(Be,13),_($n,10),_(ti,10),_(ct,10),_(Fs,8))};static \u0275dir=T({type:n,selectors:[["","formControlName",""]],inputs:{name:[0,"formControlName","name"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},standalone:!1,features:[ve([ul]),B,ie]})}return n})();var hl={provide:Be,useExisting:me(()=>fl)},fl=(()=>{class n extends ll{form=null;ngSubmit=new L;get control(){return this.form}static \u0275fac=(()=>{let e;return function(i){return(e||(e=K(n)))(i||n)}})();static \u0275dir=T({type:n,selectors:[["","formGroup",""]],hostBindings:function(r,i){r&1&&Ae("submit",function(s){return i.onSubmit(s)})("reset",function(){return i.onReset()})},inputs:{form:[0,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[ve([hl]),B]})}return n})(),pl={provide:ct,useExisting:me(()=>Us),multi:!0};function ks(n,t){return n==null?`${t}`:(t&&typeof t=="object"&&(t="Object"),`${n}: ${t}`.slice(0,50))}function gl(n){return n.split(":")[0]}var Us=(()=>{class n extends Bn{value;_optionMap=new Map;_idCounter=0;set compareWith(e){this._compareWith=e}_compareWith=Object.is;appRefInjector=u(St).injector;destroyRef=u(Ve);cdr=u(je);_queuedWrite=!1;_writeValueAfterRender(){this._queuedWrite||this.appRefInjector.destroyed||(this._queuedWrite=!0,Mt({write:()=>{this.destroyRef.destroyed||(this._queuedWrite=!1,this.writeValue(this.value))}},{injector:this.appRefInjector}))}writeValue(e){this.cdr.markForCheck(),this.value=e;let r=this._getOptionId(e),i=ks(r,e);this.setProperty("value",i)}registerOnChange(e){this.onChange=r=>{this.value=this._getOptionValue(r),e(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(e){for(let r of this._optionMap.keys())if(this._compareWith(this._optionMap.get(r),e))return r;return null}_getOptionValue(e){let r=gl(e);return this._optionMap.has(r)?this._optionMap.get(r):e}static \u0275fac=(()=>{let e;return function(i){return(e||(e=K(n)))(i||n)}})();static \u0275dir=T({type:n,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(r,i){r&1&&Ae("change",function(s){return i.onChange(s.target.value)})("blur",function(){return i.onTouched()})},inputs:{compareWith:"compareWith"},standalone:!1,features:[ve([pl]),B]})}return n})(),Fh=(()=>{class n{_element;_renderer;_select;id;constructor(e,r,i){this._element=e,this._renderer=r,this._select=i,this._select&&(this.id=this._select._registerOption())}set ngValue(e){this._select!=null&&(this._select._optionMap.set(this.id,e),this._setElementValue(ks(this.id,e)),this._select._writeValueAfterRender())}set value(e){this._setElementValue(e),this._select&&this._select._writeValueAfterRender()}_setElementValue(e){this._renderer.setProperty(this._element.nativeElement,"value",e)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select._writeValueAfterRender())}static \u0275fac=function(r){return new(r||n)(_(Me),_(Se),_(Us,9))};static \u0275dir=T({type:n,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"},standalone:!1})}return n})(),ml={provide:ct,useExisting:me(()=>js),multi:!0};function ps(n,t){return n==null?`${t}`:(typeof t=="string"&&(t=`'${t}'`),t&&typeof t=="object"&&(t="Object"),`${n}: ${t}`.slice(0,50))}function vl(n){return n.split(":")[0]}var js=(()=>{class n extends Bn{value;_optionMap=new Map;_idCounter=0;set compareWith(e){this._compareWith=e}_compareWith=Object.is;writeValue(e){this.value=e;let r;if(Array.isArray(e)){let i=e.map(o=>this._getOptionId(o));r=(o,s)=>{o._setSelected(i.indexOf(s.toString())>-1)}}else r=(i,o)=>{i._setSelected(!1)};this._optionMap.forEach(r)}registerOnChange(e){this.onChange=r=>{let i=[],o=r.selectedOptions;if(o!==void 0){let s=o;for(let a=0;a<s.length;a++){let c=s[a],l=this._getOptionValue(c.value);i.push(l)}}else{let s=r.options;for(let a=0;a<s.length;a++){let c=s[a];if(c.selected){let l=this._getOptionValue(c.value);i.push(l)}}}this.value=i,e(i)}}_registerOption(e){let r=(this._idCounter++).toString();return this._optionMap.set(r,e),r}_getOptionId(e){for(let r of this._optionMap.keys())if(this._compareWith(this._optionMap.get(r)._value,e))return r;return null}_getOptionValue(e){let r=vl(e);return this._optionMap.has(r)?this._optionMap.get(r)._value:e}static \u0275fac=(()=>{let e;return function(i){return(e||(e=K(n)))(i||n)}})();static \u0275dir=T({type:n,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(r,i){r&1&&Ae("change",function(s){return i.onChange(s.target)})("blur",function(){return i.onTouched()})},inputs:{compareWith:"compareWith"},standalone:!1,features:[ve([ml]),B]})}return n})(),kh=(()=>{class n{_element;_renderer;_select;id;_value;constructor(e,r,i){this._element=e,this._renderer=r,this._select=i,this._select&&(this.id=this._select._registerOption(this))}set ngValue(e){this._select!=null&&(this._value=e,this._setElementValue(ps(this.id,e)),this._select.writeValue(this._select.value))}set value(e){this._select?(this._value=e,this._setElementValue(ps(this.id,e)),this._select.writeValue(this._select.value)):this._setElementValue(e)}_setElementValue(e){this._renderer.setProperty(this._element.nativeElement,"value",e)}_setSelected(e){this._renderer.setProperty(this._element.nativeElement,"selected",e)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}static \u0275fac=function(r){return new(r||n)(_(Me),_(Se),_(js,9))};static \u0275dir=T({type:n,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"},standalone:!1})}return n})();var yl=(()=>{class n{_validator=Pn;_onChange;_enabled;ngOnChanges(e){if(this.inputName in e){let r=this.normalizeInput(e[this.inputName].currentValue);this._enabled=this.enabled(r),this._validator=this._enabled?this.createValidator(r):Pn,this._onChange&&this._onChange()}}validate(e){return this._validator(e)}registerOnValidatorChange(e){this._onChange=e}enabled(e){return e!=null}static \u0275fac=function(r){return new(r||n)};static \u0275dir=T({type:n,features:[ie]})}return n})();var _l={provide:$n,useExisting:me(()=>Cl),multi:!0},Cl=(()=>{class n extends yl{pattern;inputName="pattern";normalizeInput=e=>e;createValidator=e=>ys(e);static \u0275fac=(()=>{let e;return function(i){return(e||(e=K(n)))(i||n)}})();static \u0275dir=T({type:n,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(r,i){r&2&&gn("pattern",i._enabled?i.pattern:null)},inputs:{pattern:"pattern"},standalone:!1,features:[ve([_l]),B]})}return n})();var Ls=(()=>{class n{static \u0275fac=function(r){return new(r||n)};static \u0275mod=oe({type:n});static \u0275inj=ne({})}return n})();function gs(n){return!!n&&(n.asyncValidators!==void 0||n.validators!==void 0||n.updateOn!==void 0)}var wl=(()=>{class n{useNonNullable=!1;get nonNullable(){let e=new n;return e.useNonNullable=!0,e}group(e,r=null){let i=this._reduceControls(e),o={};return gs(r)?o=r:r!==null&&(o.validators=r.validator,o.asyncValidators=r.asyncValidator),new Un(i,o)}record(e,r=null){let i=this._reduceControls(e);return new Yr(i,r)}control(e,r,i){let o={};return this.useNonNullable?(gs(r)?o=r:(o.validators=r,o.asyncValidators=i),new jt(e,M(d({},o),{nonNullable:!0}))):new jt(e,r,i)}array(e,r,i){let o=e.map(s=>this._createControl(s));return new Zr(o,r,i)}_reduceControls(e){let r={};return Object.keys(e).forEach(i=>
2{r[i]=this._createControl(e[i])}),r}_createControl(e){if(e instanceof jt)return e;if(e instanceof at)return e;if(Array.isArray(e)){let r=e[0],i=e.length>1?e[1]:null,o=e.length>2?e[2]:null;return this.control(r,i,o)}else return this.control(e)}static \u0275fac=function(r){return new(r||n)};static \u0275prov=p({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();var Uh=(()=>{class n extends wl{group(e,r=null){return super.group(e,r)}control(e,r,i){return super.control(e,r,i)}array(e,r,i){return super.array(e,r,i)}static \u0275fac=(()=>{let e;return function(i){return(e||(e=K(n)))(i||n)}})();static \u0275prov=p({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),jh=(()=>{class n{static withConfig(e){return{ngModule:n,providers:[{provide:zn,useValue:e.callSetDisabledState??Gn}]}}static \u0275fac=function(r){return new(r||n)};static \u0275mod=oe({type:n});static \u0275inj=ne({imports:[Ls]})}return n})(),Lh=(()=>{class n{static withConfig(e){return{ngModule:n,providers:[{provide:Fs,useValue:e.warnOnNgModelWithFormControl??"always"},{provide:zn,useValue:e.callSetDisabledState??Gn}]}}static \u0275fac=function(r){return new(r||n)};static \u0275mod=oe({type:n});static \u0275inj=ne({imports:[Ls]})}return n})();var g="primary",Yt=Symbol("RouteTitle"),li=class{params;constructor(t){this.params=t||{}}has(t){return Object.prototype.hasOwnProperty.call(this.params,t)}get(t){if(this.has(t)){let e=this.params[t];return Array.isArray(e)?e[0]:e}return null}getAll(t){if(this.has(t)){let e=this.params[t];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}};function Ge(n){return new li(n)}function oi(n,t,e){for(let r=0;r<n.length;r++){let i=n[r],o=t[r];if(i[0]===":")e[i.substring(1)]=o;else if(i!==o.path)return!1}return!0}function Js(n,t,e){let r=e.path.split("/"),i=r.indexOf("**");if(i===-1){if(r.length>n.length||e.pathMatch==="full"&&(t.hasChildren()||r.length<n.length))return null;let c={},l=n.slice(0,r.length);return oi(r,l,c)?{consumed:l,posParams:c}:null}if(i!==r.lastIndexOf("**"))return null;let o=r.slice(0,i),s=r.slice(i+1);if(o.length+s.length>n.length||e.pathMatch==="full"&&t.hasChildren()&&e.path!=="**")return null;let a={};return!oi(o,n.slice(0,o.length),a)||!oi(s,n.slice(n.length-s.length),a)?null:{consumed:n,posParams:a}}function Kn(n){return new Promise((t,e)=>{n.pipe(De()).subscribe({next:r=>t(r),error:r=>e(r)})})}function bl(n,t){if(n.length!==t.length)return!1;for(let e=0;e<n.length;++e)if(!le(n[e],t[e]))return!1;return!0}function le(n,t){let e=n?ui(n):void 0,r=t?ui(t):void 0;if(!e||!r||e.length!=r.length)return!1;let i;for(let o=0;o<e.length;o++)if(i=e[o],!Ys(n[i],t[i]))return!1;return!0}function ui(n){return[...Object.keys(n),...Object.getOwnPropertySymbols(n)]}function Ys(n,t){if(Array.isArray(n)&&Array.isArray(t)){if(n.length!==t.length)return!1;let e=[...n].sort(),r=[...t].sort();return e.every((i,o)=>r[o]===i)}else return n===t}function El(n){return n.length>0?n[n.length-1]:null}function We(n){return Er(n)?n:pn(n)?V(Promise.resolve(n)):m(n)}function Ks(n){return Er(n)?Kn(n):Promise.resolve(n)}var Rl={exact:Qs,subset:ea},Zs={exact:Dl,subset:Ml,ignored:()=>!0};function Ri(n,t,e){let r=n instanceof H?n:t.parseUrl(n);return Ue(()=>di(t.lastSuccessfulNavigation()?.finalUrl??new H,r,e))}function di(n,t,e){return Rl[e.paths](n.root,t.root,e.matrixParams)&&Zs[e.queryParams](n.queryParams,t.queryParams)&&!(e.fragment==="exact"&&n.fragment!==t.fragment)}function Dl(n,t){return le(n,t)}function Qs(n,t,e){if(!He(n.segments,t.segments)||!Xn(n.segments,t.segments,e)||n.numberOfChildren!==t.numberOfChildren)return!1;for(let r in t.children)if(!n.children[r]||!Qs(n.children[r],t.children[r],e))return!1;return!0}function Ml(n,t){return Object.keys(t).length<=Object.keys(n).length&&Object.keys(t).every(e=>Ys(n[e],t[e]))}function ea(n,t,e){return ta(n,t,t.segments,e)}function ta(n,t,e,r){if(n.segments.length>e.length){let i=n.segments.slice(0,e.length);return!(!He(i,e)||t.hasChildren()||!Xn(i,e,r))}else if(n.segments.length===e.length){if(!He(n.segments,e)||!Xn(n.segments,e,r))return!1;for(let i in t.children)if(!n.children[i]||!ea(n.children[i],t.children[i],r))return!1;return!0}else{let i=e.slice(0,n.segments.length),o=e.slice(n.segments.length);return!He(n.segments,i)||!Xn(n.segments,i,r)||!n.children[g]?!1:ta(n.children[g],t,o,r)}}function Xn(n,t,e){return t.every((r,i)=>Zs[e](n[i].parameters,r.parameters))}var H=class{root;queryParams;fragment;_queryParamMap;constructor(t=new R([],{}),e={},r=null){this.root=t,this.queryParams=e,this.fragment=r}get queryParamMap(){return this._queryParamMap??=Ge(this.queryParams),this._queryParamMap}toString(){return Tl.serialize(this)}},R=class{segments;children;parent=null;constructor(t,e){this.segments=t,this.children=e,Object.values(e).forEach(r=>r.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Jn(this)}},Ie=class{path;parameters;_parameterMap;constructor(t,e){this.path=t,this.parameters=e}get parameterMap(){return this._parameterMap??=Ge(this.parameters),this._parameterMap}toString(){return ra(this)}};function Sl(n,t){return He(n,t)&&n.every((e,r)=>le(e.parameters,t[r].parameters))}function He(n,t){return n.length!==t.length?!1:n.every((e,r)=>e.path===t[r].path)}function Al(n,t){let e=[];
vendor: 10,583 bytes, line 2
2return Object.entries(n.children).forEach(([r,i])=>{r===g&&(e=e.concat(t(i,r)))}),Object.entries(n.children).forEach(([r,i])=>{r!==g&&(e=e.concat(t(i,r)))}),e}var Xe=(()=>{class n{static \u0275fac=function(r){return new(r||n)};static \u0275prov=p({token:n,factory:()=>new we,providedIn:"root"})}return n})(),we=class{parse(t){let e=new fi(t);return new H(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(t){let e=`/${Bt(t.root,!0)}`,r=Nl(t.queryParams),i=typeof t.fragment=="string"?`#${Il(t.fragment)}`:"";return`${e}${r}${i}`}},Tl=new we;function Jn(n){return n.segments.map(t=>ra(t)).join("/")}function Bt(n,t){if(!n.hasChildren())return Jn(n);if(t){let e=n.children[g]?Bt(n.children[g],!1):"",r=[];return Object.entries(n.children).forEach(([i,o])=>{i!==g&&r.push(`${i}:${Bt(o,!1)}`)}),r.length>0?`${e}(${r.join("//")})`:e}else{let e=Al(n,(r,i)=>i===g?[Bt(n.children[g],!1)]:[`${i}:${Bt(r,!1)}`]);return Object.keys(n.children).length===1&&n.children[g]!=null?`${Jn(n)}/${e[0]}`:`${Jn(n)}/(${e.join("//")})`}}function na(n){return encodeURIComponent(n).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function qn(n){return na(n).replace(/%3B/gi,";")}function Il(n){return encodeURI(n)}function hi(n){return na(n).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Yn(n){return decodeURIComponent(n)}function Bs(n){return Yn(n.replace(/\+/g,"%20"))}function ra(n){return`${hi(n.path)}${Ol(n.parameters)}`}function Ol(n){return Object.entries(n).map(([t,e])=>`;${hi(t)}=${hi(e)}`).join("")}function Nl(n){let t=Object.entries(n).map(([e,r])=>Array.isArray(r)?r.map(i=>`${qn(e)}=${qn(i)}`).join("&"):`${qn(e)}=${qn(r)}`).filter(e=>e);return t.length?`?${t.join("&")}`:""}var Pl=/^[^\/()?;#]+/;function si(n){let t=n.match(Pl);return t?t[0]:""}var xl=/^[^\/()?;=#]+/;function Vl(n){let t=n.match(xl);return t?t[0]:""}var Fl=/^[^=?&#]+/;function kl(n){let t=n.match(Fl);return t?t[0]:""}var Ul=/^[^&#]+/;function jl(n){let t=n.match(Ul);return t?t[0]:""}var fi=class{url;remaining;constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new R([],{}):new R([],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 e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));let r={};return this.peekStartsWith("(")&&(r=this.parseParens(!1)),(t.length>0||Object.keys(e).length>0)&&(r[g]=new R(t,e)),r}parseSegment(){let t=si(this.remaining);if(t===""&&this.peekStartsWith(";"))throw new y(4009,!1);return this.capture(t),new Ie(Yn(t),this.parseMatrixParams())}parseMatrixParams(){let t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){let e=Vl(this.remaining);if(!e)return;this.capture(e);let r="";if(this.consumeOptional("=")){let i=si(this.remaining);i&&(r=i,this.capture(r))}t[Yn(e)]=Yn(r)}parseQueryParam(t){let e=kl(this.remaining);if(!e)return;this.capture(e);let r="";if(this.consumeOptional("=")){let s=jl(this.remaining);s&&(r=s,this.capture(r))}let i=Bs(e),o=Bs(r);if(t.hasOwnProperty(i)){let s=t[i];Array.isArray(s)||(s=[s],t[i]=s),s.push(o)}else t[i]=o}parseParens(t){let e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let r=si(this.remaining),i=this.remaining[r.length];if(i!=="/"&&i!==")"&&i!==";")throw new y(4010,!1);let o;r.indexOf(":")>-1?(o=r.slice(0,r.indexOf(":")),this.capture(o),this.capture(":")):t&&(o=g);let s=this.parseChildren();e[o??g]=Object.keys(s).length===1&&s[g]?s[g]:new R([],s),this.consumeOptional("//")}return e}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 y(4011,!1)}};function ia(n){return n.segments.length>0?new R([],{[g]:n}):n}function oa(n){let t={};for(let[r,i]of Object.entries(n.children)){let o=oa(i);if(r===g&&o.segments.length===0&&o.hasChildren())for(let[s,a]of Object.entries(o.children))t[s]=a;else(o.segments.length>0||o.hasChildren())&&(t[r]=o)}let e=new R(n.segments,t);return Ll(e)}function Ll(n){if(n.numberOfChildren===1&&n.children[g]){let t=n.children[g];return new R(n.segments.concat(t.segments),t.children)}return n}function Oe(n){return n instanceof H}function sa(n,t,e=null,r=null,i=new we){let o=aa(n);return ca(o,t,e,r,i)}function aa(n){let t;function e(o){let s={};for(let c of o.children){let l=e(c);s[c.outlet]=l}let a=new R(o.url,s);return o===n&&(t=a),a}let r=e(n.root),i=ia(r);return t??i}function ca(n,t,e,r,i){let o=n;for(;o.parent;)o=o.parent;if(t.length===0)return ai(o,o,o,e,r,i);let s=Bl(t);if(s.toRoot())return ai(o,o,new R([],{}),e,r,i);let a=$l(s,o,n),c=a.processChildren?Ht(a.segmentGroup,a.index,s.commands):ua(a.segmentGroup,a.index,s.commands);return ai(o,a.segmentGroup,c,e,r,i)}function Zn(n){return typeof n=="object"&&n!=null&&!n.outlets&&!n.segmentPath}function Gt(n){return typeof n=="object"&&n!=null&&n.outlets}function $s(n,t,e){n||="\u0275";let r=new H;return r.queryParams={[n]:t},e.parse(e.serialize(r)).queryParams[n]}function ai(n,t,e,r,i,o){let s={};for(let[l,h]of Object.entries(r??{}))s[l]=Array.isArray(h)?h.map(f=>$s(l,f,o)):$s(l,h,o);let a;n===t?a=e:a=la(n,t,e);let c=ia(oa(a));return new H(c,s,i)}function la(n,t,e){let r={};return Object.entries(n.children).forEach(([i,o])=>{o===t?r[i]=e:r[i]=la(o,t,e)}),new R(n.segments,r)}var Qn=class{isAbsolute;numberOfDoubleDots;commands;constructor(t,e,r){if(this.isAbsolute=t,this.numberOfDoubleDots=e,this.commands=r,t&&r.length>0&&Zn(r[0]))throw new y(4003,!1);let i=r.find(Gt);if(i&&i!==El(r))throw new y(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function Bl(n){if(typeof n[0]=="string"&&n.length===1&&n[0]==="/")return new Qn(!0,0,n);let t=0,e=!1,r=n.reduce((i,o,s)=>{if(typeof o=="object"&&o!=null){if(o.outlets){let a={};return Object.entries(o.outlets).forEach(([c,l])=>{a[c]=typeof l=="string"?l.split("/"):l}),[...i,{outlets:a}]}if(o.segmentPath)return[...i,o.segmentPath]}return typeof o!="string"?[...i,o]:s===0?(o.split("/").forEach((a,c)=>{c==0&&a==="."||(c==0&&a===""?e=!0:a===".."?t++:a!=""&&i.push(a))}),i):[...i,o]},[]);return new Qn(e,t,r)}var ut=class{segmentGroup;processChildren;index;constructor(t,e,r){this.segmentGroup=t,this.processChildren=e,this.index=r}};function $l(n,t,e){if(n.isAbsolute)return new ut(t,!0,0);if(!e)return new ut(t,!1,NaN);if(e.parent===null)return new ut(e,!0,0);let r=Zn(n.commands[0])?0:1,i=e.segments.length-1+r;return Hl(e,i,n.numberOfDoubleDots)}function Hl(n,t,e){let r=n,i=t,o=e;for(;o>i;){if(o-=i,r=r.parent,!r)throw new y(4005,!1);i=r.segments.length}return new ut(r,!1,i-o)}function zl(n){return Gt(n[0])?n[0].outlets:{[g]:n}}function ua(n,t,e){if(n??=new R([],{}),n.segments.length===0&&n.hasChildren())return Ht(n,t,e);let r=Gl(n,t,e),i=e.slice(r.commandIndex);if(r.match&&r.pathIndex<n.segments.length){let o=new R(n.segments.slice(0,r.pathIndex),{});return o.children[g]=new R(n.segments.slice(r.pathIndex),n.children),Ht(o,0,i)}else return r.match&&i.length===0?new R(n.segments,{}):r.match&&!n.hasChildren()?pi(n,t,e):r.match?Ht(n,0,i):pi(n,t,e)}function Ht(n,t,e){if(e.length===0)return new R(n.segments,{});{let r=zl(e),i={};if(Object.keys(r).some(o=>o!==g)&&n.children[g]&&n.numberOfChildren===1&&n.children[g].segments.length===0){let o=Ht(n.children[g],t,e);return new R(n.segments,o.children)}return Object.entries(r).forEach(([o,s])=>{typeof s=="string"&&(s=[s]),s!==null&&(i[o]=ua(n.children[o],t,s))}),Object.entries(n.children).forEach(([o,s])=>{r[o]===void 0&&(i[o]=s)}),new R(n.segments,i)}}function Gl(n,t,e){let r=0,i=t,o={match:!1,pathIndex:0,commandIndex:0};for(;i<n.segments.length;){if(r>=e.length)return o;let s=n.segments[i],a=e[r];if(Gt(a))break;let c=`${a}`,l=r<e.length-1?e[r+1]:null;if(i>0&&c===void 0)break;if(c&&l&&typeof l=="object"&&l.outlets===void 0){if(!zs(c,l,s))return o;r+=2}else{if(!zs(c,{},s))return o;r++}i++}return{match:!0,pathIndex:i,commandIndex:r}}function pi(n,t,e){let r=n.segments.slice(0,t),i=0;for(;i<e.length;){let o=e[i];if(Gt(o)){let c=ql(o.outlets);return new R(r,c)}if(i===0&&Zn(e[0])){let c=n.segments[t];r.push(new Ie(c.path,Hs(e[0]))),i++;continue}let s=Gt(o)?o.outlets[g]:`${o}`,a=i<e.length-1?e[i+1]:null;s&&a&&Zn(a)?(r.push(new Ie(s,Hs(a))),i+=2):(r.push(new Ie(s,{})),i++)}return new R(r,{})}function ql(n){let t={};return Object.entries(n).forEach(([e,r])=>{typeof r=="string"&&(r=[r]),r!==null&&(t[e]=pi(new R([],{}),0,r))}),t}function Hs(n){let t={};return Object.entries(n).forEach(([e,r])=>t[e]=`${r}`),t}function zs(n,t,e){return n==e.path&&le(t,e.parameters)}var dt="imperative",P=(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})(P||{}),z=class{id;url;constructor(t,e){this.id=t,this.url=e}},Ne=class extends z{type=P.NavigationStart;navigationTrigger;restoredState;constructor(t,e,r="imperative",i=null){super(t,e),this.navigationTrigger=r,this.restoredState=i}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},G=class extends z{urlAfterRedirects;type=P.NavigationEnd;constructor(t,e,r){super(t,e),this.urlAfterRedirects=r}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},F=(function(n){return n[n.Redirect=0]="Redirect",n[n.SupersededByNewNavigation=1]="SupersededByNewNavigation",n[n.NoDataFromRe
2solver=2]="NoDataFromResolver",n[n.GuardRejected=3]="GuardRejected",n[n.Aborted=4]="Aborted",n})(F||{}),ft=(function(n){return n[n.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",n[n.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",n})(ft||{}),J=class extends z{reason;code;type=P.NavigationCancel;constructor(t,e,r,i){super(t,e),this.reason=r,this.code=i}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}};function da(n){return n instanceof J&&(n.code===F.Redirect||n.code===F.SupersededByNewNavigation)}var ue=class extends z{reason;code;type=P.NavigationSkipped;constructor(t,e,r,i){super(t,e),this.reason=r,this.code=i}},qe=class extends z{error;target;type=P.NavigationError;constructor(t,e,r,i){super(t,e),this.error=r,this.target=i}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},pt=class extends z{urlAfterRedirects;state;type=P.RoutesRecognized;constructor(t,e,r,i){super(t,e),this.urlAfterRedirects=r,this.state=i}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},er=class extends z{urlAfterRedirects;state;type=P.GuardsCheckStart;constructor(t,e,r,i){super(t,e),this.urlAfterRedirects=r,this.state=i}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},tr=class extends z{urlAfterRedirects;state;shouldActivate;type=P.GuardsCheckEnd;constructor(t,e,r,i,o){super(t,e),this.urlAfterRedirects=r,this.state=i,this.shouldActivate=o}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},nr=class extends z{urlAfterRedirects;state;type=P.ResolveStart;constructor(t,e,r,i){super(t,e),this.urlAfterRedirects=r,this.state=i}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},rr=class extends z{urlAfterRedirects;state;type=P.ResolveEnd;constructor(t,e,r,i){super(t,e),this.urlAfterRedirects=r,this.state=i}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},ir=class{route;type=P.RouteConfigLoadStart;constructor(t){this.route=t}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},or=class{route;type=P.RouteConfigLoadEnd;constructor(t){this.route=t}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},sr=class{snapshot;type=P.ChildActivationStart;constructor(t){this.snapshot=t}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},ar=class{snapshot;type=P.ChildActivationEnd;constructor(t){this.snapshot=t}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},cr=class{snapshot;type=P.ActivationStart;constructor(t){this.snapshot=t}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},lr=class{snapshot;type=P.ActivationEnd;constructor(t){this.snapshot=t}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},gt=class{routerEvent;position;anchor;scrollBehavior;type=P.Scroll;constructor(t,e,r,i){this.routerEvent=t,this.position=e,this.anchor=r,this.scrollBehavior=i}toString(){let t=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${t}')`}},mt=class{},vt=class{url;navigationBehaviorOptions;constructor(t,e){this.url=t,this.navigationBehaviorOptions=e}};function Wl(n){return!(n instanceof mt)&&!(n instanceof vt)}var ur=class{rootInjector;outlet=null;route=null;children;attachRef=null;get injector(){return this.route?.snapshot._environmentInjector??this.rootInjector}constructor(t){this.rootInjector=t,this.children=new Je(this.rootInjector)}},Je=(()=>{class n{rootInjector;contexts=new Map;constructor(e){this.rootInjector=e}onChildOutletCreated(e,r){let i=this.getOrCreateContext(e);i.outlet=r,this.contexts.set(e,i)}onChildOutletDestroyed(e){let r=this.getContext(e);r&&(r.outlet=null,r.attachRef=null)}onOutletDeactivated(){let e=this.contexts;return this.contexts=new Map,e}onOutletReAttached(e){this.contexts=e}getOrCreateContext(e){let r=this.getContext(e);return r||(r=new ur(this.rootInjector),this.contexts.set(e,r)),r}getContext(e){return this.contexts.get(e)||null}static \u0275fac=function(r){return new(r||n)(v(X))};static \u0275prov=p({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),dr=class{_root;constructor(t){this._root=t}get root(){return this._root.value}
vendor: 20,334 bytes, line 2
2parent(t){let e=this.pathFromRoot(t);return e.length>1?e[e.length-2]:null}children(t){let e=gi(t,this._root);return e?e.children.map(r=>r.value):[]}firstChild(t){let e=gi(t,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(t){let e=mi(t,this._root);return e.length<2?[]:e[e.length-2].children.map(i=>i.value).filter(i=>i!==t)}pathFromRoot(t){return mi(t,this._root).map(e=>e.value)}};function gi(n,t){if(n===t.value)return t;for(let e of t.children){let r=gi(n,e);if(r)return r}return null}function mi(n,t){if(n===t.value)return[t];for(let e of t.children){let r=mi(n,e);if(r.length)return r.unshift(t),r}return[]}var $=class{value;children;constructor(t,e){this.value=t,this.children=e}toString(){return`TreeNode(${this.value})`}};function lt(n){let t={};return n&&n.children.forEach(e=>t[e.value.outlet]=e),t}var qt=class extends dr{snapshot;constructor(t,e){super(t),this.snapshot=e,Di(this,t)}toString(){return this.snapshot.toString()}};function ha(n,t){let e=Xl(n,t),r=new q([new Ie("",{})]),i=new q({}),o=new q({}),s=new q({}),a=new q(""),c=new be(r,i,s,a,o,g,n,e.root);return c.snapshot=e.root,new qt(new $(c,[]),e)}function Xl(n,t){let e={},r={},i={},s=new ze([],e,i,"",r,g,n,null,{},t);return new Wt("",new $(s,[]))}var be=class{urlSubject;paramsSubject;queryParamsSubject;fragmentSubject;dataSubject;outlet;component;snapshot;_futureSnapshot;_routerState;_paramMap;_queryParamMap;title;url;params;queryParams;fragment;data;constructor(t,e,r,i,o,s,a,c){this.urlSubject=t,this.paramsSubject=e,this.queryParamsSubject=r,this.fragmentSubject=i,this.dataSubject=o,this.outlet=s,this.component=a,this._futureSnapshot=c,this.title=this.dataSubject?.pipe(O(l=>l[Yt]))??m(void 0),this.url=t,this.params=e,this.queryParams=r,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(O(t=>Ge(t))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(O(t=>Ge(t))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function hr(n,t,e="emptyOnly"){let r,{routeConfig:i}=n;return t!==null&&(e==="always"||i?.path===""||!t.component&&!t.routeConfig?.loadComponent)?r={params:d(d({},t.params),n.params),data:d(d({},t.data),n.data),resolve:d(d(d(d({},n.data),t.data),i?.data),n._resolvedData)}:r={params:d({},n.params),data:d({},n.data),resolve:d(d({},n.data),n._resolvedData??{})},i&&pa(i)&&(r.resolve[Yt]=i.title),r}var ze=class{url;params;queryParams;fragment;data;outlet;component;routeConfig;_resolve;_resolvedData;_routerState;_paramMap;_queryParamMap;_environmentInjector;get title(){return this.data?.[Yt]}constructor(t,e,r,i,o,s,a,c,l,h){this.url=t,this.params=e,this.queryParams=r,this.fragment=i,this.data=o,this.outlet=s,this.component=a,this.routeConfig=c,this._resolve=l,this._environmentInjector=h}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??=Ge(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=Ge(this.queryParams),this._queryParamMap}toString(){let t=this.url.map(r=>r.toString()).join("/"),e=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${t}', path:'${e}')`}},Wt=class extends dr{url;constructor(t,e){super(e),this.url=t,Di(this,e)}toString(){return fa(this._root)}};function Di(n,t){t.value._routerState=n,t.children.forEach(e=>Di(n,e))}function fa(n){let t=n.children.length>0?` { ${n.children.map(fa).join(", ")} } `:"";return`${n.value}${t}`}function ci(n){if(n.snapshot){let t=n.snapshot,e=n._futureSnapshot;n.snapshot=e,le(t.queryParams,e.queryParams)||n.queryParamsSubject.next(e.queryParams),t.fragment!==e.fragment&&n.fragmentSubject.next(e.fragment),le(t.params,e.params)||n.paramsSubject.next(e.params),bl(t.url,e.url)||n.urlSubject.next(e.url),le(t.data,e.data)||n.dataSubject.next(e.data)}else n.snapshot=n._futureSnapshot,n.dataSubject.next(n._futureSnapshot.data)}function vi(n,t){let e=le(n.params,t.params)&&Sl(n.url,t.url),r=!n.parent!=!t.parent;return e&&!r&&(!n.parent||vi(n.parent,t.parent))}function pa(n){return typeof n.title=="string"||n.title===null}var ga=new b(""),Mi=(()=>{class n{activated=null;get activatedComponentRef(){return this.activated}_activatedRoute=null;name=g;activateEvents=new L;deactivateEvents=new L;attachEvents=new L;detachEvents=new L;routerOutletData=Do();parentContexts=u(Je);location=u(fo);changeDetector=u(je);inputBinder=u(Kt,{optional:!0});supportsBindingToComponentInputs=!0;ngOnChanges(e){if(e.name){let{firstChange:r,previousValue:i}=e.name;if(r)return;this.isTrackedInParentContexts(i)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(i)),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 y(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new y(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new y(4012,!1);this.location.detach();let e=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(e.instance),e}attach(e,r){this.activated=e,this._activatedRoute=r,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,r){if(this.isActivated)throw new y(4013,!1);this._activatedRoute=e;let i=this.location,s=e.snapshot.component,a=this.parentContexts.getOrCreateContext(this.name).children,c=new yi(e,a,i.injector,this.routerOutletData);this.activated=i.createComponent(s,{index:i.length,injector:c,environmentInjector:r}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static \u0275fac=function(r){return new(r||n)};static \u0275dir=T({type:n,selectors:[["router-outlet"]],inputs:{name:"name",routerOutletData:[1,"routerOutletData"]},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],features:[ie]})}return n})(),yi=class{route;childContexts;parent;outletData;constructor(t,e,r,i){this.route=t,this.childContexts=e,this.parent=r,this.outletData=i}get(t,e){return t===be?this.route:t===Je?this.childContexts:t===ga?this.outletData:this.parent.get(t,e)}},Kt=new b(""),Si=(()=>{class n{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:r}=e,i=Rr([r.queryParams,r.params,r.data]).pipe(Y(([o,s,a],c)=>(a=d(d(d({},o),s),a),c===0?m(a):Promise.resolve(a)))).subscribe(o=>{if(!e.isActivated||!e.activatedComponentRef||e.activatedRoute!==r||r.component===null){this.unsubscribeFromRouteData(e);return}let s=To(r.component);if(!s){this.unsubscribeFromRouteData(e);return}for(let{templateName:a}of s.inputs)e.activatedComponentRef.setInput(a,o[a])});this.outletDataSubscriptions.set(e,i)}static \u0275fac=function(r){return new(r||n)};static \u0275prov=p({token:n,factory:n.\u0275fac})}return n})(),Ai=(()=>{class n{static \u0275fac=function(r){return new(r||n)};static \u0275cmp=go({type:n,selectors:[["ng-component"]],exportAs:["emptyRouterOutlet"],decls:1,vars:0,template:function(r,i){r&1&&_o(0,"router-outlet")},dependencies:[Mi],encapsulation:2})}return n})();function Ti(n){let t=n.children&&n.children.map(Ti),e=t?M(d({},n),{children:t}):d({},n);return!e.component&&!e.loadComponent&&(t||e.loadChildren)&&e.outlet&&e.outlet!==g&&(e.component=Ai),e}function Jl(n,t,e){let r=Xt(n,t._root,e?e._root:void 0);return new qt(r,t)}function Xt(n,t,e){if(e&&n.shouldReuseRoute(t.value,e.value.snapshot)){let r=e.value;r._futureSnapshot=t.value;let i=Yl(n,t,e);return new $(r,i)}else{if(n.shouldAttach(t.value)){let o=n.retrieve(t.value);if(o!==null){let s=o.route;return s.value._futureSnapshot=t.value,s.children=t.children.map(a=>Xt(n,a)),s}}let r=Kl(t.value),i=t.children.map(o=>Xt(n,o));return new $(r,i)}}function Yl(n,t,e){return t.children.map(r=>{for(let i of e.children)if(n.shouldReuseRoute(r.value,i.value.snapshot))return Xt(n,r,i);return Xt(n,r)})}function Kl(n){return new be(new q(n.url),new q(n.params),new q(n.queryParams),new q(n.fragment),new q(n.data),n.outlet,n.component,n)}var yt=class{redirectTo;navigationBehaviorOptions;constructor(t,e){this.redirectTo=t,this.navigationBehaviorOptions=e}},ma="ngNavigationCancelingError";function fr(n,t){let{redirectTo:e,navigationBehaviorOptions:r}=Oe(t)?{redirectTo:t,navigationBehaviorOptions:void 0}:t,i=va(!1,F.Redirect);return i.url=e,i.navigationBehaviorOptions=r,i}function va(n,t){let e=new Error(`NavigationCancelingError: ${n||""}`);return e[ma]=!0,e.cancellationCode=t,e}function Zl(n){return ya(n)&&Oe(n.url)}function ya(n){return!!n&&n[ma]}var _i=class{routeReuseStrategy;futureState;currState;forwardEvent;inputBindingEnabled;constructor(t,e,r,i,o){this.routeReuseStrategy=t,this.futureState=e,this.currState=r,this.forwardEvent=i,this.inputBindingEnabled=o}activate(t){let e=this.futureState._root,r=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,r,t),ci(this.futureState.root),this.activateChildRoutes(e,r,t)}deactivateChildRoutes(t,e,r){let i=lt(e);t.children.forEach(o=>{let s=o.value.outlet;this.deactivateRoutes(o,i[s],r),delete i[s]}),Object.values(i).forEach(o=>{this.deactivateRouteAndItsChildren(o,r)})}deactivateRoutes(t,e,r){let i=t.value,o=e?e.value:null;if(i===o)if(i.component){let s=r.getContext(i.outlet);s&&this.deactivateChildRoutes(t,e,s.children)}else this.deactivateChildRoutes(t,e,r);else o&&this.deactivateRouteAndItsChildren(e,r)}deactivateRouteAndItsChildren(t,e){t.value.component&&this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,e):this.deactivateRouteAndOutlet(t,e)}detachAndStoreRouteSubtree(t,e){let r=e.getContext(t.value.outlet),i=r&&t.value.component?r.children:e,o=lt(t);for(let s of Object.values(o))this.deactivateRouteAndItsChildren(s,i);if(r&&r.outlet){let s=r.outlet.detach(),a=r.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:s,route:t,contexts:a})}}deactivateRouteAndOutlet(t,e){let r=e.getContext(t.value.outlet),i=r&&t.value.component?r.children:e,o=lt(t);for(let s of Object.values(o))this.deactivateRouteAndItsChildren(s,i);r&&(r.outlet&&(r.outlet.deactivate(),r.children.onOutletDeactivated()),r.attachRef=null,r.route=null)}activateChildRoutes(t,e,r){let i=lt(e);t.children.forEach(o=>{this.activateRoutes(o,i[o.value.outlet],r),this.forwardEvent(new lr(o.value.snapshot))}),t.children.length&&this.forwardEvent(new ar(t.value.snapshot))}activateRoutes(t,e,r){let i=t.value,o=e?e.value:null;if(ci(i),i===o)if(i.component){let s=r.getOrCreateContext(i.outlet);this.activateChildRoutes(t,e,s.children)}else this.activateChildRoutes(t,e,r);else if(i.component){let s=r.getOrCreateContext(i.outlet);if(this.routeReuseStrategy.shouldAttach(i.snapshot)){let a=this.routeReuseStrategy.retrieve(i.snapshot);this.routeReuseStrategy.store(i.snapshot,null),s.children.onOutletReAttached(a.contexts),s.attachRef=a.componentRef,s.route=a.route.value,s.outlet&&s.outlet.attach(a.componentRef,a.route.value),ci(a.route.value),this.activateChildRoutes(t,null,s.children)}else s.attachRef=null,s.route=i,s.outlet&&s.outlet.activateWith(i,s.injector),this.activateChildRoutes(t,null,s.children)}else this.activateChildRoutes(t,null,r)}},pr=class{path;route;constructor(t){this.path=t,this.route=this.path[this.path.length-1]}},ht=class{component;route;constructor(t,e){this.component=t,this.route=e}};function Ql(n,t,e){let r=n._root,i=t?t._root:null;return $t(r,i,e,[r.value])}function eu(n){let t=n.routeConfig?n.routeConfig.canActivateChild:null;return!t||t.length===0?null:{node:n,guards:t}}function Ct(n,t){let e=Symbol(),r=t.get(n,e);return r===e?typeof n=="function"&&!Wi(n)?n:t.get(n):r}function $t(n,t,e,r,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=lt(t);return n.children.forEach(s=>{tu(s,o[s.value.outlet],e,r.concat([s.value]),i),delete o[s.value.outlet]}),Object.entries(o).forEach(([s,a])=>zt(a,e.getContext(s),i)),i}function tu(n,t,e,r,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=n.value,s=t?t.value:null,a=e?e.getContext(n.value.outlet):null;if(s&&o.routeConfig===s.routeConfig){let c=nu(s,o,o.routeConfig.runGuardsAndResolvers);c?i.canActivateChecks.push(new pr(r)):(o.data=s.data,o._resolvedData=s._resolvedData),o.component?$t(n,t,a?a.children:null,r,i):$t(n,t,e,r,i),c&&a&&a.outlet&&a.outlet.isActivated&&i.canDeactivateChecks.push(new ht(a.outlet.component,s))}else s&&zt(t,a,i),i.canActivateChecks.push(new pr(r)),o.component?$t(n,null,a?a.children:null,r,i):$t(n,null,e,r,i);return i}function nu(n,t,e){if(typeof e=="function")return U(t._environmentInjector,()=>e(n,t));switch(e){case"pathParamsChange":return!He(n.url,t.url);case"pathParamsOrQueryParamsChange":return!He(n.url,t.url)||!le(n.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!vi(n,t)||!le(n.queryParams,t.queryParams);default:return!vi(n,t)}}function zt(n,t,e){let r=lt(n),i=n.value;Object.entries(r).forEach(([o,s])=>{i.component?t?zt(s,t.children.getContext(o),e):zt(s,null,e):zt(s,t,e)}),i.component?t&&t.outlet&&t.outlet.isActivated?e.canDeactivateChecks.push(new ht(t.outlet.component,i)):e.canDeactivateChecks.push(new ht(null,i)):e.canDeactivateChecks.push(new ht(null,i))}function Zt(n){return typeof n=="function"}function ru(n){return typeof n=="boolean"}function iu(n){return n&&Zt(n.canLoad)}function ou(n){return n&&Zt(n.canActivate)}function su(n){return n&&Zt(n.canActivateChild)}function au(n){return n&&Zt(n.canDeactivate)}function cu(n){return n&&Zt(n.canMatch)}function _a(n){return n instanceof Hi||n?.name==="EmptyError"}var Wn=Symbol("INITIAL_VALUE");function _t(){return Y(n=>Rr(n.map(t=>t.pipe(Ye(1),qi(Wn)))).pipe(O(t=>{for(let e of t)if(e!==!0){if(e===Wn)return Wn;if(e===!1||lu(e))return e}return!0}),te(t=>t!==Wn),Ye(1)))}function lu(n){return Oe(n)||n instanceof yt}function Ca(n){return n.aborted?m(void 0).pipe(Ye(1)):new Et(t=>{let e=()=>{t.next(),t.complete()};return n.addEventListener("abort",e),()=>n.removeEventListener("abort",e)})}function wa(n){return on(Ca(n))}function uu(n){return ee(t=>{let{targetSnapshot:e,currentSnapshot:r,guards:{canActivateChecks:i,canDeactivateChecks:o}}=t;return o.length===0&&i.length===0?m(M(d({},t),{guardsResult:!0})):du(o,e,r).pipe(ee(s=>s&&ru(s)?hu(e,i,n):m(s)),O(s=>M(d({},t),{guardsResult:s})))})}function du(n,t,e){return V(n).pipe(ee(r=>vu(r.component,r.route,e,t)),De(r=>r!==!0,!0))}function hu(n,t,e){return V(t).pipe(xe(r=>zi(pu(r.route.parent,e),fu(r.route,e),mu(n,r.path),gu(n,r.route))),De(r=>r!==!0,!0))}function fu(n,t){return n!==null&&t&&t(new cr(n)),m(!0)}function pu(n,t){return n!==null&&t&&t(new sr(n)),m(!0)}function gu(n,t){let e=t.routeConfig?t.routeConfig.canActivate:null;if(!e||e.length===0)return m(!0);let r=e.map(i=>tn(()=>{let o=t._environmentInjector,s=Ct(i,o),a=ou(s)?s.canActivate(t,n):U(o,()=>s(t,n));return We(a).pipe(De())}));return m(r).pipe(_t())}function mu(n,t){let e=t[t.length-1],i=t.slice(0,t.length-1).reverse().map(o=>eu(o)).filter(o=>o!==null).map(o=>tn(()=>{let s=o.guards.map(a=>{let c=o.node._environmentInjector,l=Ct(a,c),h=su(l)?l.canActivateChild(e,n):U(c,()=>l(e,n));return We(h).pipe(De())});return m(s).pipe(_t())}));return m(i).pipe(_t())}function vu(n,t,e,r){let i=t&&t.routeConfig?t.routeConfig.canDeactivate:null;if(!i||i.length===0)return m(!0);let o=i.map(s=>{let a=t._environmentInjector,c=Ct(s,a),l=au(c)?c.canDeactivate(n,t,e,r):U(a,()=>c(n,t,e,r));return We(l).pipe(De())});return m(o).pipe(_t())}function yu(n,t,e,r,i){let o=t.canLoad;if(o===void 0||o.length===0)return m(!0);let s=o.map(a=>{let c=Ct(a,n),l=iu(c)?c.canLoad(t,e):U(n,()=>c(t,e)),h=We(l);return i?h.pipe(wa(i)):h});return m(s).pipe(_t(),ba(r))}function ba(n){return Bi(pe(t=>{if(typeof t!="boolean")throw fr(n,t)}),O(t=>t===!0))}function _u(n,t,e,r,i){let o=t.canMatch;if(!o||o.length===0)return m(!0);let s=o.map(a=>{let c=Ct(a,n),l=cu(c)?c.canMatch(t,e):U(n,()=>c(t,e));return We(l).pipe(wa(i))});return m(s).pipe(_t(),ba(r))}var Ce=class n extends Error{segmentGroup;constructor(t){super(),this.segmentGroup=t||null,Object.setPrototypeOf(this,n.prototype)}},Jt=class n extends Error{urlTree;constructor(t){super(),this.urlTree=t,Object.setPrototypeOf(this,n.prototype)}};function Cu(n){throw new y(4e3,!1)}function wu(n){throw va(!1,F.GuardRejected)}var Ci=class{urlSerializer;urlTree;constructor(t,e){this.urlSerializer=t,this.urlTree=e}lineralizeSegments(t,e){return S(this,null,function*(){let r=[],i=e.root;for(;;){if(r=r.concat(i.segments),i.numberOfChildren===0)return r;if(i.numberOfChildren>1||!i.children[g])throw Cu(`${t.redirectTo}`);i=i.children[g]}})}applyRedirectCommands(t,e,r,i,o){return S(this,null,function*(){let s=yield bu(e,i,o);if(s instanceof H)throw new Jt(s);let a=this.applyRedirectCreateUrlTree(s,this.urlSerializer.parse(s),t,r);if(s[0]==="/")throw new Jt(a);return a})}applyRedirectCreateUrlTree(t,e,r,i){let o=this.createSegmentGroup(t,e.root,r,i);return new H(o,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(t,e){let r={};return Object.entries(t).forEach(([i,o])=>{if(typeof o=="string"&&o[0]===":"){let a=o.substring(1);r[i]=e[a]}else r[i]=o}),r}createSegmentGroup(t,e,r,i){let o=this.createSegments(t,e.segments,r,i),s={};return Object.entries(e.children).forEach(([a,c])=>{s[a]=this.createSegmentGroup(t,c,r,i)}),new R(o,s)}createSegments(t,e,r,i){return e.map(o=>o.path[0]===":"?this.findPosParam(t,o,i):this.findOrReturn(o,r))}findPosParam(t,e,r){let i=r[e.path.substring(1)];if(!i)throw new y(4001,!1);return i}findOrReturn(t,e){let r=0;for(let i of e){if(i.path===t.path)return e.splice(r),i;r++}return t}};function bu(n,t,e){if(typeof n=="string")return Promise.resolve(n);let r=n,{queryParams:i,fragment:o,routeConfig:s,url:a,outlet:c,params:l,data:h,title:f,paramMap:w,queryParamMap:D}=t;return Kn(We(U(e,()=>r({params:l,data:h,queryParams:i,fragment:o,routeConfig:s,url:a,outlet:c,title:f,paramMap:w,queryParamMap:D}))))}function Eu(n,t){return n.providers&&!n._injector&&(n._injector=hn(n.providers,t,`Route: ${n.path}`)),n._injector??t}function Z(n){return n.outlet||g}function Ru(n,t){let e=n.filter(r=>Z(r)===t);return e.push(...n.filter(r=>Z(r)!==t)),e}var wi={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Du(n,t,e,r,i,o){let s=Ea(n,t,e);return s.matched?(r=Eu(t,r),_u(r,t,e,i,o).pipe(O(a=>a===!0?s:d({},wi)))):m(s)}function Ea(n,t,e){if(t.path==="")return t.pathMatch==="full"&&(n.hasChildren()||e.length>0)?d({},wi):{matched:!0,consumedSegments:[],remainingSegments:e,parameters:{},positionalParamSegments:{}};let i=(t.matcher||Js)(e,n,t);if(!i)return d({},wi);let o={};Object.entries(i.posParams??{}
2).forEach(([a,c])=>{o[a]=c.path});let s=i.consumed.length>0?d(d({},o),i.consumed[i.consumed.length-1].parameters):o;return{matched:!0,consumedSegments:i.consumed,remainingSegments:e.slice(i.consumed.length),parameters:s,positionalParamSegments:i.posParams??{}}}function Gs(n,t,e,r){return e.length>0&&Au(n,e,r)?{segmentGroup:new R(t,Su(r,new R(e,n.children))),slicedSegments:[]}:e.length===0&&Tu(n,e,r)?{segmentGroup:new R(n.segments,Mu(n,e,r,n.children)),slicedSegments:e}:{segmentGroup:new R(n.segments,n.children),slicedSegments:e}}function Mu(n,t,e,r){let i={};for(let o of e)if(mr(n,t,o)&&!r[Z(o)]){let s=new R([],{});i[Z(o)]=s}return d(d({},r),i)}function Su(n,t){let e={};e[g]=t;for(let r of n)if(r.path===""&&Z(r)!==g){let i=new R([],{});e[Z(r)]=i}return e}function Au(n,t,e){return e.some(r=>mr(n,t,r)&&Z(r)!==g)}function Tu(n,t,e){return e.some(r=>mr(n,t,r))}function mr(n,t,e){return(n.hasChildren()||t.length>0)&&e.pathMatch==="full"?!1:e.path===""}function Iu(n,t,e){return t.length===0&&!n.children[e]}var bi=class{};function Ou(n,t,e,r,i,o,s="emptyOnly",a){return S(this,null,function*(){return new Ei(n,t,e,r,i,s,o,a).recognize()})}var Nu=31,Ei=class{injector;configLoader;rootComponentType;config;urlTree;paramsInheritanceStrategy;urlSerializer;abortSignal;applyRedirects;absoluteRedirectCount=0;allowRedirects=!0;constructor(t,e,r,i,o,s,a,c){this.injector=t,this.configLoader=e,this.rootComponentType=r,this.config=i,this.urlTree=o,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.abortSignal=c,this.applyRedirects=new Ci(this.urlSerializer,this.urlTree)}noMatchError(t){return new y(4002,`'${t.segmentGroup}'`)}recognize(){return S(this,null,function*(){let t=Gs(this.urlTree.root,[],[],this.config).segmentGroup,{children:e,rootSnapshot:r}=yield this.match(t),i=new $(r,e),o=new Wt("",i),s=sa(r,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,o.url=this.urlSerializer.serialize(s),{state:o,tree:s}})}match(t){return S(this,null,function*(){let e=new ze([],Object.freeze({}),Object.freeze(d({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),g,this.rootComponentType,null,{},this.injector);try{return{children:yield this.processSegmentGroup(this.injector,this.config,t,g,e),rootSnapshot:e}}catch(r){if(r instanceof Jt)return this.urlTree=r.urlTree,this.match(r.urlTree.root);throw r instanceof Ce?this.noMatchError(r):r}})}processSegmentGroup(t,e,r,i,o){return S(this,null,function*(){if(r.segments.length===0&&r.hasChildren())return this.processChildren(t,e,r,o);let s=yield this.processSegment(t,e,r,r.segments,i,!0,o);return s instanceof $?[s]:[]})}processChildren(t,e,r,i){return S(this,null,function*(){let o=[];for(let c of Object.keys(r.children))c==="primary"?o.unshift(c):o.push(c);let s=[];for(let c of o){let l=r.children[c],h=Ru(e,c),f=yield this.processSegmentGroup(t,h,l,c,i);s.push(...f)}let a=Ra(s);return Pu(a),a})}processSegment(t,e,r,i,o,s,a){return S(this,null,function*(){for(let c of e)try{return yield this.processSegmentAgainstRoute(c._injector??t,e,c,r,i,o,s,a)}catch(l){if(l instanceof Ce||_a(l))continue;throw l}if(Iu(r,i,o))return new bi;throw new Ce(r)})}processSegmentAgainstRoute(t,e,r,i,o,s,a,c){return S(this,null,function*(){if(Z(r)!==s&&(s===g||!mr(i,o,r)))throw new Ce(i);if(r.redirectTo===void 0)return this.matchSegmentAgainstRoute(t,i,r,o,s,c);if(this.allowRedirects&&a)return this.expandSegmentAgainstRouteUsingRedirect(t,i,e,r,o,s,c);throw new Ce(i)})}expandSegmentAgainstRouteUsingRedirect(t,e,r,i,o,s,a){return S(this,null,function*(){let{matched:c,parameters:l,consumedSegments:h,positionalParamSegments:f,remainingSegments:w}=Ea(e,i,o);if(!c)throw new Ce(e);typeof i.redirectTo=="string"&&i.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>Nu&&(this.allowRedirects=!1));let D=new ze(o,l,Object.freeze(d({},this.urlTree.queryParams)),this.urlTree.fragment,qs(i),Z(i),i.component??i._loadedComponent??null,i,Ws(i),t),k=hr(D,a,this.paramsInheritanceStrategy);if(D.params=Object.freeze(k.params),D.data=Object.freeze(k.data),this.abort
2Signal.aborted)throw new Error(this.abortSignal.reason);let A=yield this.applyRedirects.applyRedirectCommands(h,i.redirectTo,f,D,t),C=yield this.applyRedirects.lineralizeSegments(i,A);return this.processSegment(t,r,e,C.concat(w),s,!1,a)})}matchSegmentAgainstRoute(t,e,r,i,o,s){return S(this,null,function*(){if(this.abortSignal.aborted)throw new Error(this.abortSignal.reason);let a=yield Kn(Du(e,r,i,t,this.urlSerializer,this.abortSignal));if(r.path==="**"&&(e.children={}),!a?.matched)throw new Ce(e);t=r._injector??t;let{routes:c}=yield this.getChildConfig(t,r,i),l=r._loadedInjector??t,{parameters:h,consumedSegments:f,remainingSegments:w}=a,D=new ze(f,h,Object.freeze(d({},this.urlTree.queryParams)),this.urlTree.fragment,qs(r),Z(r),r.component??r._loadedComponent??null,r,Ws(r),t),k=hr(D,s,this.paramsInheritanceStrategy);D.params=Object.freeze(k.params),D.data=Object.freeze(k.data);let{segmentGroup:A,slicedSegments:C}=Gs(e,f,w,c);if(C.length===0&&A.hasChildren()){let Q=yield this.processChildren(l,c,A,D);return new $(D,Q)}if(c.length===0&&C.length===0)return new $(D,[]);let E=Z(r)===o,N=yield this.processSegment(l,c,A,C,E?g:o,!0,D);return new $(D,N instanceof $?[N]:[])})}getChildConfig(t,e,r){return S(this,null,function*(){if(e.children)return{routes:e.children,injector:t};if(e.loadChildren){if(e._loadedRoutes!==void 0){let o=e._loadedNgModuleFactory;return o&&!e._loadedInjector&&(e._loadedInjector=o.create(t).injector),{routes:e._loadedRoutes,injector:e._loadedInjector}}if(this.abortSignal.aborted)throw new Error(this.abortSignal.reason);if(yield Kn(yu(t,e,r,this.urlSerializer,this.abortSignal))){let o=yield this.configLoader.loadChildren(t,e);return e._loadedRoutes=o.routes,e._loadedInjector=o.injector,e._loadedNgModuleFactory=o.factory,o}throw wu(e)}return{routes:[],injector:t}})}};function Pu(n){n.sort((t,e)=>t.value.outlet===g?-1:e.value.outlet===g?1:t.value.outlet.localeCompare(e.value.outlet))}function xu(n){let t=n.value.routeConfig;return t&&t.path===""}function Ra(n){let t=[],e=new Set;for(let r of n){if(!xu(r)){t.push(r);continue}let i=t.find(o=>r.value.routeConfig===o.value.routeConfig);i!==void 0?(i.children.push(...r.children),e.add(i)):t.push(r)}for(let r of e){let i=Ra(r.children);t.push(new $(r.value,i))}return t.filter(r=>!e.has(r))}function qs(n){return n.data||{}}function Ws(n){return n.resolve||{}}function Vu(n,t,e,r,i,o,s){return ee(a=>S(null,null,function*(){let{state:c,tree:l}=yield Ou(n,t,e,r,a.extractedUrl,i,o,s);return M(d({},a),{targetSnapshot:c,urlAfterRedirects:l})}))}function Fu(n){return ee(t=>{let{targetSnapshot:e,guards:{canActivateChecks:r}}=t;if(!r.length)return m(t);let i=new Set(r.map(a=>a.route)),o=new Set;for(let a of i)if(!o.has(a))for(let c of Da(a))o.add(c);let s=0;return V(o).pipe(xe(a=>i.has(a)?ku(a,e,n):(a.data=hr(a,a.parent,n).resolve,m(void 0))),pe(()=>s++),Dr(1),ee(a=>s===o.size?m(t):W))})}function Da(n){let t=n.children.map(e=>Da(e)).flat();return[n,...t]}function ku(n,t,e){let r=n.routeConfig,i=n._resolve;return r?.title!==void 0&&!pa(r)&&(i[Yt]=r.title),tn(()=>(n.data=hr(n,n.parent,e).resolve,Uu(i,n,t).pipe(O(o=>(n._resolvedData=o,n.data=d(d({},n.data),o),null)))))}function Uu(n,t,e){let r=ui(n);if(r.length===0)return m({});let i={};return V(r).pipe(ee(o=>ju(n[o],t,e).pipe(De(),pe(s=>{if(s instanceof yt)throw fr(new we,s);i[o]=s}))),Dr(1),O(()=>i),nn(o=>_a(o)?W:$i(o)))}function ju(n,t,e){let r=t._environmentInjector,i=Ct(n,r),o=i.resolve?i.resolve(t,e):U(r,()=>i(t,e));return We(o)}function Xs(n){return Y(t=>{let e=n(t);return e?V(e).pipe(O(()=>t)):m(t)})}var Ii=(()=>{class n{buildTitle(e){let r,i=e.root;for(;i!==void 0;)r=this.getResolvedTitleForRoute(i)??r,i=i.children.find(o=>o.outlet===g);return r}getResolvedTitleForRoute(e){return e.data[Yt]}static \u0275fac=function(r){return new(r||n)};static \u0275prov=p({token:n,factory:()=>u(Ma),providedIn:"root"})}return n})(),Ma=(()=>{class n extends Ii{title;constructor(e){super(),this.title=e}updateTitle(e){let r=this.buildTitle(e);r!==void 0&&this.title.setTitle(r)}static \u0275fac=function(r){return new(r||n)(v(On))};static \u0275prov=p({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),Pe=new b("",{factory:()=>({})}),wt=new b(""),vr=(()=>{class n{componentLoaders=new WeakMap;childrenLoaders=new WeakMap;onLoadStartListener;onLoadEndListener;compiler=u(Eo);loadComponent(e,r){return S(this,null,function*(){if(this.componentLoaders.get(r))return this.componentLoaders.get(r);if(r._loadedComponent)return Promise.resolve(r._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(r);let i=S(this,null,function*(){try{let o=yield Ks(U(e,()=>r.loadComponent())),s=yield Ta(Aa(o));return this.onLoadEndListener&&this.onLoadEndListener(r),r._loadedComponent=s,s}finally{this.componentLoaders.delete(r)}});return this.componentLoaders.set(r,i),i})}loadChildren(e,r){if(this.childrenLoaders.get(r))return this.childrenLoaders.get(r);if(r._loadedRoutes)return Promise.resolve({routes:r._loadedRoutes,injector:r._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(r);let i=S(this,null,function*(){try{let o=yield Sa(r,this.compiler,e,this.onLoadEndListener);return r._loadedRoutes=o.routes,r._loadedInjector=o.injector,r._loadedNgModuleFactory=o.factory,o}finally{this.childrenLoaders.delete(r)}});return this.childrenLoaders.set(r,i),i}static \u0275fac=function(r){return new(r||n)};static \u0275prov=p({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();function Sa(n,t,e,r){return S(this,null,function*(){let i=yield Ks(U(e,()=>n.loadChildren())),o=yield Ta(Aa(i)),s;o instanceof po||Array.isArray(o)?s=o:s=yield t.compileModuleAsync(o),r&&r(n);let a,c,l=!1,h;return Array.isArray(s)?(c=s,l=!0):(a=s.create(e).injector,h=s,c=a.get(wt,[],{optional:!0,self:!0}).flat()),{routes:c.map(Ti),injector:a,factory:h}})}function Lu(n){return n&&typeof n=="object"&&"default"in n}function Aa(n){return Lu(n)?n.default:n}function Ta(n){return S(this,null,function*(){return n})}var yr=(()=>{class n{static \u0275fac=function(r){return new(r||n)};static \u0275prov=p({token:n,factory:()=>u(Bu),providedIn:"root"})}return n})(),Bu=(()=>{class n{shouldProcessUrl(e){return!0}extract(e){return e}merge(e,r){return e}static \u0275fac=function(r){return new(r||n)};static \u0275prov=p({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),Oi=new b(""),Ni=new b("");function Ia(n,t,e){let r=n.get(Ni),i=n.get(j);
2if(!i.startViewTransition||r.skipNextTransition)return r.skipNextTransition=!1,new Promise(l=>setTimeout(l));let o,s=new Promise(l=>{o=l}),a=i.startViewTransition(()=>(o(),$u(n)));a.updateCallbackDone.catch(l=>{}),a.ready.catch(l=>{}),a.finished.catch(l=>{});let{onViewTransitionCreated:c}=r;return c&&U(n,()=>c({transition:a,from:t,to:e})),s}function $u(n){return new Promise(t=>{Mt({read:()=>setTimeout(t)},{injector:n})})}var Hu=()=>{},Pi=new b(""),_r=(()=>{class n{currentNavigation=re(null,{equal:()=>!1});currentTransition=null;lastSuccessfulNavigation=re(null);events=new fe;transitionAbortWithErrorSubject=new fe;configLoader=u(vr);environmentInjector=u(X);destroyRef=u(Ve);urlSerializer=u(Xe);rootContexts=u(Je);location=u(tt);inputBindingEnabled=u(Kt,{optional:!0})!==null;titleStrategy=u(Ii);options=u(Pe,{optional:!0})||{};paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly";urlHandlingStrategy=u(yr);createViewTransition=u(Oi,{optional:!0});navigationErrorHandler=u(Pi,{optional:!0});navigationId=0;get hasRequestedNavigation(){return this.navigationId!==0}transitions;afterPreactivation=()=>m(void 0);rootComponentType=null;destroyed=!1;constructor(){let e=i=>this.events.next(new ir(i)),r=i=>this.events.next(new or(i));this.configLoader.onLoadEndListener=r,this.configLoader.onLoadStartListener=e,this.destroyRef.onDestroy(()=>{this.destroyed=!0})}complete(){this.transitions?.complete()}handleNavigationRequest(e){let r=++this.navigationId;x(()=>{this.transitions?.next(M(d({},e),{extractedUrl:this.urlHandlingStrategy.extract(e.rawUrl),targetSnapshot:null,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null,id:r}))})}setupNavigations(e){return this.transitions=new q(null),this.transitions.pipe(te(r=>r!==null),Y(r=>{let i=!1,o=new AbortController,s=()=>!i&&this.currentTransition?.id===r.id;return m(r).pipe(Y(a=>{if(this.navigationId>r.id)return this.cancelNavigationTransition(r,"",F.SupersededByNewNavigation),W;this.currentTransition=r;let c=this.lastSuccessfulNavigation();this.currentNavigation.set({id:a.id,initialUrl:a.rawUrl,extractedUrl:a.extractedUrl,targetBrowserUrl:typeof a.extras.browserUrl=="string"?this.urlSerializer.parse(a.extras.browserUrl):a.extras.browserUrl,trigger:a.source,extras:a.extras,previousNavigation:c?M(d({},c),{previousNavigation:null}):null,abort:()=>o.abort()});let l=!e.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),h=a.extras.onSameUrlNavigation??e.onSameUrlNavigation;if(!l&&h!=="reload")return this.events.next(new ue(a.id,this.urlSerializer.serialize(a.rawUrl),"",ft.IgnoredSameUrlNavigation)),a.resolve(!1),W;if(this.urlHandlingStrategy.shouldProcessUrl(a.rawUrl))return m(a).pipe(Y(f=>(this.events.next(new Ne(f.id,this.urlSerializer.serialize(f.extractedUrl),f.source,f.restoredState)),f.id!==this.navigationId?W:Promise.resolve(f))),Vu(this.environmentInjector,this.configLoader,this.rootComponentType,e.config,this.urlSerializer,this.paramsInheritanceStrategy,o.signal),pe(f=>{r.targetSnapshot=f.targetSnapshot,r.urlAfterRedirects=f.urlAfterRedirects,this.currentNavigation.update(D=>(D.finalUrl=f.urlAfterRedirects,D));let w=new pt(f.id,this.urlSerializer.serialize(f.extractedUrl),this.urlSerializer.serialize(f.urlAfterRedirects),f.targetSnapshot);this.events.next(w)}));if(l&&this.urlHandlingStrategy.shouldProcessUrl(a.currentRawUrl)){let{id:f,extractedUrl:w,source:D,restoredState:k,extras:A}=a,C=new Ne(f,this.urlSerializer.serialize(w),D,k);this.events.next(C);let E=ha(this.rootComponentType,this.environmentInjector).snapshot;return this.currentTransition=r=M(d({},a),{targetSnapshot:E,urlAfterRedirects:w,extras:M(d({},A),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.update(N=>(N.finalUrl=w,N)),m(r)}else return this.events.next(new ue(a.id,this.urlSerializer.serialize(a.extractedUrl),"",ft.IgnoredByUrlHandlingStrategy)),a.resolve(!1),W}),O(a=>{let c=new er(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);return this.events.next(c),this.currentTransition=r=M(d({},a),{guards:Ql(a.targetSnapshot,a.currentSnapshot,this.rootContexts)}),r}),uu(a=>this.events.next(a)),Y(a=>{if(r.guardsResult=a.guardsResult,a.guardsResult&&typeof a.guardsResult!="boolean")throw fr(this.urlSerializer,a.guardsResult);let c=new tr(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot,!!a.guardsResult);if(this.events.next(c),!s())return W;if(!a.guardsResult)return this.cancelNavigationTransition(a,"",F.GuardRejected),W;if(a.guards.canActivateChecks.length===0)return m(a);let l=new nr(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);if(this.events.next(l),!s())return W;let h=!1;return m(a).pipe(Fu(this.paramsInheritanceStrategy),pe({next:()=>{h=!0;let f=new rr(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);this.events.next(f)},complete:()=>
2{h||this.cancelNavigationTransition(a,"",F.NoDataFromResolver)}}))}),Xs(a=>{let c=h=>{let f=[];if(h.routeConfig?._loadedComponent)h.component=h.routeConfig?._loadedComponent;else if(h.routeConfig?.loadComponent){let w=h._environmentInjector;f.push(this.configLoader.loadComponent(w,h.routeConfig).then(D=>{h.component=D}))}for(let w of h.children)f.push(...c(w));return f},l=c(a.targetSnapshot.root);return l.length===0?m(a):V(Promise.all(l).then(()=>a))}),Xs(()=>this.afterPreactivation()),Y(()=>{let{currentSnapshot:a,targetSnapshot:c}=r,l=this.createViewTransition?.(this.environmentInjector,a.root,c.root);return l?V(l).pipe(O(()=>r)):m(r)}),Ye(1),O(a=>{let c=Jl(e.routeReuseStrategy,a.targetSnapshot,a.currentRouterState);this.currentTransition=r=a=M(d({},a),{targetRouterState:c}),this.currentNavigation.update(l=>(l.targetRouterState=c,l)),this.events.next(new mt),s()&&(new _i(e.routeReuseStrategy,r.targetRouterState,r.currentRouterState,l=>this.events.next(l),this.inputBindingEnabled).activate(this.rootContexts),s()&&(i=!0,this.currentNavigation.update(l=>(l.abort=Hu,l)),this.lastSuccessfulNavigation.set(x(this.currentNavigation)),this.events.next(new G(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects))),this.titleStrategy?.updateTitle(a.targetRouterState.snapshot),a.resolve(!0)))}),on(Ca(o.signal).pipe(te(()=>!i&&!r.targetRouterState),pe(()=>{this.cancelNavigationTransition(r,o.signal.reason+"",F.Aborted)}))),pe({complete:()=>{i=!0}}),on(this.transitionAbortWithErrorSubject.pipe(pe(a=>{throw a}))),rn(()=>{o.abort(),i||this.cancelNavigationTransition(r,"",F.SupersededByNewNavigation),this.currentTransition?.id===r.id&&(this.currentNavigation.set(null),this.currentTransition=null)}),nn(a=>
vendor: 15,849 bytes, line 2
2{if(i=!0,this.destroyed)return r.resolve(!1),W;if(ya(a))this.events.next(new J(r.id,this.urlSerializer.serialize(r.extractedUrl),a.message,a.cancellationCode)),Zl(a)?this.events.next(new vt(a.url,a.navigationBehaviorOptions)):r.resolve(!1);else{let c=new qe(r.id,this.urlSerializer.serialize(r.extractedUrl),a,r.targetSnapshot??void 0);try{let l=U(this.environmentInjector,()=>this.navigationErrorHandler?.(c));if(l instanceof yt){let{message:h,cancellationCode:f}=fr(this.urlSerializer,l);this.events.next(new J(r.id,this.urlSerializer.serialize(r.extractedUrl),h,f)),this.events.next(new vt(l.redirectTo,l.navigationBehaviorOptions))}else throw this.events.next(c),a}catch(l){this.options.resolveNavigationPromiseOnError?r.resolve(!1):r.reject(l)}}return W}))}))}cancelNavigationTransition(e,r,i){let o=new J(e.id,this.urlSerializer.serialize(e.extractedUrl),r,i);this.events.next(o),e.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){let e=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),r=x(this.currentNavigation),i=r?.targetBrowserUrl??r?.extractedUrl;return e.toString()!==i?.toString()&&!r?.extras.skipLocationChange}static \u0275fac=function(r){return new(r||n)};static \u0275prov=p({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();function zu(n){return n!==dt}var Oa=new b("");var Na=(()=>{class n{static \u0275fac=function(r){return new(r||n)};static \u0275prov=p({token:n,factory:()=>u(Gu),providedIn:"root"})}return n})(),gr=class{shouldDetach(t){return!1}store(t,e){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,e){return t.routeConfig===e.routeConfig}shouldDestroyInjector(t){return!0}},Gu=(()=>{class n extends gr{static \u0275fac=(()=>{let e;return function(i){return(e||(e=K(n)))(i||n)}})();static \u0275prov=p({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),xi=(()=>{class n{urlSerializer=u(Xe);options=u(Pe,{optional:!0})||{};canceledNavigationResolution=this.options.canceledNavigationResolution||"replace";location=u(tt);urlHandlingStrategy=u(yr);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";currentUrlTree=new H;getCurrentUrlTree(){return this.currentUrlTree}rawUrlTree=this.currentUrlTree;getRawUrlTree(){return this.rawUrlTree}createBrowserPath({finalUrl:e,initialUrl:r,targetBrowserUrl:i}){let o=e!==void 0?this.urlHandlingStrategy.merge(e,r):r,s=i??o;return s instanceof H?this.urlSerializer.serialize(s):s}commitTransition({targetRouterState:e,finalUrl:r,initialUrl:i}){r&&e?(this.currentUrlTree=r,this.rawUrlTree=this.urlHandlingStrategy.merge(r,i),this.routerState=e):this.rawUrlTree=i}routerState=ha(null,u(X));getRouterState(){return this.routerState}_stateMemento=this.createStateMemento();get stateMemento(){return this._stateMemento}updateStateMemento(){this._stateMemento=this.createStateMemento()}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}restoredState(){return this.location.getState()}static \u0275fac=function(r){return new(r||n)};static \u0275prov=p({token:n,factory:()=>u(qu),providedIn:"root"})}return n})(),qu=(()=>{class n extends xi{currentPageId=0;lastSuccessfulId=-1;get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}registerNonRouterCurrentEntryChangeListener(e){return this.location.subscribe(r=>{r.type==="popstate"&&setTimeout(()=>{e(r.url,r.state,"popstate")})})}handleRouterEvent(e,r){e instanceof Ne?this.updateStateMemento():e instanceof ue?this.commitTransition(r):e instanceof pt?this.urlUpdateStrategy==="eager"&&(r.extras.skipLocationChange||this.setBrowserUrl(this.createBrowserPath(r),r)):e instanceof mt?(this.commitTransition(r),this.urlUpdateStrategy==="deferred"&&!r.extras.skipLocationChange&&this.setBrowserUrl(this.createBrowserPath(r),r)):e instanceof J&&!da(e)?this.restoreHistory(r):e instanceof qe?this.restoreHistory(r,!0):e instanceof G&&(this.lastSuccessfulId=e.id,this.currentPageId=this.browserPageId)}setBrowserUrl(e,{extras:r,id:i}){let{replaceUrl:o,state:s}=r;if(this.location.isCurrentPathEqualTo(e)||o){let a=this.browserPageId,c=d(d({},s),this.generateNgRouterState(i,a));this.location.replaceState(e,"",c)}else{let a=d(d({},s),this.generateNgRouterState(i,this.browserPageId+1));this.location.go(e,"",a)}}restoreHistory(e,r=!1){if(this.canceledNavigationResolution==="computed"){let i=this.browserPageId,o=this.currentPageId-i;o!==0?this.location.historyGo(o):this.getCurrentUrlTree()===e.finalUrl&&o===0&&(this.resetInternalState(e),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(r&&this.resetInternalState(e),this.resetUrlToCurrentUrlTree())}resetInternalState({finalUrl:e}){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,e??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.getRawUrlTree()),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(e,r){return this.canceledNavigationResolution==="computed"?{navigationId:e,\u0275routerPageId:r}:{navigationId:e}}static \u0275fac=(()=>{let e;return function(i){return(e||(e=K(n)))(i||n)}})();static \u0275prov=p({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();function Cr(n,t){n.events.pipe(te(e=>e instanceof G||e instanceof J||e instanceof qe||e instanceof ue),O(e=>e instanceof G||e instanceof ue?0:(e instanceof J?e.code===F.Redirect||e.code===F.SupersededByNewNavigation:!1)?2:1),te(e=>e!==2),Ye(1)).subscribe(()=>{t()})}var Vi={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Fi={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},de=(()=>{class n{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}disposed=!1;nonRouterCurrentEntryChangeSubscription;console=u(Ir);stateManager=u(xi);options=u(Pe,{optional:!0})||{};pendingTasks=u(Ji);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";navigationTransitions=u(_r);urlSerializer=u(Xe);location=u(tt);urlHandlingStrategy=u(yr);injector=u(X);_events=new fe;get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}navigated=!1;routeReuseStrategy=u(Na);injectorCleanup=u(Oa,{optional:!0});onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore";config=u(wt,{optional:!0})?.flat()??[];componentInputBindingEnabled=!!u(Kt,{optional:!0});currentNavigation=this.navigationTransitions.currentNavigation.asReadonly();constructor(){this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this).subscribe({error:e=>{}}),this.subscribeToNavigationEvents()}eventsSubscription=new Li;subscribeToNavigationEvents(){let e=this.navigationTransitions.events.subscribe(r=>{try{let i=this.navigationTransitions.currentTransition,o=x(this.navigationTransitions.currentNavigation);if(i!==null&&o!==null){if(this.stateManager.handleRouterEvent(r,o),r instanceof J&&r.code!==F.Redirect&&r.code!==F.SupersededByNewNavigation)this.navigated=!0;else if(r instanceof G)this.navigated=!0,this.injectorCleanup?.(this.routeReuseStrategy,this.routerState,this.config);else if(r instanceof vt){let s=r.navigationBehaviorOptions,a=this.urlHandlingStrategy.merge(r.url,i.currentRawUrl),c=d({scroll:i.extras.scroll,browserUrl:i.extras.browserUrl,info:i.extras.info,skipLocationChange:i.extras.skipLocationChange,replaceUrl:i.extras.replaceUrl||this.urlUpdateStrategy==="eager"||zu(i.source)},s);this.scheduleNavigation(a,dt,null,c,{resolve:i.resolve,reject:i.reject,promise:i.promise})}}Wl(r)&&this._events.next(r)}catch(i){this.navigationTransitions.transitionAbortWithErrorSubject.next(i)}});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),dt,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((e,r,i)=>{this.navigateToSyncWithBrowser(e,i,r)})}navigateToSyncWithBrowser(e,r,i){let o={replaceUrl:!0},s=i?.navigationId?i:null;if(i){let c=d({},i);delete c.navigationId,delete c.\u0275routerPageId,Object.keys(c).length!==0&&(o.state=c)}let a=this.parseUrl(e);this.scheduleNavigation(a,r,s,o).catch(c=>{this.disposed||this.injector.get(cn)(c)})}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return x(this.navigationTransitions.currentNavigation)}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(e){this.config=e.map(Ti),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this._events.unsubscribe(),this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription?.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0,this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(e,r={}){let{relativeTo:i,queryParams:o,fragment:s,queryParamsHandling:a,preserveFragment:c}=r,l=c?this.currentUrlTree.fragment:s,h=null;switch(a??this.options.defaultQueryParamsHandling){case"merge":h=d(d({},this.currentUrlTree.queryParams),o);break;case"preserve":h=this.currentUrlTree.queryParams;break;default:h=o||null}h!==null&&(h=this.removeEmptyProps(h));let f;try{let w=i?i.snapshot:this.routerState.snapshot.root;f=aa(w)}catch{(typeof e[0]!="string"||e[0][0]!=="/")&&(e=[]),f=this.currentUrlTree.root}return ca(f,e,h,l??null,this.urlSerializer)}navigateByUrl(e,r={skipLocationChange:!1}){let i=Oe(e)?e:this.parseUrl(e),o=this.urlHandlingStrategy.merge(i,this.rawUrlTree);return this.scheduleNavigation(o,dt,null,r)}navigate(e,r={skipLocationChange:!1}){return Wu(e),this.navigateByUrl(this.createUrlTree(e,r),r)}serializeUrl(e){return this.urlSerializer.serialize(e)}parseUrl(e){try{return this.urlSerializer.parse(e)}catch{return this.console.warn(sn(4018,!1)),this.urlSerializer.parse("/")}}isActive(e,r){let i;if(r===!0?i=d({},Vi):r===!1?i=d({},Fi):i=r,Oe(e))return di(this.currentUrlTree,e,i);let o=this.parseUrl(e);return di(this.currentUrlTree,o,i)}removeEmptyProps(e){return Object.entries(e).reduce((r,[i,o])=>(o!=null&&(r[i]=o),r),{})}scheduleNavigation(e,r,i,o,s){if(this.disposed)return Promise.resolve(!1);let a,c,l;s?(a=s.resolve,c=s.reject,l=s.promise):l=new Promise((f,w)=>{a=f,c=w});let h=this.pendingTasks.add();return Cr(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(h))}),this.navigationTransitions.handleNavigationRequest({source:r,restoredState:i,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:e,extras:o,resolve:a,reject:c,promise:l,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),l.catch(f=>Promise.reject(f))}static \u0275fac=function(r){return new(r||n)};static \u0275prov=p({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();function Wu(n){for(let t=0;t<n.length;t++)if(n[t]==null)throw new y(4008,!1)}var wr=(()=>{class n{router;route;tabIndexAttribute;renderer;el;locationStrategy;reactiveHref=re(null);get href(){return x(this.reactiveHref)}set href(e){this.reactiveHref.set(e)}target;queryParams;fragment;queryParamsHandling;state;info;relativeTo;isAnchorElement;subscription;onChanges=new fe;applicationErrorHandler=u(cn);options=u(Pe,{optional:!0});constructor(e,r,i,o,s,a){this.router=e,this.route=r,this.tabIndexAttribute=i,this.renderer=o,this.el=s,this.locationStrategy=a,this.reactiveHref.set(u(new Ro("href"),{optional:!0}));let c=s.nativeElement.tagName?.toLowerCase();this.isAnchorElement=c==="a"||c==="area"||!!(typeof customElements=="object"&&customElements.get(c)?.observedAttributes?.includes?.("href")),this.isAnchorElement&&(this.setTabIndexIfNotOnNativeEl("0"),this.subscribeToNavigationEventsIfNecessary())}subscribeToNavigationEventsIfNecessary(){this.subscription===void 0&&(this.subscription=this.router.events.subscribe(e=>{e instanceof G&&this.updateHref()}))}preserveFragment=!1;skipLocationChange=!1;replaceUrl=!1;setTabIndexIfNotOnNativeEl(e){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue("tabindex",e)}ngOnChanges(e){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}routerLinkInput=null;set routerLink(e){e==null?(this.routerLinkInput=null,this.setTabIndexIfNotOnNativeEl(null)):(Oe(e)?this.routerLinkInput=e:this.routerLinkInput=Array.isArray(e)?e:[e],this.setTabIndexIfNotOnNativeEl("0"))}onClick(e,r,i,o,s){let a=this.urlTree;if(a===null||this.isAnchorElement&&(e!==0||r||i||o||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(a,c)?.catch(l=>{this.applicationErrorHandler(l)}),!this.isAnchorElement}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){let e=this.urlTree;this.reactiveHref.set(e!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(e))??"":null)}applyAttributeValue(e,r){let i=this.renderer,o=this.el.nativeElement;r!==null?i.setAttribute(o,e,r):i.removeAttribute(o,e)}get urlTree(){return this.routerLinkInput===null?null:Oe(this.routerLinkInput)?this.routerLinkInput:this.router.createUrlTree(this.routerLinkInput,{relativeTo:this.relativeTo!==void 0?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}static \u0275fac=function(r){return new(r||n)(_(de),_(be),Ki("tabindex"),_(Se),_(Me),_(At))};static \u0275dir=T({type:n,selectors:[["","routerLink",""]],hostVars:2,hostBindings:function(r,i){r&1&&Ae("click",function(s){return i.onClick(s.button,s.ctrlKey,s.shiftKey,s.altKey,s.metaKey)}),r&2&&gn("href",i.reactiveHref(),ao)("target",i.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",et],skipLocationChange:[2,"skipLocationChange","skipLocationChange",et],replaceUrl:[2,"replaceUrl","replaceUrl",et],routerLink:"routerLink"},features:[ie]})}return n})(),Xu=(()=>{class n{router;element;renderer;cdr;links;classes=[];routerEventsSubscription;linkInputChangesSubscription;_isActive=!1;get isActive(){return this._isActive}routerLinkActiveOptions={exact:!1};ariaCurrentWhenActive;isActiveChange=new L;link=u(wr,{optional:!0});constructor(e,r,i,o){this.router=e,this.element=r,this.renderer=i,this.cdr=o,this.routerEventsSubscription=e.events.subscribe(s=>{s instanceof G&&this.update()})}ngAfterContentInit(){m(this.links.changes,m(null)).pipe(Rt()).subscribe(e=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();let e=[...this.links.toArray(),this.link].filter(r=>!!r).map(r=>r.onChanges);this.linkInputChangesSubscription=V(e).pipe(Rt()).subscribe(r=>{this._isActive!==this.isLinkActive(this.router)(r)&&this.update()})}set routerLinkActive(e){let r=Array.isArray(e)?e:e.split(" ");this.classes=r.filter(i=>!!i)}ngOnChanges(e){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{let e=this.hasActiveLinks();
2this.classes.forEach(r=>{e?this.renderer.addClass(this.element.nativeElement,r):this.renderer.removeClass(this.element.nativeElement,r)}),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 r=Ju(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact??!1?d({},Vi):d({},Fi);return i=>{let o=i.urlTree;return o?x(Ri(o,e,r)):!1}}hasActiveLinks(){let e=this.isLinkActive(this.router);return this.link&&e(this.link)||this.links.some(e)}static \u0275fac=function(r){return new(r||n)(_(de),_(Me),_(Se),_(je))};static \u0275dir=T({type:n,selectors:[["","routerLinkActive",""]],contentQueries:function(r,i,o){if(r&1&&Co(o,wr,5),r&2){let s;wo(s=bo())&&(i.links=s)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],features:[ie]})}return n})();function Ju(n){return!!n.paths}var Qt=class{};var Pa=(()=>{class n{router;injector;preloadingStrategy;loader;subscription;constructor(e,r,i,o){this.router=e,this.injector=r,this.preloadingStrategy=i,this.loader=o}setUpPreloading(){this.subscription=this.router.events.pipe(te(e=>e instanceof G),xe(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription?.unsubscribe()}processRoutes(e,r){let i=[];for(let o of r){o.providers&&!o._injector&&(o._injector=hn(o.providers,e,""));let s=o._injector??e;o._loadedNgModuleFactory&&!o._loadedInjector&&(o._loadedInjector=o._loadedNgModuleFactory.create(s).injector);let a=o._loadedInjector??s;(o.loadChildren&&!o._loadedRoutes&&o.canLoad===void 0||o.loadComponent&&!o._loadedComponent)&&i.push(this.preloadConfig(s,o)),(o.children||o._loadedRoutes)&&i.push(this.processRoutes(a,o.children??o._loadedRoutes))}return V(i).pipe(Rt())}preloadConfig(e,r){return this.preloadingStrategy.preload(r,()=>{if(e.destroyed)return m(null);let i;r.loadChildren&&r.canLoad===void 0?i=V(this.loader.loadChildren(e,r)):i=m(null);let o=i.pipe(ee(s=>s===null?m(void 0):(r._loadedRoutes=s.routes,r._loadedInjector=s.injector,r._loadedNgModuleFactory=s.factory,this.processRoutes(s.injector??e,s.routes))));if(r.loadComponent&&!r._loadedComponent){let s=this.loader.loadComponent(e,r);return V([o,s]).pipe(Rt())}else return o})}static \u0275fac=function(r){return new(r||n)(v(de),v(X),v(Qt),v(vr))};static \u0275prov=p({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),xa=new b(""),Yu=(()=>{class n{options;routerEventsSubscription;scrollEventsSubscription;lastId=0;lastSource=dt;restoredId=0;store={};urlSerializer=u(Xe);zone=u(Fe);viewportScroller=u(xr);transitions=u(_r);constructor(e){this.options=e,this.options.scrollPositionRestoration||="disabled",this.options.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 Ne?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof G?(this.lastId=e.id,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.urlAfterRedirects).fragment)):e instanceof ue&&e.code===ft.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(e=>{if(!(e instanceof gt)||e.scrollBehavior==="manual")return;let r={behavior:"instant"};e.position?this.options.scrollPositionRestoration==="top"?this.viewportScroller.scrollToPosition([0,0],r):this.options.scrollPositionRestoration==="enabled"&&this.viewportScroller.scrollToPosition(e.position,r):e.anchor&&this.options.anchorScrolling==="enabled"?this.viewportScroller.scrollToAnchor(e.anchor):this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.scrollToPosition([0,0])})}scheduleScrollEvent(e,r){let i=x(this.transitions.currentNavigation)?.extras.scroll;this.zone.runOutsideAngular(()=>S(this,null,function*(){yield new Promise(o=>{setTimeout(o),typeof requestAnimationFrame<"u"&&requestAnimationFrame(o)}),this.zone.run(()=>{this.transitions.events.next(new gt(e,this.lastSource==="popstate"?this.store[this.restoredId]:null,r,i))})}))}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static \u0275fac=function(r){ho()};static \u0275prov=p({token:n,factory:n.\u0275fac})}return n})();function Ku(){return u(de).routerState.root}function en(n,t){return{\u0275kind:n,\u0275providers:t}}function Zu(){let n=u(Ke);return t=>{let e=n.get(St);if(t!==e.components[0])return;let r=n.get(de),i=n.get(Va);n.get(Ui)===1&&r.initialNavigation(),n.get(Ua,null,{optional:!0})?.setUpPreloading(),n.get(xa,null,{optional:!0})?.init(),r.resetRootComponentType(e.componentTypes[0]),i.closed||(i.next(),i.complete(),i.unsubscribe())}}var Va=new b("",{factory:()=>new fe}),Ui=new b("",{factory:()=>1});function Fa(){let n=[{provide:Tr,useValue:!0},{provide:Ui,useValue:0},Or(()=>{let t=u(Ke);return t.get(No,Promise.resolve()).then(()=>new Promise(r=>{let i=t.get(de),o=t.get(Va);Cr(i,()=>{r(!0)}),t.get(_r).afterPreactivation=()=>(r(!0),o.closed?m(void 0):o),i.initialNavigation()}))})];return en(2,n)}function ka(){let n=[Or(()=>{u(de).setUpLocationChangeListener()}),{provide:Ui,useValue:2}];return en(3,n)}var Ua=new b("");function ja(n){return en(0,[{provide:Ua,useExisting:Pa},{provide:Qt,useExisting:n}])}function La(){return en(8,[Si,{provide:Kt,useExisting:Si}])}function Ba(n){lo("NgRouterViewTransitions");let t=[{provide:Oi,useValue:Ia},{provide:Ni,useValue:d({skipNextTransition:!!n?.skipInitialTransition},n)}];return en(9,t)}var $a=[tt,{provide:Xe,useClass:we},de,Je,{provide:be,useFactory:Ku},vr,[]],Qu=(()=>{class n{constructor(){}static forRoot(e,r){return{ngModule:n,providers:[$a,[],{provide:wt,multi:!0,useValue:e},[],r?.errorHandler?{provide:Pi,useValue:r.errorHandler}:[],{provide:Pe,useValue:r||{}},r?.useHash?td():nd(),ed(),r?.preloadingStrategy?ja(r.preloadingStrategy).\u0275providers:[],r?.initialNavigation?rd(r):[],r?.bindToComponentInputs?La().\u0275providers:[],r?.enableViewTransitions?Ba().\u0275providers:[],id()]}}static forChild(e){return{ngModule:n,providers:[{provide:wt,multi:!0,useValue:e}]}}static \u0275fac=function(r){return new(r||n)};static \u0275mod=oe({type:n});static \u0275inj=ne({})}return n})();function ed(){return{provide:xa,useFactory:()=>
2{let n=u(xr),t=u(Pe);return t.scrollOffset&&n.setOffset(t.scrollOffset),new Yu(t)}}}function td(){return{provide:At,useClass:xo}}function nd(){return{provide:At,useClass:Po}}function rd(n){return[n.initialNavigation==="disabled"?ka().\u0275providers:[],n.initialNavigation==="enabledBlocking"?Fa().\u0275providers:[]]}var ki=new b("");function id(){return[{provide:ki,useFactory:Zu},{provide:yo,multi:!0,useExisting:ki}]}var zf=(()=>{class n{constructor(e,r){this.title=e,this.meta=r}updateTitle(e){this.title.setTitle(e)}updateMetaTags(e){e.forEach(r=>this.meta.updateTag(r))}addSeoScript(e){let r=document.createElement("script");r.type="application/ld+json",r.text=e,document.head.appendChild(r)}static{this.\u0275fac=function(r){return new(r||n)(v(On),v(is))}}static{this.\u0275prov=p({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})();export{Br as a,oc as b,cc as c,ce as d,In as e,ns as f,Ac as g,Tc as h,Pc as i,be as j,Mi as k,de as l,wr as m,Xu as n,Qu as o,zf as p,ct as q,Fc as r,vs as s,$n as t,ss as u,Nh as v,Ph as w,cl as x,Vh as y,dl as z,fl as A,Us as B,Fh as C,kh as D,Cl as E,wl as F,Uh as G,jh as H,Lh as I};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.