1"use strict";(self.webpackChunkwww_discover_com=self.webpackChunkwww_discover_com||[]).push([[204,281,823],{281:(Pr,mt,_)=>{_.r(mt),_.d(mt,{ActivatedRoute:()=>V,ActivatedRouteSnapshot:()=>ct,ActivationEnd:()=>He,ActivationStart:()=>qe,BaseRouteReuseStrategy:()=>mr,ChildActivationEnd:()=>Fe,ChildActivationStart:()=>Be,ChildrenOutletContexts:()=>Z,DefaultTitleStrategy:()=>cr,DefaultUrlSerializer:()=>nt,EventType:()=>A,GuardsCheckEnd:()=>$e,GuardsCheckStart:()=>Ne,NavigationCancel:()=>x,NavigationCancellationCode:()=>C,NavigationEnd:()=>P,NavigationError:()=>_t,NavigationSkipped:()=>H,NavigationSkippedCode:()=>lt,NavigationStart:()=>ut,NoPreloading:()=>Ci,OutletContext:()=>Ve,PRIMARY_OUTLET:()=>g,PreloadAllModules:()=>yi,PreloadingStrategy:()=>le,ROUTER_CONFIGURATION:()=>L,ROUTER_INITIALIZER:()=>de,ROUTER_OUTLET_DATA:()=>Ke,ROUTES:()=>G,RedirectCommand:()=>Tt,ResolveEnd:()=>Le,ResolveStart:()=>xe,RouteConfigLoadEnd:()=>ze,RouteConfigLoadStart:()=>ke,RouteReuseStrategy:()=>gr,Router:()=>I,RouterEvent:()=>T,RouterLink:()=>vt,RouterLinkActive:()=>Rr,RouterLinkWithHref:()=>vt,RouterModule:()=>Di,RouterOutlet:()=>Jt,RouterPreloader:()=>Sr,RouterState:()=>Wt,RouterStateSnapshot:()=>Qt,RoutesRecognized:()=>Ft,Scroll:()=>qt,TitleStrategy:()=>oe,UrlHandlingStrategy:()=>Ut,UrlSegment:()=>Y,UrlSegmentGroup:()=>R,UrlSerializer:()=>F,UrlTree:()=>$,VERSION:()=>Fi,convertToParamMap:()=>w,createUrlTreeFromSnapshot:()=>Ee,defaultUrlMatcher:()=>At,mapToCanActivate:()=>Li,mapToCanActivateChild:()=>ki,mapToCanDeactivate:()=>zi,mapToCanMatch:()=>xi,mapToResolve:()=>Bi,provideRouter:()=>wi,provideRoutes:()=>_i,withComponentInputBinding:()=>Tr,withDebugTracing:()=>Ei,withDisabledInitialNavigation:()=>Ir,withEnabledBlockingInitialNavigation:()=>_r,withHashLocation:()=>Ti,withInMemoryScrolling:()=>Ii,withNavigationErrorHandler:()=>ji,withPreloading:()=>Mr,withRouterConfig:()=>Mi,withViewTransitions:()=>jr,\u0275EmptyOutletComponent:()=>Xt,\u0275ROUTER_PROVIDERS:()=>Dr,\u0275afterNextNavigation:()=>ue,\u0275loadChildren:()=>hr});var v=_(954),a=_(6732),y=_(5506),l=_(5372),p=_(8515),h=_(8567),Q=_(9921);const g="primary",M=Symbol("RouteTitle");class z{constructor(e){(0,a.A)(this,"params",void 0),this.params=e||{}}has(e){return Object.prototype.hasOwnProperty.call(this.params,e)}get(e){if(this.has(e)){const i=this.params[e];return Array.isArray(i)?i[0]:i}return null}getAll(e){if(this.has(e)){const i=this.params[e];return Array.isArray(i)?i:[i]}return[]}get keys(){return Object.keys(this.params)}}function w(t){return new z(t)}function At(t,e,i){const r=i.path.split("/");if(r.length>t.length||"full"===i.pathMatch&&(e.hasChildren()||r.length<t.length))return null;const n={};for(let s=0;s<r.length;s++){const o=r[s],u=t[s];if(":"===o[0])n[o.substring(1)]=u;else if(o!==u.path)return null}return{consumed:t.slice(0,r.length),posParams:n}}function O(t,e){const i=t?xt(t):void 0,r=e?xt(e):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],!ve(t[n],e[n]))return!1;return!0}function xt(t){return[...Object.keys(t),...Object.getOwnPropertySymbols(t)]}function ve(t,e){if(Array.isArray(t)&&Array.isArray(e)){if(t.length!==e.length)return!1;const i=[...t].sort(),r=[...e].sort();return i.every((n,s)=>r[s]===n)}return t===e}function ge(t){return t.length>0?t[t.length-1]:null}function N(t){return(0,p.isObservable)(t)?t:(0,l.\u0275isPromise)(t)?(0,p.from)(Promise.resolve(t)):(0,p.of)(t)}const Nr={exact:function Re(t,e,i){if(!B(t.segments,e.segments)||!Rt(t.segments,e.segments,i)||t.numberOfChildren!==e.numberOfChildren)return!1;for(const r in e.children)if(!t.children[r]||!Re(t.children[r],e.children[r],i))return!1;return!0},subset:Se},me={exact:function $r(t,e){return O(t,e)},subset:function xr(t,e){return Object.keys(e).length<=Object.keys(t).length&&Object.keys(e).every(i=>ve(t[i],e[i]))},ignored:()=>!0};function Ae(t,e,i){return Nr[i.paths](t.root,e.root,i.matrixParams)&&me[i.queryParams](t.queryParams,e.queryParams)&&!("exact"===i.fragment&&t.fragment!==e.fragment)}function Se(t,e,i){return ye(t,e,e.segments,i)}function ye(t,e,i,r){if(t.segments.length>i.length){const n=t.segments.slice(0,i.length);
1return!(!B(n,i)||e.hasChildren()||!Rt(n,i,r))}if(t.segments.length===i.length){if(!B(t.segments,i)||!Rt(t.segments,i,r))return!1;for(const n in e.children)if(!t.children[n]||!Se(t.children[n],e.children[n],r))return!1;return!0}{const n=i.slice(0,t.segments.length),s=i.slice(t.segments.length);return!!(B(t.segments,n)&&Rt(t.segments,n,r)&&t.children[g])&&ye(t.children[g],e,s,r)}}function Rt(t,e,i){return e.every((r,n)=>me[i](t[n].parameters,r.parameters))}class ${constructor(e=new R([],{}),i={},r=null){(0,a.A)(this,"root",void 0),(0,a.A)(this,"queryParams",void 0),(0,a.A)(this,"fragment",void 0),(0,a.A)(this,"_queryParamMap",void 0),this.root=e,this.queryParams=i,this.fragment=r}get queryParamMap(){var e;return null!==(e=this._queryParamMap)&&void 0!==e||(this._queryParamMap=w(this.queryParams)),this._queryParamMap}toString(){return zr.serialize(this)}}class R{constructor(e,i){(0,a.A)(this,"segments",void 0),(0,a.A)(this,"children",void 0),(0,a.A)(this,"parent",null),this.segments=e,this.children=i,Object.values(i).forEach(r=>r.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return St(this)}}class Y{constructor(e,i){(0,a.A)(this,"path",void 0),(0,a.A)(this,"parameters",void 0),(0,a.A)(this,"_parameterMap",void 0),this.path=e,this.parameters=i}get parameterMap(){var e;return null!==(e=this._parameterMap)&&void 0!==e||(this._parameterMap=w(this.parameters)),this._parameterMap}toString(){return be(this)}}function B(t,e){return t.length===e.length&&t.every((i,r)=>i.path===e[r].path)}let F=(()=>{var t;class e{}return t=e,(0,a.A)(e,"\u0275fac",function(r){return new(r||t)}),(0,a.A)(e,"\u0275prov",l.\u0275\u0275defineInjectable({token:t,factory:()=>new nt,providedIn:"root"})),e})();class nt{parse(e){const i=new Zr(e);return new $(i.parseRootSegment(),i.parseQueryParams(),i.parseFragment())}serialize(e){const i="/".concat(it(e.root,!0)),r=function qr(t){const e=Object.entries(t).map(([i,r])=>Array.isArray(r)?r.map(n=>"".concat(yt(i),"=").concat(yt(n))).join("&"):"".concat(yt(i),"=").concat(yt(r))).filter(i=>i);return e.length?"?".concat(e.join("&")):""}(e.queryParams),n="string"==typeof e.fragment?"#".concat(function Br(t){return encodeURI(t)}(e.fragment)):"";return"".concat(i).concat(r).concat(n)}}const zr=new nt;function St(t){return t.segments.map(e=>be(e)).join("/")}function it(t,e){if(!t.hasChildren())return St(t);if(e){const i=t.children[g]?it(t.children[g],!1):"",r=[];return Object.entries(t.children).forEach(([n,s])=>{n!==g&&r.push("".concat(n,":").concat(it(s,!1)))}),r.length>0?"".concat(i,"(").concat(r.join("//"),")"):i}{const i=function kr(t,e){let i=[];return Object.entries(t.children).forEach(([r,n])=>{r===g&&(i=i.concat(e(n,r)))}),Object.entries(t.children).forEach(([r,n])=>{r!==g&&(i=i.concat(e(n,r)))}),i}(t,(r,n)=>n===g?[it(t.children[g],!1)]:["".concat(n,":").concat(it(r,!1))]);return 1===Object.keys(t.children).length&&null!=t.children[g]?"".concat(St(t),"/").concat(i[0]):"".concat(St(t),"/(").concat(i.join("//"),")")}}function Ce(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function yt(t){return Ce(t).replace(/%3B/gi,";")}function Lt(t){return Ce(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Ct(t){return decodeURIComponent(t)}function we(t){return Ct(t.replace(/\+/g,"%20"))}function be(t){return"".concat(Lt(t.path)).concat(function Fr(t){return Object.entries(t).map(([e,i])=>";".concat(Lt(e),"=").concat(Lt(i))).join("")}(t.parameters))}const Hr=/^[^\/()?;#]+/;function kt(t){const e=t.match(Hr);return e?e[0]:""}const Vr=/^[^\/()?;=#]+/,Wr=/^[^=?&#]+/,Yr=/^[^&#]+/;class Zr{constructor(e){(0,a.A)(this,"url",void 0),(0,a.A)(this,"remaining",void 0),this.url=e,this.remaining=e}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new R([],{}):new R([],this.parseChildren())}parseQueryParams(){const e={};if(this.consumeOptional("?"))do{this.parseQueryParam(e)}while(this.consumeOptional("&"));return e}
1parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const e=[];for(this.peekStartsWith("(")||e.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),e.push(this.parseSegment());let i={};this.peekStartsWith("/(")&&(this.capture("/"),i=this.parseParens(!0));let r={};return this.peekStartsWith("(")&&(r=this.parseParens(!1)),(e.length>0||Object.keys(i).length>0)&&(r[g]=new R(e,i)),r}parseSegment(){const e=kt(this.remaining);if(""===e&&this.peekStartsWith(";"))throw new l.\u0275RuntimeError(4009,!1);return this.capture(e),new Y(Ct(e),this.parseMatrixParams())}parseMatrixParams(){const e={};for(;this.consumeOptional(";");)this.parseParam(e);return e}parseParam(e){const i=function Gr(t){const e=t.match(Vr);return e?e[0]:""}(this.remaining);if(!i)return;this.capture(i);let r="";if(this.consumeOptional("=")){const n=kt(this.remaining);n&&(r=n,this.capture(r))}e[Ct(i)]=Ct(r)}parseQueryParam(e){const i=function Qr(t){const e=t.match(Wr);return e?e[0]:""}(this.remaining);if(!i)return;this.capture(i);let r="";if(this.consumeOptional("=")){const o=function Kr(t){const e=t.match(Yr);return e?e[0]:""}(this.remaining);o&&(r=o,this.capture(r))}const n=we(i),s=we(r);if(e.hasOwnProperty(n)){let o=e[n];Array.isArray(o)||(o=[o],e[n]=o),o.push(s)}else e[n]=s}parseParens(e){const i={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const r=kt(this.remaining),n=this.remaining[r.length];if("/"!==n&&")"!==n&&";"!==n)throw new l.\u0275RuntimeError(4010,!1);let s;r.indexOf(":")>-1?(s=r.slice(0,r.indexOf(":")),this.capture(s),this.capture(":")):e&&(s=g);const o=this.parseChildren();i[null!=s?s:g]=1===Object.keys(o).length&&o[g]?o[g]:new R([],o),this.consumeOptional("//")}return i}peekStartsWith(e){return this.remaining.startsWith(e)}consumeOptional(e){return!!this.peekStartsWith(e)&&(this.remaining=this.remaining.substring(e.length),!0)}capture(e){if(!this.consumeOptional(e))throw new l.\u0275RuntimeError(4011,!1)}}function _e(t){return t.segments.length>0?new R([],{[g]:t}):t}function Ie(t){const e={};for(const[r,n]of Object.entries(t.children)){const s=Ie(n);if(r===g&&0===s.segments.length&&s.hasChildren())for(const[o,u]of Object.entries(s.children))e[o]=u;else(s.segments.length>0||s.hasChildren())&&(e[r]=s)}return function Jr(t){if(1===t.numberOfChildren&&t.children[g]){const e=t.children[g];return new R(t.segments.concat(e.segments),e.children)}return t}(new R(t.segments,e))}function q(t){return t instanceof $}function Ee(t,e,i=null,r=null){return Te(Me(t),e,i,r)}function Me(t){let e;const n=_e(function i(s){const o={};for(const c of s.children){const d=i(c);o[c.outlet]=d}const u=new R(s.url,o);return s===t&&(e=u),u}(t.root));return null!=e?e:n}function Te(t,e,i,r){let n=t;for(;n.parent;)n=n.parent;if(0===e.length)return zt(n,n,n,i,r);const s=function Xr(t){if("string"==typeof t[0]&&1===t.length&&"/"===t[0])return new De(!0,0,t);let e=0,i=!1;const r=t.reduce((n,s,o)=>{if("object"==typeof s&&null!=s){if(s.outlets){const u={};return Object.entries(s.outlets).forEach(([c,d])=>{u[c]="string"==typeof d?d.split("/"):d}),[...n,{outlets:u}]}if(s.segmentPath)return[...n,s.segmentPath]}return"string"!=typeof s?[...n,s]:0===o?(s.split("/").forEach((u,c)=>{0==c&&"."===u||(0==c&&""===u?i=!0:".."===u?e++:""!=u&&n.push(u))}),n):[...n,s]},[]);return new De(i,e,r)}(e);if(s.toRoot())return zt(n,n,new R([],{}),i,r);const o=function tn(t,e,i){if(t.isAbsolute)return new bt(e,!0,0);if(!i)return new bt(e,!1,NaN);if(null===i.parent)return new bt(i,!0,0);const r=wt(t.commands[0])?0:1;return function en(t,e,i){let r=t,n=e,s=i;for(;s>n;){if(s-=n,r=r.parent,!r)throw new l.\u0275RuntimeError(4005,!1);n=r.segments.length}return new bt(r,!1,n-s)}(i,i.segments.length-1+r,t.numberOfDoubleDots)}(s,n,t),u=o.processChildren?st(o.segmentGroup,o.index,s.commands):Oe(o.segmentGroup,o.index,s.commands);return zt(n,o.segmentGroup,u,i,r)}function wt(t){return"object"==typeof t&&null!=t&&!t.outlets&&!t.segmentPath}function ot(t){return"object"==typeof t&&null!=t&&t.outlets}function zt(t,e,i,r,n){let o,s={};r&&Object.entries(r).forEach(([c,d])=>{s[c]=Array.isArray(d)?d.map(f=>"".concat(f)):"".concat(d)}),o=t===e?i:je(t,e,i);const u=_e(Ie(o));return new $(u,s,n)}function je(t,e,i){const r={};
1return Object.entries(t.children).forEach(([n,s])=>{r[n]=s===e?i:je(s,e,i)}),new R(t.segments,r)}class De{constructor(e,i,r){if((0,a.A)(this,"isAbsolute",void 0),(0,a.A)(this,"numberOfDoubleDots",void 0),(0,a.A)(this,"commands",void 0),this.isAbsolute=e,this.numberOfDoubleDots=i,this.commands=r,e&&r.length>0&&wt(r[0]))throw new l.\u0275RuntimeError(4003,!1);const n=r.find(ot);if(n&&n!==ge(r))throw new l.\u0275RuntimeError(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class bt{constructor(e,i,r){(0,a.A)(this,"segmentGroup",void 0),(0,a.A)(this,"processChildren",void 0),(0,a.A)(this,"index",void 0),this.segmentGroup=e,this.processChildren=i,this.index=r}}function Oe(t,e,i){if(null!=t||(t=new R([],{})),0===t.segments.length&&t.hasChildren())return st(t,e,i);const r=function nn(t,e,i){let r=0,n=e;const s={match:!1,pathIndex:0,commandIndex:0};for(;n<t.segments.length;){if(r>=i.length)return s;const o=t.segments[n],u=i[r];if(ot(u))break;const c="".concat(u),d=r<i.length-1?i[r+1]:null;if(n>0&&void 0===c)break;if(c&&d&&"object"==typeof d&&void 0===d.outlets){if(!Ue(c,d,o))return s;r+=2}else{if(!Ue(c,{},o))return s;r++}n++}return{match:!0,pathIndex:n,commandIndex:r}}(t,e,i),n=i.slice(r.commandIndex);if(r.match&&r.pathIndex<t.segments.length){const s=new R(t.segments.slice(0,r.pathIndex),{});return s.children[g]=new R(t.segments.slice(r.pathIndex),t.children),st(s,0,n)}return r.match&&0===n.length?new R(t.segments,{}):r.match&&!t.hasChildren()?Bt(t,e,i):r.match?st(t,0,n):Bt(t,e,i)}function st(t,e,i){if(0===i.length)return new R(t.segments,{});{const r=function rn(t){return ot(t[0])?t[0].outlets:{[g]:t}}(i),n={};if(Object.keys(r).some(s=>s!==g)&&t.children[g]&&1===t.numberOfChildren&&0===t.children[g].segments.length){const s=st(t.children[g],e,i);return new R(t.segments,s.children)}return Object.entries(r).forEach(([s,o])=>{"string"==typeof o&&(o=[o]),null!==o&&(n[s]=Oe(t.children[s],e,o))}),Object.entries(t.children).forEach(([s,o])=>{void 0===r[s]&&(n[s]=o)}),new R(t.segments,n)}}function Bt(t,e,i){const r=t.segments.slice(0,e);let n=0;for(;n<i.length;){const s=i[n];if(ot(s)){const c=on(s.outlets);return new R(r,c)}if(0===n&&wt(i[0])){r.push(new Y(t.segments[e].path,Pe(i[0]))),n++;continue}const o=ot(s)?s.outlets[g]:"".concat(s),u=n<i.length-1?i[n+1]:null;o&&u&&wt(u)?(r.push(new Y(o,Pe(u))),n+=2):(r.push(new Y(o,{})),n++)}return new R(r,{})}function on(t){const e={};return Object.entries(t).forEach(([i,r])=>{"string"==typeof r&&(r=[r]),null!==r&&(e[i]=Bt(new R([],{}),0,r))}),e}function Pe(t){const e={};return Object.entries(t).forEach(([i,r])=>e[i]="".concat(r)),e}function Ue(t,e,i){return t==i.path&&O(e,i.parameters)}const at="imperative";var A=function(t){return t[t.NavigationStart=0]="NavigationStart",t[t.NavigationEnd=1]="NavigationEnd",t[t.NavigationCancel=2]="NavigationCancel",t[t.NavigationError=3]="NavigationError",t[t.RoutesRecognized=4]="RoutesRecognized",t[t.ResolveStart=5]="ResolveStart",t[t.ResolveEnd=6]="ResolveEnd",t[t.GuardsCheckStart=7]="GuardsCheckStart",t[t.GuardsCheckEnd=8]="GuardsCheckEnd",t[t.RouteConfigLoadStart=9]="RouteConfigLoadStart",t[t.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",t[t.ChildActivationStart=11]="ChildActivationStart",t[t.ChildActivationEnd=12]="ChildActivationEnd",t[t.ActivationStart=13]="ActivationStart",t[t.ActivationEnd=14]="ActivationEnd",t[t.Scroll=15]="Scroll",t[t.NavigationSkipped=16]="NavigationSkipped",t}(A||{});class T{constructor(e,i){(0,a.A)(this,"id",void 0),(0,a.A)(this,"url",void 0),this.id=e,this.url=i}}class ut extends T{constructor(e,i,r="imperative",n=null){super(e,i),(0,a.A)(this,"type",A.NavigationStart),(0,a.A)(this,"navigationTrigger",void 0),(0,a.A)(this,"restoredState",void 0),this.navigationTrigger=r,this.restoredState=n}toString(){return"NavigationStart(id: ".concat(this.id,", url: '").concat(this.url,"')")}}class P extends T{constructor(e,i,r){super(e,i),(0,a.A)(this,"urlAfterRedirects",void 0),(0,a.A)(this,"type",A.NavigationEnd),this.urlAfterRedirects=r}toString(){return"NavigationEnd(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"')")}}var C=function(t){return t[t.Redirect=0]="Redirect",t[t.SupersededByNewNavigation=1]="SupersededByNewNavigation",t[t.NoDataFromRe
1solver=2]="NoDataFromResolver",t[t.GuardRejected=3]="GuardRejected",t[t.Aborted=4]="Aborted",t}(C||{}),lt=function(t){return t[t.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",t[t.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",t}(lt||{});class x extends T{constructor(e,i,r,n){super(e,i),(0,a.A)(this,"reason",void 0),(0,a.A)(this,"code",void 0),(0,a.A)(this,"type",A.NavigationCancel),this.reason=r,this.code=n}toString(){return"NavigationCancel(id: ".concat(this.id,", url: '").concat(this.url,"')")}}class H extends T{constructor(e,i,r,n){super(e,i),(0,a.A)(this,"reason",void 0),(0,a.A)(this,"code",void 0),(0,a.A)(this,"type",A.NavigationSkipped),this.reason=r,this.code=n}}class _t extends T{constructor(e,i,r,n){super(e,i),(0,a.A)(this,"error",void 0),(0,a.A)(this,"target",void 0),(0,a.A)(this,"type",A.NavigationError),this.error=r,this.target=n}toString(){return"NavigationError(id: ".concat(this.id,", url: '").concat(this.url,"', error: ").concat(this.error,")")}}class Ft extends T{constructor(e,i,r,n){super(e,i),(0,a.A)(this,"urlAfterRedirects",void 0),(0,a.A)(this,"state",void 0),(0,a.A)(this,"type",A.RoutesRecognized),this.urlAfterRedirects=r,this.state=n}toString(){return"RoutesRecognized(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}class Ne extends T{constructor(e,i,r,n){super(e,i),(0,a.A)(this,"urlAfterRedirects",void 0),(0,a.A)(this,"state",void 0),(0,a.A)(this,"type",A.GuardsCheckStart),this.urlAfterRedirects=r,this.state=n}toString(){return"GuardsCheckStart(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}class $e extends T{constructor(e,i,r,n,s){super(e,i),(0,a.A)(this,"urlAfterRedirects",void 0),(0,a.A)(this,"state",void 0),(0,a.A)(this,"shouldActivate",void 0),(0,a.A)(this,"type",A.GuardsCheckEnd),this.urlAfterRedirects=r,this.state=n,this.shouldActivate=s}toString(){return"GuardsCheckEnd(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,", shouldActivate: ").concat(this.shouldActivate,")")}}class xe extends T{constructor(e,i,r,n){super(e,i),(0,a.A)(this,"urlAfterRedirects",void 0),(0,a.A)(this,"state",void 0),(0,a.A)(this,"type",A.ResolveStart),this.urlAfterRedirects=r,this.state=n}toString(){return"ResolveStart(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}class Le extends T{constructor(e,i,r,n){super(e,i),(0,a.A)(this,"urlAfterRedirects",void 0),(0,a.A)(this,"state",void 0),(0,a.A)(this,"type",A.ResolveEnd),this.urlAfterRedirects=r,this.state=n}toString(){return"ResolveEnd(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}class ke{constructor(e){(0,a.A)(this,"route",void 0),(0,a.A)(this,"type",A.RouteConfigLoadStart),this.route=e}toString(){return"RouteConfigLoadStart(path: ".concat(this.route.path,")")}}class ze{constructor(e){(0,a.A)(this,"route",void 0),(0,a.A)(this,"type",A.RouteConfigLoadEnd),this.route=e}toString(){return"RouteConfigLoadEnd(path: ".concat(this.route.path,")")}}class Be{constructor(e){(0,a.A)(this,"snapshot",void 0),(0,a.A)(this,"type",A.ChildActivationStart),this.snapshot=e}toString(){return"ChildActivationStart(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}class Fe{constructor(e){(0,a.A)(this,"snapshot",void 0),(0,a.A)(this,"type",A.ChildActivationEnd),this.snapshot=e}toString(){return"ChildActivationEnd(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}class qe{constructor(e){(0,a.A)(this,"snapshot",void 0),(0,a.A)(this,"type",A.ActivationStart),this.snapshot=e}toString(){return"ActivationStart(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}class He{constructor(e){(0,a.A)(this,"snapshot",void 0),(0,a.A)(this,"type",A.ActivationEnd),this.snapshot=e}toString(){return"ActivationEnd(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}class qt{constructor(e,i,r){(0,a.A)(this,"routerEvent",void 0),(0,a.A)(this,"position",void 0),(0,a.A)(this,"anchor",void 0),(0,a.A)(this,"type",A.Scroll),this.routerEvent=e,this.position=i,this.anchor=r}toString(){const e=this.position?"".concat(this.position[0],", ").concat(this.position[1]):null;return"Scroll(anchor: '".concat(this.anchor,"', position: '").concat(e,"')")}}class Ht{}class It{constructor(e,i){(0,a.A)(this,"url",void 0),(0,a.A)(this,"navigationBehaviorOptions",void 0),this.url=e,this.navigationBehaviorOptions=i}}function j(t){return t.outlet||g}function K(t){var e;if(!t)return null;if(null!==(e=t.routeConfig)&&void 0!==e&&e._injector)return t.routeConfig._injector;for(let i=t.parent;i;i=i.parent){const r=i.routeConfig;if(null!=r&&r._loadedInjector)return r._loadedInjector;if(null!=r&&r._injector)return r._injector}return null}class Ve{get injector(){var e,i;return null!==(e=K(null===(i=this.route)||void 0===i?void 0:i.snapshot))&&void 0!==e?e:this.rootInjector}constructor(e){(0,a.A)(this,"rootInjector",void 0),(0,a.A)(this,"outlet",null),(0,a.A)(this,"route",null),(0,a.A)(this,"children",void 0),(0,a.A)(this,"attachRef",null),this.rootInjector=e,this.children=new Z(this.rootInjector)}}let Z=(()=>{var t;class e{constructor(r){(0,a.A)(this,"rootInjector",void 0),(0,a.A)(this,"contexts",new Map),this.rootInjector=r}onChildOutletCreated(r,n){const s=this.getOrCreateContext(r);s.outlet=n,this.contexts.set(r,s)}onChildOutletDestroyed(r){const n=this.getContext(r);n&&(n.outlet=null,n.attachRef=null)}onOutletDeactivated(){const 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 Ve(this.rootInjector),this.contexts.set(r,n)),n}getContext(r){return this.contexts.get(r)||null}}return t=e,(0,a.A)(e,"\u0275fac",function(r){return new(r||t)(l.\u0275\u0275inject(l.EnvironmentInjector))}),(0,a.A)(e,"\u0275prov",l.\u0275\u0275defineInjectable({token:t,factory:t.\u0275fac,providedIn:"root"})),e})();class Ge{constructor(e){(0,a.A)(this,"_root",void 0),this._root=e}get root(){return this._root.value}
1parent(e){const i=this.pathFromRoot(e);return i.length>1?i[i.length-2]:null}children(e){const i=Vt(e,this._root);return i?i.children.map(r=>r.value):[]}firstChild(e){const i=Vt(e,this._root);return i&&i.children.length>0?i.children[0].value:null}siblings(e){const i=Gt(e,this._root);return i.length<2?[]:i[i.length-2].children.map(n=>n.value).filter(n=>n!==e)}pathFromRoot(e){return Gt(e,this._root).map(i=>i.value)}}function Vt(t,e){if(t===e.value)return e;for(const i of e.children){const r=Vt(t,i);if(r)return r}return null}function Gt(t,e){if(t===e.value)return[e];for(const i of e.children){const r=Gt(t,i);if(r.length)return r.unshift(e),r}return[]}class D{constructor(e,i){(0,a.A)(this,"value",void 0),(0,a.A)(this,"children",void 0),this.value=e,this.children=i}toString(){return"TreeNode(".concat(this.value,")")}}function J(t){const e={};return t&&t.children.forEach(i=>e[i.value.outlet]=i),e}class Wt extends Ge{constructor(e,i){super(e),(0,a.A)(this,"snapshot",void 0),this.snapshot=i,Yt(this,e)}toString(){return this.snapshot.toString()}}function We(t){const e=function dn(t){const s=new ct([],{},{},"",{},g,t,null,{});return new Qt("",new D(s,[]))}(t),i=new p.BehaviorSubject([new Y("",{})]),r=new p.BehaviorSubject({}),n=new p.BehaviorSubject({}),s=new p.BehaviorSubject({}),o=new p.BehaviorSubject(""),u=new V(i,r,s,o,n,g,t,e.root);return u.snapshot=e.root,new Wt(new D(u,[]),e)}class V{constructor(e,i,r,n,s,o,u,c){var d,f;(0,a.A)(this,"urlSubject",void 0),(0,a.A)(this,"paramsSubject",void 0),(0,a.A)(this,"queryParamsSubject",void 0),(0,a.A)(this,"fragmentSubject",void 0),(0,a.A)(this,"dataSubject",void 0),(0,a.A)(this,"outlet",void 0),(0,a.A)(this,"component",void 0),(0,a.A)(this,"snapshot",void 0),(0,a.A)(this,"_futureSnapshot",void 0),(0,a.A)(this,"_routerState",void 0),(0,a.A)(this,"_paramMap",void 0),(0,a.A)(this,"_queryParamMap",void 0),(0,a.A)(this,"title",void 0),(0,a.A)(this,"url",void 0),(0,a.A)(this,"params",void 0),(0,a.A)(this,"queryParams",void 0),(0,a.A)(this,"fragment",void 0),(0,a.A)(this,"data",void 0),this.urlSubject=e,this.paramsSubject=i,this.queryParamsSubject=r,this.fragmentSubject=n,this.dataSubject=s,this.outlet=o,this.component=u,this._futureSnapshot=c,this.title=null!==(d=null===(f=this.dataSubject)||void 0===f?void 0:f.pipe((0,h.map)(m=>m[M])))&&void 0!==d?d:(0,p.of)(void 0),this.url=e,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(){var e;return null!==(e=this._paramMap)&&void 0!==e||(this._paramMap=this.params.pipe((0,h.map)(i=>w(i)))),this._paramMap}get queryParamMap(){var e;return null!==(e=this._queryParamMap)&&void 0!==e||(this._queryParamMap=this.queryParams.pipe((0,h.map)(i=>w(i)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():"Future(".concat(this._futureSnapshot,")")}}function Et(t,e,i="emptyOnly"){var r;let n;const{routeConfig:s}=t;var o;return n=null===e||"always"!==i&&""!==(null==s?void 0:s.path)&&(e.component||null!==(r=e.routeConfig)&&void 0!==r&&r.loadComponent)?{params:(0,v.A)({},t.params),data:(0,v.A)({},t.data),resolve:(0,v.A)((0,v.A)({},t.data),null!==(o=t._resolvedData)&&void 0!==o?o:{})}:{params:(0,v.A)((0,v.A)({},e.params),t.params),data:(0,v.A)((0,v.A)({},e.data),t.data),resolve:(0,v.A)((0,v.A)((0,v.A)((0,v.A)({},t.data),e.data),null==s?void 0:s.data),t._resolvedData)},s&&Ye(s)&&(n.resolve[M]=s.title),n}class ct{get title(){var e;return null===(e=this.data)||void 0===e?void 0:e[M]}constructor(e,i,r,n,s,o,u,c,d){(0,a.A)(this,"url",void 0),(0,a.A)(this,"params",void 0),(0,a.A)(this,"queryParams",void 0),(0,a.A)(this,"fragment",void 0),(0,a.A)(this,"data",void 0),(0,a.A)(this,"outlet",void 0),(0,a.A)(this,"component",void 0),(0,a.A)(this,"routeConfig",void 0),(0,a.A)(this,"_resolve",void 0),(0,a.A)(this,"_resolvedData",void 0),(0,a.A)(this,"_routerState",void 0),(0,a.A)(this,"_paramMap",void 0),(0,a.A)(this,"_queryParamMap",void 0),this.url=e,this.params=i,this.queryParams=r,this.fragment=n,this.data=s,this.outlet=o,this.component=u,this.routeConfig=c,this._resolve=d}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){var e;return null!==(e=this._paramMap)&&void 0!==e||(this._paramMap=w(this.params)),this._paramMap}get queryParamMap(){var e;return null!==(e=this._queryParamMap)&&void 0!==e||(this._queryParamMap=w(this.queryParams)),this._queryParamMap}toString(){const e=this.url.map(r=>r.toString()).join("/"),i=this.routeConfig?this.routeConfig.path:"";
1return"Route(url:'".concat(e,"', path:'").concat(i,"')")}}class Qt extends Ge{constructor(e,i){super(i),(0,a.A)(this,"url",void 0),this.url=e,Yt(this,i)}toString(){return Qe(this._root)}}function Yt(t,e){e.value._routerState=t,e.children.forEach(i=>Yt(t,i))}function Qe(t){const e=t.children.length>0?" { ".concat(t.children.map(Qe).join(", ")," } "):"";return"".concat(t.value).concat(e)}function Kt(t){if(t.snapshot){const e=t.snapshot,i=t._futureSnapshot;t.snapshot=i,O(e.queryParams,i.queryParams)||t.queryParamsSubject.next(i.queryParams),e.fragment!==i.fragment&&t.fragmentSubject.next(i.fragment),O(e.params,i.params)||t.paramsSubject.next(i.params),function Ur(t,e){if(t.length!==e.length)return!1;for(let i=0;i<t.length;++i)if(!O(t[i],e[i]))return!1;return!0}(e.url,i.url)||t.urlSubject.next(i.url),O(e.data,i.data)||t.dataSubject.next(i.data)}else t.snapshot=t._futureSnapshot,t.dataSubject.next(t._futureSnapshot.data)}function Zt(t,e){const i=O(t.params,e.params)&&function Lr(t,e){return B(t,e)&&t.every((i,r)=>O(i.parameters,e[r].parameters))}(t.url,e.url);return i&&!(!t.parent!=!e.parent)&&(!t.parent||Zt(t.parent,e.parent))}function Ye(t){return"string"==typeof t.title||null===t.title}const Ke=new l.InjectionToken("");let Jt=(()=>{var t;class e{constructor(){(0,a.A)(this,"activated",null),(0,a.A)(this,"_activatedRoute",null),(0,a.A)(this,"name",g),(0,a.A)(this,"activateEvents",new l.EventEmitter),(0,a.A)(this,"deactivateEvents",new l.EventEmitter),(0,a.A)(this,"attachEvents",new l.EventEmitter),(0,a.A)(this,"detachEvents",new l.EventEmitter),(0,a.A)(this,"routerOutletData",(0,l.input)()),(0,a.A)(this,"parentContexts",(0,l.inject)(Z)),(0,a.A)(this,"location",(0,l.inject)(l.ViewContainerRef)),(0,a.A)(this,"changeDetector",(0,l.inject)(l.ChangeDetectorRef)),(0,a.A)(this,"inputBinder",(0,l.inject)(Mt,{optional:!0})),(0,a.A)(this,"supportsBindingToComponentInputs",!0)}get activatedComponentRef(){return this.activated}ngOnChanges(r){if(r.name){const{firstChange:n,previousValue:s}=r.name;if(n)return;this.isTrackedInParentContexts(s)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(s)),this.initializeOutletWithName()}}ngOnDestroy(){var r;this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),null===(r=this.inputBinder)||void 0===r||r.unsubscribeFromRouteData(this)}isTrackedInParentContexts(r){var n;return(null===(n=this.parentContexts.getContext(r))||void 0===n?void 0:n.outlet)===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const r=this.parentContexts.getContext(this.name);null!=r&&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 l.\u0275RuntimeError(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new l.\u0275RuntimeError(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new l.\u0275RuntimeError(4012,!1);this.location.detach();const r=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(r.instance),r}attach(r,n){var s;this.activated=r,this._activatedRoute=n,this.location.insert(r.hostView),null===(s=this.inputBinder)||void 0===s||s.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(r.instance)}deactivate(){if(this.activated){const r=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(r)}}activateWith(r,n){var s;if(this.isActivated)throw new l.\u0275RuntimeError(4013,!1);this._activatedRoute=r;const o=this.location,c=r.snapshot.component,d=this.parentContexts.getOrCreateContext(this.name).children,f=new pn(r,d,o.injector,this.routerOutletData);this.activated=o.createComponent(c,{index:o.length,injector:f,environmentInjector:n}),this.changeDetector.markForCheck(),null===(s=this.inputBinder)||void 0===s||s.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}}return t=e,(0,a.A)(e,"\u0275fac",function(r){return new(r||t)}),(0,a.A)(e,"\u0275dir",l.\u0275\u0275defineDirective({type:t,selectors:[["router-outlet"]],inputs:{name:"name",routerOutletData:[1,"routerOutletData"]},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],features:[l.\u0275\u0275NgOnChangesFeature]})),e})();class pn{constructor(e,i,r,n){(0,a.A)(this,"route",void 0),(0,a.A)(this,"childContexts",void 0),(0,a.A)(this,"parent",void 0),(0,a.A)(this,"outletData",void 0),this.route=e,this.childContexts=i,this.parent=r,this.outletData=n}get(e,i){return e===V?this.route:e===Z?this.childContexts:e===Ke?this.outletData:this.parent.get(e,i)}}const Mt=new l.InjectionToken("");let Ze=(()=>{var t;class e{constructor(){(0,a.A)(this,"outletDataSubscriptions",new Map)}bindActivatedRouteToOutletComponent(r){this.unsubscribeFromRouteData(r),this.subscribeToRouteData(r)}unsubscribeFromRouteData(r){var n;null===(n=this.outletDataSubscriptions.get(r))||void 0===n||n.unsubscribe(),this.outletDataSubscriptions.delete(r)}
1subscribeToRouteData(r){const{activatedRoute:n}=r,s=(0,p.combineLatest)([n.queryParams,n.params,n.data]).pipe((0,h.switchMap)(([o,u,c],d)=>(c=(0,v.A)((0,v.A)((0,v.A)({},o),u),c),0===d?(0,p.of)(c):Promise.resolve(c)))).subscribe(o=>{if(!r.isActivated||!r.activatedComponentRef||r.activatedRoute!==n||null===n.component)return void this.unsubscribeFromRouteData(r);const u=(0,l.reflectComponentType)(n.component);if(u)for(const{templateName:c}of u.inputs)r.activatedComponentRef.setInput(c,o[c]);else this.unsubscribeFromRouteData(r)});this.outletDataSubscriptions.set(r,s)}}return t=e,(0,a.A)(e,"\u0275fac",function(r){return new(r||t)}),(0,a.A)(e,"\u0275prov",l.\u0275\u0275defineInjectable({token:t,factory:t.\u0275fac})),e})(),Xt=(()=>{var t;class e{}return t=e,(0,a.A)(e,"\u0275fac",function(r){return new(r||t)}),(0,a.A)(e,"\u0275cmp",l.\u0275\u0275defineComponent({type:t,selectors:[["ng-component"]],exportAs:["emptyRouterOutlet"],decls:1,vars:0,template:function(r,n){1&r&&l.\u0275\u0275element(0,"router-outlet")},dependencies:[Jt],encapsulation:2})),e})();function te(t){const e=t.children&&t.children.map(te),i=e?(0,v.A)((0,v.A)({},t),{},{children:e}):(0,v.A)({},t);return!i.component&&!i.loadComponent&&(e||i.loadChildren)&&i.outlet&&i.outlet!==g&&(i.component=Xt),i}function ht(t,e,i){if(i&&t.shouldReuseRoute(e.value,i.value.snapshot)){const r=i.value;r._futureSnapshot=e.value;const n=function vn(t,e,i){return e.children.map(r=>{for(const n of i.children)if(t.shouldReuseRoute(r.value,n.value.snapshot))return ht(t,r,n);return ht(t,r)})}(t,e,i);return new D(r,n)}{if(t.shouldAttach(e.value)){const s=t.retrieve(e.value);if(null!==s){const o=s.route;return o.value._futureSnapshot=e.value,o.children=e.children.map(u=>ht(t,u)),o}}const r=function gn(t){return new V(new p.BehaviorSubject(t.url),new p.BehaviorSubject(t.params),new p.BehaviorSubject(t.queryParams),new p.BehaviorSubject(t.fragment),new p.BehaviorSubject(t.data),t.outlet,t.component,t)}(e.value),n=e.children.map(s=>ht(t,s));return new D(r,n)}}class Tt{constructor(e,i){(0,a.A)(this,"redirectTo",void 0),(0,a.A)(this,"navigationBehaviorOptions",void 0),this.redirectTo=e,this.navigationBehaviorOptions=i}}const Je="ngNavigationCancelingError";function jt(t,e){const{redirectTo:i,navigationBehaviorOptions:r}=q(e)?{redirectTo:e,navigationBehaviorOptions:void 0}:e,n=Xe(!1,C.Redirect);return n.url=i,n.navigationBehaviorOptions=r,n}function Xe(t,e){const i=new Error("NavigationCancelingError: ".concat(t||""));return i[Je]=!0,i.cancellationCode=e,i}function tr(t){return!!t&&t[Je]}class Rn{constructor(e,i,r,n,s){(0,a.A)(this,"routeReuseStrategy",void 0),(0,a.A)(this,"futureState",void 0),(0,a.A)(this,"currState",void 0),(0,a.A)(this,"forwardEvent",void 0),(0,a.A)(this,"inputBindingEnabled",void 0),this.routeReuseStrategy=e,this.futureState=i,this.currState=r,this.forwardEvent=n,this.inputBindingEnabled=s}activate(e){const i=this.futureState._root,r=this.currState?this.currState._root:null;this.deactivateChildRoutes(i,r,e),Kt(this.futureState.root),this.activateChildRoutes(i,r,e)}deactivateChildRoutes(e,i,r){const n=J(i);e.children.forEach(s=>{const o=s.value.outlet;this.deactivateRoutes(s,n[o],r),delete n[o]}),Object.values(n).forEach(s=>{this.deactivateRouteAndItsChildren(s,r)})}deactivateRoutes(e,i,r){const n=e.value,s=i?i.value:null;if(n===s)if(n.component){const o=r.getContext(n.outlet);o&&this.deactivateChildRoutes(e,i,o.children)}else this.deactivateChildRoutes(e,i,r);else s&&this.deactivateRouteAndItsChildren(i,r)}deactivateRouteAndItsChildren(e,i){e.value.component&&this.routeReuseStrategy.shouldDetach(e.value.snapshot)?this.detachAndStoreRouteSubtree(e,i):this.deactivateRouteAndOutlet(e,i)}detachAndStoreRouteSubtree(e,i){const r=i.getContext(e.value.outlet),n=r&&e.value.component?r.children:i,s=J(e);for(const o of Object.values(s))this.deactivateRouteAndItsChildren(o,n);if(r&&r.outlet){const o=r.outlet.detach(),u=r.children.onOutletDeactivated();this.routeReuseStrategy.store(e.value.snapshot,{componentRef:o,route:e,contexts:u})}}deactivateRouteAndOutlet(e,i){const r=i.getContext(e.value.outlet),n=r&&e.value.component?r.children:i,s=J(e);for(const 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(e,i,r){const n=J(i);
1e.children.forEach(s=>{this.activateRoutes(s,n[s.value.outlet],r),this.forwardEvent(new He(s.value.snapshot))}),e.children.length&&this.forwardEvent(new Fe(e.value.snapshot))}activateRoutes(e,i,r){const n=e.value,s=i?i.value:null;if(Kt(n),n===s)if(n.component){const o=r.getOrCreateContext(n.outlet);this.activateChildRoutes(e,i,o.children)}else this.activateChildRoutes(e,i,r);else if(n.component){const o=r.getOrCreateContext(n.outlet);if(this.routeReuseStrategy.shouldAttach(n.snapshot)){const u=this.routeReuseStrategy.retrieve(n.snapshot);this.routeReuseStrategy.store(n.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),Kt(u.route.value),this.activateChildRoutes(e,null,o.children)}else o.attachRef=null,o.route=n,o.outlet&&o.outlet.activateWith(n,o.injector),this.activateChildRoutes(e,null,o.children)}else this.activateChildRoutes(e,null,r)}}class er{constructor(e){(0,a.A)(this,"path",void 0),(0,a.A)(this,"route",void 0),this.path=e,this.route=this.path[this.path.length-1]}}class Dt{constructor(e,i){(0,a.A)(this,"component",void 0),(0,a.A)(this,"route",void 0),this.component=e,this.route=i}}function Sn(t,e,i){const r=t._root;return dt(r,e?e._root:null,i,[r.value])}function X(t,e){const i=Symbol(),r=e.get(t,i);return r===i?"function"!=typeof t||(0,l.\u0275isInjectable)(t)?e.get(t):t:r}function dt(t,e,i,r,n={canDeactivateChecks:[],canActivateChecks:[]}){const s=J(e);return t.children.forEach(o=>{(function Cn(t,e,i,r,n={canDeactivateChecks:[],canActivateChecks:[]}){const s=t.value,o=e?e.value:null,u=i?i.getContext(t.value.outlet):null;if(o&&s.routeConfig===o.routeConfig){const c=function wn(t,e,i){if("function"==typeof i)return i(t,e);switch(i){case"pathParamsChange":return!B(t.url,e.url);case"pathParamsOrQueryParamsChange":return!B(t.url,e.url)||!O(t.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Zt(t,e)||!O(t.queryParams,e.queryParams);default:return!Zt(t,e)}}(o,s,s.routeConfig.runGuardsAndResolvers);c?n.canActivateChecks.push(new er(r)):(s.data=o.data,s._resolvedData=o._resolvedData),dt(t,e,s.component?u?u.children:null:i,r,n),c&&u&&u.outlet&&u.outlet.isActivated&&n.canDeactivateChecks.push(new Dt(u.outlet.component,o))}else o&&pt(e,u,n),n.canActivateChecks.push(new er(r)),dt(t,null,s.component?u?u.children:null:i,r,n)})(o,s[o.value.outlet],i,r.concat([o.value]),n),delete s[o.value.outlet]}),Object.entries(s).forEach(([o,u])=>pt(u,i.getContext(o),n)),n}function pt(t,e,i){const r=J(t),n=t.value;Object.entries(r).forEach(([s,o])=>{pt(o,n.component?e?e.children.getContext(s):null:e,i)}),i.canDeactivateChecks.push(new Dt(n.component&&e&&e.outlet&&e.outlet.isActivated?e.outlet.component:null,n))}function ft(t){return"function"==typeof t}function rr(t){return t instanceof p.EmptyError||"EmptyError"===(null==t?void 0:t.name)}const Ot=Symbol("INITIAL_VALUE");function tt(){return(0,h.switchMap)(t=>(0,p.combineLatest)(t.map(e=>e.pipe((0,h.take)(1),(0,h.startWith)(Ot)))).pipe((0,h.map)(e=>{for(const i of e)if(!0!==i){if(i===Ot)return Ot;if(!1===i||jn(i))return i}return!0}),(0,h.filter)(e=>e!==Ot),(0,h.take)(1)))}function jn(t){return q(t)||t instanceof Tt}function nr(t){return(0,p.pipe)((0,h.tap)(e=>{if("boolean"!=typeof e)throw jt(0,e)}),(0,h.map)(e=>!0===e))}class ee{constructor(e){(0,a.A)(this,"segmentGroup",void 0),this.segmentGroup=e||null}}class re extends Error{constructor(e){super(),(0,a.A)(this,"urlTree",void 0),this.urlTree=e}}function et(t){return(0,p.throwError)(new ee(t))}function Bn(t){return(0,p.throwError)(new l.\u0275RuntimeError(4e3,!1))}class qn{constructor(e,i){(0,a.A)(this,"urlSerializer",void 0),(0,a.A)(this,"urlTree",void 0),this.urlSerializer=e,this.urlTree=i}lineralizeSegments(e,i){let r=[],n=i.root;for(;;){if(r=r.concat(n.segments),0===n.numberOfChildren)return(0,p.of)(r);if(n.numberOfChildren>1||!n.children[g])return Bn("".concat(e.redirectTo));n=n.children[g]}}applyRedirectCommands(e,i,r,n,s){return function Hn(t,e,i){if("string"==typeof t)return(0,p.of)(t);const r=t,{queryParams:n,fragment:s,routeConfig:o,url:u,outlet:c,params:d,data:f,title:m}=e;return N((0,l.runInInjectionContext)(i,()=>r({params:d,data:f,queryParams:n,fragment:s,routeConfig:o,url:u,outlet:c,title:m})))}(i,n,s).pipe((0,h.map)(o=>{if(o instanceof $)throw new re(o);const u=this.applyRedirectCreateUrlTree(o,this.urlSerializer.parse(o),e,r);if("/"===o[0])throw new re(u);return u}))}applyRedirectCreateUrlTree(e,i,r,n){const s=this.createSegmentGroup(e,i.root,r,n);return new $(s,this.createQueryParams(i.queryParams,this.urlTree.queryParams),i.fragment)}createQueryParams(e,i){const r={};return Object.entries(e).forEach(([n,s])=>{if("string"==typeof s&&":"===s[0]){const u=s.substring(1);r[n]=i[u]}else r[n]=s}),r}createSegmentGroup(e,i,r,n){const s=this.createSegments(e,i.segments,r,n
1);let o={};return Object.entries(i.children).forEach(([u,c])=>{o[u]=this.createSegmentGroup(e,c,r,n)}),new R(s,o)}createSegments(e,i,r,n){return i.map(s=>":"===s.path[0]?this.findPosParam(e,s,n):this.findOrReturn(s,r))}findPosParam(e,i,r){const n=r[i.path.substring(1)];if(!n)throw new l.\u0275RuntimeError(4001,!1);return n}findOrReturn(e,i){let r=0;for(const n of i){if(n.path===e.path)return i.splice(r),n;r++}return e}}const ne={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Vn(t,e,i,r,n){const s=ir(t,e,i);return s.matched?(r=function an(t,e){var i;return t.providers&&!t._injector&&(t._injector=(0,l.createEnvironmentInjector)(t.providers,e,"Route: ".concat(t.path))),null!==(i=t._injector)&&void 0!==i?i:e}(e,r),function zn(t,e,i,r){const n=e.canMatch;if(!n||0===n.length)return(0,p.of)(!0);const s=n.map(o=>{const u=X(o,t);return N(function Tn(t){return t&&ft(t.canMatch)}(u)?u.canMatch(e,i):(0,l.runInInjectionContext)(t,()=>u(e,i)))});return(0,p.of)(s).pipe(tt(),nr())}(r,e,i).pipe((0,h.map)(o=>!0===o?s:(0,v.A)({},ne)))):(0,p.of)(s)}function ir(t,e,i){var r,n;if("**"===e.path)return function Gn(t){return{matched:!0,parameters:t.length>0?ge(t).parameters:{},consumedSegments:t,remainingSegments:[],positionalParamSegments:{}}}(i);if(""===e.path)return"full"===e.pathMatch&&(t.hasChildren()||i.length>0)?(0,v.A)({},ne):{matched:!0,consumedSegments:[],remainingSegments:i,parameters:{},positionalParamSegments:{}};const o=(e.matcher||At)(i,t,e);if(!o)return(0,v.A)({},ne);const u={};Object.entries(null!==(r=o.posParams)&&void 0!==r?r:{}).forEach(([d,f])=>{u[d]=f.path});const c=o.consumed.length>0?(0,v.A)((0,v.A)({},u),o.consumed[o.consumed.length-1].parameters):u;return{matched:!0,consumedSegments:o.consumed,remainingSegments:i.slice(o.consumed.length),parameters:c,positionalParamSegments:null!==(n=o.posParams)&&void 0!==n?n:{}}}function or(t,e,i,r){return i.length>0&&function Yn(t,e,i){return i.some(r=>Pt(t,e,r)&&j(r)!==g)}(t,i,r)?{segmentGroup:new R(e,Qn(r,new R(i,t.children))),slicedSegments:[]}:0===i.length&&function Kn(t,e,i){return i.some(r=>Pt(t,e,r))}(t,i,r)?{segmentGroup:new R(t.segments,Wn(t,i,r,t.children)),slicedSegments:i}:{segmentGroup:new R(t.segments,t.children),slicedSegments:i}}function Wn(t,e,i,r){const n={};for(const s of i)if(Pt(t,e,s)&&!r[j(s)]){const o=new R([],{});n[j(s)]=o}return(0,v.A)((0,v.A)({},r),n)}function Qn(t,e){const i={};i[g]=e;for(const r of t)if(""===r.path&&j(r)!==g){const n=new R([],{});i[j(r)]=n}return i}function Pt(t,e,i){return(!(t.hasChildren()||e.length>0)||"full"!==i.pathMatch)&&""===i.path}class Jn{}class ei{constructor(e,i,r,n,s,o,u){(0,a.A)(this,"injector",void 0),(0,a.A)(this,"configLoader",void 0),(0,a.A)(this,"rootComponentType",void 0),(0,a.A)(this,"config",void 0),(0,a.A)(this,"urlTree",void 0),(0,a.A)(this,"paramsInheritanceStrategy",void 0),(0,a.A)(this,"urlSerializer",void 0),(0,a.A)(this,"applyRedirects",void 0),(0,a.A)(this,"absoluteRedirectCount",0),(0,a.A)(this,"allowRedirects",!0),this.injector=e,this.configLoader=i,this.rootComponentType=r,this.config=n,this.urlTree=s,this.paramsInheritanceStrategy=o,this.urlSerializer=u,this.applyRedirects=new qn(this.urlSerializer,this.urlTree)}noMatchError(e){return new l.\u0275RuntimeError(4002,"'".concat(e.segmentGroup,"'"))}recognize(){const e=or(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(e).pipe((0,h.map)(({children:i,rootSnapshot:r})=>{const n=new D(r,i),s=new Qt("",n),o=Ee(r,[],this.urlTree.queryParams,this.urlTree.fragment);return o.queryParams=this.urlTree.queryParams,s.url=this.urlSerializer.serialize(o),{state:s,tree:o}}))}match(e){const i=new ct([],Object.freeze({}),Object.freeze((0,v.A)({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),g,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,e,g,i).pipe((0,h.map)(r=>({children:r,rootSnapshot:i})),(0,h.catchError)(r=>{if(r instanceof re)return this.urlTree=r.urlTree,this.match(r.urlTree.root);throw r instanceof ee?this.noMatchError(r):r}))}processSegmentGroup(e,i,r,n,s){return 0===r.segments.length&&r.hasChildren()?this.processChildren(e,i,r,s):this.processSegment(e,i,r,r.segments,n,!0,s).pipe((0,h.map)(o=>o instanceof D?[o]:[]))}processChildren(e,i,r,n){const s=[];for(const o of Object.keys(r.children))"primary"===o?s.unshift(o):s.push(o);return(0,p.from)(s).pipe((0,h.concatMap)(o=>{const u=r.children[o],c=function hn(t,e){const i=t.filter(r=>j(r)===e);return i.push(...t.filter(r=>j(r)!==e)),i}(i,o);return this.processSegmentGroup(e,c,u,o,n)}),(0,h.scan)((o,u)=>(o.push(...u),o)),(0,h.defaultIfEmpty)(null),(0,h.last)(),(0,h.mergeMap)(o=>{if(null===o)return et(r);const u=sr(o);return function ri(t){t.sort((e,i)=>e.value.outlet===g?-1:i.value.outlet===g?1:e.value.outlet.localeCompare(i.value.outlet))}(u),(0,p.of)(u)}))}processSegment(e,i,r,n,s,o,u){return(0,p.from)(i).pipe((0,h.concatMap)(c=>{var d;return this.processSegmentAgainstRoute(null!==(d=c._injector)&&void 0!==d?d:e,i,c,r,n,s,o,u).pipe((0,h.catchError)(f=>{if(f instanceof ee)return(0,p.of)(null);throw f}))}),(0,h.first)(c=>!!c),(0,h.catchError)(c=>{if(rr(c))return function Zn(t,e,i){return 0===e.length&&!t.children[i]}(r,n,s)?(0,p.of)(new Jn):et(r);throw c}))}processSegmentAgainstRoute(e,i,r,n,s,o,u,c){return j(r)===o||o!==g&&Pt(n,s,r)?void 0===r.redirectTo?this.matchSegmentAgainstRoute(e,n,r,s,o,c):this.allowRedirects&&u?this.expandSegmentAgainstRouteUsingRedirect(e,n,i,r,s,o,c):et(n):et(n)}expandSegmentAgainstRouteUsingRedirect(e,i,r,n,s,o,u){var c,d;const{matched:f,parameters:m,consumedSegments:S,positionalParamSegments:b,remainingSegments:rt}=ir(i,n,s);if(!f)return et(i);"string"==typeof n.redirectTo&&"/"===n.redirectTo[0]&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>31&&(this.allowRedirects=!1));const k=new ct(s,m,Object.freeze((0,v.A)({},this.urlTree.queryParams)),this.urlTree.fragment,ar(n),j(n),null!==(c=null!==(d=n.component)&&void 0!==d?d:n._loadedComponent)&&void 0!==c?c:null,n,ur(n)),W=Et(k,u,this.paramsInheritanceStrategy);return k.params=Object.freeze(W.params),k.data=Object.freeze(W.data),this.applyRedirects.applyRedirectCommands(S,n.redirectTo,b,k,e).pipe((0,h.switchMap)(E=>this.applyRedirects.lineralizeSegments(n,E)),(0,h.mergeMap)(E=>this.processSegment(e,r,i,E.concat(rt),o,!1,u)))}matchSegmentAgainstRoute(e,i,r,n,s,o){const u=Vn(i,r,n,e);return"**"===r.path&&(i.children={}),u.pipe((0,h.switchMap)(c=>{var d;return c.matched?(e=null!==(d=r._injector)&&void 0!==d?d:e,this.getChildConfig(e,r,n).pipe((0,h.switchMap)(({routes:f})=>{var m,S,b;const rt=null!==(m=r._loadedInjector)&&void 0!==m?m:e,{parameters:k,consumedSegments:W,remainingSegments:gt}=c,E=new ct(W,k,Object.freeze((0,v.A)({},this.urlTree.queryParams)),this.urlTree.fragment,ar(r),j(r),null!==(S=null!==(b=r.component)&&void 0!==b?b:r._loadedComponent)&&void 0!==S?S:null,r,ur(r)),Or=Et(E,o,this.paramsInheritanceStrategy);E.params=Object.freeze(Or.params),E.data=Object.freeze(Or.data);const{segmentGroup:pe,slicedSegments:fe}=or(i,W,gt,f);if(0===fe.length&&pe.hasChildren())return this.processChildren(rt,f,pe,E).pipe((0,h.map)($t=>new D(E,$t)));if(0===f.length&&0===fe.length)return(0,p.of)(new D(E,[]));const qi=j(r)===s;return this.processSegment(rt,f,pe,fe,qi?g:s,!0,E).pipe((0,h.map)($t=>new D(E,$t instanceof D?[$t]:[])))}))):et(i)}))}getChildConfig(e,i,r){return i.children?(0,p.of)({routes:i.children,injector:e}):i.loadChildren?void 0!==i._loadedRoutes?(0,p.of)({routes:i._loadedRoutes,injector:i._loadedInjector}):function kn(t,e,i,r){const n=e.canLoad;if(void 0===n||0===n.length)return(0,p.of)(!0);const s=n.map(o=>{const u=X(o,t);return N(function _n(t){return t&&ft(t.canLoad)}(u)?u.canLoad(e,i):(0,l.runInInjectionContext)(t,()=>u(e,i)))});return(0,p.of)(s).pipe(tt(),nr())}(e,i,r).pipe((0,h.mergeMap)(n=>n?this.configLoader.loadChildren(e,i).pipe((0,h.tap)(s=>{i._loadedRoutes=s.routes,i._loadedInjector=s.injector})):function Fn(){return(0,p.throwError)(Xe(!1,C.GuardRejected))}
1())):(0,p.of)({routes:[],injector:e})}}function ni(t){const e=t.value.routeConfig;return e&&""===e.path}function sr(t){const e=[],i=new Set;for(const r of t){if(!ni(r)){e.push(r);continue}const n=e.find(s=>r.value.routeConfig===s.value.routeConfig);void 0!==n?(n.children.push(...r.children),i.add(n)):e.push(r)}for(const r of i){const n=sr(r.children);e.push(new D(r.value,n))}return e.filter(r=>!i.has(r))}function ar(t){return t.data||{}}function ur(t){return t.resolve||{}}function lr(t){const e=t.children.map(i=>lr(i)).flat();return[t,...e]}function ie(t){return(0,h.switchMap)(e=>{const i=t(e);return i?(0,p.from)(i).pipe((0,h.map)(()=>e)):(0,p.of)(e)})}let oe=(()=>{var t;class e{buildTitle(r){let n,s=r.root;for(;void 0!==s;){var o;n=null!==(o=this.getResolvedTitleForRoute(s))&&void 0!==o?o:n,s=s.children.find(u=>u.outlet===g)}return n}getResolvedTitleForRoute(r){return r.data[M]}}return t=e,(0,a.A)(e,"\u0275fac",function(r){return new(r||t)}),(0,a.A)(e,"\u0275prov",l.\u0275\u0275defineInjectable({token:t,factory:()=>(0,l.inject)(cr),providedIn:"root"})),e})(),cr=(()=>{var t;class e extends oe{constructor(r){super(),(0,a.A)(this,"title",void 0),this.title=r}updateTitle(r){const n=this.buildTitle(r);void 0!==n&&this.title.setTitle(n)}}return t=e,(0,a.A)(e,"\u0275fac",function(r){return new(r||t)(l.\u0275\u0275inject(Q.Title))}),(0,a.A)(e,"\u0275prov",l.\u0275\u0275defineInjectable({token:t,factory:t.\u0275fac,providedIn:"root"})),e})();const L=new l.InjectionToken("",{providedIn:"root",factory:()=>({})}),G=new l.InjectionToken("");let se=(()=>{var t;class e{constructor(){(0,a.A)(this,"componentLoaders",new WeakMap),(0,a.A)(this,"childrenLoaders",new WeakMap),(0,a.A)(this,"onLoadStartListener",void 0),(0,a.A)(this,"onLoadEndListener",void 0),(0,a.A)(this,"compiler",(0,l.inject)(l.Compiler))}loadComponent(r,n){if(this.componentLoaders.get(n))return this.componentLoaders.get(n);if(n._loadedComponent)return(0,p.of)(n._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(n);const s=N((0,l.runInInjectionContext)(r,()=>n.loadComponent())).pipe((0,h.map)(dr),(0,h.switchMap)(pr),(0,h.tap)(u=>{this.onLoadEndListener&&this.onLoadEndListener(n),n._loadedComponent=u}),(0,h.finalize)(()=>{this.componentLoaders.delete(n)})),o=new p.ConnectableObservable(s,()=>new p.Subject).pipe((0,h.refCount)());return this.componentLoaders.set(n,o),o}loadChildren(r,n){if(this.childrenLoaders.get(n))return this.childrenLoaders.get(n);if(n._loadedRoutes)return(0,p.of)({routes:n._loadedRoutes,injector:n._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(n);const o=hr(n,this.compiler,r,this.onLoadEndListener).pipe((0,h.finalize)(()=>{this.childrenLoaders.delete(n)})),u=new p.ConnectableObservable(o,()=>new p.Subject).pipe((0,h.refCount)());return this.childrenLoaders.set(n,u),u}}return t=e,(0,a.A)(e,"\u0275fac",function(r){return new(r||t)}),(0,a.A)(e,"\u0275prov",l.\u0275\u0275defineInjectable({token:t,factory:t.\u0275fac,providedIn:"root"})),e})();function hr(t,e,i,r){return N((0,l.runInInjectionContext)(i,()=>t.loadChildren())).pipe((0,h.map)(dr),(0,h.switchMap)(pr),(0,h.mergeMap)(n=>n instanceof l.NgModuleFactory||Array.isArray(n)?(0,p.of)(n):(0,p.from)(e.compileModuleAsync(n))),(0,h.map)(n=>{r&&r(t);let s,o;return Array.isArray(n)?o=n:(s=n.create(i).injector,o=s.get(G,[],{optional:!0,self:!0}).flat()),{routes:o.map(te),injector:s}}))}function dr(t){return function li(t){return t&&"object"==typeof t&&"default"in t}(t)?t.default:t}function pr(t){return(0,p.of)(t)}let Ut=(()=>{var t;class e{}return t=e,(0,a.A)(e,"\u0275fac",function(r){return new(r||t)}),(0,a.A)(e,"\u0275prov",l.\u0275\u0275defineInjectable({token:t,factory:()=>(0,l.inject)(ci),providedIn:"root"})),e})(),ci=(()=>{var t;class e{shouldProcessUrl(r){return!0}extract(r){return r}merge(r,n){return r}}return t=e,(0,a.A)(e,"\u0275fac",function(r){return new(r||t)}),(0,a.A)(e,"\u0275prov",l.\u0275\u0275defineInjectable({token:t,factory:t.\u0275fac,providedIn:"root"})),e})();const fr=new l.InjectionToken(""),vr=new l.InjectionToken("");function hi(t,e,i){const r=t.get(vr),n=t.get(y.DOCUMENT);
1if(!n.startViewTransition||r.skipNextTransition)return r.skipNextTransition=!1,new Promise(d=>setTimeout(d));let s;const o=new Promise(d=>{s=d}),u=n.startViewTransition(()=>(s(),function di(t){return new Promise(e=>{(0,l.afterNextRender)({read:()=>setTimeout(e)},{injector:t})})}(t)));u.ready.catch(d=>{});const{onViewTransitionCreated:c}=r;return c&&(0,l.runInInjectionContext)(t,()=>c({transition:u,from:e,to:i})),o}const ae=new l.InjectionToken("");let Nt=(()=>{var t;class e{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){(0,a.A)(this,"currentNavigation",(0,l.signal)(null,{equal:()=>!1})),(0,a.A)(this,"currentTransition",null),(0,a.A)(this,"lastSuccessfulNavigation",null),(0,a.A)(this,"events",new p.Subject),(0,a.A)(this,"transitionAbortWithErrorSubject",new p.Subject),(0,a.A)(this,"configLoader",(0,l.inject)(se)),(0,a.A)(this,"environmentInjector",(0,l.inject)(l.EnvironmentInjector)),(0,a.A)(this,"destroyRef",(0,l.inject)(l.DestroyRef)),(0,a.A)(this,"urlSerializer",(0,l.inject)(F)),(0,a.A)(this,"rootContexts",(0,l.inject)(Z)),(0,a.A)(this,"location",(0,l.inject)(y.Location)),(0,a.A)(this,"inputBindingEnabled",null!==(0,l.inject)(Mt,{optional:!0})),(0,a.A)(this,"titleStrategy",(0,l.inject)(oe)),(0,a.A)(this,"options",(0,l.inject)(L,{optional:!0})||{}),(0,a.A)(this,"paramsInheritanceStrategy",this.options.paramsInheritanceStrategy||"emptyOnly"),(0,a.A)(this,"urlHandlingStrategy",(0,l.inject)(Ut)),(0,a.A)(this,"createViewTransition",(0,l.inject)(fr,{optional:!0})),(0,a.A)(this,"navigationErrorHandler",(0,l.inject)(ae,{optional:!0})),(0,a.A)(this,"navigationId",0),(0,a.A)(this,"transitions",void 0),(0,a.A)(this,"afterPreactivation",()=>(0,p.of)(void 0)),(0,a.A)(this,"rootComponentType",null),(0,a.A)(this,"destroyed",!1),this.configLoader.onLoadEndListener=s=>this.events.next(new ze(s)),this.configLoader.onLoadStartListener=s=>this.events.next(new ke(s)),this.destroyRef.onDestroy(()=>{this.destroyed=!0})}complete(){var r;null===(r=this.transitions)||void 0===r||r.complete()}handleNavigationRequest(r){const n=++this.navigationId;(0,l.untracked)(()=>{var s;null===(s=this.transitions)||void 0===s||s.next((0,v.A)((0,v.A)({},r),{},{extractedUrl:this.urlHandlingStrategy.extract(r.rawUrl),targetSnapshot:null,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null,abortController:new AbortController,id:n}))})}setupNavigations(r){return this.transitions=new p.BehaviorSubject(null),this.transitions.pipe((0,h.filter)(n=>null!==n),(0,h.switchMap)(n=>{let s=!1;return(0,p.of)(n).pipe((0,h.switchMap)(o=>{var u;if(this.navigationId>n.id)return this.cancelNavigationTransition(n,"",C.SupersededByNewNavigation),p.EMPTY;this.currentTransition=n,this.currentNavigation.set({id:o.id,initialUrl:o.rawUrl,extractedUrl:o.extractedUrl,targetBrowserUrl:"string"==typeof o.extras.browserUrl?this.urlSerializer.parse(o.extras.browserUrl):o.extras.browserUrl,trigger:o.source,extras:o.extras,previousNavigation:this.lastSuccessfulNavigation?(0,v.A)((0,v.A)({},this.lastSuccessfulNavigation),{},{previousNavigation:null}):null,abort:()=>o.abortController.abort()});const c=!r.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),d=null!==(u=o.extras.onSameUrlNavigation)&&void 0!==u?u:r.onSameUrlNavigation;if(!c&&"reload"!==d)return this.events.next(new H(o.id,this.urlSerializer.serialize(o.rawUrl),"",lt.IgnoredSameUrlNavigation)),o.resolve(!1),p.EMPTY;if(this.urlHandlingStrategy.shouldProcessUrl(o.rawUrl))return(0,p.of)(o).pipe((0,h.switchMap)(f=>(this.events.next(new ut(f.id,this.urlSerializer.serialize(f.extractedUrl),f.source,f.restoredState)),f.id!==this.navigationId?p.EMPTY:Promise.resolve(f))),function ii(t,e,i,r,n,s){return(0,h.mergeMap)(o=>function Xn(t,e,i,r,n,s,o="emptyOnly"){return new ei(t,e,i,r,n,o,s).recognize()}(t,e,i,r,o.extractedUrl,n,s).pipe((0,h.map)(({state:u,tree:c})=>(0,v.A)((0,v.A)({},o),{},{targetSnapshot:u,urlAfterRedirects:c}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,r.config,this.urlSerializer,this.paramsInheritanceStrategy),(0,h.tap)(f=>{n.targetSnapshot=f.targetSnapshot,n.urlAfterRedirects=f.urlAfterRedirects,this.currentNavigation.update(S=>(S.finalUrl=f.urlAfterRedirects,S));const m=new Ft(f.id,this.urlSerializer.serialize(f.extractedUrl),this.urlSerializer.serialize(f.urlAfterRedirects),f.targetSnapshot);this.events.next(m)}));if(c&&this.urlHandlingStrategy.shouldProcessUrl(o.currentRawUrl)){const{id:f,extractedUrl:m,source:S,restoredState:b,extras:rt}=o,k=new ut(f,this.urlSerializer.serialize(m),S,b);this.events.next(k);const W=We(this.rootComponentType).snapshot;return this.currentTransition=n=(0,v.A)((0,v.A)({},o),{},{targetSnapshot:W,urlAfterRedirects:m,extras:(0,v.A)((0,v.A)({},rt),{},{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.update(gt=>(gt.finalUrl=m,gt)),(0,p.of)(n)}return this.events.next(new H(o.id,this.urlSerializer.serialize(o.extractedUrl),"",lt.IgnoredByUrlHandlingStrategy)),o.resolve(!1),p.EMPTY}),(0,h.tap)(o=>{const u=new Ne(o.id,this.urlSerializer.serialize(o.extractedUrl),this.urlSerializer.serialize(o.urlAfterRedirects),o.targetSnapshot);this.events.next(u)}),(0,h.map)(o=>(this.currentTransition=n=(0,v.A)((0,v.A)({},o),{},{guards:Sn(o.targetSnapshot,o.currentSnapshot,this.rootContexts)}),n)),function Dn(t,e){return(0,h.mergeMap)(i=>{const{targetSnapshot:r,currentSnapshot:n,guards:{canActivateChecks:s,canDeactivateChecks:o}}=i;return 0===o.length&&0===s.length?(0,p.of)((0,v.A)((0,v.A)({},i),{},{guardsResult:!0})):function On(t,e,i,r){return(0,p.from)(t).pipe((0,h.mergeMap)(n=>
1function Ln(t,e,i,r,n){const s=e&&e.routeConfig?e.routeConfig.canDeactivate:null;if(!s||0===s.length)return(0,p.of)(!0);const o=s.map(u=>{var c;const d=null!==(c=K(e))&&void 0!==c?c:n,f=X(u,d);return N(function Mn(t){return t&&ft(t.canDeactivate)}(f)?f.canDeactivate(t,e,i,r):(0,l.runInInjectionContext)(d,()=>f(t,e,i,r))).pipe((0,h.first)())});return(0,p.of)(o).pipe(tt())}(n.component,n.route,i,e,r)),(0,h.first)(n=>!0!==n,!0))}(o,r,n,t).pipe((0,h.mergeMap)(u=>u&&function bn(t){return"boolean"==typeof t}(u)?function Pn(t,e,i,r){return(0,p.from)(e).pipe((0,h.concatMap)(n=>(0,p.concat)(function Nn(t,e){return null!==t&&e&&e(new Be(t)),(0,p.of)(!0)}(n.route.parent,r),function Un(t,e){return null!==t&&e&&e(new qe(t)),(0,p.of)(!0)}(n.route,r),function xn(t,e,i){const r=e[e.length-1],s=e.slice(0,e.length-1).reverse().map(o=>function yn(t){const e=t.routeConfig?t.routeConfig.canActivateChild:null;return e&&0!==e.length?{node:t,guards:e}:null}(o)).filter(o=>null!==o).map(o=>(0,p.defer)(()=>{const u=o.guards.map(c=>{var d;const f=null!==(d=K(o.node))&&void 0!==d?d:i,m=X(c,f);return N(function En(t){return t&&ft(t.canActivateChild)}(m)?m.canActivateChild(r,t):(0,l.runInInjectionContext)(f,()=>m(r,t))).pipe((0,h.first)())});return(0,p.of)(u).pipe(tt())}));return(0,p.of)(s).pipe(tt())}(t,n.path,i),function $n(t,e,i){const r=e.routeConfig?e.routeConfig.canActivate:null;if(!r||0===r.length)return(0,p.of)(!0);const n=r.map(s=>(0,p.defer)(()=>{var o;const u=null!==(o=K(e))&&void 0!==o?o:i,c=X(s,u);return N(function In(t){return t&&ft(t.canActivate)}(c)?c.canActivate(e,t):(0,l.runInInjectionContext)(u,()=>c(e,t))).pipe((0,h.first)())}));return(0,p.of)(n).pipe(tt())}(t,n.route,i))),(0,h.first)(n=>!0!==n,!0))}(r,s,t,e):(0,p.of)(u)),(0,h.map)(u=>(0,v.A)((0,v.A)({},i),{},{guardsResult:u})))})}(this.environmentInjector,o=>this.events.next(o)),(0,h.tap)(o=>{if(n.guardsResult=o.guardsResult,o.guardsResult&&"boolean"!=typeof o.guardsResult)throw jt(0,o.guardsResult);const u=new $e(o.id,this.urlSerializer.serialize(o.extractedUrl),this.urlSerializer.serialize(o.urlAfterRedirects),o.targetSnapshot,!!o.guardsResult);this.events.next(u)}),(0,h.filter)(o=>!!o.guardsResult||(this.cancelNavigationTransition(o,"",C.GuardRejected),!1)),ie(o=>{if(0!==o.guards.canActivateChecks.length)return(0,p.of)(o).pipe((0,h.tap)(u=>{const c=new xe(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot);this.events.next(c)}),(0,h.switchMap)(u=>{let c=!1;return(0,p.of)(u).pipe(function oi(t,e){return(0,h.mergeMap)(i=>{const{targetSnapshot:r,guards:{canActivateChecks:n}}=i;if(!n.length)return(0,p.of)(i);const s=new Set(n.map(c=>c.route)),o=new Set;for(const c of s)if(!o.has(c))for(const d of lr(c))o.add(d);let u=0;return(0,p.from)(o).pipe((0,h.concatMap)(c=>s.has(c)?function si(t,e,i,r){const n=t.routeConfig,s=t._resolve;return void 0!==(null==n?void 0:n.title)&&!Ye(n)&&(s[M]=n.title),(0,p.defer)(()=>(t.data=Et(t,t.parent,i).resolve,function ai(t,e,i,r){const n=xt(t);if(0===n.length)return(0,p.of)({});const s={};return(0,p.from)(n).pipe((0,h.mergeMap)(o=>function ui(t,e,i,r){var n;const s=null!==(n=K(e))&&void 0!==n?n:r,o=X(t,s);return N(o.resolve?o.resolve(e,i):(0,l.runInInjectionContext)(s,()=>o(e,i)))}(t[o],e,i,r).pipe((0,h.first)(),(0,h.tap)(u=>{if(u instanceof Tt)throw jt(new nt,u);s[o]=u}))),(0,h.takeLast)(1),(0,h.map)(()=>s),(0,h.catchError)(o=>rr(o)?p.EMPTY:(0,p.throwError)(o)))}(s,t,e,r).pipe((0,h.map)(o=>(t._resolvedData=o,t.data=(0,v.A)((0,v.A)({},t.data),o),null)))))}(c,r,t,e):(c.data=Et(c,c.parent,t).resolve,(0,p.of)(void 0))),(0,h.tap)(()=>u++),(0,h.takeLast)(1),(0,h.mergeMap)(c=>u===o.size?(0,p.of)(i):p.EMPTY))})}(this.paramsInheritanceStrategy,this.environmentInjector),(0,h.tap)({next:()=>c=!0,complete:()=>{c||this.cancelNavigationTransition(u,"",C.NoDataFromResolver)}}))}),(0,h.tap)(u=>{const c=new Le(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot);this.events.next(c)}))}),ie(o=>{const u=c=>{var d;const f=[];if(null!==(d=c.routeConfig)&&void 0!==d&&d.loadComponent){var m;const S=null!==(m=K(c))&&void 0!==m?m:this.environmentInjector;
1f.push(this.configLoader.loadComponent(S,c.routeConfig).pipe((0,h.tap)(b=>{c.component=b}),(0,h.map)(()=>{})))}for(const S of c.children)f.push(...u(S));return f};return(0,p.combineLatest)(u(o.targetSnapshot.root)).pipe((0,h.defaultIfEmpty)(null),(0,h.take)(1))}),ie(()=>this.afterPreactivation()),(0,h.switchMap)(()=>{var o;const{currentSnapshot:u,targetSnapshot:c}=n,d=null===(o=this.createViewTransition)||void 0===o?void 0:o.call(this,this.environmentInjector,u.root,c.root);return d?(0,p.from)(d).pipe((0,h.map)(()=>n)):(0,p.of)(n)}),(0,h.map)(o=>{const u=function fn(t,e,i){const r=ht(t,e._root,i?i._root:void 0);return new Wt(r,e)}(r.routeReuseStrategy,o.targetSnapshot,o.currentRouterState);return this.currentTransition=n=(0,v.A)((0,v.A)({},o),{},{targetRouterState:u}),this.currentNavigation.update(c=>(c.targetRouterState=u,c)),n}),(0,h.tap)(()=>{this.events.next(new Ht)}),((t,e,i,r)=>(0,h.map)(n=>(new Rn(e,n.targetRouterState,n.currentRouterState,i,r).activate(t),n)))(this.rootContexts,r.routeReuseStrategy,o=>this.events.next(o),this.inputBindingEnabled),(0,h.take)(1),(0,h.takeUntil)(new p.Observable(o=>{const u=n.abortController.signal,c=()=>o.next();return u.addEventListener("abort",c),()=>u.removeEventListener("abort",c)}).pipe((0,h.filter)(()=>!s&&!n.targetRouterState),(0,h.tap)(()=>{this.cancelNavigationTransition(n,n.abortController.signal.reason+"",C.Aborted)}))),(0,h.tap)({next:o=>{var u;s=!0,this.lastSuccessfulNavigation=(0,l.untracked)(this.currentNavigation),this.events.next(new P(o.id,this.urlSerializer.serialize(o.extractedUrl),this.urlSerializer.serialize(o.urlAfterRedirects))),null===(u=this.titleStrategy)||void 0===u||u.updateTitle(o.targetRouterState.snapshot),o.resolve(!0)},complete:()=>{s=!0}}),(0,h.takeUntil)(this.transitionAbortWithErrorSubject.pipe((0,h.tap)(o=>{throw o}))),(0,h.finalize)(()=>{var o;s||this.cancelNavigationTransition(n,"",C.SupersededByNewNavigation),(null===(o=this.currentTransition)||void 0===o?void 0:o.id)===n.id&&(this.currentNavigation.set(null),this.currentTransition=null)}),(0,h.catchError)(o=>{if(this.destroyed)return n.resolve(!1),p.EMPTY;if(s=!0,tr(o))this.events.next(new x(n.id,this.urlSerializer.serialize(n.extractedUrl),o.message,o.cancellationCode)),function mn(t){return tr(t)&&q(t.url)}(o)?this.events.next(new It(o.url,o.navigationBehaviorOptions)):n.resolve(!1);else{var u;const c=new _t(n.id,this.urlSerializer.serialize(n.extractedUrl),o,null!==(u=n.targetSnapshot)&&void 0!==u?u:void 0);try{const d=(0,l.runInInjectionContext)(this.environmentInjector,()=>{var f;return null===(f=this.navigationErrorHandler)||void 0===f?void 0:f.call(this,c)});if(!(d instanceof Tt))throw this.events.next(c),o;{const{message:f,cancellationCode:m}=jt(0,d);this.events.next(new x(n.id,this.urlSerializer.serialize(n.extractedUrl),f,m)),this.events.next(new It(d.redirectTo,d.navigationBehaviorOptions))}}catch(d){this.options.resolveNavigationPromiseOnError?n.resolve(!1):n.reject(d)}}return p.EMPTY}))}))}cancelNavigationTransition(r,n,s){const o=new x(r.id,this.urlSerializer.serialize(r.extractedUrl),n,s);this.events.next(o),r.resolve(!1)}isUpdatingInternalState(){var r,n;return(null===(r=this.currentTransition)||void 0===r?void 0:r.extractedUrl.toString())!==(null===(n=this.currentTransition)||void 0===n?void 0:n.currentUrlTree.toString())}isUpdatedBrowserUrl(){var r;const n=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),s=(0,l.untracked)(this.currentNavigation),o=null!==(r=null==s?void 0:s.targetBrowserUrl)&&void 0!==r?r:null==s?void 0:s.extractedUrl;return n.toString()!==(null==o?void 0:o.toString())&&!(null!=s&&s.extras.skipLocationChange)}}return t=e,(0,a.A)(e,"\u0275fac",function(r){return new(r||t)}),(0,a.A)(e,"\u0275prov",l.\u0275\u0275defineInjectable({token:t,factory:t.\u0275fac,providedIn:"root"})),e})();function pi(t){return t!==at}let gr=(()=>{var t;class e{}return t=e,(0,a.A)(e,"\u0275fac",function(r){return new(r||t)}),(0,a.A)(e,"\u0275prov",l.\u0275\u0275defineInjectable({token:t,factory:()=>(0,l.inject)(fi),providedIn:"root"})),e})();class mr{shouldDetach(e){return!1}store(e,i){}shouldAttach(e){return!1}retrieve(e){return null}shouldReuseRoute(e,i){return e.routeConfig===i.routeConfig}}let fi=(()=>{var t;class e extends mr{}return t=e,(0,a.A)(e,"\u0275fac",(()=>{let i;
1return function(n){return(i||(i=l.\u0275\u0275getInheritedFactory(t)))(n||t)}})()),(0,a.A)(e,"\u0275prov",l.\u0275\u0275defineInjectable({token:t,factory:t.\u0275fac,providedIn:"root"})),e})(),Ar=(()=>{var t;class e{constructor(){(0,a.A)(this,"urlSerializer",(0,l.inject)(F)),(0,a.A)(this,"options",(0,l.inject)(L,{optional:!0})||{}),(0,a.A)(this,"canceledNavigationResolution",this.options.canceledNavigationResolution||"replace"),(0,a.A)(this,"location",(0,l.inject)(y.Location)),(0,a.A)(this,"urlHandlingStrategy",(0,l.inject)(Ut)),(0,a.A)(this,"urlUpdateStrategy",this.options.urlUpdateStrategy||"deferred"),(0,a.A)(this,"currentUrlTree",new $),(0,a.A)(this,"rawUrlTree",this.currentUrlTree),(0,a.A)(this,"routerState",We(null)),(0,a.A)(this,"stateMemento",this.createStateMemento())}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}createBrowserPath({finalUrl:r,initialUrl:n,targetBrowserUrl:s}){const o=void 0!==r?this.urlHandlingStrategy.merge(r,n):n,u=null!=s?s:o;return u instanceof $?this.urlSerializer.serialize(u):u}commitTransition({targetRouterState:r,finalUrl:n,initialUrl:s}){n&&r?(this.currentUrlTree=n,this.rawUrlTree=this.urlHandlingStrategy.merge(n,s),this.routerState=r):this.rawUrlTree=s}getRouterState(){return this.routerState}updateStateMemento(){this.stateMemento=this.createStateMemento()}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}resetInternalState({finalUrl:r}){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,null!=r?r:this.rawUrlTree)}}return t=e,(0,a.A)(e,"\u0275fac",function(r){return new(r||t)}),(0,a.A)(e,"\u0275prov",l.\u0275\u0275defineInjectable({token:t,factory:()=>(0,l.inject)(vi),providedIn:"root"})),e})(),vi=(()=>{var t;class e extends Ar{constructor(...r){super(...r),(0,a.A)(this,"currentPageId",0),(0,a.A)(this,"lastSuccessfulId",-1)}restoredState(){return this.location.getState()}get browserPageId(){var r,n;return"computed"!==this.canceledNavigationResolution?this.currentPageId:null!==(r=null===(n=this.restoredState())||void 0===n?void 0:n.\u0275routerPageId)&&void 0!==r?r:this.currentPageId}registerNonRouterCurrentEntryChangeListener(r){return this.location.subscribe(n=>{"popstate"===n.type&&setTimeout(()=>{r(n.url,n.state,"popstate")})})}handleRouterEvent(r,n){r instanceof ut?this.updateStateMemento():r instanceof H?this.commitTransition(n):r instanceof Ft?"eager"===this.urlUpdateStrategy&&(n.extras.skipLocationChange||this.setBrowserUrl(this.createBrowserPath(n),n)):r instanceof Ht?(this.commitTransition(n),"deferred"===this.urlUpdateStrategy&&!n.extras.skipLocationChange&&this.setBrowserUrl(this.createBrowserPath(n),n)):r instanceof x&&r.code!==C.SupersededByNewNavigation&&r.code!==C.Redirect?this.restoreHistory(n):r instanceof _t?this.restoreHistory(n,!0):r instanceof P&&(this.lastSuccessfulId=r.id,this.currentPageId=this.browserPageId)}setBrowserUrl(r,{extras:n,id:s}){const{replaceUrl:o,state:u}=n;if(this.location.isCurrentPathEqualTo(r)||o){const c=this.browserPageId,d=(0,v.A)((0,v.A)({},u),this.generateNgRouterState(s,c));this.location.replaceState(r,"",d)}else{const c=(0,v.A)((0,v.A)({},u),this.generateNgRouterState(s,this.browserPageId+1));this.location.go(r,"",c)}}restoreHistory(r,n=!1){if("computed"===this.canceledNavigationResolution){const o=this.currentPageId-this.browserPageId;0!==o?this.location.historyGo(o):this.getCurrentUrlTree()===r.finalUrl&&0===o&&(this.resetInternalState(r),this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(n&&this.resetInternalState(r),this.resetUrlToCurrentUrlTree())}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.getRawUrlTree()),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(r,n){return"computed"===this.canceledNavigationResolution?{navigationId:r,\u0275routerPageId:n}:{navigationId:r}}}return t=e,(0,a.A)(e,"\u0275fac",(()=>{let i;
1return function(n){return(i||(i=l.\u0275\u0275getInheritedFactory(t)))(n||t)}})()),(0,a.A)(e,"\u0275prov",l.\u0275\u0275defineInjectable({token:t,factory:t.\u0275fac,providedIn:"root"})),e})();function ue(t,e){t.events.pipe((0,h.filter)(i=>i instanceof P||i instanceof x||i instanceof _t||i instanceof H),(0,h.map)(i=>i instanceof P||i instanceof H?0:i instanceof x&&(i.code===C.Redirect||i.code===C.SupersededByNewNavigation)?2:1),(0,h.filter)(i=>2!==i),(0,h.take)(1)).subscribe(()=>{e()})}const gi={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},mi={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let I=(()=>{var t;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(){var r,n;(0,a.A)(this,"disposed",!1),(0,a.A)(this,"nonRouterCurrentEntryChangeSubscription",void 0),(0,a.A)(this,"console",(0,l.inject)(l.\u0275Console)),(0,a.A)(this,"stateManager",(0,l.inject)(Ar)),(0,a.A)(this,"options",(0,l.inject)(L,{optional:!0})||{}),(0,a.A)(this,"pendingTasks",(0,l.inject)(l.\u0275PendingTasksInternal)),(0,a.A)(this,"urlUpdateStrategy",this.options.urlUpdateStrategy||"deferred"),(0,a.A)(this,"navigationTransitions",(0,l.inject)(Nt)),(0,a.A)(this,"urlSerializer",(0,l.inject)(F)),(0,a.A)(this,"location",(0,l.inject)(y.Location)),(0,a.A)(this,"urlHandlingStrategy",(0,l.inject)(Ut)),(0,a.A)(this,"injector",(0,l.inject)(l.EnvironmentInjector)),(0,a.A)(this,"_events",new p.Subject),(0,a.A)(this,"navigated",!1),(0,a.A)(this,"routeReuseStrategy",(0,l.inject)(gr)),(0,a.A)(this,"onSameUrlNavigation",this.options.onSameUrlNavigation||"ignore"),(0,a.A)(this,"config",null!==(r=null===(n=(0,l.inject)(G,{optional:!0}))||void 0===n?void 0:n.flat())&&void 0!==r?r:[]),(0,a.A)(this,"componentInputBindingEnabled",!!(0,l.inject)(Mt,{optional:!0})),(0,a.A)(this,"currentNavigation",this.navigationTransitions.currentNavigation.asReadonly()),(0,a.A)(this,"eventsSubscription",new p.Subscription),this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this).subscribe({error:s=>{this.console.warn(s)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){const r=this.navigationTransitions.events.subscribe(n=>{try{const s=this.navigationTransitions.currentTransition,o=(0,l.untracked)(this.navigationTransitions.currentNavigation);if(null!==s&&null!==o)if(this.stateManager.handleRouterEvent(n,o),n instanceof x&&n.code!==C.Redirect&&n.code!==C.SupersededByNewNavigation)this.navigated=!0;else if(n instanceof P)this.navigated=!0;else if(n instanceof It){const u=n.navigationBehaviorOptions,c=this.urlHandlingStrategy.merge(n.url,s.currentRawUrl),d=(0,v.A)({browserUrl:s.extras.browserUrl,info:s.extras.info,skipLocationChange:s.extras.skipLocationChange,replaceUrl:s.extras.replaceUrl||"eager"===this.urlUpdateStrategy||pi(s.source)},u);this.scheduleNavigation(c,at,null,d,{resolve:s.resolve,reject:s.reject,promise:s.promise})}(function sn(t){return!(t instanceof Ht||t instanceof It)})(n)&&this._events.next(n)}catch(s){this.navigationTransitions.transitionAbortWithErrorSubject.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),at,this.stateManager.restoredState())}setUpLocationChangeListener(){var r;null!==(r=this.nonRouterCurrentEntryChangeSubscription)&&void 0!==r||(this.nonRouterCurrentEntryChangeSubscription=this.stateManager.registerNonRouterCurrentEntryChangeListener((n,s,o)=>{this.navigateToSyncWithBrowser(n,o,s)}))}navigateToSyncWithBrowser(r,n,s){const o={replaceUrl:!0},u=null!=s&&s.navigationId?s:null;if(s){const d=(0,v.A)({},s);delete d.navigationId,delete d.\u0275routerPageId,0!==Object.keys(d).length&&(o.state=d)}const c=this.parseUrl(r);this.scheduleNavigation(c,n,u,o).catch(d=>{this.disposed||this.injector.get(l.\u0275INTERNAL_APPLICATION_ERROR_HANDLER)(d)})}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return(0,l.untracked)(this.navigationTransitions.currentNavigation)}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(r){this.config=r.map(te),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this._events.unsubscribe(),this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(r,n={}){const{relativeTo:s,queryParams:o,fragment:u,queryParamsHandling:c,preserveFragment:d}=n,f=d?this.currentUrlTree.fragment:u;let S,m=null;switch(null!=c?c:this.options.defaultQueryParamsHandling){case"merge":m=(0,v.A)((0,v.A)({},this.currentUrlTree.queryParams),o);break;case"preserve":m=this.currentUrlTree.queryParams;break;default:m=o||null}null!==m&&(m=this.removeEmptyProps(m));try{S=Me(s?s.snapshot:this.routerState.snapshot.root)}catch(b){("string"!=typeof r[0]||"/"!==r[0][0])&&(r=[]),S=this.currentUrlTree.root}return Te(S,r,m,null!=f?f:null)}navigateByUrl(r,n={skipLocationChange:!1}){const s=q(r)?r:this.parseUrl(r),o=this.urlHandlingStrategy.merge(s,this.rawUrlTree);return this.scheduleNavigation(o,at,null,n)}navigate(r,n={skipLocationChange:!1}){return function Ai(t){for(let e=0;e<t.length;e++)if(null==t[e])throw new l.\u0275RuntimeError(4008,!1)}(r),this.navigateByUrl(this.createUrlTree(r,n),n)}serializeUrl(r){return this.urlSerializer.serialize(r)}parseUrl(r){try{return this.urlSerializer.parse(r)}catch(n){return this.console.warn((0,l.\u0275formatRuntimeError)(4018,!1)),this.urlSerializer.parse("/")}}isActive(r,n){let s;if(s=!0===n?(0,v.A)({},gi):!1===n?(0,v.A)({},mi):n,q(r))return Ae(this.currentUrlTree,r,s);const o=this.parseUrl(r);return Ae(this.currentUrlTree,o,s)}removeEmptyProps(r){return Object.entries(r).reduce((n,[s,o])=>(null!=o&&(n[s]=o),n),{})}scheduleNavigation(r,n,s,o,u){if(this.disposed)return Promise.resolve(!1);let c,d,f;u?(c=u.resolve,d=u.reject,f=u.promise):f=new Promise((S,b)=>{c=S,d=b});const m=this.pendingTasks.add();return ue(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(m))}),this.navigationTransitions.handleNavigationRequest({source:n,restoredState:s,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:r,extras:o,resolve:c,reject:d,promise:f,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),f.catch(S=>Promise.reject(S))}}return t=e,(0,a.A)(e,"\u0275fac",function(r){return new(r||t)}),(0,a.A)(e,"\u0275prov",l.\u0275\u0275defineInjectable({token:t,factory:t.\u0275fac,providedIn:"root"})),e})();var Ri=_(9204);let vt=(()=>{var t;class e{get href(){return(0,l.untracked)(this.reactiveHref)}set href(r){this.reactiveHref.set(r)}constructor(r,n,s,o,u,c){var d,f,m;(0,a.A)(this,"router",void 0),(0,a.A)(this,"route",void 0),(0,a.A)(this,"tabIndexAttribute",void 0),(0,a.A)(this,"renderer",void 0),(0,a.A)(this,"el",void 0),(0,a.A)(this,"locationStrategy",void 0),(0,a.A)(this,"reactiveHref",(0,l.signal)(null)),(0,a.A)(this,"target",void 0),(0,a.A)(this,"queryParams",void 0),(0,a.A)(this,"fragment",void 0),(0,a.A)(this,"queryParamsHandling",void 0),(0,a.A)(this,"state",void 0),(0,a.A)(this,"info",void 0),(0,a.A)(this,"relativeTo",void 0),(0,a.A)(this,"isAnchorElement",void 0),(0,a.A)(this,"subscription",void 0),(0,a.A)(this,"onChanges",new p.Subject),(0,a.A)(this,"applicationErrorHandler",(0,l.inject)(l.\u0275INTERNAL_APPLICATION_ERROR_HANDLER)),(0,a.A)(this,"options",(0,l.inject)(L,{optional:!0})),(0,a.A)(this,"preserveFragment",!1),(0,a.A)(this,"skipLocationChange",!1),(0,a.A)(this,"replaceUrl",!1),(0,a.A)(this,"routerLinkInput",null),this.router=r,this.route=n,this.tabIndexAttribute=s,this.renderer=o,this.el=u,this.locationStrategy=c,this.reactiveHref.set((0,l.inject)(new l.HostAttributeToken("href"),{optional:!0}));const S=null===(d=u.nativeElement.tagName)||void 0===d?void 0:d.toLowerCase();this.isAnchorElement="a"===S||"area"===S||!("object"!=typeof customElements||null===(f=customElements.get(S))||void 0===f||null===(f=f.observedAttributes)||void 0===f||null===(m=f.includes)||void 0===m||!m.call(f,"href")),this.isAnchorElement?this.setTabIndexIfNotOnNativeEl("0"):this.subscribeToNavigationEventsIfNecessary()}subscribeToNavigationEventsIfNecessary(){var r;if(void 0!==this.subscription||!this.isAnchorElement)return;let n=this.preserveFragment;const s=o=>"merge"===o||"preserve"===o;n||(n=s(this.queryParamsHandling)),n||(n=!this.queryParamsHandling&&!s(null===(r=this.options)||void 0===r?void 0:r.defaultQueryParamsHandling)),n&&(this.subscription=this.router.events.subscribe(o=>{o instanceof P&&this.updateHref()}))}setTabIndexIfNotOnNativeEl(r){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",r)}ngOnChanges(r){this.isAnchorElement&&(this.updateHref(),this.subscribeToNavigationEventsIfNecessary()),this.onChanges.next(this)}set routerLink(r){null==r?(this.routerLinkInput=null,this.setTabIndexIfNotOnNativeEl(null)):(this.routerLinkInput=q(r)||Array.isArray(r)?r:[r],this.setTabIndexIfNotOnNativeEl("0"))}onClick(r,n,s,o,u){var c;const d=this.urlTree;return!!(null===d||this.isAnchorElement&&(0!==r||n||s||o||u||"string"==typeof this.target&&"_self"!=this.target))||(null===(c=this.router.navigateByUrl(d,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info}))||void 0===c||c.catch(m=>{this.applicationErrorHandler(m)}
1),!this.isAnchorElement)}ngOnDestroy(){var r;null===(r=this.subscription)||void 0===r||r.unsubscribe()}updateHref(){var r,n;const s=this.urlTree;this.reactiveHref.set(null!==s&&this.locationStrategy?null!==(r=null===(n=this.locationStrategy)||void 0===n?void 0:n.prepareExternalUrl(this.router.serializeUrl(s)))&&void 0!==r?r:"":null)}applyAttributeValue(r,n){const s=this.renderer,o=this.el.nativeElement;null!==n?s.setAttribute(o,r,n):s.removeAttribute(o,r)}get urlTree(){return null===this.routerLinkInput?null:q(this.routerLinkInput)?this.routerLinkInput:this.router.createUrlTree(this.routerLinkInput,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}}return t=e,(0,a.A)(e,"\u0275fac",function(r){return new(r||t)(l.\u0275\u0275directiveInject(I),l.\u0275\u0275directiveInject(V),l.\u0275\u0275injectAttribute("tabindex"),l.\u0275\u0275directiveInject(l.Renderer2),l.\u0275\u0275directiveInject(l.ElementRef),l.\u0275\u0275directiveInject(y.LocationStrategy))}),(0,a.A)(e,"\u0275dir",l.\u0275\u0275defineDirective({type:t,selectors:[["","routerLink",""]],hostVars:2,hostBindings:function(r,n){1&r&&l.\u0275\u0275listener("click",function(o){return n.onClick(o.button,o.ctrlKey,o.shiftKey,o.altKey,o.metaKey)}),2&r&&l.\u0275\u0275attribute("href",n.reactiveHref(),l.\u0275\u0275sanitizeUrlOrResourceUrl)("target",n.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",l.booleanAttribute],skipLocationChange:[2,"skipLocationChange","skipLocationChange",l.booleanAttribute],replaceUrl:[2,"replaceUrl","replaceUrl",l.booleanAttribute],routerLink:"routerLink"},features:[l.\u0275\u0275NgOnChangesFeature]})),e})(),Rr=(()=>{var t;class e{get isActive(){return this._isActive}constructor(r,n,s,o,u){(0,a.A)(this,"router",void 0),(0,a.A)(this,"element",void 0),(0,a.A)(this,"renderer",void 0),(0,a.A)(this,"cdr",void 0),(0,a.A)(this,"link",void 0),(0,a.A)(this,"links",void 0),(0,a.A)(this,"classes",[]),(0,a.A)(this,"routerEventsSubscription",void 0),(0,a.A)(this,"linkInputChangesSubscription",void 0),(0,a.A)(this,"_isActive",!1),(0,a.A)(this,"routerLinkActiveOptions",{exact:!1}),(0,a.A)(this,"ariaCurrentWhenActive",void 0),(0,a.A)(this,"isActiveChange",new l.EventEmitter),this.router=r,this.element=n,this.renderer=s,this.cdr=o,this.link=u,this.routerEventsSubscription=r.events.subscribe(c=>{c instanceof P&&this.update()})}ngAfterContentInit(){(0,p.of)(this.links.changes,(0,p.of)(null)).pipe((0,h.mergeAll)()).subscribe(r=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){var r;null===(r=this.linkInputChangesSubscription)||void 0===r||r.unsubscribe();const n=[...this.links.toArray(),this.link].filter(s=>!!s).map(s=>s.onChanges);this.linkInputChangesSubscription=(0,p.from)(n).pipe((0,h.mergeAll)()).subscribe(s=>{this._isActive!==this.isLinkActive(this.router)(s)&&this.update()})}set routerLinkActive(r){const n=Array.isArray(r)?r:r.split(" ");this.classes=n.filter(s=>!!s)}ngOnChanges(r){this.update()}ngOnDestroy(){var r;this.routerEventsSubscription.unsubscribe(),null===(r=this.linkInputChangesSubscription)||void 0===r||r.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{const r=this.hasActiveLinks();this.classes.forEach(n=>{r?this.renderer.addClass(this.element.nativeElement,n):this.renderer.removeClass(this.element.nativeElement,n)}),r&&void 0!==this.ariaCurrentWhenActive?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){const n=function Si(t){return!!t.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return s=>{const o=s.urlTree;return!!o&&r.isActive(o,n)}}hasActiveLinks(){const r=this.isLinkActive(this.router);return this.link&&r(this.link)||this.links.some(r)}}return t=e,(0,a.A)(e,"\u0275fac",function(r){return new(r||t)(l.\u0275\u0275directiveInject(I),l.\u0275\u0275directiveInject(l.ElementRef),l.\u0275\u0275directiveInject(l.Renderer2),l.\u0275\u0275directiveInject(l.ChangeDetectorRef),l.\u0275\u0275directiveInject(vt,8))}),(0,a.A)(e,"\u0275dir",l.\u0275\u0275defineDirective({type:t,selectors:[["","routerLinkActive",""]],contentQueries:function(r,n,s){if(1&r&&l.\u0275\u0275contentQuery(s,vt,5),2&r){let o;l.\u0275\u0275queryRefresh(o=l.\u0275\u0275loadQuery())&&(n.links=o)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],features:[l.\u0275\u0275NgOnChangesFeature]})),e})();class le{}let yi=(()=>{var t;class e{preload(r,n){return n().pipe((0,h.catchError)(()=>(0,p.of)(null)))}}return t=e,(0,a.A)(e,"\u0275fac",function(r){return new(r||t)}),(0,a.A)(e,"\u0275prov",l.\u0275\u0275defineInjectable({token:t,factory:t.\u0275fac,providedIn:"root"})),e})(),Ci=(()=>{var t;class e{preload(r,n){return(0,p.of)(null)}}return t=e,(0,a.A)(e,"\u0275fac",function(r){return new(r||t)}),(0,a.A)(e,"\u0275prov",l.\u0275\u0275defineInjectable({token:t,factory:t.\u0275fac,providedIn:"root"})),e})(),Sr=(()=>{var t;class e{constructor(r,n,s,o){(0,a.A)(this,"router",void 0),(0,a.A)(this,"injector",void 0),(0,a.A)(this,"preloadingStrategy",void 0),(0,a.A)(this,"loader",void 0),(0,a.A)(this,"subscription",void 0),this.router=r,this.injector=n,this.preloadingStrategy=s,this.loader=o}setUpPreloading(){this.subscription=this.router.events.pipe((0,h.filter)(r=>r instanceof P),(0,h.concatMap)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(r,n){const s=[];for(const d of n){var o,u;d.providers&&!d._injector&&(d._injector=(0,l.createEnvironmentInjector)(d.providers,r,"Route: ".concat(d.path)));const f=null!==(o=d._injector)&&void 0!==o?o:r,m=null!==(u=d._loadedInjector)&&void 0!==u?u:f;var c;(d.loadChildren&&!d._loadedRoutes&&void 0===d.canLoad||d.loadComponent&&!d._loadedComponent)&&s.push(this.preloadConfig(f,d)),(d.children||d._loadedRoutes)&&s.push(this.processRoutes(m,null!==(c=d.children)&&void 0!==c?c:d._loadedRoutes))}return(0,p.from)(s).pipe((0,h.mergeAll)())}preloadConfig(r,n){return this.preloadingStrategy.preload(n,()=>{let s;s=n.loadChildren&&void 0===n.canLoad?this.loader.loadChildren(r,n):(0,p.of)(null);const o=s.pipe((0,h.mergeMap)(u=>{var c;return null===u?(0,p.of)(void 0):(n._loadedRoutes=u.routes,n._loadedInjector=u.injector,this.processRoutes(null!==(c=u.injector)&&void 0!==c?c:r,u.routes))}));if(n.loadComponent&&!n._loadedComponent){const u=this.loader.loadComponent(r,n);return(0,p.from)([o,u]).pipe((0,h.mergeAll)())}return o}
1)}}return t=e,(0,a.A)(e,"\u0275fac",function(r){return new(r||t)(l.\u0275\u0275inject(I),l.\u0275\u0275inject(l.EnvironmentInjector),l.\u0275\u0275inject(le),l.\u0275\u0275inject(se))}),(0,a.A)(e,"\u0275prov",l.\u0275\u0275defineInjectable({token:t,factory:t.\u0275fac,providedIn:"root"})),e})();const ce=new l.InjectionToken("");let yr=(()=>{var t;class e{constructor(r,n,s,o,u={}){(0,a.A)(this,"urlSerializer",void 0),(0,a.A)(this,"transitions",void 0),(0,a.A)(this,"viewportScroller",void 0),(0,a.A)(this,"zone",void 0),(0,a.A)(this,"options",void 0),(0,a.A)(this,"routerEventsSubscription",void 0),(0,a.A)(this,"scrollEventsSubscription",void 0),(0,a.A)(this,"lastId",0),(0,a.A)(this,"lastSource",at),(0,a.A)(this,"restoredId",0),(0,a.A)(this,"store",{}),this.urlSerializer=r,this.transitions=n,this.viewportScroller=s,this.zone=o,this.options=u,u.scrollPositionRestoration||(u.scrollPositionRestoration="disabled"),u.anchorScrolling||(u.anchorScrolling="disabled")}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(r=>{r instanceof ut?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=r.navigationTrigger,this.restoredId=r.restoredState?r.restoredState.navigationId:0):r instanceof P?(this.lastId=r.id,this.scheduleScrollEvent(r,this.urlSerializer.parse(r.urlAfterRedirects).fragment)):r instanceof H&&r.code===lt.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(r,this.urlSerializer.parse(r.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(r=>{if(!(r instanceof qt))return;const n={behavior:"instant"};r.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0],n):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(r.position,n):r.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(r.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0])})}scheduleScrollEvent(r,n){var s=this;this.zone.runOutsideAngular((0,Ri.A)(function*(){yield new Promise(o=>{setTimeout(o),typeof requestAnimationFrame<"u"&&requestAnimationFrame(o)}),s.zone.run(()=>{s.transitions.events.next(new qt(r,"popstate"===s.lastSource?s.store[s.restoredId]:null,n))})}))}ngOnDestroy(){var r,n;null===(r=this.routerEventsSubscription)||void 0===r||r.unsubscribe(),null===(n=this.scrollEventsSubscription)||void 0===n||n.unsubscribe()}}return t=e,(0,a.A)(e,"\u0275fac",function(r){l.\u0275\u0275invalidFactory()}),(0,a.A)(e,"\u0275prov",l.\u0275\u0275defineInjectable({token:t,factory:t.\u0275fac})),e})();function wi(t,...e){return(0,l.makeEnvironmentProviders)([{provide:G,multi:!0,useValue:t},[],{provide:V,useFactory:Cr,deps:[I]},{provide:l.APP_BOOTSTRAP_LISTENER,multi:!0,useFactory:wr},e.map(i=>i.\u0275providers)])}function Cr(t){return t.routerState.root}function U(t,e){return{\u0275kind:t,\u0275providers:e}}function _i(t){return[{provide:G,multi:!0,useValue:t},[]]}function Ii(t={}){return U(4,[{provide:ce,useFactory:()=>{const i=(0,l.inject)(y.ViewportScroller),r=(0,l.inject)(l.NgZone),n=(0,l.inject)(Nt),s=(0,l.inject)(F);return new yr(s,n,i,r,t)}}])}function wr(){const t=(0,l.inject)(l.Injector);return e=>{var i,r;const n=t.get(l.ApplicationRef);if(e!==n.components[0])return;const s=t.get(I),o=t.get(br);1===t.get(he)&&s.initialNavigation(),null===(i=t.get(Er,null,{optional:!0}))||void 0===i||i.setUpPreloading(),null===(r=t.get(ce,null,{optional:!0}))||void 0===r||r.init(),s.resetRootComponentType(n.componentTypes[0]),o.closed||(o.next(),o.complete(),o.unsubscribe())}}const br=new l.InjectionToken("",{factory:()=>new p.Subject}),he=new l.InjectionToken("",{providedIn:"root",factory:()=>1});function _r(){return U(2,[{provide:l.\u0275IS_ENABLED_BLOCKING_INITIAL_NAVIGATION,useValue:!0},{provide:he,useValue:0},(0,l.provideAppInitializer)(()=>{const e=(0,l.inject)(l.Injector);return e.get(y.LOCATION_INITIALIZED,Promise.resolve()).then(()=>new Promise(r=>{const n=e.get(I),s=e.get(br);ue(n,()=>{r(!0)}),e.get(Nt).afterPreactivation=()=>(r(!0),s.closed?(0,p.of)(void 0):s),n.initialNavigation()}))})])}function Ir(){return U(3,[(0,l.provideAppInitializer)(()=>{(0,l.inject)(I).setUpLocationChangeListener()}),{provide:he,useValue:2}])}function Ei(){let t=[];return t=[],U(1,t)}const Er=new l.InjectionToken("");function Mr(t){return U(0,[{provide:Er,useExisting:Sr},{provide:le,useExisting:t}])}function Mi(t){return U(5,[{provide:L,useValue:t}])}function Ti(){return U(6,[{provide:y.LocationStrategy,useClass:y.HashLocationStrategy}])}function ji(t){return U(7,[{provide:ae,useValue:t}])}function Tr(){return U(8,[Ze,{provide:Mt,useExisting:Ze}])}function jr(t){return(0,l.\u0275performanceMarkFeature)("NgRouterViewTransitions"),U(9,[{provide:fr,useValue:hi},{provide:vr,useValue:(0,v.A)({skipNextTransition:!(null==t||!t.skipInitialTransition)},t)}])}const Dr=[y.Location,{provide:F,useClass:nt},I,Z,{provide:V,useFactory:Cr,deps:[I]},se,[]];let Di=(()=>{var t;class e{constructor(){}static forRoot(r,n){return{ngModule:e,providers:[Dr,[],{provide:G,multi:!0,useValue:r},[],null!=n&&n.errorHandler?{provide:ae,useValue:n.errorHandler}:[],{provide:L,useValue:n||{}},null!=n&&n.useHash?{provide:y.LocationStrategy,useClass:y.HashLocationStrategy}:{provide:y.LocationStrategy,useClass:y.PathLocationStrategy},{provide:ce,useFactory:()=>{const t=(0,l.inject)(y.ViewportScroller),e=(0,l.inject)(l.NgZone),i=(0,l.inject)(L),r=(0,l.inject)(Nt),n=(0,l.inject)(F);return i.scrollOffset&&t.setOffset(i.scrollOffset),new yr(n,r,t,e,i)}},null!=n&&n.preloadingStrategy?Mr(n.preloadingStrategy).\u0275providers:[],null!=n&&n.initialNavigation?Ni(n):[],null!=n&&n.bindToComponentInputs?Tr().\u0275providers:[],null!=n&&n.enableViewTransitions?jr().\u0275providers:[],[{provide:de,useFactory:wr},{provide:l.APP_BOOTSTRAP_LISTENER,multi:!0,useExisting:de}]]}}static forChild(r){return{ngModule:e,providers:[{provide:G,multi:!0,useValue:r}]}}}return t=e,(0,a.A)(e,"\u0275fac",function(r){return new(r||t)}),(0,a.A)(e,"\u0275mod",l.\u0275\u0275defineNgModule({type:t})),(0,a.A)(e,"\u0275inj",l.\u0275\u0275defineInjector({})),e})();function Ni(t){return["disabled"===t.initialNavigation?Ir().\u0275providers:[],"enabledBlocking"===t.initialNavigation?_r().\u0275providers:[]]}const de=new l.InjectionToken("");function xi(t){return t.map(e=>(...i)=>(0,l.inject)(e).canMatch(...i))}function Li(t){return t.map(e=>(...i)=>(0,l.inject)(e).canActivate(...i))}function ki(t){return t.map(e=>(...i)=>(0,l.inject)(e).canActivateChild(...i))}function zi(t){return t.map(e=>(...i)=>(0,l.inject)(e).canDeactivate(...i))}function Bi(t){return(...e)=>(0,l.inject)(t).resolve(...e)}const Fi=new l.Version("20.3.30")},9204:(Pr,mt,_)=>{function v(y,l,p,h,Q,g,M){try{var z=y[g](M),w=z.value}catch(At){return void p(At)}z.done?l(w):Promise.resolve(w).then(h,Q)}function a(y){return function(){var l=this,p=arguments;return new Promise(function(h,Q){var g=y.apply(l,p);
1function M(w){v(g,h,Q,M,z,"next",w)}function z(w){v(g,h,Q,M,z,"throw",w)}M(void 0)})}}_.d(mt,{A:()=>a})}}]); 2//# sourceMappingURL=281.d25f538360904eed.js.map
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.