import{e as rn}from"./chunk-YD4UXKDH.js";import{I as Ee,d as Jr,f as tn,g as it,h as en,i as Oe,j as bt}from"./chunk-HTY27SSS.js";import{$b as Lr,$c as Wr,Ba as S,E as b,Ea as w,Ed as Kr,F as d,Fc as qr,G as St,Gd as Me,H as Cr,Hd as Te,I as yr,Ia as y,Id as Yr,Ja as Dr,Jd as Wt,K as m,Ka as Mr,L as Ft,La as O,M as A,Ma as Re,Mb as $r,Md as Gt,N as wt,Na as q,O as Rr,Oa as l,P as me,Pc as Vr,Qa as Tr,Ra as Or,Rb as x,Rd as Qt,Sa as Er,Sb as jr,Ua as Vt,V as Z,Va as Ur,Wa as xr,Wd as Xr,Xa as Bt,Xb as Ie,Yc as Br,Z as K,Za as Pr,Zb as X,_ as et,_b as Ae,_c as Hr,a as h,aa as Ce,ab as Y,b as I,ba as rt,bb as k,da as Sr,db as Ht,ec as kr,gc as _r,h as gr,i as vr,ib as Se,ic as De,ja as qt,jb as Nr,jc as zr,k as mr,ka as F,kb as we,kd as Gr,m as ge,ma as ye,n as ve,na as wr,nc as Fr,o as _,ob as be,p as T,pb as nt,sa as br,u as z,xa as Ir,ya as U,yd as Qr,za as Ar,zd as Zr}from"./chunk-VQ6IH7OA.js";var f="primary",Lt=Symbol("RouteTitle"),$e=class{constructor(n){this.params=n||{}}has(n){return Object.prototype.hasOwnProperty.call(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 ct(e){return new $e(e)}function Zn(e,n,t){let r=t.path.split("/");if(r.length>e.length||t.pathMatch==="full"&&(n.hasChildren()||r.length<e.length))return null;let i={};for(let s=0;s<r.length;s++){let o=r[s],u=e[s];if(o.startsWith(":"))i[o.substring(1)]=u;else if(o!==u.path)return null}return{consumed:e.slice(0,r.length),posParams:i}}function Kn(e,n){if(e.length!==n.length)return!1;for(let t=0;t<e.length;++t)if(!$(e[t],n[t]))return!1;return!0}function $(e,n){let t=e?je(e):void 0,r=n?je(n):void 0;if(!t||!r||t.length!=r.length)return!1;let i;for(let s=0;s<t.length;s++)if(i=t[s],!fn(e[i],n[i]))return!1;return!0}function je(e){return[...Object.keys(e),...Object.getOwnPropertySymbols(e)]}function fn(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,s)=>r[s]===i)}else return e===n}function pn(e){return e.length>0?e[e.length-1]:null}function G(e){return Cr(e)?e:Kr(e)?b(Promise.resolve(e)):d(e)}var Yn={exact:vn,subset:mn},gn={exact:Xn,subset:Jn,ignored:()=>!0};function nn(e,n,t){return Yn[t.paths](e.root,n.root,t.matrixParams)&&gn[t.queryParams](e.queryParams,n.queryParams)&&!(t.fragment==="exact"&&e.fragment!==n.fragment)}function Xn(e,n){return $(e,n)}function vn(e,n,t){if(!tt(e.segments,n.segments)||!Yt(e.segments,n.segments,t)||e.numberOfChildren!==n.numberOfChildren)return!1;for(let r in n.children)if(!e.children[r]||!vn(e.children[r],n.children[r],t))return!1;return!0}function Jn(e,n){return Object.keys(n).length<=Object.keys(e).length&&Object.keys(n).every(t=>fn(e[t],n[t]))}function mn(e,n,t){return Cn(e,n,n.segments,t)}function Cn(e,n,t,r){if(e.segments.length>t.length){let i=e.segments.slice(0,t.length);return!(!tt(i,t)||n.hasChildren()||!Yt(i,t,r))}else if(e.segments.length===t.length){if(!tt(e.segments,t)||!Yt(e.segments,t,r))return!1;for(let i in n.children)if(!e.children[i]||!mn(e.children[i],n.children[i],r))return!1;return!0}else{let i=t.slice(0,e.segments.length),s=t.slice(e.segments.length);return!tt(e.segments,i)||!Yt(e.segments,i,r)||!e.children[f]?!1:Cn(e.children[f],n,s,r)}}function Yt(e,n,t){return n.every((r,i)=>gn[t](e[i].parameters,r.parameters))}var V=class{constructor(n=new v([],{}),t={},r=null){this.root=n,this.queryParams=t,this.fragment=r}get queryParamMap(){return this._queryParamMap??=ct(this.queryParams),this._queryParamMap}toString(){return ri.serialize(this)}},v=class{constructor(n,t){this.segments=n,this.children=t,this.parent=null,Object.values(t).forEach(r=>r.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Xt(this)}},J=class{constructor(n,t){this.path=n,this.parameters=t}get parameterMap(){return this._parameterMap??=ct(this.parameters),this._parameterMap}toString(){return Rn(this)}};function ti(e,n){return tt(e,n)&&e.every((t,r)=>$(t.parameters,n[r].parameters))}function tt(e,n){return e.length!==n.length?!1:e.every((t,r)=>t.path===n[r].path)}function ei(e,n){let t=[];return Object.entries(e.children).forEach(([r,i])=>{r===f&&(t=t.concat(n(i,r)))}),Object.entries(e.children).forEach(([r,i])=>{r!==f&&(t=t.concat(n(i,r)))}),t}var gt=(()=>{class e{static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=y({token:e,factory:()=>new Et,providedIn:"root"})}}return e})(),Et=class{parse(n){let t=new ke(n);return new V(t.parseRootSegment(),t.parseQueryParams(),t.parseFragment())}serialize(n){let t=`/${It(n.root,!0)}`,r=si(n.queryParams),i=typeof n.fragment=="string"?`#${ni(n.fragment)}`:"";return`${t}${r}${i}`}},ri=new Et;function Xt(e){return e.segments.map(n=>Rn(n)).join("/")}function It(e,n){if(!e.hasChildren())return Xt(e);if(n){let t=e.children[f]?It(e.children[f],!1):"",r=[];return Object.entries(e.children).forEach(([i,s])=>{i!==f&&r.push(`${i}:${It(s,!1)}`)}),r.length>0?`${t}(${r.join("//")})`:t}else{let t=ei(e,(r,i)=>i===f?[It(e.children[f],!1)]:[`${i}:${It(r,!1)}`]);return Object.keys(e.children).length===1&&e.children[f]!=null?`${Xt(e)}/${t[0]}`:`${Xt(e)}/(${t.join("//")})`}}function yn(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Zt(e){return yn(e).replace(/%3B/gi,";")}function ni(e){return encodeURI(e)}function Le(e){return yn(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Jt(e){return decodeURIComponent(e)}function sn(e){return Jt(e.replace(/\+/g,"%20"))}function Rn(e){return`${Le(e.path)}${ii(e.parameters)}`}function ii(e){return Object.entries(e).map(([n,t])=>`;${Le(n)}=${Le(t)}`).join("")}function si(e){let n=Object.entries(e).map(([t,r])=>Array.isArray(r)?r.map(i=>`${Zt(t)}=${Zt(i)}`).join("&"):`${Zt(t)}=${Zt(r)}`).filter(t=>t);return n.length?`?${n.join("&")}`:""}var oi=/^[^\/()?;#]+/;function Ue(e){let n=e.match(oi);return n?n[0]:""}var ai=/^[^\/()?;=#]+/;function ui(e){let n=e.match(ai);return n?n[0]:""}var ci=/^[^=?&#]+/;function li(e){let n=e.match(ci);return n?n[0]:""}var hi=/^[^&#]+/;function di(e){let n=e.match(hi);return n?n[0]:""}var ke=class{constructor(n){this.url=n,this.remaining=n}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new v([],{}):new v([],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(){if(this.remaining==="")return{};this.consumeOptional("/");let n=[];for(this.peekStartsWith("(")||n.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),n.push(this.parseSegment());let t={};this.peekStartsWith("/(")&&(this.capture("/"),t=this.parseParens(!0));let r={};return this.peekStartsWith("(")&&(r=this.parseParens(!1)),(n.length>0||Object.keys(t).length>0)&&(r[f]=new v(n,t)),r}parseSegment(){let n=Ue(this.remaining);if(n===""&&this.peekStartsWith(";"))throw new w(4009,!1);return this.capture(n),new J(Jt(n),this.parseMatrixParams())}parseMatrixParams(){let n={};for(;this.consumeOptional(";");)this.parseParam(n);return n}parseParam(n){let t=ui(this.remaining);if(!t)return;this.capture(t);let r="";if(this.consumeOptional("=")){let i=Ue(this.remaining);i&&(r=i,this.capture(r))}n[Jt(t)]=Jt(r)}parseQueryParam(n){let t=li(this.remaining);if(!t)return;this.capture(t);let r="";if(this.consumeOptional("=")){let o=di(this.remaining);o&&(r=o,this.capture(r))}let i=sn(t),s=sn(r);if(n.hasOwnProperty(i)){let o=n[i];Array.isArray(o)||(o=[o],n[i]=o),o.push(s)}else n[i]=s}parseParens(n){let t={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let r=Ue(this.remaining),i=this.remaining[r.length];if(i!=="/"&&i!==")"&&i!==";")throw new w(4010,!1);let s;r.indexOf(":")>-1?(s=r.slice(0,r.indexOf(":")),this.capture(s),this.capture(":")):n&&(s=f);let o=this.parseChildren();t[s]=Object.keys(o).length===1?o[f]:new v([],o),this.consumeOptional("//")}return t}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 w(4011,!1)}};function Sn(e){return e.segments.length>0?new v([],{[f]:e}):e}function wn(e){let n={};for(let[r,i]of Object.entries(e.children)){let s=wn(i);if(r===f&&s.segments.length===0&&s.hasChildren())for(let[o,u]of Object.entries(s.children))n[o]=u;else(s.segments.length>0||s.hasChildren())&&(n[r]=s)}let t=new v(e.segments,n);return fi(t)}function fi(e){if(e.numberOfChildren===1&&e.children[f]){let n=e.children[f];return new v(e.segments.concat(n.segments),n.children)}return e}function lt(e){return e instanceof V}function pi(e,n,t=null,r=null){let i=bn(e);return In(i,n,t,r)}function bn(e){let n;function t(s){let o={};for(let a of s.children){let c=t(a);o[a.outlet]=c}let u=new v(s.url,o);return s===e&&(n=u),u}let r=t(e.root),i=Sn(r);return n??i}function In(e,n,t,r){let i=e;for(;i.parent;)i=i.parent;if(n.length===0)return xe(i,i,i,t,r);let s=gi(n);if(s.toRoot())return xe(i,i,new v([],{}),t,r);let o=vi(s,i,e),u=o.processChildren?Mt(o.segmentGroup,o.index,s.commands):Dn(o.segmentGroup,o.index,s.commands);return xe(i,o.segmentGroup,u,t,r)}function te(e){return typeof e=="object"&&e!=null&&!e.outlets&&!e.segmentPath}function Ut(e){return typeof e=="object"&&e!=null&&e.outlets}function xe(e,n,t,r,i){let s={};r&&Object.entries(r).forEach(([a,c])=>{s[a]=Array.isArray(c)?c.map(p=>`${p}`):`${c}`});let o;e===n?o=t:o=An(e,n,t);let u=Sn(wn(o));return new V(u,s,i)}function An(e,n,t){let r={};return Object.entries(e.children).forEach(([i,s])=>{s===n?r[i]=t:r[i]=An(s,n,t)}),new v(e.segments,r)}var ee=class{constructor(n,t,r){if(this.isAbsolute=n,this.numberOfDoubleDots=t,this.commands=r,n&&r.length>0&&te(r[0]))throw new w(4003,!1);let i=r.find(Ut);if(i&&i!==pn(r))throw new w(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function gi(e){if(typeof e[0]=="string"&&e.length===1&&e[0]==="/")return new ee(!0,0,e);let n=0,t=!1,r=e.reduce((i,s,o)=>{if(typeof s=="object"&&s!=null){if(s.outlets){let u={};return Object.entries(s.outlets).forEach(([a,c])=>{u[a]=typeof c=="string"?c.split("/"):c}),[...i,{outlets:u}]}if(s.segmentPath)return[...i,s.segmentPath]}return typeof s!="string"?[...i,s]:o===0?(s.split("/").forEach((u,a)=>{a==0&&u==="."||(a==0&&u===""?t=!0:u===".."?n++:u!=""&&i.push(u))}),i):[...i,s]},[]);return new ee(t,n,r)}var at=class{constructor(n,t,r){this.segmentGroup=n,this.processChildren=t,this.index=r}};function vi(e,n,t){if(e.isAbsolute)return new at(n,!0,0);if(!t)return new at(n,!1,NaN);if(t.parent===null)return new at(t,!0,0);let r=te(e.commands[0])?0:1,i=t.segments.length-1+r;return mi(t,i,e.numberOfDoubleDots)}function mi(e,n,t){let r=e,i=n,s=t;for(;s>i;){if(s-=i,r=r.parent,!r)throw new w(4005,!1);i=r.segments.length}return new at(r,!1,i-s)}function Ci(e){return Ut(e[0])?e[0].outlets:{[f]:e}}function Dn(e,n,t){if(e??=new v([],{}),e.segments.length===0&&e.hasChildren())return Mt(e,n,t);let r=yi(e,n,t),i=t.slice(r.commandIndex);if(r.match&&r.pathIndex<e.segments.length){let s=new v(e.segments.slice(0,r.pathIndex),{});return s.children[f]=new v(e.segments.slice(r.pathIndex),e.children),Mt(s,0,i)}else return r.match&&i.length===0?new v(e.segments,{}):r.match&&!e.hasChildren()?_e(e,n,t):r.match?Mt(e,0,i):_e(e,n,t)}function Mt(e,n,t){if(t.length===0)return new v(e.segments,{});{let r=Ci(t),i={};if(Object.keys(r).some(s=>s!==f)&&e.children[f]&&e.numberOfChildren===1&&e.children[f].segments.length===0){let s=Mt(e.children[f],n,t);return new v(e.segments,s.children)}return Object.entries(r).forEach(([s,o])=>{typeof o=="string"&&(o=[o]),o!==null&&(i[s]=Dn(e.children[s],n,o))}),Object.entries(e.children).forEach(([s,o])=>{r[s]===void 0&&(i[s]=o)}),new v(e.segments,i)}}function yi(e,n,t){let r=0,i=n,s={match:!1,pathIndex:0,commandIndex:0};for(;i<e.segments.length;){if(r>=t.length)return s;let o=e.segments[i],u=t[r];if(Ut(u))break;let a=`${u}`,c=r<t.length-1?t[r+1]:null;if(i>0&&a===void 0)break;if(a&&c&&typeof c=="object"&&c.outlets===void 0){if(!an(a,c,o))return s;r+=2}else{if(!an(a,{},o))return s;r++}i++}return{match:!0,pathIndex:i,commandIndex:r}}function _e(e,n,t){let r=e.segments.slice(0,n),i=0;for(;i<t.length;){let s=t[i];if(Ut(s)){let a=Ri(s.outlets);return new v(r,a)}if(i===0&&te(t[0])){let a=e.segments[n];r.push(new J(a.path,on(t[0]))),i++;continue}let o=Ut(s)?s.outlets[f]:`${s}`,u=i<t.length-1?t[i+1]:null;o&&u&&te(u)?(r.push(new J(o,on(u))),i+=2):(r.push(new J(o,{})),i++)}return new v(r,{})}function Ri(e){let n={};return Object.entries(e).forEach(([t,r])=>{typeof r=="string"&&(r=[r]),r!==null&&(n[t]=_e(new v([],{}),0,r))}),n}function on(e){let n={};return Object.entries(e).forEach(([t,r])=>n[t]=`${r}`),n}function an(e,n,t){return e==t.path&&$(n,t.parameters)}var Tt="imperative",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||{}),E=class{constructor(n,t){this.id=n,this.url=t}},ht=class extends E{constructor(n,t,r="imperative",i=null){super(n,t),this.type=R.NavigationStart,this.navigationTrigger=r,this.restoredState=i}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},P=class extends E{constructor(n,t,r){super(n,t),this.urlAfterRedirects=r,this.type=R.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},M=function(e){return e[e.Redirect=0]="Redirect",e[e.SupersededByNewNavigation=1]="SupersededByNewNavigation",e[e.NoDataFromResolver=2]="NoDataFromResolver",e[e.GuardRejected=3]="GuardRejected",e}(M||{}),re=function(e){return e[e.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",e[e.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",e}(re||{}),B=class extends E{constructor(n,t,r,i){super(n,t),this.reason=r,this.code=i,this.type=R.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},H=class extends E{constructor(n,t,r,i){super(n,t),this.reason=r,this.code=i,this.type=R.NavigationSkipped}},dt=class extends E{constructor(n,t,r,i){super(n,t),this.error=r,this.target=i,this.type=R.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},ne=class extends E{constructor(n,t,r,i){super(n,t),this.urlAfterRedirects=r,this.state=i,this.type=R.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},ze=class extends E{constructor(n,t,r,i){super(n,t),this.urlAfterRedirects=r,this.state=i,this.type=R.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Fe=class extends E{constructor(n,t,r,i,s){super(n,t),this.urlAfterRedirects=r,this.state=i,this.shouldActivate=s,this.type=R.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},qe=class extends E{constructor(n,t,r,i){super(n,t),this.urlAfterRedirects=r,this.state=i,this.type=R.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Ve=class extends E{constructor(n,t,r,i){super(n,t),this.urlAfterRedirects=r,this.state=i,this.type=R.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Be=class{constructor(n){this.route=n,this.type=R.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},He=class{constructor(n){this.route=n,this.type=R.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},We=class{constructor(n){this.snapshot=n,this.type=R.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Ge=class{constructor(n){this.snapshot=n,this.type=R.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Qe=class{constructor(n){this.snapshot=n,this.type=R.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Ze=class{constructor(n){this.snapshot=n,this.type=R.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},ie=class{constructor(n,t,r){this.routerEvent=n,this.position=t,this.anchor=r,this.type=R.Scroll}toString(){let n=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${n}')`}},xt=class{},Pt=class{constructor(n){this.url=n}};var Ke=class{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new kt,this.attachRef=null}},kt=(()=>{class e{constructor(){this.contexts=new Map}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 Ke,this.contexts.set(t,r)),r}getContext(t){return this.contexts.get(t)||null}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),se=class{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=Ye(n,this._root);return t?t.children.map(r=>r.value):[]}firstChild(n){let t=Ye(n,this._root);return t&&t.children.length>0?t.children[0].value:null}siblings(n){let t=Xe(n,this._root);return t.length<2?[]:t[t.length-2].children.map(i=>i.value).filter(i=>i!==n)}pathFromRoot(n){return Xe(n,this._root).map(t=>t.value)}};function Ye(e,n){if(e===n.value)return n;for(let t of n.children){let r=Ye(e,t);if(r)return r}return null}function Xe(e,n){if(e===n.value)return[n];for(let t of n.children){let r=Xe(e,t);if(r.length)return r.unshift(n),r}return[]}var D=class{constructor(n,t){this.value=n,this.children=t}toString(){return`TreeNode(${this.value})`}};function ot(e){let n={};return e&&e.children.forEach(t=>n[t.value.outlet]=t),n}var oe=class extends se{constructor(n,t){super(n),this.snapshot=t,ur(this,n)}toString(){return this.snapshot.toString()}};function Mn(e){let n=Si(e),t=new T([new J("",{})]),r=new T({}),i=new T({}),s=new T({}),o=new T(""),u=new W(t,r,s,o,i,f,e,n.root);return u.snapshot=n.root,new oe(new D(u,[]),n)}function Si(e){let n={},t={},r={},i="",s=new Nt([],n,r,i,t,f,e,null,{});return new ae("",new D(s,[]))}var W=class{constructor(n,t,r,i,s,o,u,a){this.urlSubject=n,this.paramsSubject=t,this.queryParamsSubject=r,this.fragmentSubject=i,this.dataSubject=s,this.outlet=o,this.component=u,this._futureSnapshot=a,this.title=this.dataSubject?.pipe(m(c=>c[Lt]))??d(void 0),this.url=n,this.params=t,this.queryParams=r,this.fragment=i,this.data=s}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(m(n=>ct(n))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(m(n=>ct(n))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function ar(e,n,t="emptyOnly"){let r,{routeConfig:i}=e;return n!==null&&(t==="always"||i?.path===""||!n.component&&!n.routeConfig?.loadComponent)?r={params:h(h({},n.params),e.params),data:h(h({},n.data),e.data),resolve:h(h(h(h({},e.data),n.data),i?.data),e._resolvedData)}:r={params:h({},e.params),data:h({},e.data),resolve:h(h({},e.data),e._resolvedData??{})},i&&On(i)&&(r.resolve[Lt]=i.title),r}var Nt=class{get title(){return this.data?.[Lt]}constructor(n,t,r,i,s,o,u,a,c){this.url=n,this.params=t,this.queryParams=r,this.fragment=i,this.data=s,this.outlet=o,this.component=u,this.routeConfig=a,this._resolve=c}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=ct(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=ct(this.queryParams),this._queryParamMap}toString(){let n=this.url.map(r=>r.toString()).join("/"),t=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${n}', path:'${t}')`}},ae=class extends se{constructor(n,t){super(t),this.url=n,ur(this,t)}toString(){return Tn(this._root)}};function ur(e,n){n.value._routerState=e,n.children.forEach(t=>ur(e,t))}function Tn(e){let n=e.children.length>0?` { ${e.children.map(Tn).join(", ")} } `:"";return`${e.value}${n}`}function Pe(e){if(e.snapshot){let n=e.snapshot,t=e._futureSnapshot;e.snapshot=t,$(n.queryParams,t.queryParams)||e.queryParamsSubject.next(t.queryParams),n.fragment!==t.fragment&&e.fragmentSubject.next(t.fragment),$(n.params,t.params)||e.paramsSubject.next(t.params),Kn(n.url,t.url)||e.urlSubject.next(t.url),$(n.data,t.data)||e.dataSubject.next(t.data)}else e.snapshot=e._futureSnapshot,e.dataSubject.next(e._futureSnapshot.data)}function Je(e,n){let t=$(e.params,n.params)&&ti(e.url,n.url),r=!e.parent!=!n.parent;return t&&!r&&(!e.parent||Je(e.parent,n.parent))}function On(e){return typeof e.title=="string"||e.title===null}var wi=(()=>{class e{constructor(){this.activated=null,this._activatedRoute=null,this.name=f,this.activateEvents=new nt,this.deactivateEvents=new nt,this.attachEvents=new nt,this.detachEvents=new nt,this.parentContexts=l(kt),this.location=l(Lr),this.changeDetector=l(Gt),this.environmentInjector=l(Y),this.inputBinder=l(he,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}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 w(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new w(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new w(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.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 w(4013,!1);this._activatedRoute=t;let i=this.location,o=t.snapshot.component,u=this.parentContexts.getOrCreateContext(this.name).children,a=new tr(t,u,i.injector);this.activated=i.createComponent(o,{index:i.length,injector:a,environmentInjector:r??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275dir=Bt({type:e,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[Ht]})}}return e})(),tr=class e{__ngOutletInjector(n){return new e(this.route,this.childContexts,n)}constructor(n,t,r){this.route=n,this.childContexts=t,this.parent=r}get(n,t){return n===W?this.route:n===kt?this.childContexts:this.parent.get(n,t)}},he=new O(""),un=(()=>{class e{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(t){this.unsubscribeFromRouteData(t),this.subscribeToRouteData(t)}unsubscribeFromRouteData(t){this.outletDataSubscriptions.get(t)?.unsubscribe(),this.outletDataSubscriptions.delete(t)}subscribeToRouteData(t){let{activatedRoute:r}=t,i=Ft([r.queryParams,r.params,r.data]).pipe(U(([s,o,u],a)=>(u=h(h(h({},s),o),u),a===0?d(u):Promise.resolve(u)))).subscribe(s=>{if(!t.isActivated||!t.activatedComponentRef||t.activatedRoute!==r||r.component===null){this.unsubscribeFromRouteData(t);return}let o=Xr(r.component);if(!o){this.unsubscribeFromRouteData(t);return}for(let{templateName:u}of o.inputs)t.activatedComponentRef.setInput(u,s[u])});this.outletDataSubscriptions.set(t,i)}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=y({token:e,factory:e.\u0275fac})}}return e})();function bi(e,n,t){let r=$t(e,n._root,t?t._root:void 0);return new oe(r,n)}function $t(e,n,t){if(t&&e.shouldReuseRoute(n.value,t.value.snapshot)){let r=t.value;r._futureSnapshot=n.value;let i=Ii(e,n,t);return new D(r,i)}else{if(e.shouldAttach(n.value)){let s=e.retrieve(n.value);if(s!==null){let o=s.route;return o.value._futureSnapshot=n.value,o.children=n.children.map(u=>$t(e,u)),o}}let r=Ai(n.value),i=n.children.map(s=>$t(e,s));return new D(r,i)}}function Ii(e,n,t){return n.children.map(r=>{for(let i of t.children)if(e.shouldReuseRoute(r.value,i.value.snapshot))return $t(e,r,i);return $t(e,r)})}function Ai(e){return new W(new T(e.url),new T(e.params),new T(e.queryParams),new T(e.fragment),new T(e.data),e.outlet,e.component,e)}var En="ngNavigationCancelingError";function Un(e,n){let{redirectTo:t,navigationBehaviorOptions:r}=lt(n)?{redirectTo:n,navigationBehaviorOptions:void 0}:n,i=xn(!1,M.Redirect);return i.url=t,i.navigationBehaviorOptions=r,i}function xn(e,n){let t=new Error(`NavigationCancelingError: ${e||""}`);return t[En]=!0,t.cancellationCode=n,t}function Di(e){return Pn(e)&<(e.url)}function Pn(e){return!!e&&e[En]}var Mi=(()=>{class e{static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275cmp=Ur({type:e,selectors:[["ng-component"]],standalone:!0,features:[Gr],decls:1,vars:0,template:function(r,i){r&1&&qr(0,"router-outlet")},dependencies:[wi],encapsulation:2})}}return e})();function Ti(e,n){return e.providers&&!e._injector&&(e._injector=De(e.providers,n,`Route: ${e.path}`)),e._injector??n}function cr(e){let n=e.children&&e.children.map(cr),t=n?I(h({},e),{children:n}):h({},e);return!t.component&&!t.loadComponent&&(n||t.loadChildren)&&t.outlet&&t.outlet!==f&&(t.component=Mi),t}function j(e){return e.outlet||f}function Oi(e,n){let t=e.filter(r=>j(r)===n);return t.push(...e.filter(r=>j(r)!==n)),t}function _t(e){if(!e)return null;if(e.routeConfig?._injector)return e.routeConfig._injector;for(let n=e.parent;n;n=n.parent){let t=n.routeConfig;if(t?._loadedInjector)return t._loadedInjector;if(t?._injector)return t._injector}return null}var Ei=(e,n,t,r)=>m(i=>(new er(n,i.targetRouterState,i.currentRouterState,t,r).activate(e),i)),er=class{constructor(n,t,r,i,s){this.routeReuseStrategy=n,this.futureState=t,this.currState=r,this.forwardEvent=i,this.inputBindingEnabled=s}activate(n){let t=this.futureState._root,r=this.currState?this.currState._root:null;this.deactivateChildRoutes(t,r,n),Pe(this.futureState.root),this.activateChildRoutes(t,r,n)}deactivateChildRoutes(n,t,r){let i=ot(t);n.children.forEach(s=>{let o=s.value.outlet;this.deactivateRoutes(s,i[o],r),delete i[o]}),Object.values(i).forEach(s=>{this.deactivateRouteAndItsChildren(s,r)})}deactivateRoutes(n,t,r){let i=n.value,s=t?t.value:null;if(i===s)if(i.component){let o=r.getContext(i.outlet);o&&this.deactivateChildRoutes(n,t,o.children)}else this.deactivateChildRoutes(n,t,r);else s&&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,s=ot(n);for(let o of Object.values(s))this.deactivateRouteAndItsChildren(o,i);if(r&&r.outlet){let o=r.outlet.detach(),u=r.children.onOutletDeactivated();this.routeReuseStrategy.store(n.value.snapshot,{componentRef:o,route:n,contexts:u})}}deactivateRouteAndOutlet(n,t){let r=t.getContext(n.value.outlet),i=r&&n.value.component?r.children:t,s=ot(n);for(let o of Object.values(s))this.deactivateRouteAndItsChildren(o,i);r&&(r.outlet&&(r.outlet.deactivate(),r.children.onOutletDeactivated()),r.attachRef=null,r.route=null)}activateChildRoutes(n,t,r){let i=ot(t);n.children.forEach(s=>{this.activateRoutes(s,i[s.value.outlet],r),this.forwardEvent(new Ze(s.value.snapshot))}),n.children.length&&this.forwardEvent(new Ge(n.value.snapshot))}activateRoutes(n,t,r){let i=n.value,s=t?t.value:null;if(Pe(i),i===s)if(i.component){let o=r.getOrCreateContext(i.outlet);this.activateChildRoutes(n,t,o.children)}else this.activateChildRoutes(n,t,r);else if(i.component){let o=r.getOrCreateContext(i.outlet);if(this.routeReuseStrategy.shouldAttach(i.snapshot)){let u=this.routeReuseStrategy.retrieve(i.snapshot);this.routeReuseStrategy.store(i.snapshot,null),o.children.onOutletReAttached(u.contexts),o.attachRef=u.componentRef,o.route=u.route.value,o.outlet&&o.outlet.attach(u.componentRef,u.route.value),Pe(u.route.value),this.activateChildRoutes(n,null,o.children)}else{let u=_t(i.snapshot);o.attachRef=null,o.route=i,o.injector=u,o.outlet&&o.outlet.activateWith(i,o.injector),this.activateChildRoutes(n,null,o.children)}}else this.activateChildRoutes(n,null,r)}},ue=class{constructor(n){this.path=n,this.route=this.path[this.path.length-1]}},ut=class{constructor(n,t){this.component=n,this.route=t}};function Ui(e,n,t){let r=e._root,i=n?n._root:null;return At(r,i,t,[r.value])}function xi(e){let n=e.routeConfig?e.routeConfig.canActivateChild:null;return!n||n.length===0?null:{node:e,guards:n}}function vt(e,n){let t=Symbol(),r=n.get(e,t);return r===t?typeof e=="function"&&!Mr(e)?e:n.get(e):r}function At(e,n,t,r,i={canDeactivateChecks:[],canActivateChecks:[]}){let s=ot(n);return e.children.forEach(o=>{Pi(o,s[o.value.outlet],t,r.concat([o.value]),i),delete s[o.value.outlet]}),Object.entries(s).forEach(([o,u])=>Ot(u,t.getContext(o),i)),i}function Pi(e,n,t,r,i={canDeactivateChecks:[],canActivateChecks:[]}){let s=e.value,o=n?n.value:null,u=t?t.getContext(e.value.outlet):null;if(o&&s.routeConfig===o.routeConfig){let a=Ni(o,s,s.routeConfig.runGuardsAndResolvers);a?i.canActivateChecks.push(new ue(r)):(s.data=o.data,s._resolvedData=o._resolvedData),s.component?At(e,n,u?u.children:null,r,i):At(e,n,t,r,i),a&&u&&u.outlet&&u.outlet.isActivated&&i.canDeactivateChecks.push(new ut(u.outlet.component,o))}else o&&Ot(n,u,i),i.canActivateChecks.push(new ue(r)),s.component?At(e,null,u?u.children:null,r,i):At(e,null,t,r,i);return i}function Ni(e,n,t){if(typeof t=="function")return t(e,n);switch(t){case"pathParamsChange":return!tt(e.url,n.url);case"pathParamsOrQueryParamsChange":return!tt(e.url,n.url)||!$(e.queryParams,n.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Je(e,n)||!$(e.queryParams,n.queryParams);case"paramsChange":default:return!Je(e,n)}}function Ot(e,n,t){let r=ot(e),i=e.value;Object.entries(r).forEach(([s,o])=>{i.component?n?Ot(o,n.children.getContext(s),t):Ot(o,null,t):Ot(o,n,t)}),i.component?n&&n.outlet&&n.outlet.isActivated?t.canDeactivateChecks.push(new ut(n.outlet.component,i)):t.canDeactivateChecks.push(new ut(null,i)):t.canDeactivateChecks.push(new ut(null,i))}function zt(e){return typeof e=="function"}function $i(e){return typeof e=="boolean"}function ji(e){return e&&zt(e.canLoad)}function Li(e){return e&&zt(e.canActivate)}function ki(e){return e&&zt(e.canActivateChild)}function _i(e){return e&&zt(e.canDeactivate)}function zi(e){return e&&zt(e.canMatch)}function Nn(e){return e instanceof yr||e?.name==="EmptyError"}var Kt=Symbol("INITIAL_VALUE");function ft(){return U(e=>Ft(e.map(n=>n.pipe(rt(1),Ir(Kt)))).pipe(m(n=>{for(let t of n)if(t!==!0){if(t===Kt)return Kt;if(t===!1||t instanceof V)return t}return!0}),Z(n=>n!==Kt),rt(1)))}function Fi(e,n){return A(t=>{let{targetSnapshot:r,currentSnapshot:i,guards:{canActivateChecks:s,canDeactivateChecks:o}}=t;return o.length===0&&s.length===0?d(I(h({},t),{guardsResult:!0})):qi(o,r,i,e).pipe(A(u=>u&&$i(u)?Vi(r,s,e,n):d(u)),m(u=>I(h({},t),{guardsResult:u})))})}function qi(e,n,t,r){return b(e).pipe(A(i=>Qi(i.component,i.route,t,n,r)),F(i=>i!==!0,!0))}function Vi(e,n,t,r){return b(n).pipe(et(i=>Rr(Hi(i.route.parent,r),Bi(i.route,r),Gi(e,i.path,t),Wi(e,i.route,t))),F(i=>i!==!0,!0))}function Bi(e,n){return e!==null&&n&&n(new Qe(e)),d(!0)}function Hi(e,n){return e!==null&&n&&n(new We(e)),d(!0)}function Wi(e,n,t){let r=n.routeConfig?n.routeConfig.canActivate:null;if(!r||r.length===0)return d(!0);let i=r.map(s=>me(()=>{let o=_t(n)??t,u=vt(s,o),a=Li(u)?u.canActivate(n,e):k(o,()=>u(n,e));return G(a).pipe(F())}));return d(i).pipe(ft())}function Gi(e,n,t){let r=n[n.length-1],s=n.slice(0,n.length-1).reverse().map(o=>xi(o)).filter(o=>o!==null).map(o=>me(()=>{let u=o.guards.map(a=>{let c=_t(o.node)??t,p=vt(a,c),g=ki(p)?p.canActivateChild(r,e):k(c,()=>p(r,e));return G(g).pipe(F())});return d(u).pipe(ft())}));return d(s).pipe(ft())}function Qi(e,n,t,r,i){let s=n&&n.routeConfig?n.routeConfig.canDeactivate:null;if(!s||s.length===0)return d(!0);let o=s.map(u=>{let a=_t(n)??i,c=vt(u,a),p=_i(c)?c.canDeactivate(e,n,t,r):k(a,()=>c(e,n,t,r));return G(p).pipe(F())});return d(o).pipe(ft())}function Zi(e,n,t,r){let i=n.canLoad;if(i===void 0||i.length===0)return d(!0);let s=i.map(o=>{let u=vt(o,e),a=ji(u)?u.canLoad(n,t):k(e,()=>u(n,t));return G(a)});return d(s).pipe(ft(),$n(r))}function $n(e){return mr(S(n=>{if(lt(n))throw Un(e,n)}),m(n=>n===!0))}function Ki(e,n,t,r){let i=n.canMatch;if(!i||i.length===0)return d(!0);let s=i.map(o=>{let u=vt(o,e),a=zi(u)?u.canMatch(n,t):k(e,()=>u(n,t));return G(a)});return d(s).pipe(ft(),$n(r))}var jt=class{constructor(n){this.segmentGroup=n||null}},ce=class extends Error{constructor(n){super(),this.urlTree=n}};function st(e){return St(new jt(e))}function Yi(e){return St(new w(4e3,!1))}function Xi(e){return St(xn(!1,M.GuardRejected))}var rr=class{constructor(n,t){this.urlSerializer=n,this.urlTree=t}lineralizeSegments(n,t){let r=[],i=t.root;for(;;){if(r=r.concat(i.segments),i.numberOfChildren===0)return d(r);if(i.numberOfChildren>1||!i.children[f])return Yi(n.redirectTo);i=i.children[f]}}applyRedirectCommands(n,t,r){let i=this.applyRedirectCreateUrlTree(t,this.urlSerializer.parse(t),n,r);if(t.startsWith("/"))throw new ce(i);return i}applyRedirectCreateUrlTree(n,t,r,i){let s=this.createSegmentGroup(n,t.root,r,i);return new V(s,this.createQueryParams(t.queryParams,this.urlTree.queryParams),t.fragment)}createQueryParams(n,t){let r={};return Object.entries(n).forEach(([i,s])=>{if(typeof s=="string"&&s.startsWith(":")){let u=s.substring(1);r[i]=t[u]}else r[i]=s}),r}createSegmentGroup(n,t,r,i){let s=this.createSegments(n,t.segments,r,i),o={};return Object.entries(t.children).forEach(([u,a])=>{o[u]=this.createSegmentGroup(n,a,r,i)}),new v(s,o)}createSegments(n,t,r,i){return t.map(s=>s.path.startsWith(":")?this.findPosParam(n,s,i):this.findOrReturn(s,r))}findPosParam(n,t,r){let i=r[t.path.substring(1)];if(!i)throw new w(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}},nr={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Ji(e,n,t,r,i){let s=lr(e,n,t);return s.matched?(r=Ti(n,r),Ki(r,n,t,i).pipe(m(o=>o===!0?s:h({},nr)))):d(s)}function lr(e,n,t){if(n.path==="**")return ts(t);if(n.path==="")return n.pathMatch==="full"&&(e.hasChildren()||t.length>0)?h({},nr):{matched:!0,consumedSegments:[],remainingSegments:t,parameters:{},positionalParamSegments:{}};let i=(n.matcher||Zn)(t,e,n);if(!i)return h({},nr);let s={};Object.entries(i.posParams??{}).forEach(([u,a])=>{s[u]=a.path});let o=i.consumed.length>0?h(h({},s),i.consumed[i.consumed.length-1].parameters):s;return{matched:!0,consumedSegments:i.consumed,remainingSegments:t.slice(i.consumed.length),parameters:o,positionalParamSegments:i.posParams??{}}}function ts(e){return{matched:!0,parameters:e.length>0?pn(e).parameters:{},consumedSegments:e,remainingSegments:[],positionalParamSegments:{}}}function cn(e,n,t,r){return t.length>0&&ns(e,t,r)?{segmentGroup:new v(n,rs(r,new v(t,e.children))),slicedSegments:[]}:t.length===0&&is(e,t,r)?{segmentGroup:new v(e.segments,es(e,t,r,e.children)),slicedSegments:t}:{segmentGroup:new v(e.segments,e.children),slicedSegments:t}}function es(e,n,t,r){let i={};for(let s of t)if(de(e,n,s)&&!r[j(s)]){let o=new v([],{});i[j(s)]=o}return h(h({},r),i)}function rs(e,n){let t={};t[f]=n;for(let r of e)if(r.path===""&&j(r)!==f){let i=new v([],{});t[j(r)]=i}return t}function ns(e,n,t){return t.some(r=>de(e,n,r)&&j(r)!==f)}function is(e,n,t){return t.some(r=>de(e,n,r))}function de(e,n,t){return(e.hasChildren()||n.length>0)&&t.pathMatch==="full"?!1:t.path===""}function ss(e,n,t,r){return j(e)!==r&&(r===f||!de(n,t,e))?!1:lr(n,e,t).matched}function os(e,n,t){return n.length===0&&!e.children[t]}var ir=class{};function as(e,n,t,r,i,s,o="emptyOnly"){return new sr(e,n,t,r,i,o,s).recognize()}var us=31,sr=class{constructor(n,t,r,i,s,o,u){this.injector=n,this.configLoader=t,this.rootComponentType=r,this.config=i,this.urlTree=s,this.paramsInheritanceStrategy=o,this.urlSerializer=u,this.applyRedirects=new rr(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(n){return new w(4002,`'${n.segmentGroup}'`)}recognize(){let n=cn(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(n).pipe(m(t=>{let r=new Nt([],Object.freeze({}),Object.freeze(h({},this.urlTree.queryParams)),this.urlTree.fragment,{},f,this.rootComponentType,null,{}),i=new D(r,t),s=new ae("",i),o=pi(r,[],this.urlTree.queryParams,this.urlTree.fragment);return o.queryParams=this.urlTree.queryParams,s.url=this.urlSerializer.serialize(o),this.inheritParamsAndData(s._root,null),{state:s,tree:o}}))}match(n){return this.processSegmentGroup(this.injector,this.config,n,f).pipe(K(r=>{if(r instanceof ce)return this.urlTree=r.urlTree,this.match(r.urlTree.root);throw r instanceof jt?this.noMatchError(r):r}))}inheritParamsAndData(n,t){let r=n.value,i=ar(r,t,this.paramsInheritanceStrategy);r.params=Object.freeze(i.params),r.data=Object.freeze(i.data),n.children.forEach(s=>this.inheritParamsAndData(s,r))}processSegmentGroup(n,t,r,i){return r.segments.length===0&&r.hasChildren()?this.processChildren(n,t,r):this.processSegment(n,t,r,r.segments,i,!0).pipe(m(s=>s instanceof D?[s]:[]))}processChildren(n,t,r){let i=[];for(let s of Object.keys(r.children))s==="primary"?i.unshift(s):i.push(s);return b(i).pipe(et(s=>{let o=r.children[s],u=Oi(t,s);return this.processSegmentGroup(n,u,o,s)}),br((s,o)=>(s.push(...o),s)),Ce(null),wr(),A(s=>{if(s===null)return st(r);let o=jn(s);return cs(o),d(o)}))}processSegment(n,t,r,i,s,o){return b(t).pipe(et(u=>this.processSegmentAgainstRoute(u._injector??n,t,u,r,i,s,o).pipe(K(a=>{if(a instanceof jt)return d(null);throw a}))),F(u=>!!u),K(u=>{if(Nn(u))return os(r,i,s)?d(new ir):st(r);throw u}))}processSegmentAgainstRoute(n,t,r,i,s,o,u){return ss(r,i,s,o)?r.redirectTo===void 0?this.matchSegmentAgainstRoute(n,i,r,s,o):this.allowRedirects&&u?this.expandSegmentAgainstRouteUsingRedirect(n,i,t,r,s,o):st(i):st(i)}expandSegmentAgainstRouteUsingRedirect(n,t,r,i,s,o){let{matched:u,consumedSegments:a,positionalParamSegments:c,remainingSegments:p}=lr(t,i,s);if(!u)return st(t);i.redirectTo.startsWith("/")&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>us&&(this.allowRedirects=!1));let g=this.applyRedirects.applyRedirectCommands(a,i.redirectTo,c);return this.applyRedirects.lineralizeSegments(i,g).pipe(A(C=>this.processSegment(n,r,t,C.concat(p),o,!1)))}matchSegmentAgainstRoute(n,t,r,i,s){let o=Ji(t,r,i,n,this.urlSerializer);return r.path==="**"&&(t.children={}),o.pipe(U(u=>u.matched?(n=r._injector??n,this.getChildConfig(n,r,i).pipe(U(({routes:a})=>{let c=r._loadedInjector??n,{consumedSegments:p,remainingSegments:g,parameters:C}=u,Ct=new Nt(p,C,Object.freeze(h({},this.urlTree.queryParams)),this.urlTree.fragment,hs(r),j(r),r.component??r._loadedComponent??null,r,ds(r)),{segmentGroup:yt,slicedSegments:Rt}=cn(t,p,g,a);if(Rt.length===0&&yt.hasChildren())return this.processChildren(c,a,yt).pipe(m(Q=>Q===null?null:new D(Ct,Q)));if(a.length===0&&Rt.length===0)return d(new D(Ct,[]));let pe=j(r)===s;return this.processSegment(c,a,yt,Rt,pe?f:s,!0).pipe(m(Q=>new D(Ct,Q instanceof D?[Q]:[])))}))):st(t)))}getChildConfig(n,t,r){return t.children?d({routes:t.children,injector:n}):t.loadChildren?t._loadedRoutes!==void 0?d({routes:t._loadedRoutes,injector:t._loadedInjector}):Zi(n,t,r,this.urlSerializer).pipe(A(i=>i?this.configLoader.loadChildren(n,t).pipe(S(s=>{t._loadedRoutes=s.routes,t._loadedInjector=s.injector})):Xi(t))):d({routes:[],injector:n})}};function cs(e){e.sort((n,t)=>n.value.outlet===f?-1:t.value.outlet===f?1:n.value.outlet.localeCompare(t.value.outlet))}function ls(e){let n=e.value.routeConfig;return n&&n.path===""}function jn(e){let n=[],t=new Set;for(let r of e){if(!ls(r)){n.push(r);continue}let i=n.find(s=>r.value.routeConfig===s.value.routeConfig);i!==void 0?(i.children.push(...r.children),t.add(i)):n.push(r)}for(let r of t){let i=jn(r.children);n.push(new D(r.value,i))}return n.filter(r=>!t.has(r))}function hs(e){return e.data||{}}function ds(e){return e.resolve||{}}function fs(e,n,t,r,i,s){return A(o=>as(e,n,t,r,o.extractedUrl,i,s).pipe(m(({state:u,tree:a})=>I(h({},o),{targetSnapshot:u,urlAfterRedirects:a}))))}function ps(e,n){return A(t=>{let{targetSnapshot:r,guards:{canActivateChecks:i}}=t;if(!i.length)return d(t);let s=new Set(i.map(a=>a.route)),o=new Set;for(let a of s)if(!o.has(a))for(let c of Ln(a))o.add(c);let u=0;return b(o).pipe(et(a=>s.has(a)?gs(a,r,e,n):(a.data=ar(a,a.parent,e).resolve,d(void 0))),S(()=>u++),ye(1),A(a=>u===o.size?d(t):z))})}function Ln(e){let n=e.children.map(t=>Ln(t)).flat();return[e,...n]}function gs(e,n,t,r){let i=e.routeConfig,s=e._resolve;return i?.title!==void 0&&!On(i)&&(s[Lt]=i.title),vs(s,e,n,r).pipe(m(o=>(e._resolvedData=o,e.data=ar(e,e.parent,t).resolve,null)))}function vs(e,n,t,r){let i=je(e);if(i.length===0)return d({});let s={};return b(i).pipe(A(o=>ms(e[o],n,t,r).pipe(F(),S(u=>{s[o]=u}))),ye(1),Sr(s),K(o=>Nn(o)?z:St(o)))}function ms(e,n,t,r){let i=_t(n)??r,s=vt(e,i),o=s.resolve?s.resolve(n,t):k(i,()=>s(n,t));return G(o)}function Ne(e){return U(n=>{let t=e(n);return t?b(t).pipe(m(()=>n)):d(n)})}var kn=(()=>{class e{buildTitle(t){let r,i=t.root;for(;i!==void 0;)r=this.getResolvedTitleForRoute(i)??r,i=i.children.find(s=>s.outlet===f);return r}getResolvedTitleForRoute(t){return t.data[Lt]}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=y({token:e,factory:()=>l(Cs),providedIn:"root"})}}return e})(),Cs=(()=>{class e extends kn{constructor(t){super(),this.title=t}updateTitle(t){let r=this.buildTitle(t);r!==void 0&&this.title.setTitle(r)}static{this.\u0275fac=function(r){return new(r||e)(q(rn))}}static{this.\u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),mt=new O("",{providedIn:"root",factory:()=>({})}),pt=new O(""),hr=(()=>{class e{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=l(Wt)}loadComponent(t){if(this.componentLoaders.get(t))return this.componentLoaders.get(t);if(t._loadedComponent)return d(t._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(t);let r=G(t.loadComponent()).pipe(m(_n),S(s=>{this.onLoadEndListener&&this.onLoadEndListener(t),t._loadedComponent=s}),qt(()=>{this.componentLoaders.delete(t)})),i=new ve(r,()=>new _).pipe(ge());return this.componentLoaders.set(t,i),i}loadChildren(t,r){if(this.childrenLoaders.get(r))return this.childrenLoaders.get(r);if(r._loadedRoutes)return d({routes:r._loadedRoutes,injector:r._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(r);let s=ys(r,this.compiler,t,this.onLoadEndListener).pipe(qt(()=>{this.childrenLoaders.delete(r)})),o=new ve(s,()=>new _).pipe(ge());return this.childrenLoaders.set(r,o),o}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function ys(e,n,t,r){return G(e.loadChildren()).pipe(m(_n),A(i=>i instanceof _r||Array.isArray(i)?d(i):b(n.compileModuleAsync(i))),m(i=>{r&&r(e);let s,o,u=!1;return Array.isArray(i)?(o=i,u=!0):(s=i.create(t).injector,o=s.get(pt,[],{optional:!0,self:!0}).flat()),{routes:o.map(cr),injector:s}}))}function Rs(e){return e&&typeof e=="object"&&"default"in e}function _n(e){return Rs(e)?e.default:e}var dr=(()=>{class e{static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=y({token:e,factory:()=>l(Ss),providedIn:"root"})}}return e})(),Ss=(()=>{class e{shouldProcessUrl(t){return!0}extract(t){return t}merge(t,r){return t}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),zn=new O(""),Fn=new O("");function ws(e,n,t){let r=e.get(Fn),i=e.get(Jr);return e.get(X).runOutsideAngular(()=>{if(!i.startViewTransition||r.skipNextTransition)return r.skipNextTransition=!1,new Promise(c=>setTimeout(c));let s,o=new Promise(c=>{s=c}),u=i.startViewTransition(()=>(s(),bs(e))),{onViewTransitionCreated:a}=r;return a&&k(e,()=>a({transition:u,from:n,to:t})),o})}function bs(e){return new Promise(n=>{Ae(n,{injector:e})})}var fe=(()=>{class e{get hasRequestedNavigation(){return this.navigationId!==0}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new _,this.transitionAbortSubject=new _,this.configLoader=l(hr),this.environmentInjector=l(Y),this.urlSerializer=l(gt),this.rootContexts=l(kt),this.location=l(bt),this.inputBindingEnabled=l(he,{optional:!0})!==null,this.titleStrategy=l(kn),this.options=l(mt,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=l(dr),this.createViewTransition=l(zn,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>d(void 0),this.rootComponentType=null;let t=i=>this.events.next(new Be(i)),r=i=>this.events.next(new He(i));this.configLoader.onLoadEndListener=r,this.configLoader.onLoadStartListener=t}complete(){this.transitions?.complete()}handleNavigationRequest(t){let r=++this.navigationId;this.transitions?.next(I(h(h({},this.transitions.value),t),{id:r}))}setupNavigations(t,r,i){return this.transitions=new T({id:0,currentUrlTree:r,currentRawUrl:r,extractedUrl:this.urlHandlingStrategy.extract(r),urlAfterRedirects:this.urlHandlingStrategy.extract(r),rawUrl:r,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:Tt,restoredState:null,currentSnapshot:i.snapshot,targetSnapshot:null,currentRouterState:i,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(Z(s=>s.id!==0),m(s=>I(h({},s),{extractedUrl:this.urlHandlingStrategy.extract(s.rawUrl)})),U(s=>{let o=!1,u=!1;return d(s).pipe(U(a=>{if(this.navigationId>s.id)return this.cancelNavigationTransition(s,"",M.SupersededByNewNavigation),z;this.currentTransition=s,this.currentNavigation={id:a.id,initialUrl:a.rawUrl,extractedUrl:a.extractedUrl,trigger:a.source,extras:a.extras,previousNavigation:this.lastSuccessfulNavigation?I(h({},this.lastSuccessfulNavigation),{previousNavigation:null}):null};let c=!t.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),p=a.extras.onSameUrlNavigation??t.onSameUrlNavigation;if(!c&&p!=="reload"){let g="";return this.events.next(new H(a.id,this.urlSerializer.serialize(a.rawUrl),g,re.IgnoredSameUrlNavigation)),a.resolve(null),z}if(this.urlHandlingStrategy.shouldProcessUrl(a.rawUrl))return d(a).pipe(U(g=>{let C=this.transitions?.getValue();return this.events.next(new ht(g.id,this.urlSerializer.serialize(g.extractedUrl),g.source,g.restoredState)),C!==this.transitions?.getValue()?z:Promise.resolve(g)}),fs(this.environmentInjector,this.configLoader,this.rootComponentType,t.config,this.urlSerializer,this.paramsInheritanceStrategy),S(g=>{s.targetSnapshot=g.targetSnapshot,s.urlAfterRedirects=g.urlAfterRedirects,this.currentNavigation=I(h({},this.currentNavigation),{finalUrl:g.urlAfterRedirects});let C=new ne(g.id,this.urlSerializer.serialize(g.extractedUrl),this.urlSerializer.serialize(g.urlAfterRedirects),g.targetSnapshot);this.events.next(C)}));if(c&&this.urlHandlingStrategy.shouldProcessUrl(a.currentRawUrl)){let{id:g,extractedUrl:C,source:Ct,restoredState:yt,extras:Rt}=a,pe=new ht(g,this.urlSerializer.serialize(C),Ct,yt);this.events.next(pe);let Q=Mn(this.rootComponentType).snapshot;return this.currentTransition=s=I(h({},a),{targetSnapshot:Q,urlAfterRedirects:C,extras:I(h({},Rt),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=C,d(s)}else{let g="";return this.events.next(new H(a.id,this.urlSerializer.serialize(a.extractedUrl),g,re.IgnoredByUrlHandlingStrategy)),a.resolve(null),z}}),S(a=>{let c=new ze(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);this.events.next(c)}),m(a=>(this.currentTransition=s=I(h({},a),{guards:Ui(a.targetSnapshot,a.currentSnapshot,this.rootContexts)}),s)),Fi(this.environmentInjector,a=>this.events.next(a)),S(a=>{if(s.guardsResult=a.guardsResult,lt(a.guardsResult))throw Un(this.urlSerializer,a.guardsResult);let c=new Fe(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot,!!a.guardsResult);this.events.next(c)}),Z(a=>a.guardsResult?!0:(this.cancelNavigationTransition(a,"",M.GuardRejected),!1)),Ne(a=>{if(a.guards.canActivateChecks.length)return d(a).pipe(S(c=>{let p=new qe(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(p)}),U(c=>{let p=!1;return d(c).pipe(ps(this.paramsInheritanceStrategy,this.environmentInjector),S({next:()=>p=!0,complete:()=>{p||this.cancelNavigationTransition(c,"",M.NoDataFromResolver)}}))}),S(c=>{let p=new Ve(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(p)}))}),Ne(a=>{let c=p=>{let g=[];p.routeConfig?.loadComponent&&!p.routeConfig._loadedComponent&&g.push(this.configLoader.loadComponent(p.routeConfig).pipe(S(C=>{p.component=C}),m(()=>{})));for(let C of p.children)g.push(...c(C));return g};return Ft(c(a.targetSnapshot.root)).pipe(Ce(null),rt(1))}),Ne(()=>this.afterPreactivation()),U(()=>{let{currentSnapshot:a,targetSnapshot:c}=s,p=this.createViewTransition?.(this.environmentInjector,a.root,c.root);return p?b(p).pipe(m(()=>s)):d(s)}),m(a=>{let c=bi(t.routeReuseStrategy,a.targetSnapshot,a.currentRouterState);return this.currentTransition=s=I(h({},a),{targetRouterState:c}),this.currentNavigation.targetRouterState=c,s}),S(()=>{this.events.next(new xt)}),Ei(this.rootContexts,t.routeReuseStrategy,a=>this.events.next(a),this.inputBindingEnabled),rt(1),S({next:a=>{o=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new P(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects))),this.titleStrategy?.updateTitle(a.targetRouterState.snapshot),a.resolve(!0)},complete:()=>{o=!0}}),Ar(this.transitionAbortSubject.pipe(S(a=>{throw a}))),qt(()=>{!o&&!u&&this.cancelNavigationTransition(s,"",M.SupersededByNewNavigation),this.currentTransition?.id===s.id&&(this.currentNavigation=null,this.currentTransition=null)}),K(a=>{if(u=!0,Pn(a))this.events.next(new B(s.id,this.urlSerializer.serialize(s.extractedUrl),a.message,a.cancellationCode)),Di(a)?this.events.next(new Pt(a.url)):s.resolve(!1);else{this.events.next(new dt(s.id,this.urlSerializer.serialize(s.extractedUrl),a,s.targetSnapshot??void 0));try{s.resolve(t.errorHandler(a))}catch(c){this.options.resolveNavigationPromiseOnError?s.resolve(!1):s.reject(c)}}return z}))}))}cancelNavigationTransition(t,r,i){let s=new B(t.id,this.urlSerializer.serialize(t.extractedUrl),r,i);this.events.next(s),t.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){return this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))).toString()!==this.currentTransition?.extractedUrl.toString()&&!this.currentTransition?.extras.skipLocationChange}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function Is(e){return e!==Tt}var As=(()=>{class e{static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=y({token:e,factory:()=>l(Ds),providedIn:"root"})}}return e})(),or=class{shouldDetach(n){return!1}store(n,t){}shouldAttach(n){return!1}retrieve(n){return null}shouldReuseRoute(n,t){return n.routeConfig===t.routeConfig}},Ds=(()=>{class e extends or{static{this.\u0275fac=(()=>{let t;return function(i){return(t||(t=Se(e)))(i||e)}})()}static{this.\u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),qn=(()=>{class e{static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=y({token:e,factory:()=>l(Ms),providedIn:"root"})}}return e})(),Ms=(()=>{class e extends qn{constructor(){super(...arguments),this.location=l(bt),this.urlSerializer=l(gt),this.options=l(mt,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=l(dr),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new V,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=Mn(null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(t){return this.location.subscribe(r=>{r.type==="popstate"&&t(r.url,r.state)})}handleRouterEvent(t,r){if(t instanceof ht)this.stateMemento=this.createStateMemento();else if(t instanceof H)this.rawUrlTree=r.initialUrl;else if(t instanceof ne){if(this.urlUpdateStrategy==="eager"&&!r.extras.skipLocationChange){let i=this.urlHandlingStrategy.merge(r.finalUrl,r.initialUrl);this.setBrowserUrl(i,r)}}else t instanceof xt?(this.currentUrlTree=r.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(r.finalUrl,r.initialUrl),this.routerState=r.targetRouterState,this.urlUpdateStrategy==="deferred"&&(r.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,r))):t instanceof B&&(t.code===M.GuardRejected||t.code===M.NoDataFromResolver)?this.restoreHistory(r):t instanceof dt?this.restoreHistory(r,!0):t instanceof P&&(this.lastSuccessfulId=t.id,this.currentPageId=this.browserPageId)}setBrowserUrl(t,r){let i=this.urlSerializer.serialize(t);if(this.location.isCurrentPathEqualTo(i)||r.extras.replaceUrl){let s=this.browserPageId,o=h(h({},r.extras.state),this.generateNgRouterState(r.id,s));this.location.replaceState(i,"",o)}else{let s=h(h({},r.extras.state),this.generateNgRouterState(r.id,this.browserPageId+1));this.location.go(i,"",s)}}restoreHistory(t,r=!1){if(this.canceledNavigationResolution==="computed"){let i=this.browserPageId,s=this.currentPageId-i;s!==0?this.location.historyGo(s):this.currentUrlTree===t.finalUrl&&s===0&&(this.resetState(t),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(r&&this.resetState(t),this.resetUrlToCurrentUrlTree())}resetState(t){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,t.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(t,r){return this.canceledNavigationResolution==="computed"?{navigationId:t,\u0275routerPageId:r}:{navigationId:t}}static{this.\u0275fac=(()=>{let t;return function(i){return(t||(t=Se(e)))(i||e)}})()}static{this.\u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),Dt=function(e){return e[e.COMPLETE=0]="COMPLETE",e[e.FAILED=1]="FAILED",e[e.REDIRECTING=2]="REDIRECTING",e}(Dt||{});function Vn(e,n){e.events.pipe(Z(t=>t instanceof P||t instanceof B||t instanceof dt||t instanceof H),m(t=>t instanceof P||t instanceof H?Dt.COMPLETE:(t instanceof B?t.code===M.Redirect||t.code===M.SupersededByNewNavigation:!1)?Dt.REDIRECTING:Dt.FAILED),Z(t=>t!==Dt.REDIRECTING),rt(1)).subscribe(()=>{n()})}function Ts(e){throw e}var Os={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Es={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},N=(()=>{class e{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){this.disposed=!1,this.isNgZoneEnabled=!1,this.console=l(Zr),this.stateManager=l(qn),this.options=l(mt,{optional:!0})||{},this.pendingTasks=l(zr),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=l(fe),this.urlSerializer=l(gt),this.location=l(bt),this.urlHandlingStrategy=l(dr),this._events=new _,this.errorHandler=this.options.errorHandler||Ts,this.navigated=!1,this.routeReuseStrategy=l(As),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=l(pt,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!l(he,{optional:!0}),this.eventsSubscription=new vr,this.isNgZoneEnabled=l(X)instanceof X&&X.isInAngularZone(),this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:t=>{this.console.warn(t)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){let t=this.navigationTransitions.events.subscribe(r=>{try{let i=this.navigationTransitions.currentTransition,s=this.navigationTransitions.currentNavigation;if(i!==null&&s!==null){if(this.stateManager.handleRouterEvent(r,s),r instanceof B&&r.code!==M.Redirect&&r.code!==M.SupersededByNewNavigation)this.navigated=!0;else if(r instanceof P)this.navigated=!0;else if(r instanceof Pt){let o=this.urlHandlingStrategy.merge(r.url,i.currentRawUrl),u={info:i.extras.info,skipLocationChange:i.extras.skipLocationChange,replaceUrl:this.urlUpdateStrategy==="eager"||Is(i.source)};this.scheduleNavigation(o,Tt,null,u,{resolve:i.resolve,reject:i.reject,promise:i.promise})}}xs(r)&&this._events.next(r)}catch(i){this.navigationTransitions.transitionAbortSubject.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),Tt,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((t,r)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(t,"popstate",r)},0)})}navigateToSyncWithBrowser(t,r,i){let s={replaceUrl:!0},o=i?.navigationId?i:null;if(i){let a=h({},i);delete a.navigationId,delete a.\u0275routerPageId,Object.keys(a).length!==0&&(s.state=a)}let u=this.parseUrl(t);this.scheduleNavigation(u,r,o,s)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(t){this.config=t.map(cr),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(t,r={}){let{relativeTo:i,queryParams:s,fragment:o,queryParamsHandling:u,preserveFragment:a}=r,c=a?this.currentUrlTree.fragment:o,p=null;switch(u){case"merge":p=h(h({},this.currentUrlTree.queryParams),s);break;case"preserve":p=this.currentUrlTree.queryParams;break;default:p=s||null}p!==null&&(p=this.removeEmptyProps(p));let g;try{let C=i?i.snapshot:this.routerState.snapshot.root;g=bn(C)}catch{(typeof t[0]!="string"||!t[0].startsWith("/"))&&(t=[]),g=this.currentUrlTree.root}return In(g,t,p,c??null)}navigateByUrl(t,r={skipLocationChange:!1}){let i=lt(t)?t:this.parseUrl(t),s=this.urlHandlingStrategy.merge(i,this.rawUrlTree);return this.scheduleNavigation(s,Tt,null,r)}navigate(t,r={skipLocationChange:!1}){return Us(t),this.navigateByUrl(this.createUrlTree(t,r),r)}serializeUrl(t){return this.urlSerializer.serialize(t)}parseUrl(t){try{return this.urlSerializer.parse(t)}catch{return this.urlSerializer.parse("/")}}isActive(t,r){let i;if(r===!0?i=h({},Os):r===!1?i=h({},Es):i=r,lt(t))return nn(this.currentUrlTree,t,i);let s=this.parseUrl(t);return nn(this.currentUrlTree,s,i)}removeEmptyProps(t){return Object.entries(t).reduce((r,[i,s])=>(s!=null&&(r[i]=s),r),{})}scheduleNavigation(t,r,i,s,o){if(this.disposed)return Promise.resolve(!1);let u,a,c;o?(u=o.resolve,a=o.reject,c=o.promise):c=new Promise((g,C)=>{u=g,a=C});let p=this.pendingTasks.add();return Vn(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(p))}),this.navigationTransitions.handleNavigationRequest({source:r,restoredState:i,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:t,extras:s,resolve:u,reject:a,promise:c,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),c.catch(g=>Promise.reject(g))}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function Us(e){for(let n=0;n<e.length;n++)if(e[n]==null)throw new w(4008,!1)}function xs(e){return!(e instanceof xt)&&!(e instanceof Pt)}var ln=(()=>{class e{constructor(t,r,i,s,o,u){this.router=t,this.route=r,this.tabIndexAttribute=i,this.renderer=s,this.el=o,this.locationStrategy=u,this.href=null,this.commands=null,this.onChanges=new _,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;let a=o.nativeElement.tagName?.toLowerCase();this.isAnchorElement=a==="a"||a==="area",this.isAnchorElement?this.subscription=t.events.subscribe(c=>{c instanceof P&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(t){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue("tabindex",t)}ngOnChanges(t){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(t){t!=null?(this.commands=Array.isArray(t)?t:[t],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(t,r,i,s,o){let u=this.urlTree;if(u===null||this.isAnchorElement&&(t!==0||r||i||s||o||typeof this.target=="string"&&this.target!="_self"))return!0;let a={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info};return this.router.navigateByUrl(u,a),!this.isAnchorElement}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){let t=this.urlTree;this.href=t!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(t)):null;let r=this.href===null?null:$r(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",r)}applyAttributeValue(t,r){let i=this.renderer,s=this.el.nativeElement;r!==null?i.setAttribute(s,t,r):i.removeAttribute(s,t)}get urlTree(){return this.commands===null?null:this.router.createUrlTree(this.commands,{relativeTo:this.relativeTo!==void 0?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}static{this.\u0275fac=function(r){return new(r||e)(x(N),x(W),Nr("tabindex"),x(Ie),x(be),x(it))}}static{this.\u0275dir=Bt({type:e,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(r,i){r&1&&Vr("click",function(o){return i.onClick(o.button,o.ctrlKey,o.shiftKey,o.altKey,o.metaKey)}),r&2&&Fr("target",i.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[Vt.HasDecoratorInputTransform,"preserveFragment","preserveFragment",Qt],skipLocationChange:[Vt.HasDecoratorInputTransform,"skipLocationChange","skipLocationChange",Qt],replaceUrl:[Vt.HasDecoratorInputTransform,"replaceUrl","replaceUrl",Qt],routerLink:"routerLink"},standalone:!0,features:[kr,Ht]})}}return e})(),po=(()=>{class e{get isActive(){return this._isActive}constructor(t,r,i,s,o){this.router=t,this.element=r,this.renderer=i,this.cdr=s,this.link=o,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new nt,this.routerEventsSubscription=t.events.subscribe(u=>{u instanceof P&&this.update()})}ngAfterContentInit(){d(this.links.changes,d(null)).pipe(wt()).subscribe(t=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();let t=[...this.links.toArray(),this.link].filter(r=>!!r).map(r=>r.onChanges);this.linkInputChangesSubscription=b(t).pipe(wt()).subscribe(r=>{this._isActive!==this.isLinkActive(this.router)(r)&&this.update()})}set routerLinkActive(t){let r=Array.isArray(t)?t:t.split(" ");this.classes=r.filter(i=>!!i)}ngOnChanges(t){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{let t=this.hasActiveLinks();this.classes.forEach(r=>{t?this.renderer.addClass(this.element.nativeElement,r):this.renderer.removeClass(this.element.nativeElement,r)}),t&&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!==t&&(this._isActive=t,this.cdr.markForCheck(),this.isActiveChange.emit(t))})}isLinkActive(t){let r=Ps(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return i=>{let s=i.urlTree;return s?t.isActive(s,r):!1}}hasActiveLinks(){let t=this.isLinkActive(this.router);return this.link&&t(this.link)||this.links.some(t)}static{this.\u0275fac=function(r){return new(r||e)(x(N),x(be),x(Ie),x(Gt),x(ln,8))}}static{this.\u0275dir=Bt({type:e,selectors:[["","routerLinkActive",""]],contentQueries:function(r,i,s){if(r&1&&Br(s,ln,5),r&2){let o;Hr(o=Wr())&&(i.links=o)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[Ht]})}}return e})();function Ps(e){return!!e.paths}var le=class{},go=(()=>{class e{preload(t,r){return r().pipe(K(()=>d(null)))}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),vo=(()=>{class e{preload(t,r){return d(null)}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),Ns=(()=>{class e{constructor(t,r,i,s,o){this.router=t,this.injector=i,this.preloadingStrategy=s,this.loader=o}setUpPreloading(){this.subscription=this.router.events.pipe(Z(t=>t instanceof P),et(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(t,r){let i=[];for(let s of r){s.providers&&!s._injector&&(s._injector=De(s.providers,t,`Route: ${s.path}`));let o=s._injector??t,u=s._loadedInjector??o;(s.loadChildren&&!s._loadedRoutes&&s.canLoad===void 0||s.loadComponent&&!s._loadedComponent)&&i.push(this.preloadConfig(o,s)),(s.children||s._loadedRoutes)&&i.push(this.processRoutes(u,s.children??s._loadedRoutes))}return b(i).pipe(wt())}preloadConfig(t,r){return this.preloadingStrategy.preload(r,()=>{let i;r.loadChildren&&r.canLoad===void 0?i=this.loader.loadChildren(t,r):i=d(null);let s=i.pipe(A(o=>o===null?d(void 0):(r._loadedRoutes=o.routes,r._loadedInjector=o.injector,this.processRoutes(o.injector??t,o.routes))));if(r.loadComponent&&!r._loadedComponent){let o=this.loader.loadComponent(r);return b([s,o]).pipe(wt())}else return s})}static{this.\u0275fac=function(r){return new(r||e)(q(N),q(Wt),q(Y),q(le),q(hr))}}static{this.\u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),fr=new O(""),Bn=(()=>{class e{constructor(t,r,i,s,o={}){this.urlSerializer=t,this.transitions=r,this.viewportScroller=i,this.zone=s,this.options=o,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},this.environmentInjector=l(Y),o.scrollPositionRestoration||="disabled",o.anchorScrolling||="disabled"}init(){this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(t=>{t instanceof ht?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=t.navigationTrigger,this.restoredId=t.restoredState?t.restoredState.navigationId:0):t instanceof P?(this.lastId=t.id,this.scheduleScrollEvent(t,this.urlSerializer.parse(t.urlAfterRedirects).fragment)):t instanceof H&&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=>{t instanceof ie&&(t.position?this.options.scrollPositionRestoration==="top"?this.viewportScroller.scrollToPosition([0,0]):this.options.scrollPositionRestoration==="enabled"&&this.viewportScroller.scrollToPosition(t.position):t.anchor&&this.options.anchorScrolling==="enabled"?this.viewportScroller.scrollToAnchor(t.anchor):this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(t,r){this.zone.runOutsideAngular(()=>gr(this,null,function*(){yield new Promise(i=>{setTimeout(()=>{i()}),Ae(()=>{i()},{injector:this.environmentInjector})}),this.zone.run(()=>{this.transitions.events.next(new ie(t,this.lastSource==="popstate"?this.store[this.restoredId]:null,r))})}))}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static{this.\u0275fac=function(r){jr()}}static{this.\u0275prov=y({token:e,factory:e.\u0275fac})}}return e})();function mo(e,...n){return Pr([{provide:pt,multi:!0,useValue:e},[],{provide:W,useFactory:Hn,deps:[N]},{provide:Te,multi:!0,useFactory:Wn},n.map(t=>t.\u0275providers)])}function Hn(e){return e.routerState.root}function L(e,n){return{\u0275kind:e,\u0275providers:n}}function Co(e){return[{provide:pt,multi:!0,useValue:e},[]]}function yo(e={}){return L(4,[{provide:fr,useFactory:()=>{let t=l(Ee),r=l(X),i=l(fe),s=l(gt);return new Bn(s,i,t,r,e)}}])}function Wn(){let e=l(we);return n=>{let t=e.get(Yr);if(n!==t.components[0])return;let r=e.get(N),i=e.get(Gn);e.get(pr)===1&&r.initialNavigation(),e.get(Qn,null,Re.Optional)?.setUpPreloading(),e.get(fr,null,Re.Optional)?.init(),r.resetRootComponentType(t.componentTypes[0]),i.closed||(i.next(),i.complete(),i.unsubscribe())}}var Gn=new O("",{factory:()=>new _}),pr=new O("",{providedIn:"root",factory:()=>1});function $s(){return L(2,[{provide:pr,useValue:0},{provide:Me,multi:!0,deps:[we],useFactory:n=>{let t=n.get(tn,Promise.resolve());return()=>t.then(()=>new Promise(r=>{let i=n.get(N),s=n.get(Gn);Vn(i,()=>{r(!0)}),n.get(fe).afterPreactivation=()=>(r(!0),s.closed?d(void 0):s),i.initialNavigation()}))}}])}function js(){return L(3,[{provide:Me,multi:!0,useFactory:()=>{let n=l(N);return()=>{n.setUpLocationChangeListener()}}},{provide:pr,useValue:2}])}function Ro(){let e=[];return e=[],L(1,e)}var Qn=new O("");function Ls(e){return L(0,[{provide:Qn,useExisting:Ns},{provide:le,useExisting:e}])}function So(e){return L(5,[{provide:mt,useValue:e}])}function wo(){return L(6,[{provide:it,useClass:Oe}])}function bo(e){return L(7,[{provide:Er,multi:!0,useValue:()=>{let t=l(Y);l(N).events.subscribe(r=>{r instanceof dt&&k(t,()=>e(r))})}}])}function ks(){return L(8,[un,{provide:he,useExisting:un}])}function _s(e){let n=[{provide:zn,useValue:ws},{provide:Fn,useValue:h({skipNextTransition:!!e?.skipInitialTransition},e)}];return L(9,n)}var hn=new O("ROUTER_FORROOT_GUARD"),zs=[bt,{provide:gt,useClass:Et},N,kt,{provide:W,useFactory:Hn,deps:[N]},hr,[]],Io=(()=>{class e{constructor(t){}static forRoot(t,r){return{ngModule:e,providers:[zs,[],{provide:pt,multi:!0,useValue:t},{provide:hn,useFactory:Bs,deps:[[N,new Tr,new Or]]},{provide:mt,useValue:r||{}},r?.useHash?qs():Vs(),Fs(),r?.preloadingStrategy?Ls(r.preloadingStrategy).\u0275providers:[],r?.initialNavigation?Hs(r):[],r?.bindToComponentInputs?ks().\u0275providers:[],r?.enableViewTransitions?_s().\u0275providers:[],Ws()]}}static forChild(t){return{ngModule:e,providers:[{provide:pt,multi:!0,useValue:t}]}}static{this.\u0275fac=function(r){return new(r||e)(q(hn,8))}}static{this.\u0275mod=xr({type:e})}static{this.\u0275inj=Dr({})}}return e})();function Fs(){return{provide:fr,useFactory:()=>{let e=l(Ee),n=l(X),t=l(mt),r=l(fe),i=l(gt);return t.scrollOffset&&e.setOffset(t.scrollOffset),new Bn(i,r,e,n,t)}}}function qs(){return{provide:it,useClass:Oe}}function Vs(){return{provide:it,useClass:en}}function Bs(e){return"guarded"}function Hs(e){return[e.initialNavigation==="disabled"?js().\u0275providers:[],e.initialNavigation==="enabledBlocking"?$s().\u0275providers:[]]}var dn=new O("");function Ws(){return[{provide:dn,useFactory:Wn},{provide:Te,multi:!0,useExisting:dn}]}function Ao(e){return e.map(n=>(...t)=>l(n).canMatch(...t))}function Do(e){return e.map(n=>(...t)=>l(n).canActivate(...t))}function Mo(e){return e.map(n=>(...t)=>l(n).canActivateChild(...t))}function To(e){return e.map(n=>(...t)=>l(n).canDeactivate(...t))}function Oo(e){return(...n)=>l(e).resolve(...n)}var Eo=new Qr("17.3.12");export{f as a,ct as b,Zn as c,V as d,v as e,J as f,gt as g,Et as h,pi as i,R as j,E as k,ht as l,P as m,M as n,re as o,B as p,H as q,dt as r,ne as s,ze as t,Fe as u,qe as v,Ve as w,Be as x,He as y,We as z,Ge as A,Qe as B,Ze as C,ie as D,Ke as E,kt as F,oe as G,W as H,Nt as I,ae as J,wi as K,Mi as L,kn as M,Cs as N,mt as O,pt as P,ys as Q,dr as R,As as S,or as T,Vn as U,N as V,ln as W,po as X,le as Y,go as Z,vo as _,Ns as $,mo as aa,Co as ba,yo as ca,$s as da,js as ea,Ro as fa,Ls as ga,So as ha,wo as ia,bo as ja,ks as ka,_s as la,zs as ma,Io as na,dn as oa,Ao as pa,Do as qa,Mo as ra,To as sa,Oo as ta,Eo as ua};