Free javascript Hosting


dailynews.js

Uploaded on Dec 20 2021 14:09 by raviagrawal01

(()=>{"use strict";var e,_={},d={};function n(e){var a=d[e];if(void 0!==a)return a.exports;var r=d[e]={exports:{}};return _[e](r,r.exports,n),r.exports}n.m=_,e=[],n.O=(a,r,u,l)=>{if(!r){var s=1/0;for(f=0;f<e.length;f++){for(var[r,u,l]=e[f],o=!0,t=0;t<r.length;t++)(!1&l||s>=l)&&Object.keys(n.O).every(h=>n.O[h](r[t]))?r.splice(t--,1):(o=!1,l<s&&(s=l));if(o){e.splice(f--,1);var c=u();void 0!==c&&(a=c)}}return a}l=l||0;for(var f=e.length;f>0&&e[f-1][2]>l;f--)e[f]=e[f-1];e[f]=[r,u,l]},n.n=e=>{var a=e&&e.__esModule?()=>e.default:()=>e;return n.d(a,{a}),a},n.d=(e,a)=>{for(var r in a)n.o(a,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:a[r]})},n.o=(e,a)=>Object.prototype.hasOwnProperty.call(e,a),(()=>{var e={666:0};n.O.j=u=>0===e[u];var a=(u,l)=>{var t,c,[f,s,o]=l,v=0;if(f.some(b=>0!==e[b])){for(t in s)n.o(s,t)&&(n.m[t]=s[t]);if(o)var i=o(n)}for(u&&u(l);v<f.length;v++)n.o(e,c=f[v])&&e[c]&&e[c][0](),e[f[v]]=0;return n.O(i)},r=self.webpackChunkdailynews=self.webpackChunkdailynews||[];r.forEach(a.bind(null,0)),r.push=a.bind(null,r.push.bind(r))})()})();
"use strict";(self.webpackChunkdailynews=self.webpackChunkdailynews||[]).push([[429],{782:()=>{!function(e){const n=e.performance;function i(I){n&&n.mark&&n.mark(I)}function r(I,p){n&&n.measure&&n.measure(I,p)}i("Zone");const c=e.__Zone_symbol_prefix||"__zone_symbol__";function u(I){return c+I}const f=!0===e[u("forceDuplicateZoneCheck")];if(e.Zone){if(f||"function"!=typeof e.Zone.__symbol__)throw new Error("Zone already loaded.");return e.Zone}let _=(()=>{class I{constructor(t,o){this._parent=t,this._name=o?o.name||"unnamed":"<root>",this._properties=o&&o.properties||{},this._zoneDelegate=new T(this,this._parent&&this._parent._zoneDelegate,o)}static assertZonePatched(){if(e.Promise!==J.ZoneAwarePromise)throw new Error("Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.\nMost likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)")}static get root(){let t=I.current;for(;t.parent;)t=t.parent;return t}static get current(){return G.zone}static get currentTask(){return te}static __load_patch(t,o,y=!1){if(J.hasOwnProperty(t)){if(!y&&f)throw Error("Already loaded patch: "+t)}else if(!e["__Zone_disable_"+t]){const P="Zone:"+t;i(P),J[t]=o(e,I,le),r(P,P)}}get parent(){return this._parent}get name(){return this._name}get(t){const o=this.getZoneWith(t);if(o)return o._properties[t]}getZoneWith(t){let o=this;for(;o;){if(o._properties.hasOwnProperty(t))return o;o=o._parent}return null}fork(t){if(!t)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,t)}wrap(t,o){if("function"!=typeof t)throw new Error("Expecting function got: "+t);const y=this._zoneDelegate.intercept(this,t,o),P=this;return function(){return P.runGuarded(y,this,arguments,o)}}run(t,o,y,P){G={parent:G,zone:this};try{return this._zoneDelegate.invoke(this,t,o,y,P)}finally{G=G.parent}}runGuarded(t,o=null,y,P){G={parent:G,zone:this};try{try{return this._zoneDelegate.invoke(this,t,o,y,P)}catch(K){if(this._zoneDelegate.handleError(this,K))throw K}}finally{G=G.parent}}runTask(t,o,y){if(t.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(t.zone||z).name+"; Execution: "+this.name+")");if(t.state===j&&(t.type===R||t.type===M))return;const P=t.state!=X;P&&t._transitionTo(X,O),t.runCount++;const K=te;te=t,G={parent:G,zone:this};try{t.type==M&&t.data&&!t.data.isPeriodic&&(t.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,t,o,y)}catch(l){if(this._zoneDelegate.handleError(this,l))throw l}}finally{t.state!==j&&t.state!==Y&&(t.type==R||t.data&&t.data.isPeriodic?P&&t._transitionTo(O,X):(t.runCount=0,this._updateTaskCount(t,-1),P&&t._transitionTo(j,X,j))),G=G.parent,te=K}}scheduleTask(t){if(t.zone&&t.zone!==this){let y=this;for(;y;){if(y===t.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${t.zone.name}`);y=y.parent}}t._transitionTo(q,j);const o=[];t._zoneDelegates=o,t._zone=this;try{t=this._zoneDelegate.scheduleTask(this,t)}catch(y){throw t._transitionTo(Y,q,j),this._zoneDelegate.handleError(this,y),y}return t._zoneDelegates===o&&this._updateTaskCount(t,1),t.state==q&&t._transitionTo(O,q),t}scheduleMicroTask(t,o,y,P){return this.scheduleTask(new m(v,t,o,y,P,void 0))}scheduleMacroTask(t,o,y,P,K){return this.scheduleTask(new m(M,t,o,y,P,K))}scheduleEventTask(t,o,y,P,K){return this.scheduleTask(new m(R,t,o,y,P,K))}cancelTask(t){if(t.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(t.zone||z).name+"; Execution: "+this.name+")");t._transitionTo(A,O,X);try{this._zoneDelegate.cancelTask(this,t)}catch(o){throw t._transitionTo(Y,A),this._zoneDelegate.handleError(this,o),o}return this._updateTaskCount(t,-1),t._transitionTo(j,A),t.runCount=0,t}_updateTaskCount(t,o){const y=t._zoneDelegates;-1==o&&(t._zoneDelegates=null);for(let P=0;P<y.length;P++)y[P]._updateTaskCount(t.type,o)}}return I.__symbol__=u,I})();const g={name:"",onHasTask:(I,p,t,o)=>I.hasTask(t,o),onScheduleTask:(I,p,t,o)=>I.scheduleTask(t,o),onInvokeTask:(I,p,t,o,y,P)=>I.invokeTask(t,o,y,P),onCancelTask:(I,p,t,o)=>I.cancelTask(t,o)};class T{constructor(p,t,o){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=p,this._parentDelegate=t,this._forkZS=o&&(o&&o.onFork?o:t._forkZS),this._forkDlgt=o&&(o.onFork?t:t._forkDlgt),this._forkCurrZone=o&&(o.onFork?this.zone:t._forkCurrZone),this._interceptZS=o&&(o.onIntercept?o:t._interceptZS),this._interceptDlgt=o&&(o.onIntercept?t:t._interceptDlgt),this._interceptCurrZone=o&&(o.onIntercept?this.zone:t._interceptCurrZone),this._invokeZS=o&&(o.onInvoke?o:t._invokeZS),this._invokeDlgt=o&&(o.onInvoke?t:t._invokeDlgt),this._invokeCurrZone=o&&(o.onInvoke?this.zone:t._invokeCurrZone),this._handleErrorZS=o&&(o.onHandleError?o:t._handleErrorZS),this._handleErrorDlgt=o&&(o.onHandleError?t:t._handleErrorDlgt),this._handleErrorCurrZone=o&&(o.onHandleError?this.zone:t._handleErrorCurrZone),this._scheduleTaskZS=o&&(o.onScheduleTask?o:t._scheduleTaskZS),this._scheduleTaskDlgt=o&&(o.onScheduleTask?t:t._scheduleTaskDlgt),this._scheduleTaskCurrZone=o&&(o.onScheduleTask?this.zone:t._scheduleTaskCurrZone),this._invokeTaskZS=o&&(o.onInvokeTask?o:t._invokeTaskZS),this._invokeTaskDlgt=o&&(o.onInvokeTask?t:t._invokeTaskDlgt),this._invokeTaskCurrZone=o&&(o.onInvokeTask?this.zone:t._invokeTaskCurrZone),this._cancelTaskZS=o&&(o.onCancelTask?o:t._cancelTaskZS),this._cancelTaskDlgt=o&&(o.onCancelTask?t:t._cancelTaskDlgt),this._cancelTaskCurrZone=o&&(o.onCancelTask?this.zone:t._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;const y=o&&o.onHasTask;(y||t&&t._hasTaskZS)&&(this._hasTaskZS=y?o:g,this._hasTaskDlgt=t,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=p,o.onScheduleTask||(this._scheduleTaskZS=g,this._scheduleTaskDlgt=t,this._scheduleTaskCurrZone=this.zone),o.onInvokeTask||(this._invokeTaskZS=g,this._invokeTaskDlgt=t,this._invokeTaskCurrZone=this.zone),o.onCancelTask||(this._cancelTaskZS=g,this._cancelTaskDlgt=t,this._cancelTaskCurrZone=this.zone))}fork(p,t){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,p,t):new _(p,t)}intercept(p,t,o){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,p,t,o):t}invoke(p,t,o,y,P){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,p,t,o,y,P):t.apply(o,y)}handleError(p,t){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,p,t)}scheduleTask(p,t){let o=t;if(this._scheduleTaskZS)this._hasTaskZS&&o._zoneDelegates.push(this._hasTaskDlgtOwner),o=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,p,t),o||(o=t);else if(t.scheduleFn)t.scheduleFn(t);else{if(t.type!=v)throw new Error("Task is missing scheduleFn.");d(t)}return o}invokeTask(p,t,o,y){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,p,t,o,y):t.callback.apply(o,y)}cancelTask(p,t){let o;if(this._cancelTaskZS)o=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,p,t);else{if(!t.cancelFn)throw Error("Task is not cancelable");o=t.cancelFn(t)}return o}hasTask(p,t){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,p,t)}catch(o){this.handleError(p,o)}}_updateTaskCount(p,t){const o=this._taskCounts,y=o[p],P=o[p]=y+t;if(P<0)throw new Error("More tasks executed then were scheduled.");0!=y&&0!=P||this.hasTask(this.zone,{microTask:o.microTask>0,macroTask:o.macroTask>0,eventTask:o.eventTask>0,change:p})}}class m{constructor(p,t,o,y,P,K){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=p,this.source=t,this.data=y,this.scheduleFn=P,this.cancelFn=K,!o)throw new Error("callback is not defined");this.callback=o;const l=this;this.invoke=p===R&&y&&y.useG?m.invokeTask:function(){return m.invokeTask.call(e,l,this,arguments)}}static invokeTask(p,t,o){p||(p=this),re++;try{return p.runCount++,p.zone.runTask(p,t,o)}finally{1==re&&L(),re--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(j,q)}_transitionTo(p,t,o){if(this._state!==t&&this._state!==o)throw new Error(`${this.type} '${this.source}': can not transition to '${p}', expecting state '${t}'${o?" or '"+o+"'":""}, was '${this._state}'.`);this._state=p,p==j&&(this._zoneDelegates=null)}toString(){return this.data&&void 0!==this.data.handleId?this.data.handleId.toString():Object.prototype.toString.call(this)}toJSON(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}}}const S=u("setTimeout"),D=u("Promise"),Z=u("then");let E,B=[],V=!1;function d(I){if(0===re&&0===B.length)if(E||e[D]&&(E=e[D].resolve(0)),E){let p=E[Z];p||(p=E.then),p.call(E,L)}else e[S](L,0);I&&B.push(I)}function L(){if(!V){for(V=!0;B.length;){const I=B;B=[];for(let p=0;p<I.length;p++){const t=I[p];try{t.zone.runTask(t,null,null)}catch(o){le.onUnhandledError(o)}}}le.microtaskDrainDone(),V=!1}}const z={name:"NO ZONE"},j="notScheduled",q="scheduling",O="scheduled",X="running",A="canceling",Y="unknown",v="microTask",M="macroTask",R="eventTask",J={},le={symbol:u,currentZoneFrame:()=>G,onUnhandledError:F,microtaskDrainDone:F,scheduleMicroTask:d,showUncaughtError:()=>!_[u("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:F,patchMethod:()=>F,bindArguments:()=>[],patchThen:()=>F,patchMacroTask:()=>F,patchEventPrototype:()=>F,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>F,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>F,wrapWithCurrentZone:()=>F,filterProperties:()=>[],attachOriginToPatched:()=>F,_redefineProperty:()=>F,patchCallbacks:()=>F};let G={parent:null,zone:new _(null,null)},te=null,re=0;function F(){}r("Zone","Zone"),e.Zone=_}("undefined"!=typeof window&&window||"undefined"!=typeof self&&self||global);const ue=Object.getOwnPropertyDescriptor,he=Object.defineProperty,de=Object.getPrototypeOf,Be=Object.create,ut=Array.prototype.slice,Se="addEventListener",Oe="removeEventListener",Ze=Zone.__symbol__(Se),Ie=Zone.__symbol__(Oe),se="true",ie="false",ke=Zone.__symbol__("");function Le(e,n){return Zone.current.wrap(e,n)}function Me(e,n,i,r,c){return Zone.current.scheduleMacroTask(e,n,i,r,c)}const x=Zone.__symbol__,Pe="undefined"!=typeof window,pe=Pe?window:void 0,$=Pe&&pe||"object"==typeof self&&self||global,ht=[null];function Ae(e,n){for(let i=e.length-1;i>=0;i--)"function"==typeof e[i]&&(e[i]=Le(e[i],n+"_"+i));return e}function Fe(e){return!e||!1!==e.writable&&!("function"==typeof e.get&&void 0===e.set)}const Ue="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope,Re=!("nw"in $)&&void 0!==$.process&&"[object process]"==={}.toString.call($.process),je=!Re&&!Ue&&!(!Pe||!pe.HTMLElement),We=void 0!==$.process&&"[object process]"==={}.toString.call($.process)&&!Ue&&!(!Pe||!pe.HTMLElement),Ce={},qe=function(e){if(!(e=e||$.event))return;let n=Ce[e.type];n||(n=Ce[e.type]=x("ON_PROPERTY"+e.type));const i=this||e.target||$,r=i[n];let c;if(je&&i===pe&&"error"===e.type){const u=e;c=r&&r.call(this,u.message,u.filename,u.lineno,u.colno,u.error),!0===c&&e.preventDefault()}else c=r&&r.apply(this,arguments),null!=c&&!c&&e.preventDefault();return c};function Xe(e,n,i){let r=ue(e,n);if(!r&&i&&ue(i,n)&&(r={enumerable:!0,configurable:!0}),!r||!r.configurable)return;const c=x("on"+n+"patched");if(e.hasOwnProperty(c)&&e[c])return;delete r.writable,delete r.value;const u=r.get,f=r.set,_=n.substr(2);let g=Ce[_];g||(g=Ce[_]=x("ON_PROPERTY"+_)),r.set=function(T){let m=this;!m&&e===$&&(m=$),m&&(m[g]&&m.removeEventListener(_,qe),f&&f.apply(m,ht),"function"==typeof T?(m[g]=T,m.addEventListener(_,qe,!1)):m[g]=null)},r.get=function(){let T=this;if(!T&&e===$&&(T=$),!T)return null;const m=T[g];if(m)return m;if(u){let S=u&&u.call(this);if(S)return r.set.call(this,S),"function"==typeof T.removeAttribute&&T.removeAttribute(n),S}return null},he(e,n,r),e[c]=!0}function Ye(e,n,i){if(n)for(let r=0;r<n.length;r++)Xe(e,"on"+n[r],i);else{const r=[];for(const c in e)"on"==c.substr(0,2)&&r.push(c);for(let c=0;c<r.length;c++)Xe(e,r[c],i)}}const ne=x("originalInstance");function ve(e){const n=$[e];if(!n)return;$[x(e)]=n,$[e]=function(){const c=Ae(arguments,e);switch(c.length){case 0:this[ne]=new n;break;case 1:this[ne]=new n(c[0]);break;case 2:this[ne]=new n(c[0],c[1]);break;case 3:this[ne]=new n(c[0],c[1],c[2]);break;case 4:this[ne]=new n(c[0],c[1],c[2],c[3]);break;default:throw new Error("Arg list too long.")}},ae($[e],n);const i=new n(function(){});let r;for(r in i)"XMLHttpRequest"===e&&"responseBlob"===r||function(c){"function"==typeof i[c]?$[e].prototype[c]=function(){return this[ne][c].apply(this[ne],arguments)}:he($[e].prototype,c,{set:function(u){"function"==typeof u?(this[ne][c]=Le(u,e+"."+c),ae(this[ne][c],u)):this[ne][c]=u},get:function(){return this[ne][c]}})}(r);for(r in n)"prototype"!==r&&n.hasOwnProperty(r)&&($[e][r]=n[r])}function ce(e,n,i){let r=e;for(;r&&!r.hasOwnProperty(n);)r=de(r);!r&&e[n]&&(r=e);const c=x(n);let u=null;if(r&&(!(u=r[c])||!r.hasOwnProperty(c))&&(u=r[c]=r[n],Fe(r&&ue(r,n)))){const _=i(u,c,n);r[n]=function(){return _(this,arguments)},ae(r[n],u)}return u}function _t(e,n,i){let r=null;function c(u){const f=u.data;return f.args[f.cbIdx]=function(){u.invoke.apply(this,arguments)},r.apply(f.target,f.args),u}r=ce(e,n,u=>function(f,_){const g=i(f,_);return g.cbIdx>=0&&"function"==typeof _[g.cbIdx]?Me(g.name,_[g.cbIdx],g,c):u.apply(f,_)})}function ae(e,n){e[x("OriginalDelegate")]=n}let $e=!1,He=!1;function mt(){if($e)return He;$e=!0;try{const e=pe.navigator.userAgent;(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/")||-1!==e.indexOf("Edge/"))&&(He=!0)}catch(e){}return He}Zone.__load_patch("ZoneAwarePromise",(e,n,i)=>{const r=Object.getOwnPropertyDescriptor,c=Object.defineProperty,f=i.symbol,_=[],g=!0===e[f("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],T=f("Promise"),m=f("then");i.onUnhandledError=l=>{if(i.showUncaughtError()){const s=l&&l.rejection;s?console.error("Unhandled Promise rejection:",s instanceof Error?s.message:s,"; Zone:",l.zone.name,"; Task:",l.task&&l.task.source,"; Value:",s,s instanceof Error?s.stack:void 0):console.error(l)}},i.microtaskDrainDone=()=>{for(;_.length;){const l=_.shift();try{l.zone.runGuarded(()=>{throw l.throwOriginal?l.rejection:l})}catch(s){Z(s)}}};const D=f("unhandledPromiseRejectionHandler");function Z(l){i.onUnhandledError(l);try{const s=n[D];"function"==typeof s&&s.call(this,l)}catch(s){}}function B(l){return l&&l.then}function V(l){return l}function E(l){return t.reject(l)}const d=f("state"),L=f("value"),z=f("finally"),j=f("parentPromiseValue"),q=f("parentPromiseState"),X=null,A=!0,Y=!1;function M(l,s){return a=>{try{G(l,s,a)}catch(h){G(l,!1,h)}}}const le=f("currentTaskTrace");function G(l,s,a){const h=function(){let l=!1;return function(a){return function(){l||(l=!0,a.apply(null,arguments))}}}();if(l===a)throw new TypeError("Promise resolved with itself");if(l[d]===X){let w=null;try{("object"==typeof a||"function"==typeof a)&&(w=a&&a.then)}catch(C){return h(()=>{G(l,!1,C)})(),l}if(s!==Y&&a instanceof t&&a.hasOwnProperty(d)&&a.hasOwnProperty(L)&&a[d]!==X)re(a),G(l,a[d],a[L]);else if(s!==Y&&"function"==typeof w)try{w.call(a,h(M(l,s)),h(M(l,!1)))}catch(C){h(()=>{G(l,!1,C)})()}else{l[d]=s;const C=l[L];if(l[L]=a,l[z]===z&&s===A&&(l[d]=l[q],l[L]=l[j]),s===Y&&a instanceof Error){const k=n.currentTask&&n.currentTask.data&&n.currentTask.data.__creationTrace__;k&&c(a,le,{configurable:!0,enumerable:!1,writable:!0,value:k})}for(let k=0;k<C.length;)F(l,C[k++],C[k++],C[k++],C[k++]);if(0==C.length&&s==Y){l[d]=0;let k=a;try{throw new Error("Uncaught (in promise): "+function(l){return l&&l.toString===Object.prototype.toString?(l.constructor&&l.constructor.name||"")+": "+JSON.stringify(l):l?l.toString():Object.prototype.toString.call(l)}(a)+(a&&a.stack?"\n"+a.stack:""))}catch(b){k=b}g&&(k.throwOriginal=!0),k.rejection=a,k.promise=l,k.zone=n.current,k.task=n.currentTask,_.push(k),i.scheduleMicroTask()}}}return l}const te=f("rejectionHandledHandler");function re(l){if(0===l[d]){try{const s=n[te];s&&"function"==typeof s&&s.call(this,{rejection:l[L],promise:l})}catch(s){}l[d]=Y;for(let s=0;s<_.length;s++)l===_[s].promise&&_.splice(s,1)}}function F(l,s,a,h,w){re(l);const C=l[d],k=C?"function"==typeof h?h:V:"function"==typeof w?w:E;s.scheduleMicroTask("Promise.then",()=>{try{const b=l[L],N=!!a&&z===a[z];N&&(a[j]=b,a[q]=C);const H=s.run(k,void 0,N&&k!==E&&k!==V?[]:[b]);G(a,!0,H)}catch(b){G(a,!1,b)}},a)}const p=function(){};class t{static toString(){return"function ZoneAwarePromise() { [native code] }"}static resolve(s){return G(new this(null),A,s)}static reject(s){return G(new this(null),Y,s)}static race(s){let a,h,w=new this((b,N)=>{a=b,h=N});function C(b){a(b)}function k(b){h(b)}for(let b of s)B(b)||(b=this.resolve(b)),b.then(C,k);return w}static all(s){return t.allWithCallback(s)}static allSettled(s){return(this&&this.prototype instanceof t?this:t).allWithCallback(s,{thenCallback:h=>({status:"fulfilled",value:h}),errorCallback:h=>({status:"rejected",reason:h})})}static allWithCallback(s,a){let h,w,C=new this((H,U)=>{h=H,w=U}),k=2,b=0;const N=[];for(let H of s){B(H)||(H=this.resolve(H));const U=b;try{H.then(Q=>{N[U]=a?a.thenCallback(Q):Q,k--,0===k&&h(N)},Q=>{a?(N[U]=a.errorCallback(Q),k--,0===k&&h(N)):w(Q)})}catch(Q){w(Q)}k++,b++}return k-=2,0===k&&h(N),C}constructor(s){const a=this;if(!(a instanceof t))throw new Error("Must be an instanceof Promise.");a[d]=X,a[L]=[];try{s&&s(M(a,A),M(a,Y))}catch(h){G(a,!1,h)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return t}then(s,a){let h=this.constructor[Symbol.species];(!h||"function"!=typeof h)&&(h=this.constructor||t);const w=new h(p),C=n.current;return this[d]==X?this[L].push(C,w,s,a):F(this,C,w,s,a),w}catch(s){return this.then(null,s)}finally(s){let a=this.constructor[Symbol.species];(!a||"function"!=typeof a)&&(a=t);const h=new a(p);h[z]=z;const w=n.current;return this[d]==X?this[L].push(w,h,s,s):F(this,w,h,s,s),h}}t.resolve=t.resolve,t.reject=t.reject,t.race=t.race,t.all=t.all;const o=e[T]=e.Promise;e.Promise=t;const y=f("thenPatched");function P(l){const s=l.prototype,a=r(s,"then");if(a&&(!1===a.writable||!a.configurable))return;const h=s.then;s[m]=h,l.prototype.then=function(w,C){return new t((b,N)=>{h.call(this,b,N)}).then(w,C)},l[y]=!0}return i.patchThen=P,o&&(P(o),ce(e,"fetch",l=>function(l){return function(s,a){let h=l.apply(s,a);if(h instanceof t)return h;let w=h.constructor;return w[y]||P(w),h}}(l))),Promise[n.__symbol__("uncaughtPromiseErrors")]=_,t}),Zone.__load_patch("toString",e=>{const n=Function.prototype.toString,i=x("OriginalDelegate"),r=x("Promise"),c=x("Error"),u=function(){if("function"==typeof this){const T=this[i];if(T)return"function"==typeof T?n.call(T):Object.prototype.toString.call(T);if(this===Promise){const m=e[r];if(m)return n.call(m)}if(this===Error){const m=e[c];if(m)return n.call(m)}}return n.call(this)};u[i]=n,Function.prototype.toString=u;const f=Object.prototype.toString;Object.prototype.toString=function(){return"function"==typeof Promise&&this instanceof Promise?"[object Promise]":f.call(this)}});let me=!1;if("undefined"!=typeof window)try{const e=Object.defineProperty({},"passive",{get:function(){me=!0}});window.addEventListener("test",e,e),window.removeEventListener("test",e,e)}catch(e){me=!1}const Et={useG:!0},ee={},Ke={},Je=new RegExp("^"+ke+"(\\w+)(true|false)$"),xe=x("propagationStopped");function Qe(e,n){const i=(n?n(e):e)+ie,r=(n?n(e):e)+se,c=ke+i,u=ke+r;ee[e]={},ee[e][ie]=c,ee[e][se]=u}function Tt(e,n,i){const r=i&&i.add||Se,c=i&&i.rm||Oe,u=i&&i.listeners||"eventListeners",f=i&&i.rmAll||"removeAllListeners",_=x(r),g="."+r+":",S=function(E,d,L){if(E.isRemoved)return;const z=E.callback;"object"==typeof z&&z.handleEvent&&(E.callback=q=>z.handleEvent(q),E.originalDelegate=z),E.invoke(E,d,[L]);const j=E.options;j&&"object"==typeof j&&j.once&&d[c].call(d,L.type,E.originalDelegate?E.originalDelegate:E.callback,j)},D=function(E){if(!(E=E||e.event))return;const d=this||E.target||e,L=d[ee[E.type][ie]];if(L)if(1===L.length)S(L[0],d,E);else{const z=L.slice();for(let j=0;j<z.length&&(!E||!0!==E[xe]);j++)S(z[j],d,E)}},Z=function(E){if(!(E=E||e.event))return;const d=this||E.target||e,L=d[ee[E.type][se]];if(L)if(1===L.length)S(L[0],d,E);else{const z=L.slice();for(let j=0;j<z.length&&(!E||!0!==E[xe]);j++)S(z[j],d,E)}};function B(E,d){if(!E)return!1;let L=!0;d&&void 0!==d.useG&&(L=d.useG);const z=d&&d.vh;let j=!0;d&&void 0!==d.chkDup&&(j=d.chkDup);let q=!1;d&&void 0!==d.rt&&(q=d.rt);let O=E;for(;O&&!O.hasOwnProperty(r);)O=de(O);if(!O&&E[r]&&(O=E),!O||O[_])return!1;const X=d&&d.eventNameToString,A={},Y=O[_]=O[r],v=O[x(c)]=O[c],M=O[x(u)]=O[u],R=O[x(f)]=O[f];let J;function le(s,a){return!me&&"object"==typeof s&&s?!!s.capture:me&&a?"boolean"==typeof s?{capture:s,passive:!0}:s?"object"==typeof s&&!1!==s.passive?Object.assign(Object.assign({},s),{passive:!0}):s:{passive:!0}:s}d&&d.prepend&&(J=O[x(d.prepend)]=O[d.prepend]);const p=L?function(s){if(!A.isExisting)return Y.call(A.target,A.eventName,A.capture?Z:D,A.options)}:function(s){return Y.call(A.target,A.eventName,s.invoke,A.options)},t=L?function(s){if(!s.isRemoved){const a=ee[s.eventName];let h;a&&(h=a[s.capture?se:ie]);const w=h&&s.target[h];if(w)for(let C=0;C<w.length;C++)if(w[C]===s){w.splice(C,1),s.isRemoved=!0,0===w.length&&(s.allRemoved=!0,s.target[h]=null);break}}if(s.allRemoved)return v.call(s.target,s.eventName,s.capture?Z:D,s.options)}:function(s){return v.call(s.target,s.eventName,s.invoke,s.options)},y=d&&d.diff?d.diff:function(s,a){const h=typeof a;return"function"===h&&s.callback===a||"object"===h&&s.originalDelegate===a},P=Zone[x("UNPATCHED_EVENTS")],K=e[x("PASSIVE_EVENTS")],l=function(s,a,h,w,C=!1,k=!1){return function(){const b=this||e;let N=arguments[0];d&&d.transferEventName&&(N=d.transferEventName(N));let H=arguments[1];if(!H)return s.apply(this,arguments);if(Re&&"uncaughtException"===N)return s.apply(this,arguments);let U=!1;if("function"!=typeof H){if(!H.handleEvent)return s.apply(this,arguments);U=!0}if(z&&!z(s,H,b,arguments))return;const Q=me&&!!K&&-1!==K.indexOf(N),oe=le(arguments[2],Q);if(P)for(let _e=0;_e<P.length;_e++)if(N===P[_e])return Q?s.call(b,N,H,oe):s.apply(this,arguments);const Ge=!!oe&&("boolean"==typeof oe||oe.capture),st=!(!oe||"object"!=typeof oe)&&oe.once,At=Zone.current;let ze=ee[N];ze||(Qe(N,X),ze=ee[N]);const it=ze[Ge?se:ie];let De,ge=b[it],ct=!1;if(ge){if(ct=!0,j)for(let _e=0;_e<ge.length;_e++)if(y(ge[_e],H))return}else ge=b[it]=[];const at=b.constructor.name,lt=Ke[at];lt&&(De=lt[N]),De||(De=at+a+(X?X(N):N)),A.options=oe,st&&(A.options.once=!1),A.target=b,A.capture=Ge,A.eventName=N,A.isExisting=ct;const be=L?Et:void 0;be&&(be.taskData=A);const fe=At.scheduleEventTask(De,H,be,h,w);return A.target=null,be&&(be.taskData=null),st&&(oe.once=!0),!me&&"boolean"==typeof fe.options||(fe.options=oe),fe.target=b,fe.capture=Ge,fe.eventName=N,U&&(fe.originalDelegate=H),k?ge.unshift(fe):ge.push(fe),C?b:void 0}};return O[r]=l(Y,g,p,t,q),J&&(O.prependListener=l(J,".prependListener:",function(s){return J.call(A.target,A.eventName,s.invoke,A.options)},t,q,!0)),O[c]=function(){const s=this||e;let a=arguments[0];d&&d.transferEventName&&(a=d.transferEventName(a));const h=arguments[2],w=!!h&&("boolean"==typeof h||h.capture),C=arguments[1];if(!C)return v.apply(this,arguments);if(z&&!z(v,C,s,arguments))return;const k=ee[a];let b;k&&(b=k[w?se:ie]);const N=b&&s[b];if(N)for(let H=0;H<N.length;H++){const U=N[H];if(y(U,C))return N.splice(H,1),U.isRemoved=!0,0===N.length&&(U.allRemoved=!0,s[b]=null,"string"==typeof a)&&(s[ke+"ON_PROPERTY"+a]=null),U.zone.cancelTask(U),q?s:void 0}return v.apply(this,arguments)},O[u]=function(){const s=this||e;let a=arguments[0];d&&d.transferEventName&&(a=d.transferEventName(a));const h=[],w=et(s,X?X(a):a);for(let C=0;C<w.length;C++){const k=w[C];h.push(k.originalDelegate?k.originalDelegate:k.callback)}return h},O[f]=function(){const s=this||e;let a=arguments[0];if(a){d&&d.transferEventName&&(a=d.transferEventName(a));const h=ee[a];if(h){const k=s[h[ie]],b=s[h[se]];if(k){const N=k.slice();for(let H=0;H<N.length;H++){const U=N[H];this[c].call(this,a,U.originalDelegate?U.originalDelegate:U.callback,U.options)}}if(b){const N=b.slice();for(let H=0;H<N.length;H++){const U=N[H];this[c].call(this,a,U.originalDelegate?U.originalDelegate:U.callback,U.options)}}}}else{const h=Object.keys(s);for(let w=0;w<h.length;w++){const k=Je.exec(h[w]);let b=k&&k[1];b&&"removeListener"!==b&&this[f].call(this,b)}this[f].call(this,"removeListener")}if(q)return this},ae(O[r],Y),ae(O[c],v),R&&ae(O[f],R),M&&ae(O[u],M),!0}let V=[];for(let E=0;E<n.length;E++)V[E]=B(n[E],i);return V}function et(e,n){if(!n){const u=[];for(let f in e){const _=Je.exec(f);let g=_&&_[1];if(g&&(!n||g===n)){const T=e[f];if(T)for(let m=0;m<T.length;m++)u.push(T[m])}}return u}let i=ee[n];i||(Qe(n),i=ee[n]);const r=e[i[ie]],c=e[i[se]];return r?c?r.concat(c):r.slice():c?c.slice():[]}function yt(e,n){const i=e.Event;i&&i.prototype&&n.patchMethod(i.prototype,"stopImmediatePropagation",r=>function(c,u){c[xe]=!0,r&&r.apply(c,u)})}function gt(e,n,i,r,c){const u=Zone.__symbol__(r);if(n[u])return;const f=n[u]=n[r];n[r]=function(_,g,T){return g&&g.prototype&&c.forEach(function(m){const S=`${i}.${r}::`+m,D=g.prototype;if(D.hasOwnProperty(m)){const Z=e.ObjectGetOwnPropertyDescriptor(D,m);Z&&Z.value?(Z.value=e.wrapWithCurrentZone(Z.value,S),e._redefineProperty(g.prototype,m,Z)):D[m]&&(D[m]=e.wrapWithCurrentZone(D[m],S))}else D[m]&&(D[m]=e.wrapWithCurrentZone(D[m],S))}),f.call(n,_,g,T)},e.attachOriginToPatched(n[r],f)}const Ve=["absolutedeviceorientation","afterinput","afterprint","appinstalled","beforeinstallprompt","beforeprint","beforeunload","devicelight","devicemotion","deviceorientation","deviceorientationabsolute","deviceproximity","hashchange","languagechange","message","mozbeforepaint","offline","online","paint","pageshow","pagehide","popstate","rejectionhandled","storage","unhandledrejection","unload","userproximity","vrdisplayconnected","vrdisplaydisconnected","vrdisplaypresentchange"],wt=["encrypted","waitingforkey","msneedkey","mozinterruptbegin","mozinterruptend"],tt=["load"],nt=["blur","error","focus","load","resize","scroll","messageerror"],Dt=["bounce","finish","start"],rt=["loadstart","progress","abort","error","load","progress","timeout","loadend","readystatechange"],Ee=["upgradeneeded","complete","abort","success","error","blocked","versionchange","close"],St=["close","error","open","message"],Ot=["error","message"],Te=["abort","animationcancel","animationend","animationiteration","auxclick","beforeinput","blur","cancel","canplay","canplaythrough","change","compositionstart","compositionupdate","compositionend","cuechange","click","close","contextmenu","curechange","dblclick","drag","dragend","dragenter","dragexit","dragleave","dragover","drop","durationchange","emptied","ended","error","focus","focusin","focusout","gotpointercapture","input","invalid","keydown","keypress","keyup","load","loadstart","loadeddata","loadedmetadata","lostpointercapture","mousedown","mouseenter","mouseleave","mousemove","mouseout","mouseover","mouseup","mousewheel","orientationchange","pause","play","playing","pointercancel","pointerdown","pointerenter","pointerleave","pointerlockchange","mozpointerlockchange","webkitpointerlockerchange","pointerlockerror","mozpointerlockerror","webkitpointerlockerror","pointermove","pointout","pointerover","pointerup","progress","ratechange","reset","resize","scroll","seeked","seeking","select","selectionchange","selectstart","show","sort","stalled","submit","suspend","timeupdate","volumechange","touchcancel","touchmove","touchstart","touchend","transitioncancel","transitionend","waiting","wheel"].concat(["webglcontextrestored","webglcontextlost","webglcontextcreationerror"],["autocomplete","autocompleteerror"],["toggle"],["afterscriptexecute","beforescriptexecute","DOMContentLoaded","freeze","fullscreenchange","mozfullscreenchange","webkitfullscreenchange","msfullscreenchange","fullscreenerror","mozfullscreenerror","webkitfullscreenerror","msfullscreenerror","readystatechange","visibilitychange","resume"],Ve,["beforecopy","beforecut","beforepaste","copy","cut","paste","dragstart","loadend","animationstart","search","transitionrun","transitionstart","webkitanimationend","webkitanimationiteration","webkitanimationstart","webkittransitionend"],["activate","afterupdate","ariarequest","beforeactivate","beforedeactivate","beforeeditfocus","beforeupdate","cellchange","controlselect","dataavailable","datasetchanged","datasetcomplete","errorupdate","filterchange","layoutcomplete","losecapture","move","moveend","movestart","propertychange","resizeend","resizestart","rowenter","rowexit","rowsdelete","rowsinserted","command","compassneedscalibration","deactivate","help","mscontentzoom","msmanipulationstatechanged","msgesturechange","msgesturedoubletap","msgestureend","msgesturehold","msgesturestart","msgesturetap","msgotpointercapture","msinertiastart","mslostpointercapture","mspointercancel","mspointerdown","mspointerenter","mspointerhover","mspointerleave","mspointermove","mspointerout","mspointerover","mspointerup","pointerout","mssitemodejumplistitemremoved","msthumbnailclick","stop","storagecommit"]);function ot(e,n,i){if(!i||0===i.length)return n;const r=i.filter(u=>u.target===e);if(!r||0===r.length)return n;const c=r[0].ignoreProperties;return n.filter(u=>-1===c.indexOf(u))}function W(e,n,i,r){e&&Ye(e,ot(e,n,i),r)}Zone.__load_patch("util",(e,n,i)=>{i.patchOnProperties=Ye,i.patchMethod=ce,i.bindArguments=Ae,i.patchMacroTask=_t;const r=n.__symbol__("BLACK_LISTED_EVENTS"),c=n.__symbol__("UNPATCHED_EVENTS");e[c]&&(e[r]=e[c]),e[r]&&(n[r]=n[c]=e[r]),i.patchEventPrototype=yt,i.patchEventTarget=Tt,i.isIEOrEdge=mt,i.ObjectDefineProperty=he,i.ObjectGetOwnPropertyDescriptor=ue,i.ObjectCreate=Be,i.ArraySlice=ut,i.patchClass=ve,i.wrapWithCurrentZone=Le,i.filterProperties=ot,i.attachOriginToPatched=ae,i._redefineProperty=Object.defineProperty,i.patchCallbacks=gt,i.getGlobalObjects=()=>({globalSources:Ke,zoneSymbolEventNames:ee,eventNames:Te,isBrowser:je,isMix:We,isNode:Re,TRUE_STR:se,FALSE_STR:ie,ZONE_SYMBOL_PREFIX:ke,ADD_EVENT_LISTENER_STR:Se,REMOVE_EVENT_LISTENER_STR:Oe})});const Ne=x("zoneTask");function ye(e,n,i,r){let c=null,u=null;i+=r;const f={};function _(T){const m=T.data;return m.args[0]=function(){return T.invoke.apply(this,arguments)},m.handleId=c.apply(e,m.args),T}function g(T){return u.call(e,T.data.handleId)}c=ce(e,n+=r,T=>function(m,S){if("function"==typeof S[0]){const D={isPeriodic:"Interval"===r,delay:"Timeout"===r||"Interval"===r?S[1]||0:void 0,args:S},Z=S[0];S[0]=function(){try{return Z.apply(this,arguments)}finally{D.isPeriodic||("number"==typeof D.handleId?delete f[D.handleId]:D.handleId&&(D.handleId[Ne]=null))}};const B=Me(n,S[0],D,_,g);if(!B)return B;const V=B.data.handleId;return"number"==typeof V?f[V]=B:V&&(V[Ne]=B),V&&V.ref&&V.unref&&"function"==typeof V.ref&&"function"==typeof V.unref&&(B.ref=V.ref.bind(V),B.unref=V.unref.bind(V)),"number"==typeof V||V?V:B}return T.apply(e,S)}),u=ce(e,i,T=>function(m,S){const D=S[0];let Z;"number"==typeof D?Z=f[D]:(Z=D&&D[Ne],Z||(Z=D)),Z&&"string"==typeof Z.type?"notScheduled"!==Z.state&&(Z.cancelFn&&Z.data.isPeriodic||0===Z.runCount)&&("number"==typeof D?delete f[D]:D&&(D[Ne]=null),Z.zone.cancelTask(Z)):T.apply(e,S)})}Zone.__load_patch("legacy",e=>{const n=e[Zone.__symbol__("legacyPatch")];n&&n()}),Zone.__load_patch("queueMicrotask",(e,n,i)=>{i.patchMethod(e,"queueMicrotask",r=>function(c,u){n.current.scheduleMicroTask("queueMicrotask",u[0])})}),Zone.__load_patch("timers",e=>{const n="set",i="clear";ye(e,n,i,"Timeout"),ye(e,n,i,"Interval"),ye(e,n,i,"Immediate")}),Zone.__load_patch("requestAnimationFrame",e=>{ye(e,"request","cancel","AnimationFrame"),ye(e,"mozRequest","mozCancel","AnimationFrame"),ye(e,"webkitRequest","webkitCancel","AnimationFrame")}),Zone.__load_patch("blocking",(e,n)=>{const i=["alert","prompt","confirm"];for(let r=0;r<i.length;r++)ce(e,i[r],(u,f,_)=>function(g,T){return n.current.run(u,e,T,_)})}),Zone.__load_patch("EventTarget",(e,n,i)=>{(function(e,n){n.patchEventPrototype(e,n)})(e,i),function(e,n){if(Zone[n.symbol("patchEventTarget")])return;const{eventNames:i,zoneSymbolEventNames:r,TRUE_STR:c,FALSE_STR:u,ZONE_SYMBOL_PREFIX:f}=n.getGlobalObjects();for(let g=0;g<i.length;g++){const T=i[g],D=f+(T+u),Z=f+(T+c);r[T]={},r[T][u]=D,r[T][c]=Z}const _=e.EventTarget;_&&_.prototype&&n.patchEventTarget(e,[_&&_.prototype])}(e,i);const r=e.XMLHttpRequestEventTarget;r&&r.prototype&&i.patchEventTarget(e,[r.prototype])}),Zone.__load_patch("MutationObserver",(e,n,i)=>{ve("MutationObserver"),ve("WebKitMutationObserver")}),Zone.__load_patch("IntersectionObserver",(e,n,i)=>{ve("IntersectionObserver")}),Zone.__load_patch("FileReader",(e,n,i)=>{ve("FileReader")}),Zone.__load_patch("on_property",(e,n,i)=>{!function(e,n){if(Re&&!We||Zone[e.symbol("patchEvents")])return;const i="undefined"!=typeof WebSocket,r=n.__Zone_ignore_on_properties;if(je){const f=window,_=function(){try{const e=pe.navigator.userAgent;if(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/"))return!0}catch(e){}return!1}()?[{target:f,ignoreProperties:["error"]}]:[];W(f,Te.concat(["messageerror"]),r&&r.concat(_),de(f)),W(Document.prototype,Te,r),void 0!==f.SVGElement&&W(f.SVGElement.prototype,Te,r),W(Element.prototype,Te,r),W(HTMLElement.prototype,Te,r),W(HTMLMediaElement.prototype,wt,r),W(HTMLFrameSetElement.prototype,Ve.concat(nt),r),W(HTMLBodyElement.prototype,Ve.concat(nt),r),W(HTMLFrameElement.prototype,tt,r),W(HTMLIFrameElement.prototype,tt,r);const g=f.HTMLMarqueeElement;g&&W(g.prototype,Dt,r);const T=f.Worker;T&&W(T.prototype,Ot,r)}const c=n.XMLHttpRequest;c&&W(c.prototype,rt,r);const u=n.XMLHttpRequestEventTarget;u&&W(u&&u.prototype,rt,r),"undefined"!=typeof IDBIndex&&(W(IDBIndex.prototype,Ee,r),W(IDBRequest.prototype,Ee,r),W(IDBOpenDBRequest.prototype,Ee,r),W(IDBDatabase.prototype,Ee,r),W(IDBTransaction.prototype,Ee,r),W(IDBCursor.prototype,Ee,r)),i&&W(WebSocket.prototype,St,r)}(i,e)}),Zone.__load_patch("customElements",(e,n,i)=>{!function(e,n){const{isBrowser:i,isMix:r}=n.getGlobalObjects();(i||r)&&e.customElements&&"customElements"in e&&n.patchCallbacks(n,e.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback"])}(e,i)}),Zone.__load_patch("XHR",(e,n)=>{!function(T){const m=T.XMLHttpRequest;if(!m)return;const S=m.prototype;let Z=S[Ze],B=S[Ie];if(!Z){const v=T.XMLHttpRequestEventTarget;if(v){const M=v.prototype;Z=M[Ze],B=M[Ie]}}const V="readystatechange",E="scheduled";function d(v){const M=v.data,R=M.target;R[u]=!1,R[_]=!1;const J=R[c];Z||(Z=R[Ze],B=R[Ie]),J&&B.call(R,V,J);const le=R[c]=()=>{if(R.readyState===R.DONE)if(!M.aborted&&R[u]&&v.state===E){const te=R[n.__symbol__("loadfalse")];if(0!==R.status&&te&&te.length>0){const re=v.invoke;v.invoke=function(){const F=R[n.__symbol__("loadfalse")];for(let I=0;I<F.length;I++)F[I]===v&&F.splice(I,1);!M.aborted&&v.state===E&&re.call(v)},te.push(v)}else v.invoke()}else!M.aborted&&!1===R[u]&&(R[_]=!0)};return Z.call(R,V,le),R[i]||(R[i]=v),A.apply(R,M.args),R[u]=!0,v}function L(){}function z(v){const M=v.data;return M.aborted=!0,Y.apply(M.target,M.args)}const j=ce(S,"open",()=>function(v,M){return v[r]=0==M[2],v[f]=M[1],j.apply(v,M)}),O=x("fetchTaskAborting"),X=x("fetchTaskScheduling"),A=ce(S,"send",()=>function(v,M){if(!0===n.current[X]||v[r])return A.apply(v,M);{const R={target:v,url:v[f],isPeriodic:!1,args:M,aborted:!1},J=Me("XMLHttpRequest.send",L,R,d,z);v&&!0===v[_]&&!R.aborted&&J.state===E&&J.invoke()}}),Y=ce(S,"abort",()=>function(v,M){const R=function(v){return v[i]}(v);if(R&&"string"==typeof R.type){if(null==R.cancelFn||R.data&&R.data.aborted)return;R.zone.cancelTask(R)}else if(!0===n.current[O])return Y.apply(v,M)})}(e);const i=x("xhrTask"),r=x("xhrSync"),c=x("xhrListener"),u=x("xhrScheduled"),f=x("xhrURL"),_=x("xhrErrorBeforeScheduled")}),Zone.__load_patch("geolocation",e=>{e.navigator&&e.navigator.geolocation&&function(e,n){const i=e.constructor.name;for(let r=0;r<n.length;r++){const c=n[r],u=e[c];if(u){if(!Fe(ue(e,c)))continue;e[c]=(_=>{const g=function(){return _.apply(this,Ae(arguments,i+"."+c))};return ae(g,_),g})(u)}}}(e.navigator.geolocation,["getCurrentPosition","watchPosition"])}),Zone.__load_patch("PromiseRejectionEvent",(e,n)=>{function i(r){return function(c){et(e,r).forEach(f=>{const _=e.PromiseRejectionEvent;if(_){const g=new _(r,{promise:c.promise,reason:c.rejection});f.invoke(g)}})}}e.PromiseRejectionEvent&&(n[x("unhandledPromiseRejectionHandler")]=i("unhandledrejection"),n[x("rejectionHandledHandler")]=i("rejectionhandled"))})},344:(we,ue,he)=>{he(782)}},we=>{we(we.s=344)}]);
"use strict";var ON=Object.defineProperty,kN=Object.defineProperties,LN=Object.getOwnPropertyDescriptors,eD=Object.getOwnPropertySymbols,jN=Object.prototype.hasOwnProperty,VN=Object.prototype.propertyIsEnumerable,tD=($,ve,Re)=>ve in $?ON($,ve,{enumerable:!0,configurable:!0,writable:!0,value:Re}):$[ve]=Re,M=($,ve)=>{for(var Re in ve||(ve={}))jN.call(ve,Re)&&tD($,Re,ve[Re]);if(eD)for(var Re of eD(ve))VN.call(ve,Re)&&tD($,Re,ve[Re]);return $},Ue=($,ve)=>kN($,LN(ve));(self.webpackChunkdailynews=self.webpackChunkdailynews||[]).push([[179],{854:()=>{function $(e){return"function"==typeof e}function ve(e){const n=e(r=>{Error.call(r),r.stack=(new Error).stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}const Re=ve(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription:\n${n.map((r,i)=>`${i+1}) ${r.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=n});function zr(e,t){if(e){const n=e.indexOf(t);0<=n&&e.splice(n,1)}}class tt{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._teardowns=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;const{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(const o of n)o.remove(this);else n.remove(this);const{initialTeardown:r}=this;if($(r))try{r()}catch(o){t=o instanceof Re?o.errors:[o]}const{_teardowns:i}=this;if(i){this._teardowns=null;for(const o of i)try{Uc(o)}catch(s){t=null!=t?t:[],s instanceof Re?t=[...t,...s.errors]:t.push(s)}}if(t)throw new Re(t)}}add(t){var n;if(t&&t!==this)if(this.closed)Uc(t);else{if(t instanceof tt){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._teardowns=null!==(n=this._teardowns)&&void 0!==n?n:[]).push(t)}}_hasParent(t){const{_parentage:n}=this;return n===t||Array.isArray(n)&&n.includes(t)}_addParent(t){const{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t}_removeParent(t){const{_parentage:n}=this;n===t?this._parentage=null:Array.isArray(n)&&zr(n,t)}remove(t){const{_teardowns:n}=this;n&&zr(n,t),t instanceof tt&&t._removeParent(this)}}tt.EMPTY=(()=>{const e=new tt;return e.closed=!0,e})();const Bc=tt.EMPTY;function Hc(e){return e instanceof tt||e&&"closed"in e&&$(e.remove)&&$(e.add)&&$(e.unsubscribe)}function Uc(e){$(e)?e():e.unsubscribe()}const _n={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},Yi={setTimeout(...e){const{delegate:t}=Yi;return((null==t?void 0:t.setTimeout)||setTimeout)(...e)},clearTimeout(e){const{delegate:t}=Yi;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function $c(e){Yi.setTimeout(()=>{const{onUnhandledError:t}=_n;if(!t)throw e;t(e)})}function Xi(){}const nD=Ws("C",void 0,void 0);function Ws(e,t,n){return{kind:e,value:t,error:n}}let En=null;function eo(e){if(_n.useDeprecatedSynchronousErrorHandling){const t=!En;if(t&&(En={errorThrown:!1,error:null}),e(),t){const{errorThrown:n,error:r}=En;if(En=null,n)throw r}}else e()}class Qs extends tt{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,Hc(t)&&t.add(this)):this.destination=sD}static create(t,n,r){return new Zs(t,n,r)}next(t){this.isStopped?Js(Ws("N",t,void 0),this):this._next(t)}error(t){this.isStopped?Js(Ws("E",void 0,t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?Js(nD,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(t){this.destination.next(t)}_error(t){try{this.destination.error(t)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}class Zs extends Qs{constructor(t,n,r){let i;if(super(),$(t))i=t;else if(t){let o;({next:i,error:n,complete:r}=t),this&&_n.useDeprecatedNextContext?(o=Object.create(t),o.unsubscribe=()=>this.unsubscribe()):o=t,i=null==i?void 0:i.bind(o),n=null==n?void 0:n.bind(o),r=null==r?void 0:r.bind(o)}this.destination={next:i?Ks(i):Xi,error:Ks(null!=n?n:zc),complete:r?Ks(r):Xi}}}function Ks(e,t){return(...n)=>{try{e(...n)}catch(r){_n.useDeprecatedSynchronousErrorHandling?function(e){_n.useDeprecatedSynchronousErrorHandling&&En&&(En.errorThrown=!0,En.error=e)}(r):$c(r)}}}function zc(e){throw e}function Js(e,t){const{onStoppedNotification:n}=_n;n&&Yi.setTimeout(()=>n(e,t))}const sD={closed:!0,next:Xi,error:zc,complete:Xi},Ys="function"==typeof Symbol&&Symbol.observable||"@@observable";function bn(e){return e}let te=(()=>{class e{constructor(n){n&&(this._subscribe=n)}lift(n){const r=new e;return r.source=this,r.operator=n,r}subscribe(n,r,i){const o=function(e){return e&&e instanceof Qs||function(e){return e&&$(e.next)&&$(e.error)&&$(e.complete)}(e)&&Hc(e)}(n)?n:new Zs(n,r,i);return eo(()=>{const{operator:s,source:a}=this;o.add(s?s.call(o,a):a?this._subscribe(o):this._trySubscribe(o))}),o}_trySubscribe(n){try{return this._subscribe(n)}catch(r){n.error(r)}}forEach(n,r){return new(r=Gc(r))((i,o)=>{let s;s=this.subscribe(a=>{try{n(a)}catch(u){o(u),null==s||s.unsubscribe()}},o,i)})}_subscribe(n){var r;return null===(r=this.source)||void 0===r?void 0:r.subscribe(n)}[Ys](){return this}pipe(...n){return function(e){return 0===e.length?bn:1===e.length?e[0]:function(n){return e.reduce((r,i)=>i(r),n)}}(n)(this)}toPromise(n){return new(n=Gc(n))((r,i)=>{let o;this.subscribe(s=>o=s,s=>i(s),()=>r(o))})}}return e.create=t=>new e(t),e})();function Gc(e){var t;return null!==(t=null!=e?e:_n.Promise)&&void 0!==t?t:Promise}const lD=ve(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let It=(()=>{class e extends te{constructor(){super(),this.closed=!1,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){const r=new Wc(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new lD}next(n){eo(()=>{if(this._throwIfClosed(),!this.isStopped){const r=this.observers.slice();for(const i of r)i.next(n)}})}error(n){eo(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=n;const{observers:r}=this;for(;r.length;)r.shift().error(n)}})}complete(){eo(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:n}=this;for(;n.length;)n.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=null}get observed(){var n;return(null===(n=this.observers)||void 0===n?void 0:n.length)>0}_trySubscribe(n){return this._throwIfClosed(),super._trySubscribe(n)}_subscribe(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)}_innerSubscribe(n){const{hasError:r,isStopped:i,observers:o}=this;return r||i?Bc:(o.push(n),new tt(()=>zr(o,n)))}_checkFinalizedStatuses(n){const{hasError:r,thrownError:i,isStopped:o}=this;r?n.error(i):o&&n.complete()}asObservable(){const n=new te;return n.source=this,n}}return e.create=(t,n)=>new Wc(t,n),e})();class Wc extends It{constructor(t,n){super(),this.destination=t,this.source=n}next(t){var n,r;null===(r=null===(n=this.destination)||void 0===n?void 0:n.next)||void 0===r||r.call(n,t)}error(t){var n,r;null===(r=null===(n=this.destination)||void 0===n?void 0:n.error)||void 0===r||r.call(n,t)}complete(){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.complete)||void 0===n||n.call(t)}_subscribe(t){var n,r;return null!==(r=null===(n=this.source)||void 0===n?void 0:n.subscribe(t))&&void 0!==r?r:Bc}}function Qc(e){return $(null==e?void 0:e.lift)}function _e(e){return t=>{if(Qc(t))return t.lift(function(n){try{return e(n,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}class Ee extends Qs{constructor(t,n,r,i,o){super(t),this.onFinalize=o,this._next=n?function(s){try{n(s)}catch(a){t.error(a)}}:super._next,this._error=i?function(s){try{i(s)}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(s){t.error(s)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;const{closed:n}=this;super.unsubscribe(),!n&&(null===(t=this.onFinalize)||void 0===t||t.call(this))}}function W(e,t){return _e((n,r)=>{let i=0;n.subscribe(new Ee(r,o=>{r.next(e.call(t,o,i++))}))})}function In(e){return this instanceof In?(this.v=e,this):new In(e)}function fD(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i,r=n.apply(e,t||[]),o=[];return i={},s("next"),s("throw"),s("return"),i[Symbol.asyncIterator]=function(){return this},i;function s(f){r[f]&&(i[f]=function(h){return new Promise(function(p,m){o.push([f,h,p,m])>1||a(f,h)})})}function a(f,h){try{!function(f){f.value instanceof In?Promise.resolve(f.value.v).then(l,c):d(o[0][2],f)}(r[f](h))}catch(p){d(o[0][3],p)}}function l(f){a("next",f)}function c(f){a("throw",f)}function d(f,h){f(h),o.shift(),o.length&&a(o[0][0],o[0][1])}}function hD(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,t=e[Symbol.asyncIterator];return t?t.call(e):(e=function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}(e),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(o){n[o]=e[o]&&function(s){return new Promise(function(a,u){!function(o,s,a,u){Promise.resolve(u).then(function(l){o({value:l,done:a})},s)}(a,u,(s=e[o](s)).done,s.value)})}}}const Yc=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function Xc(e){return $(null==e?void 0:e.then)}function ed(e){return $(e[Ys])}function td(e){return Symbol.asyncIterator&&$(null==e?void 0:e[Symbol.asyncIterator])}function nd(e){return new TypeError(`You provided ${null!==e&&"object"==typeof e?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}const rd="function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator";function id(e){return $(null==e?void 0:e[rd])}function od(e){return fD(this,arguments,function*(){const n=e.getReader();try{for(;;){const{value:r,done:i}=yield In(n.read());if(i)return yield In(void 0);yield yield In(r)}}finally{n.releaseLock()}})}function sd(e){return $(null==e?void 0:e.getReader)}function Bt(e){if(e instanceof te)return e;if(null!=e){if(ed(e))return function(e){return new te(t=>{const n=e[Ys]();if($(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(e);if(Yc(e))return function(e){return new te(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}(e);if(Xc(e))return function(e){return new te(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,$c)})}(e);if(td(e))return ad(e);if(id(e))return function(e){return new te(t=>{for(const n of e)if(t.next(n),t.closed)return;t.complete()})}(e);if(sd(e))return function(e){return ad(od(e))}(e)}throw nd(e)}function ad(e){return new te(t=>{(function(e,t){var n,r,i,o;return function(e,t,n,r){return new(n||(n=Promise))(function(o,s){function a(c){try{l(r.next(c))}catch(d){s(d)}}function u(c){try{l(r.throw(c))}catch(d){s(d)}}function l(c){c.done?o(c.value):function(o){return o instanceof n?o:new n(function(s){s(o)})}(c.value).then(a,u)}l((r=r.apply(e,t||[])).next())})}(this,void 0,void 0,function*(){try{for(n=hD(e);!(r=yield n.next()).done;)if(t.next(r.value),t.closed)return}catch(s){i={error:s}}finally{try{r&&!r.done&&(o=n.return)&&(yield o.call(n))}finally{if(i)throw i.error}}t.complete()})})(e,t).catch(n=>t.error(n))})}function Ht(e,t,n,r=0,i=!1){const o=t.schedule(function(){n(),i?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(o),!i)return o}function De(e,t,n=1/0){return $(t)?De((r,i)=>W((o,s)=>t(r,o,i,s))(Bt(e(r,i))),n):("number"==typeof t&&(n=t),_e((r,i)=>function(e,t,n,r,i,o,s,a){const u=[];let l=0,c=0,d=!1;const f=()=>{d&&!u.length&&!l&&t.complete()},h=m=>l<r?p(m):u.push(m),p=m=>{l++;let y=!1;Bt(n(m,c++)).subscribe(new Ee(t,v=>{t.next(v)},()=>{y=!0},void 0,()=>{if(y)try{for(l--;u.length&&l<r;){const v=u.shift();p(v)}f()}catch(v){t.error(v)}}))};return e.subscribe(new Ee(t,h,()=>{d=!0,f()})),()=>{}}(r,i,e,n)))}function qr(e=1/0){return De(bn,e)}const Ut=new te(e=>e.complete());function ea(e){return e[e.length-1]}function Gr(e){return function(e){return e&&$(e.schedule)}(ea(e))?e.pop():void 0}function ud(e,t=0){return _e((n,r)=>{n.subscribe(new Ee(r,i=>Ht(r,e,()=>r.next(i),t),()=>Ht(r,e,()=>r.complete(),t),i=>Ht(r,e,()=>r.error(i),t)))})}function ld(e,t=0){return _e((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function cd(e,t){if(!e)throw new Error("Iterable cannot be null");return new te(n=>{Ht(n,t,()=>{const r=e[Symbol.asyncIterator]();Ht(n,t,()=>{r.next().then(i=>{i.done?n.complete():n.next(i.value)})},0,!0)})})}function be(e,t){return t?function(e,t){if(null!=e){if(ed(e))return function(e,t){return Bt(e).pipe(ld(t),ud(t))}(e,t);if(Yc(e))return function(e,t){return new te(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}(e,t);if(Xc(e))return function(e,t){return Bt(e).pipe(ld(t),ud(t))}(e,t);if(td(e))return cd(e,t);if(id(e))return function(e,t){return new te(n=>{let r;return Ht(n,t,()=>{r=e[rd](),Ht(n,t,()=>{let i,o;try{({value:i,done:o}=r.next())}catch(s){return void n.error(s)}o?n.complete():n.next(i)},0,!0)}),()=>$(null==r?void 0:r.return)&&r.return()})}(e,t);if(sd(e))return function(e,t){return cd(od(e),t)}(e,t)}throw nd(e)}(e,t):Bt(e)}function dd(...e){const t=Gr(e),n=function(e,t){return"number"==typeof ea(e)?e.pop():1/0}(e),r=e;return r.length?1===r.length?Bt(r[0]):qr(n)(be(r,t)):Ut}function to(e){return e<=0?()=>Ut:_e((t,n)=>{let r=0;t.subscribe(new Ee(n,i=>{++r<=e&&(n.next(i),e<=r&&n.complete())}))})}function ta(e,t,...n){return!0===t?(e(),null):!1===t?null:t(...n).pipe(to(1)).subscribe(()=>e())}function Z(e){for(let t in e)if(e[t]===Z)return t;throw Error("Could not find renamed property on target object.")}function q(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(q).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const t=e.toString();if(null==t)return""+t;const n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}function ra(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const FD=Z({__forward_ref__:Z});function ia(e){return e.__forward_ref__=ia,e.toString=function(){return q(this())},e}function F(e){return function(e){return"function"==typeof e&&e.hasOwnProperty(FD)&&e.__forward_ref__===ia}(e)?e():e}class $e extends Error{constructor(t,n){super(function(e,t){return`${e?`NG0${e}: `:""}${t}`}(t,n)),this.code=t}}function x(e){return"string"==typeof e?e:null==e?"":String(e)}function Ne(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():x(e)}function no(e,t){const n=t?` in ${t}`:"";throw new $e("201",`No provider for ${Ne(e)} found${n}`)}function qe(e,t){null==e&&function(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(null==r?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}(t,e,null,"!=")}function L(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function St(e){return{providers:e.providers||[],imports:e.imports||[]}}function sa(e){return hd(e,ro)||hd(e,gd)}function hd(e,t){return e.hasOwnProperty(t)?e[t]:null}function pd(e){return e&&(e.hasOwnProperty(aa)||e.hasOwnProperty(HD))?e[aa]:null}const ro=Z({\u0275prov:Z}),aa=Z({\u0275inj:Z}),gd=Z({ngInjectableDef:Z}),HD=Z({ngInjectorDef:Z});var N=(()=>((N=N||{})[N.Default=0]="Default",N[N.Host=1]="Host",N[N.Self=2]="Self",N[N.SkipSelf=4]="SkipSelf",N[N.Optional=8]="Optional",N))();let ua;function rn(e){const t=ua;return ua=e,t}function md(e,t,n){const r=sa(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&N.Optional?null:void 0!==t?t:void no(q(e),"Injector")}function on(e){return{toString:e}.toString()}var nt=(()=>((nt=nt||{})[nt.OnPush=0]="OnPush",nt[nt.Default=1]="Default",nt))(),Tt=(()=>{return(e=Tt||(Tt={}))[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",Tt;var e})();const $D="undefined"!=typeof globalThis&&globalThis,zD="undefined"!=typeof window&&window,qD="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,Q=$D||"undefined"!=typeof global&&global||zD||qD,$n={},K=[],io=Z({\u0275cmp:Z}),la=Z({\u0275dir:Z}),ca=Z({\u0275pipe:Z}),yd=Z({\u0275mod:Z}),zt=Z({\u0275fac:Z}),Wr=Z({__NG_ELEMENT_ID__:Z});let GD=0;function Qr(e){return on(()=>{const n={},r={type:e.type,providersResolver:null,decls:e.decls,vars:e.vars,factory:null,template:e.template||null,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:n,inputs:null,outputs:null,exportAs:e.exportAs||null,onPush:e.changeDetection===nt.OnPush,directiveDefs:null,pipeDefs:null,selectors:e.selectors||K,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||Tt.Emulated,id:"c",styles:e.styles||K,_:null,setInput:null,schemas:e.schemas||null,tView:null},i=e.directives,o=e.features,s=e.pipes;return r.id+=GD++,r.inputs=wd(e.inputs,n),r.outputs=wd(e.outputs),o&&o.forEach(a=>a(r)),r.directiveDefs=i?()=>("function"==typeof i?i():i).map(vd):null,r.pipeDefs=s?()=>("function"==typeof s?s():s).map(Dd):null,r})}function vd(e){return Te(e)||function(e){return e[la]||null}(e)}function Dd(e){return function(e){return e[ca]||null}(e)}const Cd={};function qt(e){return on(()=>{const t={type:e.type,bootstrap:e.bootstrap||K,declarations:e.declarations||K,imports:e.imports||K,exports:e.exports||K,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null};return null!=e.id&&(Cd[e.id]=e.type),t})}function wd(e,t){if(null==e)return $n;const n={};for(const r in e)if(e.hasOwnProperty(r)){let i=e[r],o=i;Array.isArray(i)&&(o=i[1],i=i[0]),n[i]=r,t&&(t[i]=o)}return n}const Se=Qr;function Te(e){return e[io]||null}function rt(e,t){const n=e[yd]||null;if(!n&&!0===t)throw new Error(`Type ${q(e)} does not have '\u0275mod' property.`);return n}const O=11,J=20;function Mt(e){return Array.isArray(e)&&"object"==typeof e[1]}function ht(e){return Array.isArray(e)&&!0===e[1]}function ha(e){return 0!=(8&e.flags)}function uo(e){return 2==(2&e.flags)}function lo(e){return 1==(1&e.flags)}function pt(e){return null!==e.template}function YD(e){return 0!=(512&e[2])}function xn(e,t){return e.hasOwnProperty(zt)?e[zt]:null}class Ed{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function bd(e){return e.type.prototype.ngOnChanges&&(e.setInput=nC),tC}function tC(){const e=Sd(this),t=null==e?void 0:e.current;if(t){const n=e.previous;if(n===$n)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function nC(e,t,n,r){const i=Sd(e)||function(e,t){return e[Id]=t}(e,{previous:$n,current:null}),o=i.current||(i.current={}),s=i.previous,a=this.declaredInputs[n],u=s[a];o[a]=new Ed(u&&u.currentValue,t,s===$n),e[r]=t}const Id="__ngSimpleChanges__";function Sd(e){return e[Id]||null}let ma;function re(e){return!!e.listen}const Ad={createRenderer:(e,t)=>void 0!==ma?ma:"undefined"!=typeof document?document:void 0};function ue(e){for(;Array.isArray(e);)e=e[0];return e}function st(e,t){return ue(t[e.index])}function va(e,t){return e.data[t]}function We(e,t){const n=t[e];return Mt(n)?n:n[0]}function Da(e){return 128==(128&e[2])}function an(e,t){return null==t?null:e[t]}function Rd(e){e[18]=0}function Ca(e,t){e[5]+=t;let n=e,r=e[3];for(;null!==r&&(1===t&&1===n[5]||-1===t&&0===n[5]);)r[5]+=t,n=r,r=r[3]}const A={lFrame:Vd(null),bindingsEnabled:!0,isInCheckNoChangesMode:!1};function Nd(){return A.bindingsEnabled}function D(){return A.lFrame.lView}function G(){return A.lFrame.tView}function pe(){let e=Pd();for(;null!==e&&64===e.type;)e=e.parent;return e}function Pd(){return A.lFrame.currentTNode}function At(e,t){const n=A.lFrame;n.currentTNode=e,n.isParent=t}function wa(){return A.lFrame.isParent}function fo(){return A.isInCheckNoChangesMode}function ho(e){A.isInCheckNoChangesMode=e}function Zn(){return A.lFrame.bindingIndex++}function vC(e,t){const n=A.lFrame;n.bindingIndex=n.bindingRootIndex=e,Ea(t)}function Ea(e){A.lFrame.currentDirectiveIndex=e}function Ia(e){A.lFrame.currentQueryIndex=e}function CC(e){const t=e[1];return 2===t.type?t.declTNode:1===t.type?e[6]:null}function Ld(e,t,n){if(n&N.SkipSelf){let i=t,o=e;for(;!(i=i.parent,null!==i||n&N.Host||(i=CC(o),null===i||(o=o[15],10&i.type))););if(null===i)return!1;t=i,e=o}const r=A.lFrame=jd();return r.currentTNode=t,r.lView=e,!0}function po(e){const t=jd(),n=e[1];A.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function jd(){const e=A.lFrame,t=null===e?null:e.child;return null===t?Vd(e):t}function Vd(e){const t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return null!==e&&(e.child=t),t}function Bd(){const e=A.lFrame;return A.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Hd=Bd;function go(){const e=Bd();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function Fe(){return A.lFrame.selectedIndex}function un(e){A.lFrame.selectedIndex=e}function ie(){const e=A.lFrame;return va(e.tView,e.selectedIndex)}function mo(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){const o=e.data[n].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:u,ngAfterViewChecked:l,ngOnDestroy:c}=o;s&&(e.contentHooks||(e.contentHooks=[])).push(-n,s),a&&((e.contentHooks||(e.contentHooks=[])).push(n,a),(e.contentCheckHooks||(e.contentCheckHooks=[])).push(n,a)),u&&(e.viewHooks||(e.viewHooks=[])).push(-n,u),l&&((e.viewHooks||(e.viewHooks=[])).push(n,l),(e.viewCheckHooks||(e.viewCheckHooks=[])).push(n,l)),null!=c&&(e.destroyHooks||(e.destroyHooks=[])).push(n,c)}}function yo(e,t,n){Ud(e,t,3,n)}function vo(e,t,n,r){(3&e[2])===n&&Ud(e,t,n,r)}function Sa(e,t){let n=e[2];(3&n)===t&&(n&=2047,n+=1,e[2]=n)}function Ud(e,t,n,r){const o=null!=r?r:-1,s=t.length-1;let a=0;for(let u=void 0!==r?65535&e[18]:0;u<s;u++)if("number"==typeof t[u+1]){if(a=t[u],null!=r&&a>=r)break}else t[u]<0&&(e[18]+=65536),(a<o||-1==o)&&(AC(e,n,t,u),e[18]=(4294901760&e[18])+u+2),u++}function AC(e,t,n,r){const i=n[r]<0,o=n[r+1],a=e[i?-n[r]:n[r]];if(i){if(e[2]>>11<e[18]>>16&&(3&e[2])===t){e[2]+=2048;try{o.call(a)}finally{}}}else try{o.call(a)}finally{}}class Xr{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}function Do(e,t,n){const r=re(e);let i=0;for(;i<n.length;){const o=n[i];if("number"==typeof o){if(0!==o)break;i++;const s=n[i++],a=n[i++],u=n[i++];r?e.setAttribute(t,a,u,s):t.setAttributeNS(s,a,u)}else{const s=o,a=n[++i];Ma(s)?r&&e.setProperty(t,s,a):r?e.setAttribute(t,s,a):t.setAttribute(s,a),i++}}return i}function $d(e){return 3===e||4===e||6===e}function Ma(e){return 64===e.charCodeAt(0)}function Co(e,t){if(null!==t&&0!==t.length)if(null===e||0===e.length)e=t.slice();else{let n=-1;for(let r=0;r<t.length;r++){const i=t[r];"number"==typeof i?n=i:0===n||zd(e,n,i,null,-1===n||2===n?t[++r]:null)}}return e}function zd(e,t,n,r,i){let o=0,s=e.length;if(-1===t)s=-1;else for(;o<e.length;){const a=e[o++];if("number"==typeof a){if(a===t){s=-1;break}if(a>t){s=o-1;break}}}for(;o<e.length;){const a=e[o];if("number"==typeof a)break;if(a===n){if(null===r)return void(null!==i&&(e[o+1]=i));if(r===e[o+1])return void(e[o+2]=i)}o++,null!==r&&o++,null!==i&&o++}-1!==s&&(e.splice(s,0,t),o=s+1),e.splice(o++,0,n),null!==r&&e.splice(o++,0,r),null!==i&&e.splice(o++,0,i)}function qd(e){return-1!==e}function Kn(e){return 32767&e}function Jn(e,t){let n=function(e){return e>>16}(e),r=t;for(;n>0;)r=r[15],n--;return r}let Aa=!0;function wo(e){const t=Aa;return Aa=e,t}let OC=0;function ti(e,t){const n=Ra(e,t);if(-1!==n)return n;const r=t[1];r.firstCreatePass&&(e.injectorIndex=t.length,xa(r.data,e),xa(t,null),xa(r.blueprint,null));const i=_o(e,t),o=e.injectorIndex;if(qd(i)){const s=Kn(i),a=Jn(i,t),u=a[1].data;for(let l=0;l<8;l++)t[o+l]=a[s+l]|u[s+l]}return t[o+8]=i,o}function xa(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Ra(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function _o(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,r=null,i=t;for(;null!==i;){const o=i[1],s=o.type;if(r=2===s?o.declTNode:1===s?i[6]:null,null===r)return-1;if(n++,i=i[15],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return-1}function Eo(e,t,n){!function(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(Wr)&&(r=n[Wr]),null==r&&(r=n[Wr]=OC++);const i=255&r;t.data[e+(i>>5)]|=1<<i}(e,t,n)}function Qd(e,t,n){if(n&N.Optional)return e;no(t,"NodeInjector")}function Zd(e,t,n,r){if(n&N.Optional&&void 0===r&&(r=null),0==(n&(N.Self|N.Host))){const i=e[9],o=rn(void 0);try{return i?i.get(t,r,n&N.Optional):md(t,r,n&N.Optional)}finally{rn(o)}}return Qd(r,t,n)}function Kd(e,t,n,r=N.Default,i){if(null!==e){const o=function(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(Wr)?e[Wr]:void 0;return"number"==typeof t?t>=0?255&t:jC:t}(n);if("function"==typeof o){if(!Ld(t,e,r))return r&N.Host?Qd(i,n,r):Zd(t,n,r,i);try{const s=o(r);if(null!=s||r&N.Optional)return s;no(n)}finally{Hd()}}else if("number"==typeof o){let s=null,a=Ra(e,t),u=-1,l=r&N.Host?t[16][6]:null;for((-1===a||r&N.SkipSelf)&&(u=-1===a?_o(e,t):t[a+8],-1!==u&&Xd(r,!1)?(s=t[1],a=Kn(u),t=Jn(u,t)):a=-1);-1!==a;){const c=t[1];if(Yd(o,a,c.data)){const d=VC(a,t,n,s,r,l);if(d!==Jd)return d}u=t[a+8],-1!==u&&Xd(r,t[1].data[a+8]===l)&&Yd(o,a,t)?(s=c,a=Kn(u),t=Jn(u,t)):a=-1}}}return Zd(t,n,r,i)}const Jd={};function jC(){return new Yn(pe(),D())}function VC(e,t,n,r,i,o){const s=t[1],a=s.data[e+8],c=function(e,t,n,r,i){const o=e.providerIndexes,s=t.data,a=1048575&o,u=e.directiveStart,c=o>>20,f=i?a+c:e.directiveEnd;for(let h=r?a:a+c;h<f;h++){const p=s[h];if(h<u&&n===p||h>=u&&p.type===n)return h}if(i){const h=s[u];if(h&&pt(h)&&h.type===n)return u}return null}(a,s,n,null==r?uo(a)&&Aa:r!=s&&0!=(3&a.type),i&N.Host&&o===a);return null!==c?ni(t,s,c,a):Jd}function ni(e,t,n,r){let i=e[n];const o=t.data;if(function(e){return e instanceof Xr}(i)){const s=i;s.resolving&&function(e,t){throw new $e("200",`Circular dependency in DI detected for ${e}`)}(Ne(o[n]));const a=wo(s.canSeeViewProviders);s.resolving=!0;const u=s.injectImpl?rn(s.injectImpl):null;Ld(e,r,N.Default);try{i=e[n]=s.factory(void 0,o,e,r),t.firstCreatePass&&n>=r.directiveStart&&function(e,t,n){const{ngOnChanges:r,ngOnInit:i,ngDoCheck:o}=t.type.prototype;if(r){const s=bd(t);(n.preOrderHooks||(n.preOrderHooks=[])).push(e,s),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,s)}i&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-e,i),o&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,o),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,o))}(n,o[n],t)}finally{null!==u&&rn(u),wo(a),s.resolving=!1,Hd()}}return i}function Yd(e,t,n){return!!(n[t+(e>>5)]&1<<e)}function Xd(e,t){return!(e&N.Self||e&N.Host&&t)}class Yn{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return Kd(this._tNode,this._lView,t,r,n)}}const er="__parameters__";function nr(e,t,n){return on(()=>{const r=function(e){return function(...n){if(e){const r=e(...n);for(const i in r)this[i]=r[i]}}}(t);function i(...o){if(this instanceof i)return r.apply(this,o),this;const s=new i(...o);return a.annotation=s,a;function a(u,l,c){const d=u.hasOwnProperty(er)?u[er]:Object.defineProperty(u,er,{value:[]})[er];for(;d.length<=c;)d.push(null);return(d[c]=d[c]||[]).push(s),u}}return n&&(i.prototype=Object.create(n.prototype)),i.prototype.ngMetadataName=e,i.annotationCls=i,i})}class H{constructor(t,n){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof n?this.__NG_ELEMENT_ID__=n:void 0!==n&&(this.\u0275prov=L({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}toString(){return`InjectionToken ${this._desc}`}}const $C=new H("AnalyzeForEntryComponents");function xt(e,t){e.forEach(n=>Array.isArray(n)?xt(n,t):t(n))}function ef(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Io(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}const ui={},La="__NG_DI_FLAG__",To="ngTempTokenPath",XC=/\n/gm,sf="__source",tw=Z({provide:String,useValue:Z});let li;function af(e){const t=li;return li=e,t}function nw(e,t=N.Default){if(void 0===li)throw new Error("inject() must be called from an injection context");return null===li?md(e,void 0,t):li.get(e,t&N.Optional?null:void 0,t)}function E(e,t=N.Default){return(ua||nw)(F(e),t)}function ja(e){const t=[];for(let n=0;n<e.length;n++){const r=F(e[n]);if(Array.isArray(r)){if(0===r.length)throw new Error("Arguments array must have arguments.");let i,o=N.Default;for(let s=0;s<r.length;s++){const a=r[s],u=rw(a);"number"==typeof u?-1===u?i=a.token:o|=u:i=a}t.push(E(i,o))}else t.push(E(r))}return t}function ci(e,t){return e[La]=t,e.prototype[La]=t,e}function rw(e){return e[La]}const di=ci(nr("Inject",e=>({token:e})),-1),Rt=ci(nr("Optional"),8),ir=ci(nr("SkipSelf"),4);class mf{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}const Iw=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi,Sw=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+\/]+=*$/i;var le=(()=>((le=le||{})[le.NONE=0]="NONE",le[le.HTML=1]="HTML",le[le.STYLE=2]="STYLE",le[le.SCRIPT=3]="SCRIPT",le[le.URL=4]="URL",le[le.RESOURCE_URL=5]="RESOURCE_URL",le))();function Po(e){const t=function(){const e=D();return e&&e[12]}();return t?t.sanitize(le.URL,e)||"":function(e,t){const n=function(e){return e instanceof mf&&e.getTypeName()||null}(e);if(null!=n&&n!==t){if("ResourceURL"===n&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${n} (see https://g.co/ng/security#xss)`)}return n===t}(e,"URL")?function(e){return e instanceof mf?e.changingThisBreaksApplicationSecurity:e}(e):function(e){return(e=String(e)).match(Iw)||e.match(Sw)?e:"unsafe:"+e}(x(e))}const Sf="__ngContext__";function Ae(e,t){e[Sf]=t}function Wa(e){const t=function(e){return e[Sf]||null}(e);return t?Array.isArray(t)?t:t.lView:null}function Za(e){return e.ngOriginalError}function Kw(e,...t){e.error(...t)}class ar{constructor(){this._console=console}handleError(t){const n=this._findOriginalError(t),r=(e=t)&&e.ngErrorLogger||Kw;var e;r(this._console,"ERROR",t),n&&r(this._console,"ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&Za(t);for(;n&&Za(n);)n=Za(n);return n||null}}const Rf=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(Q))();function Pt(e){return e instanceof Function?e():e}var Ze=(()=>((Ze=Ze||{})[Ze.Important=1]="Important",Ze[Ze.DashCase=2]="DashCase",Ze))();function Ja(e,t){return undefined(e,t)}function yi(e){const t=e[3];return ht(t)?t[3]:t}function Ya(e){return kf(e[13])}function Xa(e){return kf(e[4])}function kf(e){for(;null!==e&&!ht(e);)e=e[4];return e}function lr(e,t,n,r,i){if(null!=r){let o,s=!1;ht(r)?o=r:Mt(r)&&(s=!0,r=r[0]);const a=ue(r);0===e&&null!==n?null==i?Uf(t,n,a):Nn(t,n,a,i||null,!0):1===e&&null!==n?Nn(t,n,a,i||null,!0):2===e?function(e,t,n){const r=Fo(e,t);r&&function(e,t,n,r){re(e)?e.removeChild(t,n,r):t.removeChild(n)}(e,r,t,n)}(t,a,s):3===e&&t.destroyNode(a),null!=o&&function(e,t,n,r,i){const o=n[7];o!==ue(n)&&lr(t,e,r,o,i);for(let a=10;a<n.length;a++){const u=n[a];vi(u[1],u,e,t,r,o)}}(t,e,o,n,i)}}function tu(e,t,n){return re(e)?e.createElement(t,n):null===n?e.createElement(t):e.createElementNS(n,t)}function jf(e,t){const n=e[9],r=n.indexOf(t),i=t[3];1024&t[2]&&(t[2]&=-1025,Ca(i,-1)),n.splice(r,1)}function nu(e,t){if(e.length<=10)return;const n=10+t,r=e[n];if(r){const i=r[17];null!==i&&i!==e&&jf(i,r),t>0&&(e[n-1][4]=r[4]);const o=Io(e,10+t);!function(e,t){vi(e,t,t[O],2,null,null),t[0]=null,t[6]=null}(r[1],r);const s=o[19];null!==s&&s.detachView(o[1]),r[3]=null,r[4]=null,r[2]&=-129}return r}function Vf(e,t){if(!(256&t[2])){const n=t[O];re(n)&&n.destroyNode&&vi(e,t,n,3,null,null),function(e){let t=e[13];if(!t)return ru(e[1],e);for(;t;){let n=null;if(Mt(t))n=t[13];else{const r=t[10];r&&(n=r)}if(!n){for(;t&&!t[4]&&t!==e;)Mt(t)&&ru(t[1],t),t=t[3];null===t&&(t=e),Mt(t)&&ru(t[1],t),n=t&&t[4]}t=n}}(t)}}function ru(e,t){if(!(256&t[2])){t[2]&=-129,t[2]|=256,function(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let r=0;r<n.length;r+=2){const i=t[n[r]];if(!(i instanceof Xr)){const o=n[r+1];if(Array.isArray(o))for(let s=0;s<o.length;s+=2){const a=i[o[s]],u=o[s+1];try{u.call(a)}finally{}}else try{o.call(i)}finally{}}}}(e,t),function(e,t){const n=e.cleanup,r=t[7];let i=-1;if(null!==n)for(let o=0;o<n.length-1;o+=2)if("string"==typeof n[o]){const s=n[o+1],a="function"==typeof s?s(t):ue(t[s]),u=r[i=n[o+2]],l=n[o+3];"boolean"==typeof l?a.removeEventListener(n[o],u,l):l>=0?r[i=l]():r[i=-l].unsubscribe(),o+=2}else{const s=r[i=n[o+1]];n[o].call(s)}if(null!==r){for(let o=i+1;o<r.length;o++)r[o]();t[7]=null}}(e,t),1===t[1].type&&re(t[O])&&t[O].destroy();const n=t[17];if(null!==n&&ht(t[3])){n!==t[3]&&jf(n,t);const r=t[19];null!==r&&r.detachView(e)}}}function Bf(e,t,n){return function(e,t,n){let r=t;for(;null!==r&&40&r.type;)r=(t=r).parent;if(null===r)return n[0];if(2&r.flags){const i=e.data[r.directiveStart].encapsulation;if(i===Tt.None||i===Tt.Emulated)return null}return st(r,n)}(e,t.parent,n)}function Nn(e,t,n,r,i){re(e)?e.insertBefore(t,n,r,i):t.insertBefore(n,r,i)}function Uf(e,t,n){re(e)?e.appendChild(t,n):t.appendChild(n)}function $f(e,t,n,r,i){null!==r?Nn(e,t,n,r,i):Uf(e,t,n)}function Fo(e,t){return re(e)?e.parentNode(t):t.parentNode}let Gf=function(e,t,n){return 40&e.type?st(e,n):null};function Oo(e,t,n,r){const i=Bf(e,r,t),o=t[O],a=function(e,t,n){return Gf(e,t,n)}(r.parent||t[6],r,t);if(null!=i)if(Array.isArray(n))for(let u=0;u<n.length;u++)$f(o,i,n[u],a,!1);else $f(o,i,n,a,!1)}function ko(e,t){if(null!==t){const n=t.type;if(3&n)return st(t,e);if(4&n)return ou(-1,e[t.index]);if(8&n){const r=t.child;if(null!==r)return ko(e,r);{const i=e[t.index];return ht(i)?ou(-1,i):ue(i)}}if(32&n)return Ja(t,e)()||ue(e[t.index]);{const r=Qf(e,t);return null!==r?Array.isArray(r)?r[0]:ko(yi(e[16]),r):ko(e,t.next)}}return null}function Qf(e,t){return null!==t?e[16][6].projection[t.projection]:null}function ou(e,t){const n=10+e+1;if(n<t.length){const r=t[n],i=r[1].firstChild;if(null!==i)return ko(r,i)}return t[7]}function su(e,t,n,r,i,o,s){for(;null!=n;){const a=r[n.index],u=n.type;if(s&&0===t&&(a&&Ae(ue(a),r),n.flags|=4),64!=(64&n.flags))if(8&u)su(e,t,n.child,r,i,o,!1),lr(t,e,i,a,o);else if(32&u){const l=Ja(n,r);let c;for(;c=l();)lr(t,e,i,c,o);lr(t,e,i,a,o)}else 16&u?Kf(e,t,r,n,i,o):lr(t,e,i,a,o);n=s?n.projectionNext:n.next}}function vi(e,t,n,r,i,o){su(n,r,e.firstChild,t,i,o,!1)}function Kf(e,t,n,r,i,o){const s=n[16],u=s[6].projection[r.projection];if(Array.isArray(u))for(let l=0;l<u.length;l++)lr(t,e,i,u[l],o);else su(e,t,u,s[3],i,o,!0)}function Jf(e,t,n){re(e)?e.setAttribute(t,"style",n):t.style.cssText=n}function au(e,t,n){re(e)?""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n):t.className=n}function Yf(e,t,n){let r=e.length;for(;;){const i=e.indexOf(t,n);if(-1===i)return i;if(0===i||e.charCodeAt(i-1)<=32){const o=t.length;if(i+o===r||e.charCodeAt(i+o)<=32)return i}n=i+1}}const Xf="ng-template";function b_(e,t,n){let r=0;for(;r<e.length;){let i=e[r++];if(n&&"class"===i){if(i=e[r],-1!==Yf(i.toLowerCase(),t,0))return!0}else if(1===i){for(;r<e.length&&"string"==typeof(i=e[r++]);)if(i.toLowerCase()===t)return!0;return!1}}return!1}function eh(e){return 4===e.type&&e.value!==Xf}function I_(e,t,n){return t===(4!==e.type||n?e.value:Xf)}function S_(e,t,n){let r=4;const i=e.attrs||[],o=function(e){for(let t=0;t<e.length;t++)if($d(e[t]))return t;return e.length}(i);let s=!1;for(let a=0;a<t.length;a++){const u=t[a];if("number"!=typeof u){if(!s)if(4&r){if(r=2|1&r,""!==u&&!I_(e,u,n)||""===u&&1===t.length){if(gt(r))return!1;s=!0}}else{const l=8&r?u:t[++a];if(8&r&&null!==e.attrs){if(!b_(e.attrs,l,n)){if(gt(r))return!1;s=!0}continue}const d=T_(8&r?"class":u,i,eh(e),n);if(-1===d){if(gt(r))return!1;s=!0;continue}if(""!==l){let f;f=d>o?"":i[d+1].toLowerCase();const h=8&r?f:null;if(h&&-1!==Yf(h,l,0)||2&r&&l!==f){if(gt(r))return!1;s=!0}}}}else{if(!s&&!gt(r)&&!gt(u))return!1;if(s&&gt(u))continue;s=!1,r=u|1&r}}return gt(r)||s}function gt(e){return 0==(1&e)}function T_(e,t,n,r){if(null===t)return-1;let i=0;if(r||!n){let o=!1;for(;i<t.length;){const s=t[i];if(s===e)return i;if(3===s||6===s)o=!0;else{if(1===s||2===s){let a=t[++i];for(;"string"==typeof a;)a=t[++i];continue}if(4===s)break;if(0===s){i+=4;continue}}i+=o?1:2}return-1}return function(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){const r=e[n];if("number"==typeof r)return-1;if(r===t)return n;n++}return-1}(t,e)}function th(e,t,n=!1){for(let r=0;r<t.length;r++)if(S_(e,t[r],n))return!0;return!1}function nh(e,t){return e?":not("+t.trim()+")":t}function N_(e){let t=e[0],n=1,r=2,i="",o=!1;for(;n<e.length;){let s=e[n];if("string"==typeof s)if(2&r){const a=e[++n];i+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else 8&r?i+="."+s:4&r&&(i+=" "+s);else""!==i&&!gt(s)&&(t+=nh(o,i),i=""),r=s,o=o||!gt(r);n++}return""!==i&&(t+=nh(o,i)),t}const R={};function Lo(e){rh(G(),D(),Fe()+e,fo())}function rh(e,t,n,r){if(!r)if(3==(3&t[2])){const o=e.preOrderCheckHooks;null!==o&&yo(t,o,n)}else{const o=e.preOrderHooks;null!==o&&vo(t,o,0,n)}un(n)}function ph(e,t){const n=e.contentQueries;if(null!==n)for(let r=0;r<n.length;r+=2){const i=n[r],o=n[r+1];if(-1!==o){const s=e.data[o];Ia(i),s.contentQueries(2,t[o],o)}}}function Di(e,t,n,r,i,o,s,a,u,l){const c=t.blueprint.slice();return c[0]=i,c[2]=140|r,Rd(c),c[3]=c[15]=e,c[8]=n,c[10]=s||e&&e[10],c[O]=a||e&&e[O],c[12]=u||e&&e[12]||null,c[9]=l||e&&e[9]||null,c[6]=o,c[16]=2==t.type?e[16]:c,c}function cr(e,t,n,r,i){let o=e.data[t];if(null===o)o=function(e,t,n,r,i){const o=Pd(),s=wa(),u=e.data[t]=function(e,t,n,r,i,o){return{type:n,index:r,insertBeforeIndex:null,injectorIndex:t?t.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,propertyBindings:null,flags:0,providerIndexes:0,value:i,attrs:o,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tViews:null,next:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,s?o:o&&o.parent,n,t,r,i);return null===e.firstChild&&(e.firstChild=u),null!==o&&(s?null==o.child&&null!==u.parent&&(o.child=u):null===o.next&&(o.next=u)),u}(e,t,n,r,i),A.lFrame.inI18n&&(o.flags|=64);else if(64&o.type){o.type=n,o.value=r,o.attrs=i;const s=function(){const e=A.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();o.injectorIndex=null===s?-1:s.injectorIndex}return At(o,!0),o}function dr(e,t,n,r){if(0===n)return-1;const i=t.length;for(let o=0;o<n;o++)t.push(r),e.blueprint.push(r),e.data.push(null);return i}function Ci(e,t,n){po(t);try{const r=e.viewQuery;null!==r&&Mu(1,r,n);const i=e.template;null!==i&&gh(e,t,i,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&ph(e,t),e.staticViewQueries&&Mu(2,e.viewQuery,n);const o=e.components;null!==o&&function(e,t){for(let n=0;n<t.length;n++)pE(e,t[n])}(t,o)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[2]&=-5,go()}}function fr(e,t,n,r){const i=t[2];if(256==(256&i))return;po(t);const o=fo();try{Rd(t),function(e){A.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==n&&gh(e,t,n,2,r);const s=3==(3&i);if(!o)if(s){const l=e.preOrderCheckHooks;null!==l&&yo(t,l,null)}else{const l=e.preOrderHooks;null!==l&&vo(t,l,0,null),Sa(t,0)}if(function(e){for(let t=Ya(e);null!==t;t=Xa(t)){if(!t[2])continue;const n=t[9];for(let r=0;r<n.length;r++){const i=n[r],o=i[3];0==(1024&i[2])&&Ca(o,1),i[2]|=1024}}}(t),function(e){for(let t=Ya(e);null!==t;t=Xa(t))for(let n=10;n<t.length;n++){const r=t[n],i=r[1];Da(r)&&fr(i,r,i.template,r[8])}}(t),null!==e.contentQueries&&ph(e,t),!o)if(s){const l=e.contentCheckHooks;null!==l&&yo(t,l)}else{const l=e.contentHooks;null!==l&&vo(t,l,1),Sa(t,1)}!function(e,t){const n=e.hostBindingOpCodes;if(null!==n)try{for(let r=0;r<n.length;r++){const i=n[r];if(i<0)un(~i);else{const o=i,s=n[++r],a=n[++r];vC(s,o),a(2,t[o])}}}finally{un(-1)}}(e,t);const a=e.components;null!==a&&function(e,t){for(let n=0;n<t.length;n++)hE(e,t[n])}(t,a);const u=e.viewQuery;if(null!==u&&Mu(2,u,r),!o)if(s){const l=e.viewCheckHooks;null!==l&&yo(t,l)}else{const l=e.viewHooks;null!==l&&vo(t,l,2),Sa(t,2)}!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),o||(t[2]&=-73),1024&t[2]&&(t[2]&=-1025,Ca(t[3],-1))}finally{go()}}function Q_(e,t,n,r){const i=t[10],o=!fo(),s=function(e){return 4==(4&e[2])}(t);try{o&&!s&&i.begin&&i.begin(),s&&Ci(e,t,r),fr(e,t,n,r)}finally{o&&!s&&i.end&&i.end()}}function gh(e,t,n,r,i){const o=Fe(),s=2&r;try{un(-1),s&&t.length>J&&rh(e,t,J,fo()),n(r,i)}finally{un(o)}}function Cu(e,t,n){!Nd()||(function(e,t,n,r){const i=n.directiveStart,o=n.directiveEnd;e.firstCreatePass||ti(n,t),Ae(r,t);const s=n.initialInputs;for(let a=i;a<o;a++){const u=e.data[a],l=pt(u);l&&uE(t,n,u);const c=ni(t,e,a,n);Ae(c,t),null!==s&&lE(0,a-i,c,u,0,s),l&&(We(n.index,t)[8]=c)}}(e,t,n,st(n,t)),128==(128&n.flags)&&function(e,t,n){const r=n.directiveStart,i=n.directiveEnd,s=n.index,a=A.lFrame.currentDirectiveIndex;try{un(s);for(let u=r;u<i;u++){const l=e.data[u],c=t[u];Ea(u),(null!==l.hostBindings||0!==l.hostVars||null!==l.hostAttrs)&&bh(l,c)}}finally{un(-1),Ea(a)}}(e,t,n))}function wu(e,t,n=st){const r=t.localNames;if(null!==r){let i=t.index+1;for(let o=0;o<r.length;o+=2){const s=r[o+1],a=-1===s?n(t,e):e[s];e[i++]=a}}}function yh(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=Ho(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts):t}function Ho(e,t,n,r,i,o,s,a,u,l){const c=J+r,d=c+i,f=function(e,t){const n=[];for(let r=0;r<t;r++)n.push(r<e?null:R);return n}(c,d),h="function"==typeof l?l():l;return f[1]={type:e,blueprint:f,template:n,queries:null,viewQuery:a,declTNode:t,data:f.slice().fill(null,c),bindingStartIndex:c,expandoStartIndex:d,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof o?o():o,pipeRegistry:"function"==typeof s?s():s,firstChild:null,schemas:u,consts:h,incompleteFirstPass:!1}}function wh(e,t,n){for(let r in e)if(e.hasOwnProperty(r)){const i=e[r];(n=null===n?{}:n).hasOwnProperty(r)?n[r].push(t,i):n[r]=[t,i]}return n}function Ke(e,t,n,r,i,o,s,a){const u=st(t,n);let c,l=t.inputs;!a&&null!=l&&(c=l[r])?(Fh(e,n,c,r,i),uo(t)&&function(e,t){const n=We(t,e);16&n[2]||(n[2]|=64)}(n,t.index)):3&t.type&&(r=function(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(r),i=null!=s?s(i,t.value||"",r):i,re(o)?o.setProperty(u,r,i):Ma(r)||(u.setProperty?u.setProperty(r,i):u[r]=i))}function _u(e,t,n,r){let i=!1;if(Nd()){const o=function(e,t,n){const r=e.directiveRegistry;let i=null;if(r)for(let o=0;o<r.length;o++){const s=r[o];th(n,s.selectors,!1)&&(i||(i=[]),Eo(ti(n,t),e,s.type),pt(s)?(Ih(e,n),i.unshift(s)):i.push(s))}return i}(e,t,n),s=null===r?null:{"":-1};if(null!==o){i=!0,Sh(n,e.data.length,o.length);for(let c=0;c<o.length;c++){const d=o[c];d.providersResolver&&d.providersResolver(d)}let a=!1,u=!1,l=dr(e,t,o.length,null);for(let c=0;c<o.length;c++){const d=o[c];n.mergedAttrs=Co(n.mergedAttrs,d.hostAttrs),Th(e,n,t,l,d),aE(l,d,s),null!==d.contentQueries&&(n.flags|=8),(null!==d.hostBindings||null!==d.hostAttrs||0!==d.hostVars)&&(n.flags|=128);const f=d.type.prototype;!a&&(f.ngOnChanges||f.ngOnInit||f.ngDoCheck)&&((e.preOrderHooks||(e.preOrderHooks=[])).push(n.index),a=!0),!u&&(f.ngOnChanges||f.ngDoCheck)&&((e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(n.index),u=!0),l++}!function(e,t){const r=t.directiveEnd,i=e.data,o=t.attrs,s=[];let a=null,u=null;for(let l=t.directiveStart;l<r;l++){const c=i[l],d=c.inputs,f=null===o||eh(t)?null:cE(d,o);s.push(f),a=wh(d,l,a),u=wh(c.outputs,l,u)}null!==a&&(a.hasOwnProperty("class")&&(t.flags|=16),a.hasOwnProperty("style")&&(t.flags|=32)),t.initialInputs=s,t.inputs=a,t.outputs=u}(e,n)}s&&function(e,t,n){if(t){const r=e.localNames=[];for(let i=0;i<t.length;i+=2){const o=n[t[i+1]];if(null==o)throw new $e("301",`Export of name '${t[i+1]}' not found!`);r.push(t[i],o)}}}(n,r,s)}return n.mergedAttrs=Co(n.mergedAttrs,n.attrs),i}function Eh(e,t,n,r,i,o){const s=o.hostBindings;if(s){let a=e.hostBindingOpCodes;null===a&&(a=e.hostBindingOpCodes=[]);const u=~t.index;(function(e){let t=e.length;for(;t>0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(a)!=u&&a.push(u),a.push(r,i,s)}}function bh(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function Ih(e,t){t.flags|=2,(e.components||(e.components=[])).push(t.index)}function aE(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;pt(t)&&(n[""]=e)}}function Sh(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function Th(e,t,n,r,i){e.data[r]=i;const o=i.factory||(i.factory=xn(i.type)),s=new Xr(o,pt(i),null);e.blueprint[r]=s,n[r]=s,Eh(e,t,0,r,dr(e,n,i.hostVars,R),i)}function uE(e,t,n){const r=st(t,e),i=yh(n),o=e[10],s=Uo(e,Di(e,i,null,n.onPush?64:16,r,t,o,o.createRenderer(r,n),null,null));e[t.index]=s}function lE(e,t,n,r,i,o){const s=o[t];if(null!==s){const a=r.setInput;for(let u=0;u<s.length;){const l=s[u++],c=s[u++],d=s[u++];null!==a?r.setInput(n,d,l,c):n[c]=d}}}function cE(e,t){let n=null,r=0;for(;r<t.length;){const i=t[r];if(0!==i)if(5!==i){if("number"==typeof i)break;e.hasOwnProperty(i)&&(null===n&&(n=[]),n.push(i,e[i],t[r+1])),r+=2}else r+=2;else r+=4}return n}function Mh(e,t,n,r){return new Array(e,!0,!1,t,null,0,r,n,null,null)}function hE(e,t){const n=We(t,e);if(Da(n)){const r=n[1];80&n[2]?fr(r,n,r.template,n[8]):n[5]>0&&bu(n)}}function bu(e){for(let r=Ya(e);null!==r;r=Xa(r))for(let i=10;i<r.length;i++){const o=r[i];if(1024&o[2]){const s=o[1];fr(s,o,s.template,o[8])}else o[5]>0&&bu(o)}const n=e[1].components;if(null!==n)for(let r=0;r<n.length;r++){const i=We(n[r],e);Da(i)&&i[5]>0&&bu(i)}}function pE(e,t){const n=We(t,e),r=n[1];(function(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])})(r,n),Ci(r,n,n[8])}function Uo(e,t){return e[13]?e[14][4]=t:e[13]=t,e[14]=t,t}function Tu(e,t,n){const r=t[10];r.begin&&r.begin();try{fr(e,t,e.template,n)}catch(i){throw function(e,t){const n=e[9],r=n?n.get(ar,null):null;r&&r.handleError(t)}(t,i),i}finally{r.end&&r.end()}}function Ah(e){!function(e){for(let t=0;t<e.components.length;t++){const n=e.components[t],r=Wa(n),i=r[1];Q_(i,r,i.template,n)}}(e[8])}function Mu(e,t,n){Ia(0),t(e,n)}const DE=(()=>Promise.resolve(null))();function Fh(e,t,n,r,i){for(let o=0;o<n.length;){const s=n[o++],a=n[o++],u=t[s],l=e.data[s];null!==l.setInput?l.setInput(u,i,r,a):u[a]=i}}function Zt(e,t,n){const r=function(e,t){return ue(t[e])}(t,e);!function(e,t,n){re(e)?e.setValue(t,n):t.textContent=n}(e[O],r,n)}function $o(e,t,n){let r=n?e.styles:null,i=n?e.classes:null,o=0;if(null!==t)for(let s=0;s<t.length;s++){const a=t[s];"number"==typeof a?o=a:1==o?i=ra(i,a):2==o&&(r=ra(r,a+": "+t[++s]+";"))}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=i:e.classesWithoutHost=i}const Au=new H("INJECTOR",-1);class Oh{get(t,n=ui){if(n===ui){const r=new Error(`NullInjectorError: No provider for ${q(t)}!`);throw r.name="NullInjectorError",r}return n}}const xu=new H("Set Injector scope."),wi={},_E={};let Ru;function kh(){return void 0===Ru&&(Ru=new Oh),Ru}function Lh(e,t=null,n=null,r){const i=jh(e,t,n,r);return i._resolveInjectorDefTypes(),i}function jh(e,t=null,n=null,r){return new EE(e,n,t||kh(),r)}class EE{constructor(t,n,r,i=null){this.parent=r,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;const o=[];n&&xt(n,a=>this.processProvider(a,t,n)),xt([t],a=>this.processInjectorType(a,[],o)),this.records.set(Au,hr(void 0,this));const s=this.records.get(xu);this.scope=null!=s?s.value:null,this.source=i||("object"==typeof t?null:q(t))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(t=>t.ngOnDestroy())}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}get(t,n=ui,r=N.Default){this.assertNotDestroyed();const i=af(this),o=rn(void 0);try{if(!(r&N.SkipSelf)){let a=this.records.get(t);if(void 0===a){const u=("function"==typeof(e=t)||"object"==typeof e&&e instanceof H)&&sa(t);a=u&&this.injectableDefInScope(u)?hr(Nu(t),wi):null,this.records.set(t,a)}if(null!=a)return this.hydrate(t,a)}return(r&N.Self?kh():this.parent).get(t,n=r&N.Optional&&n===ui?null:n)}catch(s){if("NullInjectorError"===s.name){if((s[To]=s[To]||[]).unshift(q(t)),i)throw s;return function(e,t,n,r){const i=e[To];throw t[sf]&&i.unshift(t[sf]),e.message=function(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.substr(2):e;let i=q(t);if(Array.isArray(t))i=t.map(q).join(" -> ");else if("object"==typeof t){let o=[];for(let s in t)if(t.hasOwnProperty(s)){let a=t[s];o.push(s+":"+("string"==typeof a?JSON.stringify(a):q(a)))}i=`{${o.join(", ")}}`}return`${n}${r?"("+r+")":""}[${i}]: ${e.replace(XC,"\n ")}`}("\n"+e.message,i,n,r),e.ngTokenPath=i,e[To]=null,e}(s,t,"R3InjectorError",this.source)}throw s}finally{rn(o),af(i)}var e}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(t=>this.get(t))}toString(){const t=[];return this.records.forEach((r,i)=>t.push(q(i))),`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Error("Injector has already been destroyed.")}processInjectorType(t,n,r){if(!(t=F(t)))return!1;let i=pd(t);const o=null==i&&t.ngModule||void 0,s=void 0===o?t:o,a=-1!==r.indexOf(s);if(void 0!==o&&(i=pd(o)),null==i)return!1;if(null!=i.imports&&!a){let c;r.push(s);try{xt(i.imports,d=>{this.processInjectorType(d,n,r)&&(void 0===c&&(c=[]),c.push(d))})}finally{}if(void 0!==c)for(let d=0;d<c.length;d++){const{ngModule:f,providers:h}=c[d];xt(h,p=>this.processProvider(p,f,h||K))}}this.injectorDefTypes.add(s);const u=xn(s)||(()=>new s);this.records.set(s,hr(u,wi));const l=i.providers;if(null!=l&&!a){const c=t;xt(l,d=>this.processProvider(d,c,l))}return void 0!==o&&void 0!==t.providers}processProvider(t,n,r){let i=pr(t=F(t))?t:F(t&&t.provide);const o=(e=t,Bh(e)?hr(void 0,e.useValue):hr(function(e,t,n){let r;if(pr(e)){const i=F(e);return xn(i)||Nu(i)}if(Bh(e))r=()=>F(e.useValue);else if(function(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...ja(e.deps||[]));else if(function(e){return!(!e||!e.useExisting)}(e))r=()=>E(F(e.useExisting));else{const i=F(e&&(e.useClass||e.provide));if(!function(e){return!!e.deps}(e))return xn(i)||Nu(i);r=()=>new i(...ja(e.deps))}return r}(e),wi));var e;if(pr(t)||!0!==t.multi)this.records.get(i);else{let s=this.records.get(i);s||(s=hr(void 0,wi,!0),s.factory=()=>ja(s.multi),this.records.set(i,s)),i=t,s.multi.push(t)}this.records.set(i,o)}hydrate(t,n){return n.value===wi&&(n.value=_E,n.value=n.factory()),"object"==typeof n.value&&n.value&&null!==(e=n.value)&&"object"==typeof e&&"function"==typeof e.ngOnDestroy&&this.onDestroy.add(n.value),n.value;var e}injectableDefInScope(t){if(!t.providedIn)return!1;const n=F(t.providedIn);return"string"==typeof n?"any"===n||n===this.scope:this.injectorDefTypes.has(n)}}function Nu(e){const t=sa(e),n=null!==t?t.factory:xn(e);if(null!==n)return n;if(e instanceof H)throw new Error(`Token ${q(e)} is missing a \u0275prov definition.`);if(e instanceof Function)return function(e){const t=e.length;if(t>0){const r=function(e,t){const n=[];for(let r=0;r<e;r++)n.push(t);return n}(t,"?");throw new Error(`Can't resolve all parameters for ${q(e)}: (${r.join(", ")}).`)}const n=function(e){const t=e&&(e[ro]||e[gd]);if(t){const n=function(e){if(e.hasOwnProperty("name"))return e.name;const t=(""+e).match(/^function\s*([^\s(]+)/);return null===t?"":t[1]}(e);return console.warn(`DEPRECATED: DI is instantiating a token "${n}" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "${n}" class.`),t}return null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new Error("unreachable")}function hr(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Bh(e){return null!==e&&"object"==typeof e&&tw in e}function pr(e){return"function"==typeof e}let we=(()=>{class e{static create(n,r){var i;if(Array.isArray(n))return Lh({name:""},r,n,"");{const o=null!=(i=n.name)?i:"";return Lh({name:o},n.parent,n.providers,o)}}}return e.THROW_IF_NOT_FOUND=ui,e.NULL=new Oh,e.\u0275prov=L({token:e,providedIn:"any",factory:()=>E(Au)}),e.__NG_ELEMENT_ID__=-1,e})();function VE(e,t){mo(Wa(e)[1],pe())}let zo=null;function gr(){if(!zo){const e=Q.Symbol;if(e&&e.iterator)zo=e.iterator;else{const t=Object.getOwnPropertyNames(Map.prototype);for(let n=0;n<t.length;++n){const r=t[n];"entries"!==r&&"size"!==r&&Map.prototype[r]===Map.prototype.entries&&(zo=r)}}}return zo}function _i(e){return!!ku(e)&&(Array.isArray(e)||!(e instanceof Map)&&gr()in e)}function ku(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function xe(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function yr(e,t,n,r){return xe(e,Zn(),n)?t+x(n)+r:R}function b(e,t=N.Default){const n=D();return null===n?E(e,t):Kd(pe(),n,F(e),t)}function Uu(){throw new Error("invalid")}function $u(e,t,n){const r=D();return xe(r,Zn(),t)&&Ke(G(),ie(),r,e,t,r[O],n,!1),$u}function zu(e,t,n,r,i){const s=i?"class":"style";Fh(e,n,t.inputs[s],s,r)}function Sr(e,t,n,r){const i=D(),o=G(),s=J+e,a=i[O],u=i[s]=tu(a,t,A.lFrame.currentNamespace),l=o.firstCreatePass?function(e,t,n,r,i,o,s){const a=t.consts,l=cr(t,e,2,i,an(a,o));return _u(t,n,l,an(a,s)),null!==l.attrs&&$o(l,l.attrs,!1),null!==l.mergedAttrs&&$o(l,l.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,l),l}(s,o,i,0,t,n,r):o.data[s];At(l,!0);const c=l.mergedAttrs;null!==c&&Do(a,u,c);const d=l.classes;null!==d&&au(a,u,d);const f=l.styles;null!==f&&Jf(a,u,f),64!=(64&l.flags)&&Oo(o,i,u,l),0===A.lFrame.elementDepthCount&&Ae(u,i),A.lFrame.elementDepthCount++,lo(l)&&(Cu(o,i,l),function(e,t,n){if(ha(t)){const i=t.directiveEnd;for(let o=t.directiveStart;o<i;o++){const s=e.data[o];s.contentQueries&&s.contentQueries(1,n[o],o)}}}(o,l,i)),null!==r&&wu(i,l)}function Tr(){let e=pe();wa()?A.lFrame.isParent=!1:(e=e.parent,At(e,!1));const t=e;A.lFrame.elementDepthCount--;const n=G();n.firstCreatePass&&(mo(n,e),ha(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function(e){return 0!=(16&e.flags)}(t)&&zu(n,t,D(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function(e){return 0!=(32&e.flags)}(t)&&zu(n,t,D(),t.stylesWithoutHost,!1)}function qu(e,t,n,r){Sr(e,t,n,r),Tr()}function Wo(e){return!!e&&"function"==typeof e.then}const Ep=function(e){return!!e&&"function"==typeof e.subscribe};function Wu(e,t,n){return Qu(e,"",t,"",n),Wu}function Qu(e,t,n,r,i){const o=D(),s=yr(o,t,n,r);return s!==R&&Ke(G(),ie(),o,e,s,o[O],i,!1),Qu}function Ko(e,t=""){const n=D(),r=G(),i=e+J,o=r.firstCreatePass?cr(r,i,1,t,null):r.data[i],s=n[i]=function(e,t){return re(e)?e.createText(t):e.createTextNode(t)}(n[O],t);Oo(r,n,s,o),At(o,!1)}function Ku(e){return Jo("",e,""),Ku}function Jo(e,t,n){const r=D(),i=yr(r,e,t,n);return i!==R&&Zt(r,Fe(),i),Jo}const Fn=void 0;var d0=["en",[["a","p"],["AM","PM"],Fn],[["AM","PM"],Fn,Fn],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],Fn,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],Fn,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",Fn,"{1} 'at' {0}",Fn],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function(e){const n=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===r?1:5}];let Ar={};function mg(e){return e in Ar||(Ar[e]=Q.ng&&Q.ng.common&&Q.ng.common.locales&&Q.ng.common.locales[e]),Ar[e]}var w=(()=>((w=w||{})[w.LocaleId=0]="LocaleId",w[w.DayPeriodsFormat=1]="DayPeriodsFormat",w[w.DayPeriodsStandalone=2]="DayPeriodsStandalone",w[w.DaysFormat=3]="DaysFormat",w[w.DaysStandalone=4]="DaysStandalone",w[w.MonthsFormat=5]="MonthsFormat",w[w.MonthsStandalone=6]="MonthsStandalone",w[w.Eras=7]="Eras",w[w.FirstDayOfWeek=8]="FirstDayOfWeek",w[w.WeekendRange=9]="WeekendRange",w[w.DateFormat=10]="DateFormat",w[w.TimeFormat=11]="TimeFormat",w[w.DateTimeFormat=12]="DateTimeFormat",w[w.NumberSymbols=13]="NumberSymbols",w[w.NumberFormats=14]="NumberFormats",w[w.CurrencyCode=15]="CurrencyCode",w[w.CurrencySymbol=16]="CurrencySymbol",w[w.CurrencyName=17]="CurrencyName",w[w.Currencies=18]="Currencies",w[w.Directionality=19]="Directionality",w[w.PluralCase=20]="PluralCase",w[w.ExtraData=21]="ExtraData",w))();const Yo="en-US";let yg=Yo;class Ug{}class pI{resolveComponentFactory(t){throw function(e){const t=Error(`No component factory found for ${q(e)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=e,t}(t)}}let hn=(()=>{class e{}return e.NULL=new pI,e})();function gI(){return Rr(pe(),D())}function Rr(e,t){return new pn(st(e,t))}let pn=(()=>{class e{constructor(n){this.nativeElement=n}}return e.__NG_ELEMENT_ID__=gI,e})();class zg{}let DI=(()=>{class e{}return e.\u0275prov=L({token:e,providedIn:"root",factory:()=>null}),e})();class Ai{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const CI=new Ai("13.0.3"),rl={};function is(e,t,n,r,i=!1){for(;null!==n;){const o=t[n.index];if(null!==o&&r.push(ue(o)),ht(o))for(let a=10;a<o.length;a++){const u=o[a],l=u[1].firstChild;null!==l&&is(u[1],u,l,r)}const s=n.type;if(8&s)is(e,t,n.child,r);else if(32&s){const a=Ja(n,t);let u;for(;u=a();)r.push(u)}else if(16&s){const a=Qf(t,n);if(Array.isArray(a))r.push(...a);else{const u=yi(t[16]);is(u[1],u,a,r,!0)}}n=i?n.projectionNext:n.next}return r}class xi{constructor(t,n){this._lView=t,this._cdRefInjectingView=n,this._appRef=null,this._attachedToViewContainer=!1}get rootNodes(){const t=this._lView,n=t[1];return is(n,t,n.firstChild,[])}get context(){return this._lView[8]}set context(t){this._lView[8]=t}get destroyed(){return 256==(256&this._lView[2])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const t=this._lView[3];if(ht(t)){const n=t[8],r=n?n.indexOf(this):-1;r>-1&&(nu(t,r),Io(n,r))}this._attachedToViewContainer=!1}Vf(this._lView[1],this._lView)}onDestroy(t){!function(e,t,n,r){const i=function(e){return e[7]||(e[7]=[])}(t);null===n?i.push(r):(i.push(n),e.firstCreatePass&&function(e){return e.cleanup||(e.cleanup=[])}(e).push(r,i.length-1))}(this._lView[1],this._lView,null,t)}markForCheck(){!function(e){for(;e;){e[2]|=64;const t=yi(e);if(YD(e)&&!t)return e;e=t}}(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){Tu(this._lView[1],this._lView,this.context)}checkNoChanges(){!function(e,t,n){ho(!0);try{Tu(e,t,n)}finally{ho(!1)}}(this._lView[1],this._lView,this.context)}attachToViewContainerRef(){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._attachedToViewContainer=!0}detachFromAppRef(){var t;this._appRef=null,vi(this._lView[1],t=this._lView,t[O],2,null,null)}attachToAppRef(t){if(this._attachedToViewContainer)throw new Error("This view is already attached to a ViewContainer!");this._appRef=t}}class wI extends xi{constructor(t){super(t),this._view=t}detectChanges(){Ah(this._view)}checkNoChanges(){!function(e){ho(!0);try{Ah(e)}finally{ho(!1)}}(this._view)}get context(){return null}}class qg extends hn{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=Te(t);return new il(n,this.ngModule)}}function Gg(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}const EI=new H("SCHEDULER_TOKEN",{providedIn:"root",factory:()=>Rf});class il extends Ug{constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=t.selectors.map(N_).join(","),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}get inputs(){return Gg(this.componentDef.inputs)}get outputs(){return Gg(this.componentDef.outputs)}create(t,n,r,i){const o=(i=i||this.ngModule)?function(e,t){return{get:(n,r,i)=>{const o=e.get(n,rl,i);return o!==rl||r===rl?o:t.get(n,r,i)}}}(t,i.injector):t,s=o.get(zg,Ad),a=o.get(DI,null),u=s.createRenderer(null,this.componentDef),l=this.componentDef.selectors[0][0]||"div",c=r?function(e,t,n){if(re(e))return e.selectRootElement(t,n===Tt.ShadowDom);let r="string"==typeof t?e.querySelector(t):t;return r.textContent="",r}(u,r,this.componentDef.encapsulation):tu(s.createRenderer(null,this.componentDef),l,function(e){const t=e.toLowerCase();return"svg"===t?"http://www.w3.org/2000/svg":"math"===t?"http://www.w3.org/1998/MathML/":null}(l)),d=this.componentDef.onPush?576:528,f=function(e,t){return{components:[],scheduler:e||Rf,clean:DE,playerHandler:t||null,flags:0}}(),h=Ho(0,null,null,1,0,null,null,null,null,null),p=Di(null,h,f,d,null,null,s,u,a,o);let m,y;po(p);try{const v=function(e,t,n,r,i,o){const s=n[1];n[20]=e;const u=cr(s,20,2,"#host",null),l=u.mergedAttrs=t.hostAttrs;null!==l&&($o(u,l,!0),null!==e&&(Do(i,e,l),null!==u.classes&&au(i,e,u.classes),null!==u.styles&&Jf(i,e,u.styles)));const c=r.createRenderer(e,t),d=Di(n,yh(t),null,t.onPush?64:16,n[20],u,r,c,o||null,null);return s.firstCreatePass&&(Eo(ti(u,n),s,t.type),Ih(s,u),Sh(u,n.length,1)),Uo(n,d),n[20]=d}(c,this.componentDef,p,s,u);if(c)if(r)Do(u,c,["ng-version",CI.full]);else{const{attrs:g,classes:_}=function(e){const t=[],n=[];let r=1,i=2;for(;r<e.length;){let o=e[r];if("string"==typeof o)2===i?""!==o&&t.push(o,e[++r]):8===i&&n.push(o);else{if(!gt(i))break;i=o}r++}return{attrs:t,classes:n}}(this.componentDef.selectors[0]);g&&Do(u,c,g),_&&_.length>0&&au(u,c,_.join(" "))}if(y=va(h,J),void 0!==n){const g=y.projection=[];for(let _=0;_<this.ngContentSelectors.length;_++){const S=n[_];g.push(null!=S?Array.from(S):null)}}m=function(e,t,n,r,i){const o=n[1],s=function(e,t,n){const r=pe();e.firstCreatePass&&(n.providersResolver&&n.providersResolver(n),Th(e,r,t,dr(e,t,1,null),n));const i=ni(t,e,r.directiveStart,r);Ae(i,t);const o=st(r,t);return o&&Ae(o,t),i}(o,n,t);if(r.components.push(s),e[8]=s,i&&i.forEach(u=>u(s,t)),t.contentQueries){const u=pe();t.contentQueries(1,s,u.directiveStart)}const a=pe();return!o.firstCreatePass||null===t.hostBindings&&null===t.hostAttrs||(un(a.index),Eh(n[1],a,0,a.directiveStart,a.directiveEnd,t),bh(t,s)),s}(v,this.componentDef,p,f,[VE]),Ci(h,p,null)}finally{go()}return new SI(this.componentType,m,Rr(y,p),p,y)}}class SI extends class{}{constructor(t,n,r,i,o){super(),this.location=r,this._rootLView=i,this._tNode=o,this.instance=n,this.hostView=this.changeDetectorRef=new wI(i),this.componentType=t}get injector(){return new Yn(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}class Kt{}class Wg{}const Nr=new Map;class Kg extends Kt{constructor(t,n){super(),this._parent=n,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new qg(this);const r=rt(t);this._bootstrapComponents=Pt(r.bootstrap),this._r3Injector=jh(t,n,[{provide:Kt,useValue:this},{provide:hn,useValue:this.componentFactoryResolver}],q(t)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(t)}get(t,n=we.THROW_IF_NOT_FOUND,r=N.Default){return t===we||t===Kt||t===Au?this:this._r3Injector.get(t,n,r)}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class ol extends Wg{constructor(t){super(),this.moduleType=t,null!==rt(t)&&function(e){const t=new Set;!function n(r){const i=rt(r,!0),o=i.id;null!==o&&(function(e,t,n){if(t&&t!==n)throw new Error(`Duplicate module registered for ${e} - ${q(t)} vs ${q(t.name)}`)}(o,Nr.get(o),r),Nr.set(o,r));const s=Pt(i.imports);for(const a of s)t.has(a)||(t.add(a),n(a))}(e)}(t)}create(t){return new Kg(this.moduleType,t)}}function sl(e){return t=>{setTimeout(e,void 0,t)}}const Le=class extends It{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,r){var u,l,c;let i=t,o=n||(()=>null),s=r;if(t&&"object"==typeof t){const d=t;i=null==(u=d.next)?void 0:u.bind(d),o=null==(l=d.error)?void 0:l.bind(d),s=null==(c=d.complete)?void 0:c.bind(d)}this.__isAsync&&(o=sl(o),i&&(i=sl(i)),s&&(s=sl(s)));const a=super.subscribe({next:i,error:o,complete:s});return t instanceof tt&&t.add(a),a}};Symbol;let Jt=(()=>{class e{}return e.__NG_ELEMENT_ID__=KI,e})();const QI=Jt,ZI=class extends QI{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}createEmbeddedView(t){const n=this._declarationTContainer.tViews,r=Di(this._declarationLView,n,t,16,null,n.declTNode,null,null,null,null);r[17]=this._declarationLView[this._declarationTContainer.index];const o=this._declarationLView[19];return null!==o&&(r[19]=o.createEmbeddedView(n)),Ci(n,r,t),new xi(r)}};function KI(){return e=pe(),t=D(),4&e.type?new ZI(t,e,Rr(e,t)):null;var e,t}let Ct=(()=>{class e{}return e.__NG_ELEMENT_ID__=JI,e})();function JI(){return function(e,t){let n;const r=t[e.index];if(ht(r))n=r;else{let i;if(8&e.type)i=ue(r);else{const o=t[O];i=o.createComment("");const s=st(e,t);Nn(o,Fo(o,s),i,function(e,t){return re(e)?e.nextSibling(t):t.nextSibling}(o,s),!1)}t[e.index]=n=Mh(r,t,i,e),Uo(t,n)}return new nm(n,e,t)}(pe(),D())}const YI=Ct,nm=class extends YI{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return Rr(this._hostTNode,this._hostLView)}get injector(){return new Yn(this._hostTNode,this._hostLView)}get parentInjector(){const t=_o(this._hostTNode,this._hostLView);if(qd(t)){const n=Jn(t,this._hostLView),r=Kn(t);return new Yn(n[1].data[r+8],n)}return new Yn(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=rm(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-10}createEmbeddedView(t,n,r){const i=t.createEmbeddedView(n||{});return this.insert(i,r),i}createComponent(t,n,r,i,o){const s=t&&!("function"==typeof t);let a;if(s)a=n;else{const d=n||{};a=d.index,r=d.injector,i=d.projectableNodes,o=d.ngModuleRef}const u=s?t:new il(Te(t)),l=r||this.parentInjector;if(!o&&null==u.ngModule&&l){const d=l.get(Kt,null);d&&(o=d)}const c=u.create(l,i,void 0,o);return this.insert(c.hostView,a),c}insert(t,n){const r=t._lView,i=r[1];if(ht(r[3])){const c=this.indexOf(t);if(-1!==c)this.detach(c);else{const d=r[3],f=new nm(d,d[6],d[3]);f.detach(f.indexOf(t))}}const o=this._adjustIndex(n),s=this._lContainer;!function(e,t,n,r){const i=10+r,o=n.length;r>0&&(n[i-1][4]=t),r<o-10?(t[4]=n[i],ef(n,10+r,t)):(n.push(t),t[4]=null),t[3]=n;const s=t[17];null!==s&&n!==s&&function(e,t){const n=e[9];t[16]!==t[3][3][16]&&(e[2]=!0),null===n?e[9]=[t]:n.push(t)}(s,t);const a=t[19];null!==a&&a.insertView(e),t[2]|=128}(i,r,s,o);const a=ou(o,s),u=r[O],l=Fo(u,s[7]);return null!==l&&function(e,t,n,r,i,o){r[0]=i,r[6]=t,vi(e,r,n,1,i,o)}(i,s[6],u,r,l,a),t.attachToViewContainerRef(),ef(ul(s),o,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=rm(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),r=nu(this._lContainer,n);r&&(Io(ul(this._lContainer),n),Vf(r[1],r))}detach(t){const n=this._adjustIndex(t,-1),r=nu(this._lContainer,n);return r&&null!=Io(ul(this._lContainer),n)?new xi(r):null}_adjustIndex(t,n=0){return null==t?this.length+n:t}};function rm(e){return e[8]}function ul(e){return e[8]||(e[8]=[])}function us(...e){}const ls=new H("Application Initializer");let Fr=(()=>{class e{constructor(n){this.appInits=n,this.resolve=us,this.reject=us,this.initialized=!1,this.done=!1,this.donePromise=new Promise((r,i)=>{this.resolve=r,this.reject=i})}runInitializers(){if(this.initialized)return;const n=[],r=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let i=0;i<this.appInits.length;i++){const o=this.appInits[i]();if(Wo(o))n.push(o);else if(Ep(o)){const s=new Promise((a,u)=>{o.subscribe({complete:a,error:u})});n.push(s)}}Promise.all(n).then(()=>{r()}).catch(i=>{this.reject(i)}),0===n.length&&r(),this.initialized=!0}}return e.\u0275fac=function(n){return new(n||e)(E(ls,8))},e.\u0275prov=L({token:e,factory:e.\u0275fac}),e})();const Fi=new H("AppId"),TS={provide:Fi,useFactory:function(){return`${_l()}${_l()}${_l()}`},deps:[]};function _l(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const Tm=new H("Platform Initializer"),cs=new H("Platform ID"),Mm=new H("appBootstrapListener");let Am=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=L({token:e,factory:e.\u0275fac}),e})();const gn=new H("LocaleId"),xm=new H("DefaultCurrencyCode");class MS{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let ds=(()=>{class e{compileModuleSync(n){return new ol(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const r=this.compileModuleSync(n),o=Pt(rt(n).declarations).reduce((s,a)=>{const u=Te(a);return u&&s.push(new il(u)),s},[]);return new MS(r,o)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=L({token:e,factory:e.\u0275fac}),e})();const xS=(()=>Promise.resolve(0))();function El(e){"undefined"==typeof Zone?xS.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class ce{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Le(!1),this.onMicrotaskEmpty=new Le(!1),this.onStable=new Le(!1),this.onError=new Le(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched();const i=this;i._nesting=0,i._outer=i._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(i._inner=i._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(i._inner=i._inner.fork(Zone.longStackTraceZoneSpec)),i.shouldCoalesceEventChangeDetection=!r&&n,i.shouldCoalesceRunChangeDetection=r,i.lastRequestAnimationFrameId=-1,i.nativeRequestAnimationFrame=function(){let e=Q.requestAnimationFrame,t=Q.cancelAnimationFrame;if("undefined"!=typeof Zone&&e&&t){const n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n);const r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function(e){const t=()=>{!function(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(Q,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,Il(e),e.isCheckStableRunning=!0,bl(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),Il(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,i,o,s,a)=>{try{return Rm(e),n.invokeTask(i,o,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===o.type||e.shouldCoalesceRunChangeDetection)&&t(),Nm(e)}},onInvoke:(n,r,i,o,s,a,u)=>{try{return Rm(e),n.invoke(i,o,s,a,u)}finally{e.shouldCoalesceRunChangeDetection&&t(),Nm(e)}},onHasTask:(n,r,i,o)=>{n.hasTask(i,o),r===i&&("microTask"==o.change?(e._hasPendingMicrotasks=o.microTask,Il(e),bl(e)):"macroTask"==o.change&&(e.hasPendingMacrotasks=o.macroTask))},onHandleError:(n,r,i,o)=>(n.handleError(i,o),e.runOutsideAngular(()=>e.onError.emit(o)),!1)})}(i)}static isInAngularZone(){return!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!ce.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(ce.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,i){const o=this._inner,s=o.scheduleEventTask("NgZoneEvent: "+i,t,NS,us,us);try{return o.runTask(s,n,r)}finally{o.cancelTask(s)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}}const NS={};function bl(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function Il(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function Rm(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Nm(e){e._nesting--,bl(e)}class OS{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Le,this.onMicrotaskEmpty=new Le,this.onStable=new Le,this.onError=new Le}run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,i){return t.apply(n,r)}}let Sl=(()=>{class e{constructor(n){this._ngZone=n,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{ce.assertNotInAngularZone(),El(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())El(()=>{for(;0!==this._callbacks.length;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb(this._didWork)}this._didWork=!1});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>!r.updateCb||!r.updateCb(n)||(clearTimeout(r.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,r,i){let o=-1;r&&r>0&&(o=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==o),n(this._didWork,this.getPendingTasks())},r)),this._callbacks.push({doneCb:n,timeoutId:o,updateCb:i})}whenStable(n,r,i){if(i&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,r,i),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(n,r,i){return[]}}return e.\u0275fac=function(n){return new(n||e)(E(ce))},e.\u0275prov=L({token:e,factory:e.\u0275fac}),e})(),Pm=(()=>{class e{constructor(){this._applications=new Map,Tl.addToWindow(this)}registerApplication(n,r){this._applications.set(n,r)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,r=!0){return Tl.findTestabilityInTree(this,n,r)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=L({token:e,factory:e.\u0275fac}),e})();class kS{addToWindow(t){}findTestabilityInTree(t,n,r){return null}}let wt,Tl=new kS;const Fm=new H("AllowMultipleToken");class Om{constructor(t,n){this.name=t,this.token=n}}function km(e,t,n=[]){const r=`Platform: ${t}`,i=new H(r);return(o=[])=>{let s=Lm();if(!s||s.injector.get(Fm,!1))if(e)e(n.concat(o).concat({provide:i,useValue:!0}));else{const a=n.concat(o).concat({provide:i,useValue:!0},{provide:xu,useValue:"platform"});!function(e){if(wt&&!wt.destroyed&&!wt.injector.get(Fm,!1))throw new $e("400","");wt=e.get(jm);const t=e.get(Tm,null);t&&t.forEach(n=>n())}(we.create({providers:a,name:r}))}return function(e){const t=Lm();if(!t)throw new $e("401","");return t}()}}function Lm(){return wt&&!wt.destroyed?wt:null}let jm=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,r){const a=function(e,t){let n;return n="noop"===e?new OS:("zone.js"===e?void 0:e)||new ce({enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!!(null==t?void 0:t.ngZoneEventCoalescing),shouldCoalesceRunChangeDetection:!!(null==t?void 0:t.ngZoneRunCoalescing)}),n}(r?r.ngZone:void 0,{ngZoneEventCoalescing:r&&r.ngZoneEventCoalescing||!1,ngZoneRunCoalescing:r&&r.ngZoneRunCoalescing||!1}),u=[{provide:ce,useValue:a}];return a.run(()=>{const l=we.create({providers:u,parent:this.injector,name:n.moduleType.name}),c=n.create(l),d=c.injector.get(ar,null);if(!d)throw new $e("402","");return a.runOutsideAngular(()=>{const f=a.onError.subscribe({next:h=>{d.handleError(h)}});c.onDestroy(()=>{Ml(this._modules,c),f.unsubscribe()})}),function(e,t,n){try{const r=n();return Wo(r)?r.catch(i=>{throw t.runOutsideAngular(()=>e.handleError(i)),i}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(d,a,()=>{const f=c.injector.get(Fr);return f.runInitializers(),f.donePromise.then(()=>(function(e){qe(e,"Expected localeId to be defined"),"string"==typeof e&&(yg=e.toLowerCase().replace(/_/g,"-"))}(c.injector.get(gn,Yo)||Yo),this._moduleDoBootstrap(c),c))})})}bootstrapModule(n,r=[]){const i=Vm({},r);return function(e,t,n){const r=new ol(n);return Promise.resolve(r)}(0,0,n).then(o=>this.bootstrapModuleFactory(o,i))}_moduleDoBootstrap(n){const r=n.injector.get(Or);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(i=>r.bootstrap(i));else{if(!n.instance.ngDoBootstrap)throw new $e("403","");n.instance.ngDoBootstrap(r)}this._modules.push(n)}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new $e("404","");this._modules.slice().forEach(n=>n.destroy()),this._destroyListeners.forEach(n=>n()),this._destroyed=!0}get destroyed(){return this._destroyed}}return e.\u0275fac=function(n){return new(n||e)(E(we))},e.\u0275prov=L({token:e,factory:e.\u0275fac}),e})();function Vm(e,t){return Array.isArray(t)?t.reduce(Vm,e):M(M({},e),t)}let Or=(()=>{class e{constructor(n,r,i,o,s){this._zone=n,this._injector=r,this._exceptionHandler=i,this._componentFactoryResolver=o,this._initStatus=s,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const a=new te(l=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{l.next(this._stable),l.complete()})}),u=new te(l=>{let c;this._zone.runOutsideAngular(()=>{c=this._zone.onStable.subscribe(()=>{ce.assertNotInAngularZone(),El(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,l.next(!0))})})});const d=this._zone.onUnstable.subscribe(()=>{ce.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{l.next(!1)}))});return()=>{c.unsubscribe(),d.unsubscribe()}});this.isStable=dd(a,u.pipe(function(e={}){const{connector:t=(()=>new It),resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:i=!0}=e;return o=>{let s=null,a=null,u=null,l=0,c=!1,d=!1;const f=()=>{null==a||a.unsubscribe(),a=null},h=()=>{f(),s=u=null,c=d=!1},p=()=>{const m=s;h(),null==m||m.unsubscribe()};return _e((m,y)=>{l++,!d&&!c&&f();const v=u=null!=u?u:t();y.add(()=>{l--,0===l&&!d&&!c&&(a=ta(p,i))}),v.subscribe(y),s||(s=new Zs({next:g=>v.next(g),error:g=>{d=!0,f(),a=ta(h,n,g),v.error(g)},complete:()=>{c=!0,f(),a=ta(h,r),v.complete()}}),be(m).subscribe(s))})(o)}}()))}bootstrap(n,r){if(!this._initStatus.done)throw new $e("405","");let i;i=n instanceof Ug?n:this._componentFactoryResolver.resolveComponentFactory(n),this.componentTypes.push(i.componentType);const o=function(e){return e.isBoundToModule}(i)?void 0:this._injector.get(Kt),a=i.create(we.NULL,[],r||i.selector,o),u=a.location.nativeElement,l=a.injector.get(Sl,null),c=l&&a.injector.get(Pm);return l&&c&&c.registerApplication(u,l),a.onDestroy(()=>{this.detachView(a.hostView),Ml(this.components,a),c&&c.unregisterApplication(u)}),this._loadComponent(a),a}tick(){if(this._runningTick)throw new $e("101","");try{this._runningTick=!0;for(let n of this._views)n.detectChanges()}catch(n){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(n))}finally{this._runningTick=!1}}attachView(n){const r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){const r=n;Ml(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(Mm,[]).concat(this._bootstrapListeners).forEach(i=>i(n))}ngOnDestroy(){this._views.slice().forEach(n=>n.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}get viewCount(){return this._views.length}}return e.\u0275fac=function(n){return new(n||e)(E(ce),E(we),E(ar),E(hn),E(Fr))},e.\u0275prov=L({token:e,factory:e.\u0275fac}),e})();function Ml(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}let Hm=!0,fs=(()=>{class e{}return e.__NG_ELEMENT_ID__=WS,e})();function WS(e){return function(e,t,n){if(uo(e)&&!n){const r=We(e.index,t);return new xi(r,r)}return 47&e.type?new xi(t[16],t):null}(pe(),D(),16==(16&e))}class Qm{constructor(){}supports(t){return _i(t)}create(t){return new eT(t)}}const XS=(e,t)=>t;class eT{constructor(t){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||XS}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,i=0,o=null;for(;n||r;){const s=!r||n&&n.currentIndex<Km(r,i,o)?n:r,a=Km(s,i,o),u=s.currentIndex;if(s===r)i--,r=r._nextRemoved;else if(n=n._next,null==s.previousIndex)i++;else{o||(o=[]);const l=a-i,c=u-i;if(l!=c){for(let f=0;f<l;f++){const h=f<o.length?o[f]:o[f]=0,p=h+f;c<=p&&p<l&&(o[f]=h+1)}o[s.previousIndex]=c-l}}a!==u&&t(s,a,u)}}forEachPreviousItem(t){let n;for(n=this._previousItHead;null!==n;n=n._nextPrevious)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;null!==n;n=n._nextAdded)t(n)}forEachMovedItem(t){let n;for(n=this._movesHead;null!==n;n=n._nextMoved)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;null!==n;n=n._nextRemoved)t(n)}forEachIdentityChange(t){let n;for(n=this._identityChangesHead;null!==n;n=n._nextIdentityChange)t(n)}diff(t){if(null==t&&(t=[]),!_i(t))throw new Error(`Error trying to diff '${q(t)}'. Only arrays and iterables are allowed`);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let i,o,s,n=this._itHead,r=!1;if(Array.isArray(t)){this.length=t.length;for(let a=0;a<this.length;a++)o=t[a],s=this._trackByFn(a,o),null!==n&&Object.is(n.trackById,s)?(r&&(n=this._verifyReinsertion(n,o,s,a)),Object.is(n.item,o)||this._addIdentityChange(n,o)):(n=this._mismatch(n,o,s,a),r=!0),n=n._next}else i=0,function(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{const n=e[gr()]();let r;for(;!(r=n.next()).done;)t(r.value)}}(t,a=>{s=this._trackByFn(i,a),null!==n&&Object.is(n.trackById,s)?(r&&(n=this._verifyReinsertion(n,a,s,i)),Object.is(n.item,a)||this._addIdentityChange(n,a)):(n=this._mismatch(n,a,s,i),r=!0),n=n._next,i++}),this.length=i;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,r,i){let o;return null===t?o=this._itTail:(o=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,o,i)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(r,i))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,o,i)):t=this._addAfter(new tT(n,r),o,i),t}_verifyReinsertion(t,n,r,i){let o=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==o?t=this._reinsertAfter(o,t._prev,i):t.currentIndex!=i&&(t.currentIndex=i,this._addToMoves(t,i)),t}_truncate(t){for(;null!==t;){const n=t._next;this._addToRemovals(this._unlink(t)),t=n}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,n,r){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const i=t._prevRemoved,o=t._nextRemoved;return null===i?this._removalsHead=o:i._nextRemoved=o,null===o?this._removalsTail=i:o._prevRemoved=i,this._insertAfter(t,n,r),this._addToMoves(t,r),t}_moveAfter(t,n,r){return this._unlink(t),this._insertAfter(t,n,r),this._addToMoves(t,r),t}_addAfter(t,n,r){return this._insertAfter(t,n,r),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,n,r){const i=null===n?this._itHead:n._next;return t._next=i,t._prev=n,null===i?this._itTail=t:i._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new Zm),this._linkedRecords.put(t),t.currentIndex=r,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const n=t._prev,r=t._next;return null===n?this._itHead=r:n._next=r,null===r?this._itTail=n:r._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new Zm),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,n){return t.item=n,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class tT{constructor(t,n){this.item=t,this.trackById=n,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class nT{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,n){let r;for(r=this._head;null!==r;r=r._nextDup)if((null===n||n<=r.currentIndex)&&Object.is(r.trackById,t))return r;return null}remove(t){const n=t._prevDup,r=t._nextDup;return null===n?this._head=r:n._nextDup=r,null===r?this._tail=n:r._prevDup=n,null===this._head}}class Zm{constructor(){this.map=new Map}put(t){const n=t.trackById;let r=this.map.get(n);r||(r=new nT,this.map.set(n,r)),r.add(t)}get(t,n){const i=this.map.get(t);return i?i.get(t,n):null}remove(t){const n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function Km(e,t,n){const r=e.previousIndex;if(null===r)return r;let i=0;return n&&r<n.length&&(i=n[r]),r+t+i}class Jm{constructor(){}supports(t){return t instanceof Map||ku(t)}create(){return new rT}}class rT{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(t){let n;for(n=this._mapHead;null!==n;n=n._next)t(n)}forEachPreviousItem(t){let n;for(n=this._previousMapHead;null!==n;n=n._nextPrevious)t(n)}forEachChangedItem(t){let n;for(n=this._changesHead;null!==n;n=n._nextChanged)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;null!==n;n=n._nextAdded)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;null!==n;n=n._nextRemoved)t(n)}diff(t){if(t){if(!(t instanceof Map||ku(t)))throw new Error(`Error trying to diff '${q(t)}'. Only maps and objects are allowed`)}else t=new Map;return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._mapHead;if(this._appendAfter=null,this._forEach(t,(r,i)=>{if(n&&n.key===i)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{const o=this._getOrCreateRecordForKey(i,r);n=this._insertBeforeOrAppend(n,o)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let r=n;null!==r;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){const r=t._prev;return n._next=t,n._prev=r,t._prev=n,r&&(r._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){const i=this._records.get(t);this._maybeAddToChanges(i,n);const o=i._prev,s=i._next;return o&&(o._next=s),s&&(s._prev=o),i._next=null,i._prev=null,i}const r=new iT(t);return this._records.set(t,r),r.currentValue=n,this._addToAdditions(r),r}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,n){Object.is(n,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=n,this._addToChanges(t))}_addToAdditions(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,n){t instanceof Map?t.forEach(n):Object.keys(t).forEach(r=>n(t[r],r))}}class iT{constructor(t){this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function Ym(){return new Oi([new Qm])}let Oi=(()=>{class e{constructor(n){this.factories=n}static create(n,r){if(null!=r){const i=r.factories.slice();n=n.concat(i)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||Ym()),deps:[[e,new ir,new Rt]]}}find(n){const r=this.factories.find(i=>i.supports(n));if(null!=r)return r;throw new Error(`Cannot find a differ supporting object '${n}' of type '${function(e){return e.name||typeof e}(n)}'`)}}return e.\u0275prov=L({token:e,providedIn:"root",factory:Ym}),e})();function Xm(){return new kr([new Jm])}let kr=(()=>{class e{constructor(n){this.factories=n}static create(n,r){if(r){const i=r.factories.slice();n=n.concat(i)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||Xm()),deps:[[e,new ir,new Rt]]}}find(n){const r=this.factories.find(i=>i.supports(n));if(r)return r;throw new Error(`Cannot find a differ supporting object '${n}'`)}}return e.\u0275prov=L({token:e,providedIn:"root",factory:Xm}),e})();const sT=[new Jm],uT=new Oi([new Qm]),lT=new kr(sT),cT=km(null,"core",[{provide:cs,useValue:"unknown"},{provide:jm,deps:[we]},{provide:Pm,deps:[]},{provide:Am,deps:[]}]),gT=[{provide:Or,useClass:Or,deps:[ce,we,ar,hn,Fr]},{provide:EI,deps:[ce],useFactory:function(e){let t=[];return e.onStable.subscribe(()=>{for(;t.length;)t.pop()()}),function(n){t.push(n)}}},{provide:Fr,useClass:Fr,deps:[[new Rt,ls]]},{provide:ds,useClass:ds,deps:[]},TS,{provide:Oi,useFactory:function(){return uT},deps:[]},{provide:kr,useFactory:function(){return lT},deps:[]},{provide:gn,useFactory:function(e){return e||"undefined"!=typeof $localize&&$localize.locale||Yo},deps:[[new di(gn),new Rt,new ir]]},{provide:xm,useValue:"USD"}];let yT=(()=>{class e{constructor(n){}}return e.\u0275fac=function(n){return new(n||e)(E(Or))},e.\u0275mod=qt({type:e}),e.\u0275inj=St({providers:gT}),e})(),ps=null;function mn(){return ps}const Je=new H("DocumentToken");let kn=(()=>{class e{historyGo(n){throw new Error("Not implemented")}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=L({token:e,factory:function(){return E(ey)},providedIn:"platform"}),e})();const _T=new H("Location Initialized");let ey=(()=>{class e extends kn{constructor(n){super(),this._doc=n,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return mn().getBaseHref(this._doc)}onPopState(n){const r=mn().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",n,!1),()=>r.removeEventListener("popstate",n)}onHashChange(n){const r=mn().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",n,!1),()=>r.removeEventListener("hashchange",n)}get href(){return this.location.href}get protocol(){return this.location.protocol}get hostname(){return this.location.hostname}get port(){return this.location.port}get pathname(){return this.location.pathname}get search(){return this.location.search}get hash(){return this.location.hash}set pathname(n){this.location.pathname=n}pushState(n,r,i){ty()?this._history.pushState(n,r,i):this.location.hash=i}replaceState(n,r,i){ty()?this._history.replaceState(n,r,i):this.location.hash=i}forward(){this._history.forward()}back(){this._history.back()}historyGo(n=0){this._history.go(n)}getState(){return this._history.state}}return e.\u0275fac=function(n){return new(n||e)(E(Je))},e.\u0275prov=L({token:e,factory:function(){return new ey(E(Je))},providedIn:"platform"}),e})();function ty(){return!!window.history.pushState}function Pl(e,t){if(0==e.length)return t;if(0==t.length)return e;let n=0;return e.endsWith("/")&&n++,t.startsWith("/")&&n++,2==n?e+t.substring(1):1==n?e+t:e+"/"+t}function ny(e){const t=e.match(/#|\?|$/),n=t&&t.index||e.length;return e.slice(0,n-("/"===e[n-1]?1:0))+e.slice(n)}function Yt(e){return e&&"?"!==e[0]?"?"+e:e}let Lr=(()=>{class e{historyGo(n){throw new Error("Not implemented")}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=L({token:e,factory:function(){return function(e){const t=E(Je).location;return new ry(E(kn),t&&t.origin||"")}()},providedIn:"root"}),e})();const Fl=new H("appBaseHref");let ry=(()=>{class e extends Lr{constructor(n,r){if(super(),this._platformLocation=n,this._removeListenerFns=[],null==r&&(r=this._platformLocation.getBaseHrefFromDOM()),null==r)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");this._baseHref=r}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}prepareExternalUrl(n){return Pl(this._baseHref,n)}path(n=!1){const r=this._platformLocation.pathname+Yt(this._platformLocation.search),i=this._platformLocation.hash;return i&&n?`${r}${i}`:r}pushState(n,r,i,o){const s=this.prepareExternalUrl(i+Yt(o));this._platformLocation.pushState(n,r,s)}replaceState(n,r,i,o){const s=this.prepareExternalUrl(i+Yt(o));this._platformLocation.replaceState(n,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(n=0){var r,i;null==(i=(r=this._platformLocation).historyGo)||i.call(r,n)}}return e.\u0275fac=function(n){return new(n||e)(E(kn),E(Fl,8))},e.\u0275prov=L({token:e,factory:e.\u0275fac}),e})(),IT=(()=>{class e extends Lr{constructor(n,r){super(),this._platformLocation=n,this._baseHref="",this._removeListenerFns=[],null!=r&&(this._baseHref=r)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}path(n=!1){let r=this._platformLocation.hash;return null==r&&(r="#"),r.length>0?r.substring(1):r}prepareExternalUrl(n){const r=Pl(this._baseHref,n);return r.length>0?"#"+r:r}pushState(n,r,i,o){let s=this.prepareExternalUrl(i+Yt(o));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.pushState(n,r,s)}replaceState(n,r,i,o){let s=this.prepareExternalUrl(i+Yt(o));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.replaceState(n,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(n=0){var r,i;null==(i=(r=this._platformLocation).historyGo)||i.call(r,n)}}return e.\u0275fac=function(n){return new(n||e)(E(kn),E(Fl,8))},e.\u0275prov=L({token:e,factory:e.\u0275fac}),e})(),Ol=(()=>{class e{constructor(n,r){this._subject=new Le,this._urlChangeListeners=[],this._platformStrategy=n;const i=this._platformStrategy.getBaseHref();this._platformLocation=r,this._baseHref=ny(iy(i)),this._platformStrategy.onPopState(o=>{this._subject.emit({url:this.path(!0),pop:!0,state:o.state,type:o.type})})}path(n=!1){return this.normalize(this._platformStrategy.path(n))}getState(){return this._platformLocation.getState()}isCurrentPathEqualTo(n,r=""){return this.path()==this.normalize(n+Yt(r))}normalize(n){return e.stripTrailingSlash(function(e,t){return e&&t.startsWith(e)?t.substring(e.length):t}(this._baseHref,iy(n)))}prepareExternalUrl(n){return n&&"/"!==n[0]&&(n="/"+n),this._platformStrategy.prepareExternalUrl(n)}go(n,r="",i=null){this._platformStrategy.pushState(i,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Yt(r)),i)}replaceState(n,r="",i=null){this._platformStrategy.replaceState(i,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Yt(r)),i)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}historyGo(n=0){var r,i;null==(i=(r=this._platformStrategy).historyGo)||i.call(r,n)}onUrlChange(n){this._urlChangeListeners.push(n),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(r=>{this._notifyUrlChangeListeners(r.url,r.state)}))}_notifyUrlChangeListeners(n="",r){this._urlChangeListeners.forEach(i=>i(n,r))}subscribe(n,r,i){return this._subject.subscribe({next:n,error:r,complete:i})}}return e.normalizeQueryParams=Yt,e.joinWithSlash=Pl,e.stripTrailingSlash=ny,e.\u0275fac=function(n){return new(n||e)(E(Lr),E(kn))},e.\u0275prov=L({token:e,factory:function(){return new Ol(E(Lr),E(kn))},providedIn:"root"}),e})();function iy(e){return e.replace(/\/index.html$/,"")}var de=(()=>((de=de||{})[de.Zero=0]="Zero",de[de.One=1]="One",de[de.Two=2]="Two",de[de.Few=3]="Few",de[de.Many=4]="Many",de[de.Other=5]="Other",de))();const FT=function(e){return function(e){const t=function(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=mg(t);if(n)return n;const r=t.split("-")[0];if(n=mg(r),n)return n;if("en"===r)return d0;throw new Error(`Missing locale data for the locale "${e}".`)}(e)[w.PluralCase]};class bs{}let lM=(()=>{class e extends bs{constructor(n){super(),this.locale=n}getPluralCategory(n,r){switch(FT(r||this.locale)(n)){case de.Zero:return"zero";case de.One:return"one";case de.Two:return"two";case de.Few:return"few";case de.Many:return"many";default:return"other"}}}return e.\u0275fac=function(n){return new(n||e)(E(gn))},e.\u0275prov=L({token:e,factory:e.\u0275fac}),e})();function hy(e,t){t=encodeURIComponent(t);for(const n of e.split(";")){const r=n.indexOf("="),[i,o]=-1==r?[n,""]:[n.slice(0,r),n.slice(r+1)];if(i.trim()===t)return decodeURIComponent(o)}return null}class fM{constructor(t,n,r,i){this.$implicit=t,this.ngForOf=n,this.index=r,this.count=i}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let py=(()=>{class e{constructor(n,r,i){this._viewContainer=n,this._template=r,this._differs=i,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(n){this._ngForOf=n,this._ngForOfDirty=!0}set ngForTrackBy(n){this._trackByFn=n}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(n){n&&(this._template=n)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const n=this._ngForOf;if(!this._differ&&n)try{this._differ=this._differs.find(n).create(this.ngForTrackBy)}catch(r){throw new Error(`Cannot find a differ supporting object '${n}' of type '${function(e){return e.name||typeof e}(n)}'. NgFor only supports binding to Iterables such as Arrays.`)}}if(this._differ){const n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}}_applyChanges(n){const r=[];n.forEachOperation((i,o,s)=>{if(null==i.previousIndex){const a=this._viewContainer.createEmbeddedView(this._template,new fM(null,this._ngForOf,-1,-1),null===s?void 0:s),u=new gy(i,a);r.push(u)}else if(null==s)this._viewContainer.remove(null===o?void 0:o);else if(null!==o){const a=this._viewContainer.get(o);this._viewContainer.move(a,s);const u=new gy(i,a);r.push(u)}});for(let i=0;i<r.length;i++)this._perViewChange(r[i].view,r[i].record);for(let i=0,o=this._viewContainer.length;i<o;i++){const s=this._viewContainer.get(i);s.context.index=i,s.context.count=o,s.context.ngForOf=this._ngForOf}n.forEachIdentityChange(i=>{this._viewContainer.get(i.currentIndex).context.$implicit=i.item})}_perViewChange(n,r){n.context.$implicit=r.item}static ngTemplateContextGuard(n,r){return!0}}return e.\u0275fac=function(n){return new(n||e)(b(Ct),b(Jt),b(Oi))},e.\u0275dir=Se({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),e})();class gy{constructor(t,n){this.record=t,this.view=n}}let UM=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=qt({type:e}),e.\u0275inj=St({providers:[{provide:bs,useClass:lM}]}),e})();let GM=(()=>{class e{}return e.\u0275prov=L({token:e,providedIn:"root",factory:()=>new WM(E(Je),window)}),e})();class WM{constructor(t,n){this.document=t,this.window=n,this.offset=()=>[0,0]}setOffset(t){this.offset=Array.isArray(t)?()=>t:t}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(t){this.supportsScrolling()&&this.window.scrollTo(t[0],t[1])}scrollToAnchor(t){if(!this.supportsScrolling())return;const n=function(e,t){const n=e.getElementById(t)||e.getElementsByName(t)[0];if(n)return n;if("function"==typeof e.createTreeWalker&&e.body&&(e.body.createShadowRoot||e.body.attachShadow)){const r=e.createTreeWalker(e.body,NodeFilter.SHOW_ELEMENT);let i=r.currentNode;for(;i;){const o=i.shadowRoot;if(o){const s=o.getElementById(t)||o.querySelector(`[name="${t}"]`);if(s)return s}i=r.nextNode()}}return null}(this.document,t);n&&(this.scrollToElement(n),this.attemptFocus(n))}setHistoryScrollRestoration(t){if(this.supportScrollRestoration()){const n=this.window.history;n&&n.scrollRestoration&&(n.scrollRestoration=t)}}scrollToElement(t){const n=t.getBoundingClientRect(),r=n.left+this.window.pageXOffset,i=n.top+this.window.pageYOffset,o=this.offset();this.window.scrollTo(r-o[0],i-o[1])}attemptFocus(t){return t.focus(),this.document.activeElement===t}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const t=Cy(this.window.history)||Cy(Object.getPrototypeOf(this.window.history));return!(!t||!t.writable&&!t.set)}catch(t){return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch(t){return!1}}}function Cy(e){return Object.getOwnPropertyDescriptor(e,"scrollRestoration")}class wy{}class Ql extends class extends class{}{constructor(){super(...arguments),this.supportsDOMEvents=!0}}{static makeCurrent(){var e;e=new Ql,ps||(ps=e)}onAndCancel(t,n,r){return t.addEventListener(n,r,!1),()=>{t.removeEventListener(n,r,!1)}}dispatchEvent(t,n){t.dispatchEvent(n)}remove(t){t.parentNode&&t.parentNode.removeChild(t)}createElement(t,n){return(n=n||this.getDefaultDocument()).createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,n){return"window"===n?window:"document"===n?t:"body"===n?t.body:null}getBaseHref(t){const n=(ji=ji||document.querySelector("base"),ji?ji.getAttribute("href"):null);return null==n?null:function(e){Is=Is||document.createElement("a"),Is.setAttribute("href",e);const t=Is.pathname;return"/"===t.charAt(0)?t:`/${t}`}(n)}resetBaseElement(){ji=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return hy(document.cookie,t)}}let Is,ji=null;const _y=new H("TRANSITION_ID"),XM=[{provide:ls,useFactory:function(e,t,n){return()=>{n.get(Fr).donePromise.then(()=>{const r=mn(),i=t.querySelectorAll(`style[ng-transition="${e}"]`);for(let o=0;o<i.length;o++)r.remove(i[o])})}},deps:[_y,Je,we],multi:!0}];class Zl{static init(){var e;e=new Zl,Tl=e}addToWindow(t){Q.getAngularTestability=(r,i=!0)=>{const o=t.findTestabilityInTree(r,i);if(null==o)throw new Error("Could not find testability for element.");return o},Q.getAllAngularTestabilities=()=>t.getAllTestabilities(),Q.getAllAngularRootElements=()=>t.getAllRootElements(),Q.frameworkStabilizers||(Q.frameworkStabilizers=[]),Q.frameworkStabilizers.push(r=>{const i=Q.getAllAngularTestabilities();let o=i.length,s=!1;const a=function(u){s=s||u,o--,0==o&&r(s)};i.forEach(function(u){u.whenStable(a)})})}findTestabilityInTree(t,n,r){if(null==n)return null;const i=t.getTestability(n);return null!=i?i:r?mn().isShadowRoot(n)?this.findTestabilityInTree(t,n.host,!0):this.findTestabilityInTree(t,n.parentElement,!0):null}}let eA=(()=>{class e{build(){return new XMLHttpRequest}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=L({token:e,factory:e.\u0275fac}),e})();const Ss=new H("EventManagerPlugins");let Ts=(()=>{class e{constructor(n,r){this._zone=r,this._eventNameToPlugin=new Map,n.forEach(i=>i.manager=this),this._plugins=n.slice().reverse()}addEventListener(n,r,i){return this._findPluginFor(r).addEventListener(n,r,i)}addGlobalEventListener(n,r,i){return this._findPluginFor(r).addGlobalEventListener(n,r,i)}getZone(){return this._zone}_findPluginFor(n){const r=this._eventNameToPlugin.get(n);if(r)return r;const i=this._plugins;for(let o=0;o<i.length;o++){const s=i[o];if(s.supports(n))return this._eventNameToPlugin.set(n,s),s}throw new Error(`No event manager plugin found for event ${n}`)}}return e.\u0275fac=function(n){return new(n||e)(E(Ss),E(ce))},e.\u0275prov=L({token:e,factory:e.\u0275fac}),e})();class Ey{constructor(t){this._doc=t}addGlobalEventListener(t,n,r){const i=mn().getGlobalEventTarget(this._doc,t);if(!i)throw new Error(`Unsupported event target ${i} for event ${n}`);return this.addEventListener(i,n,r)}}let by=(()=>{class e{constructor(){this._stylesSet=new Set}addStyles(n){const r=new Set;n.forEach(i=>{this._stylesSet.has(i)||(this._stylesSet.add(i),r.add(i))}),this.onStylesAdded(r)}onStylesAdded(n){}getAllStyles(){return Array.from(this._stylesSet)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=L({token:e,factory:e.\u0275fac}),e})(),Vi=(()=>{class e extends by{constructor(n){super(),this._doc=n,this._hostNodes=new Map,this._hostNodes.set(n.head,[])}_addStylesToHost(n,r,i){n.forEach(o=>{const s=this._doc.createElement("style");s.textContent=o,i.push(r.appendChild(s))})}addHost(n){const r=[];this._addStylesToHost(this._stylesSet,n,r),this._hostNodes.set(n,r)}removeHost(n){const r=this._hostNodes.get(n);r&&r.forEach(Iy),this._hostNodes.delete(n)}onStylesAdded(n){this._hostNodes.forEach((r,i)=>{this._addStylesToHost(n,i,r)})}ngOnDestroy(){this._hostNodes.forEach(n=>n.forEach(Iy))}}return e.\u0275fac=function(n){return new(n||e)(E(Je))},e.\u0275prov=L({token:e,factory:e.\u0275fac}),e})();function Iy(e){mn().remove(e)}const Kl={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"},Jl=/%COMP%/g;function Ms(e,t,n){for(let r=0;r<t.length;r++){let i=t[r];Array.isArray(i)?Ms(e,i,n):(i=i.replace(Jl,e),n.push(i))}return n}function My(e){return t=>{if("__ngUnwrap__"===t)return e;!1===e(t)&&(t.preventDefault(),t.returnValue=!1)}}let Yl=(()=>{class e{constructor(n,r,i){this.eventManager=n,this.sharedStylesHost=r,this.appId=i,this.rendererByCompId=new Map,this.defaultRenderer=new Xl(n)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;switch(r.encapsulation){case Tt.Emulated:{let i=this.rendererByCompId.get(r.id);return i||(i=new sA(this.eventManager,this.sharedStylesHost,r,this.appId),this.rendererByCompId.set(r.id,i)),i.applyToHost(n),i}case 1:case Tt.ShadowDom:return new aA(this.eventManager,this.sharedStylesHost,n,r);default:if(!this.rendererByCompId.has(r.id)){const i=Ms(r.id,r.styles,[]);this.sharedStylesHost.addStyles(i),this.rendererByCompId.set(r.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return e.\u0275fac=function(n){return new(n||e)(E(Ts),E(Vi),E(Fi))},e.\u0275prov=L({token:e,factory:e.\u0275fac}),e})();class Xl{constructor(t){this.eventManager=t,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(t,n){return n?document.createElementNS(Kl[n]||n,t):document.createElement(t)}createComment(t){return document.createComment(t)}createText(t){return document.createTextNode(t)}appendChild(t,n){t.appendChild(n)}insertBefore(t,n,r){t&&t.insertBefore(n,r)}removeChild(t,n){t&&t.removeChild(n)}selectRootElement(t,n){let r="string"==typeof t?document.querySelector(t):t;if(!r)throw new Error(`The selector "${t}" did not match any elements`);return n||(r.textContent=""),r}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,n,r,i){if(i){n=i+":"+n;const o=Kl[i];o?t.setAttributeNS(o,n,r):t.setAttribute(n,r)}else t.setAttribute(n,r)}removeAttribute(t,n,r){if(r){const i=Kl[r];i?t.removeAttributeNS(i,n):t.removeAttribute(`${r}:${n}`)}else t.removeAttribute(n)}addClass(t,n){t.classList.add(n)}removeClass(t,n){t.classList.remove(n)}setStyle(t,n,r,i){i&(Ze.DashCase|Ze.Important)?t.style.setProperty(n,r,i&Ze.Important?"important":""):t.style[n]=r}removeStyle(t,n,r){r&Ze.DashCase?t.style.removeProperty(n):t.style[n]=""}setProperty(t,n,r){t[n]=r}setValue(t,n){t.nodeValue=n}listen(t,n,r){return"string"==typeof t?this.eventManager.addGlobalEventListener(t,n,My(r)):this.eventManager.addEventListener(t,n,My(r))}}class sA extends Xl{constructor(t,n,r,i){super(t),this.component=r;const o=Ms(i+"-"+r.id,r.styles,[]);n.addStyles(o),this.contentAttr="_ngcontent-%COMP%".replace(Jl,i+"-"+r.id),this.hostAttr="_nghost-%COMP%".replace(Jl,i+"-"+r.id)}applyToHost(t){super.setAttribute(t,this.hostAttr,"")}createElement(t,n){const r=super.createElement(t,n);return super.setAttribute(r,this.contentAttr,""),r}}class aA extends Xl{constructor(t,n,r,i){super(t),this.sharedStylesHost=n,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const o=Ms(i.id,i.styles,[]);for(let s=0;s<o.length;s++){const a=document.createElement("style");a.textContent=o[s],this.shadowRoot.appendChild(a)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}appendChild(t,n){return super.appendChild(this.nodeOrShadowRoot(t),n)}insertBefore(t,n,r){return super.insertBefore(this.nodeOrShadowRoot(t),n,r)}removeChild(t,n){return super.removeChild(this.nodeOrShadowRoot(t),n)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}}let uA=(()=>{class e extends Ey{constructor(n){super(n)}supports(n){return!0}addEventListener(n,r,i){return n.addEventListener(r,i,!1),()=>this.removeEventListener(n,r,i)}removeEventListener(n,r,i){return n.removeEventListener(r,i)}}return e.\u0275fac=function(n){return new(n||e)(E(Je))},e.\u0275prov=L({token:e,factory:e.\u0275fac}),e})();const xy=["alt","control","meta","shift"],cA={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},Ry={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","\x90":"NumLock"},dA={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let fA=(()=>{class e extends Ey{constructor(n){super(n)}supports(n){return null!=e.parseEventName(n)}addEventListener(n,r,i){const o=e.parseEventName(r),s=e.eventCallback(o.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>mn().onAndCancel(n,o.domEventName,s))}static parseEventName(n){const r=n.toLowerCase().split("."),i=r.shift();if(0===r.length||"keydown"!==i&&"keyup"!==i)return null;const o=e._normalizeKey(r.pop());let s="";if(xy.forEach(u=>{const l=r.indexOf(u);l>-1&&(r.splice(l,1),s+=u+".")}),s+=o,0!=r.length||0===o.length)return null;const a={};return a.domEventName=i,a.fullKey=s,a}static getEventFullKey(n){let r="",i=function(e){let t=e.key;if(null==t){if(t=e.keyIdentifier,null==t)return"Unidentified";t.startsWith("U+")&&(t=String.fromCharCode(parseInt(t.substring(2),16)),3===e.location&&Ry.hasOwnProperty(t)&&(t=Ry[t]))}return cA[t]||t}(n);return i=i.toLowerCase()," "===i?i="space":"."===i&&(i="dot"),xy.forEach(o=>{o!=i&&dA[o](n)&&(r+=o+".")}),r+=i,r}static eventCallback(n,r,i){return o=>{e.getEventFullKey(o)===n&&i.runGuarded(()=>r(o))}}static _normalizeKey(n){return"esc"===n?"escape":n}}return e.\u0275fac=function(n){return new(n||e)(E(Je))},e.\u0275prov=L({token:e,factory:e.\u0275fac}),e})();const yA=km(cT,"browser",[{provide:cs,useValue:"browser"},{provide:Tm,useValue:function(){Ql.makeCurrent(),Zl.init()},multi:!0},{provide:Je,useFactory:function(){return e=document,ma=e,document;var e},deps:[]}]),vA=[{provide:xu,useValue:"root"},{provide:ar,useFactory:function(){return new ar},deps:[]},{provide:Ss,useClass:uA,multi:!0,deps:[Je,ce,cs]},{provide:Ss,useClass:fA,multi:!0,deps:[Je]},{provide:Yl,useClass:Yl,deps:[Ts,Vi,Fi]},{provide:zg,useExisting:Yl},{provide:by,useExisting:Vi},{provide:Vi,useClass:Vi,deps:[Je]},{provide:Sl,useClass:Sl,deps:[ce]},{provide:Ts,useClass:Ts,deps:[Ss,ce]},{provide:wy,useClass:eA,deps:[]}];let DA=(()=>{class e{constructor(n){if(n)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}static withServerTransition(n){return{ngModule:e,providers:[{provide:Fi,useValue:n.appId},{provide:_y,useExisting:Fi},XM]}}}return e.\u0275fac=function(n){return new(n||e)(E(e,12))},e.\u0275mod=qt({type:e}),e.\u0275inj=St({providers:vA,imports:[UM,yT]}),e})();function P(...e){return be(e,Gr(e))}"undefined"!=typeof window&&window;class bt extends It{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){const n=super._subscribe(t);return!n.closed&&t.next(this._value),n}getValue(){const{hasError:t,thrownError:n,_value:r}=this;if(t)throw n;return this._throwIfClosed(),r}next(t){super.next(this._value=t)}}const{isArray:xA}=Array,{getPrototypeOf:RA,prototype:NA,keys:PA}=Object;const{isArray:kA}=Array;function BA(...e){const t=Gr(e),n=function(e){return $(ea(e))?e.pop():void 0}(e),{args:r,keys:i}=function(e){if(1===e.length){const t=e[0];if(xA(t))return{args:t,keys:null};if(function(e){return e&&"object"==typeof e&&RA(e)===NA}(t)){const n=PA(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}(e);if(0===r.length)return be([],t);const o=new te(function(e,t,n=bn){return r=>{Fy(t,()=>{const{length:i}=e,o=new Array(i);let s=i,a=i;for(let u=0;u<i;u++)Fy(t,()=>{const l=be(e[u],t);let c=!1;l.subscribe(new Ee(r,d=>{o[u]=d,c||(c=!0,a--),a||r.next(n(o.slice()))},()=>{--s||r.complete()}))},r)},r)}}(r,t,i?s=>function(e,t){return e.reduce((n,r,i)=>(n[r]=t[i],n),{})}(i,s):bn));return n?o.pipe(function(e){return W(t=>function(e,t){return kA(t)?e(...t):e(t)}(e,t))}(n)):o}function Fy(e,t,n){e?Ht(n,e,t):t()}const As=ve(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function tc(...e){return qr(1)(be(e,Gr(e)))}function Oy(e){return new te(t=>{Bt(e()).subscribe(t)})}function ky(){return _e((e,t)=>{let n=null;e._refCount++;const r=new Ee(t,void 0,void 0,void 0,()=>{if(!e||e._refCount<=0||0<--e._refCount)return void(n=null);const i=e._connection,o=n;n=null,i&&(!o||i===o)&&i.unsubscribe(),t.unsubscribe()});e.subscribe(r),r.closed||(n=e.connect())})}class $A extends te{constructor(t,n){super(),this.source=t,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,Qc(t)&&(this.lift=t.lift)}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){const t=this._subject;return(!t||t.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:t}=this;this._subject=this._connection=null,null==t||t.unsubscribe()}connect(){let t=this._connection;if(!t){t=this._connection=new tt;const n=this.getSubject();t.add(this.source.subscribe(new Ee(n,void 0,()=>{this._teardown(),n.complete()},r=>{this._teardown(),n.error(r)},()=>this._teardown()))),t.closed&&(this._connection=null,t=tt.EMPTY)}return t}refCount(){return ky()(this)}}function vn(e,t){return _e((n,r)=>{let i=null,o=0,s=!1;const a=()=>s&&!i&&r.complete();n.subscribe(new Ee(r,u=>{null==i||i.unsubscribe();let l=0;const c=o++;Bt(e(u,c)).subscribe(i=new Ee(r,d=>r.next(t?t(u,d,c,l++):d),()=>{i=null,a()}))},()=>{s=!0,a()}))})}function qA(e,t,n,r,i){return(o,s)=>{let a=n,u=t,l=0;o.subscribe(new Ee(s,c=>{const d=l++;u=a?e(u,c,d):(a=!0,c),r&&s.next(u)},i&&(()=>{a&&s.next(u),s.complete()})))}}function Ly(e,t){return _e(qA(e,t,arguments.length>=2,!0))}function Ln(e,t){return _e((n,r)=>{let i=0;n.subscribe(new Ee(r,o=>e.call(t,o,i++)&&r.next(o)))})}function Dn(e){return _e((t,n)=>{let o,r=null,i=!1;r=t.subscribe(new Ee(n,void 0,void 0,s=>{o=Bt(e(s,Dn(e)(t))),r?(r.unsubscribe(),r=null,o.subscribe(n)):i=!0})),i&&(r.unsubscribe(),r=null,o.subscribe(n))})}function jr(e,t){return $(t)?De(e,t,1):De(e,1)}function nc(e){return e<=0?()=>Ut:_e((t,n)=>{let r=[];t.subscribe(new Ee(n,i=>{r.push(i),e<r.length&&r.shift()},()=>{for(const i of r)n.next(i);n.complete()},void 0,()=>{r=null}))})}function jy(e=GA){return _e((t,n)=>{let r=!1;t.subscribe(new Ee(n,i=>{r=!0,n.next(i)},()=>r?n.complete():n.error(e())))})}function GA(){return new As}function Vy(e){return _e((t,n)=>{let r=!1;t.subscribe(new Ee(n,i=>{r=!0,n.next(i)},()=>{r||n.next(e),n.complete()}))})}function Vr(e,t){const n=arguments.length>=2;return r=>r.pipe(e?Ln((i,o)=>e(i,o,r)):bn,to(1),n?Vy(t):jy(()=>new As))}function Ye(e,t,n){const r=$(e)||t||n?{next:e,error:t,complete:n}:e;return r?_e((i,o)=>{var s;null===(s=r.subscribe)||void 0===s||s.call(r);let a=!0;i.subscribe(new Ee(o,u=>{var l;null===(l=r.next)||void 0===l||l.call(r,u),o.next(u)},()=>{var u;a=!1,null===(u=r.complete)||void 0===u||u.call(r),o.complete()},u=>{var l;a=!1,null===(l=r.error)||void 0===l||l.call(r,u),o.error(u)},()=>{var u,l;a&&(null===(u=r.unsubscribe)||void 0===u||u.call(r)),null===(l=r.finalize)||void 0===l||l.call(r)}))}):bn}class en{constructor(t,n){this.id=t,this.url=n}}class rc extends en{constructor(t,n,r="imperative",i=null){super(t,n),this.navigationTrigger=r,this.restoredState=i}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class Bi extends en{constructor(t,n,r){super(t,n),this.urlAfterRedirects=r}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class By extends en{constructor(t,n,r){super(t,n),this.reason=r}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class ZA extends en{constructor(t,n,r){super(t,n),this.error=r}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class KA extends en{constructor(t,n,r,i){super(t,n),this.urlAfterRedirects=r,this.state=i}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class JA extends en{constructor(t,n,r,i){super(t,n),this.urlAfterRedirects=r,this.state=i}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class YA extends en{constructor(t,n,r,i,o){super(t,n),this.urlAfterRedirects=r,this.state=i,this.shouldActivate=o}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class XA extends en{constructor(t,n,r,i){super(t,n),this.urlAfterRedirects=r,this.state=i}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ex extends en{constructor(t,n,r,i){super(t,n),this.urlAfterRedirects=r,this.state=i}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Hy{constructor(t){this.route=t}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class Uy{constructor(t){this.route=t}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class tx{constructor(t){this.snapshot=t}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class nx{constructor(t){this.snapshot=t}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class rx{constructor(t){this.snapshot=t}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ix{constructor(t){this.snapshot=t}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class $y{constructor(t,n,r){this.routerEvent=t,this.position=n,this.anchor=r}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}const V="primary";class ox{constructor(t){this.params=t||{}}has(t){return Object.prototype.hasOwnProperty.call(this.params,t)}get(t){if(this.has(t)){const n=this.params[t];return Array.isArray(n)?n[0]:n}return null}getAll(t){if(this.has(t)){const n=this.params[t];return Array.isArray(n)?n:[n]}return[]}get keys(){return Object.keys(this.params)}}function Br(e){return new ox(e)}const zy="ngNavigationCancelingError";function ic(e){const t=Error("NavigationCancelingError: "+e);return t[zy]=!0,t}function ax(e,t,n){const r=n.path.split("/");if(r.length>e.length||"full"===n.pathMatch&&(t.hasChildren()||r.length<e.length))return null;const i={};for(let o=0;o<r.length;o++){const s=r[o],a=e[o];if(s.startsWith(":"))i[s.substring(1)]=a;else if(s!==a.path)return null}return{consumed:e.slice(0,r.length),posParams:i}}function jt(e,t){const n=e?Object.keys(e):void 0,r=t?Object.keys(t):void 0;if(!n||!r||n.length!=r.length)return!1;let i;for(let o=0;o<n.length;o++)if(i=n[o],!qy(e[i],t[i]))return!1;return!0}function qy(e,t){if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return!1;const n=[...e].sort(),r=[...t].sort();return n.every((i,o)=>r[o]===i)}return e===t}function Gy(e){return Array.prototype.concat.apply([],e)}function Wy(e){return e.length>0?e[e.length-1]:null}function Ie(e,t){for(const n in e)e.hasOwnProperty(n)&&t(e[n],n)}function Vt(e){return Ep(e)?e:Wo(e)?be(Promise.resolve(e)):P(e)}const cx={exact:function Ky(e,t,n){if(!Vn(e.segments,t.segments)||!xs(e.segments,t.segments,n)||e.numberOfChildren!==t.numberOfChildren)return!1;for(const r in t.children)if(!e.children[r]||!Ky(e.children[r],t.children[r],n))return!1;return!0},subset:Jy},Qy={exact:function(e,t){return jt(e,t)},subset:function(e,t){return Object.keys(t).length<=Object.keys(e).length&&Object.keys(t).every(n=>qy(e[n],t[n]))},ignored:()=>!0};function Zy(e,t,n){return cx[n.paths](e.root,t.root,n.matrixParams)&&Qy[n.queryParams](e.queryParams,t.queryParams)&&!("exact"===n.fragment&&e.fragment!==t.fragment)}function Jy(e,t,n){return Yy(e,t,t.segments,n)}function Yy(e,t,n,r){if(e.segments.length>n.length){const i=e.segments.slice(0,n.length);return!(!Vn(i,n)||t.hasChildren()||!xs(i,n,r))}if(e.segments.length===n.length){if(!Vn(e.segments,n)||!xs(e.segments,n,r))return!1;for(const i in t.children)if(!e.children[i]||!Jy(e.children[i],t.children[i],r))return!1;return!0}{const i=n.slice(0,e.segments.length),o=n.slice(e.segments.length);return!!(Vn(e.segments,i)&&xs(e.segments,i,r)&&e.children[V])&&Yy(e.children[V],t,o,r)}}function xs(e,t,n){return t.every((r,i)=>Qy[n](e[i].parameters,r.parameters))}class jn{constructor(t,n,r){this.root=t,this.queryParams=n,this.fragment=r}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Br(this.queryParams)),this._queryParamMap}toString(){return gx.serialize(this)}}class U{constructor(t,n){this.segments=t,this.children=n,this.parent=null,Ie(n,(r,i)=>r.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Rs(this)}}class Hi{constructor(t,n){this.path=t,this.parameters=n}get parameterMap(){return this._parameterMap||(this._parameterMap=Br(this.parameters)),this._parameterMap}toString(){return rv(this)}}function Vn(e,t){return e.length===t.length&&e.every((n,r)=>n.path===t[r].path)}class Xy{}class ev{parse(t){const n=new bx(t);return new jn(n.parseRootSegment(),n.parseQueryParams(),n.parseFragment())}serialize(t){const n=`/${Ui(t.root,!0)}`,r=function(e){const t=Object.keys(e).map(n=>{const r=e[n];return Array.isArray(r)?r.map(i=>`${Ns(n)}=${Ns(i)}`).join("&"):`${Ns(n)}=${Ns(r)}`}).filter(n=>!!n);return t.length?`?${t.join("&")}`:""}(t.queryParams);var e;return`${n}${r}${"string"==typeof t.fragment?`#${e=t.fragment,encodeURI(e)}`:""}`}}const gx=new ev;function Rs(e){return e.segments.map(t=>rv(t)).join("/")}function Ui(e,t){if(!e.hasChildren())return Rs(e);if(t){const n=e.children[V]?Ui(e.children[V],!1):"",r=[];return Ie(e.children,(i,o)=>{o!==V&&r.push(`${o}:${Ui(i,!1)}`)}),r.length>0?`${n}(${r.join("//")})`:n}{const n=function(e,t){let n=[];return Ie(e.children,(r,i)=>{i===V&&(n=n.concat(t(r,i)))}),Ie(e.children,(r,i)=>{i!==V&&(n=n.concat(t(r,i)))}),n}(e,(r,i)=>i===V?[Ui(e.children[V],!1)]:[`${i}:${Ui(r,!1)}`]);return 1===Object.keys(e.children).length&&null!=e.children[V]?`${Rs(e)}/${n[0]}`:`${Rs(e)}/(${n.join("//")})`}}function tv(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Ns(e){return tv(e).replace(/%3B/gi,";")}function oc(e){return tv(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Ps(e){return decodeURIComponent(e)}function nv(e){return Ps(e.replace(/\+/g,"%20"))}function rv(e){return`${oc(e.path)}${function(e){return Object.keys(e).map(t=>`;${oc(t)}=${oc(e[t])}`).join("")}(e.parameters)}`}const Dx=/^[^\/()?;=#]+/;function Fs(e){const t=e.match(Dx);return t?t[0]:""}const Cx=/^[^=?&#]+/,_x=/^[^&#]+/;class bx{constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new U([],{}):new U([],this.parseChildren())}parseQueryParams(){const t={};if(this.consumeOptional("?"))do{this.parseQueryParam(t)}while(this.consumeOptional("&"));return t}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());let n={};this.peekStartsWith("/(")&&(this.capture("/"),n=this.parseParens(!0));let r={};return this.peekStartsWith("(")&&(r=this.parseParens(!1)),(t.length>0||Object.keys(n).length>0)&&(r[V]=new U(t,n)),r}parseSegment(){const t=Fs(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(t),new Hi(Ps(t),this.parseMatrixParams())}parseMatrixParams(){const t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){const n=Fs(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){const i=Fs(this.remaining);i&&(r=i,this.capture(r))}t[Ps(n)]=Ps(r)}parseQueryParam(t){const n=function(e){const t=e.match(Cx);return t?t[0]:""}(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){const s=function(e){const t=e.match(_x);return t?t[0]:""}(this.remaining);s&&(r=s,this.capture(r))}const i=nv(n),o=nv(r);if(t.hasOwnProperty(i)){let s=t[i];Array.isArray(s)||(s=[s],t[i]=s),s.push(o)}else t[i]=o}parseParens(t){const n={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const r=Fs(this.remaining),i=this.remaining[r.length];if("/"!==i&&")"!==i&&";"!==i)throw new Error(`Cannot parse url '${this.url}'`);let o;r.indexOf(":")>-1?(o=r.substr(0,r.indexOf(":")),this.capture(o),this.capture(":")):t&&(o=V);const s=this.parseChildren();n[o]=1===Object.keys(s).length?s[V]:new U([],s),this.consumeOptional("//")}return n}peekStartsWith(t){return this.remaining.startsWith(t)}consumeOptional(t){return!!this.peekStartsWith(t)&&(this.remaining=this.remaining.substring(t.length),!0)}capture(t){if(!this.consumeOptional(t))throw new Error(`Expected "${t}".`)}}class iv{constructor(t){this._root=t}get root(){return this._root.value}parent(t){const n=this.pathFromRoot(t);return n.length>1?n[n.length-2]:null}children(t){const n=sc(t,this._root);return n?n.children.map(r=>r.value):[]}firstChild(t){const n=sc(t,this._root);return n&&n.children.length>0?n.children[0].value:null}siblings(t){const n=ac(t,this._root);return n.length<2?[]:n[n.length-2].children.map(i=>i.value).filter(i=>i!==t)}pathFromRoot(t){return ac(t,this._root).map(n=>n.value)}}function sc(e,t){if(e===t.value)return t;for(const n of t.children){const r=sc(e,n);if(r)return r}return null}function ac(e,t){if(e===t.value)return[t];for(const n of t.children){const r=ac(e,n);if(r.length)return r.unshift(t),r}return[]}class tn{constructor(t,n){this.value=t,this.children=n}toString(){return`TreeNode(${this.value})`}}function Hr(e){const t={};return e&&e.children.forEach(n=>t[n.value.outlet]=n),t}class ov extends iv{constructor(t,n){super(t),this.snapshot=n,uc(this,t)}toString(){return this.snapshot.toString()}}function sv(e,t){const n=function(e,t){const s=new Os([],{},{},"",{},V,t,null,e.root,-1,{});return new uv("",new tn(s,[]))}(e,t),r=new bt([new Hi("",{})]),i=new bt({}),o=new bt({}),s=new bt({}),a=new bt(""),u=new Ur(r,i,s,a,o,V,t,n.root);return u.snapshot=n.root,new ov(new tn(u,[]),n)}class Ur{constructor(t,n,r,i,o,s,a,u){this.url=t,this.params=n,this.queryParams=r,this.fragment=i,this.data=o,this.outlet=s,this.component=a,this._futureSnapshot=u}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=this.params.pipe(W(t=>Br(t)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(W(t=>Br(t)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function av(e,t="emptyOnly"){const n=e.pathFromRoot;let r=0;if("always"!==t)for(r=n.length-1;r>=1;){const i=n[r],o=n[r-1];if(i.routeConfig&&""===i.routeConfig.path)r--;else{if(o.component)break;r--}}return function(e){return e.reduce((t,n)=>({params:M(M({},t.params),n.params),data:M(M({},t.data),n.data),resolve:M(M({},t.resolve),n._resolvedData)}),{params:{},data:{},resolve:{}})}(n.slice(r))}class Os{constructor(t,n,r,i,o,s,a,u,l,c,d){this.url=t,this.params=n,this.queryParams=r,this.fragment=i,this.data=o,this.outlet=s,this.component=a,this.routeConfig=u,this._urlSegment=l,this._lastPathIndex=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(){return this._paramMap||(this._paramMap=Br(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Br(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(r=>r.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class uv extends iv{constructor(t,n){super(n),this.url=t,uc(this,n)}toString(){return lv(this._root)}}function uc(e,t){t.value._routerState=e,t.children.forEach(n=>uc(e,n))}function lv(e){const t=e.children.length>0?` { ${e.children.map(lv).join(", ")} } `:"";return`${e.value}${t}`}function lc(e){if(e.snapshot){const t=e.snapshot,n=e._futureSnapshot;e.snapshot=n,jt(t.queryParams,n.queryParams)||e.queryParams.next(n.queryParams),t.fragment!==n.fragment&&e.fragment.next(n.fragment),jt(t.params,n.params)||e.params.next(n.params),function(e,t){if(e.length!==t.length)return!1;for(let n=0;n<e.length;++n)if(!jt(e[n],t[n]))return!1;return!0}(t.url,n.url)||e.url.next(n.url),jt(t.data,n.data)||e.data.next(n.data)}else e.snapshot=e._futureSnapshot,e.data.next(e._futureSnapshot.data)}function cc(e,t){const n=jt(e.params,t.params)&&function(e,t){return Vn(e,t)&&e.every((n,r)=>jt(n.parameters,t[r].parameters))}(e.url,t.url);return n&&!(!e.parent!=!t.parent)&&(!e.parent||cc(e.parent,t.parent))}function $i(e,t,n){if(n&&e.shouldReuseRoute(t.value,n.value.snapshot)){const r=n.value;r._futureSnapshot=t.value;const i=function(e,t,n){return t.children.map(r=>{for(const i of n.children)if(e.shouldReuseRoute(r.value,i.value.snapshot))return $i(e,r,i);return $i(e,r)})}(e,t,n);return new tn(r,i)}{if(e.shouldAttach(t.value)){const o=e.retrieve(t.value);if(null!==o){const s=o.route;return s.value._futureSnapshot=t.value,s.children=t.children.map(a=>$i(e,a)),s}}const r=function(e){return new Ur(new bt(e.url),new bt(e.params),new bt(e.queryParams),new bt(e.fragment),new bt(e.data),e.outlet,e.component,e)}(t.value),i=t.children.map(o=>$i(e,o));return new tn(r,i)}}function ks(e){return"object"==typeof e&&null!=e&&!e.outlets&&!e.segmentPath}function zi(e){return"object"==typeof e&&null!=e&&e.outlets}function dc(e,t,n,r,i){let o={};return r&&Ie(r,(s,a)=>{o[a]=Array.isArray(s)?s.map(u=>`${u}`):`${s}`}),new jn(n.root===e?t:cv(n.root,e,t),o,i)}function cv(e,t,n){const r={};return Ie(e.children,(i,o)=>{r[o]=i===t?n:cv(i,t,n)}),new U(e.segments,r)}class dv{constructor(t,n,r){if(this.isAbsolute=t,this.numberOfDoubleDots=n,this.commands=r,t&&r.length>0&&ks(r[0]))throw new Error("Root segment cannot have matrix parameters");const i=r.find(zi);if(i&&i!==Wy(r))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class fc{constructor(t,n,r){this.segmentGroup=t,this.processChildren=n,this.index=r}}function fv(e,t,n){if(e||(e=new U([],{})),0===e.segments.length&&e.hasChildren())return Ls(e,t,n);const r=function(e,t,n){let r=0,i=t;const o={match:!1,pathIndex:0,commandIndex:0};for(;i<e.segments.length;){if(r>=n.length)return o;const s=e.segments[i],a=n[r];if(zi(a))break;const u=`${a}`,l=r<n.length-1?n[r+1]:null;if(i>0&&void 0===u)break;if(u&&l&&"object"==typeof l&&void 0===l.outlets){if(!pv(u,l,s))return o;r+=2}else{if(!pv(u,{},s))return o;r++}i++}return{match:!0,pathIndex:i,commandIndex:r}}(e,t,n),i=n.slice(r.commandIndex);if(r.match&&r.pathIndex<e.segments.length){const o=new U(e.segments.slice(0,r.pathIndex),{});return o.children[V]=new U(e.segments.slice(r.pathIndex),e.children),Ls(o,0,i)}return r.match&&0===i.length?new U(e.segments,{}):r.match&&!e.hasChildren()?hc(e,t,n):r.match?Ls(e,0,i):hc(e,t,n)}function Ls(e,t,n){if(0===n.length)return new U(e.segments,{});{const r=function(e){return zi(e[0])?e[0].outlets:{[V]:e}}(n),i={};return Ie(r,(o,s)=>{"string"==typeof o&&(o=[o]),null!==o&&(i[s]=fv(e.children[s],t,o))}),Ie(e.children,(o,s)=>{void 0===r[s]&&(i[s]=o)}),new U(e.segments,i)}}function hc(e,t,n){const r=e.segments.slice(0,t);let i=0;for(;i<n.length;){const o=n[i];if(zi(o)){const u=kx(o.outlets);return new U(r,u)}if(0===i&&ks(n[0])){r.push(new Hi(e.segments[t].path,hv(n[0]))),i++;continue}const s=zi(o)?o.outlets[V]:`${o}`,a=i<n.length-1?n[i+1]:null;s&&a&&ks(a)?(r.push(new Hi(s,hv(a))),i+=2):(r.push(new Hi(s,{})),i++)}return new U(r,{})}function kx(e){const t={};return Ie(e,(n,r)=>{"string"==typeof n&&(n=[n]),null!==n&&(t[r]=hc(new U([],{}),0,n))}),t}function hv(e){const t={};return Ie(e,(n,r)=>t[r]=`${n}`),t}function pv(e,t,n){return e==n.path&&jt(t,n.parameters)}class jx{constructor(t,n,r,i){this.routeReuseStrategy=t,this.futureState=n,this.currState=r,this.forwardEvent=i}activate(t){const n=this.futureState._root,r=this.currState?this.currState._root:null;this.deactivateChildRoutes(n,r,t),lc(this.futureState.root),this.activateChildRoutes(n,r,t)}deactivateChildRoutes(t,n,r){const i=Hr(n);t.children.forEach(o=>{const s=o.value.outlet;this.deactivateRoutes(o,i[s],r),delete i[s]}),Ie(i,(o,s)=>{this.deactivateRouteAndItsChildren(o,r)})}deactivateRoutes(t,n,r){const i=t.value,o=n?n.value:null;if(i===o)if(i.component){const s=r.getContext(i.outlet);s&&this.deactivateChildRoutes(t,n,s.children)}else this.deactivateChildRoutes(t,n,r);else o&&this.deactivateRouteAndItsChildren(n,r)}deactivateRouteAndItsChildren(t,n){t.value.component&&this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,n):this.deactivateRouteAndOutlet(t,n)}detachAndStoreRouteSubtree(t,n){const r=n.getContext(t.value.outlet),i=r&&t.value.component?r.children:n,o=Hr(t);for(const s of Object.keys(o))this.deactivateRouteAndItsChildren(o[s],i);if(r&&r.outlet){const s=r.outlet.detach(),a=r.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:s,route:t,contexts:a})}}deactivateRouteAndOutlet(t,n){const r=n.getContext(t.value.outlet),i=r&&t.value.component?r.children:n,o=Hr(t);for(const s of Object.keys(o))this.deactivateRouteAndItsChildren(o[s],i);r&&r.outlet&&(r.outlet.deactivate(),r.children.onOutletDeactivated(),r.attachRef=null,r.resolver=null,r.route=null)}activateChildRoutes(t,n,r){const i=Hr(n);t.children.forEach(o=>{this.activateRoutes(o,i[o.value.outlet],r),this.forwardEvent(new ix(o.value.snapshot))}),t.children.length&&this.forwardEvent(new nx(t.value.snapshot))}activateRoutes(t,n,r){const i=t.value,o=n?n.value:null;if(lc(i),i===o)if(i.component){const s=r.getOrCreateContext(i.outlet);this.activateChildRoutes(t,n,s.children)}else this.activateChildRoutes(t,n,r);else if(i.component){const s=r.getOrCreateContext(i.outlet);if(this.routeReuseStrategy.shouldAttach(i.snapshot)){const a=this.routeReuseStrategy.retrieve(i.snapshot);this.routeReuseStrategy.store(i.snapshot,null),s.children.onOutletReAttached(a.contexts),s.attachRef=a.componentRef,s.route=a.route.value,s.outlet&&s.outlet.attach(a.componentRef,a.route.value),lc(a.route.value),this.activateChildRoutes(t,null,s.children)}else{const a=function(e){for(let t=e.parent;t;t=t.parent){const n=t.routeConfig;if(n&&n._loadedConfig)return n._loadedConfig;if(n&&n.component)return null}return null}(i.snapshot),u=a?a.module.componentFactoryResolver:null;s.attachRef=null,s.route=i,s.resolver=u,s.outlet&&s.outlet.activateWith(i,u),this.activateChildRoutes(t,null,s.children)}}else this.activateChildRoutes(t,null,r)}}class pc{constructor(t,n){this.routes=t,this.module=n}}function Cn(e){return"function"==typeof e}function Bn(e){return e instanceof jn}const qi=Symbol("INITIAL_VALUE");function Gi(){return vn(e=>BA(e.map(t=>t.pipe(to(1),function(...e){const t=Gr(e);return _e((n,r)=>{(t?tc(e,n,t):tc(e,n)).subscribe(r)})}(qi)))).pipe(Ly((t,n)=>{let r=!1;return n.reduce((i,o,s)=>i!==qi?i:(o===qi&&(r=!0),r||!1!==o&&s!==n.length-1&&!Bn(o)?i:o),t)},qi),Ln(t=>t!==qi),W(t=>Bn(t)?t:!0===t),to(1)))}class qx{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new Wi,this.attachRef=null}}class Wi{constructor(){this.contexts=new Map}onChildOutletCreated(t,n){const r=this.getOrCreateContext(t);r.outlet=n,this.contexts.set(t,r)}onChildOutletDestroyed(t){const n=this.getContext(t);n&&(n.outlet=null,n.attachRef=null)}onOutletDeactivated(){const t=this.contexts;return this.contexts=new Map,t}onOutletReAttached(t){this.contexts=t}getOrCreateContext(t){let n=this.getContext(t);return n||(n=new qx,this.contexts.set(t,n)),n}getContext(t){return this.contexts.get(t)||null}}let gv=(()=>{class e{constructor(n,r,i,o,s){this.parentContexts=n,this.location=r,this.resolver=i,this.changeDetector=s,this.activated=null,this._activatedRoute=null,this.activateEvents=new Le,this.deactivateEvents=new Le,this.attachEvents=new Le,this.detachEvents=new Le,this.name=o||V,n.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const n=this.parentContexts.getContext(this.name);n&&n.route&&(n.attachRef?this.attach(n.attachRef,n.route):this.activateWith(n.route,n.resolver||null))}}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance}get activatedRoute(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new Error("Outlet is not activated");this.location.detach();const n=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(n.instance),n}attach(n,r){this.activated=n,this._activatedRoute=r,this.location.insert(n.hostView),this.attachEvents.emit(n.instance)}deactivate(){if(this.activated){const n=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(n)}}activateWith(n,r){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=n;const s=(r=r||this.resolver).resolveComponentFactory(n._futureSnapshot.routeConfig.component),a=this.parentContexts.getOrCreateContext(this.name).children,u=new Gx(n,a,this.location.injector);this.activated=this.location.createComponent(s,this.location.length,u),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return e.\u0275fac=function(n){return new(n||e)(b(Wi),b(Ct),b(hn),function(e){return function(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const n=e.attrs;if(n){const r=n.length;let i=0;for(;i<r;){const o=n[i];if($d(o))break;if(0===o)i+=2;else if("number"==typeof o)for(i++;i<r&&"string"==typeof n[i];)i++;else{if(o===t)return n[i+1];i+=2}}}return null}(pe(),e)}("name"),b(fs))},e.\u0275dir=Se({type:e,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"]}),e})();class Gx{constructor(t,n,r){this.route=t,this.childContexts=n,this.parent=r}get(t,n){return t===Ur?this.route:t===Wi?this.childContexts:this.parent.get(t,n)}}let mv=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=Qr({type:e,selectors:[["ng-component"]],decls:1,vars:0,template:function(n,r){1&n&&qu(0,"router-outlet")},directives:[gv],encapsulation:2}),e})();function yv(e,t=""){for(let n=0;n<e.length;n++){const r=e[n];Wx(r,Qx(t,r))}}function Wx(e,t){e.children&&yv(e.children,t)}function Qx(e,t){return t?e||t.path?e&&!t.path?`${e}/`:!e&&t.path?t.path:`${e}/${t.path}`:"":e}function gc(e){const t=e.children&&e.children.map(gc),n=t?Ue(M({},e),{children:t}):M({},e);return!n.component&&(t||n.loadChildren)&&n.outlet&&n.outlet!==V&&(n.component=mv),n}function dt(e){return e.outlet||V}function vv(e,t){const n=e.filter(r=>dt(r)===t);return n.push(...e.filter(r=>dt(r)!==t)),n}const Dv={matched:!1,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};function js(e,t,n){var a;if(""===t.path)return"full"===t.pathMatch&&(e.hasChildren()||n.length>0)?M({},Dv):{matched:!0,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};const i=(t.matcher||ax)(n,e,t);if(!i)return M({},Dv);const o={};Ie(i.posParams,(u,l)=>{o[l]=u.path});const s=i.consumed.length>0?M(M({},o),i.consumed[i.consumed.length-1].parameters):o;return{matched:!0,consumedSegments:i.consumed,lastChild:i.consumed.length,parameters:s,positionalParamSegments:null!=(a=i.posParams)?a:{}}}function Vs(e,t,n,r,i="corrected"){if(n.length>0&&function(e,t,n){return n.some(r=>Bs(e,t,r)&&dt(r)!==V)}(e,n,r)){const s=new U(t,function(e,t,n,r){const i={};i[V]=r,r._sourceSegment=e,r._segmentIndexShift=t.length;for(const o of n)if(""===o.path&&dt(o)!==V){const s=new U([],{});s._sourceSegment=e,s._segmentIndexShift=t.length,i[dt(o)]=s}return i}(e,t,r,new U(n,e.children)));return s._sourceSegment=e,s._segmentIndexShift=t.length,{segmentGroup:s,slicedSegments:[]}}if(0===n.length&&function(e,t,n){return n.some(r=>Bs(e,t,r))}(e,n,r)){const s=new U(e.segments,function(e,t,n,r,i,o){const s={};for(const a of r)if(Bs(e,n,a)&&!i[dt(a)]){const u=new U([],{});u._sourceSegment=e,u._segmentIndexShift="legacy"===o?e.segments.length:t.length,s[dt(a)]=u}return M(M({},i),s)}(e,t,n,r,e.children,i));return s._sourceSegment=e,s._segmentIndexShift=t.length,{segmentGroup:s,slicedSegments:n}}const o=new U(e.segments,e.children);return o._sourceSegment=e,o._segmentIndexShift=t.length,{segmentGroup:o,slicedSegments:n}}function Bs(e,t,n){return(!(e.hasChildren()||t.length>0)||"full"!==n.pathMatch)&&""===n.path}function Cv(e,t,n,r){return!!(dt(e)===r||r!==V&&Bs(t,n,e))&&("**"===e.path||js(t,e,n).matched)}function wv(e,t,n){return 0===t.length&&!e.children[n]}class Qi{constructor(t){this.segmentGroup=t||null}}class _v{constructor(t){this.urlTree=t}}function Hs(e){return new te(t=>t.error(new Qi(e)))}function Ev(e){return new te(t=>t.error(new _v(e)))}function Xx(e){return new te(t=>t.error(new Error(`Only absolute redirects can have named outlets. redirectTo: '${e}'`)))}class nR{constructor(t,n,r,i,o){this.configLoader=n,this.urlSerializer=r,this.urlTree=i,this.config=o,this.allowRedirects=!0,this.ngModule=t.get(Kt)}apply(){const t=Vs(this.urlTree.root,[],[],this.config).segmentGroup,n=new U(t.segments,t.children);return this.expandSegmentGroup(this.ngModule,this.config,n,V).pipe(W(o=>this.createUrlTree(mc(o),this.urlTree.queryParams,this.urlTree.fragment))).pipe(Dn(o=>{if(o instanceof _v)return this.allowRedirects=!1,this.match(o.urlTree);throw o instanceof Qi?this.noMatchError(o):o}))}match(t){return this.expandSegmentGroup(this.ngModule,this.config,t.root,V).pipe(W(i=>this.createUrlTree(mc(i),t.queryParams,t.fragment))).pipe(Dn(i=>{throw i instanceof Qi?this.noMatchError(i):i}))}noMatchError(t){return new Error(`Cannot match any routes. URL Segment: '${t.segmentGroup}'`)}createUrlTree(t,n,r){const i=t.segments.length>0?new U([],{[V]:t}):t;return new jn(i,n,r)}expandSegmentGroup(t,n,r,i){return 0===r.segments.length&&r.hasChildren()?this.expandChildren(t,n,r).pipe(W(o=>new U([],o))):this.expandSegment(t,r,n,r.segments,i,!0)}expandChildren(t,n,r){const i=[];for(const o of Object.keys(r.children))"primary"===o?i.unshift(o):i.push(o);return be(i).pipe(jr(o=>{const s=r.children[o],a=vv(n,o);return this.expandSegmentGroup(t,a,s,o).pipe(W(u=>({segment:u,outlet:o})))}),Ly((o,s)=>(o[s.outlet]=s.segment,o),{}),function(e,t){const n=arguments.length>=2;return r=>r.pipe(e?Ln((i,o)=>e(i,o,r)):bn,nc(1),n?Vy(t):jy(()=>new As))}())}expandSegment(t,n,r,i,o,s){return be(r).pipe(jr(a=>this.expandSegmentAgainstRoute(t,n,r,a,i,o,s).pipe(Dn(l=>{if(l instanceof Qi)return P(null);throw l}))),Vr(a=>!!a),Dn((a,u)=>{if(a instanceof As||"EmptyError"===a.name){if(wv(n,i,o))return P(new U([],{}));throw new Qi(n)}throw a}))}expandSegmentAgainstRoute(t,n,r,i,o,s,a){return Cv(i,n,o,s)?void 0===i.redirectTo?this.matchSegmentAgainstRoute(t,n,i,o,s):a&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(t,n,r,i,o,s):Hs(n):Hs(n)}expandSegmentAgainstRouteUsingRedirect(t,n,r,i,o,s){return"**"===i.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(t,r,i,s):this.expandRegularSegmentAgainstRouteUsingRedirect(t,n,r,i,o,s)}expandWildCardWithParamsAgainstRouteUsingRedirect(t,n,r,i){const o=this.applyRedirectCommands([],r.redirectTo,{});return r.redirectTo.startsWith("/")?Ev(o):this.lineralizeSegments(r,o).pipe(De(s=>{const a=new U(s,{});return this.expandSegment(t,a,n,s,i,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(t,n,r,i,o,s){const{matched:a,consumedSegments:u,lastChild:l,positionalParamSegments:c}=js(n,i,o);if(!a)return Hs(n);const d=this.applyRedirectCommands(u,i.redirectTo,c);return i.redirectTo.startsWith("/")?Ev(d):this.lineralizeSegments(i,d).pipe(De(f=>this.expandSegment(t,n,r,f.concat(o.slice(l)),s,!1)))}matchSegmentAgainstRoute(t,n,r,i,o){if("**"===r.path)return r.loadChildren?(r._loadedConfig?P(r._loadedConfig):this.configLoader.load(t.injector,r)).pipe(W(f=>(r._loadedConfig=f,new U(i,{})))):P(new U(i,{}));const{matched:s,consumedSegments:a,lastChild:u}=js(n,r,i);if(!s)return Hs(n);const l=i.slice(u);return this.getChildConfig(t,r,i).pipe(De(d=>{const f=d.module,h=d.routes,{segmentGroup:p,slicedSegments:m}=Vs(n,a,l,h),y=new U(p.segments,p.children);if(0===m.length&&y.hasChildren())return this.expandChildren(f,h,y).pipe(W(S=>new U(a,S)));if(0===h.length&&0===m.length)return P(new U(a,{}));const v=dt(r)===o;return this.expandSegment(f,y,h,m,v?V:o,!0).pipe(W(_=>new U(a.concat(_.segments),_.children)))}))}getChildConfig(t,n,r){return n.children?P(new pc(n.children,t)):n.loadChildren?void 0!==n._loadedConfig?P(n._loadedConfig):this.runCanLoadGuards(t.injector,n,r).pipe(De(i=>{return i?this.configLoader.load(t.injector,n).pipe(W(o=>(n._loadedConfig=o,o))):(e=n,new te(t=>t.error(ic(`Cannot load children because the guard of the route "path: '${e.path}'" returned false`))));var e})):P(new pc([],t))}runCanLoadGuards(t,n,r){const i=n.canLoad;return i&&0!==i.length?P(i.map(s=>{const a=t.get(s);let u;if((e=a)&&Cn(e.canLoad))u=a.canLoad(n,r);else{if(!Cn(a))throw new Error("Invalid CanLoad guard");u=a(n,r)}var e;return Vt(u)})).pipe(Gi(),Ye(s=>{if(!Bn(s))return;const a=ic(`Redirecting to "${this.urlSerializer.serialize(s)}"`);throw a.url=s,a}),W(s=>!0===s)):P(!0)}lineralizeSegments(t,n){let r=[],i=n.root;for(;;){if(r=r.concat(i.segments),0===i.numberOfChildren)return P(r);if(i.numberOfChildren>1||!i.children[V])return Xx(t.redirectTo);i=i.children[V]}}applyRedirectCommands(t,n,r){return this.applyRedirectCreatreUrlTree(n,this.urlSerializer.parse(n),t,r)}applyRedirectCreatreUrlTree(t,n,r,i){const o=this.createSegmentGroup(t,n.root,r,i);return new jn(o,this.createQueryParams(n.queryParams,this.urlTree.queryParams),n.fragment)}createQueryParams(t,n){const r={};return Ie(t,(i,o)=>{if("string"==typeof i&&i.startsWith(":")){const a=i.substring(1);r[o]=n[a]}else r[o]=i}),r}createSegmentGroup(t,n,r,i){const o=this.createSegments(t,n.segments,r,i);let s={};return Ie(n.children,(a,u)=>{s[u]=this.createSegmentGroup(t,a,r,i)}),new U(o,s)}createSegments(t,n,r,i){return n.map(o=>o.path.startsWith(":")?this.findPosParam(t,o,i):this.findOrReturn(o,r))}findPosParam(t,n,r){const i=r[n.path.substring(1)];if(!i)throw new Error(`Cannot redirect to '${t}'. Cannot find '${n.path}'.`);return i}findOrReturn(t,n){let r=0;for(const i of n){if(i.path===t.path)return n.splice(r),i;r++}return t}}function mc(e){const t={};for(const r of Object.keys(e.children)){const o=mc(e.children[r]);(o.segments.length>0||o.hasChildren())&&(t[r]=o)}return function(e){if(1===e.numberOfChildren&&e.children[V]){const t=e.children[V];return new U(e.segments.concat(t.segments),t.children)}return e}(new U(e.segments,t))}class bv{constructor(t){this.path=t,this.route=this.path[this.path.length-1]}}class Us{constructor(t,n){this.component=t,this.route=n}}function oR(e,t,n){const r=e._root;return Zi(r,t?t._root:null,n,[r.value])}function $s(e,t,n){const r=function(e){if(!e)return null;for(let t=e.parent;t;t=t.parent){const n=t.routeConfig;if(n&&n._loadedConfig)return n._loadedConfig}return null}(t);return(r?r.module.injector:n).get(e)}function Zi(e,t,n,r,i={canDeactivateChecks:[],canActivateChecks:[]}){const o=Hr(t);return e.children.forEach(s=>{(function(e,t,n,r,i={canDeactivateChecks:[],canActivateChecks:[]}){const o=e.value,s=t?t.value:null,a=n?n.getContext(e.value.outlet):null;if(s&&o.routeConfig===s.routeConfig){const u=function(e,t,n){if("function"==typeof n)return n(e,t);switch(n){case"pathParamsChange":return!Vn(e.url,t.url);case"pathParamsOrQueryParamsChange":return!Vn(e.url,t.url)||!jt(e.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!cc(e,t)||!jt(e.queryParams,t.queryParams);default:return!cc(e,t)}}(s,o,o.routeConfig.runGuardsAndResolvers);u?i.canActivateChecks.push(new bv(r)):(o.data=s.data,o._resolvedData=s._resolvedData),Zi(e,t,o.component?a?a.children:null:n,r,i),u&&a&&a.outlet&&a.outlet.isActivated&&i.canDeactivateChecks.push(new Us(a.outlet.component,s))}else s&&Ki(t,a,i),i.canActivateChecks.push(new bv(r)),Zi(e,null,o.component?a?a.children:null:n,r,i)})(s,o[s.value.outlet],n,r.concat([s.value]),i),delete o[s.value.outlet]}),Ie(o,(s,a)=>Ki(s,n.getContext(a),i)),i}function Ki(e,t,n){const r=Hr(e),i=e.value;Ie(r,(o,s)=>{Ki(o,i.component?t?t.children.getContext(s):null:t,n)}),n.canDeactivateChecks.push(new Us(i.component&&t&&t.outlet&&t.outlet.isActivated?t.outlet.component:null,i))}class vR{}function Iv(e){return new te(t=>t.error(e))}class CR{constructor(t,n,r,i,o,s){this.rootComponentType=t,this.config=n,this.urlTree=r,this.url=i,this.paramsInheritanceStrategy=o,this.relativeLinkResolution=s}recognize(){const t=Vs(this.urlTree.root,[],[],this.config.filter(s=>void 0===s.redirectTo),this.relativeLinkResolution).segmentGroup,n=this.processSegmentGroup(this.config,t,V);if(null===n)return null;const r=new Os([],Object.freeze({}),Object.freeze(M({},this.urlTree.queryParams)),this.urlTree.fragment,{},V,this.rootComponentType,null,this.urlTree.root,-1,{}),i=new tn(r,n),o=new uv(this.url,i);return this.inheritParamsAndData(o._root),o}inheritParamsAndData(t){const n=t.value,r=av(n,this.paramsInheritanceStrategy);n.params=Object.freeze(r.params),n.data=Object.freeze(r.data),t.children.forEach(i=>this.inheritParamsAndData(i))}processSegmentGroup(t,n,r){return 0===n.segments.length&&n.hasChildren()?this.processChildren(t,n):this.processSegment(t,n,n.segments,r)}processChildren(t,n){const r=[];for(const o of Object.keys(n.children)){const s=n.children[o],a=vv(t,o),u=this.processSegmentGroup(a,s,o);if(null===u)return null;r.push(...u)}const i=Sv(r);return i.sort((t,n)=>t.value.outlet===V?-1:n.value.outlet===V?1:t.value.outlet.localeCompare(n.value.outlet)),i}processSegment(t,n,r,i){for(const o of t){const s=this.processSegmentAgainstRoute(o,n,r,i);if(null!==s)return s}return wv(n,r,i)?[]:null}processSegmentAgainstRoute(t,n,r,i){if(t.redirectTo||!Cv(t,n,r,i))return null;let o,s=[],a=[];if("**"===t.path){const h=r.length>0?Wy(r).parameters:{};o=new Os(r,h,Object.freeze(M({},this.urlTree.queryParams)),this.urlTree.fragment,Av(t),dt(t),t.component,t,Tv(n),Mv(n)+r.length,xv(t))}else{const h=js(n,t,r);if(!h.matched)return null;s=h.consumedSegments,a=r.slice(h.lastChild),o=new Os(s,h.parameters,Object.freeze(M({},this.urlTree.queryParams)),this.urlTree.fragment,Av(t),dt(t),t.component,t,Tv(n),Mv(n)+s.length,xv(t))}const u=(e=t).children?e.children:e.loadChildren?e._loadedConfig.routes:[],{segmentGroup:l,slicedSegments:c}=Vs(n,s,a,u.filter(h=>void 0===h.redirectTo),this.relativeLinkResolution);var e;if(0===c.length&&l.hasChildren()){const h=this.processChildren(u,l);return null===h?null:[new tn(o,h)]}if(0===u.length&&0===c.length)return[new tn(o,[])];const d=dt(t)===i,f=this.processSegment(u,l,c,d?V:i);return null===f?null:[new tn(o,f)]}}function ER(e){const t=e.value.routeConfig;return t&&""===t.path&&void 0===t.redirectTo}function Sv(e){const t=[],n=new Set;for(const r of e){if(!ER(r)){t.push(r);continue}const i=t.find(o=>r.value.routeConfig===o.value.routeConfig);void 0!==i?(i.children.push(...r.children),n.add(i)):t.push(r)}for(const r of n){const i=Sv(r.children);t.push(new tn(r.value,i))}return t.filter(r=>!n.has(r))}function Tv(e){let t=e;for(;t._sourceSegment;)t=t._sourceSegment;return t}function Mv(e){let t=e,n=t._segmentIndexShift?t._segmentIndexShift:0;for(;t._sourceSegment;)t=t._sourceSegment,n+=t._segmentIndexShift?t._segmentIndexShift:0;return n-1}function Av(e){return e.data||{}}function xv(e){return e.resolve||{}}function yc(e){return vn(t=>{const n=e(t);return n?be(n).pipe(W(()=>t)):P(t)})}class RR extends class{shouldDetach(t){return!1}store(t,n){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,n){return t.routeConfig===n.routeConfig}}{}const vc=new H("ROUTES");class Rv{constructor(t,n,r,i){this.injector=t,this.compiler=n,this.onLoadStartListener=r,this.onLoadEndListener=i}load(t,n){if(n._loader$)return n._loader$;this.onLoadStartListener&&this.onLoadStartListener(n);const i=this.loadModuleFactory(n.loadChildren).pipe(W(o=>{this.onLoadEndListener&&this.onLoadEndListener(n);const s=o.create(t);return new pc(Gy(s.injector.get(vc,void 0,N.Self|N.Optional)).map(gc),s)}),Dn(o=>{throw n._loader$=void 0,o}));return n._loader$=new $A(i,()=>new It).pipe(ky()),n._loader$}loadModuleFactory(t){return Vt(t()).pipe(De(n=>n instanceof Wg?P(n):be(this.compiler.compileModuleAsync(n))))}}class PR{shouldProcessUrl(t){return!0}extract(t){return t}merge(t,n){return t}}function FR(e){throw e}function OR(e,t,n){return t.parse("/")}function Nv(e,t){return P(null)}const kR={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},LR={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let Xe=(()=>{class e{constructor(n,r,i,o,s,a,u){this.rootComponentType=n,this.urlSerializer=r,this.rootContexts=i,this.location=o,this.config=u,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new It,this.errorHandler=FR,this.malformedUriErrorHandler=OR,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:Nv,afterPreactivation:Nv},this.urlHandlingStrategy=new PR,this.routeReuseStrategy=new RR,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.ngModule=s.get(Kt),this.console=s.get(Am);const d=s.get(ce);this.isNgZoneEnabled=d instanceof ce&&ce.isInAngularZone(),this.resetConfig(u),this.currentUrlTree=new jn(new U([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new Rv(s,a,f=>this.triggerEvent(new Hy(f)),f=>this.triggerEvent(new Uy(f))),this.routerState=sv(this.currentUrlTree,this.rootComponentType),this.transitions=new bt({id:0,targetPageId:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}get browserPageId(){var n;return null==(n=this.location.getState())?void 0:n.\u0275routerPageId}setupNavigations(n){const r=this.events;return n.pipe(Ln(i=>0!==i.id),W(i=>Ue(M({},i),{extractedUrl:this.urlHandlingStrategy.extract(i.rawUrl)})),vn(i=>{let o=!1,s=!1;return P(i).pipe(Ye(a=>{this.currentNavigation={id:a.id,initialUrl:a.currentRawUrl,extractedUrl:a.extractedUrl,trigger:a.source,extras:a.extras,previousNavigation:this.lastSuccessfulNavigation?Ue(M({},this.lastSuccessfulNavigation),{previousNavigation:null}):null}}),vn(a=>{const u=this.browserUrlTree.toString(),l=!this.navigated||a.extractedUrl.toString()!==u||u!==this.currentUrlTree.toString();if(("reload"===this.onSameUrlNavigation||l)&&this.urlHandlingStrategy.shouldProcessUrl(a.rawUrl))return zs(a.source)&&(this.browserUrlTree=a.extractedUrl),P(a).pipe(vn(d=>{const f=this.transitions.getValue();return r.next(new rc(d.id,this.serializeUrl(d.extractedUrl),d.source,d.restoredState)),f!==this.transitions.getValue()?Ut:Promise.resolve(d)}),function(e,t,n,r){return vn(i=>function(e,t,n,r,i){return new nR(e,t,n,r,i).apply()}(e,t,n,i.extractedUrl,r).pipe(W(o=>Ue(M({},i),{urlAfterRedirects:o}))))}(this.ngModule.injector,this.configLoader,this.urlSerializer,this.config),Ye(d=>{this.currentNavigation=Ue(M({},this.currentNavigation),{finalUrl:d.urlAfterRedirects})}),function(e,t,n,r,i){return De(o=>function(e,t,n,r,i="emptyOnly",o="legacy"){try{const s=new CR(e,t,n,r,i,o).recognize();return null===s?Iv(new vR):P(s)}catch(s){return Iv(s)}}(e,t,o.urlAfterRedirects,n(o.urlAfterRedirects),r,i).pipe(W(s=>Ue(M({},o),{targetSnapshot:s}))))}(this.rootComponentType,this.config,d=>this.serializeUrl(d),this.paramsInheritanceStrategy,this.relativeLinkResolution),Ye(d=>{if("eager"===this.urlUpdateStrategy){if(!d.extras.skipLocationChange){const h=this.urlHandlingStrategy.merge(d.urlAfterRedirects,d.rawUrl);this.setBrowserUrl(h,d)}this.browserUrlTree=d.urlAfterRedirects}const f=new KA(d.id,this.serializeUrl(d.extractedUrl),this.serializeUrl(d.urlAfterRedirects),d.targetSnapshot);r.next(f)}));if(l&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:f,extractedUrl:h,source:p,restoredState:m,extras:y}=a,v=new rc(f,this.serializeUrl(h),p,m);r.next(v);const g=sv(h,this.rootComponentType).snapshot;return P(Ue(M({},a),{targetSnapshot:g,urlAfterRedirects:h,extras:Ue(M({},y),{skipLocationChange:!1,replaceUrl:!1})}))}return this.rawUrlTree=a.rawUrl,a.resolve(null),Ut}),yc(a=>{const{targetSnapshot:u,id:l,extractedUrl:c,rawUrl:d,extras:{skipLocationChange:f,replaceUrl:h}}=a;return this.hooks.beforePreactivation(u,{navigationId:l,appliedUrlTree:c,rawUrlTree:d,skipLocationChange:!!f,replaceUrl:!!h})}),Ye(a=>{const u=new JA(a.id,this.serializeUrl(a.extractedUrl),this.serializeUrl(a.urlAfterRedirects),a.targetSnapshot);this.triggerEvent(u)}),W(a=>Ue(M({},a),{guards:oR(a.targetSnapshot,a.currentSnapshot,this.rootContexts)})),function(e,t){return De(n=>{const{targetSnapshot:r,currentSnapshot:i,guards:{canActivateChecks:o,canDeactivateChecks:s}}=n;return 0===s.length&&0===o.length?P(Ue(M({},n),{guardsResult:!0})):function(e,t,n,r){return be(e).pipe(De(i=>function(e,t,n,r,i){const o=t&&t.routeConfig?t.routeConfig.canDeactivate:null;return o&&0!==o.length?P(o.map(a=>{const u=$s(a,t,i);let l;if(function(e){return e&&Cn(e.canDeactivate)}(u))l=Vt(u.canDeactivate(e,t,n,r));else{if(!Cn(u))throw new Error("Invalid CanDeactivate guard");l=Vt(u(e,t,n,r))}return l.pipe(Vr())})).pipe(Gi()):P(!0)}(i.component,i.route,n,t,r)),Vr(i=>!0!==i,!0))}(s,r,i,e).pipe(De(a=>a&&function(e){return"boolean"==typeof e}(a)?function(e,t,n,r){return be(t).pipe(jr(i=>tc(function(e,t){return null!==e&&t&&t(new tx(e)),P(!0)}(i.route.parent,r),function(e,t){return null!==e&&t&&t(new rx(e)),P(!0)}(i.route,r),function(e,t,n){const r=t[t.length-1],o=t.slice(0,t.length-1).reverse().map(s=>function(e){const t=e.routeConfig?e.routeConfig.canActivateChild:null;return t&&0!==t.length?{node:e,guards:t}:null}(s)).filter(s=>null!==s).map(s=>Oy(()=>P(s.guards.map(u=>{const l=$s(u,s.node,n);let c;if(function(e){return e&&Cn(e.canActivateChild)}(l))c=Vt(l.canActivateChild(r,e));else{if(!Cn(l))throw new Error("Invalid CanActivateChild guard");c=Vt(l(r,e))}return c.pipe(Vr())})).pipe(Gi())));return P(o).pipe(Gi())}(e,i.path,n),function(e,t,n){const r=t.routeConfig?t.routeConfig.canActivate:null;if(!r||0===r.length)return P(!0);const i=r.map(o=>Oy(()=>{const s=$s(o,t,n);let a;if(function(e){return e&&Cn(e.canActivate)}(s))a=Vt(s.canActivate(t,e));else{if(!Cn(s))throw new Error("Invalid CanActivate guard");a=Vt(s(t,e))}return a.pipe(Vr())}));return P(i).pipe(Gi())}(e,i.route,n))),Vr(i=>!0!==i,!0))}(r,o,e,t):P(a)),W(a=>Ue(M({},n),{guardsResult:a})))})}(this.ngModule.injector,a=>this.triggerEvent(a)),Ye(a=>{if(Bn(a.guardsResult)){const l=ic(`Redirecting to "${this.serializeUrl(a.guardsResult)}"`);throw l.url=a.guardsResult,l}const u=new YA(a.id,this.serializeUrl(a.extractedUrl),this.serializeUrl(a.urlAfterRedirects),a.targetSnapshot,!!a.guardsResult);this.triggerEvent(u)}),Ln(a=>!!a.guardsResult||(this.restoreHistory(a),this.cancelNavigationTransition(a,""),!1)),yc(a=>{if(a.guards.canActivateChecks.length)return P(a).pipe(Ye(u=>{const l=new XA(u.id,this.serializeUrl(u.extractedUrl),this.serializeUrl(u.urlAfterRedirects),u.targetSnapshot);this.triggerEvent(l)}),vn(u=>{let l=!1;return P(u).pipe(function(e,t){return De(n=>{const{targetSnapshot:r,guards:{canActivateChecks:i}}=n;if(!i.length)return P(n);let o=0;return be(i).pipe(jr(s=>function(e,t,n,r){return function(e,t,n,r){const i=Object.keys(e);if(0===i.length)return P({});const o={};return be(i).pipe(De(s=>function(e,t,n,r){const i=$s(e,t,r);return Vt(i.resolve?i.resolve(t,n):i(t,n))}(e[s],t,n,r).pipe(Ye(a=>{o[s]=a}))),nc(1),De(()=>Object.keys(o).length===i.length?P(o):Ut))}(e._resolve,e,t,r).pipe(W(o=>(e._resolvedData=o,e.data=M(M({},e.data),av(e,n).resolve),null)))}(s.route,r,e,t)),Ye(()=>o++),nc(1),De(s=>o===i.length?P(n):Ut))})}(this.paramsInheritanceStrategy,this.ngModule.injector),Ye({next:()=>l=!0,complete:()=>{l||(this.restoreHistory(u),this.cancelNavigationTransition(u,"At least one route resolver didn't emit any value."))}}))}),Ye(u=>{const l=new ex(u.id,this.serializeUrl(u.extractedUrl),this.serializeUrl(u.urlAfterRedirects),u.targetSnapshot);this.triggerEvent(l)}))}),yc(a=>{const{targetSnapshot:u,id:l,extractedUrl:c,rawUrl:d,extras:{skipLocationChange:f,replaceUrl:h}}=a;return this.hooks.afterPreactivation(u,{navigationId:l,appliedUrlTree:c,rawUrlTree:d,skipLocationChange:!!f,replaceUrl:!!h})}),W(a=>{const u=function(e,t,n){const r=$i(e,t._root,n?n._root:void 0);return new ov(r,t)}(this.routeReuseStrategy,a.targetSnapshot,a.currentRouterState);return Ue(M({},a),{targetRouterState:u})}),Ye(a=>{this.currentUrlTree=a.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(a.urlAfterRedirects,a.rawUrl),this.routerState=a.targetRouterState,"deferred"===this.urlUpdateStrategy&&(a.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,a),this.browserUrlTree=a.urlAfterRedirects)}),((e,t,n)=>W(r=>(new jx(t,r.targetRouterState,r.currentRouterState,n).activate(e),r)))(this.rootContexts,this.routeReuseStrategy,a=>this.triggerEvent(a)),Ye({next(){o=!0},complete(){o=!0}}),function(e){return _e((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}(()=>{var a;o||s||this.cancelNavigationTransition(i,`Navigation ID ${i.id} is not equal to the current navigation id ${this.navigationId}`),(null==(a=this.currentNavigation)?void 0:a.id)===i.id&&(this.currentNavigation=null)}),Dn(a=>{if(s=!0,function(e){return e&&e[zy]}(a)){const u=Bn(a.url);u||(this.navigated=!0,this.restoreHistory(i,!0));const l=new By(i.id,this.serializeUrl(i.extractedUrl),a.message);r.next(l),u?setTimeout(()=>{const c=this.urlHandlingStrategy.merge(a.url,this.rawUrlTree),d={skipLocationChange:i.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||zs(i.source)};this.scheduleNavigation(c,"imperative",null,d,{resolve:i.resolve,reject:i.reject,promise:i.promise})},0):i.resolve(!1)}else{this.restoreHistory(i,!0);const u=new ZA(i.id,this.serializeUrl(i.extractedUrl),a);r.next(u);try{i.resolve(this.errorHandler(a))}catch(l){i.reject(l)}}return Ut}))}))}resetRootComponentType(n){this.rootComponentType=n,this.routerState.root.component=this.rootComponentType}setTransition(n){this.transitions.next(M(M({},this.transitions.value),n))}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(n=>{const r="popstate"===n.type?"popstate":"hashchange";"popstate"===r&&setTimeout(()=>{var a;const i={replaceUrl:!0},o=(null==(a=n.state)?void 0:a.navigationId)?n.state:null;if(o){const u=M({},o);delete u.navigationId,delete u.\u0275routerPageId,0!==Object.keys(u).length&&(i.state=u)}const s=this.parseUrl(n.url);this.scheduleNavigation(s,r,o,i)},0)}))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(n){this.events.next(n)}resetConfig(n){yv(n),this.config=n.map(gc),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.transitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(n,r={}){const{relativeTo:i,queryParams:o,fragment:s,queryParamsHandling:a,preserveFragment:u}=r,l=i||this.routerState.root,c=u?this.currentUrlTree.fragment:s;let d=null;switch(a){case"merge":d=M(M({},this.currentUrlTree.queryParams),o);break;case"preserve":d=this.currentUrlTree.queryParams;break;default:d=o||null}return null!==d&&(d=this.removeEmptyProps(d)),function(e,t,n,r,i){if(0===n.length)return dc(t.root,t.root,t,r,i);const o=function(e){if("string"==typeof e[0]&&1===e.length&&"/"===e[0])return new dv(!0,0,e);let t=0,n=!1;const r=e.reduce((i,o,s)=>{if("object"==typeof o&&null!=o){if(o.outlets){const a={};return Ie(o.outlets,(u,l)=>{a[l]="string"==typeof u?u.split("/"):u}),[...i,{outlets:a}]}if(o.segmentPath)return[...i,o.segmentPath]}return"string"!=typeof o?[...i,o]:0===s?(o.split("/").forEach((a,u)=>{0==u&&"."===a||(0==u&&""===a?n=!0:".."===a?t++:""!=a&&i.push(a))}),i):[...i,o]},[]);return new dv(n,t,r)}(n);if(o.toRoot())return dc(t.root,new U([],{}),t,r,i);const s=function(e,t,n){if(e.isAbsolute)return new fc(t.root,!0,0);if(-1===n.snapshot._lastPathIndex){const o=n.snapshot._urlSegment;return new fc(o,o===t.root,0)}const r=ks(e.commands[0])?0:1;return function(e,t,n){let r=e,i=t,o=n;for(;o>i;){if(o-=i,r=r.parent,!r)throw new Error("Invalid number of '../'");i=r.segments.length}return new fc(r,!1,i-o)}(n.snapshot._urlSegment,n.snapshot._lastPathIndex+r,e.numberOfDoubleDots)}(o,t,e),a=s.processChildren?Ls(s.segmentGroup,s.index,o.commands):fv(s.segmentGroup,s.index,o.commands);return dc(s.segmentGroup,a,t,r,i)}(l,this.currentUrlTree,n,d,null!=c?c:null)}navigateByUrl(n,r={skipLocationChange:!1}){const i=Bn(n)?n:this.parseUrl(n),o=this.urlHandlingStrategy.merge(i,this.rawUrlTree);return this.scheduleNavigation(o,"imperative",null,r)}navigate(n,r={skipLocationChange:!1}){return function(e){for(let t=0;t<e.length;t++){const n=e[t];if(null==n)throw new Error(`The requested path contains ${n} segment at index ${t}`)}}(n),this.navigateByUrl(this.createUrlTree(n,r),r)}serializeUrl(n){return this.urlSerializer.serialize(n)}parseUrl(n){let r;try{r=this.urlSerializer.parse(n)}catch(i){r=this.malformedUriErrorHandler(i,this.urlSerializer,n)}return r}isActive(n,r){let i;if(i=!0===r?M({},kR):!1===r?M({},LR):r,Bn(n))return Zy(this.currentUrlTree,n,i);const o=this.parseUrl(n);return Zy(this.currentUrlTree,o,i)}removeEmptyProps(n){return Object.keys(n).reduce((r,i)=>{const o=n[i];return null!=o&&(r[i]=o),r},{})}processNavigations(){this.navigations.subscribe(n=>{this.navigated=!0,this.lastSuccessfulId=n.id,this.currentPageId=n.targetPageId,this.events.next(new Bi(n.id,this.serializeUrl(n.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,n.resolve(!0)},n=>{this.console.warn(`Unhandled Navigation Error: ${n}`)})}scheduleNavigation(n,r,i,o,s){var v,g,_;if(this.disposed)return Promise.resolve(!1);const a=this.transitions.value,u=zs(r)&&a&&!zs(a.source),l=a.rawUrl.toString()===n.toString(),c=a.id===(null==(v=this.currentNavigation)?void 0:v.id);if(u&&l&&c)return Promise.resolve(!0);let f,h,p;s?(f=s.resolve,h=s.reject,p=s.promise):p=new Promise((S,z)=>{f=S,h=z});const m=++this.navigationId;let y;return"computed"===this.canceledNavigationResolution?(0===this.currentPageId&&(i=this.location.getState()),y=i&&i.\u0275routerPageId?i.\u0275routerPageId:o.replaceUrl||o.skipLocationChange?null!=(g=this.browserPageId)?g:0:(null!=(_=this.browserPageId)?_:0)+1):y=0,this.setTransition({id:m,targetPageId:y,source:r,restoredState:i,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:n,extras:o,resolve:f,reject:h,promise:p,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),p.catch(S=>Promise.reject(S))}setBrowserUrl(n,r){const i=this.urlSerializer.serialize(n),o=M(M({},r.extras.state),this.generateNgRouterState(r.id,r.targetPageId));this.location.isCurrentPathEqualTo(i)||r.extras.replaceUrl?this.location.replaceState(i,"",o):this.location.go(i,"",o)}restoreHistory(n,r=!1){var i,o;if("computed"===this.canceledNavigationResolution){const s=this.currentPageId-n.targetPageId;"popstate"!==n.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==(null==(i=this.currentNavigation)?void 0:i.finalUrl)||0===s?this.currentUrlTree===(null==(o=this.currentNavigation)?void 0:o.finalUrl)&&0===s&&(this.resetState(n),this.browserUrlTree=n.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(s)}else"replace"===this.canceledNavigationResolution&&(r&&this.resetState(n),this.resetUrlToCurrentUrlTree())}resetState(n){this.routerState=n.currentRouterState,this.currentUrlTree=n.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}cancelNavigationTransition(n,r){const i=new By(n.id,this.serializeUrl(n.extractedUrl),r);this.triggerEvent(i),n.resolve(!1)}generateNgRouterState(n,r){return"computed"===this.canceledNavigationResolution?{navigationId:n,\u0275routerPageId:r}:{navigationId:n}}}return e.\u0275fac=function(n){Uu()},e.\u0275prov=L({token:e,factory:e.\u0275fac}),e})();function zs(e){return"imperative"!==e}class Pv{}class Fv{preload(t,n){return P(null)}}let Ov=(()=>{class e{constructor(n,r,i,o){this.router=n,this.injector=i,this.preloadingStrategy=o,this.loader=new Rv(i,r,u=>n.triggerEvent(new Hy(u)),u=>n.triggerEvent(new Uy(u)))}setUpPreloading(){this.subscription=this.router.events.pipe(Ln(n=>n instanceof Bi),jr(()=>this.preload())).subscribe(()=>{})}preload(){const n=this.injector.get(Kt);return this.processRoutes(n,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(n,r){const i=[];for(const o of r)if(o.loadChildren&&!o.canLoad&&o._loadedConfig){const s=o._loadedConfig;i.push(this.processRoutes(s.module,s.routes))}else o.loadChildren&&!o.canLoad?i.push(this.preloadConfig(n,o)):o.children&&i.push(this.processRoutes(n,o.children));return be(i).pipe(qr(),W(o=>{}))}preloadConfig(n,r){return this.preloadingStrategy.preload(r,()=>(r._loadedConfig?P(r._loadedConfig):this.loader.load(n.injector,r)).pipe(De(o=>(r._loadedConfig=o,this.processRoutes(o.module,o.routes)))))}}return e.\u0275fac=function(n){return new(n||e)(E(Xe),E(ds),E(we),E(Pv))},e.\u0275prov=L({token:e,factory:e.\u0275fac}),e})(),wc=(()=>{class e{constructor(n,r,i={}){this.router=n,this.viewportScroller=r,this.options=i,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},i.scrollPositionRestoration=i.scrollPositionRestoration||"disabled",i.anchorScrolling=i.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.router.events.subscribe(n=>{n instanceof rc?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=n.navigationTrigger,this.restoredId=n.restoredState?n.restoredState.navigationId:0):n instanceof Bi&&(this.lastId=n.id,this.scheduleScrollEvent(n,this.router.parseUrl(n.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(n=>{n instanceof $y&&(n.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(n.position):n.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(n.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(n,r){this.router.triggerEvent(new $y(n,"popstate"===this.lastSource?this.store[this.restoredId]:null,r))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return e.\u0275fac=function(n){Uu()},e.\u0275prov=L({token:e,factory:e.\u0275fac}),e})();const Hn=new H("ROUTER_CONFIGURATION"),kv=new H("ROUTER_FORROOT_GUARD"),UR=[Ol,{provide:Xy,useClass:ev},{provide:Xe,useFactory:function(e,t,n,r,i,o,s={},a,u){const l=new Xe(null,e,t,n,r,i,Gy(o));return a&&(l.urlHandlingStrategy=a),u&&(l.routeReuseStrategy=u),function(e,t){e.errorHandler&&(t.errorHandler=e.errorHandler),e.malformedUriErrorHandler&&(t.malformedUriErrorHandler=e.malformedUriErrorHandler),e.onSameUrlNavigation&&(t.onSameUrlNavigation=e.onSameUrlNavigation),e.paramsInheritanceStrategy&&(t.paramsInheritanceStrategy=e.paramsInheritanceStrategy),e.relativeLinkResolution&&(t.relativeLinkResolution=e.relativeLinkResolution),e.urlUpdateStrategy&&(t.urlUpdateStrategy=e.urlUpdateStrategy),e.canceledNavigationResolution&&(t.canceledNavigationResolution=e.canceledNavigationResolution)}(s,l),s.enableTracing&&l.events.subscribe(c=>{var d,f;null==(d=console.group)||d.call(console,`Router Event: ${c.constructor.name}`),console.log(c.toString()),console.log(c),null==(f=console.groupEnd)||f.call(console)}),l},deps:[Xy,Wi,Ol,we,ds,vc,Hn,[class{},new Rt],[class{},new Rt]]},Wi,{provide:Ur,useFactory:function(e){return e.routerState.root},deps:[Xe]},Ov,Fv,class{preload(t,n){return n().pipe(Dn(()=>P(null)))}},{provide:Hn,useValue:{enableTracing:!1}}];function $R(){return new Om("Router",Xe)}let Lv=(()=>{class e{constructor(n,r){}static forRoot(n,r){return{ngModule:e,providers:[UR,jv(n),{provide:kv,useFactory:GR,deps:[[Xe,new Rt,new ir]]},{provide:Hn,useValue:r||{}},{provide:Lr,useFactory:qR,deps:[kn,[new di(Fl),new Rt],Hn]},{provide:wc,useFactory:zR,deps:[Xe,GM,Hn]},{provide:Pv,useExisting:r&&r.preloadingStrategy?r.preloadingStrategy:Fv},{provide:Om,multi:!0,useFactory:$R},[_c,{provide:ls,multi:!0,useFactory:KR,deps:[_c]},{provide:Vv,useFactory:JR,deps:[_c]},{provide:Mm,multi:!0,useExisting:Vv}]]}}static forChild(n){return{ngModule:e,providers:[jv(n)]}}}return e.\u0275fac=function(n){return new(n||e)(E(kv,8),E(Xe,8))},e.\u0275mod=qt({type:e}),e.\u0275inj=St({}),e})();function zR(e,t,n){return n.scrollOffset&&t.setOffset(n.scrollOffset),new wc(e,t,n)}function qR(e,t,n={}){return n.useHash?new IT(e,t):new ry(e,t)}function GR(e){return"guarded"}function jv(e){return[{provide:$C,multi:!0,useValue:e},{provide:vc,multi:!0,useValue:e}]}let _c=(()=>{class e{constructor(n){this.injector=n,this.initNavigation=!1,this.destroyed=!1,this.resultOfPreactivationDone=new It}appInitializer(){return this.injector.get(_T,Promise.resolve(null)).then(()=>{if(this.destroyed)return Promise.resolve(!0);let r=null;const i=new Promise(a=>r=a),o=this.injector.get(Xe),s=this.injector.get(Hn);return"disabled"===s.initialNavigation?(o.setUpLocationChangeListener(),r(!0)):"enabled"===s.initialNavigation||"enabledBlocking"===s.initialNavigation?(o.hooks.afterPreactivation=()=>this.initNavigation?P(null):(this.initNavigation=!0,r(!0),this.resultOfPreactivationDone),o.initialNavigation()):r(!0),i})}bootstrapListener(n){const r=this.injector.get(Hn),i=this.injector.get(Ov),o=this.injector.get(wc),s=this.injector.get(Xe),a=this.injector.get(Or);n===a.components[0]&&(("enabledNonBlocking"===r.initialNavigation||void 0===r.initialNavigation)&&s.initialNavigation(),i.setUpPreloading(),o.init(),s.resetRootComponentType(a.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}ngOnDestroy(){this.destroyed=!0}}return e.\u0275fac=function(n){return new(n||e)(E(we))},e.\u0275prov=L({token:e,factory:e.\u0275fac}),e})();function KR(e){return e.appInitializer.bind(e)}function JR(e){return e.bootstrapListener.bind(e)}const Vv=new H("Router Initializer"),XR=[];let eN=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=qt({type:e}),e.\u0275inj=St({imports:[[Lv.forRoot(XR)],Lv]}),e})();class Bv{}class Hv{}class nn{constructor(t){this.normalizedNames=new Map,this.lazyUpdate=null,t?this.lazyInit="string"==typeof t?()=>{this.headers=new Map,t.split("\n").forEach(n=>{const r=n.indexOf(":");if(r>0){const i=n.slice(0,r),o=i.toLowerCase(),s=n.slice(r+1).trim();this.maybeSetNormalizedName(i,o),this.headers.has(o)?this.headers.get(o).push(s):this.headers.set(o,[s])}})}:()=>{this.headers=new Map,Object.keys(t).forEach(n=>{let r=t[n];const i=n.toLowerCase();"string"==typeof r&&(r=[r]),r.length>0&&(this.headers.set(i,r),this.maybeSetNormalizedName(n,i))})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();const n=this.headers.get(t.toLowerCase());return n&&n.length>0?n[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,n){return this.clone({name:t,value:n,op:"a"})}set(t,n){return this.clone({name:t,value:n,op:"s"})}delete(t,n){return this.clone({name:t,value:n,op:"d"})}maybeSetNormalizedName(t,n){this.normalizedNames.has(n)||this.normalizedNames.set(n,t)}init(){this.lazyInit&&(this.lazyInit instanceof nn?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init(),Array.from(t.headers.keys()).forEach(n=>{this.headers.set(n,t.headers.get(n)),this.normalizedNames.set(n,t.normalizedNames.get(n))})}clone(t){const n=new nn;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof nn?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([t]),n}applyUpdate(t){const n=t.name.toLowerCase();switch(t.op){case"a":case"s":let r=t.value;if("string"==typeof r&&(r=[r]),0===r.length)return;this.maybeSetNormalizedName(t.name,n);const i=("a"===t.op?this.headers.get(n):void 0)||[];i.push(...r),this.headers.set(n,i);break;case"d":const o=t.value;if(o){let s=this.headers.get(n);if(!s)return;s=s.filter(a=>-1===o.indexOf(a)),0===s.length?(this.headers.delete(n),this.normalizedNames.delete(n)):this.headers.set(n,s)}else this.headers.delete(n),this.normalizedNames.delete(n)}}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(n=>t(this.normalizedNames.get(n),this.headers.get(n)))}}class tN{encodeKey(t){return Uv(t)}encodeValue(t){return Uv(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}}const rN=/%(\d[a-f0-9])/gi,iN={40:"@","3A":":",24:"$","2C":",","3B":";","2B":"+","3D":"=","3F":"?","2F":"/"};function Uv(e){return encodeURIComponent(e).replace(rN,(t,n)=>{var r;return null!=(r=iN[n])?r:t})}function $v(e){return`${e}`}class wn{constructor(t={}){if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new tN,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function(e,t){const n=new Map;return e.length>0&&e.replace(/^\?/,"").split("&").forEach(i=>{const o=i.indexOf("="),[s,a]=-1==o?[t.decodeKey(i),""]:[t.decodeKey(i.slice(0,o)),t.decodeValue(i.slice(o+1))],u=n.get(s)||[];u.push(a),n.set(s,u)}),n}(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(n=>{const r=t.fromObject[n];this.map.set(n,Array.isArray(r)?r:[r])})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();const n=this.map.get(t);return n?n[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,n){return this.clone({param:t,value:n,op:"a"})}appendAll(t){const n=[];return Object.keys(t).forEach(r=>{const i=t[r];Array.isArray(i)?i.forEach(o=>{n.push({param:r,value:o,op:"a"})}):n.push({param:r,value:i,op:"a"})}),this.clone(n)}set(t,n){return this.clone({param:t,value:n,op:"s"})}delete(t,n){return this.clone({param:t,value:n,op:"d"})}toString(){return this.init(),this.keys().map(t=>{const n=this.encoder.encodeKey(t);return this.map.get(t).map(r=>n+"="+this.encoder.encodeValue(r)).join("&")}).filter(t=>""!==t).join("&")}clone(t){const n=new wn({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat(t),n}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(t=>this.map.set(t,this.cloneFrom.map.get(t))),this.updates.forEach(t=>{switch(t.op){case"a":case"s":const n=("a"===t.op?this.map.get(t.param):void 0)||[];n.push($v(t.value)),this.map.set(t.param,n);break;case"d":if(void 0===t.value){this.map.delete(t.param);break}{let r=this.map.get(t.param)||[];const i=r.indexOf($v(t.value));-1!==i&&r.splice(i,1),r.length>0?this.map.set(t.param,r):this.map.delete(t.param)}}}),this.cloneFrom=this.updates=null)}}class oN{constructor(){this.map=new Map}set(t,n){return this.map.set(t,n),this}get(t){return this.map.has(t)||this.map.set(t,t.defaultValue()),this.map.get(t)}delete(t){return this.map.delete(t),this}keys(){return this.map.keys()}}function zv(e){return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer}function qv(e){return"undefined"!=typeof Blob&&e instanceof Blob}function Gv(e){return"undefined"!=typeof FormData&&e instanceof FormData}class Ji{constructor(t,n,r,i){let o;if(this.url=n,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase(),function(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||i?(this.body=void 0!==r?r:null,o=i):o=r,o&&(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.context&&(this.context=o.context),o.params&&(this.params=o.params)),this.headers||(this.headers=new nn),this.context||(this.context=new oN),this.params){const s=this.params.toString();if(0===s.length)this.urlWithParams=n;else{const a=n.indexOf("?");this.urlWithParams=n+(-1===a?"?":a<n.length-1?"&":"")+s}}else this.params=new wn,this.urlWithParams=n}serializeBody(){return null===this.body?null:zv(this.body)||qv(this.body)||Gv(this.body)||"undefined"!=typeof URLSearchParams&&this.body instanceof URLSearchParams||"string"==typeof this.body?this.body:this.body instanceof wn?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return null===this.body||Gv(this.body)?null:qv(this.body)?this.body.type||null:zv(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof wn?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(t={}){var d;const n=t.method||this.method,r=t.url||this.url,i=t.responseType||this.responseType,o=void 0!==t.body?t.body:this.body,s=void 0!==t.withCredentials?t.withCredentials:this.withCredentials,a=void 0!==t.reportProgress?t.reportProgress:this.reportProgress;let u=t.headers||this.headers,l=t.params||this.params;const c=null!=(d=t.context)?d:this.context;return void 0!==t.setHeaders&&(u=Object.keys(t.setHeaders).reduce((f,h)=>f.set(h,t.setHeaders[h]),u)),t.setParams&&(l=Object.keys(t.setParams).reduce((f,h)=>f.set(h,t.setParams[h]),l)),new Ji(n,r,o,{params:l,headers:u,context:c,reportProgress:a,responseType:i,withCredentials:s})}}var he=(()=>((he=he||{})[he.Sent=0]="Sent",he[he.UploadProgress=1]="UploadProgress",he[he.ResponseHeader=2]="ResponseHeader",he[he.DownloadProgress=3]="DownloadProgress",he[he.Response=4]="Response",he[he.User=5]="User",he))();class Ec{constructor(t,n=200,r="OK"){this.headers=t.headers||new nn,this.status=void 0!==t.status?t.status:n,this.statusText=t.statusText||r,this.url=t.url||null,this.ok=this.status>=200&&this.status<300}}class bc extends Ec{constructor(t={}){super(t),this.type=he.ResponseHeader}clone(t={}){return new bc({headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class qs extends Ec{constructor(t={}){super(t),this.type=he.Response,this.body=void 0!==t.body?t.body:null}clone(t={}){return new qs({body:void 0!==t.body?t.body:this.body,headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class Wv extends Ec{constructor(t){super(t,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${t.url||"(unknown url)"}`:`Http failure response for ${t.url||"(unknown url)"}: ${t.status} ${t.statusText}`,this.error=t.error||null}}function Ic(e,t){return{body:t,headers:e.headers,context:e.context,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials}}let Qv=(()=>{class e{constructor(n){this.handler=n}request(n,r,i={}){let o;if(n instanceof Ji)o=n;else{let u,l;u=i.headers instanceof nn?i.headers:new nn(i.headers),i.params&&(l=i.params instanceof wn?i.params:new wn({fromObject:i.params})),o=new Ji(n,r,void 0!==i.body?i.body:null,{headers:u,context:i.context,params:l,reportProgress:i.reportProgress,responseType:i.responseType||"json",withCredentials:i.withCredentials})}const s=P(o).pipe(jr(u=>this.handler.handle(u)));if(n instanceof Ji||"events"===i.observe)return s;const a=s.pipe(Ln(u=>u instanceof qs));switch(i.observe||"body"){case"body":switch(o.responseType){case"arraybuffer":return a.pipe(W(u=>{if(null!==u.body&&!(u.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return u.body}));case"blob":return a.pipe(W(u=>{if(null!==u.body&&!(u.body instanceof Blob))throw new Error("Response is not a Blob.");return u.body}));case"text":return a.pipe(W(u=>{if(null!==u.body&&"string"!=typeof u.body)throw new Error("Response is not a string.");return u.body}));default:return a.pipe(W(u=>u.body))}case"response":return a;default:throw new Error(`Unreachable: unhandled observe type ${i.observe}}`)}}delete(n,r={}){return this.request("DELETE",n,r)}get(n,r={}){return this.request("GET",n,r)}head(n,r={}){return this.request("HEAD",n,r)}jsonp(n,r){return this.request("JSONP",n,{params:(new wn).append(r,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(n,r={}){return this.request("OPTIONS",n,r)}patch(n,r,i={}){return this.request("PATCH",n,Ic(i,r))}post(n,r,i={}){return this.request("POST",n,Ic(i,r))}put(n,r,i={}){return this.request("PUT",n,Ic(i,r))}}return e.\u0275fac=function(n){return new(n||e)(E(Bv))},e.\u0275prov=L({token:e,factory:e.\u0275fac}),e})();class Zv{constructor(t,n){this.next=t,this.interceptor=n}handle(t){return this.interceptor.intercept(t,this.next)}}const Kv=new H("HTTP_INTERCEPTORS");let uN=(()=>{class e{intercept(n,r){return r.handle(n)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=L({token:e,factory:e.\u0275fac}),e})();const lN=/^\)\]\}',?\n/;let Jv=(()=>{class e{constructor(n){this.xhrFactory=n}handle(n){if("JSONP"===n.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new te(r=>{const i=this.xhrFactory.build();if(i.open(n.method,n.urlWithParams),n.withCredentials&&(i.withCredentials=!0),n.headers.forEach((h,p)=>i.setRequestHeader(h,p.join(","))),n.headers.has("Accept")||i.setRequestHeader("Accept","application/json, text/plain, */*"),!n.headers.has("Content-Type")){const h=n.detectContentTypeHeader();null!==h&&i.setRequestHeader("Content-Type",h)}if(n.responseType){const h=n.responseType.toLowerCase();i.responseType="json"!==h?h:"text"}const o=n.serializeBody();let s=null;const a=()=>{if(null!==s)return s;const h=1223===i.status?204:i.status,p=i.statusText||"OK",m=new nn(i.getAllResponseHeaders()),y=function(e){return"responseURL"in e&&e.responseURL?e.responseURL:/^X-Request-URL:/m.test(e.getAllResponseHeaders())?e.getResponseHeader("X-Request-URL"):null}(i)||n.url;return s=new bc({headers:m,status:h,statusText:p,url:y}),s},u=()=>{let{headers:h,status:p,statusText:m,url:y}=a(),v=null;204!==p&&(v=void 0===i.response?i.responseText:i.response),0===p&&(p=v?200:0);let g=p>=200&&p<300;if("json"===n.responseType&&"string"==typeof v){const _=v;v=v.replace(lN,"");try{v=""!==v?JSON.parse(v):null}catch(S){v=_,g&&(g=!1,v={error:S,text:v})}}g?(r.next(new qs({body:v,headers:h,status:p,statusText:m,url:y||void 0})),r.complete()):r.error(new Wv({error:v,headers:h,status:p,statusText:m,url:y||void 0}))},l=h=>{const{url:p}=a(),m=new Wv({error:h,status:i.status||0,statusText:i.statusText||"Unknown Error",url:p||void 0});r.error(m)};let c=!1;const d=h=>{c||(r.next(a()),c=!0);let p={type:he.DownloadProgress,loaded:h.loaded};h.lengthComputable&&(p.total=h.total),"text"===n.responseType&&!!i.responseText&&(p.partialText=i.responseText),r.next(p)},f=h=>{let p={type:he.UploadProgress,loaded:h.loaded};h.lengthComputable&&(p.total=h.total),r.next(p)};return i.addEventListener("load",u),i.addEventListener("error",l),i.addEventListener("timeout",l),i.addEventListener("abort",l),n.reportProgress&&(i.addEventListener("progress",d),null!==o&&i.upload&&i.upload.addEventListener("progress",f)),i.send(o),r.next({type:he.Sent}),()=>{i.removeEventListener("error",l),i.removeEventListener("abort",l),i.removeEventListener("load",u),i.removeEventListener("timeout",l),n.reportProgress&&(i.removeEventListener("progress",d),null!==o&&i.upload&&i.upload.removeEventListener("progress",f)),i.readyState!==i.DONE&&i.abort()}})}}return e.\u0275fac=function(n){return new(n||e)(E(wy))},e.\u0275prov=L({token:e,factory:e.\u0275fac}),e})();const Sc=new H("XSRF_COOKIE_NAME"),Tc=new H("XSRF_HEADER_NAME");class Yv{}let dN=(()=>{class e{constructor(n,r,i){this.doc=n,this.platform=r,this.cookieName=i,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const n=this.doc.cookie||"";return n!==this.lastCookieString&&(this.parseCount++,this.lastToken=hy(n,this.cookieName),this.lastCookieString=n),this.lastToken}}return e.\u0275fac=function(n){return new(n||e)(E(Je),E(cs),E(Sc))},e.\u0275prov=L({token:e,factory:e.\u0275fac}),e})(),Mc=(()=>{class e{constructor(n,r){this.tokenService=n,this.headerName=r}intercept(n,r){const i=n.url.toLowerCase();if("GET"===n.method||"HEAD"===n.method||i.startsWith("http://")||i.startsWith("https://"))return r.handle(n);const o=this.tokenService.getToken();return null!==o&&!n.headers.has(this.headerName)&&(n=n.clone({headers:n.headers.set(this.headerName,o)})),r.handle(n)}}return e.\u0275fac=function(n){return new(n||e)(E(Yv),E(Tc))},e.\u0275prov=L({token:e,factory:e.\u0275fac}),e})(),fN=(()=>{class e{constructor(n,r){this.backend=n,this.injector=r,this.chain=null}handle(n){if(null===this.chain){const r=this.injector.get(Kv,[]);this.chain=r.reduceRight((i,o)=>new Zv(i,o),this.backend)}return this.chain.handle(n)}}return e.\u0275fac=function(n){return new(n||e)(E(Hv),E(we))},e.\u0275prov=L({token:e,factory:e.\u0275fac}),e})(),hN=(()=>{class e{static disable(){return{ngModule:e,providers:[{provide:Mc,useClass:uN}]}}static withOptions(n={}){return{ngModule:e,providers:[n.cookieName?{provide:Sc,useValue:n.cookieName}:[],n.headerName?{provide:Tc,useValue:n.headerName}:[]]}}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=qt({type:e}),e.\u0275inj=St({providers:[Mc,{provide:Kv,useExisting:Mc,multi:!0},{provide:Yv,useClass:dN},{provide:Sc,useValue:"XSRF-TOKEN"},{provide:Tc,useValue:"X-XSRF-TOKEN"}]}),e})(),pN=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=qt({type:e}),e.\u0275inj=St({providers:[Qv,{provide:Bv,useClass:fN},Jv,{provide:Hv,useExisting:Jv}],imports:[[hN.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),e})(),gN=(()=>{class e{constructor(n){this.httpClient=n,this.apiKey="1c3b65a14d924785a1785210d3b0af62"}getNews(){return this.httpClient.get(`https://newsapi.org/v2/top-headlines?sources=techcrunch&apiKey=${this.apiKey}`)}}return e.\u0275fac=function(n){return new(n||e)(E(Qv))},e.\u0275prov=L({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function mN(e,t){if(1&e&&(Sr(0,"div"),Sr(1,"h2"),Ko(2),Tr(),Sr(3,"p"),Ko(4),Tr(),Sr(5,"a",1),Ko(6,"Read full article"),Tr(),Tr()),2&e){const n=t.$implicit;Lo(2),Ku(n.title),Lo(2),Jo(" ",n.description," "),Lo(1),Wu("href",n.url,Po)}}let Ac=(()=>{class e{constructor(n){this.dataService=n,this.articles=[]}ngOnInit(){this.dataService.getNews().subscribe(n=>{console.log(n),this.articles=[],this.articles=this.articles.concat(n.articles),console.log(this.articles)})}}return e.\u0275fac=function(n){return new(n||e)(b(gN))},e.\u0275cmp=Qr({type:e,selectors:[["dailynews-news"]],decls:1,vars:1,consts:[[4,"ngFor","ngForOf"],[3,"href"]],template:function(n,r){1&n&&function(e,t,n,r,i,o,s,a){const u=D(),l=G(),c=e+J,d=l.firstCreatePass?function(e,t,n,r,i,o,s,a,u){const l=t.consts,c=cr(t,e,4,s||null,an(l,a));_u(t,n,c,an(l,u)),mo(t,c);const d=c.tViews=Ho(2,c,r,i,o,t.directiveRegistry,t.pipeRegistry,null,t.schemas,l);return null!==t.queries&&(t.queries.template(t,c),d.queries=t.queries.embeddedTView(c)),c}(c,l,u,t,n,r,i,o,s):l.data[c];At(d,!1);const f=u[O].createComment("");Oo(l,u,f,d),Ae(f,u),Uo(u,u[c]=Mh(f,u,f,d)),lo(d)&&Cu(l,u,d),null!=s&&wu(u,d,a)}(0,mN,7,3,"div",0),2&n&&$u("ngForOf",r.articles)},directives:[py],styles:[""]}),e})(),yN=(()=>{class e{constructor(){this.title="dailynews"}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=Qr({type:e,selectors:[["app-root"]],decls:1,vars:0,template:function(n,r){1&n&&qu(0,"dailynews-news")},directives:[Ac],styles:[""]}),e})();const Xv={now:()=>(Xv.delegate||Date).now(),delegate:void 0};class vN extends It{constructor(t=1/0,n=1/0,r=Xv){super(),this._bufferSize=t,this._windowTime=n,this._timestampProvider=r,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=n===1/0,this._bufferSize=Math.max(1,t),this._windowTime=Math.max(1,n)}next(t){const{isStopped:n,_buffer:r,_infiniteTimeWindow:i,_timestampProvider:o,_windowTime:s}=this;n||(r.push(t),!i&&r.push(o.now()+s)),this._trimBuffer(),super.next(t)}_subscribe(t){this._throwIfClosed(),this._trimBuffer();const n=this._innerSubscribe(t),{_infiniteTimeWindow:r,_buffer:i}=this,o=i.slice();for(let s=0;s<o.length&&!t.closed;s+=r?1:2)t.next(o[s]);return this._checkFinalizedStatuses(t),n}_trimBuffer(){const{_bufferSize:t,_timestampProvider:n,_buffer:r,_infiniteTimeWindow:i}=this,o=(i?1:2)*t;if(t<1/0&&o<r.length&&r.splice(0,r.length-o),!i){const s=n.now();let a=0;for(let u=1;u<r.length&&r[u]<=s;u+=2)a=u;a&&r.splice(0,a+1)}}}const Gs={schedule(e,t){const n=setTimeout(e,t);return()=>clearTimeout(n)},scheduleBeforeRender(e){if("undefined"==typeof window)return Gs.schedule(e,0);if(void 0===window.requestAnimationFrame)return Gs.schedule(e,16);const t=window.requestAnimationFrame(e);return()=>window.cancelAnimationFrame(t)}};let xc;function MN(e,t,n){let r=n;return function(e){return!!e&&e.nodeType===Node.ELEMENT_NODE}(e)&&t.some((i,o)=>!("*"===i||!function(e,t){if(!xc){const n=Element.prototype;xc=n.matches||n.matchesSelector||n.mozMatchesSelector||n.msMatchesSelector||n.oMatchesSelector||n.webkitMatchesSelector}return e.nodeType===Node.ELEMENT_NODE&&xc.call(e,t)}(e,i)||(r=o,0))),r}class xN{constructor(t,n){this.componentFactory=n.get(hn).resolveComponentFactory(t)}create(t){return new RN(this.componentFactory,t)}}class RN{constructor(t,n){this.componentFactory=t,this.injector=n,this.eventEmitters=new vN(1),this.events=this.eventEmitters.pipe(vn(r=>dd(...r))),this.componentRef=null,this.viewChangeDetectorRef=null,this.inputChanges=null,this.hasInputChanges=!1,this.implementsOnChanges=!1,this.scheduledChangeDetectionFn=null,this.scheduledDestroyFn=null,this.initialInputValues=new Map,this.unchangedInputs=new Set(this.componentFactory.inputs.map(({propName:r})=>r)),this.ngZone=this.injector.get(ce),this.elementZone="undefined"==typeof Zone?null:this.ngZone.run(()=>Zone.current)}connect(t){this.runInZone(()=>{if(null!==this.scheduledDestroyFn)return this.scheduledDestroyFn(),void(this.scheduledDestroyFn=null);null===this.componentRef&&this.initializeComponent(t)})}disconnect(){this.runInZone(()=>{null===this.componentRef||null!==this.scheduledDestroyFn||(this.scheduledDestroyFn=Gs.schedule(()=>{null!==this.componentRef&&(this.componentRef.destroy(),this.componentRef=null,this.viewChangeDetectorRef=null)},10))})}getInputValue(t){return this.runInZone(()=>null===this.componentRef?this.initialInputValues.get(t):this.componentRef.instance[t])}setInputValue(t,n){this.runInZone(()=>{null!==this.componentRef?function(e,t){return e===t||e!=e&&t!=t}(n,this.getInputValue(t))&&(void 0!==n||!this.unchangedInputs.has(t))||(this.recordInputChange(t,n),this.unchangedInputs.delete(t),this.hasInputChanges=!0,this.componentRef.instance[t]=n,this.scheduleDetectChanges()):this.initialInputValues.set(t,n)})}initializeComponent(t){const n=we.create({providers:[],parent:this.injector}),r=function(e,t){const n=e.childNodes,r=t.map(()=>[]);let i=-1;t.some((o,s)=>"*"===o&&(i=s,!0));for(let o=0,s=n.length;o<s;++o){const a=n[o],u=MN(a,t,i);-1!==u&&r[u].push(a)}return r}(t,this.componentFactory.ngContentSelectors);this.componentRef=this.componentFactory.create(n,r,t),this.viewChangeDetectorRef=this.componentRef.injector.get(fs),this.implementsOnChanges="function"==typeof this.componentRef.instance.ngOnChanges,this.initializeInputs(),this.initializeOutputs(this.componentRef),this.detectChanges(),this.injector.get(Or).attachView(this.componentRef.hostView)}initializeInputs(){this.componentFactory.inputs.forEach(({propName:t})=>{this.initialInputValues.has(t)&&this.setInputValue(t,this.initialInputValues.get(t))}),this.initialInputValues.clear()}initializeOutputs(t){const n=this.componentFactory.outputs.map(({propName:r,templateName:i})=>t.instance[r].pipe(W(s=>({name:i,value:s}))));this.eventEmitters.next(n)}callNgOnChanges(t){if(!this.implementsOnChanges||null===this.inputChanges)return;const n=this.inputChanges;this.inputChanges=null,t.instance.ngOnChanges(n)}markViewForCheck(t){this.hasInputChanges&&(this.hasInputChanges=!1,t.markForCheck())}scheduleDetectChanges(){this.scheduledChangeDetectionFn||(this.scheduledChangeDetectionFn=Gs.scheduleBeforeRender(()=>{this.scheduledChangeDetectionFn=null,this.detectChanges()}))}recordInputChange(t,n){if(!this.implementsOnChanges)return;null===this.inputChanges&&(this.inputChanges={});const r=this.inputChanges[t];if(r)return void(r.currentValue=n);const i=this.unchangedInputs.has(t),o=i?void 0:this.getInputValue(t);this.inputChanges[t]=new Ed(o,n,i)}detectChanges(){null!==this.componentRef&&(this.callNgOnChanges(this.componentRef),this.markViewForCheck(this.viewChangeDetectorRef),this.componentRef.changeDetectorRef.detectChanges())}runInZone(t){return this.elementZone&&Zone.current!==this.elementZone?this.ngZone.run(t):t()}}class NN extends HTMLElement{constructor(){super(...arguments),this.ngElementEventsSubscription=null}}let FN=(()=>{class e{constructor(n){this.injector=n;const r=function(e,t){const n=function(e,t){return t.get(hn).resolveComponentFactory(e).inputs}(e,t.injector),r=t.strategyFactory||new xN(e,t.injector),i=function(e){const t={};return e.forEach(({propName:n,templateName:r})=>{t[function(e){return e.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}(r)]=n}),t}(n);class o extends NN{constructor(a){super(),this.injector=a}get ngElementStrategy(){if(!this._ngElementStrategy){const a=this._ngElementStrategy=r.create(this.injector||t.injector);n.forEach(({propName:u})=>{if(!this.hasOwnProperty(u))return;const l=this[u];delete this[u],a.setInputValue(u,l)})}return this._ngElementStrategy}attributeChangedCallback(a,u,l,c){this.ngElementStrategy.setInputValue(i[a],l)}connectedCallback(){let a=!1;this.ngElementStrategy.events&&(this.subscribeToEvents(),a=!0),this.ngElementStrategy.connect(this),a||this.subscribeToEvents()}disconnectedCallback(){this._ngElementStrategy&&this._ngElementStrategy.disconnect(),this.ngElementEventsSubscription&&(this.ngElementEventsSubscription.unsubscribe(),this.ngElementEventsSubscription=null)}subscribeToEvents(){this.ngElementEventsSubscription=this.ngElementStrategy.events.subscribe(a=>{const u=function(e,t,n){if("function"!=typeof CustomEvent){const o=e.createEvent("CustomEvent");return o.initCustomEvent(t,!1,!1,n),o}return new CustomEvent(t,{bubbles:!1,cancelable:!1,detail:n})}(this.ownerDocument,a.name,a.value);this.dispatchEvent(u)})}}return o.observedAttributes=Object.keys(i),n.forEach(({propName:s})=>{Object.defineProperty(o.prototype,s,{get(){return this.ngElementStrategy.getInputValue(s)},set(a){this.ngElementStrategy.setInputValue(s,a)},configurable:!0,enumerable:!0})}),o}(Ac,{injector:n});customElements.define("ravi-news-widget",r)}ngDoBootstrap(){}}return e.\u0275fac=function(n){return new(n||e)(E(we))},e.\u0275mod=qt({type:e,bootstrap:[yN,Ac]}),e.\u0275inj=St({providers:[],imports:[[DA,pN,eN]]}),e})();Hm=!1,yA().bootstrapModule(FN).catch(e=>console.error(e))}},$=>{$($.s=854)}]);

Back to list