PageSourceSearch

https://mlglobtech.com/chunk-AQ2KAPTD.js

js mlglobtech.com collected 2026-10-04 02:39:40 UTC 84,501 bytes, 1 lines download raw bytes

1import{$ as Vr,$a as an,A as ve,Aa as q,B as kr,Ba as nt,C as J,Ca as Jr,D as Ft,Da as Xr,E as $r,Ea as en,F as j,Fa as it,Fb as hn,G as tt,Ga as tn,Gb as ot,H as x,Ha as rn,Hb as y,I as C,Ia as Pe,Ib as dn,J as zr,Ka as Qt,L as se,Lb as fn,M as Hr,Mb as Zt,N as Fr,Nb as at,O as b,Oa as nn,P as X,Pa as Kt,Pb as st,Q as l,Qa as Yt,Qb as ct,R as qr,Ra as on,S as W,Sb as pn,T as D,Ub as gn,Vb as Le,Wb as vn,Xb as me,Y as qt,Yb as mn,Z as Br,_ as Bt,a as h,aa as ce,b as M,ba as Gr,ca as rt,d as Ur,e as Or,ea as S,ec as Jt,f as Pr,fb as sn,g as ae,h as P,i as L,ib as cn,j as w,ja as Oe,k as f,kb as un,l as Lr,la as Wr,lb as ln,m as zt,ma as N,n as jr,na as Vt,nc as yn,oa as Qr,p as A,pa as Kr,q as Ht,r as F,s as _e,t as xr,ta as Yr,u as Xe,ua as Zr,va as Gt,x as Z,xa as Wt,y as et,z as Ue}from"./chunk-YEMCP27T.js";var p="primary",Qe=Symbol("RouteTitle"),nr=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 le(t){return new nr(t)}function Xt(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 En(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 Xt(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!Xt(o,t.slice(0,o.length),c)||!Xt(a,t.slice(t.length-a.length),c)?null:{consumed:t,posParams:c}}function pt(t){return new Promise((n,e)=>{t.pipe(J()).subscribe({next:r=>n(r),error:r=>e(r)})})}function Ai(t,n){if(t.length!==n.length)return!1;for(let e=0;e<t.length;++e)if(!B(t[e],n[e]))return!1;return!0}function B(t,n){let e=t?ir(t):void 0,r=n?ir(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],!Tn(t[i],n[i]))return!1;return!0}function ir(t){return[...Object.keys(t),...Object.getOwnPropertySymbols(t)]}function Tn(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 Ei(t){return t.length>0?t[t.length-1]:null}function de(t){return zt(t)?t:Xr(t)?w(Promise.resolve(t)):f(t)}function Nn(t){return zt(t)?pt(t):Promise.resolve(t)}var Ti={exact:Dn,subset:_n},Mn={exact:Ni,subset:Mi,ignored:()=>!0},yr={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},ze={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};function Rr(t,n,e){let r=t instanceof E?t:n.parseUrl(t);return ot(()=>or(n.lastSuccessfulNavigation()?.finalUrl??new E,r,h(h({},ze),e)))}function or(t,n,e){return Ti[e.paths](t.root,n.root,e.matrixParams)&&Mn[e.queryParams](t.queryParams,n.queryParams)&&!(e.fragment==="exact"&&t.fragment!==n.fragment)}function Ni(t,n){return B(t,n)}function Dn(t,n,e){if(!ue(t.segments,n.segments)||!ht(t.segments,n.segments,e)||t.numberOfChildren!==n.numberOfChildren)return!1;for(let r in n.children)if(!t.children[r]||!Dn(t.children[r],n.children[r],e))return!1;return!0}function Mi(t,n){return Object.keys(n).length<=Object.keys(t).length&&Object.keys(n).every(e=>Tn(t[e],n[e]))}function _n(t,n,e){return Un(t,n,n.segments,e)}function Un(t,n,e,r){if(t.segments.length>e.length){let i=t.segments.slice(0,e.length);return!(!ue(i,e)||n.hasChildren()||!ht(i,e,r))}else if(t.segments.length===e.length){if(!ue(t.segments,e)||!ht(t.segments,e,r))return!1;for(let i in n.children)if(!t.children[i]||!_n(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!ue(t.segments,i)||!ht(t.segments,i,r)||!t.children[p]?!1:Un(t.children[p],n,o,r)}}function ht(t,n,e){return n.every((r,i)=>Mn[e](t[i].parameters,r.parameters))}var E=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??=le(this.queryParams),this._queryParamMap}
vendor: 34,333 bytes, line 1
1toString(){return Ui.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 dt(this)}},ee=class{path;parameters;_parameterMap;constructor(n,e){this.path=n,this.parameters=e}get parameterMap(){return this._parameterMap??=le(this.parameters),this._parameterMap}toString(){return Pn(this)}};function Di(t,n){return ue(t,n)&&t.every((e,r)=>B(e.parameters,n[r].parameters))}function ue(t,n){return t.length!==n.length?!1:t.every((e,r)=>e.path===n[r].path)}function _i(t,n){let e=[];return Object.entries(t.children).forEach(([r,i])=>{r===p&&(e=e.concat(n(i,r)))}),Object.entries(t.children).forEach(([r,i])=>{r!==p&&(e=e.concat(n(i,r)))}),e}var ne=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275prov=N({token:t,factory:()=>new K})}return t})(),K=class{parse(n){let e=new sr(n);return new E(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(n){let e=`/${je(n.root,!0)}`,r=Li(n.queryParams),i=typeof n.fragment=="string"?`#${Oi(n.fragment)}`:"";return`${e}${r}${i}`}},Ui=new K;function dt(t){return t.segments.map(n=>Pn(n)).join("/")}function je(t,n){if(!t.hasChildren())return dt(t);if(n){let e=t.children[p]?je(t.children[p],!1):"",r=[];return Object.entries(t.children).forEach(([i,o])=>{i!==p&&r.push(`${i}:${je(o,!1)}`)}),r.length>0?`${e}(${r.join("//")})`:e}else{let e=_i(t,(r,i)=>i===p?[je(t.children[p],!1)]:[`${i}:${je(r,!1)}`]);return Object.keys(t.children).length===1&&t.children[p]!=null?`${dt(t)}/${e[0]}`:`${dt(t)}/(${e.join("//")})`}}function On(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function ut(t){return On(t).replace(/%3B/gi,";")}function Oi(t){return encodeURI(t)}function ar(t){return On(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function ft(t){return decodeURIComponent(t)}function Rn(t){return ft(t.replace(/\+/g,"%20"))}function Pn(t){return`${ar(t.path)}${Pi(t.parameters)}`}function Pi(t){return Object.entries(t).map(([n,e])=>`;${ar(n)}=${ar(e)}`).join("")}function Li(t){let n=Object.entries(t).map(([e,r])=>Array.isArray(r)?r.map(i=>`${ut(e)}=${ut(i)}`).join("&"):`${ut(e)}=${ut(r)}`).filter(e=>e);return n.length?`?${n.join("&")}`:""}var ji=/^[^\/()?;#]+/;function er(t){let n=t.match(ji);return n?n[0]:""}var xi=/^[^\/()?;=#]+/;function ki(t){let n=t.match(xi);return n?n[0]:""}var $i=/^[^=?&#]+/;function zi(t){let n=t.match($i);return n?n[0]:""}var Hi=/^[^&#]+/;function Fi(t){let n=t.match(Hi);return n?n[0]:""}var sr=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[p]=new m(e,r)),i}parseSegment(){let n=er(this.remaining);if(n===""&&this.peekStartsWith(";"))throw new C(4009,!1);return this.capture(n),new ee(ft(n),this.parseMatrixParams())}parseMatrixParams(){let n={};for(;this.consumeOptional(";");)this.parseParam(n);return n}parseParam(n){let e=ki(this.remaining);if(!e)return;this.capture(e);let r="";if(this.consumeOptional("=")){let i=er(this.remaining);i&&(r=i,this.capture(r))}n[ft(e)]=ft(r)}parseQueryParam(n){let e=zi(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=Rn(e),o=Rn(r);if(Object.hasOwn(n,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=Object.create(null);for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let i=er(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=p);let c=this.parseChildren(e+1);r[a??p]=Object.keys(c).length===1&&c[p]?c[p]: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 Ln(t){return t.segments.length>0?new m([],{[p]:t}):t}function jn(t){let n=Object.create(null);for(let[r,i]of Object.entries(t.children)){let o=jn(i);if(r===p&&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 qi(e)}function qi(t){if(t.numberOfChildren===1&&t.children[p]){let n=t.children[p];return new m(t.segments.concat(n.segments),n.children)}return t}function te(t){return t instanceof E}function xn(t,n,e=null,r=null,i=new K){let o=kn(t);return $n(o,n,e,r,i)}function kn(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=Ln(r);return n??i}function $n(t,n,e,r,i){let o=t;for(;o.parent;)o=o.parent;if(n.length===0)return tr(o,o,o,e,r,i);let a=Bi(n);if(a.toRoot())return tr(o,o,new m([],{}),e,r,i);let c=Vi(a,o,t),s=c.processChildren?ke(c.segmentGroup,c.index,a.commands):Hn(c.segmentGroup,c.index,a.commands);return tr(o,c.segmentGroup,s,e,r,i)}function gt(t){return typeof t=="object"&&t!=null&&!t.outlets&&!t.segmentPath}function He(t){return typeof t=="object"&&t!=null&&t.outlets}function Sn(t,n,e){t||="\u0275";let r=new E;return r.queryParams={[t]:n},e.parse(e.serialize(r)).queryParams[t]}function tr(t,n,e,r,i,o){let a={};for(let[u,d]of Object.entries(r??{}))a[u]=Array.isArray(d)?d.map(v=>Sn(u,v,o)):Sn(u,d,o);let c;t===n?c=e:c=zn(t,n,e);let s=Ln(jn(c));return new E(s,a,i)}function zn(t,n,e){let r=Object.create(null);return Object.entries(t.children).forEach(([i,o])=>{o===n?r[i]=e:r[i]=zn(o,n,e)}),new m(t.segments,r)}var vt=class{isAbsolute;numberOfDoubleDots;commands;constructor(n,e,r){if(this.isAbsolute=n,this.numberOfDoubleDots=e,this.commands=r,n&&r.length>0&&gt(r[0]))throw new C(4003,!1);let i=r.find(He);if(i&&i!==Ei(r))throw new C(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function Bi(t){if(typeof t[0]=="string"&&t.length===1&&t[0]==="/")return new vt(!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 vt(e,n,r)}var Re=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 Re(n,!0,0);if(!e)return new Re(n,!1,NaN);if(e.parent===null)return new Re(e,!0,0);let r=gt(t.commands[0])?0:1,i=e.segments.length-1+r;return Gi(e,i,t.numberOfDoubleDots)}function Gi(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 Re(r,!1,i-o)}function Wi(t){return He(t[0])?t[0].outlets:{[p]:t}}function Hn(t,n,e){if(t??=new m([],{}),t.segments.length===0&&t.hasChildren())return ke(t,n,e);let r=Qi(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[p]=new m(t.segments.slice(r.pathIndex),t.children),ke(o,0,i)}else return r.match&&i.length===0?new m(t.segments,{}):r.match&&!t.hasChildren()?cr(t,n,e):r.match?ke(t,0,i):cr(t,n,e)}function ke(t,n,e){if(e.length===0)return new m(t.segments,{});{let r=Wi(e),i=Object.create(null);if(Object.keys(r).some(o=>o!==p)&&t.children[p]&&t.numberOfChildren===1&&t.children[p].segments.length===0){let o=ke(t.children[p],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]=Hn(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 Qi(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(He(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(!wn(s,u,a))return o;r+=2}else{if(!wn(s,{},a))return o;r++}i++}return{match:!0,pathIndex:i,commandIndex:r}}function cr(t,n,e){let r=t.segments.slice(0,n),i=0;for(;i<e.length;){let o=e[i];if(He(o)){let s=Ki(o.outlets);return new m(r,s)}if(i===0&&gt(e[0])){let s=t.segments[n];r.push(new ee(s.path,Cn(e[0]))),i++;continue}let a=He(o)?o.outlets[p]:`${o}`,c=i<e.length-1?e[i+1]:null;a&&c&&gt(c)?(r.push(new ee(a,Cn(c))),i+=2):(r.push(new ee(a,{})),i++)}return new m(r,{})}function Ki(t){let n={};return Object.entries(t).forEach(([e,r])=>{typeof r=="string"&&(r=[r]),r!==null&&(n[e]=cr(new m([],{}),0,r))}),n}function Cn(t){let n={};return Object.entries(t).forEach(([e,r])=>n[e]=`${r}`),n}function wn(t,n,e){return t==e.path&&B(n,e.parameters)}var Se="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||{}),U=class{id;url;constructor(n,e){this.id=n,this.url=e}},re=class extends U{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}')`}},O=class extends U{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}')`}},I=(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})(I||{}),we=(function(t){return t[t.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",t[t.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",t})(we||{}),k=class extends U{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 Fn(t){return t instanceof k&&(t.code===I.Redirect||t.code===I.SupersededByNewNavigation)}var V=class extends U{reason;code;type=R.NavigationSkipped;constructor(n,e,r,i){super(n,e),this.reason=r,this.code=i}},he=class extends U{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})`}},Fe=class extends U{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})`}},mt=class extends U{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})`}},yt=class extends U{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})`}},Rt=class extends U{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})`}},St=class extends U{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})`}},Ct=class{route;type=R.RouteConfigLoadStart;constructor(n){this.route=n}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},wt=class{route;type=R.RouteConfigLoadEnd;constructor(n){this.route=n}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},bt=class{snapshot;type=R.ChildActivationStart;constructor(n){this.snapshot=n}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},It=class{snapshot;type=R.ChildActivationEnd;constructor(n){this.snapshot=n}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},At=class{snapshot;type=R.ActivationStart;constructor(n){this.snapshot=n}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Et=class{snapshot;type=R.ActivationEnd;constructor(n){this.snapshot=n}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},be=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}')`}},Ie=class{},qe=class{},Ae=class{url;navigationBehaviorOptions;constructor(n,e){this.url=n,this.navigationBehaviorOptions=e}};function Yi(t){return!(t instanceof Ie)&&!(t instanceof Ae)&&!(t instanceof qe)}var Tt=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 fe(this.rootInjector)}},fe=(()=>{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 Tt(this.rootInjector),this.contexts.set(e,r)),r}getContext(e){return this.contexts.get(e)||null}static \u0275fac=function(r){return new(r||t)(X(W))};static \u0275prov=se({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Nt=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=ur(n,this._root);return e?e.children.map(r=>r.value):[]}firstChild(n){let e=ur(n,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(n){let e=lr(n,this._root);return e.length<2?[]:e[e.length-2].children.map(i=>i.value).filter(i=>i!==n)}pathFromRoot(n){return lr(n,this._root).map(e=>e.value)}};function ur(t,n){if(t===n.value)return n;for(let e of n.children){let r=ur(t,e);if(r)return r}return null}function lr(t,n){if(t===n.value)return[n];for(let e of n.children){let r=lr(t,e);if(r.length)return r.unshift(n),r}return[]}var _=class{value;children;constructor(n,e){this.value=n,this.children=e}toString(){return`TreeNode(${this.value})`}};function ye(t){let n={};return t&&t.children.forEach(e=>n[e.value.outlet]=e),n}var Be=class extends Nt{snapshot;constructor(n,e){super(n),this.snapshot=e,Cr(this,n)}toString(){return this.snapshot.toString()}};function qn(t,n){let e=Zi(t,n),r=new P([new ee("",{})]),i=new P({}),o=new P({}),a=new P({}),c=new P(""),s=new G(r,i,a,c,o,p,t,e.root);return s.snapshot=e.root,new Be(new _(s,[]),e)}function Zi(t,n){let e={},r={},i={},a=new Ee([],e,i,"",r,p,t,null,{},n);return new Ve("",new _(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(A(u=>u[Qe]))??f(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(A(n=>le(n))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(A(n=>le(n))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}},Ji="always";function Sr(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&&Vn(i)&&(r.resolve[Qe]=i.title),r}var Ee=class{url;params;queryParams;fragment;data;outlet;component;routeConfig;_resolve;_resolvedData;_routerState;_paramMap;_queryParamMap;_environmentInjector;get title(){return this.data?.[Qe]}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??=le(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=le(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}')`}},Ve=class extends Nt{url;constructor(n,e){super(e),this.url=n,Cr(this,e)}toString(){return Bn(this._root)}};function Cr(t,n){n.value._routerState=t,n.children.forEach(e=>Cr(t,e))}function Bn(t){let n=t.children.length>0?` { ${t.children.map(Bn).join(", ")} } `:"";return`${t.value}${n}`}function rr(t){if(t.snapshot){let n=t.snapshot,e=t._futureSnapshot;t.snapshot=e,B(n.queryParams,e.queryParams)||t.queryParamsSubject.next(e.queryParams),n.fragment!==e.fragment&&t.fragmentSubject.next(e.fragment),B(n.params,e.params)||t.paramsSubject.next(e.params),Ai(n.url,e.url)||t.urlSubject.next(e.url),B(n.data,e.data)||t.dataSubject.next(e.data)}else t.snapshot=t._futureSnapshot,t.dataSubject.next(t._futureSnapshot.data)}function hr(t,n){let e=B(t.params,n.params)&&Di(t.url,n.url),r=!t.parent!=!n.parent;return e&&!r&&(!t.parent||hr(t.parent,n.parent))}function Vn(t){return typeof t.title=="string"||t.title===null}var Gn=new b(""),wr=(()=>{class t{activated=null;get activatedComponentRef(){return this.activated}_activatedRoute=null;name=p;activateEvents=new ce;deactivateEvents=new ce;attachEvents=new ce;detachEvents=new ce;routerOutletData=at();parentContexts=l(fe);location=l(Jr);changeDetector=l(st);inputBinder=l(Ke,{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 dr(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=Pe({type:t,selectors:[["router-outlet"]],inputs:{name:"name",routerOutletData:[1,"routerOutletData"]},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],features:[Oe]})}return t})(),dr=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===fe?this.childContexts:n===Gn?this.outletData:this.parent.get(n,e)}},Ke=new b(""),Wn=(()=>{class t{options;outletDataSubscriptions=new Map;outletSeenKeys=new Map;constructor(e){this.options=e,this.options.queryParams??=!0}bindActivatedRouteToOutletComponent(e){this.unsubscribeFromRouteData(e),this.subscribeToRouteData(e)}unsubscribeFromRouteData(e){this.outletDataSubscriptions.get(e)?.unsubscribe(),this.outletDataSubscriptions.delete(e),this.outletSeenKeys.delete(e)}subscribeToRouteData(e){let{activatedRoute:r}=e,i=Ht([this.options.queryParams?r.queryParams:f({}),r.params,r.data]).pipe(j(([o,a,c],s)=>(c=h(h(h({},o),a),c),s===0?f(c):Promise.resolve(c)))).subscribe(o=>{if(!e.isActivated||!e.activatedComponentRef||e.activatedRoute!==r||r.component===null){this.unsubscribeFromRouteData(e);return}let a=pn(r.component);if(!a){this.unsubscribeFromRouteData(e);return}let c=this.outletSeenKeys.get(e);c||(c=new Set,this.outletSeenKeys.set(e,c));for(let u of Object.keys(o))c.add(u);let s=this.options.unmatchedInputBehavior??"alwaysUndefined";for(let{templateName:u}of a.inputs){let d=o[u];(d!==void 0||s==="alwaysUndefined"||c.has(u))&&e.activatedComponentRef.setInput(u,d)}});this.outletDataSubscriptions.set(e,i)}static \u0275fac=function(r){nt()};static \u0275prov=se({token:t,factory:t.\u0275fac})}return t})(),br=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275cmp=tn({type:t,selectors:[["ng-component"]],exportAs:["emptyRouterOutlet"],decls:1,vars:0,template:function(r,i){r&1&&an(0,"router-outlet")},dependencies:[wr],encapsulation:2,changeDetection:1})}return t})();function Ir(t){let n=t.children&&t.children.map(Ir),e=n?M(h({},t),{children:n}):h({},t);return!e.component&&!e.loadComponent&&(n||e.loadChildren)&&e.outlet&&e.outlet!==p&&(e.component=br),e}function Xi(t,n,e){let r=new Set,i=Ge(t,n._root,e?e._root:void 0,r);return{newlyCreatedRoutes:r,state:new Be(i,n)}}function Ge(t,n,e,r){if(e&&t.shouldReuseRoute(n.value,e.value.snapshot)){let i=e.value;i._futureSnapshot=n.value;let o=eo(t,n,e,r);return new _(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=>Ge(t,s,void 0,r)),c}}let i=to(n.value);r.add(i);let o=n.children.map(a=>Ge(t,a,void 0,r));return new _(i,o)}}function eo(t,n,e,r){return n.children.map(i=>{for(let o of e.children)if(t.shouldReuseRoute(i.value,o.value.snapshot))return Ge(t,i,o,r);return Ge(t,i,void 0,r)})}function to(t){return new G(new P(t.url),new P(t.params),new P(t.queryParams),new P(t.fragment),new P(t.data),t.outlet,t.component,t)}var Te=class{redirectTo;navigationBehaviorOptions;constructor(n,e){this.redirectTo=n,this.navigationBehaviorOptions=e}},Qn="ngNavigationCancelingError";function Mt(t,n){let{redirectTo:e,navigationBehaviorOptions:r}=te(n)?{redirectTo:n,navigationBehaviorOptions:void 0}:n,i=Kn(!1,I.Redirect);return i.url=e,i.navigationBehaviorOptions=r,i}function Kn(t,n){let e=new Error(`NavigationCancelingError: ${t||""}`);return e[Qn]=!0,e.cancellationCode=n,e}function ro(t){return Yn(t)&&te(t.url)}function Yn(t){return!!t&&t[Qn]}var fr=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),rr(this.futureState.root),this.activateChildRoutes(e,r,n)}deactivateChildRoutes(n,e,r){let i=ye(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=ye(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=ye(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=ye(e);n.children.forEach(o=>{this.activateRoutes(o,i[o.value.outlet],r),this.forwardEvent(new Et(o.value.snapshot))}),n.children.length&&this.forwardEvent(new It(n.value.snapshot))}activateRoutes(n,e,r){let i=n.value,o=e?e.value:null;if(rr(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),rr(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)}},Dt=class{path;route;constructor(n){this.path=n,this.route=this.path[this.path.length-1]}},Ce=class{component;route;constructor(n,e){this.component=n,this.route=e}};function no(t,n,e){let r=t._root,i=n?n._root:null;return xe(r,i,e,[r.value])}function io(t){let n=t.routeConfig?t.routeConfig.canActivateChild:null;return!n||n.length===0?null:{node:t,guards:n}}function Me(t,n){let e=Symbol(),r=n.get(t,e);return r===e?typeof t=="function"&&!Fr(t)?t:n.get(t):r}function xe(t,n,e,r,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=ye(n);return t.children.forEach(a=>{oo(a,o[a.value.outlet],e,r.concat([a.value]),i),delete o[a.value.outlet]}),Object.entries(o).forEach(([a,c])=>$e(c,e.getContext(a),i)),i}function oo(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=ao(a,o,o.routeConfig.runGuardsAndResolvers);s?i.canActivateChecks.push(new Dt(r)):(o.data=a.data,o._resolvedData=a._resolvedData),o.component?xe(t,n,c?c.children:null,r,i):xe(t,n,e,r,i),s&&c&&c.outlet&&c.outlet.isActivated&&i.canDeactivateChecks.push(new Ce(c.outlet.component,a))}else a&&$e(n,c,i),i.canActivateChecks.push(new Dt(r)),o.component?xe(t,null,c?c.children:null,r,i):xe(t,null,e,r,i);return i}function ao(t,n,e){if(typeof e=="function")return D(n._environmentInjector,()=>e(t,n));switch(e){case"pathParamsChange":return!ue(t.url,n.url);case"pathParamsOrQueryParamsChange":return!ue(t.url,n.url)||!B(t.queryParams,n.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!hr(t,n)||!B(t.queryParams,n.queryParams);default:return!hr(t,n)}}function $e(t,n,e){let r=ye(t),i=t.value;Object.entries(r).forEach(([o,a])=>{i.component?n?$e(a,n.children.getContext(o),e):$e(a,null,e):$e(a,n,e)}),i.component?n&&n.outlet&&n.outlet.isActivated?e.canDeactivateChecks.push(new Ce(n.outlet.component,i)):e.canDeactivateChecks.push(new Ce(null,i)):e.canDeactivateChecks.push(new Ce(null,i))}function Ye(t){return typeof t=="function"}function so(t){return typeof t=="boolean"}function co(t){return t&&Ye(t.canLoad)}function uo(t){return t&&Ye(t.canActivate)}function lo(t){return t&&Ye(t.canActivateChild)}function ho(t){return t&&Ye(t.canDeactivate)}function fo(t){return t&&Ye(t.canMatch)}function Zn(t){return t instanceof jr||t?.name==="EmptyError"}var lt=Symbol("INITIAL_VALUE");function Ne(){return j(t=>Ht(t.map(n=>n.pipe(ve(1),$r(lt)))).pipe(A(n=>{for(let e of n)if(e!==!0){if(e===lt)return lt;if(e===!1||po(e))return e}return!0}),Z(n=>n!==lt),ve(1)))}function po(t){return te(t)||t instanceof Te}function Jn(t){return t.aborted?f(void 0).pipe(ve(1)):new Pr(n=>{let e=()=>{n.next(),n.complete()};return t.addEventListener("abort",e),()=>t.removeEventListener("abort",e)})}function Xn(t){return tt(Jn(t))}function go(t){return F(n=>{let{targetSnapshot:e,currentSnapshot:r,guards:{canActivateChecks:i,canDeactivateChecks:o}}=n;return o.length===0&&i.length===0?f(M(h({},n),{guardsResult:!0})):vo(o,e,r).pipe(F(a=>a&&so(a)?mo(e,i,t):f(a)),A(a=>M(h({},n),{guardsResult:a})))})}function vo(t,n,e){return w(t).pipe(F(r=>wo(r.component,r.route,e,n)),J(r=>r!==!0,!0))}function mo(t,n,e){return w(n).pipe(Ue(r=>xr(Ro(r.route.parent,e),yo(r.route,e),Co(t,r.path),So(t,r.route))),J(r=>r!==!0,!0))}function yo(t,n){return t!==null&&n&&n(new At(t)),f(!0)}function Ro(t,n){return t!==null&&n&&n(new bt(t)),f(!0)}function So(t,n){let e=n.routeConfig?n.routeConfig.canActivate:null;if(!e||e.length===0)return f(!0);let r=e.map(i=>Xe(()=>{let o=n._environmentInjector,a=Me(i,o),c=uo(a)?a.canActivate(n,t):D(o,()=>a(n,t));return de(c).pipe(J())}));return f(r).pipe(Ne())}function Co(t,n){let e=n[n.length-1],i=n.slice(0,n.length-1).reverse().map(o=>io(o)).filter(o=>o!==null).map(o=>Xe(()=>{let a=o.guards.map(c=>{let s=o.node._environmentInjector,u=Me(c,s),d=lo(u)?u.canActivateChild(e,t):D(s,()=>u(e,t));return de(d).pipe(J())});return f(a).pipe(Ne())}));return f(i).pipe(Ne())}function wo(t,n,e,r){let i=n&&n.routeConfig?n.routeConfig.canDeactivate:null;if(!i||i.length===0)return f(!0);let o=i.map(a=>{let c=n._environmentInjector,s=Me(a,c),u=ho(s)?s.canDeactivate(t,n,e,r):D(c,()=>s(t,n,e,r));return de(u).pipe(J())});return f(o).pipe(Ne())}function bo(t,n,e,r,i){let o=n.canLoad;if(o===void 0||o.length===0)return f(!0);let a=o.map(c=>{let s=Me(c,t),u=co(s)?s.canLoad(n,e):D(t,()=>s(n,e)),d=de(u);return i?d.pipe(Xn(i)):d});return f(a).pipe(Ne(),ei(r))}function ei(t){return Or(x(n=>{if(typeof n!="boolean")throw Mt(t,n)}),A(n=>n===!0))}function Io(t,n,e,r,i,o){let a=n.canMatch;if(!a||a.length===0)return f(!0);let c=a.map(s=>{let u=Me(s,t),d=fo(u)?u.canMatch(n,e,i):D(t,()=>u(n,e,i));return de(d).pipe(Xn(o))});return f(c).pipe(Ne(),ei(r))}
1var Q=class t extends Error{segmentGroup;constructor(n){super(),this.segmentGroup=n||null,Object.setPrototypeOf(this,t.prototype)}},We=class t extends Error{urlTree;constructor(n){super(),this.urlTree=n,Object.setPrototypeOf(this,t.prototype)}};function Ao(t){throw new C(4e3,!1)}function Eo(t){throw Kn(!1,I.GuardRejected)}var pr=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[p])throw Ao(`${n.redirectTo}`);i=i.children[p]}}async applyRedirectCommands(n,e,r,i,o){let a=await To(e,i,o);if(a instanceof E)throw new We(a);let c=this.applyRedirectCreateUrlTree(a,this.urlSerializer.parse(a),n,r);if(a[0]==="/")throw new We(c);return c}applyRedirectCreateUrlTree(n,e,r,i){let o=this.createSegmentGroup(n,e.root,r,i);return new E(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=Object.create(null);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 To(t,n,e){if(typeof t=="string")return Promise.resolve(t);let r=t;return pt(de(D(e,()=>r(n))))}function No(t,n){return t.providers&&!t._injector&&(t._injector=it(t.providers,n,`Route: ${t.path}`)),t._injector??n}function z(t){return t.outlet||p}function Mo(t,n){let e=t.filter(r=>z(r)===n);return e.push(...t.filter(r=>z(r)!==n)),e}var gr={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function ti(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 Do(t,n,e,r,i,o,a){let c=ri(t,n,e);if(!c.matched)return f(c);let s=ti(o(c));return r=No(n,r),Io(r,n,e,i,s,a).pipe(A(u=>u===!0?c:h({},gr)))}function ri(t,n,e){if(n.path==="")return n.pathMatch==="full"&&(t.hasChildren()||e.length>0)?h({},gr):{matched:!0,consumedSegments:[],remainingSegments:e,parameters:{},positionalParamSegments:{}};let i=(n.matcher||En)(e,t,n);if(!i)return h({},gr);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 bn(t,n,e,r,i){return e.length>0&&Oo(t,e,r,i)?{segmentGroup:new m(n,Uo(r,new m(e,t.children))),slicedSegments:[]}:e.length===0&&Po(t,e,r)?{segmentGroup:new m(t.segments,_o(t,e,r,t.children)),slicedSegments:e}:{segmentGroup:new m(t.segments,t.children),slicedSegments:e}}function _o(t,n,e,r){let i={};for(let o of e)if(Ut(t,n,o)&&!r[z(o)]){let a=new m([],{});i[z(o)]=a}return h(h({},r),i)}function Uo(t,n){let e={};e[p]=n;for(let r of t)if(r.path===""&&z(r)!==p){let i=new m([],{});e[z(r)]=i}return e}function Oo(t,n,e,r){return e.some(i=>!Ut(t,n,i)||!(z(i)!==p)?!1:!(r!==void 0&&z(i)===r))}function Po(t,n,e){return e.some(r=>Ut(t,n,r))}function Ut(t,n,e){return(t.hasChildren()||n.length>0)&&e.pathMatch==="full"?!1:e.path===""}function Lo(t,n,e){return n.length===0&&!t.children[e]}var vr=class{};async function jo(t,n,e,r,i,o,a,c){return new mr(t,n,e,r,i,a,o,c).recognize()}var xo=31,mr=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
1=c,this.abortSignal=s,this.applyRedirects=new pr(this.urlSerializer,this.urlTree)}noMatchError(n){return new C(4002,`'${n.segmentGroup}'`)}async recognize(){let n=bn(this.urlTree.root,[],[],this.config).segmentGroup,{children:e,rootSnapshot:r}=await this.match(n),i=new _(r,e),o=new Ve("",i),a=xn(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 Ee([],Object.freeze({}),Object.freeze(h({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),p,this.rootComponentType,null,{},this.injector);try{return{children:await this.processSegmentGroup(this.injector,this.config,n,p,e),rootSnapshot:e}}catch(r){if(r instanceof We)return this.urlTree=r.urlTree,this.match(r.urlTree.root);throw r instanceof Q?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 _?[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=Mo(e,s),v=await this.processSegmentGroup(n,d,u,s,i);a.push(...v)}let c=ni(a);return ko(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 Q||Zn(u))continue;throw u}if(Lo(r,i,o))return new vr;throw new Q(r)}async processSegmentAgainstRoute(n,e,r,i,o,a,c,s){if(z(r)!==a&&(a===p||!Ut(i,o,r)))throw new Q(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 Q(i)}async expandSegmentAgainstRouteUsingRedirect(n,e,r,i,o,a,c){let{matched:s,parameters:u,consumedSegments:d,positionalParamSegments:v,remainingSegments:g}=ri(e,i,o);if(!s)throw new Q(e);typeof i.redirectTo=="string"&&i.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>xo&&(this.allowRedirects=!1));let T=this.createSnapshot(n,i,o,u,c);if(this.abortSignal.aborted)throw new Error(this.abortSignal.reason);let $=await this.applyRedirects.applyRedirectCommands(d,i.redirectTo,v,ti(T),n),ie=await this.applyRedirects.lineralizeSegments(i,$);return this.processSegment(n,r,e,ie.concat(g),a,!1,c)}createSnapshot(n,e,r,i,o){let a=new Ee(r,i,Object.freeze(h({},this.urlTree.queryParams)),this.urlTree.fragment,zo(e),z(e),e.component??e._loadedComponent??null,e,Ho(e),n),c=Sr(a,o,this.paramsInheritanceStrategy);return a.params=Object.freeze(c.params),a.data=Object.freeze(c.data),a}async matchSegmentAgainstRoute(n,e,r,i,o,a){if(this.abortSignal.aborted)throw new Error(this.abortSignal.reason);let c=oe=>this.createSnapshot(n,r,oe.consumedSegments,oe.parameters,a),s=await pt(Do(e,r,i,n,this.urlSerializer,c,this.abortSignal));if(r.path==="**"&&(e.children={}),!s?.matched)throw new Q(e);n=r._injector??n;let{routes:u}=await this.getChildConfig(n,r,i),d=r._loadedInjector??n,{parameters:v,consumedSegments:g,remainingSegments:T}=s,$=this.createSnapshot(n,r,g,v,a),{segmentGroup:ie,slicedSegments:De}=bn(e,g,T,u,o);if(De.length===0&&ie.hasChildren()){let oe=await this.processChildren(d,u,ie,$);return new _($,oe)}if(u.length===0&&De.length===0)return new _($,[]);let $t=z(r)===o,Je=await this.processSegment(d,u,ie,De,$t?p:o,!0,$);return new _($,Je instanceof _?[Je]:[])}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 pt(bo(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 Eo(e)}return{routes:[],injector:n}}};function ko(t){t.sort((n,e)=>n.value.outlet===p?-1:e.value.outlet===p?1:n.value.outlet.localeCompare(e.value.outlet))}function $o(t){let n=t.value.routeConfig;return n&&n.path===""}function ni(t){let n=[],e=new Set;for(let r of t){if(!$o(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=ni(r.children);n.push(new _(r.value,i))}return n.filter(r=>!e.has(r))}function zo(t){return t.data||{}}function Ho(t){return t.resolve||{}}function Fo(t,n,e,r,i,o,a){return F(async c=>{let{state:s,tree:u}=await jo(t,n,e,r,c.extractedUrl,i,o,a);return M(h({},c),{targetSnapshot:s,urlAfterRedirects:u})})}function qo(t){return F(n=>{let{targetSnapshot:e,guards:{canActivateChecks:r}}=n;if(!r.length)return f(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 ii(c))o.add(s);let a=0;return w(o).pipe(Ue(c=>i.has(c)?Bo(c,e,t):(c.data=Sr(c,c.parent,t).resolve,f(void 0))),x(()=>a++),Ft(1),F(c=>a===o.size?f(n):L))})}function ii(t){let n=t.children.map(e=>ii(e)).flat();return[t,...n]}function Bo(t,n,e){let r=t.routeConfig,i=t._resolve;return r?.title!==void 0&&!Vn(r)&&(i[Qe]=r.title),Xe(()=>(t.data=Sr(t,t.parent,e).resolve,Vo(i,t,n).pipe(A(o=>(t._resolvedData=o,t.data=h(h({},t.data),o),null)))))}function Vo(t,n,e){let r=ir(t);if(r.length===0)return f({});let i={};return w(r).pipe(F(o=>Go(t[o],n,e).pipe(J(),x(a=>
vendor: 4,105 bytes, line 1
1{if(a instanceof Te)throw Mt(new K,a);i[o]=a}))),Ft(1),A(()=>i),et(o=>Zn(o)?L:Lr(o)))}function Go(t,n,e){let r=n._environmentInjector,i=Me(t,r),o=i.resolve?i.resolve(n,e):D(r,()=>i(n,e));return de(o)}function In(t){return j(n=>{let e=t(n);return e?w(e).pipe(A(()=>n)):f(n)})}var Ar=(()=>{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===p);return r}getResolvedTitleForRoute(e){return e.data[Qe]}static \u0275fac=function(r){return new(r||t)};static \u0275prov=N({token:t,factory:()=>l(oi)})}return t})(),oi=(()=>{class t extends Ar{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)(X(yn))};static \u0275prov=se({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Y=new b("",{factory:()=>({})}),pe=new b(""),Ot=(()=>{class t{componentLoaders=new WeakMap;childrenLoaders=new WeakMap;onLoadStartListener;onLoadEndListener;compiler=l(hn);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 Nn(D(e,()=>r.loadComponent())),a=await si(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 ai(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=N({token:t,factory:t.\u0275fac})}return t})();async function ai(t,n,e,r){let i=await Nn(D(e,()=>t.loadChildren())),o=await si(Zt(i)),a;o instanceof en||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(pe,[],{optional:!0,self:!0}).flat()),{routes:s.map(Ir),injector:c,factory:d}}async function si(t){return t}var Pt=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275prov=N({token:t,factory:()=>l(Wo)})}return t})(),Wo=(()=>{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=N({token:t,factory:t.\u0275fac})}return t})(),Er=new b(""),Tr=new b("");function ci(t,n,e){let r=t.get(Tr),i=t.get(Br);if(!i.startViewTransition||r.skipNextTransition)return r.skipNextTransition=!1,new Promise(u=>setTimeout(u));let o,a=new Promise(u=>{o=u}),c=i.startViewTransition(()=>(o(),Qo(t)));c.updateCallbackDone.catch(u=>{}),c.ready.catch(u=>{}),c.finished.catch(u=>{});let{onViewTransitionCreated:s}=r;return s&&D(t,()=>s({transition:c,from:n,to:e})),a}function Qo(t){return new Promise(n=>{Gt({read:()=>setTimeout(n)},{injector:t})})}var ui=new b(""),Ko=()=>{},Nr=new b(""),Lt=(()=>{class t{currentNavigation=S(null,{equal:()=>!1});currentTransition=null;lastSuccessfulNavigation=S(null);events=new ae;transitionAbortWithErrorSubject=new ae;configLoader=l(Ot);environmentInjector=l(W);destroyRef=l(Bt);urlSerializer=l(ne);rootContexts=l(fe);location=l(me);inputBindingEnabled=l(Ke,{optional:!0})!==null;titleStrategy=l(Ar);options=l(Y,{optional:!0})||{};paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||Ji;urlHandlingStrategy=l(Pt);createViewTransition=l(Er,{optional:!0});navigationErrorHandler=l(Nr,{optional:!0});activatedRouteInjectorFeature=l(ui,{optional:!0});navigationId=0;get hasRequestedNavigation(){return this.navigationId!==0}transitions;afterPreactivation=()=>f(void 0);rootComponentType=null;destroyed=!1;constructor(){let e=i=>
1this.events.next(new Ct(i)),r=i=>this.events.next(new wt(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(M(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 P(null),this.transitions.pipe(Z(r=>r!==null),j(r=>{let i=!0,o=!1,a=new AbortController,c=()=>!o&&this.currentTransition?.id===r.id;return f(r).pipe(j(s=>{if(this.navigationId>r.id)return this.cancelNavigationTransition(r,"",I.SupersededByNewNavigation),L;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?M(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 V(s.id,this.urlSerializer.serialize(s.rawUrl),"",we.IgnoredSameUrlNavigation)),s.resolve(!1),L;if(this.urlHandlingStrategy.shouldProcessUrl(s.rawUrl))return f(s).pipe(j(g=>(this.events.next(new re(g.id,this.urlSerializer.serialize(g.extractedUrl),g.source,g.restoredState)),g.id!==this.navigationId?L:Promise.resolve(g))),Fo(this.environmentInjector,this.configLoader,this.rootComponentType,e.config,this.urlSerializer,this.paramsInheritanceStrategy,a.signal),x(g=>{r.targetSnapshot=g.targetSnapshot,r.urlAfterRedirects=g.urlAfterRedirects,this.currentNavigation.update(T=>(T.finalUrl=g.urlAfterRedirects,T)),this.events.next(new qe)}),j(g=>w(r.routesRecognizeHandler.deferredHandle??f(void 0)).pipe(A(()=>g))),x(()=>{let g=new Fe(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:T,source:$,restoredState:ie,extras:De}=s,$t=new re(g,this.urlSerializer.serialize(T),$,ie);this.events.next($t);let Je=qn(this.rootComponentType,this.environmentInjector).snapshot;return this.currentTransition=r=M(h({},s),{targetSnapshot:Je,urlAfterRedirects:T,extras:M(h({},De),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.update(oe=>(oe.finalUrl=T,oe)),f(r)}else return this.events.next(new V(s.id,this.urlSerializer.serialize(s.extractedUrl),"",we.IgnoredByUrlHandlingStrategy)),s.resolve(!1),L}),A(s=>{let u=new mt(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot);return this.events.next(u),this.currentTransition=r=M(h({},s),{guards:no(s.targetSnapshot,s.currentSnapshot,this.rootContexts)}),r}),go(s=>this.events.next(s)),j(s=>{if(r.guardsResult=s.guardsResult,s.guardsResult&&typeof s.guardsResult!="boolean")throw Mt(this.urlSerializer,s.guardsResult);let u=new yt(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot,!!s.guardsResult);if(this.events.next(u),!c())return L;if(!s.guardsResult)return this.cancelNavigationTransition(s,"",I.GuardRejected),L;if(s.guards.canActivateChecks.length===0)return f(s);let d=new Rt(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot);if(this.events.next(d),!c())return L;let v=!1;return f(s).pipe(qo(this.paramsInheritanceStrategy),x({next:()=>{v=!0;let g=new St(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot);this.events.next(g)},complete:()=>
1{v||this.cancelNavigationTransition(s,"",I.NoDataFromResolver)}}))}),In(s=>{let u=v=>{let g=[];if(v.routeConfig?._loadedComponent)v.component=v.routeConfig?._loadedComponent;else if(v.routeConfig?.loadComponent){let T=v._environmentInjector;g.push(this.configLoader.loadComponent(T,v.routeConfig).then($=>{v.component=$}))}for(let T of v.children)g.push(...u(T));return g},d=u(s.targetSnapshot.root);return d.length===0?f(s):w(Promise.all(d).then(()=>s))}),j(s=>{let{newlyCreatedRoutes:u,state:d}=Xi(e.routeReuseStrategy,s.targetSnapshot,s.currentRouterState);return this.currentTransition=r=s=M(h({},s),{targetRouterState:d,newlyCreatedRoutes:u}),this.currentNavigation.update(v=>(v.targetRouterState=d,v)),f(s)}),this.activatedRouteInjectorFeature?.operator()??(s=>s),In(()=>this.afterPreactivation()),j(()=>{let{currentSnapshot:s,targetSnapshot:u}=r,d=this.createViewTransition?.(this.environmentInjector,s.root,u.root);return d?w(d).pipe(A(()=>r)):f(r)}),ve(1),j(s=>{i=!1,this.events.next(new Ie);let u=r.beforeActivateHandler.deferredHandle;return u?w(u.then(()=>s)):f(s)}),x(s=>{new fr(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=Ko,u)),this.lastSuccessfulNavigation.set(y(this.currentNavigation)),this.events.next(new O(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects))),this.titleStrategy?.updateTitle(s.targetRouterState.snapshot),s.resolve(!0))}),tt(Jn(a.signal).pipe(Z(()=>!o&&i),x(()=>{this.cancelNavigationTransition(r,a.signal.reason+"",I.Aborted)}))),x({complete:()=>{o=!0}}),tt(this.transitionAbortWithErrorSubject.pipe(x(s=>{throw s}))),kr(()=>{a.abort(),o||this.cancelNavigationTransition(r,"",I.SupersededByNewNavigation),this.currentTransition?.id===r.id&&(this.currentNavigation.set(null),this.currentTransition=null)}),et(s=>{if(o=!0,An(r),this.destroyed)return r.resolve(!1),L;if(Yn(s))this.events.next(new k(r.id,this.urlSerializer.serialize(r.extractedUrl),s.message,s.cancellationCode)),ro(s)?this.events.next(new Ae(s.url,s.navigationBehaviorOptions)):r.resolve(!1);else{let u=new he(r.id,this.urlSerializer.serialize(r.extractedUrl),s,r.targetSnapshot??void 0);try{let d=D(this.environmentInjector,()=>this.navigationErrorHandler?.(u));if(d instanceof Te){let{message:v,cancellationCode:g}=Mt(this.urlSerializer,d);this.events.next(new k(r.id,this.urlSerializer.serialize(r.extractedUrl),v,g)),this.events.next(new Ae(d.redirectTo,d.navigationBehaviorOptions))}else throw this.events.next(u),s}catch(d){this.options.resolveNavigationPromiseOnError?r.resolve(!1):r.reject(d)}}return L}))}))}cancelNavigationTransition(e,r,i){An(e);let o=new k(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=N({token:t,factory:t.\u0275fac})}return t})();function Yo(t){return t!==Se}function An(t){if(t.newlyCreatedRoutes)for(let n of t.newlyCreatedRoutes)n._localInjector?.destroy()}var li=new b("");var hi=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275prov=N({token:t,factory:()=>l(Zo)})}return t})(),_t=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}},Zo=(()=>{class t extends _t{static \u0275fac=function(r){return new(r||t)};static \u0275prov=N({token:t,factory:t.\u0275fac})}return t})(),jt=(()=>{class t{urlSerializer=l(ne);options=l(Y,{optional:!0})||{};canceledNavigationResolution=this.options.canceledNavigationResolution||"replace";location=l(me);urlHandlingStrategy=l(Pt);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";currentUrlTree=new E;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 E?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}routerState=qn(null,l(W));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=N({token:t,factory:()=>l(Jo)})}return t})(),Jo=(()=>{class t extends jt{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 re?this.updateStateMemento():e instanceof V?this.commitTransition(r):e instanceof Fe?this.urlUpdateStrategy==="eager"&&(r.extras.skipLocationChange||this.setBrowserUrl(this.createBrowserPath(r),r)):e instanceof Ie?(this.commitTransition(r),this.urlUpdateStrategy==="deferred"&&!r.extras.skipLocationChange&&this.setBrowserUrl(this.createBrowserPath(r),r)):e instanceof k&&!Fn(e)?this.restoreHistory(r):e instanceof he?this.restoreHistory(r,!0):e instanceof O&&(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=N({token:t,factory:t.\u0275fac})}return t})();function xt(t,n){t.events.pipe(Z(e=>e instanceof O||e instanceof k||e instanceof he||e instanceof V),A(e=>e instanceof O||e instanceof V?0:(e instanceof k?e.code===I.Redirect||e.code===I.SupersededByNewNavigation:!1)?2:1),Z(e=>e!==2),ve(1)).subscribe(()=>{n()})}var H=(()=>{class t{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}disposed=!1;nonRouterCurrentEntryChangeSubscription;console=l(nn);stateManager=l(jt);options=l(Y,{optional:!0})||{};pendingTasks=l(Vr);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";navigationTransitions=l(Lt);urlSerializer=l(ne);location=l(me);urlHandlingStrategy=l(Pt);injector=l(W);_events=new ae;get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}navigated=!1;routeReuseStrategy=l(hi);injectorCleanup=l(li,{optional:!0});onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore";config=l(pe,{optional:!0})?.flat()??[];componentInputBindingEnabled=!!l(Ke,{optional:!0});currentNavigation=this.navigationTransitions.currentNavigation.asReadonly();constructor(){this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this).subscribe({error:e=>{}}),this.subscribeToNavigationEvents()}eventsSubscription=new Ur;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 k&&r.code!==I.Redirect&&r.code!==I.SupersededByNewNavigation)this.navigated=!0;else if(r instanceof O)this.navigated=!0,this.injectorCleanup?.(this.routeReuseStrategy,this.routerState,this.config);else if(r instanceof Ae){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"||Yo(i.source)},a);this.scheduleNavigation(c,Se,null,s,{resolve:i.resolve,reject:i.reject,promise:i.promise})}}Yi(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),Se,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=M(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(rt)(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(Ir),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=kn(g)}
vendor: 1,361 bytes, line 1
1catch{(typeof e[0]!="string"||e[0][0]!=="/")&&(e=[]),v=this.currentUrlTree.root}return $n(v,e,d,u??null,this.urlSerializer)}navigateByUrl(e,r={skipLocationChange:!1}){let i=te(e)?e:this.parseUrl(e),o=this.urlHandlingStrategy.merge(i,this.rawUrlTree);return this.scheduleNavigation(o,Se,null,r)}navigate(e,r={skipLocationChange:!1}){return Xo(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(zr(4018,!1)),this.urlSerializer.parse("/")}}isActive(e,r){let i;if(r===!0?i=h({},yr):r===!1?i=h({},ze):i=h(h({},ze),r),te(e))return or(this.currentUrlTree,e,i);let o=this.parseUrl(e);return or(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 xt(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=N({token:t,factory:t.\u0275fac})}return t})();function Xo(t){for(let n=0;n<t.length;n++)if(t[n]==null)throw new C(4008,!1)}var ea=(()=>{class t{router=l(H);stateManager=l(jt);fragment=S("");queryParams=S({});path=S("");serializer=l(ne);constructor(){this.updateState(),this.router.events?.subscribe(e=>{e instanceof O&&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 E(r)))}static \u0275fac=function(r){return new(r||t)};static \u0275prov=N({token:t,factory:t.\u0275fac})}return t})(),kt=(()=>{class t{router;route;tabIndexAttribute;renderer;el;locationStrategy;hrefAttributeValue=l(new fn("href"),{optional:!0});reactiveHref=dn(()=>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=at(void 0);isAnchorElement;onChanges=new ae;applicationErrorHandler=l(rt);options=l(Y,{optional:!0});reactiveRouterState=l(ea);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)):(te(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=ot(()=>{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:te(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)(q(H),q(G),Wr("tabindex"),q(Wt),q(Vt),q(Le))};static \u0275dir=Pe({type:t,selectors:[["","routerLink",""]],hostVars:2,hostBindings:function(r,i){r&1&&sn("click",function(a){return i.onClick(a.button,a.ctrlKey,a.shiftKey,a.altKey,a.metaKey)}),r&2&&on("href",i.reactiveHref(),Yr)("target",i._target())},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",ct],skipLocationChange:[2,"skipLocationChange","skipLocationChange",ct],replaceUrl:[2,"replaceUrl","replaceUrl",ct],browserUrl:[1,"browserUrl"],routerLink:"routerLink"},features:[Oe]})}return t})(),ta=(()=>{class t{router;element;renderer;cdr;links;classes=[];routerEventsSubscription;linkInputChangesSubscription;_isActive=!1;get isActive(){return this._isActive}routerLinkActiveOptions={exact:!1};ariaCurrentWhenActive;isActiveChange=new ce;link=l(kt,{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 O&&this.update()})}ngAfterContentInit(){f(this.links.changes,f(null)).pipe(_e()).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=w(e).pipe(_e()).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=ra(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact??!1?h({},yr):h({},ze);return i=>{let o=i.urlTree;return o?y(Rr(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)(q(H),q(Vt),q(Wt),q(st))};static \u0275dir=Pe({type:t,selectors:[["","routerLinkActive",""]],contentQueries:function(r,i,o){if(r&1&&cn(o,kt,5),r&2){let a;un(a=ln())&&(i.links=a)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],features:[Oe]})}return t})();function ra(t){let n=t;return!!(n.paths||n.matrixParams||n.queryParams||n.fragment)}var Ze=class{};var di=(()=>{class t{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(Z(e=>e instanceof O),Ue(()=>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=it(o.providers,e,""));let a=o._injector??e;o._loadedNgModuleFactory&&!o._loadedInjector&&(o._loadedInjector=o._loadedNgModuleFactory.create(a).injector);let c=o._loadedInjector??a;(o.loadChildren&&!o._loadedRoutes&&o.canLoad===void 0||o.loadComponent&&!o._loadedComponent)&&i.push(this.preloadConfig(a,o)),(o.children||o._loadedRoutes)&&i.push(this.processRoutes(c,o.children??o._loadedRoutes))}return w(i).pipe(_e())}preloadConfig(e,r){return this.preloadingStrategy.preload(r,()=>{if(e.destroyed)return f(null);let i;r.loadChildren&&r.canLoad===void 0?i=w(this.loader.loadChildren(e,r)):i=f(null);let o=i.pipe(F(a=>a===null?f(void 0):(r._loadedRoutes=a.routes,r._loadedInjector=a.injector,r._loadedNgModuleFactory=a.factory,this.processRoutes(a.injector??e,a.routes))));if(r.loadComponent&&!r._loadedComponent){let a=this.loader.loadComponent(e,r);return w([o,a]).pipe(_e())}else return o})}static \u0275fac=function(r){return new(r||t)(X(H),X(W),X(Ze),X(Ot))};static \u0275prov=se({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Dr=new b(""),fi=(()=>{class t{options;routerEventsSubscription;scrollEventsSubscription;lastId=0;lastSource=Se;restoredId=0;store={};isHydrating=l(Qr,{optional:!0})??!1;urlSerializer=l(ne);zone=l(Gr);viewportScroller=l(Jt);transitions=l(Lt);constructor(e){this.options=e,this.options.scrollPositionRestoration||="disabled",this.options.anchorScrolling||="disabled",this.isHydrating&&l(Yt).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 re?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof O?
1(this.lastId=e.id,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.urlAfterRedirects).fragment)):e instanceof V&&e.code===we.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 be)||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 be(e,this.lastSource==="popstate"?this.store[this.restoredId]:null,r,i))})})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static \u0275fac=function(r){nt()};static \u0275prov=se({token:t,factory:t.\u0275fac})}return t})();function na(t,...n){return qr([{provide:pe,multi:!0,useValue:t},{provide:G,useFactory:pi},{provide:Kt,multi:!0,useFactory:gi},n.map(e=>e.\u0275providers)])}function pi(){return l(H).routerState.root}function ge(t,n){return{\u0275kind:t,\u0275providers:n}}function ia(t={}){return ge(4,[{provide:Dr,useFactory:()=>new fi(t)}])}function gi(){let t=l(qt);return n=>{let e=t.get(Yt);if(n!==e.components[0])return;let r=t.get(H),i=t.get(vi);t.get(_r)===1&&r.initialNavigation(),t.get(Ri,null,{optional:!0})?.setUpPreloading(),t.get(Dr,null,{optional:!0})?.init(),r.resetRootComponentType(e.componentTypes[0]),i.closed||(i.next(),i.complete(),i.unsubscribe())}}var vi=new b("",{factory:()=>new ae}),_r=new b("",{factory:()=>1});function mi(){let t=[{provide:Kr,useValue:!0},{provide:_r,useValue:0},Qt(()=>{let n=l(qt);return n.get(gn,Promise.resolve()).then(()=>new Promise(r=>{let i=n.get(H),o=n.get(vi);xt(i,()=>{r(!0)}),n.get(Lt).afterPreactivation=()=>(r(!0),o.closed?f(void 0):o),i.initialNavigation()}))})];return ge(2,t)}function yi(){let t=[Qt(()=>{l(H).setUpLocationChangeListener()}),{provide:_r,useValue:2}];return ge(3,t)}var Ri=new b("");function Si(t){return ge(0,[{provide:Ri,useExisting:di},{provide:Ze,useExisting:t}])}function oa(t){return ge(5,[{provide:Y,useValue:t}])}function Ci(t={}){return ge(8,[{provide:Ke,useFactory:()=>new Wn(t)}])}function wi(t){Zr("NgRouterViewTransitions");let n=[{provide:Er,useValue:ci},{provide:Tr,useValue:h({skipNextTransition:!!t?.skipInitialTransition},t)}];return ge(9,n)}var bi=[me,{provide:ne,useClass:K},H,fe,{provide:G,useFactory:pi},Ot],aa=(()=>{class t{constructor(){}static forRoot(e,r){return{ngModule:t,providers:[bi,[],{provide:pe,multi:!0,useValue:e},[],r?.errorHandler?{provide:Nr,useValue:r.errorHandler}:[],{provide:Y,useValue:r||{}},r?.useHash?ca():ua(),sa(),r?.preloadingStrategy?Si(r.preloadingStrategy).\u0275providers:[],r?.initialNavigation?la(r):[],r?.bindToComponentInputs?Ci(typeof r.bindToComponentInputs=="object"?r.bindToComponentInputs:{}).\u0275providers:[],r?.enableViewTransitions?wi().\u0275providers:[],ha()]}}static forChild(e){return{ngModule:t,providers:[{provide:pe,multi:!0,useValue:e}]}}static \u0275fac=function(r){return new(r||t)};static \u0275mod=rn({type:t});static \u0275inj=Hr({})}return t})();function sa(){return{provide:Dr,useFactory:()=>{let t=l(Jt),n=l(Y);return n.scrollOffset&&t.setOffset(n.scrollOffset),new fi(n)}}}function ca(){return{provide:Le,useClass:mn}}function ua(){return{provide:Le,useClass:vn}}function la(t){return[t.initialNavigation==="disabled"?yi().\u0275providers:[],t.initialNavigation==="enabledBlocking"?mi().\u0275providers:[]]}var Mr=new b("");function ha(){return[{provide:Mr,useFactory:gi},{provide:Kt,multi:!0,useExisting:Mr}]}export{re as a,O as b,k as c,he as d,G as e,wr as f,H as g,kt as h,ta as i,na as j,ia as k,oa as l,aa as m};

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.