PageSourceSearch

https://www.rabbiit.com/chunk-3BZGYJ2S.js

js rabbiit.com collected 2026-09-27 09:49:53 UTC 419,200 bytes, 67 lines download raw bytes

1var bD=Object.create;var xc=Object.defineProperty,wD=Object.defineProperties,DD=Object.getOwnPropertyDescriptor,ED=Object.getOwnPropertyDescriptors,ID=Object.getOwnPropertyNames,Ro=Object.getOwnPropertySymbols,CD=Object.getPrototypeOf,Mc=Object.prototype.hasOwnProperty,Xh=Object.prototype.propertyIsEnumerable;var Tc=(t,e,r)=>e in t?xc(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,m=(t,e)=>{for(var r in e||={})Mc.call(e,r)&&Tc(t,r,e[r]);if(Ro)for(var r of Ro(e))Xh.call(e,r)&&Tc(t,r,e[r]);return t},V=(t,e)=>wD(t,ED(e));var Jh=(t,e)=>{var r={};for(var n in t)Mc.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(t!=null&&Ro)for(var n of Ro(t))e.indexOf(n)<0&&Xh.call(t,n)&&(r[n]=t[n]);return r};var BR=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports);var SD=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of ID(e))!Mc.call(t,i)&&i!==r&&xc(t,i,{get:()=>e[i],enumerable:!(n=DD(e,i))||n.enumerable});return t};var HR=(t,e,r)=>(r=t!=null?bD(CD(t)):{},SD(e||!t||!t.__esModule?xc(r,"default",{value:t,enumerable:!0}):r,t));var Z=(t,e,r)=>Tc(t,typeof e!="symbol"?e+"":e,r);var fr=(t,e,r)=>new Promise((n,i)=>{var o=c=>{try{a(r.next(c))}catch(u){i(u)}},s=c=>{try{a(r.throw(c))}catch(u){i(u)}},a=c=>c.done?n(c.value):Promise.resolve(c.value).then(o,s);a((r=r.apply(t,e)).next())});function ep(t,e){return Object.is(t,e)}var le=null,pi=!1,ko=1,Ct=Symbol("SIGNAL");function j(t){let e=le;return le=t,e}function tp(){return le}function TD(){return pi}var hr={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:()=>{}};function Rc(t){if(pi)throw new Error("");if(le===null)return;le.consumerOnSignalRead(t);let e=le.nextProducerIndex++;if($o(le),e<le.producerNode.length&&le.producerNode[e]!==t&&gi(le)){let r=le.producerNode[e];jo(r,le.producerIndexOfThis[e])}le.producerNode[e]!==t&&(le.producerNode[e]=t,le.producerIndexOfThis[e]=gi(le)?sp(t,le,e):0),le.producerLastReadVersion[e]=t.version}function xD(){ko++}function np(t){if(!(gi(t)&&!t.dirty)&&!(!t.dirty&&t.lastCleanEpoch===ko)){if(!t.producerMustRecompute(t)&&!Fo(t)){t.dirty=!1,t.lastCleanEpoch=ko;return}t.producerRecomputeValue(t),t.dirty=!1,t.lastCleanEpoch=ko}}function rp(t){if(t.liveConsumerNode===void 0)return;let e=pi;pi=!0;try{for(let r of t.liveConsumerNode)r.dirty||op(r)}finally{pi=e}}function ip(){return le?.consumerAllowSignalWrites!==!1}function op(t){t.dirty=!0,rp(t),t.consumerMarkedDirty?.(t)}function mi(t){return t&&(t.nextProducerIndex=0),j(t)}function Po(t,e){if(j(e),!(!t||t.producerNode===void 0||t.producerIndexOfThis===void 0||t.producerLastReadVersion===void 0)){if(gi(t))for(let r=t.nextProducerIndex;r<t.producerNode.length;r++)jo(t.producerNode[r],t.producerIndexOfThis[r]);for(;t.producerNode.length>t.nextProducerIndex;)t.producerNode.pop(),t.producerLastReadVersion.pop(),t.producerIndexOfThis.pop()}}function Fo(t){$o(t);for(let e=0;e<t.producerNode.length;e++){let r=t.producerNode[e],n=t.producerLastReadVersion[e];if(n!==r.version||(np(r),n!==r.version))return!0}return!1}function Lo(t){if($o(t),gi(t))for(let e=0;e<t.producerNode.length;e++)jo(t.producerNode[e],t.producerIndexOfThis[e]);t.producerNode.length=t.producerLastReadVersion.length=t.producerIndexOfThis.length=0,t.liveConsumerNode&&(t.liveConsumerNode.length=t.liveConsumerIndexOfThis.length=0)}function sp(t,e,r){if(ap(t),t.liveConsumerNode.length===0&&cp(t))for(let n=0;n<t.producerNode.length;n++)t.producerIndexOfThis[n]=sp(t.producerNode[n],t,n);return t.liveConsumerIndexOfThis.push(r),t.liveConsumerNode.push(e)-1}function jo(t,e){if(ap(t),t.liveConsumerNode.length===1&&cp(t))for(let n=0;n<t.producerNode.length;n++)jo(t.producerNode[n],t.producerIndexOfThis[n]);let r=t.liveConsumerNode.length-1;if(t.liveConsumerNode[e]=t.liveConsumerNode[r],t.liveConsumerIndexOfThis[e]=t.liveConsumerIndexOfThis[r],t.liveConsumerNode.length--,t.liveConsumerIndexOfThis.length--,e<t.liveConsumerNode.length){let n=t.liveConsumerIndexOfThis[e],i=t.liveConsumerNode[e];$o(i),i.producerIndexOfThis[n]=e}}function gi(t){return t.consumerIsAlwaysLive||(t?.liveConsumerNode?.length??0)>0}function $o(t){t.producerNode??=[],t.producerIndexOfThis??=[],t.producerLastReadVersion??=[]}function ap(t){t.liveConsumerNode??=[],t.liveConsumerIndexOfThis??=[]}function cp(t){return t.producerNode!==void 0}function up(t){let e=Object.create(MD);e.computation=t;let r=()=>{if(np(e),Rc(e),e.value===Oo)throw e.error;return e.value};return r[Ct]=e,r}var Nc=Symbol("UNSET"),_c=Symbol("COMPUTING"),Oo=Symbol("ERRORED"),MD=V(m({},hr),{value:Nc,dirty:!0,error:null,equal:ep,producerMustRecompute(t){return t.value===Nc||t.value===_c},producerRecomputeValue(t){if(t.value===_c)throw new Error("Detected cycle in computations.");let e=t.value;t.value=_c;let r=mi(t),n;try{n=t.computation()}catch(i){n=Oo,t.error=i}finally{Po(t,r)}if(e!==Nc&&e!==Oo&&n!==Oo&&t.equal(e,n)){t.value=e;return}t.value=n,t.version++}});function ND(){throw new Error}var lp=ND;function dp(){lp()}function fp(t){lp=t}var _D=null;function hp(t){let e=Object.create(gp);e.value=t;let r=()=>(Rc(e),e.value);return r[Ct]=e,r}function kc(t,e){ip()||dp(),t.equal(t.value,e)||(t.value=e,AD(t))}function pp(t,e){ip()||dp(),kc(t,e(t.value))}var gp=V(m({},hr),{equal:ep,value:void 0});function AD(t){t.version++,xD(),rp(t),_D?.()}function mp(t,e,r){let n=Object.create(RD);r&&(n.consumerAllowSignalWrites=!0),n.fn=t,n.schedule=e;let i=c=>{n.cleanupFn=c};function o(c){return c.fn===null&&c.schedule===null}function s(c){o(c)||(Lo(c),c.cleanupFn(),c.fn=null,c.schedule=null,c.cleanupFn=Ac)}let a=()=>
1{if(n.fn===null)return;if(TD())throw new Error("Schedulers cannot synchronously execute watches while scheduling.");if(n.dirty=!1,n.hasRun&&!Fo(n))return;n.hasRun=!0;let c=mi(n);try{n.cleanupFn(),n.cleanupFn=Ac,n.fn(i)}finally{Po(n,c)}};return n.ref={notify:()=>op(n),run:a,cleanup:()=>n.cleanupFn(),destroy:()=>s(n),[Ct]:n},n.ref}var Ac=()=>{},RD=V(m({},hr),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:t=>{t.schedule!==null&&t.schedule(t.ref)},hasRun:!1,cleanupFn:Ac});function zt(t){return typeof t=="function"}var Oc=!1,Ne={Promise:void 0,set useDeprecatedSynchronousErrorHandling(t){if(t){let e=new Error;console.warn(`DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: 
2`+e.stack)}else Oc&&console.log("RxJS: Back to a better error behavior. Thank you. <3");Oc=t},get useDeprecatedSynchronousErrorHandling(){return Oc}};function qt(t){setTimeout(()=>{throw t},0)}var pr={closed:!0,next(t){},error(t){if(Ne.useDeprecatedSynchronousErrorHandling)throw t;qt(t)},complete(){}};var st=Array.isArray||(t=>t&&typeof t.length=="number");function gr(t){return t!==null&&typeof t=="object"}var kD=(()=>{function t(e){return Error.call(this),this.message=e?`${e.length} errors occurred during unsubscription:
3${e.map((r,n)=>`${n+1}) ${r.toString()}`).join(`
4  `)}`:"",this.name="UnsubscriptionError",this.errors=e,this}return t.prototype=Object.create(Error.prototype),t})(),yi=kD;var P=class t{constructor(e){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,e&&(this._ctorUnsubscribe=!0,this._unsubscribe=e)}unsubscribe(){let e;if(this.closed)return;let{_parentOrParents:r,_ctorUnsubscribe:n,_unsubscribe:i,_subscriptions:o}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,r instanceof t)r.remove(this);else if(r!==null)for(let s=0;s<r.length;++s)r[s].remove(this);if(zt(i)){n&&(this._unsubscribe=void 0);try{i.call(this)}catch(s){e=s instanceof yi?yp(s.errors):[s]}}if(st(o)){let s=-1,a=o.length;for(;++s<a;){let c=o[s];if(gr(c))try{c.unsubscribe()}catch(u){e=e||[],u instanceof yi?e=e.concat(yp(u.errors)):e.push(u)}}}if(e)throw new yi(e)}add(e){let r=e;if(!e)return t.EMPTY;switch(typeof e){case"function":r=new t(e);case"object":if(r===this||r.closed||typeof r.unsubscribe!="function")return r;if(this.closed)return r.unsubscribe(),r;if(!(r instanceof t)){let o=r;r=new t,r._subscriptions=[o]}break;default:throw new Error("unrecognized teardown "+e+" added to Subscription.")}let{_parentOrParents:n}=r;if(n===null)r._parentOrParents=this;else if(n instanceof t){if(n===this)return r;r._parentOrParents=[n,this]}else if(n.indexOf(this)===-1)n.push(this);else return r;let i=this._subscriptions;return i===null?this._subscriptions=[r]:i.push(r),r}remove(e){let r=this._subscriptions;if(r){let n=r.indexOf(e);n!==-1&&r.splice(n,1)}}};P.EMPTY=function(t){return t.closed=!0,t}(new P);function yp(t){return t.reduce((e,r)=>e.concat(r instanceof yi?r.errors:r),[])}var Ln=typeof Symbol=="function"?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random();var S=class t extends P{constructor(e,r,n){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=pr;break;case 1:if(!e){this.destination=pr;break}if(typeof e=="object"){e instanceof t?(this.syncErrorThrowable=e.syncErrorThrowable,this.destination=e,e.add(this)):(this.syncErrorThrowable=!0,this.destination=new Vo(this,e));break}default:this.syncErrorThrowable=!0,this.destination=new Vo(this,e,r,n);break}}[Ln](){return this}static create(e,r,n){let i=new t(e,r,n);return i.syncErrorThrowable=!1,i}next(e){this.isStopped||this._next(e)}error(e){this.isStopped||(this.isStopped=!0,this._error(e))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(e){this.destination.next(e)}_error(e){this.destination.error(e),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){let{_parentOrParents:e}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=e,this}},Vo=class extends S{constructor(e,r,n,i){super(),this._parentSubscriber=e;let o,s=this;zt(r)?o=r:r&&(o=r.next,n=r.error,i=r.complete,r!==pr&&(s=Object.create(r),zt(s.unsubscribe)&&this.add(s.unsubscribe.bind(s)),s.unsubscribe=this.unsubscribe.bind(this))),this._context=s,this._next=o,this._error=n,this._complete=i}next(e){if(!this.isStopped&&this._next){let{_parentSubscriber:r}=this;!Ne.useDeprecatedSynchronousErrorHandling||!r.syncErrorThrowable?this.__tryOrUnsub(this._next,e):this.__tryOrSetError(r,this._next,e)&&this.unsubscribe()}}error(e){if(!this.isStopped){let{_parentSubscriber:r}=this,{useDeprecatedSynchronousErrorHandling:n}=Ne;if(this._error)!n||!r.syncErrorThrowable?(this.__tryOrUnsub(this._error,e),this.unsubscribe()):(this.__tryOrSetError(r,this._error,e),this.unsubscribe());else if(r.syncErrorThrowable)n?(r.syncErrorValue=e,r.syncErrorThrown=!0):qt(e),this.unsubscribe();else{if(this.unsubscribe(),n)throw e;qt(e)}}}complete(){if(!this.isStopped){let{_parentSubscriber:e}=this;if(this._complete){let r=()=>this._complete.call(this._context);!Ne.useDeprecatedSynchronousErrorHandling||!e.syncErrorThrowable?(this.__tryOrUnsub(r),this.unsubscribe()):(this.__tryOrSetError(e,r),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(e,r){try{e.call(this._context,r)}catch(n){if(this.unsubscribe(),Ne.useDeprecatedSynchronousErrorHandling)throw n;qt(n)}}__tryOrSetError(e,r,n){if(!Ne.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{r.call(this._context,n)}catch(i){return Ne.useDeprecatedSynchronousErrorHandling?(e.syncErrorValue=i,e.syncErrorThrown=!0,!0):(qt(i),!0)}return!1}_unsubscribe(){let{_parentSubscriber:e}=this;this._context=null,this._parentSubscriber=null,e.unsubscribe()}};function vp(t){for(;t;){let{closed:e,destination:r,isStopped:n}=t;if(e||n)return!1;r&&r instanceof S?t=r:t=null}return!0}function bp(t,e,r){if(t){if(t instanceof S)return t;if(t[Ln])return t[Ln]()}return!t&&!e&&!r?new S(pr):new S(t,e,r)}var St=typeof Symbol=="function"&&Symbol.observable||"@@observable";function mn(t){return t}function mr(...t){return Pc(t)}function Pc(t){return t.length===0?mn:t.length===1?t[0]:function(r){return t.reduce((n,i)=>i(n),r)}}var M=(()=>{class t{constructor(r){this._isScalar=!1,r&&(this._subscribe=r)}lift(r){let n=new t;return n.source=this,n.operator=r,n}subscribe(r,n,i){let{operator:o}=this,s=bp(r,n,i);if(o?s.add(o.call(s,this.source)):s.add(this.source||Ne.useDeprecatedSynchronousErrorHandling&&!s.syncErrorThrowable?this._subscribe(s):this._trySubscribe(s)),Ne.useDeprecatedSynchronousErrorHandling&&s.syncErrorThrowable&&(s.syncErrorThrowable=!1,s.syncErrorThrown))throw s.syncErrorValue;return s}_trySubscribe(r){try{return this._subscribe(r)}catch(n){Ne.useDeprecatedSynchronousErrorHandling&&(r.syncErrorThrown=!0,r.syncErrorValue=n),vp(r)?r.error(n):console.warn(n)}}forEach(r,n){return n=wp(n),new n((i,o)=>{let s;s=this.subscribe(a=>{try{r(a)}catch(c){o(c),s&&s.unsubscribe()}},o,i)})}_subscribe(r){let{source:n}=this;return n&&n.subscribe(r)}[St](){return this}pipe(...r){return r.length===0?this:Pc(r)(this)}toPromise(r){return r=wp(r),new r((n,i)=>{let o;this.subscribe(s=>o=s,s=>i(s),()=>n(o))})}}return t.create=e=>new t(e),t})();function wp(t){if(t||(t=Ne.Promise||Promise),!t)throw new Error("no Promise impl found");return t}var OD=(()=>{function t(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return t.prototype=Object.create(Error.prototype),t})(),Tt=OD;var yr=class extends P{constructor(e,r){super(),this.subject=e,this.subscriber=r,this.closed=!1}
4unsubscribe(){if(this.closed)return;this.closed=!0;let e=this.subject,r=e.observers;if(this.subject=null,!r||r.length===0||e.isStopped||e.closed)return;let n=r.indexOf(this.subscriber);n!==-1&&r.splice(n,1)}};var vi=class extends S{constructor(e){super(e),this.destination=e}},te=(()=>{class t extends M{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[Ln](){return new vi(this)}lift(r){let n=new Uo(this,this);return n.operator=r,n}next(r){if(this.closed)throw new Tt;if(!this.isStopped){let{observers:n}=this,i=n.length,o=n.slice();for(let s=0;s<i;s++)o[s].next(r)}}error(r){if(this.closed)throw new Tt;this.hasError=!0,this.thrownError=r,this.isStopped=!0;let{observers:n}=this,i=n.length,o=n.slice();for(let s=0;s<i;s++)o[s].error(r);this.observers.length=0}complete(){if(this.closed)throw new Tt;this.isStopped=!0;let{observers:r}=this,n=r.length,i=r.slice();for(let o=0;o<n;o++)i[o].complete();this.observers.length=0}unsubscribe(){this.isStopped=!0,this.closed=!0,this.observers=null}_trySubscribe(r){if(this.closed)throw new Tt;return super._trySubscribe(r)}_subscribe(r){if(this.closed)throw new Tt;return this.hasError?(r.error(this.thrownError),P.EMPTY):this.isStopped?(r.complete(),P.EMPTY):(this.observers.push(r),new yr(this,r))}asObservable(){let r=new M;return r.source=this,r}}return t.create=(e,r)=>new Uo(e,r),t})(),Uo=class extends te{constructor(e,r){super(),this.destination=e,this.source=r}next(e){let{destination:r}=this;r&&r.next&&r.next(e)}error(e){let{destination:r}=this;r&&r.error&&this.destination.error(e)}complete(){let{destination:e}=this;e&&e.complete&&this.destination.complete()}_subscribe(e){let{source:r}=this;return r?this.source.subscribe(e):P.EMPTY}};function vr(){return function(e){return e.lift(new Fc(e))}}var Fc=class{constructor(e){this.connectable=e}call(e,r){let{connectable:n}=this;n._refCount++;let i=new Lc(e,n),o=r.subscribe(i);return i.closed||(i.connection=n.connect()),o}},Lc=class extends S{constructor(e,r){super(e),this.connectable=r}_unsubscribe(){let{connectable:e}=this;if(!e){this.connection=null;return}this.connectable=null;let r=e._refCount;if(r<=0){this.connection=null;return}if(e._refCount=r-1,r>1){this.connection=null;return}let{connection:n}=this,i=e._connection;this.connection=null,i&&(!n||i===n)&&i.unsubscribe()}};var jn=class extends M{constructor(e,r){super(),this.source=e,this.subjectFactory=r,this._refCount=0,this._isComplete=!1}_subscribe(e){return this.getSubject().subscribe(e)}getSubject(){let e=this._subject;return(!e||e.isStopped)&&(this._subject=this.subjectFactory()),this._subject}connect(){let e=this._connection;return e||(this._isComplete=!1,e=this._connection=new P,e.add(this.source.subscribe(new jc(this.getSubject(),this))),e.closed&&(this._connection=null,e=P.EMPTY)),e}refCount(){return vr()(this)}},Wk=(()=>{let t=jn.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:t._subscribe},_isComplete:{value:t._isComplete,writable:!0},getSubject:{value:t.getSubject},connect:{value:t.connect},refCount:{value:t.refCount}}})(),jc=class extends vi{constructor(e,r){super(e),this.connectable=r}_error(e){this._unsubscribe(),super._error(e)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){let e=this.connectable;if(e){this.connectable=null;let r=e._connection;e._refCount=0,e._subject=null,e._connection=null,r&&r.unsubscribe()}}};function PD(t,e,r,n){return i=>i.lift(new $c(t,e,r,n))}var $c=class{constructor(e,r,n,i){this.keySelector=e,this.elementSelector=r,this.durationSelector=n,this.subjectSelector=i}call(e,r){return r.subscribe(new Vc(e,this.keySelector,this.elementSelector,this.durationSelector,this.subjectSelector))}},Vc=class extends S{constructor(e,r,n,i,o){super(e),this.keySelector=r,this.elementSelector=n,this.durationSelector=i,this.subjectSelector=o,this.groups=null,this.attemptedToUnsubscribe=!1,this.count=0}_next(e){let r;try{r=this.keySelector(e)}catch(n){this.error(n);return}this._group(e,r)}_group(e,r){let n=this.groups;n||(n=this.groups=new Map);let i=n.get(r),o;if(this.elementSelector)try{o=this.elementSelector(e)}catch(s){this.error(s)}else o=e;if(!i){i=this.subjectSelector?this.subjectSelector():new te,n.set(r,i);let s=new Bo(r,i,this);if(this.destination.next(s),this.durationSelector){let a;try{a=this.durationSelector(new Bo(r,i))}catch(c){this.error(c);return}this.add(a.subscribe(new Uc(r,i,this)))}}i.closed||i.next(o)}_error(e){let r=this.groups;r&&(r.forEach((n,i)=>{n.error(e)}),r.clear()),this.destination.error(e)}_complete(){let e=this.groups;e&&(e.forEach((r,n)=>{r.complete()}),e.clear()),this.destination.complete()}removeGroup(e){this.groups.delete(e)}unsubscribe(){this.closed||(this.attemptedToUnsubscribe=!0,this.count===0&&super.unsubscribe())}},Uc=class extends S{constructor(e,r,n){super(r),this.key=e,this.group=r,this.parent=n}_next(e){this.complete()}_unsubscribe(){let{parent:e,key:r}=this;this.key=this.parent=null,e&&e.removeGroup(r)}},Bo=class extends M{constructor(e,r,n){super(),this.key=e,this.groupSubject=r,this.refCountSubscription=n}_subscribe(e){let r=new P,{refCountSubscription:n,groupSubject:i}=this;return n&&!n.closed&&r.add(new Bc(n)),r.add(i.subscribe(e)),r}},Bc=class extends P{constructor(e){super(),this.parent=e,e.count++}unsubscribe(){let e=this.parent;!e.closed&&!this.closed&&(super.unsubscribe(),e.count-=1,e.count===0&&e.attemptedToUnsubscribe&&e.unsubscribe())}};var de=class extends te{constructor(e){super(),this._value=e}get value(){return this.getValue()}_subscribe(e){let r=super._subscribe(e);return r&&!r.closed&&e.next(this._value),r}getValue(){if(this.hasError)throw this.thrownError;if(this.closed)throw new Tt;return this._value}next(e){super.next(this._value=e)}};var Ho=class extends P{constructor(e,r){super()}schedule(e,r=0){return this}};var br=class extends Ho{constructor(e,r){super(e,r),this.scheduler
4=e,this.work=r,this.pending=!1}schedule(e,r=0){if(this.closed)return this;this.state=e;let n=this.id,i=this.scheduler;return n!=null&&(this.id=this.recycleAsyncId(i,n,r)),this.pending=!0,this.delay=r,this.id=this.id||this.requestAsyncId(i,this.id,r),this}requestAsyncId(e,r,n=0){return setInterval(e.flush.bind(e,this),n)}recycleAsyncId(e,r,n=0){if(n!==null&&this.delay===n&&this.pending===!1)return r;clearInterval(r)}execute(e,r){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;let n=this._execute(e,r);if(n)return n;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(e,r){let n=!1,i;try{this.work(e)}catch(o){n=!0,i=!!o&&o||new Error(o)}if(n)return this.unsubscribe(),i}_unsubscribe(){let e=this.id,r=this.scheduler,n=r.actions,i=n.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,i!==-1&&n.splice(i,1),e!=null&&(this.id=this.recycleAsyncId(r,e,null)),this.delay=null}};var zo=class extends br{constructor(e,r){super(e,r),this.scheduler=e,this.work=r}schedule(e,r=0){return r>0?super.schedule(e,r):(this.delay=r,this.state=e,this.scheduler.flush(this),this)}execute(e,r){return r>0||this.closed?super.execute(e,r):this._execute(e,r)}requestAsyncId(e,r,n=0){return n!==null&&n>0||n===null&&this.delay>0?super.requestAsyncId(e,r,n):e.flush(this)}};var Hc=(()=>{class t{constructor(r,n=t.now){this.SchedulerAction=r,this.now=n}schedule(r,n=0,i){return new this.SchedulerAction(this,r).schedule(i,n)}}return t.now=()=>Date.now(),t})();var wr=class t extends Hc{constructor(e,r=Hc.now){super(e,()=>t.delegate&&t.delegate!==this?t.delegate.now():r()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(e,r=0,n){return t.delegate&&t.delegate!==this?t.delegate.schedule(e,r,n):super.schedule(e,r,n)}flush(e){let{actions:r}=this;if(this.active){r.push(e);return}let n;this.active=!0;do if(n=e.execute(e.state,e.delay))break;while(e=r.shift());if(this.active=!1,n){for(;e=r.shift();)e.unsubscribe();throw n}}};var qo=class extends wr{};var FD=new qo(zo),Dp=FD;var xt=new M(t=>t.complete());function yn(t){return t?LD(t):xt}function LD(t){return new M(e=>t.schedule(()=>e.complete()))}function at(t){return t&&typeof t.schedule=="function"}var Go=t=>e=>{for(let r=0,n=t.length;r<n&&!e.closed;r++)e.next(t[r]);e.complete()};function Dr(t,e){return new M(r=>{let n=new P,i=0;return n.add(e.schedule(function(){if(i===t.length){r.complete();return}r.next(t[i++]),r.closed||n.add(this.schedule())})),n})}function Er(t,e){return e?Dr(t,e):new M(Go(t))}function I(...t){let e=t[t.length-1];
4return at(e)?(t.pop(),Dr(t,e)):Er(t)}function vn(t,e){return e?new M(r=>e.schedule(jD,0,{error:t,subscriber:r})):new M(r=>r.error(t))}function jD({error:t,subscriber:e}){e.error(t)}var Mt=class t{constructor(e,r,n){this.kind=e,this.value=r,this.error=n,this.hasValue=e==="N"}observe(e){switch(this.kind){case"N":return e.next&&e.next(this.value);case"E":return e.error&&e.error(this.error);case"C":return e.complete&&e.complete()}}do(e,r,n){switch(this.kind){case"N":return e&&e(this.value);case"E":return r&&r(this.error);case"C":return n&&n()}}accept(e,r,n){return e&&typeof e.next=="function"?this.observe(e):this.do(e,r,n)}toObservable(){switch(this.kind){case"N":return I(this.value);case"E":return vn(this.error);case"C":return yn()}throw new Error("unexpected notification kind value")}static createNext(e){return typeof e<"u"?new t("N",e):t.undefinedValueNotification}static createError(e){return new t("E",void 0,e)}static createComplete(){return t.completeNotification}};Mt.completeNotification=new Mt("C");Mt.undefinedValueNotification=new Mt("N",void 0);var Wo=class t extends S{constructor(e,r,n=0){super(e),this.scheduler=r,this.delay=n}static dispatch(e){let{notification:r,destination:n}=e;r.observe(n),this.unsubscribe()}scheduleMessage(e){this.destination.add(this.scheduler.schedule(t.dispatch,this.delay,new zc(e,this.destination)))}_next(e){this.scheduleMessage(Mt.createNext(e))}_error(e){this.scheduleMessage(Mt.createError(e)),this.unsubscribe()}_complete(){this.scheduleMessage(Mt.createComplete()),this.unsubscribe()}},zc=class{constructor(e,r){this.notification=e,this.destination=r}};var Zo=class extends te{constructor(e=Number.POSITIVE_INFINITY,r=Number.POSITIVE_INFINITY,n){super(),this.scheduler=n,this._events=[],this._infiniteTimeWindow=!1,this._bufferSize=e<1?1:e,this._windowTime=r<1?1:r,r===Number.POSITIVE_INFINITY?(this._infiniteTimeWindow=!0,this.next=this.nextInfiniteTimeWindow):this.next=this.nextTimeWindow}nextInfiniteTimeWindow(e){if(!this.isStopped){let r=this._events;r.push(e),r.length>this._bufferSize&&r.shift()}super.next(e)}nextTimeWindow(e){this.isStopped||(this._events.push(new qc(this._getNow(),e)),this._trimBufferThenGetEvents()),super.next(e)}_subscribe(e){let r=this._infiniteTimeWindow,n=r?this._events:this._trimBufferThenGetEvents(),i=this.scheduler,o=n.length,s;if(this.closed)throw new Tt;if(this.isStopped||this.hasError?s=P.EMPTY:(this.observers.push(e),s=new yr(this,e)),i&&e.add(e=new Wo(e,i)),r)for(let a=0;a<o&&!e.closed;a++)e.next(n[a]);else for(let a=0;a<o&&!e.closed;a++)e.next(n[a].value);return this.hasError?e.error(this.thrownError):this.isStopped&&e.complete(),s}_getNow(){return(this.scheduler||Dp).now()}_trimBufferThenGetEvents(){let e=this._getNow(),r=this._bufferSize,n=this._windowTime,i=this._events,o=i.length,s=0;for(;s<o&&!(e-i[s].time<n);)s++;return o>r&&(s=Math.max(s,o-r)),s>0&&i.splice(0,s),i}},qc=class{constructor(e,r){this.time=e,this.value=r}};var $D=new wr(br),Ir=$D;function Gt(){}function Gc(t){return!!t&&(t instanceof M||typeof t.lift=="function"&&typeof t.subscribe=="function")}var VD=(()=>{function t(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return t.prototype=Object.create(Error.prototype),t})(),Yo=VD;var UD=(()=>{function t(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return t.prototype=Object.create(Error.prototype),t})(),Wt=UD;function T(t,e){return function(n){if(typeof t!="function")throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return n.lift(new Wc(t,e))}}var Wc=class{constructor(e,r){this.project=e,this.thisArg=r}call(e,r){return r.subscribe(new Zc(e,this.project,this.thisArg))}},Zc=class extends S{constructor(e,r,n){super(e),this.project=r,this.count=0,this.thisArg=n||this}_next(e){let r;try{r=this.project.call(this.thisArg,e,this.count++)}catch(n){this.destination.error(n);return}this.destination.next(r)}};var Qo=class extends S{notifyNext(e,r,n,i,o){this.destination.next(r)}notifyError(e,r){this.destination.error(e)}notifyComplete(e){this.destination.complete()}};var Ko=class extends S{constructor(e,r,n){super(),this.parent=e,this.outerValue=r,this.outerIndex=n,this.index=0}_next(e){this.parent.notifyNext(this.outerValue,e,this.outerIndex,this.index++,this)}_error(e){this.parent.notifyError(e,this),this.unsubscribe()}_complete(){this.parent.notifyComplete(this),this.unsubscribe()}};var Ep=t=>e=>(t.then(r=>{e.closed||(e.next(r),e.complete())},r=>e.error(r)).then(null,qt),e);function BD(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var bn=BD();var Ip=t=>e=>{let r=t[bn]();do{let n;try{n=r.next()}catch(i){return e.error(i),e}if(n.done){e.complete();break}if(e.next(n.value),e.closed)break}while(!0);return typeof r.return=="function"&&e.add(()=>{r.return&&r.return()}),e};var Cp=t=>e=>{let r=t[St]();if(typeof r.subscribe!="function")throw new TypeError("Provided object does not correctly implement Symbol.observable");return r.subscribe(e)};var Xo=t=>t&&typeof t.length=="number"&&typeof t!="function";function Jo(t){return!!t&&typeof t.subscribe!="function"&&typeof t.then=="function"}var Cr=t=>{if(t&&typeof t[St]=="function")return Cp(t);if(Xo(t))return Go(t);if(Jo(t))return Ep(t);if(t&&typeof t[bn]=="function")return Ip(t);
4{let r=`You provided ${gr(t)?"an invalid object":`'${t}'`} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`;throw new TypeError(r)}};function Sp(t,e,r,n,i=new Ko(t,r,n)){if(!i.closed)return e instanceof M?e.subscribe(i):Cr(e)(i)}var Tp={};function bi(...t){let e,r;return at(t[t.length-1])&&(r=t.pop()),typeof t[t.length-1]=="function"&&(e=t.pop()),t.length===1&&st(t[0])&&(t=t[0]),Er(t,r).lift(new Yc(e))}var Yc=class{constructor(e){this.resultSelector=e}call(e,r){return r.subscribe(new Qc(e,this.resultSelector))}},Qc=class extends Qo{constructor(e,r){super(e),this.resultSelector=r,this.active=0,this.values=[],this.observables=[]}_next(e){this.values.push(Tp),this.observables.push(e)}_complete(){let e=this.observables,r=e.length;if(r===0)this.destination.complete();else{this.active=r,this.toRespond=r;for(let n=0;n<r;n++){let i=e[n];this.add(Sp(this,i,void 0,n))}}}notifyComplete(e){(this.active-=1)===0&&this.destination.complete()}notifyNext(e,r,n){let i=this.values,o=i[n],s=this.toRespond?o===Tp?--this.toRespond:this.toRespond:0;i[n]=r,s===0&&(this.resultSelector?this._tryResultSelector(i):this.destination.next(i.slice()))}_tryResultSelector(e){let r;try{r=this.resultSelector.apply(this,e)}catch(n){this.destination.error(n);return}this.destination.next(r)}};function xp(t,e){return new M(r=>{let n=new P;return n.add(e.schedule(()=>{let i=t[St]();n.add(i.subscribe({next(o){n.add(e.schedule(()=>r.next(o)))},error(o){n.add(e.schedule(()=>r.error(o)))},complete(){n.add(e.schedule(()=>r.complete()))}}))})),n})}function Mp(t,e){return new M(r=>{let n=new P;return n.add(e.schedule(()=>t.then(i=>{n.add(e.schedule(()=>{r.next(i),n.add(e.schedule(()=>r.complete()))}))},i=>{n.add(e.schedule(()=>r.error(i)))}))),n})}function Np(t,e){if(!t)throw new Error("Iterable cannot be null");return new M(r=>{let n=new P,i;return n.add(()=>{i&&typeof i.return=="function"&&i.return()}),n.add(e.schedule(()=>{i=t[bn](),n.add(e.schedule(function(){if(r.closed)return;let o,s;try{let a=i.next();o=a.value,s=a.done}catch(a){r.error(a);return}s?r.complete():(r.next(o),this.schedule())}))})),n})}function _p(t){return t&&typeof t[St]=="function"}function Ap(t){return t&&typeof t[bn]=="function"}function Rp(t,e){if(t!=null){if(_p(t))return xp(t,e);if(Jo(t))return Mp(t,e);if(Xo(t))return Dr(t,e);if(Ap(t)||typeof t=="string")return Np(t,e)}throw new TypeError((t!==null&&typeof t||t)+" is not observable")}function J(t,e){return e?Rp(t,e):t instanceof M?t:new M(Cr(t))}var Ye=class extends S{constructor(e){super(),this.parent=e}_next(e){this.parent.notifyNext(e)}_error(e){this.parent.notifyError(e),this.unsubscribe()}_complete(){this.parent.notifyComplete(),this.unsubscribe()}};var Qe=class extends S{notifyNext(e){this.destination.next(e)}notifyError(e){this.destination.error(e)}notifyComplete(){this.destination.complete()}};function Nt(t,e){if(e.closed)return;if(t instanceof M)return t.subscribe(e);let r;try{r=Cr(t)(e)}catch(n){e.error(n)}return r}function se(t,e,r=Number.POSITIVE_INFINITY){return typeof e=="function"?n=>n.pipe(se((i,o)=>J(t(i,o)).pipe(T((s,a)=>e(i,s,o,a))),r)):(typeof e=="number"&&(r=e),n=>n.lift(new Kc(t,r)))}var Kc=class{constructor(e,r=Number.POSITIVE_INFINITY){this.project=e,this.concurrent=r}call(e,r){return r.subscribe(new Xc(e,this.project,this.concurrent))}},Xc=class extends Qe{constructor(e,r,n=Number.POSITIVE_INFINITY){super(e),this.project=r,this.concurrent=n,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(e){this.active<this.concurrent?this._tryNext(e):this.buffer.push(e)}_tryNext(e){let r,n=this.index++;try{r=this.project(e,n)}catch(i){this.destination.error(i);return}this.active++,this._innerSub(r)}_innerSub(e){let r=new Ye(this),n=this.destination;n.add(r);let i=Nt(e,r);i!==r&&n.add(i)}_complete(){this.hasCompleted=!0,this.active===0&&this.buffer.length===0&&this.destination.complete(),this.unsubscribe()}notifyNext(e){this.destination.next(e)}notifyComplete(){let e=this.buffer;this.active--,e.length>0?this._next(e.shift()):this.active===0&&this.hasCompleted&&this.destination.complete()}};function _t(t=Number.POSITIVE_INFINITY){return se(mn,t)}function kp(){return _t(1)}function Sr(...t){return kp()(I(...t))}function es(t){return new M(e=>{let r;try{r=t()}catch(i){e.error(i);return}return(r?J(r):yn()).subscribe(e)})}function HD(...t){if(t.length===1){let e=t[0];if(st(e))return ts(e,null);if(gr(e)&&Object.getPrototypeOf(e)===Object.prototype){let r=Object.keys(e);return ts(r.map(n=>e[n]),r)}}if(typeof t[t.length-1]=="function"){let e=t.pop();return t=t.length===1&&st(t[0])?t[0]:t,ts(t,null).pipe(T(r=>e(...r)))}return ts(t,null)}function ts(t,e){return new M(r=>{let n=t.length;if(n===0){r.complete();return}let i=new Array(n),o=0,s=0;for(let a=0;a<n;a++){let c=J(t[a]),u=!1;r.add(c.subscribe({next:l=>{u||(u=!0,s++),i[a]=l},error:l=>r.error(l),complete:()=>{o++,(o===n||!u)&&(s===n&&r.next(e?e.reduce((l,d,f)=>(l[d]=i[f],l),{}):i),r.complete())}}))}})}function Op(t,e,r,n){return zt(r)&&(n=r,r=void 0),n?Op(t,e,r).pipe(T(i=>st(i)?n(...i):n(i))):new M(i=>{function o(s){arguments.length>1?i.next(Array.prototype.slice.call(arguments)):i.next(s)}Pp(t,e,o,i,r)})}function Pp(t,e,r,n,i){let o;if(GD(t)){let s=t;t.addEventListener(e,r,i),o=()=>s.removeEventListener(e,r,i)}else if(qD(t)){let s=t;t.on(e,r),o=()=>s.off(e,r)}else if(zD(t)){let s=t;t.addListener(e,r),o=()=>s.removeListener(e,r)}else if(t&&t.length)for(let s=0,a=t.length;s<a;s++)Pp(t[s],e,r,n,i);else throw new TypeError("Invalid event target");n.add(o)}function zD(t){return t&&typeof t.addListener=="function"&&typeof t.removeListener=="function"}function qD(t){return t&&typeof t.on=="function"&&typeof t.off=="function"}function GD(t){return t&&typeof t.addEventListener=="function"&&typeof t.removeEventListener=="function"}
4function Jc(t){return!st(t)&&t-parseFloat(t)+1>=0}function eu(...t){let e=Number.POSITIVE_INFINITY,r=null,n=t[t.length-1];return at(n)?(r=t.pop(),t.length>1&&typeof t[t.length-1]=="number"&&(e=t.pop())):typeof n=="number"&&(e=t.pop()),r===null&&t.length===1&&t[0]instanceof M?t[0]:_t(e)(Er(t,r))}function fe(t,e){return function(n){return n.lift(new tu(t,e))}}var tu=class{constructor(e,r){this.predicate=e,this.thisArg=r}call(e,r){return r.subscribe(new nu(e,this.predicate,this.thisArg))}},nu=class extends S{constructor(e,r,n){super(e),this.predicate=r,this.thisArg=n,this.count=0}_next(e){let r;try{r=this.predicate.call(this.thisArg,e,this.count++)}catch(n){this.destination.error(n);return}r&&this.destination.next(e)}};function wi(t=0,e,r){let n=-1;return Jc(e)?n=Number(e)<1&&1||Number(e):at(e)&&(r=e),at(r)||(r=Ir),new M(i=>{let o=Jc(t)?t:+t-r.now();return r.schedule(WD,o,{index:0,period:n,subscriber:i})})}function WD(t){let{index:e,period:r,subscriber:n}=t;if(n.next(e),!n.closed){if(r===-1)return n.complete();t.index=e+1,this.schedule(t,r)}}function Fp(t){return function(r){return r.lift(new ru(t))}}var ru=class{constructor(e){this.durationSelector=e}call(e,r){return r.subscribe(new iu(e,this.durationSelector))}},iu=class extends Qe{constructor(e,r){super(e),this.durationSelector=r,this.hasValue=!1}_next(e){if(this.value=e,this.hasValue=!0,!this.throttled){let r;try{let{durationSelector:i}=this;r=i(e)}catch(i){return this.destination.error(i)}let n=Nt(r,new Ye(this));!n||n.closed?this.clearThrottle():this.add(this.throttled=n)}}clearThrottle(){let{value:e,hasValue:r,throttled:n}=this;n&&(this.remove(n),this.throttled=void 0,n.unsubscribe()),r&&(this.value=void 0,this.hasValue=!1,this.destination.next(e))}notifyNext(){this.clearThrottle()}notifyComplete(){this.clearThrottle()}};function ZD(t,e=Ir){return Fp(()=>wi(t,e))}function $n(t){return function(r){let n=new ou(t),i=r.lift(n);return n.caught=i}}var ou=class{constructor(e){this.selector=e}call(e,r){return r.subscribe(new su(e,this.selector,this.caught))}},su=class extends Qe{constructor(e,r,n){super(e),this.selector=r,this.caught=n}error(e){if(!this.isStopped){let r;try{r=this.selector(e,this.caught)}catch(o){super.error(o);return}this._unsubscribeAndRecycle();let n=new Ye(this);this.add(n);let i=Nt(r,n);i!==n&&this.add(i)}}};function Zt(t,e){return se(t,e,1)}function YD(t,e=Ir){return r=>r.lift(new au(t,e))}var au=class{constructor(e,r){this.dueTime=e,this.scheduler=r}call(e,r){return r.subscribe(new cu(e,this.dueTime,this.scheduler))}},cu=class extends S{constructor(e,r,n){super(e),this.dueTime=r,this.scheduler=n,this.debouncedSubscription=null,this.lastValue=null,this.hasValue=!1}_next(e){this.clearDebounce(),this.lastValue=e,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(QD,this.dueTime,this))}_complete(){this.debouncedNext(),this.destination.complete()}debouncedNext(){if(this.clearDebounce(),this.hasValue){let{lastValue:e}=this;this.lastValue=null,this.hasValue=!1,this.destination.next(e)}}clearDebounce(){let e=this.debouncedSubscription;e!==null&&(this.remove(e),e.unsubscribe(),this.debouncedSubscription=null)}};function QD(t){t.debouncedNext()}function At(t=null){return e=>e.lift(new uu(t))}var uu=class{constructor(e){this.defaultValue=e}call(e,r){return r.subscribe(new lu(e,this.defaultValue))}},lu=class extends S{constructor(e,r){super(e),this.defaultValue=r,this.isEmpty=!0}_next(e){this.isEmpty=!1,this.destination.next(e)}_complete(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}};function hu(t,e){return r=>r.lift(new du(t,e))}var du=class{constructor(e,r){this.compare=e,this.keySelector=r}call(e,r){return r.subscribe(new fu(e,this.compare,this.keySelector))}},fu=class extends S{constructor(e,r,n){super(e),this.keySelector=n,this.hasKey=!1,typeof r=="function"&&(this.compare=r)}compare(e,r){return e===r}_next(e){let r;try{let{keySelector:i}=this;r=i?i(e):e}catch(i){return this.destination.error(i)}let n=!1;if(this.hasKey)try{let{compare:i}=this;n=i(this.key,r)}catch(i){return this.destination.error(i)}else this.hasKey=!0;n||(this.key=r,this.destination.next(e))}};function ns(t=KD){return e=>e.lift(new pu(t))}var pu=class{constructor(e){this.errorFactory=e}
4call(e,r){return r.subscribe(new gu(e,this.errorFactory))}},gu=class extends S{constructor(e,r){super(e),this.errorFactory=r,this.hasValue=!1}_next(e){this.hasValue=!0,this.destination.next(e)}_complete(){if(this.hasValue)return this.destination.complete();{let e;try{e=this.errorFactory()}catch(r){e=r}this.destination.error(e)}}};function KD(){return new Wt}function Yt(t){return e=>t===0?yn():e.lift(new mu(t))}var mu=class{constructor(e){if(this.total=e,this.total<0)throw new Yo}call(e,r){return r.subscribe(new yu(e,this.total))}},yu=class extends S{constructor(e,r){super(e),this.total=r,this.count=0}_next(e){let r=this.total,n=++this.count;n<=r&&(this.destination.next(e),n===r&&(this.destination.complete(),this.unsubscribe()))}};function Vn(t){return e=>e.lift(new vu(t))}var vu=class{constructor(e){this.callback=e}call(e,r){return r.subscribe(new bu(e,this.callback))}},bu=class extends S{constructor(e,r){super(e),this.add(new P(r))}};function Ke(t,e){let r=arguments.length>=2;return n=>n.pipe(t?fe((i,o)=>t(i,o,n)):mn,Yt(1),r?At(e):ns(()=>new Wt))}function Qt(t){return function(r){return t===0?yn():r.lift(new wu(t))}}var wu=class{constructor(e){if(this.total=e,this.total<0)throw new Yo}call(e,r){return r.subscribe(new Du(e,this.total))}},Du=class extends S{constructor(e,r){super(e),this.total=r,this.ring=new Array,this.count=0}_next(e){let r=this.ring,n=this.total,i=this.count++;if(r.length<n)r.push(e);else{let o=i%n;r[o]=e}}_complete(){let e=this.destination,r=this.count;if(r>0){let n=this.count>=this.total?this.total:this.count,i=this.ring;for(let o=0;o<n;o++){let s=r++%n;e.next(i[s])}}e.complete()}};function Eu(t,e){let r=arguments.length>=2;return n=>n.pipe(t?fe((i,o)=>t(i,o,n)):mn,Qt(1),r?At(e):ns(()=>new Wt))}function Di(t){return e=>e.lift(new Iu(t))}var Iu=class{constructor(e){this.value=e}call(e,r){return r.subscribe(new Cu(e,this.value))}},Cu=class extends S{constructor(e,r){super(e),this.value=r}_next(e){this.destination.next(this.value)}};function Tr(t,e){let r=!1;return arguments.length>=2&&(r=!0),function(i){return i.lift(new Su(t,e,r))}}var Su=class{constructor(e,r,n=!1){this.accumulator=e,this.seed=r,this.hasSeed=n}call(e,r){return r.subscribe(new Tu(e,this.accumulator,this.seed,this.hasSeed))}},Tu=class extends S{constructor(e,r,n,i){super(e),this.accumulator=r,this._seed=n,this.hasSeed=i,this.index=0}get seed(){return this._seed}set seed(e){this.hasSeed=!0,this._seed=e}_next(e){if(!this.hasSeed)this.seed=e,this.destination.next(e);else return this._tryNext(e)}_tryNext(e){let r=this.index++,n;try{n=this.accumulator(this.seed,e,r)}catch(i){this.destination.error(i)}this.seed=n,this.destination.next(n)}};function Lp(t,e){return arguments.length>=2?function(n){return mr(Tr(t,e),Qt(1),At(e))(n)}:function(n){return mr(Tr((i,o,s)=>t(i,o,s+1)),Qt(1))(n)}}function xu(t,e,r){let n;return t&&typeof t=="object"?n=t:n={bufferSize:t,windowTime:e,refCount:!1,scheduler:r},i=>i.lift(XD(n))}function XD({bufferSize:t=Number.POSITIVE_INFINITY,windowTime:e=Number.POSITIVE_INFINITY,refCount:r,scheduler:n}){let i,o=0,s,a=!1,c=!1;return function(l){o++;let d;!i||a?(a=!1,i=new Zo(t,e,n),d=i.subscribe(this),s=l.subscribe({next(f){i.next(f)},error(f){a=!0,i.error(f)},complete(){c=!0,s=void 0,i.complete()}}),c&&(s=void 0)):d=i.subscribe(this),this.add(()=>{o--,d.unsubscribe(),d=void 0,s&&!c&&r&&o===0&&(s.unsubscribe(),s=void 0,i=void 0)})}}function JD(t){return e=>e.lift(new Mu(t))}var Mu=class{constructor(e){this.total=e}call(e,r){return r.subscribe(new Nu(e,this.total))}},Nu=class extends S{constructor(e,r){super(e),this.total=r,this.count=0}_next(e){++this.count>this.total&&this.destination.next(e)}};function Un(...t){let e=t[t.length-1];return at(e)?(t.pop(),r=>Sr(t,r,e)):r=>Sr(t,r)}function me(t,e){return typeof e=="function"?r=>r.pipe(me((n,i)=>J(t(n,i)).pipe(T((o,s)=>e(n,o,i,s))))):r=>r.lift(new _u(t))}var _u=class{constructor(e){this.project=e}call(e,r){return r.subscribe(new Au(e,this.project))}},Au=class extends Qe{constructor(e,r){super(e),this.project=r,this.index=0}_next(e){let r,n=this.index++;try{r=this.project(e,n)}catch(i){this.destination.error(i);return}this._innerSub(r)}_innerSub(e){let r=this.innerSubscription;r&&r.unsubscribe();let n=new Ye(this),i=this.destination;i.add(n),this.innerSubscription=Nt(e,n),this.innerSubscription!==n&&i.add(this.innerSubscription)}_complete(){let{innerSubscription:e}=this;(!e||e.closed)&&super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=void 0}notifyComplete(){this.innerSubscription=void 0,this.isStopped&&super._complete()}notifyNext(e){this.destination.next(e)}};function Ei(t){return e=>e.lift(new Ru(t))}var Ru=class{constructor(e){this.notifier=e}call(e,r){let n=new ku(e),i=Nt(this.notifier,new Ye(n));return i&&!n.seenValue?(n.add(i),r.subscribe(n)):n}},ku=class extends Qe{constructor(e){super(e),this.seenValue=!1}notifyNext(){this.seenValue=!0,this.complete()}notifyComplete(){}};function he(t,e,r){return function(i){return i.lift(new Ou(t,e,r))}}var Ou=class{constructor(e,r,n){this.nextOrObserver=e,this.error=r,this.complete=n}call(e,r){return r.subscribe(new Pu(e,this.nextOrObserver,this.error,this.complete))}},Pu=class extends S{constructor(e,r,n,i){super(e),this._tapNext=Gt,this._tapError=Gt,this._tapComplete=Gt,this._tapError=n||Gt,this._tapComplete=i||Gt,zt(r)?(this._context=this,this._tapNext=r):r&&(this._context=r,this._tapNext=r.next||Gt,this._tapError=r.error||Gt,this._tapComplete=r.complete||Gt)}_next(e){try{this._tapNext.call(this._context,e)}catch(r){this.destination.error(r);return}this.destination.next(e)}_error(e){try{this._tapError.call(this._context,e)}catch(r){this.destination.error(r);return}this.destination.error(e)}_complete(){try{this._tapComplete.call(this._context)}catch(e){this.destination.error(e);return}return this.destination.complete()}};function eE(t,e,r){return r===0?[e]:(t.push(e),t)}function tE(){return Lp(eE,[])}
4var xg="https://g.co/ng/security#xss",E=class extends Error{constructor(e,r){super(Ys(e,r)),this.code=e}};function Ys(t,e){return`${`NG0${Math.abs(t)}`}${e?": "+e:""}`}function Fi(t){return{toString:t}.toString()}var rs="__parameters__";function nE(t){return function(...r){if(t){let n=t(...r);for(let i in n)this[i]=n[i]}}}function sd(t,e,r){return Fi(()=>{let n=nE(e);function i(...o){if(this instanceof i)return n.apply(this,o),this;let s=new i(...o);return a.annotation=s,a;function a(c,u,l){let d=c.hasOwnProperty(rs)?c[rs]:Object.defineProperty(c,rs,{value:[]})[rs];for(;d.length<=l;)d.push(null);return(d[l]=d[l]||[]).push(s),c}}return r&&(i.prototype=Object.create(r.prototype)),i.prototype.ngMetadataName=t,i.annotationCls=i,i})}var ye=globalThis;function Y(t){for(let e in t)if(t[e]===Y)return e;throw Error("Could not find renamed property on target object.")}function rE(t,e){for(let r in e)e.hasOwnProperty(r)&&!t.hasOwnProperty(r)&&(t[r]=e[r])}function Ce(t){if(typeof t=="string")return t;if(Array.isArray(t))return"["+t.map(Ce).join(", ")+"]";if(t==null)return""+t;if(t.overriddenName)return`${t.overriddenName}`;if(t.name)return`${t.name}`;let e=t.toString();if(e==null)return""+e;let r=e.indexOf(`
5`);return r===-1?e:e.substring(0,r)}function Qu(t,e){return t==null||t===""?e===null?"":e:e==null||e===""?t:t+" "+e}var iE=Y({__forward_ref__:Y});function Mg(t){return t.__forward_ref__=Mg,t.toString=function(){return Ce(this())},t}function Ee(t){return Ng(t)?t():t}function Ng(t){return typeof t=="function"&&t.hasOwnProperty(iE)&&t.__forward_ref__===Mg}function b(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function mt(t){return{providers:t.providers||[],imports:t.imports||[]}}function Qs(t){return jp(t,Ag)||jp(t,Rg)}function _g(t){return Qs(t)!==null}function jp(t,e){return t.hasOwnProperty(e)?t[e]:null}function oE(t){let e=t&&(t[Ag]||t[Rg]);return e||null}function $p(t){return t&&(t.hasOwnProperty(Vp)||t.hasOwnProperty(sE))?t[Vp]:null}var Ag=Y({\u0275prov:Y}),Vp=Y({\u0275inj:Y}),Rg=Y({ngInjectableDef:Y}),sE=Y({ngInjectorDef:Y}),D=class{constructor(e,r){this._desc=e,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,typeof r=="number"?this.__NG_ELEMENT_ID__=r:r!==void 0&&(this.\u0275prov=b({token:this,providedIn:r.providedIn||"root",factory:r.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function kg(t){return t&&!!t.\u0275providers}var aE=Y({\u0275cmp:Y}),cE=Y({\u0275dir:Y}),uE=Y({\u0275pipe:Y}),lE=Y({\u0275mod:Y}),bs=Y({\u0275fac:Y}),Ci=Y({__NG_ELEMENT_ID__:Y}),Up=Y({__NG_ENV_ID__:Y});function Ot(t){return typeof t=="string"?t:t==null?"":String(t)}function dE(t){return typeof t=="function"?t.name||t.toString():typeof t=="object"&&t!=null&&typeof t.type=="function"?t.type.name||t.type.toString():Ot(t)}function fE(t,e){let r=e?`. Dependency path: ${e.join(" > ")} > ${t}`:"";throw new E(-200,t)}function ad(t,e){throw new E(-201,!1)}var F=function(t){return t[t.Default=0]="Default",t[t.Host=1]="Host",t[t.Self=2]="Self",t[t.SkipSelf=4]="SkipSelf",t[t.Optional=8]="Optional",t}(F||{}),Ku;function Og(){return Ku}function _e(t){let e=Ku;return Ku=t,e}function Pg(t,e,r){let n=Qs(t);if(n&&n.providedIn=="root")return n.value===void 0?n.value=n.factory():n.value;if(r&F.Optional)return null;if(e!==void 0)return e;ad(t,"Injector")}var hE={},xi=hE,Xu="__NG_DI_FLAG__",ws="ngTempTokenPath",pE="ngTokenPath",gE=/\n/gm,mE="\u0275",Bp="__source",Rr;function yE(){return Rr}function wn(t){let e=Rr;return Rr=t,e}function vE(t,e=F.Default){if(Rr===void 0)throw new E(-203,!1);return Rr===null?Pg(t,void 0,e):Rr.get(t,e&F.Optional?null:void 0,e)}function y(t,e=F.Default){return(Og()||vE)(Ee(t),e)}function g(t,e=F.Default){return y(t,Ks(e))}function Ks(t){return typeof t>"u"||typeof t=="number"?t:0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)}function Ju(t){let e=[];for(let r=0;r<t.length;r++){let n=Ee(t[r]);if(Array.isArray(n)){if(n.length===0)throw new E(900,!1);let i,o=F.Default;for(let s=0;s<n.length;s++){let a=n[s],c=bE(a);typeof c=="number"?c===-1?i=a.token:o|=c:i=a}e.push(y(i,o))}else e.push(y(n))}return e}function cd(t,e){return t[Xu]=e,t.prototype[Xu]=e,t}function bE(t){return t[Xu]}function wE(t,e,r,n){let i=t[ws];throw e[Bp]&&i.unshift(e[Bp]),t.message=DE(`
6`+t.message,i,r,n),t[pE]=i,t[ws]=null,t}function DE(t,e,r,n=null){t=t&&t.charAt(0)===`
7`&&t.charAt(1)==mE?t.slice(2):t;let i=Ce(e);if(Array.isArray(e))i=e.map(Ce).join(" -> ");else if(typeof e=="object"){let o=[];for(let s in e)if(e.hasOwnProperty(s)){let a=e[s];
7o.push(s+":"+(typeof a=="string"?JSON.stringify(a):Ce(a)))}i=`{${o.join(", ")}}`}return`${r}${n?"("+n+")":""}[${i}]: ${t.replace(gE,`
8  `)}`}var vj=cd(sd("Inject",t=>({token:t})),-1),Hr=cd(sd("Optional"),8);var Xs=cd(sd("SkipSelf"),4);function Gn(t,e){let r=t.hasOwnProperty(bs);return r?t[bs]:null}function EE(t,e,r){if(t.length!==e.length)return!1;for(let n=0;n<t.length;n++){let i=t[n],o=e[n];if(r&&(i=r(i),o=r(o)),o!==i)return!1}return!0}function IE(t){return t.flat(Number.POSITIVE_INFINITY)}function ud(t,e){t.forEach(r=>Array.isArray(r)?ud(r,e):e(r))}function Fg(t,e,r){e>=t.length?t.push(r):t.splice(e,0,r)}function Ds(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function CE(t,e){let r=[];for(let n=0;n<t;n++)r.push(e);return r}function SE(t,e,r,n){let i=t.length;if(i==e)t.push(r,n);else if(i===1)t.push(n,t[0]),t[0]=r;else{for(i--,t.push(t[i-1],t[i]);i>e;){let o=i-2;t[i]=t[o],i--}t[e]=r,t[e+1]=n}}function Js(t,e,r){let n=Li(t,e);return n>=0?t[n|1]=r:(n=~n,SE(t,n,e,r)),n}function Fu(t,e){let r=Li(t,e);if(r>=0)return t[r|1]}function Li(t,e){return TE(t,e,1)}function TE(t,e,r){let n=0,i=t.length>>r;for(;i!==n;){let o=n+(i-n>>1),s=t[o<<r];if(e===s)return o<<r;s>e?i=o:n=o+1}return~(i<<r)}var Or={},Ie=[],Wn=new D(""),Lg=new D("",-1),jg=new D(""),Es=class{get(e,r=xi){if(r===xi){let n=new Error(`NullInjectorError: No provider for ${Ce(e)}!`);throw n.name="NullInjectorError",n}return r}},$g=function(t){return t[t.OnPush=0]="OnPush",t[t.Default=1]="Default",t}($g||{}),Pt=function(t){return t[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t}(Pt||{}),En=function(t){return t[t.None=0]="None",t[t.SignalBased=1]="SignalBased",t[t.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",t}(En||{});function xE(t,e,r){let n=t.length;for(;;){let i=t.indexOf(e,r);if(i===-1)return i;if(i===0||t.charCodeAt(i-1)<=32){let o=e.length;if(i+o===n||t.charCodeAt(i+o)<=32)return i}r=i+1}}function el(t,e,r){let n=0;for(;n<r.length;){let i=r[n];if(typeof i=="number"){if(i!==0)break;n++;let o=r[n++],s=r[n++],a=r[n++];t.setAttribute(e,s,a,o)}else{let o=i,s=r[++n];ME(o)?t.setProperty(e,o,s):t.setAttribute(e,o,s),n++}}return n}function Vg(t){return t===3||t===4||t===6}function ME(t){return t.charCodeAt(0)===64}function Mi(t,e){if(!(e===null||e.length===0))if(t===null||t.length===0)t=e.slice();else{let r=-1;for(let n=0;n<e.length;n++){let i=e[n];typeof i=="number"?r=i:r===0||(r===-1||r===2?Hp(t,r,i,null,e[++n]):Hp(t,r,i,null,null))}}return t}function Hp(t,e,r,n,i){let o=0,s=t.length;if(e===-1)s=-1;else for(;o<t.length;){let a=t[o++];if(typeof a=="number"){if(a===e){s=-1;break}else if(a>e){s=o-1;break}}}for(;o<t.length;){let a=t[o];if(typeof a=="number")break;if(a===r){if(n===null){i!==null&&(t[o+1]=i);return}else if(n===t[o+1]){t[o+2]=i;return}}o++,n!==null&&o++,i!==null&&o++}s!==-1&&(t.splice(s,0,e),o=s+1),t.splice(o++,0,r),n!==null&&t.splice(o++,0,n),i!==null&&t.splice(o++,0,i)}var Ug="ng-template";function NE(t,e,r,n){let i=0;if(n){for(;i<e.length&&typeof e[i]=="string";i+=2)if(e[i]==="class"&&xE(e[i+1].toLowerCase(),r,0)!==-1)return!0}else if(ld(t))return!1;if(i=e.indexOf(1,i),i>-1){let o;for(;++i<e.length&&typeof(o=e[i])=="string";)if(o.toLowerCase()===r)return!0}return!1}function ld(t){return t.type===4&&t.value!==Ug}function _E(t,e,r){let n=t.type===4&&!r?Ug:t.value;return e===n}function AE(t,e,r){let n=4,i=t.attrs,o=i!==null?OE(i):0,s=!1;for(let a=0;a<e.length;a++){let c=e[a];if(typeof c=="number"){if(!s&&!ct(n)&&!ct(c))return!1;if(s&&ct(c))continue;s=!1,n=c|n&1;continue}if(!s)if(n&4){if(n=2|n&1,c!==""&&!_E(t,c,r)||c===""&&e.length===1){if(ct(n))return!1;s=!0}}else if(n&8){if(i===null||!NE(t,i,c,r)){if(ct(n))return!1;s=!0}}else{let u=e[++a],l=RE(c,i,ld(t),r);if(l===-1){if(ct(n))return!1;s=!0;continue}if(u!==""){let d;if(l>o?d="":d=i[l+1].toLowerCase(),n&2&&u!==d){if(ct(n))return!1;s=!0}}}}return ct(n)||s}function ct(t){return(t&1)===0}function RE(t,e,r,n){if(e===null)return-1;let i=0;if(n||!r){let o=!1;for(;i<e.length;){let s=e[i];if(s===t)return i;if(s===3||s===6)o=!0;else if(s===1||s===2){let a=e[++i];for(;
8typeof a=="string";)a=e[++i];continue}else{if(s===4)break;if(s===0){i+=4;continue}}i+=o?1:2}return-1}else return PE(e,t)}function Bg(t,e,r=!1){for(let n=0;n<e.length;n++)if(AE(t,e[n],r))return!0;return!1}function kE(t){let e=t.attrs;if(e!=null){let r=e.indexOf(5);if(!(r&1))return e[r+1]}return null}function OE(t){for(let e=0;e<t.length;e++){let r=t[e];if(Vg(r))return e}return t.length}function PE(t,e){let r=t.indexOf(4);if(r>-1)for(r++;r<t.length;){let n=t[r];if(typeof n=="number")return-1;if(n===e)return r;r++}return-1}function FE(t,e){e:for(let r=0;r<e.length;r++){let n=e[r];if(t.length===n.length){for(let i=0;i<t.length;i++)if(t[i]!==n[i])continue e;return!0}}return!1}function zp(t,e){return t?":not("+e.trim()+")":e}function LE(t){let e=t[0],r=1,n=2,i="",o=!1;for(;r<t.length;){let s=t[r];if(typeof s=="string")if(n&2){let a=t[++r];i+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else n&8?i+="."+s:n&4&&(i+=" "+s);else i!==""&&!ct(s)&&(e+=zp(o,i),i=""),n=s,o=o||!ct(n);r++}return i!==""&&(e+=zp(o,i)),e}function jE(t){return t.map(LE).join(",")}function $E(t){let e=[],r=[],n=1,i=2;for(;n<t.length;){let o=t[n];if(typeof o=="string")i===2?o!==""&&e.push(o,t[++n]):i===8&&r.push(o);else{if(!ct(i))break;i=o}n++}return{attrs:e,classes:r}}function ji(t){return Fi(()=>{let e=Wg(t),r=V(m({},e),{decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===$g.OnPush,directiveDefs:null,pipeDefs:null,dependencies:e.standalone&&t.dependencies||null,getStandaloneInjector:null,signals:t.signals??!1,data:t.data||{},encapsulation:t.encapsulation||Pt.Emulated,styles:t.styles||Ie,_:null,schemas:t.schemas||null,tView:null,id:""});Zg(r);let n=t.dependencies;return r.directiveDefs=Gp(n,!1),r.pipeDefs=Gp(n,!0),r.id=BE(r),r})}function VE(t){return In(t)||Hg(t)}function UE(t){return t!==null}function yt(t){return Fi(()=>({type:t.type,bootstrap:t.bootstrap||Ie,declarations:t.declarations||Ie,imports:t.imports||Ie,exports:t.exports||Ie,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null}))}function qp(t,e){if(t==null)return Or;let r={};for(let n in t)if(t.hasOwnProperty(n)){let i=t[n],o,s,a=En.None;Array.isArray(i)?(a=i[0],o=i[1],s=i[2]??o):(o=i,s=i),e?(r[o]=a!==En.None?[n,a]:n,e[o]=s):r[o]=n}return r}function Le(t){return Fi(()=>{let e=Wg(t);return Zg(e),e})}function xn(t){return{type:t.type,name:t.name,factory:null,pure:t.pure!==!1,standalone:t.standalone===!0,onDestroy:t.type.prototype.ngOnDestroy||null}}function In(t){return t[aE]||null}function Hg(t){return t[cE]||null}function zg(t){return t[uE]||null}function qg(t){let e=In(t)||Hg(t)||zg(t);return e!==null?e.standalone:!1}function Gg(t,e){let r=t[lE]||null;if(!r&&e===!0)throw new Error(`Type ${Ce(t)} does not have '\u0275mod' property.`);return r}function Wg(t){let e={};return{type:t.type,providersResolver:null,factory:null,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:e,inputTransforms:null,inputConfig:t.inputs||Or,exportAs:t.exportAs||null,standalone:t.standalone===!0,signals:t.signals===!0,selectors:t.selectors||Ie,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:qp(t.inputs,e),outputs:qp(t.outputs),debugInfo:null}}function Zg(t){t.features?.forEach(e=>e(t))}function Gp(t,e){if(!t)return null;let r=e?zg:VE;return()=>(typeof t=="function"?t():t).map(n=>r(n)).filter(UE)}function BE(t){let e=0,r=[t.selectors,t.ngContentSelectors,t.hostVars,t.hostAttrs,t.consts,t.vars,t.decls,t.encapsulation,t.standalone,t.signals,t.exportAs,JSON.stringify(t.inputs),JSON.stringify(t.outputs),Object.getOwnPropertyNames(t.type.prototype),!!t.contentQueries,!!t.viewQuery].join("|");for(let i of r)e=Math.imul(31,e)+i.charCodeAt(0)<<0;return e+=2147483648,"c"+e}function nr(t){return{\u0275providers:t}}function HE(...t){return{\u0275providers:Yg(!0,t),\u0275fromNgModule:!0}}function Yg(t,...e){let r=[],n=new Set,i,o=s=>{r.push(s)};return ud(e,s=>{let a=s;tl(a,o,[],n)&&(i||=[],i.push(a))}),i!==void 0&&Qg(i,o),r}function Qg(t,e){for(let r=0;r<t.length;r++){let{ngModule:n,providers:i}=t[r];dd(i,o=>{e(o,n)})}}function tl(t,e,r,n){if(t=Ee(t),!t)return!1;let i=null,o=$p(t),s=!o&&In(t);if(!o&&!s){let c=t.ngModule;if(o=$p(c),o)i=c;else return!1}else{if(s&&!s.standalone)return!1;i=t}let a=n.has(i);if(s){if(a)return!1;if(n.add(i),s.dependencies){let c=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let u of c)tl(u,e,r,n)}}else if(o){if(o.imports!=null&&!a){n.add(i);let u;
8try{ud(o.imports,l=>{tl(l,e,r,n)&&(u||=[],u.push(l))})}finally{}u!==void 0&&Qg(u,e)}if(!a){let u=Gn(i)||(()=>new i);e({provide:i,useFactory:u,deps:Ie},i),e({provide:jg,useValue:i,multi:!0},i),e({provide:Wn,useValue:()=>y(i),multi:!0},i)}let c=o.providers;if(c!=null&&!a){let u=t;dd(c,l=>{e(l,u)})}}else return!1;return i!==t&&t.providers!==void 0}function dd(t,e){for(let r of t)kg(r)&&(r=r.\u0275providers),Array.isArray(r)?dd(r,e):e(r)}var zE=Y({provide:String,useValue:Y});function Kg(t){return t!==null&&typeof t=="object"&&zE in t}function qE(t){return!!(t&&t.useExisting)}function GE(t){return!!(t&&t.useFactory)}function Pr(t){return typeof t=="function"}function WE(t){return!!t.useClass}var ea=new D(""),hs={},ZE={},Lu;function fd(){return Lu===void 0&&(Lu=new Es),Lu}var Se=class{},Ni=class extends Se{get destroyed(){return this._destroyed}constructor(e,r,n,i){super(),this.parent=r,this.source=n,this.scopes=i,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,rl(e,s=>this.processProvider(s)),this.records.set(Lg,xr(void 0,this)),i.has("environment")&&this.records.set(Se,xr(void 0,this));let o=this.records.get(ea);o!=null&&typeof o.value=="string"&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(jg,Ie,F.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;let e=j(null);try{for(let n of this._ngOnDestroyHooks)n.ngOnDestroy();let r=this._onDestroyHooks;this._onDestroyHooks=[];for(let n of r)n()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),j(e)}}onDestroy(e){return this.assertNotDestroyed(),this._onDestroyHooks.push(e),()=>this.removeOnDestroy(e)}runInContext(e){this.assertNotDestroyed();let r=wn(this),n=_e(void 0),i;try{return e()}finally{wn(r),_e(n)}}get(e,r=xi,n=F.Default){if(this.assertNotDestroyed(),e.hasOwnProperty(Up))return e[Up](this);n=Ks(n);let i,o=wn(this),s=_e(void 0);try{if(!(n&F.SkipSelf)){let c=this.records.get(e);if(c===void 0){let u=JE(e)&&Qs(e);u&&this.injectableDefInScope(u)?c=xr(nl(e),hs):c=null,this.records.set(e,c)}if(c!=null)return this.hydrate(e,c)}let a=n&F.Self?fd():this.parent;return r=n&F.Optional&&r===xi?null:r,a.get(e,r)}catch(a){if(a.name==="NullInjectorError"){if((a[ws]=a[ws]||[]).unshift(Ce(e)),o)throw a;return wE(a,e,"R3InjectorError",this.source)}else throw a}finally{_e(s),wn(o)}}resolveInjectorInitializers(){let e=j(null),r=wn(this),n=_e(void 0),i;try{let o=this.get(Wn,Ie,F.Self);for(let s of o)s()}finally{wn(r),_e(n),j(e)}}toString(){let e=[],r=this.records;for(let n of r.keys())e.push(Ce(n));return`R3Injector[${e.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new E(205,!1)}processProvider(e){e=Ee(e);let r=Pr(e)?e:Ee(e&&e.provide),n=QE(e);if(!Pr(e)&&e.multi===!0){let i=this.records.get(r);i||(i=xr(void 0,hs,!0),i.factory=()=>Ju(i.multi),this.records.set(r,i)),r=e,i.multi.push(e)}this.records.set(r,n)}hydrate(e,r){let n=j(null);try{return r.value===hs&&(r.value=ZE,r.value=r.factory()),typeof r.value=="object"&&r.value&&XE(r.value)&&this._ngOnDestroyHooks.add(r.value),r.value}finally{j(n)}}injectableDefInScope(e){if(!e.providedIn)return!1;let r=Ee(e.providedIn);return typeof r=="string"?r==="any"||this.scopes.has(r):this.injectorDefTypes.has(r)}removeOnDestroy(e){let r=this._onDestroyHooks.indexOf(e);r!==-1&&this._onDestroyHooks.splice(r,1)}};function nl(t){let e=Qs(t),r=e!==null?e.factory:Gn(t);if(r!==null)return r;if(t instanceof D)throw new E(204,!1);if(t instanceof Function)return YE(t);throw new E(204,!1)}function YE(t){if(t.length>0)throw new E(204,!1);let r=oE(t);return r!==null?()=>r.factory(t):()=>new t}function QE(t){if(Kg(t))return xr(void 0,t.useValue);{let e=Xg(t);return xr(e,hs)}}function Xg(t,e,r){let n;if(Pr(t)){let i=Ee(t);return Gn(i)||nl(i)}else if(Kg(t))n=()=>Ee(t.useValue);else if(GE(t))n=()=>t.useFactory(...Ju(t.deps||[]));else if(qE(t))n=()=>y(Ee(t.useExisting));else{let i=Ee(t&&(t.useClass||t.provide));if(KE(t))n=()=>new i(...Ju(t.deps));else return Gn(i)||nl(i)}return n}function xr(t,e,r=!1){return{factory:t,value:e,multi:r?[]:void 0}}function KE(t){return!!t.deps}function XE(t){return t!==null&&typeof t=="object"&&typeof t.ngOnDestroy=="function"}function JE(t){return typeof t=="function"||typeof t=="object"&&t instanceof D}function rl(t,e){for(let r of t)Array.isArray(r)?rl(r,e):r&&kg(r)?rl(r.\u0275providers,e):e(r)}function Je(t,e){t instanceof Ni&&t.assertNotDestroyed();let r,n=wn(t),i=_e(void 0);try{return e()}finally{wn(n),_e(i)}}function Jg(){return Og()!==void 0||yE()!=null}function hd(t){if(!Jg())throw new E(-203,!1)}function eI(t){let e=ye.ng;if(e&&e.\u0275compilerFacade)return e.\u0275compilerFacade;throw new Error("JIT compiler unavailable")}function tI(t){return typeof t=="function"}var Fe=0,_=1,x=2,ve=3,lt=4,ke=5,ft=6,Is=7,ht=8,Fr=9,Ft=10,Q=11,_i=12,Wp=13,zr=14,Re=15,Zn=16,Mr=17,Kt=18,ta=19,em=20,Dn=21,ps=22,Xe=23,ie=25,tm=1,Ai=6,Xt=7,Cs=8,Lr=9,Ae=10,Ss=function(t){return t[t.None=0]="None",t[t.HasTransplantedViews=2]="HasTransplantedViews",t}(Ss||{});function dt(t){return Array.isArray(t)&&typeof t[tm]=="object"}function $t(t){return Array.isArray(t)&&t[tm]===!0}function pd(t){return(t.flags&4)!==0}
8function $i(t){return t.componentOffset>-1}function na(t){return(t.flags&1)===1}function Cn(t){return!!t.template}function Ts(t){return(t[x]&512)!==0}var il=class{constructor(e,r,n){this.previousValue=e,this.currentValue=r,this.firstChange=n}isFirstChange(){return this.firstChange}};function nm(t,e,r,n){e!==null?e.applyValueToInputSignal(e,n):t[r]=n}function tn(){return rm}function rm(t){return t.type.prototype.ngOnChanges&&(t.setInput=rI),nI}tn.ngInherit=!0;function nI(){let t=om(this),e=t?.current;if(e){let r=t.previous;if(r===Or)t.previous=e;else for(let n in e)r[n]=e[n];t.current=null,this.ngOnChanges(e)}}function rI(t,e,r,n,i){let o=this.declaredInputs[n],s=om(t)||iI(t,{previous:Or,current:null}),a=s.current||(s.current={}),c=s.previous,u=c[o];a[o]=new il(u&&u.currentValue,r,c===Or),nm(t,e,i,r)}var im="__ngSimpleChanges__";function om(t){return t[im]||null}function iI(t,e){return t[im]=e}var Zp=null;var Rt=function(t,e,r){Zp?.(t,e,r)},sm="svg",oI="math";function pt(t){for(;Array.isArray(t);)t=t[Fe];return t}function am(t,e){return pt(e[t])}function je(t,e){return pt(e[t.index])}function cm(t,e){return t.data[e]}function ra(t,e){return t[e]}function Mn(t,e){let r=e[t];return dt(r)?r:r[Fe]}function sI(t){return(t[x]&4)===4}function gd(t){return(t[x]&128)===128}function aI(t){return $t(t[ve])}function jr(t,e){return e==null?null:t[e]}function um(t){t[Mr]=0}function lm(t){t[x]&1024||(t[x]|=1024,gd(t)&&oa(t))}function cI(t,e){for(;t>0;)e=e[zr],t--;return e}function ia(t){return!!(t[x]&9216||t[Xe]?.dirty)}function ol(t){t[Ft].changeDetectionScheduler?.notify(8),t[x]&64&&(t[x]|=1024),ia(t)&&oa(t)}function oa(t){t[Ft].changeDetectionScheduler?.notify(0);let e=Yn(t);for(;e!==null&&!(e[x]&8192||(e[x]|=8192,!gd(e)));)e=Yn(e)}function dm(t,e){if((t[x]&256)===256)throw new E(911,!1);t[Dn]===null&&(t[Dn]=[]),t[Dn].push(e)}function uI(t,e){if(t[Dn]===null)return;let r=t[Dn].indexOf(e);r!==-1&&t[Dn].splice(r,1)}function Yn(t){let e=t[ve];return $t(e)?e[ve]:e}var A={lFrame:wm(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var fm=!1;function lI(){return A.lFrame.elementDepthCount}function dI(){A.lFrame.elementDepthCount++}function fI(){A.lFrame.elementDepthCount--}function hm(){return A.bindingsEnabled}function qr(){return A.skipHydrationRootTNode!==null}function hI(t){return A.skipHydrationRootTNode===t}function pI(t){A.skipHydrationRootTNode=t}function gI(){A.skipHydrationRootTNode=null}function N(){return A.lFrame.lView}function oe(){return A.lFrame.tView}function bj(t){return A.lFrame.contextLView=t,t[ht]}function wj(t){return A.lFrame.contextLView=null,t}function be(){let t=pm();for(;t!==null&&t.type===64;)t=t.parent;return t}function pm(){return A.lFrame.currentTNode}function mI(){let t=A.lFrame,e=t.currentTNode;return t.isParent?e:e.parent}function rr(t,e){let r=A.lFrame;r.currentTNode=t,r.isParent=e}function md(){return A.lFrame.isParent}function yd(){A.lFrame.isParent=!1}function yI(){return A.lFrame.contextLView}function gm(){return fm}function Yp(t){fm=t}function ir(){let t=A.lFrame,e=t.bindingRootIndex;return e===-1&&(e=t.bindingRootIndex=t.tView.bindingStartIndex),e}function mm(){return A.lFrame.bindingIndex}function vI(t){return A.lFrame.bindingIndex=t}function Vi(){return A.lFrame.bindingIndex++}function sa(t){let e=A.lFrame,r=e.bindingIndex;return e.bindingIndex=e.bindingIndex+t,r}function bI(){return A.lFrame.inI18n}function wI(t,e){let r=A.lFrame;r.bindingIndex=r.bindingRootIndex=t,sl(e)}function DI(){return A.lFrame.currentDirectiveIndex}function sl(t){A.lFrame.currentDirectiveIndex=t}function EI(t){let e=A.lFrame.currentDirectiveIndex;return e===-1?null:t[e]}function ym(){return A.lFrame.currentQueryIndex}function vd(t){A.lFrame.currentQueryIndex=t}function II(t){let e=t[_];return e.type===2?e.declTNode:e.type===1?t[ke]:null}function vm(t,e,r){if(r&F.SkipSelf){let i=e,o=t;for(;i=i.parent,i===null&&!(r&F.Host);)if(i=II(o),i===null||(o=o[zr],i.type&10))break;if(i===null)return!1;e=i,t=o}let n=A.lFrame=bm();return n.currentTNode=e,n.lView=t,!0}function bd(t){let e=bm(),r=t[_];A.lFrame=e,e.currentTNode=r.firstChild,e.lView=t,e.tView=r,e.contextLView=t,e.bindingIndex=r.bindingStartIndex,e.inI18n=!1}function bm(){let t=A.lFrame,e=t===null?null:t.child;return e===null?wm(t):e}function wm(t){let e={currentTNode:null,isParent:!0,lView:null,tView:null,
8selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:t,child:null,inI18n:!1};return t!==null&&(t.child=e),e}function Dm(){let t=A.lFrame;return A.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}var Em=Dm;function wd(){let t=Dm();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function CI(t){return(A.lFrame.contextLView=cI(t,A.lFrame.contextLView))[ht]}function nn(){return A.lFrame.selectedIndex}function Qn(t){A.lFrame.selectedIndex=t}function aa(){let t=A.lFrame;return cm(t.tView,t.selectedIndex)}function Dj(){A.lFrame.currentNamespace=sm}function Ej(){SI()}function SI(){A.lFrame.currentNamespace=null}function Im(){return A.lFrame.currentNamespace}var Cm=!0;function ca(){return Cm}function Nn(t){Cm=t}function TI(t,e,r){let{ngOnChanges:n,ngOnInit:i,ngDoCheck:o}=e.type.prototype;if(n){let s=rm(e);(r.preOrderHooks??=[]).push(t,s),(r.preOrderCheckHooks??=[]).push(t,s)}i&&(r.preOrderHooks??=[]).push(0-t,i),o&&((r.preOrderHooks??=[]).push(t,o),(r.preOrderCheckHooks??=[]).push(t,o))}function ua(t,e){for(let r=e.directiveStart,n=e.directiveEnd;r<n;r++){let o=t.data[r].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:c,ngAfterViewChecked:u,ngOnDestroy:l}=o;s&&(t.contentHooks??=[]).push(-r,s),a&&((t.contentHooks??=[]).push(r,a),(t.contentCheckHooks??=[]).push(r,a)),c&&(t.viewHooks??=[]).push(-r,c),u&&((t.viewHooks??=[]).push(r,u),(t.viewCheckHooks??=[]).push(r,u)),l!=null&&(t.destroyHooks??=[]).push(r,l)}}function gs(t,e,r){Sm(t,e,3,r)}function ms(t,e,r,n){(t[x]&3)===r&&Sm(t,e,r,n)}function ju(t,e){let r=t[x];(r&3)===e&&(r&=16383,r+=1,t[x]=r)}function Sm(t,e,r,n){let i=n!==void 0?t[Mr]&65535:0,o=n??-1,s=e.length-1,a=0;for(let c=i;c<s;c++)if(typeof e[c+1]=="number"){if(a=e[c],n!=null&&a>=n)break}else e[c]<0&&(t[Mr]+=65536),(a<o||o==-1)&&(xI(t,r,e,c),t[Mr]=(t[Mr]&4294901760)+c+2),c++}function Qp(t,e){Rt(4,t,e);let r=j(null);try{e.call(t)}finally{j(r),Rt(5,t,e)}}function xI(t,e,r,n){let i=r[n]<0,o=r[n+1],s=i?-r[n]:r[n],a=t[s];i?t[x]>>14<t[Mr]>>16&&(t[x]&3)===e&&(t[x]+=16384,Qp(a,o)):Qp(a,o)}var kr=-1,Kn=class{constructor(e,r,n){this.factory=e,this.resolving=!1,this.canSeeViewProviders=r,this.injectImpl=n}};function MI(t){return t instanceof Kn}function NI(t){return(t.flags&8)!==0}function _I(t){return(t.flags&16)!==0}var $u={},al=class{constructor(e,r){this.injector=e,this.parentInjector=r}get(e,r,n){n=Ks(n);let i=this.injector.get(e,$u,n);return i!==$u||r===$u?i:this.parentInjector.get(e,r,n)}};function Tm(t){return t!==kr}function xs(t){return t&32767}function AI(t){return t>>16}function Ms(t,e){let r=AI(t),n=e;for(;r>0;)n=n[zr],r--;return n}var cl=!0;function Ns(t){let e=cl;return cl=t,e}var RI=256,xm=RI-1,Mm=5,kI=0,kt={};function OI(t,e,r){let n;typeof r=="string"?n=r.charCodeAt(0)||0:r.hasOwnProperty(Ci)&&(n=r[Ci]),n==null&&(n=r[Ci]=kI++);let i=n&xm,o=1<<i;e.data[t+(i>>Mm)]|=o}function _s(t,e){let r=Nm(t,e);if(r!==-1)return r;let n=e[_];n.firstCreatePass&&(t.injectorIndex=e.length,Vu(n.data,t),Vu(e,null),Vu(n.blueprint,null));let i=Dd(t,e),o=t.injectorIndex;if(Tm(i)){let s=xs(i),a=Ms(i,e),c=a[_].data;for(let u=0;u<8;u++)e[o+u]=a[s+u]|c[s+u]}return e[o+8]=i,o}function Vu(t,e){t.push(0,0,0,0,0,0,0,0,e)}function Nm(t,e){return t.injectorIndex===-1||t.parent&&t.parent.injectorIndex===t.injectorIndex||e[t.injectorIndex+8]===null?-1:t.injectorIndex}function Dd(t,e){if(t.parent&&t.parent.injectorIndex!==-1)return t.parent.injectorIndex;let r=0,n=null,i=e;for(;i!==null;){if(n=Om(i),n===null)return kr;if(r++,i=i[zr],n.injectorIndex!==-1)return n.injectorIndex|r<<16}return kr}function ul(t,e,r){OI(t,e,r)}function PI(t,e){if(e==="class")return t.classes;if(e==="style")return t.styles;let r=t.attrs;if(r){let n=r.length,i=0;for(;i<n;){let o=r[i];if(Vg(o))break;if(o===0)i=i+2;else if(typeof o=="number")for(i++;i<n&&typeof r[i]=="string";)i++;else{if(o===e)return r[i+1];i=i+2}}}return null}function _m(t,e,r){if(r&F.Optional||t!==void 0)return t;ad(e,"NodeInjector")}function Am(t,e,r,n){if(r&F.Optional&&n===void 0&&(n=null),!(r&(F.Self|F.Host))){let i=t[Fr],o=_e(void 0);try{return i?i.get(e,n,r&F.Optional):Pg(e,n,r&F.Optional)}finally{_e(o)}}return _m(n,e,r)}function Rm(t,e,r,n=F.Default,i){if(t!==null){if(e[x]&2048&&!(n&F.Self)){let s=$I(t,e,r,n,kt);if(s!==kt)return s}let o=km(t,e,r,n,kt);if(o!==kt)return o}return Am(e,r,n,i)}function km(t,e,r,n,i){let o=LI(r);if(typeof o=="function"){if(!vm(e,t,n))return n&F.Host?_m(i,r,n):Am(e,r,n,i);try{let s;if(s=o(n),s==null&&!(n&F.Optional))ad(r);else return s}finally{Em()}}else if(typeof o=="number"){let s=null,a=Nm(t,e),c=kr,u=n&F.Host?e[Re][ke]:null;for((a===-1||n&F.SkipSelf)&&(c=a===-1?Dd(t,e):e[a+8],c===kr||!Xp(n,!1)?a=-1:(s=e[_],a=xs(c),e=Ms(c,e)));a!==-1;){let l=e[_];if(Kp(o,a,l.data)){let d=FI(a,e,r,s,n,u);if(d!==kt)return d}c=e[a+8],c!==kr&&Xp(n,e[_].data[a+8]===u)&&Kp(o,a,e)?(s=l,a=xs(c),e=Ms(c,e)):a=-1}}return i}function FI(t,e,r,n,i,o){let s=e[_],a=s.data[t+8],c=n==null?$i(a)&&cl:n!=s&&(a.type&3)!==0,u=i&F.Host&&o===a,l=ys(a,s,r,c,u);return l!==null?Xn(e,s,l,a):kt}function ys(t,e,r,n,i){let o=t.providerIndexes,s=e.data,a=o&1048575,c=t.directiveStart,u=t.directiveEnd,l=o>>20,d=n?a:a+l,f=i?a+l:u;for(let h=d;h<f;h++){let p=s[h];if(h<c&&r===p||h>=c&&p.type===r)return h}if(i){let h=s[c];if(h&&Cn(h)&&h.type===r)return c}return null}function Xn(t,e,r,n){let i=t[r],o=e.data;if(MI(i)){let s=i;s.resolving&&fE(dE(o[r]));let a=Ns(s.canSeeViewProviders);s.resolving=!0;let c,u=s.injectImpl?_e(s.injectImpl):null,l=vm(t,n,F.Default);try{i=t[r]=s.factory(void 0,o,t,n),e.firstCreatePass&&r>=n.directiveStart&&TI(r,o[r],e)}finally{u!==null&&_e(u),Ns(a),s.resolving=!1,Em()}}return i}function LI(t){if(typeof t=="string")return t.charCodeAt(0)||0;let e=t.hasOwnProperty(Ci)?t[Ci]:void 0;return typeof e=="number"?e>=0?e&xm:jI:e}function Kp(t,e,r){let n=1<<t;return!!(r[e+(t>>Mm)]&n)}function Xp(t,e){return!(t&F.Self)&&!(t&F.Host&&e)}var qn=class{constructor(e,r){this._tNode=e,this._lView=r}get(e,r,n){return Rm(this._tNode,this._lView,e,Ks(n),r)}};function jI(){return new qn(be(),N())}function Ed(t){return Fi(()=>{let e=t.prototype.constructor,r=e[bs]||ll(e),n=Object.prototype,i=Object.getPrototypeOf(t.prototype).constructor;for(;i&&i!==n;){let o=i[bs]||ll(i);if(o&&o!==r)return o;i=Object.getPrototypeOf(i)}return o=>new o})}function ll(t){return Ng(t)?()=>{let e=ll(Ee(t));return e&&e()}:Gn(t)}function $I(t,e,r,n,i){let o=t,s=e;for(;o!==null&&s!==null&&s[x]&2048&&!(s[x]&512);){let a=km(o,s,r,n|F.Self,kt);if(a!==kt)return a;let c=o.parent;if(!c){let u=s[em];if(u){let l=u.get(r,kt,n);if(l!==kt)return l}c=Om(s),s=s[zr]}o=c}return i}
8function Om(t){let e=t[_],r=e.type;return r===2?e.declTNode:r===1?t[ke]:null}function Id(t){return PI(be(),t)}function Jp(t,e=null,r=null,n){let i=Pm(t,e,r,n);return i.resolveInjectorInitializers(),i}function Pm(t,e=null,r=null,n,i=new Set){let o=[r||Ie,HE(t)];return n=n||(typeof t=="object"?void 0:Ce(t)),new Ni(o,e||fd(),n||null,i)}var Hn=class Hn{static create(e,r){if(Array.isArray(e))return Jp({name:""},r,e,"");{let n=e.name??"";return Jp({name:n},e.parent,e.providers,n)}}};Hn.THROW_IF_NOT_FOUND=xi,Hn.NULL=new Es,Hn.\u0275prov=b({token:Hn,providedIn:"any",factory:()=>y(Lg)}),Hn.__NG_ELEMENT_ID__=-1;var De=Hn;var VI=new D("");VI.__NG_ELEMENT_ID__=t=>{let e=be();if(e===null)throw new E(204,!1);if(e.type&2)return e.value;if(t&F.Optional)return null;throw new E(204,!1)};var UI="ngOriginalError";function Uu(t){return t[UI]}var Fm=!0,la=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=BI,e.__NG_ENV_ID__=n=>n;let t=e;return t})(),dl=class extends la{constructor(e){super(),this._lView=e}onDestroy(e){return dm(this._lView,e),()=>uI(this._lView,e)}};function BI(){return new dl(N())}var rn=(()=>{let e=class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new de(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let n=this.taskId++;return this.pendingTasks.add(n),n}remove(n){this.pendingTasks.delete(n),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}};e.\u0275prov=b({token:e,providedIn:"root",factory:()=>new e});let t=e;return t})();var fl=class extends te{constructor(e=!1){super(),this.destroyRef=void 0,this.pendingTasks=void 0,this.__isAsync=e,Jg()&&(this.destroyRef=g(la,{optional:!0})??void 0,this.pendingTasks=g(rn,{optional:!0})??void 0)}emit(e){let r=j(null);try{super.next(e)}finally{j(r)}}subscribe(e,r,n){let i=e,o=r||(()=>null),s=n;if(e&&typeof e=="object"){let c=e;i=c.next?.bind(c),o=c.error?.bind(c),s=c.complete?.bind(c)}this.__isAsync&&(o=this.wrapInTimeout(o),i&&(i=this.wrapInTimeout(i)),s&&(s=this.wrapInTimeout(s)));let a=super.subscribe({next:i,error:o,complete:s});return e instanceof P&&e.add(a),a}wrapInTimeout(e){return r=>{let n=this.pendingTasks?.add();setTimeout(()=>{e(r),n!==void 0&&this.pendingTasks?.remove(n)})}}},ae=fl;function As(...t){}function Lm(t){let e,r;function n(){t=As;try{r!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(r),e!==void 0&&clearTimeout(e)}catch{}}return e=setTimeout(()=>{t(),n()}),typeof requestAnimationFrame=="function"&&(r=requestAnimationFrame(()=>{t(),n()})),()=>n()}function eg(t){return queueMicrotask(()=>t()),()=>{t=As}}var Cd="isAngularZone",Rs=Cd+"_ID",HI=0,U=class t{constructor(e){this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new ae(!1),this.onMicrotaskEmpty=new ae(!1),this.onStable=new ae(!1),this.onError=new ae(!1);let{enableLongStackTrace:r=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:i=!1,scheduleInRootZone:o=Fm}=e;if(typeof Zone>"u")throw new E(908,!1);Zone.assertZonePatched();let s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),r&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!i&&n,s.shouldCoalesceRunChangeDetection=i,s.callbackScheduled=!1,s.scheduleInRootZone=o,GI(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(Cd)===!0}static assertInAngularZone(){if(!t.isInAngularZone())throw new E(909,!1)}static assertNotInAngularZone(){if(t.isInAngularZone())throw new E(909,!1)}run(e,r,n){return this._inner.run(e,r,n)}runTask(e,r,n,i){let o=this._inner,s=o.scheduleEventTask("NgZoneEvent: "+i,e,zI,As,As);try{return o.runTask(s,r,n)}finally{o.cancelTask(s)}}runGuarded(e,r,n){return this._inner.runGuarded(e,r,n)}runOutsideAngular(e){return this._outer.run(e)}},zI={};function Sd(t){if(t._nesting==0&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function qI(t){if(t.isCheckStableRunning||t.callbackScheduled)return;t.callbackScheduled=!0;function e(){Lm(()=>{t.callbackScheduled=!1,hl(t),t.isCheckStableRunning=!0,Sd(t),t.isCheckStableRunning=!1})}t.scheduleInRootZone?Zone.root.run(()=>{e()}):t._outer.run(()=>{e()}),hl(t)}function GI(t){let e=()=>{qI(t)},r=HI++;t._inner=t._inner.fork({name:"angular",properties:{[Cd]:!0,[Rs]:r,[Rs+r]:!0},onInvokeTask:(n,i,o,s,a,c)=>{if(WI(c))return n.invokeTask(o,s,a,c);try{return tg(t),n.invokeTask(o,s,a,c)}finally{(t.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||t.shouldCoalesceRunChangeDetection)&&e(),ng(t)}},onInvoke:(n,i,o,s,a,c,u)=>{try{return tg(t),n.invoke(o,s,a,c,u)}finally{t.shouldCoalesceRunChangeDetection&&!t.callbackScheduled&&!ZI(c)&&e(),ng(t)}},onHasTask:(n,i,o,s)=>{n.hasTask(o,s),i===o&&(s.change=="microTask"?(t._hasPendingMicrotasks=s.microTask,hl(t),Sd(t)):s.change=="macroTask"&&(t.hasPendingMacrotasks=s.macroTask))},onHandleError:(n,i,o,s)=>(n.handleError(o,s),t.runOutsideAngular(()=>t.onError.emit(s)),!1)})}function hl(t){t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&t.callbackScheduled===!0?t.hasPendingMicrotasks=!0:t.hasPendingMicrotasks=!1}function tg(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function ng(t){t._nesting--,Sd(t)}var Ri=class{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new ae,this.onMicrotaskEmpty=new ae,this.onStable=new ae,this.onError=ne
8w ae}run(e,r,n){return e.apply(r,n)}runGuarded(e,r,n){return e.apply(r,n)}runOutsideAngular(e){return e()}runTask(e,r,n,i){return e.apply(r,n)}};function WI(t){return jm(t,"__ignore_ng_zone__")}function ZI(t){return jm(t,"__scheduler_tick__")}function jm(t,e){return!Array.isArray(t)||t.length!==1?!1:t[0]?.data?.[e]===!0}function YI(t="zone.js",e){return t==="noop"?new Ri:t==="zone.js"?new U(e):t}var Lt=class{constructor(){this._console=console}handleError(e){let r=this._findOriginalError(e);this._console.error("ERROR",e),r&&this._console.error("ORIGINAL ERROR",r)}_findOriginalError(e){let r=e&&Uu(e);for(;r&&Uu(r);)r=Uu(r);return r||null}},QI=new D("",{providedIn:"root",factory:()=>{let t=g(U),e=g(Lt);return r=>t.runOutsideAngular(()=>e.handleError(r))}});function KI(){return Gr(be(),N())}function Gr(t,e){return new Oe(je(t,e))}var Oe=(()=>{let e=class e{constructor(n){this.nativeElement=n}};e.__NG_ELEMENT_ID__=KI;let t=e;return t})();function XI(t){return t instanceof Oe?t.nativeElement:t}function JI(){return this._results[Symbol.iterator]()}var pl=class t{get changes(){return this._changes??=new ae}constructor(e=!1){this._emitDistinctChangesOnly=e,this.dirty=!0,this._onDirty=void 0,this._results=[],this._changesDetected=!1,this._changes=void 0,this.length=0,this.first=void 0,this.last=void 0;let r=t.prototype;r[Symbol.iterator]||(r[Symbol.iterator]=JI)}get(e){return this._results[e]}map(e){return this._results.map(e)}filter(e){return this._results.filter(e)}find(e){return this._results.find(e)}reduce(e,r){return this._results.reduce(e,r)}forEach(e){this._results.forEach(e)}some(e){return this._results.some(e)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(e,r){this.dirty=!1;let n=IE(e);(this._changesDetected=!EE(this._results,n,r))&&(this._results=n,this.length=n.length,this.last=n[this.length-1],this.first=n[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}onDirty(e){this._onDirty=e}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}},eC="ngSkipHydration",tC="ngskiphydration";function $m(t){let e=t.mergedAttrs;if(e===null)return!1;for(let r=0;r<e.length;r+=2){let n=e[r];if(typeof n=="number")return!1;if(typeof n=="string"&&n.toLowerCase()===tC)return!0}return!1}function Vm(t){return t.hasAttribute(eC)}function ks(t){return(t.flags&128)===128}function nC(t){if(ks(t))return!0;let e=t.parent;for(;e;){if(ks(t)||$m(e))return!0;e=e.parent}return!1}var Um=new Map,rC=0;function iC(){return rC++}function oC(t){Um.set(t[ta],t)}function gl(t){Um.delete(t[ta])}var rg="__ngContext__";function Sn(t,e){dt(e)?(t[rg]=e[ta],oC(e)):t[rg]=e}function Bm(t){return zm(t[_i])}function Hm(t){return zm(t[lt])}function zm(t){for(;t!==null&&!$t(t);)t=t[lt];return t}var ml;function qm(t){ml=t}function Ui(){if(ml!==void 0)return ml;if(typeof document<"u")return document;throw new E(210,!1)}var Bi=new D("",{providedIn:"root",factory:()=>sC}),sC="ng",Td=new D(""),pe=new D("",{providedIn:"platform",factory:()=>"unknown"});var Ij=new D(""),xd=new D("",{providedIn:"root",factory:()=>Ui().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),Md={breakpoints:[16,32,48,64,96,128,256,384,640,750,828,1080,1200,1920,2048,3840],placeholderResolution:30,disableImageSizeWarning:!1,disableImageLazyLoadWarning:!1},Gm=new D("",{providedIn:"root",factory:()=>Md});function aC(){let t=new Wr;return g(pe)==="browser"&&(t.store=cC(Ui(),g(Bi))),t}var Wr=(()=>{let e=class e{constructor(){this.store={},this.onSerializeCallbacks={}}get(n,i){return this.store[n]!==void 0?this.store[n]:i}set(n,i){this.store[n]=i}remove(n){delete this.store[n]}hasKey(n){return this.store.hasOwnProperty(n)}get isEmpty(){return Object.keys(this.store).length===0}onSerialize(n,i){this.onSerializeCallbacks[n]=i}toJson(){for(let n in this.onSerializeCallbacks)if(this.onSerializeCallbacks.hasOwnProperty(n))try{this.store[n]=this.onSerializeCallbacks[n]()}catch(i){console.warn("Exception in onSerialize callback: ",i)}return JSON.stringify(this.store).replace(/</g,"\\u003C")}};e.\u0275prov=b({token:e,providedIn:"root",factory:aC});let t=e;return t})();function cC(t,e){let r=t.getElementById(e+"-state");if(r?.textContent)try{return JSON.parse(r.textContent)}catch(n){console.warn("Exception while restoring TransferState for app "+e,n)}return{}}var Wm="h",Zm="b",yl=function(t){return t.FirstChild="f",t.NextSibling="n",t}(yl||{}),uC="e",lC="t",Nd="c",Ym="x",Os="r",dC="i",fC="n",Qm="d";var hC="__nghData__",Km=hC,Bu="ngh",pC="nghm",Xm=()=>null;function gC(t,e,r=!1){let n=t.getAttribute(Bu);if(n==null)return null;let[i,o]=n.split("|");if(n=r?o:i,!n)return null;let s=o?`|${o}`:"",a=r?i:s,c={};if(n!==""){let l=e.get(Wr,null,{optional:!0});l!==null&&(c=l.get(Km,[])[Number(n)])}let u={data:c,firstChild:t.firstChild??null};return r&&(u.firstChild=t,da(u,0,t.nextSibling)),a?t.setAttribute(Bu,a):t.removeAttribute(Bu),u}function mC(){Xm=gC}function _d(t,e,r=!1){return Xm(t,e,r)}function yC(t){let e=t._lView;return e[_].type===2?null:(Ts(e)&&(e=e[ie]),e)}function vC(t){return t.textContent?.replace(/\s/gm,"")}function bC(t){let e=Ui(),r=e.createNodeIterator(t,NodeFilter.SHOW_COMMENT,{acceptNode(o){let s=vC(o);return s==="ngetn"||s==="ngtns"?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_REJECT}}),n,i=[];for(;n=r.nextNode();)i.push(n);for(let o of i)o.textContent==="ngetn"?o.replaceWith(e.createTextNode("")):o.remove()}function da(t,e,r){t.segmentHeads??={},t.segmentHeads[e]=r}function vl(t,e){return t.segmentHeads?.[e]??null}function wC(t,e){let r=t.data,n=r[uC]?.[e]??null;return n===null&&r[Nd]?.[e]&&(n=Ad(t,e)),n}function Jm(t,e){return t.data[Nd]?.[e]??null}function Ad(t,e){let r=Jm(t,e)??[],n=0;for(let i of r)n+=i[Os]*(i[Ym]??1);return n}function DC(t){if(typeof t.disconnectedNodes>"u"){let e=t.data[Qm];t.disconnectedNodes=e?new Set(e):null}return t.disconnectedNodes}function Hi(t,e){if(typeof t.disconnectedNodes>"u"){let r=t.data[Qm];t.disconnectedNodes=r?new Set(r):null}return!!DC(t)?.has(e)}var is=new D(""),ey=!1,ty=new D("",{providedIn:"root",factory:()=>ey});var os;function EC(){if(os===void 0&&(os=null,ye.trustedTypes))try{os=ye.trustedTypes.createPolicy("angular",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return os}function fa(t){return EC()?.createHTML(t)||t}var ss;function ny(){if(ss===void 0&&(ss=null,ye.trustedTypes))try{ss=ye.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return ss}function ig(t){return ny()?.createHTML(t)||t}function og(t){return ny()?.createScriptURL(t)||t}var Jt=class{constructor(e){this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${xg})`}},bl=class extends Jt{getTypeName(){return"HTML"}},wl=class extends Jt{getTypeName(){return"Style"}}
vendor: 9,535 bytes, line 8
8,Dl=class extends Jt{getTypeName(){return"Script"}},El=class extends Jt{getTypeName(){return"URL"}},Il=class extends Jt{getTypeName(){return"ResourceURL"}};function $e(t){return t instanceof Jt?t.changingThisBreaksApplicationSecurity:t}function on(t,e){let r=IC(t);if(r!=null&&r!==e){if(r==="ResourceURL"&&e==="URL")return!0;throw new Error(`Required a safe ${e}, got a ${r} (see ${xg})`)}return r===e}function IC(t){return t instanceof Jt&&t.getTypeName()||null}function ry(t){return new bl(t)}function iy(t){return new wl(t)}function oy(t){return new Dl(t)}function sy(t){return new El(t)}function ay(t){return new Il(t)}function CC(t){let e=new Sl(t);return SC()?new Cl(e):e}var Cl=class{constructor(e){this.inertDocumentHelper=e}getInertBodyElement(e){e="<body><remove></remove>"+e;try{let r=new window.DOMParser().parseFromString(fa(e),"text/html").body;return r===null?this.inertDocumentHelper.getInertBodyElement(e):(r.firstChild?.remove(),r)}catch{return null}}},Sl=class{constructor(e){this.defaultDoc=e,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(e){let r=this.inertDocument.createElement("template");return r.innerHTML=fa(e),r}};function SC(){try{return!!new window.DOMParser().parseFromString(fa(""),"text/html")}catch{return!1}}var TC=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function ha(t){return t=String(t),t.match(TC)?t:"unsafe:"+t}function sn(t){let e={};for(let r of t.split(","))e[r]=!0;return e}function zi(...t){let e={};for(let r of t)for(let n in r)r.hasOwnProperty(n)&&(e[n]=!0);return e}var cy=sn("area,br,col,hr,img,wbr"),uy=sn("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),ly=sn("rp,rt"),xC=zi(ly,uy),MC=zi(uy,sn("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")),NC=zi(ly,sn("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")),sg=zi(cy,MC,NC,xC),dy=sn("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),_C=sn("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"),AC=sn("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"),RC=zi(dy,_C,AC),kC=sn("script,style,template"),Tl=class{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(e){let r=e.firstChild,n=!0,i=[];for(;r;){if(r.nodeType===Node.ELEMENT_NODE?n=this.startElement(r):r.nodeType===Node.TEXT_NODE?this.chars(r.nodeValue):this.sanitizedSomething=!0,n&&r.firstChild){i.push(r),r=FC(r);continue}for(;r;){r.nodeType===Node.ELEMENT_NODE&&this.endElement(r);let o=PC(r);if(o){r=o;break}r=i.pop()}}return this.buf.join("")}startElement(e){let r=ag(e).toLowerCase();if(!sg.hasOwnProperty(r))return this.sanitizedSomething=!0,!kC.hasOwnProperty(r);this.buf.push("<"),this.buf.push(r);let n=e.attributes;for(let i=0;i<n.length;i++){let o=n.item(i),s=o.name,a=s.toLowerCase();if(!RC.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let c=o.value;dy[a]&&(c=ha(c)),this.buf.push(" ",s,'="',cg(c),'"')}return this.buf.push(">"),!0}endElement(e){let r=ag(e).toLowerCase();sg.hasOwnProperty(r)&&!cy.hasOwnProperty(r)&&(this.buf.push("</"),this.buf.push(r),this.buf.push(">"))}chars(e){this.buf.push(cg(e))}};function OC(t,e){return(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function PC(t){let e=t.nextSibling;if(e&&t!==e.previousSibling)throw fy(e);return e}function FC(t){let e=t.firstChild;if(e&&OC(t,e))throw fy(e);return e}function ag(t){let e=t.nodeName;return typeof e=="string"?e:"FORM"}function fy(t){return new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`)}var LC=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,jC=/([^\#-~ |!])/g;function cg(t){return t.replace(/&/g,"&amp;").replace(LC,function(e){let r=e.charCodeAt(0),n=e.charCodeAt(1);return"&#"+((r-55296)*1024+(n-56320)+65536)+";"}).replace(jC,function(e){return"&#"+e.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}var as;function Rd(t,e){let r=null;try{as=as||CC(t);let n=e?String(e):"";r=as.getInertBodyElement(n);let i=5,o=n;do{if(i===0)throw new Error("Failed to sanitize html because the input is unstable");i--,n=o,o=r.innerHTML,r=as.getInertBodyElement(n)}while(n!==o);let a=new Tl().sanitizeChildren(ug(r)||r);return fa(a)}finally{if(r){let n=ug(r)||r;for(;n.firstChild;)n.firstChild.remove()}}}function ug(t){return"content"in t&&$C(t)?t.content:null}function $C(t){return t.nodeType===Node.ELEMENT_NODE&&t.nodeName==="TEMPLATE"}var Ve=function(t){return t[t.NONE=0]="NONE",t[t.HTML=1]="HTML",t[t.STYLE=2]="STYLE",t[t.SCRIPT=3]="SCRIPT",t[t.URL=4]="URL",t[t.RESOURCE_URL=5]="RESOURCE_URL",t}(Ve||{});function Cj(t){let e=kd();return e?ig(e.sanitize(Ve.HTML,t)||""):on(t,"HTML")?ig($e(t)):Rd(Ui(),Ot(t))}function VC(t){let e=kd();return e?e.sanitize(Ve.URL,t)||"":on(t,"URL")?$e(t):ha(Ot(t))}function UC(t){let e=kd();if(e)return og(e.sanitize(Ve.RESOURCE_URL,t)||"");if(on(t,"ResourceURL"))return og($e(t));throw new E(904,!1)}function BC(t,e){return e==="src"&&(t==="embed"||t==="frame"||t==="iframe"||t==="media"||t==="script")||e==="href"&&(t==="base"||t==="link")?UC:VC}function hy(t,e,r){return BC(e,r)(t)}function kd(){let t=N();return t&&t[Ft].sanitizer}var HC=/^>|^->|<!--|-->|--!>|<!-$/g,zC=/(<|>)/g,qC="\u200B$1\u200B";function GC(t){return t.replace(HC,e=>e.replace(zC,qC))}function Sj(t){return t.ownerDocument.defaultView}function Tj(t){return t.ownerDocument}function WC(t){return t.ownerDocument.body}function py(t){return t instanceof Function?t():t}function Nr(t){return(t??g(De)).get(pe)==="browser"}var jt=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}(jt||{}),ZC;function Od(t,e){return ZC(t,e)}function _r(t,e,r,n,i){if(n!=null){let o,s=!1;$t(n)?o=n:dt(n)&&(s=!0,n=n[Fe]);let a=pt(n);t===0&&r!==null?i==null?Dy(e,r,a):Ps(e,r,a,i||null,!0):t===1&&r!==null?Ps(e,r,a,i||null,!0):t===2?Ld(e,a,s):t===3&&e.destroyNode(a),o!=null&&aS(e,t,o,r,i)}}function gy(t,e){return t.createText(e)}function YC(t,e,r){t.setValue(e,r)}function my(t,e){return t.createComment(GC(e))}function Pd(t,e,r){return t.createElement(e,r)}function QC(t,e){yy(t,e),e[Fe]=null,e[ke]=null}function KC(t,e,r,n,i,o){n[Fe]=i,n[ke]=e,ga(t,n,r,1,i,o)}function yy(t,e){e[Ft].changeDetectionScheduler?.notify(9),ga(t,e,e[Q],2,null,null)}function XC(t){let e=t[_i];if(!e)return Hu(t[_],t);for(;e;){let r=null;if(dt(e))r=e[_i];else{let n=e[Ae];n&&(r=n)}if(!r){for(;e&&!e[lt]&&e!==t;)dt(e)&&Hu(e[_],e),e=e[ve];e===null&&(e=t),dt(e)&&Hu(e[_],e),r=e&&e[lt]}e=r}}function JC(t,e,r,n){let i=Ae+n,o=r.length;n>0&&(r[i-1][lt]=e),n<o-Ae?(e[lt]=r[i],Fg(r,Ae+n,e)):(r.push(e),e[lt]=null),e[ve]=r;let s=e[Zn];s!==null&&r!==s&&vy(s,e);let a=e[Kt];a!==null&&a.insertView(t),ol(e),e[x]|=128}function vy(t,e){let r=t[Lr],n=e[ve];if(dt(n))t[x]|=Ss.HasTransplantedViews;else{let i=n[ve][Re];e[Re]!==i&&(t[x]|=Ss.HasTransplantedViews)}r===null?t[Lr]=[e]:r.push(e)}function Fd(t,e){let r=t[Lr],n=r.indexOf(e);r.splice(n,1)}function xl(t,e){if(t.length<=Ae)return;let r=Ae+e,n=t[r];if(n){let i=n[Zn];i!==null&&i!==t&&Fd(i,n),e>0&&(t[r-1][lt]=n[lt]);let o=Ds(t,Ae+e);QC(n[_],n);let s=o[Kt];s!==null&&s.detachView(o[_]),n[ve]=null,n[lt]=null,n[x]&=-129}return n}function by(t,e){if(!(e[x]&256)){let r=e[Q];r.destroyNode&&ga(t,e,r,3,null,null),XC(e)}}function Hu(t,e){if(e[x]&256)return;let r=j(null);try{e[x]&=-129,e[x]|=256,e[Xe]&&Lo(e[Xe]),tS(t,e),eS(t,e),e[_].type===1&&e[Q].destroy();let n=e[Zn];if(n!==null&&$t(e[ve])){n!==e[ve]&&Fd(n,e);let i=e[Kt];i!==null&&i.detachView(t)}gl(e)}finally{j(r)}}function eS(t,e){let r=t.cleanup,n=e[Is];if(r!==null)for(let o=0;o<r.length-1;o+=2)if(typeof r[o]=="string"){let s=r[o+3];s>=0?n[s]():n[-s].unsubscribe(),o+=2}else{let s=n[r[o+1]];r[o].call(s)}n!==null&&(e[Is]=null);let i=e[Dn];if(i!==null){e[Dn]=null;for(let o=0;o<i.length;o++){let s=i[o];s()}}}function tS(t,e){let r;if(t!=null&&(r=t.destroyHooks)!=null)for(let n=0;n<r.length;n+=2){let i=e[r[n]];if(!(i instanceof Kn)){let o=r[n+1];if(Array.isArray(o))for(let s=0;s<o.length;s+=2){let a=i[o[s]],c=o[s+1];Rt(4,a,c);try{c.call(a)}finally{Rt(5,a,c)}}else{Rt(4,i,o);try{o.call(i)}finally{Rt(5,i,o)}}}}}function wy(t,e,r){return nS(t,e.parent,r)}function nS(t,e,r){let n=e;for(;n!==null&&n.type&168;)e=n,n=e.parent;if(n===null)return r[Fe];
8{let{componentOffset:i}=n;if(i>-1){let{encapsulation:o}=t.data[n.directiveStart+i];if(o===Pt.None||o===Pt.Emulated)return null}return je(n,r)}}function Ps(t,e,r,n,i){t.insertBefore(e,r,n,i)}function Dy(t,e,r){t.appendChild(e,r)}function lg(t,e,r,n,i){n!==null?Ps(t,e,r,n,i):Dy(t,e,r)}function Ey(t,e){return t.parentNode(e)}function rS(t,e){return t.nextSibling(e)}function Iy(t,e,r){return oS(t,e,r)}function iS(t,e,r){return t.type&40?je(t,r):null}var oS=iS,dg;function pa(t,e,r,n){let i=wy(t,n,e),o=e[Q],s=n.parent||e[ke],a=Iy(s,n,e);if(i!=null)if(Array.isArray(r))for(let c=0;c<r.length;c++)lg(o,i,r[c],a,!1);else lg(o,i,r,a,!1);dg!==void 0&&dg(o,n,e,r,i)}function Ii(t,e){if(e!==null){let r=e.type;if(r&3)return je(e,t);if(r&4)return Ml(-1,t[e.index]);if(r&8){let n=e.child;if(n!==null)return Ii(t,n);{let i=t[e.index];return $t(i)?Ml(-1,i):pt(i)}}else{if(r&128)return Ii(t,e.next);if(r&32)return Od(e,t)()||pt(t[e.index]);{let n=Cy(t,e);if(n!==null){if(Array.isArray(n))return n[0];let i=Yn(t[Re]);return Ii(i,n)}else return Ii(t,e.next)}}}return null}function Cy(t,e){if(e!==null){let n=t[Re][ke],i=e.projection;return n.projection[i]}return null}function Ml(t,e){let r=Ae+t+1;if(r<e.length){let n=e[r],i=n[_].firstChild;if(i!==null)return Ii(n,i)}return e[Xt]}function Ld(t,e,r){t.removeChild(null,e,r)}function Sy(t){t.textContent=""}function jd(t,e,r,n,i,o,s){for(;r!=null;){if(r.type===128){r=r.next;continue}let a=n[r.index],c=r.type;if(s&&e===0&&(a&&Sn(pt(a),n),r.flags|=2),(r.flags&32)!==32)if(c&8)jd(t,e,r.child,n,i,o,!1),_r(e,t,i,a,o);else if(c&32){let u=Od(r,n),l;for(;l=u();)_r(e,t,i,l,o);_r(e,t,i,a,o)}else c&16?Ty(t,e,n,r,i,o):_r(e,t,i,a,o);r=s?r.projectionNext:r.next}}function ga(t,e,r,n,i,o){jd(r,n,t.firstChild,e,i,o,!1)}function sS(t,e,r){let n=e[Q],i=wy(t,r,e),o=r.parent||e[ke],s=Iy(o,r,e);Ty(n,0,e,r,i,s)}function Ty(t,e,r,n,i,o){let s=r[Re],c=s[ke].projection[n.projection];if(Array.isArray(c))for(let u=0;u<c.length;u++){let l=c[u];_r(e,t,i,l,o)}else{let u=c,l=s[ve];ks(n)&&(u.flags|=128),jd(t,e,u,l,i,o,!0)}}function aS(t,e,r,n,i){let o=r[Xt],s=pt(r);o!==s&&_r(e,t,n,o,i);for(let a=Ae;a<r.length;a++){let c=r[a];ga(c[_],c,t,e,n,o)}}function cS(t,e,r,n,i){if(e)i?t.addClass(r,n):t.removeClass(r,n);else{let o=n.indexOf("-")===-1?void 0:jt.DashCase;i==null?t.removeStyle(r,n,o):(typeof i=="string"&&i.endsWith("!important")&&(i=i.slice(0,-10),o|=jt.Important),t.setStyle(r,n,i,o))}}function uS(t,e,r){t.setAttribute(e,"style",r)}function xy(t,e,r){r===""?t.removeAttribute(e,"class"):t.setAttribute(e,"class",r)}function My(t,e,r){let{mergedAttrs:n,classes:i,styles:o}=r;n!==null&&el(t,e,n),i!==null&&xy(t,e,i),o!==null&&uS(t,e,o)}var Pe={};function Ny(t=1){_y(oe(),N(),nn()+t,!1)}function _y(t,e,r,n){if(!n)if((e[x]&3)===3){let o=t.preOrderCheckHooks;o!==null&&gs(e,o,r)}else{let o=t.preOrderHooks;o!==null&&ms(e,o,0,r)}Qn(r)}function R(t,e=F.Default){let r=N();if(r===null)return y(t,e);let n=be();return Rm(n,r,Ee(t),e)}function Ay(){let t="invalid";throw new Error(t)}function Ry(t,e,r,n,i,o){let s=j(null);try{let a=null;i&En.SignalBased&&(a=e[n][Ct]),a!==null&&a.transformFn!==void 0&&(o=a.transformFn(o)),i&En.HasDecoratorInputTransform&&(o=t.inputTransforms[n].call(e,o)),t.setInput!==null?t.setInput(e,a,o,r,n):nm(e,a,n,o)}finally{j(s)}}function lS(t,e){let r=t.hostBindingOpCodes;if(r!==null)try{for(let n=0;n<r.length;n++){let i=r[n];if(i<0)Qn(~i);else{let o=i,s=r[++n],a=r[++n];wI(s,o);let c=e[o];a(2,c)}}}finally{Qn(-1)}}function ma(t,e,r,n,i,o,s,a,c,u,l){let d=e.blueprint.slice();return d[Fe]=i,d[x]=n|4|128|8|64,(u!==null||t&&t[x]&2048)&&(d[x]|=2048),um(d),d[ve]=d[zr]=t,d[ht]=r,d[Ft]=s||t&&t[Ft],d[Q]=a||t&&t[Q],d[Fr]=c||t&&t[Fr]||null,d[ke]=o,d[ta]=iC(),d[ft]=l,d[em]=u,d[Re]=e.type==2?t[Re]:d,d}function Zr(t,e,r,n,i){let o=t.data[e];if(o===null)o=dS(t,e,r,n,i),bI()&&(o.flags|=32);else if(o.type&64){o.type=r,o.value=n,o.attrs=i;let s=mI();o.injectorIndex=s===null?-1:s.injectorIndex}return rr(o,!0),o}function dS(t,e,r,n,i){let o=pm(),s=md(),a=s?o:o&&o.parent,c=t.data[e]=vS(t,a,r,e,n,i);return t.firstChild===null&&(t.firstChild=c),o!==null&&(s?o.child==null&&c.parent!==null&&(o.child=c):o.next===null&&(o.next=c,c.prev=o)),c}function ky(t,e,r,n){if(r===0)return-1;let i=e.length;for(let o=0;o<r;
8o++)e.push(n),t.blueprint.push(n),t.data.push(null);return i}function Oy(t,e,r,n,i){let o=nn(),s=n&2;try{Qn(-1),s&&e.length>ie&&_y(t,e,ie,!1),Rt(s?2:0,i),r(n,i)}finally{Qn(o),Rt(s?3:1,i)}}function $d(t,e,r){if(pd(e)){let n=j(null);try{let i=e.directiveStart,o=e.directiveEnd;for(let s=i;s<o;s++){let a=t.data[s];if(a.contentQueries){let c=r[s];a.contentQueries(1,c,s)}}}finally{j(n)}}}function Vd(t,e,r){hm()&&(CS(t,e,r,je(r,e)),(r.flags&64)===64&&jy(t,e,r))}function Ud(t,e,r=je){let n=e.localNames;if(n!==null){let i=e.index+1;for(let o=0;o<n.length;o+=2){let s=n[o+1],a=s===-1?r(e,t):t[s];t[i++]=a}}}function Py(t){let e=t.tView;return e===null||e.incompleteFirstPass?t.tView=Bd(1,null,t.template,t.decls,t.vars,t.directiveDefs,t.pipeDefs,t.viewQuery,t.schemas,t.consts,t.id):e}function Bd(t,e,r,n,i,o,s,a,c,u,l){let d=ie+n,f=d+i,h=fS(d,f),p=typeof u=="function"?u():u;return h[_]={type:t,blueprint:h,template:r,queries:null,viewQuery:a,declTNode:e,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:typeof o=="function"?o():o,pipeRegistry:typeof s=="function"?s():s,firstChild:null,schemas:c,consts:p,incompleteFirstPass:!1,ssrId:l}}function fS(t,e){let r=[];for(let n=0;n<e;n++)r.push(n<t?null:Pe);return r}function hS(t,e,r,n){let o=n.get(ty,ey)||r===Pt.ShadowDom,s=t.selectRootElement(e,o);return pS(s),s}function pS(t){Fy(t)}var Fy=()=>null;function gS(t){Vm(t)?Sy(t):bC(t)}function mS(){Fy=gS}function yS(t,e,r,n){let i=Uy(e);i.push(r),t.firstCreatePass&&By(t).push(n,i.length-1)}function vS(t,e,r,n,i,o){let s=e?e.injectorIndex:-1,a=0;return qr()&&(a|=128),{type:r,index:n,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:i,attrs:o,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:e,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function fg(t,e,r,n,i){for(let o in e){if(!e.hasOwnProperty(o))continue;let s=e[o];if(s===void 0)continue;n??={};let a,c=En.None;Array.isArray(s)?(a=s[0],c=s[1]):a=s;let u=o;if(i!==null){if(!i.hasOwnProperty(o))continue;u=i[o]}t===0?hg(n,r,u,a,c):hg(n,r,u,a)}return n}function hg(t,e,r,n,i){let o;t.hasOwnProperty(r)?(o=t[r]).push(e,n):o=t[r]=[e,n],i!==void 0&&o.push(i)}function bS(t,e,r){let n=e.directiveStart,i=e.directiveEnd,o=t.data,s=e.attrs,a=[],c=null,u=null;for(let l=n;l<i;l++){let d=o[l],f=r?r.get(d):null,h=f?f.inputs:null,p=f?f.outputs:null;c=fg(0,d.inputs,l,c,h),u=fg(1,d.outputs,l,u,p);let v=c!==null&&s!==null&&!ld(e)?PS(c,l,s):null;a.push(v)}c!==null&&(c.hasOwnProperty("class")&&(e.flags|=8),c.hasOwnProperty("style")&&(e.flags|=16)),e.initialInputs=a,e.inputs=c,e.outputs=u}function wS(t){return t==="class"?"className":t==="for"?"htmlFor":t==="formaction"?"formAction":t==="innerHtml"?"innerHTML":t==="readonly"?"readOnly":t==="tabindex"?"tabIndex":t}function Hd(t,e,r,n,i,o,s,a){let c=je(e,r),u=e.inputs,l;!a&&u!=null&&(l=u[n])?(qd(t,r,l,n,i),$i(e)&&DS(r,e.index)):e.type&3?(n=wS(n),i=s!=null?s(i,e.value||"",n):i,o.setProperty(c,n,i)):e.type&12}function DS(t,e){let r=Mn(e,t);r[x]&16||(r[x]|=64)}function zd(t,e,r,n){if(hm()){let i=n===null?null:{"":-1},o=TS(t,r),s,a;o===null?s=a=null:[s,a]=o,s!==null&&Ly(t,e,r,s,i,a),i&&xS(r,n,i)}r.mergedAttrs=Mi(r.mergedAttrs,r.attrs)}function Ly(t,e,r,n,i,o){for(let u=0;u<n.length;u++)ul(_s(r,e),t,n[u].type);NS(r,t.data.length,n.length);for(let u=0;u<n.length;u++){let l=n[u];l.providersResolver&&l.providersResolver(l)}let s=!1,a=!1,c=ky(t,e,n.length,null);for(let u=0;u<n.length;u++){let l=n[u];r.mergedAttrs=Mi(r.mergedAttrs,l.hostAttrs),_S(t,r,e,c,l),MS(c,l,i),l.contentQueries!==null&&(r.flags|=4),(l.hostBindings!==null||l.hostAttrs!==null||l.hostVars!==0)&&(r.flags|=64);let d=l.type.prototype;!s&&(d.ngOnChanges||d.ngOnInit||d.ngDoCheck)&&((t.preOrderHooks??=[]).push(r.index),s=!0),!a&&(d.ngOnChanges||d.ngDoCheck)&&((t.preOrderCheckHooks??=[]).push(r.index),a=!0),c++}bS(t,r,o)}function ES(t,e,r,n,i){let o=i.hostBindings;if(o){let s=t.hostBindingOpCodes;s===null&&(s=t.hostBindingOpCodes=[]);let a=~e.index;IS(s)!=a&&s.push(a),s.push(r,n,o)}}function IS(t){let e=t.length;for(;e>0;){let r=t[--e];if(typeof r=="number"&&r<0)return r}return 0}function CS(t,e,r,n){let i=r.directiveStart,o=r.directiveEnd;
8$i(r)&&AS(e,r,t.data[i+r.componentOffset]),t.firstCreatePass||_s(r,e),Sn(n,e);let s=r.initialInputs;for(let a=i;a<o;a++){let c=t.data[a],u=Xn(e,t,a,r);if(Sn(u,e),s!==null&&OS(e,a-i,u,c,r,s),Cn(c)){let l=Mn(r.index,e);l[ht]=Xn(e,t,a,r)}}}function jy(t,e,r){let n=r.directiveStart,i=r.directiveEnd,o=r.index,s=DI();try{Qn(o);for(let a=n;a<i;a++){let c=t.data[a],u=e[a];sl(a),(c.hostBindings!==null||c.hostVars!==0||c.hostAttrs!==null)&&SS(c,u)}}finally{Qn(-1),sl(s)}}function SS(t,e){t.hostBindings!==null&&t.hostBindings(1,e)}function TS(t,e){let r=t.directiveRegistry,n=null,i=null;if(r)for(let o=0;o<r.length;o++){let s=r[o];if(Bg(e,s.selectors,!1))if(n||(n=[]),Cn(s))if(s.findHostDirectiveDefs!==null){let a=[];i=i||new Map,s.findHostDirectiveDefs(s,a,i),n.unshift(...a,s);let c=a.length;Nl(t,e,c)}else n.unshift(s),Nl(t,e,0);else i=i||new Map,s.findHostDirectiveDefs?.(s,n,i),n.push(s)}return n===null?null:[n,i]}function Nl(t,e,r){e.componentOffset=r,(t.components??=[]).push(e.index)}function xS(t,e,r){if(e){let n=t.localNames=[];for(let i=0;i<e.length;i+=2){let o=r[e[i+1]];if(o==null)throw new E(-301,!1);n.push(e[i],o)}}}function MS(t,e,r){if(r){if(e.exportAs)for(let n=0;n<e.exportAs.length;n++)r[e.exportAs[n]]=t;Cn(e)&&(r[""]=t)}}function NS(t,e,r){t.flags|=1,t.directiveStart=e,t.directiveEnd=e+r,t.providerIndexes=e}function _S(t,e,r,n,i){t.data[n]=i;let o=i.factory||(i.factory=Gn(i.type,!0)),s=new Kn(o,Cn(i),R);t.blueprint[n]=s,r[n]=s,ES(t,e,n,ky(t,r,i.hostVars,Pe),i)}function AS(t,e,r){let n=je(e,t),i=Py(r),o=t[Ft].rendererFactory,s=16;r.signals?s=4096:r.onPush&&(s=64);let a=ya(t,ma(t,i,null,s,n,e,null,o.createRenderer(n,r),null,null,null));t[e.index]=a}function RS(t,e,r,n,i,o){let s=je(t,e);kS(e[Q],s,o,t.value,r,n,i)}function kS(t,e,r,n,i,o,s){if(o==null)t.removeAttribute(e,i,r);else{let a=s==null?Ot(o):s(o,n||"",i);t.setAttribute(e,i,a,r)}}function OS(t,e,r,n,i,o){let s=o[e];if(s!==null)for(let a=0;a<s.length;){let c=s[a++],u=s[a++],l=s[a++],d=s[a++];Ry(n,r,c,u,l,d)}}function PS(t,e,r){let n=null,i=0;for(;i<r.length;){let o=r[i];if(o===0){i+=4;continue}else if(o===5){i+=2;continue}if(typeof o=="number")break;if(t.hasOwnProperty(o)){n===null&&(n=[]);let s=t[o];for(let a=0;a<s.length;a+=3)if(s[a]===e){n.push(o,s[a+1],s[a+2],r[i+1]);break}}i+=2}return n}function $y(t,e,r,n){return[t,!0,0,e,null,n,null,r,null,null]}function Vy(t,e){let r=t.contentQueries;if(r!==null){let n=j(null);try{for(let i=0;i<r.length;i+=2){let o=r[i],s=r[i+1];if(s!==-1){let a=t.data[s];vd(o),a.contentQueries(2,e[s],s)}}}finally{j(n)}}}function ya(t,e){return t[_i]?t[Wp][lt]=e:t[_i]=e,t[Wp]=e,e}function _l(t,e,r){vd(0);let n=j(null);try{e(t,r)}finally{j(n)}}function Uy(t){return t[Is]??=[]}function By(t){return t.cleanup??=[]}function Hy(t,e){let r=t[Fr],n=r?r.get(Lt,null):null;n&&n.handleError(e)}function qd(t,e,r,n,i){for(let o=0;o<r.length;){let s=r[o++],a=r[o++],c=r[o++],u=e[s],l=t.data[s];Ry(l,u,n,a,c,i)}}function Gd(t,e,r){let n=am(e,t);YC(t[Q],n,r)}function FS(t,e){let r=Mn(e,t),n=r[_];LS(n,r);let i=r[Fe];i!==null&&r[ft]===null&&(r[ft]=_d(i,r[Fr])),Wd(n,r,r[ht])}function LS(t,e){for(let r=e.length;r<t.blueprint.length;r++)e.push(t.blueprint[r])}function Wd(t,e,r){bd(e);try{let n=t.viewQuery;n!==null&&_l(1,n,r);let i=t.template;i!==null&&Oy(t,e,i,1,r),t.firstCreatePass&&(t.firstCreatePass=!1),e[Kt]?.finishViewCreation(t),t.staticContentQueries&&Vy(t,e),t.staticViewQueries&&_l(2,t.viewQuery,r);let o=t.components;o!==null&&jS(e,o)}
8catch(n){throw t.firstCreatePass&&(t.incompleteFirstPass=!0,t.firstCreatePass=!1),n}finally{e[x]&=-5,wd()}}function jS(t,e){for(let r=0;r<e.length;r++)FS(t,e[r])}function zy(t,e,r,n){let i=j(null);try{let o=e.tView,a=t[x]&4096?4096:16,c=ma(t,o,r,a,null,e,null,null,n?.injector??null,n?.embeddedViewInjector??null,n?.dehydratedView??null),u=t[e.index];c[Zn]=u;let l=t[Kt];return l!==null&&(c[Kt]=l.createEmbeddedView(o)),Wd(o,c,r),c}finally{j(i)}}function Al(t,e){return!e||e.firstChild===null||ks(t)}function qy(t,e,r,n=!0){let i=e[_];if(JC(i,e,t,r),n){let s=Ml(r,t),a=e[Q],c=Ey(a,t[Xt]);c!==null&&KC(i,t[ke],a,e,c,s)}let o=e[ft];o!==null&&o.firstChild!==null&&(o.firstChild=null)}function Fs(t,e,r,n,i=!1){for(;r!==null;){if(r.type===128){r=i?r.projectionNext:r.next;continue}let o=e[r.index];o!==null&&n.push(pt(o)),$t(o)&&$S(o,n);let s=r.type;if(s&8)Fs(t,e,r.child,n);else if(s&32){let a=Od(r,e),c;for(;c=a();)n.push(c)}else if(s&16){let a=Cy(e,r);if(Array.isArray(a))n.push(...a);else{let c=Yn(e[Re]);Fs(c[_],c,a,n,!0)}}r=i?r.projectionNext:r.next}return n}function $S(t,e){for(let r=Ae;r<t.length;r++){let n=t[r],i=n[_].firstChild;i!==null&&Fs(n[_],n,i,e)}t[Xt]!==t[Fe]&&e.push(t[Xt])}var Gy=[];function VS(t){return t[Xe]??US(t)}function US(t){let e=Gy.pop()??Object.create(HS);return e.lView=t,e}function BS(t){t.lView[Xe]!==t&&(t.lView=null,Gy.push(t))}var HS=V(m({},hr),{consumerIsAlwaysLive:!0,consumerMarkedDirty:t=>{oa(t.lView)},consumerOnSignalRead(){this.lView[Xe]=this}});function zS(t){let e=t[Xe]??Object.create(qS);return e.lView=t,e}var qS=V(m({},hr),{consumerIsAlwaysLive:!0,consumerMarkedDirty:t=>{let e=Yn(t.lView);for(;e&&!Wy(e[_]);)e=Yn(e);e&&lm(e)},consumerOnSignalRead(){this.lView[Xe]=this}});function Wy(t){return t.type!==2}var GS=100;function Zy(t,e=!0,r=0){let n=t[Ft],i=n.rendererFactory,o=!1;o||i.begin?.();try{WS(t,r)}catch(s){throw e&&Hy(t,s),s}finally{o||(i.end?.(),n.inlineEffectRunner?.flush())}}function WS(t,e){let r=gm();try{Yp(!0),Rl(t,e);let n=0;for(;ia(t);){if(n===GS)throw new E(103,!1);n++,Rl(t,1)}}finally{Yp(r)}}function ZS(t,e,r,n){let i=e[x];if((i&256)===256)return;let o=!1,s=!1;!o&&e[Ft].inlineEffectRunner?.flush(),bd(e);let a=!0,c=null,u=null;o||(Wy(t)?(u=VS(e),c=mi(u)):tp()===null?(a=!1,u=zS(e),c=mi(u)):e[Xe]&&(Lo(e[Xe]),e[Xe]=null));try{um(e),vI(t.bindingStartIndex),r!==null&&Oy(t,e,r,2,n);let l=(i&3)===3;if(!o)if(l){let h=t.preOrderCheckHooks;h!==null&&gs(e,h,null)}else{let h=t.preOrderHooks;h!==null&&ms(e,h,0,null),ju(e,0)}if(s||YS(e),Yy(e,0),t.contentQueries!==null&&Vy(t,e),!o)if(l){let h=t.contentCheckHooks;h!==null&&gs(e,h)}else{let h=t.contentHooks;h!==null&&ms(e,h,1),ju(e,1)}lS(t,e);let d=t.components;d!==null&&Ky(e,d,0);let f=t.viewQuery;if(f!==null&&_l(2,f,n),!o)if(l){let h=t.viewCheckHooks;h!==null&&gs(e,h)}else{let h=t.viewHooks;h!==null&&ms(e,h,2),ju(e,2)}if(t.firstUpdatePass===!0&&(t.firstUpdatePass=!1),e[ps]){for(let h of e[ps])h();e[ps]=null}o||(e[x]&=-73)}catch(l){throw o||oa(e),l}finally{u!==null&&(Po(u,c),a&&BS(u)),wd()}}function Yy(t,e){for(let r=Bm(t);r!==null;r=Hm(r))for(let n=Ae;n<r.length;n++){let i=r[n];Qy(i,e)}}function YS(t){for(let e=Bm(t);e!==null;e=Hm(e)){if(!(e[x]&Ss.HasTransplantedViews))continue;let r=e[Lr];for(let n=0;n<r.length;n++){let i=r[n];lm(i)}}}function QS(t,e,r){let n=Mn(e,t);Qy(n,r)}function Qy(t,e){gd(t)&&Rl(t,e)}function Rl(t,e){let n=t[_],i=t[x],o=t[Xe],s=!!(e===0&&i&16);if(s||=!!(i&64&&e===0),s||=!!(i&1024),s||=!!(o?.dirty&&Fo(o)),s||=!1,o&&(o.dirty=!1),t[x]&=-9217,s)ZS(n,t,n.template,t[ht]);else if(i&8192){Yy(t,1);let a=n.components;a!==null&&Ky(t,a,1)}}function Ky(t,e,r){for(let n=0;n<e.length;n++)QS(t,e[n],r)}function Zd(t,e){let r=gm()?64:1088;for(t[Ft].changeDetectionScheduler?.notify(e);t;){t[x]|=r;let n=Yn(t);if(Ts(t)&&!n)return t;t=n}return null}var Jn=class{get rootNodes(){let e=this._lView,r=e[_];return Fs(r,e,r.firstChild,[])}constructor(e,r,n=!0){this._lView=e,this._cdRefInjectingView=r,this.notifyErrorHandler=n,this._appRef=null,this._attachedToViewContainer=!1}get context(){return this._lView[ht]}set context(e){this._lView[ht]=e}get destroyed(){return(this._lView[x]&256)===256}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let e=this._lView[ve];if($t(e)){let r=e[Cs],n=r?r.indexOf(this):-1;n>-1&&(xl(e,n),Ds(r,n))}this._attachedToViewContainer=!1}by(this._lView[_],this._lView)}onDestroy(e){dm(this._lView,e)}markForCheck(){Zd(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[x]&=-129}reattach(){ol(this._lView),this._lView[x]|=128}detectChanges(){this._lView[x]|=1024,Zy(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new E(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let e=Ts(this._lView),r=this._lView[Zn];r!==null&&!e&&Fd(r,this._lView),yy(this._lView[_],this._lView)}attachToAppRef(e){if(this._attachedToViewContainer)throw new E(902,!1);this._appRef=e;let r=Ts(this._lView),n=this._lView[Zn];n!==null&&!r&&vy(n,this._lView),ol(this._lView)}},en=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=JS;let t=e;return t})(),KS=en,XS=class extends KS{constructor(e,r,n){super(),this._declarationLView=e,this._declarationTContainer=r,this.elementRef=n}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(e,r){return this.createEmbeddedViewImpl(e,r)}createEmbeddedViewImpl(e,r,n){let i=zy(this._declarationLView,this._declarationTContainer,e,{embeddedViewInjector:r,dehydratedView:n});return new Jn(i)}};function JS(){return va(be(),N())}function va(t,e){return t.type&4?new XS(e,t,Gr(t,e)):null}var e0=new RegExp(`^(\\d+)*(${Zm}|${Wm})*(.*)`);function t0(t){let e=t.match(e0),[r,n,i,o]=e,s=n?parseInt(n,10):i,a=[];for(let[c,u,l]of o.matchAll(/(f|n)(\d*)/g)){let d=parseInt(l,10)||1;a.push(u,d)}return[s,...a]}function n0(t){return!t.prev&&t.parent?.type===8}function zu(t){return t.index-ie}function r0(t,e){let r=t.i18nNodes;if(r)return r.get(e)}function ba(t,e,r,n){let i=zu(n),o=r0(t,i);if(o===void 0){let s=t.data[fC];if(s?.[i])o=o0(s[i],r);else if(e.firstChild===n)o=t.firstChild;else{let a=n.prev===null,c=n.prev??n.parent;if(n0(n)){let u=zu(n.parent);o=vl(t,u)}
8else{let u=je(c,r);if(a)o=u.firstChild;else{let l=zu(c),d=vl(t,l);if(c.type===2&&d){let h=Ad(t,l)+1;o=wa(h,d)}else o=u.nextSibling}}}}return o}function wa(t,e){let r=e;for(let n=0;n<t;n++)r=r.nextSibling;return r}function i0(t,e){let r=t;for(let n=0;n<e.length;n+=2){let i=e[n],o=e[n+1];for(let s=0;s<o;s++)switch(i){case yl.FirstChild:r=r.firstChild;break;case yl.NextSibling:r=r.nextSibling;break}}return r}function o0(t,e){let[r,...n]=t0(t),i;if(r===Wm)i=e[Re][Fe];else if(r===Zm)i=WC(e[Re][Fe]);else{let o=Number(r);i=pt(e[o+ie])}return i0(i,n)}var s0=!1;function a0(t){s0=t}function c0(t){let e=t[ft];if(e){let{i18nNodes:r,dehydratedIcuData:n}=e;if(r&&n){let i=t[Q];for(let o of n.values())u0(i,r,o)}e.i18nNodes=void 0,e.dehydratedIcuData=void 0}}function u0(t,e,r){for(let n of r.node.cases[r.case]){let i=e.get(n.index-ie);i&&Ld(t,i,!1)}}function Xy(t){let e=t[Ai]??[],n=t[ve][Q];for(let i of e)l0(i,n);t[Ai]=Ie}function l0(t,e){let r=0,n=t.firstChild;if(n){let i=t.data[Os];for(;r<i;){let o=n.nextSibling;Ld(e,n,!1),n=o,r++}}}function Jy(t){Xy(t);let e=t[Fe];dt(e)&&Ls(e);for(let r=Ae;r<t.length;r++)Ls(t[r])}function Ls(t){c0(t);let e=t[_];for(let r=ie;r<e.bindingStartIndex;r++)if($t(t[r])){let n=t[r];Jy(n)}else dt(t[r])&&Ls(t[r])}function d0(t){let e=t._views;for(let r of e){let n=yC(r);n!==null&&n[Fe]!==null&&(dt(n)?Ls(n):Jy(n))}}function f0(t,e){let r=[];for(let n of e)for(let i=0;i<(n[Ym]??1);i++){let o={data:n,firstChild:null};n[Os]>0&&(o.firstChild=t,t=wa(n[Os],t)),r.push(o)}return[t,r]}var ev=()=>null;function h0(t,e){let r=t[Ai];return!e||r===null||r.length===0?null:r[0].data[dC]===e?r.shift():(Xy(t),null)}function p0(){ev=h0}function kl(t,e){return ev(t,e)}var er=class{},Da=new D("",{providedIn:"root",factory:()=>!1});var tv=new D(""),Yd=new D(""),Ol=class{},js=class{};function g0(t){let e=Error(`No component factory found for ${Ce(t)}.`);return e[m0]=t,e}var m0="ngComponent";var Pl=class{resolveComponentFactory(e){throw g0(e)}},yf=class yf{};yf.NULL=new Pl;var $r=yf,Vr=class{},_n=(()=>{let e=class e{constructor(){this.destroyNode=null}};e.__NG_ELEMENT_ID__=()=>y0();let t=e;return t})();function y0(){let t=N(),e=be(),r=Mn(e.index,t);return(dt(r)?r:t)[Q]}var v0=(()=>{let e=class e{};e.\u0275prov=b({token:e,providedIn:"root",factory:()=>null});let t=e;return t})();function $s(t,e,r){let n=r?t.styles:null,i=r?t.classes:null,o=0;if(e!==null)for(let s=0;s<e.length;s++){let a=e[s];if(typeof a=="number")o=a;else if(o==1)i=Qu(i,a);else if(o==2){let c=a,u=e[++s];n=Qu(n,c+": "+u+";")}}r?t.styles=n:t.stylesWithoutHost=n,r?t.classes=i:t.classesWithoutHost=i}var Vs=class extends $r{constructor(e){super(),this.ngModule=e}resolveComponentFactory(e){let r=In(e);return new Ur(r,this.ngModule)}};function pg(t,e){let r=[];for(let n in t){if(!t.hasOwnProperty(n))continue;let i=t[n];if(i===void 0)continue;let o=Array.isArray(i),s=o?i[0]:i,a=o?i[1]:En.None;e?r.push({propName:s,templateName:n,isSignal:(a&En.SignalBased)!==0}):r.push({propName:s,templateName:n})}return r}function b0(t){let e=t.toLowerCase();return e==="svg"?sm:e==="math"?oI:null}var Ur=class extends js{get inputs(){let e=this.componentDef,r=e.inputTransforms,n=pg(e.inputs,!0);if(r!==null)for(let i of n)r.hasOwnProperty(i.propName)&&(i.transform=r[i.propName]);return n}get outputs(){return pg(this.componentDef.outputs,!1)}constructor(e,r){super(),this.componentDef=e,this.ngModule=r,this.componentType=e.type,this.selector=jE(e.selectors),this.ngContentSelectors=e.ngContentSelectors?e.ngContentSelectors:[],this.isBoundToModule=!!r}create(e,r,n,i){let o=j(null);try{i=i||this.ngModule;let s=i instanceof Se?i:i?.injector;s&&this.componentDef.getStandaloneInjector!==null&&(s=this.componentDef.getStandaloneInjector(s)||s);let a=s?new al(e,s):e,c=a.get(Vr,null);if(c===null)throw new E(407,!1);let u=a.get(v0,null),l=a.get(er,null),d={rendererFactory:c,sanitizer:u,inlineEffectRunner:null,changeDetectionScheduler:l},f=c.createRenderer(null,this.componentDef),h=this.componentDef.selectors[0][0]||"div",p=n?hS(f,n,this.componentDef.encapsulation,a):Pd(f,h,b0(h)),v=512;this.componentDef.signals?v|=4096:this.componentDef.onPush||(v|=16);let w=null;p!==null&&(w=_d(p,a,!0));
8let C=Bd(0,null,null,1,0,null,null,null,null,null,null),L=ma(null,C,null,v,null,null,d,f,a,null,w);bd(L);let q,O,ce=null;try{let re=this.componentDef,we,Ze=null;re.findHostDirectiveDefs?(we=[],Ze=new Map,re.findHostDirectiveDefs(re,we,Ze),we.push(re)):we=[re];let vD=w0(L,p);ce=D0(vD,p,re,we,L,d,f),O=cm(C,ie),p&&C0(f,re,p,n),r!==void 0&&S0(O,this.ngContentSelectors,r),q=I0(ce,re,we,Ze,L,[T0]),Wd(C,L,null)}catch(re){throw ce!==null&&gl(ce),gl(L),re}finally{wd()}return new Fl(this.componentType,q,Gr(O,L),L,O)}finally{j(o)}}},Fl=class extends Ol{constructor(e,r,n,i,o){super(),this.location=n,this._rootLView=i,this._tNode=o,this.previousInputValues=null,this.instance=r,this.hostView=this.changeDetectorRef=new Jn(i,void 0,!1),this.componentType=e}setInput(e,r){let n=this._tNode.inputs,i;if(n!==null&&(i=n[e])){if(this.previousInputValues??=new Map,this.previousInputValues.has(e)&&Object.is(this.previousInputValues.get(e),r))return;let o=this._rootLView;qd(o[_],o,i,e,r),this.previousInputValues.set(e,r);let s=Mn(this._tNode.index,o);Zd(s,1)}}get injector(){return new qn(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(e){this.hostView.onDestroy(e)}};function w0(t,e){let r=t[_],n=ie;return t[n]=e,Zr(r,n,2,"#host",null)}function D0(t,e,r,n,i,o,s){let a=i[_];E0(n,t,e,s);let c=null;e!==null&&(c=_d(e,i[Fr]));let u=o.rendererFactory.createRenderer(e,r),l=16;r.signals?l=4096:r.onPush&&(l=64);let d=ma(i,Py(r),null,l,i[t.index],t,o,u,null,null,c);return a.firstCreatePass&&Nl(a,t,n.length-1),ya(i,d),i[t.index]=d}function E0(t,e,r,n){for(let i of t)e.mergedAttrs=Mi(e.mergedAttrs,i.hostAttrs);e.mergedAttrs!==null&&($s(e,e.mergedAttrs,!0),r!==null&&My(n,r,e))}function I0(t,e,r,n,i,o){let s=be(),a=i[_],c=je(s,i);Ly(a,i,s,r,null,n);for(let l=0;l<r.length;l++){let d=s.directiveStart+l,f=Xn(i,a,d,s);Sn(f,i)}jy(a,i,s),c&&Sn(c,i);let u=Xn(i,a,s.directiveStart+s.componentOffset,s);if(t[ht]=i[ht]=u,o!==null)for(let l of o)l(u,e);return $d(a,s,i),u}function C0(t,e,r,n){if(n)el(t,r,["ng-version","18.2.13"]);else{let{attrs:i,classes:o}=$E(e.selectors[0]);i&&el(t,r,i),o&&o.length>0&&xy(t,r,o.join(" "))}}function S0(t,e,r){let n=t.projection=[];for(let i=0;i<e.length;i++){let o=r[i];n.push(o!=null?Array.from(o):null)}}function T0(){let t=be();ua(N()[_],t)}var et=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=x0;let t=e;return t})();function x0(){let t=be();return rv(t,N())}var M0=et,nv=class extends M0{constructor(e,r,n){super(),this._lContainer=e,this._hostTNode=r,this._hostLView=n}get element(){return Gr(this._hostTNode,this._hostLView)}get injector(){return new qn(this._hostTNode,this._hostLView)}get parentInjector(){let e=Dd(this._hostTNode,this._hostLView);if(Tm(e)){let r=Ms(e,this._hostLView),n=xs(e),i=r[_].data[n+8];return new qn(i,r)}else return new qn(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(e){let r=gg(this._lContainer);return r!==null&&r[e]||null}get length(){return this._lContainer.length-Ae}createEmbeddedView(e,r,n){let i,o;typeof n=="number"?i=n:n!=null&&(i=n.index,o=n.injector);let s=kl(this._lContainer,e.ssrId),a=e.createEmbeddedViewImpl(r||{},o,s);return this.insertImpl(a,i,Al(this._hostTNode,s)),a}createComponent(e,r,n,i,o){let s=e&&!tI(e),a;if(s)a=r;else{let p=r||{};a=p.index,n=p.injector,i=p.projectableNodes,o=p.environmentInjector||p.ngModuleRef}let c=s?e:new Ur(In(e)),u=n||this.parentInjector;if(!o&&c.ngModule==null){let v=(s?u:this.parentInjector).get(Se,null);v&&(o=v)}let l=In(c.componentType??{}),d=kl(this._lContainer,l?.id??null),f=d?.firstChild??null,h=c.create(u,i,f,o);return this.insertImpl(h.hostView,a,Al(this._hostTNode,d)),h}insert(e,r){return this.insertImpl(e,r,!0)}insertImpl(e,r,n){let i=e._lView;if(aI(i)){let a=this.indexOf(e);if(a!==-1)this.detach(a);else{let c=i[ve],u=new nv(c,c[ke],c[ve]);u.detach(u.indexOf(e))}}let o=this._adjustIndex(r),s=this._lContainer;return qy(s,i,o,n),e.attachToViewContainerRef(),Fg(qu(s),o,e),e}move(e,r){return this.insert(e,r)}indexOf(e){let r=gg(this._lContainer);return r!==null?r.indexOf(e):-1}remove(e){let r=this._adjustIndex(e,-1),n=xl(this._lContainer,r);n&&(Ds(qu(this._lContainer),r),by(n[_],n))}detach(e){let r=this._adjustIndex(e,-1),n=xl(this._lContainer,r);return n&&Ds(qu(this._lContainer),r)!=null?new Jn(n):null}_adjustIndex(e,r=0){return e??this.length+r}};function gg(t){return t[Cs]}function qu(t){return t[Cs]||(t[Cs]=[])}function rv(t,e){let r,n=e[t.index];return $t(n)?r=n:(r=$y(n,e,null,t),e[t.index]=r,ya(e,r)),iv(r,e,t,n),new nv(r,t,e)}function N0(t,e){let r=t[Q],n=r.createComment(""),i=je(e,t),o=Ey(r,i);return Ps(r,o,n,rS(r,i),!1),n}var iv=ov,Qd=()=>!1;function _0(t,e,r){return Qd(t,e,r)}function ov(t,e,r,n){if(t[Xt])return;let i;r.type&8?i=pt(n):i=N0(e,r),t[Xt]=i}function A0(t,e,r){if(t[Xt]&&t[Ai])return!0;let n=r[ft],i=e.index-ie;if(!n||nC(e)||Hi(n,i))return!1;let s=vl(n,i),a=n.data[Nd]?.[i],[c,u]=f0(s,a);return t[Xt]=c,t[Ai]=u,!0}function R0(t,e,r,n){Qd(t,r,e)||ov(t,e,r,n)}function k0(){iv=R0,Qd=A0}var Ll=class t{constructor(e){this.queryList=e,this.matches=null}clone(){return new t(this.queryList)}setDirty(){this.queryList.setDirty()}},jl=class t{constructor(e=[]){this.queries=e}createEmbeddedView(e){let r=e.queries;if(r!==null){let n=e.contentQueries!==null?e.contentQueries[0]:r.length,i=[];for(let o=0;o<n;o++){let s=r.getByIndex(o),a=this.queries[s.indexInDeclarationView];i.push(a.clone())}return new t(i)}return null}insertView(e){this.dirtyQueriesWithMatches(e)}detachView(e){this.dirtyQueriesWithMatches(e)}finishViewCreation(e){this.dirtyQueriesWithMatches(e)}dirtyQueriesWithMatches(e){for(let r=0;r<this.queries.length;r++)Kd(e,r).matches!==null&&this.queries[r].setDirty()}},Us=class{constructor(e,r,n=null){this.flags=r,this.read=n,typeof e=="string"?this.predicate=U0(e):this.predicate=e}},$l=class t{constructor(e=[]){this.queries=e}elementStart(e,r){for(let n=0;n<this.queries.length;n++)this.queries[n].elementStart(e,r)}elementEnd(e){for(let r=0;r<this.queries.length;r++)this.queries[r].elementEnd(e)}embeddedTView(e){let r=null;for(let n=0;n<this.length;n++){let i=r!==null?r.length:0,o=this.getByIndex(n).embeddedTView(e,i);o&&(o.indexInDeclarationView=n,r!==null?r.push(o):r=[o])}return r!==null?new t(r):null}template(e,r){for(let n=0;n<this.queries.length;n++)this.queries[n].template(e,r)}getByIndex(e){return this.queries[e]}get length(){return this.queries.length}track(e){this.queries.push(e)}},Vl=class t{constructor(e,r=-1){this.metadata=e,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=r}elementStart(e,r){this.isApplyingToNode(r)&&this.matchTNode(e,r)}elementEnd(e){this._declarationNodeIndex===e.index&&(this._appliesToNextNode=!1)}template(e,r){this.elementStart(e,r)}embeddedTView(e,r){return this.isApplyingToNode(e)?(this.crossesNgTemplate=!0,this.addMatch(-e.index,r),new t(this.metadata)):null}isApplyingToNode(e){if(this._appliesToNextNode&&(this.metadata.flags&1)!==1){let r=this._declarationNodeIndex,n=e.parent;for(;n!==null&&n.type&8&&n.index!==r;)n=n.parent;return r===(n!==null?n.index:-1)}return this._appliesToNextNode}
vendor: 4,732 bytes, line 8
8matchTNode(e,r){let n=this.metadata.predicate;if(Array.isArray(n))for(let i=0;i<n.length;i++){let o=n[i];this.matchTNodeWithReadOption(e,r,O0(r,o)),this.matchTNodeWithReadOption(e,r,ys(r,e,o,!1,!1))}else n===en?r.type&4&&this.matchTNodeWithReadOption(e,r,-1):this.matchTNodeWithReadOption(e,r,ys(r,e,n,!1,!1))}matchTNodeWithReadOption(e,r,n){if(n!==null){let i=this.metadata.read;if(i!==null)if(i===Oe||i===et||i===en&&r.type&4)this.addMatch(r.index,-2);else{let o=ys(r,e,i,!1,!1);o!==null&&this.addMatch(r.index,o)}else this.addMatch(r.index,n)}}addMatch(e,r){this.matches===null?this.matches=[e,r]:this.matches.push(e,r)}};function O0(t,e){let r=t.localNames;if(r!==null){for(let n=0;n<r.length;n+=2)if(r[n]===e)return r[n+1]}return null}function P0(t,e){return t.type&11?Gr(t,e):t.type&4?va(t,e):null}function F0(t,e,r,n){return r===-1?P0(e,t):r===-2?L0(t,e,n):Xn(t,t[_],r,e)}function L0(t,e,r){if(r===Oe)return Gr(e,t);if(r===en)return va(e,t);if(r===et)return rv(e,t)}function sv(t,e,r,n){let i=e[Kt].queries[n];if(i.matches===null){let o=t.data,s=r.matches,a=[];for(let c=0;s!==null&&c<s.length;c+=2){let u=s[c];if(u<0)a.push(null);else{let l=o[u];a.push(F0(e,l,s[c+1],r.metadata.read))}}i.matches=a}return i.matches}function Ul(t,e,r,n){let i=t.queries.getByIndex(r),o=i.matches;if(o!==null){let s=sv(t,e,i,r);for(let a=0;a<o.length;a+=2){let c=o[a];if(c>0)n.push(s[a/2]);else{let u=o[a+1],l=e[-c];for(let d=Ae;d<l.length;d++){let f=l[d];f[Zn]===f[ve]&&Ul(f[_],f,u,n)}if(l[Lr]!==null){let d=l[Lr];for(let f=0;f<d.length;f++){let h=d[f];Ul(h[_],h,u,n)}}}}}return n}function j0(t,e){return t[Kt].queries[e].queryList}function av(t,e,r){let n=new pl((r&4)===4);return yS(t,e,n,n.destroy),(e[Kt]??=new jl).queries.push(new Ll(n))-1}function $0(t,e,r){let n=oe();return n.firstCreatePass&&(cv(n,new Us(t,e,r),-1),(e&2)===2&&(n.staticViewQueries=!0)),av(n,N(),e)}function V0(t,e,r,n){let i=oe();if(i.firstCreatePass){let o=be();cv(i,new Us(e,r,n),o.index),B0(i,t),(r&2)===2&&(i.staticContentQueries=!0)}return av(i,N(),r)}function U0(t){return t.split(",").map(e=>e.trim())}function cv(t,e,r){t.queries===null&&(t.queries=new $l),t.queries.track(new Vl(e,r))}function B0(t,e){let r=t.contentQueries||(t.contentQueries=[]),n=r.length?r[r.length-1]:-1;e!==n&&r.push(t.queries.length-1,e)}function Kd(t,e){return t.queries.getByIndex(e)}function H0(t,e){let r=t[_],n=Kd(r,e);return n.crossesNgTemplate?Ul(r,t,e,[]):sv(r,t,n,e)}var mg=new Set;function tt(t){mg.has(t)||(mg.add(t),performance?.mark?.("mark_feature_usage",{detail:{feature:t}}))}function z0(t){return typeof t=="function"&&t[Ct]!==void 0}function Nj(t,e){tt("NgSignals");let r=hp(t),n=r[Ct];return e?.equal&&(n.equal=e.equal),r.set=i=>kc(n,i),r.update=i=>pp(n,i),r.asReadonly=q0.bind(r),r}function q0(){let t=this[Ct];if(t.readonlyFn===void 0){let e=()=>this();e[Ct]=t,t.readonlyFn=e}return t.readonlyFn}function uv(t){return z0(t)&&typeof t.set=="function"}function G0(t){let e=[],r=new Map;function n(i){let o=r.get(i);if(!o){let s=t(i);r.set(i,o=s.then(Q0))}return o}return Bs.forEach((i,o)=>{let s=[];i.templateUrl&&s.push(n(i.templateUrl).then(u=>{i.template=u}));let a=typeof i.styles=="string"?[i.styles]:i.styles||[];if(i.styles=a,i.styleUrl&&i.styleUrls?.length)throw new Error("@Component cannot define both `styleUrl` and `styleUrls`. Use `styleUrl` if the component has one stylesheet, or `styleUrls` if it has multiple");if(i.styleUrls?.length){let u=i.styles.length,l=i.styleUrls;i.styleUrls.forEach((d,f)=>{a.push(""),s.push(n(d).then(h=>{a[u+f]=h,l.splice(l.indexOf(d),1),l.length==0&&(i.styleUrls=void 0)}))})}else i.styleUrl&&s.push(n(i.styleUrl).then(u=>{a.push(u),i.styleUrl=void 0}));let c=Promise.all(s).then(()=>K0(o));e.push(c)}),Z0(),Promise.all(e).then(()=>{})}var Bs=new Map,W0=new Set;function Z0(){let t=Bs;return Bs=new Map,t}function Y0(){return Bs.size===0}function Q0(t){return typeof t=="string"?t:t.text()}function K0(t){W0.delete(t)}function X0(t){return Object.getPrototypeOf(t.prototype).constructor}function J0(t){let e=X0(t.type),r=!0,n=[t];for(;e;){let i;if(Cn(t))i=e.\u0275cmp||e.\u0275dir;else{if(e.\u0275cmp)throw new E(903,!1);i=e.\u0275dir}if(i){if(r){n.push(i);let s=t;s.inputs=cs(t.inputs),s.inputTransforms=cs(t.inputTransforms),s.declaredInputs=cs(t.declaredInputs),s.outputs=cs(t.outputs);let a=i.hostBindings;a&&iT(t,a);let c=i.viewQuery,u=i.contentQueries;if(c&&nT(t,c),u&&rT(t,u),eT(t,i),rE(t.outputs,i.outputs),Cn(i)&&i.data.animation){let l=t.data;l.animation=(l.animation||[]).concat(i.data.animation)}}let o=i.features;if(o)for(let s=0;s<o.length;s++){let a=o[s];a&&a.ngInherit&&a(t),a===J0&&(r=!1)}}e=Object.getPrototypeOf(e)}tT(n)}function eT(t,e){for(let r in e.inputs){if(!e.inputs.hasOwnProperty(r)||t.input
8s.hasOwnProperty(r))continue;let n=e.inputs[r];if(n!==void 0&&(t.inputs[r]=n,t.declaredInputs[r]=e.declaredInputs[r],e.inputTransforms!==null)){let i=Array.isArray(n)?n[0]:n;if(!e.inputTransforms.hasOwnProperty(i))continue;t.inputTransforms??={},t.inputTransforms[i]=e.inputTransforms[i]}}}function tT(t){let e=0,r=null;for(let n=t.length-1;n>=0;n--){let i=t[n];i.hostVars=e+=i.hostVars,i.hostAttrs=Mi(i.hostAttrs,r=Mi(r,i.hostAttrs))}}function cs(t){return t===Or?{}:t===Ie?[]:t}function nT(t,e){let r=t.viewQuery;r?t.viewQuery=(n,i)=>{e(n,i),r(n,i)}:t.viewQuery=e}function rT(t,e){let r=t.contentQueries;r?t.contentQueries=(n,i,o)=>{e(n,i,o),r(n,i,o)}:t.contentQueries=e}function iT(t,e){let r=t.hostBindings;r?t.hostBindings=(n,i)=>{e(n,i),r(n,i)}:t.hostBindings=e}function Ea(t){let e=t.inputConfig,r={};for(let n in e)if(e.hasOwnProperty(n)){let i=e[n];Array.isArray(i)&&i[3]&&(r[n]=i[3])}t.inputTransforms=r}var Tn=class{},ki=class{};var Hs=class extends Tn{constructor(e,r,n,i=!0){super(),this.ngModuleType=e,this._parent=r,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Vs(this);let o=Gg(e);this._bootstrapComponents=py(o.bootstrap),this._r3Injector=Pm(e,r,[{provide:Tn,useValue:this},{provide:$r,useValue:this.componentFactoryResolver},...n],Ce(e),new Set(["environment"])),i&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){let e=this._r3Injector;!e.destroyed&&e.destroy(),this.destroyCbs.forEach(r=>r()),this.destroyCbs=null}onDestroy(e){this.destroyCbs.push(e)}},zs=class extends ki{constructor(e){super(),this.moduleType=e}create(e){return new Hs(this.moduleType,e,[])}};function oT(t,e,r){return new Hs(t,e,r,!1)}var Bl=class extends Tn{constructor(e){super(),this.componentFactoryResolver=new Vs(this),this.instance=null;let r=new Ni([...e.providers,{provide:Tn,useValue:this},{provide:$r,useValue:this.componentFactoryResolver}],e.parent||fd(),e.debugName,new Set(["environment"]));this.injector=r,e.runEnvironmentInitializers&&r.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(e){this.injector.onDestroy(e)}};function Ia(t,e,r=null){return new Bl({providers:t,parent:e,debugName:r,runEnvironmentInitializers:!0}).injector}function lv(t){return Xd(t)?Array.isArray(t)||!(t instanceof Map)&&Symbol.iterator in t:!1}function sT(t,e){if(Array.isArray(t))for(let r=0;r<t.length;r++)e(t[r]);else{let r=t[Symbol.iterator](),n;for(;!(n=r.next()).done;)e(n.value)}}function Xd(t){return t!==null&&(typeof t=="function"||typeof t=="object")}function qi(t,e,r){return t[e]=r}function aT(t,e){return t[e]}function gt(t,e,r){let n=t[e];return Object.is(n,r)?!1:(t[e]=r,!0)}function Oi(t,e,r,n){let i=gt(t,e,r);return gt(t,e+1,n)||i}function dv(t,e,r,n,i){let o=Oi(t,e,r,n);return gt(t,e+2,i)||o}function cT(t,e,r,n,i,o){let s=Oi(t,e,r,n);return Oi(t,e+2,i,o)||s}function Gi(t){return(t.flags&32)===32}function uT(t,e,r,n,i,o,s,a,c){let u=e.consts,l=Zr(e,t,4,s||null,a||null);zd(e,r,l,jr(u,c)),ua(e,l);let d=l.tView=Bd(2,l,n,i,o,e.directiveRegistry,e.pipeRegistry,null,e.schemas,u,null);return e.queries!==null&&(e.queries.template(e,l),d.queries=e.queries.embeddedTView(l)),l}function fv(t,e,r,n,i,o,s,a,c,u){let l=r+ie,d=e.firstCreatePass?uT(l,e,t,n,i,o,s,a,c):e.data[l];rr(d,!1);let f=hv(e,t,d,r);ca()&&pa(e,t,f,d),Sn(f,t);let h=$y(f,t,f,d);return t[l]=h,ya(t,h),_0(h,d,t),na(d)&&Vd(e,t,d),c!=null&&Ud(t,d,u),d}function lT(t,e,r,n,i,o,s,a){let c=N(),u=oe(),l=jr(u.consts,o);return fv(c,u,t,e,r,n,i,l,s,a),lT}var hv=pv;function pv(t,e,r,n){return Nn(!0),e[Q].createComment("")}function dT(t,e,r,n){let i=e[ft],o=!i||qr()||Gi(r)||Hi(i,n);if(Nn(o),o)return pv(t,e,r,n);let s=i.data[lC]?.[n]??null;s!==null&&r.tView!==null&&r.tView.ssrId===null&&(r.tView.ssrId=s);let a=ba(i,t,e,r);da(i,n,a);let c=Ad(i,n);return wa(c,a)}function fT(){hv=dT}var Ar=function(t){return t[t.EarlyRead=0]="EarlyRead",t[t.Write=1]="Write",t[t.MixedReadWrite=2]="MixedReadWrite",t[t.Read=3]="Read",t}(Ar||{}),gv=(()=>{let e=class e{constructor(){this.impl=null}execute(){this.impl?.execute()}};e.\u0275prov=b({token:e,providedIn:"root",factory:()=>new e});let t=e;return t}
8)(),zn=class zn{constructor(){this.ngZone=g(U),this.scheduler=g(er),this.errorHandler=g(Lt,{optional:!0}),this.sequences=new Set,this.deferredRegistrations=new Set,this.executing=!1}execute(){this.executing=!0;for(let e of zn.PHASES)for(let r of this.sequences)if(!(r.erroredOrDestroyed||!r.hooks[e]))try{r.pipelinedValue=this.ngZone.runOutsideAngular(()=>r.hooks[e](r.pipelinedValue))}catch(n){r.erroredOrDestroyed=!0,this.errorHandler?.handleError(n)}this.executing=!1;for(let e of this.sequences)e.afterRun(),e.once&&(this.sequences.delete(e),e.destroy());for(let e of this.deferredRegistrations)this.sequences.add(e);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear()}register(e){this.executing?this.deferredRegistrations.add(e):(this.sequences.add(e),this.scheduler.notify(6))}unregister(e){this.executing&&this.sequences.has(e)?(e.erroredOrDestroyed=!0,e.pipelinedValue=void 0,e.once=!0):(this.sequences.delete(e),this.deferredRegistrations.delete(e))}};zn.PHASES=[Ar.EarlyRead,Ar.Write,Ar.MixedReadWrite,Ar.Read],zn.\u0275prov=b({token:zn,providedIn:"root",factory:()=>new zn});var Hl=zn,zl=class{constructor(e,r,n,i){this.impl=e,this.hooks=r,this.once=n,this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.unregisterOnDestroy=i?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.()}};function hT(t,e){!e?.injector&&hd(hT);let r=e?.injector??g(De);return Nr(r)?(tt("NgAfterRender"),mv(t,r,e,!1)):yv}function Jd(t,e){!e?.injector&&hd(Jd);let r=e?.injector??g(De);return Nr(r)?(tt("NgAfterNextRender"),mv(t,r,e,!0)):yv}function pT(t,e){if(t instanceof Function){let r=[void 0,void 0,void 0,void 0];return r[e]=t,r}else return[t.earlyRead,t.write,t.mixedReadWrite,t.read]}function mv(t,e,r,n){let i=e.get(gv);i.impl??=e.get(Hl);let o=r?.phase??Ar.MixedReadWrite,s=r?.manualCleanup!==!0?e.get(la):null,a=new zl(i.impl,pT(t,o),n,s);return i.impl.register(a),a}var yv={destroy(){}};function ef(t,e,r,n){let i=N(),o=Vi();if(gt(i,o,e)){let s=oe(),a=aa();RS(a,i,t,e,r,n)}return ef}function vv(t,e,r,n){return gt(t,Vi(),r)?e+Ot(r)+n:Pe}function gT(t,e,r,n,i,o){let s=mm(),a=Oi(t,s,r,i);return sa(2),a?e+Ot(r)+n+Ot(i)+o:Pe}function mT(t,e,r,n,i,o,s,a){let c=mm(),u=dv(t,c,r,i,s);return sa(3),u?e+Ot(r)+n+Ot(i)+o+Ot(s)+a:Pe}function us(t,e){return t<<17|e<<2}function tr(t){return t>>17&32767}function yT(t){return(t&2)==2}function vT(t,e){return t&131071|e<<17}function ql(t){return t|2}function Br(t){return(t&131068)>>2}function Gu(t,e){return t&-131069|e<<2}function bT(t){return(t&1)===1}function Gl(t){return t|1}function wT(t,e,r,n,i,o){let s=o?e.classBindings:e.styleBindings,a=tr(s),c=Br(s);t[n]=r;let u=!1,l;if(Array.isArray(r)){let d=r;l=d[1],(l===null||Li(d,l)>0)&&(u=!0)}else l=r;if(i)if(c!==0){let f=tr(t[a+1]);t[n+1]=us(f,a),f!==0&&(t[f+1]=Gu(t[f+1],n)),t[a+1]=vT(t[a+1],n)}else t[n+1]=us(a,0),a!==0&&(t[a+1]=Gu(t[a+1],n)),a=n;else t[n+1]=us(c,0),a===0?a=n:t[c+1]=Gu(t[c+1],n),c=n;u&&(t[n+1]=ql(t[n+1])),yg(t,l,n,!0),yg(t,l,n,!1),DT(e,l,t,n,o),s=us(a,c),o?e.classBindings=s:e.styleBindings=s}function DT(t,e,r,n,i){let o=i?t.residualClasses:t.residualStyles;o!=null&&typeof e=="string"&&Li(o,e)>=0&&(r[n+1]=Gl(r[n+1]))}function yg(t,e,r,n){let i=t[r+1],o=e===null,s=n?tr(i):Br(i),a=!1;for(;s!==0&&(a===!1||o);){let c=t[s],u=t[s+1];ET(c,e)&&(a=!0,t[s+1]=n?Gl(u):ql(u)),s=n?tr(u):Br(u)}a&&(t[r+1]=n?ql(i):Gl(i))}function ET(t,e){return t===null||e==null||(Array.isArray(t)?t[1]:t)===e?!0:Array.isArray(t)&&typeof e=="string"?Li(t,e)>=0:!1}var ut={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function IT(t){return t.substring(ut.key,ut.keyEnd)}function CT(t){return ST(t),bv(t,wv(t,0,ut.textEnd))}function bv(t,e){let r=ut.textEnd;return r===e?-1:(e=ut.keyEnd=TT(t,ut.key=e,r),wv(t,e,r))}function ST(t){ut.key=0,ut.keyEnd=0,ut.value=0,ut.valueEnd=0,ut.textEnd=t.length}function wv(t,e,r){for(;e<r&&t.charCodeAt(e)<=32;)e++;return e}function TT(t,e,r){for(;e<r&&t.charCodeAt(e)>32;)e++;return e}function xT(t,e,r){let n=N(),i=Vi();if(gt(n,i,e)){let o=oe(),s=aa();Hd(o,s,n,t,e,n[Q],r,!1)}return xT}function Wl(t,e,r,n,i){let o=e.inputs,s=i?"class":"style";qd(t,r,o[s],s,n)}function tf(t,e,r){return Ev(t,e,r,!1),tf}function nf(t,e){return Ev(t,e,null,!0),nf}function _j(t){Iv(kT,Dv,t,!0)}function Dv(t,e){for(let r=CT(e);r>=0;r=bv(e,r))Js(t,IT(e),!0)}function Ev(t,e,r,n){let i=N(),o=oe(),s=sa(2);if(o.firstUpdatePass&&Sv(o,t,s,n),e!==Pe&&gt(i,s,e)){let a=o.data[nn()];Tv(o,a,i,i[Q],t,i[s+1]=PT(e,r),n,s)}}function Iv(t,e,r,n){let i=oe(),o=sa(2);i.firstUpdatePass&&Sv(i,null,o,n);let s=N();if(r!==Pe&&gt(s,o,r)){let a=i.data[nn()];if(xv(a,n)&&!Cv(i,o)){let c=n?a.classesWithoutHost:a.stylesWithoutHost;c!==null&&(r=Qu(c,r||"")),Wl(i,a,s,r,n)}else OT(i,a,s,s[Q],s[o+1],s[o+1]=RT(t,e,r),n,o)}}function Cv(t,e){return e>=t.expandoStartIndex}function Sv(t,e,r,n){let i=t.data;if(i[r+1]===null){let o=i[nn()],s=Cv(t,r);xv(o,n)&&e===null&&!s&&(e=!1),e=MT(i,o,e,n),wT(i,o,e,r,s,n)}}function MT(t,e,r,n){let i=EI(t),o=n?e.residualClasses:e.residualStyles;if(i===null)(n?e.classBindings:e.styleBindings)===0&&(r=Wu(null,t,e,r,n),r=Pi(r,e.attrs,n),o=null);else{let s=e.directiveStylingLast;if(s===-1||t[s]!==i)if(r=Wu(i,t,e,r,n),o===null){let c=NT(t,e,n);c!==void 0&&Array.isArray(c)&&(c=Wu(null,t,e,c[1],n),c=Pi(c,e.attrs,n),_T(t,e,n,c))}else o=AT(t,e,n)}return o!==void 0&&(n?e.residualClasses=o:e.residualStyles=o),r}function NT(t,e,r){let n=r?e.classBindings:e.styleBindings;if(Br(n)!==0)return t[tr(n)]}function _T(t,e,r,n){let i=r?e.classBindings:e.styleBindings;t[tr(i)]=n}function AT(t,e,r){let n,i=e.directiveEnd;for(let o=1+e.directiveStylingLast;o<i;o++){let s=t[o].hostAttrs;n=Pi(n,s,r)}return Pi(n,e.attrs,r)}function Wu(t,e,r,n,i){let o=null,s=r.directiveEnd,a=r.directiveStylingLast;
8for(a===-1?a=r.directiveStart:a++;a<s&&(o=e[a],n=Pi(n,o.hostAttrs,i),o!==t);)a++;return t!==null&&(r.directiveStylingLast=a),n}function Pi(t,e,r){let n=r?1:2,i=-1;if(e!==null)for(let o=0;o<e.length;o++){let s=e[o];typeof s=="number"?i=s:i===n&&(Array.isArray(t)||(t=t===void 0?[]:["",t]),Js(t,s,r?!0:e[++o]))}return t===void 0?null:t}function RT(t,e,r){if(r==null||r==="")return Ie;let n=[],i=$e(r);if(Array.isArray(i))for(let o=0;o<i.length;o++)t(n,i[o],!0);else if(typeof i=="object")for(let o in i)i.hasOwnProperty(o)&&t(n,o,i[o]);else typeof i=="string"&&e(n,i);return n}function kT(t,e,r){let n=String(e);n!==""&&!n.includes(" ")&&Js(t,n,r)}function OT(t,e,r,n,i,o,s,a){i===Pe&&(i=Ie);let c=0,u=0,l=0<i.length?i[0]:null,d=0<o.length?o[0]:null;for(;l!==null||d!==null;){let f=c<i.length?i[c+1]:void 0,h=u<o.length?o[u+1]:void 0,p=null,v;l===d?(c+=2,u+=2,f!==h&&(p=d,v=h)):d===null||l!==null&&l<d?(c+=2,p=l):(u+=2,p=d,v=h),p!==null&&Tv(t,e,r,n,p,v,s,a),l=c<i.length?i[c]:null,d=u<o.length?o[u]:null}}function Tv(t,e,r,n,i,o,s,a){if(!(e.type&3))return;let c=t.data,u=c[a+1],l=bT(u)?vg(c,e,r,i,Br(u),s):void 0;if(!qs(l)){qs(o)||yT(u)&&(o=vg(c,null,r,i,a,s));let d=am(nn(),r);cS(n,s,d,i,o)}}function vg(t,e,r,n,i,o){let s=e===null,a;for(;i>0;){let c=t[i],u=Array.isArray(c),l=u?c[1]:c,d=l===null,f=r[i+1];f===Pe&&(f=d?Ie:void 0);let h=d?Fu(f,n):l===n?f:void 0;if(u&&!qs(h)&&(h=Fu(c,n)),qs(h)&&(a=h,s))return a;let p=t[i+1];i=s?tr(p):Br(p)}if(e!==null){let c=o?e.residualClasses:e.residualStyles;c!=null&&(a=Fu(c,n))}return a}function qs(t){return t!==void 0}function PT(t,e){return t==null||t===""||(typeof e=="string"?t=t+e:typeof t=="object"&&(t=Ce($e(t)))),t}function xv(t,e){return(t.flags&(e?8:16))!==0}function Aj(t,e,r){let n=N(),i=vv(n,t,e,r);Iv(Js,Dv,i,!0)}function FT(t,e,r,n,i,o){let s=e.consts,a=jr(s,i),c=Zr(e,t,2,n,a);return zd(e,r,c,jr(s,o)),c.attrs!==null&&$s(c,c.attrs,!1),c.mergedAttrs!==null&&$s(c,c.mergedAttrs,!0),e.queries!==null&&e.queries.elementStart(e,c),c}function Ca(t,e,r,n){let i=N(),o=oe(),s=ie+t,a=i[Q],c=o.firstCreatePass?FT(s,o,i,e,r,n):o.data[s],u=Mv(o,i,c,a,e,t);i[s]=u;let l=na(c);return rr(c,!0),My(a,u,c),!Gi(c)&&ca()&&pa(o,i,u,c),lI()===0&&Sn(u,i),dI(),l&&(Vd(o,i,c),$d(o,c,i)),n!==null&&Ud(i,c),Ca}function Sa(){let t=be();md()?yd():(t=t.parent,rr(t,!1));let e=t;hI(e)&&gI(),fI();let r=oe();return r.firstCreatePass&&(ua(r,t),pd(t)&&r.queries.elementEnd(t)),e.classesWithoutHost!=null&&NI(e)&&Wl(r,e,N(),e.classesWithoutHost,!0),e.stylesWithoutHost!=null&&_I(e)&&Wl(r,e,N(),e.stylesWithoutHost,!1),Sa}function rf(t,e,r,n){return Ca(t,e,r,n),Sa(),rf}var Mv=(t,e,r,n,i,o)=>(Nn(!0),Pd(n,i,Im()));function LT(t,e,r,n,i,o){let s=e[ft],a=!s||qr()||Gi(r)||Hi(s,o);if(Nn(a),a)return Pd(n,i,Im());let c=ba(s,t,e,r);return Jm(s,o)&&da(s,o,c.nextSibling),s&&($m(r)||Vm(c))&&$i(r)&&(pI(r),Sy(c)),c}function jT(){Mv=LT}function $T(t,e,r,n,i){let o=e.consts,s=jr(o,n),a=Zr(e,t,8,"ng-container",s);s!==null&&$s(a,s,!0);let c=jr(o,i);return zd(e,r,a,c),e.queries!==null&&e.queries.elementStart(e,a),a}function VT(t,e,r){let n=N(),i=oe(),o=t+ie,s=i.firstCreatePass?$T(o,i,n,e,r):i.data[o];rr(s,!0);let a=Nv(i,n,s,t);return n[o]=a,ca()&&pa(i,n,a,s),Sn(a,n),na(s)&&(Vd(i,n,s),$d(i,s,n)),r!=null&&Ud(n,s),VT}function UT(){let t=be(),e=oe();return md()?yd():(t=t.parent,rr(t,!1)),e.firstCreatePass&&(ua(e,t),pd(t)&&e.queries.elementEnd(t)),UT}var Nv=(t,e,r,n)=>(Nn(!0),my(e[Q],""));function BT(t,e,r,n){let i,o=e[ft],s=!o||qr()||Hi(o,n)||Gi(r);if(Nn(s),s)return my(e[Q],"");let a=ba(o,t,e,r),c=wC(o,n);return da(o,n,a),i=wa(c,a),i}function HT(){Nv=BT}function Rj(){return N()}function zT(t,e,r){let n=N(),i=Vi();if(gt(n,i,e)){let o=oe(),s=aa();Hd(o,s,n,t,e,n[Q],r,!0)}return zT}var Bn=void 0;function qT(t){let e=t,r=Math.floor(Math.abs(t)),n=t.toString().replace(/^[^.]*\.?/,"").length;return r===1&&n===0?1:5}var GT=["en",[["a","p"],["AM","PM"],Bn],[["AM","PM"],Bn,Bn],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],Bn,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],Bn,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}
8, {0}",Bn,"{1} 'at' {0}",Bn],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",qT],Si={};function _v(t,e,r){typeof e!="string"&&(r=e,e=t[ne.LocaleId]),e=e.toLowerCase().replace(/_/g,"-"),Si[e]=t,r&&(Si[e][ne.ExtraData]=r)}function Ue(t){let e=WT(t),r=bg(e);if(r)return r;let n=e.split("-")[0];if(r=bg(n),r)return r;if(n==="en")return GT;throw new E(701,!1)}function bg(t){return t in Si||(Si[t]=ye.ng&&ye.ng.common&&ye.ng.common.locales&&ye.ng.common.locales[t]),Si[t]}var ne=function(t){return t[t.LocaleId=0]="LocaleId",t[t.DayPeriodsFormat=1]="DayPeriodsFormat",t[t.DayPeriodsStandalone=2]="DayPeriodsStandalone",t[t.DaysFormat=3]="DaysFormat",t[t.DaysStandalone=4]="DaysStandalone",t[t.MonthsFormat=5]="MonthsFormat",t[t.MonthsStandalone=6]="MonthsStandalone",t[t.Eras=7]="Eras",t[t.FirstDayOfWeek=8]="FirstDayOfWeek",t[t.WeekendRange=9]="WeekendRange",t[t.DateFormat=10]="DateFormat",t[t.TimeFormat=11]="TimeFormat",t[t.DateTimeFormat=12]="DateTimeFormat",t[t.NumberSymbols=13]="NumberSymbols",t[t.NumberFormats=14]="NumberFormats",t[t.CurrencyCode=15]="CurrencyCode",t[t.CurrencySymbol=16]="CurrencySymbol",t[t.CurrencyName=17]="CurrencyName",t[t.Currencies=18]="Currencies",t[t.Directionality=19]="Directionality",t[t.PluralCase=20]="PluralCase",t[t.ExtraData=21]="ExtraData",t}(ne||{});function WT(t){return t.toLowerCase().replace(/_/g,"-")}var Gs="en-US";var ZT=Gs;function YT(t){typeof t=="string"&&(ZT=t.toLowerCase().replace(/_/g,"-"))}var QT=(t,e,r)=>{};function Wi(t,e,r,n){let i=N(),o=oe(),s=be();return Av(o,i,i[Q],s,t,e,n),Wi}function KT(t,e,r,n){let i=t.cleanup;if(i!=null)for(let o=0;o<i.length-1;o+=2){let s=i[o];if(s===r&&i[o+1]===n){let a=e[Is],c=i[o+2];return a.length>c?a[c]:null}typeof s=="string"&&(o+=2)}return null}function Av(t,e,r,n,i,o,s){let a=na(n),u=t.firstCreatePass&&By(t),l=e[ht],d=Uy(e),f=!0;if(n.type&3||s){let v=je(n,e),w=s?s(v):v,C=d.length,L=s?O=>s(pt(O[n.index])):n.index,q=null;if(!s&&a&&(q=KT(t,e,i,n.index)),q!==null){let O=q.__ngLastListenerFn__||q;O.__ngNextListenerFn__=o,q.__ngLastListenerFn__=o,f=!1}else{o=Dg(n,e,l,o),QT(v,i,o);let O=r.listen(w,i,o);d.push(o,O),u&&u.push(i,L,C,C+1)}}else o=Dg(n,e,l,o);let h=n.outputs,p;if(f&&h!==null&&(p=h[i])){let v=p.length;if(v)for(let w=0;w<v;w+=2){let C=p[w],L=p[w+1],ce=e[C][L].subscribe(o),re=d.length;d.push(o,ce),u&&u.push(i,n.index,re,-(re+1))}}}function wg(t,e,r,n){let i=j(null);try{return Rt(6,e,r),r(n)!==!1}catch(o){return Hy(t,o),!1}finally{Rt(7,e,r),j(i)}}function Dg(t,e,r,n){return function i(o){if(o===Function)return n;let s=t.componentOffset>-1?Mn(t.index,e):e;Zd(s,5);let a=wg(e,r,n,o),c=i.__ngNextListenerFn__;for(;c;)a=wg(e,r,c,o)&&a,c=c.__ngNextListenerFn__;return a}}function kj(t=1){return CI(t)}function XT(t,e){let r=null,n=kE(t);for(let i=0;i<e.length;i++){let o=e[i];if(o==="*"){r=i;continue}if(n===null?Bg(t,o,!0):FE(n,o))return i}return r}function Rv(t){let e=N()[Re][ke];if(!e.projection){let r=t?t.length:1,n=e.projection=CE(r,null),i=n.slice(),o=e.child;for(;o!==null;){if(o.type!==128){let s=t?XT(o,t):0;s!==null&&(i[s]?i[s].projectionNext=o:n[s]=o,i[s]=o)}o=o.next}}}function kv(t,e=0,r,n,i,o){let s=N(),a=oe(),c=n?t+1:null;c!==null&&fv(s,a,c,n,i,o,null,r);let u=Zr(a,ie+t,16,null,r||null);u.projection===null&&(u.projection=e),yd();let d=!s[ft]||qr();s[Re][ke].projection[u.projection]===null&&c!==null?JT(s,a,c):d&&(u.flags&32)!==32&&sS(a,s,u)}function JT(t,e,r){let n=ie+r,i=e.data[n],o=t[n],s=kl(o,i.tView.ssrId),a=zy(t,i,void 0,{dehydratedView:s});qy(o,a,0,Al(i,s))}function Ov(t,e,r,n){V0(t,e,r,n)}function Oj(t,e,r){$0(t,e,r)}function Pv(t){let e=N(),r=oe(),n=ym();vd(n+1);let i=Kd(r,n);if(t.dirty&&sI(e)===((i.metadata.flags&2)===2)){if(i.matches===null)t.reset([]);else{let o=H0(e,n);t.reset(o,XI),t.notifyOnChanges()}return!0}return!1}function Fv(){return j0(N(),ym())}function ex(t,e,r,n){r>=t.data.length&&(t.data[r]=null,t.blueprint[r]=null),e[r]=n}function Pj(t){let e=yI();return ra(e,ie+t)}function Lv(t,e=""){let r=N(),n=oe(),i=t+ie,o=n.firstCreatePass?Zr(n,i,1,e,null):n.data[i],s=jv(n,r,o,e,t);r[i]=s,ca()&&pa(n,r,s,o),rr(o,!1)}var jv=(t,e,r,n,i)=>(Nn(!0),gy(e[Q],n));function tx(t,e,r,n,i){let o=e[ft],s=!o||qr()||Gi(r)||Hi(o,i);return Nn(s),s?gy(e[Q],n):ba(o,t,e,r)}function nx(){jv=tx}function of(t){return $v("",t,""),of}function $v(t,e,r){let n=N(),i=vv(n,t,e,r);return i!==Pe&&Gd(n,nn(),i),$v}function rx(t,e,r,n,i){let o=N(),s=gT(o,t,e,r,n,i);return s!==Pe&&Gd(o,nn(),s),rx}function ix(t,e,r,n,i,o,s){let a=N(),c=mT(a,t,e,r,n,i,o,s);
vendor: 4,400 bytes, line 8
8return c!==Pe&&Gd(a,nn(),c),ix}function ox(t,e,r){uv(e)&&(e=e());let n=N(),i=Vi();if(gt(n,i,e)){let o=oe(),s=aa();Hd(o,s,n,t,e,n[Q],r,!1)}return ox}function Fj(t,e){let r=uv(t);return r&&t.set(e),r}function sx(t,e){let r=N(),n=oe(),i=be();return Av(n,r,r[Q],i,t,e),sx}function ax(t,e,r){let n=oe();if(n.firstCreatePass){let i=Cn(t);Zl(r,n.data,n.blueprint,i,!0),Zl(e,n.data,n.blueprint,i,!1)}}function Zl(t,e,r,n,i){if(t=Ee(t),Array.isArray(t))for(let o=0;o<t.length;o++)Zl(t[o],e,r,n,i);else{let o=oe(),s=N(),a=be(),c=Pr(t)?t:Ee(t.provide),u=Xg(t),l=a.providerIndexes&1048575,d=a.directiveStart,f=a.providerIndexes>>20;if(Pr(t)||!t.multi){let h=new Kn(u,i,R),p=Yu(c,e,i?l:l+f,d);p===-1?(ul(_s(a,s),o,c),Zu(o,t,e.length),e.push(c),a.directiveStart++,a.directiveEnd++,i&&(a.providerIndexes+=1048576),r.push(h),s.push(h)):(r[p]=h,s[p]=h)}else{let h=Yu(c,e,l+f,d),p=Yu(c,e,l,l+f),v=h>=0&&r[h],w=p>=0&&r[p];if(i&&!w||!i&&!v){ul(_s(a,s),o,c);let C=lx(i?ux:cx,r.length,i,n,u);!i&&w&&(r[p].providerFactory=C),Zu(o,t,e.length,0),e.push(c),a.directiveStart++,a.directiveEnd++,i&&(a.providerIndexes+=1048576),r.push(C),s.push(C)}else{let C=Vv(r[i?p:h],u,!i&&n);Zu(o,t,h>-1?h:p,C)}!i&&n&&w&&r[p].componentProviders++}}}function Zu(t,e,r,n){let i=Pr(e),o=WE(e);if(i||o){let c=(o?Ee(e.useClass):e).prototype.ngOnDestroy;if(c){let u=t.destroyHooks||(t.destroyHooks=[]);if(!i&&e.multi){let l=u.indexOf(r);l===-1?u.push(r,[n,c]):u[l+1].push(n,c)}else u.push(r,c)}}}function Vv(t,e,r){return r&&t.componentProviders++,t.multi.push(e)-1}function Yu(t,e,r,n){for(let i=r;i<n;i++)if(e[i]===t)return i;return-1}function cx(t,e,r,n){return Yl(this.multi,[])}function ux(t,e,r,n){let i=this.multi,o;if(this.providerFactory){let s=this.providerFactory.componentProviders,a=Xn(r,r[_],this.providerFactory.index,n);o=a.slice(0,s),Yl(i,o);for(let c=s;c<a.length;c++)o.push(a[c])}else o=[],Yl(i,o);return o}function Yl(t,e){for(let r=0;r<t.length;r++){let n=t[r];e.push(n())}return e}function lx(t,e,r,n,i){let o=new Kn(t,r,R);return o.multi=[],o.index=e,o.componentProviders=0,Vv(o,i,n&&!r),o}function Lj(t,e=[]){return r=>{r.providersResolver=(n,i)=>ax(n,i?i(t):t,e)}}var dx=(()=>{let e=class e{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){let i=Yg(!1,n.type),o=i.length>0?Ia([i],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,o)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}};e.\u0275prov=b({token:e,providedIn:"environment",factory:()=>new e(y(Se))});let t=e;return t})();function Zi(t){tt("NgStandalone"),t.getStandaloneInjector=e=>e.get(dx).getOrCreateStandaloneInjector(t)}function jj(t,e,r){let n=ir()+t,i=N();return i[n]===Pe?qi(i,n,r?e.call(r):e()):aT(i,n)}function $j(t,e,r,n){return Uv(N(),ir(),t,e,r,n)}function Vj(t,e,r,n,i){return Bv(N(),ir(),t,e,r,n,i)}function Uj(t,e,r,n,i,o,s){return hx(N(),ir(),t,e,r,n,i,o,s)}function Ta(t,e){let r=t[e];return r===Pe?void 0:r}function Uv(t,e,r,n,i,o){let s=e+r;return gt(t,s,i)?qi(t,s+1,o?n.call(o,i):n(i)):Ta(t,s+1)}function Bv(t,e,r,n,i,o,s){let a=e+r;return Oi(t,a,i,o)?qi(t,a+2,s?n.call(s,i,o):n(i,o)):Ta(t,a+2)}function fx(t,e,r,n,i,o,s,a){let c=e+r;return dv(t,c,i,o,s)?qi(t,c+3,a?n.call(a,i,o,s):n(i,o,s)):Ta(t,c+3)}function hx(t,e,r,n,i,o,s,a,c){let u=e+r;return cT(t,u,i,o,s,a)?qi(t,u+4,c?n.call(c,i,o,s,a):n(i,o,s,a)):Ta(t,u+4)}function sf(t,e){let r=oe(),n,i=t+ie;r.firstCreatePass?(n=px(e,r.pipeRegistry),r.data[i]=n,n.onDestroy&&(r.destroyHooks??=[]).push(i,n.onDestroy)):n=r.data[i];let o=n.factory||(n.factory=Gn(n.type,!0)),s,a=_e(R);try{let c=Ns(!1),u=o();return Ns(c),ex(r,N(),i,u),u}finally{_e(a)}}function px(t,e){if(e)for(let r=e.length-1;r>=0;r--){let n=e[r];if(t===n.name)return n}}function af(t,e,r){let n=t+ie,i=N(),o=ra(i,n);return cf(i,n)?Uv(i,ir(),e,o.transform,r,o):o.transform(r)}function Bj(t,e,r,n){let i=t+ie,o=N(),s=ra(o,i);return cf(o,i)?Bv(o,ir(),e,s.transform,r,n,s):s.transform(r,n)}function Hj(t,e,r,n,i){let o=t+ie,s=N(),a=ra(s,o);return cf(s,o)?fx(s,ir(),e,a.transform,r,n,i,a):a.transform(r,n,i)}function cf(t,e){return t[_].data[e].pure}function zj(t,e){return va(t,e)}var ls=null;function gx(t){ls!==null&&(t.defaultEncapsulation!==ls.defaultEncapsulation||t.preserveWhitespace
8s!==ls.preserveWhitespaces)||(ls=t)}var Yr=(()=>{let e=class e{log(n){console.log(n)}warn(n){console.warn(n)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"platform"});let t=e;return t})();var uf=new D(""),Yi=new D(""),xa=(()=>{let e=class e{constructor(n,i,o){this._ngZone=n,this.registry=i,this._isZoneStable=!0,this._callbacks=[],this.taskTrackingZone=null,lf||(mx(o),o.addToWindow(i)),this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{U.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}isStable(){return this._isZoneStable&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;this._callbacks.length!==0;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb()}});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(i=>i.updateCb&&i.updateCb(n)?(clearTimeout(i.timeoutId),!1):!0)}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,i,o){let s=-1;i&&i>0&&(s=setTimeout(()=>{this._callbacks=this._callbacks.filter(a=>a.timeoutId!==s),n()},i)),this._callbacks.push({doneCb:n,timeoutId:s,updateCb:o})}whenStable(n,i,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,i,o),this._runCallbacksIfReady()}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,i,o){return[]}};e.\u0275fac=function(i){return new(i||e)(y(U),y(Ma),y(Yi))},e.\u0275prov=b({token:e,factory:e.\u0275fac});let t=e;return t})(),Ma=(()=>{let e=class e{constructor(){this._applications=new Map}registerApplication(n,i){this._applications.set(n,i)}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,i=!0){return lf?.findTestabilityInTree(this,n,i)??null}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"platform"});let t=e;return t})();function mx(t){lf=t}var lf;function Qr(t){return!!t&&typeof t.then=="function"}function df(t){return!!t&&typeof t.subscribe=="function"}var Na=new D(""),Hv=(()=>{let e=class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((n,i)=>{this.resolve=n,this.reject=i}),this.appInits=g(Na,{optional:!0})??[]}runInitializers(){if(this.initialized)return;let n=[];for(let o of this.appInits){let s=o();if(Qr(s))n.push(s);else if(df(s)){let a=new Promise((c,u)=>{s.subscribe({complete:c,error:u})});n.push(a)}}let i=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{i()}).catch(o=>{this.reject(o)}),n.length===0&&i(),this.initialized=!0}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Kr=new D("");function yx(){fp(()=>{throw new E(600,!1)})}function vx(t){return t.isBoundToModule}var bx=10;function wx(t,e,r){try{let n=r();return Qr(n)?n.catch(i=>{throw e.runOutsideAngular(()=>t.handleError(i)),i}):n}catch(n){throw e.runOutsideAngular(()=>t.handleError(n)),n}}function zv(t,e){return Array.isArray(e)?e.reduce(zv,t):m(m({},t),e)}var vt=(()=>{let e=class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=g(QI),this.afterRenderManager=g(gv),this.zonelessEnabled=g(Da),this.dirtyFlags=0,this.deferredDirtyFlags=0,this.externalTestViews=new Set,this.beforeRender=new te,this.afterTick=new te,this.componentTypes=[],this.components=[],this.isStable=g(rn).hasPendingTasks.pipe(T(n=>!n)),this._injector=g(Se)}get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}whenStable(){let n;return new Promise(i=>{n=this.isStable.subscribe({next:o=>{o&&i()}})}).finally(()=>{n.unsubscribe()})}get injector(){return this._injector}bootstrap(n,i){let o=n instanceof js;if(!this._injector.get(Hv).done){let h=!o&&qg(n),p=!1;throw new E(405,p)}let a;o?a=n:a=this._injector.get($r).resolveComponentFactory(n),this.componentTypes.push(a.componentType);
8let c=vx(a)?void 0:this._injector.get(Tn),u=i||a.selector,l=a.create(De.NULL,[],u,c),d=l.location.nativeElement,f=l.injector.get(uf,null);return f?.registerApplication(d),l.onDestroy(()=>{this.detachView(l.hostView),vs(this.components,l),f?.unregisterApplication(d)}),this._loadComponent(l),l}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){if(this._runningTick)throw new E(101,!1);let n=j(null);try{this._runningTick=!0,this.synchronize()}catch(i){this.internalErrorHandler(i)}finally{this._runningTick=!1,j(n),this.afterTick.next()}}synchronize(){let n=null;this._injector.destroyed||(n=this._injector.get(Vr,null,{optional:!0})),this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0;let i=0;for(;this.dirtyFlags!==0&&i++<bx;)this.synchronizeOnce(n)}synchronizeOnce(n){if(this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0,this.dirtyFlags&7){let i=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8,this.beforeRender.next(i);for(let{_lView:o,notifyErrorHandler:s}of this._views)Dx(o,s,i,this.zonelessEnabled);if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&7)return}else n?.begin?.(),n?.end?.();this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:n})=>ia(n))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(n){let i=n;this._views.push(i),i.attachToAppRef(this)}detachView(n){let i=n;vs(this._views,i),i.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);let i=this._injector.get(Kr,[]);[...this._bootstrapListeners,...i].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),()=>vs(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new E(406,!1);let n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function vs(t,e){let r=t.indexOf(e);r>-1&&t.splice(r,1)}var ds;function _a(t){ds??=new WeakMap;let e=ds.get(t);if(e)return e;let r=t.isStable.pipe(Ke(n=>n)).toPromise().then(()=>{});return ds.set(t,r),t.onDestroy(()=>ds?.delete(t)),r}function Dx(t,e,r,n){if(!r&&!ia(t))return;Zy(t,e,r&&!n?0:1)}var Ql=class{constructor(e,r){this.ngModuleFactory=e,this.componentFactories=r}},Aa=(()=>{let e=class e{compileModuleSync(n){return new zs(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){let i=this.compileModuleSync(n),o=Gg(n),s=py(o.declarations).reduce((a,c)=>{let u=In(c);return u&&a.push(new Ur(u)),a},[]);return new Ql(i,s)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Ex=new D("");function Ix(t,e,r){let n=new zs(r);return Promise.resolve(n)}function Eg(t){for(let e=t.length-1;e>=0;e--)if(t[e]!==void 0)return t[e]}var Cx=(()=>{let e=class e{constructor(){this.zone=g(U),this.changeDetectionScheduler=g(er),this.applicationRef=g(vt)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function Sx({ngZoneFactory:t,ignoreChangesOutsideZone:e,scheduleInRootZone:r}){return t??=()=>new U(V(m({},qv()),{scheduleInRootZone:r})),[{provide:U,useFactory:t},{provide:Wn,multi:!0,useFactory:()=>{let n=g(Cx,{optional:!0});return()=>n.initialize()}},{provide:Wn,multi:!0,useFactory:()=>{let n=g(Tx);return()=>{n.initialize()}}},e===!0?{provide:tv,useValue:!0}:[],{provide:Yd,useValue:r??Fm}]}function qv(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:t?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:t?.runCoalescing??!1}}var Tx=(()=>{let e=class e{constructor(){this.subscription=new P,this.initialized=!1,this.zone=g(U),this.pendingTasks=g(rn)}initialize(){if(this.initialized)return;this.initialized=!0;let n=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(n=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{U.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}
8))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{U.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var Gv=(()=>{let e=class e{constructor(){this.appRef=g(vt),this.taskService=g(rn),this.ngZone=g(U),this.zonelessEnabled=g(Da),this.disableScheduling=g(tv,{optional:!0})??!1,this.zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run,this.schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}],this.subscriptions=new P,this.angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(Rs):null,this.scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(g(Yd,{optional:!0})??!1),this.cancelScheduledCallback=null,this.useMicrotaskScheduler=!1,this.runningTick=!1,this.pendingRenderTaskId=null,this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof Ri||!this.zoneIsDefined)}notify(n){if(!this.zonelessEnabled&&n===5)return;switch(n){case 0:{this.appRef.dirtyFlags|=2;break}case 3:case 2:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 7:{this.appRef.deferredDirtyFlags|=8;break}case 9:case 8:case 6:case 10:default:this.appRef.dirtyFlags|=8}if(!this.shouldScheduleTick())return;let i=this.useMicrotaskScheduler?eg:Lm;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>i(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>i(()=>this.tick()))}shouldScheduleTick(){return!(this.disableScheduling||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(Rs+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let n=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(i){throw this.taskService.remove(n),i}finally{this.cleanup()}this.useMicrotaskScheduler=!0,eg(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(n)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let n=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(n)}}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function qj(){return tt("NgZoneless"),nr([{provide:er,useExisting:Gv},{provide:U,useClass:Ri},{provide:Da,useValue:!0},{provide:Yd,useValue:!1},[]])}function xx(){return typeof $localize<"u"&&$localize.locale||Gs}var Qi=new D("",{providedIn:"root",factory:()=>g(Qi,F.Optional|F.SkipSelf)||xx()});var Ws=new D("");function fs(t){return!t.moduleRef}function Mx(t){let e=fs(t)?t.r3Injector:t.moduleRef.injector,r=e.get(U);return r.run(()=>
vendor: 10,702 bytes, line 8
8{fs(t)?t.r3Injector.resolveInjectorInitializers():t.moduleRef.resolveInjectorInitializers();let n=e.get(Lt,null),i;if(r.runOutsideAngular(()=>{i=r.onError.subscribe({next:o=>{n.handleError(o)}})}),fs(t)){let o=()=>e.destroy(),s=t.platformInjector.get(Ws);s.add(o),e.onDestroy(()=>{i.unsubscribe(),s.delete(o)})}else{let o=()=>t.moduleRef.destroy(),s=t.platformInjector.get(Ws);s.add(o),t.moduleRef.onDestroy(()=>{vs(t.allPlatformModules,t.moduleRef),i.unsubscribe(),s.delete(o)})}return wx(n,r,()=>{let o=e.get(Hv);return o.runInitializers(),o.donePromise.then(()=>{let s=e.get(Qi,Gs);if(YT(s||Gs),fs(t)){let a=e.get(vt);return t.rootComponent!==void 0&&a.bootstrap(t.rootComponent),a}else return Nx(t.moduleRef,t.allPlatformModules),t.moduleRef})})})}function Nx(t,e){let r=t.injector.get(vt);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(n=>r.bootstrap(n));else if(t.instance.ngDoBootstrap)t.instance.ngDoBootstrap(r);else throw new E(-403,!1);e.push(t)}var Wv=(()=>{let e=class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,i){let o=i?.scheduleInRootZone,s=()=>YI(i?.ngZone,V(m({},qv({eventCoalescing:i?.ngZoneEventCoalescing,runCoalescing:i?.ngZoneRunCoalescing})),{scheduleInRootZone:o})),a=i?.ignoreChangesOutsideZone,c=[Sx({ngZoneFactory:s,ignoreChangesOutsideZone:a}),{provide:er,useExisting:Gv}],u=oT(n.moduleType,this.injector,c);return Mx({moduleRef:u,allPlatformModules:this._modules,platformInjector:this.injector})}bootstrapModule(n,i=[]){let o=zv({},i);return Ix(this.injector,o,n).then(s=>this.bootstrapModuleFactory(s,o))}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new E(404,!1);this._modules.slice().forEach(i=>i.destroy()),this._destroyListeners.forEach(i=>i());let n=this._injector.get(Ws,null);n&&(n.forEach(i=>i()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}};e.\u0275fac=function(i){return new(i||e)(y(De))},e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"platform"});let t=e;return t})(),Ti=null,Zv=new D("");function _x(t){if(Ti&&!Ti.get(Zv,!1))throw new E(400,!1);yx(),Ti=t;let e=t.get(Wv);return kx(t),e}function ff(t,e,r=[]){let n=`Platform: ${e}`,i=new D(n);return(o=[])=>{let s=Yv();if(!s||s.injector.get(Zv,!1)){let a=[...r,...o,{provide:i,useValue:!0}];t?t(a):_x(Ax(a,n))}return Rx(i)}}function Ax(t=[],e){return De.create({name:e,providers:[{provide:ea,useValue:"platform"},{provide:Ws,useValue:new Set([()=>Ti=null])},...t]})}function Rx(t){let e=Yv();if(!e)throw new E(401,!1);return e}function Yv(){return Ti?.get(Wv)??null}function kx(t){t.get(Td,null)?.forEach(r=>r())}var an=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=Ox;let t=e;return t})();function Ox(t){return Px(be(),N(),(t&16)===16)}function Px(t,e,r){if($i(t)&&!r){let n=Mn(t.index,e);return new Jn(n,n)}else if(t.type&175){let n=e[Re];return new Jn(n,e)}return null}var Kl=class{constructor(){}supports(e){return lv(e)}create(e){return new Xl(e)}},Fx=(t,e)=>e,Xl=class{constructor(e){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=e||Fx}forEachItem(e){let r;for(r=this._itHead;r!==null;r=r._next)e(r)}forEachOperation(e){let r=this._itHead,n=this._removalsHead,i=0,o=null;for(;r||n;){let s=!n||r&&r.currentIndex<Ig(n,i,o)?r:n,a=Ig(s,i,o),c=s.currentIndex;if(s===n)i--,n=n._nextRemoved;else if(r=r._next,s.previousIndex==null)i++;else{o||(o=[]);let u=a-i,l=c-i;if(u!=l){for(let f=0;f<u;f++){let h=f<o.length?o[f]:o[f]=0,p=h+f;l<=p&&p<u&&(o[f]=h+1)}let d=s.previousIndex;o[d]=l-u}}a!==c&&e(s,a,c)}}forEachPreviousItem(e){let r;for(r=this._previousItHead;r!==null;r=r._nextPrevious)e(r)}forEachAddedItem(e){let r;for(r=this._additionsHead;r!==null;r=r._nextAdded)e(r)}forEachMovedItem(e){let r;for(r=this._movesHead;r!==null;r=r._nextMoved)e(r)}forEachRemovedItem(e){let r;for(r=this._removalsHead;r!==null;r=r._nextRemoved)e(r)}forEachIdentityChange(e){let r;for(r=this._identityChangesHead;r!==null;r=r._nextIdentityChange)e(r)}diff(e){if(e==null&&(e=[]),!lv(e))throw new E(900,!1);return this.check(e)?this:null}onDestroy(){}check(e){this._reset();let r=this._itHead,n=!1,i,o,s;if(Array.isArray(e)){this.length=e.length;for(let a=0;a<this.length;a++)o=e[a],s=this._trackByFn(a,o),r===null||!Object.is(r.trackById,s)?(r=this._mismatch(r,o,s,a),n=!0):(n&&(r=this._verifyReinsertion(r,o,s,a)),Object.is(r.item,o)||this._addIdentityChange(r,o)),r=r._next}else i=0,sT(e,a=>{s=this._trackByFn(i,a),r===null||!Object.is(r.trackById,s)?(r=this._mismatch(r,a,s,i),n=!0):(n&&(r=this._verifyReinsertion(r,a,s,i)),Object.is(r.item,a)||this._addIdentityChange(r,a)),r=r._next,i++}),this.length=i;return this._truncate(r),this.collection=e,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let e;for(e=this._previousItHead=this._itHead;e!==null;e=e._next)e._nextPrevious=e._next;for(e=this._additionsHead;e!==null;e=e._nextAdded)e.previousIndex=e.currentIndex;for(this._additionsHead=this._additionsTail=null,e=this._movesHead;e!==null;e=e._nextMoved)e.previousIndex=e.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(e,r,n,i){let o;return e===null?o=this._itTail:(o=e._prev,this._remove(e)),e=this._unlinkedRecords===null?null:this._unlinkedRecords.get(n,null),e!==null?(Object.is(e.item,r)||this._addIdentityChange(e,r),this._reinsertAfter(e,o,i)):(e=this._linkedRecords===null?null:this._linkedRecords.get(n,i),e!==null?(Object.is(e.item,r)||this._addIdentityChange(e,r),this._moveAfter(e,o,i)):e=this._addAfter(new Jl(r,n),o,i)),e}_verifyReinsertion(e,r,n,i){let o=this._unlinkedRecords===null?null:this._unlinkedRecords.get(n,null);return o!==null?e=this._reinsertAfter(o,e._prev,i):e.currentIndex!=i&&(e.currentIndex=i,this._addToMoves(e,i)),e}_truncate(e){for(;e!==null;){let r=e._next;this._addToRemovals(this._unlink(e)),e=r}this._unlinkedRecords!==null&&this._unlinkedRecords.clear(),this._additionsTail!==null&&(this._additionsTail._nextAdded=null),this._movesTail!==null&&(this._movesTail._nextMoved=null),this._itTail!==null&&(this._itTail._next=null),this._removalsTail!==null&&(this._removalsTail._nextRemoved=null),this._identityChangesTail!==null&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(e,r,n){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(e);let i=e._prevRemoved,o=e._nextRemoved;return i===null?this._removalsHead=o:i._nextRemoved=o,o===null?this._removalsTail=i:o._prevRemoved=i,this._insertAfter(e,r,n),this._addToMoves(e,n),e}_moveAfter(e,r,n){return this._unlink(e),this._insertAfter(e,r,n),this._addToMoves(e,n),e}_addAfter(e,r,n){return this._insertAfter(e,r,n),this._additionsTail===null?this._additionsTail=this._additionsHead=e:this._additionsTail=this._additionsTail._nextAdded=e,e}_insertAfter(e,r,n){let i=r===null?this._itHead:r._next;return e._next=i,e._prev=r,i===null?this._itTail=e:i._prev=e,r===null?this._itHead=e:r._next=e,this._linkedRecords===null&&(this._linkedRecords=new Zs),this._linkedRecords.put(e),e.currentIndex=n,e}_remove(e){return this._addToRemovals(this._unlink(e))}_unlink(e){this._linkedRecords!==null&&this._linkedRecords.remove(e);let r=e._prev,n=e._next;return r===null?this._itHead=n:r._next=n,n===null?this._itTail=r:n._prev=r,e}_addToMoves(e,r){return e.previousIndex===r||(this._movesTail===null?this._movesTail=this._movesHead=e:this._movesTail=this._movesTail._nextMoved=e),e}_addToRemovals(e){return this._unlinkedRecords===null&&(this._unlinkedRecords=new Zs),this._unlinkedRecords.put(e),e.currentIndex=null,e._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=e,e._prevRemoved=null):(e._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=e),e}_addIdentityChange(e,r){return e.item=r,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=e:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=e,e}},Jl=class{constructor(e,r){this.item=e,this.trackById=r,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}},ed=class{constructor(){this._head=null,this._tail=null}add(e){this._head===null?(this._head=this._tail=e,e._nextDup=null,e._prevDup=null):(this._tail._nextDup=e,e._prevDup=this._tail,e._nextDup=null,this._tail=e)}get(e,r){let n;for(n=this._head;n!==null;n=n._nextDup)if((r===null||r<=n.currentIndex)&&Object.is(n.trackById,e))return n;return null}remove(e){let r=e._prevDup,n=e._nextDup;return r===null?this._head=n:r._nextDup=n,n===null?this._tail=r:n._prevDup=r,this._head===null}},Zs=class{constructor(){this.map=new Map}put(e){let r=e.trackById,n=this.map.get(r);n||(n=new ed,this.map.set(r,n)),n.add(e)}get(e,r){let n=e,i=this.map.get(n);return i?i.get(e,r):null}remove(e){let r=e.trackById;return this.map.get(r).remove(e)&&this.map.delete(r),e}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function Ig(t,e,r){let n=t.previousIndex;if(n===null)return n;let i=0;return r&&n<r.length&&(i=r[n]),n+e+i}var td=class{constructor(){}supports(e){return e instanceof Map||Xd(e)}create(){return new nd}},nd=class{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return this._additionsHead!==null||this._changesHead!==null||this._removalsHead!==null}forEachItem(e){let r;for(r=this._mapHead;r!==null;r=r._next)e(r)}forEachPreviousItem(e){let r;for(r=this._previousMapHead;r!==null;r=r._nextPrevious)e(r)}forEachChangedItem(e){let r;for(r=this._changesHead;r!==null;r=r._nextChanged)e(r)}forEachAddedItem(e){let r;for(r=this._additionsHead;r!==null;r=r._nextAdded)e(r)}forEachRemovedItem(e){let r;for(r=this._removalsHead;r!==null;r=r._nextRemoved)e(r)}diff(e){if(!e)e=new Map;else if(!(e instanceof Map||Xd(e)))throw new E(900,!1);return this.check(e)?this:null}onDestroy(){}check(e){this._reset();let r=this._mapHead;
8if(this._appendAfter=null,this._forEach(e,(n,i)=>{if(r&&r.key===i)this._maybeAddToChanges(r,n),this._appendAfter=r,r=r._next;else{let o=this._getOrCreateRecordForKey(i,n);r=this._insertBeforeOrAppend(r,o)}}),r){r._prev&&(r._prev._next=null),this._removalsHead=r;for(let n=r;n!==null;n=n._nextRemoved)n===this._mapHead&&(this._mapHead=null),this._records.delete(n.key),n._nextRemoved=n._next,n.previousValue=n.currentValue,n.currentValue=null,n._prev=null,n._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(e,r){if(e){let n=e._prev;return r._next=e,r._prev=n,e._prev=r,n&&(n._next=r),e===this._mapHead&&(this._mapHead=r),this._appendAfter=e,e}return this._appendAfter?(this._appendAfter._next=r,r._prev=this._appendAfter):this._mapHead=r,this._appendAfter=r,null}_getOrCreateRecordForKey(e,r){if(this._records.has(e)){let i=this._records.get(e);this._maybeAddToChanges(i,r);let o=i._prev,s=i._next;return o&&(o._next=s),s&&(s._prev=o),i._next=null,i._prev=null,i}let n=new rd(e);return this._records.set(e,n),n.currentValue=r,this._addToAdditions(n),n}_reset(){if(this.isDirty){let e;for(this._previousMapHead=this._mapHead,e=this._previousMapHead;e!==null;e=e._next)e._nextPrevious=e._next;for(e=this._changesHead;e!==null;e=e._nextChanged)e.previousValue=e.currentValue;for(e=this._additionsHead;e!=null;e=e._nextAdded)e.previousValue=e.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(e,r){Object.is(r,e.currentValue)||(e.previousValue=e.currentValue,e.currentValue=r,this._addToChanges(e))}_addToAdditions(e){this._additionsHead===null?this._additionsHead=this._additionsTail=e:(this._additionsTail._nextAdded=e,this._additionsTail=e)}_addToChanges(e){this._changesHead===null?this._changesHead=this._changesTail=e:(this._changesTail._nextChanged=e,this._changesTail=e)}_forEach(e,r){e instanceof Map?e.forEach(r):Object.keys(e).forEach(n=>r(e[n],n))}},rd=class{constructor(e){this.key=e,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}};function Cg(){return new hf([new Kl])}var hf=(()=>{let e=class e{constructor(n){this.factories=n}static create(n,i){if(i!=null){let o=i.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:i=>e.create(n,i||Cg()),deps:[[e,new Xs,new Hr]]}}find(n){let i=this.factories.find(o=>o.supports(n));if(i!=null)return i;throw new E(901,!1)}};e.\u0275prov=b({token:e,providedIn:"root",factory:Cg});let t=e;return t})();function Sg(){return new pf([new td])}var pf=(()=>{let e=class e{constructor(n){this.factories=n}static create(n,i){if(i){let o=i.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:i=>e.create(n,i||Sg()),deps:[[e,new Xs,new Hr]]}}find(n){let i=this.factories.find(o=>o.supports(n));if(i)return i;throw new E(901,!1)}};e.\u0275prov=b({token:e,providedIn:"root",factory:Sg});let t=e;return t})();var Qv=ff(null,"core",[]),Kv=(()=>{let e=class e{constructor(n){}};e.\u0275fac=function(i){return new(i||e)(y(vt))},e.\u0275mod=yt({type:e}),e.\u0275inj=mt({});let t=e;return t})();var Tg=!1;function Lx(){Tg||(Tg=!0,mC(),jT(),nx(),HT(),fT(),k0(),p0(),mS())}function jx(t,e){return _a(t)}function Xv(){return nr([{provide:is,useFactory:()=>{let t=!0;return Nr()&&(t=!!g(Wr,{optional:!0})?.get(Km,null)),t&&tt("NgHydration"),t}},{provide:Wn,useValue:()=>{a0(!1),Nr()&&g(is)&&($x(),Lx())},multi:!0},{provide:ty,useFactory:()=>Nr()&&g(is)},{provide:Kr,useFactory:()=>
8{if(Nr()&&g(is)){let t=g(vt),e=g(De);return()=>{jx(t,e).then(()=>{d0(t)})}}return()=>{}},multi:!0}])}function $x(){let t=Ui(),e;for(let r of t.body.childNodes)if(r.nodeType===Node.COMMENT_NODE&&r.textContent?.trim()===pC){e=r;break}if(!e)throw new E(-507,!1)}function cn(t){return typeof t=="boolean"?t:t!=null&&t!=="false"}function gf(t,e=NaN){return!isNaN(parseFloat(t))&&!isNaN(Number(t))?Number(t):e}function Gj(t,e){tt("NgSignals");let r=up(t);return e?.equal&&(r[Ct].equal=e.equal),r}function mf(t){let e=j(null);try{return t()}finally{j(e)}}var Vx=new D("",{providedIn:"root",factory:()=>g(Ux)}),Ux=(()=>{let e=class e{};e.\u0275prov=b({token:e,providedIn:"root",factory:()=>new id});let t=e;return t})(),id=class{constructor(){this.queuedEffectCount=0,this.queues=new Map,this.pendingTasks=g(rn),this.taskId=null}scheduleEffect(e){if(this.enqueue(e),this.taskId===null){let r=this.taskId=this.pendingTasks.add();queueMicrotask(()=>{this.flush(),this.pendingTasks.remove(r),this.taskId=null})}}enqueue(e){let r=e.creationZone;this.queues.has(r)||this.queues.set(r,new Set);let n=this.queues.get(r);n.has(e)||(this.queuedEffectCount++,n.add(e))}flush(){for(;this.queuedEffectCount>0;)for(let[e,r]of this.queues)e===null?this.flushQueue(r):e.run(()=>this.flushQueue(r))}flushQueue(e){for(let r of e)e.delete(r),this.queuedEffectCount--,r.run()}},od=class{constructor(e,r,n,i,o,s){this.scheduler=e,this.effectFn=r,this.creationZone=n,this.injector=o,this.watcher=mp(a=>this.runEffect(a),()=>this.schedule(),s),this.unregisterOnDestroy=i?.onDestroy(()=>this.destroy())}runEffect(e){try{this.effectFn(e)}catch(r){this.injector.get(Lt,null,{optional:!0})?.handleError(r)}}run(){this.watcher.run()}schedule(){this.scheduler.scheduleEffect(this)}destroy(){this.watcher.destroy(),this.unregisterOnDestroy?.()}};function Bx(t,e){tt("NgSignals"),!e?.injector&&hd(Bx);let r=e?.injector??g(De),n=e?.manualCleanup!==!0?r.get(la):null,i=new od(r.get(Vx),t,typeof Zone>"u"?null:Zone.current,n,r,e?.allowSignalWrites??!1),o=r.get(an,null,{optional:!0});return!o||!(o._lView[x]&8)?i.watcher.notify():(o._lView[ps]??=[]).push(i.watcher.notify),i}function Jv(t){let e=In(t);if(!e)return null;let r=new Ur(e);return{get selector(){return r.selector},get type(){return r.componentType},get inputs(){return r.inputs},get outputs(){return r.outputs},get ngContentSelectors(){return r.ngContentSelectors},get isStandalone(){return e.standalone},get isSignal(){return e.signals}}}var cb=null;function An(){return cb}function ub(t){cb??=t}var Va=class{};var G=new D(""),_f=(()=>{let e=class e{historyGo(n){throw new Error("")}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=b({token:e,factory:()=>g(Hx),providedIn:"platform"});let t=e;return t})(),lb=new D(""),Hx=(()=>{let e=class e extends _f{constructor(){super(),this._doc=g(G),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return An().getBaseHref(this._doc)}onPopState(n){let i=An().getGlobalEventTarget(this._doc,"window");return i.addEventListener("popstate",n,!1),()=>i.removeEventListener("popstate",n)}onHashChange(n){let i=An().getGlobalEventTarget(this._doc,"window");return i.addEventListener("hashchange",n,!1),()=>i.removeEventListener("hashchange",n)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(n){this._location.pathname=n}pushState(n,i,o){this._history.pushState(n,i,o)}replaceState(n,i,o){this._history.replaceState(n,i,o)}forward(){this._history.forward()}back(){this._history.back()}historyGo(n=0){this._history.go(n)}getState(){return this._history.state}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=b({token:e,factory:()=>new e,providedIn:"platform"});let t=e;return t})();function Af(t,e){if(t.length==0)return e;if(e.length==0)return t;let r=0;return t.endsWith("/")&&r++,e.startsWith("/")&&r++,r==2?t+e.substring(1):r==1?t+e:t+"/"+e}function eb(t){let e=t.match(/#|\?|$/),r=e&&e.index||t.length,n=r-(t[r-1]==="/"?1:0);return t.slice(0,n)+t.slice(r)}function ln(t){return t&&t[0]!=="?"?"?"+t:t}var hn=(()=>{let e=class e{historyGo(n){throw new Error("")}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=b({token:e,factory:()=>g(Rf),providedIn:"root"});let t=e;return t})(),db=new D(""),Rf=(()=>{let e=class e extends hn{constructor(n,i){super(),this._platformLocation=n,this._removeListenerFns=[],this._baseHref=i??this._platformLocation.getBaseHrefFromDOM()??g(G).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.on
8HashChange(n))}getBaseHref(){return this._baseHref}prepareExternalUrl(n){return Af(this._baseHref,n)}path(n=!1){let i=this._platformLocation.pathname+ln(this._platformLocation.search),o=this._platformLocation.hash;return o&&n?`${i}${o}`:i}pushState(n,i,o,s){let a=this.prepareExternalUrl(o+ln(s));this._platformLocation.pushState(n,i,a)}replaceState(n,i,o,s){let a=this.prepareExternalUrl(o+ln(s));this._platformLocation.replaceState(n,i,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}};e.\u0275fac=function(i){return new(i||e)(y(_f),y(db,8))},e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),fb=(()=>{let e=class e extends hn{constructor(n,i){super(),this._platformLocation=n,this._baseHref="",this._removeListenerFns=[],i!=null&&(this._baseHref=i)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}path(n=!1){let i=this._platformLocation.hash??"#";return i.length>0?i.substring(1):i}prepareExternalUrl(n){let i=Af(this._baseHref,n);return i.length>0?"#"+i:i}pushState(n,i,o,s){let a=this.prepareExternalUrl(o+ln(s));a.length==0&&(a=this._platformLocation.pathname),this._platformLocation.pushState(n,i,a)}replaceState(n,i,o,s){let a=this.prepareExternalUrl(o+ln(s));a.length==0&&(a=this._platformLocation.pathname),this._platformLocation.replaceState(n,i,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}};e.\u0275fac=function(i){return new(i||e)(y(_f),y(db,8))},e.\u0275prov=b({token:e,factory:e.\u0275fac});let t=e;return t})(),Jr=(()=>{let e=class e{constructor(n){this._subject=new ae,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=n;let i=this._locationStrategy.getBaseHref();this._basePath=Gx(eb(tb(i))),this._locationStrategy.onPopState(o=>{this._subject.emit({url:this.path(!0),pop:!0,state:o.state,type:o.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(n=!1){return this.normalize(this._locationStrategy.path(n))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(n,i=""){return this.path()==this.normalize(n+ln(i))}normalize(n){return e.stripTrailingSlash(qx(this._basePath,tb(n)))}prepareExternalUrl(n){return n&&n[0]!=="/"&&(n="/"+n),this._locationStrategy.prepareExternalUrl(n)}go(n,i="",o=null){this._locationStrategy.pushState(o,"",n,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+ln(i)),o)}replaceState(n,i="",o=null){this._locationStrategy.replaceState(o,"",n,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+ln(i)),o)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(n=0){this._locationStrategy.historyGo?.(n)}onUrlChange(n){return this._urlChangeListeners.push(n),this._urlChangeSubscription??=this.subscribe(i=>{this._notifyUrlChangeListeners(i.url,i.state)}),()=>{let i=this._urlChangeListeners.indexOf(n);this._urlChangeListeners.splice(i,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(n="",i){this._urlChangeListeners.forEach(o=>o(n,i))}subscribe(n,i,o){return this._subject.subscribe({next:n,error:i,complete:o})}};e.normalizeQueryParams=ln,e.joinWithSlash=Af,e.stripTrailingSlash=eb,e.\u0275fac=function(i){return new(i||e)(y(hn))},e.\u0275prov=b({token:e,factory:()=>zx(),providedIn:"root"});let t=e;return t})();function zx(){return new Jr(y(hn))}function qx(t,e){if(!t||!e.startsWith(t))return e;let r=e.substring(t.length);return r===""||["/",";","?","#"].includes(r[0])?r:e}function tb(t){return t.replace(/\/index.html$/,"")}function Gx(t){if(new RegExp("^(https?:)?//").test(t)){let[,r]=t.split(/\/\/[^\/]+/);return r}return t}var hb=function(t){return t[t.Decimal=0]="Decimal",t[t.Percent=1]="Percent",t[t.Currency=2]="Currency",t[t.Scie
8ntific=3]="Scientific",t}(hb||{});var Te=function(t){return t[t.Format=0]="Format",t[t.Standalone=1]="Standalone",t}(Te||{}),K=function(t){return t[t.Narrow=0]="Narrow",t[t.Abbreviated=1]="Abbreviated",t[t.Wide=2]="Wide",t[t.Short=3]="Short",t}(K||{}),Be=function(t){return t[t.Short=0]="Short",t[t.Medium=1]="Medium",t[t.Long=2]="Long",t[t.Full=3]="Full",t}(Be||{}),He={Decimal:0,Group:1,List:2,PercentSign:3,PlusSign:4,MinusSign:5,Exponential:6,SuperscriptingExponent:7,PerMille:8,Infinity:9,NaN:10,TimeSeparator:11,CurrencyDecimal:12,CurrencyGroup:13};function Wx(t){return Ue(t)[ne.LocaleId]}function Zx(t,e,r){let n=Ue(t),i=[n[ne.DayPeriodsFormat],n[ne.DayPeriodsStandalone]],o=nt(i,e);return nt(o,r)}function Yx(t,e,r){let n=Ue(t),i=[n[ne.DaysFormat],n[ne.DaysStandalone]],o=nt(i,e);return nt(o,r)}function Qx(t,e,r){let n=Ue(t),i=[n[ne.MonthsFormat],n[ne.MonthsStandalone]],o=nt(i,e);return nt(o,r)}function Kx(t,e){let n=Ue(t)[ne.Eras];return nt(n,e)}function Ra(t,e){let r=Ue(t);return nt(r[ne.DateFormat],e)}function ka(t,e){let r=Ue(t);return nt(r[ne.TimeFormat],e)}function Oa(t,e){let n=Ue(t)[ne.DateTimeFormat];return nt(n,e)}function dn(t,e){let r=Ue(t),n=r[ne.NumberSymbols][e];if(typeof n>"u"){if(e===He.CurrencyDecimal)return r[ne.NumberSymbols][He.Decimal];if(e===He.CurrencyGroup)return r[ne.NumberSymbols][He.Group]}return n}function Xx(t,e){return Ue(t)[ne.NumberFormats][e]}function pb(t){if(!t[ne.ExtraData])throw new Error(`Missing extra locale data for the locale "${t[ne.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function Jx(t){let e=Ue(t);return pb(e),(e[ne.ExtraData][2]||[]).map(n=>typeof n=="string"?vf(n):[vf(n[0]),vf(n[1])])}function eM(t,e,r){let n=Ue(t);pb(n);let i=[n[ne.ExtraData][0],n[ne.ExtraData][1]],o=nt(i,e)||[];return nt(o,r)||[]}function nt(t,e){for(let r=e;r>-1;r--)if(typeof t[r]<"u")return t[r];throw new Error("Locale data API: locale data undefined")}function vf(t){let[e,r]=t.split(":");return{hours:+e,minutes:+r}}var tM=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Pa={},nM=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/,fn=function(t){return t[t.Short=0]="Short",t[t.ShortGMT=1]="ShortGMT",t[t.Long=2]="Long",t[t.Extended=3]="Extended",t}(fn||{}),H=function(t){return t[t.FullYear=0]="FullYear",t[t.Month=1]="Month",t[t.Date=2]="Date",t[t.Hours=3]="Hours",t[t.Minutes=4]="Minutes",t[t.Seconds=5]="Seconds",t[t.FractionalSeconds=6]="FractionalSeconds",t[t.Day=7]="Day",t}(H||{}),B=function(t){return t[t.DayPeriods=0]="DayPeriods",t[t.Days=1]="Days",t[t.Months=2]="Months",t[t.Eras=3]="Eras",t}(B||{});function rM(t,e,r,n){let i=fM(t);e=un(r,e)||e;let s=[],a;for(;e;)if(a=nM.exec(e),a){s=s.concat(a.slice(1));let l=s.pop();if(!l)break;e=l}else{s.push(e);break}let c=i.getTimezoneOffset();n&&(c=mb(n,c),i=dM(i,n,!0));let u="";return s.forEach(l=>{let d=uM(l);u+=d?d(i,r,c):l==="''"?"'":l.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),u}function Ua(t,e,r){let n=new Date(0);return n.setFullYear(t,e,r),n.setHours(0,0,0),n}function un(t,e){let r=Wx(t);if(Pa[r]??={},Pa[r][e])return Pa[r][e];let n="";switch(e){case"shortDate":n=Ra(t,Be.Short);break;case"mediumDate":n=Ra(t,Be.Medium);break;case"longDate":n=Ra(t,Be.Long);break;case"fullDate":n=Ra(t,Be.Full);break;case"shortTime":n=ka(t,Be.Short);break;case"mediumTime":n=ka(t,Be.Medium);break;case"longTime":n=ka(t,Be.Long);break;case"fullTime":n=ka(t,Be.Full);break;case"short":let i=un(t,"shortTime"),o=un(t,"shortDate");n=Fa(Oa(t,Be.Short),[i,o]);break;case"medium":let s=un(t,"mediumTime"),a=un(t,"mediumDate");n=Fa(Oa(t,Be.Medium),[s,a]);break;case"long":let c=un(t,"longTime"),u=un(t,"longDate");n=Fa(Oa(t,Be.Long),[c,u]);break;case"full":let l=un(t,"fullTime"),d=un(t,"fullDate");n=Fa(Oa(t,Be.Full),[l,d]);break}return n&&(Pa[r][e]=n),n}function Fa(t,e){return e&&(t=t.replace(/\{([^}]+)}/g,function(r,n){return e!=null&&n in e?e[n]:r})),t}function bt(t,e,r="-",n,i){let o="";
8(t<0||i&&t<=0)&&(i?t=-t+1:(t=-t,o=r));let s=String(t);for(;s.length<e;)s="0"+s;return n&&(s=s.slice(s.length-e)),o+s}function iM(t,e){return bt(t,3).substring(0,e)}function ue(t,e,r=0,n=!1,i=!1){return function(o,s){let a=oM(t,o);if((r>0||a>-r)&&(a+=r),t===H.Hours)a===0&&r===-12&&(a=12);else if(t===H.FractionalSeconds)return iM(a,e);let c=dn(s,He.MinusSign);return bt(a,e,c,n,i)}}function oM(t,e){switch(t){case H.FullYear:return e.getFullYear();case H.Month:return e.getMonth();case H.Date:return e.getDate();case H.Hours:return e.getHours();case H.Minutes:return e.getMinutes();case H.Seconds:return e.getSeconds();case H.FractionalSeconds:return e.getMilliseconds();case H.Day:return e.getDay();default:throw new Error(`Unknown DateType value "${t}".`)}}function X(t,e,r=Te.Format,n=!1){return function(i,o){return sM(i,o,t,e,r,n)}}function sM(t,e,r,n,i,o){switch(r){case B.Months:return Qx(e,i,n)[t.getMonth()];case B.Days:return Yx(e,i,n)[t.getDay()];case B.DayPeriods:let s=t.getHours(),a=t.getMinutes();if(o){let u=Jx(e),l=eM(e,i,n),d=u.findIndex(f=>{if(Array.isArray(f)){let[h,p]=f,v=s>=h.hours&&a>=h.minutes,w=s<p.hours||s===p.hours&&a<p.minutes;if(h.hours<p.hours){if(v&&w)return!0}else if(v||w)return!0}else if(f.hours===s&&f.minutes===a)return!0;return!1});if(d!==-1)return l[d]}return Zx(e,i,n)[s<12?0:1];case B.Eras:return Kx(e,n)[t.getFullYear()<=0?0:1];default:let c=r;throw new Error(`unexpected translation type ${c}`)}}function La(t){return function(e,r,n){let i=-1*n,o=dn(r,He.MinusSign),s=i>0?Math.floor(i/60):Math.ceil(i/60);switch(t){case fn.Short:return(i>=0?"+":"")+bt(s,2,o)+bt(Math.abs(i%60),2,o);case fn.ShortGMT:return"GMT"+(i>=0?"+":"")+bt(s,1,o);case fn.Long:return"GMT"+(i>=0?"+":"")+bt(s,2,o)+":"+bt(Math.abs(i%60),2,o);case fn.Extended:return n===0?"Z":(i>=0?"+":"")+bt(s,2,o)+":"+bt(Math.abs(i%60),2,o);default:throw new Error(`Unknown zone width "${t}"`)}}}var aM=0,$a=4;function cM(t){let e=Ua(t,aM,1).getDay();return Ua(t,0,1+(e<=$a?$a:$a+7)-e)}function gb(t){let e=t.getDay(),r=e===0?-3:$a-e;return Ua(t.getFullYear(),t.getMonth(),t.getDate()+r)}function bf(t,e=!1){return function(r,n){let i;if(e){let o=new Date(r.getFullYear(),r.getMonth(),1).getDay()-1,s=r.getDate();i=1+Math.floor((s+o)/7)}else{let o=gb(r),s=cM(o.getFullYear()),a=o.getTime()-s.getTime();i=1+Math.round(a/6048e5)}return bt(i,t,dn(n,He.MinusSign))}}function ja(t,e=!1){return function(r,n){let o=gb(r).getFullYear();return bt(o,t,dn(n,He.MinusSign),e)}}var wf={};function uM(t){if(wf[t])return wf[t];let e;switch(t){case"G":case"GG":case"GGG":e=X(B.Eras,K.Abbreviated);break;case"GGGG":e=X(B.Eras,K.Wide);break;case"GGGGG":e=X(B.Eras,K.Narrow);break;case"y":e=ue(H.FullYear,1,0,!1,!0);break;case"yy":e=ue(H.FullYear,2,0,!0,!0);break;case"yyy":e=ue(H.FullYear,3,0,!1,!0);break;case"yyyy":e=ue(H.FullYear,4,0,!1,!0);break;case"Y":e=ja(1);break;case"YY":e=ja(2,!0);break;case"YYY":e=ja(3);break;case"YYYY":e=ja(4);break;case"M":case"L":e=ue(H.Month,1,1);break;case"MM":case"LL":e=ue(H.Month,2,1);break;case"MMM":e=X(B.Months,K.Abbreviated);break;case"MMMM":e=X(B.Months,K.Wide);break;case"MMMMM":e=X(B.Months,K.Narrow);break;case"LLL":e=X(B.Months,K.Abbreviated,Te.Standalone);break;case"LLLL":e=X(B.Months,K.Wide,Te.Standalone);break;case"LLLLL":e=X(B.Months,K.Narrow,Te.Standalone);break;case"w":e=bf(1);break;case"ww":e=bf(2);break;case"W":e=bf(1,!0);break;case"d":e=ue(H.Date,1);break;case"dd":e=ue(H.Date,2);break;case"c":case"cc":e=ue(H.Day,1);break;case"ccc":e=X(B.Days,K.Abbreviated,Te.Standalone);break;case"cccc":e=X(B.Days,K.Wide,Te.Standalone);break;case"ccccc":e=X(B.Days,K.Narrow,Te.Standalone);break;case"cccccc":e=X(B.Days,K.Short,Te.Standalone);break;case"E":case"EE":case"EEE":e=X(B.Days,K.Abbreviated);break;case"EEEE":e=X(B.Days,K.Wide);break;case"EEEEE":e=X(B.Days,K.Narrow);break;case"EEEEEE":e=X(B.Days,K.Short);break;case"a":case"aa":case"aaa":e=X(B.DayPeriods,K.Abbreviated);break;case"aaaa":e=X(B.DayPeriods,K.Wide);break;case"aaaaa":e=X(B.DayPeriods,K.Narrow);break;case"b":case"bb":case"bbb":e=X(B.DayPeriods,K.Abbreviated,Te.Standalone,!0);break;case"bbbb":e=X(B.DayPeriods,K.Wide,Te.Standalone,!0);break;case"bbbbb":e=X(B.DayPeriods,K.Narrow,Te.Standalone,!0);break;case"B":case"BB":case"BBB":e=X(B.DayPeriods,K.Abbreviated,Te.Format,!0);break;case"BBBB":e=X(B.DayPeriods,K.Wide,Te.Format,!0);break;case"BBBBB":e=X(B.DayPeriods,K.Narrow,Te.Format,!0);break;case"h":e=ue(H.Hours,1,-12);break;case"hh":e=ue(H.Hours,2,-12);break;case"H":e=ue(H.Hours,1);break;case"HH":e=ue(H.Hours,2);break;case"m":e=ue(H.Minutes,1);break;case"mm":e=ue(H.Minutes,2);break;case"s":e=ue(H.Seconds,1);break;case"ss":e=ue(H.Seconds,2);break;case"S":e=ue(H.FractionalSeconds,1);break;case"SS":e=ue(H.FractionalSeconds,2);break;case"SSS":e=ue(H.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":e=La(fn.Short);break;case"ZZZZZ":e=La(fn.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":e=La(fn.ShortGMT);break;
vendor: 4,118 bytes, line 8
8case"OOOO":case"ZZZZ":case"zzzz":e=La(fn.Long);break;default:return null}return wf[t]=e,e}function mb(t,e){t=t.replace(/:/g,"");let r=Date.parse("Jan 01, 1970 00:00:00 "+t)/6e4;return isNaN(r)?e:r}function lM(t,e){return t=new Date(t.getTime()),t.setMinutes(t.getMinutes()+e),t}function dM(t,e,r){let n=r?-1:1,i=t.getTimezoneOffset(),o=mb(e,i);return lM(t,n*(o-i))}function fM(t){if(nb(t))return t;if(typeof t=="number"&&!isNaN(t))return new Date(t);if(typeof t=="string"){if(t=t.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(t)){let[i,o=1,s=1]=t.split("-").map(a=>+a);return Ua(i,o-1,s)}let r=parseFloat(t);if(!isNaN(t-r))return new Date(r);let n;if(n=t.match(tM))return hM(n)}let e=new Date(t);if(!nb(e))throw new Error(`Unable to convert "${t}" into a date`);return e}function hM(t){let e=new Date(0),r=0,n=0,i=t[8]?e.setUTCFullYear:e.setFullYear,o=t[8]?e.setUTCHours:e.setHours;t[9]&&(r=Number(t[9]+t[10]),n=Number(t[9]+t[11])),i.call(e,Number(t[1]),Number(t[2])-1,Number(t[3]));let s=Number(t[4]||0)-r,a=Number(t[5]||0)-n,c=Number(t[6]||0),u=Math.floor(parseFloat("0."+(t[7]||0))*1e3);return o.call(e,s,a,c,u),e}function nb(t){return t instanceof Date&&!isNaN(t.valueOf())}var pM=/^(\d+)?\.((\d+)(-(\d+))?)?$/,rb=22,Ba=".",Ki="0",gM=";",mM=",",Df="#";function yM(t,e,r,n,i,o,s=!1){let a="",c=!1;if(!isFinite(t))a=dn(r,He.Infinity);else{let u=DM(t);s&&(u=wM(u));let l=e.minInt,d=e.minFrac,f=e.maxFrac;if(o){let L=o.match(pM);if(L===null)throw new Error(`${o} is not a valid digit info`);let q=L[1],O=L[3],ce=L[5];q!=null&&(l=Ef(q)),O!=null&&(d=Ef(O)),ce!=null?f=Ef(ce):O!=null&&d>f&&(f=d)}EM(u,d,f);let h=u.digits,p=u.integerLen,v=u.exponent,w=[];for(c=h.every(L=>!L);p<l;p++)h.unshift(0);for(;p<0;p++)h.unshift(0);p>0?w=h.splice(p,h.length):(w=h,h=[0]);let C=[];for(h.length>=e.lgSize&&C.unshift(h.splice(-e.lgSize,h.length).join(""));h.length>e.gSize;)C.unshift(h.splice(-e.gSize,h.length).join(""));h.length&&C.unshift(h.join("")),a=C.join(dn(r,n)),w.length&&(a+=dn(r,i)+w.join("")),v&&(a+=dn(r,He.Exponential)+"+"+v)}return t<0&&!c?a=e.negPre+a+e.negSuf:a=e.posPre+a+e.posSuf,a}function vM(t,e,r){let n=Xx(e,hb.Decimal),i=bM(n,dn(e,He.MinusSign));return yM(t,i,e,He.Group,He.Decimal,r)}function bM(t,e="-"){let r={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},n=t.split(gM),i=n[0],o=n[1],s=i.indexOf(Ba)!==-1?i.split(Ba):[i.substring(0,i.lastIndexOf(Ki)+1),i.substring(i.lastIndexOf(Ki)+1)],a=s[0],c=s[1]||"";r.posPre=a.substring(0,a.indexOf(Df));for(let l=0;l<c.length;l++){let d=c.charAt(l);d===Ki?r.minFrac=r.maxFrac=l+1:d===Df?r.maxFrac=l+1:r.posSuf+=d}let u=a.split(mM);if(r.gSize=u[1]?u[1].length:0,r.lgSize=u[2]||u[1]?(u[2]||u[1]).length:0,o){let l=i.length-r.posPre.length-r.posSuf.length,d=o.indexOf(Df);r.negPre=o.substring(0,d).replace(/'/g,""),r.negSuf=o.slice(d+l).replace(/'/g,"")}else r.negPre=e+r.posPre,r.negSuf=r.posSuf;return r}function wM(t){if(t.digits[0]===0)return t;let e=t.digits.length-t.integerLen;return t.exponent?t.exponent+=2:(e===0?t.digits.push(0,0):e===1&&t.digits.push(0),t.integerLen+=2),t}function DM(t){let e=Math.abs(t)+"",r=0,n,i,o,s,a;for((i=e.indexOf(Ba))>-1&&(e=e.replace(Ba,"")),(o=e.search(/e/i))>0?(i<0&&(i=o),i+=+e.slice(o+1),e=e.substring(0,o)):i<0&&(i=e.length),o=0;e.charAt(o)===Ki;o++);if(o===(a=e.length))n=[0],i=1;else{for(a--;e.charAt(a)===Ki;)a--;for(i-=o,n=[],s=0;o<=a;o++,s++)n[s]=Number(e.charAt(o))}return i>rb&&(n=n.splice(0,rb-1),r=i-1,i=1),{digits:n,exponent:r,integerLen:i}}function EM(t,e,r){if(e>r)throw new Error(`The minimum number of digits after fraction (${e}) is higher than the maximum (${r}).`);let n=t.digits,i=n.length-t.integerLen,o=Math.min(Math.max(e,i),r),s=o+t.integerLen,a=n[s];if(s>0){n.splice(Math.max(t.integerLen,s));for(let d=s;d<n.length;d++)n[d]=0}else{i=Math.max(0,i),t.integerLen=1,n.length=Math.max(1,s=o+1),n[0]=0;for(let d=1;d<s;d++)n[d]=0}if(a>=5)if(s-1<0){for(let d=0;d>s;d--)n.unshift(0),t.integerLen++;n.unshift(1),t.integerLen++}else n[s-1]++;for(;i<Math.max(0,o);i++)n.push(0);let c=o!==0,u=e+t.integerLen,l=n.reduceRight(function(d,f,h,p){return f=f+d,p[h]=f<10?f:f-10,
8c&&(p[h]===0&&h>=u?p.pop():c=!1),f>=10?1:0},0);l&&(n.unshift(l),t.integerLen++)}function Ef(t){let e=parseInt(t);if(isNaN(e))throw new Error("Invalid integer literal when parsing "+t);return e}function u$(t,e,r){return _v(t,e,r)}function za(t,e){e=encodeURIComponent(e);for(let r of t.split(";")){let n=r.indexOf("="),[i,o]=n==-1?[r,""]:[r.slice(0,n),r.slice(n+1)];if(i.trim()===e)return decodeURIComponent(o)}return null}var If=/\s+/,ib=[],l$=(()=>{let e=class e{constructor(n,i){this._ngEl=n,this._renderer=i,this.initialClasses=ib,this.stateMap=new Map}set klass(n){this.initialClasses=n!=null?n.trim().split(If):ib}set ngClass(n){this.rawClass=typeof n=="string"?n.trim().split(If):n}ngDoCheck(){for(let i of this.initialClasses)this._updateState(i,!0);let n=this.rawClass;if(Array.isArray(n)||n instanceof Set)for(let i of n)this._updateState(i,!0);else if(n!=null)for(let i of Object.keys(n))this._updateState(i,!!n[i]);this._applyStateDiff()}_updateState(n,i){let o=this.stateMap.get(n);o!==void 0?(o.enabled!==i&&(o.changed=!0,o.enabled=i),o.touched=!0):this.stateMap.set(n,{enabled:i,changed:!0,touched:!0})}_applyStateDiff(){for(let n of this.stateMap){let i=n[0],o=n[1];o.changed?(this._toggleClass(i,o.enabled),o.changed=!1):o.touched||(o.enabled&&this._toggleClass(i,!1),this.stateMap.delete(i)),o.touched=!1}}_toggleClass(n,i){n=n.trim(),n.length>0&&n.split(If).forEach(o=>{i?this._renderer.addClass(this._ngEl.nativeElement,o):this._renderer.removeClass(this._ngEl.nativeElement,o)})}};e.\u0275fac=function(i){return new(i||e)(R(Oe),R(_n))},e.\u0275dir=Le({type:e,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"},standalone:!0});let t=e;return t})();var Cf=class{constructor(e,r,n,i){this.$implicit=e,this.ngForOf=r,this.index=n,this.count=i}get first(){return this.index===0}get last(){return this.index===this.count-1}get even(){return this.index%2===0}get odd(){return!this.even}},d$=(()=>{let e=class e{set ngForOf(n){this._ngForOf=n,this._ngForOfDirty=!0}set ngForTrackBy(n){this._trackByFn=n}get ngForTrackBy(){return this._trackByFn}constructor(n,i,o){this._viewContainer=n,this._template=i,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;let n=this._ngForOf;if(!this._differ&&n)if(0)try{}catch{}else this._differ=this._differs.find(n).create(this.ngForTrackBy)}if(this._differ){let n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}}_applyChanges(n){let i=this._viewContainer;n.forEachOperation((o,s,a)=>{if(o.previousIndex==null)i.createEmbeddedView(this._template,new Cf(o.item,this._ngForOf,-1,-1),a===null?void 0:a);else if(a==null)i.remove(s===null?void 0:s);else if(s!==null){let c=i.get(s);i.move(c,a),ob(c,o)}});for(let o=0,s=i.length;o<s;o++){let c=i.get(o).context;c.index=o,c.count=s,c.ngForOf=this._ngForOf}n.forEachIdentityChange(o=>{let s=i.get(o.currentIndex);ob(s,o)})}static ngTemplateContextGuard(n,i){return!0}};e.\u0275fac=function(i){return new(i||e)(R(et),R(en),R(hf))},e.\u0275dir=Le({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0});let t=e;return t})();function ob(t,e){t.context.$implicit=e.item}var f$=(()=>{let e=class e{constructor(n,i){this._viewContainer=n,this._context=new Sf,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=i}set ngIf(n){this._context.$implicit=this._context.ngIf=n,this._updateView()}set ngIfThen(n){sb("ngIfThen",n),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}set ngIfElse(n){sb("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,i){return!0}};e.\u0275fac=function(i){return new(i||e)(R(et),R(en))},e.\u0275dir=Le({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThe
8n:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0});let t=e;return t})(),Sf=class{constructor(){this.$implicit=null,this.ngIf=null}};function sb(t,e){if(!!!(!e||e.createEmbeddedView))throw new Error(`${t} must be a TemplateRef, but received '${Ce(e)}'.`)}var Ha=class{constructor(e,r){this._viewContainerRef=e,this._templateRef=r,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(e){e&&!this._created?this.create():!e&&this._created&&this.destroy()}},yb=(()=>{let e=class e{constructor(){this._defaultViews=[],this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(n){this._ngSwitch=n,this._caseCount===0&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(n){this._defaultViews.push(n)}_matchCase(n){let i=n===this._ngSwitch;return this._lastCasesMatched||=i,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),i}_updateDefaultCases(n){if(this._defaultViews.length>0&&n!==this._defaultUsed){this._defaultUsed=n;for(let i of this._defaultViews)i.enforceState(n)}}};e.\u0275fac=function(i){return new(i||e)},e.\u0275dir=Le({type:e,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0});let t=e;return t})(),h$=(()=>{let e=class e{constructor(n,i,o){this.ngSwitch=o,o._addCase(),this._view=new Ha(n,i)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}};e.\u0275fac=function(i){return new(i||e)(R(et),R(en),R(yb,9))},e.\u0275dir=Le({type:e,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0});let t=e;return t})(),p$=(()=>{let e=class e{constructor(n,i,o){o._addDefault(new Ha(n,i))}};e.\u0275fac=function(i){return new(i||e)(R(et),R(en),R(yb,9))},e.\u0275dir=Le({type:e,selectors:[["","ngSwitchDefault",""]],standalone:!0});let t=e;return t})();var g$=(()=>{let e=class e{constructor(n,i,o){this._ngEl=n,this._differs=i,this._renderer=o,this._ngStyle=null,this._differ=null}set ngStyle(n){this._ngStyle=n,!this._differ&&n&&(this._differ=this._differs.find(n).create())}ngDoCheck(){if(this._differ){let n=this._differ.diff(this._ngStyle);n&&this._applyChanges(n)}}_setStyle(n,i){let[o,s]=n.split("."),a=o.indexOf("-")===-1?void 0:jt.DashCase;i!=null?this._renderer.setStyle(this._ngEl.nativeElement,o,s?`${i}${s}`:i,a):this._renderer.removeStyle(this._ngEl.nativeElement,o,a)}_applyChanges(n){n.forEachRemovedItem(i=>this._setStyle(i.key,null)),n.forEachAddedItem(i=>this._setStyle(i.key,i.currentValue)),n.forEachChangedItem(i=>this._setStyle(i.key,i.currentValue))}};e.\u0275fac=function(i){return new(i||e)(R(Oe),R(pf),R(_n))},e.\u0275dir=Le({type:e,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0});let t=e;return t})();function qa(t,e){return new E(2100,!1)}var Tf=class{createSubscription(e,r){return mf(()=>e.subscribe({next:r,error:n=>{throw n}}))}dispose(e){mf(()=>e.unsubscribe())}},xf=class{createSubscription(e,r){return e.then(r,n=>{throw n})}dispose(e){}},IM=new xf,CM=new Tf,vb=(()=>{let e=class e{constructor(n){this._latestValue=null,this.markForCheckOnValueUpdate=!0,this._subscription=null,this._obj=null,this._strategy=null,this._ref=n}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(n){if(!this._obj){if(n)try{this.markForCheckOnValueUpdate=!1,this._subscribe(n)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return n!==this._obj?(this._dispose(),this.transform(n)):this._latestValue}_subscribe(n){this._obj=n,this._strategy=this._selectStrategy(n),this._subscription=this._strategy.createSubscription(n,i=>this._updateLatestValue(n,i))}_selectStrategy(n){if(Qr(n))return IM;if(df(n))return CM;throw qa(e,n)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(n,i){n===this._obj&&(this._latestValue=i,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}};e.\u0275fac=function(i){return new(i||e)(R(an,16))},e.\u0275pipe=xn({name:"async",type:e,pure:!1,standalone:!0});let t=e;return t})();var SM="mediumDate",TM=new D(""),xM=new D(""),m$=(()=>{let e=class e{constructor(n,i,o){this.locale=n,this.defaultTimezone=i,this.defaultOptions=o}
8transform(n,i,o,s){if(n==null||n===""||n!==n)return null;try{let a=i??this.defaultOptions?.dateFormat??SM,c=o??this.defaultOptions?.timezone??this.defaultTimezone??void 0;return rM(n,a,s||this.locale,c)}catch(a){throw qa(e,a.message)}}};e.\u0275fac=function(i){return new(i||e)(R(Qi,16),R(TM,24),R(xM,24))},e.\u0275pipe=xn({name:"date",type:e,pure:!0,standalone:!0});let t=e;return t})();var y$=(()=>{let e=class e{constructor(n){this._locale=n}transform(n,i,o){if(!MM(n))return null;o||=this._locale;try{let s=NM(n);return vM(s,o,i)}catch(s){throw qa(e,s.message)}}};e.\u0275fac=function(i){return new(i||e)(R(Qi,16))},e.\u0275pipe=xn({name:"number",type:e,pure:!0,standalone:!0});let t=e;return t})();function MM(t){return!(t==null||t===""||t!==t)}function NM(t){if(typeof t=="string"&&!isNaN(Number(t)-parseFloat(t)))return Number(t);if(typeof t!="number")throw new Error(`${t} is not a number`);return t}var v$=(()=>{let e=class e{transform(n,i,o){if(n==null)return null;if(!this.supports(n))throw qa(e,n);return n.slice(i,o)}supports(n){return typeof n=="string"||Array.isArray(n)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275pipe=xn({name:"slice",type:e,pure:!1,standalone:!0});let t=e;return t})();var Ga=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=yt({type:e}),e.\u0275inj=mt({});let t=e;return t})(),kf="browser",_M="server";function rt(t){return t===kf}function ei(t){return t===_M}var bb=(()=>{let e=class e{};e.\u0275prov=b({token:e,providedIn:"root",factory:()=>rt(g(pe))?new Mf(g(G),window):new Nf});let t=e;return t})(),Mf=class{constructor(e,r){this.document=e,this.window=r,this.offset=()=>[0,0]}setOffset(e){Array.isArray(e)?this.offset=()=>e:this.offset=e}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(e){this.window.scrollTo(e[0],e[1])}scrollToAnchor(e){let r=AM(this.document,e);r&&(this.scrollToElement(r),r.focus())}setHistoryScrollRestoration(e){this.window.history.scrollRestoration=e}scrollToElement(e){let r=e.getBoundingClientRect(),n=r.left+this.window.pageXOffset,i=r.top+this.window.pageYOffset,o=this.offset();this.window.scrollTo(n-o[0],i-o[1])}};function AM(t,e){let r=t.getElementById(e)||t.getElementsByName(e)[0];if(r)return r;if(typeof t.createTreeWalker=="function"&&t.body&&typeof t.body.attachShadow=="function"){let n=t.createTreeWalker(t.body,NodeFilter.SHOW_ELEMENT),i=n.currentNode;for(;i;){let o=i.shadowRoot;if(o){let s=o.getElementById(e)||o.querySelector(`[name="${e}"]`);if(s)return s}i=n.nextNode()}}return null}var Nf=class{setOffset(e){}getScrollPosition(){return[0,0]}scrollToPosition(e){}scrollToAnchor(e){}setHistoryScrollRestoration(e){}},Xr=class{};var wb=t=>t.src,RM=new D("",{providedIn:"root",factory:()=>wb});var kM=new D("NG_OPTIMIZED_PRELOADED_IMAGES",{providedIn:"root",factory:()=>new Set}),OM=(()=>{let e=class e{constructor(){this.preloadedImages=g(kM),this.document=g(G)}createPreloadLinkTag(n,i,o,s){if(this.preloadedImages.has(i))return;this.preloadedImages.add(i);let a=n.createElement("link");n.setAttribute(a,"as","image"),n.setAttribute(a,"href",i),n.setAttribute(a,"rel","preload"),n.setAttribute(a,"fetchpriority","high"),s&&n.setAttribute(a,"imageSizes",s),o&&n.setAttribute(a,"imageSrcset",o),n.appendChild(this.document.head,a)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var PM=/^((\s*\d+w\s*(,|$)){1,})$/;var FM=[1,2],LM=640;var jM=1920,$M=1080;var b$=(()=>{let e=class e{constructor(){this.imageLoader=g(RM),this.config=VM(g(Gm)),this.renderer=g(_n),this.imgElement=g(Oe).nativeElement,this.injector=g(De),this.isServer=ei(g(pe)),this.preloadLinkCreator=g(OM),this.lcpObserver=null,this._renderedSrc=null,this.priority=!1,this.disableOptimizedSrcset=!1,this.fill=!1}ngOnInit(){tt("NgOptimizedImage"),this.placeholder&&this.removePlaceholderOnLoad(this.imgElement),this.setHostAttributes()}setHostAttributes(){this.fill?this.sizes||="100vw":(this.setHostAttribute("width",this.width.toString()),this.setHostAttribute("height",this.height.toString())),this.setHostAttribute("loading",this.getLoadingBehavior()),this.setHostAttribute("fetchpriority",this.getFetchPriority()),this.setHostAttribute("ng-img","true");let n=this.updateSrcAndSrcset();this.sizes&&this.setHostAttribute("sizes",this.sizes),this.isServer&&this.priority&&this.preloadLinkCreator.createPreloadLinkTag(this.renderer,this.getRewrittenSrc(),n,this.sizes)}ngOnChanges(n){if(n.ngSrc&&!n.ngSrc.isFirstChange()){let i=this._renderedSrc;this.updateSrcAndSrcset(!0);let o=this._renderedSrc;this.lcpObserver!==null&&i&&o&&i!==o&&this.injector.get(U).runOutsideAngular(()=>{this.lcpObserver?.updateImage(i,o)})}}callImageLoader(n){let i=n;return this.loaderParams&&(i.loaderParams=this.loaderParams),this.imageLoader(i)}getLoadingBehavior(){return!this.priority&&this.loading!==void 0?this.loading:this.priority?"eager":"lazy"}getFetchPriority(){return this.priority?"high":"auto"}getRewrittenSrc(){if(!this._renderedSrc){let n={src:this.ngSrc};this._renderedSrc=this.callImageLoader(n)}return this._renderedSrc}getRewrittenSrcset(){let n=PM.test(this.ngSrcset);return this.ngSrcset.split(",").filter(o=>o!=="").map(o=>{o=o.trim();let s=n?parseFloat(o):parseFloat(o)*this.width;return`${this.callImageLoader({src:this.ngSrc,width:s})} ${o}`}).join(", ")}getAutomaticSrcset(){return this.sizes?this.getResponsiveSrcset():this.getFixedSrcset()}getResponsiveSrcset(){let{breakpoints:n}=this.config,i=n;return this.sizes?.trim()==="100vw"&&(i=n.filter(s=>s>=LM)),i.map(s=>`${this.callImageLoader({src:this.ngSrc,width:s})} ${s}w`).join(", ")}updateSrcAndSrcset(n=!1){n&&(this._renderedSrc=null);let i=this.getRewrittenSrc();this.setHostAttribute("src",i);let o;return this.ngSrcset?o=this.getRewrittenSrcset():this.shouldGenerateAutomaticSrcset()&&(o=this.getAutomaticSrcset()),o&&this.setHostAttribute("srcset",o),o}getFixedSrcset(){return FM.map(i=>`${this.callImageLoader({src:this.ngSrc,width:this.width*i})} ${i}x`).join(", ")}shouldGenerateAutomaticSrcset(){let n=!1;return this.sizes||(n=this.width>jM||this.height>$M),!this.disableOptimizedSrcset&&!this.srcset&&this.imageLoader!==wb&&!n}generatePlaceholder(n){let{placeholderResolution:i}=this.config;return n===!0?`url(${this.callImageLoader({src:this.ngSrc,width:i,isPlaceholder:!0})})`:typeof n=="string"?`url(${n})`:null}shouldBlurPlaceholder(n){return!n||!n.hasOwnProperty("blur")?!0:!!n.blur}removePlaceholderOnLoad(n){let i=()=>{let a=this.injector.get(an);o(),s(),this.placeholder=!1,a.markForCheck()},o=this.renderer.listen(n,"load",i),s=this.renderer.listen(n,"error",i);UM(n,i)}ngOnDestroy(){}setHostAttribute(n,i){this.renderer.setAttribute(this.imgElement,n,i)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275dir=Le({type:e,selectors:[["img","ngSrc",""]],hostVars:18,hostBindings:function(i,o){i&2&&tf("position",o.fill?"absolute":null)("width",o.fill?"100%":null)("height",o.fill?"100%":null)("inset",o.fill?"0":null)("background-size",o.placeholder?"cover":null)("background-position",o.placeholder?"50% 50%":null)("background-repeat",o.placeholder?"no-repeat":null)("background-image",o.placeholder?o.generatePlaceholder(o.placeholder):null)("filter",o.placeholder&&o.shouldBlurPlaceholder(o.placeholderConfig)?"blur(15px)":null)},inputs:{ngSrc:[2,"ngSrc","ngSrc",BM],ngSrcset:"ngSrcset",sizes:"sizes",width:[2,"width","width",gf],height:[2,"height","height",gf],loading:"loading",priority:[2,"priority","priority",cn],loaderParams:"loaderParams",disableOptimizedSrcset:[2,"disableOptimizedSrcset","disableOptimizedSrcset",cn],fill:[2,"fill","fill",cn],placeholder:[2,"placeholder","placeholder",HM],placeholderConfig:"placeholderConfig",src:"src",srcset:"srcset"},standalone:!0,features:[Ea,tn]});let t=e;return t})();
vendor: 4,093 bytes, lines 8-9
8function VM(t){let e={};return t.breakpoints&&(e.breakpoints=t.breakpoints.sort((r,n)=>r-n)),Object.assign({},Md,t,e)}function UM(t,e){t.complete&&t.naturalWidth&&e()}function BM(t){return typeof t=="string"?t:$e(t)}function HM(t){return typeof t=="string"&&t!=="true"&&t!=="false"&&t!==""?t:cn(t)}var Ji=class{},eo=class{},Ut=class t{constructor(e){this.normalizedNames=new Map,this.lazyUpdate=null,e?typeof e=="string"?this.lazyInit=()=>{this.headers=new Map,e.split(`
9`).forEach(r=>{let n=r.indexOf(":");if(n>0){let i=r.slice(0,n),o=i.toLowerCase(),s=r.slice(n+1).trim();this.maybeSetNormalizedName(i,o),this.headers.has(o)?this.headers.get(o).push(s):this.headers.set(o,[s])}})}:typeof Headers<"u"&&e instanceof Headers?(this.headers=new Map,e.forEach((r,n)=>{this.setHeaderEntries(n,r)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(e).forEach(([r,n])=>{this.setHeaderEntries(r,n)})}:this.headers=new Map}has(e){return this.init(),this.headers.has(e.toLowerCase())}get(e){this.init();let r=this.headers.get(e.toLowerCase());return r&&r.length>0?r[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(e){return this.init(),this.headers.get(e.toLowerCase())||null}append(e,r){return this.clone({name:e,value:r,op:"a"})}set(e,r){return this.clone({name:e,value:r,op:"s"})}delete(e,r){return this.clone({name:e,value:r,op:"d"})}maybeSetNormalizedName(e,r){this.normalizedNames.has(r)||this.normalizedNames.set(r,e)}init(){this.lazyInit&&(this.lazyInit instanceof t?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(e=>this.applyUpdate(e)),this.lazyUpdate=null))}copyFrom(e){e.init(),Array.from(e.headers.keys()).forEach(r=>{this.headers.set(r,e.headers.get(r)),this.normalizedNames.set(r,e.normalizedNames.get(r))})}clone(e){let r=new t;return r.lazyInit=this.lazyInit&&this.lazyInit instanceof t?this.lazyInit:this,r.lazyUpdate=(this.lazyUpdate||[]).concat([e]),r}applyUpdate(e){let r=e.name.toLowerCase();switch(e.op){case"a":case"s":let n=e.value;if(typeof n=="string"&&(n=[n]),n.length===0)return;this.maybeSetNormalizedName(e.name,r);let i=(e.op==="a"?this.headers.get(r):void 0)||[];i.push(...n),this.headers.set(r,i);break;case"d":let o=e.value;if(!o)this.headers.delete(r),this.normalizedNames.delete(r);else{let s=this.headers.get(r);if(!s)return;s=s.filter(a=>o.indexOf(a)===-1),s.length===0?(this.headers.delete(r),this.normalizedNames.delete(r)):this.headers.set(r,s)}break}}setHeaderEntries(e,r){let n=(Array.isArray(r)?r:[r]).map(o=>o.toString()),i=e.toLowerCase();this.headers.set(i,n),this.maybeSetNormalizedName(e,i)}forEach(e){this.init(),Array.from(this.normalizedNames.keys()).forEach(r=>e(this.normalizedNames.get(r),this.headers.get(r)))}};var Pf=class{encodeKey(e){return Eb(e)}encodeValue(e){return Eb(e)}decodeKey(e){return decodeURIComponent(e)}decodeValue(e){return decodeURIComponent(e)}};function zM(t,e){let r=new Map;return t.length>0&&t.replace(/^\?/,"").split("&").forEach(i=>{let o=i.indexOf("="),[s,a]=o==-1?[e.decodeKey(i),""]:[e.decodeKey(i.slice(0,o)),e.decodeValue(i.slice(o+1))],c=r.get(s)||[];c.push(a),r.set(s,c)}),r}var qM=/%(\d[a-f0-9])/gi,GM={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Eb(t){return encodeURIComponent(t).replace(qM,(e,r)=>GM[r]??e)}function Wa(t){return`${t}`}var kn=class t{constructor(e={}){if(this.updates=null,this.cloneFrom=null,this.encoder=e.encoder||new Pf,e.fromString){if(e.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=zM(e.fromString,this.encoder)}else e.fromObject?(this.map=new Map,Object.keys(e.fromObject).forEach(r=>{let n=e.fromObject[r],i=Array.isArray(n)?n.map(Wa):[Wa(n)];this.map.set(r,i)})):this.map=null}has(e){return this.init(),this.map.has(e)}get(e){this.init();let r=this.map.get(e);return r?r[0]:null}getAll(e){return this.init(),this.map.get(e)||null}keys(){return this.init(),Array.from(this.map.keys())}append(e,r){return this.clone({param:e,value:r,op:"a"})}appendAll(e){let r=[];return Object.keys(e).forEach(n=>{let i=e[n];
vendor: 5,485 bytes, line 9
9Array.isArray(i)?i.forEach(o=>{r.push({param:n,value:o,op:"a"})}):r.push({param:n,value:i,op:"a"})}),this.clone(r)}set(e,r){return this.clone({param:e,value:r,op:"s"})}delete(e,r){return this.clone({param:e,value:r,op:"d"})}toString(){return this.init(),this.keys().map(e=>{let r=this.encoder.encodeKey(e);return this.map.get(e).map(n=>r+"="+this.encoder.encodeValue(n)).join("&")}).filter(e=>e!=="").join("&")}clone(e){let r=new t({encoder:this.encoder});return r.cloneFrom=this.cloneFrom||this,r.updates=(this.updates||[]).concat(e),r}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(e=>this.map.set(e,this.cloneFrom.map.get(e))),this.updates.forEach(e=>{switch(e.op){case"a":case"s":let r=(e.op==="a"?this.map.get(e.param):void 0)||[];r.push(Wa(e.value)),this.map.set(e.param,r);break;case"d":if(e.value!==void 0){let n=this.map.get(e.param)||[],i=n.indexOf(Wa(e.value));i!==-1&&n.splice(i,1),n.length>0?this.map.set(e.param,n):this.map.delete(e.param)}else{this.map.delete(e.param);break}}}),this.cloneFrom=this.updates=null)}};var Ff=class{constructor(){this.map=new Map}set(e,r){return this.map.set(e,r),this}get(e){return this.map.has(e)||this.map.set(e,e.defaultValue()),this.map.get(e)}delete(e){return this.map.delete(e),this}has(e){return this.map.has(e)}keys(){return this.map.keys()}};function WM(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function Ib(t){return typeof ArrayBuffer<"u"&&t instanceof ArrayBuffer}function Cb(t){return typeof Blob<"u"&&t instanceof Blob}function Sb(t){return typeof FormData<"u"&&t instanceof FormData}function ZM(t){return typeof URLSearchParams<"u"&&t instanceof URLSearchParams}var Xi=class t{constructor(e,r,n,i){this.url=r,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=e.toUpperCase();let o;if(WM(this.method)||i?(this.body=n!==void 0?n:null,o=i):o=n,o&&(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.context&&(this.context=o.context),o.params&&(this.params=o.params),this.transferCache=o.transferCache),this.headers??=new Ut,this.context??=new Ff,!this.params)this.params=new kn,this.urlWithParams=r;else{let s=this.params.toString();if(s.length===0)this.urlWithParams=r;else{let a=r.indexOf("?"),c=a===-1?"?":a<r.length-1?"&":"";this.urlWithParams=r+c+s}}}serializeBody(){return this.body===null?null:typeof this.body=="string"||Ib(this.body)||Cb(this.body)||Sb(this.body)||ZM(this.body)?this.body:this.body instanceof kn?this.body.toString():typeof this.body=="object"||typeof this.body=="boolean"||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return this.body===null||Sb(this.body)?null:Cb(this.body)?this.body.type||null:Ib(this.body)?null:typeof this.body=="string"?"text/plain":this.body instanceof kn?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?"application/json":null}clone(e={}){let r=e.method||this.method,n=e.url||this.url,i=e.responseType||this.responseType,o=e.transferCache??this.transferCache,s=e.body!==void 0?e.body:this.body,a=e.withCredentials??this.withCredentials,c=e.reportProgress??this.reportProgress,u=e.headers||this.headers,l=e.params||this.params,d=e.context??this.context;return e.setHeaders!==void 0&&(u=Object.keys(e.setHeaders).reduce((f,h)=>f.set(h,e.setHeaders[h]),u)),e.setParams&&(l=Object.keys(e.setParams).reduce((f,h)=>f.set(h,e.setParams[h]),l)),new t(r,n,s,{params:l,headers:u,context:d,reportProgress:c,responseType:i,withCredentials:a,transferCache:o})}},On=function(t){return t[t.Sent=0]="Sent",t[t.UploadProgress=1]="UploadProgress",t[t.ResponseHeader=2]="ResponseHeader",t[t.DownloadProgress=3]="DownloadProgress",t[t.Response=4]="Response",t[t.User=5]="User",t}(On||{}),to=class{constructor(e,r=200,n="OK"){this.headers=e.headers||new Ut,this.status=e.status!==void 0?e.status:r,this.statusText=e.statusText||n,this.url=e.url||null,this.ok=this.status>=200&&this.status<300}},Ya=class t extends to{constructor(e={}){super(e),this.type=On.ResponseHeader}clone(e={}){return new t({headers:e.headers||this.headers,status:e.status!==void 0?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}},or=class t extends to{constructor(e={}){super(e),this.type=On.Response,this.body=e.body!==void 0?e.body:null}clone(e={}){return new t({body:e.body!==void 0?e.body:this.body,headers:e.headers||this.headers,status:e.status!==void 0?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}},Rn=class extends to{constructor(e){super(e,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${e.url||"(unknown url)"}`:this.message=`Http failure response for ${e.url||"(unknown url)"}: ${e.status} ${e.statusText}`,this.error=e.error||null}},Fb=200,YM=204;function Of(t,e){return{body:e,headers:t.headers,context:t.context,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials,transferCache:t.transferCache}}var Vf=(()=>{let e=class e{constructor(n){this.handler=n}request(n,i,o={}){let s;if(n instanceof Xi)s=n;else{let u;
9o.headers instanceof Ut?u=o.headers:u=new Ut(o.headers);let l;o.params&&(o.params instanceof kn?l=o.params:l=new kn({fromObject:o.params})),s=new Xi(n,i,o.body!==void 0?o.body:null,{headers:u,context:o.context,params:l,reportProgress:o.reportProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials,transferCache:o.transferCache})}let a=I(s).pipe(Zt(u=>this.handler.handle(u)));if(n instanceof Xi||o.observe==="events")return a;let c=a.pipe(fe(u=>u instanceof or));switch(o.observe||"body"){case"body":switch(s.responseType){case"arraybuffer":return c.pipe(T(u=>{if(u.body!==null&&!(u.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return u.body}));case"blob":return c.pipe(T(u=>{if(u.body!==null&&!(u.body instanceof Blob))throw new Error("Response is not a Blob.");return u.body}));case"text":return c.pipe(T(u=>{if(u.body!==null&&typeof u.body!="string")throw new Error("Response is not a string.");return u.body}));case"json":default:return c.pipe(T(u=>u.body))}case"response":return c;default:throw new Error(`Unreachable: unhandled observe type ${o.observe}}`)}}delete(n,i={}){return this.request("DELETE",n,i)}get(n,i={}){return this.request("GET",n,i)}head(n,i={}){return this.request("HEAD",n,i)}jsonp(n,i){return this.request("JSONP",n,{params:new kn().append(i,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(n,i={}){return this.request("OPTIONS",n,i)}patch(n,i,o={}){return this.request("PATCH",n,Of(o,i))}post(n,i,o={}){return this.request("POST",n,Of(o,i))}put(n,i,o={}){return this.request("PUT",n,Of(o,i))}};e.\u0275fac=function(i){return new(i||e)(y(Ji))},e.\u0275prov=b({token:e,factory:e.\u0275fac});let t=e;return t})(),QM=/^\)\]\}',?\n/,KM="X-Request-URL";function Tb(t){if(t.url)return t.url;let e=KM.toLocaleLowerCase();return t.headers.get(e)}var Lf=(()=>{let e=class e{constructor(){this.fetchImpl=g(jf,{optional:!0})?.fetch??((...n)=>globalThis.fetch(...n)),this.ngZone=g(U)}handle(n){return new M(i=>{let o=new AbortController;return this.doRequest(n,o.signal,i).then($f,s=>i.error(new Rn({error:s}))),()=>o.abort()})}doRequest(n,i,o){return fr(this,null,function*(){let s=this.createRequestInit(n),a;try{let p=this.ngZone.runOutsideAngular(()=>this.fetchImpl(n.urlWithParams,m({signal:i},s)));XM(p),o.next({type:On.Sent}),a=yield p}catch(p){o.error(new Rn({error:p,status:p.status??0,statusText:p.statusText,url:n.urlWithParams,headers:p.headers}));return}let c=new Ut(a.headers),u=a.statusText,l=Tb(a)??n.urlWithParams,d=a.status,f=null;if(n.reportProgress&&o.next(new Ya({headers:c,status:d,statusText:u,url:l})),a.body){let p=a.headers.get("content-length"),v=[],w=a.body.getReader(),C=0,L,q,O=typeof Zone<"u"&&Zone.current;yield this.ngZone.runOutsideAngular(()=>fr(this,null,function*(){for(;;){let{done:re,value:we}=yield w.read();if(re)break;if(v.push(we),C+=we.length,n.reportProgress){q=n.responseType==="text"?(q??"")+(L??=new TextDecoder).decode(we,{stream:!0}):void 0;let Ze=()=>o.next({type:On.DownloadProgress,total:p?+p:void 0,loaded:C,partialText:q});O?O.run(Ze):Ze()}}}));let ce=this.concatChunks(v,C);try{let re=a.headers.get("Content-Type")??"";f=this.parseBody(n,ce,re)}catch(re){o.error(new Rn({error:re,headers:new Ut(a.headers),status:a.status,statusText:a.statusText,url:Tb(a)??n.urlWithParams}));return}}d===0&&(d=f?Fb:0),d>=200&&d<300?(o.next(new or({body:f,headers:c,status:d,statusText:u,url:l})),o.complete()):o.error(new Rn({error:f,headers:c,status:d,statusText:u,url:l}))})}parseBody(n,i,o){switch(n.responseType){case"json":let s=new TextDecoder().decode(i).replace(QM,"");return s===""?null:JSON.parse(s);case"text":return new TextDecoder().decode(i);case"blob":return new Blob([i],{type:o});case"arraybuffer":return i.buffer}}createRequestInit(n){let i={},o=n.withCredentials?"include":void 0;if(n.headers.forEach((s,a)=>i[s]=a.join(",")),n.headers.has("Accept")||(i.Accept="application/json, text/plain, */*"),!n.headers.has("Content-Type")){let s=n.detectContentTypeHeader();s!==null&&(i["Content-Type"]=s)}return{body:n.serializeBody(),method:n.method,headers:i,credentials:o}}concatChunks(n,i){let o=new Uint8Array(i),s=0;for(let a of n)o.set(a,s),s+=a.length;return o}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=b({token:e,factory:e.\u0275fac});let t=e;return t})(),jf=class{};function $f(){}function XM(t){t.then($f,$f)}function JM(t,e){return e(t)}function eN(t,e,r){return(n,i)=>Je(r,()=>e(n,o=>t(o,i)))}var Lb=new D(""),jb=new D(""),tN=new D("",{providedIn:"root",factory:()=>!0});var xb=(()=>{let e=class e extends Ji{constructor(n,i){super(),this.backend=n,this.injector=i,this.chain=null,this.pendingTasks=g(rn),this.contributeToStability=g(tN)}handle(n){if(this.chain===null){let i=Array.from(new Set([...this.injector.get(Lb),...this.injector.get(jb,[])]));this.chain=i.reduceRight((o,s)=>eN(o,s,this.injector),JM)}if(this.contributeToStability){let i=this.pendingTasks.add();return this.chain(n,o=>this.backend.handle(o)).pipe(Vn(()=>this.pendingTasks.remove(i)))}else return this.chain(n,i=>this.backend.handle(i))}};e.\u0275fac=function(i){return new(i||e)(y(eo),y(Se))},e.\u0275prov=b({token:e,factory:e.\u0275fac});let t=e;return t})();var nN=/^\)\]\}',?\n/;function rN(t){return"responseURL"in t&&t.responseURL?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader("X-Request-URL"):null}var Mb=(()=>{let e=class e{constructor(n){this.xhrFactory=n}handle(n){if(n.method==="JSONP")throw new E(-2800,!1);let i=this.xhrFactory;return(i.\u0275loadImpl?J(i.\u0275loadImpl()):I(null)).pipe(me(()=>new M(s=>{let a=i.build();if(a.open(n.method,n.urlWithParams),n.withCredentials&&(a.withCredentials=!0),n.headers.forEac
9h((w,C)=>a.setRequestHeader(w,C.join(","))),n.headers.has("Accept")||a.setRequestHeader("Accept","application/json, text/plain, */*"),!n.headers.has("Content-Type")){let w=n.detectContentTypeHeader();w!==null&&a.setRequestHeader("Content-Type",w)}if(n.responseType){let w=n.responseType.toLowerCase();a.responseType=w!=="json"?w:"text"}let c=n.serializeBody(),u=null,l=()=>{if(u!==null)return u;let w=a.statusText||"OK",C=new Ut(a.getAllResponseHeaders()),L=rN(a)||n.url;return u=new Ya({headers:C,status:a.status,statusText:w,url:L}),u},d=()=>{let{headers:w,status:C,statusText:L,url:q}=l(),O=null;C!==YM&&(O=typeof a.response>"u"?a.responseText:a.response),C===0&&(C=O?Fb:0);let ce=C>=200&&C<300;if(n.responseType==="json"&&typeof O=="string"){let re=O;O=O.replace(nN,"");try{O=O!==""?JSON.parse(O):null}catch(we){O=re,ce&&(ce=!1,O={error:we,text:O})}}ce?(s.next(new or({body:O,headers:w,status:C,statusText:L,url:q||void 0})),s.complete()):s.error(new Rn({error:O,headers:w,status:C,statusText:L,url:q||void 0}))},f=w=>{let{url:C}=l(),L=new Rn({error:w,status:a.status||0,statusText:a.statusText||"Unknown Error",url:C||void 0});s.error(L)},h=!1,p=w=>{h||(s.next(l()),h=!0);let C={type:On.DownloadProgress,loaded:w.loaded};w.lengthComputable&&(C.total=w.total),n.responseType==="text"&&a.responseText&&(C.partialText=a.responseText),s.next(C)},v=w=>{let C={type:On.UploadProgress,loaded:w.loaded};w.lengthComputable&&(C.total=w.total),s.next(C)};return a.addEventListener("load",d),a.addEventListener("error",f),a.addEventListener("timeout",f),a.addEventListener("abort",f),n.reportProgress&&(a.addEventListener("progress",p),c!==null&&a.upload&&a.upload.addEventListener("progress",v)),a.send(c),s.next({type:On.Sent}),()=>{a.removeEventListener("error",f),a.removeEventListener("abort",f),a.removeEventListener("load",d),a.removeEventListener("timeout",f),n.reportProgress&&(a.removeEventListener("progress",p),c!==null&&a.upload&&a.upload.removeEventListener("progress",v)),a.readyState!==a.DONE&&a.abort()}})))}};e.\u0275fac=function(i){return new(i||e)(y(Xr))},e.\u0275prov=b({token:e,factory:e.\u0275fac});let t=e;return t})(),$b=new D(""),iN="XSRF-TOKEN",oN=new D("",{providedIn:"root",factory:()=>iN}),sN="X-XSRF-TOKEN",aN=new D("",{providedIn:"root",factory:()=>sN}),Qa=class{},cN=(()=>{let e=class e{constructor(n,i,o){this.doc=n,this.platform=i,this.cookieName=o,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if(this.platform==="server")return null;let n=this.doc.cookie||"";return n!==this.lastCookieString&&(this.parseCount++,this.lastToken=za(n,this.cookieName),this.lastCookieString=n),this.lastToken}};e.\u0275fac=function(i){return new(i||e)(y(G),y(pe),y(oN))},e.\u0275prov=b({token:e,factory:e.\u0275fac});let t=e;return t})();function uN(t,e){let r=t.url.toLowerCase();if(!g($b)||t.method==="GET"||t.method==="HEAD"||r.startsWith("http://")||r.startsWith("https://"))return e(t);let n=g(Qa).getToken(),i=g(aN);return n!=null&&!t.headers.has(i)&&(t=t.clone({headers:t.headers.set(i,n)})),e(t)}var Vb=function(t){return t[t.Interceptors=0]="Interceptors",t[t.LegacyInterceptors=1]="LegacyInterceptors",t[t.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",t[t.NoXsrfProtection=3]="NoXsrfProtection",t[t.JsonpSupport=4]="JsonpSupport",t[t.RequestsMadeViaParent=5]="RequestsMadeViaParent",t[t.Fetch=6]="Fetch",t}(Vb||{});function lN(t,e){return{\u0275kind:t,\u0275providers:e}}function A$(...t){let e=[Vf,Mb,xb,{provide:Ji,useExisting:xb},{provide:eo,useFactory:()=>g(Lf,{optional:!0})??g(Mb)},{provide:Lb,useValue:uN,multi:!0},{provide:$b,useValue:!0},{provide:Qa,useClass:cN}];for(let r of t)e.push(...r.\u0275providers);return nr(e)}function R$(){return lN(Vb.Fetch,[Lf,{provide:eo,useExisting:Lf}])}var dN=new D(""),Nb="b",_b="h",Ab="s",Rb="st",kb="u",Ob="rt",Za=new D(""),fN=["GET","HEAD"];function hN(t,e){let h=g(Za),{isCacheActive:r}=h,n=Jh(h,["isCacheActive"]),{transferCache:i,method:o}=t;if(!r||i===!1||o==="POST"&&!n.includePostRequests&&!i||o!=="POST"&&!fN.includes(o)||!n.includeRequestsWithAuthHeaders&&pN(t)||n.filter?.(t)===!1)return e(t);let s=g(Wr),a=g(dN,{optional:!0}),c=ei(g(pe));if(a&&!c)throw new E(2803,!1);let u=c&&a?vN(t.url,a):t.url,l=mN(t,u),d=s.get(l,null),f=n.includeHeaders;if(typeof i=="object"&&i.includeHeaders&&(f=i.includeHeaders),d){let{[Nb]:p,[Ob]:v,[_b]:w,[Ab]:C,[Rb]:L,[kb]:q}=d,O=p;switch(v){case"arraybuffer":O=new TextEncoder().encode(p).buffer;break;case"blob":O=new Blob([p]);break}let ce=new Ut(w);return I(new or({body:O,headers:ce,status:C,statusText:L,url:q}))}return e(t).pipe(he(p=>{p instanceof or&&c&&s.set(l,{[Nb]:p.body,[_b]:gN(p.headers,f),[Ab]:p.status,[Rb]:p.statusText,[kb]:u,[Ob]:t.responseType})}))}function pN(t){return t.headers.has("authorization")||t.headers.has("proxy-authorization")}function gN(t,e){if(!e)return{};let r={};for(let n of e){let i=t.getAll(n);i!==null&&(r[n]=i)}return r}function Pb(t){return[...t.keys()].sort().map(e=>`${e}=${t.getAll(e)}`).join("&")}function mN(t,e){let{params:r,method:n,responseType:i}=t,o=Pb(r),s=t.serializeBody();
9s instanceof URLSearchParams?s=Pb(s):typeof s!="string"&&(s="");let a=[n,i,e,s,o].join("|"),c=yN(a);return c}function yN(t){let e=0;for(let r of t)e=Math.imul(31,e)+r.charCodeAt(0)<<0;return e+=2147483648,e.toString()}function Ub(t){return[{provide:Za,useFactory:()=>(tt("NgHttpTransferCache"),m({isCacheActive:!0},t))},{provide:jb,useValue:hN,multi:!0,deps:[Wr,Za]},{provide:Kr,multi:!0,useFactory:()=>{let e=g(vt),r=g(Za);return()=>{_a(e).then(()=>{r.isCacheActive=!1})}}}]}function vN(t,e){let r=new URL(t,"resolve://").origin,n=e[r];return n?t.replace(r,n):t}var Hf=class extends Va{constructor(){super(...arguments),this.supportsDOMEvents=!0}},zf=class t extends Hf{static makeCurrent(){ub(new t)}onAndCancel(e,r,n){return e.addEventListener(r,n),()=>{e.removeEventListener(r,n)}}dispatchEvent(e,r){e.dispatchEvent(r)}remove(e){e.remove()}createElement(e,r){return r=r||this.getDefaultDocument(),r.createElement(e)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(e){return e.nodeType===Node.ELEMENT_NODE}isShadowRoot(e){return e instanceof DocumentFragment}getGlobalEventTarget(e,r){return r==="window"?window:r==="document"?e:r==="body"?e.body:null}getBaseHref(e){let r=wN();return r==null?null:DN(r)}resetBaseElement(){no=null}getUserAgent(){return window.navigator.userAgent}getCookie(e){return za(document.cookie,e)}},no=null;function wN(){return no=no||document.querySelector("base"),no?no.getAttribute("href"):null}function DN(t){return new URL(t,document.baseURI).pathname}var qf=class{addToWindow(e){ye.getAngularTestability=(n,i=!0)=>{let o=e.findTestabilityInTree(n,i);if(o==null)throw new E(5103,!1);return o},ye.getAllAngularTestabilities=()=>e.getAllTestabilities(),ye.getAllAngularRootElements=()=>e.getAllRootElements();let r=n=>{let i=ye.getAllAngularTestabilities(),o=i.length,s=function(){o--,o==0&&n()};i.forEach(a=>{a.whenStable(s)})};ye.frameworkStabilizers||(ye.frameworkStabilizers=[]),ye.frameworkStabilizers.push(r)}findTestabilityInTree(e,r,n){if(r==null)return null;let i=e.getTestability(r);return i??(n?An().isShadowRoot(r)?this.findTestabilityInTree(e,r.host,!0):this.findTestabilityInTree(e,r.parentElement,!0):null)}},EN=(()=>{let e=class e{build(){return new XMLHttpRequest}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=b({token:e,factory:e.\u0275fac});let t=e;return t})(),Ka=new D(""),qb=(()=>{let e=class e{constructor(n,i){this._zone=i,this._eventNameToPlugin=new Map,n.forEac
9h(o=>{o.manager=this}),this._plugins=n.slice().reverse()}addEventListener(n,i,o){return this._findPluginFor(i).addEventListener(n,i,o)}getZone(){return this._zone}_findPluginFor(n){let i=this._eventNameToPlugin.get(n);if(i)return i;if(i=this._plugins.find(s=>s.supports(n)),!i)throw new E(5101,!1);return this._eventNameToPlugin.set(n,i),i}};e.\u0275fac=function(i){return new(i||e)(y(Ka),y(U))},e.\u0275prov=b({token:e,factory:e.\u0275fac});let t=e;return t})(),ro=class{constructor(e){this._doc=e}},Uf="ng-app-id",Gb=(()=>{let e=class e{constructor(n,i,o,s={}){this.doc=n,this.appId=i,this.nonce=o,this.platformId=s,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=ei(s),this.resetHostNodes()}addStyles(n){for(let i of n)this.changeUsageCount(i,1)===1&&this.onStyleAdded(i)}removeStyles(n){for(let i of n)this.changeUsageCount(i,-1)<=0&&this.onStyleRemoved(i)}ngOnDestroy(){let n=this.styleNodesInDOM;n&&(n.forEach(i=>i.remove()),n.clear());for(let i of this.getAllStyles())this.onStyleRemoved(i);this.resetHostNodes()}addHost(n){this.hostNodes.add(n);for(let i of this.getAllStyles())this.addStyleToHost(n,i)}removeHost(n){this.hostNodes.delete(n)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(n){for(let i of this.hostNodes)this.addStyleToHost(i,n)}onStyleRemoved(n){let i=this.styleRef;i.get(n)?.elements?.forEach(o=>o.remove()),i.delete(n)}collectServerRenderedStyles(){let n=this.doc.head?.querySelectorAll(`style[${Uf}="${this.appId}"]`);if(n?.length){let i=new Map;return n.forEach(o=>{o.textContent!=null&&i.set(o.textContent,o)}),i}return null}changeUsageCount(n,i){let o=this.styleRef;if(o.has(n)){let s=o.get(n);return s.usage+=i,s.usage}return o.set(n,{usage:i,elements:[]}),i}getStyleElement(n,i){let o=this.styleNodesInDOM,s=o?.get(i);if(s?.parentNode===n)return o.delete(i),s.removeAttribute(Uf),s;{let a=this.doc.createElement("style");return this.nonce&&a.setAttribute("nonce",this.nonce),a.textContent=i,this.platformIsServer&&a.setAttribute(Uf,this.appId),n.appendChild(a),a}}addStyleToHost(n,i){let o=this.getStyleElement(n,i),s=this.styleRef,a=s.get(i)?.elements;a?a.push(o):s.set(i,{elements:[o],usage:1})}resetHostNodes(){let n=this.hostNodes;n.clear(),n.add(this.doc.head)}};e.\u0275fac=function(i){return new(i||e)(y(G),y(Bi),y(xd,8),y(pe))},e.\u0275prov=b({token:e,factory:e.\u0275fac});let t=e;return t})(),Bf={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/Math/MathML"},Yf=/%COMP%/g,Wb="%COMP%",IN=`_nghost-${Wb}`,CN=`_ngcontent-${Wb}`,SN=!0,TN=new D("",{providedIn:"root",factory:()=>SN});function xN(t){return CN.replace(Yf,t)}function MN(t){return IN.replace(Yf,t)}function Zb(t,e){return e.map(r=>r.replace(Yf,t))}var Bb=(()=>{let e=class e{constructor(n,i,o,s,a,c,u,l=null){this.eventManager=n,this.sharedStylesHost=i,this.appId=o,this.removeStylesOnCompDestroy=s,this.doc=a,this.platformId=c,this.ngZone=u,this.nonce=l,this.rendererByCompId=new Map,this.platformIsServer=ei(c),this.defaultRenderer=new io(n,a,u,this.platformIsServer)}createRenderer(n,i){if(!n||!i)return this.defaultRenderer;this.platformIsServer&&i.encapsulation===Pt.ShadowDom&&(i=V(m({},i),{encapsulation:Pt.Emulated}));let o=this.getOrCreateRenderer(n,i);return o instanceof Xa?o.applyToHost(n):o instanceof oo&&o.applyStyles(),o}getOrCreateRenderer(n,i){let o=this.rendererByCompId,s=o.get(i.id);if(!s){let a=this.doc,c=this.ngZone,u=this.eventManager,l=this.sharedStylesHost,d=this.removeStylesOnCompDestroy,f=this.platformIsServer;switch(i.encapsulation){case Pt.Emulated:s=new Xa(u,l,i,this.appId,d,a,c,f);break;case Pt.ShadowDom:return new Gf(u,l,n,i,a,c,this.nonce,f);default:s=new oo(u,l,i,d,a,c,f);break}o.set(i.id,s)}return s}ngOnDestroy(){this.rendererByCompId.clear()}};e.\u0275fac=function(i){return new(i||e)(y(qb),y(Gb),y(Bi),y(TN),y(G),y(pe),y(U),y(xd))},e.\u0275prov=b({token:e,factory:e.\u0275fac});let t=e;return t})(),io=class{constructor(e,r,n,i){this.eventManager=e,this.doc=r,this.ngZone=n,this.platformIsServer=i,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(e,r){return r?this.doc.createElementNS(Bf[r]||r,e):this.doc.createElement(e)}createComment(e){return this.doc.createComment(e)}createText(e){return this.doc.createTextNode(e)}appendChild(e,r){(Hb(e)?e.content:e).appendChild(r)}insertBefore(e,r,n){e&&(Hb(e)?e.content:e).insertBefore(r,n)}removeChild(e,r){r.remove()}selectRootElement(e,r){let n=typeof e=="string"?this.doc.querySelector(e):e;if(!n)throw new E(-5104,!1);return r||(n.textContent=""),n}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,r,n,i){if(i){r=i+":"+r;let o=Bf[i];o?e.setAttributeNS(o,r,n):e.setAttribute(r,n)}else e.setAttribute(r,n)}removeAttribute(e,r,n){if(n){let i=Bf[n];i?e.removeAttributeNS(i,r):e.removeAttribute(`${n}:${r}`)}else e.removeAttribute(r)}addClass(e,r){e.classList.add(r)}removeClass(e,r){e.classList.remove(r)}setStyle(e,r,n,i){i&(jt.DashCase|jt.Important)?e.style.setProperty(r,n,i&jt.Important?"important":""):e.style[r]=n}removeStyle(e,r,n){n&jt.DashCase?e.style.removeProperty(r):e.style[r]=""}setProperty(e,r,n){e!=null&&(e[r]=n)}setValue(e,r){e.nodeValue=r}listen(e,r,n){if(typeof e=="string"&&(e=An().getGlobalEventTarget(this.doc,e),!e))throw new Error(`Unsupported event target ${e} for event ${r}`);return this.eventManager.addEventListener(e,r,this.decoratePreventDefault(n))}decoratePreventDefault(e){return r=>{if(r==="__ngUnwrap__")return e;(this.platformIsServer?this.ngZone.runGuarded(()=>e(r)):e(r))===!1&&r.preventDefault()}}};function Hb(t){return t.tagName==="TEMPLATE"&&t.content!==void 0}var Gf=class extends io{constructor(e,r,n,i,o,s,a,c){super(e,o,s,c),this.sharedStylesHost=r,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let u=Zb(i.id,i.styles);for(let l of u){let d=document.createElement("style");a&&d.setAttribute("nonce",a),d.textContent=l,this.shadowRoot.appendChild(d)}}nodeOrShadowRoot(e){return e===this.hostEl?this.shadowRoot:e}appendChild(e,r){return super.appendChild(this.nodeOrShadowRoot(e),r)}insertBefore(e,r,n){return super.insertBefore(this.nodeOrShadowRoot(e),r,n)}removeChild(e,r){return super.removeChild(null,r)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},oo=class extends io{constructor(e,r,n,i,o,s,a,c){super(e,o,s,a),this.sharedStylesHost=r,this.removeStylesOnCompDestroy=i,this.styles=c?Zb(c,n.styles):n.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}},Xa=class extends oo{constructor(e,r,n,i,o,s,a,c){let u=i+"-"+n.id;super(e,r,n,o,s,a,c,u),this.contentAttr=xN(u),this.hostAttr=MN(u)}applyToHost(e){this.applyStyles(),this.setAttribute(e,this.hostAttr,"")}createElement(e,r){let n=super.createElement(e,r);return super.setAttribute(n,this.contentAttr,""),n}},NN=(()=>{let e=class e extends ro{constructor(n){super(n)}supports(n){return!0}addEventListener(n,i,o){return n.addEventListener(i,o,!1),()=>this.removeEventListener(n,i,o)}removeEventListener(n,i,o){return n.removeEventListener(i,o)}};e.\u0275fac=function(i){return new(i||e)(y(G))},e.\u0275prov=b({token:e,factory:e.\u0275fac});let t=e;return t})(),zb=["alt","control","meta","shift"],_N={"\b":"Backspace","	":"Tab","\x7F":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},AN={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey},RN=(()=>{let e=class e extends ro{constructor(n){super(n)}supports(n){return e.parseEventName(n)!=null}addEventListener(n,i,o){let s=e.parseEventName(i),a=e.eventCallback(s.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>An().onAndCancel(n,s.domEventName,a))}static parseEventName(n){let i=n.toLowerCase().split("."),o=i.shift();if(i.length===0||!(o==="keydown"||o==="keyup"))return null;let s=e._normalizeKey(i.pop()),a="",c=i.indexOf("code");if(c>-1&&(i.splice(c,1),a="code."),zb.forEach(l=>{let d=i.indexOf(l);d>-1&&(i.splice(d,1),a+=l+".")}),a+=s,i.length!=0||s.length===0)return null;let u={};return u.domEventName=o,u.fullKey=a,u}static matchEventFullKeyCode(n,i){let o=_N[n.key]||n.key,s="";return i.indexOf("code.")>
9-1&&(o=n.code,s="code."),o==null||!o?!1:(o=o.toLowerCase(),o===" "?o="space":o==="."&&(o="dot"),zb.forEach(a=>{if(a!==o){let c=AN[a];c(n)&&(s+=a+".")}}),s+=o,s===i)}static eventCallback(n,i,o){return s=>{e.matchEventFullKeyCode(s,n)&&o.runGuarded(()=>i(s))}}static _normalizeKey(n){return n==="esc"?"escape":n}};e.\u0275fac=function(i){return new(i||e)(y(G))},e.\u0275prov=b({token:e,factory:e.\u0275fac});let t=e;return t})();function kN(){zf.makeCurrent()}function ON(){return new Lt}function PN(){return qm(document),document}var FN=[{provide:pe,useValue:kf},{provide:Td,useValue:kN,multi:!0},{provide:G,useFactory:PN,deps:[]}],G$=ff(Qv,"browser",FN),LN=new D(""),jN=[{provide:Yi,useClass:qf,deps:[]},{provide:uf,useClass:xa,deps:[U,Ma,Yi]},{provide:xa,useClass:xa,deps:[U,Ma,Yi]}],$N=[{provide:ea,useValue:"root"},{provide:Lt,useFactory:ON,deps:[]},{provide:Ka,useClass:NN,multi:!0,deps:[G,U,pe]},{provide:Ka,useClass:RN,multi:!0,deps:[G]},Bb,Gb,qb,{provide:Vr,useExisting:Bb},{provide:Xr,useClass:EN,deps:[]},[]],W$=(()=>{let e=class e{constructor(n){}static withServerTransition(n){return{ngModule:e,providers:[{provide:Bi,useValue:n.appId}]}}};e.\u0275fac=function(i){return new(i||e)(y(LN,12))},e.\u0275mod=yt({type:e}),e.\u0275inj=mt({providers:[...$N,...jN],imports:[Ga,Kv]});let t=e;return t})(),Yb=(()=>{let e=class e{constructor(n){this._doc=n,this._dom=An()}addTag(n,i=!1){return n?this._getOrCreateElement(n,i):null}addTags(n,i=!1){return n?n.reduce((o,s)=>(s&&o.push(this._getOrCreateElement(s,i)),o),[]):[]}getTag(n){return n&&this._doc.querySelector(`meta[${n}]`)||null}getTags(n){if(!n)return[];let i=this._doc.querySelectorAll(`meta[${n}]`);return i?[].slice.call(i):[]}updateTag(n,i){if(!n)return null;i=i||this._parseSelector(n);let o=this.getTag(i);return o?this._setMetaElementAttributes(n,o):this._getOrCreateElement(n,!0)}removeTag(n){this.removeTagElement(this.getTag(n))}removeTagElement(n){n&&this._dom.remove(n)}_getOrCreateElement(n,i=!1){if(!i){let a=this._parseSelector(n),c=this.getTags(a).filter(u=>this._containsAttributes(n,u))[0];if(c!==void 0)return c}let o=this._dom.createElement("meta");return this._setMetaElementAttributes(n,o),this._doc.getElementsByTagName("head")[0].appendChild(o),o}_setMetaElementAttributes(n,i){return Object.keys(n).forEach(o=>i.setAttribute(this._getMetaKeyMap(o),n[o])),i}_parseSelector(n){let i=n.name?"name":"property";return`${i}="${n[i]}"`}_containsAttributes(n,i){return Object.keys(n).every(o=>i.getAttribute(this._getMetaKeyMap(o))===n[o])}_getMetaKeyMap(n){return VN[n]||n}};e.\u0275fac=function(i){return new(i||e)(y(G))},e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),VN={httpEquiv:"http-equiv"},Ja=(()=>{let e=class e{constructor(n){this._doc=n}getTitle(){return this._doc.title}setTitle(n){this._doc.title=n||""}};e.\u0275fac=function(i){return new(i||e)(y(G))},e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var UN={pan:!0,panstart:!0,panmove:!0,panend:!0,pancancel:!0,panleft:!0,panright:!0,panup:!0,pandown:!0,pinch:!0,pinchstart:!0,pinchmove:!0,pinchend:!0,pinchcancel:!0,pinchin:!0,pinchout:!0,press:!0,pressup:!0,rotate:!0,rotatestart:!0,rotatemove:!0,rotateend:!0,rotatecancel:!0,swipe:!0,swipeleft:!0,swiperight:!0,swipeup:!0,swipedown:!0,tap:!0,doubletap:!0},Wf=new D("HammerGestureConfig"),Qb=new D("HammerLoader"),BN=(()=>{let e=class e{constructor(){this.events=[],this.overrides={}}buildHammer(n){let i=new Hammer(n,this.options);i.get("pinch").set({enable:!0}),i.get("rotate").set({enable:!0});for(let o in this.overrides)i.get(o).set(this.overrides[o]);return i}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=b({token:e,factory:e.\u0275fac});let t=e;return t})(),HN=(()=>{let e=class e extends ro{constructor(n,i,o,s){super(n),this._config=i,this.console=o,this.loader=s,this._loaderPromise=null}supports(n){return!(!UN.hasOwnProperty(n.toLowerCase())&&!this.isCustomEvent(n)||!window.Hammer&&!this.loader)}addEventListener(n,i,o){let s=this.manager.getZone();if(i=i.toLowerCase(),!window.Hammer&&this.loader){this._loaderPromise=this._loaderPromise||s.runOutsideAngular(()=>this.loader());let a=!1,c=()=>{a=!0};return s.runOutsideAngular(()=>this._loaderPromise.then(()=>
9{if(!window.Hammer){c=()=>{};return}a||(c=this.addEventListener(n,i,o))}).catch(()=>{c=()=>{}})),()=>{c()}}return s.runOutsideAngular(()=>{let a=this._config.buildHammer(n),c=function(u){s.runGuarded(function(){o(u)})};return a.on(i,c),()=>{a.off(i,c),typeof a.destroy=="function"&&a.destroy()}})}isCustomEvent(n){return this._config.events.indexOf(n)>-1}};e.\u0275fac=function(i){return new(i||e)(y(G),y(Wf),y(Yr),y(Qb,8))},e.\u0275prov=b({token:e,factory:e.\u0275fac});let t=e;return t})(),Z$=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=yt({type:e}),e.\u0275inj=mt({providers:[{provide:Ka,useClass:HN,multi:!0,deps:[G,Wf,Yr,[new Hr,Qb]]},{provide:Wf,useClass:BN,deps:[]}]});let t=e;return t})(),Qf=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=b({token:e,factory:function(i){let o=null;return i?o=new(i||e):o=y(zN),o},providedIn:"root"});let t=e;return t})(),zN=(()=>{let e=class e extends Qf{constructor(n){super(),this._doc=n}sanitize(n,i){if(i==null)return null;switch(n){case Ve.NONE:return i;case Ve.HTML:return on(i,"HTML")?$e(i):Rd(this._doc,String(i)).toString();case Ve.STYLE:return on(i,"Style")?$e(i):i;case Ve.SCRIPT:if(on(i,"Script"))return $e(i);throw new E(5200,!1);case Ve.URL:return on(i,"URL")?$e(i):ha(String(i));case Ve.RESOURCE_URL:if(on(i,"ResourceURL"))return $e(i);throw new E(5201,!1);default:throw new E(5202,!1)}}bypassSecurityTrustHtml(n){return ry(n)}bypassSecurityTrustStyle(n){return iy(n)}bypassSecurityTrustScript(n){return oy(n)}bypassSecurityTrustUrl(n){return sy(n)}bypassSecurityTrustResourceUrl(n){return ay(n)}};e.\u0275fac=function(i){return new(i||e)(y(G))},e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Zf=function(t){return t[t.NoHttpTransferCache=0]="NoHttpTransferCache",t[t.HttpTransferCacheOptions=1]="HttpTransferCacheOptions",t[t.I18nSupport=2]="I18nSupport",t[t.EventReplay=3]="EventReplay",t}(Zf||{});function Y$(...t){let e=[],r=new Set,n=r.has(Zf.HttpTransferCacheOptions);for(let{\u0275providers:i,\u0275kind:o}of t)r.add(o),i.length&&e.push(i);return nr([[],Xv(),r.has(Zf.NoHttpTransferCache)||n?[]:Ub({}),e])}function Kb(t){let e=(t||"").toLowerCase();return e.includes("rabbithours.com")?".rabbithours.com":e.includes("rabbiit.com")?".rabbiit.com":e.includes("rabbitwork.io")?".rabbitwork.io":e}function qN(t){return(t||"").toLowerCase().includes("rabbitwork.io")}function K$(){if(typeof window>"u")return!1;let t=window.location.hostname;if(!qN(t))return!1;let e=window.location.pathname;if(e!=="/"&&e!=="")return!1;let r=`/pt-br/${window.location.search}${window.location.hash}`;return window.location.replace(r),!0}var ee="en-us",wt={storagePrefix:"rabbiit_",SupportedLanguages:[{id:"en-us",name:"English",short:"EN"},{id:"es-es",name:"Espa\xF1ol",short:"ES"},{id:"pt-br",name:"Portugu\xEAs",short:"PT"}]},Xf=wt.SupportedLanguages.map(t=>t.id).filter(t=>t!==ee),ti={home:{"pt-br":"","en-us":"","es-es":""},clientes:{"pt-br":"clientes","en-us":"customers","es-es":"clientes"},funcionalidades:{"pt-br":"funcionalidades","en-us":"features","es-es":"funcionalidades"},"funcionalidades-todas":{"pt-br":["funcionalidades","todas-as-funcionalidades"],"en-us":["features","all-features"],"es-es":["funcionalidades","todas-as-funcionalidades"]},"software-controle-de-tempo":{"pt-br":"software-controle-de-tempo","en-us":"time-tracking-software","es-es":"software-controle-de-tempo"},"software-timesheet-de-equipes":{"pt-br":"software-timesheet-de-equipes","en-us":"team-timesheet-software","es-es":"software-timesheet-de-equipes"},"software-orcamento-de-projetos":{"pt-br":"software-orcamento-de-projetos","en-us":"project-budget-software","es-es":"software-orcamento-de-projetos"},"software-gestao-de-tempo":{"pt-br":"software-gestao-de-tempo","en-us":"time-management-reports","es-es":"software-gestao-de-tempo"},"software-rentabilidade-de-projetos":{"pt-br":"software-rentabilidade-de-projetos","en-us":"project-profitability","es-es":"software-rentabilidade-de-projetos"},"software-gestao-unificada-de-tarefas":{"pt-br":"software-gestao-unificada-de-tarefas","en-us":"task-management-software","es-es":"software-gestao-unificada-de-tarefas"}
vendor: 13,580 bytes, line 9
9,"software-quadro-kanban":{"pt-br":"software-quadro-kanban","en-us":"kanban-board-software","es-es":"software-quadro-kanban"},"software-faturar-horas-trabalhadas":{"pt-br":"software-faturar-horas-trabalhadas","en-us":"billable-hours-rates","es-es":"software-faturar-horas-trabalhadas"},precos:{"pt-br":"precos","en-us":"pricing","es-es":"precios"},novidades:{"pt-br":"novidades","en-us":"changelog","es-es":"novedades"},afiliados:{"pt-br":"afiliados","en-us":"affiliates","es-es":"afiliados"},help:{"pt-br":"help","en-us":"help","es-es":"help"},blog:{"pt-br":"blog","en-us":"blog","es-es":"blog"},glossario:{"pt-br":"glossario","en-us":"glossary","es-es":"glossario"},seguranca:{"pt-br":"seguranca","en-us":"security","es-es":"seguranca"},privacidade:{"pt-br":"privacidade","en-us":"privacy","es-es":"privacidad"},termos:{"pt-br":"termos","en-us":"terms","es-es":"terminos"},"cronometro-online-gratis":{"pt-br":"cronometro-online-gratis","en-us":"stopwatch-online-free","es-es":"cronometro-online-gratis"},"timer-online-gratis":{"pt-br":"timer-online-gratis","en-us":"timer-online-free","es-es":"timer-online-gratis"},"razoes-para-usar-software-de-controle-de-horas":{"pt-br":"razoes-para-usar-software-de-controle-de-horas","en-us":"reasons-to-use-time-tracking-software","es-es":"razoes-para-usar-software-de-controle-de-horas"},"apresentacao-comercial":{"pt-br":"apresentacao-comercial","en-us":"commercial-presentation","es-es":"apresentacion-comercial"},comparativo:{"pt-br":"comparativo","en-us":"compare","es-es":"comparativo"},alternativas:{"pt-br":"alternativas","en-us":"alternatives","es-es":"alternativas"},"controle-de-horas-para":{"pt-br":"controle-de-horas-para","en-us":"time-tracking-for","es-es":"controle-de-horas-para"}};var k="primary",wo=Symbol("RouteTitle"),rh=class{constructor(e){this.params=e||{}}has(e){return Object.prototype.hasOwnProperty.call(this.params,e)}get(e){if(this.has(e)){let r=this.params[e];return Array.isArray(r)?r[0]:r}return null}getAll(e){if(this.has(e)){let r=this.params[e];return Array.isArray(r)?r:[r]}return[]}get keys(){return Object.keys(this.params)}};function ai(t){return new rh(t)}function GN(t,e,r){let n=r.path.split("/");if(n.length>t.length||r.pathMatch==="full"&&(e.hasChildren()||n.length<t.length))return null;let i={};for(let o=0;o<n.length;o++){let s=n[o],a=t[o];if(s[0]===":")i[s.substring(1)]=a;else if(s!==a.path)return null}return{consumed:t.slice(0,n.length),posParams:i}}function WN(t,e){if(t.length!==e.length)return!1;for(let r=0;r<t.length;++r)if(!Bt(t[r],e[r]))return!1;return!0}function Bt(t,e){let r=t?ih(t):void 0,n=e?ih(e):void 0;if(!r||!n||r.length!=n.length)return!1;let i;for(let o=0;o<r.length;o++)if(i=r[o],!uw(t[i],e[i]))return!1;return!0}function ih(t){return[...Object.keys(t),...Object.getOwnPropertySymbols(t)]}function uw(t,e){if(Array.isArray(t)&&Array.isArray(e)){if(t.length!==e.length)return!1;let r=[...t].sort(),n=[...e].sort();return r.every((i,o)=>n[o]===i)}else return t===e}function lw(t){return t.length>0?t[t.length-1]:null}function Fn(t){return Gc(t)?t:Qr(t)?J(Promise.resolve(t)):I(t)}var ZN={exact:fw,subset:hw},dw={exact:YN,subset:QN,ignored:()=>!0};function Xb(t,e,r){return ZN[r.paths](t.root,e.root,r.matrixParams)&&dw[r.queryParams](t.queryParams,e.queryParams)&&!(r.fragment==="exact"&&t.fragment!==e.fragment)}function YN(t,e){return Bt(t,e)}function fw(t,e,r){if(!ar(t.segments,e.segments)||!nc(t.segments,e.segments,r)||t.numberOfChildren!==e.numberOfChildren)return!1;for(let n in e.children)if(!t.children[n]||!fw(t.children[n],e.children[n],r))return!1;return!0}function QN(t,e){return Object.keys(e).length<=Object.keys(t).length&&Object.keys(e).every(r=>uw(t[r],e[r]))}function hw(t,e,r){return pw(t,e,e.segments,r)}function pw(t,e,r,n){if(t.segments.length>r.length){let i=t.segments.slice(0,r.length);return!(!ar(i,r)||e.hasChildren()||!nc(i,r,n))}else if(t.segments.length===r.length){if(!ar(t.segments,r)||!nc(t.segments,r,n))return!1;for(let i in e.children)if(!t.children[i]||!hw(t.children[i],e.children[i],n))return!1;return!0}else{let i=r.slice(0,t.segments.length),o=r.slice(t.segments.length);return!ar(t.segments,i)||!nc(t.segments,i,n)||!t.children[k]?!1:pw(t.children[k],e,o,n)}}function nc(t,e,r){return e.every((n,i)=>dw[r](t[i].parameters,n.parameters))}var gn=class{constructor(e=new z([],{}),r={},n=null){this.root=e,this.queryParams=r,this.fragment=n}get queryParamMap(){return this._queryParamMap??=ai(this.queryParams),this._queryParamMap}toString(){return JN.serialize(this)}},z=class{constructor(e,r){this.segments=e,this.children=r,this.parent=null,Object.values(r).forEach(n=>n.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return rc(this)}},sr=class{constructor(e,r){this.path=e,this.parameters=r}get parameterMap(){return this._parameterMap??=ai(this.parameters),this._parameterMap}toString(){return mw(this)}};function KN(t,e){return ar(t,e)&&t.every((r,n)=>Bt(r.parameters,e[n].parameters))}function ar(t,e){return t.length!==e.length?!1:t.every((r,n)=>r.path===e[n].path)}function XN(t,e){let r=[];return Object.entries(t.children).forEach(([n,i])=>{n===k&&(r=r.concat(e(i,n)))}),Object.entries(t.children).forEach(([n,i])=>{n!==k&&(r=r.concat(e(i,n)))}),r}var Do=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=b({token:e,factory:()=>new ci,providedIn:"root"});let t=e;return t})(),ci=class{parse(e){let r=new sh(e);return new gn(r.parseRootSegment(),r.parseQueryParams(),r.parseFragment())}serialize(e){let r=`/${so(e.root,!0)}`,n=n_(e.queryParams),i=typeof e.fragment=="string"?`#${e_(e.fragment)}`:"";return`${r}${n}${i}`}},JN=new ci;function rc(t){return t.segments.map(e=>mw(e)).join("/")}function so(t,e){if(!t.hasChildren())return rc(t);if(e){let r=t.children[k]?so(t.children[k],!1):"",n=[];return Object.entries(t.children).forEach(([i,o])=>{i!==k&&n.push(`${i}:${so(o,!1)}`)}),n.length>0?`${r}(${n.join("//")})`:r}else{let r=XN(t,(n,i)=>i===k?[so(t.children[k],!1)]:[`${i}:${so(n,!1)}`]);return Object.keys(t.children).length===1&&t.children[k]!=null?`${rc(t)}/${r[0]}`:`${rc(t)}/(${r.join("//")})`}}function gw(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function ec(t){return gw(t).replace(/%3B/gi,";")}function e_(t){return encodeURI(t)}function oh(t){return gw(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function ic(t){return decodeURIComponent(t)}function Jb(t){return ic(t.replace(/\+/g,"%20"))}function mw(t){return`${oh(t.path)}${t_(t.parameters)}`}function t_(t){return Object.entries(t).map(([e,r])=>`;${oh(e)}=${oh(r)}`).join("")}function n_(t){let e=Object.entries(t).map(([r,n])=>Array.isArray(n)?n.map(i=>`${ec(r)}=${ec(i)}`).join("&"):`${ec(r)}=${ec(n)}`).filter(r=>r);return e.length?`?${e.join("&")}`:""}var r_=/^[^\/()?;#]+/;function Jf(t){let e=t.match(r_);return e?e[0]:""}var i_=/^[^\/()?;=#]+/;function o_(t){let e=t.match(i_);return e?e[0]:""}var s_=/^[^=?&#]+/;function a_(t){let e=t.match(s_);return e?e[0]:""}var c_=/^[^&#]+/;function u_(t){let e=t.match(c_);return e?e[0]:""}var sh=class{constructor(e){this.url=e,this.remaining=e}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new z([],{}):new z([],this.parseChildren())}parseQueryParams(){let e={};if(this.consumeOptional("?"))do this.parseQueryParam(e);while(this.consumeOptional("&"));return e}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");let e=[];for(this.peekStartsWith("(")||e.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),e.push(this.parseSegment());let r={};this.peekStartsWith("/(")&&(this.capture("/"),r=this.parseParens(!0));let n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(e.length>0||Object.keys(r).length>0)&&(n[k]=new z(e,r)),n}parseSegment(){let e=Jf(this.remaining);if(e===""&&this.peekStartsWith(";"))throw new E(4009,!1);return this.capture(e),new sr(ic(e),this.parseMatrixParams())}parseMatrixParams(){let e={};for(;this.consumeOptional(";");)this.parseParam(e);return e}parseParam(e){let r=o_(this.remaining);if(!r)return;this.capture(r);let n="";if(this.consumeOptional("=")){let i=Jf(this.remaining);i&&(n=i,this.capture(n))}e[ic(r)]=ic(n)}parseQueryParam(e){let r=a_(this.remaining);if(!r)return;this.capture(r);let n="";if(this.consumeOptional("=")){let s=u_(this.remaining);s&&(n=s,this.capture(n))}let i=Jb(r),o=Jb(n);if(e.hasOwnProperty(i)){let s=e[i];Array.isArray(s)||(s=[s],e[i]=s),s.push(o)}else e[i]=o}parseParens(e){let r={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let n=Jf(this.remaining),i=this.remaining[n.length];if(i!=="/"&&i!==")"&&i!==";")throw new E(4010,!1);let o;n.indexOf(":")>-1?(o=n.slice(0,n.indexOf(":")),this.capture(o),this.capture(":")):e&&(o=k);let s=this.parseChildren();r[o]=Object.keys(s).length===1?s[k]:new z([],s),this.consumeOptional("//")}return r}peekStartsWith(e){return this.remaining.startsWith(e)}consumeOptional(e){return this.peekStartsWith(e)?(this.remaining=this.remaining.substring(e.length),!0):!1}capture(e){if(!this.consumeOptional(e))throw new E(4011,!1)}};function yw(t){return t.segments.length>0?new z([],{[k]:t}):t}function vw(t){let e={};for(let[n,i]of Object.entries(t.children)){let o=vw(i);if(n===k&&o.segments.length===0&&o.hasChildren())for(let[s,a]of Object.entries(o.children))e[s]=a;else(o.segments.length>0||o.hasChildren())&&(e[n]=o)}let r=new z(t.segments,e);return l_(r)}function l_(t){if(t.numberOfChildren===1&&t.children[k]){let e=t.children[k];return new z(t.segments.concat(e.segments),e.children)}return t}function cr(t){return t instanceof gn}function d_(t,e,r=null,n=null){let i=bw(t);return ww(i,e,r,n)}function bw(t){let e;function r(o){let s={};for(let c of o.children){let u=r(c);s[c.outlet]=u}let a=new z(o.url,s);return o===t&&(e=a),a}let n=r(t.root),i=yw(n);return e??i}function ww(t,e,r,n){let i=t;for(;i.parent;)i=i.parent;if(e.length===0)return eh(i,i,i,r,n);let o=f_(e);if(o.toRoot())return eh(i,i,new z([],{}),r,n);let s=h_(o,i,t),a=s.processChildren?uo(s.segmentGroup,s.index,o.commands):Ew(s.segmentGroup,s.index,o.commands);return eh(i,s.segmentGroup,a,r,n)}function oc(t){return typeof t=="object"&&t!=null&&!t.outlets&&!t.segmentPath}function ho(t){return typeof t=="object"&&t!=null&&t.outlets}function eh(t,e,r,n,i){let o={};n&&Object.entries(n).forEach(([c,u])=>{o[c]=Array.isArray(u)?u.map(l=>`${l}`):`${u}`});let s;t===e?s=r:s=Dw(t,e,r);let a=yw(vw(s));return new gn(a,o,i)}function Dw(t,e,r){let n={};return Object.entries(t.children).forEach(([i,o])=>{o===e?n[i]=r:n[i]=Dw(o,e,r)}),new z(t.segments,n)}var sc=class{constructor(e,r,n){if(this.isAbsolute=e,this.numberOfDoubleDots=r,this.commands=n,e&&n.length>0&&oc(n[0]))throw new E(4003,!1);let i=n.find(ho);if(i&&i!==lw(n))throw new E(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function f_(t){if(typeof t[0]=="string"&&t.length===1&&t[0]==="/")return new sc(!0,0,t);let e=0,r=!1,n=t.reduce((i,o,s)=>{if(typeof o=="object"&&o!=null){if(o.outlets){let a={};return Object.entries(o.outlets).forEach(([c,u])=>{a[c]=typeof u=="string"?u.split("/"):u}),[...i,{outlets:a}]}if(o.segmentPath)return[...i,o.segmentPath]}return typeof o!="string"?[...i,o]:s===0?(o.split("/").forEach((a,c)=>{c==0&&a==="."||(c==0&&a===""?r=!0:a===".."?e++:a!=""&&i.push(a))}),i):[...i,o]},[]);return new sc(r,e,n)}var ii=class{constructor(e,r,n){this.segmentGroup=e,this.processChildren=r,this.index=n}};function h_(t,e,r){if(t.isAbsolute)return new ii(e,!0,0);if(!r)return new ii(e,!1,NaN);if(r.parent===null)return new ii(r,!0,0);let n=oc(t.commands[0])?0:1,i=r.segments.length-1+n;return p_(r,i,t.numberOfDoubleDots)}function p_(t,e,r){let n=t,i=e,o=r;for(;o>i;){if(o-=i,n=n.parent,!n)throw new E(4005,!1);i=n.segments.length}return new ii(n,!1,i-o)}function g_(t){return ho(t[0])?t[0].outlets:{[k]:t}}function Ew(t,e,r){if(t??=new z([],{}),t.segments.length===0&&t.hasChildren())return uo(t,e,r);let n=m_(t,e,r),i=r.slice(n.commandIndex);if(n.match&&n.pathIndex<t.segments.length){let o=new z(t.segments.slice(0,n.pathIndex),{});return o.children[k]=new z(t.segments.slice(n.pathIndex),t.children),uo(o,0,i)}else return n.match&&i.length===0?new z(t.segments,{}):n.match&&!t.hasChildren()?ah(t,e,r):n.match?uo(t,0,i):ah(t,e,r)}function uo(t,e,r){if(r.length===0)return new z(t.segments,{});{let n=g_(r),i={};if(Object.keys(n).some(o=>o!==k)&&t.children[k]&&t.numberOfChildren===1&&t.children[k].segments.length===0){let o=uo(t.children[k],e,r);return new z(t.segments,o.children)}return Object.entries(n).forEach(([o,s])=>{typeof s=="string"&&(s=[s]),s!==null&&(i[o]=Ew(t.children[o],e,s))}),Object.entries(t.children).forEach(([o,s])=>{n[o]===void 0&&(i[o]=s)}),new z(t.segments,i)}}function m_(t,e,r){let n=0,i=e,o={match:!1,pathIndex:0,commandIndex:0};for(;i<t.segments.length;){if(n>=r.length)return o;let s=t.segments[i],a=r[n];if(ho(a))break;let c=`${a}`,u=n<r.length-1?r[n+1]:null;if(i>0&&c===void 0)break;if(c&&u&&typeof u=="object"&&u.outlets===void 0){if(!tw(c,u,s))return o;n+=2}else{if(!tw(c,{},s))return o;n++}i++}return{match:!0,pathIndex:i,commandIndex:n}}function ah(t,e,r){let n=t.segments.slice(0,e),i=0;for(;i<r.length;){let o=r[i];if(ho(o)){let c=y_(o.outlets);return new z(n,c)}
9if(i===0&&oc(r[0])){let c=t.segments[e];n.push(new sr(c.path,ew(r[0]))),i++;continue}let s=ho(o)?o.outlets[k]:`${o}`,a=i<r.length-1?r[i+1]:null;s&&a&&oc(a)?(n.push(new sr(s,ew(a))),i+=2):(n.push(new sr(s,{})),i++)}return new z(n,{})}function y_(t){let e={};return Object.entries(t).forEach(([r,n])=>{typeof n=="string"&&(n=[n]),n!==null&&(e[r]=ah(new z([],{}),0,n))}),e}function ew(t){let e={};return Object.entries(t).forEach(([r,n])=>e[r]=`${n}`),e}function tw(t,e,r){return t==r.path&&Bt(e,r.parameters)}var lo="imperative",ge=function(t){return t[t.NavigationStart=0]="NavigationStart",t[t.NavigationEnd=1]="NavigationEnd",t[t.NavigationCancel=2]="NavigationCancel",t[t.NavigationError=3]="NavigationError",t[t.RoutesRecognized=4]="RoutesRecognized",t[t.ResolveStart=5]="ResolveStart",t[t.ResolveEnd=6]="ResolveEnd",t[t.GuardsCheckStart=7]="GuardsCheckStart",t[t.GuardsCheckEnd=8]="GuardsCheckEnd",t[t.RouteConfigLoadStart=9]="RouteConfigLoadStart",t[t.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",t[t.ChildActivationStart=11]="ChildActivationStart",t[t.ChildActivationEnd=12]="ChildActivationEnd",t[t.ActivationStart=13]="ActivationStart",t[t.ActivationEnd=14]="ActivationEnd",t[t.Scroll=15]="Scroll",t[t.NavigationSkipped=16]="NavigationSkipped",t}(ge||{}),it=class{constructor(e,r){this.id=e,this.url=r}},ui=class extends it{constructor(e,r,n="imperative",i=null){super(e,r),this.type=ge.NavigationStart,this.navigationTrigger=n,this.restoredState=i}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},xe=class extends it{constructor(e,r,n){super(e,r),this.urlAfterRedirects=n,this.type=ge.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},qe=function(t){return t[t.Redirect=0]="Redirect",t[t.SupersededByNewNavigation=1]="SupersededByNewNavigation",t[t.NoDataFromResolver=2]="NoDataFromResolver",t[t.GuardRejected=3]="GuardRejected",t}(qe||{}),ac=function(t){return t[t.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",t[t.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",t}(ac||{}),pn=class extends it{constructor(e,r,n,i){super(e,r),this.reason=n,this.code=i,this.type=ge.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},Pn=class extends it{constructor(e,r,n,i){super(e,r),this.reason=n,this.code=i,this.type=ge.NavigationSkipped}},po=class extends it{constructor(e,r,n,i){super(e,r),this.error=n,this.target=i,this.type=ge.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},cc=class extends it{constructor(e,r,n,i){super(e,r),this.urlAfterRedirects=n,this.state=i,this.type=ge.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},ch=class extends it{constructor(e,r,n,i){super(e,r),this.urlAfterRedirects=n,this.state=i,this.type=ge.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},uh=class extends it{constructor(e,r,n,i,o){super(e,r),this.urlAfterRedirects=n,this.state=i,this.shouldActivate=o,this.type=ge.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},lh=class extends it{constructor(e,r,n,i){super(e,r),this.urlAfterRedirects=n,this.state=i,this.type=ge.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},dh=class extends it{constructor(e,r,n,i){super(e,r),this.urlAfterRedirects=n,this.state=i,this.type=ge.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},fh=class{constructor(e){this.route=e,this.type=ge.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},hh=class{constructor(e){this.route=e,this.type=ge.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},ph=class{constructor(e){this.snapshot=e,this.type=ge.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},gh=class{constructor(e){this.snapshot=e,this.type=ge.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},mh=class{constructor(e){this.snapshot=e,this.type=ge.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},yh=class{constructor(e){this.snapshot=e,this.type=ge.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},uc=class{constructor(e,r,n){this.routerEvent=e,this.position=r,this.anchor=n,this.type=ge.Scroll}toString(){let e=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${e}')`}},go=class{},li=class{constructor(e,r){this.url=e,this.navigationBehaviorOptions=r}};function v_(t,e){return t.providers&&!t._injector&&(t._injector=Ia(t.providers,e,`Route: ${t.path}`)),t._injector??e}function Dt(t){return t.outlet||k}function b_(t,e){let r=t.filter(n=>Dt(n)===e);return r.push(...t.filter(n=>Dt(n)!==e)),r}function Eo(t){if(!t)return null;if(t.routeConfig?._injector)return t.routeConfig._injector;for(let e=t.parent;e;e=e.parent){let r=e.routeConfig;if(r?._loadedInjector)return r._loadedInjector;if(r?._injector)return r._injector}return null}var vh=class{get injector(){return Eo(this.route?.snapshot)??this.rootInjector}set injector(e){}constructor(e){this.rootInjector=e,this.outlet=null,this.route=null,this.children=new Io(this.rootInjector),this.attachRef=null}},Io=(()=>{let e=class e{constructor(n){this.rootInjector=n,this.contexts=new Map}onChildOutletCreated(n,i){let o=this.getOrCreateContext(n);o.outlet=i,this.contexts.set(n,o)}onChildOutletDestroyed(n){let i=this.getContext(n);i&&(i.outlet=null,i.attachRef=null)}onOutletDeactivated(){let n=this.contexts;return this.contexts=new Map,n}onOutletReAttached(n){this.contexts=n}getOrCreateContext(n){let i=this.getContext(n);
vendor: 6,576 bytes, line 9
9return i||(i=new vh(this.rootInjector),this.contexts.set(n,i)),i}getContext(n){return this.contexts.get(n)||null}};e.\u0275fac=function(i){return new(i||e)(y(Se))},e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),lc=class{constructor(e){this._root=e}get root(){return this._root.value}parent(e){let r=this.pathFromRoot(e);return r.length>1?r[r.length-2]:null}children(e){let r=bh(e,this._root);return r?r.children.map(n=>n.value):[]}firstChild(e){let r=bh(e,this._root);return r&&r.children.length>0?r.children[0].value:null}siblings(e){let r=wh(e,this._root);return r.length<2?[]:r[r.length-2].children.map(i=>i.value).filter(i=>i!==e)}pathFromRoot(e){return wh(e,this._root).map(r=>r.value)}};function bh(t,e){if(t===e.value)return e;for(let r of e.children){let n=bh(t,r);if(n)return n}return null}function wh(t,e){if(t===e.value)return[e];for(let r of e.children){let n=wh(t,r);if(n.length)return n.unshift(e),n}return[]}var ze=class{constructor(e,r){this.value=e,this.children=r}toString(){return`TreeNode(${this.value})`}};function ri(t){let e={};return t&&t.children.forEach(r=>e[r.value.outlet]=r),e}var dc=class extends lc{constructor(e,r){super(e),this.snapshot=r,Nh(this,e)}toString(){return this.snapshot.toString()}};function Iw(t){let e=w_(t),r=new de([new sr("",{})]),n=new de({}),i=new de({}),o=new de({}),s=new de(""),a=new Et(r,n,o,s,i,k,t,e.root);return a.snapshot=e.root,new dc(new ze(a,[]),e)}function w_(t){let e={},r={},n={},i="",o=new oi([],e,n,i,r,k,t,null,{});return new hc("",new ze(o,[]))}var Et=class{constructor(e,r,n,i,o,s,a,c){this.urlSubject=e,this.paramsSubject=r,this.queryParamsSubject=n,this.fragmentSubject=i,this.dataSubject=o,this.outlet=s,this.component=a,this._futureSnapshot=c,this.title=this.dataSubject?.pipe(T(u=>u[wo]))??I(void 0),this.url=e,this.params=r,this.queryParams=n,this.fragment=i,this.data=o}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe(T(e=>ai(e))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(T(e=>ai(e))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function fc(t,e,r="emptyOnly"){let n,{routeConfig:i}=t;return e!==null&&(r==="always"||i?.path===""||!e.component&&!e.routeConfig?.loadComponent)?n={params:m(m({},e.params),t.params),data:m(m({},e.data),t.data),resolve:m(m(m(m({},t.data),e.data),i?.data),t._resolvedData)}:n={params:m({},t.params),data:m({},t.data),resolve:m(m({},t.data),t._resolvedData??{})},i&&Sw(i)&&(n.resolve[wo]=i.title),n}var oi=class{get title(){return this.data?.[wo]}constructor(e,r,n,i,o,s,a,c,u){this.url=e,this.params=r,this.queryParams=n,this.fragment=i,this.data=o,this.outlet=s,this.component=a,this.routeConfig=c,this._resolve=u}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=ai(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=ai(this.queryParams),this._queryParamMap}toString(){let e=this.url.map(n=>n.toString()).join("/"),r=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${e}', path:'${r}')`}},hc=class extends lc{constructor(e,r){super(r),this.url=e,Nh(this,r)}toString(){return Cw(this._root)}};function Nh(t,e){e.value._routerState=t,e.children.forEach(r=>Nh(t,r))}function Cw(t){let e=t.children.length>0?` { ${t.children.map(Cw).join(", ")} } `:"";return`${t.value}${e}`}function th(t){if(t.snapshot){let e=t.snapshot,r=t._futureSnapshot;t.snapshot=r,Bt(e.queryParams,r.queryParams)||t.queryParamsSubject.next(r.queryParams),e.fragment!==r.fragment&&t.fragmentSubject.next(r.fragment),Bt(e.params,r.params)||t.paramsSubject.next(r.params),WN(e.url,r.url)||t.urlSubject.next(r.url),Bt(e.data,r.data)||t.dataSubject.next(r.data)}else t.snapshot=t._futureSnapshot,t.dataSubject.next(t._futureSnapshot.data)}function Dh(t,e){let r=Bt(t.params,e.params)&&KN(t.url,e.url),n=!t.parent!=!e.parent;return r&&!n&&(!t.parent||Dh(t.parent,e.parent))}function Sw(t){return typeof t.title=="string"||t.title===null}var D_=(()=>{let e=class e{constructor(){this.activated=null,this._activatedRoute=null,this.name=k,this.activateEvents=new ae,this.deactivateEvents=new ae,this.attachEvents=new ae,this.detachEvents=new ae,this.parentContexts=g(Io),this.location=g(et),this.changeDetector=g(an),this.inputBinder=g(vc,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(n){if(n.name){let{firstChange:i,previousValue:o}=n.name;if(i)return;this.isTrackedInParentContexts(o)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(o)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(n){return this.parentContexts.getContext(n)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let n=this.parentContexts.getContext(this.name);n?.route&&(n.attachRef?this.attach(n.attachRef,n.route):this.activateWith(n.route,n.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new E(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new E(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new E(4012,!1);this.location.detach();let n=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(n.instance),n}attach(n,i){this.activated=n,this._activatedRoute=i,this.location.insert(n.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(n.instance)}deactivate(){if(this.activated){let n=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(n)}}
9activateWith(n,i){if(this.isActivated)throw new E(4013,!1);this._activatedRoute=n;let o=this.location,a=n.snapshot.component,c=this.parentContexts.getOrCreateContext(this.name).children,u=new Eh(n,c,o.injector);this.activated=o.createComponent(a,{index:o.length,injector:u,environmentInjector:i}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275dir=Le({type:e,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[tn]});let t=e;return t})(),Eh=class t{__ngOutletInjector(e){return new t(this.route,this.childContexts,e)}constructor(e,r,n){this.route=e,this.childContexts=r,this.parent=n}get(e,r){return e===Et?this.route:e===Io?this.childContexts:this.parent.get(e,r)}},vc=new D(""),nw=(()=>{let e=class e{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(n){this.unsubscribeFromRouteData(n),this.subscribeToRouteData(n)}unsubscribeFromRouteData(n){this.outletDataSubscriptions.get(n)?.unsubscribe(),this.outletDataSubscriptions.delete(n)}subscribeToRouteData(n){let{activatedRoute:i}=n,o=bi([i.queryParams,i.params,i.data]).pipe(me(([s,a,c],u)=>(c=m(m(m({},s),a),c),u===0?I(c):Promise.resolve(c)))).subscribe(s=>{if(!n.isActivated||!n.activatedComponentRef||n.activatedRoute!==i||i.component===null){this.unsubscribeFromRouteData(n);return}let a=Jv(i.component);if(!a){this.unsubscribeFromRouteData(n);return}for(let{templateName:c}of a.inputs)n.activatedComponentRef.setInput(c,s[c])});this.outletDataSubscriptions.set(n,o)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=b({token:e,factory:e.\u0275fac});let t=e;return t})();function E_(t,e,r){let n=mo(t,e._root,r?r._root:void 0);return new dc(n,e)}function mo(t,e,r){if(r&&t.shouldReuseRoute(e.value,r.value.snapshot)){let n=r.value;n._futureSnapshot=e.value;let i=I_(t,e,r);return new ze(n,i)}else{if(t.shouldAttach(e.value)){let o=t.retrieve(e.value);if(o!==null){let s=o.route;return s.value._futureSnapshot=e.value,s.children=e.children.map(a=>mo(t,a)),s}}let n=C_(e.value),i=e.children.map(o=>mo(t,o));return new ze(n,i)}}function I_(t,e,r){return e.children.map(n=>{for(let i of r.children)if(t.shouldReuseRoute(n.value,i.value.snapshot))return mo(t,n,i);return mo(t,n)})}function C_(t){return new Et(new de(t.url),new de(t.params),new de(t.queryParams),new de(t.fragment),new de(t.data),t.outlet,t.component,t)}var yo=class{constructor(e,r){this.redirectTo=e,this.navigationBehaviorOptions=r}},Tw="ngNavigationCancelingError";function pc(t,e){let{redirectTo:r,navigationBehaviorOptions:n}=cr(e)?{redirectTo:e,navigationBehaviorOptions:void 0}:e,i=xw(!1,qe.Redirect);return i.url=r,i.navigationBehaviorOptions=n,i}function xw(t,e){let r=new Error(`NavigationCancelingError: ${t||""}`);return r[Tw]=!0,r.cancellationCode=e,r}function S_(t){return Mw(t)&&cr(t.url)}function Mw(t){return!!t&&t[Tw]}var T_=(t,e,r,n)=>T(i=>(new Ih(e,i.targetRouterState,i.currentRouterState,r,n).activate(t),i)),Ih=class{constructor(e,r,n,i,o){this.routeReuseStrategy=e,this.futureState=r,this.currState=n,this.forwardEvent=i,this.inputBindingEnabled=o}activate(e){let r=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(r,n,e),th(this.futureState.root),this.activateChildRoutes(r,n,e)}deactivateChildRoutes(e,r,n){let i=ri(r);e.children.forEach(o=>{let s=o.value.outlet;this.deactivateRoutes(o,i[s],n),delete i[s]}),Object.values(i).forEach(o=>{this.deactivateRouteAndItsChildren(o,n)})}deactivateRoutes(e,r,n){let i=e.value,o=r?r.value:null;if(i===o)if(i.component){let s=n.getContext(i.outlet);s&&this.deactivateChildRoutes(e,r,s.children)}else this.deactivateChildRoutes(e,r,n);else o&&this.deactivateRouteAndItsChildren(r,n)}deactivateRouteAndItsChildren(e,r){e.value.component&&this.routeReuseStrategy.shouldDetach(e.value.snapshot)?this.detachAndStoreRouteSubtree(e,r):this.deactivateRouteAndOutlet(e,r)}detachAndStoreRouteSubtree(e,r){let n=r.getContext(e.value.outlet),i=n&&e.value.component?n.children:r,o=ri(e);for(let s of Object.values(o))this.deactivateRouteAndItsChildren(s,i);if(n&&n.outlet){let s=n.outlet.detach(),a=n.children.onOutletDeactivated();this.routeReuseStrategy.store(e.value.snapshot,{componentRef:s,route:e,contexts:a})}}deactivateRouteAndOutlet(e,r){let n=r.getContext(e.value.outlet),i=n&&e.value.component?n.children:r,o=ri(e);for(let s of Object.values(o))this.deactivateRouteAndItsChildren(s,i);n&&(n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated()),n.attachRef=null,n.route=null)}activateChildRoutes(e,r,n){let i=ri(r);
vendor: 4,814 bytes, line 9
9e.children.forEach(o=>{this.activateRoutes(o,i[o.value.outlet],n),this.forwardEvent(new yh(o.value.snapshot))}),e.children.length&&this.forwardEvent(new gh(e.value.snapshot))}activateRoutes(e,r,n){let i=e.value,o=r?r.value:null;if(th(i),i===o)if(i.component){let s=n.getOrCreateContext(i.outlet);this.activateChildRoutes(e,r,s.children)}else this.activateChildRoutes(e,r,n);else if(i.component){let s=n.getOrCreateContext(i.outlet);if(this.routeReuseStrategy.shouldAttach(i.snapshot)){let a=this.routeReuseStrategy.retrieve(i.snapshot);this.routeReuseStrategy.store(i.snapshot,null),s.children.onOutletReAttached(a.contexts),s.attachRef=a.componentRef,s.route=a.route.value,s.outlet&&s.outlet.attach(a.componentRef,a.route.value),th(a.route.value),this.activateChildRoutes(e,null,s.children)}else s.attachRef=null,s.route=i,s.outlet&&s.outlet.activateWith(i,s.injector),this.activateChildRoutes(e,null,s.children)}else this.activateChildRoutes(e,null,n)}},gc=class{constructor(e){this.path=e,this.route=this.path[this.path.length-1]}},si=class{constructor(e,r){this.component=e,this.route=r}};function x_(t,e,r){let n=t._root,i=e?e._root:null;return ao(n,i,r,[n.value])}function M_(t){let e=t.routeConfig?t.routeConfig.canActivateChild:null;return!e||e.length===0?null:{node:t,guards:e}}function fi(t,e){let r=Symbol(),n=e.get(t,r);return n===r?typeof t=="function"&&!_g(t)?t:e.get(t):n}function ao(t,e,r,n,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=ri(e);return t.children.forEach(s=>{N_(s,o[s.value.outlet],r,n.concat([s.value]),i),delete o[s.value.outlet]}),Object.entries(o).forEach(([s,a])=>fo(a,r.getContext(s),i)),i}function N_(t,e,r,n,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=t.value,s=e?e.value:null,a=r?r.getContext(t.value.outlet):null;if(s&&o.routeConfig===s.routeConfig){let c=__(s,o,o.routeConfig.runGuardsAndResolvers);c?i.canActivateChecks.push(new gc(n)):(o.data=s.data,o._resolvedData=s._resolvedData),o.component?ao(t,e,a?a.children:null,n,i):ao(t,e,r,n,i),c&&a&&a.outlet&&a.outlet.isActivated&&i.canDeactivateChecks.push(new si(a.outlet.component,s))}else s&&fo(e,a,i),i.canActivateChecks.push(new gc(n)),o.component?ao(t,null,a?a.children:null,n,i):ao(t,null,r,n,i);return i}function __(t,e,r){if(typeof r=="function")return r(t,e);switch(r){case"pathParamsChange":return!ar(t.url,e.url);case"pathParamsOrQueryParamsChange":return!ar(t.url,e.url)||!Bt(t.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Dh(t,e)||!Bt(t.queryParams,e.queryParams);case"paramsChange":default:return!Dh(t,e)}}function fo(t,e,r){let n=ri(t),i=t.value;Object.entries(n).forEach(([o,s])=>{i.component?e?fo(s,e.children.getContext(o),r):fo(s,null,r):fo(s,e,r)}),i.component?e&&e.outlet&&e.outlet.isActivated?r.canDeactivateChecks.push(new si(e.outlet.component,i)):r.canDeactivateChecks.push(new si(null,i)):r.canDeactivateChecks.push(new si(null,i))}function Co(t){return typeof t=="function"}function A_(t){return typeof t=="boolean"}function R_(t){return t&&Co(t.canLoad)}function k_(t){return t&&Co(t.canActivate)}function O_(t){return t&&Co(t.canActivateChild)}function P_(t){return t&&Co(t.canDeactivate)}function F_(t){return t&&Co(t.canMatch)}function Nw(t){return t instanceof Wt||t?.name==="EmptyError"}var tc=Symbol("INITIAL_VALUE");function di(){return me(t=>bi(t.map(e=>e.pipe(Yt(1),Un(tc)))).pipe(T(e=>{for(let r of e)if(r!==!0){if(r===tc)return tc;if(r===!1||L_(r))return r}return!0}),fe(e=>e!==tc),Yt(1)))}function L_(t){return cr(t)||t instanceof yo}function j_(t,e){return se(r=>{let{targetSnapshot:n,currentSnapshot:i,guards:{canActivateChecks:o,canDeactivateChecks:s}}=r;return s.length===0&&o.length===0?I(V(m({},r),{guardsResult:!0})):$_(s,n,i,t).pipe(se(a=>a&&A_(a)?V_(n,o,t,e):I(a)),T(a=>V(m({},r),{guardsResult:a})))})}function $_(t,e,r,n){return J(t).pipe(se(i=>q_(i.component,i.route,r,e,n)),Ke(i=>i!==!0,!0))}function V_(t,e,r,n){return J(e).pipe(Zt(i=>Sr(B_(i.route.parent,n),U_(i.route,n),z_(t,i.path,r),H_(t,i.route,r))),Ke(i=>i!==!0,!0))}function U_(t,e){return t!==null&&e&&e(new mh(t)),I(!0)}function B_(t,e){return t!==null&&e&&e(new ph(t)),I(!0)}function H_(t,e,r){let n=e.routeConfig?e.routeConfig.canActivate:null;if(!n||n.length===0)return I(!0);let i=n.map(o=>es(()=>{let s=Eo(e)??r,a=fi(o,s),c=k_(a)?a.canActivate(e,t):Je(s,()=>a(e,t));return Fn(c).pipe(Ke())}));return I(i).pipe(di())}function z_(t,e,r){let n=e[e.length-1],o=e.slice(0,e.length-1).reverse().map(s=>M_(s)).filter(s=>s!==null).map(s=>es(()=>{let a=s.guards.map(c=>{let u=Eo(s.node)??r,l=fi(c,u),d=O_(l)?l.canActivateChild(n,t):Je(u,()=>l(n,t));return Fn(d).pipe(Ke())});return I(a).pipe(di())}));return I(o).pipe(di())}function q_(t,e,r,n,i){let o=e&&e.routeConfig?e.routeConfig.canDeactivate:null;if(!o||o.length===0)return I(!0);let s=o.map(a=>
9{let c=Eo(e)??i,u=fi(a,c),l=P_(u)?u.canDeactivate(t,e,r,n):Je(c,()=>u(t,e,r,n));return Fn(l).pipe(Ke())});return I(s).pipe(di())}function G_(t,e,r,n){let i=e.canLoad;if(i===void 0||i.length===0)return I(!0);let o=i.map(s=>{let a=fi(s,t),c=R_(a)?a.canLoad(e,r):Je(t,()=>a(e,r));return Fn(c)});return I(o).pipe(di(),_w(n))}function _w(t){return mr(he(e=>{if(typeof e!="boolean")throw pc(t,e)}),T(e=>e===!0))}function W_(t,e,r,n){let i=e.canMatch;if(!i||i.length===0)return I(!0);let o=i.map(s=>{let a=fi(s,t),c=F_(a)?a.canMatch(e,r):Je(t,()=>a(e,r));return Fn(c)});return I(o).pipe(di(),_w(n))}var vo=class{constructor(e){this.segmentGroup=e||null}},bo=class extends Error{constructor(e){super(),this.urlTree=e}};function ni(t){return vn(new vo(t))}function Z_(t){return vn(new E(4e3,!1))}function Y_(t){return vn(xw(!1,qe.GuardRejected))}var Ch=class{constructor(e,r){this.urlSerializer=e,this.urlTree=r}lineralizeSegments(e,r){let n=[],i=r.root;for(;;){if(n=n.concat(i.segments),i.numberOfChildren===0)return I(n);if(i.numberOfChildren>1||!i.children[k])return Z_(`${e.redirectTo}`);i=i.children[k]}}applyRedirectCommands(e,r,n,i,o){if(typeof r!="string"){let a=r,{queryParams:c,fragment:u,routeConfig:l,url:d,outlet:f,params:h,data:p,title:v}=i,w=Je(o,()=>a({params:h,data:p,queryParams:c,fragment:u,routeConfig:l,url:d,outlet:f,title:v}));if(w instanceof gn)throw new bo(w);r=w}let s=this.applyRedirectCreateUrlTree(r,this.urlSerializer.parse(r),e,n);if(r[0]==="/")throw new bo(s);return s}applyRedirectCreateUrlTree(e,r,n,i){let o=this.createSegmentGroup(e,r.root,n,i);return new gn(o,this.createQueryParams(r.queryParams,this.urlTree.queryParams),r.fragment)}createQueryParams(e,r){let n={};return Object.entries(e).forEach(([i,o])=>{if(typeof o=="string"&&o[0]===":"){let a=o.substring(1);n[i]=r[a]}else n[i]=o}),n}createSegmentGroup(e,r,n,i){let o=this.createSegments(e,r.segments,n,i),s={};return Object.entries(r.children).forEach(([a,c])=>{s[a]=this.createSegmentGroup(e,c,n,i)}),new z(o,s)}createSegments(e,r,n,i){return r.map(o=>o.path[0]===":"?this.findPosParam(e,o,i):this.findOrReturn(o,n))}findPosParam(e,r,n){let i=n[r.path.substring(1)];if(!i)throw new E(4001,!1);return i}findOrReturn(e,r){let n=0;for(let i of r){if(i.path===e.path)return r.splice(n),i;n++}return e}},Sh={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Q_(t,e,r,n,i){let o=Aw(t,e,r);return o.matched?(n=v_(e,n),W_(n,e,r,i).pipe(T(s=>s===!0?o:m({},Sh)))):I(o)}function Aw(t,e,r){if(e.path==="**")return K_(r);if(e.path==="")return e.pathMatch==="full"&&(t.hasChildren()||r.length>0)?m({},Sh):{matched:!0,consumedSegments:[],remainingSegments:r,parameters:{},positionalParamSegments:{}};let i=(e.matcher||GN)(r,t,e);if(!i)return m({},Sh);let o={};Object.entries(i.posParams??{}).forEach(([a,c])=>{o[a]=c.path});let s=i.consumed.length>0?m(m({},o),i.consumed[i.consumed.length-1].parameters):o;return{matched:!0,consumedSegments:i.consumed,remainingSegments:r.slice(i.consumed.length),parameters:s,positionalParamSegments:i.posParams??{}}}function K_(t){return{matched:!0,parameters:t.length>0?lw(t).parameters:{},consumedSegments:t,remainingSegments:[],positionalParamSegments:{}}}function rw(t,e,r,n){return r.length>0&&eA(t,r,n)?{segmentGroup:new z(e,J_(n,new z(r,t.children))),slicedSegments:[]}:r.length===0&&tA(t,r,n)?{segmentGroup:new z(t.segments,X_(t,r,n,t.children)),slicedSegments:r}:{segmentGroup:new z(t.segments,t.children),slicedSegments:r}}function X_(t,e,r,n){let i={};for(let o of r)if(bc(t,e,o)&&!n[Dt(o)]){let s=new z([],{});i[Dt(o)]=s}return m(m({},n),i)}function J_(t,e){let r={};r[k]=e;for(let n of t)if(n.path===""&&Dt(n)!==k){let i=new z([],{});r[Dt(n)]=i}return r}function eA(t,e,r){return r.some(n=>bc(t,e,n)&&Dt(n)!==k)}function tA(t,e,r){return r.some(n=>bc(t,e,n))}function bc(t,e,r){return(t.hasChildren()||e.length>0)&&r.pathMatch==="full"?!1:r.path===""}function nA(t,e,r){return e.length===0&&!t.children[r]}var Th=class{};function rA(t,e,r,n,i,o,s="emptyOnly"){return new xh(t,e,r,n,i,s,o).recognize()}var iA=31,xh=class{constructor(e,r,n,i,o,s,a){this.injector=e,this.configLoader=r,this.rootComponentType=n,this.config=i,this.urlTree=o,this.paramsInheritanceStrategy=s,this.urlSerializer
9=a,this.applyRedirects=new Ch(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(e){return new E(4002,`'${e.segmentGroup}'`)}recognize(){let e=rw(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(e).pipe(T(({children:r,rootSnapshot:n})=>{let i=new ze(n,r),o=new hc("",i),s=d_(n,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,o.url=this.urlSerializer.serialize(s),{state:o,tree:s}}))}match(e){let r=new oi([],Object.freeze({}),Object.freeze(m({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),k,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,e,k,r).pipe(T(n=>({children:n,rootSnapshot:r})),$n(n=>{if(n instanceof bo)return this.urlTree=n.urlTree,this.match(n.urlTree.root);throw n instanceof vo?this.noMatchError(n):n}))}processSegmentGroup(e,r,n,i,o){return n.segments.length===0&&n.hasChildren()?this.processChildren(e,r,n,o):this.processSegment(e,r,n,n.segments,i,!0,o).pipe(T(s=>s instanceof ze?[s]:[]))}processChildren(e,r,n,i){let o=[];for(let s of Object.keys(n.children))s==="primary"?o.unshift(s):o.push(s);return J(o).pipe(Zt(s=>{let a=n.children[s],c=b_(r,s);return this.processSegmentGroup(e,c,a,s,i)}),Tr((s,a)=>(s.push(...a),s)),At(null),Eu(),se(s=>{if(s===null)return ni(n);let a=Rw(s);return oA(a),I(a)}))}processSegment(e,r,n,i,o,s,a){return J(r).pipe(Zt(c=>this.processSegmentAgainstRoute(c._injector??e,r,c,n,i,o,s,a).pipe($n(u=>{if(u instanceof vo)return I(null);throw u}))),Ke(c=>!!c),$n(c=>{if(Nw(c))return nA(n,i,o)?I(new Th):ni(n);throw c}))}processSegmentAgainstRoute(e,r,n,i,o,s,a,c){return Dt(n)!==s&&(s===k||!bc(i,o,n))?ni(i):n.redirectTo===void 0?this.matchSegmentAgainstRoute(e,i,n,o,s,c):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(e,i,r,n,o,s,c):ni(i)}expandSegmentAgainstRouteUsingRedirect(e,r,n,i,o,s,a){let{matched:c,parameters:u,consumedSegments:l,positionalParamSegments:d,remainingSegments:f}=Aw(r,i,o);if(!c)return ni(r);typeof i.redirectTo=="string"&&i.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>iA&&(this.allowRedirects=!1));let h=new oi(o,u,Object.freeze(m({},this.urlTree.queryParams)),this.urlTree.fragment,iw(i),Dt(i),i.component??i._loadedComponent??null,i,ow(i)),p=fc(h,a,this.paramsInheritanceStrategy);h.params=Object.freeze(p.params),h.data=Object.freeze(p.data);let v=this.applyRedirects.applyRedirectCommands(l,i.redirectTo,d,h,e);return this.applyRedirects.lineralizeSegments(i,v).pipe(se(w=>this.processSegment(e,n,r,w.concat(f),s,!1,a)))}matchSegmentAgainstRoute(e,r,n,i,o,s){let a=Q_(r,n,i,e,this.urlSerializer);return n.path==="**"&&(r.children={}),a.pipe(me(c=>c.matched?(e=n._injector??e,this.getChildConfig(e,n,i).pipe(me(({routes:u})=>{let l=n._loadedInjector??e,{parameters:d,consumedSegments:f,remainingSegments:h}=c,p=new oi(f,d,Object.freeze(m({},this.urlTree.queryParams)),this.urlTree.fragment,iw(n),Dt(n),n.component??n._loadedComponent??null,n,ow(n)),v=fc(p,s,this.paramsInheritanceStrategy);p.params=Object.freeze(v.params),p.data=Object.freeze(v.data);let{segmentGroup:w,slicedSegments:C}=rw(r,f,h,u);if(C.length===0&&w.hasChildren())return this.processChildren(l,u,w,p).pipe(T(q=>new ze(p,q)));if(u.length===0&&C.length===0)return I(new ze(p,[]));let L=Dt(n)===o;return this.processSegment(l,u,w,C,L?k:o,!0,p).pipe(T(q=>new ze(p,q instanceof ze?[q]:[])))}))):ni(r)))}getChildConfig(e,r,n){return r.children?I({routes:r.children,injector:e}):r.loadChildren?r._loadedRoutes!==void 0?I({routes:r._loadedRoutes,injector:r._loadedInjector}):G_(e,r,n,this.urlSerializer).pipe(se(i=>i?this.configLoader.loadChildren(e,r).pipe(he(o=>{r._loadedRoutes=o.routes,r._loadedInjector=o.injector})):Y_(r))):I({routes:[],injector:e})}};function oA(t){t.sort((e,r)=>e.value.outlet===k?-1:r.value.outlet===k?1:e.value.outlet.localeCompare(r.value.outlet))}function sA(t){let e=t.value.routeConfig;return e&&e.path===""}function Rw(t){let e=[],r=new Set;for(let n of t){if(!sA(n)){e.push(n);continue}let i=e.find(o=>n.value.routeConfig===o.value.routeConfig);i!==void 0?(i.children.push(...n.children),r.add(i)):e.push(n)}for(let n of r){let i=Rw(n.children);e.push(new ze(n.value,i))}return e.filter(n=>!r.has(n))}function iw(t){return t.data||{}}function ow(t){return t.resolve||{}}function aA(t,e,r,n,i,o){return se(s=>rA(t,e,r,n,s.extractedUrl,i,o).pipe(T(({state:a,tree:c})=>V(m({},s),{targetSnapshot:a,urlAfterRedirects:c}))))}function cA(t,e){return se(r=>{let{targetSnapshot:n,guards:{canActivateChecks:i}}=r;if(!i.length)return I(r);let o=new Set(i.map(c=>c.route)),s=new Set;for(let c of o)if(!s.has(c))for(let u of kw(c))s.add(u);let a=0;return J(s).pipe(Zt(c=>o.has(c)?uA(c,n,t,e):(c.data=fc(c,c.parent,t).resolve,I(void 0))),he(()=>a++),Qt(1),se(c=>a===s.size?I(r):xt))})}function kw(t){let e=t.children.map(r=>kw(r)).flat();return[t,...e]}function uA(t,e,r,n){let i=t.routeConfig,o=t._resolve;return i?.title!==void 0&&!Sw(i)&&(o[wo]=i.title),lA(o,t,e,n).pipe(T(s=>(t._resolvedData=s,t.data=fc(t,t.parent,r).resolve,null)))}function lA(t,e,r,n){let i=ih(t);if(i.length===0)return I({});let o={};return J(i).pipe(se(s=>dA(t[s],e,r,n).pipe(Ke(),he(a=>{if(a instanceof yo)throw pc(new ci,a);o[s]=a}))),Qt(1),Di(o),$n(s=>Nw(s)?xt:vn(s)))}function dA(t,e,r,n){let i=Eo(e)??n,o=fi(t,i),s=o.resolve?o.resolve(e,r):Je(i,()=>o(e,r));return Fn(s)}function nh(t){return me(e=>{let r=t(e);return r?J(r).pipe(T(()=>e)):I(e)})}var Ow=(()=>{let e=class e{buildTitle(n){let i,o=n.root;for(;o!==void 0;)i=this.getResolvedTitleForRoute(o)??i,o=o.children.find(s=>s.outlet===k);return i}getResolvedTitleForRoute(n){return n.data[wo]}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=b({token:e,factory:()=>g(fA),providedIn:"root"});let t=e;return t})(),fA=(()=>{let e=class e extends Ow{constructor(n){super(),this.title=n}updateTitle(n){let i=this.buildTitle(n);i!==void 0&&this.title.setTitle(i)}};e.\u0275fac=function(i){return new(i||e)(y(Ja))},e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),So=new D("",{providedIn:"root",factory:()=>({})}),hA=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=ji({type:e,selectors:[["ng-component"]],standalone:!0,features:[Zi],decls:1,vars:0,template:function(i,o){i&1&&rf(0,"router-outlet")},dependencies:[D_],encapsulation:2});let t=e;return t})();function _h(t){let e=t.children&&t.children.map(_h),r=e?V(m({},t),{children:e}):m({},t);return!r.component&&!r.loadComponent&&(e||r.loadChildren)&&r.outlet&&r.outlet!==k&&(r.component=hA),r}var mc=new D(""),Ah=(()=>{let e=class e{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=g(Aa)}loadComponent(n){if(this.componentLoaders.get(n))return this.componentLoaders.get(n);if(n._loadedComponent)return I(n._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(n);let i=Fn(n.loadComponent()).pipe(T(Pw),he(s=>{this.onLoadEndListener&&this.onLoadEndListener(n),n._loadedComponent=s}),Vn(()=>{this.componentLoaders.delete(n)})),o=new jn(i,()=>new te).pipe(vr());return this.componentLoaders.set(n,o),o}
9loadChildren(n,i){if(this.childrenLoaders.get(i))return this.childrenLoaders.get(i);if(i._loadedRoutes)return I({routes:i._loadedRoutes,injector:i._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(i);let s=pA(i,this.compiler,n,this.onLoadEndListener).pipe(Vn(()=>{this.childrenLoaders.delete(i)})),a=new jn(s,()=>new te).pipe(vr());return this.childrenLoaders.set(i,a),a}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function pA(t,e,r,n){return Fn(t.loadChildren()).pipe(T(Pw),se(i=>i instanceof ki||Array.isArray(i)?I(i):J(e.compileModuleAsync(i))),T(i=>{n&&n(t);let o,s,a=!1;return Array.isArray(i)?(s=i,a=!0):(o=i.create(r).injector,s=o.get(mc,[],{optional:!0,self:!0}).flat()),{routes:s.map(_h),injector:o}}))}function gA(t){return t&&typeof t=="object"&&"default"in t}function Pw(t){return gA(t)?t.default:t}var Rh=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=b({token:e,factory:()=>g(mA),providedIn:"root"});let t=e;return t})(),mA=(()=>{let e=class e{shouldProcessUrl(n){return!0}extract(n){return n}merge(n,i){return n}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Fw=new D(""),Lw=new D("");function yA(t,e,r){let n=t.get(Lw),i=t.get(G);return t.get(U).runOutsideAngular(()=>{if(!i.startViewTransition||n.skipNextTransition)return n.skipNextTransition=!1,new Promise(u=>setTimeout(u));let o,s=new Promise(u=>{o=u}),a=i.startViewTransition(()=>(o(),vA(t))),{onViewTransitionCreated:c}=n;return c&&Je(t,()=>c({transition:a,from:e,to:r})),s})}function vA(t){return new Promise(e=>{Jd({read:()=>setTimeout(e)},{injector:t})})}var bA=new D(""),kh=(()=>{let e=class e{get hasRequestedNavigation(){return this.navigationId!==0}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new te,this.transitionAbortSubject=new te,this.configLoader=g(Ah),this.environmentInjector=g(Se),this.urlSerializer=g(Do),this.rootContexts=g(Io),this.location=g(Jr),this.inputBindingEnabled=g(vc,{optional:!0})!==null,this.titleStrategy=g(Ow),this.options=g(So,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=g(Rh),this.createViewTransition=g(Fw,{optional:!0}),this.navigationErrorHandler=g(bA,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>I(void 0),this.rootComponentType=null;let n=o=>this.events.next(new fh(o)),i=o=>this.events.next(new hh(o));this.configLoader.onLoadEndListener=i,this.configLoader.onLoadStartListener=n}complete(){this.transitions?.complete()}handleNavigationRequest(n){let i=++this.navigationId;this.transitions?.next(V(m(m({},this.transitions.value),n),{id:i}))}setupNavigations(n,i,o){return this.transitions=new de({id:0,currentUrlTree:i,currentRawUrl:i,extractedUrl:this.urlHandlingStrategy.extract(i),urlAfterRedirects:this.urlHandlingStrategy.extract(i),rawUrl:i,extras:{},resolve:()=>{},reject:()=>{},promise:Promise.resolve(!0),source:lo,restoredState:null,currentSnapshot:o.snapshot,targetSnapshot:null,currentRouterState:o,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(fe(s=>s.id!==0),T(s=>V(m({},s),{extractedUrl:this.urlHandlingStrategy.extract(s.rawUrl)})),me(s=>{let a=!1,c=!1;return I(s).pipe(me(u=>{if(this.navigationId>s.id)return this.cancelNavigationTransition(s,"",qe.SupersededByNewNavigation),xt;this.currentTransition=s,this.currentNavigation={id:u.id,initialUrl:u.rawUrl,extractedUrl:u.extractedUrl,targetBrowserUrl:typeof u.extras.browserUrl=="string"?this.urlSerializer.parse(u.extras.browserUrl):u.extras.browserUrl,trigger:u.source,extras:u.extras,previousNavigation:this.lastSuccessfulNavigation?V(m({},this.lastSuccessfulNavigation),{previousNavigation:null}):null};let l=!n.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),d=u.extras.onSameUrlNavigation??n.onSameUrlNavigation;if(!l&&d!=="reload"){let f="";return this.events.next(new Pn(u.id,this.urlSerializer.serialize(u.rawUrl),f,ac.IgnoredSameUrlNavigation)),u.resolve(!1),xt}if(this.urlHandlingStrategy.shouldProcessUrl(u.rawUrl))return I(u).pipe(me(f=>{let h=this.transitions?.getValue();return this.events.next(new ui(f.id,this.urlSerializer.serialize(f.extractedUrl),f.source,f.restoredState)),h!==this.transitions?.getValue()?xt:Promise.resolve(f)}),aA(this.environmentInjector,this.configLoader,this.rootComponentType,n.config,this.urlSerializer,this.paramsInheritanceStrategy),he(f=>{s.targetSnapshot=f.targetSnapshot,s.urlAfterRedirects=f.urlAfterRedirects,this.currentNavigation=V(m({},this.currentNavigation),{finalUrl:f.urlAfterRedirects});let h=new cc(f.id,this.urlSerializer.serialize(f.extractedUrl),this.urlSerializer.serialize(f.urlAfterRedirects),f.targetSnapshot);this.events.next(h)}));if(l&&this.urlHandlingStrategy.shouldProcessUrl(u.currentRawUrl)){let{id:f,extractedUrl:h,source:p,restoredState:v,extras:w}=u,C=new ui(f,this.urlSerializer.serialize(h),p,v);this.events.next(C);let L=Iw(this.rootComponentType).snapshot;return this.currentTransition=s=V(m({},u),{targetSnapshot:L,urlAfterRedirects:h,extras:V(m({},w),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=h,I(s)}else{let f="";return this.events.next(new Pn(u.id,this.urlSerializer.serialize(u.extractedUrl),f,ac.IgnoredByUrlHandlingStrategy)),u.resolve(!1),xt}}),he(u=>{let l=new ch(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot);this.events.next(l)}
9),T(u=>(this.currentTransition=s=V(m({},u),{guards:x_(u.targetSnapshot,u.currentSnapshot,this.rootContexts)}),s)),j_(this.environmentInjector,u=>this.events.next(u)),he(u=>{if(s.guardsResult=u.guardsResult,u.guardsResult&&typeof u.guardsResult!="boolean")throw pc(this.urlSerializer,u.guardsResult);let l=new uh(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot,!!u.guardsResult);this.events.next(l)}),fe(u=>u.guardsResult?!0:(this.cancelNavigationTransition(u,"",qe.GuardRejected),!1)),nh(u=>{if(u.guards.canActivateChecks.length)return I(u).pipe(he(l=>{let d=new lh(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(d)}),me(l=>{let d=!1;return I(l).pipe(cA(this.paramsInheritanceStrategy,this.environmentInjector),he({next:()=>d=!0,complete:()=>{d||this.cancelNavigationTransition(l,"",qe.NoDataFromResolver)}}))}),he(l=>{let d=new dh(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(d)}))}),nh(u=>{let l=d=>{let f=[];d.routeConfig?.loadComponent&&!d.routeConfig._loadedComponent&&f.push(this.configLoader.loadComponent(d.routeConfig).pipe(he(h=>{d.component=h}),T(()=>{})));for(let h of d.children)f.push(...l(h));return f};return bi(l(u.targetSnapshot.root)).pipe(At(null),Yt(1))}),nh(()=>this.afterPreactivation()),me(()=>{let{currentSnapshot:u,targetSnapshot:l}=s,d=this.createViewTransition?.(this.environmentInjector,u.root,l.root);return d?J(d).pipe(T(()=>s)):I(s)}),T(u=>{let l=E_(n.routeReuseStrategy,u.targetSnapshot,u.currentRouterState);return this.currentTransition=s=V(m({},u),{targetRouterState:l}),this.currentNavigation.targetRouterState=l,s}),he(()=>{this.events.next(new go)}),T_(this.rootContexts,n.routeReuseStrategy,u=>this.events.next(u),this.inputBindingEnabled),Yt(1),he({next:u=>{a=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new xe(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects))),this.titleStrategy?.updateTitle(u.targetRouterState.snapshot),u.resolve(!0)},complete:()=>{a=!0}}),Ei(this.transitionAbortSubject.pipe(he(u=>{throw u}))),Vn(()=>{!a&&!c&&this.cancelNavigationTransition(s,"",qe.SupersededByNewNavigation),this.currentTransition?.id===s.id&&(this.currentNavigation=null,this.currentTransition=null)}),$n(u=>{if(c=!0,Mw(u))this.events.next(new pn(s.id,this.urlSerializer.serialize(s.extractedUrl),u.message,u.cancellationCode)),S_(u)?this.events.next(new li(u.url,u.navigationBehaviorOptions)):s.resolve(!1);else{let l=new po(s.id,this.urlSerializer.serialize(s.extractedUrl),u,s.targetSnapshot??void 0);try{let d=Je(this.environmentInjector,()=>this.navigationErrorHandler?.(l));if(d instanceof yo){let{message:f,cancellationCode:h}=pc(this.urlSerializer,d);this.events.next(new pn(s.id,this.urlSerializer.serialize(s.extractedUrl),f,h)),this.events.next(new li(d.redirectTo,d.navigationBehaviorOptions))}else{this.events.next(l);let f=n.errorHandler(u);s.resolve(!!f)}}catch(d){this.options.resolveNavigationPromiseOnError?s.resolve(!1):s.reject(d)}}return xt}))}))}cancelNavigationTransition(n,i,o){let s=new pn(n.id,this.urlSerializer.serialize(n.extractedUrl),i,o);this.events.next(s),n.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){let n=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),i=this.currentNavigation?.targetBrowserUrl??this.currentNavigation?.extractedUrl;return n.toString()!==i?.toString()&&!this.currentNavigation?.extras.skipLocationChange}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function wA(t){return t!==lo}var DA=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=b({token:e,factory:()=>g(EA),providedIn:"root"});let t=e;return t})(),Mh=class{shouldDetach(e){return!1}store(e,r){}shouldAttach(e){return!1}retrieve(e){return null}shouldReuseRoute(e,r){return e.routeConfig===r.routeConfig}},EA=(()=>{let e=class e extends Mh{};e.\u0275fac=(()=>{let n;return function(o){return(n||(n=Ed(e)))(o||e)}})(),e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),jw=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=b({token:e,factory:()=>g(IA),providedIn:"root"});let t=e;return t})(),IA=(()=>{let e=class e extends jw{constructor(){super(...arguments),this.location=g(Jr),this.urlSerializer
9=g(Do),this.options=g(So,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=g(Rh),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new gn,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=Iw(null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(n){return this.location.subscribe(i=>{i.type==="popstate"&&n(i.url,i.state)})}handleRouterEvent(n,i){if(n instanceof ui)this.stateMemento=this.createStateMemento();else if(n instanceof Pn)this.rawUrlTree=i.initialUrl;else if(n instanceof cc){if(this.urlUpdateStrategy==="eager"&&!i.extras.skipLocationChange){let o=this.urlHandlingStrategy.merge(i.finalUrl,i.initialUrl);this.setBrowserUrl(i.targetBrowserUrl??o,i)}}else n instanceof go?(this.currentUrlTree=i.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(i.finalUrl,i.initialUrl),this.routerState=i.targetRouterState,this.urlUpdateStrategy==="deferred"&&!i.extras.skipLocationChange&&this.setBrowserUrl(i.targetBrowserUrl??this.rawUrlTree,i)):n instanceof pn&&(n.code===qe.GuardRejected||n.code===qe.NoDataFromResolver)?this.restoreHistory(i):n instanceof po?this.restoreHistory(i,!0):n instanceof xe&&(this.lastSuccessfulId=n.id,this.currentPageId=this.browserPageId)}setBrowserUrl(n,i){let o=n instanceof gn?this.urlSerializer.serialize(n):n;if(this.location.isCurrentPathEqualTo(o)||i.extras.replaceUrl){let s=this.browserPageId,a=m(m({},i.extras.state),this.generateNgRouterState(i.id,s));this.location.replaceState(o,"",a)}else{let s=m(m({},i.extras.state),this.generateNgRouterState(i.id,this.browserPageId+1));this.location.go(o,"",s)}}restoreHistory(n,i=!1){if(this.canceledNavigationResolution==="computed"){let o=this.browserPageId,s=this.currentPageId-o;s!==0?this.location.historyGo(s):this.currentUrlTree===n.finalUrl&&s===0&&(this.resetState(n),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(i&&this.resetState(n),this.resetUrlToCurrentUrlTree())}resetState(n){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(n,i){return this.canceledNavigationResolution==="computed"?{navigationId:n,\u0275routerPageId:i}:{navigationId:n}}};e.\u0275fac=(()=>{let n;return function(o){return(n||(n=Ed(e)))(o||e)}})(),e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),co=function(t){return t[t.COMPLETE=0]="COMPLETE",t[t.FAILED=1]="FAILED",t[t.REDIRECTING=2]="REDIRECTING",t}(co||{});function $w(t,e){t.events.pipe(fe(r=>r instanceof xe||r instanceof pn||r instanceof po||r instanceof Pn),T(r=>r instanceof xe||r instanceof Pn?co.COMPLETE:(r instanceof pn?r.code===qe.Redirect||r.code===qe.SupersededByNewNavigation:!1)?co.REDIRECTING:co.FAILED),fe(r=>r!==co.REDIRECTING),Yt(1)).subscribe(()=>{e()})}function CA(t){throw t}var SA={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},TA={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},Ge=(()=>{let e=class e{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){this.disposed=!1,this.console=g(Yr),this.stateManager=g(jw),this.options=g(So,{optional:!0})||{},this.pendingTasks=g(rn),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=g(kh),this.urlSerializer
9=g(Do),this.location=g(Jr),this.urlHandlingStrategy=g(Rh),this._events=new te,this.errorHandler=this.options.errorHandler||CA,this.navigated=!1,this.routeReuseStrategy=g(DA),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=g(mc,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!g(vc,{optional:!0}),this.eventsSubscription=new P,this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:n=>{this.console.warn(n)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){let n=this.navigationTransitions.events.subscribe(i=>{try{let o=this.navigationTransitions.currentTransition,s=this.navigationTransitions.currentNavigation;if(o!==null&&s!==null){if(this.stateManager.handleRouterEvent(i,s),i instanceof pn&&i.code!==qe.Redirect&&i.code!==qe.SupersededByNewNavigation)this.navigated=!0;else if(i instanceof xe)this.navigated=!0;else if(i instanceof li){let a=i.navigationBehaviorOptions,c=this.urlHandlingStrategy.merge(i.url,o.currentRawUrl),u=m({browserUrl:o.extras.browserUrl,info:o.extras.info,skipLocationChange:o.extras.skipLocationChange,replaceUrl:o.extras.replaceUrl||this.urlUpdateStrategy==="eager"||wA(o.source)},a);this.scheduleNavigation(c,lo,null,u,{resolve:o.resolve,reject:o.reject,promise:o.promise})}}MA(i)&&this._events.next(i)}catch(o){this.navigationTransitions.transitionAbortSubject.next(o)}});this.eventsSubscription.add(n)}resetRootComponentType(n){this.routerState.root.component=n,this.navigationTransitions.rootComponentType=n}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),lo,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((n,i)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(n,"popstate",i)},0)})}navigateToSyncWithBrowser(n,i,o){let s={replaceUrl:!0},a=o?.navigationId?o:null;if(o){let u=m({},o);delete u.navigationId,delete u.\u0275routerPageId,Object.keys(u).length!==0&&(s.state=u)}let c=this.parseUrl(n);this.scheduleNavigation(c,i,a,s)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(n){this.config=n.map(_h),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(n,i={}){let{relativeTo:o,queryParams:s,fragment:a,queryParamsHandling:c,preserveFragment:u}=i,l=u?this.currentUrlTree.fragment:a,d=null;switch(c??this.options.defaultQueryParamsHandling){case"merge":d=m(m({},this.currentUrlTree.queryParams),s);break;case"preserve":d=this.currentUrlTree.queryParams;break;default:d=s||null}d!==null&&(d=this.removeEmptyProps(d));let f;try{let h=o?o.snapshot:this.routerState.snapshot.root;f=bw(h)}catch{(typeof n[0]!="string"||n[0][0]!=="/")&&(n=[]),f=this.currentUrlTree.root}return ww(f,n,d,l??null)}navigateByUrl(n,i={skipLocationChange:!1}){let o=cr(n)?n:this.parseUrl(n),s=this.urlHandlingStrategy.merge(o,this.rawUrlTree);return this.scheduleNavigation(s,lo,null,i)}navigate(n,i={skipLocationChange:!1}){return xA(n),this.navigateByUrl(this.createUrlTree(n,i),i)}serializeUrl(n){return this.urlSerializer.serialize(n)}parseUrl(n){try{return this.urlSerializer.parse(n)}catch{return this.urlSerializer.parse("/")}}isActive(n,i){let o;if(i===!0?o=m({},SA):i===!1?o=m({},TA):o=i,cr(n))return Xb(this.currentUrlTree,n,o);let s=this.parseUrl(n);return Xb(this.currentUrlTree,s,o)}removeEmptyProps(n){return Object.entries(n).reduce((i,[o,s])=>(s!=null&&(i[o]=s),i),{})}scheduleNavigation(n,i,o,s,a){if(this.disposed)return Promise.resolve(!1);let c,u,l;a?(c=a.resolve,u=a.reject,l=a.promise):l=new Promise((f,h)=>{c=f,u=h});let d=this.pendingTasks.add();return $w(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(d))}),this.navigationTransitions.handleNavigationRequest({source:i,restoredState:o,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:n,extras:s,resolve:c,reject:u,promise:l,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),l.catch(f=>Promise.reject(f))}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function xA(t){for(let e=0;e<t.length;e++)if(t[e]==null)throw new E(4008,!1)}function MA(t){return!(t instanceof go)&&!(t instanceof li)}var sw=(()=>{let e=class e{constructor(n,i,o,s,a,c){this.router=n,this.route=i,this.tabIndexAttribute=o,this.renderer=s,this.el=a,this.locationStrategy=c,this.href=null,this.onChanges=new te,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1,this.routerLinkInput=null;let u=a.nativeElement.tagName?.toLowerCase();this.isAnchorElement=u==="a"||u==="area",this.isAnchorElement?this.subscription=n.events.subscribe(l=>{l instanceof xe&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(n){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue("tabindex",n)}ngOnChanges(n){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(n){n==null?(this.routerLinkInput=null,this.setTabIndexIfNotOnNativeEl(null)):(cr(n)?this.routerLinkInput=n:this.routerLinkInput=Array.isArray(n)?n:[n],this.setTabIndexIfNotOnNativeEl("0"))}onClick(n,i,o,s,a){let c=this.urlTree;if(c===null||this.isAnchorElement&&(n!==0||i||o||s||a||typeof this.target=="string"&&this.target!="_self"))return!0;let u={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info};return this.router.navigateByUrl(c,u),!this.isAnchorElement}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){let n=this.urlTree;this.href=n!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(n)):null;let i=this.href===null?null:hy(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",i)}applyAttributeValue(n,i){let o=this.renderer,s=this.el.nativeElement;i!==null?o.setAttribute(s,n,i):o.removeAttribute(s,n)}get urlTree(){return this.routerLinkInput===null?null:cr(this.routerLinkInput)?this.routerLinkInput:this.router.createUrlTree(this.routerLinkInput,{relativeTo:this.relativeTo!==void 0?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}};e.\u0275fac=function(i){return new(i||e)(R(Ge),R(Et),Id("tabindex"),R(_n),R(Oe),R(hn))},e.\u0275dir=Le({type:e,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(i,o){i&1&&Wi("click",function(a){return o.onClick(a.button,a.ctrlKey,a.shiftKey,a.altKey,a.metaKey)}),i&2&&ef("target",o.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",cn],skipLocationChange:[2,"skipLocationChange","skipLocationChange",cn],replaceUrl:[2,"replaceUrl","replaceUrl",cn],routerLink:"routerLink"},standalone:!0,features:[Ea,tn]});let t=e;return t})(),mV=(()=>{let e=class e{get isActive(){return this._isActive}constructor(n,i,o,s,a){this.router=n,this.element=i,this.renderer=o,this.cdr=s,this.link=a,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new ae,this.routerEventsSubscription=n.events.subscribe(c=>{c instanceof xe&&this.update()})}ngAfterContentInit(){I(this.links.changes,I(null)).pipe(_t()).subscribe(n=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();let n=[...this.links.toArray(),this.link].filter(i=>!!i).map(i=>i.onChanges);this.linkInputChangesSubscription=J(n).pipe(_t()).subscribe(i=>{this._isActive!==this.isLinkActive(this.router)(i)&&this.update()})}set routerLinkActive(n){let i=Array.isArray(n)?n:n.split(" ");this.classes=i.filter(o=>!!o)}ngOnChanges(n){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{let n=this.hasActiveLinks();
9this.classes.forEach(i=>{n?this.renderer.addClass(this.element.nativeElement,i):this.renderer.removeClass(this.element.nativeElement,i)}),n&&this.ariaCurrentWhenActive!==void 0?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this._isActive!==n&&(this._isActive=n,this.cdr.markForCheck(),this.isActiveChange.emit(n))})}isLinkActive(n){let i=NA(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return o=>{let s=o.urlTree;return s?n.isActive(s,i):!1}}hasActiveLinks(){let n=this.isLinkActive(this.router);return this.link&&n(this.link)||this.links.some(n)}};e.\u0275fac=function(i){return new(i||e)(R(Ge),R(Oe),R(_n),R(an),R(sw,8))},e.\u0275dir=Le({type:e,selectors:[["","routerLinkActive",""]],contentQueries:function(i,o,s){if(i&1&&Ov(s,sw,5),i&2){let a;Pv(a=Fv())&&(o.links=a)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[tn]});let t=e;return t})();function NA(t){return!!t.paths}var yc=class{};var _A=(()=>{let e=class e{constructor(n,i,o,s,a){this.router=n,this.injector=o,this.preloadingStrategy=s,this.loader=a}setUpPreloading(){this.subscription=this.router.events.pipe(fe(n=>n instanceof xe),Zt(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(n,i){let o=[];for(let s of i){s.providers&&!s._injector&&(s._injector=Ia(s.providers,n,`Route: ${s.path}`));let a=s._injector??n,c=s._loadedInjector??a;(s.loadChildren&&!s._loadedRoutes&&s.canLoad===void 0||s.loadComponent&&!s._loadedComponent)&&o.push(this.preloadConfig(a,s)),(s.children||s._loadedRoutes)&&o.push(this.processRoutes(c,s.children??s._loadedRoutes))}return J(o).pipe(_t())}preloadConfig(n,i){return this.preloadingStrategy.preload(i,()=>{let o;i.loadChildren&&i.canLoad===void 0?o=this.loader.loadChildren(n,i):o=I(null);let s=o.pipe(se(a=>a===null?I(void 0):(i._loadedRoutes=a.routes,i._loadedInjector=a.injector,this.processRoutes(a.injector??n,a.routes))));if(i.loadComponent&&!i._loadedComponent){let a=this.loader.loadComponent(i);return J([s,a]).pipe(_t())}else return s})}};e.\u0275fac=function(i){return new(i||e)(y(Ge),y(Aa),y(Se),y(yc),y(Ah))},e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Vw=new D(""),AA=(()=>{let e=class e{constructor(n,i,o,s,a={}){this.urlSerializer=n,this.transitions=i,this.viewportScroller=o,this.zone=s,this.options=a,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},a.scrollPositionRestoration||="disabled",a.anchorScrolling||="disabled"}init(){this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(n=>{n instanceof ui?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=n.navigationTrigger,this.restoredId=n.restoredState?n.restoredState.navigationId:0):n instanceof xe?(this.lastId=n.id,this.scheduleScrollEvent(n,this.urlSerializer.parse(n.urlAfterRedirects).fragment)):n instanceof Pn&&n.code===ac.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(n,this.urlSerializer.parse(n.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(n=>{n instanceof uc&&(n.position?this.options.scrollPositionRestoration==="top"?this.viewportScroller.scrollToPosition([0,0]):this.options.scrollPositionRestoration==="enabled"&&this.viewportScroller.scrollToPosition(n.position):n.anchor&&this.options.anchorScrolling==="enabled"?this.viewportScroller.scrollToAnchor(n.anchor):this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(n,i){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new uc(n,this.lastSource==="popstate"?this.store[this.restoredId]:null,i))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}};e.\u0275fac=function(i){Ay()},e.\u0275prov=b({token:e,factory:e.\u0275fac});let t=e;return t})();function RA(t){return t.routerState.root}function To(t,e){return{\u0275kind:t,\u0275providers:e}}function kA(){let t=g(De);return e=>{let r=t.get(vt);if(e!==r.components[0])return;let n=t.get(Ge),i=t.get(Uw);t.get(Oh)===1&&n.initialNavigation(),t.get(Bw,null,F.Optional)?.setUpPreloading(),t.get(Vw,null,F.Optional)?.init(),n.resetRootComponentType(r.componentTypes[0]),i.closed||(i.next(),i.complete(),i.unsubscribe())}}var Uw=new D("",{factory:()=>new te}),Oh=new D("",{providedIn:"root",factory:()=>1});function OA(){return To(2,[{provide:Oh,useValue:0},{provide:Na,multi:!0,deps:[De],useFactory:e=>{let r=e.get(lb,Promise.resolve());return()=>r.then(()=>new Promise(n=>{let i=e.get(Ge),o=e.get(Uw);$w(i,()=>{n(!0)}),e.get(kh).afterPreactivation=()=>(n(!0),o.closed?I(void 0):o),i.initialNavigation()}))}}])}function PA(){return To(3,[{provide:Na,multi:!0,useFactory:()=>{let e=g(Ge);return()=>{e.setUpLocationChangeListener()}}},{provide:Oh,useValue:2}])}var Bw=new D("");function FA(t){return To(0,[{provide:Bw,useExisting:_A},{provide:yc,useExisting:t}])}function LA(){return To(8,[nw,{provide:vc,useExisting:nw}])}function jA(t){let e=[{provide:Fw,useValue:yA},{provide:Lw,useValue:m({skipNextTransition:!!t?.skipInitialTransition},t)}];return To(9,e)}var aw=new D("ROUTER_FORROOT_GUARD"),$A=[Jr,{provide:Do,useClass:ci},Ge,Io,{provide:Et,useFactory:RA,deps:[Ge]},Ah,[]],yV=(()=>{let e=class e{constructor(n){}static forRoot(n,i){return{ngModule:e,providers:[$A,[],{provide:mc,multi:!0,useValue:n},{provide:aw,useFactory:HA,deps:[[Ge,new Hr,new Xs]]},{provide:So,useValue:i||{}},i?.useHash?UA():BA(),VA(),i?.preloadingStrategy?FA(i.preloadingStrategy).\u0275providers:[],i?.initialNavigation?zA(i):[],i?.bindToComponentInputs?LA().\u0275providers:[],i?.enableViewTransitions?jA().\u0275providers:[],qA()]}}static forChild(n){return{ngModule:e,providers:[{provide:mc,multi:!0,useValue:n}]}}};e.\u0275fac=function(i){return new(i||e)(y(aw,8))},e.\u0275mod=yt({type:e}),e.\u0275inj=mt({});let t=e;return t})();function VA(){return{provide:Vw,useFactory:()=>{let t=g(bb),e=g(U),r=g(So),n=g(kh),i=g(Do);return r.scrollOffset&&t.setOffset(r.scrollOffset),new AA(i,n,t,e,r)}}}function UA(){return{provide:hn,useClass:fb}}function BA(){return{provide:hn,useClass:Rf}}function HA(t){return"guarded"}function zA(t){return[t.initialNavigation==="disabled"?PA().\u0275providers:[],t.initialNavigation==="enabledBlocking"?OA().\u0275providers:[]]}var cw=new D("");function qA(){return[{provide:cw,useFactory:kA},{provide:Kr,multi:!0,useExisting:cw}]}var Ph={compare:{"en-us":"compare","pt-br":"comparativo","es-es":"comparativo"},alternatives:{"en-us":"alternatives","pt-br":"alternativas","es-es":"alternativas"},complement:{"en-us":"time-tracking-for","pt-br":"controle-de-horas-para","es-es":"controle-de-horas-para"}},wV=[10,20,50];function DV(t){return t==="alternatives"?"alternatives":t==="complement"?"complement":"compare"}function Fh(t){for(let[e,r]of Object.entries(Ph))if(Object.values(r).includes(t))return e;return null}function Lh(t,e){return Ph[t][e]??Ph[t][ee]}function EV(t,e,r){let n=Lh(t,e),i=e===ee?["/",n]:["/",e,n];return r?[...i,r]:i}function IV(t){let e=(t??"").replace(/^\/+/,"").split("/").filter(
9Boolean);if(e.length<2)return null;let r=Fh(e[0]);return r?{hub:r,slug:e[1]}:null}var zw={articles:{"tutorial-como-comecar-com-o-rabbiit":{"pt-br":"tutorial-como-comecar-com-o-rabbiit","en-us":"6-steps-to-get-started-with-rabbiit","es-es":"6-pasos-para-empezar-con-rabbiit"},"como-acessar-minha-conta":{"pt-br":"como-acessar-minha-conta","en-us":"how-to-access-my-account","es-es":"como-acceder-a-mi-cuenta"},"como-criar-uma-nova-conta":{"pt-br":"como-criar-uma-nova-conta","en-us":"how-to-create-a-new-account","es-es":"como-crear-una-cuenta-nueva"},"recuperar-e-alterar-minha-senha":{"pt-br":"recuperar-e-alterar-minha-senha","en-us":"recover-and-change-my-password","es-es":"recuperar-y-cambiar-mi-contrasena"},"atualizar-metodo-de-pagamento-via-cartao-de-credito":{"pt-br":"atualizar-metodo-de-pagamento-via-cartao-de-credito","en-us":"update-payment-method","es-es":"actualizar-el-metodo-de-pago"},"cancelar-plano-pago-downgrade-da-assinatura":{"pt-br":"cancelar-plano-pago-downgrade-da-assinatura","en-us":"cancel-a-paid-plan-downgrade","es-es":"cancelar-un-plan-de-pago-downgrade"},"contratar-plano-pago-upgrade-da-assinatura":{"pt-br":"contratar-plano-pago-upgrade-da-assinatura","en-us":"subscribe-to-a-paid-plan-upgrade","es-es":"contratar-un-plan-de-pago-upgrade"},"definir-e-gerenciar-horas-com-status-faturado":{"pt-br":"definir-e-gerenciar-horas-com-status-faturado","en-us":"set-and-manage-billed-hours","es-es":"definir-y-gestionar-horas-facturadas"},"permissoes-de-usuarios":{"pt-br":"permissoes-de-usuarios","en-us":"user-permissions","es-es":"permisos-de-usuarios"},"criar-e-gerenciar-equipes":{"pt-br":"criar-e-gerenciar-equipes","en-us":"create-and-manage-teams","es-es":"crear-y-gestionar-equipos"},"como-adicionar-usuarios":{"pt-br":"como-adicionar-usuarios","en-us":"how-to-add-users","es-es":"como-anadir-usuarios"},"como-criar-e-editar-registros-de-horas-de-outras-pessoas":{"pt-br":"como-criar-e-editar-registros-de-horas-de-outras-pessoas","en-us":"how-to-create-and-edit-other-people-s-time-entries","es-es":"como-crear-y-editar-registros-de-horas-de-otras-personas"},"por-que-nao-consigo-editar-um-registro-de-horas":{"pt-br":"por-que-nao-consigo-editar-um-registro-de-horas","en-us":"why-can-t-i-edit-a-time-entry","es-es":"por-que-no-puedo-editar-un-registro-de-horas"},"como-apontar-horas-manual-ou-cronometro":{"pt-br":"como-apontar-horas-manual-ou-cronometro","en-us":"how-to-log-hours-manual-or-timer","es-es":"como-registrar-horas-manual-o-cronometro"},"bloqueio-de-datas-para-lancamento-de-horas":{"pt-br":"bloqueio-de-datas-para-lancamento-de-horas","en-us":"date-lock-for-time-entries","es-es":"bloqueo-de-fechas-para-el-registro-de-horas"},"definir-horas-como-cobraveis-e-valores-por-hora":{"pt-br":"definir-horas-como-cobraveis-e-valores-por-hora","en-us":"set-billable-hours-and-hourly-rate","es-es":"definir-horas-facturables-y-tarifa-por-hora"},"entenda-a-pagina-inicial":{"pt-br":"entenda-a-pagina-inicial","en-us":"understand-the-home-page","es-es":"entender-la-pagina-de-inicio"},"como-arquivar-reativar-e-excluir-um-usuario":{"pt-br":"como-arquivar-reativar-e-excluir-um-usuario","en-us":"how-to-archive-reactivate-and-delete-a-u
9ser","es-es":"como-archivar-reactivar-y-eliminar-un-usuario"},"devo-arquivar-ou-excluir-um-usuario":{"pt-br":"devo-arquivar-ou-excluir-um-usuario","en-us":"should-i-archive-or-delete-a-user","es-es":"debo-archivar-o-eliminar-un-usuario"},"modificar-quantidade-de-licencas-de-usuarios":{"pt-br":"modificar-quantidade-de-licencas-de-usuarios","en-us":"change-the-number-of-user-licenses","es-es":"modificar-la-cantidad-de-licencias-de-usuarios"},"como-aprovar-horas-da-semana":{"pt-br":"como-aprovar-horas-da-semana","en-us":"how-to-approve-submitted-hours","es-es":"como-aprobar-horas-enviadas"},"como-configurar-lembretes-de-timesheet":{"pt-br":"como-configurar-lembretes-de-timesheet","en-us":"how-to-set-up-time-entry-reminders","es-es":"como-configurar-recordatorios-de-registro-de-horas"},"timesheet-semana-e-dia":{"pt-br":"timesheet-semana-e-dia","en-us":"weekly-and-daily-timesheet","es-es":"timesheet-de-la-semana-y-del-dia"},"como-criar-subatividades":{"pt-br":"como-criar-subatividades","en-us":"how-to-create-subactivities","es-es":"como-crear-subactividades"},"anexos-e-comentarios-nas-atividades":{"pt-br":"anexos-e-comentarios-nas-atividades","en-us":"attachments-and-comments-on-activities","es-es":"adjuntos-y-comentarios-en-las-actividades"},"clicar-horas-nos-relatorios":{"pt-br":"clicar-horas-nos-relatorios","en-us":"click-hours-in-reports","es-es":"hacer-clic-en-las-horas-de-los-informes"},"feriados-e-ausencias":{"pt-br":"feriados-e-ausencias","en-us":"holidays-and-absences","es-es":"festivos-y-ausencias"},"diferenca-entre-atividades-e-tarefas":{"pt-br":"diferenca-entre-atividades-e-tarefas","en-us":"difference-between-activities-and-tasks","es-es":"diferencia-entre-actividades-y-tareas"},"estimativa-de-horas-nas-atividades":{"pt-br":"estimativa-de-horas-nas-atividades","en-us":"hour-estimates-on-activities","es-es":"estimacion-de-horas-en-las-actividades"},"permissoes-de-atividades-no-projeto":{"pt-br":"permissoes-de-atividades-no-projeto","en-us":"activity-permissions-on-the-project","es-es":"permisos-de-actividades-en-el-proyecto"},"como-enviar-horas-para-aprovacao":{"pt-br":"como-enviar-horas-para-aprovacao","en-us":"how-to-submit-hours-for-approval","es-es":"como-enviar-horas-para-aprobacion"},"visao-geral-para-membros":{"pt-br":"visao-geral-para-membros","en-us":"overview-for-members","es-es":"vision-general-para-miembros"},"o-que-o-membro-pode-e-nao-pode-fazer":{"pt-br":"o-que-o-membro-pode-e-nao-pode-fazer","en-us":"what-a-member-can-and-cannot-do","es-es":"que-puede-y-no-puede-hacer-un-miembro"},"a-semana-foi-recusada-o-que-fazer":{"pt-br":"a-semana-foi-recusada-o-que-fazer","en-us":"the-week-was-rejected-what-to-do","es-es":"la-semana-fue-rechazada-que-hacer"},"como-ver-so-as-minhas-horas-nos-relatorios":{"pt-br":"como-ver-so-as-minhas-horas-nos-relatorios","en-us":"how-to-see-only-my-hours-in-reports","es-es":"como-ver-solo-mis-horas-en-los-informes"},"como-participar-de-uma-atividade-sem-ser-gerente":{"pt-br":"como-participar-de-uma-atividade-sem-ser-gerente","en-us":"how-to-join-an-activity-without-being-a-manager","es-es":"como-participar-en-una-actividad-sin-ser-gerente"},"como-pagar-a-assinatura-via-boleto":{"pt-br":"como-pagar-a-assinatura-via-boleto","en-us":"how-to-pay-the-subscription-by-boleto","es-es":"como-pagar-la-suscripcion-con-boleto"},"como-acessar-as-faturas-da-assinatura":{"pt-br":"como-acessar-as-faturas-da-assinatura","en-us":"how-to-access-subscription-invoices","es-es":"como-acceder-a-las-facturas-de-la-suscripcion"},"emissao-de-nota-fiscal-da-assinatura":{"pt-br":"emissao-de-nota-fiscal-da-assinatura","en-us":"issuing-an-invoice-for-the-subscription","es-es":"emision-de-factura-de-la-suscripcion"},"relatorios-principais":{"pt-br":"relatorios-principais","en-us":"main-reports","es-es":"informes-principales"},"relatorio-detalhado":{"pt-br":"relatorio-detalhado","en-us":"detailed-report","es-es":"informe-detallado"},"relatorio-resumo-dinamico":{"pt-br":"relatorio-resumo-dinamico","en-us":"dynamic-summary-report","es-es":"informe-resumen-dinamico"},"exportar-relatorio-em-pdf":{"pt-br":"exportar-relatorio-em-pdf","en-us":"export-a-report-to-pdf","es-es":"exportar-un-informe-a-pdf"},"exportar-relatorio-em-excel-e-csv":{"pt-br":"exportar-relatorio-em-excel-e-csv","en-us":"export-a-report-to-excel-and-csv","es-es":"exportar-un-informe-a-excel-y-csv"},"dashboard-de-capacidade-de-pessoas":{"pt-br":"dashboard-de-capacidade-de-pessoas","en-us":"people-capacity-dashboard","es-es":"dashboard-de-capacidad-de-personas"},"definir-capacidade-do-usuario":{"pt-br":"definir-capacidade-do-usuario","en-us":"set-user-capacity","es-es":"definir-la-capacidad-del-usuario"},"definir-custo-homem-hora":{"pt-br":"definir-custo-homem-hora","en-us":"set-labor-cost-per-hour","es-es":"definir-el-costo-hombre-hora"},"como-atribuir-pessoas-aos-usuarios":{"pt-br":"como-atribuir-pessoas-aos-usuarios","en-us":"how-to-assign-people-to-users","es-es":"como-asignar-personas-a-los-usuarios"},"como-usar-webhooks":{"pt-br":"como-usar-webhooks","en-us":"how-to-use-webhooks","es-es":"como-usar-webhooks"},"como-usar-a-api-e-tokens-de-acesso":{"pt-br":"como-usar-a-api-e-tokens-de-acesso","en-us":"how-to-use-the-api-and-access-tokens","es-es":"como-usar-la-api-y-los-tokens-de-acceso"},"como-configurar-a-aprovacao-de-horas":{"pt-br":"como-configurar-a-aprovacao-de-horas","en-us":"how-to-set-up-hour-approvals","es-es":"como-configurar-la-aprobacion-de-horas"},"como-automatizar-apontamento-de-horas":{"pt-br":"como-automatizar-apontamento-de-horas","en-us":"how-to-automate-time-entries","es-es":"como-automatizar-el-registro-de-horas"},"como-criar-uma-atividade":{"pt-br":"como-criar-uma-atividade","en-us":"how-to-create-an-activity","es-es":"como-crear-una-actividad"},"configuracoes-gerais-da-conta":{"pt-br":"configuracoes-gerais-da-conta","en-us":"general-account-settings","es-es":"configuracion-general-de-la-cuenta"},"campos-personalizados":{"pt-br":"campos-personalizados","en-us":"custom-fields","es-es":"campos-personalizados"},"lista-de-atividades-de-todos-os-projetos":{"pt-br":"lista-de-atividades-de-todos-os-projetos","en-us":"activity-list-across-all-projects","es-es":"lista-de-actividades-de-todos-los-proyectos"},"diferenca-entre-o-rabbiit-e-o-controle-de-ponto":{"pt-br":"diferenca-entre-o-rabbiit-e-o-controle-de-ponto","en-us":"what-is-the-difference-between-rabbiit-and-a-time-clock","es-es":"cual-es-la-diferencia-entre-rabbiit-y-el-control-de-asistencia"},"como-definir-a-foto-de-perfil":{"pt-br":"como-definir-a-foto-de-perfil","en-us":"how-to-set-your-profile-photo","es-es":"como-definir-la-foto-de-perfil"},"como-usar-o-quadro-kanban":{"pt-br":"como-usar-o-quadro-kanban","en-us":"how-to-use-the-kanban-board","es-es":"como-usar-el-tablero-kanban"},"como-criar-um-projeto":{"pt-br":"como-criar-um-projeto","en-us":"how-to-create-a-project","es-es":"como-crear-un-proyecto"},"como-editar-um-projeto":{"pt-br":"como-editar-um-projeto","en-us":"how-to-edit-a-project","es-es":"como-editar-un-proyecto"},"como-adicionar-membros-ao-projeto":{"pt-br":"como-adicionar-membros-ao-projeto","en-us":"how-to-add-members-to-a-project","es-es":"como-anadir-miembros-al-proyecto"},"como-adicionar-tarefas-ao-projeto":{"pt-br":"como-adicionar-tarefas-ao-projeto","en-us":"how-to-add-tasks-to-a-project","es-es":"como-anadir-tareas-al-proyecto"},"projeto-publico-e-projeto-privado":{"pt-br":"projeto-publico-e-projeto-privado","en-us":"public-and-private-projects","es-es":"proyecto-publico-y-proyecto-privado"},"como-arquivar-reativar-e-excluir-um-projeto":{"pt-br":"como-arquivar-reativar-e-excluir-um-projeto","en-us":"how-to-archive-reactivate-and-delete-a-project","es-es":"como-archivar-reactivar-y-eliminar-un-proyecto"}},categories:{"comecando-com-o-rabbiit":{"pt-br":"comecando-com-o-rabbiit","en-us":"getting-started-with-rabbiit","es-es":"empezar-con-rabbiit"},"visao-geral-para-membros":{"pt-br":"visao-geral-para-membros","en-us":"overview-for-members","es-es":"vision-general-para-miembros"},"planos-e-faturamento":{"pt-br":"planos-e-faturamento","en-us":"plans-and-billing","es-es":"planes-y-facturacion"},"controle-de-horas":{"pt-br":"controle-de-horas","en-us":"hour-tracking","es-es":"control-de-horas"},"trabalhando-em-equipe":{"pt-br":"trabalhando-em-equipe","en-us":"working-as-a-team","es-es":"trabajo-en-equipo"},projetos:{"pt-br":"projetos","en-us":"projects","es-es":"proyectos"},"configuracoes-e-automacoes":{"pt-br":"configuracoes-e-automacoes","en-us":"settings-and-automations","es-es":"configuracion-y-automatizaciones"},"gerenciamento-de-atividades":{"pt-br":"gerenciamento-de-atividades","en-us":"activity-management","es-es":"gestion-de-actividades"},relatorios:{"pt-br":"relatorios","en-us":"reports","es-es":"informes"}}};var Gw=zw,wc=["en-us","es-es","pt-br"];function xV(t){return t.startsWith("/es-es")?"es-es":t.startsWith("/pt-br")?"pt-br":"en-us"}function qw(t,e,r){let n=Object.entries(t).find(([,i])=>i[e]===r);return n?n[0]:null}function jh(t){return`/help/${t}`}function WA(t,e){let r=jh(e);
9return t==="en-us"?r:`/${t}${r}`}function $h(t,e,r=Gw){if(t[0]!=="help")return null;if(t.length===1)return Object.fromEntries(wc.map(n=>[n,"/help"]));if(t[1]==="revisao"&&t.length===2)return Object.fromEntries(wc.map(n=>[n,"/help/revisao"]));if(t[1]==="treinamentos")return null;if(t[1]==="category"&&t[2]){let n=qw(r.categories,e,t[2]);if(!n)return null;let i=r.categories[n];return Object.fromEntries(wc.map(o=>{let s=i[o];return[o,s?jh(`category/${s}`):"/help"]}))}if(t.length===2){let n=qw(r.articles,e,t[1]);if(!n)return null;let i=r.articles[n];return Object.fromEntries(wc.map(o=>{let s=i[o];return[o,s?jh(s):"/help"]}))}return null}function MV(t,e,r,n=Gw){if(!r)return null;let o=(t==="categories"?n.categories:n.articles)[r];if(!o)return null;let s=o[e];if(!s||s===r)return null;let a=t==="categories"?`category/${s}`:s;return WA(e,a)}var Ww=(()=>{let e=class e{constructor(n,i){this.document=n,this.platformId=i,this.documentIsAccessible=rt(this.platformId)}static getCookieRegExp(n){let i=n.replace(/([\[\]{}()|=;+?,.*^$])/gi,"\\$1");return new RegExp("(?:^"+i+"|;\\s*"+i+")=(.*?)(?:;|$)","g")}static safeDecodeURIComponent(n){try{return decodeURIComponent(n)}catch{return n}}check(n){return this.documentIsAccessible?(n=encodeURIComponent(n),e.getCookieRegExp(n).test(this.document.cookie)):!1}get(n){if(this.documentIsAccessible&&this.check(n)){n=encodeURIComponent(n);let o=e.getCookieRegExp(n).exec(this.document.cookie);return o[1]?e.safeDecodeURIComponent(o[1]):""}else return""}getAll(){if(!this.documentIsAccessible)return{};let n={},i=this.document;return i.cookie&&i.cookie!==""&&i.cookie.split(";").forEach(o=>{let[s,a]=o.split("=");n[e.safeDecodeURIComponent(s.replace(/^ /,""))]=e.safeDecodeURIComponent(a)}),n}set(n,i,o,s,a,c,u,l){if(!this.documentIsAccessible)return;if(typeof o=="number"||o instanceof Date||s||a||c||u){let h={expires:o,path:s,domain:a,secure:c,sameSite:u||"Lax",partitioned:l};this.set(n,i,h);return}let d=encodeURIComponent(n)+"="+encodeURIComponent(i)+";",f=o||{};if(f.expires)if(typeof f.expires=="number"){let h=new Date(new Date().getTime()+f.expires*1e3*60*60*24);d+="expires="+h.toUTCString()+";"}else d+="expires="+f.expires.toUTCString()+";";f.path&&(d+="path="+f.path+";"),f.domain&&(d+="domain="+f.domain+";"),f.secure===!1&&f.sameSite==="None"&&(f.secure=!0,console.warn(`[ngx-cookie-service] Cookie ${n} was forced with secure flag because sameSite=None.More details : https://github.com/stevermeister/ngx-cookie-service/issues/86#issuecomment-597720130`)),f.secure&&(d+="secure;"),f.sameSite||(f.sameSite="Lax"),d+="sameSite="+f.sameSite+";",f.partitioned&&(d+="Partitioned;"),this.document.cookie=d}delete(n,i,o,s,a="Lax"){if(!this.documentIsAccessible)return;let c=new Date("Thu, 01 Jan 1970 00:00:01 GMT");this.set(n,"",{expires:c,path:i,domain:o,secure:s,sameSite:a})}deleteAll(n,i,o,s="Lax"){if(!this.documentIsAccessible)return;let a=this.getAll();for(let c in a)a.hasOwnProperty(c)&&this.delete(c,n,i,o,s)}};e.\u0275fac=function(i){return new(i||e)(y(G),y(pe))},e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var Zw=(()=>{let e=class e{constructor(n,i,o){this.cookies=n,this.document=i,this.platformId=o}getCookieDomain(){return Kb(this.document.location.hostname||"")}initLanguage(){return this.getSiteLanguage()}getSupportedLanguages(){return wt.SupportedLanguages}detectLanguage(){if(!rt(this.platformId))return ee;let n=(navigator.language||navigator.userLanguage||"").toLowerCase(),i=(wt.SupportedLanguages||[]).map(a=>a.id);if(i.includes(n))return n;let o=n.split("-")[0];return i.find(a=>a.startsWith(o))||ee}getSiteLanguage(){let n=wt.storagePrefix+"site_language",i=this.cookies.get(n);if(i)return i;let o=this.detectLanguage();return this.setSiteLanguage(o),o}setSiteLanguage(n){let i=wt.storagePrefix+"site_language",o=new Date;o.setFullYear(o.getFullYear()+5);let s=this.document.location.protocol==="https:",a=this.getCookieDomain();this.cookies.set(i,n,{expires:o,path:"/",domain:a,secure:s,sameSite:"Lax"})}setPreferenceLanguage(n){this.setSiteLanguage(n)}};e.\u0275fac=function(i){return new(i||e)(y(Ww),y(G),y(pe))},e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var Dc=(()=>{let e=class e{constructor(n,i,o,s){this.router=n,this.activatedRoute=i,this.localeService=o,this.document=s,this.currentLang$=new de(ee);let a=this.detectLangFromUrl();this.currentLang$.next(a),this.applyDocumentLanguage(a),this.router.events.pipe(fe(c=>c instanceof xe)).subscribe(()=>{let c=this.detectLangFromUrl();c&&(this.currentLang$.next(c),this.applyDocumentLanguage(c))})}applyDocumentLanguage(n){let i=n==="pt-br"?"pt-BR":n==="es-es"?"es-ES":"en-US";this.document.documentElement.lang=i}detectLangFromUrl(){let o=this.router.url.split("?")[0].split("/").filter(
9Boolean)[0];return o&&Xf.includes(o.toLowerCase())?o.toLowerCase():ee}getCurrentLang(){return this.currentLang$.getValue()}onLangChange(){return this.currentLang$.asObservable()}getCurrentPathWithoutLang(){let n=this.router.url.split("?")[0],i=n.split("/").filter(Boolean),o=i[0];if(o&&Xf.includes(o.toLowerCase())){let s=i.slice(1).join("/");return s?`/${s}`:"/"}return n||"/"}getCanonicalUrl(){let n="https://www.rabbiit.com",i=this.getCurrentLang(),o=this.getCurrentPathWithoutLang(),s=o==="/"?"":o;return i===ee?`${n}${s||""}`:`${n}/${i}${s}`}getAlternateUrls(){let n="https://www.rabbiit.com",i=this.getCurrentPathWithoutLang(),o=this.getPathSegments(i),s=this.getCurrentLang(),a=$h(o,s);if(a)return wt.SupportedLanguages.map(d=>{let f=a[d.id],h=f==="/"?"":f,p=d.id===ee?`${n}${h||""}`:`${n}/${d.id}${h}`;return{lang:d.id,url:p}});let c=this.getGlossaryLocalizedPaths(o);if(c)return[{lang:ee,url:`${n}${c[ee]}`},{lang:"pt-br",url:`${n}/pt-br${c["pt-br"]}`}];let u=this.getCompareLocalizedPaths(o);if(u)return[{lang:ee,url:`${n}${u[ee]}`},{lang:"pt-br",url:`${n}/pt-br${u["pt-br"]}`}];let l=this.getRouteKeyFromPath(o,s);return wt.SupportedLanguages.map(d=>{let f=l!=null?this.getLocalizedPath(l,d.id):i,h=f===""?"":f.startsWith("/")?f:`/${f}`,p=d.id===ee?`${n}${h||""}`:`${n}/${d.id}${h}`;return{lang:d.id,url:p}})}getGlossaryLocalizedPaths(n){let i=n[0];if(i!=="glossary"&&i!=="glossario")return null;let o=n[1];return o?{[ee]:`/glossary/${o}`,"pt-br":`/glossario/${o}`}:{[ee]:"/glossary","pt-br":"/glossario"}}getCompareLocalizedPaths(n){let i=Fh(n[0]??"");if(!i)return null;let o=n[1],s={};for(let a of wt.SupportedLanguages){let c=Lh(i,a.id);s[a.id]=o?`/${c}/${o}`:`/${c}`}return s}navigateToLanguage(n){let i=this.getCurrentPathWithoutLang(),o=this.getCurrentLang(),s=this.normalizeLang(n);if(!wt.SupportedLanguages.some(f=>f.id===s))return;let a=this.getPathSegments(i),c=$h(a,o),u=this.getCompareLocalizedPaths(a),l=this.getRouteKeyFromPath(a,o),d=c?c[s].replace(/^\//,""):u?u[s].replace(/^\//,""):l!=null?this.getLocalizedPath(l,s):i==="/"?"":i.replace(/^\//,"");if(s===ee){let f=d===""?["/"]:["/",...d.split("/").filter(Boolean)];this.router.navigate(f)}else{let f=d===""?["/",s]:["/",s,...d.split("/").filter(Boolean)];this.router.navigate(f)}}getPathSegments(n){let i=n.replace(/^\/+/,"")||"";return i?i.split("/"):[]}getRouteKeyFromPath(n,i){let o=n.join("/");
9for(let[s,a]of Object.entries(ti)){let c=a[i];if(c!==void 0){if(Array.isArray(c)){if(n.length===c.length&&n.every((u,l)=>u===c[l]))return s}else if(c===""&&o===""||c===o)return s}}return null}getLocalizedPath(n,i){let s=ti[n]?.[i];return s===void 0||s===""?"":Array.isArray(s)?s.join("/"):s}getCurrentRoute(){let n=this.activatedRoute;for(;n.firstChild;)n=n.firstChild;return n}normalizeLang(n){return n.toLowerCase()}};e.\u0275fac=function(i){return new(i||e)(y(Ge),y(Et),y(Zw),y(G))},e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var ZV=(()=>{let e=class e{constructor(n){this.routeLanguage=n}transform(n){let i=this.routeLanguage.getCurrentLang(),o=i===ee;if(!Object.prototype.hasOwnProperty.call(ti,n)){let l=(n??"").split("?")[0].split("#")[0].replace(/^\/+/,""),d=l?l.split("/").filter(Boolean):[];return d.length===0?o?["/"]:["/",i]:o?["/",...d]:["/",i,...d]}let c=ti[n]?.[i]??n;return Array.isArray(c)?o?["/",...c]:["/",i,...c]:c===""?o?["/"]:["/",i]:o?["/",c]:["/",i,c]}};e.\u0275fac=function(i){return new(i||e)(R(Dc,16))},e.\u0275pipe=xn({name:"localizedRoute",type:e,pure:!1,standalone:!0});let t=e;return t})();function Bh(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}var dr=Bh();function tD(t){dr=t}var No={exec:()=>null};function W(t,e=""){let r=typeof t=="string"?t:t.source,n={replace:(i,o)=>{let s=typeof o=="string"?o:o.source;return s=s.replace(Me.caret,"$1"),r=r.replace(i,s),n},getRegex:()=>new RegExp(r,e)};return n}var Me={codeRemoveIndent:/^(?: {1,4}| {0,3}\t)/gm,outputLinkReplace:/\\([\[\]])/g,indentCodeCompensation:/^(\s+)(?:```)/,beginningSpace:/^\s+/,endingHash:/#$/,startingSpaceChar:/^ /,endingSpaceChar:/ $/,nonSpaceChar:/[^ ]/,newLineCharGlobal:/\n/g,tabCharGlobal:/\t/g,multipleSpaceGlobal:/\s+/g,blankLine:/^[ \t]*$/,doubleBlankLine:/\n[ \t]*\n[ \t]*$/,blockquoteStart:/^ {0,3}>/,blockquoteSetextReplace:/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,blockquoteSetextReplace2:/^ {0,3}>[ \t]?/gm,listReplaceTabs:/^\t+/,listReplaceNesting:/^ {1,4}(?=( {4})*[^ ])/g,listIsTask:/^\[[ xX]\] /,listReplaceTask:/^\[[ xX]\] +/,anyLine:/\n.*\n/,hrefBrackets:/^<(.*)>$/,tableDelimiter:/[:|]/,tableAlignChars:/^\||\| *$/g,tableRowBlankLine:/\n[ \t]*$/,tableAlignRight:/^ *-+: *$/,tableAlignCenter:/^ *:-+: *$/,tableAlignLeft:/^ *:-+ *$/,startATag:/^<a /i,endATag:/^<\/a>/i,startPreScriptTag:/^<(pre|code|kbd|script)(\s|>)/i,endPreScriptTag:/^<\/(pre|code|kbd|script)(\s|>)/i,startAngleBracket:/^</,endAngleBracket:/>$/,pedanticHrefTitle:/^([^'"]*[^\s])\s+(['"])(.*)\2/,unicodeAlphaNumeric:/[\p{L}\p{N}]/u,escapeTest:/[&<>"']/,escapeReplace:/[&<>"']/g,escapeTestNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,escapeReplaceNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g,unescapeTest:/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig,caret:/(^|[^\[])\^/g,percentDecode:/%25/g,findPipe:/\|/g,splitPipe:/ \|/,slashPipe:/\\\|/g,carriageReturn:/\r\n|\r/g,spaceLine:/^ +$/gm,notSpaceStart:/^\S*/,endingNewline:/\n$/,listItemRegex:t=>new RegExp(`^( {0,3}${t})((?:[	 ][^\\n]*)?(?:\\n|$))`),nextBulletRegex:t=>new RegExp(`^ {0,${Math.min(3,t-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ 	][^\\n]*)?(?:\\n|$))`),hrRegex:t=>new RegExp(`^ {0,${Math.min(3,t-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),fencesBeginRegex:t=>new RegExp(`^ {0,${Math.min(3,t-1)}}(?:\`\`\`|~~~)`),headingBeginRegex:t=>new RegExp(`^ {0,${Math.min(3,t-1)}}#`),htmlBeginRegex:t=>new RegExp(`^ {0,${Math.min(3,t-1)}}<(?:[a-z].*>|!--)`,"i")},QA=/^(?:[ \t]*(?:\n|$))+/,KA=/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,XA=/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,Ao=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,JA=/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,nD=/(?:[*+-]|\d{1,9}[.)])/,rD=W(/^(?!bull |blockCode|fences|blockquote|heading|html)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html))+?)\n {0,3}(=+|-+) *(?:\n+|$)/).replace(/bull/g,nD).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).getRegex(),Hh=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,eR=/^[^\n]+/,zh=/(?!\s*\])(?:\\.|[^\[\]\\])+/,tR=W(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",zh).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),nR=W(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,nD).getRegex(),Cc="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",qh=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,rR=W("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>
9)[\\s\\S]*?(?:(?:\\n[ 	]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ 	]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ 	]*)+\\n|$))","i").replace("comment",qh).replace("tag",Cc).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),iD=W(Hh).replace("hr",Ao).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",Cc).getRegex(),iR=W(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",iD).getRegex(),Gh={blockquote:iR,code:KA,def:tR,fences:XA,heading:JA,hr:Ao,html:rR,lheading:rD,list:nR,newline:QA,paragraph:iD,table:No,text:eR},Qw=W("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",Ao).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code","(?: {4}| {0,3}	)[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",Cc).getRegex(),oR=V(m({},Gh),{table:Qw,paragraph:W(Hh).replace("hr",Ao).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",Qw).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",Cc).getRegex()}),sR=V(m({},Gh),{html:W(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",qh).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:No,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:W(Hh).replace("hr",Ao).replace("heading",` *#{1,6} *[^
10]`).replace("lheading",rD).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()}),oD=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,aR=/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,sD=/^( {2,}|\\)\n(?!\s*$)/,cR=/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,Sc=/[\p{P}\p{S}]/u,Wh=/[\s\p{P}\p{S}]/u,aD=/[^\s\p{P}\p{S}]/u,uR=W(/^((?![*_])punctSpace)/,"u").replace(/punctSpace/g,Wh).getRegex(),lR=/\[[^[\]]*?\]\((?:\\.|[^\\\(\)]|\((?:\\.|[^\\\(\)])*\))*\)|`[^`]*?`|<[^<>]*?>/g,dR=W(/^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/,"u").replace(/punct/g,Sc).getRegex(),fR=W("^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)","gu").replace(/notPunctSpace/g,aD).replace(/punctSpace/g,Wh).replace(/punct/g,Sc).getRegex(),hR=W("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)","gu").replace(/notPunctSpace/g,aD).replace(/punctSpace/g,Wh).replace(/punct/g,Sc).getRegex(),pR=W(/\\(punct)/,"gu").replace(/punct/g,Sc).getRegex(),gR=W(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme",/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email",/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(),mR=W(qh).replace("(?:-->|$)","-->").getRegex(),yR=W("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment",mR).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),Ic=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,vR=W(/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/).replace("label",Ic).replace("href",/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),cD=W(/^!?\[(label)\]\[(ref)\]/).replace("label",Ic).replace("ref",zh).getRegex(),uD=W(/^!?\[(ref)\](?:\[\])?/).replace("ref",zh).getRegex(),bR=W("reflink|nolink(?!\\()","g").replace("reflink",cD).replace("nolink",uD).getRegex(),Zh={_backpedal:No,anyPunctuation:pR,autolink:gR,blockSkip:lR,br:sD,code:aR,del:No,emStrongLDelim:dR,emStrongRDelimAst:fR,emStrongRDelimUnd:hR,escape:oD,link:vR,nolink:uD,punctuation:uR,reflink:cD,reflinkSearch:bR,tag:yR,text:cR,url:No},wR=V(m({},Zh),{link:W(/^!?\[(label)\]\((.*?)\)/).replace("label",Ic).getRegex(),reflink:W(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",Ic).getRegex()}),Vh=V(m({},Zh),{escape:W(oD).replace("])","~|])").getRegex(),url:W(/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,"i").replace("email",/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])((?:\\.|[^\\])*?(?:\\.|[^\s~\\]))\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/}),DR=V(m({},Vh),{br:W(sD).replace("{2,}","*").getRegex(),text:W(Vh.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()}),Ec={normal:Gh,gfm:oR,pedantic:sR},xo={normal:Zh,gfm:Vh,breaks:DR,pedantic:wR},ER={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},Kw=t=>ER[t];function Ht(t,e){if(e){if(Me.escapeTest.test(t))return t.replace(Me.escapeReplace,Kw)}else if(Me.escapeTestNoEncode.test(t))return t.replace(Me.escapeReplaceNoEncode,Kw);return t}function Xw(t){try{t=encodeURI(t).replace(Me.percentDecode,"%")}catch{return null}return t}function Jw(t,e){let r=t.replace(Me.findPipe,(o,s,a)=>{let c=!1,u=s;for(;--u>=0&&a[u]==="\\";)c=!c;return c?"|":" |"}),n=r.split(Me.splitPipe),i=0;if(n[0].trim()||n.shift(),n.length>0&&!n.at(-1)?.trim()&&n.pop(),e)if(n.length>e)n.splice(e);else for(;n.length<e;)n.push("");for(;i<n.length;i++)n[i]=n[i].trim().replace(Me.slashPipe,"|");return n}function Mo(t,e,r){let n=t.length;if(n===0)return"";let i=0;for(;i<n;){let o=t.charAt(n-i-1);if(o===e&&!r)i++;else if(o!==e&&r)i++;else break}return t.slice(0,n-i)}function IR(t,e){if(t.indexOf(e[1])===-1)return-1;let r=0;for(let n=0;n<t.length;n++)if(t[n]==="\\")n++;else if(t[n]===e[0])r++;else if(t[n]===e[1]&&(r--,r<0))return n;return-1}function eD(t,e,r,n,i){let o=e.href,s=e.title||null,a=t[1].replace(i.other.outputLinkReplace,"$1");if(t[0].charAt(0)!=="!"){n.state.inLink=!0;let c={type:"link",raw:r,href:o,title:s,text:a,tokens:n.inlineTokens(a)};return n.state.inLink=!1,c}return{type:"image",raw:r,href:o,title:s,text:a}}function CR(t,e,r){let n=t.match(r.other.indentCodeCompensation);if(n===null)return e;let i=n[1];return e.split(`
11`).map(o=>{let s=o.match(r.other.beginningSpace);if(s===null)return o;let[a]=s;return a.length>=i.length?o.slice(i.length):o}).join(`
12`)}var hi=class{constructor(e){Z(this,"options");Z(this,"rules");Z(this,"lexer");this.options=e||dr}space(e){let r=this.rules.block.newline.exec(e);if(r&&r[0].length>0)return{type:"space",raw:r[0]}}code(e){let r=this.rules.block.code.exec(e);if(r){let n=r[0].replace(this.rules.other.codeRemoveIndent,"");return{type:"code",raw:r[0],codeBlockStyle:"indented",text:this.options.pedantic?n:Mo(n,`
13`)}}}fences(e){let r=this.rules.block.fences.exec(e);if(r){let n=r[0],i=CR(n,r[3]||"",this.rules);return{type:"code",raw:n,lang:r[2]?r[2].trim().replace(this.rules.inline.anyPunctuation,"$1"):r[2],text:i}}}heading(e){let r=this.rules.block.heading.exec(e);if(r){let n=r[2].trim();if(this.rules.other.endingHash.test(n)){let i=Mo(n,"#");(this.options.pedantic||!i||this.rules.other.endingSpaceChar.test(i))&&(n=i.trim())}return{type:"heading",raw:r[0],depth:r[1].length,text:n,tokens:this.lexer.inline(n)}}}hr(e){let r=this.rules.block.hr.exec(e);if(r)return{type:"hr",raw:Mo(r[0],`
14`)}}blockquote(e){let r=this.rules.block.blockquote.exec(e);if(r){let n=Mo(r[0],`
15`).split(`
16`),i="",o="",s=[];for(;n.length>0;){let a=!1,c=[],u;
vendor: 5,789 bytes, lines 16-34
16for(u=0;u<n.length;u++)if(this.rules.other.blockquoteStart.test(n[u]))c.push(n[u]),a=!0;else if(!a)c.push(n[u]);else break;n=n.slice(u);let l=c.join(`
17`),d=l.replace(this.rules.other.blockquoteSetextReplace,`
18    $1`).replace(this.rules.other.blockquoteSetextReplace2,"");i=i?`${i}
19${l}`:l,o=o?`${o}
20${d}`:d;let f=this.lexer.state.top;if(this.lexer.state.top=!0,this.lexer.blockTokens(d,s,!0),this.lexer.state.top=f,n.length===0)break;let h=s.at(-1);if(h?.type==="code")break;if(h?.type==="blockquote"){let p=h,v=p.raw+`
21`+n.join(`
22`),w=this.blockquote(v);s[s.length-1]=w,i=i.substring(0,i.length-p.raw.length)+w.raw,o=o.substring(0,o.length-p.text.length)+w.text;break}else if(h?.type==="list"){let p=h,v=p.raw+`
23`+n.join(`
24`),w=this.list(v);s[s.length-1]=w,i=i.substring(0,i.length-h.raw.length)+w.raw,o=o.substring(0,o.length-p.raw.length)+w.raw,n=v.substring(s.at(-1).raw.length).split(`
25`);continue}}return{type:"blockquote",raw:i,tokens:s,text:o}}}list(e){let r=this.rules.block.list.exec(e);if(r){let n=r[1].trim(),i=n.length>1,o={type:"list",raw:"",ordered:i,start:i?+n.slice(0,-1):"",loose:!1,items:[]};n=i?`\\d{1,9}\\${n.slice(-1)}`:`\\${n}`,this.options.pedantic&&(n=i?n:"[*+-]");let s=this.rules.other.listItemRegex(n),a=!1;for(;e;){let u=!1,l="",d="";if(!(r=s.exec(e))||this.rules.block.hr.test(e))break;l=r[0],e=e.substring(l.length);let f=r[2].split(`
26`,1)[0].replace(this.rules.other.listReplaceTabs,L=>" ".repeat(3*L.length)),h=e.split(`
27`,1)[0],p=!f.trim(),v=0;if(this.options.pedantic?(v=2,d=f.trimStart()):p?v=r[1].length+1:(v=r[2].search(this.rules.other.nonSpaceChar),v=v>4?1:v,d=f.slice(v),v+=r[1].length),p&&this.rules.other.blankLine.test(h)&&(l+=h+`
28`,e=e.substring(h.length+1),u=!0),!u){let L=this.rules.other.nextBulletRegex(v),q=this.rules.other.hrRegex(v),O=this.rules.other.fencesBeginRegex(v),ce=this.rules.other.headingBeginRegex(v),re=this.rules.other.htmlBeginRegex(v);for(;e;){let we=e.split(`
29`,1)[0],Ze;if(h=we,this.options.pedantic?(h=h.replace(this.rules.other.listReplaceNesting,"  "),Ze=h):Ze=h.replace(this.rules.other.tabCharGlobal,"    "),O.test(h)||ce.test(h)||re.test(h)||L.test(h)||q.test(h))break;if(Ze.search(this.rules.other.nonSpaceChar)>=v||!h.trim())d+=`
30`+Ze.slice(v);else{if(p||f.replace(this.rules.other.tabCharGlobal,"    ").search(this.rules.other.nonSpaceChar)>=4||O.test(f)||ce.test(f)||q.test(f))break;d+=`
31`+h}!p&&!h.trim()&&(p=!0),l+=we+`
32`,e=e.substring(we.length+1),f=Ze.slice(v)}}o.loose||(a?o.loose=!0:this.rules.other.doubleBlankLine.test(l)&&(a=!0));let w=null,C;this.options.gfm&&(w=this.rules.other.listIsTask.exec(d),w&&(C=w[0]!=="[ ] ",d=d.replace(this.rules.other.listReplaceTask,""))),o.items.push({type:"list_item",raw:l,task:!!w,checked:C,loose:!1,text:d,tokens:[]}),o.raw+=l}let c=o.items.at(-1);if(c)c.raw=c.raw.trimEnd(),c.text=c.text.trimEnd();else return;o.raw=o.raw.trimEnd();for(let u=0;u<o.items.length;u++)if(this.lexer.state.top=!1,o.items[u].tokens=this.lexer.blockTokens(o.items[u].text,[]),!o.loose){let l=o.items[u].tokens.filter(f=>f.type==="space"),d=l.length>0&&l.some(f=>this.rules.other.anyLine.test(f.raw));o.loose=d}if(o.loose)for(let u=0;u<o.items.length;u++)o.items[u].loose=!0;return o}}html(e){let r=this.rules.block.html.exec(e);if(r)return{type:"html",block:!0,raw:r[0],pre:r[1]==="pre"||r[1]==="script"||r[1]==="style",text:r[0]}}def(e){let r=this.rules.block.def.exec(e);if(r){let n=r[1].toLowerCase().replace(this.rules.other.multipleSpaceGlobal," "),i=r[2]?r[2].replace(this.rules.other.hrefBrackets,"$1").replace(this.rules.inline.anyPunctuation,"$1"):"",o=r[3]?r[3].substring(1,r[3].length-1).replace(this.rules.inline.anyPunctuation,"$1"):r[3];return{type:"def",tag:n,raw:r[0],href:i,title:o}}}table(e){let r=this.rules.block.table.exec(e);if(!r||!this.rules.other.tableDelimiter.test(r[2]))return;let n=Jw(r[1]),i=r[2].replace(this.rules.other.tableAlignChars,"").split("|"),o=r[3]?.trim()?r[3].replace(this.rules.other.tableRowBlankLine,"").split(`
33`):[],s={type:"table",raw:r[0],header:[],align:[],rows:[]};if(n.length===i.length){for(let a of i)this.rules.other.tableAlignRight.test(a)?s.align.push("right"):this.rules.other.tableAlignCenter.test(a)?s.align.push("center"):this.rules.other.tableAlignLeft.test(a)?s.align.push("left"):s.align.push(null);for(let a=0;a<n.length;a++)s.header.push({text:n[a],tokens:this.lexer.inline(n[a]),header:!0,align:s.align[a]});for(let a of o)s.rows.push(Jw(a,s.header.length).map((c,u)=>({text:c,tokens:this.lexer.inline(c),header:!1,align:s.align[u]})));return s}}lheading(e){let r=this.rules.block.lheading.exec(e);if(r)return{type:"heading",raw:r[0],depth:r[2].charAt(0)==="="?1:2,text:r[1],tokens:this.lexer.inline(r[1])}}paragraph(e){let r=this.rules.block.paragraph.exec(e);if(r){let n=r[1].charAt(r[1].length-1)===`
34`?r[1].slice(0,-1):r[1];return{type:"paragraph",raw:r[0],text:n,tokens:this.lexer.inline(n)}}}text(e){let r=this.rules.block.text.exec(e);if(r)return{type:"text",raw:r[0],text:r[0],tokens:this.lexer.inline(r[0])}}escape(e){let r=this.rules.inline.escape.exec(e);if(r)return{type:"escape",raw:r[0],text:r[1]}}tag(e){let r=this.rules.inline.tag.exec(e);if(r)return!this.lexer.state.inLink&&this.rules.other.startATag.test(r[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&this.rules.other.endATag.test(r[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&this.rules.other.startPreScriptTag.test(r[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&this.rules.other.endPreScriptTag.test(r[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:r[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:r[0]}}link(e){let r=this.rules.inline.link.exec(e);if(r){let n=r[2].trim();if(!this.options.pedantic&&this.rules.other.startAngleBracket.test(n)){if
vendor: 7,546 bytes, lines 34-44
34(!this.rules.other.endAngleBracket.test(n))return;let s=Mo(n.slice(0,-1),"\\");if((n.length-s.length)%2===0)return}else{let s=IR(r[2],"()");if(s>-1){let c=(r[0].indexOf("!")===0?5:4)+r[1].length+s;r[2]=r[2].substring(0,s),r[0]=r[0].substring(0,c).trim(),r[3]=""}}let i=r[2],o="";if(this.options.pedantic){let s=this.rules.other.pedanticHrefTitle.exec(i);s&&(i=s[1],o=s[3])}else o=r[3]?r[3].slice(1,-1):"";return i=i.trim(),this.rules.other.startAngleBracket.test(i)&&(this.options.pedantic&&!this.rules.other.endAngleBracket.test(n)?i=i.slice(1):i=i.slice(1,-1)),eD(r,{href:i&&i.replace(this.rules.inline.anyPunctuation,"$1"),title:o&&o.replace(this.rules.inline.anyPunctuation,"$1")},r[0],this.lexer,this.rules)}}reflink(e,r){let n;if((n=this.rules.inline.reflink.exec(e))||(n=this.rules.inline.nolink.exec(e))){let i=(n[2]||n[1]).replace(this.rules.other.multipleSpaceGlobal," "),o=r[i.toLowerCase()];if(!o){let s=n[0].charAt(0);return{type:"text",raw:s,text:s}}return eD(n,o,n[0],this.lexer,this.rules)}}emStrong(e,r,n=""){let i=this.rules.inline.emStrongLDelim.exec(e);if(!i||i[3]&&n.match(this.rules.other.unicodeAlphaNumeric))return;if(!(i[1]||i[2]||"")||!n||this.rules.inline.punctuation.exec(n)){let s=[...i[0]].length-1,a,c,u=s,l=0,d=i[0][0]==="*"?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(d.lastIndex=0,r=r.slice(-1*e.length+s);(i=d.exec(r))!=null;){if(a=i[1]||i[2]||i[3]||i[4]||i[5]||i[6],!a)continue;if(c=[...a].length,i[3]||i[4]){u+=c;continue}else if((i[5]||i[6])&&s%3&&!((s+c)%3)){l+=c;continue}if(u-=c,u>0)continue;c=Math.min(c,c+u+l);let f=[...i[0]][0].length,h=e.slice(0,s+i.index+f+c);if(Math.min(s,c)%2){let v=h.slice(1,-1);return{type:"em",raw:h,text:v,tokens:this.lexer.inlineTokens(v)}}let p=h.slice(2,-2);return{type:"strong",raw:h,text:p,tokens:this.lexer.inlineTokens(p)}}}}codespan(e){let r=this.rules.inline.code.exec(e);if(r){let n=r[2].replace(this.rules.other.newLineCharGlobal," "),i=this.rules.other.nonSpaceChar.test(n),o=this.rules.other.startingSpaceChar.test(n)&&this.rules.other.endingSpaceChar.test(n);return i&&o&&(n=n.substring(1,n.length-1)),{type:"codespan",raw:r[0],text:n}}}br(e){let r=this.rules.inline.br.exec(e);if(r)return{type:"br",raw:r[0]}}del(e){let r=this.rules.inline.del.exec(e);if(r)return{type:"del",raw:r[0],text:r[2],tokens:this.lexer.inlineTokens(r[2])}}autolink(e){let r=this.rules.inline.autolink.exec(e);if(r){let n,i;return r[2]==="@"?(n=r[1],i="mailto:"+n):(n=r[1],i=n),{type:"link",raw:r[0],text:n,href:i,tokens:[{type:"text",raw:n,text:n}]}}}url(e){let r;if(r=this.rules.inline.url.exec(e)){let n,i;if(r[2]==="@")n=r[0],i="mailto:"+n;else{let o;do o=r[0],r[0]=this.rules.inline._backpedal.exec(r[0])?.[0]??"";while(o!==r[0]);n=r[0],r[1]==="www."?i="http://"+r[0]:i=r[0]}return{type:"link",raw:r[0],text:n,href:i,tokens:[{type:"text",raw:n,text:n}]}}}inlineText(e){let r=this.rules.inline.text.exec(e);if(r){let n=this.lexer.state.inRawBlock;return{type:"text",raw:r[0],text:r[0],escaped:n}}}},It=class t{constructor(e){Z(this,"tokens");Z(this,"options");Z(this,"state");Z(this,"tokenizer");Z(this,"inlineQueue");this.tokens=[],this.tokens.links=Object.create(null),this.options=e||dr,this.options.tokenizer=this.options.tokenizer||new hi,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};let r={other:Me,block:Ec.normal,inline:xo.normal};this.options.pedantic?(r.block=Ec.pedantic,r.inline=xo.pedantic):this.options.gfm&&(r.block=Ec.gfm,this.options.breaks?r.inline=xo.breaks:r.inline=xo.gfm),this.tokenizer.rules=r}static get rules(){return{block:Ec,inline:xo}}static lex(e,r){return new t(r).lex(e)}static lexInline(e,r){return new t(r).inlineTokens(e)}lex(e){e=e.replace(Me.carriageReturn,`
35`),this.blockTokens(e,this.tokens);for(let r=0;r<this.inlineQueue.length;r++){let n=this.inlineQueue[r];this.inlineTokens(n.src,n.tokens)}return this.inlineQueue=[],this.tokens}blockTokens(e,r=[],n=!1){for(this.options.pedantic&&(e=e.replace(Me.tabCharGlobal,"    ").replace(Me.spaceLine,""));e;){let i;if(this.options.extensions?.block?.some(s=>(i=s.call({lexer:this},e,r))?(e=e.substring(i.raw.length),r.push(i),!0):!1))continue;if(i=this.tokenizer.space(e)){e=e.substring(i.raw.length);let s=r.at(-1);i.raw.length===1&&s!==void 0?s.raw+=`
36`:r.push(i);continue}if(i=this.tokenizer.code(e)){e=e.substring(i.raw.length);let s=r.at(-1);s?.type==="paragraph"||s?.type==="text"?(s.raw+=`
37`+i.raw,s.text+=`
38`+i.text,this.inlineQueue.at(-1).src=s.text):r.push(i);continue}if(i=this.tokenizer.fences(e)){e=e.substring(i.raw.length),r.push(i);continue}if(i=this.tokenizer.heading(e)){e=e.substring(i.raw.length),r.push(i);continue}if(i=this.tokenizer.hr(e)){e=e.substring(i.raw.length),r.push(i);continue}if(i=this.tokenizer.blockquote(e)){e=e.substring(i.raw.length),r.push(i);continue}if(i=this.tokenizer.list(e)){e=e.substring(i.raw.length),r.push(i);continue}if(i=this.tokenizer.html(e)){e=e.substring(i.raw.length),r.push(i);continue}if(i=this.tokenizer.def(e)){e=e.substring(i.raw.length);let s=r.at(-1);s?.type==="paragraph"||s?.type==="text"?(s.raw+=`
39`+i.raw,s.text+=`
40`+i.raw,this.inlineQueue.at(-1).src=s.text):this.tokens.links[i.tag]||(this.tokens.links[i.tag]={href:i.href,title:i.title});continue}if(i=this.tokenizer.table(e)){e=e.substring(i.raw.length),r.push(i);continue}if(i=this.tokenizer.lheading(e)){e=e.substring(i.raw.length),r.push(i);continue}let o=e;if(this.options.extensions?.startBlock){let s=1/0,a=e.slice(1),c;this.options.extensions.startBlock.forEach(u=>{c=u.call({lexer:this},a),typeof c=="number"&&c>=0&&(s=Math.min(s,c))}),s<1/0&&s>=0&&(o=e.substring(0,s+1))}if(this.state.top&&(i=this.tokenizer.paragraph(o))){let s=r.at(-1);n&&s?.type==="paragraph"?(s.raw+=`
41`+i.raw,s.text+=`
42`+i.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=s.text):r.push(i),n=o.length!==e.length,e=e.substring(i.raw.length);continue}if(i=this.tokenizer.text(e)){e=e.substring(i.raw.length);let s=r.at(-1);s?.type==="text"?(s.raw+=`
43`+i.raw,s.text+=`
44`+i.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=s.text):r.push(i);continue}if(e){let s="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(s);break}else throw new Error(s)}}return this.state.top=!0,r}inline(e,r=[]){return this.inlineQueue.push({src:e,tokens:r}),r}inlineTokens(e,r=[]){let n=e,i=null;if(this.tokens.links){let a=Object.keys(this.tokens.links);if(a.length>0)for(;(i=this.tokenizer.rules.inline.reflinkSearch.exec(n))!=null;)a.includes(i[0].slice(i[0].lastIndexOf("[")+1,-1))&&(n=n.slice(0,i.index)+"["+"a".repeat(i[0].length-2)+"]"+n.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(i=this.tokenizer.rules.inline.blockSkip.exec(n))!=null;)n=n.slice(0,i.index)+"["+"a".repeat(i[0].length-2)+"]"+n.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;(i=this.tokenizer.rules.inline.anyPunctuation.exec(n))!=null;)n=n.slice(0,i.index)+"++"+n.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);let o=!1,s="";for(;e;){o||(s=""),o=!1;let a;if(this.options.extensions?.inline?.some(u=>(a=u.call({lexer:this},e,r))?(e=e.substring(a.raw.length),r.push(a),!0):!1))continue;if(a=this.tokenizer.escape(e)){e=e.substring(a.raw.length),r.push(a);continue}if(a=this.tokenizer.tag(e)){e=e.substring(a.raw.length),r.push(a);continue}if(a=this.tokenizer.link(e)){e=e.substring(a.raw.length),r.push(a);continue}if(a=this.tokenizer.reflink(e,this.tokens.links)){e=e.substring(a.raw.length);let u=r.at(-1);
vendor: 4,246 bytes, lines 44-62
44a.type==="text"&&u?.type==="text"?(u.raw+=a.raw,u.text+=a.text):r.push(a);continue}if(a=this.tokenizer.emStrong(e,n,s)){e=e.substring(a.raw.length),r.push(a);continue}if(a=this.tokenizer.codespan(e)){e=e.substring(a.raw.length),r.push(a);continue}if(a=this.tokenizer.br(e)){e=e.substring(a.raw.length),r.push(a);continue}if(a=this.tokenizer.del(e)){e=e.substring(a.raw.length),r.push(a);continue}if(a=this.tokenizer.autolink(e)){e=e.substring(a.raw.length),r.push(a);continue}if(!this.state.inLink&&(a=this.tokenizer.url(e))){e=e.substring(a.raw.length),r.push(a);continue}let c=e;if(this.options.extensions?.startInline){let u=1/0,l=e.slice(1),d;this.options.extensions.startInline.forEach(f=>{d=f.call({lexer:this},l),typeof d=="number"&&d>=0&&(u=Math.min(u,d))}),u<1/0&&u>=0&&(c=e.substring(0,u+1))}if(a=this.tokenizer.inlineText(c)){e=e.substring(a.raw.length),a.raw.slice(-1)!=="_"&&(s=a.raw.slice(-1)),o=!0;let u=r.at(-1);u?.type==="text"?(u.raw+=a.raw,u.text+=a.text):r.push(a);continue}if(e){let u="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(u);break}else throw new Error(u)}}return r}},ot=class{constructor(e){Z(this,"options");Z(this,"parser");this.options=e||dr}space(e){return""}code({text:e,lang:r,escaped:n}){let i=(r||"").match(Me.notSpaceStart)?.[0],o=e.replace(Me.endingNewline,"")+`
45`;return i?'<pre><code class="language-'+Ht(i)+'">'+(n?o:Ht(o,!0))+`</code></pre>
46`:"<pre><code>"+(n?o:Ht(o,!0))+`</code></pre>
47`}blockquote({tokens:e}){return`<blockquote>
48${this.parser.parse(e)}</blockquote>
49`}html({text:e}){return e}heading({tokens:e,depth:r}){return`<h${r}>${this.parser.parseInline(e)}</h${r}>
50`}hr(e){return`<hr>
51`}list(e){let r=e.ordered,n=e.start,i="";for(let a=0;a<e.items.length;a++){let c=e.items[a];i+=this.listitem(c)}let o=r?"ol":"ul",s=r&&n!==1?' start="'+n+'"':"";return"<"+o+s+`>
52`+i+"</"+o+`>
53`}listitem(e){let r="";if(e.task){let n=this.checkbox({checked:!!e.checked});e.loose?e.tokens[0]?.type==="paragraph"?(e.tokens[0].text=n+" "+e.tokens[0].text,e.tokens[0].tokens&&e.tokens[0].tokens.length>0&&e.tokens[0].tokens[0].type==="text"&&(e.tokens[0].tokens[0].text=n+" "+Ht(e.tokens[0].tokens[0].text),e.tokens[0].tokens[0].escaped=!0)):e.tokens.unshift({type:"text",raw:n+" ",text:n+" ",escaped:!0}):r+=n+" "}return r+=this.parser.parse(e.tokens,!!e.loose),`<li>${r}</li>
54`}checkbox({checked:e}){return"<input "+(e?'checked="" ':"")+'disabled="" type="checkbox">'}paragraph({tokens:e}){return`<p>${this.parser.parseInline(e)}</p>
55`}table(e){let r="",n="";for(let o=0;o<e.header.length;o++)n+=this.tablecell(e.header[o]);r+=this.tablerow({text:n});let i="";for(let o=0;o<e.rows.length;o++){let s=e.rows[o];n="";for(let a=0;a<s.length;a++)n+=this.tablecell(s[a]);i+=this.tablerow({text:n})}return i&&(i=`<tbody>${i}</tbody>`),`<table>
56<thead>
57`+r+`</thead>
58`+i+`</table>
59`}tablerow({text:e}){return`<tr>
60${e}</tr>
61`}tablecell(e){let r=this.parser.parseInline(e.tokens),n=e.header?"th":"td";return(e.align?`<${n} align="${e.align}">`:`<${n}>`)+r+`</${n}>
62`}strong({tokens:e}){return`<strong>${this.parser.parseInline(e)}</strong>`}em({tokens:e}){return`<em>${this.parser.parseInline(e)}</em>`}codespan({text:e}){return`<code>${Ht(e,!0)}</code>`}br(e){return"<br>"}del({tokens:e}){return`<del>${this.parser.parseInline(e)}</del>`}link({href:e,title:r,tokens:n}){let i=this.parser.parseInline(n),o=Xw(e);if(o===null)return i;e=o;let s='<a href="'+e+'"';return r&&(s+=' title="'+Ht(r)+'"'),s+=">"+i+"</a>",s}image({href:e,title:r,text:n}){let i=Xw(e);if(i===null)return Ht(n);e=i;let o=`<img src="${e}" alt="${n}"`;return r&&(o+=` title="${Ht(r)}"`),o+=">",o}text(e){return"tokens"in e&&e.tokens?this.parser.parseInline(e.tokens):"escaped"in e&&e.escaped?e.text:Ht(e.text)}},_o=class{strong({text:e}){return e}em({text:e}){return e}codespan({text:e}){return e}del({text:e}){return e}html({text:e}){return e}text({text:e}){return e}link({text:e}){return""+e}image({text:e}){return""+e}br(){return""}},We=class t{constructor(e){Z(this,"options");Z(this,"renderer");Z(this,"textRenderer");this.options=e||dr,this.options.renderer=this.options.renderer||new ot,this.renderer=this.options.renderer,this.renderer.options=this.options,this.renderer.parser=this,this.textRenderer=new _o}
62static parse(e,r){return new t(r).parse(e)}static parseInline(e,r){return new t(r).parseInline(e)}parse(e,r=!0){let n="";for(let i=0;i<e.length;i++){let o=e[i];if(this.options.extensions?.renderers?.[o.type]){let a=o,c=this.options.extensions.renderers[a.type].call({parser:this},a);if(c!==!1||!["space","hr","heading","code","table","blockquote","list","html","paragraph","text"].includes(a.type)){n+=c||"";continue}}let s=o;switch(s.type){case"space":{n+=this.renderer.space(s);continue}case"hr":{n+=this.renderer.hr(s);continue}case"heading":{n+=this.renderer.heading(s);continue}case"code":{n+=this.renderer.code(s);continue}case"table":{n+=this.renderer.table(s);continue}case"blockquote":{n+=this.renderer.blockquote(s);continue}case"list":{n+=this.renderer.list(s);continue}case"html":{n+=this.renderer.html(s);continue}case"paragraph":{n+=this.renderer.paragraph(s);continue}case"text":{let a=s,c=this.renderer.text(a);for(;i+1<e.length&&e[i+1].type==="text";)a=e[++i],c+=`
63`+this.renderer.text(a);r?n+=this.renderer.paragraph({type:"paragraph",raw:c,text:c,tokens:[{type:"text",raw:c,text:c,escaped:!0}]}):n+=c;continue}default:{let a='Token with "'+s.type+'" type was not found.';if(this.options.silent)return console.error(a),"";throw new Error(a)}}}return n}parseInline(e,r=this.renderer){let n="";for(let i=0;i<e.length;i++){let o=e[i];if(this.options.extensions?.renderers?.[o.type]){let a=this.options.extensions.renderers[o.type].call({parser:this},o);if(a!==!1||!["escape","html","link","image","strong","em","codespan","br","del","text"].includes(o.type)){n+=a||"";continue}}let s=o;switch(s.type){case"escape":{n+=r.text(s);break}case"html":{n+=r.html(s);break}case"link":{n+=r.link(s);break}case"image":{n+=r.image(s);break}case"strong":{n+=r.strong(s);break}case"em":{n+=r.em(s);break}case"codespan":{n+=r.codespan(s);break}case"br":{n+=r.br(s);break}case"del":{n+=r.del(s);break}case"text":{n+=r.text(s);break}default:{let a='Token with "'+s.type+'" type was not found.';if(this.options.silent)return console.error(a),"";throw new Error(a)}}}return n}},ur=class{constructor(e){Z(this,"options");Z(this,"block");this.options=e||dr}preprocess(e){return e}postprocess(e){return e}processAllTokens(e){return e}provideLexer(){return this.block?It.lex:It.lexInline}provideParser(){return this.block?We.parse:We.parseInline}};Z(ur,"passThroughHooks",new Set(["preprocess","postprocess","processAllTokens"]));var Uh=class{constructor(...e){Z(this,"defaults",Bh());Z(this,"options",this.setOptions);Z(this,"parse",this.parseMarkdown(!0));Z(this,"parseInline",this.parseMarkdown(!1));Z(this,"Parser",We);Z(this,"Renderer",ot);Z(this,"TextRenderer",_o);Z(this,"Lexer",It);Z(this,"Tokenizer",hi);Z(this,"Hooks",ur);this.use(...e)}walkTokens(e,r){let n=[];for(let i of e)switch(n=n.concat(r.call(this,i)),i.type){case"table":{let o=i;for(let s of o.header)n=n.concat(this.walkTokens(s.tokens,r));for(let s of o.rows)for(let a of s)n=n.concat(this.walkTokens(a.tokens,r));break}case"list":{let o=i;n=n.concat(this.walkTokens(o.items,r));break}default:{let o=i;this.defaults.extensions?.childTokens?.[o.type]?this.defaults.extensions.childTokens[o.type].forEach(s=>{let a=o[s].flat(1/0);n=n.concat(this.walkTokens(a,r))}):o.tokens&&(n=n.concat(this.walkTokens(o.tokens,r)))}}return n}use(...e){let r=this.defaults.extensions||{renderers:{},childTokens:{}};return e.forEach(n=>{let i=m({},n);if(i.async=this.defaults.async||i.async||!1,n.extensions&&(n.extensions.forEach(o=>{if(!o.name)throw new Error("extension name required");if("renderer"in o){let s=r.renderers[o.name];s?r.renderers[o.name]=function(...a){let c=o.renderer.apply(this,a);return c===!1&&(c=s.apply(this,a)),c}:r.renderers[o.name]=o.renderer}if("tokenizer"in o){if(!o.level||o.level!=="block"&&o.level!=="inline")throw new Error("extension level must be 'block' or 'inline'");let s=r[o.level];s?s.unshift(o.tokenizer):r[o.level]=[o.tokenizer],o.start&&(o.level==="block"?r.startBlock?r.startBlock.push(o.start):r.startBlock=[o.start]:o.level==="inline"&&(r.startInline?r.startInline.push(o.start):r.startInline=[o.start]))}"childTokens"in o&&o.childTokens&&(r.childTokens[o.name]=o.childTokens)}),i.extensions=r),n.renderer){let o=this.defaults.renderer||new ot(this.defaults);for(let s in n.renderer){if(!(s in o))throw new Error(`renderer '${s}' does not exist`);if(["options","parser"].includes(s))continue;let a=s,c=n.renderer[a],u=o[a];o[a]=(...l)=>{let d=c.apply(o,l);return d===!1&&(d=u.apply(o,l)),d||""}}i.renderer=o}if(n.tokenizer){let o=this.defaults.tokenizer||new hi(this.defaults);for(let s in n.tokenizer){if(!(s in o))throw new Error(`tokenizer '${s}' does not exist`);if(["options","rules","lexer"].includes(s))continue;let a=s,c=n.tokenizer[a],u=o[a];o[a]=(...l)=>{let d=c.apply(o,l);return d===!1&&(d=u.apply(o,l)),d}}i.tokenizer=o}if(n.hooks){let o=this.defaults.hooks||new ur;for(let s in n.hooks){if(!(s in o))throw new Error(`hook '${s}' does not exist`);if(["options","block"].includes(s))continue;let a=s,c=n.hooks[a],u=o[a];ur.passThroughHooks.has(s)?o[a]=l=>{if(this.defaults.async)return Promise.resolve(c.call(o,l)).then(f=>u.call(o,f));let d=c.call(o,l);return u.call(o,d)}:o[a]=(...l)=>{let d=c.apply(o,l);return d===!1&&(d=u.apply(o,l)),d}}i.hooks=o}if(n.walkTokens){let o=this.defaults.walkTokens,s=n.walkTokens;i.walkTokens=function(a){let c=[];return c.push(s.call(this,a)),o&&(c=c.concat(o.call(this,a))),c}}this.defaults=m(m({},this.defaults),i)}),this}setOptions(e){return this.defaults=m(m({},this.defaults),e),this}lexer(e,r){return It.lex(e,r??this.defaults)}parser(e,r){return We.parse(e,r??this.defaults)}parseMarkdown(e){return(n,i)=>{let o=m({},i),s=m(m({},this.defaults),o),a=this.onError(!!s.silent,!!s.async);if(this.defaults.async===!0&&o.async===!1)return a(new Error("marked(): The async option was set to true by an extension. Remove async: false from the parse options object to return a Promise."));if(typeof n>"u"||n===null)return a(new Error("marked(): input parameter is undefined or null"));
63if(typeof n!="string")return a(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(n)+", string expected"));s.hooks&&(s.hooks.options=s,s.hooks.block=e);let c=s.hooks?s.hooks.provideLexer():e?It.lex:It.lexInline,u=s.hooks?s.hooks.provideParser():e?We.parse:We.parseInline;if(s.async)return Promise.resolve(s.hooks?s.hooks.preprocess(n):n).then(l=>c(l,s)).then(l=>s.hooks?s.hooks.processAllTokens(l):l).then(l=>s.walkTokens?Promise.all(this.walkTokens(l,s.walkTokens)).then(()=>l):l).then(l=>u(l,s)).then(l=>s.hooks?s.hooks.postprocess(l):l).catch(a);try{s.hooks&&(n=s.hooks.preprocess(n));let l=c(n,s);s.hooks&&(l=s.hooks.processAllTokens(l)),s.walkTokens&&this.walkTokens(l,s.walkTokens);let d=u(l,s);return s.hooks&&(d=s.hooks.postprocess(d)),d}catch(l){return a(l)}}}onError(e,r){return n=>{if(n.message+=`
64Please report this to https://github.com/markedjs/marked.`,e){let i="<p>An error occurred:</p><pre>"+Ht(n.message+"",!0)+"</pre>";return r?Promise.resolve(i):i}if(r)return Promise.reject(n);throw n}}},lr=new Uh;function $(t,e){return lr.parse(t,e)}$.options=$.setOptions=function(t){return lr.setOptions(t),$.defaults=lr.defaults,tD($.defaults),$};$.getDefaults=Bh;$.defaults=dr;$.use=function(...t){return lr.use(...t),$.defaults=lr.defaults,tD($.defaults),$};$.walkTokens=function(t,e){return lr.walkTokens(t,e)};$.parseInline=lr.parseInline;$.Parser=We;$.parser=We.parse;$.Renderer=ot;$.TextRenderer=_o;$.Lexer=It;$.lexer=It.lex;$.Tokenizer=hi;$.Hooks=ur;$.parse=$;var QV=$.options,KV=$.setOptions,XV=$.use,JV=$.walkTokens,eU=$.parseInline;var tU=We.parse,nU=It.lex;var SR=["*"],TR="Copy",xR="Copied",MR=(()=>{let e=class e{constructor(){this._buttonClick$=new te,this.copied$=this._buttonClick$.pipe(me(()=>eu(I(!0),wi(3e3).pipe(Di(!1)))),hu(),xu(1)),this.copiedText$=this.copied$.pipe(Un(!1),T(n=>n?xR:TR))}onCopyToClipboardClick(){this._buttonClick$.next()}};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=ji({type:e,selectors:[["markdown-clipboard"]],standalone:!0,features:[Zi],decls:4,vars:7,consts:[[1,"markdown-clipboard-button",3,"click"]],template:function(i,o){i&1&&(Ca(0,"button",0),sf(1,"async"),Wi("click",function(){return o.onCopyToClipboardClick()}),Lv(2),sf(3,"async"),Sa()),i&2&&(nf("copied",af(1,3,o.copied$)),Ny(2),of(af(3,5,o.copiedText$)))},dependencies:[vb],encapsulation:2,changeDetection:0});let t=e;return t})(),NR=new D("CLIPBOARD_OPTIONS");var Yh=function(t){return t.CommandLine="command-line",t.LineHighlight="line-highlight",t.LineNumbers="line-numbers",t}(Yh||{}),dD=new D("MARKED_EXTENSIONS"),_R=new D("MARKED_OPTIONS"),AR="[ngx-markdown] When using the `emoji` attribute you *have to* include Emoji-Toolkit files to `angular.json` or use imports. See README for more information",RR="[ngx-markdown] When using the `katex` attribute you *have to* include KaTeX files to `angular.json` or use imports. See README for more information",kR="[ngx-markdown] When using the `mermaid` attribute you *have to* include Mermaid files to `angular.json` or use imports. See README for more information",OR="[ngx-markdown] When using the `clipboard` attribute you *have to* include Clipboard files to `angular.json` or use imports. See README for more information",PR="[ngx-markdown] When using the `clipboard` attribute you *have to* provide the `viewContainerRef` parameter to `MarkdownService.render()` function",FR="[ngx-markdown] When using the `src` attribute you *have to* pass the `HttpClient` as a parameter of the `forRoot` method. See README for more information",fD=new D("SECURITY_CONTEXT");var hD=(()=>{let e=class e{get options(){return this._options}set options(n){this._options=m(m({},this.DEFAULT_MARKED_OPTIONS),n)}get renderer(){return this.options.renderer}set renderer(n){this.options.renderer=n}constructor(n,i,o,s,a,c,u){this.clipboardOptions=n,this.extensions=i,this.platform=s,this.securityContext=a,this.http=c,this.sanitizer=u,this.DEFAULT_MARKED_OPTIONS={renderer:new ot},this.DEFAULT_KATEX_OPTIONS={delimiters:[{left:"$$",right:"$$",display:!0},{left:"$",right:"$",display:!1},{left:"\\(",right:"\\)",display:!1},{left:"\\begin{equation}",right:"\\end{equation}",display:!0},{left:"\\begin{align}",right:"\\end{align}",display:!0},{left:"\\begin{alignat}",right:"\\end{alignat}",display:!0},{left:"\\begin{gather}",right:"\\end{gather}",display:!0},{left:"\\begin{CD}",right:"\\end{CD}",display:!0},{left:"\\[",right:"\\]",display:!0}]},this.DEFAULT_MERMAID_OPTIONS={startOnLoad:!1},this.DEFAULT_CLIPBOARD_OPTIONS={buttonComponent:void 0},this.DEFAULT_PARSE_OPTIONS={decodeHtml:!1,inline:!1,emoji:!1,mermaid:!1,markedOptions:void 0,disableSanitizer:!1},this.DEFAULT_RENDER_OPTIONS={clipboard:!1,clipboardOptions:void 0,katex:!1,katexOptions:void 0,mermaid:!1,mermaidOptions:void 0},this._reload$=new te,this.reload$=this._reload$.asObservable(),this.options=o}parse(n,i=this.DEFAULT_PARSE_OPTIONS){let{decodeHtml:o,inline:s,emoji:a,mermaid:c,disableSanitizer:u}=i,l=m(m({},this.options),i.markedOptions),d=l.renderer||this.renderer||new ot;this.extensions&&(this.renderer=this.extendsRendererForExtensions(d)),c&&(this.renderer=this.extendsRendererForMermaid(d));let f=this.trimIndentation(n),h=o?this.decodeHtml(f):f,p=a?this.parseEmoji(h):h,v=this.parseMarked(p,l,s);return(u?v:this.sanitizer.sanitize(this.securityContext,v))||""}render(n,i=this.DEFAULT_RENDER_OPTIONS,o){let{clipboard:s,clipboardOptions:a,katex:c,katexOptions:u,mermaid:l,mermaidOptions:d}=i;c&&this.renderKatex(n,m(m({},this.DEFAULT_KATEX_OPTIONS),u)),l&&this.renderMermaid(n,m(m({},this.DEFAULT_MERMAID_OPTIONS),d)),s&&this.renderClipboard(n,o,m(m(m({},this.DEFAULT_CLIPBOARD_OPTIONS),this.clipboardOptions),a)),this.highlight(n)}reload(){this._reload$.next()}getSource(n){if(!this.http)throw new Error(FR);return this.http.get(n,{responseType:"text"}).pipe(T(i=>this.handleExtension(n,i)))}highlight(n){if(!rt(this.platform)||typeof Prism>"u"||typeof Prism.highlightAllUnder>"u")return;n||(n=document);let i=n.querySelectorAll('pre code:not([class*="language-"])');Array.prototype.forEach.call(i,o=>o.classList.add("language-none")),Prism.highlightAllUnder(n)}decodeHtml(n){if(!rt(this.platform))return n;let i=document.createElement("textarea");return i.innerHTML=n,i.value}extendsRendererForExtensions(n){let i=n;return i.\u0275NgxMarkdownRendererExtendedForExtensions===!0||(this.extensions?.length>0&&$.use(...this.extensions),i.\u0275NgxMarkdownRendererExtendedForExtensions=!0),n}extendsRendererForMermaid(n){let i=n;if(i.\u0275NgxMarkdownRendererExtendedForMermaid===!0)return n;let o=n.code;return n.code=function(s,a,c){return a==="mermaid"?`<div class="mermaid">${s}</div>`:o.call(this,s,a,c)},i.\u0275NgxMarkdownRendererExtendedForMermaid=!0,n}handleExtension(n,i){let o=n.lastIndexOf("://"),s=o>-1?n.substring(o+4):n,a=s.lastIndexOf("/"),c=a>-1?s.substring(a+1).split("?")[0]:"",u=c.lastIndexOf("."),l=u>-1?c.substring(u+1):"";return l&&l!=="md"?"```"+l+`
65`+i+"\n```":i}parseMarked(n,i,o=!1){if(i.renderer){let s=m({},i.renderer);delete s.\u0275NgxMarkdownRendererExtendedForExtensions,delete s.\u0275NgxMarkdownRendererExtendedForMermaid,delete i.renderer,$.use({renderer:s})}return o?$.parseInline(n,i):$.parse(n,i)}parseEmoji(n){if(!rt(this.platform))return n;if(typeof joypixels>"u"||typeof joypixels.shortnameToUnicode>"u")throw new Error(AR);return joypixels.shortnameToUnicode(n)}
65renderKatex(n,i){if(rt(this.platform)){if(typeof katex>"u"||typeof renderMathInElement>"u")throw new Error(RR);renderMathInElement(n,i)}}renderClipboard(n,i,o){if(!rt(this.platform))return;if(typeof ClipboardJS>"u")throw new Error(OR);if(!i)throw new Error(PR);let{buttonComponent:s,buttonTemplate:a}=o,c=n.querySelectorAll("pre");for(let u=0;u<c.length;u++){let l=c.item(u),d=document.createElement("div");d.style.position="relative",l.parentNode.insertBefore(d,l),d.appendChild(l);let f=document.createElement("div");f.classList.add("markdown-clipboard-toolbar"),f.style.position="absolute",f.style.top=".5em",f.style.right=".5em",f.style.zIndex="1",d.insertAdjacentElement("beforeend",f),d.onmouseenter=()=>f.classList.add("hover"),d.onmouseleave=()=>f.classList.remove("hover");let h;if(s){let v=i.createComponent(s);h=v.hostView,v.changeDetectorRef.markForCheck()}else if(a)h=i.createEmbeddedView(a);else{let v=i.createComponent(MR);h=v.hostView,v.changeDetectorRef.markForCheck()}let p;h.rootNodes.forEach(v=>{f.appendChild(v),p=new ClipboardJS(v,{text:()=>l.innerText})}),h.onDestroy(()=>p.destroy())}}renderMermaid(n,i=this.DEFAULT_MERMAID_OPTIONS){if(!rt(this.platform))return;if(typeof mermaid>"u"||typeof mermaid.initialize>"u")throw new Error(kR);let o=n.querySelectorAll(".mermaid");o.length!==0&&(mermaid.initialize(i),mermaid.run({nodes:o}))}trimIndentation(n){if(!n)return"";let i;return n.split(`
66`).map(o=>{let s=i;return o.length>0&&(s=isNaN(s)?o.search(/\S|$/):Math.min(o.search(/\S|$/),s)),isNaN(i)&&(i=s),s?o.substring(s):o}).join(`
67`)}};e.\u0275fac=function(i){return new(i||e)(y(NR,8),y(dD,8),y(_R,8),y(pe),y(fD),y(Vf,8),y(Qf))},e.\u0275prov=b({token:e,factory:e.\u0275fac});let t=e;return t})(),bU=(()=>{let e=class e{get disableSanitizer(){return this._disableSanitizer}set disableSanitizer(n){this._disableSanitizer=this.coerceBooleanProperty(n)}get inline(){return this._inline}set inline(n){this._inline=this.coerceBooleanProperty(n)}get clipboard(){return this._clipboard}set clipboard(n){this._clipboard=this.coerceBooleanProperty(n)}get emoji(){return this._emoji}set emoji(n){this._emoji=this.coerceBooleanProperty(n)}get katex(){return this._katex}set katex(n){this._katex=this.coerceBooleanProperty(n)}get mermaid(){return this._mermaid}set mermaid(n){this._mermaid=this.coerceBooleanProperty(n)}get lineHighlight(){return this._lineHighlight}set lineHighlight(n){this._lineHighlight=this.coerceBooleanProperty(n)}get lineNumbers(){return this._lineNumbers}set lineNumbers(n){this._lineNumbers=this.coerceBooleanProperty(n)}get commandLine(){return this._commandLine}set commandLine(n){this._commandLine=this.coerceBooleanProperty(n)}constructor(n,i,o){this.element=n,this.markdownService=i,this.viewContainerRef=o,this.error=new ae,this.load=new ae,this.ready=new ae,this._clipboard=!1,this._commandLine=!1,this._disableSanitizer=!1,this._emoji=!1,this._inline=!1,this._katex=!1,this._lineHighlight=!1,this._lineNumbers=!1,this._mermaid=!1,this.destroyed$=new te}ngOnChanges(){this.loadContent()}loadContent(){if(this.data!=null){this.handleData();return}if(this.src!=null){this.handleSrc();return}}ngAfterViewInit(){!this.data&&!this.src&&this.handleTransclusion(),this.markdownService.reload$.pipe(Ei(this.destroyed$)).subscribe(()=>this.loadContent())}ngOnDestroy(){this.destroyed$.next(),this.destroyed$.complete()}render(n,i=!1){return fr(this,null,function*(){let o={decodeHtml:i,inline:this.inline,emoji:this.emoji,mermaid:this.mermaid,disableSanitizer:this.disableSanitizer},s={clipboard:this.clipboard,clipboardOptions:this.getClipboardOptions(),katex:this.katex,katexOptions:this.katexOptions,mermaid:this.mermaid,mermaidOptions:this.mermaidOptions},a=yield this.markdownService.parse(n,o);this.element.nativeElement.innerHTML=a,this.handlePlugins(),this.markdownService.render(this.element.nativeElement,s,this.viewContainerRef),this.ready.emit()})}coerceBooleanProperty(n){return n!=null&&`${String(n)}`!="false"}getClipboardOptions(){if(this.clipboardButtonComponent||this.clipboardButtonTemplate)return{buttonComponent:this.clipboardButtonComponent,buttonTemplate:this.clipboardButtonTemplate}}handleData(){this.render(this.data)}handleSrc(){this.markdownService.getSource(this.src).subscribe({next:n=>{this.render(n).then(()=>{this.load.emit(n)})},error:n=>this.error.emit(n)})}handleTransclusion(){this.render(this.element.nativeElement.innerHTML,!0)}handlePlugins(){this.commandLine&&(this.setPluginClass(this.element.nativeElement,Yh.CommandLine),this.setPluginOptions(this.element.nativeElement,{dataFilterOutput:this.filterOutput,dataHost:this.host,dataPrompt:this.prompt,dataOutput:this.output,dataUser:this.user})),this.lineHighlight&&this.setPluginOptions(this.element.nativeElement,{dataLine:this.line,dataLineOffset:this.lineOffset}),this.lineNumbers&&(this.setPluginClass(this.element.nativeElement,Yh.LineNumbers),this.setPluginOptions(this.element.nativeElement,{dataStart:this.start}))}setPluginClass(n,i){let o=n.querySelectorAll("pre");for(let s=0;s<o.length;s++){let a=i instanceof Array?i:[i];o.item(s).classList.add(...a)}}setPluginOptions(n,i){let o=n.querySelectorAll("pre");for(let s=0;s<o.length;
67s++)Object.keys(i).forEach(a=>{let c=i[a];if(c){let u=this.toLispCase(a);o.item(s).setAttribute(u,c.toString())}})}toLispCase(n){let i=n.match(/([A-Z])/g);if(!i)return n;let o=n.toString();for(let s=0,a=i.length;s<a;s++)o=o.replace(new RegExp(i[s]),"-"+i[s].toLowerCase());return o.slice(0,1)==="-"&&(o=o.slice(1)),o}};e.\u0275fac=function(i){return new(i||e)(R(Oe),R(hD),R(et))},e.\u0275cmp=ji({type:e,selectors:[["markdown"],["","markdown",""]],inputs:{data:"data",src:"src",disableSanitizer:"disableSanitizer",inline:"inline",clipboard:"clipboard",clipboardButtonComponent:"clipboardButtonComponent",clipboardButtonTemplate:"clipboardButtonTemplate",emoji:"emoji",katex:"katex",katexOptions:"katexOptions",mermaid:"mermaid",mermaidOptions:"mermaidOptions",lineHighlight:"lineHighlight",line:"line",lineOffset:"lineOffset",lineNumbers:"lineNumbers",start:"start",commandLine:"commandLine",filterOutput:"filterOutput",host:"host",prompt:"prompt",output:"output",user:"user"},outputs:{error:"error",load:"load",ready:"ready"},standalone:!0,features:[tn,Zi],ngContentSelectors:SR,decls:1,vars:0,template:function(i,o){i&1&&(Rv(),kv(0))},encapsulation:2});let t=e;return t})();function LR(t){return[hD,t?.loader??[],t?.clipboardOptions??[],t?.markedOptions??[],{provide:dD,useValue:t?.markedExtensions??[]},{provide:fD,useValue:t?.sanitize??Ve.HTML}]}var wU=(()=>{let e=class e{static forRoot(n){return{ngModule:e,providers:[LR(n)]}}static forChild(){return{ngModule:e}}};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=yt({type:e}),e.\u0275inj=mt({imports:[Ga]});let t=e;return t})(),lD;(function(t){let e;(function(i){i.Strict="strict",i.Loose="loose",i.Antiscript="antiscript",i.Sandbox="sandbox"})(e=t.SecurityLevel||(t.SecurityLevel={}));let r;(function(i){i.Base="base",i.Forest="forest",i.Dark="dark",i.Default="default",i.Neutral="neutral"})(r=t.Theme||(t.Theme={}));let n;(function(i){i[i.Debug=1]="Debug",i[i.Info=2]="Info",i[i.Warn=3]="Warn",i[i.Error=4]="Error",i[i.Fatal=5]="Fatal"})(n=t.LogLevel||(t.LogLevel={}))})(lD||(lD={}));function TU(){let t=new ot;t.heading=({tokens:r,depth:n})=>{let i=We.parseInline(r);return"<h"+n+' id="'+e(i)+'" >'+i+"</h"+n+">"},t.image=({href:r,title:n,text:i})=>{let o=`<img src="${r}" alt="${i}"`,s=r.split("?")[1];if(s){let a=new URLSearchParams(s);if(a.has("size")){let[c,u]=a.get("size").split("x");o+=`width="${c}" height="${u}" `}a.has("priority")?o+='loading="eager" fetchpriority="high"':o+='loading="lazy" fetchpriority="low"'}return o+=">",i&&(o+=`<small>${i}</small>`),o},t.link=({href:r,text:n})=>{try{let i=new URL(r,"https://rabbiit.com");if(!i.hostname.endsWith("rabbiit.com"))return i.searchParams.set("utm_source","rabbiit.com"),`<a href="${i.toString()}" target="_blank" rel="noopener">${n}</a>`;if(i.pathname&&!i.pathname.startsWith("/blog"))return`<a href="${r}" target="_blank" rel="noopener">${n}</a>`}catch{}return`<a href="${r}">${n}</a>`};function e(r){return r.replace(/(<([^>]+)>)/gi,"").normalize("NFD").replace(/[\u0300-\u036f]/g,"").trim().toLowerCase().replace(/[^a-z0-9à-ÿ\s]/g,"").replace(/\s+/g,"-").replace(/-+/g,"-")}return{renderer:t,gfm:!0,breaks:!1,pedantic:!1}}var pD={locales:["pt-br","en-us"],blogPt:{cadencePerMonth:2,currentIndexedPosts:16,evergreenDrafts:[]},blogEn:{status:"indexed",pilotPostTopics:["time tracking for freelancers","timesheet best practices","billable hours and rates"],linkedResourcePages:["/reasons-for-freelancers-time-tracking","/team-timesheet-software","/billable-hours-rates","/time-tracking-software"]},helpEn:{status:"indexed",translateTopSlugsFromPt:["tutorial-como-comecar-com-o-rabbiit","entenda-a-pagina-inicial","como-criar-uma-nova-conta"]},freeToolsPages:["/timer-online-free","/stopwatch-online-free","/pt-br/cronometro-online-gratis","/pt-br/timer-online-gratis"],gscSegments:[{label:"Brasil (pt-BR)",pathPrefix:"/pt-br"},{label:"English (root)",pathPrefix:"/"}],workflow:["PT: publicar 2 posts/m\xEAs (generate.py mensal ou novos .md em src/assets/content/blog).","EN blog: gerar rascunhos com python generate.py --en-pilot; revisar; adicionar .md em src/assets/content/blog/md e entrada em blog/database.json com route /blog/{slug}.","EN help: traduzir helpEn.translateTopSlugsFromPt; adicionar .md e entrada em help/database.json com route /help/{slug}.","Help PT/EN/ES e blog EN index\xE1veis: blogEn.status e helpEn.status = indexed; npm run generate-prerender-routes && npm run generate-sitemaps && ng build.","GSC: comparar desempenho por gscSegments.pathPrefix ap\xF3s deploy."]};var gD=pD;function mD(){return gD.blogEn.status==="indexed"}function yD(){return gD.helpEn.status==="indexed"}var Qh="Rabbiit",$R="https://www.rabbiit.com",VR=`${$R}/img/rabbiit-banner-social.png`,Kh={"en-us":"Rabbiit is the best way to track t
67ime in real time. See who is working, manage time, and control productivity.","pt-br":"Rabbiit \xE9 o melhor jeito de fazer controle de horas em tempo real. Saiba quem est\xE1 trabalhando, fa\xE7a gerenciamento de tempo e controle a produtividade!"},UR=["en-us","pt-br"],FU=(()=>{let e=class e{constructor(n,i,o,s,a,c){this.titleService=n,this.meta=i,this.router=o,this.activatedRoute=s,this.routeLanguageService=a,this.document=c,this.siteName=Qh,this.defaultDescription=Kh["pt-br"]}updateTitle(n){let i=(n?n+" - ":"")+Qh;this.titleService.setTitle(i),this.meta.updateTag({property:"og:title",content:i}),this.meta.updateTag({name:"twitter:title",content:i}),this.setItempropContent("name",i)}setPageTitle(n){let i=(n?n+" - ":"")+Qh;this.titleService.setTitle(i)}updateCanonicalAndOgUrl(n){this.updateOgUrl(n),this.setCanonicalLink(n)}updateOgUrl(n){this.meta.updateTag({property:"og:url",content:n})}updateDescription(n){let i=n||this.getDefaultDescription();this.meta.updateTag({name:"description",content:i}),this.meta.updateTag({property:"og:description",content:i}),this.meta.updateTag({name:"twitter:description",content:i}),this.setItempropContent("description",i)}updateOgImage(n=VR){this.meta.updateTag({property:"og:image",content:n}),this.meta.updateTag({name:"twitter:image",content:n})}setTwitterCard(n){this.meta.updateTag({name:"twitter:card",content:n})}setRobots(n){this.meta.getTag('name="robots"')?this.meta.updateTag({name:"robots",content:n}):this.meta.addTag({name:"robots",content:n})}clearRobots(){this.meta.getTag('name="robots"')&&this.meta.removeTag('name="robots"')}init(){this.router.events.pipe(Un(null),fe(n=>n===null||n instanceof xe),T(()=>this.activatedRoute),T(n=>{for(;n.firstChild;)n=n.firstChild;return n}),fe(n=>n.outlet==="primary"),se(n=>n.data)).subscribe(n=>{(n.metaUpdateOnChangeRoute??!0)&&this.applyRouteSeo(n)})}applyRouteSeo(n){this.shouldNoindexEnglishBlogOrHelp()?this.setRobots("noindex, nofollow"):n.robots?this.setRobots(n.robots):this.clearRobots(),this.updateTitle(n.title),this.updateDescription(n.description),this.updateCanonicalAndOgUrl(this.routeLanguageService.getCanonicalUrl()),this.updateHreflang(),this.updateOgImage(n.ogImage),n.twitterCard&&this.setTwitterCard(n.twitterCard)}updateHreflang(){let n=this.routeLanguageService.getAlternateUrls().filter(({lang:a})=>UR.includes(a));if(n.length===0)return;let i=this.document.head;i.querySelectorAll('link[rel="alternate"][hreflang]').forEach(a=>a.remove());for(let{lang:a,url:c}of n){let u=this.document.createElement("link");u.setAttribute("rel","alternate"),u.setAttribute("hreflang",a),u.setAttribute("href",c),i.appendChild(u)}let o=n.find(a=>a.lang===ee)?.url??n[0].url,s=this.document.createElement("link");s.setAttribute("rel","alternate"),s.setAttribute("hreflang","x-default"),s.setAttribute("href",o),i.appendChild(s)}getDefaultDescription(){let n=this.routeLanguageService.getCurrentLang();return Kh[n]??Kh[ee]}shouldNoindexEnglishBlogOrHelp(){let n=this.router.url.split("?")[0];return n.startsWith("/pt-br/blog")||n.startsWith("/pt-br/help")?!1:!!(/^\/blog(\/|$)/.test(n)&&!mD()||/^\/help(\/|$)/.test(n)&&!yD())}setCanonicalLink(n){let i=this.document.head,o=i.querySelector('link[rel="canonical"]');o||(o=this.document.createElement("link"),o.setAttribute("rel","canonical"),i.appendChild(o)),o.setAttribute("href",n)}setItempropContent(n,i){let o=this.meta.getTag(`itemprop="${n}"`);o&&(o.content=i)}};e.\u0275fac=function(i){return new(i||e)(y(Ja),y(Yb),y(Ge),y(Et),y(Dc),y(G))},e.\u0275prov=b({token:e,factory:e.\u0275fac});let t=e;return t})();export{m as a,V as b,Jh as c,BR as d,HR as e,fr as f,P as g,M as h,te as i,PD as j,de as k,I as l,T as m,bi as n,J as o,se as p,_t as q,es as r,HD as s,Op as t,eu as u,fe as v,ZD as w,$n as x,YD as y,hu as z,Vn as A,Di as B,xu as C,JD as D,Un as E,me as F,Ei as G,he as H,tE as I,E as J,Mg as K,b as L,mt as M,D as N,y as O,g as P,vj as Q,Hr as R,Xs as S,ji as T,yt as U,Le as V,xn as W,Se as X,tn as Y,bj as Z,wj as _,Dj as $,Ej as aa,Ed as ba,De as ca,ae as da,U as ea,Oe as fa,pl as ga,pe as ha,Ij as ia,Wr as ja,Ve as ka,Cj as la,VC as ma,Sj as na,Tj as oa,Ny as pa,R as qa,$r as ra,Vr as sa,_n as ta,et as ua,z0 as va,Nj as wa,J0 as xa,Ea as ya,lT as za,hT as Aa,Jd as Ba,ef as Ca,xT as Da,tf as Ea,nf as Fa,_j as Ga,Aj as Ha,Ca as Ia,Sa as Ja,rf as Ka,VT as La,UT as Ma,Rj as Na,zT as Oa,Wi as Pa,kj as Qa,Rv as Ra,kv as Sa,Ov as Ta,Oj as Ua,Pv as Va,Fv as Wa,Pj as Xa,Lv as Ya,of as Za,$v as _a,rx as $a,ix as ab,ox as bb,Fj as cb,sx as db,Lj as eb,Zi as fb,jj as gb,$j as hb,Vj as ib,Uj as jb,sf as kb,af as lb,Bj as mb,Hj as nb,zj as ob,Qr as pb,vt as qb,qj as rb,Qi as sb,an as tb,cn as ub,Gj as vb,mf as wb,Bx as xb,An as yb,G as zb,Jr as Ab,u$ as Bb,l$ as Cb,d$ as Db,f$ as Eb,yb as Fb,h$ as Gb,p$ as Hb,g$ as Ib,vb as Jb,m$ as Kb,y$ as Lb,v$ as Mb,Ga as Nb,rt as Ob,b$ as Pb,Vf as Qb,A$ as Rb,R$ as Sb,Bb as Tb,G$ as Ub,W$ as Vb,Ja as Wb,Z$ as Xb,Qf as Yb,Y$ as Zb,xe as _b,Et as $b,D_ as ac,Ge as bc,sw as cc,mV as dc,yV as ec,ee as fc,wt as gc,Xf as hc,ti as ic,Kb as jc,K$ as kc,Ww as lc,Zw as mc,wV as nc,DV as oc,EV as pc,IV as qc,xV as rc,MV as sc,Dc as tc,ZV as uc,_R as vc,bU as wc,wU as xc,FU as yc,TU as zc};

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