PageSourceSearch

https://idissuer.pl/chunk-XVV3EBMI.js

js idissuer.pl collected 2026-10-07 19:54:31 UTC 70,258 bytes, 1 lines download raw bytes

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

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