p3x-redis-ui-material
Version:
💿 P3X Redis UI triple frontend — Angular + React/MUI + Vue/Vuetify with 54 languages, 7 themes, Socket.IO, desktop notifications, and full feature parity
1 lines • 78.1 kB
JavaScript
import{a as F$1,d as L$1,i as E}from"./main-OCJB5534.js";import{$ as KE,A as G5,At as R$1,Ci as vr$1,Cr as lb,Ct as Pl,Dn as _y,E as En$1,Er as ln$1,Gr as oN,H as In$1,I as Ho$1,Ji as zr,Jt as Un$1,K as JC,L as Hs,Ni as xe$1,Nn as bc,Nt as Re$1,O as Fr,Ot as Qg,Pr as mc,R as Ht,Ri as y,Rt as T$1,St as Ph,T as Ee$1,Ti as vw,Un as cy,V as I,Vi as yn$1,W as J$1,Xn as fn$1,Xr as pw,Yt as Uo$1,Zn as fo$1,Zt as V$1,_n as Z3,_t as Oe$1,a as $n$1,an as Wl,br as kN,ci as sc,cr as hw,ct as N,d as Bl,dr as ie$1,en as Vt,et as L$2,gn as Z$1,gt as O,hr as jN,ir as h,it as M,jr as ly,ki as wt$1,kr as lt$1,kt as Qt$1,li as se$1,m as Bx,mi as te,mr as iw,nr as gt$1,nt as LE,p as Bt,pr as ir$1,qn as eG,qr as oe$1,rr as gy,rt as Ll,tr as gb,tt as L4,vt as P$1,wn as _e$1,x as Df,xi as v,xt as Pe$1,yr as kI}from"./chunk-CHqDEyfr.js";var p=`primary`;var qe=Symbol(`RouteTitle`);var Zt=class{params;constructor(n){this.params=n||{}}has(n){return Object.hasOwn(this.params,n)}get(n){if(this.has(n)){let t=this.params[n];return Array.isArray(t)?t[0]:t}return null}getAll(n){if(this.has(n)){let t=this.params[n];return Array.isArray(t)?t:[t]}return[]}get keys(){return Object.keys(this.params)}};function ie(e){return new Zt(e)}function Wt(e,n,t){for(let r=0;r<e.length;r++){let i=e[r],o=n[r];if(i[0]===`:`)t[i.substring(1)]=o;else if(i!==o.path)return!1}return!0}function un(e,n,t){let r=t.path.split(`/`),i=r.indexOf(`**`);if(i===-1){if(r.length>e.length||t.pathMatch===`full`&&(n.hasChildren()||r.length<e.length))return null;let a={},u=e.slice(0,r.length);return Wt(r,u,a)?{consumed:u,posParams:a}:null}if(i!==r.lastIndexOf(`**`))return null;let o=r.slice(0,i),s=r.slice(i+1);if(o.length+s.length>e.length||t.pathMatch===`full`&&n.hasChildren()&&t.path!==`**`)return null;let c={};return!Wt(o,e.slice(0,o.length),c)||!Wt(s,e.slice(e.length-s.length),c)?null:{consumed:e,posParams:c}}function it(e){return new Promise((n,t)=>{e.pipe(pw()).subscribe({next:r=>n(r),error:r=>t(r)})})}function ci(e,n){if(e.length!==n.length)return!1;for(let t=0;t<e.length;++t)if(!q(e[t],n[t]))return!1;return!0}function q(e,n){let t=e?Jt(e):void 0,r=n?Jt(n):void 0;if(!t||!r||t.length!=r.length)return!1;let i;for(let o=0;o<t.length;o++)if(i=t[o],!ln(e[i],n[i]))return!1;return!0}function Jt(e){return[...Object.keys(e),...Object.getOwnPropertySymbols(e)]}function ln(e,n){if(Array.isArray(e)&&Array.isArray(n)){if(e.length!==n.length)return!1;let t=[...e].sort(),r=[...n].sort();return t.every((i,o)=>r[o]===i)}else return e===n}function ui(e){return e.length>0?e[e.length-1]:null}function se(e){return Bt(e)?e:sc(e)?wt$1(Promise.resolve(e)):Re$1(e)}function dn(e){return Bt(e)?it(e):Promise.resolve(e)}var li={exact:pn,subset:gn};var hn={exact:di,subset:hi,ignored:()=>!0};var fn={paths:`exact`,fragment:`ignored`,matrixParams:`ignored`,queryParams:`exact`};var Xt={paths:`subset`,fragment:`ignored`,matrixParams:`ignored`,queryParams:`subset`};function tn(e,n,t){return li[t.paths](e.root,n.root,t.matrixParams)&&hn[t.queryParams](e.queryParams,n.queryParams)&&!(t.fragment===`exact`&&e.fragment!==n.fragment)}function di(e,n){return q(e,n)}function pn(e,n,t){if(!ne(e.segments,n.segments)||!tt(e.segments,n.segments,t)||e.numberOfChildren!==n.numberOfChildren)return!1;for(let r in n.children)if(!e.children[r]||!pn(e.children[r],n.children[r],t))return!1;return!0}function hi(e,n){return Object.keys(n).length<=Object.keys(e).length&&Object.keys(n).every(t=>ln(e[t],n[t]))}function gn(e,n,t){return vn(e,n,n.segments,t)}function vn(e,n,t,r){if(e.segments.length>t.length){let i=e.segments.slice(0,t.length);return!(!ne(i,t)||n.hasChildren()||!tt(i,t,r))}else if(e.segments.length===t.length){if(!ne(e.segments,t)||!tt(e.segments,t,r))return!1;for(let i in n.children)if(!e.children[i]||!gn(e.children[i],n.children[i],r))return!1;return!0}else{let i=t.slice(0,e.segments.length),o=t.slice(e.segments.length);return!ne(e.segments,i)||!tt(e.segments,i,r)||!e.children[p]?!1:vn(e.children[p],n,o,r)}}function tt(e,n,t){return n.every((r,i)=>hn[t](e[i].parameters,r.parameters))}var L=class{root;queryParams;fragment;_queryParamMap;constructor(n=new m([],{}),t={},r=null){this.root=n,this.queryParams=t,this.fragment=r}get queryParamMap(){return this._queryParamMap??=ie(this.queryParams),this._queryParamMap}toString(){return gi.serialize(this)}};var m=class{segments;children;parent=null;constructor(n,t){this.segments=n,this.children=t,Object.values(t).forEach(r=>r.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return rt(this)}};var Y=class{path;parameters;_parameterMap;constructor(n,t){this.path=n,this.parameters=t}get parameterMap(){return this._parameterMap??=ie(this.parameters),this._parameterMap}toString(){return yn(this)}};function fi(e,n){return ne(e,n)&&e.every((t,r)=>q(t.parameters,n[r].parameters))}function ne(e,n){return e.length!==n.length?!1:e.every((t,r)=>t.path===n[r].path)}function pi(e,n){let t=[];return Object.entries(e.children).forEach(([r,i])=>{r===p&&(t=t.concat(n(i,r)))}),Object.entries(e.children).forEach(([r,i])=>{r!==p&&(t=t.concat(n(i,r)))}),t}var ae=(()=>{class e{static ɵfac=function(r){return new(r||e)};static ɵprov=M({token:e,factory:()=>new V})}return e})();var V=class{parse(n){let t=new tr(n);return new L(t.parseRootSegment(),t.parseQueryParams(),t.parseFragment())}serialize(n){return`${`/${De(n.root,!0)}`}${yi(n.queryParams)}${typeof n.fragment==`string`?`#${vi(n.fragment)}`:``}`}};var gi=new V;function rt(e){return e.segments.map(n=>yn(n)).join(`/`)}function De(e,n){if(!e.hasChildren())return rt(e);if(n){let t=e.children[p]?De(e.children[p],!1):``,r=[];return Object.entries(e.children).forEach(([i,o])=>{i!==p&&r.push(`${i}:${De(o,!1)}`)}),r.length>0?`${t}(${r.join(`//`)})`:t}else{let t=pi(e,(r,i)=>i===p?[De(e.children[p],!1)]:[`${i}:${De(r,!1)}`]);return Object.keys(e.children).length===1&&e.children[p]!=null?`${rt(e)}/${t[0]}`:`${rt(e)}/(${t.join(`//`)})`}}function mn(e){return encodeURIComponent(e).replace(/%40/g,`@`).replace(/%3A/gi,`:`).replace(/%24/g,`$`).replace(/%2C/gi,`,`)}function Xe(e){return mn(e).replace(/%3B/gi,`;`)}function vi(e){return encodeURI(e)}function er(e){return mn(e).replace(/\(/g,`%28`).replace(/\)/g,`%29`).replace(/%26/gi,`&`)}function nt(e){return decodeURIComponent(e)}function rn(e){return nt(e.replace(/\+/g,`%20`))}function yn(e){return`${er(e.path)}${mi(e.parameters)}`}function mi(e){return Object.entries(e).map(([n,t])=>`;${er(n)}=${er(t)}`).join(``)}function yi(e){let n=Object.entries(e).map(([t,r])=>Array.isArray(r)?r.map(i=>`${Xe(t)}=${Xe(i)}`).join(`&`):`${Xe(t)}=${Xe(r)}`).filter(t=>t);return n.length?`?${n.join(`&`)}`:``}var Ri=/^[^\/()?;#]+/;function Qt(e){let n=e.match(Ri);return n?n[0]:``}var Si=/^[^\/()?;=#]+/;function Ci(e){let n=e.match(Si);return n?n[0]:``}var wi=/^[^=?&#]+/;function bi(e){let n=e.match(wi);return n?n[0]:``}var Ii=/^[^&#]+/;function Ei(e){let n=e.match(Ii);return n?n[0]:``}var tr=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 y(4010,!1);if(this.remaining===``)return{};this.consumeOptional(`/`);let t=[];for(this.peekStartsWith(`(`)||t.push(this.parseSegment());this.peekStartsWith(`/`)&&!this.peekStartsWith(`//`)&&!this.peekStartsWith(`/(`);)this.capture(`/`),t.push(this.parseSegment());let r={};this.peekStartsWith(`/(`)&&(this.capture(`/`),r=this.parseParens(!0,n));let i={};return this.peekStartsWith(`(`)&&(i=this.parseParens(!1,n)),(t.length>0||Object.keys(r).length>0)&&(i[p]=new m(t,r)),i}parseSegment(){let n=Qt(this.remaining);if(n===``&&this.peekStartsWith(`;`))throw new y(4009,!1);return this.capture(n),new Y(nt(n),this.parseMatrixParams())}parseMatrixParams(){let n={};for(;this.consumeOptional(`;`);)this.parseParam(n);return n}parseParam(n){let t=Ci(this.remaining);if(!t)return;this.capture(t);let r=``;if(this.consumeOptional(`=`)){let i=Qt(this.remaining);i&&(r=i,this.capture(r))}n[nt(t)]=nt(r)}parseQueryParam(n){let t=bi(this.remaining);if(!t)return;this.capture(t);let r=``;if(this.consumeOptional(`=`)){let s=Ei(this.remaining);s&&(r=s,this.capture(r))}let i=rn(t),o=rn(r);if(Object.hasOwn(n,i)){let s=n[i];Array.isArray(s)||(s=[s],n[i]=s),s.push(o)}else n[i]=o}parseParens(n,t){let r=Object.create(null);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 y(4010,!1);let s;i.indexOf(`:`)>-1?(s=i.slice(0,i.indexOf(`:`)),this.capture(s),this.capture(`:`)):n&&(s=p);let c=this.parseChildren(t+1);r[s??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 y(4011,!1)}};function Rn(e){return e.segments.length>0?new m([],{[p]:e}):e}function Sn(e){let n=Object.create(null);for(let[r,i]of Object.entries(e.children)){let o=Sn(i);if(r===p&&o.segments.length===0&&o.hasChildren())for(let[s,c]of Object.entries(o.children))n[s]=c;else(o.segments.length>0||o.hasChildren())&&(n[r]=o)}return Mi(new m(e.segments,n))}function Mi(e){if(e.numberOfChildren===1&&e.children[p]){let n=e.children[p];return new m(e.segments.concat(n.segments),n.children)}return e}function ye(e){return e instanceof L}function Cn(e,n,t=null,r=null,i=new V){return bn(wn(e),n,t,r,i)}function wn(e){let n;function t(o){let s={};for(let a of o.children){let u=t(a);s[a.outlet]=u}let c=new m(o.url,s);return o===e&&(n=c),c}let i=Rn(t(e.root));return n??i}function bn(e,n,t,r,i){let o=e;for(;o.parent;)o=o.parent;if(n.length===0)return Kt(o,o,o,t,r,i);let s=Ai(n);if(s.toRoot())return Kt(o,o,new m([],{}),t,r,i);let c=Ni(s,o,e),a=c.processChildren?Ue(c.segmentGroup,c.index,s.commands):En(c.segmentGroup,c.index,s.commands);return Kt(o,c.segmentGroup,a,t,r,i)}function ot(e){return typeof e==`object`&&e!=null&&!e.outlets&&!e.segmentPath}function Pe(e){return typeof e==`object`&&e!=null&&e.outlets}function nn(e,n,t){e||=`ɵ`;let r=new L;return r.queryParams={[e]:n},t.parse(t.serialize(r)).queryParams[e]}function Kt(e,n,t,r,i,o){let s={};for(let[u,l]of Object.entries(r??{}))s[u]=Array.isArray(l)?l.map(v=>nn(u,v,o)):nn(u,l,o);let c;e===n?c=t:c=In(e,n,t);return new L(Rn(Sn(c)),s,i)}function In(e,n,t){let r=Object.create(null);return Object.entries(e.children).forEach(([i,o])=>{o===n?r[i]=t:r[i]=In(o,n,t)}),new m(e.segments,r)}var st=class{isAbsolute;numberOfDoubleDots;commands;constructor(n,t,r){if(this.isAbsolute=n,this.numberOfDoubleDots=t,this.commands=r,n&&r.length>0&&ot(r[0]))throw new y(4003,!1);let i=r.find(Pe);if(i&&i!==ui(r))throw new y(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]==`/`}};function Ai(e){if(typeof e[0]==`string`&&e.length===1&&e[0]===`/`)return new st(!0,0,e);let n=0,t=!1,r=e.reduce((i,o,s)=>{if(typeof o==`object`&&o!=null){if(o.outlets){let c={};return Object.entries(o.outlets).forEach(([a,u])=>{c[a]=typeof u==`string`?u.split(`/`):u}),[...i,{outlets:c}]}if(o.segmentPath)return[...i,o.segmentPath]}return typeof o!=`string`?[...i,o]:s===0?(o.split(`/`).forEach((c,a)=>{a==0&&c===`.`||(a==0&&c===``?t=!0:c===`..`?n++:c!=``&&i.push(c))}),i):[...i,o]},[]);return new st(t,n,r)}var ge=class{segmentGroup;processChildren;index;constructor(n,t,r){this.segmentGroup=n,this.processChildren=t,this.index=r}};function Ni(e,n,t){if(e.isAbsolute)return new ge(n,!0,0);if(!t)return new ge(n,!1,NaN);if(t.parent===null)return new ge(t,!0,0);let r=ot(e.commands[0])?0:1;return Ti(t,t.segments.length-1+r,e.numberOfDoubleDots)}function Ti(e,n,t){let r=e,i=n,o=t;for(;o>i;){if(o-=i,r=r.parent,!r)throw new y(4005,!1);i=r.segments.length}return new ge(r,!1,i-o)}function Di(e){return Pe(e[0])?e[0].outlets:{[p]:e}}function En(e,n,t){if(e??=new m([],{}),e.segments.length===0&&e.hasChildren())return Ue(e,n,t);let r=_i(e,n,t),i=t.slice(r.commandIndex);if(r.match&&r.pathIndex<e.segments.length){let o=new m(e.segments.slice(0,r.pathIndex),{});return o.children[p]=new m(e.segments.slice(r.pathIndex),e.children),Ue(o,0,i)}else return r.match&&i.length===0?new m(e.segments,{}):r.match&&!e.hasChildren()?rr(e,n,t):r.match?Ue(e,0,i):rr(e,n,t)}function Ue(e,n,t){if(t.length===0)return new m(e.segments,{});{let r=Di(t),i=Object.create(null);if(Object.keys(r).some(o=>o!==p)&&e.children[p]&&e.numberOfChildren===1&&e.children[p].segments.length===0){let o=Ue(e.children[p],n,t);return new m(e.segments,o.children)}return Object.entries(r).forEach(([o,s])=>{typeof s==`string`&&(s=[s]),s!==null&&(i[o]=En(e.children[o],n,s))}),Object.entries(e.children).forEach(([o,s])=>{r[o]===void 0&&(i[o]=s)}),new m(e.segments,i)}}function _i(e,n,t){let r=0,i=n,o={match:!1,pathIndex:0,commandIndex:0};for(;i<e.segments.length;){if(r>=t.length)return o;let s=e.segments[i],c=t[r];if(Pe(c))break;let a=`${c}`,u=r<t.length-1?t[r+1]:null;if(i>0&&a===void 0)break;if(a&&u&&typeof u==`object`&&u.outlets===void 0){if(!sn(a,u,s))return o;r+=2}else{if(!sn(a,{},s))return o;r++}i++}return{match:!0,pathIndex:i,commandIndex:r}}function rr(e,n,t){let r=e.segments.slice(0,n),i=0;for(;i<t.length;){let o=t[i];if(Pe(o))return new m(r,Ui(o.outlets));if(i===0&&ot(t[0])){let a=e.segments[n];r.push(new Y(a.path,on(t[0]))),i++;continue}let s=Pe(o)?o.outlets[p]:`${o}`,c=i<t.length-1?t[i+1]:null;s&&c&&ot(c)?(r.push(new Y(s,on(c))),i+=2):(r.push(new Y(s,{})),i++)}return new m(r,{})}function Ui(e){let n={};return Object.entries(e).forEach(([t,r])=>{typeof r==`string`&&(r=[r]),r!==null&&(n[t]=rr(new m([],{}),0,r))}),n}function on(e){let n={};return Object.entries(e).forEach(([t,r])=>n[t]=`${r}`),n}function sn(e,n,t){return e==t.path&&q(n,t.parameters)}var ve=`imperative`;var R=(function(e){return e[e.NavigationStart=0]=`NavigationStart`,e[e.NavigationEnd=1]=`NavigationEnd`,e[e.NavigationCancel=2]=`NavigationCancel`,e[e.NavigationError=3]=`NavigationError`,e[e.RoutesRecognized=4]=`RoutesRecognized`,e[e.ResolveStart=5]=`ResolveStart`,e[e.ResolveEnd=6]=`ResolveEnd`,e[e.GuardsCheckStart=7]=`GuardsCheckStart`,e[e.GuardsCheckEnd=8]=`GuardsCheckEnd`,e[e.RouteConfigLoadStart=9]=`RouteConfigLoadStart`,e[e.RouteConfigLoadEnd=10]=`RouteConfigLoadEnd`,e[e.ChildActivationStart=11]=`ChildActivationStart`,e[e.ChildActivationEnd=12]=`ChildActivationEnd`,e[e.ActivationStart=13]=`ActivationStart`,e[e.ActivationEnd=14]=`ActivationEnd`,e[e.Scroll=15]=`Scroll`,e[e.NavigationSkipped=16]=`NavigationSkipped`,e})(R||{});var D=class{id;url;constructor(n,t){this.id=n,this.url=t}};var Z=class extends D{type=R.NavigationStart;navigationTrigger;restoredState;constructor(n,t,r=`imperative`,i=null){super(n,t),this.navigationTrigger=r,this.restoredState=i}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}};var $=class extends D{urlAfterRedirects;type=R.NavigationEnd;constructor(n,t,r){super(n,t),this.urlAfterRedirects=r}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}};var b=(function(e){return e[e.Redirect=0]=`Redirect`,e[e.SupersededByNewNavigation=1]=`SupersededByNewNavigation`,e[e.NoDataFromResolver=2]=`NoDataFromResolver`,e[e.GuardRejected=3]=`GuardRejected`,e[e.Aborted=4]=`Aborted`,e})(b||{});var Re=(function(e){return e[e.IgnoredSameUrlNavigation=0]=`IgnoredSameUrlNavigation`,e[e.IgnoredByUrlHandlingStrategy=1]=`IgnoredByUrlHandlingStrategy`,e})(Re||{});var P=class extends D{reason;code;type=R.NavigationCancel;constructor(n,t,r,i){super(n,t),this.reason=r,this.code=i}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}};function Mn(e){return e instanceof P&&(e.code===b.Redirect||e.code===b.SupersededByNewNavigation)}var F=class extends D{reason;code;type=R.NavigationSkipped;constructor(n,t,r,i){super(n,t),this.reason=r,this.code=i}};var oe=class extends D{error;target;type=R.NavigationError;constructor(n,t,r,i){super(n,t),this.error=r,this.target=i}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}};var Le=class extends D{urlAfterRedirects;state;type=R.RoutesRecognized;constructor(n,t,r,i){super(n,t),this.urlAfterRedirects=r,this.state=i}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}};var at=class extends D{urlAfterRedirects;state;type=R.GuardsCheckStart;constructor(n,t,r,i){super(n,t),this.urlAfterRedirects=r,this.state=i}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}};var ct=class extends D{urlAfterRedirects;state;shouldActivate;type=R.GuardsCheckEnd;constructor(n,t,r,i,o){super(n,t),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})`}};var ut=class extends D{urlAfterRedirects;state;type=R.ResolveStart;constructor(n,t,r,i){super(n,t),this.urlAfterRedirects=r,this.state=i}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}};var lt=class extends D{urlAfterRedirects;state;type=R.ResolveEnd;constructor(n,t,r,i){super(n,t),this.urlAfterRedirects=r,this.state=i}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}};var dt=class{route;type=R.RouteConfigLoadStart;constructor(n){this.route=n}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}};var ht=class{route;type=R.RouteConfigLoadEnd;constructor(n){this.route=n}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}};var ft=class{snapshot;type=R.ChildActivationStart;constructor(n){this.snapshot=n}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||``}')`}};var pt=class{snapshot;type=R.ChildActivationEnd;constructor(n){this.snapshot=n}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||``}')`}};var gt=class{snapshot;type=R.ActivationStart;constructor(n){this.snapshot=n}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||``}')`}};var vt=class{snapshot;type=R.ActivationEnd;constructor(n){this.snapshot=n}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||``}')`}};var Se=class{routerEvent;position;anchor;scrollBehavior;type=R.Scroll;constructor(n,t,r,i){this.routerEvent=n,this.position=t,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}')`}};var Ce=class{};var je=class{};var we=class{url;navigationBehaviorOptions;constructor(n,t){this.url=n,this.navigationBehaviorOptions=t}};function Oi(e){return!(e instanceof Ce)&&!(e instanceof we)&&!(e instanceof je)}var mt=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 ce(this.rootInjector)}};var ce=(()=>{class e{rootInjector;contexts=new Map;constructor(t){this.rootInjector=t}onChildOutletCreated(t,r){let i=this.getOrCreateContext(t);i.outlet=r,this.contexts.set(t,i)}onChildOutletDestroyed(t){let r=this.getContext(t);r&&(r.outlet=null,r.attachRef=null)}onOutletDeactivated(){let t=this.contexts;return this.contexts=new Map,t}onOutletReAttached(t){this.contexts=t}getOrCreateContext(t){let r=this.getContext(t);return r||(r=new mt(this.rootInjector),this.contexts.set(t,r)),r}getContext(t){return this.contexts.get(t)||null}static ɵfac=function(r){return new(r||e)(N(se$1))};static ɵprov=P$1({token:e,factory:e.ɵfac,providedIn:`root`})}return e})();var yt=class{_root;constructor(n){this._root=n}get root(){return this._root.value}parent(n){let t=this.pathFromRoot(n);return t.length>1?t[t.length-2]:null}children(n){let t=nr(n,this._root);return t?t.children.map(r=>r.value):[]}firstChild(n){let t=nr(n,this._root);return t&&t.children.length>0?t.children[0].value:null}siblings(n){let t=ir(n,this._root);return t.length<2?[]:t[t.length-2].children.map(i=>i.value).filter(i=>i!==n)}pathFromRoot(n){return ir(n,this._root).map(t=>t.value)}};function nr(e,n){if(e===n.value)return n;for(let t of n.children){let r=nr(e,t);if(r)return r}return null}function ir(e,n){if(e===n.value)return[n];for(let t of n.children){let r=ir(e,t);if(r.length)return r.unshift(n),r}return[]}var T=class{value;children;constructor(n,t){this.value=n,this.children=t}toString(){return`TreeNode(${this.value})`}};function pe(e){let n={};return e&&e.children.forEach(t=>n[t.value.outlet]=t),n}var xe=class extends yt{snapshot;constructor(n,t){super(n),this.snapshot=t,pr(this,n)}toString(){return this.snapshot.toString()}};function An(e,n){let t=Pi(e,n),r=new Un$1([new Y(``,{})]),i=new Un$1({}),o=new Un$1({}),a=new J(r,i,new Un$1({}),new Un$1(``),o,p,e,t.root);return a.snapshot=t.root,new xe(new T(a,[]),t)}function Pi(e,n){return new ke(``,new T(new be([],{},{},``,{},p,e,null,{},n),[]))}var J=class{urlSubject;paramsSubject;queryParamsSubject;fragmentSubject;dataSubject;outlet;component;snapshot;_futureSnapshot;_routerState;_paramMap;_queryParamMap;title;url;params;queryParams;fragment;data;resources;_localInjector;pending;paramsSignal;queryParamsSignal;paramMapSignal;queryParamMapSignal;fragmentSignal;dataSignal;constructor(n,t,r,i,o,s,c,a){this.urlSubject=n,this.paramsSubject=t,this.queryParamsSubject=r,this.fragmentSubject=i,this.dataSubject=o,this.outlet=s,this.component=c,this._futureSnapshot=a,this.title=this.dataSubject?.pipe(ie$1(u=>u[qe]))??Re$1(void 0),this.url=n,this.params=t,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(ie$1(n=>ie(n))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(ie$1(n=>ie(n))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}_setPending(n){this._futureSnapshot=n,this.pending?.set(!0)}};var Li=`always`;function fr(e,n,t){let r,{routeConfig:i}=e;return n!==null&&(t===`always`||i?.path===``||!n.component&&!n.routeConfig?.loadComponent)?r={params:E(E({},n.params),e.params),data:E(E({},n.data),e.data),resolve:E(E(E(E({},e.data),n.data),i?.data),e._resolvedData)}:r={params:E({},e.params),data:E({},e.data),resolve:E(E({},e.data),e._resolvedData??{})},i&&Tn(i)&&(r.resolve[qe]=i.title),r}var be=class{url;params;queryParams;fragment;data;outlet;component;routeConfig;_resolve;_resolvedData;_routerState;_paramMap;_queryParamMap;_environmentInjector;resources;get title(){return this.data?.[qe]}constructor(n,t,r,i,o,s,c,a,u,l){this.url=n,this.params=t,this.queryParams=r,this.fragment=i,this.data=o,this.outlet=s,this.component=c,this.routeConfig=a,this._resolve=u,this._environmentInjector=l}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??=ie(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=ie(this.queryParams),this._queryParamMap}toString(){return`Route(url:'${this.url.map(r=>r.toString()).join(`/`)}', path:'${this.routeConfig?this.routeConfig.path:``}')`}};var ke=class extends yt{url;constructor(n,t){super(t),this.url=n,pr(this,t)}toString(){return Nn(this._root)}};function pr(e,n){n.value._routerState=e,n.children.forEach(t=>pr(e,t))}function Nn(e){let n=e.children.length>0?` { ${e.children.map(Nn).join(`, `)} } `:``;return`${e.value}${n}`}function Yt(e){if(e.snapshot){let n=e.snapshot,t=e._futureSnapshot;e.snapshot=t,q(n.queryParams,t.queryParams)||e.queryParamsSubject.next(t.queryParams),n.fragment!==t.fragment&&e.fragmentSubject.next(t.fragment),q(n.params,t.params)||e.paramsSubject.next(t.params),ci(n.url,t.url)||e.urlSubject.next(t.url),q(n.data,t.data)||e.dataSubject.next(t.data)}else e.snapshot=e._futureSnapshot,e.dataSubject.next(e._futureSnapshot.data)}function or(e,n){let t=q(e.params,n.params)&&fi(e.url,n.url),r=!e.parent!=!n.parent;return t&&!r&&(!e.parent||or(e.parent,n.parent))}function Tn(e){return typeof e.title==`string`||e.title===null}var Dn=new v(``);var gr=(()=>{class e{activated=null;get activatedComponentRef(){return this.activated}_activatedRoute=null;name=p;activateEvents=new J$1;deactivateEvents=new J$1;attachEvents=new J$1;detachEvents=new J$1;routerOutletData=lb();parentContexts=h(ce);location=h(Pe$1);changeDetector=h(mc);inputBinder=h(Fe,{optional:!0});supportsBindingToComponentInputs=!0;ngOnChanges(t){if(t.name){let{firstChange:r,previousValue:i}=t.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(t){return this.parentContexts.getContext(t)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let t=this.parentContexts.getContext(this.name);t?.route&&(t.attachRef?this.attach(t.attachRef,t.route):this.activateWith(t.route,t.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new y(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new y(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new y(4012,!1);this.location.detach();let t=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(t.instance),t}attach(t,r){this.activated=t,this._activatedRoute=r,this.location.insert(t.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this,this.location.injector),this.attachEvents.emit(t.instance)}deactivate(){if(this.activated){let t=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(t)}}activateWith(t,r){if(this.isActivated)throw new y(4013,!1);this._activatedRoute=t;let i=this.location,s=t.snapshot.component,c=this.parentContexts.getOrCreateContext(this.name).children,a=new sr(t,c,i.injector,this.routerOutletData);this.activated=i.createComponent(s,{index:i.length,injector:a,environmentInjector:r}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this,this.location.injector),this.activateEvents.emit(this.activated.instance)}static ɵfac=function(r){return new(r||e)};static ɵdir=Z$1({type:e,selectors:[[`router-outlet`]],inputs:{name:`name`,routerOutletData:[1,`routerOutletData`]},outputs:{activateEvents:`activate`,deactivateEvents:`deactivate`,attachEvents:`attach`,detachEvents:`detach`},exportAs:[`outlet`],features:[En$1]})}return e})();var sr=class{route;childContexts;parent;outletData;constructor(n,t,r,i){this.route=n,this.childContexts=t,this.parent=r,this.outletData=i}get(n,t){return n===J?this.route:n===ce?this.childContexts:n===Dn?this.outletData:this.parent.get(n,t)}};var Fe=new v(``);var _n=(()=>{class e{options;feature;outletDataSubscriptions=new Map;outletSeenKeys=new Map;outletEffects=new Map;constructor(t,r=null){this.options=t,this.feature=r,this.options.queryParams??=!0}bindActivatedRouteToOutletComponent(t,r){this.unsubscribeFromRouteData(t),this.subscribeToRouteData(t,r)}unsubscribeFromRouteData(t){this.outletDataSubscriptions.get(t)?.unsubscribe(),this.outletDataSubscriptions.delete(t),this.outletSeenKeys.delete(t),this.outletEffects.get(t)?.forEach(r=>r.destroy()),this.outletEffects.delete(t)}subscribeToRouteData(t,r){let{activatedRoute:i}=t,o=[],s=[];if(this.feature?.createResourceOutletBindingEffects&&t.activatedComponentRef){let{handledKeys:a,createdEffects:u}=this.feature.createResourceOutletBindingEffects(t.activatedComponentRef,i,r);o.push(...u),s=a}o.length>0&&this.outletEffects.set(t,o);let c=Pl([this.options.queryParams?i.queryParams:Re$1({}),i.params,i.data]).pipe(Hs(([a,u,l],v)=>(l=E(E(E(E({},a),u),l),i.resources||{}),v===0?Re$1(l):Promise.resolve(l)))).subscribe(a=>{if(!t.isActivated||!t.activatedComponentRef||t.activatedRoute!==i||i.component===null){this.unsubscribeFromRouteData(t);return}let u=eG(i.component);if(!u){this.unsubscribeFromRouteData(t);return}let l=this.outletSeenKeys.get(t);l||(l=new Set,this.outletSeenKeys.set(t,l));for(let f of Object.keys(a))l.add(f);let v=this.options.unmatchedInputBehavior??`alwaysUndefined`;for(let{templateName:f}of u.inputs){if(s.includes(f))continue;let S=a[f];(S!==void 0||v===`alwaysUndefined`||l.has(f))&&t.activatedComponentRef.setInput(f,S)}});this.outletDataSubscriptions.set(t,c)}static ɵfac=function(r){JC()};static ɵprov=P$1({token:e,factory:e.ɵfac})}return e})();var vr=(()=>{class e{static ɵfac=function(r){return new(r||e)};static ɵcmp=Ee$1({type:e,selectors:[[`ng-component`]],exportAs:[`emptyRouterOutlet`],decls:1,vars:0,template:function(r,i){r&1&&_y(0,`router-outlet`)},dependencies:[gr],encapsulation:2,changeDetection:1})}return e})();function mr(e){let n=e.children&&e.children.map(mr),t=n?F$1(E({},e),{children:n}):E({},e);return!t.component&&!t.loadComponent&&(n||t.loadChildren)&&t.outlet&&t.outlet!==p&&(t.component=vr),t}function ji(e,n,t){let r=new Set;return{newlyCreatedRoutes:r,state:new xe($e(e,n._root,t?t._root:void 0,r),n)}}function $e(e,n,t,r){if(t&&e.shouldReuseRoute(n.value,t.value.snapshot)){let i=t.value;i._setPending(n.value);return new T(i,xi(e,n,t,r))}else{if(e.shouldAttach(n.value)){let s=e.retrieve(n.value);if(s!==null){let c=s.route;return c.value._setPending(n.value),c.children=n.children.map(a=>$e(e,a,void 0,r)),c}}let i=ki(n.value);i._setPending(n.value),r.add(i);return new T(i,n.children.map(s=>$e(e,s,void 0,r)))}}function xi(e,n,t,r){return n.children.map(i=>{for(let o of t.children)if(e.shouldReuseRoute(i.value,o.value.snapshot))return $e(e,i,o,r);return $e(e,i,void 0,r)})}function ki(e){return new J(new Un$1(e.url),new Un$1(e.params),new Un$1(e.queryParams),new Un$1(e.fragment),new Un$1(e.data),e.outlet,e.component,e)}var Ie=class{redirectTo;navigationBehaviorOptions;constructor(n,t){this.redirectTo=n,this.navigationBehaviorOptions=t}};var Un=`ngNavigationCancelingError`;function Rt(e,n){let{redirectTo:t,navigationBehaviorOptions:r}=ye(n)?{redirectTo:n,navigationBehaviorOptions:void 0}:n,i=On(!1,b.Redirect);return i.url=t,i.navigationBehaviorOptions=r,i}function On(e,n){let t=new Error(`NavigationCancelingError: ${e||``}`);return t[Un]=!0,t.cancellationCode=n,t}function $i(e){return Pn(e)&&ye(e.url)}function Pn(e){return!!e&&e[Un]}var ar=class{routeReuseStrategy;futureState;currState;forwardEvent;inputBindingEnabled;constructor(n,t,r,i,o){this.routeReuseStrategy=n,this.futureState=t,this.currState=r,this.forwardEvent=i,this.inputBindingEnabled=o}activate(n){let t=this.futureState._root,r=this.currState?this.currState._root:null;this.deactivateChildRoutes(t,r,n),Yt(this.futureState.root),this.activateChildRoutes(t,r,n)}deactivateChildRoutes(n,t,r){let i=pe(t);n.children.forEach(o=>{let s=o.value.outlet;this.deactivateRoutes(o,i[s],r),delete i[s]}),Object.values(i).forEach(o=>{this.deactivateRouteAndItsChildren(o,r)})}deactivateRoutes(n,t,r){let i=n.value,o=t?t.value:null;if(i===o)if(i.component){let s=r.getContext(i.outlet);s&&this.deactivateChildRoutes(n,t,s.children)}else this.deactivateChildRoutes(n,t,r);else o&&this.deactivateRouteAndItsChildren(t,r)}deactivateRouteAndItsChildren(n,t){n.value.component&&this.routeReuseStrategy.shouldDetach(n.value.snapshot)?this.detachAndStoreRouteSubtree(n,t):this.deactivateRouteAndOutlet(n,t)}detachAndStoreRouteSubtree(n,t){let r=t.getContext(n.value.outlet),i=r&&n.value.component?r.children:t,o=pe(n);for(let s of Object.values(o))this.deactivateRouteAndItsChildren(s,i);if(r&&r.outlet){let s=r.outlet.detach(),c=r.children.onOutletDeactivated();this.routeReuseStrategy.store(n.value.snapshot,{componentRef:s,route:n,contexts:c})}}deactivateRouteAndOutlet(n,t){let r=t.getContext(n.value.outlet),i=r&&n.value.component?r.children:t,o=pe(n);for(let s of Object.values(o))this.deactivateRouteAndItsChildren(s,i);r&&(r.outlet&&(r.outlet.deactivate(),r.children.onOutletDeactivated()),r.attachRef=null,r.route=null),n.value._localInjector?.destroy()}activateChildRoutes(n,t,r){let i=pe(t);n.children.forEach(o=>{this.activateRoutes(o,i[o.value.outlet],r),this.forwardEvent(new vt(o.value.snapshot))}),n.children.length&&this.forwardEvent(new pt(n.value.snapshot))}activateRoutes(n,t,r){let i=n.value,o=t?t.value:null;if(Yt(i),i===o)if(i.component){let s=r.getOrCreateContext(i.outlet);this.activateChildRoutes(n,t,s.children)}else this.activateChildRoutes(n,t,r);else if(i.component){let s=r.getOrCreateContext(i.outlet);if(this.routeReuseStrategy.shouldAttach(i.snapshot)){let c=this.routeReuseStrategy.retrieve(i.snapshot);this.routeReuseStrategy.store(i.snapshot,null),s.children.onOutletReAttached(c.contexts),s.attachRef=c.componentRef,s.route=c.route.value,s.outlet&&s.outlet.attach(c.componentRef,c.route.value),Yt(c.route.value),this.activateChildRoutes(n,null,s.children)}else s.attachRef=null,s.route=i,s.outlet&&s.outlet.activateWith(i,s.injector),this.activateChildRoutes(n,null,s.children)}else this.activateChildRoutes(n,null,r)}};var St=class{path;route;constructor(n){this.path=n,this.route=this.path[this.path.length-1]}};var me=class{component;route;constructor(n,t){this.component=n,this.route=t}};function zi(e,n,t){let r=e._root;return _e(r,n?n._root:null,t,[r.value])}function qi(e){let n=e.routeConfig?e.routeConfig.canActivateChild:null;return!n||n.length===0?null:{node:e,guards:n}}function Me(e,n){let t=Symbol(),r=n.get(e,t);return r===t?typeof e==`function`&&!vw(e)?e:n.get(e):r}function _e(e,n,t,r,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=pe(n);return e.children.forEach(s=>{Fi(s,o[s.value.outlet],t,r.concat([s.value]),i),delete o[s.value.outlet]}),Object.entries(o).forEach(([s,c])=>Oe(c,t.getContext(s),t,i)),i}function Fi(e,n,t,r,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=e.value,s=n?n.value:null,c=t?t.getContext(e.value.outlet):null;if(s&&o.routeConfig===s.routeConfig){let a=Hi(s,o,o.routeConfig.runGuardsAndResolvers);a?i.canActivateChecks.push(new St(r)):(o.data=s.data,o._resolvedData=s._resolvedData),o.component?_e(e,n,c?c.children:null,r,i):_e(e,n,t,r,i),a&&c&&c.outlet&&c.outlet.isActivated&&i.canDeactivateChecks.push(new me(c.outlet.component,s))}else s&&Oe(n,c,t,i),i.canActivateChecks.push(new St(r)),o.component?_e(e,null,c?c.children:null,r,i):_e(e,null,t,r,i);return i}function Hi(e,n,t){if(typeof t==`function`)return zr(n._environmentInjector,()=>t(e,n));switch(t){case`pathParamsChange`:return!ne(e.url,n.url);case`pathParamsOrQueryParamsChange`:return!ne(e.url,n.url)||!q(e.queryParams,n.queryParams);case`always`:return!0;case`paramsOrQueryParamsChange`:return!or(e,n)||!q(e.queryParams,n.queryParams);default:return!or(e,n)}}function Oe(e,n,t,r){let i=pe(e),o=e.value;Object.entries(i).forEach(([s,c])=>{o.component?n?Oe(c,n.children.getContext(s),n.children,r):Oe(c,null,null,r):Oe(c,t?t.getContext(s):null,t,r)}),o.component?n&&n.outlet&&n.outlet.isActivated?r.canDeactivateChecks.push(new me(n.outlet.component,o)):r.canDeactivateChecks.push(new me(null,o)):r.canDeactivateChecks.push(new me(null,o))}function He(e){return typeof e==`function`}function Bi(e){return typeof e==`boolean`}function Vi(e){return e&&He(e.canLoad)}function Gi(e){return e&&He(e.canActivate)}function Wi(e){return e&&He(e.canActivateChild)}function Qi(e){return e&&He(e.canDeactivate)}function Ki(e){return e&&He(e.canMatch)}function Ln(e){return e instanceof Ho$1||e?.name===`EmptyError`}var et=Symbol(`INITIAL_VALUE`);function Ee(){return Hs(e=>Pl(e.map(n=>n.pipe(lt$1(1),Fr(et)))).pipe(ie$1(n=>{for(let t of n)if(t!==!0){if(t===et)return et;if(t===!1||Yi(t))return t}return!0}),_e$1(n=>n!==et),lt$1(1)))}function Yi(e){return ye(e)||e instanceof Ie}function jn(e){return e.aborted?Re$1(void 0).pipe(lt$1(1)):new T$1(n=>{let t=()=>{n.next(),n.complete()};return e.addEventListener(`abort`,t),()=>e.removeEventListener(`abort`,t)})}function xn(e){return Ht(jn(e))}function Zi(e){return Vt(n=>{let{targetSnapshot:t,currentSnapshot:r,guards:{canActivateChecks:i,canDeactivateChecks:o}}=n;return o.length===0&&i.length===0?Re$1(F$1(E({},n),{guardsResult:!0})):Ji(o,t,r).pipe(Vt(s=>s&&Bi(s)?Xi(t,i,e):Re$1(s)),ie$1(s=>F$1(E({},n),{guardsResult:s})))})}function Ji(e,n,t){return wt$1(e).pipe(Vt(r=>io(r.component,r.route,t,n)),pw(r=>r!==!0,!0))}function Xi(e,n,t){return wt$1(n).pipe(Ll(r=>ln$1(to(r.route.parent,t),eo(r.route,t),no(e,r.path),ro(e,r.route))),pw(r=>r!==!0,!0))}function eo(e,n){return e!==null&&n&&n(new gt(e)),Re$1(!0)}function to(e,n){return e!==null&&n&&n(new ft(e)),Re$1(!0)}function ro(e,n){let t=n.routeConfig?n.routeConfig.canActivate:null;if(!t||t.length===0)return Re$1(!0);return Re$1(t.map(i=>iw(()=>{let o=n._environmentInjector,s=Me(i,o);return se(Gi(s)?s.canActivate(n,e):zr(o,()=>s(n,e))).pipe(pw())}))).pipe(Ee())}function no(e,n){let t=n[n.length-1];return Re$1(n.slice(0,n.length-1).reverse().map(o=>qi(o)).filter(o=>o!==null).map(o=>iw(()=>{return Re$1(o.guards.map(c=>{let a=o.node._environmentInjector,u=Me(c,a);return se(Wi(u)?u.canActivateChild(t,e):zr(a,()=>u(t,e))).pipe(pw())})).pipe(Ee())}))).pipe(Ee())}function io(e,n,t,r){let i=n&&n.routeConfig?n.routeConfig.canDeactivate:null;if(!i||i.length===0)return Re$1(!0);return Re$1(i.map(s=>{let c=n._environmentInjector,a=Me(s,c);return se(Qi(a)?a.canDeactivate(e,n,t,r):zr(c,()=>a(e,n,t,r))).pipe(pw())})).pipe(Ee())}function oo(e,n,t,r,i){let o=n.canLoad;if(o===void 0||o.length===0)return Re$1(!0);return Re$1(o.map(c=>{let a=Me(c,e),l=se(Vi(a)?a.canLoad(n,t):zr(e,()=>a(n,t)));return i?l.pipe(xn(i)):l})).pipe(Ee(),kn(r))}function kn(e){return LE(Wl(n=>{if(typeof n!=`boolean`)throw Rt(e,n)}),ie$1(n=>n===!0))}function so(e,n,t,r,i,o){let s=n.canMatch;if(!s||s.length===0)return Re$1(!0);return Re$1(s.map(a=>{let u=Me(a,e);return se(Ki(u)?u.canMatch(n,t,i):zr(e,()=>u(n,t,i))).pipe(xn(o))})).pipe(Ee(),kn(r))}var B=class e extends Error{segmentGroup;constructor(n){super(),this.segmentGroup=n||null,Object.setPrototypeOf(this,e.prototype)}};var ze=class e extends Error{urlTree;constructor(n){super(),this.urlTree=n,Object.setPrototypeOf(this,e.prototype)}};function ao(e){throw new y(4e3,!1)}function co(e){throw On(!1,b.GuardRejected)}var cr=class{urlSerializer;urlTree;constructor(n,t){this.urlSerializer=n,this.urlTree=t}lineralizeSegments(n,t){return L$1(this,null,function*(){let r=[],i=t.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]}})}applyRedirectCommands(n,t,r,i,o){return L$1(this,null,function*(){let s=yield uo(t,i,o);if(s instanceof L)throw new ze(s);let c=this.applyRedirectCreateUrlTree(s,this.urlSerializer.parse(s),n,r);if(s[0]===`/`)throw new ze(c);return c})}applyRedirectCreateUrlTree(n,t,r,i){return new L(this.createSegmentGroup(n,t.root,r,i),this.createQueryParams(t.queryParams,this.urlTree.queryParams),t.fragment)}createQueryParams(n,t){let r={};return Object.entries(n).forEach(([i,o])=>{if(typeof o==`string`&&o[0]===`:`){let c=o.substring(1);r[i]=t[c]}else r[i]=o}),r}createSegmentGroup(n,t,r,i){let o=this.createSegments(n,t.segments,r,i),s=Object.create(null);return Object.entries(t.children).forEach(([c,a])=>{s[c]=this.createSegmentGroup(n,a,r,i)}),new m(o,s)}createSegments(n,t,r,i){return t.map(o=>o.path[0]===`:`?this.findPosParam(n,o,i):this.findOrReturn(o,r))}findPosParam(n,t,r){let i=r[t.path.substring(1)];if(!i)throw new y(4001,!1);return i}findOrReturn(n,t){let r=0;for(let i of t){if(i.path===n.path)return t.splice(r),i;r++}return n}};function uo(e,n,t){if(typeof e==`string`)return Promise.resolve(e);let r=e;return it(se(zr(t,()=>r(n))))}function lo(e,n){return e.providers&&!e._injector&&(e._injector=ly(e.providers,n,`Route: ${e.path}`)),e._injector??n}function k(e){return e.outlet||p}function ho(e,n){let t=e.filter(r=>k(r)===n);return t.push(...e.filter(r=>k(r)!==n)),t}var ur={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function $n(e){return{routeConfig:e.routeConfig,url:e.url,params:e.params,queryParams:e.queryParams,fragment:e.fragment,data:e.data,outlet:e.outlet,title:e.title,paramMap:e.paramMap,queryParamMap:e.queryParamMap}}function fo(e,n,t,r,i,o,s){let c=zn(e,n,t);if(!c.matched)return Re$1(c);let a=$n(o(c));return r=lo(n,r),so(r,n,t,i,a,s).pipe(ie$1(u=>u===!0?c:E({},ur)))}function zn(e,n,t){if(n.path===``)return n.pathMatch===`full`&&(e.hasChildren()||t.length>0)?E({},ur):{matched:!0,consumedSegments:[],remainingSegments:t,parameters:{},positionalParamSegments:{}};let i=(n.matcher||un)(t,e,n);if(!i)return E({},ur);let o={};Object.entries(i.posParams??{}).forEach(([c,a])=>{o[c]=a.path});let s=i.consumed.length>0?E(E({},o),i.consumed[i.consumed.length-1].parameters):o;return{matched:!0,consumedSegments:i.consumed,remainingSegments:t.slice(i.consumed.length),parameters:s,positionalParamSegments:i.posParams??{}}}function an(e,n,t,r,i){return t.length>0&&vo(e,t,r,i)?{segmentGroup:new m(n,go(r,new m(t,e.children))),slicedSegments:[]}:t.length===0&&mo(e,t,r)?{segmentGroup:new m(e.segments,po(e,t,r,e.children)),slicedSegments:t}:{segmentGroup:new m(e.segments,e.children),slicedSegments:t}}function po(e,n,t,r){let i={};for(let o of t)if(wt(e,n,o)&&!r[k(o)]){let s=new m([],{});i[k(o)]=s}return E(E({},r),i)}function go(e,n){let t={};t[p]=n;for(let r of e)if(r.path===``&&k(r)!==p){let i=new m([],{});t[k(r)]=i}return t}function vo(e,n,t,r){return t.some(i=>!wt(e,n,i)||!(k(i)!==p)?!1:!(r!==void 0&&k(i)===r))}function mo(e,n,t){return t.some(r=>wt(e,n,r))}function wt(e,n,t){return(e.hasChildren()||n.length>0)&&t.pathMatch===`full`?!1:t.path===``}function yo(e,n,t){return n.length===0&&!e.children[t]}var lr=class{};function Ro(e,n,t,r,i,o,s,c){return L$1(this,null,function*(){return new dr(e,n,t,r,i,s,o,c).recognize()})}var So=31;var dr=class{injector;configLoader;rootComponentType;config;urlTree;paramsInheritanceStrategy;urlSerializer;abortSignal;applyRedirects;absoluteRedirectCount=0;allowRedirects=!0;constructor(n,t,r,i,o,s,c,a){this.injector=n,this.configLoader=t,this.rootComponentType=r,this.config=i,this.urlTree=o,this.paramsInheritanceStrategy=s,this.urlSerializer=c,this.abortSignal=a,this.applyRedirects=new cr(this.urlSerializer,this.urlTree)}noMatchError(n){return new y(4002,`'${n.segmentGroup}'`)}recognize(){return L$1(this,null,function*(){let n=an(this.urlTree.root,[],[],this.config).segmentGroup,{children:t,rootSnapshot:r}=yield this.match(n),o=new ke(``,new T(r,t)),s=Cn(r,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,o.url=this.urlSerializer.serialize(s),{state:o,tree:s}})}match(n){return L$1(this,null,function*(){let t=new be([],Object.freeze({}),Object.freeze(E({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),p,this.rootComponentType,null,{},this.injector);try{return{children:yield this.processSegmentGroup(this.injector,this.config,n,p,t),rootSnapshot:t}}catch(r){if(r instanceof ze)return this.urlTree=r.urlTree,this.match(r.urlTree.root);throw r instanceof B?this.noMatchError(r):r}})}processSegmentGroup(n,t,r,i,o){return L$1(this,null,function*(){if(r.segments.length===0&&r.hasChildren())return this.processChildren(n,t,r,o);let s=yield this.processSegment(n,t,r,r.segments,i,!0,o);return s instanceof T?[s]:[]})}processChildren(n,t,r,i){return L$1(this,null,function*(){let o=[];for(let a of Object.keys(r.children))a===`primary`?o.unshift(a):o.push(a);let s=[];for(let a of o){let u=r.children[a],l=ho(t,a),v=yield this.processSegmentGroup(n,l,u,a,i);s.push(...v)}let c=qn(s);return Co(c),c})}processSegment(n,t,r,i,o,s,c){return L$1(this,null,function*(){for(let a of t)try{return yield this.processSegmentAgainstRoute(a._injector??n,t,a,r,i,o,s,c)}catch(u){if(u instanceof B||Ln(u))continue;throw u}if(yo(r,i,o))return new lr;throw new B(r)})}processSegmentAgainstRoute(n,t,r,i,o,s,c,a){return L$1(this,null,function*(){if(k(r)!==s&&(s===p||!wt(i,o,r)))throw new B(i);if(r.redirectTo===void 0)return this.matchSegmentAgainstRoute(n,i,r,o,s,a);if(this.allowRedirects&&c)return this.expandSegmentAgainstRouteUsingRedirect(n,i,t,r,o,s,a);throw new B(i)})}expandSegmentAgainstRouteUsingRedirect(n,t,r,i,o,s,c){return L$1(this,null,function*(){let{matched:a,parameters:u,consumedSegments:l,positionalParamSegments:v,remainingSegments:f}=zn(t,i,o);if(!a)throw new B(t);typeof i.redirectTo==`string`&&i.redirectTo[0]===`/`&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>So&&(this.allowRedirects=!1));let S=this.createSnapshot(n,i,o,u,c);if(this.abortSignal.aborted)throw new Error(this.abortSignal.reason);let j=yield this.applyRedirects.applyRedirectCommands(l,i.redirectTo,v,$n(S),n),ee=yield this.applyRedirects.lineralizeSegments(i,j);return this.processSegment(n,r,t,ee.concat(f),s,!1,c)})}createSnapshot(n,t,r,i,o){let s=new be(r,i,Object.freeze(E({},this.urlTree.queryParams)),this.urlTree.fragment,bo(t),k(t),t.component??t._loadedComponent??null,t,Io(t),n),c=fr(s,o,this.paramsInheritanceStrategy);return s.params=Object.freeze(c.params),s.data=Object.freeze(c.data),s}matchSegmentAgainstRoute(n,t,r,i,o,s){return L$1(this,null,function*(){if(this.abortSignal.aborted)throw new Error(this.abortSignal.reason);let c=te=>this.createSnapshot(n,r,te.consumedSegments,te.parameters,s),a=yield it(fo(t,r,i,n,this.urlSerializer,c,this.abortSignal));if(r.path===`**`&&(t.children={}),!a?.matched)throw new B(t);n=r._injector??n;let{routes:u}=yield this.getChildConfig(n,r,i),l=r._loadedInjector??n,{parameters:v,consumedSegments:f,remainingSegments:S}=a,j=this.createSnapshot(n,r,f,v,s),{segmentGroup:ee,slicedSegments:Ne}=an(t,f,S,u,o);if(Ne.length===0&&ee.hasChildren())return new T(j,yield this.processChildren(l,u,ee,j));if(u.length===0&&Ne.length===0)return new T(j,[]);let At=k(r)===o,Ge=yield this.processSegment(l,u,ee,Ne,At?p:o,!0,j);return new T(j,Ge instanceof T?[Ge]:[])})}getChildConfig(n,t,r){return L$1(this,null,function*(){if(t.children)return{routes:t.children,injector:n};if(t.loadChildren){if(t._loadedRoutes!==void 0){let o=t._loadedNgModuleFactory;return o&&!t._loadedInjector&&(t._loadedInjector=o.create(n).injector),{routes:t._loadedRoutes,injector:t._loadedInjector}}if(this.abortSignal.aborted)throw new Error(this.abortSignal.reason);if(yield it(oo(n,t,r,this.urlSerializer,this.abortSignal))){let o=yield this.configLoader.loadChildren(n,t);return t._loadedRoutes=o.routes,t._loadedInjector=o.injector,t._loadedNgModuleFactory=o.factory,o}throw co(t)}return{routes:[],injector:n}})}};function Co(e){e.sort((n,t)=>n.value.outlet===p?-1:t.value.outlet===p?1:n.value.outlet.localeCompare(t.value.outlet))}function wo(e){let n=e.value.routeConfig;return n&&n.path===``}function qn(e){let n=[],t=new Set;for(let r of e){if(!wo(r)){n.push(r);continue}let i=n.find(o=>r.value.routeConfig===o.value.routeConfig);i!==void 0?(i.children.push(...r.children),t.add(i)):n.push(r)}for(let r of t){let i=qn(r.children);n.push(new T(r.value,i))}return n.filter(r=>!t.has(r))}function bo(e){return e.data||{}}function Io(e){return e.resolve||{}}function Eo(e,n,t,r,i,o,s){return Vt(c=>L$1(null,null,function*(){let{state:a,tree:u}=yield Ro(e,n,t,r,c.extractedUrl,i,o,s);return F$1(E({},c),{targetSnapshot:a,urlAfterRedirects:u})}))}function Mo(e){return Vt(n=>{let{targetSnapshot:t,guards:{canActivateChecks:r}}=n;if(!r.length)return Re$1(n);let i=new Set(r.map(c=>c.route)),o=new Set;for(let c of i)if(!o.has(c))for(let a of Fn(c))o.add(a);let s=0;return wt$1(o).pipe(Ll(c=>i.has(c)?Ao(c,t,e):(c.data=fr(c,c.parent,e).resolve,Re$1(void 0))),Wl(()=>s++),hw(1),Vt(c=>s===o.size?Re$1(n):$n$1))})}function Fn(e){return[e,...e.children.map(t=>Fn(t)).flat()]}function Ao(e,n,t){let r=e.routeConfig,i=e._resolve;return r?.title!==void 0&&!Tn(r)&&(i[qe]=r.title),iw(()=>(e.data=fr(e,e.parent,t).resolve,No(i,e,n).pipe(ie$1(o=>(e._resolvedData=o,e.data=E(E({},e.data),o),null)))))}function No(e,n,t){let r=Jt(e);if(r.length===0)return Re$1({});let i={};return wt$1(r).pipe(Vt(o=>To(e[o],n,t).pipe(pw(),Wl(s=>{if(s instanceof Ie)throw Rt(new V,s);i[o]=s}))),hw(1),ie$1(()=>i),Ph(o=>Ln(o)?$n$1:KE(o)))}function To(e,n,t){let r=n._environmentInjector,i=Me(e,r);return se(i.resolve?i.resolve(n,t):zr(r,()=>i(n,t)))}var yr=new v(``);function hr(e){return Hs(n=>{let t=e(n);return t?wt$1(t).pipe(ie$1(()=>n)):Re$1(n)})}var Rr=(()=>{class e{buildTitle(t){let r,i=t.root;for(;i!==void 0;)r=this.getResolvedTitleForRoute(i)??r,i=i.children.find(o=>o.outlet===p);return r}getResolvedTitleForRoute(t){return t.data[qe]}static ɵfac=function(r){return new(r||e)};static ɵprov=M({token:e,factory:()=>h(Hn)})}return e})();var Hn=(()=>{class e extends Rr{title;constructor(t){super(),this.title=t}updateTitle(t){let r=this.buildTitle(t);r!==void 0&&this.title.setTitle(r)}static ɵfac=function(r){return new(r||e)(N(G5))};static ɵprov=P$1({token:e,factory:e.ɵfac,providedIn:`root`})}return e})();var ue=new v(``,{factory:()=>({})});var Ae=new v(``);var bt=(()=>{class e{componentLoaders=new WeakMap;childrenLoaders=new WeakMap;onLoadStartListener;onLoadEndListener;compiler=h(oN);loadComponent(t,r){return L$1(this,null,function*(){if(this.componentLoaders.get(r))return this.componentLoaders.get(r);if(r._loadedComponent)return Promise.resolve(r._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(r);let i=L$1(this,null,function*(){try{let s=yield Vn(Z3(yield dn(zr(t,()=>r.loadComponent()))));return this.onLoadEndListener&&this.onLoadEndListener(r),r._loadedComponent=s,s}finally{this.componentLoaders.delete(r)}});return this.componentLoaders.set(r,i),i})}loadChildren(t,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=L$1(this,null,function*(){try{let o=yield Bn(r,this.compiler,t,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 ɵfac=function(r){return new(r||e)};static ɵprov=M({token:e,factory:e.ɵfac})}return e})();function Bn(e,n,t,r){return L$1(this,null,function*(){let o=yield Vn(Z3(yield dn(zr(t,()=>e.loadChildren())))),s;o instanceof cy||Array.isArray(o)?s=o:s=yield n.compileModuleAsync(o),r&&r(e);let c,a,l;return Array.isArray(s)?a=s:(c=s.create(t).injector,l=s,a=c.get(Ae,[],{optional:!0,self:!0}).flat()),{routes:a.map(mr),injector:c,factory:l}})}function Vn(e){return L$1(this,null,function*(){return e})}var It=(()=>{class e{static ɵfac=function(r){return new(r||e)};static ɵprov=M({token:e,factory:()=>h(Do)})}return e})();var Do=(()=>{class e{shouldProcessUrl(t){return!0}extract(t){return t}merge(t,r){return t}static ɵfac=function(r){return new(r||e)};static ɵprov=M({token:e,factory:e.ɵfac})}return e})();var Sr=new v(``);var Cr=new v(``);function Gn(e,n,t){let r=e.get(Cr),i=e.get(R$1);if(!i.startViewTransition||r.skipNextTransition)return r.skipNextTransition=!1,new Promise(u=>setTimeout(u));let o,s=new Promise(u=>{o=u}),c=i.startViewTransition(()=>(o(),_o(e)));c.updateCallbackDone.catch(u=>{}),c.ready.catch(u=>{}),c.finished.catch(u=>{});let{onViewTransitionCreated:a}=r;return a&&zr(e,()=>a({transition:c,from:n,to:t})),s}function _o(e){return new Promise(n=>{In$1({read:()=>setTimeout(n)},{injector:e})})}var Uo=()=>{};var wr=new v(``);var Et=(()=>{class e{currentNavigation=xe$1(null,{equal:()=>!1});currentTransition=null;lastSuccessfulNavigation=xe$1(null);events=new I;transitionAbortWithErrorSubject=new I;configLoader=h(bt);environmentInjector=h(se$1);destroyRef=h(Oe$1);urlSerializer=h(ae);rootContexts=h(ce);location=h(bc);inputBindingEnabled=h(Fe,{optional:!0})!==null;titleStrategy=h(Rr);options=h(ue,{optional:!0})||{};paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||Li;urlHandlingStrategy=h(It);createViewTransition=h(Sr,{optional:!0});navigationErrorHandler=h(wr,{optional:!0});routerResourcesFeature=h(yr,{optional:!0});navigationId=0;get hasRequestedNavigation(){return this.navigationId!==0}transitions;afterPreactivation=()=>Re$1(void 0);rootComponentType=null;destroyed=!1;constructor(){let t=i=>this.events.next(new dt(i)),r=i=>this.events.next(new ht(i));this.configLoader.onLoadEndListener=r,this.configLoader.onLoadStartListener=t,this.destroyRef.onDestroy(()=>{this.destroyed=!0})}complete(){this.transitions?.complete()}handleNavigationRequest(t){let r=++this.navigationId;vr$1(()=>{this.transitions?.next(F$1(E({},t),{extractedUrl:this.urlHandlingStrategy.extract(t.rawUrl),targetSnapshot:null,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null,id:r,routesRecognizeHandler:{},beforeActivateHandler:{}}))})}setupNavigations(t){return this.transitions=new Un$1(null),this.transitions.pipe(_e$1(r=>r!==null),Hs(r=>{let i=!0,o=!1,s=new AbortController,c=()=>!o&&this.currentTransition?.id===r.id;return Re$1(r).pipe(Hs(a=>{if(this.navigationId>r.id)return this.cancelNavigationTransition(r,``,b.SupersededByNewNavigation),$n$1;this.currentTransition=r;let u=this.lastSuccessfulNavigation();this.currentNavigation.set({id:a.id,initialUrl:a.rawUrl,extractedUrl:a.extractedUrl,targetBrowserUrl:typeof a.extras.browserUrl==`string`?this.urlSerializer.parse(a.extras.browserUrl):a.extras.browserUrl,trigger:a.source,extras:a.extras,previousNavigation:u?F$1(E({},u),{previousNavigation:null}):null,abort:()=>s.abort(),routesRecognizeHandler:a.routesRecognizeHandler,beforeActivateHandler:a.beforeActivateHandler});let l=!t.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),v=a.extras.onSameUrlNavigation??t.onSameUrlNavigation;if(!l&&v!==`reload`)return this.events.next(new F(a.id,this.urlSerializer.serialize(a.rawUrl),``,Re.IgnoredSameUrlNavigation)),a.resolve(!1),$n$1;if(this.urlHandlingStrategy.shouldProcessUrl(a.rawUrl))return Re$1(a).pipe(Hs(f=>(this.events.next(new Z(f.id,this.urlSerializer.serialize(f.extractedUrl),f.source,f.restoredState)),f.id!==this.navigationId?$n$1:Promise.resolve(f))),Eo(this.environmentInjector,this.configLoader,this.rootComponentType,t.config,this.urlSerializer,this.paramsInheritanceStrategy,s.signal),Wl(f=>{r.targetSnapshot=f.targetSnapshot,r.urlAfterRedirects=f.urlAfterRedirects,this.currentNavigation.update(S=>(S.finalUrl=f.urlAfterRedirects,S)),this.events.next(new je)}),Hs(f=>wt$1(r.routesRecognizeHandler.deferredHandle??Re$1(void 0)).pipe(ie$1(()=>f))),Wl(()=>{let f=new Le(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);this.events.next(f)}));if(l&&this.urlHandlingStrategy.shouldProcessUrl(a.currentRawUrl)){let{id:f,extractedUrl:S,source:j,restoredState:ee,extras:Ne}=a,At=new Z(f,this.urlSerializer.serialize(S),j,ee);this.events.next(At);let Ge=An(this.rootComponentType,this.environmentInjector).snapshot;return this.currentTransition=r=F$1(E({},a),{targetSnapshot:Ge,urlAfterRedirects:S,extras:F$1(E({},Ne),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.update(te=>(te.finalUrl=S,te)),Re$1(r)}else return this.events.next(new F(a.id,this.urlSerializer.serialize(a.extractedUrl),``,Re.IgnoredByUrlHandlingStrategy)),a.resolve(!1),$n$1}),ie$1(a=>{let u=new at(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);return this.events.next(u),this.currentTransition=r=F$1(E({},a),{guards:zi(a.targetSnapshot,a.currentSnapshot,this.rootContexts)}),r}),Zi(a=>this.events.next(a)),Hs(a=>{if(r.guardsResult=a.guardsResult,a.guardsResult&&typeof a.guardsResult!=`boolean`)throw Rt(this.urlSerializer,a.guardsResult);let u=new ct(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot,!!a.guardsResult);if(this.events.next(u),!c())return $n$1;if(!a.guardsResult)return this.cancelNavigationTransition(a,``,b.GuardRejected),$n$1;if(a.guards.canActivateChecks.length===0)return Re$1(a);let l=new ut(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);if(this.events.next(l),!c())return $n$1;let v=!1;return Re$1(a).pipe(Mo(this.paramsInheritanceStrategy),Wl({next:()=>{v=!0;let f=new lt(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);this.events.next(f)},complete:()=>{v||this.cancelNavigationTransition(a,``,b.NoDataFromResolver)}}))}),hr(a=>{let u=v=>{let f=[];if(v.routeConfig?._loadedComponent)v.component=v.routeConfig?._loadedComponent;else if(v.routeConfig?.loadComponent){let S=v._environmentInjector;f.push(this.configLoader.loadComponent(S,v.routeConfig).then(j=>{v.component=j}))}for(let S of v.children)f.push(...u(S));return f},l=u(a.targetSnapshot.root);return l.length===0?Re$1(a):wt$1(Promise.all(l).then(()=>a))}),Hs(a=>{let{newlyCreatedRoutes:u,state:l}=ji(t.routeReuseStrategy,a.targetSnapshot,a.currentRouterState);return this.currentTransition=r=a=F$1(E({},a),{targetRouterState:l,newlyCreatedRoutes:u}),this.currentNavigation.update(v=>(v.targetRouterState=l,v)),Re$1(a)}),this.routerResourcesFeature?.setupAndRunResources(s.signal)??(a=>a),hr(()=>this.afterPreactivation()),Hs(()=>{let{currentSnapshot:a,targetSnapshot:u}=r,l=this.createViewTransition?.(this.environmentInjector,a.root,u.root);return l?wt$1(l).pipe(ie$1(()=>r)):Re$1(r)}),lt$1(1),Hs(a=>{i=!1,this.events.next(new Ce);let u=r.beforeActivateHandler.deferredHandle;return u?wt$1(u.then(()=>a)):Re$1(a)}),Wl(a=>{new ar(t.routeReuseStrategy,r.targetRouterState,r.currentRouterState,u=>this.events.next(u),this.inputBindingEnabled).activate(this.rootContexts),a.newlyCreatedRoutes?.clear(),c()&&(Wn(a.targetRouterState),o=!0,this.currentNavigation.update(u=>(u.abort=Uo,u)),this.lastSuccessfulNavigation.set(vr$1(this.currentNavigation)),this.events.next(new $(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects))),this.titleStrategy?.updateTitle(a.targetRouterState.snapshot),a.resolve(!0))}),Ht(jn(s.signal).pipe(_e$1(()=>!o&&i),Wl(()=>{this.cancelNavigationTransition(r,s.signal.reason+``,b.Aborted)}))),Wl({complete:()=>{o=!0}}),Ht(this.transitionAbortWithErrorSubject.pipe(Wl(a=>{throw a}))),Bl(()=>{s.abort(),o||this.cancelNavigationTransition(r,``,b.SupersededByNewNavigation),this.currentTransition?.id===r.id&&(this.currentNavigation.set(null),this.currentTransition=null)}),Ph(a=>{if(o=!0,cn(r),this.destroyed)return r.resolve(!1),$n$1;if(Pn(a))this.events.next(new P(r.id,this.urlSerializer.serialize(r.extractedUrl),a.message,a.cancellationCode)),$i(a)?this.events.next(new we(a.url,a.navigationBehaviorOptions)):r.resolve(!1);else{let u=new oe(r.id,this.urlSerializer.serialize(r.extractedUrl),a,r.targetSnapshot??void 0);try{let l=zr(this.environmentInjector,()=>this.navigationErrorHandler?.(u));if(l instanceof Ie){let{message:v,cancellationCode:f}=Rt(this.urlSerializer,l);this.events.next(new P(r.id,this.urlSerializer.serialize(r.extractedUrl),v,f)),this.events.next(new we(l.redirectTo,l.navigationBehaviorOptions))}else throw this.events.next(u),a}catch(l){this.options.resolveNavigationPromiseOnError?r.resolve(!1):r.reject(l)}}return $n$1}))}))}cancelNavigationTransition(t,r,i){cn(t);let o=new P(t.id,this.urlSerializer.serialize(t.extractedUrl),r,i);this.events.next(o),t.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){let t=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),r=vr$1(this.currentNavigation),i=r?.targetBrowserUrl??r?.extractedUrl;return t.toString()!==i?.toString()&&!r?.extras.skipLocationChange}static ɵfac=function(r){return new(r||e)};static ɵprov=M({token:e,factory:e.ɵfac})}return e})();function Oo(e){return e!==ve}function cn(e){for(let n of e.newlyCreatedRoutes??[])n._localInjector?.destroy(),n._localInjector=void 0;Wn(e.targetRouterState)}function Wn(e){if(!e)return;let n=t=>{t.value.pending?.set(!1),t.children.forEach(n)};n(e._root)}var Qn=new v(``);var Kn=(()=>{class e{static ɵfac=function(r){return new(r||e)};static ɵprov=M({token:e,factory:()=>h(Po)})}return e})();var Ct=class{shouldDetach(n){return!1}store(n,t){}shouldAttach(n){return!1}retrieve(n){return null}shouldReuseRoute(n,t){return n.routeConfig===t.routeConfig}shouldDestroyInjector(n){return!0}};var Po=(()=>{class e extends Ct{static ɵfac=function(r){return new(r||e)};static ɵprov=M({token:e,factory:e.ɵfac})}return e})();var br=(()=>{class e{urlSerializer=h(ae);options=h(ue,{optional:!0})||{};canceledNavigationResolution=this.options.canceledNavigationResolution||`replace`;location=h(bc);urlHandlingStrategy=h(It);urlUpdateStrategy=this.options.urlUpdateStrategy||`deferred`;currentUrlTree=new L;getCurrentUrlTree(){return this.currentUrlTree}rawUrlTree=this.currentUrlTree;getRawUrlTree(){return this.rawUrlTree}createBrowserPath({finalUrl:t,initialUrl:r,targetBrowserUrl:i}){let o=t!==void 0?this.urlHandlingStrategy.merge(t,r):r,s=i??o;return s instanceof L?this.urlSerializer.serialize(s):s}routerUrlState(t){return t?.targetBrowserUrl===void 0||t?.finalUrl===void 0?{}:{ɵrouterUrl:this.urlSerializer.serialize(t.finalUrl)}}commitTransition({targetRouterState:t,finalUrl:r,initialUrl:i}){r&&t?(this.currentUrlTree=r,this.rawUrlTree=this.urlHandlingStrategy.merge(r,i),this.routerState=t):this.rawUrlTree=i}routerState=An(null,h(se$1));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 ɵfac=function(r){return new(r||e)};static ɵprov=M({token:e,factory:()=>h(Lo)})}return e})();var Lo=(()=>{class e extends br{currentPageId=0;lastSuccessfulId=-1;get browserPageId(){return this.canceledNavigationResolution!==`computed`?this.currentPageId:this.restoredState()?.ɵrouterPageId??this.currentPageId}registerNonRouterCurrentEntryChangeListener(t){return this.location.subscribe(r=>{r.type===`popstate`&&setTimeout(()=>{t(r.url,r.state,`popstate`,{replaceUrl:!0})})})}handleRouterEvent(t,r){t instanceof Z?this.updateStateMemento():t instanceof F?this.commitTransition(r):t instanceof Le?this.urlUpdateStrategy===`eager`&&(r.extras.skipLocationChange||this.setBrowserUrl(this.createBrowserPath(r),r)):t instanceof Ce?(this.commitTransition(r),this.urlUpdateStrategy===`deferred`&&!r.extras.skipLocationChange&&this.setBrowserUrl(this.createBrowserPath(r),r)):t instanceof P&&!Mn(t)?this.restoreHistory(r):t instanceof oe?this.restoreHistory(r,!0):t instanceof $&&(this.lastSuccessfulId=t.id,this.currentPageId=this.browserPageId)}setBrowserUrl(t,r){let{extras:i,id:o}=r,{replaceUrl:s,state:c}=i;if(this.location.isCurrentPathEqualTo(t)||s){let a=this.browserPageId,u=E(E({},c),this.generateNgRouterState(o,a,r));this.location.replaceState(t,``,u)}else{let a=E(E({},c),this.generateNgRouterState(o,this.browserPageId+1,r));this.location.go(t,``,a)}}restoreHistory(t,r=!1){if(this.canceledNavigationResolution===`computed`){let i=this.browserPageId,o=this.currentPageId-i;o!==0?this.location.historyGo(o):this.getCurrentUrlTree()===t.finalUrl&&o===0&&(this.resetInternalState(t),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution===`replace`&&(r&&this.resetInternalState(t),this.resetUrlToCurrentUrlTree())}resetInternalState({finalUrl:t}){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,t??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.getRawUrlTree()),``,this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(t,r,i){return this.canceledNavigationResolution===`computed`?E({navigationId:t,ɵrouterPageId:r},this.routerUrlState(i)):E({navigationId:t},this.routerUrlState(i))}static ɵfac=function(r){return new(r||e)};static ɵprov=M({token:e,factory:e.ɵfac})}return e})();function Mt(e,n){e.events.pipe(_e$1(t=>t instanceof $||t instanceof P||t instanceof oe||t instanceof F),ie$1(t=>t instanceof $||t instanceof F?0:(t instanceof P?t.code===b.Redirect||t.code===b.SupersededByNewNavigation:!1)?2:1),_e$1(t=>t!==2),lt$1(1)).subscribe(()=>{n()})}var X=(()=>{class e{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}disposed=!1;nonRouterCurrentEntryChangeSubscription;console=h(gy);stateManager=h(br);options=h(ue,{optional:!0})||{};pendingTasks=h(ir$1);urlUpdateStrategy=this.options.urlUpdateStrategy||`deferred`;navigationTransitions=h(Et);urlSerializer=h(ae);location=h(bc);urlHandlingStrategy=h(It);injector=h(se$1);_events=new I;get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}navigated=!1;routeReuseStrategy=h(Kn);injectorCleanup=h(Qn,{optional:!0});onSameUrlNavigation=this.options.onSameUrlNavigation||`ignore`;config=h(Ae,{optional:!0})?.flat()??[];componentInputBindingEnabled=!!h(Fe,{optional:!0});currentNavigation=this.navigationTransitions.currentNavigation.asReadonly();constructor(){this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this).subscribe({error:t=>{}}),this.subscribeToNavigationEvents()}eventsSubscription=new L$2;subscribeToNavigationEvents(){let t=this.navigationTransitions.events.subscribe(r=>{try{let i=this.navigationTransitions.currentTransition,o=vr$1(this.navigationTransitions.currentNavigation);if(i!==null&&o!==null){if(this.stateManager.handleRouterEvent(r,o),r instanceof P&&r.code!==b.Redirect&&r.code!==b.SupersededByNewNavigation)this.navigated=!0;else if(r instanceof $)this.navigated=!0,this.injectorCleanup?.(this.routeReuseStrategy,this.routerState,this.config);else if(r instanceof we){let s=r.navigationBehaviorOptions,c=this.urlHandlingStrategy.merge(r.url,i.currentRawUrl),a=E({scroll:i.extras.scroll,browserUrl:i.extras.browserUrl,info:i.extras.info,skipLocationChange:i.extras.skipLocationChange,replaceUrl:i.extras.replaceUrl||this.urlUpdateStrategy===`eager`||Oo(i.source)},s);this.scheduleNavigation(c,ve,null,a,{resolve:i.resolve,reject:i.reject,promise:i.promise})}}Oi(r)&&this._events.next(r)}catch(i){this.navigationTransitions.transitionAbortWithErrorSubject.next(i)}});this.eventsSubscription.add(t)}resetRootComponentType(t){this.routerState.root.component=t,this.navigationTransitions.rootComponentType=t}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),ve,this.stateManager.restoredState(),{replaceUrl:!0})}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((t,r,i,o)=>{this.navigateToSyncWithBrowser(t,i,r,o)})}navigateToSyncWithBrowser(t,r,i,o){let s=i?.navigationId?i:null,c=i?.ɵrouterUrl??t;if(i?.ɵrouterUrl&&(o=F$1(E({},o),{browserUrl:t})),i){let u=E({},i);delete u.navigationId,delete u.ɵrouterPageId,delete u.ɵrouterUrl,Object.keys(u).length!==0&&(o.state=u)}let a=this.parseUrl(c);this.scheduleNavigation(a,r,s,o).catch(u=>{this.disposed||this.injector.get(yn$1)(u)})}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return vr$1(this.navigationTransitions.currentNavigation)}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(t){this.config=t.map(mr),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(t,r={}){let{relativeTo:i,queryParams:o,fragment:s,queryParamsHandling:c,preserveFragment:a}=r,u=a?this.currentUrlTree.fragment:s,l=null;switch(c??this.options.defaultQueryParamsHandling){case`merge`:l=E(E({},this.currentUrlTree.queryParams),o);break;case`preserve`:l=this.currentUrlTree.queryParams;break;default:l=o||null}l!==null&&(l=this.removeEmptyProps(l));let v;try{v=wn(i?i.snapshot:this.routerState.snapshot.root)}catch(f){(typeof t[0]!=`string`||t[0][0]!==`/`)&&(t=[]),v=this.currentUrlTree.root}return bn(v,t,l,u??null,this.urlSerializer)}navigateByUrl(t,r={skipLocationChange:!1}){let i=ye(t)?t:this.parseUrl(t),o=this.urlHandlingStrategy.merge(i,this.rawUrlTree);return this.scheduleNavigation(o,ve,null,r)}navigate(t,r={skipLocationChange:!1}){return jo(t),this.navigateByUrl(this.createUrlTree(t,r),r)}serializeUrl(t){return this.urlSerializer.serialize(t)}parseUrl(t){try{return this.urlSerializer.parse(t)}catch(r){return this.console.warn(fn$1(4018,!1)),this.urlSerializer.parse(`/`)}}isActive(t,r){let i;if(r===!0?i=E({},fn):r===!1?i=E({},Xt):i=E(E({},Xt),r),ye(t))return tn(this.currentUrlTree,t,i);let o=this.parseUrl(t);return tn(this.currentUrlTree,o,i)}removeEmptyProps(t){return Object.entries(t).reduce((r,[i,o])=>(o!=null&&(r[i]=o),r),{})}scheduleNavigation(t,r,i,o,s){if(this.disposed)return Promise.resolve(!1);let c,a,u;s?(c=s.resolve,a=s.reject,u=s.promise):u=new Promise((v,f)=>{c=v,a=f});let l=this.pendingTasks.add();return Mt(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(l))}),this.navigationTransitions.handleNavigationRequest({source:r,restoredState:i,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:t,extras:o,resolve:c,reject:a,promise:u,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),u.catch(Promise.reject.bind(Promise))}static ɵfac=function(r){return new(r||e)};static ɵprov=M({token:e,factory:e.ɵfac})}return e})();function jo(e){for(let n=0;n<e.length;n++)if(e[n]==null)throw new y(4008,!1)}var Be=class{};var Yn=(()=>{class e{router;injector;preloadingStrategy;loader;subscription;constructor(t,r,i,o){this.router=t,this.injector=r,this.preloadingStrategy=i,this.loader=o}setUpPreloading(){this.subscription=this.router.events.pipe(_e$1(t=>t instanceof $),Ll(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription?.unsubscribe()}processRoutes(t,r){let i=[];for(let o of r){o.providers&&!o._injector&&(o._injector=ly(o.providers,t,``));let s=o._injector??t;o._loadedNgModuleFactory&&!o._loadedInjector&&(o._loadedInjector=o._loadedNgModuleFactory.create(s).injector);let c=o._loadedInjector??s;(o.loadChildren&&!o._loadedRoutes&&o.canLoad===void 0||o.loadComponent&&!o._loadedComponent)&&i.push(this.preloadConfig(s,o)),(o.children||o._loadedRoutes)&&i.push(this.processRoutes(c,o.children??o._loadedRoutes))}return wt$1(i).pipe(Uo$1())}preloadConfig(t,r){return this.preloadingStrategy.preload(r,()=>{if(t.destroyed)return Re$1(null);let i;r.loadChildren&&r.canLoad===void 0?i=wt$1(this.loader.loadChildren(t,r)):i=Re$1(null);let o=i.pipe(Vt(s=>s===null?Re$1(void 0):(r._loadedRoutes=s.routes,r._loadedInjector=s.injector,r._loadedNgModuleFactory=s.factory,this.processRoutes(s.injector??t,s.routes))));if(r.loadComponent&&!r._loadedComponent)return wt$1([o,this.loader.loadComponent(t,r)]).pipe(Uo$1());else return o})}static ɵfac=function(r){return new(r||e)(N(X),N(se$1),N(Be),N(bt))};static ɵprov=P$1({token:e,factory:e.ɵfac,providedIn:`root`})}return e})();var Zn=new v(``);var ko=(()=>{class e{options;routerEventsSubscription;scrollEventsSubscription;lastId=0;lastSource=ve;restoredId=0;store={};isHydrating=h(kI,{optional:!0})??!1;urlSerializer=h(ae);zone=h(O);viewportScroller=h(L4);transitions=h(Et);constructor(t){this.options=t,this.options.scrollPositionRestoration||=`disabled`,this.options.anchorScrolling||=`disabled`,this.isHydrating&&h(gt$1).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(t=>{t instanceof Z?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=t.navigationTrigger,this.restoredId=t.restoredState?t.restoredState.navigationId:0):t instanceof $?(this.lastId=t.id,this.scheduleScrollEvent(t,this.urlSerializer.parse(t.urlAfterRedirects).fragment)):t instanceof F&&t.code===Re.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(t,this.urlSerializer.parse(t.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(t=>{if(!(t instanceof Se)||t.scrollBehavior===`manual`)return;let r={behavior:`instant`};t.position?this.options.scrollPositionRestoration===`top`?this.viewportScroller.scrollToPosition([0,0],r):this.options.scrollPositionRestoration===`enabled`&&this.viewportScroller.scrollToPosition(t.position,r):t.anchor&&this.options.anchorScrolling===`enabled`?this.viewportScroller.scrollToAnchor(t.anchor):this.options.scrollPositionRestoration!==`disabled`&&this.viewportScroller.scrollToPosition([0,0])})}scheduleScrollEvent(t,r){if(this.isHydrating)return;let i=vr$1(this.transitions.currentNavigation)?.extras.scroll;this.zone.runOutsideAngular(()=>L$1(this,null,function*(){yield new Promise(o=>{setTimeout(o),typeof requestAnimationFrame<`u`&&requestAnimationFrame(o)}),this.zone.run(()=>{this.transitions.events.next(new Se(t,this.lastSource===`popstate`?this.store[this.restoredId]:null,r,i))})}))}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static ɵfac=function(r){JC()};static ɵprov=P$1({token:e,factory:e.ɵfac})}return e})();function $o(){return h(X).routerState.root}function Ve(e,n){return{ɵkind:e,ɵproviders:n}}function zo(){let e=h(V$1);return n=>{let t=e.get(gt$1);if(n!==t.components[0])return;let r=e.get(X),i=e.get(Jn);e.get(Er)===1&&r.initialNavigation(),e.get(ti,null,{optional:!0})?.setUpPreloading(),e.get(Zn,null,{optional:!0})?.init(),r.resetRootComponentType(t.componentTypes[0]),i.closed||(i.next(),i.complete(),i.unsubscribe())}}var Jn=new v(``,{factory:()=>new I});var Er=new v(``,{factory:()=>1});function Xn(){return Ve(2,[{provide:Qg,useValue:!0},{provide:Er,useValue:0},Bx(()=>{let n=h(V$1);return n.get(kN,Promise.resolve()).then(()=>new Promise(r=>{let i=n.get(X),o=n.get(Jn);Mt(i,()=>{r(!0)}),n.get(Et).afterPreactivation=()=>(r(!0),o.closed?Re$1(void 0):o),i.initialNavigation()}))})])}function ei(){return Ve(3,[Bx(()=>{h(X).setUpLocationChangeListener()}),{provide:Er,useValue:2}])}var ti=new v(``);function ri(e){return Ve(0,[{provide:ti,useExisting:Yn},{provide:Be,useExisting:e}])}function ni(e={}){return Ve(8,[{provide:Fe,useFactory:()=>new _n(e,h(yr,{optional:!0}))}])}function ii(e){Qt$1(`NgRouterViewTransitions`);return Ve(9,[{provide:Sr,useValue:Gn},{provide:Cr,useValue:E({skipNextTransition:!!e?.skipInitialTransition},e)}])}var oi=[bc,{provide:ae,useClass:V},X,ce,{provide:J,useFactory:$o},bt];var qo=(()=>{class e{constructor(){}static forRoot(t,r){return{ngModule:e,providers:[oi,[],{provide:Ae,multi:!0,useValue:t},[],r?.errorHandler?{provide:wr,useValue:r.errorHandler}:[],{provide:ue,useValue:r||{}},r?.useHash?Ho():Bo(),Fo(),r?.preloadingStrategy?ri(r.preloadingStrategy).ɵproviders:[],r?.initialNavigation?Vo(r):[],r?.bindToComponentInputs?ni(typeof r.bindToComponentInputs==`object`?r.bindToComponentInputs:{}).ɵproviders:[],r?.enableViewTransitions?ii().ɵproviders:[],Go()]}}static forChild(t){return{ngModule:e,providers:[{provide:Ae,multi:!0,useValue:t}]}}static ɵfac=function(r){return new(r||e)};static ɵmod=oe$1({type:e});static ɵinj=te({})}return e})();function Fo(){return{provide:Zn,useFactory:()=>{let e=h(L4),n=h(ue);return n.scrollOffset&&e.setOffset(n.scrollOffset),new ko(n)}}}function Ho(){return{provide:fo$1,useClass:jN}}function Bo(){return{provide:fo$1,useClass:gb}}function Vo(e){return[e.initialNavigation===`disabled`?ei().ɵproviders:[],e.initialNavigation===`enabledBlocking`?Xn().ɵproviders:[]]}var Ir=new v(``);function Go(){return[{provide:Ir,useFactory:zo},{provide:Df,multi:!0,useExisting:Ir}]}export{qo as a,gr as i,J as n,X as r,$ as t};