1import{b as Ht,c as Me,g as Yr,n as Zr}from"./chunk-5AMTJPPR.js";import{$ as Dr,$a as $r,A as Ir,Aa as Pr,B as W,C as Ot,Cb as Br,E as Ar,Eb as Vr,F as $,Fb as Gr,G as Ke,H as P,I as C,J as Er,Ka as xt,L as Ee,M as Tr,N as E,O as Ye,Oa as H,P as l,Pa as jt,Q as Nr,Qa as Lr,Ra as xr,S as Q,Sa as jr,T as L,Ta as kt,Ua as kr,Va as Ne,Y as Mr,_ as Pt,aa as ne,ab as zr,b as mr,ba as _r,bb as $t,c as yr,d as Rr,da as Ze,e as te,eb as Hr,f as U,fa as S,fc as Wr,g as O,h as M,i as p,ic as Je,j as Sr,jc as y,k as _t,kc as Qr,l as Cr,mc as Kr,n as b,nc as zt,o as wr,ob as Fr,p as B,pa as Te,pc as Xe,q as Ut,r as br,ra as Ur,s as Ge,sa as T,ta as Lt,u as re,v as We,va as Or,w as Qe,wc as et,xb as qr,y as le,yc as tt}from"./chunk-3P4TDEGK.js";import{a as h,b as N}from"./chunk-7CGTOI24.js";var f="primary",Fe=Symbol("RouteTitle"),Gt=class{params;constructor(n){this.params=n||{}}has(n){return Object.prototype.hasOwnProperty.call(this.params,n)}get(n){if(this.has(n)){let e=this.params[n];return Array.isArray(e)?e[0]:e}return null}getAll(n){if(this.has(n)){let e=this.params[n];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}};function oe(t){return new Gt(t)}function Ft(t,n,e){for(let r=0;r<t.length;r++){let i=t[r],o=n[r];if(i[0]===":")e[i.substring(1)]=o;else if(i!==o.path)return!1}return!0}function an(t,n,e){let r=e.path.split("/"),i=r.indexOf("**");if(i===-1){if(r.length>t.length||e.pathMatch==="full"&&(n.hasChildren()||r.length<t.length))return null;let s={},u=t.slice(0,r.length);return Ft(r,u,s)?{consumed:u,posParams:s}:null}if(i!==r.lastIndexOf("**"))return null;let o=r.slice(0,i),a=r.slice(i+1);if(o.length+a.length>t.length||e.pathMatch==="full"&&n.hasChildren()&&e.path!=="**")return null;let c={};return!Ft(o,t.slice(0,o.length),c)||!Ft(a,t.slice(t.length-a.length),c)?null:{consumed:t,posParams:c}}function st(t){return new Promise((n,e)=>{t.pipe(W()).subscribe({next:r=>n(r),error:r=>e(r)})})}function Yn(t,n){if(t.length!==n.length)return!1;for(let e=0;e<t.length;++e)if(!F(t[e],n[e]))return!1;return!0}function F(t,n){let e=t?Wt(t):void 0,r=n?Wt(n):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],!sn(t[i],n[i]))return!1;return!0}function Wt(t){return[...Object.keys(t),...Object.getOwnPropertySymbols(t)]}function sn(t,n){if(Array.isArray(t)&&Array.isArray(n)){if(t.length!==n.length)return!1;let e=[...t].sort(),r=[...n].sort();return e.every((i,o)=>r[o]===i)}else return t===n}function Zn(t){return t.length>0?t[t.length-1]:null}function se(t){return _t(t)?t:xr(t)?M(Promise.resolve(t)):p(t)}function cn(t){return _t(t)?st(t):Promise.resolve(t)}var Jn={exact:ln,subset:hn},un={exact:Xn,subset:ei,ignored:()=>!0},sr={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Pe={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};function cr(t,n,e){let r=t instanceof I?t:n.parseUrl(t);return Je(()=>Qt(n.lastSuccessfulNavigation()?.finalUrl??new I,r,h(h({},Pe),e)))}function Qt(t,n,e){return Jn[e.paths](t.root,n.root,e.matrixParams)&&un[e.queryParams](t.queryParams,n.queryParams)&&!(e.fragment==="exact"&&t.fragment!==n.fragment)}function Xn(t,n){return F(t,n)}function ln(t,n,e){if(!ie(t.segments,n.segments)||!it(t.segments,n.segments,e)||t.numberOfChildren!==n.numberOfChildren)return!1;for(let r in n.children)if(!t.children[r]||!ln(t.children[r],n.children[r],e))return!1;return!0}function ei(t,n){return Object.keys(n).length<=Object.keys(t).length&&Object.keys(n).every(e=>sn(t[e],n[e]))}function hn(t,n,e){return dn(t,n,n.segments,e)}function dn(t,n,e,r){if(t.segments.length>e.length){let i=t.segments.slice(0,e.length);return!(!ie(i,e)||n.hasChildren()||!it(i,e,r))}else if(t.segments.length===e.length){if(!ie(t.segments,e)||!it(t.segments,e,r))return!1;for(let i in n.children)if(!t.children[i]||!hn(t.children[i],n.children[i],r))return!1;return!0}else{let i=e.slice(0,t.segments.length),o=e.slice(t.segments.length);return!ie(t.segments,i)||!it(t.segments,i,r)||!t.children[f]?!1:dn(t.children[f],n,o,r)}}function it(t,n,e){return n.every((r,i)=>un[e](t[i].parameters,r.parameters))}var I=class{root;queryParams;fragment;_queryParamMap;constructor(n=new m([],{}),e={},r=null){this.root=n,this.queryParams=e,this.fragment=r}get queryParamMap(){return this._queryParamMap??=oe(this.queryParams),this._queryParamMap}
vendor: 31,281 bytes, line 1
1toString(){return ni.serialize(this)}},m=class{segments;children;parent=null;constructor(n,e){this.segments=n,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 ot(this)}},K=class{path;parameters;_parameterMap;constructor(n,e){this.path=n,this.parameters=e}get parameterMap(){return this._parameterMap??=oe(this.parameters),this._parameterMap}toString(){return pn(this)}};function ti(t,n){return ie(t,n)&&t.every((e,r)=>F(e.parameters,n[r].parameters))}function ie(t,n){return t.length!==n.length?!1:t.every((e,r)=>e.path===n[r].path)}function ri(t,n){let e=[];return Object.entries(t.children).forEach(([r,i])=>{r===f&&(e=e.concat(n(i,r)))}),Object.entries(t.children).forEach(([r,i])=>{r!==f&&(e=e.concat(n(i,r)))}),e}var ce=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275prov=T({token:t,factory:()=>new Y})}return t})(),Y=class{parse(n){let e=new Yt(n);return new I(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(n){let e=`/${De(n.root,!0)}`,r=ai(n.queryParams),i=typeof n.fragment=="string"?`#${ii(n.fragment)}`:"";return`${e}${r}${i}`}},ni=new Y;function ot(t){return t.segments.map(n=>pn(n)).join("/")}function De(t,n){if(!t.hasChildren())return ot(t);if(n){let e=t.children[f]?De(t.children[f],!1):"",r=[];return Object.entries(t.children).forEach(([i,o])=>{i!==f&&r.push(`${i}:${De(o,!1)}`)}),r.length>0?`${e}(${r.join("//")})`:e}else{let e=ri(t,(r,i)=>i===f?[De(t.children[f],!1)]:[`${i}:${De(r,!1)}`]);return Object.keys(t.children).length===1&&t.children[f]!=null?`${ot(t)}/${e[0]}`:`${ot(t)}/(${e.join("//")})`}}function fn(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function rt(t){return fn(t).replace(/%3B/gi,";")}function ii(t){return encodeURI(t)}function Kt(t){return fn(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function at(t){return decodeURIComponent(t)}function Jr(t){return at(t.replace(/\+/g,"%20"))}function pn(t){return`${Kt(t.path)}${oi(t.parameters)}`}function oi(t){return Object.entries(t).map(([n,e])=>`;${Kt(n)}=${Kt(e)}`).join("")}function ai(t){let n=Object.entries(t).map(([e,r])=>Array.isArray(r)?r.map(i=>`${rt(e)}=${rt(i)}`).join("&"):`${rt(e)}=${rt(r)}`).filter(e=>e);return n.length?`?${n.join("&")}`:""}var si=/^[^\/()?;#]+/;function qt(t){let n=t.match(si);return n?n[0]:""}var ci=/^[^\/()?;=#]+/;function ui(t){let n=t.match(ci);return n?n[0]:""}var li=/^[^=?&#]+/;function hi(t){let n=t.match(li);return n?n[0]:""}var di=/^[^&#]+/;function fi(t){let n=t.match(di);return n?n[0]:""}var Yt=class{url;remaining;constructor(n){this.url=n,this.remaining=n}parseRootSegment(){for(;this.consumeOptional("/"););return this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new m([],{}):new m([],this.parseChildren())}parseQueryParams(){let n={};if(this.consumeOptional("?"))do this.parseQueryParam(n);while(this.consumeOptional("&"));return n}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(n=0){if(n>50)throw new C(4010,!1);if(this.remaining==="")return{};this.consumeOptional("/");let e=[];for(this.peekStartsWith("(")||e.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),e.push(this.parseSegment());let r={};this.peekStartsWith("/(")&&(this.capture("/"),r=this.parseParens(!0,n));let i={};return this.peekStartsWith("(")&&(i=this.parseParens(!1,n)),(e.length>0||Object.keys(r).length>0)&&(i[f]=new m(e,r)),i}parseSegment(){let n=qt(this.remaining);if(n===""&&this.peekStartsWith(";"))throw new C(4009,!1);return this.capture(n),new K(at(n),this.parseMatrixParams())}parseMatrixParams(){let n={};for(;this.consumeOptional(";");)this.parseParam(n);return n}parseParam(n){let e=ui(this.remaining);if(!e)return;this.capture(e);let r="";if(this.consumeOptional("=")){let i=qt(this.remaining);i&&(r=i,this.capture(r))}n[at(e)]=at(r)}parseQueryParam(n){let e=hi(this.remaining);if(!e)return;this.capture(e);let r="";if(this.consumeOptional("=")){let a=fi(this.remaining);a&&(r=a,this.capture(r))}let i=Jr(e),o=Jr(r);if(n.hasOwnProperty(i)){let a=n[i];Array.isArray(a)||(a=[a],n[i]=a),a.push(o)}else n[i]=o}parseParens(n,e){let r={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let i=qt(this.remaining),o=this.remaining[i.length];if(o!=="/"&&o!==")"&&o!==";")throw new C(4010,!1);let a;i.indexOf(":")>-1?(a=i.slice(0,i.indexOf(":")),this.capture(a),this.capture(":")):n&&(a=f);let c=this.parseChildren(e+1);r[a??f]=Object.keys(c).length===1&&c[f]?c[f]:new m([],c),this.consumeOptional("//")}return r}peekStartsWith(n){return this.remaining.startsWith(n)}consumeOptional(n){return this.peekStartsWith(n)?(this.remaining=this.remaining.substring(n.length),!0):!1}capture(n){if(!this.consumeOptional(n))throw new C(4011,!1)}};function gn(t){return t.segments.length>0?new m([],{[f]:t}):t}function vn(t){let n={};for(let[r,i]of Object.entries(t.children)){let o=vn(i);if(r===f&&o.segments.length===0&&o.hasChildren())for(let[a,c]of Object.entries(o.children))n[a]=c;else(o.segments.length>0||o.hasChildren())&&(n[r]=o)}let e=new m(t.segments,n);return pi(e)}function pi(t){if(t.numberOfChildren===1&&t.children[f]){let n=t.children[f];return new m(t.segments.concat(n.segments),n.children)}return t}function Z(t){return t instanceof I}function mn(t,n,e=null,r=null,i=new Y){let o=yn(t);return Rn(o,n,e,r,i)}function yn(t){let n;function e(o){let a={};for(let s of o.children){let u=e(s);a[s.outlet]=u}let c=new m(o.url,a);return o===t&&(n=c),c}let r=e(t.root),i=gn(r);return n??i}function Rn(t,n,e,r,i){let o=t;for(;o.parent;)o=o.parent;if(n.length===0)return Bt(o,o,o,e,r,i);let a=gi(n);if(a.toRoot())return Bt(o,o,new m([],{}),e,r,i);let c=vi(a,o,t),s=c.processChildren?Ue(c.segmentGroup,c.index,a.commands):Cn(c.segmentGroup,c.index,a.commands);return Bt(o,c.segmentGroup,s,e,r,i)}function ct(t){return typeof t=="object"&&t!=null&&!t.outlets&&!t.segmentPath}function Le(t){return typeof t=="object"&&t!=null&&t.outlets}function Xr(t,n,e){t||="\u0275";let r=new I;return r.queryParams={[t]:n},e.parse(e.serialize(r)).queryParams[t]}function Bt(t,n,e,r,i,o){let a={};for(let[u,d]of Object.entries(r??{}))a[u]=Array.isArray(d)?d.map(v=>Xr(u,v,o)):Xr(u,d,o);let c;t===n?c=e:c=Sn(t,n,e);let s=gn(vn(c));return new I(s,a,i)}function Sn(t,n,e){let r={};return Object.entries(t.children).forEach(([i,o])=>{o===n?r[i]=e:r[i]=Sn(o,n,e)}),new m(t.segments,r)}var ut=class{isAbsolute;numberOfDoubleDots;commands;constructor(n,e,r){if(this.isAbsolute=n,this.numberOfDoubleDots=e,this.commands=r,n&&r.length>0&&ct(r[0]))throw new C(4003,!1);let i=r.find(Le);if(i&&i!==Zn(r))throw new C(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function gi(t){if(typeof t[0]=="string"&&t.length===1&&t[0]==="/")return new ut(!0,0,t);let n=0,e=!1,r=t.reduce((i,o,a)=>{if(typeof o=="object"&&o!=null){if(o.outlets){let c={};return Object.entries(o.outlets).forEach(([s,u])=>{c[s]=typeof u=="string"?u.split("/"):u}),[...i,{outlets:c}]}if(o.segmentPath)return[...i,o.segmentPath]}return typeof o!="string"?[...i,o]:a===0?(o.split("/").forEach((c,s)=>{s==0&&c==="."||(s==0&&c===""?e=!0:c===".."?n++:c!=""&&i.push(c))}),i):[...i,o]},[]);return new ut(e,n,r)}var de=class{segmentGroup;processChildren;index;constructor(n,e,r){this.segmentGroup=n,this.processChildren=e,this.index=r}};function vi(t,n,e){if(t.isAbsolute)return new de(n,!0,0);if(!e)return new de(n,!1,NaN);if(e.parent===null)return new de(e,!0,0);let r=ct(t.commands[0])?0:1,i=e.segments.length-1+r;return mi(e,i,t.numberOfDoubleDots)}function mi(t,n,e){let r=t,i=n,o=e;for(;o>i;){if(o-=i,r=r.parent,!r)throw new C(4005,!1);i=r.segments.length}return new de(r,!1,i-o)}function yi(t){return Le(t[0])?t[0].outlets:{[f]:t}}function Cn(t,n,e){if(t??=new m([],{}),t.segments.length===0&&t.hasChildren())return Ue(t,n,e);let r=Ri(t,n,e),i=e.slice(r.commandIndex);if(r.match&&r.pathIndex<t.segments.length){let o=new m(t.segments.slice(0,r.pathIndex),{});return o.children[f]=new m(t.segments.slice(r.pathIndex),t.children),Ue(o,0,i)}else return r.match&&i.length===0?new m(t.segments,{}):r.match&&!t.hasChildren()?Zt(t,n,e):r.match?Ue(t,0,i):Zt(t,n,e)}function Ue(t,n,e){if(e.length===0)return new m(t.segments,{});{let r=yi(e),i={};if(Object.keys(r).some(o=>o!==f)&&t.children[f]&&t.numberOfChildren===1&&t.children[f].segments.length===0){let o=Ue(t.children[f],n,e);return new m(t.segments,o.children)}return Object.entries(r).forEach(([o,a])=>{typeof a=="string"&&(a=[a]),a!==null&&(i[o]=Cn(t.children[o],n,a))}),Object.entries(t.children).forEach(([o,a])=>{r[o]===void 0&&(i[o]=a)}),new m(t.segments,i)}}function Ri(t,n,e){let r=0,i=n,o={match:!1,pathIndex:0,commandIndex:0};for(;i<t.segments.length;){if(r>=e.length)return o;let a=t.segments[i],c=e[r];if(Le(c))break;let s=`${c}`,u=r<e.length-1?e[r+1]:null;if(i>0&&s===void 0)break;if(s&&u&&typeof u=="object"&&u.outlets===void 0){if(!tn(s,u,a))return o;r+=2}else{if(!tn(s,{},a))return o;r++}i++}return{match:!0,pathIndex:i,commandIndex:r}}function Zt(t,n,e){let r=t.segments.slice(0,n),i=0;for(;i<e.length;){let o=e[i];if(Le(o)){let s=Si(o.outlets);return new m(r,s)}if(i===0&&ct(e[0])){let s=t.segments[n];r.push(new K(s.path,en(e[0]))),i++;continue}let a=Le(o)?o.outlets[f]:`${o}`,c=i<e.length-1?e[i+1]:null;a&&c&&ct(c)?(r.push(new K(a,en(c))),i+=2):(r.push(new K(a,{})),i++)}return new m(r,{})}function Si(t){let n={};return Object.entries(t).forEach(([e,r])=>{typeof r=="string"&&(r=[r]),r!==null&&(n[e]=Zt(new m([],{}),0,r))}),n}function en(t){let n={};return Object.entries(t).forEach(([e,r])=>n[e]=`${r}`),n}function tn(t,n,e){return t==e.path&&F(n,e.parameters)}var fe="imperative",R=(function(t){return t[t.NavigationStart=0]="NavigationStart",t[t.NavigationEnd=1]="NavigationEnd",t[t.NavigationCancel=2]="NavigationCancel",t[t.NavigationError=3]="NavigationError",t[t.RoutesRecognized=4]="RoutesRecognized",t[t.ResolveStart=5]="ResolveStart",t[t.ResolveEnd=6]="ResolveEnd",t[t.GuardsCheckStart=7]="GuardsCheckStart",t[t.GuardsCheckEnd=8]="GuardsCheckEnd",t[t.RouteConfigLoadStart=9]="RouteConfigLoadStart",t[t.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",t[t.ChildActivationStart=11]="ChildActivationStart",t[t.ChildActivationEnd=12]="ChildActivationEnd",t[t.ActivationStart=13]="ActivationStart",t[t.ActivationEnd=14]="ActivationEnd",t[t.Scroll=15]="Scroll",t[t.NavigationSkipped=16]="NavigationSkipped",t})(R||{}),_=class{id;url;constructor(n,e){this.id=n,this.url=e}},J=class extends _{type=R.NavigationStart;navigationTrigger;restoredState;constructor(n,e,r="imperative",i=null){super(n,e),this.navigationTrigger=r,this.restoredState=i}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},j=class extends _{urlAfterRedirects;type=R.NavigationEnd;constructor(n,e,r){super(n,e),this.urlAfterRedirects=r}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},w=(function(t){return t[t.Redirect=0]="Redirect",t[t.SupersededByNewNavigation=1]="SupersededByNewNavigation",t[t.NoDataFromResolver=2]="NoDataFromResolver",t[t.GuardRejected=3]="GuardRejected",t[t.Aborted=4]="Aborted",t})(w||{}),ge=(function(t){return t[t.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",t[t.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",t})(ge||{}),x=class extends _{reason;code;type=R.NavigationCancel;constructor(n,e,r,i){super(n,e),this.reason=r,this.code=i}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}};function wn(t){return t instanceof x&&(t.code===w.Redirect||t.code===w.SupersededByNewNavigation)}var q=class extends _{reason;code;type=R.NavigationSkipped;constructor(n,e,r,i){super(n,e),this.reason=r,this.code=i}},ae=class extends _{error;target;type=R.NavigationError;constructor(n,e,r,i){super(n,e),this.error=r,this.target=i}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},xe=class extends _{urlAfterRedirects;state;type=R.RoutesRecognized;constructor(n,e,r,i){super(n,e),this.urlAfterRedirects=r,this.state=i}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},lt=class extends _{urlAfterRedirects;state;type=R.GuardsCheckStart;constructor(n,e,r,i){super(n,e),this.urlAfterRedirects=r,this.state=i}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},ht=class extends _{urlAfterRedirects;state;shouldActivate;type=R.GuardsCheckEnd;constructor(n,e,r,i,o){super(n,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})`}},dt=class extends _{urlAfterRedirects;state;type=R.ResolveStart;constructor(n,e,r,i){super(n,e),this.urlAfterRedirects=r,this.state=i}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},ft=class extends _{urlAfterRedirects;state;type=R.ResolveEnd;constructor(n,e,r,i){super(n,e),this.urlAfterRedirects=r,this.state=i}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},pt=class{route;type=R.RouteConfigLoadStart;constructor(n){this.route=n}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},gt=class{route;type=R.RouteConfigLoadEnd;constructor(n){this.route=n}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},vt=class{snapshot;type=R.ChildActivationStart;constructor(n){this.snapshot=n}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},mt=class{snapshot;type=R.ChildActivationEnd;constructor(n){this.snapshot=n}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},yt=class{snapshot;type=R.ActivationStart;constructor(n){this.snapshot=n}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Rt=class{snapshot;type=R.ActivationEnd;constructor(n){this.snapshot=n}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},ve=class{routerEvent;position;anchor;scrollBehavior;type=R.Scroll;constructor(n,e,r,i){this.routerEvent=n,this.position=e,this.anchor=r,this.scrollBehavior=i}toString(){let n=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${n}')`}},me=class{},je=class{},ye=class{url;navigationBehaviorOptions;constructor(n,e){this.url=n,this.navigationBehaviorOptions=e}};function Ci(t){return!(t instanceof me)&&!(t instanceof ye)&&!(t instanceof je)}var St=class{rootInjector;outlet=null;route=null;children;attachRef=null;get injector(){return this.route?.snapshot._environmentInjector??this.rootInjector}constructor(n){this.rootInjector=n,this.children=new we(this.rootInjector)}},we=(()=>{class t{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 St(this.rootInjector),this.contexts.set(e,r)),r}getContext(e){return this.contexts.get(e)||null}static \u0275fac=function(r){return new(r||t)(Ye(Q))};static \u0275prov=Ee({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Ct=class{_root;constructor(n){this._root=n}get root(){return this._root.value}parent(n){let e=this.pathFromRoot(n);return e.length>1?e[e.length-2]:null}children(n){let e=Jt(n,this._root);return e?e.children.map(r=>r.value):[]}firstChild(n){let e=Jt(n,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(n){let e=Xt(n,this._root);return e.length<2?[]:e[e.length-2].children.map(i=>i.value).filter(i=>i!==n)}pathFromRoot(n){return Xt(n,this._root).map(e=>e.value)}};function Jt(t,n){if(t===n.value)return n;for(let e of n.children){let r=Jt(t,e);if(r)return r}return null}function Xt(t,n){if(t===n.value)return[n];for(let e of n.children){let r=Xt(t,e);if(r.length)return r.unshift(n),r}return[]}var D=class{value;children;constructor(n,e){this.value=n,this.children=e}toString(){return`TreeNode(${this.value})`}};function he(t){let n={};return t&&t.children.forEach(e=>n[e.value.outlet]=e),n}var ke=class extends Ct{snapshot;constructor(n,e){super(n),this.snapshot=e,lr(this,n)}toString(){return this.snapshot.toString()}};function bn(t,n){let e=wi(t,n),r=new U([new K("",{})]),i=new U({}),o=new U({}),a=new U({}),c=new U(""),s=new G(r,i,a,c,o,f,t,e.root);return s.snapshot=e.root,new ke(new D(s,[]),e)}function wi(t,n){let e={},r={},i={},a=new Re([],e,i,"",r,f,t,null,{},n);return new $e("",new D(a,[]))}var G=class{urlSubject;paramsSubject;queryParamsSubject;fragmentSubject;dataSubject;outlet;component;snapshot;_futureSnapshot;_routerState;_paramMap;_queryParamMap;title;url;params;queryParams;fragment;data;_localInjector;constructor(n,e,r,i,o,a,c,s){this.urlSubject=n,this.paramsSubject=e,this.queryParamsSubject=r,this.fragmentSubject=i,this.dataSubject=o,this.outlet=a,this.component=c,this._futureSnapshot=s,this.title=this.dataSubject?.pipe(b(u=>u[Fe]))??p(void 0),this.url=n,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(b(n=>oe(n))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(b(n=>oe(n))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}},bi="always";function ur(t,n,e){let r,{routeConfig:i}=t;return n!==null&&(e==="always"||i?.path===""||!n.component&&!n.routeConfig?.loadComponent)?r={params:h(h({},n.params),t.params),data:h(h({},n.data),t.data),resolve:h(h(h(h({},t.data),n.data),i?.data),t._resolvedData)}:r={params:h({},t.params),data:h({},t.data),resolve:h(h({},t.data),t._resolvedData??{})},i&&An(i)&&(r.resolve[Fe]=i.title),r}var Re=class{url;params;queryParams;fragment;data;outlet;component;routeConfig;_resolve;_resolvedData;_routerState;_paramMap;_queryParamMap;_environmentInjector;get title(){return this.data?.[Fe]}constructor(n,e,r,i,o,a,c,s,u,d){this.url=n,this.params=e,this.queryParams=r,this.fragment=i,this.data=o,this.outlet=a,this.component=c,this.routeConfig=s,this._resolve=u,this._environmentInjector=d}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??=oe(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=oe(this.queryParams),this._queryParamMap}toString(){let n=this.url.map(r=>r.toString()).join("/"),e=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${n}', path:'${e}')`}},$e=class extends Ct{url;constructor(n,e){super(e),this.url=n,lr(this,e)}toString(){return In(this._root)}};function lr(t,n){n.value._routerState=t,n.children.forEach(e=>lr(t,e))}function In(t){let n=t.children.length>0?` { ${t.children.map(In).join(", ")} } `:"";return`${t.value}${n}`}function Vt(t){if(t.snapshot){let n=t.snapshot,e=t._futureSnapshot;t.snapshot=e,F(n.queryParams,e.queryParams)||t.queryParamsSubject.next(e.queryParams),n.fragment!==e.fragment&&t.fragmentSubject.next(e.fragment),F(n.params,e.params)||t.paramsSubject.next(e.params),Yn(n.url,e.url)||t.urlSubject.next(e.url),F(n.data,e.data)||t.dataSubject.next(e.data)}else t.snapshot=t._futureSnapshot,t.dataSubject.next(t._futureSnapshot.data)}function er(t,n){let e=F(t.params,n.params)&&ti(t.url,n.url),r=!t.parent!=!n.parent;return e&&!r&&(!t.parent||er(t.parent,n.parent))}function An(t){return typeof t.title=="string"||t.title===null}var En=new E(""),hr=(()=>{class t{activated=null;get activatedComponentRef(){return this.activated}_activatedRoute=null;name=f;activateEvents=new ne;deactivateEvents=new ne;attachEvents=new ne;detachEvents=new ne;routerOutletData=Xe();parentContexts=l(we);location=l(Lr);changeDetector=l(et);inputBinder=l(At,{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 C(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new C(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new C(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 C(4013,!1);this._activatedRoute=e;let i=this.location,a=e.snapshot.component,c=this.parentContexts.getOrCreateContext(this.name).children,s=new tr(e,c,i.injector,this.routerOutletData);this.activated=i.createComponent(a,{index:i.length,injector:s,environmentInjector:r}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static \u0275fac=function(r){return new(r||t)};static \u0275dir=Ne({type:t,selectors:[["router-outlet"]],inputs:{name:"name",routerOutletData:[1,"routerOutletData"]},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],features:[Te]})}return t})(),tr=class{route;childContexts;parent;outletData;constructor(n,e,r,i){this.route=n,this.childContexts=e,this.parent=r,this.outletData=i}get(n,e){return n===G?this.route:n===we?this.childContexts:n===En?this.outletData:this.parent.get(n,e)}},At=new E("");var dr=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275cmp=kr({type:t,selectors:[["ng-component"]],exportAs:["emptyRouterOutlet"],decls:1,vars:0,template:function(r,i){r&1&&Fr(0,"router-outlet")},dependencies:[hr],encapsulation:2,changeDetection:1})}return t})();function fr(t){let n=t.children&&t.children.map(fr),e=n?N(h({},t),{children:n}):h({},t);return!e.component&&!e.loadComponent&&(n||e.loadChildren)&&e.outlet&&e.outlet!==f&&(e.component=dr),e}function Ii(t,n,e){let r=new Set,i=ze(t,n._root,e?e._root:void 0,r);return{newlyCreatedRoutes:r,state:new ke(i,n)}}function ze(t,n,e,r){if(e&&t.shouldReuseRoute(n.value,e.value.snapshot)){let i=e.value;i._futureSnapshot=n.value;let o=Ai(t,n,e,r);return new D(i,o)}else{if(t.shouldAttach(n.value)){let a=t.retrieve(n.value);if(a!==null){let c=a.route;return c.value._futureSnapshot=n.value,c.children=n.children.map(s=>ze(t,s,void 0,r)),c}}let i=Ei(n.value);r.add(i);let o=n.children.map(a=>ze(t,a,void 0,r));return new D(i,o)}}function Ai(t,n,e,r){return n.children.map(i=>{for(let o of e.children)if(t.shouldReuseRoute(i.value,o.value.snapshot))return ze(t,i,o,r);return ze(t,i,void 0,r)})}function Ei(t){return new G(new U(t.url),new U(t.params),new U(t.queryParams),new U(t.fragment),new U(t.data),t.outlet,t.component,t)}var Se=class{redirectTo;navigationBehaviorOptions;constructor(n,e){this.redirectTo=n,this.navigationBehaviorOptions=e}},Tn="ngNavigationCancelingError";function wt(t,n){let{redirectTo:e,navigationBehaviorOptions:r}=Z(n)?{redirectTo:n,navigationBehaviorOptions:void 0}:n,i=Nn(!1,w.Redirect);return i.url=e,i.navigationBehaviorOptions=r,i}function Nn(t,n){let e=new Error(`NavigationCancelingError: ${t||""}`);return e[Tn]=!0,e.cancellationCode=n,e}function Ti(t){return Mn(t)&&Z(t.url)}function Mn(t){return!!t&&t[Tn]}var rr=class{routeReuseStrategy;futureState;currState;forwardEvent;inputBindingEnabled;constructor(n,e,r,i,o){this.routeReuseStrategy=n,this.futureState=e,this.currState=r,this.forwardEvent=i,this.inputBindingEnabled=o}activate(n){let e=this.futureState._root,r=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,r,n),Vt(this.futureState.root),this.activateChildRoutes(e,r,n)}deactivateChildRoutes(n,e,r){let i=he(e);n.children.forEach(o=>{let a=o.value.outlet;this.deactivateRoutes(o,i[a],r),delete i[a]}),Object.values(i).forEach(o=>{this.deactivateRouteAndItsChildren(o,r)})}deactivateRoutes(n,e,r){let i=n.value,o=e?e.value:null;if(i===o)if(i.component){let a=r.getContext(i.outlet);a&&this.deactivateChildRoutes(n,e,a.children)}else this.deactivateChildRoutes(n,e,r);else o&&this.deactivateRouteAndItsChildren(e,r)}deactivateRouteAndItsChildren(n,e){n.value.component&&this.routeReuseStrategy.shouldDetach(n.value.snapshot)?this.detachAndStoreRouteSubtree(n,e):this.deactivateRouteAndOutlet(n,e)}detachAndStoreRouteSubtree(n,e){let r=e.getContext(n.value.outlet),i=r&&n.value.component?r.children:e,o=he(n);for(let a of Object.values(o))this.deactivateRouteAndItsChildren(a,i);if(r&&r.outlet){let a=r.outlet.detach(),c=r.children.onOutletDeactivated();this.routeReuseStrategy.store(n.value.snapshot,{componentRef:a,route:n,contexts:c})}}deactivateRouteAndOutlet(n,e){let r=e.getContext(n.value.outlet),i=r&&n.value.component?r.children:e,o=he(n);for(let a of Object.values(o))this.deactivateRouteAndItsChildren(a,i);r&&(r.outlet&&(r.outlet.deactivate(),r.children.onOutletDeactivated()),r.attachRef=null,r.route=null),n.value._localInjector?.destroy()}activateChildRoutes(n,e,r){let i=he(e);n.children.forEach(o=>{this.activateRoutes(o,i[o.value.outlet],r),this.forwardEvent(new Rt(o.value.snapshot))}),n.children.length&&this.forwardEvent(new mt(n.value.snapshot))}activateRoutes(n,e,r){let i=n.value,o=e?e.value:null;if(Vt(i),i===o)if(i.component){let a=r.getOrCreateContext(i.outlet);this.activateChildRoutes(n,e,a.children)}else this.activateChildRoutes(n,e,r);else if(i.component){let a=r.getOrCreateContext(i.outlet);if(this.routeReuseStrategy.shouldAttach(i.snapshot)){let c=this.routeReuseStrategy.retrieve(i.snapshot);this.routeReuseStrategy.store(i.snapshot,null),a.children.onOutletReAttached(c.contexts),a.attachRef=c.componentRef,a.route=c.route.value,a.outlet&&a.outlet.attach(c.componentRef,c.route.value),Vt(c.route.value),this.activateChildRoutes(n,null,a.children)}else a.attachRef=null,a.route=i,a.outlet&&a.outlet.activateWith(i,a.injector),this.activateChildRoutes(n,null,a.children)}else this.activateChildRoutes(n,null,r)}},bt=class{path;route;constructor(n){this.path=n,this.route=this.path[this.path.length-1]}},pe=class{component;route;constructor(n,e){this.component=n,this.route=e}};function Ni(t,n,e){let r=t._root,i=n?n._root:null;return _e(r,i,e,[r.value])}function Mi(t){let n=t.routeConfig?t.routeConfig.canActivateChild:null;return!n||n.length===0?null:{node:t,guards:n}}function be(t,n){let e=Symbol(),r=n.get(t,e);return r===e?typeof t=="function"&&!Tr(t)?t:n.get(t):r}function _e(t,n,e,r,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=he(n);return t.children.forEach(a=>{Di(a,o[a.value.outlet],e,r.concat([a.value]),i),delete o[a.value.outlet]}),Object.entries(o).forEach(([a,c])=>Oe(c,e.getContext(a),i)),i}function Di(t,n,e,r,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=t.value,a=n?n.value:null,c=e?e.getContext(t.value.outlet):null;if(a&&o.routeConfig===a.routeConfig){let s=_i(a,o,o.routeConfig.runGuardsAndResolvers);s?i.canActivateChecks.push(new bt(r)):(o.data=a.data,o._resolvedData=a._resolvedData),o.component?_e(t,n,c?c.children:null,r,i):_e(t,n,e,r,i),s&&c&&c.outlet&&c.outlet.isActivated&&i.canDeactivateChecks.push(new pe(c.outlet.component,a))}else a&&Oe(n,c,i),i.canActivateChecks.push(new bt(r)),o.component?_e(t,null,c?c.children:null,r,i):_e(t,null,e,r,i);return i}function _i(t,n,e){if(typeof e=="function")return L(n._environmentInjector,()=>e(t,n));switch(e){case"pathParamsChange":return!ie(t.url,n.url);case"pathParamsOrQueryParamsChange":return!ie(t.url,n.url)||!F(t.queryParams,n.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!er(t,n)||!F(t.queryParams,n.queryParams);default:return!er(t,n)}}function Oe(t,n,e){let r=he(t),i=t.value;Object.entries(r).forEach(([o,a])=>{i.component?n?Oe(a,n.children.getContext(o),e):Oe(a,null,e):Oe(a,n,e)}),i.component?n&&n.outlet&&n.outlet.isActivated?e.canDeactivateChecks.push(new pe(n.outlet.component,i)):e.canDeactivateChecks.push(new pe(null,i)):e.canDeactivateChecks.push(new pe(null,i))}function qe(t){return typeof t=="function"}function Ui(t){return typeof t=="boolean"}function Oi(t){return t&&qe(t.canLoad)}function Pi(t){return t&&qe(t.canActivate)}function Li(t){return t&&qe(t.canActivateChild)}function xi(t){return t&&qe(t.canDeactivate)}function ji(t){return t&&qe(t.canMatch)}function Dn(t){return t instanceof Cr||t?.name==="EmptyError"}var nt=Symbol("INITIAL_VALUE");function Ce(){return $(t=>wr(t.map(n=>n.pipe(le(1),Ar(nt)))).pipe(b(n=>{for(let e of n)if(e!==!0){if(e===nt)return nt;if(e===!1||ki(e))return e}return!0}),re(n=>n!==nt),le(1)))}function ki(t){return Z(t)||t instanceof Se}function _n(t){return t.aborted?p(void 0).pipe(le(1)):new Rr(n=>{let e=()=>{n.next(),n.complete()};return t.addEventListener("abort",e),()=>t.removeEventListener("abort",e)})}function Un(t){return Ke(_n(t))}function $i(t){return B(n=>{let{targetSnapshot:e,currentSnapshot:r,guards:{canActivateChecks:i,canDeactivateChecks:o}}=n;return o.length===0&&i.length===0?p(N(h({},n),{guardsResult:!0}
1)):zi(o,e,r).pipe(B(a=>a&&Ui(a)?Hi(e,i,t):p(a)),b(a=>N(h({},n),{guardsResult:a})))})}function zi(t,n,e){return M(t).pipe(B(r=>Gi(r.component,r.route,e,n)),W(r=>r!==!0,!0))}function Hi(t,n,e){return M(n).pipe(Qe(r=>br(qi(r.route.parent,e),Fi(r.route,e),Vi(t,r.path),Bi(t,r.route))),W(r=>r!==!0,!0))}function Fi(t,n){return t!==null&&n&&n(new yt(t)),p(!0)}function qi(t,n){return t!==null&&n&&n(new vt(t)),p(!0)}function Bi(t,n){let e=n.routeConfig?n.routeConfig.canActivate:null;if(!e||e.length===0)return p(!0);let r=e.map(i=>Ge(()=>{let o=n._environmentInjector,a=be(i,o),c=Pi(a)?a.canActivate(n,t):L(o,()=>a(n,t));return se(c).pipe(W())}));return p(r).pipe(Ce())}function Vi(t,n){let e=n[n.length-1],i=n.slice(0,n.length-1).reverse().map(o=>Mi(o)).filter(o=>o!==null).map(o=>Ge(()=>{let a=o.guards.map(c=>{let s=o.node._environmentInjector,u=be(c,s),d=Li(u)?u.canActivateChild(e,t):L(s,()=>u(e,t));return se(d).pipe(W())});return p(a).pipe(Ce())}));return p(i).pipe(Ce())}function Gi(t,n,e,r){let i=n&&n.routeConfig?n.routeConfig.canDeactivate:null;if(!i||i.length===0)return p(!0);let o=i.map(a=>{let c=n._environmentInjector,s=be(a,c),u=xi(s)?s.canDeactivate(t,n,e,r):L(c,()=>s(t,n,e,r));return se(u).pipe(W())});return p(o).pipe(Ce())}function Wi(t,n,e,r,i){let o=n.canLoad;if(o===void 0||o.length===0)return p(!0);let a=o.map(c=>{let s=be(c,t),u=Oi(s)?s.canLoad(n,e):L(t,()=>s(n,e)),d=se(u);return i?d.pipe(Un(i)):d});return p(a).pipe(Ce(),On(r))}function On(t){return yr(P(n=>{if(typeof n!="boolean")throw wt(t,n)}),b(n=>n===!0))}function Qi(t,n,e,r,i,o){let a=n.canMatch;if(!a||a.length===0)return p(!0);let c=a.map(s=>{let u=be(s,t),d=ji(u)?u.canMatch(n,e,i):L(t,()=>u(n,e,i));return se(d).pipe(Un(o))});return p(c).pipe(Ce(),On(r))}var V=class t extends Error{segmentGroup;constructor(n){super(),this.segmentGroup=n||null,Object.setPrototypeOf(this,t.prototype)}},He=class t extends Error{urlTree;constructor(n){super(),this.urlTree=n,Object.setPrototypeOf(this,t.prototype)}};function Ki(t){throw new C(4e3,!1)}function Yi(t){throw Nn(!1,w.GuardRejected)}var nr=class{urlSerializer;urlTree;constructor(n,e){this.urlSerializer=n,this.urlTree=e}async lineralizeSegments(n,e){let r=[],i=e.root;for(;;){if(r=r.concat(i.segments),i.numberOfChildren===0)return r;if(i.numberOfChildren>1||!i.children[f])throw Ki(`${n.redirectTo}`);i=i.children[f]}}async applyRedirectCommands(n,e,r,i,o){let a=await Zi(e,i,o);if(a instanceof I)throw new He(a);let c=this.applyRedirectCreateUrlTree(a,this.urlSerializer.parse(a),n,r);if(a[0]==="/")throw new He(c);return c}applyRedirectCreateUrlTree(n,e,r,i){let o=this.createSegmentGroup(n,e.root,r,i);return new I(o,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(n,e){let r={};return Object.entries(n).forEach(([i,o])=>{if(typeof o=="string"&&o[0]===":"){let c=o.substring(1);r[i]=e[c]}else r[i]=o}),r}createSegmentGroup(n,e,r,i){let o=this.createSegments(n,e.segments,r,i),a={};return Object.entries(e.children).forEach(([c,s])=>{a[c]=this.createSegmentGroup(n,s,r,i)}),new m(o,a)}createSegments(n,e,r,i){return e.map(o=>o.path[0]===":"?this.findPosParam(n,o,i):this.findOrReturn(o,r))}findPosParam(n,e,r){let i=r[e.path.substring(1)];if(!i)throw new C(4001,!1);return i}findOrReturn(n,e){let r=0;for(let i of e){if(i.path===n.path)return e.splice(r),i;r++}return n}};function Zi(t,n,e){if(typeof t=="string")return Promise.resolve(t);let r=t;return st(se(L(e,()=>r(n))))}function Ji(t,n){return t.providers&&!t._injector&&(t._injector=kt(t.providers,n,`Route: ${t.path}`)),t._injector??n}function z(t){return t.outlet||f}function Xi(t,n){let e=t.filter(r=>z(r)===n);return e.push(...t.filter(r=>z(r)!==n)),e}var ir={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Pn(t){return{routeConfig:t.routeConfig,url:t.url,params:t.params,queryParams:t.queryParams,fragment:t.fragment,data:t.data,outlet:t.outlet,title:t.title,paramMap:t.paramMap,queryParamMap:t.queryParamMap}}function eo(t,n,e,r,i,o,a){let c=Ln(t,n,e);if(!c.matched)return p(c);let s=Pn(o(c));return r=Ji(n,r),Qi(r,n,e,i,s,a).pipe(b(u=>u===!0?c:h({},ir)))}function Ln(t,n,e){if(n.path==="")return n.pathMatch==="full"&&(t.hasChildren()||e.length>0)?h({},ir):{matched:!0,consumedSegments:[],remainingSegments:e,parameters:{},positionalParamSegments:{}};
vendor: 4,310 bytes, line 1
1let i=(n.matcher||an)(e,t,n);if(!i)return h({},ir);let o={};Object.entries(i.posParams??{}).forEach(([c,s])=>{o[c]=s.path});let a=i.consumed.length>0?h(h({},o),i.consumed[i.consumed.length-1].parameters):o;return{matched:!0,consumedSegments:i.consumed,remainingSegments:e.slice(i.consumed.length),parameters:a,positionalParamSegments:i.posParams??{}}}function rn(t,n,e,r,i){return e.length>0&&no(t,e,r,i)?{segmentGroup:new m(n,ro(r,new m(e,t.children))),slicedSegments:[]}:e.length===0&&io(t,e,r)?{segmentGroup:new m(t.segments,to(t,e,r,t.children)),slicedSegments:e}:{segmentGroup:new m(t.segments,t.children),slicedSegments:e}}function to(t,n,e,r){let i={};for(let o of e)if(Et(t,n,o)&&!r[z(o)]){let a=new m([],{});i[z(o)]=a}return h(h({},r),i)}function ro(t,n){let e={};e[f]=n;for(let r of t)if(r.path===""&&z(r)!==f){let i=new m([],{});e[z(r)]=i}return e}function no(t,n,e,r){return e.some(i=>!Et(t,n,i)||!(z(i)!==f)?!1:!(r!==void 0&&z(i)===r))}function io(t,n,e){return e.some(r=>Et(t,n,r))}function Et(t,n,e){return(t.hasChildren()||n.length>0)&&e.pathMatch==="full"?!1:e.path===""}function oo(t,n,e){return n.length===0&&!t.children[e]}var or=class{};async function ao(t,n,e,r,i,o,a,c){return new ar(t,n,e,r,i,a,o,c).recognize()}var so=31,ar=class{injector;configLoader;rootComponentType;config;urlTree;paramsInheritanceStrategy;urlSerializer;abortSignal;applyRedirects;absoluteRedirectCount=0;allowRedirects=!0;constructor(n,e,r,i,o,a,c,s){this.injector=n,this.configLoader=e,this.rootComponentType=r,this.config=i,this.urlTree=o,this.paramsInheritanceStrategy=a,this.urlSerializer=c,this.abortSignal=s,this.applyRedirects=new nr(this.urlSerializer,this.urlTree)}noMatchError(n){return new C(4002,`'${n.segmentGroup}'`)}async recognize(){let n=rn(this.urlTree.root,[],[],this.config).segmentGroup,{children:e,rootSnapshot:r}=await this.match(n),i=new D(r,e),o=new $e("",i),a=mn(r,[],this.urlTree.queryParams,this.urlTree.fragment);return a.queryParams=this.urlTree.queryParams,o.url=this.urlSerializer.serialize(a),{state:o,tree:a}}async match(n){let e=new Re([],Object.freeze({}),Object.freeze(h({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),f,this.rootComponentType,null,{},this.injector);try{return{children:await this.processSegmentGroup(this.injector,this.config,n,f,e),rootSnapshot:e}}catch(r){if(r instanceof He)return this.urlTree=r.urlTree,this.match(r.urlTree.root);throw r instanceof V?this.noMatchError(r):r}}async processSegmentGroup(n,e,r,i,o){if(r.segments.length===0&&r.hasChildren())return this.processChildren(n,e,r,o);let a=await this.processSegment(n,e,r,r.segments,i,!0,o);return a instanceof D?[a]:[]}async processChildren(n,e,r,i){let o=[];for(let s of Object.keys(r.children))s==="primary"?o.unshift(s):o.push(s);let a=[];for(let s of o){let u=r.children[s],d=Xi(e,s),v=await this.processSegmentGroup(n,d,u,s,i);a.push(...v)}let c=xn(a);return co(c),c}async processSegment(n,e,r,i,o,a,c){for(let s of e)try{return await this.processSegmentAgainstRoute(s._injector??n,e,s,r,i,o,a,c)}catch(u){if(u instanceof V||Dn(u))continue;throw u}if(oo(r,i,o))return new or;throw new V(r)}async processSegmentAgainstRoute(n,e,r,i,o,a,c,s){if(z(r)!==a&&(a===f||!Et(i,o,r)))throw new V(i);if(r.redirectTo===void 0)return this.matchSegmentAgainstRoute(n,i,r,o,a,s);if(this.allowRedirects&&c)return this.expandSegmentAgainstRouteUsingRedirect(n,i,e,r,o,a,s);throw new V(i)}async expandSegmentAgainstRouteUsingRedirect(n,e,r,i,o,a,c){let{matched:s,parameters:u,consumedSegments:d,positionalParamSegments:v,remainingSegments:g}=Ln(e,i,o);if(!s)throw new V(e);typeof i.redirectTo=="string"&&i.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>so&&(this.allowRedirects=!1));let A=this.createSnapshot(n,i,o,u,c);if(this.abortSignal.aborted)throw new Error(this.abortSignal.reason);let k=await this.applyRedirects.applyRedirectCommands(d,i.redirectTo,v,Pn(A),n),X=await this.applyRedirects.lineralizeSegments(i,k);return this.processSegment(n,r,e,X.concat(g),a,!1,c)}createSnapshot(n,e,r,i,o){let a=new Re(r,i,Object.freeze(h({},this.urlTree.queryParams)),this.urlTree.fragment,lo(e),z(e),e.component??e._loadedComponent??null,e,ho(e),n),c=ur(a,o,this.paramsInheritanceStrategy);return a.params=Object.freeze(c.params),a.data=Object.freeze(c.data),a}
1async matchSegmentAgainstRoute(n,e,r,i,o,a){if(this.abortSignal.aborted)throw new Error(this.abortSignal.reason);let c=ee=>this.createSnapshot(n,r,ee.consumedSegments,ee.parameters,a),s=await st(eo(e,r,i,n,this.urlSerializer,c,this.abortSignal));if(r.path==="**"&&(e.children={}),!s?.matched)throw new V(e);n=r._injector??n;let{routes:u}=await this.getChildConfig(n,r,i),d=r._loadedInjector??n,{parameters:v,consumedSegments:g,remainingSegments:A}=s,k=this.createSnapshot(n,r,g,v,a),{segmentGroup:X,slicedSegments:Ae}=rn(e,g,A,u,o);if(Ae.length===0&&X.hasChildren()){let ee=await this.processChildren(d,u,X,k);return new D(k,ee)}if(u.length===0&&Ae.length===0)return new D(k,[]);let Dt=z(r)===o,Ve=await this.processSegment(d,u,X,Ae,Dt?f:o,!0,k);return new D(k,Ve instanceof D?[Ve]:[])}async getChildConfig(n,e,r){if(e.children)return{routes:e.children,injector:n};if(e.loadChildren){if(e._loadedRoutes!==void 0){let o=e._loadedNgModuleFactory;return o&&!e._loadedInjector&&(e._loadedInjector=o.create(n).injector),{routes:e._loadedRoutes,injector:e._loadedInjector}}if(this.abortSignal.aborted)throw new Error(this.abortSignal.reason);if(await st(Wi(n,e,r,this.urlSerializer,this.abortSignal))){let o=await this.configLoader.loadChildren(n,e);return e._loadedRoutes=o.routes,e._loadedInjector=o.injector,e._loadedNgModuleFactory=o.factory,o}throw Yi(e)}return{routes:[],injector:n}}};function co(t){t.sort((n,e)=>n.value.outlet===f?-1:e.value.outlet===f?1:n.value.outlet.localeCompare(e.value.outlet))}function uo(t){let n=t.value.routeConfig;return n&&n.path===""}function xn(t){let n=[],e=new Set;for(let r of t){if(!uo(r)){n.push(r);continue}let i=n.find(o=>r.value.routeConfig===o.value.routeConfig);i!==void 0?(i.children.push(...r.children),e.add(i)):n.push(r)}for(let r of e){let i=xn(r.children);n.push(new D(r.value,i))}return n.filter(r=>!e.has(r))}function lo(t){return t.data||{}}function ho(t){return t.resolve||{}}function fo(t,n,e,r,i,o,a){return B(async c=>{let{state:s,tree:u}=await ao(t,n,e,r,c.extractedUrl,i,o,a);return N(h({},c),{targetSnapshot:s,urlAfterRedirects:u})})}function po(t){return B(n=>{let{targetSnapshot:e,guards:{canActivateChecks:r}}=n;if(!r.length)return p(n);let i=new Set(r.map(c=>c.route)),o=new Set;for(let c of i)if(!o.has(c))for(let s of jn(c))o.add(s);let a=0;return M(o).pipe(Qe(c=>i.has(c)?go(c,e,t):(c.data=ur(c,c.parent,t).resolve,p(void 0))),P(()=>a++),Ot(1),B(c=>a===o.size?p(n):O))})}function jn(t){let n=t.children.map(e=>jn(e)).flat();return[t,...n]}function go(t,n,e){let r=t.routeConfig,i=t._resolve;return r?.title!==void 0&&!An(r)&&(i[Fe]=r.title),Ge(()=>(t.data=ur(t,t.parent,e).resolve,vo(i,t,n).pipe(b(o=>(t._resolvedData=o,t.data=h(h({},t.data),o),null)))))}function vo(t,n,e){let r=Wt(t);if(r.length===0)return p({});let i={};return M(r).pipe(B(o=>mo(t[o],n,e).pipe(W(),P(a=>{if(a instanceof Se)throw wt(new Y,a);i[o]=a}))),Ot(1),b(()=>i),We(o=>Dn(o)?O:Sr(o)))}function mo(t,n,e){let r=n._environmentInjector,i=be(t,r),o=i.resolve?i.resolve(n,e):L(r,()=>i(n,e));return se(o)}function nn(t){return $(n=>{let e=t(n);return e?M(e).pipe(b(()=>n)):p(n)})}var pr=(()=>{class t{buildTitle(e){let r,i=e.root;for(;i!==void 0;)r=this.getResolvedTitleForRoute(i)??r,i=i.children.find(o=>o.outlet===f);return r}getResolvedTitleForRoute(e){return e.data[Fe]}static \u0275fac=function(r){return new(r||t)};static \u0275prov=T({token:t,factory:()=>l(kn)})}return t})(),kn=(()=>{class t extends pr{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||t)(Ye(Zr))};static \u0275prov=Ee({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Ie=new E("",{factory:()=>({})}),Be=new E(""),$n=(()=>{class t{componentLoaders=new WeakMap;childrenLoaders=new WeakMap;onLoadStartListener;onLoadEndListener;compiler=l(Wr);async loadComponent(e,r){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=(async()=>{try{let o=await cn(L(e,()=>r.loadComponent())),a=await Hn(zt(o));return this.onLoadEndListener&&this.onLoadEndListener(r),r._loadedComponent=a,a}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=(async()=>{try{let o=await zn(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||t)};static \u0275prov=T({token:t,factory:t.\u0275fac})}return t})();async function zn(t,n,e,r){let i=await cn(L(e,()=>t.loadChildren())),o=await Hn(zt(i)),a;o instanceof jr||Array.isArray(o)?a=o:a=await n.compileModuleAsync(o),r&&r(t);let c,s,u=!1,d;return Array.isArray(a)?(s=a,u=!0):(c=a.create(e).injector,d=a,s=c.get(Be,[],{optional:!0,self:!0}).flat()),{routes:s.map(fr),injector:c,factory:d}}async function Hn(t){return t}var Tt=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275prov=T({token:t,factory:()=>l(yo)})}return t})(),yo=(()=>{class t{shouldProcessUrl(e){return!0}extract(e){return e}merge(e,r){return e}static \u0275fac=function(r){return new(r||t)};static \u0275prov=T({token:t,factory:t.\u0275fac})}return t})(),Fn=new E("");var qn=new E(""),Ro=()=>{},Bn=new E(""),gr=(()=>{class t{currentNavigation=S(null,{equal:()=>!1});currentTransition=null;lastSuccessfulNavigation=S(null);events=new te;
1transitionAbortWithErrorSubject=new te;configLoader=l($n);environmentInjector=l(Q);destroyRef=l(Pt);urlSerializer=l(ce);rootContexts=l(we);location=l(Me);inputBindingEnabled=l(At,{optional:!0})!==null;titleStrategy=l(pr);options=l(Ie,{optional:!0})||{};paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||bi;urlHandlingStrategy=l(Tt);createViewTransition=l(Fn,{optional:!0});navigationErrorHandler=l(Bn,{optional:!0});activatedRouteInjectorFeature=l(qn,{optional:!0});navigationId=0;get hasRequestedNavigation(){return this.navigationId!==0}transitions;afterPreactivation=()=>p(void 0);rootComponentType=null;destroyed=!1;constructor(){let e=i=>this.events.next(new pt(i)),r=i=>this.events.next(new gt(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;y(()=>{this.transitions?.next(N(h({},e),{extractedUrl:this.urlHandlingStrategy.extract(e.rawUrl),targetSnapshot:null,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null,id:r,routesRecognizeHandler:{},beforeActivateHandler:{}}))})}setupNavigations(e){return this.transitions=new U(null),this.transitions.pipe(re(r=>r!==null),$(r=>{let i=!0,o=!1,a=new AbortController,c=()=>!o&&this.currentTransition?.id===r.id;return p(r).pipe($(s=>{if(this.navigationId>r.id)return this.cancelNavigationTransition(r,"",w.SupersededByNewNavigation),O;this.currentTransition=r;let u=this.lastSuccessfulNavigation();this.currentNavigation.set({id:s.id,initialUrl:s.rawUrl,extractedUrl:s.extractedUrl,targetBrowserUrl:typeof s.extras.browserUrl=="string"?this.urlSerializer.parse(s.extras.browserUrl):s.extras.browserUrl,trigger:s.source,extras:s.extras,previousNavigation:u?N(h({},u),{previousNavigation:null}):null,abort:()=>a.abort(),routesRecognizeHandler:s.routesRecognizeHandler,beforeActivateHandler:s.beforeActivateHandler});let d=!e.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),v=s.extras.onSameUrlNavigation??e.onSameUrlNavigation;if(!d&&v!=="reload")return this.events.next(new q(s.id,this.urlSerializer.serialize(s.rawUrl),"",ge.IgnoredSameUrlNavigation)),s.resolve(!1),O;if(this.urlHandlingStrategy.shouldProcessUrl(s.rawUrl))return p(s).pipe($(g=>(this.events.next(new J(g.id,this.urlSerializer.serialize(g.extractedUrl),g.source,g.restoredState)),g.id!==this.navigationId?O:Promise.resolve(g))),fo(this.environmentInjector,this.configLoader,this.rootComponentType,e.config,this.urlSerializer,this.paramsInheritanceStrategy,a.signal),P(g=>{r.targetSnapshot=g.targetSnapshot,r.urlAfterRedirects=g.urlAfterRedirects,this.currentNavigation.update(A=>(A.finalUrl=g.urlAfterRedirects,A)),this.events.next(new je)}),$(g=>M(r.routesRecognizeHandler.deferredHandle??p(void 0)).pipe(b(()=>g))),P(()=>{let g=new xe(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot);this.events.next(g)}));if(d&&this.urlHandlingStrategy.shouldProcessUrl(s.currentRawUrl)){let{id:g,extractedUrl:A,source:k,restoredState:X,extras:Ae}=s,Dt=new J(g,this.urlSerializer.serialize(A),k,X);this.events.next(Dt);let Ve=bn(this.rootComponentType,this.environmentInjector).snapshot;return this.currentTransition=r=N(h({},s),{targetSnapshot:Ve,urlAfterRedirects:A,extras:N(h({},Ae),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.update(ee=>(ee.finalUrl=A,ee)),p(r)}else return this.events.next(new q(s.id,this.urlSerializer.serialize(s.extractedUrl),"",ge.IgnoredByUrlHandlingStrategy)),s.resolve(!1),O}),b(s=>{let u=new lt(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot);return this.events.next(u),this.currentTransition=r=N(h({},s),{guards:Ni(s.targetSnapshot,s.currentSnapshot,this.rootContexts)}),r}),$i(s=>this.events.next(s)),$(s=>{if(r.guardsResult=s.guardsResult,s.guardsResult&&typeof s.guardsResult!="boolean")throw wt(this.urlSerializer,s.guardsResult);let u=new ht(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot,!!s.guardsResult);if(this.events.next(u),!c())return O;if(!s.guardsResult)return this.cancelNavigationTransition(s,"",w.GuardRejected),O;if(s.guards.canActivateChecks.length===0)return p(s);let d=new dt(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot);if(this.events.next(d),!c())return O;let v=!1;return p(s).pipe(po(this.paramsInheritanceStrategy),P({next:()=>{v=!0;let g=new ft(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot);this.events.next(g)},complete:()=>
1{v||this.cancelNavigationTransition(s,"",w.NoDataFromResolver)}}))}),nn(s=>{let u=v=>{let g=[];if(v.routeConfig?._loadedComponent)v.component=v.routeConfig?._loadedComponent;else if(v.routeConfig?.loadComponent){let A=v._environmentInjector;g.push(this.configLoader.loadComponent(A,v.routeConfig).then(k=>{v.component=k}))}for(let A of v.children)g.push(...u(A));return g},d=u(s.targetSnapshot.root);return d.length===0?p(s):M(Promise.all(d).then(()=>s))}),$(s=>{let{newlyCreatedRoutes:u,state:d}=Ii(e.routeReuseStrategy,s.targetSnapshot,s.currentRouterState);return this.currentTransition=r=s=N(h({},s),{targetRouterState:d,newlyCreatedRoutes:u}),this.currentNavigation.update(v=>(v.targetRouterState=d,v)),p(s)}),this.activatedRouteInjectorFeature?.operator()??(s=>s),nn(()=>this.afterPreactivation()),$(()=>{let{currentSnapshot:s,targetSnapshot:u}=r,d=this.createViewTransition?.(this.environmentInjector,s.root,u.root);return d?M(d).pipe(b(()=>r)):p(r)}),le(1),$(s=>{i=!1,this.events.next(new me);let u=r.beforeActivateHandler.deferredHandle;return u?M(u.then(()=>s)):p(s)}),P(s=>{new rr(e.routeReuseStrategy,r.targetRouterState,r.currentRouterState,u=>this.events.next(u),this.inputBindingEnabled).activate(this.rootContexts),s.newlyCreatedRoutes?.clear(),c()&&(o=!0,this.currentNavigation.update(u=>(u.abort=Ro,u)),this.lastSuccessfulNavigation.set(y(this.currentNavigation)),this.events.next(new j(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects))),this.titleStrategy?.updateTitle(s.targetRouterState.snapshot),s.resolve(!0))}),Ke(_n(a.signal).pipe(re(()=>!o&&i),P(()=>{this.cancelNavigationTransition(r,a.signal.reason+"",w.Aborted)}))),P({complete:()=>{o=!0}}),Ke(this.transitionAbortWithErrorSubject.pipe(P(s=>{throw s}))),Ir(()=>{a.abort(),o||this.cancelNavigationTransition(r,"",w.SupersededByNewNavigation),this.currentTransition?.id===r.id&&(this.currentNavigation.set(null),this.currentTransition=null)}),We(s=>{if(o=!0,on(r),this.destroyed)return r.resolve(!1),O;if(Mn(s))this.events.next(new x(r.id,this.urlSerializer.serialize(r.extractedUrl),s.message,s.cancellationCode)),Ti(s)?this.events.next(new ye(s.url,s.navigationBehaviorOptions)):r.resolve(!1);else{let u=new ae(r.id,this.urlSerializer.serialize(r.extractedUrl),s,r.targetSnapshot??void 0);try{let d=L(this.environmentInjector,()=>this.navigationErrorHandler?.(u));if(d instanceof Se){let{message:v,cancellationCode:g}=wt(this.urlSerializer,d);this.events.next(new x(r.id,this.urlSerializer.serialize(r.extractedUrl),v,g)),this.events.next(new ye(d.redirectTo,d.navigationBehaviorOptions))}else throw this.events.next(u),s}catch(d){this.options.resolveNavigationPromiseOnError?r.resolve(!1):r.reject(d)}}return O}))}))}cancelNavigationTransition(e,r,i){on(e);let o=new x(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=y(this.currentNavigation),i=r?.targetBrowserUrl??r?.extractedUrl;return e.toString()!==i?.toString()&&!r?.extras.skipLocationChange}static \u0275fac=function(r){return new(r||t)};static \u0275prov=T({token:t,factory:t.\u0275fac})}return t})();function So(t){return t!==fe}function on(t){if(t.newlyCreatedRoutes)for(let n of t.newlyCreatedRoutes)n._localInjector?.destroy()}var Vn=new E("");var Gn=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275prov=T({token:t,factory:()=>l(Co)})}return t})(),It=class{shouldDetach(n){return!1}store(n,e){}shouldAttach(n){return!1}retrieve(n){return null}shouldReuseRoute(n,e){return n.routeConfig===e.routeConfig}shouldDestroyInjector(n){return!0}},Co=(()=>{class t extends It{static \u0275fac=function(r){return new(r||t)};static \u0275prov=T({token:t,factory:t.\u0275fac})}return t})(),Nt=(()=>{class t{urlSerializer=l(ce);options=l(Ie,{optional:!0})||{};canceledNavigationResolution=this.options.canceledNavigationResolution||"replace";location=l(Me);urlHandlingStrategy=l(Tt);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";currentUrlTree=new I;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,a=i??o;return a instanceof I?this.urlSerializer.serialize(a):a}routerUrlState(e){return e?.targetBrowserUrl===void 0||e?.finalUrl===void 0?{}:{\u0275routerUrl:this.urlSerializer.serialize(e.finalUrl)}}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}
1routerState=bn(null,l(Q));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||t)};static \u0275prov=T({token:t,factory:()=>l(wo)})}return t})(),wo=(()=>{class t extends Nt{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",{replaceUrl:!0})})})}handleRouterEvent(e,r){e instanceof J?this.updateStateMemento():e instanceof q?this.commitTransition(r):e instanceof xe?this.urlUpdateStrategy==="eager"&&(r.extras.skipLocationChange||this.setBrowserUrl(this.createBrowserPath(r),r)):e instanceof me?(this.commitTransition(r),this.urlUpdateStrategy==="deferred"&&!r.extras.skipLocationChange&&this.setBrowserUrl(this.createBrowserPath(r),r)):e instanceof x&&!wn(e)?this.restoreHistory(r):e instanceof ae?this.restoreHistory(r,!0):e instanceof j&&(this.lastSuccessfulId=e.id,this.currentPageId=this.browserPageId)}setBrowserUrl(e,r){let{extras:i,id:o}=r,{replaceUrl:a,state:c}=i;
1if(this.location.isCurrentPathEqualTo(e)||a){let s=this.browserPageId,u=h(h({},c),this.generateNgRouterState(o,s,r));this.location.replaceState(e,"",u)}else{let s=h(h({},c),this.generateNgRouterState(o,this.browserPageId+1,r));this.location.go(e,"",s)}}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,i){return this.canceledNavigationResolution==="computed"?h({navigationId:e,\u0275routerPageId:r},this.routerUrlState(i)):h({navigationId:e},this.routerUrlState(i))}static \u0275fac=function(r){return new(r||t)};static \u0275prov=T({token:t,factory:t.\u0275fac})}return t})();function vr(t,n){t.events.pipe(re(e=>e instanceof j||e instanceof x||e instanceof ae||e instanceof q),b(e=>e instanceof j||e instanceof q?0:(e instanceof x?e.code===w.Redirect||e.code===w.SupersededByNewNavigation:!1)?2:1),re(e=>e!==2),le(1)).subscribe(()=>{n()})}var ue=(()=>{class t{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}disposed=!1;nonRouterCurrentEntryChangeSubscription;console=l($r);stateManager=l(Nt);options=l(Ie,{optional:!0})||{};pendingTasks=l(Dr);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";navigationTransitions=l(gr);urlSerializer=l(ce);location=l(Me);urlHandlingStrategy=l(Tt);injector=l(Q);_events=new te;get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}navigated=!1;routeReuseStrategy=l(Gn);injectorCleanup=l(Vn,{optional:!0});onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore";config=l(Be,{optional:!0})?.flat()??[];componentInputBindingEnabled=!!l(At,{optional:!0});currentNavigation=this.navigationTransitions.currentNavigation.asReadonly();constructor(){this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this).subscribe({error:e=>{}}),this.subscribeToNavigationEvents()}eventsSubscription=new mr;subscribeToNavigationEvents(){let e=this.navigationTransitions.events.subscribe(r=>{try{let i=this.navigationTransitions.currentTransition,o=y(this.navigationTransitions.currentNavigation);if(i!==null&&o!==null){if(this.stateManager.handleRouterEvent(r,o),r instanceof x&&r.code!==w.Redirect&&r.code!==w.SupersededByNewNavigation)this.navigated=!0;else if(r instanceof j)this.navigated=!0,this.injectorCleanup?.(this.routeReuseStrategy,this.routerState,this.config);else if(r instanceof ye){let a=r.navigationBehaviorOptions,c=this.urlHandlingStrategy.merge(r.url,i.currentRawUrl),s=h({scroll:i.extras.scroll,browserUrl:i.extras.browserUrl,info:i.extras.info,skipLocationChange:i.extras.skipLocationChange,replaceUrl:i.extras.replaceUrl||this.urlUpdateStrategy==="eager"||So(i.source)},a);this.scheduleNavigation(c,fe,null,s,{resolve:i.resolve,reject:i.reject,promise:i.promise})}}Ci(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),fe,this.stateManager.restoredState(),{replaceUrl:!0})}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((e,r,i,o)=>{this.navigateToSyncWithBrowser(e,i,r,o)})}navigateToSyncWithBrowser(e,r,i,o){let a=i?.navigationId?i:null,c=i?.\u0275routerUrl??e;if(i?.\u0275routerUrl&&(o=N(h({},o),{browserUrl:e})),i){let u=h({},i);delete u.navigationId,delete u.\u0275routerPageId,delete u.\u0275routerUrl,Object.keys(u).length!==0&&(o.state=u)}let s=this.parseUrl(c);this.scheduleNavigation(s,r,a,o).catch(u=>{this.disposed||this.injector.get(Ze)(u)})}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return y(this.navigationTransitions.currentNavigation)}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(e){this.config=e.map(fr),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:a,queryParamsHandling:c,preserveFragment:s}=r,u=s?this.currentUrlTree.fragment:a,d=null;switch(c??this.options.defaultQueryParamsHandling){case"merge":d=h(h({},this.currentUrlTree.queryParams),o);break;case"preserve":d=this.currentUrlTree.queryParams;break;default:d=o||null}d!==null&&(d=this.removeEmptyProps(d));let v;try{let g=i?i.snapshot:this.routerState.snapshot.root;v=yn(g)}
vendor: 1,359 bytes, line 1
1catch{(typeof e[0]!="string"||e[0][0]!=="/")&&(e=[]),v=this.currentUrlTree.root}return Rn(v,e,d,u??null,this.urlSerializer)}navigateByUrl(e,r={skipLocationChange:!1}){let i=Z(e)?e:this.parseUrl(e),o=this.urlHandlingStrategy.merge(i,this.rawUrlTree);return this.scheduleNavigation(o,fe,null,r)}navigate(e,r={skipLocationChange:!1}){return bo(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(Er(4018,!1)),this.urlSerializer.parse("/")}}isActive(e,r){let i;if(r===!0?i=h({},sr):r===!1?i=h({},Pe):i=h(h({},Pe),r),Z(e))return Qt(this.currentUrlTree,e,i);let o=this.parseUrl(e);return Qt(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,a){if(this.disposed)return Promise.resolve(!1);let c,s,u;a?(c=a.resolve,s=a.reject,u=a.promise):u=new Promise((v,g)=>{c=v,s=g});let d=this.pendingTasks.add();return vr(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(d))}),this.navigationTransitions.handleNavigationRequest({source:r,restoredState:i,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:e,extras:o,resolve:c,reject:s,promise:u,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}
1),u.catch(Promise.reject.bind(Promise))}static \u0275fac=function(r){return new(r||t)};static \u0275prov=T({token:t,factory:t.\u0275fac})}return t})();function bo(t){for(let n=0;n<t.length;n++)if(t[n]==null)throw new C(4008,!1)}var Io=(()=>{class t{router=l(ue);stateManager=l(Nt);fragment=S("");queryParams=S({});path=S("");serializer=l(ce);constructor(){this.updateState(),this.router.events?.subscribe(e=>{e instanceof j&&this.updateState()})}updateState(){let{fragment:e,root:r,queryParams:i}=this.stateManager.getCurrentUrlTree();this.fragment.set(e),this.queryParams.set(i),this.path.set(this.serializer.serialize(new I(r)))}static \u0275fac=function(r){return new(r||t)};static \u0275prov=T({token:t,factory:t.\u0275fac})}return t})(),Mt=(()=>{class t{router;route;tabIndexAttribute;renderer;el;locationStrategy;hrefAttributeValue=l(new Kr("href"),{optional:!0});reactiveHref=Qr(()=>this.isAnchorElement?this.computeHref(this._urlTree()):this.hrefAttributeValue);get href(){return y(this.reactiveHref)}set href(e){this.reactiveHref.set(e)}set target(e){this._target.set(e)}get target(){return y(this._target)}_target=S(void 0);set queryParams(e){this._queryParams.set(e)}get queryParams(){return y(this._queryParams)}_queryParams=S(void 0,{equal:()=>!1});set fragment(e){this._fragment.set(e)}get fragment(){return y(this._fragment)}_fragment=S(void 0);set queryParamsHandling(e){this._queryParamsHandling.set(e)}get queryParamsHandling(){return y(this._queryParamsHandling)}_queryParamsHandling=S(void 0);set state(e){this._state.set(e)}get state(){return y(this._state)}_state=S(void 0,{equal:()=>!1});set info(e){this._info.set(e)}get info(){return y(this._info)}_info=S(void 0,{equal:()=>!1});set relativeTo(e){this._relativeTo.set(e)}get relativeTo(){return y(this._relativeTo)}_relativeTo=S(void 0);set preserveFragment(e){this._preserveFragment.set(e)}get preserveFragment(){return y(this._preserveFragment)}_preserveFragment=S(!1);set skipLocationChange(e){this._skipLocationChange.set(e)}get skipLocationChange(){return y(this._skipLocationChange)}_skipLocationChange=S(!1);set replaceUrl(e){this._replaceUrl.set(e)}get replaceUrl(){return y(this._replaceUrl)}_replaceUrl=S(!1);browserUrl=Xe(void 0);isAnchorElement;onChanges=new te;applicationErrorHandler=l(Ze);options=l(Ie,{optional:!0});reactiveRouterState=l(Io);constructor(e,r,i,o,a,c){this.router=e,this.route=r,this.tabIndexAttribute=i,this.renderer=o,this.el=a,this.locationStrategy=c;let s=a.nativeElement.tagName?.toLowerCase();this.isAnchorElement=s==="a"||s==="area"||!!(typeof customElements=="object"&&customElements.get(s)?.observedAttributes?.includes?.("href"))}setTabIndexIfNotOnNativeEl(e){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue("tabindex",e)}ngOnChanges(e){this.onChanges.next(this)}routerLinkInput=S(null);set routerLink(e){e==null?(this.routerLinkInput.set(null),this.setTabIndexIfNotOnNativeEl(null)):(Z(e)?this.routerLinkInput.set(e):this.routerLinkInput.set(Array.isArray(e)?e:[e]),this.setTabIndexIfNotOnNativeEl("0"))}onClick(e,r,i,o,a){let c=this._urlTree();if(c===null||this.isAnchorElement&&(e!==0||r||i||o||a||typeof this.target=="string"&&this.target!="_self"))return!0;let s=this.browserUrl(),u=h({skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info},s!==void 0&&{browserUrl:s});return this.router.navigateByUrl(c,u)?.catch(d=>{this.applicationErrorHandler(d)}),!this.isAnchorElement}ngOnDestroy(){}applyAttributeValue(e,r){let i=this.renderer,o=this.el.nativeElement;r!==null?i.setAttribute(o,e,r):i.removeAttribute(o,e)}_urlTree=Je(()=>{this.reactiveRouterState.path(),this._preserveFragment()&&this.reactiveRouterState.fragment();let e=i=>i==="preserve"||i==="merge";(e(this._queryParamsHandling())||e(this.options?.defaultQueryParamsHandling))&&this.reactiveRouterState.queryParams();let r=this.routerLinkInput();return r===null||!this.router.createUrlTree?null:Z(r)?r:this.router.createUrlTree(r,{relativeTo:this._relativeTo()!==void 0?this._relativeTo():this.route,queryParams:this._queryParams(),fragment:this._fragment(),queryParamsHandling:this._queryParamsHandling(),preserveFragment:this._preserveFragment()})},{equal:(e,r)=>this.computeHref(e)===this.computeHref(r)});get urlTree(){return y(this._urlTree)}computeHref(e){return e!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(e))??"":null}static \u0275fac=function(r){return new(r||t)(H(ue),H(G),Ur("tabindex"),H(xt),H(Lt),H(Ht))};static \u0275dir=Ne({type:t,selectors:[["","routerLink",""]],hostVars:2,hostBindings:function(r,i){r&1&&qr("click",function(a){return i.onClick(a.button,a.ctrlKey,a.shiftKey,a.altKey,a.metaKey)}),r&2&&Hr("href",i.reactiveHref(),Pr)("target",i._target())},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",tt],skipLocationChange:[2,"skipLocationChange","skipLocationChange",tt],replaceUrl:[2,"replaceUrl","replaceUrl",tt],browserUrl:[1,"browserUrl"],routerLink:"routerLink"},features:[Te]})}return t})(),Ao=(()=>{class t{router;element;renderer;cdr;links;classes=[];routerEventsSubscription;linkInputChangesSubscription;_isActive=!1;get isActive(){return this._isActive}routerLinkActiveOptions={exact:!1};ariaCurrentWhenActive;isActiveChange=new ne;link=l(Mt,{optional:!0});constructor(e,r,i,o){this.router=e,this.element=r,this.renderer=i,this.cdr=o,this.routerEventsSubscription=e.events.subscribe(a=>{a instanceof j&&this.update()})}ngAfterContentInit(){p(this.links.changes,p(null)).pipe(Ut()).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=M(e).pipe(Ut()).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();
1this.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=Eo(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact??!1?h({},sr):h({},Pe);return i=>{let o=i.urlTree;return o?y(cr(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||t)(H(ue),H(Lt),H(xt),H(et))};static \u0275dir=Ne({type:t,selectors:[["","routerLinkActive",""]],contentQueries:function(r,i,o){if(r&1&&Br(o,Mt,5),r&2){let a;Vr(a=Gr())&&(i.links=a)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],features:[Te]})}return t})();function Eo(t){let n=t;return!!(n.paths||n.matrixParams||n.queryParams||n.fragment)}var Wn=new E(""),To=(()=>{class t{options;routerEventsSubscription;scrollEventsSubscription;lastId=0;lastSource=fe;restoredId=0;store={};isHydrating=l(Or,{optional:!0})??!1;urlSerializer=l(ce);zone=l(_r);viewportScroller=l(Yr);transitions=l(gr);constructor(e){this.options=e,this.options.scrollPositionRestoration||="disabled",this.options.anchorScrolling||="disabled",this.isHydrating&&l($t).whenStable().then(()=>{this.isHydrating=!1})}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 J?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof j?(this.lastId=e.id,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.urlAfterRedirects).fragment)):e instanceof q&&e.code===ge.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 ve)||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){if(this.isHydrating)return;let i=y(this.transitions.currentNavigation)?.extras.scroll;this.zone.runOutsideAngular(async()=>{await new Promise(o=>{setTimeout(o),typeof requestAnimationFrame<"u"&&requestAnimationFrame(o)}),this.zone.run(()=>{this.transitions.events.next(new ve(e,this.lastSource==="popstate"?this.store[this.restoredId]:null,r,i))})})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static \u0275fac=function(r){jt()};static \u0275prov=Ee({token:t,factory:t.\u0275fac})}return t})();function No(t,...n){return Nr([{provide:Be,multi:!0,useValue:t},{provide:G,useFactory:Mo},{provide:zr,multi:!0,useFactory:Uo},n.map(e=>e.\u0275providers)])}function Mo(){return l(ue).routerState.root}function Do(t,n){return{\u0275kind:t,\u0275providers:n}}function _o(t={}){return Do(4,[{provide:Wn,useFactory:()=>new To(t)}])}function Uo(){let t=l(Mr);return n=>{let e=t.get($t);if(n!==e.components[0])return;let r=t.get(ue),i=t.get(Oo);t.get(Po)===1&&r.initialNavigation(),t.get(Lo,null,{optional:!0})?.setUpPreloading(),t.get(Wn,null,{optional:!0})?.init(),r.resetRootComponentType(e.componentTypes[0]),i.closed||(i.next(),i.complete(),i.unsubscribe())}}var Oo=new E("",{factory:()=>new te}),Po=new E("",{factory:()=>1});var Lo=new E("");export{J as a,j as b,G as c,hr as d,ue as e,Mt as f,Ao as g,No as h,_o 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.