PageSourceSearch

https://app.leadgenic.ru/chunk-UPWIJIG3.js

js leadgenic.ru collected 2026-10-04 00:18:57 UTC 513,354 bytes, 11 lines download raw bytes

1var nT=Object.create;var eh=Object.defineProperty,iT=Object.defineProperties,rT=Object.getOwnPropertyDescriptor,oT=Object.getOwnPropertyDescriptors,sT=Object.getOwnPropertyNames,Ql=Object.getOwnPropertySymbols,aT=Object.getPrototypeOf,th=Object.prototype.hasOwnProperty,K_=Object.prototype.propertyIsEnumerable;var J_=(e,n,t)=>n in e?eh(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t,w=(e,n)=>{for(var t in n||={})th.call(n,t)&&J_(e,t,n[t]);if(Ql)for(var t of Ql(n))K_.call(n,t)&&J_(e,t,n[t]);return e},j=(e,n)=>iT(e,oT(n));var UV=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(n,t)=>(typeof require<"u"?require:n)[t]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')});var lT=(e,n)=>{var t={};for(var i in e)th.call(e,i)&&n.indexOf(i)<0&&(t[i]=e[i]);if(e!=null&&Ql)for(var i of Ql(e))n.indexOf(i)<0&&K_.call(e,i)&&(t[i]=e[i]);return t};var $V=(e,n)=>()=>(n||e((n={exports:{}}).exports,n),n.exports);var cT=(e,n,t,i)=>{if(n&&typeof n=="object"||typeof n=="function")for(let r of sT(n))!th.call(e,r)&&r!==t&&eh(e,r,{get:()=>n[r],enumerable:!(i=rT(n,r))||i.enumerable});return e};var GV=(e,n,t)=>(t=e!=null?nT(aT(e)):{},cT(n||!e||!e.__esModule?eh(t,"default",{value:e,enumerable:!0}):t,e));var yo=(e,n,t)=>new Promise((i,r)=>{var o=l=>{try{a(t.next(l))}catch(c){r(c)}},s=l=>{try{a(t.throw(l))}catch(c){r(c)}},a=l=>l.done?i(l.value):Promise.resolve(l.value).then(o,s);a((t=t.apply(e,n)).next())});var nh;function Jl(){return nh}function Ln(e){let n=nh;return nh=e,n}var X_=Symbol("NotFound");function bo(e){return e===X_||e?.name==="\u0275NotFound"}function nc(e,n){return Object.is(e,n)}var vt=null,Kl=!1,ih=1,uT=null,_t=Symbol("SIGNAL");function U(e){let n=vt;return vt=e,n}function ic(){return vt}var Do={version:0,lastCleanEpoch:0,dirty:!1,producers:void 0,producersTail:void 0,consumers:void 0,consumersTail:void 0,recomputing:!1,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,kind:"unknown",producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function wo(e){if(Kl)throw new Error("");if(vt===null)return;vt.consumerOnSignalRead(e);let n=vt.producersTail;if(n!==void 0&&n.producer===e)return;let t,i=vt.recomputing;if(i&&(t=n!==void 0?n.nextProducer:vt.producers,t!==void 0&&t.producer===e)){vt.producersTail=t,t.lastReadVersion=e.version;return}let r=e.consumersTail;if(r!==void 0&&r.consumer===vt&&(!i||fT(r,vt)))return;let o=Eo(vt),s={producer:e,consumer:vt,nextProducer:t,prevConsumer:r,lastReadVersion:e.version,nextConsumer:void 0};vt.producersTail=s,n!==void 0?n.nextProducer=s:vt.producers=s,o&&ty(e,s)}function ey(){ih++}function rc(e){if(!(Eo(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===ih)){if(!e.producerMustRecompute(e)&&!$s(e)){tc(e);return}e.producerRecomputeValue(e),tc(e)}}function rh(e){if(e.consumers===void 0)return;let n=Kl;Kl=!0;try{for(let t=e.consumers;t!==void 0;t=t.nextConsumer){let i=t.consumer;i.dirty||dT(i)}}finally{Kl=n}}function oh(){return vt?.consumerAllowSignalWrites!==!1}function dT(e){e.dirty=!0,rh(e),e.consumerMarkedDirty?.(e)}function tc(e){e.dirty=!1,e.lastCleanEpoch=ih}function Co(e){return e&&(e.producersTail=void 0,e.recomputing=!0),U(e)}function Us(e,n){if(U(n),!e)return;e.recomputing=!1;let t=e.producersTail,i=t!==void 0?t.nextProducer:e.producers;if(i!==void 0){if(Eo(e))do i=sh(i);while(i!==void 0);t!==void 0?t.nextProducer=void 0:e.producers=void 0}}function $s(e){for(let n=e.producers;n!==void 0;n=n.nextProducer){let t=n.producer,i=n.lastReadVersion;if(i!==t.version||(rc(t),i!==t.version))return!0}return!1}function Gs(e){if(Eo(e)){let n=e.producers;for(;n!==void 0;)n=sh(n)}e.producers=void 0,e.producersTail=void 0,e.consumers=void 0,e.consumersTail=void 0}function ty(e,n){let t=e.consumersTail,i=Eo(e);if(t!==void 0?(n.nextConsumer=t.nextConsumer,t.nextConsumer=n):(n.nextConsumer=void 0,e.consumers=n),n.prevConsumer=t,e.consumersTail=n,!i)for(let r=e.producers;r!==void 0;r=r.nextProducer)ty(r.producer,r)}function sh(e){let n=e.producer,t=e.nextProducer,i=e.nextConsumer,r=e.prevConsumer;if(e.nextConsumer=void 0,e.prevConsumer=void 0,i!==void 0?i.prevConsumer=r:n.consumersTail=r,r!==void 0)r.nextConsumer=i;else if(n.consumers=i,!Eo(n)){let o=n.producers;for(;o!==void 0;)o=sh(o)}return t}function Eo(e){return e.consumerIsAlwaysLive||e.consumers!==void 0}function oc(e){uT?.(e)}function fT(e,n){let t=n.producersTail;if(t!==void 0){let i=n.producers;do{if(i===e)return!0;
vendor: 4,949 bytes, lines 1-3
1if(i===t)break;i=i.nextProducer}while(i!==void 0)}return!1}function sc(e,n){let t=Object.create(hT);t.computation=e,n!==void 0&&(t.equal=n);let i=()=>{if(rc(t),wo(t),t.value===Hs)throw t.error;return t.value};return i[_t]=t,oc(t),i}var Xl=Symbol("UNSET"),ec=Symbol("COMPUTING"),Hs=Symbol("ERRORED"),hT=j(w({},Do),{value:Xl,dirty:!0,error:null,equal:nc,kind:"computed",producerMustRecompute(e){return e.value===Xl||e.value===ec},producerRecomputeValue(e){if(e.value===ec)throw new Error("");let n=e.value;e.value=ec;let t=Co(e),i,r=!1;try{i=e.computation(),U(null),r=n!==Xl&&n!==Hs&&i!==Hs&&e.equal(n,i)}catch(o){i=Hs,e.error=o}finally{Us(e,t)}if(r){e.value=n;return}e.value=i,e.version++}});function pT(){throw new Error}var ny=pT;function iy(e){ny(e)}function ah(e){ny=e}var gT=null;function lh(e,n){let t=Object.create(ac);t.value=e,n!==void 0&&(t.equal=n);let i=()=>ry(t);return i[_t]=t,oc(t),[i,s=>Io(t,s),s=>ch(t,s)]}function ry(e){return wo(e),e.value}function Io(e,n){oh()||iy(e),e.equal(e.value,n)||(e.value=n,mT(e))}function ch(e,n){oh()||iy(e),Io(e,n(e.value))}var ac=j(w({},Do),{equal:nc,value:void 0,kind:"signal"});function mT(e){e.version++,ey(),rh(e),gT?.(e)}function P(e){return typeof e=="function"}function ji(e){let t=e(i=>{Error.call(i),i.stack=new Error().stack});return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}var lc=ji(e=>function(t){e(this),this.message=t?`${t.length} errors occurred during unsubscription:
2${t.map((i,r)=>`${r+1}) ${i.toString()}`).join(`
3  `)}`:"",this.name="UnsubscriptionError",this.errors=t});function br(e,n){if(e){let t=e.indexOf(n);0<=t&&e.splice(t,1)}}var De=class e{constructor(n){this.initialTeardown=n,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let n;if(!this.closed){this.closed=!0;let{_parentage:t}=this;if(t)if(this._parentage=null,Array.isArray(t))for(let o of t)o.remove(this);else t.remove(this);let{initialTeardown:i}=this;if(P(i))try{i()}catch(o){n=o instanceof lc?o.errors:[o]}let{_finalizers:r}=this;if(r){this._finalizers=null;for(let o of r)try{oy(o)}catch(s){n=n??[],s instanceof lc?n=[...n,...s.errors]:n.push(s)}}if(n)throw new lc(n)}}add(n){var t;if(n&&n!==this)if(this.closed)oy(n);else{if(n instanceof e){if(n.closed||n._hasParent(this))return;n._addParent(this)}(this._finalizers=(t=this._finalizers)!==null&&t!==void 0?t:[]).push(n)}}_hasParent(n){let{_parentage:t}=this;return t===n||Array.isArray(t)&&t.includes(n)}_addParent(n){let{_parentage:t}=this;this._parentage=Array.isArray(t)?(t.push(n),t):t?[t,n]:n}_removeParent(n){let{_parentage:t}=this;t===n?this._parentage=null:Array.isArray(t)&&br(t,n)}remove(n){let{_finalizers:t}=this;t&&br(t,n),n instanceof e&&n._removeParent(this)}};De.EMPTY=(()=>{let e=new De;return e.closed=!0,e})();var uh=De.EMPTY;function cc(e){return e instanceof De||e&&"closed"in e&&P(e.remove)&&P(e.add)&&P(e.unsubscribe)}function oy(e){P(e)?e():e.unsubscribe()}var vn={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var To={setTimeout(e,n,...t){let{delegate:i}=To;return i?.setTimeout?i.setTimeout(e,n,...t):setTimeout(e,n,...t)},clearTimeout(e){let{delegate:n}=To;return(n?.clearTimeout||clearTimeout)(e)},delegate:void 0};function uc(e){To.setTimeout(()=>{let{onUnhandledError:n}=vn;if(n)n(e);else throw e})}function ri(){}var sy=dh("C",void 0,void 0);function ay(e){return dh("E",void 0,e)}function ly(e){return dh("N",e,void 0)}function dh(e,n,t){return{kind:e,value:n,error:t}}var Dr=null;function So(e){if(vn.useDeprecatedSynchronousErrorHandling){let n=!Dr;if(n&&(Dr={errorThrown:!1,error:null}),e(),n){let{errorThrown:t,error:i}=Dr;if(Dr=null,t)throw i}}else e()}function cy(e){vn.useDeprecatedSynchronousErrorHandling&&Dr&&(Dr.errorThrown=!0,Dr.error=e)}var wr=class extends De{constructor(n){super(),this.isStopped=!1,n?(this.destination=n,cc(n)&&n.add(this)):this.destination=yT}static create(n,t,i){return new oi(n,t,i)}next(n){this.isStopped?hh(ly(n),this):this._next(n)}error(n){this.isStopped?hh(ay(n),this):(this.isStopped=!0,this._error(n))}complete(){this.isStopped?hh(sy,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(n){this.destination.next(n)}_error(n){try{this.destination.error(n)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},vT=Function.prototype.bind;function fh(e,n){return vT.call(e,n)}var ph=class{constructor(n){this.partialObserver=n}next(n){let{partialObserver:t}=this;if(t.next)try{t.next(n)}catch(i){dc(i)}}error(n){let{partialObserver:t}=this;if(t.error)try{t.error(n)}catch(i){dc(i)}else dc(n)}complete(){let{partialObserver:n}=this;if(n.complete)try{n.complete()}catch(t){dc(t)}}},oi=class extends wr{constructor(n,t,i){super();let r;if(P(n)||!n)r={next:n??void 0,error:t??void 0,complete:i??void 0};else{let o;
vendor: 8,446 bytes, line 3
3this&&vn.useDeprecatedNextContext?(o=Object.create(n),o.unsubscribe=()=>this.unsubscribe(),r={next:n.next&&fh(n.next,o),error:n.error&&fh(n.error,o),complete:n.complete&&fh(n.complete,o)}):r=n}this.destination=new ph(r)}};function dc(e){vn.useDeprecatedSynchronousErrorHandling?cy(e):uc(e)}function _T(e){throw e}function hh(e,n){let{onStoppedNotification:t}=vn;t&&To.setTimeout(()=>t(e,n))}var yT={closed:!0,next:ri,error:_T,complete:ri};var Mo=typeof Symbol=="function"&&Symbol.observable||"@@observable";function ct(e){return e}function gh(...e){return mh(e)}function mh(e){return e.length===0?ct:e.length===1?e[0]:function(t){return e.reduce((i,r)=>r(i),t)}}var V=(()=>{class e{constructor(t){t&&(this._subscribe=t)}lift(t){let i=new e;return i.source=this,i.operator=t,i}subscribe(t,i,r){let o=DT(t)?t:new oi(t,i,r);return So(()=>{let{operator:s,source:a}=this;o.add(s?s.call(o,a):a?this._subscribe(o):this._trySubscribe(o))}),o}_trySubscribe(t){try{return this._subscribe(t)}catch(i){t.error(i)}}forEach(t,i){return i=uy(i),new i((r,o)=>{let s=new oi({next:a=>{try{t(a)}catch(l){o(l),s.unsubscribe()}},error:o,complete:r});this.subscribe(s)})}_subscribe(t){var i;return(i=this.source)===null||i===void 0?void 0:i.subscribe(t)}[Mo](){return this}pipe(...t){return mh(t)(this)}toPromise(t){return t=uy(t),new t((i,r)=>{let o;this.subscribe(s=>o=s,s=>r(s),()=>i(o))})}}return e.create=n=>new e(n),e})();function uy(e){var n;return(n=e??vn.Promise)!==null&&n!==void 0?n:Promise}function bT(e){return e&&P(e.next)&&P(e.error)&&P(e.complete)}function DT(e){return e&&e instanceof wr||bT(e)&&cc(e)}function vh(e){return P(e?.lift)}function F(e){return n=>{if(vh(n))return n.lift(function(t){try{return e(t,this)}catch(i){this.error(i)}});throw new TypeError("Unable to lift unknown Observable type")}}function R(e,n,t,i,r){return new _h(e,n,t,i,r)}var _h=class extends wr{constructor(n,t,i,r,o,s){super(n),this.onFinalize=o,this.shouldUnsubscribe=s,this._next=t?function(a){try{t(a)}catch(l){n.error(l)}}:super._next,this._error=r?function(a){try{r(a)}catch(l){n.error(l)}finally{this.unsubscribe()}}:super._error,this._complete=i?function(){try{i()}catch(a){n.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var n;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:t}=this;super.unsubscribe(),!t&&((n=this.onFinalize)===null||n===void 0||n.call(this))}}};function No(){return F((e,n)=>{let t=null;e._refCount++;let i=R(n,void 0,void 0,void 0,()=>{if(!e||e._refCount<=0||0<--e._refCount){t=null;return}let r=e._connection,o=t;t=null,r&&(!o||r===o)&&r.unsubscribe(),n.unsubscribe()});e.subscribe(i),i.closed||(t=e.connect())})}var Oo=class extends V{constructor(n,t){super(),this.source=n,this.subjectFactory=t,this._subject=null,this._refCount=0,this._connection=null,vh(n)&&(this.lift=n.lift)}_subscribe(n){return this.getSubject().subscribe(n)}getSubject(){let n=this._subject;return(!n||n.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:n}=this;this._subject=this._connection=null,n?.unsubscribe()}connect(){let n=this._connection;if(!n){n=this._connection=new De;let t=this.getSubject();n.add(this.source.subscribe(R(t,void 0,()=>{this._teardown(),t.complete()},i=>{this._teardown(),t.error(i)},()=>this._teardown()))),n.closed&&(this._connection=null,n=De.EMPTY)}return n}refCount(){return No()(this)}};var Ro={schedule(e){let n=requestAnimationFrame,t=cancelAnimationFrame,{delegate:i}=Ro;i&&(n=i.requestAnimationFrame,t=i.cancelAnimationFrame);let r=n(o=>{t=void 0,e(o)});return new De(()=>t?.(r))},requestAnimationFrame(...e){let{delegate:n}=Ro;return(n?.requestAnimationFrame||requestAnimationFrame)(...e)},cancelAnimationFrame(...e){let{delegate:n}=Ro;return(n?.cancelAnimationFrame||cancelAnimationFrame)(...e)},delegate:void 0};var dy=ji(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var B=(()=>{class e extends V{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(t){let i=new fc(this,this);return i.operator=t,i}_throwIfClosed(){if(this.closed)throw new dy}next(t){So(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let i of this.currentObservers)i.next(t)}})}error(t){So(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=t;let{observers:i}=this;for(;i.length;)i.shift().error(t)}})}complete(){So(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:t}=this;for(;t.length;)t.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var t;return((t=this.observers)===null||t===void 0?void 0:t.length)>0}_trySubscribe(t){return this._throwIfClosed(),super._trySubscribe(t)}_subscribe(t){return this._throwIfClosed(),this._checkFinalizedStatuses(t),this._innerSubscribe(t)}_innerSubscribe(t){let{hasError:i,isStopped:r,observers:o}=this;return i||r?uh:(this.currentObservers=null,o.push(t),new De(()=>{this.currentObservers=null,br(o,t)}))}_checkFinalizedStatuses(t){let{hasError:i,thrownError:r,isStopped:o}=this;i?t.error(r):o&&t.complete()}asObservable(){let t=new V;return t.source=this,t}}return e.create=(n,t)=>new fc(n,t),e})(),fc=class extends B{constructor(n,t){super(),this.destination=n,this.source=t}next(n){var t,i;(i=(t=this.destination)===null||t===void 0?void 0:t.next)===null||i===void 0||i.call(t,n)}error(n){var t,i;(i=(t=this.destination)===null||t===void 0?void 0:t.error)===null||i===void 0||i.call(t,n)}complete(){var n,t;(t=(n=this.destination)===null||n===void 0?void 0:n.complete)===null||t===void 0||t.call(n)}_subscribe(n){var t,i;return(i=(t=this.source)===null||t===void 0?void 0:t.subscribe(n))!==null&&i!==void 0?i:uh}};var Ke=class extends B{constructor(n){super(),this._value=n}get value(){return this.getValue()}_subscribe(n){let t=super._subscribe(n);return!t.closed&&n.next(this._value),t}getValue(){let{hasError:n,thrownError:t,_value:i}=this;if(n)throw t;return this._throwIfClosed(),i}next(n){super.next(this._value=n)}};var zs={now(){return(zs.delegate||Date).now()},delegate:void 0};var Ws=class extends B{constructor(n=1/0,t=1/0,i=zs){super(),this._bufferSize=n,this._windowTime=t,this._timestampProvider=i,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=t===1/0,this._bufferSize=Math.max(1,n),this._windowTime=Math.max(1,t)}next(n){let{isStopped:t,_buffer:i,_infiniteTimeWindow:r,_timestampProvider:o,_windowTime:s}=this;t||(i.push(n),!r&&i.push(o.now()+s)),this._trimBuffer(),super.next(n)}_subscribe(n){this._throwIfClosed(),this._trimBuffer();let t=this._innerSubscribe(n),{_infiniteTimeWindow:i,_buffer:r}=this,o=r.slice();for(let s=0;s<o.length&&!n.closed;s+=i?1:2)n.next(o[s]);return this._checkFinalizedStatuses(n),t}_trimBuffer(){let{_bufferSize:n,_timestampProvider:t,_buffer:i,_infiniteTimeWindow:r}=this,o=(r?1:2)*n;if(n<1/0&&o<i.length&&i.splice(0,i.length-o),!r){let s=t.now(),a=0;for(let l=1;l<i.length&&i[l]<=s;l+=2)a=l;a&&i.splice(0,a+1)}}};var hc=class extends De{constructor(n,t){super()}schedule(n,t=0){return this}};var qs={setInterval(e,n,...t){let{delegate:i}=qs;return i?.setInterval?i.setInterval(e,n,...t):setInterval(e,n,...t)},clearInterval(e){let{delegate:n}=qs;return(n?.clearInterval||clearInterval)(e)},delegate:void 0};var Vi=class extends hc{constructor(n,t){super(n,t),this.scheduler=n,this.work=t,this.pending=!1}schedule(n,t=0){var i;if(this.closed)return this;this.state=n;let r=this.id,o=this.scheduler;return r!=null&&(this.id=this.recycleAsyncId(o,r,t)),this.pending=!0,this.delay=t,this.id=(i=this.id)!==null&&i!==void 0?i:this.requestAsyncId(o,this.id,t),this}requestAsyncId(n,t,i=0){return qs.setInterval(n.flush.bind(n,this),i)}recycleAsyncId(n,t,i=0){if(i!=null&&this.delay===i&&this.pending===!1)return t;t!=null&&qs.clearInterval(t)}execute(n,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;let i=this._execute(n,t);if(i)return i;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(n,t){let i=!1,r;try{this.work(n)}catch(o){i=!0,r=o||new Error("Scheduled action threw falsy error")}if(i)return this.unsubscribe(),r}unsubscribe(){if(!this.closed){let{id:n,scheduler:t}=this,{actions:i}=t;
vendor: 5,126 bytes, line 3
3this.work=this.state=this.scheduler=null,this.pending=!1,br(i,this),n!=null&&(this.id=this.recycleAsyncId(t,n,null)),this.delay=null,super.unsubscribe()}}};var wT=1,yh,bh={};function fy(e){return e in bh?(delete bh[e],!0):!1}var hy={setImmediate(e){let n=wT++;return bh[n]=!0,yh||(yh=Promise.resolve()),yh.then(()=>fy(n)&&e()),n},clearImmediate(e){fy(e)}};var{setImmediate:CT,clearImmediate:ET}=hy,Zs={setImmediate(...e){let{delegate:n}=Zs;return(n?.setImmediate||CT)(...e)},clearImmediate(e){let{delegate:n}=Zs;return(n?.clearImmediate||ET)(e)},delegate:void 0};var pc=class extends Vi{constructor(n,t){super(n,t),this.scheduler=n,this.work=t}requestAsyncId(n,t,i=0){return i!==null&&i>0?super.requestAsyncId(n,t,i):(n.actions.push(this),n._scheduled||(n._scheduled=Zs.setImmediate(n.flush.bind(n,void 0))))}recycleAsyncId(n,t,i=0){var r;if(i!=null?i>0:this.delay>0)return super.recycleAsyncId(n,t,i);let{actions:o}=n;t!=null&&((r=o[o.length-1])===null||r===void 0?void 0:r.id)!==t&&(Zs.clearImmediate(t),n._scheduled===t&&(n._scheduled=void 0))}};var Ao=class e{constructor(n,t=e.now){this.schedulerActionCtor=n,this.now=t}schedule(n,t=0,i){return new this.schedulerActionCtor(this,n).schedule(i,t)}};Ao.now=zs.now;var Bi=class extends Ao{constructor(n,t=Ao.now){super(n,t),this.actions=[],this._active=!1}flush(n){let{actions:t}=this;if(this._active){t.push(n);return}let i;this._active=!0;do if(i=n.execute(n.state,n.delay))break;while(n=t.shift());if(this._active=!1,i){for(;n=t.shift();)n.unsubscribe();throw i}}};var gc=class extends Bi{flush(n){this._active=!0;let t=this._scheduled;this._scheduled=void 0;let{actions:i}=this,r;n=n||i.shift();do if(r=n.execute(n.state,n.delay))break;while((n=i[0])&&n.id===t&&i.shift());if(this._active=!1,r){for(;(n=i[0])&&n.id===t&&i.shift();)n.unsubscribe();throw r}}};var IT=new gc(pc);var en=new Bi(Vi),Dh=en;var mc=class extends Vi{constructor(n,t){super(n,t),this.scheduler=n,this.work=t}requestAsyncId(n,t,i=0){return i!==null&&i>0?super.requestAsyncId(n,t,i):(n.actions.push(this),n._scheduled||(n._scheduled=Ro.requestAnimationFrame(()=>n.flush(void 0))))}recycleAsyncId(n,t,i=0){var r;if(i!=null?i>0:this.delay>0)return super.recycleAsyncId(n,t,i);let{actions:o}=n;t!=null&&t===n._scheduled&&((r=o[o.length-1])===null||r===void 0?void 0:r.id)!==t&&(Ro.cancelAnimationFrame(t),n._scheduled=void 0)}};var vc=class extends Bi{flush(n){this._active=!0;let t;n?t=n.id:(t=this._scheduled,this._scheduled=void 0);let{actions:i}=this,r;n=n||i.shift();do if(r=n.execute(n.state,n.delay))break;while((n=i[0])&&n.id===t&&i.shift());if(this._active=!1,r){for(;(n=i[0])&&n.id===t&&i.shift();)n.unsubscribe();throw r}}};var TT=new vc(mc);var Le=new V(e=>e.complete());function _c(e){return e&&P(e.schedule)}function wh(e){return e[e.length-1]}function Hi(e){return P(wh(e))?e.pop():void 0}function jn(e){return _c(wh(e))?e.pop():void 0}function py(e,n){return typeof wh(e)=="number"?e.pop():n}function my(e,n,t,i){function r(o){return o instanceof t?o:new t(function(s){s(o)})}return new(t||(t=Promise))(function(o,s){function a(u){try{c(i.next(u))}catch(d){s(d)}}function l(u){try{c(i.throw(u))}catch(d){s(d)}}function c(u){u.done?o(u.value):r(u.value).then(a,l)}c((i=i.apply(e,n||[])).next())})}function gy(e){var n=typeof Symbol=="function"&&Symbol.iterator,t=n&&e[n],i=0;if(t)return t.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&i>=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")}function Cr(e){return this instanceof Cr?(this.v=e,this):new Cr(e)}function vy(e,n,t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i=t.apply(e,n||[]),r,o=[];return r=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",s),r[Symbol.asyncIterator]=function(){return this},r;function s(f){return function(p){return Promise.resolve(p).then(f,d)}}function a(f,p){i[f]&&(r[f]=function(v){return new Promise(function(_,b){o.push([f,v,_,b])>1||l(f,v)})},p&&(r[f]=p(r[f])))}function l(f,p){try{c(i[f](p))}catch(v){h(o[0][3],v)}}function c(f){f.value instanceof Cr?Promise.resolve(f.value.v).then(u,d):h(o[0][2],f)}function u(f){l("next",f)}function d(f){l("throw",f)}function h(f,p){f(p),o.shift(),o.length&&l(o[0][0],o[0][1])}}function _y(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=e[Symbol.asyncIterator],t;return n?n.call(e):(e=typeof gy=="function"?gy(e):e[Symbol.iterator](),t={},i("next"),i("throw"),i("return"),t[Symbol.asyncIterator]=function(){return this},t);function i(o){t[o]=e[o]&&function(s){return new Promise(function(a,l){s=e[o](s),r(a,l,s.done,s.value)})}}function r(o,s,a,l){Promise.resolve(l).then(function(c){o({value:c,done:a})},s)}}var xo=e=>e&&typeof e.length=="number"&&typeof e!="function";function yc(e){return P(e?.then)}function bc(e){return P(e[Mo])}function Dc(e){return Symbol.asyncIterator&&P(e?.[Symbol.asyncIterator])}function wc(e){return new TypeError(`You provided ${e!==null&&typeof e=="object"?"an invali
3d object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function ST(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Cc=ST();function Ec(e){return P(e?.[Cc])}function Ic(e){return vy(this,arguments,function*(){let t=e.getReader();try{for(;;){let{value:i,done:r}=yield Cr(t.read());if(r)return yield Cr(void 0);yield yield Cr(i)}}finally{t.releaseLock()}})}function Tc(e){return P(e?.getReader)}function q(e){if(e instanceof V)return e;if(e!=null){if(bc(e))return MT(e);if(xo(e))return NT(e);if(yc(e))return OT(e);if(Dc(e))return yy(e);if(Ec(e))return RT(e);if(Tc(e))return AT(e)}throw wc(e)}function MT(e){return new V(n=>{let t=e[Mo]();if(P(t.subscribe))return t.subscribe(n);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function NT(e){return new V(n=>{for(let t=0;t<e.length&&!n.closed;t++)n.next(e[t]);n.complete()})}function OT(e){return new V(n=>{e.then(t=>{n.closed||(n.next(t),n.complete())},t=>n.error(t)).then(null,uc)})}function RT(e){return new V(n=>{for(let t of e)if(n.next(t),n.closed)return;n.complete()})}function yy(e){return new V(n=>{xT(e,n).catch(t=>n.error(t))})}function AT(e){return yy(Ic(e))}function xT(e,n){var t,i,r,o;return my(this,void 0,void 0,function*(){try{for(t=_y(e);i=yield t.next(),!i.done;){let s=i.value;if(n.next(s),n.closed)return}}catch(s){r={error:s}}
vendor: 9,965 bytes, line 3
3finally{try{i&&!i.done&&(o=t.return)&&(yield o.call(t))}finally{if(r)throw r.error}}n.complete()})}function yt(e,n,t,i=0,r=!1){let o=n.schedule(function(){t(),r?e.add(this.schedule(null,i)):this.unsubscribe()},i);if(e.add(o),!r)return o}function Ys(e,n=0){return F((t,i)=>{t.subscribe(R(i,r=>yt(i,e,()=>i.next(r),n),()=>yt(i,e,()=>i.complete(),n),r=>yt(i,e,()=>i.error(r),n)))})}function Sc(e,n=0){return F((t,i)=>{i.add(e.schedule(()=>t.subscribe(i),n))})}function by(e,n){return q(e).pipe(Sc(n),Ys(n))}function Dy(e,n){return q(e).pipe(Sc(n),Ys(n))}function wy(e,n){return new V(t=>{let i=0;return n.schedule(function(){i===e.length?t.complete():(t.next(e[i++]),t.closed||this.schedule())})})}function Cy(e,n){return new V(t=>{let i;return yt(t,n,()=>{i=e[Cc](),yt(t,n,()=>{let r,o;try{({value:r,done:o}=i.next())}catch(s){t.error(s);return}o?t.complete():t.next(r)},0,!0)}),()=>P(i?.return)&&i.return()})}function Mc(e,n){if(!e)throw new Error("Iterable cannot be null");return new V(t=>{yt(t,n,()=>{let i=e[Symbol.asyncIterator]();yt(t,n,()=>{i.next().then(r=>{r.done?t.complete():t.next(r.value)})},0,!0)})})}function Ey(e,n){return Mc(Ic(e),n)}function Iy(e,n){if(e!=null){if(bc(e))return by(e,n);if(xo(e))return wy(e,n);if(yc(e))return Dy(e,n);if(Dc(e))return Mc(e,n);if(Ec(e))return Cy(e,n);if(Tc(e))return Ey(e,n)}throw wc(e)}function fe(e,n){return n?Iy(e,n):q(e)}function I(...e){let n=jn(e);return fe(e,n)}function tn(e,n){let t=P(e)?e:()=>e,i=r=>r.error(t());return new V(n?r=>n.schedule(i,0,r):i)}function _n(e){return!!e&&(e instanceof V||P(e.lift)&&P(e.subscribe))}var si=ji(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function Nc(e){return e instanceof Date&&!isNaN(e)}var PT=ji(e=>function(t=null){e(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=t});function kT(e,n){let{first:t,each:i,with:r=FT,scheduler:o=n??en,meta:s=null}=Nc(e)?{first:e}:typeof e=="number"?{each:e}:e;if(t==null&&i==null)throw new TypeError("No timeout provided.");return F((a,l)=>{let c,u,d=null,h=0,f=p=>{u=yt(l,o,()=>{try{c.unsubscribe(),q(r({meta:s,lastValue:d,seen:h})).subscribe(l)}catch(v){l.error(v)}},p)};c=a.subscribe(R(l,p=>{u?.unsubscribe(),h++,l.next(d=p),i>0&&f(i)},void 0,void 0,()=>{u?.closed||u?.unsubscribe(),d=null})),!h&&f(t!=null?typeof t=="number"?t:+t-o.now():i)})}function FT(e){throw new PT(e)}function N(e,n){return F((t,i)=>{let r=0;t.subscribe(R(i,o=>{i.next(e.call(n,o,r++))}))})}var{isArray:LT}=Array;function jT(e,n){return LT(n)?e(...n):e(n)}function Po(e){return N(n=>jT(e,n))}var{isArray:VT}=Array,{getPrototypeOf:BT,prototype:HT,keys:UT}=Object;function Oc(e){if(e.length===1){let n=e[0];if(VT(n))return{args:n,keys:null};if($T(n)){let t=UT(n);return{args:t.map(i=>n[i]),keys:t}}}return{args:e,keys:null}}function $T(e){return e&&typeof e=="object"&&BT(e)===HT}function Rc(e,n){return e.reduce((t,i,r)=>(t[i]=n[r],t),{})}function ko(...e){let n=jn(e),t=Hi(e),{args:i,keys:r}=Oc(e);if(i.length===0)return fe([],n);let o=new V(GT(i,n,r?s=>Rc(r,s):ct));return t?o.pipe(Po(t)):o}function GT(e,n,t=ct){return i=>{Ty(n,()=>{let{length:r}=e,o=new Array(r),s=r,a=r;for(let l=0;l<r;l++)Ty(n,()=>{let c=fe(e[l],n),u=!1;c.subscribe(R(i,d=>{o[l]=d,u||(u=!0,a--),a||i.next(t(o.slice()))},()=>{--s||i.complete()}))},i)},i)}}function Ty(e,n,t){e?yt(t,e,n):n()}function Sy(e,n,t,i,r,o,s,a){let l=[],c=0,u=0,d=!1,h=()=>{d&&!l.length&&!c&&n.complete()},f=v=>c<i?p(v):l.push(v),p=v=>{o&&n.next(v),c++;let _=!1;q(t(v,u++)).subscribe(R(n,b=>{r?.(b),o?f(b):n.next(b)},()=>{_=!0},void 0,()=>{if(_)try{for(c--;l.length&&c<i;){let b=l.shift();s?yt(n,s,()=>p(b)):p(b)}h()}catch(b){n.error(b)}}))};return e.subscribe(R(n,f,()=>{d=!0,h()})),()=>{a?.()}}function he(e,n,t=1/0){return P(n)?he((i,r)=>N((o,s)=>n(i,o,r,s))(q(e(i,r))),t):(typeof n=="number"&&(t=n),F((i,r)=>Sy(i,r,e,t)))}function Vn(e=1/0){return he(ct,e)}function My(){return Vn(1)}function Wt(...e){return My()(fe(e,jn(e)))}function Ui(e){return new V(n=>{q(e()).subscribe(n)})}function Qs(...e){let n=Hi(e),{args:t,keys:i}=Oc(e),r=new V(o=>{let{length:s}=t;if(!s){o.complete();return}let a=new Array(s),l=s,c=s;for(let u=0;u<s;u++){let d=!1;q(t[u]).subscribe(R(o,h=>{d||(d=!0,c--),a[u]=h},()=>l--,void 0,()=>{(!l||!d)&&(c||o.next(i?Rc(i,a):a),o.complete())}))}});return n?r.pipe(Po(n)):r}var zT=["addListener","removeListener"],WT=["addEventListener","removeEventListener"],qT=["on","off"];function ut(e,n,t,i){if(P(t)&&(i=t,t=void 0),i)return ut(e,n,t).pipe(Po(i));let[r,o]=QT(e)?WT.map(s=>a=>e[s](n,a,t)):ZT(e)?zT.map(Ny(e,n)):YT(e)?qT.map(Ny(e,n)):[];if(!r&&xo(e))return he(s=>ut(s,n,t))(q(e));if(!r)throw new TypeError("Invalid event target");return new V(s=>{let a=(...l)=>s.next(1<l.length?l:l[0]);return r(a),()=>o(a)})}function Ny(e,n){return t=>i=>e[t](n,i)}function ZT(e){return P(e.addListener)&&P(e.removeListener)}function YT(e){return P(e.on)&&P(e.off)}function QT(e){return P(e.addEventListener)&&P(e.removeEventListener)}function ai(e=0,n,t=Dh){let i=-1;return n!=null&&(_c(n)?t=n:i=n),new V(r=>{let o=Nc(e)?+e-t.now():e;o<0&&(o=0);let s=0;return t.schedule(function(){r.closed||(r.next(s++),0<=i?this.schedule(void 0,i):r.complete())},o)})}function Ac(...e){let n=jn(e),t=py(e,1/0),i=e;return i.length?i.length===1?q(i[0]):Vn(t)(fe(i,n)):Le}var{isArray:JT}=Array;function xc(e){return e.length===1&&JT(e[0])?e[0]:e}function ae(e,n){return F((t,i)=>{let r=0;t.subscribe(R(i,o=>e.call(n,o,r++)&&i.next(o)))})}function Pc(...e){return e=xc(e),e.length===1?q(e[0]):new V(KT(e))}function KT(e){return n=>{let t=[];for(let i=0;t&&!n.closed&&i<e.length;i++)t.push(q(e[i]).subscribe(R(n,r=>{if(t){for(let o=0;o<t.length;o++)o!==i&&t[o].unsubscribe();t=null}n.next(r)})))}}function Js(...e){let n=Hi(e),t=xc(e);return t.length?new V(i=>{let r=t.map(()=>[]),o=t.map(()=>!1);i.add(()=>{r=o=null});for(let s=0;!i.closed&&s<t.length;s++)q(t[s]).subscribe(R(i,a=>{if(r[s].push(a),r.every(l=>l.length)){let l=r.map(c=>c.shift());i.next(n?n(...l):l),r.some((c,u)=>!c.length&&o[u])&&i.complete()}},()=>{o[s]=!0,!r[s].length&&i.complete()}));return()=>{r=o=null}}):Le}function Oy(e){return F((n,t)=>{let i=!1,r=null,o=null,s=!1,a=()=>{if(o?.unsubscribe(),o=null,i){i=!1;let c=r;r=null,t.next(c)}s&&t.complete()},l=()=>{o=null,s&&t.complete()};n.subscribe(R(t,c=>{i=!0,r=c,o||q(e(c)).subscribe(o=R(t,a,l))},()=>{s=!0,(!i||!o||o.closed)&&t.complete()}))})}function XT(e,n=en){return Oy(()=>ai(e,n))}function At(e){return F((n,t)=>{let i=null,r=!1,o;i=n.subscribe(R(t,void 0,void 0,s=>{o=q(e(s,At(e)(n))),i?(i.unsubscribe(),i=null,o.subscribe(t)):r=!0})),r&&(i.unsubscribe(),i=null,o.subscribe(t))})}function Ry(e,n,t,i,r){return(o,s)=>{let a=t,l=n,c=0;o.subscribe(R(s,u=>{let d=c++;l=a?e(l,u,d):(a=!0,u),i&&s.next(l)},r&&(()=>{a&&s.next(l),s.complete()})))}}function nn(e,n){return P(n)?he(e,n,1):he(e,1)}function eS(e,n=en){return F((t,i)=>{let r=null,o=null,s=null,a=()=>{if(r){r.unsubscribe(),r=null;let c=o;o=null,i.next(c)}};function l(){let c=s+e,u=n.now();if(u<c){r=this.schedule(void 0,c-u),i.add(r);return}a()}t.subscribe(R(i,c=>{o=c,s=n.now(),r||(r=n.schedule(l,e),i.add(r))},()=>{a(),i.complete()},void 0,()=>{o=r=null}))})}function $i(e){return F((n,t)=>{let i=!1;n.subscribe(R(t,r=>{i=!0,t.next(r)},()=>{i||t.next(e),t.complete()}))})}function we(e){return e<=0?()=>Le:F((n,t)=>{let i=0;n.subscribe(R(t,r=>{++i<=e&&(t.next(r),e<=i&&t.complete())}))})}function Ay(){return F((e,n)=>{e.subscribe(R(n,ri))})}function Ch(e){return N(()=>e)}function Eh(e,n){return n?t=>Wt(n.pipe(we(1),Ay()),t.pipe(Eh(e))):he((t,i)=>q(e(t,i)).pipe(we(1),Ch(t)))}function kc(e,n=en){let t=ai(e,n);return Eh(()=>t)}function xy(e,n=ct){return e=e??tS,F((t,i)=>{let r,o=!0;t.subscribe(R(i,s=>{let a=n(s);(o||!e(r,a))&&(o=!1,r=a,i.next(s))}))})}function tS(e,n){return e===n}function Fc(e=nS){return F((n,t)=>{let i=!1;n.subscribe(R(t,r=>{i=!0,t.next(r)},()=>i?t.complete():t.error(e())))})}function nS(){return new si}function Ih(...e){return n=>Wt(n,I(...e))}function li(e){return F((n,t)=>{try{n.subscribe(t)}finally{t.add(e)}})}function ci(e,n){let t=arguments.length>=2;return i=>i.pipe(e?ae((r,o)=>e(r,o,i)):ct,we(1),t?$i(n):Fc(()=>new si))}function Fo(e){return e<=0?()=>Le:F((n,t)=>{let i=[];n.subscribe(R(t,r=>{i.push(r),e<i.length&&i.shift()},()=>{for(let r of i)t.next(r);t.complete()},void 0,()=>{i=null}))})}function Th(e,n){let t=arguments.length>=2;return i=>i.pipe(e?ae((r,o)=>e(r,o,i)):ct,Fo(1),t?$i(n):Fc(()=>new si))}function Sh(e,n){return F(Ry(e,n,arguments.length>=2,!0))}function Er(e={}){let{connector:n=()=>new B,resetOnError:t=!0,resetOnComplete:i=!0,resetOnRefCountZero:r=!0}=e;return o=>{let s,a,l,c=0,u=!1,d=!1,h=()=>{a?.unsubscribe(),a=void 0},f=()=>{h(),s=l=void 0,u=d=!1},p=()=>{let v=s;f(),v?.unsubscribe()};return F((v,_)=>{c++,!d&&!u&&h();let b=l=l??n();_.add(()=>{c--,c===0&&!d&&!u&&(a=Mh(p,r))}),b.subscribe(_),!s&&c>0&&(s=new oi({next:T=>b.next(T),error:T=>{d=!0,h(),a=Mh(f,t,T),b.error(T)},complete:()=>{u=!0,h(),a=Mh(f,i),b.complete()}}),q(v).subscribe(s))})(o)}}function Mh(e,n,...t){if(n===!0){e();return}if(n===!1)return;let i=new oi({next:()=>{i.unsubscribe(),e()}});return q(n(...t)).subscribe(i)}function Ks(e,n,t){let i,r=!1;return e&&typeof e=="object"?{bufferSize:i=1/0,windowTime:n=1/0,refCount:r=!1,scheduler:t}=e:i=e??1/0,Er({connector:()=>new Ws(i,n,t),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:r})}function Lc(...e){let n=jn(e);return F((t,i)=>{(n?Wt(e,t,n):Wt(e,t)).subscribe(i)})}function Ne(e,n){return F((t,i)=>{let r=null,o=0,s=!1,a=()=>s&&!r&&i.complete();t.subscribe(R(i,l=>{r?.unsubscribe();let c=0,u=o++;q(e(l,u)).subscribe(r=R(i,d=>i.next(n?n(l,d,u,c++):d),()=>{r=null,a()}))},()=>{s=!0,a()}))})}function Me(e){return F((n,t)=>{q(e).subscribe(R(t,()=>t.complete(),ri)),!t.closed&&n.subscribe(t)})}function Ce(e,n,t){let i=P(e)||n||t?{next:e,error:n,complete:t}:e;return i?F((r,o)=>{var s;(s=i.subscribe)===null||s===void 0||s.call(i);let a=!0;r.subscribe(R(o,l=>{var c;
3(c=i.next)===null||c===void 0||c.call(i,l),o.next(l)},()=>{var l;a=!1,(l=i.complete)===null||l===void 0||l.call(i),o.complete()},l=>{var c;a=!1,(c=i.error)===null||c===void 0||c.call(i,l),o.error(l)},()=>{var l,c;a&&((l=i.unsubscribe)===null||l===void 0||l.call(i)),(c=i.finalize)===null||c===void 0||c.call(i)}))}):ct}function Py(e,n){return F((t,i)=>{let{leading:r=!0,trailing:o=!1}=n??{},s=!1,a=null,l=null,c=!1,u=()=>{l?.unsubscribe(),l=null,o&&(f(),c&&i.complete())},d=()=>{l=null,c&&i.complete()},h=p=>l=q(e(p)).subscribe(R(i,u,d)),f=()=>{if(s){s=!1;let p=a;a=null,i.next(p),!c&&h(p)}};t.subscribe(R(i,p=>{s=!0,a=p,!(l&&!l.closed)&&(r?f():h(p))},()=>{c=!0,!(o&&s&&l&&!l.closed)&&i.complete()}))})}function iS(e,n=en,t){let i=ai(e,n);return Py(()=>i,t)}function Xs(...e){let n=Hi(e);return F((t,i)=>{let r=e.length,o=new Array(r),s=e.map(()=>!1),a=!1;for(let l=0;l<r;l++)q(e[l]).subscribe(R(i,c=>{o[l]=c,!a&&!s[l]&&(s[l]=!0,(a=s.every(ct))&&(s=null))},ri));t.subscribe(R(i,l=>{if(a){let c=[l,...o];i.next(n?n(...c):c)}}))})}function ky(e){let n=U(null);try{return e()}finally{U(n)}}var Uc="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",C=class extends Error{code;constructor(n,t){super(hi(n,t)),this.code=n}};function rS(e){return`NG0${Math.abs(e)}`}function hi(e,n){return`${rS(e)}${n?": "+n:""}`}var je=globalThis;function le(e){for(let n in e)if(e[n]===le)return n;throw Error("")}function jy(e,n){for(let t in n)n.hasOwnProperty(t)&&!e.hasOwnProperty(t)&&(e[t]=n[t])}function di(e){if(typeof e=="string")return e;if(Array.isArray(e))return`[${e.map(di).join(", ")}]`;if(e==null)return""+e;let n=e.overriddenName||e.name;if(n)return`${n}`;let t=e.toString();if(t==null)return""+t;let i=t.indexOf(`
4`);return i>=0?t.slice(0,i):t}function $c(e,n){return e?n?`${e} ${n}`:e:n||""}var oS=le({__forward_ref__:le});function Ee(e){return e.__forward_ref__=Ee,e.toString=function(){return di(this())},e}function dt(e){return Hh(e)?e():e}function Hh(e){return typeof e=="function"&&e.hasOwnProperty(oS)&&e.__forward_ref__===Ee}function Vy(e,n){e==null&&Uh(n,e,null,"!=")}function Uh(e,n,t,i){throw new Error(`ASSERTION ERROR: ${e}`+(i==null?"":` [Expected=> ${t} ${i} ${n} <=Actual]`))}function y(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Q(e){return{providers:e.providers||[],imports:e.imports||[]}}function ra(e){return sS(e,Gc)}function $h(e){return ra(e)!==null}function sS(e,n){return e.hasOwnProperty(n)&&e[n]||null}function aS(e){let n=e?.[Gc]??null;return n||null}function Oh(e){return e&&e.hasOwnProperty(Vc)?e[Vc]:null}var Gc=le({\u0275prov:le}),Vc=le({\u0275inj:le}),E=class{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(n,t){this._desc=n,this.\u0275prov=void 0,typeof t=="number"?this.__NG_ELEMENT_ID__=t:t!==void 0&&(this.\u0275prov=y({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function Gh(e){return e&&!!e.\u0275providers}var zh=le({\u0275cmp:le}),Wh=le({\u0275dir:le}),qh=le({\u0275pipe:le}),Zh=le({\u0275mod:le}),na=le({\u0275fac:le}),Nr=le({__NG_ELEMENT_ID__:le}),Fy=le({__NG_ENV_ID__:le});function rn(e){return typeof e=="string"?e:e==null?"":String(e)}function Bc(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():rn(e)}var Yh=le({ngErrorCode:le}),By=le({ngErrorMessage:le}),ta=le({ngTokenPath:le});function Qh(e,n){return Hy("",-200,n)}
vendor: 9,154 bytes, line 4
4function zc(e,n){throw new C(-201,!1)}function lS(e,n){e[ta]??=[];let t=e[ta],i;typeof n=="object"&&"multi"in n&&n?.multi===!0?(Vy(n.provide,"Token with multi: true should have a provide property"),i=Bc(n.provide)):i=Bc(n),t[0]!==i&&e[ta].unshift(i)}function cS(e,n){let t=e[ta],i=e[Yh],r=e[By]||e.message;return e.message=dS(r,i,t,n),e}function Hy(e,n,t){let i=new C(n,e);return i[Yh]=n,i[By]=e,t&&(i[ta]=t),i}function uS(e){return e[Yh]}function dS(e,n,t=[],i=null){let r="";t&&t.length>1&&(r=` Path: ${t.join(" -> ")}.`);let o=i?` Source: ${i}.`:"";return hi(n,`${e}${o}${r}`)}var Rh;function Uy(){return Rh}function Ct(e){let n=Rh;return Rh=e,n}function Jh(e,n,t){let i=ra(e);if(i&&i.providedIn=="root")return i.value===void 0?i.value=i.factory():i.value;if(t&8)return null;if(n!==void 0)return n;zc(e,"Injector")}var fS={},Ir=fS,Ah="__NG_DI_FLAG__",xh=class{injector;constructor(n){this.injector=n}retrieve(n,t){let i=Tr(t)||0;try{return this.injector.get(n,i&8?null:Ir,i)}catch(r){if(bo(r))return r;throw r}}};function hS(e,n=0){let t=Jl();if(t===void 0)throw new C(-203,!1);if(t===null)return Jh(e,void 0,n);{let i=pS(n),r=t.retrieve(e,i);if(bo(r)){if(i.optional)return null;throw r}return r}}function D(e,n=0){return(Uy()||hS)(dt(e),n)}function g(e,n){return D(e,Tr(n))}function Tr(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function pS(e){return{optional:!!(e&8),host:!!(e&1),self:!!(e&2),skipSelf:!!(e&4)}}function Ph(e){let n=[];for(let t=0;t<e.length;t++){let i=dt(e[t]);if(Array.isArray(i)){if(i.length===0)throw new C(900,!1);let r,o=0;for(let s=0;s<i.length;s++){let a=i[s],l=gS(a);typeof l=="number"?l===-1?r=a.token:o|=l:r=a}n.push(D(r,o))}else n.push(D(i))}return n}function Kh(e,n){return e[Ah]=n,e.prototype[Ah]=n,e}function gS(e){return e[Ah]}function Gi(e,n){let t=e.hasOwnProperty(na);return t?e[na]:null}function $y(e,n,t){if(e.length!==n.length)return!1;for(let i=0;i<e.length;i++){let r=e[i],o=n[i];if(t&&(r=t(r),o=t(o)),o!==r)return!1}return!0}function Gy(e){return e.flat(Number.POSITIVE_INFINITY)}function Wc(e,n){e.forEach(t=>Array.isArray(t)?Wc(t,n):n(t))}function Xh(e,n,t){n>=e.length?e.push(t):e.splice(n,0,t)}function oa(e,n){return n>=e.length-1?e.pop():e.splice(n,1)[0]}function zy(e,n){let t=[];for(let i=0;i<e;i++)t.push(n);return t}function Wy(e,n,t,i){let r=e.length;if(r==n)e.push(t,i);else if(r===1)e.push(i,e[0]),e[0]=t;else{for(r--,e.push(e[r-1],e[r]);r>n;){let o=r-2;e[r]=e[o],r--}e[n]=t,e[n+1]=i}}function sa(e,n,t){let i=jo(e,n);return i>=0?e[i|1]=t:(i=~i,Wy(e,i,n,t)),i}function qc(e,n){let t=jo(e,n);if(t>=0)return e[t|1]}function jo(e,n){return mS(e,n,1)}function mS(e,n,t){let i=0,r=e.length>>t;for(;r!==i;){let o=i+(r-i>>1),s=e[o<<t];if(n===s)return o<<t;s>n?r=o:i=o+1}return~(r<<t)}var Wi={},Et=[],pi=new E(""),ep=new E("",-1),tp=new E(""),ia=class{get(n,t=Ir){if(t===Ir){let r=Hy("",-201);throw r.name="\u0275NotFound",r}return t}};function np(e){return e[Zh]||null}function Bn(e){return e[zh]||null}function ip(e){return e[Wh]||null}function qy(e){return e[qh]||null}function Or(e){return{\u0275providers:e}}function Zy(...e){return{\u0275providers:rp(!0,e),\u0275fromNgModule:!0}}function rp(e,...n){let t=[],i=new Set,r,o=s=>{t.push(s)};return Wc(n,s=>{let a=s;Hc(a,o,[],i)&&(r||=[],r.push(a))}),r!==void 0&&Yy(r,o),t}function Yy(e,n){for(let t=0;t<e.length;t++){let{ngModule:i,providers:r}=e[t];op(r,o=>{n(o,i)})}}function Hc(e,n,t,i){if(e=dt(e),!e)return!1;let r=null,o=Oh(e),s=!o&&Bn(e);if(!o&&!s){let l=e.ngModule;if(o=Oh(l),o)r=l;else return!1}else{if(s&&!s.standalone)return!1;r=e}let a=i.has(r);if(s){if(a)return!1;if(i.add(r),s.dependencies){let l=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let c of l)Hc(c,n,t,i)}}else if(o){if(o.imports!=null&&!a){i.add(r);let c;try{Wc(o.imports,u=>{Hc(u,n,t,i)&&(c||=[],c.push(u))})}finally{}c!==void 0&&Yy(c,n)}if(!a){let c=Gi(r)||(()=>new r);n({provide:r,useFactory:c,deps:Et},r),n({provide:tp,useValue:r,multi:!0},r),n({provide:pi,useValue:()=>D(r),multi:!0},r)}let l=o.providers;if(l!=null&&!a){let c=e;op(l,u=>{n(u,c)})}}else return!1;return r!==e&&e.providers!==void 0}function op(e,n){for(let t of e)Gh(t)&&(t=t.\u0275providers),Array.isArray(t)?op(t,n):n(t)}var vS=le({provide:String,useValue:le});function Qy(e){return e!==null&&typeof e=="object"&&vS in e}function _S(e){return!!(e&&e.useExisting)}function yS(e){return!!(e&&e.useFactory)}function Sr(e){return typeof e=="function"}function Jy(e){return!!e.useClass}var aa=new E(""),jc={},Ly={},Nh;function Vo(){return Nh===void 0&&(Nh=new ia),Nh}var Pe=class{},Mr=class extends Pe{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(n,t,i,r){super(),this.parent=t,this.source=i,this.scopes=r,Fh(n,s=>this.processProvider(s)),this.records.set(ep,Lo(void 0,this)),r.has("environment")&&this.records.set(Pe,Lo(void 0,this));let o=this.records.get(aa);o!=null&&typeof o.value=="string"&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(tp,Et,{self:!0}))}retrieve(n,t){let i=Tr(t)||0;try{return this.get(n,Ir,i)}catch(r){if(bo(r))return r;throw r}}destroy(){ea(this),this._destroyed=!0;let n=U(null);try{for(let i of this._ngOnDestroyHooks)i.ngOnDestroy();let t=this._onDestroyHooks;this._onDestroyHooks=[];for(let i of t)i()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),U(n)}}onDestroy(n){return ea(this),this._onDestroyHooks.push(n),()=>this.removeOnDestroy(n)}runInContext(n){ea(this);let t=Ln(this),i=Ct(void 0),r;try{return n()}finally{Ln(t),Ct(i)}}get(n,t=Ir,i){if(ea(this),n.hasOwnProperty(Fy))return n[Fy](this);let r=Tr(i),o,s=Ln(this),a=Ct(void 0);try{if(!(r&4)){let c=this.records.get(n);if(c===void 0){let u=ES(n)&&ra(n);u&&this.injectableDefInScope(u)?c=Lo(kh(n),jc):c=null,this.records.set(n,c)}if(c!=null)return this.hydrate(n,c,r)}let l=r&2?Vo():this.parent;return t=r&8&&t===Ir?null:t,l.get(n,t)}catch(l){let c=uS(l);throw c===-200||c===-201?new C(c,null):l}finally{Ct(a),Ln(s)}}resolveInjectorInitializers(){let n=U(null),t=Ln(this),i=Ct(void 0),r;try{let o=this.get(pi,Et,{self:!0});for(let s of o)s()}finally{Ln(t),Ct(i),U(n)}}toString(){let n=[],t=this.records;for(let i of t.keys())n.push(di(i));return`R3Injector[${n.join(", ")}]`}processProvider(n){n=dt(n);let t=Sr(n)?n:dt(n&&n.provide),i=DS(n);if(!Sr(n)&&n.multi===!0){let r=this.records.get(t);r||(r=Lo(void 0,jc,!0),r.factory=()=>Ph(r.multi),this.records.set(t,r)),t=n,r.multi.push(n)}this.records.set(t,i)}hydrate(n,t,i){let r=U(null);try{if(t.value===Ly)throw Qh(di(n));return t.value===jc&&(t.value=Ly,t.value=t.factory(void 0,i)),typeof t.value=="object"&&t.value&&CS(t.value)&&this._ngOnDestroyHooks.add(t.value),t.value}finally{U(r)}}injectableDefInScope(n){if(!n.providedIn)return!1;let t=dt(n.providedIn);return typeof t=="string"?t==="any"||this.scopes.has(t):this.injectorDefTypes.has(t)}removeOnDestroy(n){let t=this._onDestroyHooks.indexOf(n);t!==-1&&this._onDestroyHooks.splice(t,1)}};function kh(e){let n=ra(e),t=n!==null?n.factory:Gi(e);if(t!==null)return t;if(e instanceof E)throw new C(204,!1);if(e instanceof Function)return bS(e);throw new C(204,!1)}function bS(e){if(e.length>0)throw new C(204,!1);let t=aS(e);return t!==null?()=>t.factory(e):()=>new e}function DS(e){if(Qy(e))return Lo(void 0,e.useValue);{let n=sp(e);return Lo(n,jc)}}function sp(e,n,t){let i;if(Sr(e)){let r=dt(e);return Gi(r)||kh(r)}else if(Qy(e))i=()=>dt(e.useValue);else if(yS(e))i=()=>e.useFactory(...Ph(e.deps||[]));else if(_S(e))i=(r,o)=>D(dt(e.useExisting),o!==void 0&&o&8?8:void 0);else{let r=dt(e&&(e.useClass||e.provide));if(wS(e))i=()=>new r(...Ph(e.deps));else return Gi(r)||kh(r)}return i}function ea(e){if(e.destroyed)throw new C(205,!1)}function Lo(e,n,t=!1){return{factory:e,value:n,multi:t?[]:void 0}}function wS(e){return!!e.deps}function CS(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function ES(e){return typeof e=="function"||typeof e=="object"&&e.ngMetadataName==="InjectionToken"}function Fh(e,n){for(let t of e)Array.isArray(t)?Fh(t,n):t&&Gh(t)?Fh(t.\u0275providers,n):n(t)}function Xe(e,n){let t;e instanceof Mr?(ea(e),t=e):t=new xh(e);let i,r=Ln(t),o=Ct(void 0);try{return n()}finally{Ln(r),Ct(o)}}function ap(){return Uy()!==void 0||Jl()!=null}var on=0,x=1,$=2,Ge=3,sn=4,It=5,Rr=6,Bo=7,Oe=8,Ar=9,Hn=10,ue=11,Ho=12,lp=13,xr=14,bt=15,qi=16,Pr=17,Un=18,la=19,cp=20,ui=21,Zc=22,ca=23,qt=24,kr=25,_e=26,up=1,dp=6,Zi=7,ua=8,Fr=9,et=10;function $n(e){return Array.isArray(e)&&typeof e[up]=="object"}function bn(e){return Array.isArray(e)&&e[up]===!0}function fp(e){return(e.flags&4)!==0}function Yi(e){return e.componentOffset>-1}function Uo(e){return(e.flags&1)===1}function Dn(e){return!!e.template}function $o(e){return(e[$]&512)!==0}function Lr(e){return(e[$]&256)===256}var hp="svg",Ky="math";function an(e){for(;Array.isArray(e);)e=e[on];return e}function pp(e){for(;Array.isArray(e);){if(typeof e[up]=="object")return e;e=e[on]}return null}function gp(e,n){return an(n[e])}function wn(e,n){return an(n[e.index])}
vendor: 19,396 bytes, line 4
4function da(e,n){return e.data[n]}function fa(e,n){return e[n]}function mp(e,n,t,i){t>=e.data.length&&(e.data[t]=null,e.blueprint[t]=null),n[t]=i}function ln(e,n){let t=n[e];return $n(t)?t:t[on]}function Xy(e){return(e[$]&4)===4}function Yc(e){return(e[$]&128)===128}function e0(e){return bn(e[Ge])}function Gn(e,n){return n==null?null:e[n]}function vp(e){e[Pr]=0}function _p(e){e[$]&1024||(e[$]|=1024,Yc(e)&&Go(e))}function t0(e,n){for(;e>0;)n=n[xr],e--;return n}function ha(e){return!!(e[$]&9216||e[qt]?.dirty)}function Qc(e){e[Hn].changeDetectionScheduler?.notify(8),e[$]&64&&(e[$]|=1024),ha(e)&&Go(e)}function Go(e){e[Hn].changeDetectionScheduler?.notify(0);let n=zi(e);for(;n!==null&&!(n[$]&8192||(n[$]|=8192,!Yc(n)));)n=zi(n)}function yp(e,n){if(Lr(e))throw new C(911,!1);e[ui]===null&&(e[ui]=[]),e[ui].push(n)}function n0(e,n){if(e[ui]===null)return;let t=e[ui].indexOf(n);t!==-1&&e[ui].splice(t,1)}function zi(e){let n=e[Ge];return bn(n)?n[Ge]:n}function bp(e){return e[Bo]??=[]}function Dp(e){return e.cleanup??=[]}function i0(e,n,t,i){let r=bp(n);r.push(t),e.firstCreatePass&&Dp(e).push(i,r.length-1)}var Z={lFrame:m0(null),bindingsEnabled:!0,skipHydrationRootTNode:null},pa=(function(e){return e[e.Off=0]="Off",e[e.Exhaustive=1]="Exhaustive",e[e.OnlyDirtyViews=2]="OnlyDirtyViews",e})(pa||{}),IS=0,Lh=!1;function r0(){return Z.lFrame.elementDepthCount}function o0(){Z.lFrame.elementDepthCount++}function s0(){Z.lFrame.elementDepthCount--}function Jc(){return Z.bindingsEnabled}function wp(){return Z.skipHydrationRootTNode!==null}function a0(e){return Z.skipHydrationRootTNode===e}function l0(){Z.skipHydrationRootTNode=null}function M(){return Z.lFrame.lView}function ye(){return Z.lFrame.tView}function xt(e){return Z.lFrame.contextLView=e,e[Oe]}function Pt(e){return Z.lFrame.contextLView=null,e}function tt(){let e=Cp();for(;e!==null&&e.type===64;)e=e.parent;return e}function Cp(){return Z.lFrame.currentTNode}function c0(){let e=Z.lFrame,n=e.currentTNode;return e.isParent?n:n.parent}function zo(e,n){let t=Z.lFrame;t.currentTNode=e,t.isParent=n}function Ep(){return Z.lFrame.isParent}function Ip(){Z.lFrame.isParent=!1}function u0(){return Z.lFrame.contextLView}function Tp(e){Uh("Must never be called in production mode"),IS=e}function Sp(){return Lh}function Mp(e){let n=Lh;return Lh=e,n}function Zt(){let e=Z.lFrame,n=e.bindingRootIndex;return n===-1&&(n=e.bindingRootIndex=e.tView.bindingStartIndex),n}function Np(){return Z.lFrame.bindingIndex}function d0(e){return Z.lFrame.bindingIndex=e}function zn(){return Z.lFrame.bindingIndex++}function ga(e){let n=Z.lFrame,t=n.bindingIndex;return n.bindingIndex=n.bindingIndex+e,t}function f0(){return Z.lFrame.inI18n}function h0(e,n){let t=Z.lFrame;t.bindingIndex=t.bindingRootIndex=e,Kc(n)}function p0(){return Z.lFrame.currentDirectiveIndex}function Kc(e){Z.lFrame.currentDirectiveIndex=e}function Op(e){let n=Z.lFrame.currentDirectiveIndex;return n===-1?null:e[n]}function Rp(){return Z.lFrame.currentQueryIndex}function Xc(e){Z.lFrame.currentQueryIndex=e}function TS(e){let n=e[x];return n.type===2?n.declTNode:n.type===1?e[It]:null}function Ap(e,n,t){if(t&4){let r=n,o=e;for(;r=r.parent,r===null&&!(t&1);)if(r=TS(o),r===null||(o=o[xr],r.type&10))break;if(r===null)return!1;n=r,e=o}let i=Z.lFrame=g0();return i.currentTNode=n,i.lView=e,!0}function eu(e){let n=g0(),t=e[x];Z.lFrame=n,n.currentTNode=t.firstChild,n.lView=e,n.tView=t,n.contextLView=e,n.bindingIndex=t.bindingStartIndex,n.inI18n=!1}function g0(){let e=Z.lFrame,n=e===null?null:e.child;return n===null?m0(e):n}function m0(e){let n={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return e!==null&&(e.child=n),n}function v0(){let e=Z.lFrame;return Z.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var xp=v0;function tu(){let e=v0();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function _0(e){return(Z.lFrame.contextLView=t0(e,Z.lFrame.contextLView))[Oe]}function Cn(){return Z.lFrame.selectedIndex}function Qi(e){Z.lFrame.selectedIndex=e}function Wo(){let e=Z.lFrame;return da(e.tView,e.selectedIndex)}function y0(){Z.lFrame.currentNamespace=hp}function b0(){SS()}function SS(){Z.lFrame.currentNamespace=null}function D0(){return Z.lFrame.currentNamespace}var w0=!0;function nu(){return w0}function ma(e){w0=e}var MS={elements:void 0};function iu(){return MS}function jh(e,n=null,t=null,i){let r=Pp(e,n,t,i);return r.resolveInjectorInitializers(),r}function Pp(e,n=null,t=null,i,r=new Set){let o=[t||Et,Zy(e)];return i=i||(typeof e=="object"?void 0:di(e)),new Mr(o,n||Vo(),i||null,r)}var ce=class e{static THROW_IF_NOT_FOUND=Ir;static NULL=new ia;static create(n,t){if(Array.isArray(n))return jh({name:""},t,n,"");{let i=n.name??"";return jh({name:i},n.parent,n.providers,i)}}static \u0275prov=y({token:e,providedIn:"any",factory:()=>D(ep)});static __NG_ELEMENT_ID__=-1},ne=new E(""),En=(()=>{class e{static __NG_ELEMENT_ID__=NS;static __NG_ENV_ID__=t=>t}return e})(),Vh=class extends En{_lView;constructor(n){super(),this._lView=n}get destroyed(){return Lr(this._lView)}onDestroy(n){let t=this._lView;return yp(t,n),()=>n0(t,n)}};function NS(){return new Vh(M())}var yn=class{_console=console;handleError(n){this._console.error("ERROR",n)}},Tt=new E("",{providedIn:"root",factory:()=>{let e=g(Pe),n;return t=>{e.destroyed&&!n?setTimeout(()=>{throw t}):(n??=e.get(yn),n.handleError(t))}}}),C0={provide:pi,useValue:()=>void g(yn),multi:!0};function kp(e){return typeof e=="function"&&e[_t]!==void 0}function cn(e,n){let[t,i,r]=lh(e,n?.equal),o=t,s=o[_t];return o.set=i,o.update=r,o.asReadonly=E0.bind(o),o}function E0(){let e=this[_t];if(e.readonlyFn===void 0){let n=()=>this();n[_t]=e,e.readonlyFn=n}return e.readonlyFn}function Fp(e){return kp(e)&&typeof e.set=="function"}var fi=class{},va=new E("",{providedIn:"root",factory:()=>!1});var Lp=new E(""),jp=new E("");var ru=(()=>{class e{view;node;constructor(t,i){this.view=t,this.node=i}static __NG_ELEMENT_ID__=OS}return e})();function OS(){return new ru(M(),tt())}var Wn=(()=>{class e{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new Ke(!1);get hasPendingTasks(){return this.destroyed?!1:this.pendingTask.value}get hasPendingTasksObservable(){return this.destroyed?new V(t=>{t.next(!1),t.complete()}):this.pendingTask}add(){!this.hasPendingTasks&&!this.destroyed&&this.pendingTask.next(!0);let t=this.taskId++;return this.pendingTasks.add(t),t}has(t){return this.pendingTasks.has(t)}remove(t){this.pendingTasks.delete(t),this.pendingTasks.size===0&&this.hasPendingTasks&&this.pendingTask.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks&&this.pendingTask.next(!1),this.destroyed=!0,this.pendingTask.unsubscribe()}static \u0275prov=y({token:e,providedIn:"root",factory:()=>new e})}return e})(),_a=(()=>{class e{internalPendingTasks=g(Wn);scheduler=g(fi);errorHandler=g(Tt);add(){let t=this.internalPendingTasks.add();return()=>{this.internalPendingTasks.has(t)&&(this.scheduler.notify(11),this.internalPendingTasks.remove(t))}}run(t){let i=this.add();t().catch(this.errorHandler).finally(i)}static \u0275prov=y({token:e,providedIn:"root",factory:()=>new e})}return e})();function ya(...e){}var Vp=(()=>{class e{static \u0275prov=y({token:e,providedIn:"root",factory:()=>new Bh})}return e})(),Bh=class{dirtyEffectCount=0;queues=new Map;add(n){this.enqueue(n),this.schedule(n)}schedule(n){n.dirty&&this.dirtyEffectCount++}remove(n){let t=n.zone,i=this.queues.get(t);i.has(n)&&(i.delete(n),n.dirty&&this.dirtyEffectCount--)}enqueue(n){let t=n.zone;this.queues.has(t)||this.queues.set(t,new Set);let i=this.queues.get(t);i.has(n)||i.add(n)}flush(){for(;this.dirtyEffectCount>0;){let n=!1;for(let[t,i]of this.queues)t===null?n||=this.flushQueue(i):n||=t.run(()=>this.flushQueue(i));n||(this.dirtyEffectCount=0)}}flushQueue(n){let t=!1;for(let i of n)i.dirty&&(this.dirtyEffectCount--,t=!0,i.run());return t}};function es(e){return{toString:e}.toString()}var ou="__parameters__";function kS(e){return function(...t){if(e){let i=e(...t);for(let r in i)this[r]=i[r]}}}function lb(e,n,t){return es(()=>{let i=kS(n);function r(...o){if(this instanceof r)return i.apply(this,o),this;let s=new r(...o);return a.annotation=s,a;function a(l,c,u){let d=l.hasOwnProperty(ou)?l[ou]:Object.defineProperty(l,ou,{value:[]})[ou];for(;d.length<=u;)d.push(null);return(d[u]=d[u]||[]).push(s),l}}return r.prototype.ngMetadataName=e,r.annotationCls=r,r})}var Pu=Kh(lb("Optional"),8);var Fg=Kh(lb("SkipSelf"),4);function cb(e){let n=je.ng;if(n&&n.\u0275compilerFacade)return n.\u0275compilerFacade;throw new Error("JIT compiler unavailable")}function FS(e){return typeof e=="function"}var gu=class{previousValue;currentValue;firstChange;constructor(n,t,i){this.previousValue=n,this.currentValue=t,this.firstChange=i}isFirstChange(){return this.firstChange}};function ub(e,n,t,i){n!==null?n.applyValueToInputSignal(n,i):e[t]=i}var ke=(()=>{let e=()=>db;return e.ngInherit=!0,e})();function db(e){return e.type.prototype.ngOnChanges&&(e.setInput=jS),LS}function LS(){let e=hb(this),n=e?.current;if(n){let t=e.previous;if(t===Wi)e.previous=n;else for(let i in n)t[i]=n[i];e.current=null,this.ngOnChanges(n)}}function jS(e,n,t,i,r){let o=this.declaredInputs[i],s=hb(e)||VS(e,{previous:Wi,current:null}),a=s.current||(s.current={}),l=s.previous,c=l[o];a[o]=new gu(c&&c.currentValue,t,l===Wi),ub(e,n,r,t)}var fb="__ngSimpleChanges__";function hb(e){return e[fb]||null}function VS(e,n){return e[fb]=n}var I0=[];var pe=function(e,n=null,t){for(let i=0;i<I0.length;i++){let r=I0[i];r(e,n,t)}};function BS(e,n,t){let{ngOnChanges:i,ngOnInit:r,ngDoCheck:o}=n.type.prototype;if(i){let s=db(n);(t.preOrderHooks??=[]).push(e,s),(t.preOrderCheckHooks??=[]).push(e,s)}r&&(t.preOrderHooks??=[]).push(0-e,r),o&&((t.preOrderHooks??=[]).push(e,o),(t.preOrderCheckHooks??=[]).push(e,o))}function pb(e,n){for(let t=n.directiveStart,i=n.directiveEnd;t<i;t++){let o=e.data[t].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:l,ngAfterViewChecked:c,ngOnDestroy:u}=o;s&&(e.contentHooks??=[]).push(-t,s),a&&((e.contentHooks??=[]).push(t,a),(e.contentCheckHooks??=[]).push(t,a)),l&&(e.viewHooks??=[]).push(-t,l),c&&((e.viewHooks??=[]).push(t,c),(e.viewCheckHooks??=[]).push(t,c)),u!=null&&(e.destroyHooks??=[]).push(t,u)}}function du(e,n,t){gb(e,n,3,t)}function fu(e,n,t,i){(e[$]&3)===t&&gb(e,n,t,i)}function Bp(e,n){let t=e[$];(t&3)===n&&(t&=16383,t+=1,e[$]=t)}function gb(e,n,t,i){let r=i!==void 0?e[Pr]&65535:0,o=i??-1,s=n.length-1,a=0;for(let l=r;l<s;l++)if(typeof n[l+1]=="number"){if(a=n[l],i!=null&&a>=i)break}else n[l]<0&&(e[Pr]+=65536),(a<o||o==-1)&&(HS(e,t,n,l),e[Pr]=(e[Pr]&4294901760)+l+2),l++}function T0(e,n){pe(4,e,n);let t=U(null);try{n.call(e)}finally{U(t),pe(5,e,n)}}function HS(e,n,t,i){let r=t[i]<0,o=t[i+1],s=r?-t[i]:t[i],a=e[s];r?e[$]>>14<e[Pr]>>16&&(e[$]&3)===n&&(e[$]+=16384,T0(a,o)):T0(a,o)}var Zo=-1,Br=class{factory;name;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(n,t,i,r){this.factory=n,this.name=r,this.canSeeViewProviders=t,this.injectImpl=i}};function US(e){return(e.flags&8)!==0}function $S(e){return(e.flags&16)!==0}function GS(e,n,t){let i=0;for(;i<t.length;){let r=t[i];if(typeof r=="number"){if(r!==0)break;i++;let o=t[i++],s=t[i++],a=t[i++];e.setAttribute(n,s,a,o)}else{let o=r,s=t[++i];zS(o)?e.setProperty(n,o,s):e.setAttribute(n,o,s),i++}}return i}function mb(e){return e===3||e===4||e===6}function zS(e){return e.charCodeAt(0)===64}function wa(e,n){if(!(n===null||n.length===0))if(e===null||e.length===0)e=n.slice();else{let t=-1;for(let i=0;i<n.length;i++){let r=n[i];typeof r=="number"?t=r:t===0||(t===-1||t===2?S0(e,t,r,null,n[++i]):S0(e,t,r,null,null))}}return e}function S0(e,n,t,i,r){let o=0,s=e.length;if(n===-1)s=-1;else for(;o<e.length;){let a=e[o++];if(typeof a=="number"){if(a===n){s=-1;break}else if(a>n){s=o-1;break}}}for(;o<e.length;){let a=e[o];if(typeof a=="number")break;if(a===t){r!==null&&(e[o+1]=r);return}o++,r!==null&&o++}s!==-1&&(e.splice(s,0,n),o=s+1),e.splice(o++,0,t),r!==null&&e.splice(o++,0,r)}function vb(e){return e!==Zo}function mu(e){return e&32767}function WS(e){return e>>16}function vu(e,n){let t=WS(e),i=n;for(;t>0;)i=i[xr],t--;return i}var Kp=!0;function _u(e){let n=Kp;return Kp=e,n}var qS=256,_b=qS-1,yb=5,ZS=0,qn={};function YS(e,n,t){let i;typeof t=="string"?i=t.charCodeAt(0)||0:t.hasOwnProperty(Nr)&&(i=t[Nr]),i==null&&(i=t[Nr]=ZS++);let r=i&_b,o=1<<r;n.data[e+(r>>yb)]|=o}function yu(e,n){let t=bb(e,n);if(t!==-1)return t;let i=n[x];i.firstCreatePass&&(e.injectorIndex=n.length,Hp(i.data,e),Hp(n,null),Hp(i.blueprint,null));let r=Lg(e,n),o=e.injectorIndex;if(vb(r)){let s=mu(r),a=vu(r,n),l=a[x].data;for(let c=0;c<8;c++)n[o+c]=a[s+c]|l[s+c]}return n[o+8]=r,o}function Hp(e,n){e.push(0,0,0,0,0,0,0,0,n)}function bb(e,n){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||n[e.injectorIndex+8]===null?-1:e.injectorIndex}function Lg(e,n){if(e.parent&&e.parent.injectorIndex!==-1)return e.parent.injectorIndex;let t=0,i=null,r=n;for(;r!==null;){if(i=Ib(r),i===null)return Zo;if(t++,r=r[xr],i.injectorIndex!==-1)return i.injectorIndex|t<<16}return Zo}function Xp(e,n,t){YS(e,n,t)}function QS(e,n){if(n==="class")return e.classes;if(n==="style")return e.styles;let t=e.attrs;if(t){let i=t.length,r=0;for(;r<i;){let o=t[r];if(mb(o))break;if(o===0)r=r+2;else if(typeof o=="number")for(r++;r<i&&typeof t[r]=="string";)r++;else{if(o===n)return t[r+1];r=r+2}}}return null}function Db(e,n,t){if(t&8||e!==void 0)return e;zc(n,"NodeInjector")}function wb(e,n,t,i){if(t&8&&i===void 0&&(i=null),(t&3)===0){let r=e[Ar],o=Ct(void 0);try{return r?r.get(n,i,t&8):Jh(n,i,t&8)}finally{Ct(o)}}return Db(i,n,t)}function Cb(e,n,t,i=0,r){if(e!==null){if(n[$]&2048&&!(i&2)){let s=eM(e,n,t,i,qn);if(s!==qn)return s}let o=Eb(e,n,t,i,qn);if(o!==qn)return o}return wb(n,t,i,r)}function Eb(e,n,t,i,r){let o=KS(t);if(typeof o=="function"){if(!Ap(n,e,i))return i&1?Db(r,t,i):wb(n,t,i,r);try{let s;if(s=o(i),s==null&&!(i&8))zc(t);else return s}finally{xp()}}else if(typeof o=="number"){let s=null,a=bb(e,n),l=Zo,c=i&1?n[bt][It]:null;for((a===-1||i&4)&&(l=a===-1?Lg(e,n):n[a+8],l===Zo||!N0(i,!1)?a=-1:(s=n[x],a=mu(l),n=vu(l,n)));a!==-1;){let u=n[x];if(M0(o,a,u.data)){let d=JS(a,n,t,s,i,c);if(d!==qn)return d}l=n[a+8],l!==Zo&&N0(i,n[x].data[a+8]===c)&&M0(o,a,n)?(s=u,a=mu(l),n=vu(l,n)):a=-1}}return r}function JS(e,n,t,i,r,o){let s=n[x],a=s.data[e+8],l=i==null?Yi(a)&&Kp:i!=s&&(a.type&3)!==0,c=r&1&&o===a,u=hu(a,s,t,l,c);return u!==null?Ca(n,s,u,a,r):qn}function hu(e,n,t,i,r){let o=e.providerIndexes,s=n.data,a=o&1048575,l=e.directiveStart,c=e.directiveEnd,u=o>>20,d=i?a:a+u,h=r?a+u:c;for(let f=d;f<h;f++){let p=s[f];if(f<l&&t===p||f>=l&&p.type===t)return f}if(r){let f=s[l];if(f&&Dn(f)&&f.type===t)return l}return null}function Ca(e,n,t,i,r){let o=e[t],s=n.data;if(o instanceof Br){let a=o;if(a.resolving){let f=Bc(s[t]);throw Qh(f)}let l=_u(a.canSeeViewProviders);a.resolving=!0;let c=s[t].type||s[t],u,d=a.injectImpl?Ct(a.injectImpl):null,h=Ap(e,i,0);try{o=e[t]=a.factory(void 0,r,s,e,i),n.firstCreatePass&&t>=i.directiveStart&&BS(t,s[t],n)}finally{d!==null&&Ct(d),_u(l),a.resolving=!1,xp()}}return o}function KS(e){if(typeof e=="string")return e.charCodeAt(0)||0;let n=e.hasOwnProperty(Nr)?e[Nr]:void 0;return typeof n=="number"?n>=0?n&_b:XS:n}function M0(e,n,t){let i=1<<e;return!!(t[n+(e>>yb)]&i)}function N0(e,n){return!(e&2)&&!(e&1&&n)}var Vr=class{_tNode;_lView;constructor(n,t){this._tNode=n,this._lView=t}get(n,t,i){return Cb(this._tNode,this._lView,n,Tr(i),t)}};function XS(){return new Vr(tt(),M())}function Ie(e){return es(()=>{let n=e.prototype.constructor,t=n[na]||eg(n),i=Object.prototype,r=Object.getPrototypeOf(e.prototype).constructor;for(;r&&r!==i;){let o=r[na]||eg(r);if(o&&o!==t)return o;r=Object.getPrototypeOf(r)}return o=>new o})}function eg(e){return Hh(e)?()=>{let n=eg(dt(e));return n&&n()}:Gi(e)}function eM(e,n,t,i,r){let o=e,s=n;for(;o!==null&&s!==null&&s[$]&2048&&!$o(s);){let a=Eb(o,s,t,i|2,qn);if(a!==qn)return a;let l=o.parent;if(!l){let c=s[cp];if(c){let u=c.get(t,qn,i);if(u!==qn)return u}l=Ib(s),s=s[xr]}o=l}return r}function Ib(e){let n=e[x],t=n.type;return t===2?n.declTNode:t===1?e[It]:null}function ts(e){return QS(tt(),e)}function tM(){return ns(tt(),M())}function ns(e,n){return new ie(wn(e,n))}var ie=(()=>{class e{nativeElement;constructor(t){this.nativeElement=t}static __NG_ELEMENT_ID__=tM}return e})();function nM(e){return e instanceof ie?e.nativeElement:e}function iM(){return this._results[Symbol.iterator]()}var bu=class{_emitDistinctChangesOnly;dirty=!0;_onDirty=void 0;_results=[];_changesDetected=!1;_changes=void 0;length=0;first=void 0;last=void 0;get changes(){return this._changes??=new B}constructor(n=!1){this._emitDistinctChangesOnly=n}get(n){return this._results[n]}map(n){return this._results.map(n)}filter(n){return this._results.filter(n)}find(n){return this._results.find(n)}reduce(n,t){return this._results.reduce(n,t)}forEach(n){this._results.forEach(n)}some(n){return this._results.some(n)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(n,t){this.dirty=!1;let i=Gy(n);(this._changesDetected=!$y(this._results,i,t))&&(this._results=i,this.length=i.length,this.last=i[this.length-1],this.first=i[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.next(this)}onDirty(n){this._onDirty=n}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}[Symbol.iterator]=iM};function Tb(e){return(e.flags&128)===128}var jg=(function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e})(jg||{}),Sb=new Map,rM=0;function oM(){return rM++}function sM(e){Sb.set(e[la],e)}function tg(e){Sb.delete(e[la])}var O0="__ngContext__";function Yo(e,n){$n(n)?(e[O0]=n[la],sM(n)):e[O0]=n}function Mb(e){return Ob(e[Ho])}function Nb(e){return Ob(e[sn])}function Ob(e){for(;e!==null&&!bn(e);)e=e[sn];return e}var ng;function Vg(e){ng=e}function Bg(){if(ng!==void 0)return ng;if(typeof document<"u")return document;throw new C(210,!1)}var ku=new E("",{providedIn:"root",factory:()=>aM}),aM="ng",Fu=new E(""),vi=new E("",{providedIn:"platform",factory:()=>"unknown"});var lM=new E(""),Lu=new E("",{providedIn:"root",factory:()=>Bg().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var cM="h",uM="b";var Rb="r";var Ab="di";var xb=!1,Pb=new E("",{providedIn:"root",factory:()=>xb});var ju=new E("");var dM=(e,n,t,i)=>{};function fM(e,n,t,i){dM(e,n,t,i)}function Vu(e){return(e.flags&32)===32}var hM=()=>null;function kb(e,n,t=!1){return hM(e,n,t)}function Fb(e,n){let t=e.contentQueries;if(t!==null){let i=U(null);try{for(let r=0;r<t.length;r+=2){let o=t[r],s=t[r+1];if(s!==-1){let a=e.data[s];Xc(o),a.contentQueries(2,n[s],s)}}}finally{U(i)}}}function ig(e,n,t){Xc(0);let i=U(null);try{n(e,t)}finally{U(i)}}function Hg(e,n,t){if(fp(n)){let i=U(null);try{let r=n.directiveStart,o=n.directiveEnd;for(let s=r;s<o;s++){let a=e.data[s];if(a.contentQueries){let l=t[s];
vendor: 9,173 bytes, line 4
4a.contentQueries(1,l,s)}}}finally{U(i)}}}var gi=(function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e})(gi||{}),su;function Lb(){if(su===void 0&&(su=null,je.trustedTypes))try{su=je.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return su}function Bu(e){return Lb()?.createHTML(e)||e}function pM(e){return Lb()?.createScriptURL(e)||e}var au;function jb(){if(au===void 0&&(au=null,je.trustedTypes))try{au=je.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return au}function R0(e){return jb()?.createHTML(e)||e}function A0(e){return jb()?.createScriptURL(e)||e}var mi=class{changingThisBreaksApplicationSecurity;constructor(n){this.changingThisBreaksApplicationSecurity=n}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Uc})`}},rg=class extends mi{getTypeName(){return"HTML"}},og=class extends mi{getTypeName(){return"Style"}},sg=class extends mi{getTypeName(){return"Script"}},ag=class extends mi{getTypeName(){return"URL"}},lg=class extends mi{getTypeName(){return"ResourceURL"}};function Ft(e){return e instanceof mi?e.changingThisBreaksApplicationSecurity:e}function Zn(e,n){let t=Vb(e);if(t!=null&&t!==n){if(t==="ResourceURL"&&n==="URL")return!0;throw new Error(`Required a safe ${n}, got a ${t} (see ${Uc})`)}return t===n}function Vb(e){return e instanceof mi&&e.getTypeName()||null}function Ug(e){return new rg(e)}function $g(e){return new og(e)}function Gg(e){return new sg(e)}function zg(e){return new ag(e)}function Wg(e){return new lg(e)}function gM(e){let n=new ug(e);return mM()?new cg(n):n}var cg=class{inertDocumentHelper;constructor(n){this.inertDocumentHelper=n}getInertBodyElement(n){n="<body><remove></remove>"+n;try{let t=new window.DOMParser().parseFromString(Bu(n),"text/html").body;return t===null?this.inertDocumentHelper.getInertBodyElement(n):(t.firstChild?.remove(),t)}catch{return null}}},ug=class{defaultDoc;inertDocument;constructor(n){this.defaultDoc=n,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(n){let t=this.inertDocument.createElement("template");return t.innerHTML=Bu(n),t}};function mM(){try{return!!new window.DOMParser().parseFromString(Bu(""),"text/html")}catch{return!1}}var vM=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Aa(e){return e=String(e),e.match(vM)?e:"unsafe:"+e}function _i(e){let n={};for(let t of e.split(","))n[t]=!0;return n}function xa(...e){let n={};for(let t of e)for(let i in t)t.hasOwnProperty(i)&&(n[i]=!0);return n}var Bb=_i("area,br,col,hr,img,wbr"),Hb=_i("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Ub=_i("rp,rt"),_M=xa(Ub,Hb),yM=xa(Hb,_i("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")),bM=xa(Ub,_i("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")),x0=xa(Bb,yM,bM,_M),$b=_i("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),DM=_i("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"),wM=_i("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"),CM=xa($b,DM,wM),EM=_i("script,style,template"),dg=class{sanitizedSomething=!1;buf=[];sanitizeChildren(n){let t=n.firstChild,i=!0,r=[];for(;t;){if(t.nodeType===Node.ELEMENT_NODE?i=this.startElement(t):t.nodeType===Node.TEXT_NODE?this.chars(t.nodeValue):this.sanitizedSomething=!0,i&&t.firstChild){r.push(t),t=SM(t);continue}for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);let o=TM(t);if(o){t=o;break}t=r.pop()}}return this.buf.join("")}startElement(n){let t=P0(n).toLowerCase();if(!x0.hasOwnProperty(t))return this.sanitizedSomething=!0,!EM.hasOwnProperty(t);this.buf.push("<"),this.buf.push(t);let i=n.attributes;for(let r=0;r<i.length;r++){let o=i.item(r),s=o.name,a=s.toLowerCase();if(!CM.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let l=o.value;$b[a]&&(l=Aa(l)),this.buf.push(" ",s,'="',k0(l),'"')}return this.buf.push(">"),!0}endElement(n){let t=P0(n).toLowerCase();x0.hasOwnProperty(t)&&!Bb.hasOwnProperty(t)&&(this.buf.push("</"),this.buf.push(t),this.buf.push(">"))}chars(n){this.buf.push(k0(n))}};function IM(e,n){return(e.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function TM(e){let n=e.nextSibling;if(n&&e!==n.previousSibling)throw Gb(n);return n}function SM(e){let n=e.firstChild;if(n&&IM(e,n))throw Gb(n);return n}function P0(e){let n=e.nodeName;return typeof n=="string"?n:"FORM"}function Gb(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var MM=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,NM=/([^\#-~ |!])/g;function k0(e){return e.replace(/&/g,"&amp;").replace(MM,function(n){let t=n.charCodeAt(0),i=n.charCodeAt(1);return"&#"+((t-55296)*1024+(i-56320)+65536)+";"}).replace(NM,function(n){return"&#"+n.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}var lu;function Hu(e,n){let t=null;try{lu=lu||gM(e);let i=n?String(n):"";t=lu.getInertBodyElement(i);let r=5,o=i;do{if(r===0)throw new Error("Failed to sanitize html because the input is unstable");r--,i=o,o=t.innerHTML,t=lu.getInertBodyElement(i)}while(i!==o);let a=new dg().sanitizeChildren(F0(t)||t);return Bu(a)}finally{if(t){let i=F0(t)||t;for(;i.firstChild;)i.firstChild.remove()}}}function F0(e){return"content"in e&&OM(e)?e.content:null}function OM(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var Lt=(function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e})(Lt||{});function $r(e){let n=Zg();return n?R0(n.sanitize(Lt.HTML,e)||""):Zn(e,"HTML")?R0(Ft(e)):Hu(Bg(),rn(e))}function zb(e){let n=Zg();return n?n.sanitize(Lt.URL,e)||"":Zn(e,"URL")?Ft(e):Aa(rn(e))}function Wb(e){let n=Zg();if(n)return A0(n.sanitize(Lt.RESOURCE_URL,e)||"");if(Zn(e,"ResourceURL"))return A0(Ft(e));throw new C(904,!1)}function RM(e){return pM(e[0])}function AM(e,n){return n==="src"&&(e==="embed"||e==="frame"||e==="iframe"||e==="media"||e==="script")||n==="href"&&(e==="base"||e==="link")?Wb:zb}function qg(e,n,t){return AM(n,t)(e)}function Zg(){let e=M();return e&&e[Hn].sanitizer}var xM=/^>|^->|<!--|-->|--!>|<!-$/g,PM=/(<|>)/g,kM="\u200B$1\u200B";function FM(e){return e.replace(xM,n=>n.replace(PM,kM))}function LM(e){return e.ownerDocument.defaultView}function jM(e){return e.ownerDocument}function qb(e){return e instanceof Function?e():e}function VM(e,n,t){let i=e.length;for(;;){let r=e.indexOf(n,t);if(r===-1)return r;if(r===0||e.charCodeAt(r-1)<=32){let o=n.length;if(r+o===i||e.charCodeAt(r+o)<=32)return r}t=r+1}}var Zb="ng-template";function BM(e,n,t,i){let r=0;if(i){for(;r<n.length&&typeof n[r]=="string";r+=2)if(n[r]==="class"&&VM(n[r+1].toLowerCase(),t,0)!==-1)return!0}else if(Yg(e))return!1;if(r=n.indexOf(1,r),r>-1){let o;for(;++r<n.length&&typeof(o=n[r])=="string";)if(o.toLowerCase()===t)return!0}return!1}function Yg(e){return e.type===4&&e.value!==Zb}function HM(e,n,t){let i=e.type===4&&!t?Zb:e.value;return n===i}function UM(e,n,t){let i=4,r=e.attrs,o=r!==null?zM(r):0,s=!1;for(let a=0;a<n.length;a++){let l=n[a];if(typeof l=="number"){if(!s&&!In(i)&&!In(l))return!1;if(s&&In(l))continue;s=!1,i=l|i&1;continue}if(!s)if(i&4){if(i=2|i&1,l!==""&&!HM(e,l,t)||l===""&&n.length===1){if(In(i))return!1;s=!0}}else if(i&8){if(r===null||!BM(e,r,l,t)){if(In(i))return!1;s=!0}}else{let c=n[++a],u=$M(l,r,Yg(e),t);if(u===-1){if(In(i))return!1;s=!0;continue}if(c!==""){let d;if(u>o?d="":d=r[u+1].toLowerCase(),i&2&&c!==d){if(In(i))return!1;s=!0}}}}return In(i)||s}function In(e){return(e&1)===0}function $M(e,n,t,i){if(n===null)return-1;let r=0;if(i||!t){let o=!1;for(;r<n.length;){let s=n[r];if(s===e)return r;if(s===3||s===6)o=!0;else if(s===1||s===2){let a=n[++r];for(;
vendor: 105,115 bytes, line 4
4typeof a=="string";)a=n[++r];continue}else{if(s===4)break;if(s===0){r+=4;continue}}r+=o?1:2}return-1}else return WM(n,e)}function Yb(e,n,t=!1){for(let i=0;i<n.length;i++)if(UM(e,n[i],t))return!0;return!1}function GM(e){let n=e.attrs;if(n!=null){let t=n.indexOf(5);if((t&1)===0)return n[t+1]}return null}function zM(e){for(let n=0;n<e.length;n++){let t=e[n];if(mb(t))return n}return e.length}function WM(e,n){let t=e.indexOf(4);if(t>-1)for(t++;t<e.length;){let i=e[t];if(typeof i=="number")return-1;if(i===n)return t;t++}return-1}function qM(e,n){e:for(let t=0;t<n.length;t++){let i=n[t];if(e.length===i.length){for(let r=0;r<e.length;r++)if(e[r]!==i[r])continue e;return!0}}return!1}function L0(e,n){return e?":not("+n.trim()+")":n}function ZM(e){let n=e[0],t=1,i=2,r="",o=!1;for(;t<e.length;){let s=e[t];if(typeof s=="string")if(i&2){let a=e[++t];r+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else i&8?r+="."+s:i&4&&(r+=" "+s);else r!==""&&!In(s)&&(n+=L0(o,r),r=""),i=s,o=o||!In(i);t++}return r!==""&&(n+=L0(o,r)),n}function YM(e){return e.map(ZM).join(",")}function QM(e){let n=[],t=[],i=1,r=2;for(;i<e.length;){let o=e[i];if(typeof o=="string")r===2?o!==""&&n.push(o,e[++i]):r===8&&t.push(o);else{if(!In(r))break;r=o}i++}return t.length&&n.push(1,...t),n}var nt={};function JM(e,n){return e.createText(n)}function KM(e,n,t){e.setValue(n,t)}function XM(e,n){return e.createComment(FM(n))}function Qb(e,n,t){return e.createElement(n,t)}function Du(e,n,t,i,r){e.insertBefore(n,t,i,r)}function Jb(e,n,t){e.appendChild(n,t)}function j0(e,n,t,i,r){i!==null?Du(e,n,t,i,r):Jb(e,n,t)}function Kb(e,n,t){e.removeChild(null,n,t)}function eN(e,n,t){e.setAttribute(n,"style",t)}function tN(e,n,t){t===""?e.removeAttribute(n,"class"):e.setAttribute(n,"class",t)}function Xb(e,n,t){let{mergedAttrs:i,classes:r,styles:o}=t;i!==null&&GS(e,n,i),r!==null&&tN(e,n,r),o!==null&&eN(e,n,o)}function Qg(e,n,t,i,r,o,s,a,l,c,u){let d=_e+i,h=d+r,f=nN(d,h),p=typeof c=="function"?c():c;return f[x]={type:e,blueprint:f,template:t,queries:null,viewQuery:a,declTNode:n,data:f.slice().fill(null,d),bindingStartIndex:d,expandoStartIndex:h,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:l,consts:p,incompleteFirstPass:!1,ssrId:u}}function nN(e,n){let t=[];for(let i=0;i<n;i++)t.push(i<e?null:nt);return t}function iN(e){let n=e.tView;return n===null||n.incompleteFirstPass?e.tView=Qg(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):n}function Jg(e,n,t,i,r,o,s,a,l,c,u){let d=n.blueprint.slice();return d[on]=r,d[$]=i|4|128|8|64|1024,(c!==null||e&&e[$]&2048)&&(d[$]|=2048),vp(d),d[Ge]=d[xr]=e,d[Oe]=t,d[Hn]=s||e&&e[Hn],d[ue]=a||e&&e[ue],d[Ar]=l||e&&e[Ar]||null,d[It]=o,d[la]=oM(),d[Rr]=u,d[cp]=c,d[bt]=n.type==2?e[bt]:d,d}function rN(e,n,t){let i=wn(n,e),r=iN(t),o=e[Hn].rendererFactory,s=Kg(e,Jg(e,r,null,eD(t),i,n,null,o.createRenderer(i,t),null,null,null));return e[n.index]=s}function eD(e){let n=16;return e.signals?n=4096:e.onPush&&(n=64),n}function tD(e,n,t,i){if(t===0)return-1;let r=n.length;for(let o=0;o<t;o++)n.push(i),e.blueprint.push(i),e.data.push(null);return r}function Kg(e,n){return e[Ho]?e[lp][sn]=n:e[Ho]=n,e[lp]=n,n}function S(e=1){nD(ye(),M(),Cn()+e,!1)}function nD(e,n,t,i){if(!i)if((n[$]&3)===3){let o=e.preOrderCheckHooks;o!==null&&du(n,o,t)}else{let o=e.preOrderHooks;o!==null&&fu(n,o,0,t)}Qi(t)}var Uu=(function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e})(Uu||{});function fg(e,n,t,i){let r=U(null);try{let[o,s,a]=e.inputs[t],l=null;(s&Uu.SignalBased)!==0&&(l=n[o][_t]),l!==null&&l.transformFn!==void 0?i=l.transformFn(i):a!==null&&(i=a.call(n,i)),e.setInput!==null?e.setInput(n,l,i,t,o):ub(n,l,o,i)}finally{U(r)}}var Tn=(function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e})(Tn||{}),oN;function Xg(e,n){return oN(e,n)}function qo(e,n,t,i,r){if(i!=null){let o,s=!1;bn(i)?o=i:$n(i)&&(s=!0,i=i[on]);let a=an(i);e===0&&t!==null?r==null?Jb(n,t,a):Du(n,t,a,r||null,!0):e===1&&t!==null?Du(n,t,a,r||null,!0):e===2?Kb(n,a,s):e===3&&n.destroyNode(a),o!=null&&gN(n,e,o,t,r)}}function sN(e,n){iD(e,n),n[on]=null,n[It]=null}function aN(e,n,t,i,r,o){i[on]=r,i[It]=n,Gu(e,i,t,1,r,o)}function iD(e,n){n[Hn].changeDetectionScheduler?.notify(9),Gu(e,n,n[ue],2,null,null)}function lN(e){let n=e[Ho];if(!n)return Up(e[x],e);for(;n;){let t=null;if($n(n))t=n[Ho];else{let i=n[et];i&&(t=i)}if(!t){for(;n&&!n[sn]&&n!==e;)$n(n)&&Up(n[x],n),n=n[Ge];n===null&&(n=e),$n(n)&&Up(n[x],n),t=n&&n[sn]}n=t}}function em(e,n){let t=e[Fr],i=t.indexOf(n);t.splice(i,1)}function $u(e,n){if(Lr(n))return;let t=n[ue];t.destroyNode&&Gu(e,n,t,3,null,null),lN(n)}function Up(e,n){if(Lr(n))return;let t=U(null);try{n[$]&=-129,n[$]|=256,n[qt]&&Gs(n[qt]),uN(e,n),cN(e,n),n[x].type===1&&n[ue].destroy();let i=n[qi];if(i!==null&&bn(n[Ge])){i!==n[Ge]&&em(i,n);let r=n[Un];r!==null&&r.detachView(e)}tg(n)}finally{U(t)}}function cN(e,n){let t=e.cleanup,i=n[Bo];if(t!==null)for(let s=0;s<t.length-1;s+=2)if(typeof t[s]=="string"){let a=t[s+3];a>=0?i[a]():i[-a].unsubscribe(),s+=2}else{let a=i[t[s+1]];t[s].call(a)}i!==null&&(n[Bo]=null);let r=n[ui];if(r!==null){n[ui]=null;for(let s=0;s<r.length;s++){let a=r[s];a()}}let o=n[ca];if(o!==null){n[ca]=null;for(let s of o)s.destroy()}}function uN(e,n){let t;if(e!=null&&(t=e.destroyHooks)!=null)for(let i=0;i<t.length;i+=2){let r=n[t[i]];if(!(r instanceof Br)){let o=t[i+1];if(Array.isArray(o))for(let s=0;s<o.length;s+=2){let a=r[o[s]],l=o[s+1];pe(4,a,l);try{l.call(a)}finally{pe(5,a,l)}}else{pe(4,r,o);try{o.call(r)}finally{pe(5,r,o)}}}}}function rD(e,n,t){return dN(e,n.parent,t)}function dN(e,n,t){let i=n;for(;i!==null&&i.type&168;)n=i,i=n.parent;if(i===null)return t[on];if(Yi(i)){let{encapsulation:r}=e.data[i.directiveStart+i.componentOffset];if(r===gi.None||r===gi.Emulated)return null}return wn(i,t)}function oD(e,n,t){return hN(e,n,t)}function fN(e,n,t){return e.type&40?wn(e,t):null}var hN=fN,V0;function tm(e,n,t,i){let r=rD(e,i,n),o=n[ue],s=i.parent||n[It],a=oD(s,i,n);if(r!=null)if(Array.isArray(t))for(let l=0;l<t.length;l++)j0(o,r,t[l],a,!1);else j0(o,r,t,a,!1);V0!==void 0&&V0(o,i,n,t,r)}function ba(e,n){if(n!==null){let t=n.type;if(t&3)return wn(n,e);if(t&4)return hg(-1,e[n.index]);if(t&8){let i=n.child;if(i!==null)return ba(e,i);{let r=e[n.index];return bn(r)?hg(-1,r):an(r)}}else{if(t&128)return ba(e,n.next);if(t&32)return Xg(n,e)()||an(e[n.index]);{let i=sD(e,n);if(i!==null){if(Array.isArray(i))return i[0];let r=zi(e[bt]);return ba(r,i)}else return ba(e,n.next)}}}return null}function sD(e,n){if(n!==null){let i=e[bt][It],r=n.projection;return i.projection[r]}return null}function hg(e,n){let t=et+e+1;if(t<n.length){let i=n[t],r=i[x].firstChild;if(r!==null)return ba(i,r)}return n[Zi]}function nm(e,n,t,i,r,o,s){for(;t!=null;){if(t.type===128){t=t.next;continue}let a=i[t.index],l=t.type;if(s&&n===0&&(a&&Yo(an(a),i),t.flags|=2),!Vu(t))if(l&8)nm(e,n,t.child,i,r,o,!1),qo(n,e,r,a,o);else if(l&32){let c=Xg(t,i),u;for(;u=c();)qo(n,e,r,u,o);qo(n,e,r,a,o)}else l&16?aD(e,n,i,t,r,o):qo(n,e,r,a,o);t=s?t.projectionNext:t.next}}function Gu(e,n,t,i,r,o){nm(t,i,e.firstChild,n,r,o,!1)}function pN(e,n,t){let i=n[ue],r=rD(e,t,n),o=t.parent||n[It],s=oD(o,t,n);aD(i,0,n,t,r,s)}function aD(e,n,t,i,r,o){let s=t[bt],l=s[It].projection[i.projection];if(Array.isArray(l))for(let c=0;c<l.length;c++){let u=l[c];qo(n,e,r,u,o)}else{let c=l,u=s[Ge];Tb(i)&&(c.flags|=128),nm(e,n,c,u,r,o,!0)}}function gN(e,n,t,i,r){let o=t[Zi],s=an(t);o!==s&&qo(n,e,i,o,r);for(let a=et;a<t.length;a++){let l=t[a];Gu(l[x],l,e,n,i,o)}}function mN(e,n,t,i,r){if(n)r?e.addClass(t,i):e.removeClass(t,i);else{let o=i.indexOf("-")===-1?void 0:Tn.DashCase;r==null?e.removeStyle(t,i,o):(typeof r=="string"&&r.endsWith("!important")&&(r=r.slice(0,-10),o|=Tn.Important),e.setStyle(t,i,r,o))}}function lD(e,n,t,i,r){let o=Cn(),s=i&2;try{Qi(-1),s&&n.length>_e&&nD(e,n,_e,!1),pe(s?2:0,r,t),t(i,r)}finally{Qi(o),pe(s?3:1,r,t)}}function zu(e,n,t){wN(e,n,t),(t.flags&64)===64&&CN(e,n,t)}function Wu(e,n,t=wn){let i=n.localNames;if(i!==null){let r=n.index+1;for(let o=0;o<i.length;o+=2){let s=i[o+1],a=s===-1?t(n,e):e[s];e[r++]=a}}}function vN(e,n,t,i){let o=i.get(Pb,xb)||t===gi.ShadowDom,s=e.selectRootElement(n,o);return _N(s),s}function _N(e){yN(e)}var yN=()=>null;function bN(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function cD(e,n,t,i,r,o){let s=n[x];if(om(e,s,n,t,i)){Yi(e)&&DN(n,e.index);return}e.type&3&&(t=bN(t)),im(e,n,t,i,r,o)}function im(e,n,t,i,r,o){if(e.type&3){let s=wn(e,n);i=o!=null?o(i,e.value||"",t):i,r.setProperty(s,t,i)}else e.type&12}function DN(e,n){let t=ln(n,e);t[$]&16||(t[$]|=64)}function wN(e,n,t){let i=t.directiveStart,r=t.directiveEnd;Yi(t)&&rN(n,t,e.data[i+t.componentOffset]),e.firstCreatePass||yu(t,n);let o=t.initialInputs;for(let s=i;s<r;s++){let a=e.data[s],l=Ca(n,e,s,t);if(Yo(l,n),o!==null&&SN(n,s-i,l,a,t,o),Dn(a)){let c=ln(t.index,n);c[Oe]=Ca(n,e,s,t)}}}function CN(e,n,t){let i=t.directiveStart,r=t.directiveEnd,o=t.index,s=p0();try{Qi(o);for(let a=i;a<r;a++){let l=e.data[a],c=n[a];Kc(a),(l.hostBindings!==null||l.hostVars!==0||l.hostAttrs!==null)&&EN(l,c)}}finally{Qi(-1),Kc(s)}}function EN(e,n){e.hostBindings!==null&&e.hostBindings(1,n)}function rm(e,n){let t=e.directiveRegistry,i=null;if(t)for(let r=0;r<t.length;r++){let o=t[r];Yb(n,o.selectors,!1)&&(i??=[],Dn(o)?i.unshift(o):i.push(o))}return i}function IN(e,n,t,i,r,o){let s=wn(e,n);TN(n[ue],s,o,e.value,t,i,r)}function TN(e,n,t,i,r,o,s){if(o==null)e.removeAttribute(n,r,t);else{let a=s==null?rn(o):s(o,i||"",r);e.setAttribute(n,r,a,t)}}function SN(e,n,t,i,r,o){let s=o[n];if(s!==null)for(let a=0;a<s.length;a+=2){let l=s[a],c=s[a+1];fg(i,t,l,c)}}function uD(e,n,t,i,r){let o=_e+t,s=n[x],a=r(s,n,e,i,t);n[o]=a,zo(e,!0);let l=e.type===2;return l?(Xb(n[ue],a,e),(r0()===0||Uo(e))&&Yo(a,n),o0()):Yo(a,n),nu()&&(!l||!Vu(e))&&tm(s,n,a,e),e}function dD(e){let n=e;return Ep()?Ip():(n=n.parent,zo(n,!1)),n}function MN(e,n,t){return(e===null||Dn(e))&&(t=pp(t[n.index])),t[ue]}function NN(e,n){let t=e[Ar];if(!t)return;t.get(Tt,null)?.(n)}function om(e,n,t,i,r){let o=e.inputs?.[i],s=e.hostDirectiveInputs?.[i],a=!1;if(s)for(let l=0;l<s.length;l+=2){let c=s[l],u=s[l+1],d=n.data[c];fg(d,t[c],u,r),a=!0}if(o)for(let l of o){let c=t[l],u=n.data[l];fg(u,c,i,r),a=!0}return a}function ON(e,n){let t=ln(n,e),i=t[x];RN(i,t);let r=t[on];r!==null&&t[Rr]===null&&(t[Rr]=kb(r,t[Ar])),pe(18),sm(i,t,t[Oe]),pe(19,t[Oe])}function RN(e,n){for(let t=n.length;t<e.blueprint.length;t++)n.push(e.blueprint[t])}function sm(e,n,t){eu(n);try{let i=e.viewQuery;i!==null&&ig(1,i,t);let r=e.template;r!==null&&lD(e,n,r,1,t),e.firstCreatePass&&(e.firstCreatePass=!1),n[Un]?.finishViewCreation(e),e.staticContentQueries&&Fb(e,n),e.staticViewQueries&&ig(2,e.viewQuery,t);let o=e.components;o!==null&&AN(n,o)}catch(i){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),i}finally{n[$]&=-5,tu()}}function AN(e,n){for(let t=0;t<n.length;t++)ON(e,n[t])}function Pa(e,n,t,i){let r=U(null);try{let o=n.tView,a=e[$]&4096?4096:16,l=Jg(e,o,t,a,null,n,null,null,i?.injector??null,i?.embeddedViewInjector??null,i?.dehydratedView??null),c=e[n.index];l[qi]=c;let u=e[Un];return u!==null&&(l[Un]=u.createEmbeddedView(o)),sm(o,l,t),l}finally{U(r)}}function Qo(e,n){return!n||n.firstChild===null||Tb(e)}var B0=!1,xN=new E("");function Ea(e,n,t,i,r=!1){for(;t!==null;){if(t.type===128){t=r?t.projectionNext:t.next;continue}let o=n[t.index];o!==null&&i.push(an(o)),bn(o)&&fD(o,i);let s=t.type;if(s&8)Ea(e,n,t.child,i);else if(s&32){let a=Xg(t,n),l;for(;l=a();)i.push(l)}else if(s&16){let a=sD(n,t);if(Array.isArray(a))i.push(...a);else{let l=zi(n[bt]);Ea(l[x],l,a,i,!0)}}t=r?t.projectionNext:t.next}return i}function fD(e,n){for(let t=et;t<e.length;t++){let i=e[t],r=i[x].firstChild;r!==null&&Ea(i[x],i,r,n)}e[Zi]!==e[on]&&n.push(e[Zi])}function hD(e){if(e[kr]!==null){for(let n of e[kr])n.impl.addSequence(n);e[kr].length=0}}var pD=[];function PN(e){return e[qt]??kN(e)}function kN(e){let n=pD.pop()??Object.create(LN);return n.lView=e,n}function FN(e){e.lView[qt]!==e&&(e.lView=null,pD.push(e))}var LN=j(w({},Do),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{Go(e.lView)},consumerOnSignalRead(){this.lView[qt]=this}});function jN(e){let n=e[qt]??Object.create(VN);return n.lView=e,n}var VN=j(w({},Do),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let n=zi(e.lView);for(;n&&!gD(n[x]);)n=zi(n);n&&_p(n)},consumerOnSignalRead(){this.lView[qt]=this}});function gD(e){return e.type!==2}function mD(e){if(e[ca]===null)return;let n=!0;for(;n;){let t=!1;for(let i of e[ca])i.dirty&&(t=!0,i.zone===null||Zone.current===i.zone?i.run():i.zone.run(()=>i.run()));n=t&&!!(e[$]&8192)}}var BN=100;function am(e,n=0){let i=e[Hn].rendererFactory,r=!1;r||i.begin?.();try{HN(e,n)}finally{r||i.end?.()}}function HN(e,n){let t=Sp();try{Mp(!0),pg(e,n);let i=0;for(;ha(e);){if(i===BN)throw new C(103,!1);i++,pg(e,1)}}finally{Mp(t)}}function vD(e,n){Tp(n?pa.Exhaustive:pa.OnlyDirtyViews);try{am(e)}finally{Tp(pa.Off)}}function UN(e,n,t,i){if(Lr(n))return;let r=n[$],o=!1,s=!1;eu(n);let a=!0,l=null,c=null;o||(gD(e)?(c=PN(n),l=Co(c)):ic()===null?(a=!1,c=jN(n),l=Co(c)):n[qt]&&(Gs(n[qt]),n[qt]=null));try{vp(n),d0(e.bindingStartIndex),t!==null&&lD(e,n,t,2,i);let u=(r&3)===3;if(!o)if(u){let f=e.preOrderCheckHooks;f!==null&&du(n,f,null)}else{let f=e.preOrderHooks;f!==null&&fu(n,f,0,null),Bp(n,0)}if(s||$N(n),mD(n),_D(n,0),e.contentQueries!==null&&Fb(e,n),!o)if(u){let f=e.contentCheckHooks;f!==null&&du(n,f)}else{let f=e.contentHooks;f!==null&&fu(n,f,1),Bp(n,1)}zN(e,n);let d=e.components;d!==null&&bD(n,d,0);let h=e.viewQuery;if(h!==null&&ig(2,h,i),!o)if(u){let f=e.viewCheckHooks;f!==null&&du(n,f)}else{let f=e.viewHooks;f!==null&&fu(n,f,2),Bp(n,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),n[Zc]){for(let f of n[Zc])f();n[Zc]=null}o||(hD(n),n[$]&=-73)}catch(u){throw o||Go(n),u}finally{c!==null&&(Us(c,l),a&&FN(c)),tu()}}function _D(e,n){for(let t=Mb(e);t!==null;t=Nb(t))for(let i=et;i<t.length;i++){let r=t[i];yD(r,n)}}function $N(e){for(let n=Mb(e);n!==null;n=Nb(n)){if(!(n[$]&2))continue;let t=n[Fr];for(let i=0;i<t.length;i++){let r=t[i];_p(r)}}}function GN(e,n,t){pe(18);let i=ln(n,e);yD(i,t),pe(19,i[Oe])}function yD(e,n){Yc(e)&&pg(e,n)}function pg(e,n){let i=e[x],r=e[$],o=e[qt],s=!!(n===0&&r&16);if(s||=!!(r&64&&n===0),s||=!!(r&1024),s||=!!(o?.dirty&&$s(o)),s||=!1,o&&(o.dirty=!1),e[$]&=-9217,s)UN(i,e,i.template,e[Oe]);else if(r&8192){let a=U(null);try{mD(e),_D(e,1);let l=i.components;l!==null&&bD(e,l,1),hD(e)}finally{U(a)}}}function bD(e,n,t){for(let i=0;i<n.length;i++)GN(e,n[i],t)}function zN(e,n){let t=e.hostBindingOpCodes;if(t!==null)try{for(let i=0;i<t.length;i++){let r=t[i];if(r<0)Qi(~r);else{let o=r,s=t[++i],a=t[++i];h0(s,o);let l=n[o];pe(24,l),a(2,l),pe(25,l)}}}finally{Qi(-1)}}function lm(e,n){let t=Sp()?64:1088;for(e[Hn].changeDetectionScheduler?.notify(n);e;){e[$]|=t;let i=zi(e);if($o(e)&&!i)return e;e=i}return null}function DD(e,n,t,i){return[e,!0,0,n,null,i,null,t,null,null]}function wD(e,n){let t=et+n;if(t<e.length)return e[t]}function ka(e,n,t,i=!0){let r=n[x];if(WN(r,n,e,t),i){let s=hg(t,e),a=n[ue],l=a.parentNode(e[Zi]);l!==null&&aN(r,e[It],a,n,l,s)}let o=n[Rr];o!==null&&o.firstChild!==null&&(o.firstChild=null)}function CD(e,n){let t=Ia(e,n);return t!==void 0&&$u(t[x],t),t}function Ia(e,n){if(e.length<=et)return;let t=et+n,i=e[t];if(i){let r=i[qi];r!==null&&r!==e&&em(r,i),n>0&&(e[t-1][sn]=i[sn]);let o=oa(e,et+n);sN(i[x],i);let s=o[Un];s!==null&&s.detachView(o[x]),i[Ge]=null,i[sn]=null,i[$]&=-129}return i}function WN(e,n,t,i){let r=et+i,o=t.length;i>0&&(t[r-1][sn]=n),i<o-et?(n[sn]=t[r],Xh(t,et+i,n)):(t.push(n),n[sn]=null),n[Ge]=t;let s=n[qi];s!==null&&t!==s&&ED(s,n);let a=n[Un];a!==null&&a.insertView(e),Qc(n),n[$]|=128}function ED(e,n){let t=e[Fr],i=n[Ge];if($n(i))e[$]|=2;else{let r=i[Ge][bt];n[bt]!==r&&(e[$]|=2)}t===null?e[Fr]=[n]:t.push(n)}var Ji=class{_lView;_cdRefInjectingView;_appRef=null;_attachedToViewContainer=!1;exhaustive;get rootNodes(){let n=this._lView,t=n[x];return Ea(t,n,t.firstChild,[])}constructor(n,t){this._lView=n,this._cdRefInjectingView=t}get context(){return this._lView[Oe]}set context(n){this._lView[Oe]=n}get destroyed(){return Lr(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let n=this._lView[Ge];if(bn(n)){let t=n[ua],i=t?t.indexOf(this):-1;i>-1&&(Ia(n,i),oa(t,i))}this._attachedToViewContainer=!1}$u(this._lView[x],this._lView)}onDestroy(n){yp(this._lView,n)}markForCheck(){lm(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[$]&=-129}reattach(){Qc(this._lView),this._lView[$]|=128}detectChanges(){this._lView[$]|=1024,am(this._lView)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new C(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let n=$o(this._lView),t=this._lView[qi];t!==null&&!n&&em(t,this._lView),iD(this._lView[x],this._lView)}attachToAppRef(n){if(this._attachedToViewContainer)throw new C(902,!1);this._appRef=n;let t=$o(this._lView),i=this._lView[qi];i!==null&&!t&&ED(i,this._lView),Qc(this._lView)}};var kt=(()=>{class e{_declarationLView;_declarationTContainer;elementRef;static __NG_ELEMENT_ID__=qN;constructor(t,i,r){this._declarationLView=t,this._declarationTContainer=i,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,i){return this.createEmbeddedViewImpl(t,i)}createEmbeddedViewImpl(t,i,r){let o=Pa(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:i,dehydratedView:r});return new Ji(o)}}return e})();function qN(){return qu(tt(),M())}function qu(e,n){return e.type&4?new kt(n,e,ns(e,n)):null}function Fa(e,n,t,i,r){let o=e.data[n];if(o===null)o=ZN(e,n,t,i,r),f0()&&(o.flags|=32);else if(o.type&64){o.type=t,o.value=i,o.attrs=r;let s=c0();o.injectorIndex=s===null?-1:s.injectorIndex}return zo(o,!0),o}function ZN(e,n,t,i,r){let o=Cp(),s=Ep(),a=s?o:o&&o.parent,l=e.data[n]=QN(e,a,t,n,i,r);return YN(e,l,o,s),l}function YN(e,n,t,i){e.firstChild===null&&(e.firstChild=n),t!==null&&(i?t.child==null&&n.parent!==null&&(t.child=n):t.next===null&&(t.next=n,n.prev=t))}function QN(e,n,t,i,r,o){let s=n?n.injectorIndex:-1,a=0;return wp()&&(a|=128),{type:t,index:i,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:r,attrs:o,mergedAttrs:null,localNames:null,initialInputs:null,inputs:null,hostDirectiveInputs:null,outputs:null,hostDirectiveOutputs:null,directiveToIndex:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:n,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}var nW=new RegExp(`^(\\d+)*(${uM}|${cM})*(.*)`);function JN(e){let n=e[dp]??[],i=e[Ge][ue],r=[];for(let o of n)o.data[Ab]!==void 0?r.push(o):KN(o,i);e[dp]=r}function KN(e,n){let t=0,i=e.firstChild;if(i){let r=e.data[Rb];for(;t<r;){let o=i.nextSibling;Kb(n,i,!1),i=o,t++}}}var XN=()=>null,eO=()=>null;function wu(e,n){return XN(e,n)}function ID(e,n,t){return eO(e,n,t)}var TD=class{},Zu=class{},gg=class{resolveComponentFactory(n){throw new C(917,!1)}},yi=class{static NULL=new gg},Yt=class{},Ve=(()=>{class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>tO()}return e})();function tO(){let e=M(),n=tt(),t=ln(n.index,e);return($n(t)?t:e)[ue]}var SD=(()=>{class e{static \u0275prov=y({token:e,providedIn:"root",factory:()=>null})}return e})();var pu={},mg=class{injector;parentInjector;constructor(n,t){this.injector=n,this.parentInjector=t}get(n,t,i){let r=this.injector.get(n,pu,i);return r!==pu||t===pu?r:this.parentInjector.get(n,t,i)}};function H0(e,n,t){let i=t?e.styles:null,r=t?e.classes:null,o=0;if(n!==null)for(let s=0;s<n.length;s++){let a=n[s];if(typeof a=="number")o=a;else if(o==1)r=$c(r,a);else if(o==2){let l=a,c=n[++s];i=$c(i,l+": "+c+";")}}t?e.styles=i:e.stylesWithoutHost=i,t?e.classes=r:e.classesWithoutHost=r}function m(e,n=0){let t=M();if(t===null)return D(e,n);let i=tt();return Cb(i,t,dt(e),n)}function cm(){let e="invalid";throw new Error(e)}function MD(e,n,t,i,r){let o=i===null?null:{"":-1},s=r(e,t);if(s!==null){let a=s,l=null,c=null;for(let u of s)if(u.resolveHostDirectives!==null){[a,l,c]=u.resolveHostDirectives(s);break}rO(e,n,t,a,o,l,c)}o!==null&&i!==null&&nO(t,i,o)}function nO(e,n,t){let i=e.localNames=[];for(let r=0;r<n.length;r+=2){let o=t[n[r+1]];if(o==null)throw new C(-301,!1);i.push(n[r],o)}}function iO(e,n,t){n.componentOffset=t,(e.components??=[]).push(n.index)}function rO(e,n,t,i,r,o,s){let a=i.length,l=!1;for(let h=0;h<a;h++){let f=i[h];!l&&Dn(f)&&(l=!0,iO(e,t,h)),Xp(yu(t,n),e,f.type)}uO(t,e.data.length,a);for(let h=0;h<a;h++){let f=i[h];f.providersResolver&&f.providersResolver(f)}let c=!1,u=!1,d=tD(e,n,a,null);a>0&&(t.directiveToIndex=new Map);for(let h=0;h<a;h++){let f=i[h];if(t.mergedAttrs=wa(t.mergedAttrs,f.hostAttrs),sO(e,t,n,d,f),cO(d,f,r),s!==null&&s.has(f)){let[v,_]=s.get(f);t.directiveToIndex.set(f.type,[d,v+t.directiveStart,_+t.directiveStart])}else(o===null||!o.has(f))&&t.directiveToIndex.set(f.type,d);f.contentQueries!==null&&(t.flags|=4),(f.hostBindings!==null||f.hostAttrs!==null||f.hostVars!==0)&&(t.flags|=64);let p=f.type.prototype;!c&&(p.ngOnChanges||p.ngOnInit||p.ngDoCheck)&&((e.preOrderHooks??=[]).push(t.index),c=!0),!u&&(p.ngOnChanges||p.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(t.index),u=!0),d++}oO(e,t,o)}function oO(e,n,t){for(let i=n.directiveStart;i<n.directiveEnd;i++){let r=e.data[i];if(t===null||!t.has(r))U0(0,n,r,i),U0(1,n,r,i),G0(n,i,!1);else{let o=t.get(r);$0(0,n,o,i),$0(1,n,o,i),G0(n,i,!0)}}}function U0(e,n,t,i){let r=e===0?t.inputs:t.outputs;for(let o in r)if(r.hasOwnProperty(o)){let s;e===0?s=n.inputs??={}:s=n.outputs??={},s[o]??=[],s[o].push(i),ND(n,o)}}function $0(e,n,t,i){let r=e===0?t.inputs:t.outputs;for(let o in r)if(r.hasOwnProperty(o)){let s=r[o],a;e===0?a=n.hostDirectiveInputs??={}:a=n.hostDirectiveOutputs??={},a[s]??=[],a[s].push(i,o),ND(n,s)}}function ND(e,n){n==="class"?e.flags|=8:n==="style"&&(e.flags|=16)}function G0(e,n,t){let{attrs:i,inputs:r,hostDirectiveInputs:o}=e;if(i===null||!t&&r===null||t&&o===null||Yg(e)){e.initialInputs??=[],e.initialInputs.push(null);return}let s=null,a=0;for(;a<i.length;){let l=i[a];if(l===0){a+=4;continue}else if(l===5){a+=2;continue}else if(typeof l=="number")break;if(!t&&r.hasOwnProperty(l)){let c=r[l];for(let u of c)if(u===n){s??=[],s.push(l,i[a+1]);break}}else if(t&&o.hasOwnProperty(l)){let c=o[l];for(let u=0;u<c.length;u+=2)if(c[u]===n){s??=[],s.push(c[u+1],i[a+1]);break}}a+=2}e.initialInputs??=[],e.initialInputs.push(s)}function sO(e,n,t,i,r){e.data[i]=r;let o=r.factory||(r.factory=Gi(r.type,!0)),s=new Br(o,Dn(r),m,null);e.blueprint[i]=s,t[i]=s,aO(e,n,i,tD(e,t,r.hostVars,nt),r)}function aO(e,n,t,i,r){let o=r.hostBindings;if(o){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let a=~n.index;lO(s)!=a&&s.push(a),s.push(t,i,o)}}function lO(e){let n=e.length;for(;n>0;){let t=e[--n];if(typeof t=="number"&&t<0)return t}return 0}function cO(e,n,t){if(t){if(n.exportAs)for(let i=0;i<n.exportAs.length;i++)t[n.exportAs[i]]=e;Dn(n)&&(t[""]=e)}}function uO(e,n,t){e.flags|=1,e.directiveStart=n,e.directiveEnd=n+t,e.providerIndexes=n}function um(e,n,t,i,r,o,s,a){let l=n[x],c=l.consts,u=Gn(c,s),d=Fa(l,e,t,i,u);return o&&MD(l,n,d,Gn(c,a),r),d.mergedAttrs=wa(d.mergedAttrs,d.attrs),d.attrs!==null&&H0(d,d.attrs,!1),d.mergedAttrs!==null&&H0(d,d.mergedAttrs,!0),l.queries!==null&&l.queries.elementStart(l,d),d}function dm(e,n){pb(e,n),fp(n)&&e.queries.elementEnd(n)}function fm(e){return Yu(e)?Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e:!1}function OD(e,n){if(Array.isArray(e))for(let t=0;t<e.length;t++)n(e[t]);else{let t=e[Symbol.iterator](),i;for(;!(i=t.next()).done;)n(i.value)}}function Yu(e){return e!==null&&(typeof e=="function"||typeof e=="object")}function bi(e,n,t){return e[n]=t}function Qu(e,n){return e[n]}function ft(e,n,t){if(t===nt)return!1;let i=e[n];return Object.is(i,t)?!1:(e[n]=t,!0)}function Jo(e,n,t,i){let r=ft(e,n,t);return ft(e,n+1,i)||r}function RD(e,n,t,i,r){let o=Jo(e,n,t,i);return ft(e,n+2,r)||o}function Ta(e,n,t,i,r,o){let s=Jo(e,n,t,i);return Jo(e,n+2,r,o)||s}function $p(e,n,t){return function i(r){let o=Yi(e)?ln(e.index,n):n;lm(o,5);let s=n[Oe],a=z0(n,s,t,r),l=i.__ngNextListenerFn__;for(;l;)a=z0(n,s,l,r)&&a,l=l.__ngNextListenerFn__;return a}}function z0(e,n,t,i){let r=U(null);try{return pe(6,n,t),t(i)!==!1}catch(o){return NN(e,o),!1}finally{pe(7,n,t),U(r)}}function dO(e,n,t,i,r,o,s,a){let l=Uo(e),c=!1,u=null;if(!i&&l&&(u=fO(n,t,o,e.index)),u!==null){let d=u.__ngLastListenerFn__||u;d.__ngNextListenerFn__=s,u.__ngLastListenerFn__=s,c=!0}else{let d=wn(e,t),h=i?i(d):d;fM(t,h,o,a);let f=r.listen(h,o,a),p=i?v=>i(an(v[e.index])):e.index;AD(p,n,t,o,a,f,!1)}return c}function fO(e,n,t,i){let r=e.cleanup;if(r!=null)for(let o=0;o<r.length-1;o+=2){let s=r[o];if(s===t&&r[o+1]===i){let a=n[Bo],l=r[o+2];return a&&a.length>l?a[l]:null}typeof s=="string"&&(o+=2)}return null}function AD(e,n,t,i,r,o,s){let a=n.firstCreatePass?Dp(n):null,l=bp(t),c=l.length;l.push(r,o),a&&a.push(i,e,c,(c+1)*(s?-1:1))}function W0(e,n,t,i,r,o){let s=n[t],a=n[x],c=a.data[t].outputs[i],d=s[c].subscribe(o);AD(e.index,a,n,r,o,d,!0)}var vg=Symbol("BINDING");var Cu=class extends yi{ngModule;constructor(n){super(),this.ngModule=n}resolveComponentFactory(n){let t=Bn(n);return new Ki(t,this.ngModule)}};function hO(e){return Object.keys(e).map(n=>{let[t,i,r]=e[n],o={propName:t,templateName:n,isSignal:(i&Uu.SignalBased)!==0};return r&&(o.transform=r),o})}function pO(e){return Object.keys(e).map(n=>({propName:e[n],templateName:n}))}function gO(e,n,t){let i=n instanceof Pe?n:n?.injector;return i&&e.getStandaloneInjector!==null&&(i=e.getStandaloneInjector(i)||i),i?new mg(t,i):t}function mO(e){let n=e.get(Yt,null);if(n===null)throw new C(407,!1);let t=e.get(SD,null),i=e.get(fi,null);return{rendererFactory:n,sanitizer:t,changeDetectionScheduler:i,ngReflect:!1}}function vO(e,n){let t=xD(e);return Qb(n,t,t==="svg"?hp:t==="math"?Ky:null)}function xD(e){return(e.selectors[0][0]||"div").toLowerCase()}var Ki=class extends Zu{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=hO(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=pO(this.componentDef.outputs),this.cachedOutputs}constructor(n,t){super(),this.componentDef=n,this.ngModule=t,this.componentType=n.type,this.selector=YM(n.selectors),this.ngContentSelectors=n.ngContentSelectors??[],this.isBoundToModule=!!t}create(n,t,i,r,o,s){pe(22);let a=U(null);try{let l=this.componentDef,c=_O(i,l,s,o),u=gO(l,r||this.ngModule,n),d=mO(u),h=d.rendererFactory.createRenderer(null,l),f=i?vN(h,i,l.encapsulation,u):vO(l,h),p=s?.some(q0)||o?.some(b=>typeof b!="function"&&b.bindings.some(q0)),v=Jg(null,c,null,512|eD(l),null,null,d,h,u,null,kb(f,u,!0));v[_e]=f,eu(v);let _=null;try{let b=um(_e,v,2,"#host",()=>c.directiveRegistry,!0,0);f&&(Xb(h,f,b),Yo(f,v)),zu(c,v,b),Hg(c,b,v),dm(c,b),t!==void 0&&bO(b,this.ngContentSelectors,t),_=ln(b.index,v),v[Oe]=_[Oe],sm(c,v,null)}catch(b){throw _!==null&&tg(_),tg(v),b}finally{pe(23),tu()}return new Eu(this.componentType,v,!!p)}finally{U(a)}}};function _O(e,n,t,i){let r=e?["ng-version","20.2.2"]:QM(n.selectors[0]),o=null,s=null,a=0;if(t)for(let u of t)a+=u[vg].requiredVars,u.create&&(u.targetIdx=0,(o??=[]).push(u)),u.update&&(u.targetIdx=0,(s??=[]).push(u));if(i)for(let u=0;u<i.length;u++){let d=i[u];if(typeof d!="function")for(let h of d.bindings){a+=h[vg].requiredVars;let f=u+1;h.create&&(h.targetIdx=f,(o??=[]).push(h)),h.update&&(h.targetIdx=f,(s??=[]).push(h))}}let l=[n];if(i)for(let u of i){let d=typeof u=="function"?u:u.type,h=ip(d);l.push(h)}return Qg(0,null,yO(o,s),1,a,l,null,null,null,[r],null)}function yO(e,n){return!e&&!n?null:t=>{if(t&1&&e)for(let i of e)i.create();if(t&2&&n)for(let i of n)i.update()}}function q0(e){let n=e[vg].kind;return n==="input"||n==="twoWay"}var Eu=class extends TD{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(n,t,i){super(),this._rootLView=t,this._hasInputBindings=i,this._tNode=da(t[x],_e),this.location=ns(this._tNode,t),this.instance=ln(this._tNode.index,t)[Oe],this.hostView=this.changeDetectorRef=new Ji(t,void 0),this.componentType=n}setInput(n,t){this._hasInputBindings;let i=this._tNode;if(this.previousInputValues??=new Map,this.previousInputValues.has(n)&&Object.is(this.previousInputValues.get(n),t))return;let r=this._rootLView,o=om(i,r[x],r,n,t);this.previousInputValues.set(n,t);let s=ln(i.index,r);lm(s,1)}get injector(){return new Vr(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(n){this.hostView.onDestroy(n)}};function bO(e,n,t){let i=e.projection=[];for(let r=0;r<n.length;r++){let o=t[r];i.push(o!=null&&o.length?Array.from(o):null)}}var St=(()=>{class e{static __NG_ELEMENT_ID__=DO}return e})();function DO(){let e=tt();return kD(e,M())}var wO=St,PD=class extends wO{_lContainer;_hostTNode;_hostLView;constructor(n,t,i){super(),this._lContainer=n,this._hostTNode=t,this._hostLView=i}get element(){return ns(this._hostTNode,this._hostLView)}get injector(){return new Vr(this._hostTNode,this._hostLView)}get parentInjector(){let n=Lg(this._hostTNode,this._hostLView);if(vb(n)){let t=vu(n,this._hostLView),i=mu(n),r=t[x].data[i+8];return new Vr(r,t)}else return new Vr(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(n){let t=Z0(this._lContainer);return t!==null&&t[n]||null}get length(){return this._lContainer.length-et}createEmbeddedView(n,t,i){let r,o;typeof i=="number"?r=i:i!=null&&(r=i.index,o=i.injector);let s=wu(this._lContainer,n.ssrId),a=n.createEmbeddedViewImpl(t||{},o,s);return this.insertImpl(a,r,Qo(this._hostTNode,s)),a}createComponent(n,t,i,r,o,s,a){let l=n&&!FS(n),c;if(l)c=t;else{let _=t||{};c=_.index,i=_.injector,r=_.projectableNodes,o=_.environmentInjector||_.ngModuleRef,s=_.directives,a=_.bindings}let u=l?n:new Ki(Bn(n)),d=i||this.parentInjector;if(!o&&u.ngModule==null){let b=(l?d:this.parentInjector).get(Pe,null);b&&(o=b)}let h=Bn(u.componentType??{}),f=wu(this._lContainer,h?.id??null),p=f?.firstChild??null,v=u.create(d,r,p,o,s,a);return this.insertImpl(v.hostView,c,Qo(this._hostTNode,f)),v}insert(n,t){return this.insertImpl(n,t,!0)}insertImpl(n,t,i){let r=n._lView;if(e0(r)){let a=this.indexOf(n);if(a!==-1)this.detach(a);else{let l=r[Ge],c=new PD(l,l[It],l[Ge]);c.detach(c.indexOf(n))}}let o=this._adjustIndex(t),s=this._lContainer;return ka(s,r,o,i),n.attachToViewContainerRef(),Xh(Gp(s),o,n),n}move(n,t){return this.insert(n,t)}indexOf(n){let t=Z0(this._lContainer);return t!==null?t.indexOf(n):-1}remove(n){let t=this._adjustIndex(n,-1),i=Ia(this._lContainer,t);i&&(oa(Gp(this._lContainer),t),$u(i[x],i))}detach(n){let t=this._adjustIndex(n,-1),i=Ia(this._lContainer,t);return i&&oa(Gp(this._lContainer),t)!=null?new Ji(i):null}_adjustIndex(n,t=0){return n??this.length+t}};function Z0(e){return e[ua]}function Gp(e){return e[ua]||(e[ua]=[])}function kD(e,n){let t,i=n[e.index];return bn(i)?t=i:(t=DD(i,n,null,e),n[e.index]=t,Kg(n,t)),EO(t,n,e,i),new PD(t,e,n)}function CO(e,n){let t=e[ue],i=t.createComment(""),r=wn(n,e),o=t.parentNode(r);return Du(t,o,i,t.nextSibling(r),!1),i}var EO=SO,IO=()=>!1;function TO(e,n,t){return IO(e,n,t)}function SO(e,n,t,i){if(e[Zi])return;let r;t.type&8?r=an(i):r=CO(n,t),e[Zi]=r}var _g=class e{queryList;matches=null;constructor(n){this.queryList=n}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty()}},yg=class e{queries;constructor(n=[]){this.queries=n}createEmbeddedView(n){let t=n.queries;if(t!==null){let i=n.contentQueries!==null?n.contentQueries[0]:t.length,r=[];for(let o=0;o<i;o++){let s=t.getByIndex(o),a=this.queries[s.indexInDeclarationView];r.push(a.clone())}return new e(r)}return null}insertView(n){this.dirtyQueriesWithMatches(n)}detachView(n){this.dirtyQueriesWithMatches(n)}finishViewCreation(n){this.dirtyQueriesWithMatches(n)}dirtyQueriesWithMatches(n){for(let t=0;t<this.queries.length;t++)hm(n,t).matches!==null&&this.queries[t].setDirty()}},Iu=class{flags;read;predicate;constructor(n,t,i=null){this.flags=t,this.read=i,typeof n=="string"?this.predicate=kO(n):this.predicate=n}},bg=class e{queries;constructor(n=[]){this.queries=n}elementStart(n,t){for(let i=0;i<this.queries.length;i++)this.queries[i].elementStart(n,t)}elementEnd(n){for(let t=0;t<this.queries.length;t++)this.queries[t].elementEnd(n)}embeddedTView(n){let t=null;for(let i=0;i<this.length;i++){let r=t!==null?t.length:0,o=this.getByIndex(i).embeddedTView(n,r);o&&(o.indexInDeclarationView=i,t!==null?t.push(o):t=[o])}return t!==null?new e(t):null}template(n,t){for(let i=0;i<this.queries.length;i++)this.queries[i].template(n,t)}getByIndex(n){return this.queries[n]}get length(){return this.queries.length}track(n){this.queries.push(n)}},Dg=class e{metadata;matches=null;indexInDeclarationView=-1;crossesNgTemplate=!1;_declarationNodeIndex;_appliesToNextNode=!0;constructor(n,t=-1){this.metadata=n,this._declarationNodeIndex=t}elementStart(n,t){this.isApplyingToNode(t)&&this.matchTNode(n,t)}elementEnd(n){this._declarationNodeIndex===n.index&&(this._appliesToNextNode=!1)}template(n,t){this.elementStart(n,t)}embeddedTView(n,t){return this.isApplyingToNode(n)?(this.crossesNgTemplate=!0,this.addMatch(-n.index,t),new e(this.metadata)):null}isApplyingToNode(n){if(this._appliesToNextNode&&(this.metadata.flags&1)!==1){let t=this._declarationNodeIndex,i=n.parent;for(;i!==null&&i.type&8&&i.index!==t;)i=i.parent;return t===(i!==null?i.index:-1)}return this._appliesToNextNode}matchTNode(n,t){let i=this.metadata.predicate;if(Array.isArray(i))for(let r=0;r<i.length;r++){let o=i[r];this.matchTNodeWithReadOption(n,t,MO(t,o)),this.matchTNodeWithReadOption(n,t,hu(t,n,o,!1,!1))}else i===kt?t.type&4&&this.matchTNodeWithReadOption(n,t,-1):this.matchTNodeWithReadOption(n,t,hu(t,n,i,!1,!1))}matchTNodeWithReadOption(n,t,i){if(i!==null){let r=this.metadata.read;if(r!==null)if(r===ie||r===St||r===kt&&t.type&4)this.addMatch(t.index,-2);else{let o=hu(t,n,r,!1,!1);o!==null&&this.addMatch(t.index,o)}else this.addMatch(t.index,i)}}addMatch(n,t){this.matches===null?this.matches=[n,t]:this.matches.push(n,t)}};function MO(e,n){let t=e.localNames;if(t!==null){for(let i=0;i<t.length;i+=2)if(t[i]===n)return t[i+1]}return null}function NO(e,n){return e.type&11?ns(e,n):e.type&4?qu(e,n):null}function OO(e,n,t,i){return t===-1?NO(n,e):t===-2?RO(e,n,i):Ca(e,e[x],t,n)}function RO(e,n,t){if(t===ie)return ns(n,e);if(t===kt)return qu(n,e);if(t===St)return kD(n,e)}function FD(e,n,t,i){let r=n[Un].queries[i];if(r.matches===null){let o=e.data,s=t.matches,a=[];for(let l=0;s!==null&&l<s.length;l+=2){let c=s[l];if(c<0)a.push(null);else{let u=o[c];a.push(OO(n,u,s[l+1],t.metadata.read))}}r.matches=a}return r.matches}function wg(e,n,t,i){let r=e.queries.getByIndex(t),o=r.matches;if(o!==null){let s=FD(e,n,r,t);for(let a=0;a<o.length;a+=2){let l=o[a];if(l>0)i.push(s[a/2]);else{let c=o[a+1],u=n[-l];for(let d=et;d<u.length;d++){let h=u[d];h[qi]===h[Ge]&&wg(h[x],h,c,i)}if(u[Fr]!==null){let d=u[Fr];for(let h=0;h<d.length;h++){let f=d[h];wg(f[x],f,c,i)}}}}}return i}function AO(e,n){return e[Un].queries[n].queryList}function LD(e,n,t){let i=new bu((t&4)===4);return i0(e,n,i,i.destroy),(n[Un]??=new yg).queries.push(new _g(i))-1}function xO(e,n,t){let i=ye();return i.firstCreatePass&&(jD(i,new Iu(e,n,t),-1),(n&2)===2&&(i.staticViewQueries=!0)),LD(i,M(),n)}function PO(e,n,t,i){let r=ye();if(r.firstCreatePass){let o=tt();jD(r,new Iu(n,t,i),o.index),FO(r,e),(t&2)===2&&(r.staticContentQueries=!0)}return LD(r,M(),t)}function kO(e){return e.split(",").map(n=>n.trim())}function jD(e,n,t){e.queries===null&&(e.queries=new bg),e.queries.track(new Dg(n,t))}function FO(e,n){let t=e.contentQueries||(e.contentQueries=[]),i=t.length?t[t.length-1]:-1;n!==i&&t.push(e.queries.length-1,n)}function hm(e,n){return e.queries.getByIndex(n)}function LO(e,n){let t=e[x],i=hm(t,n);return i.crossesNgTemplate?wg(t,e,n,[]):FD(t,e,i,n)}function VD(e){let n=[],t=new Map;function i(r){let o=t.get(r);if(!o){let s=e(r);t.set(r,o=s.then(a=>VO(r,a)))}return o}return Tu.forEach((r,o)=>{let s=[];r.templateUrl&&s.push(i(r.templateUrl).then(c=>{r.template=c}));let a=typeof r.styles=="string"?[r.styles]:r.styles||[];if(r.styles=a,r.styleUrl&&r.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(r.styleUrls?.length){let c=r.styles.length,u=r.styleUrls;r.styleUrls.forEach((d,h)=>{a.push(""),s.push(i(d).then(f=>{a[c+h]=f,u.splice(u.indexOf(d),1),u.length==0&&(r.styleUrls=void 0)}))})}else r.styleUrl&&s.push(i(r.styleUrl).then(c=>{a.push(c),r.styleUrl=void 0}));let l=Promise.all(s).then(()=>BO(o));n.push(l)}),BD(),Promise.all(n).then(()=>{})}var Tu=new Map,jO=new Set;function BD(){let e=Tu;return Tu=new Map,e}function HD(){return Tu.size===0}function VO(e,n){return typeof n=="string"?n:n.status!==void 0&&n.status!==200?Promise.reject(new C(918,!1)):n.text()}function BO(e){jO.delete(e)}var Y0=new Set;function Yn(e){Y0.has(e)||(Y0.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}var Hr=class{},Ju=class{};var Sa=class extends Hr{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new Cu(this);constructor(n,t,i,r=!0){super(),this.ngModuleType=n,this._parent=t;let o=np(n);this._bootstrapComponents=qb(o.bootstrap),this._r3Injector=Pp(n,t,[{provide:Hr,useValue:this},{provide:yi,useValue:this.componentFactoryResolver},...i],di(n),new Set(["environment"])),r&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){let n=this._r3Injector;!n.destroyed&&n.destroy(),this.destroyCbs.forEach(t=>t()),this.destroyCbs=null}onDestroy(n){this.destroyCbs.push(n)}},Ma=class extends Ju{moduleType;constructor(n){super(),this.moduleType=n}create(n){return new Sa(this.moduleType,n,[])}};function UD(e,n,t){return new Sa(e,n,t,!1)}var Su=class extends Hr{injector;componentFactoryResolver=new Cu(this);instance=null;constructor(n){super();let t=new Mr([...n.providers,{provide:Hr,useValue:this},{provide:yi,useValue:this.componentFactoryResolver}],n.parent||Vo(),n.debugName,new Set(["environment"]));this.injector=t,n.runEnvironmentInitializers&&t.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(n){this.injector.onDestroy(n)}};function is(e,n,t=null){return new Su({providers:e,parent:n,debugName:t,runEnvironmentInitializers:!0}).injector}var HO=(()=>{class e{_injector;cachedInjectors=new Map;constructor(t){this._injector=t}getOrCreateStandaloneInjector(t){if(!t.standalone)return null;if(!this.cachedInjectors.has(t)){let i=rp(!1,t.type),r=i.length>0?is([i],this._injector,`Standalone[${t.type.name}]`):null;this.cachedInjectors.set(t,r)}return this.cachedInjectors.get(t)}ngOnDestroy(){try{for(let t of this.cachedInjectors.values())t!==null&&t.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=y({token:e,providedIn:"environment",factory:()=>new e(D(Pe))})}return e})();function We(e){return es(()=>{let n=$D(e),t=j(w({},n),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===jg.OnPush,directiveDefs:null,pipeDefs:null,dependencies:n.standalone&&e.dependencies||null,getStandaloneInjector:n.standalone?r=>r.get(HO).getOrCreateStandaloneInjector(t):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||gi.Emulated,styles:e.styles||Et,_:null,schemas:e.schemas||null,tView:null,id:""});n.standalone&&Yn("NgStandalone"),GD(t);let i=e.dependencies;return t.directiveDefs=Q0(i,UO),t.pipeDefs=Q0(i,qy),t.id=zO(t),t})}function UO(e){return Bn(e)||ip(e)}function K(e){return es(()=>({type:e.type,bootstrap:e.bootstrap||Et,declarations:e.declarations||Et,imports:e.imports||Et,exports:e.exports||Et,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function $O(e,n){if(e==null)return Wi;let t={};for(let i in e)if(e.hasOwnProperty(i)){let r=e[i],o,s,a,l;Array.isArray(r)?(a=r[0],o=r[1],s=r[2]??o,l=r[3]||null):(o=r,s=r,a=Uu.None,l=null),t[o]=[i,a,l],n[o]=s}return t}function GO(e){if(e==null)return Wi;let n={};for(let t in e)e.hasOwnProperty(t)&&(n[e[t]]=t);return n}function G(e){return es(()=>{let n=$D(e);return GD(n),n})}function Di(e){return{type:e.type,name:e.name,factory:null,pure:e.pure!==!1,standalone:e.standalone??!0,onDestroy:e.type.prototype.ngOnDestroy||null}}function $D(e){let n={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:n,inputConfig:e.inputs||Wi,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||Et,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,inputs:$O(e.inputs,n),outputs:GO(e.outputs),debugInfo:null}}function GD(e){e.features?.forEach(n=>n(e))}function Q0(e,n){return e?()=>{let t=typeof e=="function"?e():e,i=[];for(let r of t){let o=n(r);o!==null&&i.push(o)}return i}:null}function zO(e){let n=0,t=typeof e.consts=="function"?"":e.consts,i=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,t,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery];for(let o of i.join("|"))n=Math.imul(31,n)+o.charCodeAt(0)<<0;return n+=2147483648,"c"+n}function WO(e){return Object.getPrototypeOf(e.prototype).constructor}function Re(e){let n=WO(e.type),t=!0,i=[e];for(;n;){let r;if(Dn(e))r=n.\u0275cmp||n.\u0275dir;else{if(n.\u0275cmp)throw new C(903,!1);r=n.\u0275dir}if(r){if(t){i.push(r);let s=e;s.inputs=zp(e.inputs),s.declaredInputs=zp(e.declaredInputs),s.outputs=zp(e.outputs);let a=r.hostBindings;a&&JO(e,a);let l=r.viewQuery,c=r.contentQueries;if(l&&YO(e,l),c&&QO(e,c),qO(e,r),jy(e.outputs,r.outputs),Dn(r)&&r.data.animation){let u=e.data;u.animation=(u.animation||[]).concat(r.data.animation)}}let o=r.features;if(o)for(let s=0;s<o.length;s++){let a=o[s];a&&a.ngInherit&&a(e),a===Re&&(t=!1)}}n=Object.getPrototypeOf(n)}ZO(i)}function qO(e,n){for(let t in n.inputs){if(!n.inputs.hasOwnProperty(t)||e.inputs.hasOwnProperty(t))continue;let i=n.inputs[t];i!==void 0&&(e.inputs[t]=i,e.declaredInputs[t]=n.declaredInputs[t])}}function ZO(e){let n=0,t=null;for(let i=e.length-1;i>=0;i--){let r=e[i];r.hostVars=n+=r.hostVars,r.hostAttrs=wa(r.hostAttrs,t=wa(t,r.hostAttrs))}}function zp(e){return e===Wi?{}:e===Et?[]:e}function YO(e,n){let t=e.viewQuery;t?e.viewQuery=(i,r)=>{n(i,r),t(i,r)}:e.viewQuery=n}function QO(e,n){let t=e.contentQueries;t?e.contentQueries=(i,r,o)=>{n(i,r,o),t(i,r,o)}:e.contentQueries=n}function JO(e,n){let t=e.hostBindings;t?e.hostBindings=(i,r)=>{n(i,r),t(i,r)}:e.hostBindings=n}function zD(e,n,t,i,r,o,s,a){if(t.firstCreatePass){e.mergedAttrs=wa(e.mergedAttrs,e.attrs);let u=e.tView=Qg(2,e,r,o,s,t.directiveRegistry,t.pipeRegistry,null,t.schemas,t.consts,null);t.queries!==null&&(t.queries.template(t,e),u.queries=t.queries.embeddedTView(e))}a&&(e.flags|=a),zo(e,!1);let l=XO(t,n,e,i);nu()&&tm(t,n,l,e),Yo(l,n);let c=DD(l,n,l,e);n[i+_e]=c,Kg(n,c),TO(c,e,n)}function KO(e,n,t,i,r,o,s,a,l,c,u){let d=t+_e,h;return n.firstCreatePass?(h=Fa(n,d,4,s||null,a||null),Jc()&&MD(n,e,h,Gn(n.consts,c),rm),pb(n,h)):h=n.data[d],zD(h,e,n,t,i,r,o,l),Uo(h)&&zu(n,e,h),c!=null&&Wu(e,h,u),h}function Na(e,n,t,i,r,o,s,a,l,c,u){let d=t+_e,h;if(n.firstCreatePass){if(h=Fa(n,d,4,s||null,a||null),c!=null){let f=Gn(n.consts,c);h.localNames=[];for(let p=0;p<f.length;p+=2)h.localNames.push(f[p],-1)}}else h=n.data[d];return zD(h,e,n,t,i,r,o,l),c!=null&&Wu(e,h,u),h}function de(e,n,t,i,r,o,s,a){let l=M(),c=ye(),u=Gn(c.consts,o);return KO(l,c,e,n,t,i,r,u,void 0,s,a),de}var XO=eR;function eR(e,n,t,i){return ma(!0),n[ue].createComment("")}var Ku=(function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e})(Ku||{}),Gr=new E(""),WD=!1,Cg=class extends B{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(n=!1){super(),this.__isAsync=n,ap()&&(this.destroyRef=g(En,{optional:!0})??void 0,this.pendingTasks=g(Wn,{optional:!0})??void 0)}emit(n){let t=U(null);try{super.next(n)}finally{U(t)}}subscribe(n,t,i){let r=n,o=t||(()=>null),s=i;if(n&&typeof n=="object"){let l=n;r=l.next?.bind(l),o=l.error?.bind(l),s=l.complete?.bind(l)}this.__isAsync&&(o=this.wrapInTimeout(o),r&&(r=this.wrapInTimeout(r)),s&&(s=this.wrapInTimeout(s)));let a=super.subscribe({next:r,error:o,complete:s});return n instanceof De&&n.add(a),a}wrapInTimeout(n){return t=>{let i=this.pendingTasks?.add();setTimeout(()=>{try{n(t)}finally{i!==void 0&&this.pendingTasks?.remove(i)}})}}},H=Cg;function qD(e){let n,t;function i(){e=ya;try{t!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(t),n!==void 0&&clearTimeout(n)}catch{}}return n=setTimeout(()=>{e(),i()}),typeof requestAnimationFrame=="function"&&(t=requestAnimationFrame(()=>{e(),i()})),()=>i()}function J0(e){return queueMicrotask(()=>e()),()=>{e=ya}}var pm="isAngularZone",Mu=pm+"_ID",tR=0,ee=class e{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new H(!1);onMicrotaskEmpty=new H(!1);onStable=new H(!1);onError=new H(!1);constructor(n){let{enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:i=!1,shouldCoalesceRunChangeDetection:r=!1,scheduleInRootZone:o=WD}=n;if(typeof Zone>"u")throw new C(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)),t&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!r&&i,s.shouldCoalesceRunChangeDetection=r,s.callbackScheduled=!1,s.scheduleInRootZone=o,rR(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(pm)===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new C(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new C(909,!1)}run(n,t,i){return this._inner.run(n,t,i)}runTask(n,t,i,r){let o=this._inner,s=o.scheduleEventTask("NgZoneEvent: "+r,n,nR,ya,ya);try{return o.runTask(s,t,i)}finally{o.cancelTask(s)}}runGuarded(n,t,i){return this._inner.runGuarded(n,t,i)}runOutsideAngular(n){return this._outer.run(n)}},nR={};function gm(e){if(e._nesting==0&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function iR(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function n(){qD(()=>{e.callbackScheduled=!1,Eg(e),e.isCheckStableRunning=!0,gm(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{n()}):e._outer.run(()=>{n()}),Eg(e)}function rR(e){let n=()=>{iR(e)},t=tR++;e._inner=e._inner.fork({name:"angular",properties:{[pm]:!0,[Mu]:t,[Mu+t]:!0},onInvokeTask:(i,r,o,s,a,l)=>{if(oR(l))return i.invokeTask(o,s,a,l);try{return K0(e),i.invokeTask(o,s,a,l)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&n(),X0(e)}},onInvoke:(i,r,o,s,a,l,c)=>{try{return K0(e),i.invoke(o,s,a,l,c)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!sR(l)&&n(),X0(e)}},onHasTask:(i,r,o,s)=>{i.hasTask(o,s),r===o&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,Eg(e),gm(e)):s.change=="macroTask"&&(e.hasPendingMacrotasks=s.macroTask))},onHandleError:(i,r,o,s)=>(i.handleError(o,s),e.runOutsideAngular(()=>e.onError.emit(s)),!1)})}function Eg(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function K0(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function X0(e){e._nesting--,gm(e)}var Oa=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new H;onMicrotaskEmpty=new H;onStable=new H;onError=new H;run(n,t,i){return n.apply(t,i)}runGuarded(n,t,i){return n.apply(t,i)}runOutsideAngular(n){return n()}runTask(n,t,i,r){return n.apply(t,i)}};function oR(e){return ZD(e,"__ignore_ng_zone__")}function sR(e){return ZD(e,"__scheduler_tick__")}function ZD(e,n){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[n]===!0}function YD(e="zone.js",n){return e==="noop"?new Oa:e==="zone.js"?new ee(n):e}var mm=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=y({token:e,providedIn:"root",factory:()=>new e})}return e})(),QD=[0,1,2,3],JD=(()=>{class e{ngZone=g(ee);scheduler=g(fi);errorHandler=g(yn,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){g(Gr,{optional:!0})}execute(){let t=this.sequences.size>0;t&&pe(16),this.executing=!0;for(let i of QD)for(let r of this.sequences)if(!(r.erroredOrDestroyed||!r.hooks[i]))try{r.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>{let o=r.hooks[i];return o(r.pipelinedValue)},r.snapshot))}catch(o){r.erroredOrDestroyed=!0,this.errorHandler?.handleError(o)}this.executing=!1;for(let i of this.sequences)i.afterRun(),i.once&&(this.sequences.delete(i),i.destroy());for(let i of this.deferredRegistrations)this.sequences.add(i);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear(),t&&pe(17)}register(t){let{view:i}=t;i!==void 0?((i[kr]??=[]).push(t),Go(i),i[$]|=8192):this.executing?this.deferredRegistrations.add(t):this.addSequence(t)}addSequence(t){this.sequences.add(t),this.scheduler.notify(7)}unregister(t){this.executing&&this.sequences.has(t)?(t.erroredOrDestroyed=!0,t.pipelinedValue=void 0,t.once=!0):(this.sequences.delete(t),this.deferredRegistrations.delete(t))}maybeTrace(t,i){return i?i.run(Ku.AFTER_NEXT_RENDER,t):t()}static \u0275prov=y({token:e,providedIn:"root",factory:()=>new e})}return e})(),Nu=class{impl;hooks;view;once;snapshot;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(n,t,i,r,o,s=null){this.impl=n,this.hooks=t,this.view=i,this.once=r,this.snapshot=s,this.unregisterOnDestroy=o?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.snapshot?.dispose(),this.snapshot=null}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.();let n=this.view?.[kr];n&&(this.view[kr]=n.filter(t=>t!==this))}};function La(e,n){let t=n?.injector??g(ce);return Yn("NgAfterNextRender"),lR(e,t,n,!0)}function aR(e){return e instanceof Function?[void 0,void 0,e,void 0]:[e.earlyRead,e.write,e.mixedReadWrite,e.read]}function lR(e,n,t,i){let r=n.get(mm);r.impl??=n.get(JD);let o=n.get(Gr,null,{optional:!0}),s=t?.manualCleanup!==!0?n.get(En):null,a=n.get(ru,null,{optional:!0}),l=new Nu(r.impl,aR(e),a?.view,i,s,o?.snapshot(null));return r.impl.register(l),l}var Xu=(()=>{class e{log(t){console.log(t)}warn(t){console.warn(t)}static \u0275fac=function(i){return new(i||e)};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();var ed=new E(""),rs=new E(""),ja=(()=>{class e{_ngZone;registry;_isZoneStable=!0;_callbacks=[];_taskTrackingZone=null;_destroyRef;constructor(t,i,r){this._ngZone=t,this.registry=i,ap()&&(this._destroyRef=g(En,{optional:!0})??void 0),vm||(KD(r),r.addToWindow(i)),this._watchAngularEvents(),t.run(()=>{this._taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){let t=this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),i=this._ngZone.runOutsideAngular(()=>this._ngZone.onStable.subscribe({next:()=>{ee.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}}));this._destroyRef?.onDestroy(()=>{t.unsubscribe(),i.unsubscribe()})}isStable(){return this._isZoneStable&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;this._callbacks.length!==0;){let t=this._callbacks.pop();clearTimeout(t.timeoutId),t.doneCb()}});else{let t=this.getPendingTasks();this._callbacks=this._callbacks.filter(i=>i.updateCb&&i.updateCb(t)?(clearTimeout(i.timeoutId),!1):!0)}}getPendingTasks(){return this._taskTrackingZone?this._taskTrackingZone.macroTasks.map(t=>({source:t.source,creationLocation:t.creationLocation,data:t.data})):[]}addCallback(t,i,r){let o=-1;i&&i>0&&(o=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==o),t()},i)),this._callbacks.push({doneCb:t,timeoutId:o,updateCb:r})}whenStable(t,i,r){if(r&&!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(t,i,r),this._runCallbacksIfReady()}registerApplication(t){this.registry.registerApplication(t,this)}unregisterApplication(t){this.registry.unregisterApplication(t)}findProviders(t,i,r){return[]}static \u0275fac=function(i){return new(i||e)(D(ee),D(Va),D(rs))};static \u0275prov=y({token:e,factory:e.\u0275fac})}return e})(),Va=(()=>{class e{_applications=new Map;registerApplication(t,i){this._applications.set(t,i)}unregisterApplication(t){this._applications.delete(t)}unregisterAllApplications(){this._applications.clear()}getTestability(t){return this._applications.get(t)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(t,i=!0){return vm?.findTestabilityInTree(this,t,i)??null}static \u0275fac=function(i){return new(i||e)};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function KD(e){vm=e}var vm;function wi(e){return!!e&&typeof e.then=="function"}function td(e){return!!e&&typeof e.subscribe=="function"}var _m=new E("");function nd(e){return Or([{provide:_m,multi:!0,useValue:e}])}var ym=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((t,i)=>{this.resolve=t,this.reject=i});appInits=g(_m,{optional:!0})??[];injector=g(ce);constructor(){}runInitializers(){if(this.initialized)return;let t=[];for(let r of this.appInits){let o=Xe(this.injector,r);if(wi(o))t.push(o);else if(td(o)){let s=new Promise((a,l)=>{o.subscribe({complete:a,error:l})});t.push(s)}}let i=()=>{this.done=!0,this.resolve()};Promise.all(t).then(()=>{i()}).catch(r=>{this.reject(r)}),t.length===0&&i(),this.initialized=!0}static \u0275fac=function(i){return new(i||e)};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),id=new E("");function XD(){ah(()=>{let e="";throw new C(600,e)})}function ew(e){return e.isBoundToModule}var cR=10;function bm(e,n){return Array.isArray(n)?n.reduce(bm,e):w(w({},e),n)}var it=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=g(Tt);afterRenderManager=g(mm);zonelessEnabled=g(va);rootEffectScheduler=g(Vp);dirtyFlags=0;tracingSnapshot=null;allTestViews=new Set;autoDetectTestViews=new Set;includeAllTestViews=!1;afterTick=new B;get allViews(){return[...(this.includeAllTestViews?this.allTestViews:this.autoDetectTestViews).keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];internalPendingTask=g(Wn);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe(N(t=>!t))}constructor(){g(Gr,{optional:!0})}whenStable(){let t;return new Promise(i=>{t=this.isStable.subscribe({next:r=>{r&&i()}})}).finally(()=>{t.unsubscribe()})}_injector=g(Pe);_rendererFactory=null;get injector(){return this._injector}bootstrap(t,i){return this.bootstrapImpl(t,i)}bootstrapImpl(t,i,r=ce.NULL){return this._injector.get(ee).run(()=>{pe(10);let s=t instanceof Zu;if(!this._injector.get(ym).done){let p="";throw new C(405,p)}let l;s?l=t:l=this._injector.get(yi).resolveComponentFactory(t),this.componentTypes.push(l.componentType);let c=ew(l)?void 0:this._injector.get(Hr),u=i||l.selector,d=l.create(r,[],u,c),h=d.location.nativeElement,f=d.injector.get(ed,null);return f?.registerApplication(h),d.onDestroy(()=>{this.detachView(d.hostView),Da(this.components,d),f?.unregisterApplication(h)}),this._loadComponent(d),pe(11,d),d})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){pe(12),this.tracingSnapshot!==null?this.tracingSnapshot.run(Ku.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw new C(101,!1);let t=U(null);try{this._runningTick=!0,this.synchronize()}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,U(t),this.afterTick.next(),pe(13)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(Yt,null,{optional:!0}));let t=0;for(;this.dirtyFlags!==0&&t++<cR;)pe(14),this.synchronizeOnce(),pe(15)}synchronizeOnce(){this.dirtyFlags&16&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush());let t=!1;if(this.dirtyFlags&7){let i=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:r}of this.allViews){if(!i&&!ha(r))continue;let o=i&&!this.zonelessEnabled?0:1;am(r,o),t=!0}if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&23)return}t||(this._rendererFactory?.begin?.(),this._rendererFactory?.end?.()),this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:t})=>ha(t))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(t){let i=t;this._views.push(i),i.attachToAppRef(this)}detachView(t){let i=t;Da(this._views,i),i.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView);try{this.tick()}catch(r){this.internalErrorHandler(r)}this.components.push(t),this._injector.get(id,[]).forEach(r=>r(t))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(t=>t()),this._views.slice().forEach(t=>t.destroy())}finally{this._destroyed=!0,this._views=[],this._destroyListeners=[]}}onDestroy(t){return this._destroyListeners.push(t),()=>Da(this._destroyListeners,t)}destroy(){if(this._destroyed)throw new C(406,!1);let t=this._injector;t.destroy&&!t.destroyed&&t.destroy()}get viewCount(){return this._views.length}static \u0275fac=function(i){return new(i||e)};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Da(e,n){let t=e.indexOf(n);t>-1&&e.splice(t,1)}function qe(e,n,t,i){let r=M(),o=zn();if(ft(r,o,n)){let s=ye(),a=Wo();IN(a,r,e,n,t,i)}return qe}var Dm=new E("",{providedIn:"root",factory:()=>!1}),wm=new E("",{providedIn:"root",factory:()=>uR}),uR=4e3;var cW=typeof document<"u"&&typeof document?.documentElement?.getAnimations=="function";function dR(){return M()[bt][Oe]}var Ig=class{destroy(n){}updateValue(n,t){}swap(n,t){let i=Math.min(n,t),r=Math.max(n,t),o=this.detach(r);if(r-i>1){let s=this.detach(i);this.attach(i,o),this.attach(r,s)}else this.attach(i,o)}move(n,t){this.attach(t,this.detach(n))}};function Wp(e,n,t,i,r){return e===t&&Object.is(n,i)?1:Object.is(r(e,n),r(t,i))?-1:0}function fR(e,n,t){let i,r,o=0,s=e.length-1,a=void 0;if(Array.isArray(n)){let l=n.length-1;for(;o<=s&&o<=l;){let c=e.at(o),u=n[o],d=Wp(o,c,o,u,t);if(d!==0){d<0&&e.updateValue(o,u),o++;continue}let h=e.at(s),f=n[l],p=Wp(s,h,l,f,t);if(p!==0){p<0&&e.updateValue(s,f),s--,l--;continue}let v=t(o,c),_=t(s,h),b=t(o,u);if(Object.is(b,_)){let T=t(l,f);Object.is(T,v)?(e.swap(o,s),e.updateValue(s,f),l--,s--):e.move(s,o),e.updateValue(o,u),o++;continue}if(i??=new Ou,r??=tb(e,o,s,t),Tg(e,i,o,b))e.updateValue(o,u),o++,s++;else if(r.has(b))i.set(v,e.detach(o)),s--;else{let T=e.create(o,n[o]);e.attach(o,T),o++,s++}}for(;o<=l;)eb(e,i,t,o,n[o]),o++}else if(n!=null){let l=n[Symbol.iterator](),c=l.next();for(;!c.done&&o<=s;){let u=e.at(o),d=c.value,h=Wp(o,u,o,d,t);if(h!==0)h<0&&e.updateValue(o,d),o++,c=l.next();else{i??=new Ou,r??=tb(e,o,s,t);let f=t(o,d);if(Tg(e,i,o,f))e.updateValue(o,d),o++,s++,c=l.next();else if(!r.has(f))e.attach(o,e.create(o,d)),o++,s++,c=l.next();else{let p=t(o,u);i.set(p,e.detach(o)),s--}}}for(;!c.done;)eb(e,i,t,e.length,c.value),c=l.next()}for(;o<=s;)e.destroy(e.detach(s--));i?.forEach(l=>{e.destroy(l)})}function Tg(e,n,t,i){return n!==void 0&&n.has(i)?(e.attach(t,n.get(i)),n.delete(i),!0):!1}function eb(e,n,t,i,r){if(Tg(e,n,i,t(i,r)))e.updateValue(i,r);else{let o=e.create(i,r);e.attach(i,o)}}function tb(e,n,t,i){let r=new Set;for(let o=n;o<=t;o++)r.add(i(o,e.at(o)));return r}var Ou=class{kvMap=new Map;_vMap=void 0;has(n){return this.kvMap.has(n)}delete(n){if(!this.has(n))return!1;let t=this.kvMap.get(n);return this._vMap!==void 0&&this._vMap.has(t)?(this.kvMap.set(n,this._vMap.get(t)),this._vMap.delete(t)):this.kvMap.delete(n),!0}get(n){return this.kvMap.get(n)}set(n,t){if(this.kvMap.has(n)){let i=this.kvMap.get(n);this._vMap===void 0&&(this._vMap=new Map);let r=this._vMap;for(;r.has(i);)i=r.get(i);r.set(i,t)}else this.kvMap.set(n,t)}forEach(n){for(let[t,i]of this.kvMap)if(n(i,t),this._vMap!==void 0){let r=this._vMap;for(;r.has(i);)i=r.get(i),n(i,t)}}};function rd(e,n,t,i,r,o,s,a){Yn("NgControlFlow");let l=M(),c=ye(),u=Gn(c.consts,o);return Na(l,c,e,n,t,i,r,u,256,s,a),Cm}function Cm(e,n,t,i,r,o,s,a){Yn("NgControlFlow");let l=M(),c=ye(),u=Gn(c.consts,o);return Na(l,c,e,n,t,i,r,u,512,s,a),Cm}function od(e,n){Yn("NgControlFlow");let t=M(),i=zn(),r=t[i]!==nt?t[i]:-1,o=r!==-1?Ru(t,_e+r):void 0,s=0;if(ft(t,i,e)){let a=U(null);try{if(o!==void 0&&CD(o,s),e!==-1){let l=_e+e,c=Ru(t,l),u=Og(t[x],l),d=ID(c,u,t),h=Pa(t,u,n,{dehydratedView:d});ka(c,h,s,Qo(u,d))}}finally{U(a)}}else if(o!==void 0){let a=wD(o,s);a!==void 0&&(a[Oe]=n)}}var Sg=class{lContainer;$implicit;$index;constructor(n,t,i){this.lContainer=n,this.$implicit=t,this.$index=i}get $count(){return this.lContainer.length-et}};function Em(e,n){return n}var Mg=class{hasEmptyBlock;trackByFn;liveCollection;constructor(n,t,i){this.hasEmptyBlock=n,this.trackByFn=t,this.liveCollection=i}};function Im(e,n,t,i,r,o,s,a,l,c,u,d,h){Yn("NgControlFlow");let f=M(),p=ye(),v=l!==void 0,_=M(),b=a?s.bind(_[bt][Oe]):s,T=new Mg(v,b);_[_e+e]=T,Na(f,p,e+1,n,t,i,r,Gn(p.consts,o),256),v&&Na(f,p,e+2,l,c,u,d,Gn(p.consts,h),512)}var Ng=class extends Ig{lContainer;hostLView;templateTNode;operationsCounter=void 0;needsIndexUpdate=!1;constructor(n,t,i){super(),this.lContainer=n,this.hostLView=t,this.templateTNode=i}get length(){return this.lContainer.length-et}at(n){return this.getLView(n)[Oe].$implicit}attach(n,t){let i=t[Rr];this.needsIndexUpdate||=n!==this.length,ka(this.lContainer,t,n,Qo(this.templateTNode,i))}detach(n){return this.needsIndexUpdate||=n!==this.length-1,hR(this.lContainer,n)}create(n,t){let i=wu(this.lContainer,this.templateTNode.tView.ssrId),r=Pa(this.hostLView,this.templateTNode,new Sg(this.lContainer,t,n),{dehydratedView:i});return this.operationsCounter?.recordCreate(),r}destroy(n){$u(n[x],n),this.operationsCounter?.recordDestroy()}updateValue(n,t){this.getLView(n)[Oe].$implicit=t}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let n=0;n<this.length;n++)this.getLView(n)[Oe].$index=n}getLView(n){return pR(this.lContainer,n)}};function Tm(e){let n=U(null),t=Cn();try{let i=M(),r=i[x],o=i[t],s=t+1,a=Ru(i,s);if(o.liveCollection===void 0){let c=Og(r,s);o.liveCollection=new Ng(a,i,c)}else o.liveCollection.reset();let l=o.liveCollection;if(fR(l,e,o.trackByFn),l.updateIndexes(),o.hasEmptyBlock){let c=zn(),u=l.length===0;if(ft(i,c,u)){let d=t+2,h=Ru(i,d);if(u){let f=Og(r,d),p=ID(h,f,i),v=Pa(i,f,void 0,{dehydratedView:p});ka(h,v,0,Qo(f,p))}else r.firstUpdatePass&&JN(h),CD(h,0)}}}finally{U(n)}}function Ru(e,n){return e[n]}function hR(e,n){return Ia(e,n)}function pR(e,n){return wD(e,n)}function Og(e,n){return da(e,n)}function A(e,n,t){let i=M(),r=zn();if(ft(i,r,n)){let o=ye(),s=Wo();cD(s,i,e,n,i[ue],t)}return A}function Rg(e,n,t,i,r){om(n,e,t,r?"class":"style",i)}function k(e,n,t,i){let r=M(),o=r[x],s=e+_e,a=o.firstCreatePass?um(s,r,2,n,rm,Jc(),t,i):o.data[s];if(uD(a,r,e,n,gR),Uo(a)){let l=r[x];zu(l,r,a),Hg(l,a,r)}return i!=null&&Wu(r,a),k}function L(){let e=ye(),n=tt(),t=dD(n);return e.firstCreatePass&&dm(e,t),a0(t)&&l0(),s0(),t.classesWithoutHost!=null&&US(t)&&Rg(e,t,M(),t.classesWithoutHost,!0),t.stylesWithoutHost!=null&&$S(t)&&Rg(e,t,M(),t.stylesWithoutHost,!1),L}function Ae(e,n,t,i){return k(e,n,t,i),L(),Ae}var gR=(e,n,t,i,r)=>(ma(!0),Qb(n[ue],i,D0()));function zr(e,n,t){let i=M(),r=i[x],o=e+_e,s=r.firstCreatePass?um(o,i,8,"ng-container",rm,Jc(),n,t):r.data[o];if(uD(s,i,e,"ng-container",mR),Uo(s)){let a=i[x];zu(a,i,s),Hg(a,s,i)}return t!=null&&Wu(i,s),zr}function Wr(){let e=ye(),n=tt(),t=dD(n);return e.firstCreatePass&&dm(e,t),Wr}function tw(e,n,t){return zr(e,n,t),Wr(),tw}var mR=(e,n,t,i,r)=>(ma(!0),XM(n[ue],""));function Sn(){return M()}function Ba(e,n,t){let i=M(),r=zn();if(ft(i,r,n)){let o=ye(),s=Wo();im(s,i,e,n,i[ue],t)}return Ba}function sd(e,n,t){let i=M(),r=zn();if(ft(i,r,n)){let o=ye(),s=Wo(),a=Op(o.data),l=MN(a,s,i);im(s,i,e,n,l,t)}return sd}var jr=void 0;function vR(e){let n=Math.floor(Math.abs(e)),t=e.toString().replace(/^[^.]*\.?/,"").length;return n===1&&t===0?1:5}var _R=["en",[["a","p"],["AM","PM"],jr],[["AM","PM"],jr,jr],[["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"]],jr,[["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"]],jr,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",jr,"{1} 'at' {0}",jr],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",vR],qp={};function jt(e){let n=yR(e),t=nb(n);if(t)return t;let i=n.split("-")[0];if(t=nb(i),t)return t;if(i==="en")return _R;throw new C(701,!1)}function nb(e){return e in qp||(qp[e]=je.ng&&je.ng.common&&je.ng.common.locales&&je.ng.common.locales[e]),qp[e]}var xe=(function(e){return e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData",e})(xe||{});function yR(e){return e.toLowerCase().replace(/_/g,"-")}var Ha="en-US";var bR=Ha;function nw(e){typeof e=="string"&&(bR=e.toLowerCase().replace(/_/g,"-"))}function re(e,n,t){let i=M(),r=ye(),o=tt();return iw(r,i,i[ue],o,e,n,t),re}function iw(e,n,t,i,r,o,s){let a=!0,l=null;if((i.type&3||s)&&(l??=$p(i,n,o),dO(i,e,n,s,t,r,o,l)&&(a=!1)),a){let c=i.outputs?.[r],u=i.hostDirectiveOutputs?.[r];if(u&&u.length)for(let d=0;d<u.length;d+=2){let h=u[d],f=u[d+1];l??=$p(i,n,o),W0(i,n,h,f,r,l)}if(c&&c.length)for(let d of c)l??=$p(i,n,o),W0(i,n,d,r,r,l)}}function z(e=1){return _0(e)}function DR(e,n){let t=null,i=GM(e);for(let r=0;r<n.length;r++){let o=n[r];if(o==="*"){t=r;continue}if(i===null?Yb(e,o,!0):qM(i,o))return r}return t}function ad(e){let n=M()[bt][It];if(!n.projection){let t=e?e.length:1,i=n.projection=zy(t,null),r=i.slice(),o=n.child;for(;o!==null;){if(o.type!==128){let s=e?DR(o,e):0;s!==null&&(r[s]?r[s].projectionNext=o:i[s]=o,r[s]=o)}o=o.next}}}function ld(e,n=0,t,i,r,o){let s=M(),a=ye(),l=i?e+1:null;l!==null&&Na(s,a,l,i,r,o,null,t);let c=Fa(a,_e+e,16,null,t||null);c.projection===null&&(c.projection=n),Ip();let d=!s[Rr]||wp();s[bt][It].projection[c.projection]===null&&l!==null?wR(s,a,l):d&&!Vu(c)&&pN(a,s,c)}function wR(e,n,t){let i=_e+t,r=n.data[i],o=e[i],s=wu(o,r.tView.ssrId),a=Pa(e,r,void 0,{dehydratedView:s});ka(o,a,0,Qo(r,s))}function Ua(e,n,t,i){PO(e,n,t,i)}function qr(e,n,t){xO(e,n,t)}function Qn(e){let n=M(),t=ye(),i=Rp();Xc(i+1);let r=hm(t,i);if(e.dirty&&Xy(n)===((r.metadata.flags&2)===2)){if(r.matches===null)e.reset([]);else{let o=LO(n,i);e.reset(o,nM),e.notifyOnChanges()}return!0}return!1}function Jn(){return AO(M(),Rp())}function cd(e){let n=u0();return fa(n,_e+e)}function cu(e,n){return e<<17|n<<2}function Ur(e){return e>>17&32767}function CR(e){return(e&2)==2}function ER(e,n){return e&131071|n<<17}function Ag(e){return e|2}function Ko(e){return(e&131068)>>2}function Zp(e,n){return e&-131069|n<<2}function IR(e){return(e&1)===1}function xg(e){return e|1}function TR(e,n,t,i,r,o){let s=o?n.classBindings:n.styleBindings,a=Ur(s),l=Ko(s);e[i]=t;let c=!1,u;if(Array.isArray(t)){let d=t;u=d[1],(u===null||jo(d,u)>0)&&(c=!0)}else u=t;if(r)if(l!==0){let h=Ur(e[a+1]);e[i+1]=cu(h,a),h!==0&&(e[h+1]=Zp(e[h+1],i)),e[a+1]=ER(e[a+1],i)}else e[i+1]=cu(a,0),a!==0&&(e[a+1]=Zp(e[a+1],i)),a=i;else e[i+1]=cu(l,0),a===0?a=i:e[l+1]=Zp(e[l+1],i),l=i;c&&(e[i+1]=Ag(e[i+1])),ib(e,u,i,!0),ib(e,u,i,!1),SR(n,u,e,i,o),s=cu(a,l),o?n.classBindings=s:n.styleBindings=s}function SR(e,n,t,i,r){let o=r?e.residualClasses:e.residualStyles;o!=null&&typeof n=="string"&&jo(o,n)>=0&&(t[i+1]=xg(t[i+1]))}function ib(e,n,t,i){let r=e[t+1],o=n===null,s=i?Ur(r):Ko(r),a=!1;for(;s!==0&&(a===!1||o);){let l=e[s],c=e[s+1];MR(l,n)&&(a=!0,e[s+1]=i?xg(c):Ag(c)),s=i?Ur(c):Ko(c)}a&&(e[t+1]=i?Ag(r):xg(r))}function MR(e,n){return e===null||n==null||(Array.isArray(e)?e[1]:e)===n?!0:Array.isArray(e)&&typeof n=="string"?jo(e,n)>=0:!1}var ze={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function rw(e){return e.substring(ze.key,ze.keyEnd)}function NR(e){return e.substring(ze.value,ze.valueEnd)}function OR(e){return aw(e),ow(e,Xo(e,0,ze.textEnd))}function ow(e,n){let t=ze.textEnd;return t===n?-1:(n=ze.keyEnd=AR(e,ze.key=n,t),Xo(e,n,t))}function RR(e){return aw(e),sw(e,Xo(e,0,ze.textEnd))}function sw(e,n){let t=ze.textEnd,i=ze.key=Xo(e,n,t);return t===i?-1:(i=ze.keyEnd=xR(e,i,t),i=rb(e,i,t,58),i=ze.value=Xo(e,i,t),i=ze.valueEnd=PR(e,i,t),rb(e,i,t,59))}function aw(e){ze.key=0,ze.keyEnd=0,ze.value=0,ze.valueEnd=0,ze.textEnd=e.length}function Xo(e,n,t){for(;n<t&&e.charCodeAt(n)<=32;)n++;return n}function AR(e,n,t){for(;n<t&&e.charCodeAt(n)>32;)n++;return n}function xR(e,n,t){let i;for(;n<t&&((i=e.charCodeAt(n))===45||i===95||(i&-33)>=65&&(i&-33)<=90||i>=48&&i<=57);)n++;return n}function rb(e,n,t,i){return n=Xo(e,n,t),n<t&&n++,n}function PR(e,n,t){let i=-1,r=-1,o=-1,s=n,a=s;for(;s<t;){let l=e.charCodeAt(s++);if(l===59)return a;l===34||l===39?a=s=ob(e,l,s,t):n===s-4&&o===85&&r===82&&i===76&&l===40?a=s=ob(e,41,s,t):l>32&&(a=s),o=r,r=i,i=l&-33}return a}function ob(e,n,t,i){let r=-1,o=t;for(;o<i;){let s=e.charCodeAt(o++);if(s==n&&r!==92)return o;s==92&&r===92?r=0:r=s}throw new Error}function Xi(e,n,t){return lw(e,n,t,!1),Xi}function Mt(e,n){return lw(e,n,null,!0),Mt}function kR(e){cw(fw,FR,e,!1)}function FR(e,n){for(let t=RR(n);t>=0;t=sw(n,t))fw(e,rw(n),NR(n))}function Nt(e){cw($R,LR,e,!0)}function LR(e,n){for(let t=OR(n);t>=0;t=ow(n,t))sa(e,rw(n),!0)}function lw(e,n,t,i){let r=M(),o=ye(),s=ga(2);if(o.firstUpdatePass&&dw(o,e,s,i),n!==nt&&ft(r,s,n)){let a=o.data[Cn()];hw(o,a,r,r[ue],e,r[s+1]=zR(n,t),i,s)}}function cw(e,n,t,i){let r=ye(),o=ga(2);r.firstUpdatePass&&dw(r,null,o,i);let s=M();if(t!==nt&&ft(s,o,t)){let a=r.data[Cn()];if(pw(a,i)&&!uw(r,o)){let l=i?a.classesWithoutHost:a.stylesWithoutHost;l!==null&&(t=$c(l,t||"")),Rg(r,a,s,t,i)}else GR(r,a,s,s[ue],s[o+1],s[o+1]=UR(e,n,t),i,o)}}function uw(e,n){return n>=e.expandoStartIndex}function dw(e,n,t,i){let r=e.data;if(r[t+1]===null){let o=r[Cn()],s=uw(e,t);pw(o,i)&&n===null&&!s&&(n=!1),n=jR(r,o,n,i),TR(r,o,n,t,s,i)}}function jR(e,n,t,i){let r=Op(e),o=i?n.residualClasses:n.residualStyles;if(r===null)(i?n.classBindings:n.styleBindings)===0&&(t=Yp(null,e,n,t,i),t=Ra(t,n.attrs,i),o=null);else{let s=n.directiveStylingLast;if(s===-1||e[s]!==r)if(t=Yp(r,e,n,t,i),o===null){let l=VR(e,n,i);l!==void 0&&Array.isArray(l)&&(l=Yp(null,e,n,l[1],i),l=Ra(l,n.attrs,i),BR(e,n,i,l))}else o=HR(e,n,i)}return o!==void 0&&(i?n.residualClasses=o:n.residualStyles=o),t}function VR(e,n,t){let i=t?n.classBindings:n.styleBindings;if(Ko(i)!==0)return e[Ur(i)]}function BR(e,n,t,i){let r=t?n.classBindings:n.styleBindings;e[Ur(r)]=i}function HR(e,n,t){let i,r=n.directiveEnd;for(let o=1+n.directiveStylingLast;o<r;o++){let s=e[o].hostAttrs;i=Ra(i,s,t)}return Ra(i,n.attrs,t)}function Yp(e,n,t,i,r){let o=null,s=t.directiveEnd,a=t.directiveStylingLast;for(a===-1?a=t.directiveStart:a++;a<s&&(o=n[a],i=Ra(i,o.hostAttrs,r),o!==e);)a++;return e!==null&&(t.directiveStylingLast=a),i}function Ra(e,n,t){let i=t?1:2,r=-1;if(n!==null)for(let o=0;o<n.length;o++){let s=n[o];typeof s=="number"?r=s:r===i&&(Array.isArray(e)||(e=e===void 0?[]:["",e]),sa(e,s,t?!0:n[++o]))}return e===void 0?null:e}function UR(e,n,t){if(t==null||t==="")return Et;let i=[],r=Ft(t);if(Array.isArray(r))for(let o=0;o<r.length;o++)e(i,r[o],!0);else if(typeof r=="object")for(let o in r)r.hasOwnProperty(o)&&e(i,o,r[o]);else typeof r=="string"&&n(i,r);return i}function fw(e,n,t){sa(e,n,Ft(t))}function $R(e,n,t){let i=String(n);i!==""&&!i.includes(" ")&&sa(e,i,t)}function GR(e,n,t,i,r,o,s,a){r===nt&&(r=Et);let l=0,c=0,u=0<r.length?r[0]:null,d=0<o.length?o[0]:null;for(;u!==null||d!==null;){let h=l<r.length?r[l+1]:void 0,f=c<o.length?o[c+1]:void 0,p=null,v;u===d?(l+=2,c+=2,h!==f&&(p=d,v=f)):d===null||u!==null&&u<d?(l+=2,p=u):(c+=2,p=d,v=f),p!==null&&hw(e,n,t,i,p,v,s,a),u=l<r.length?r[l]:null,d=c<o.length?o[c]:null}}function hw(e,n,t,i,r,o,s,a){if(!(n.type&3))return;let l=e.data,c=l[a+1],u=IR(c)?sb(l,n,t,r,Ko(c),s):void 0;if(!Au(u)){Au(o)||CR(c)&&(o=sb(l,null,t,r,a,s));let d=gp(Cn(),t);mN(i,s,d,r,o)}}function sb(e,n,t,i,r,o){let s=n===null,a;for(;r>0;){let l=e[r],c=Array.isArray(l),u=c?l[1]:l,d=u===null,h=t[r+1];h===nt&&(h=d?Et:void 0);let f=d?qc(h,i):u===i?h:void 0;if(c&&!Au(f)&&(f=qc(l,i)),Au(f)&&(a=f,s))return a;let p=e[r+1];r=s?Ur(p):Ko(p)}if(n!==null){let l=o?n.residualClasses:n.residualStyles;l!=null&&(a=qc(l,i))}return a}function Au(e){return e!==void 0}function zR(e,n){return e==null||e===""||(typeof n=="string"?e=e+n:typeof e=="object"&&(e=di(Ft(e)))),e}function pw(e,n){return(e.flags&(n?8:16))!==0}function oe(e,n=""){let t=M(),i=ye(),r=e+_e,o=i.firstCreatePass?Fa(i,r,1,n,null):i.data[r],s=WR(i,t,o,n,e);t[r]=s,nu()&&tm(i,t,s,o),zo(o,!1)}var WR=(e,n,t,i,r)=>(ma(!0),JM(n[ue],i));function gw(e,n,t,i=""){return ft(e,zn(),t)?n+rn(t)+i:nt}function mw(e,n,t,i,r,o=""){let s=Np(),a=Jo(e,s,t,r);return ga(2),a?n+rn(t)+i+rn(r)+o:nt}function qR(e,n,t,i,r,o,s,a=""){let l=Np(),c=RD(e,l,t,r,s);return ga(3),c?n+rn(t)+i+rn(r)+o+rn(s)+a:nt}function rt(e){return ht("",e),rt}function ht(e,n,t){let i=M(),r=gw(i,e,n,t);return r!==nt&&Sm(i,Cn(),r),ht}function vw(e,n,t,i,r){let o=M(),s=mw(o,e,n,t,i,r);return s!==nt&&Sm(o,Cn(),s),vw}function _w(e,n,t,i,r,o,s){let a=M(),l=qR(a,e,n,t,i,r,o,s);return l!==nt&&Sm(a,Cn(),l),_w}function Sm(e,n,t){let i=gp(n,e);KM(e[ue],i,t)}function yw(e,n,t){Fp(n)&&(n=n());let i=M(),r=zn();if(ft(i,r,n)){let o=ye(),s=Wo();cD(s,i,e,n,i[ue],t)}return yw}function ZR(e,n){let t=Fp(e);return t&&e.set(n),t}function bw(e,n){let t=M(),i=ye(),r=tt();return iw(i,t,t[ue],r,e,n),bw}function Dw(e){return ft(M(),zn(),e)?rn(e):nt}function ww(e,n,t=""){return gw(M(),e,n,t)}function YR(e,n,t,i,r=""){return mw(M(),e,n,t,i,r)}function QR(e,n,t){let i=ye();if(i.firstCreatePass){let r=Dn(e);Pg(t,i.data,i.blueprint,r,!0),Pg(n,i.data,i.blueprint,r,!1)}}function Pg(e,n,t,i,r){if(e=dt(e),Array.isArray(e))for(let o=0;o<e.length;o++)Pg(e[o],n,t,i,r);else{let o=ye(),s=M(),a=tt(),l=Sr(e)?e:dt(e.provide),c=sp(e),u=a.providerIndexes&1048575,d=a.directiveStart,h=a.providerIndexes>>20;if(Sr(e)||!e.multi){let f=new Br(c,r,m,null),p=Jp(l,n,r?u:u+h,d);p===-1?(Xp(yu(a,s),o,l),Qp(o,e,n.length),n.push(l),a.directiveStart++,a.directiveEnd++,r&&(a.providerIndexes+=1048576),t.push(f),s.push(f)):(t[p]=f,s[p]=f)}else{let f=Jp(l,n,u+h,d),p=Jp(l,n,u,u+h),v=f>=0&&t[f],_=p>=0&&t[p];if(r&&!_||!r&&!v){Xp(yu(a,s),o,l);let b=XR(r?KR:JR,t.length,r,i,c,e);!r&&_&&(t[p].providerFactory=b),Qp(o,e,n.length,0),n.push(l),a.directiveStart++,a.directiveEnd++,r&&(a.providerIndexes+=1048576),t.push(b),s.push(b)}else{let b=Cw(t[r?p:f],c,!r&&i);Qp(o,e,f>-1?f:p,b)}!r&&i&&_&&t[p].componentProviders++}}}function Qp(e,n,t,i){let r=Sr(n),o=Jy(n);if(r||o){let l=(o?dt(n.useClass):n).prototype.ngOnDestroy;if(l){let c=e.destroyHooks||(e.destroyHooks=[]);if(!r&&n.multi){let u=c.indexOf(t);u===-1?c.push(t,[i,l]):c[u+1].push(i,l)}else c.push(t,l)}}}function Cw(e,n,t){return t&&e.componentProviders++,e.multi.push(n)-1}function Jp(e,n,t,i){for(let r=t;r<i;r++)if(n[r]===e)return r;return-1}function JR(e,n,t,i,r){return kg(this.multi,[])}function KR(e,n,t,i,r){let o=this.multi,s;if(this.providerFactory){let a=this.providerFactory.componentProviders,l=Ca(i,i[x],this.providerFactory.index,r);s=l.slice(0,a),kg(o,s);for(let c=a;c<l.length;c++)s.push(l[c])}else s=[],kg(o,s);return s}function kg(e,n){for(let t=0;t<e.length;t++){let i=e[t];n.push(i())}return n}function XR(e,n,t,i,r,o){let s=new Br(e,t,m,null);return s.multi=[],s.index=n,s.componentProviders=0,Cw(s,r,i&&!t),s}function Te(e,n=[]){return t=>{t.providersResolver=(i,r)=>QR(i,r?r(e):e,n)}}function eA(e,n,t){let i=Zt()+e,r=M();return r[i]===nt?bi(r,i,t?n.call(t):n()):Qu(r,i)}function Ew(e,n,t,i){return Sw(M(),Zt(),e,n,t,i)}function Iw(e,n,t,i,r){return Mw(M(),Zt(),e,n,t,i,r)}function Tw(e,n,t,i,r,o){return Nw(M(),Zt(),e,n,t,i,r,o)}function tA(e,n,t,i,r,o,s){return sA(M(),Zt(),e,n,t,i,r,o,s)}function nA(e,n,t,i,r,o,s,a){let l=Zt()+e,c=M(),u=Ta(c,l,t,i,r,o);return ft(c,l+4,s)||u?bi(c,l+5,a?n.call(a,t,i,r,o,s):n(t,i,r,o,s)):Qu(c,l+5)}function iA(e,n,t,i,r,o,s,a,l){let c=Zt()+e,u=M(),d=Ta(u,c,t,i,r,o);return Jo(u,c+4,s,a)||d?bi(u,c+6,l?n.call(l,t,i,r,o,s,a):n(t,i,r,o,s,a)):Qu(u,c+6)}function rA(e,n,t,i,r,o,s,a,l,c,u){let d=Zt()+e,h=M(),f=Ta(h,d,t,i,r,o);return Ta(h,d+4,s,a,l,c)||f?bi(h,d+8,u?n.call(u,t,i,r,o,s,a,l,c):n(t,i,r,o,s,a,l,c)):Qu(h,d+8)}function oA(e,n,t,i){return aA(M(),Zt(),e,n,t,i)}function $a(e,n){let t=e[n];return t===nt?void 0:t}function Sw(e,n,t,i,r,o){let s=n+t;return ft(e,s,r)?bi(e,s+1,o?i.call(o,r):i(r)):$a(e,s+1)}function Mw(e,n,t,i,r,o,s){let a=n+t;return Jo(e,a,r,o)?bi(e,a+2,s?i.call(s,r,o):i(r,o)):$a(e,a+2)}function Nw(e,n,t,i,r,o,s,a){let l=n+t;return RD(e,l,r,o,s)?bi(e,l+3,a?i.call(a,r,o,s):i(r,o,s)):$a(e,l+3)}function sA(e,n,t,i,r,o,s,a,l){let c=n+t;return Ta(e,c,r,o,s,a)?bi(e,c+4,l?i.call(l,r,o,s,a):i(r,o,s,a)):$a(e,c+4)}function aA(e,n,t,i,r,o){let s=n+t,a=!1;for(let l=0;l<r.length;l++)ft(e,s++,r[l])&&(a=!0);return a?bi(e,s,i.apply(o,r)):$a(e,s)}function Zr(e,n){let t=ye(),i,r=e+_e;t.firstCreatePass?(i=lA(n,t.pipeRegistry),t.data[r]=i,i.onDestroy&&(t.destroyHooks??=[]).push(r,i.onDestroy)):i=t.data[r];let o=i.factory||(i.factory=Gi(i.type,!0)),s,a=Ct(m);try{let l=_u(!1),c=o();return _u(l),mp(t,M(),r,c),c}finally{Ct(a)}}function lA(e,n){if(n)for(let t=n.length-1;t>=0;t--){let i=n[t];if(e===i.name)return i}}function Yr(e,n,t){let i=e+_e,r=M(),o=fa(r,i);return Mm(r,i)?Sw(r,Zt(),n,o.transform,t,o):o.transform(t)}function cA(e,n,t,i){let r=e+_e,o=M(),s=fa(o,r);return Mm(o,r)?Mw(o,Zt(),n,s.transform,t,i,s):s.transform(t,i)}function uA(e,n,t,i,r){let o=e+_e,s=M(),a=fa(s,o);return Mm(s,o)?Nw(s,Zt(),n,a.transform,t,i,r,a):a.transform(t,i,r)}function Mm(e,n){return e[x].data[n].pure}function Ga(e,n){return qu(e,n)}var uu=null;function Ow(e){uu!==null&&(e.defaultEncapsulation!==uu.defaultEncapsulation||e.preserveWhitespaces!==uu.preserveWhitespaces)||(uu=e)}var xu=class{ngModuleFactory;componentFactories;constructor(n,t){this.ngModuleFactory=n,this.componentFactories=t}},Nm=(()=>{class e{compileModuleSync(t){return new Ma(t)}compileModuleAsync(t){return Promise.resolve(this.compileModuleSync(t))}compileModuleAndAllComponentsSync(t){let i=this.compileModuleSync(t),r=np(t),o=qb(r.declarations).reduce((s,a)=>{let l=Bn(a);return l&&s.push(new Ki(l)),s},[]);return new xu(i,o)}compileModuleAndAllComponentsAsync(t){return Promise.resolve(this.compileModuleAndAllComponentsSync(t))}clearCache(){}clearCacheFor(t){}getModuleId(t){}static \u0275fac=function(i){return new(i||e)};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Rw=new E("");var dA=(()=>{class e{zone=g(ee);changeDetectionScheduler=g(fi);applicationRef=g(it);applicationErrorHandler=g(Tt);_onMicrotaskEmptySubscription;initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{try{this.applicationRef.dirtyFlags|=1,this.applicationRef._tick()}catch(t){this.applicationErrorHandler(t)}})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static \u0275fac=function(i){return new(i||e)};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Aw({ngZoneFactory:e,ignoreChangesOutsideZone:n,scheduleInRootZone:t}){return e??=()=>new ee(j(w({},Om()),{scheduleInRootZone:t})),[{provide:ee,useFactory:e},{provide:pi,multi:!0,useFactory:()=>{let i=g(dA,{optional:!0});return()=>i.initialize()}},{provide:pi,multi:!0,useFactory:()=>{let i=g(fA);return()=>{i.initialize()}}},n===!0?{provide:Lp,useValue:!0}:[],{provide:jp,useValue:t??WD},{provide:Tt,useFactory:()=>{let i=g(ee),r=g(Pe),o;return s=>{i.runOutsideAngular(()=>{r.destroyed&&!o?setTimeout(()=>{throw s}):(o??=r.get(yn),o.handleError(s))})}}}]}function Om(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var fA=(()=>{class e{subscription=new De;initialized=!1;zone=g(ee);pendingTasks=g(Wn);initialize(){if(this.initialized)return;this.initialized=!0;let t=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(t=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{ee.assertNotInAngularZone(),queueMicrotask(()=>{t!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(t),t=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{ee.assertInAngularZone(),t??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(i){return new(i||e)};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var xw=(()=>{class e{applicationErrorHandler=g(Tt);appRef=g(it);taskService=g(Wn);ngZone=g(ee);zonelessEnabled=g(va);tracing=g(Gr,{optional:!0});disableScheduling=g(Lp,{optional:!0})??!1;zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new De;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(Mu):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(g(jp,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){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 Oa||!this.zoneIsDefined)}notify(t){if(!this.zonelessEnabled&&t===5)return;let i=!1;switch(t){case 0:{this.appRef.dirtyFlags|=2;break}case 3:case 2:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 6:{this.appRef.dirtyFlags|=2,i=!0;break}case 12:{this.appRef.dirtyFlags|=16,i=!0;break}case 13:{this.appRef.dirtyFlags|=2,i=!0;break}case 11:{i=!0;break}case 9:case 8:case 7:case 10:default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick(i))return;let r=this.useMicrotaskScheduler?J0:qD;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>r(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>r(()=>this.tick()))}shouldScheduleTick(t){return!(this.disableScheduling&&!t||this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(Mu+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(this.appRef.dirtyFlags===0){this.cleanup();return}!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let t=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(i){this.taskService.remove(t),this.applicationErrorHandler(i)}finally{this.cleanup()}this.useMicrotaskScheduler=!0,J0(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(t)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let t=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(t)}}static \u0275fac=function(i){return new(i||e)};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function hA(){return typeof $localize<"u"&&$localize.locale||Ha}var Ci=new E("",{providedIn:"root",factory:()=>g(Ci,{optional:!0,skipSelf:!0})||hA()});function Fe(e){return ky(e)}function Qr(e,n){return sc(e,n?.equal)}var Pw=class{[_t];constructor(n){this[_t]=n}destroy(){this[_t].destroy()}};var Uw=Symbol("InputSignalNode#UNSET"),SA=j(w({},ac),{transformFn:void 0,applyValueToInputSignal(e,n){Io(e,n)}});function $w(e,n){let t=Object.create(SA);t.value=e,t.transformFn=n?.transform;function i(){if(wo(t),t.value===Uw){let r=null;throw new C(-950,r)}return t.value}return i[_t]=t,i}var ud=class{attributeName;constructor(n){this.attributeName=n}__NG_ELEMENT_ID__=()=>ts(this.attributeName);toString(){return`HostAttributeToken ${this.attributeName}`}},MA=new E("");MA.__NG_ELEMENT_ID__=e=>{let n=tt();if(n===null)throw new C(204,!1);if(n.type&2)return n.value;if(e&8)return null;throw new C(204,!1)};function kw(e,n){return $w(e,n)}function NA(e){return $w(Uw,e)}var Gw=(kw.required=NA,kw);function OA(e,n,t){let i=new Ma(t);return Promise.resolve(i)}function Fw(e){for(let n=e.length-1;n>=0;n--)if(e[n]!==void 0)return e[n]}var dd=new E(""),RA=new E("");function za(e){return!e.moduleRef}function AA(e){let n=za(e)?e.r3Injector:e.moduleRef.injector,t=n.get(ee);return t.run(()=>{za(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let i=n.get(Tt),r;if(t.runOutsideAngular(()=>{r=t.onError.subscribe({next:i})}),za(e)){let o=()=>n.destroy(),s=e.platformInjector.get(dd);s.add(o),n.onDestroy(()=>{r.unsubscribe(),s.delete(o)})}else{let o=()=>e.moduleRef.destroy(),s=e.platformInjector.get(dd);s.add(o),e.moduleRef.onDestroy(()=>{Da(e.allPlatformModules,e.moduleRef),r.unsubscribe(),s.delete(o)})}return PA(i,t,()=>{let o=n.get(Wn),s=o.add(),a=n.get(ym);return a.runInitializers(),a.donePromise.then(()=>{let l=n.get(Ci,Ha);if(nw(l||Ha),!n.get(RA,!0))return za(e)?n.get(it):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(za(e)){let u=n.get(it);return e.rootComponent!==void 0&&u.bootstrap(e.rootComponent),u}else return zw?.(e.moduleRef,e.allPlatformModules),e.moduleRef}).finally(()=>void o.remove(s))})})}var zw;function Lw(){zw=xA}function xA(e,n){let t=e.injector.get(it);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(i=>t.bootstrap(i));else if(e.instance.ngDoBootstrap)e.instance.ngDoBootstrap(t);else throw new C(-403,!1);n.push(e)}function PA(e,n,t){try{let i=t();return wi(i)?i.catch(r=>{throw n.runOutsideAngular(()=>e(r)),r}):i}catch(i){throw n.runOutsideAngular(()=>e(i)),i}}var Ww=(()=>{class e{_injector;_modules=[];_destroyListeners=[];_destroyed=!1;constructor(t){this._injector=t}bootstrapModuleFactory(t,i){let r=i?.scheduleInRootZone,o=()=>YD(i?.ngZone,j(w({},Om({eventCoalescing:i?.ngZoneEventCoalescing,runCoalescing:i?.ngZoneRunCoalescing})),{scheduleInRootZone:r})),s=i?.ignoreChangesOutsideZone,a=[Aw({ngZoneFactory:o,ignoreChangesOutsideZone:s}),{provide:fi,useExisting:xw},C0],l=UD(t.moduleType,this.injector,a);return Lw(),AA({moduleRef:l,allPlatformModules:this._modules,platformInjector:this.injector})}bootstrapModule(t,i=[]){let r=bm({},i);return Lw(),OA(this.injector,r,t).then(o=>this.bootstrapModuleFactory(o,r))}onDestroy(t){this._destroyListeners.push(t)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new C(404,!1);this._modules.slice().forEach(i=>i.destroy()),this._destroyListeners.forEach(i=>i());let t=this._injector.get(dd,null);t&&(t.forEach(i=>i()),t.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static \u0275fac=function(i){return new(i||e)(D(ce))};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})(),Wa=null,qw=new E("");function kA(e){if(Wa&&!Wa.get(qw,!1))throw new C(400,!1);XD(),Wa=e;let n=e.get(Ww);return jA(e),n}function jm(e,n,t=[]){let i=`Platform: ${n}`,r=new E(i);return(o=[])=>{let s=Zw();if(!s||s.injector.get(qw,!1)){let a=[...t,...o,{provide:r,useValue:!0}];e?e(a):kA(FA(a,i))}return LA(r)}}function FA(e=[],n){return ce.create({name:n,providers:[{provide:aa,useValue:"platform"},{provide:dd,useValue:new Set([()=>Wa=null])},...e]})}function LA(e){let n=Zw();if(!n)throw new C(401,!1);return n}function Zw(){return Wa?.get(Ww)??null}function jA(e){let n=e.get(Fu,null);Xe(e,()=>{n?.forEach(t=>t())})}var Dt=(()=>{class e{static __NG_ELEMENT_ID__=VA}return e})();function VA(e){return BA(tt(),M(),(e&16)===16)}function BA(e,n,t){if(Yi(e)&&!t){let i=ln(e.index,n);return new Ji(i,i)}else if(e.type&175){let i=n[bt];return new Ji(i,n)}return null}var Rm=class{constructor(){}supports(n){return fm(n)}create(n){return new Am(n)}},HA=(e,n)=>n,Am=class{length=0;collection;_linkedRecords=null;_unlinkedRecords=null;_previousItHead=null;_itHead=null;_itTail=null;_additionsHead=null;_additionsTail=null;_movesHead=null;_movesTail=null;_removalsHead=null;_removalsTail=null;_identityChangesHead=null;_identityChangesTail=null;_trackByFn;constructor(n){this._trackByFn=n||HA}forEachItem(n){let t;for(t=this._itHead;t!==null;t=t._next)n(t)}forEachOperation(n){let t=this._itHead,i=this._removalsHead,r=0,o=null;for(;t||i;){let s=!i||t&&t.currentIndex<jw(i,r,o)?t:i,a=jw(s,r,o),l=s.currentIndex;if(s===i)r--,i=i._nextRemoved;else if(t=t._next,s.previousIndex==null)r++;else{o||(o=[]);let c=a-r,u=l-r;if(c!=u){for(let h=0;h<c;h++){let f=h<o.length?o[h]:o[h]=0,p=f+h;u<=p&&p<c&&(o[h]=f+1)}let d=s.previousIndex;o[d]=u-c}}a!==l&&n(s,a,l)}}forEachPreviousItem(n){let t;for(t=this._previousItHead;t!==null;t=t._nextPrevious)n(t)}forEachAddedItem(n){let t;for(t=this._additionsHead;t!==null;t=t._nextAdded)n(t)}forEachMovedItem(n){let t;for(t=this._movesHead;t!==null;t=t._nextMoved)n(t)}forEachRemovedItem(n){let t;for(t=this._removalsHead;t!==null;t=t._nextRemoved)n(t)}forEachIdentityChange(n){let t;for(t=this._identityChangesHead;t!==null;t=t._nextIdentityChange)n(t)}diff(n){if(n==null&&(n=[]),!fm(n))throw new C(900,!1);return this.check(n)?this:null}onDestroy(){}check(n){this._reset();let t=this._itHead,i=!1,r,o,s;if(Array.isArray(n)){this.length=n.length;for(let a=0;a<this.length;a++)o=n[a],s=this._trackByFn(a,o),t===null||!Object.is(t.trackById,s)?(t=this._mismatch(t,o,s,a),i=!0):(i&&(t=this._verifyReinsertion(t,o,s,a)),Object.is(t.item,o)||this._addIdentityChange(t,o)),t=t._next}else r=0,OD(n,a=>{s=this._trackByFn(r,a),t===null||!Object.is(t.trackById,s)?(t=this._mismatch(t,a,s,r),i=!0):(i&&(t=this._verifyReinsertion(t,a,s,r)),Object.is(t.item,a)||this._addIdentityChange(t,a)),t=t._next,r++}),this.length=r;return this._truncate(t),this.collection=n,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let n;for(n=this._previousItHead=this._itHead;n!==null;n=n._next)n._nextPrevious=n._next;for(n=this._additionsHead;n!==null;n=n._nextAdded)n.previousIndex=n.currentIndex;for(this._additionsHead=this._additionsTail=null,n=this._movesHead;n!==null;n=n._nextMoved)n.previousIndex=n.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(n,t,i,r){let o;return n===null?o=this._itTail:(o=n._prev,this._remove(n)),n=this._unlinkedRecords===null?null:this._unlinkedRecords.get(i,null),n!==null?(Object.is(n.item,t)||this._addIdentityChange(n,t),this._reinsertAfter(n,o,r)):(n=this._linkedRecords===null?null:this._linkedRecords.get(i,r),n!==null?(Object.is(n.item,t)||this._addIdentityChange(n,t),this._moveAfter(n,o,r)):n=this._addAfter(new xm(t,i),o,r)),n}_verifyReinsertion(n,t,i,r){let o=this._unlinkedRecords===null?null:this._unlinkedRecords.get(i,null);return o!==null?n=this._reinsertAfter(o,n._prev,r):n.currentIndex!=r&&(n.currentIndex=r,this._addToMoves(n,r)),n}_truncate(n){for(;n!==null;){let t=n._next;this._addToRemovals(this._unlink(n)),n=t}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(n,t,i){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(n);let r=n._prevRemoved,o=n._nextRemoved;return r===null?this._removalsHead=o:r._nextRemoved=o,o===null?this._removalsTail=r:o._prevRemoved=r,this._insertAfter(n,t,i),this._addToMoves(n,i),n}_moveAfter(n,t,i){return this._unlink(n),this._insertAfter(n,t,i),this._addToMoves(n,i),n}_addAfter(n,t,i){return this._insertAfter(n,t,i),this._additionsTail===null?this._additionsTail=this._additionsHead=n:this._additionsTail=this._additionsTail._nextAdded=n,n}_insertAfter(n,t,i){let r=t===null?this._itHead:t._next;return n._next=r,n._prev=t,r===null?this._itTail=n:r._prev=n,t===null?this._itHead=n:t._next=n,this._linkedRecords===null&&(this._linkedRecords=new fd),this._linkedRecords.put(n),n.currentIndex=i,n}_remove(n){return this._addToRemovals(this._unlink(n))}_unlink(n){this._linkedRecords!==null&&this._linkedRecords.remove(n);let t=n._prev,i=n._next;return t===null?this._itHead=i:t._next=i,i===null?this._itTail=t:i._prev=t,n}_addToMoves(n,t){return n.previousIndex===t||(this._movesTail===null?this._movesTail=this._movesHead=n:this._movesTail=this._movesTail._nextMoved=n),n}_addToRemovals(n){return this._unlinkedRecords===null&&(this._unlinkedRecords=new fd),this._unlinkedRecords.put(n),n.currentIndex=null,n._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=n,n._prevRemoved=null):(n._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=n),n}_addIdentityChange(n,t){return n.item=t,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=n:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=n,n}},xm=class{item;trackById;currentIndex=null;previousIndex=null;_nextPrevious=null;_prev=null;_next=null;_prevDup=null;_nextDup=null;_prevRemoved=null;_nextRemoved=null;_nextAdded=null;_nextMoved=null;_nextIdentityChange=null;constructor(n,t){this.item=n,this.trackById=t}},Pm=class{_head=null;_tail=null;add(n){this._head===null?(this._head=this._tail=n,n._nextDup=null,n._prevDup=null):(this._tail._nextDup=n,n._prevDup=this._tail,n._nextDup=null,this._tail=n)}get(n,t){let i;for(i=this._head;i!==null;i=i._nextDup)if((t===null||t<=i.currentIndex)&&Object.is(i.trackById,n))return i;return null}remove(n){let t=n._prevDup,i=n._nextDup;return t===null?this._head=i:t._nextDup=i,i===null?this._tail=t:i._prevDup=t,this._head===null}},fd=class{map=new Map;put(n){let t=n.trackById,i=this.map.get(t);i||(i=new Pm,this.map.set(t,i)),i.add(n)}get(n,t){let i=n,r=this.map.get(i);return r?r.get(n,t):null}remove(n){let t=n.trackById;return this.map.get(t).remove(n)&&this.map.delete(t),n}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function jw(e,n,t){let i=e.previousIndex;if(i===null)return i;let r=0;return t&&i<t.length&&(r=t[i]),i+n+r}var km=class{constructor(){}supports(n){return n instanceof Map||Yu(n)}create(){return new Fm}},Fm=class{_records=new Map;_mapHead=null;_appendAfter=null;_previousMapHead=null;_changesHead=null;_changesTail=null;_additionsHead=null;_additionsTail=null;_removalsHead=null;_removalsTail=null;get isDirty(){return this._additionsHead!==null||this._changesHead!==null||this._removalsHead!==null}forEachItem(n){let t;for(t=this._mapHead;t!==null;t=t._next)n(t)}forEachPreviousItem(n){let t;for(t=this._previousMapHead;t!==null;t=t._nextPrevious)n(t)}forEachChangedItem(n){let t;for(t=this._changesHead;t!==null;t=t._nextChanged)n(t)}forEachAddedItem(n){let t;for(t=this._additionsHead;t!==null;t=t._nextAdded)n(t)}forEachRemovedItem(n){let t;for(t=this._removalsHead;t!==null;t=t._nextRemoved)n(t)}diff(n){if(!n)n=new Map;else if(!(n instanceof Map||Yu(n)))throw new C(900,!1);return this.check(n)?this:null}onDestroy(){}check(n){this._reset();let t=this._mapHead;if(this._appendAfter=null,this._forEach(n,(i,r)=>{if(t&&t.key===r)this._maybeAddToChanges(t,i),this._appendAfter=t,t=t._next;else{let o=this._getOrCreateRecordForKey(r,i);t=this._insertBeforeOrAppend(t,o)}}),t){t._prev&&(t._prev._next=null),this._removalsHead=t;for(let i=t;i!==null;i=i._nextRemoved)i===this._mapHead&&(this._mapHead=null),this._records.delete(i.key),i._nextRemoved=i._next,i.previousValue=i.currentValue,i.currentValue=null,i._prev=null,i._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(n,t){if(n){let i=n._prev;return t._next=n,t._prev=i,n._prev=t,i&&(i._next=t),n===this._mapHead&&(this._mapHead=t),this._appendAfter=n,n}return this._appendAfter?(this._appendAfter._next=t,t._prev=this._appendAfter):this._mapHead=t,this._appendAfter=t,null}_getOrCreateRecordForKey(n,t){if(this._records.has(n)){let r=this._records.get(n);this._maybeAddToChanges(r,t);let o=r._prev,s=r._next;return o&&(o._next=s),s&&(s._prev=o),r._next=null,r._prev=null,r}let i=new Lm(n);return this._records.set(n,i),i.currentValue=t,this._addToAdditions(i),i}_reset(){if(this.isDirty){let n;for(this._previousMapHead=this._mapHead,n=this._previousMapHead;n!==null;n=n._next)n._nextPrevious=n._next;for(n=this._changesHead;n!==null;n=n._nextChanged)n.previousValue=n.currentValue;for(n=this._additionsHead;n!=null;n=n._nextAdded)n.previousValue=n.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(n,t){Object.is(t,n.currentValue)||(n.previousValue=n.currentValue,n.currentValue=t,this._addToChanges(n))}_addToAdditions(n){this._additionsHead===null?this._additionsHead=this._additionsTail=n:(this._additionsTail._nextAdded=n,this._additionsTail=n)}_addToChanges(n){this._changesHead===null?this._changesHead=this._changesTail=n:(this._changesTail._nextChanged=n,this._changesTail=n)}_forEach(n,t){n instanceof Map?n.forEach(t):Object.keys(n).forEach(i=>t(n[i],i))}},Lm=class{key;previousValue=null;currentValue=null;_nextPrevious=null;_next=null;_prev=null;_nextAdded=null;_nextRemoved=null;_nextChanged=null;constructor(n){this.key=n}};function Vw(){return new Vm([new Rm])}var Vm=(()=>{class e{factories;static \u0275prov=y({token:e,providedIn:"root",factory:Vw});constructor(t){this.factories=t}static create(t,i){if(i!=null){let r=i.factories.slice();t=t.concat(r)}return new e(t)}static extend(t){return{provide:e,useFactory:i=>e.create(t,i||Vw()),deps:[[e,new Fg,new Pu]]}}find(t){let i=this.factories.find(r=>r.supports(t));if(i!=null)return i;throw new C(901,!1)}}return e})();function Bw(){return new hd([new km])}var hd=(()=>{class e{static \u0275prov=y({token:e,providedIn:"root",factory:Bw});factories;constructor(t){this.factories=t}static create(t,i){if(i){let r=i.factories.slice();t=t.concat(r)}return new e(t)}static extend(t){return{provide:e,useFactory:i=>e.create(t,i||Bw()),deps:[[e,new Fg,new Pu]]}}find(t){let i=this.factories.find(r=>r.supports(t));if(i)return i;throw new C(901,!1)}}return e})();var Yw=jm(null,"core",[]),Qw=(()=>{class e{constructor(t){}static \u0275fac=function(i){return new(i||e)(D(it))};static \u0275mod=K({type:e});static \u0275inj=Q({})}return e})();function er(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function pd(e,n){let t=Bn(e),i=n.elementInjector||Vo();return new Ki(t).create(i,n.projectableNodes,n.hostElement,n.environmentInjector,n.directives,n.bindings)}function Jw(e){let n=Bn(e);if(!n)return null;let t=new Ki(n);return{get selector(){return t.selector},get type(){return t.componentType},get inputs(){return t.inputs},get outputs(){return t.outputs},get ngContentSelectors(){return t.ngContentSelectors},get isStandalone(){return n.standalone},get isSignal(){return n.signals}}}var eC=null;function Qt(){return eC}function Bm(e){eC??=e}var qa=class{},Jr=(()=>{class e{historyGo(t){throw new Error("")}static \u0275fac=function(i){return new(i||e)};static \u0275prov=y({token:e,factory:()=>g(tC),providedIn:"platform"})}return e})(),Hm=new E(""),tC=(()=>{class e extends Jr{_location;_history;_doc=g(ne);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Qt().getBaseHref(this._doc)}onPopState(t){let i=Qt().getGlobalEventTarget(this._doc,"window");return i.addEventListener("popstate",t,!1),()=>i.removeEventListener("popstate",t)}onHashChange(t){let i=Qt().getGlobalEventTarget(this._doc,"window");return i.addEventListener("hashchange",t,!1),()=>i.removeEventListener("hashchange",t)}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(t){this._location.pathname=t}pushState(t,i,r){this._history.pushState(t,i,r)}replaceState(t,i,r){this._history.replaceState(t,i,r)}forward(){this._history.forward()}back(){this._history.back()}historyGo(t=0){this._history.go(t)}getState(){return this._history.state}static \u0275fac=function(i){return new(i||e)};static \u0275prov=y({token:e,factory:()=>new e,providedIn:"platform"})}return e})();function gd(e,n){return e?n?e.endsWith("/")?n.startsWith("/")?e+n.slice(1):e+n:n.startsWith("/")?e+n:`${e}/${n}`:e:n}function Kw(e){let n=e.search(/#|\?|$/);return e[n-1]==="/"?e.slice(0,n-1)+e.slice(n):e}function Mn(e){return e&&e[0]!=="?"?`?${e}`:e}var Nn=(()=>{class e{historyGo(t){throw new Error("")}static \u0275fac=function(i){return new(i||e)};static \u0275prov=y({token:e,factory:()=>g(md),providedIn:"root"})}return e})(),os=new E(""),md=(()=>{class e extends Nn{_platformLocation;_baseHref;_removeListenerFns=[];constructor(t,i){super(),this._platformLocation=t,this._baseHref=i??this._platformLocation.getBaseHrefFromDOM()??g(ne).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.on
vendor: 30,953 bytes, line 4
4HashChange(t))}getBaseHref(){return this._baseHref}prepareExternalUrl(t){return gd(this._baseHref,t)}path(t=!1){let i=this._platformLocation.pathname+Mn(this._platformLocation.search),r=this._platformLocation.hash;return r&&t?`${i}${r}`:i}pushState(t,i,r,o){let s=this.prepareExternalUrl(r+Mn(o));this._platformLocation.pushState(t,i,s)}replaceState(t,i,r,o){let s=this.prepareExternalUrl(r+Mn(o));this._platformLocation.replaceState(t,i,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(t=0){this._platformLocation.historyGo?.(t)}static \u0275fac=function(i){return new(i||e)(D(Jr),D(os,8))};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),tr=(()=>{class e{_subject=new B;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(t){this._locationStrategy=t;let i=this._locationStrategy.getBaseHref();this._basePath=GA(Kw(Xw(i))),this._locationStrategy.onPopState(r=>{this._subject.next({url:this.path(!0),pop:!0,state:r.state,type:r.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(t=!1){return this.normalize(this._locationStrategy.path(t))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(t,i=""){return this.path()==this.normalize(t+Mn(i))}normalize(t){return e.stripTrailingSlash($A(this._basePath,Xw(t)))}prepareExternalUrl(t){return t&&t[0]!=="/"&&(t="/"+t),this._locationStrategy.prepareExternalUrl(t)}go(t,i="",r=null){this._locationStrategy.pushState(r,"",t,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+Mn(i)),r)}replaceState(t,i="",r=null){this._locationStrategy.replaceState(r,"",t,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+Mn(i)),r)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(t=0){this._locationStrategy.historyGo?.(t)}onUrlChange(t){return this._urlChangeListeners.push(t),this._urlChangeSubscription??=this.subscribe(i=>{this._notifyUrlChangeListeners(i.url,i.state)}),()=>{let i=this._urlChangeListeners.indexOf(t);this._urlChangeListeners.splice(i,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(t="",i){this._urlChangeListeners.forEach(r=>r(t,i))}subscribe(t,i,r){return this._subject.subscribe({next:t,error:i??void 0,complete:r??void 0})}static normalizeQueryParams=Mn;static joinWithSlash=gd;static stripTrailingSlash=Kw;static \u0275fac=function(i){return new(i||e)(D(Nn))};static \u0275prov=y({token:e,factory:()=>UA(),providedIn:"root"})}return e})();function UA(){return new tr(D(Nn))}function $A(e,n){if(!e||!n.startsWith(e))return n;let t=n.substring(e.length);return t===""||["/",";","?","#"].includes(t[0])?t:n}function Xw(e){return e.replace(/\/index.html$/,"")}function GA(e){if(new RegExp("^(https?:)?//").test(e)){let[,t]=e.split(/\/\/[^\/]+/);return t}return e}var Qm=(()=>{class e extends Nn{_platformLocation;_baseHref="";_removeListenerFns=[];constructor(t,i){super(),this._platformLocation=t,i!=null&&(this._baseHref=i)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}getBaseHref(){return this._baseHref}path(t=!1){let i=this._platformLocation.hash??"#";return i.length>0?i.substring(1):i}prepareExternalUrl(t){let i=gd(this._baseHref,t);return i.length>0?"#"+i:i}pushState(t,i,r,o){let s=this.prepareExternalUrl(r+Mn(o))||this._platformLocation.pathname;this._platformLocation.pushState(t,i,s)}replaceState(t,i,r,o){let s=this.prepareExternalUrl(r+Mn(o))||this._platformLocation.pathname;this._platformLocation.replaceState(t,i,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(t=0){this._platformLocation.historyGo?.(t)}static \u0275fac=function(i){return new(i||e)(D(Jr),D(os,8))};static \u0275prov=y({token:e,factory:e.\u0275fac})}return e})();var Jm=(function(e){return e[e.Decimal=0]="Decimal",e[e.Percent=1]="Percent",e[e.Currency=2]="Currency",e[e.Scientific=3]="Scientific",e})(Jm||{});var He=(function(e){return e[e.Format=0]="Format",e[e.Standalone=1]="Standalone",e})(He||{}),te=(function(e){return e[e.Narrow=0]="Narrow",e[e.Abbreviated=1]="Abbreviated",e[e.Wide=2]="Wide",e[e.Short=3]="Short",e})(te||{}),Vt=(function(e){return e[e.Short=0]="Short",e[e.Medium=1]="Medium",e[e.Long=2]="Long",e[e.Full=3]="Full",e})(Vt||{}),Bt={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 lC(e){return jt(e)[xe.LocaleId]}function Km(e,n,t){let i=jt(e),r=[i[xe.DayPeriodsFormat],i[xe.DayPeriodsStandalone]],o=un(r,n);return un(o,t)}function Td(e,n,t){let i=jt(e),r=[i[xe.DaysFormat],i[xe.DaysStandalone]],o=un(r,n);return un(o,t)}function Ka(e,n,t){let i=jt(e),r=[i[xe.MonthsFormat],i[xe.MonthsStandalone]],o=un(r,n);return un(o,t)}function cC(e,n){let i=jt(e)[xe.Eras];return un(i,n)}function Za(e,n){let t=jt(e);return un(t[xe.DateFormat],n)}function Ya(e,n){let t=jt(e);return un(t[xe.TimeFormat],n)}function Qa(e,n){let i=jt(e)[xe.DateTimeFormat];return un(i,n)}function Kn(e,n){let t=jt(e),i=t[xe.NumberSymbols][n];if(typeof i>"u"){if(n===Bt.CurrencyDecimal)return t[xe.NumberSymbols][Bt.Decimal];if(n===Bt.CurrencyGroup)return t[xe.NumberSymbols][Bt.Group]}return i}function uC(e,n){return jt(e)[xe.NumberFormats][n]}function dC(e){if(!e[xe.ExtraData])throw new C(2303,!1)}function fC(e){let n=jt(e);return dC(n),(n[xe.ExtraData][2]||[]).map(i=>typeof i=="string"?Um(i):[Um(i[0]),Um(i[1])])}function hC(e,n,t){let i=jt(e);dC(i);let r=[i[xe.ExtraData][0],i[xe.ExtraData][1]],o=un(r,n)||[];return un(o,t)||[]}function un(e,n){for(let t=n;t>-1;t--)if(typeof e[t]<"u")return e[t];throw new C(2304,!1)}function Um(e){let[n,t]=e.split(":");return{hours:+n,minutes:+t}}var zA=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,vd={},WA=/((?:[^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]*)/;function Sd(e,n,t,i){let r=tx(e);n=Ei(t,n)||n;let s=[],a;for(;n;)if(a=WA.exec(n),a){s=s.concat(a.slice(1));let u=s.pop();if(!u)break;n=u}else{s.push(n);break}let l=r.getTimezoneOffset();i&&(l=gC(i,l),r=ex(r,i));let c="";return s.forEach(u=>{let d=KA(u);c+=d?d(r,t,l):u==="''"?"'":u.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),c}function wd(e,n,t){let i=new Date(0);return i.setFullYear(e,n,t),i.setHours(0,0,0),i}function Ei(e,n){let t=lC(e);if(vd[t]??={},vd[t][n])return vd[t][n];let i="";switch(n){case"shortDate":i=Za(e,Vt.Short);break;case"mediumDate":i=Za(e,Vt.Medium);break;case"longDate":i=Za(e,Vt.Long);break;case"fullDate":i=Za(e,Vt.Full);break;case"shortTime":i=Ya(e,Vt.Short);break;case"mediumTime":i=Ya(e,Vt.Medium);break;case"longTime":i=Ya(e,Vt.Long);break;case"fullTime":i=Ya(e,Vt.Full);break;case"short":let r=Ei(e,"shortTime"),o=Ei(e,"shortDate");i=_d(Qa(e,Vt.Short),[r,o]);break;case"medium":let s=Ei(e,"mediumTime"),a=Ei(e,"mediumDate");i=_d(Qa(e,Vt.Medium),[s,a]);break;case"long":let l=Ei(e,"longTime"),c=Ei(e,"longDate");i=_d(Qa(e,Vt.Long),[l,c]);break;case"full":let u=Ei(e,"fullTime"),d=Ei(e,"fullDate");i=_d(Qa(e,Vt.Full),[u,d]);break}return i&&(vd[t][n]=i),i}function _d(e,n){return n&&(e=e.replace(/\{([^}]+)}/g,function(t,i){return n!=null&&i in n?n[i]:t})),e}function On(e,n,t="-",i,r){let o="";(e<0||r&&e<=0)&&(r?e=-e+1:(e=-e,o=t));let s=String(e);for(;s.length<n;)s="0"+s;return i&&(s=s.slice(s.length-n)),o+s}function qA(e,n){return On(e,3).substring(0,n)}function Be(e,n,t=0,i=!1,r=!1){return function(o,s){let a=ZA(e,o);if((t>0||a>-t)&&(a+=t),e===3)a===0&&t===-12&&(a=12);else if(e===6)return qA(a,n);let l=Kn(s,Bt.MinusSign);return On(a,n,l,i,r)}}function ZA(e,n){switch(e){case 0:return n.getFullYear();case 1:return n.getMonth();case 2:return n.getDate();case 3:return n.getHours();case 4:return n.getMinutes();case 5:return n.getSeconds();case 6:return n.getMilliseconds();case 7:return n.getDay();default:throw new C(2301,!1)}}function ve(e,n,t=He.Format,i=!1){return function(r,o){return YA(r,o,e,n,t,i)}}function YA(e,n,t,i,r,o){switch(t){case 2:return Ka(n,r,i)[e.getMonth()];case 1:return Td(n,r,i)[e.getDay()];case 0:let s=e.getHours(),a=e.getMinutes();if(o){let c=fC(n),u=hC(n,r,i),d=c.findIndex(h=>{if(Array.isArray(h)){let[f,p]=h,v=s>=f.hours&&a>=f.minutes,_=s<p.hours||s===p.hours&&a<p.minutes;if(f.hours<p.hours){if(v&&_)return!0}else if(v||_)return!0}else if(h.hours===s&&h.minutes===a)return!0;return!1});if(d!==-1)return u[d]}return Km(n,r,i)[s<12?0:1];case 3:return cC(n,i)[e.getFullYear()<=0?0:1];default:let l=t;throw new C(2302,!1)}}function yd(e){return function(n,t,i){let r=-1*i,o=Kn(t,Bt.MinusSign),s=r>0?Math.floor(r/60):Math.ceil(r/60);switch(e){case 0:return(r>=0?"+":"")+On(s,2,o)+On(Math.abs(r%60),2,o);case 1:return"GMT"+(r>=0?"+":"")+On(s,1,o);case 2:return"GMT"+(r>=0?"+":"")+On(s,2,o)+":"+On(Math.abs(r%60),2,o);case 3:return i===0?"Z":(r>=0?"+":"")+On(s,2,o)+":"+On(Math.abs(r%60),2,o);default:throw new C(2302,!1)}}}var QA=0,Dd=4;function JA(e){let n=wd(e,QA,1).getDay();return wd(e,0,1+(n<=Dd?Dd:Dd+7)-n)}function pC(e){let n=e.getDay(),t=n===0?-3:Dd-n;return wd(e.getFullYear(),e.getMonth(),e.getDate()+t)}function $m(e,n=!1){return function(t,i){let r;if(n){let o=new Date(t.getFullYear(),t.getMonth(),1).getDay()-1,s=t.getDate();r=1+Math.floor((s+o)/7)}else{let o=pC(t),s=JA(o.getFullYear()),a=o.getTime()-s.getTime();r=1+Math.round(a/6048e5)}return On(r,e,Kn(i,Bt.MinusSign))}}function bd(e,n=!1){return function(t,i){let o=pC(t).getFullYear();return On(o,e,Kn(i,Bt.MinusSign),n)}}var Gm={};function KA(e){if(Gm[e])return Gm[e];let n;switch(e){case"G":case"GG":case"GGG":n=ve(3,te.Abbreviated);break;case"GGGG":n=ve(3,te.Wide);break;case"GGGGG":n=ve(3,te.Narrow);break;case"y":n=Be(0,1,0,!1,!0);break;case"yy":n=Be(0,2,0,!0,!0);break;case"yyy":n=Be(0,3,0,!1,!0);break;case"yyyy":n=Be(0,4,0,!1,!0);break;case"Y":n=bd(1);break;case"YY":n=bd(2,!0);break;case"YYY":n=bd(3);break;case"YYYY":n=bd(4);break;case"M":case"L":n=Be(1,1,1);break;case"MM":case"LL":n=Be(1,2,1);break;case"MMM":n=ve(2,te.Abbreviated);break;case"MMMM":n=ve(2,te.Wide);break;case"MMMMM":n=ve(2,te.Narrow);break;case"LLL":n=ve(2,te.Abbreviated,He.Standalone);break;case"LLLL":n=ve(2,te.Wide,He.Standalone);break;case"LLLLL":n=ve(2,te.Narrow,He.Standalone);break;case"w":n=$m(1);break;case"ww":n=$m(2);break;case"W":n=$m(1,!0);break;case"d":n=Be(2,1);break;case"dd":n=Be(2,2);break;case"c":case"cc":n=Be(7,1);break;case"ccc":n=ve(1,te.Abbreviated,He.Standalone);break;case"cccc":n=ve(1,te.Wide,He.Standalone);break;case"ccccc":n=ve(1,te.Narrow,He.Standalone);break;case"cccccc":n=ve(1,te.Short,He.Standalone);break;case"E":case"EE":case"EEE":n=ve(1,te.Abbreviated);break;case"EEEE":n=ve(1,te.Wide);break;case"EEEEE":n=ve(1,te.Narrow);break;case"EEEEEE":n=ve(1,te.Short);break;case"a":case"aa":case"aaa":n=ve(0,te.Abbreviated);break;case"aaaa":n=ve(0,te.Wide);break;case"aaaaa":n=ve(0,te.Narrow);break;case"b":case"bb":case"bbb":n=ve(0,te.Abbreviated,He.Standalone,!0);break;case"bbbb":n=ve(0,te.Wide,He.Standalone,!0);break;case"bbbbb":n=ve(0,te.Narrow,He.Standalone,!0);break;case"B":case"BB":case"BBB":n=ve(0,te.Abbreviated,He.Format,!0);break;case"BBBB":n=ve(0,te.Wide,He.Format,!0);break;case"BBBBB":n=ve(0,te.Narrow,He.Format,!0);break;case"h":n=Be(3,1,-12);break;case"hh":n=Be(3,2,-12);break;case"H":n=Be(3,1);break;case"HH":n=Be(3,2);break;case"m":n=Be(4,1);break;case"mm":n=Be(4,2);break;case"s":n=Be(5,1);break;case"ss":n=Be(5,2);break;case"S":n=Be(6,1);break;case"SS":n=Be(6,2);break;case"SSS":n=Be(6,3);break;case"Z":case"ZZ":case"ZZZ":n=yd(0);break;case"ZZZZZ":n=yd(3);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":n=yd(1);break;case"OOOO":case"ZZZZ":case"zzzz":n=yd(2);break;default:return null}return Gm[e]=n,n}function gC(e,n){e=e.replace(/:/g,"");let t=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(t)?n:t}function XA(e,n){return e=new Date(e.getTime()),e.setMinutes(e.getMinutes()+n),e}function ex(e,n,t){let r=e.getTimezoneOffset(),o=gC(n,r);return XA(e,-1*(o-r))}function tx(e){if(nC(e))return e;if(typeof e=="number"&&!isNaN(e))return new Date(e);if(typeof e=="string"){if(e=e.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(e)){let[r,o=1,s=1]=e.split("-").map(a=>+a);return wd(r,o-1,s)}let t=parseFloat(e);if(!isNaN(e-t))return new Date(t);let i;if(i=e.match(zA))return nx(i)}let n=new Date(e);if(!nC(n))throw new C(2302,!1);return n}function nx(e){let n=new Date(0),t=0,i=0,r=e[8]?n.setUTCFullYear:n.setFullYear,o=e[8]?n.setUTCHours:n.setHours;e[9]&&(t=Number(e[9]+e[10]),i=Number(e[9]+e[11])),r.call(n,Number(e[1]),Number(e[2])-1,Number(e[3]));let s=Number(e[4]||0)-t,a=Number(e[5]||0)-i,l=Number(e[6]||0),c=Math.floor(parseFloat("0."+(e[7]||0))*1e3);return o.call(n,s,a,l,c),n}function nC(e){return e instanceof Date&&!isNaN(e.valueOf())}var ix=/^(\d+)?\.((\d+)(-(\d+))?)?$/,iC=22,Cd=".",Ja="0",rx=";",ox=",",zm="#";function sx(e,n,t,i,r,o,s=!1){let a="",l=!1;if(!isFinite(e))a=Kn(t,Bt.Infinity);else{let c=cx(e);s&&(c=lx(c));let u=n.minInt,d=n.minFrac,h=n.maxFrac;if(o){let T=o.match(ix);if(T===null)throw new C(2306,!1);let J=T[1],O=T[3],W=T[5];J!=null&&(u=Wm(J)),O!=null&&(d=Wm(O)),W!=null?h=Wm(W):O!=null&&d>h&&(h=d)}ux(c,d,h);let f=c.digits,p=c.integerLen,v=c.exponent,_=[];for(l=f.every(T=>!T);p<u;p++)f.unshift(0);for(;p<0;p++)f.unshift(0);p>0?_=f.splice(p,f.length):(_=f,f=[0]);let b=[];for(f.length>=n.lgSize&&b.unshift(f.splice(-n.lgSize,f.length).join(""));f.length>n.gSize;)b.unshift(f.splice(-n.gSize,f.length).join(""));f.length&&b.unshift(f.join("")),a=b.join(Kn(t,i)),_.length&&(a+=Kn(t,r)+_.join("")),v&&(a+=Kn(t,Bt.Exponential)+"+"+v)}return e<0&&!l?a=n.negPre+a+n.negSuf:a=n.posPre+a+n.posSuf,a}function mC(e,n,t){let i=uC(n,Jm.Decimal),r=ax(i,Kn(n,Bt.MinusSign));return sx(e,r,n,Bt.Group,Bt.Decimal,t)}function ax(e,n="-"){let t={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},i=e.split(rx),r=i[0],o=i[1],s=r.indexOf(Cd)!==-1?r.split(Cd):[r.substring(0,r.lastIndexOf(Ja)+1),r.substring(r.lastIndexOf(Ja)+1)],a=s[0],l=s[1]||"";t.posPre=a.substring(0,a.indexOf(zm));for(let u=0;u<l.length;u++){let d=l.charAt(u);d===Ja?t.minFrac=t.maxFrac=u+1:d===zm?t.maxFrac=u+1:t.posSuf+=d}let c=a.split(ox);if(t.gSize=c[1]?c[1].length:0,t.lgSize=c[2]||c[1]?(c[2]||c[1]).length:0,o){let u=r.length-t.posPre.length-t.posSuf.length,d=o.indexOf(zm);t.negPre=o.substring(0,d).replace(/'/g,""),t.negSuf=o.slice(d+u).replace(/'/g,"")}else t.negPre=n+t.posPre,t.negSuf=t.posSuf;return t}function lx(e){if(e.digits[0]===0)return e;let n=e.digits.length-e.integerLen;return e.exponent?e.exponent+=2:(n===0?e.digits.push(0,0):n===1&&e.digits.push(0),e.integerLen+=2),e}function cx(e){let n=Math.abs(e)+"",t=0,i,r,o,s,a;for((r=n.indexOf(Cd))>-1&&(n=n.replace(Cd,"")),(o=n.search(/e/i))>0?(r<0&&(r=o),r+=+n.slice(o+1),n=n.substring(0,o)):r<0&&(r=n.length),o=0;n.charAt(o)===Ja;o++);if(o===(a=n.length))i=[0],r=1;else{for(a--;n.charAt(a)===Ja;)a--;for(r-=o,i=[],s=0;o<=a;o++,s++)i[s]=Number(n.charAt(o))}return r>iC&&(i=i.splice(0,iC-1),t=r-1,r=1),{digits:i,exponent:t,integerLen:r}}function ux(e,n,t){if(n>t)throw new C(2307,!1);let i=e.digits,r=i.length-e.integerLen,o=Math.min(Math.max(n,r),t),s=o+e.integerLen,a=i[s];if(s>0){i.splice(Math.max(e.integerLen,s));for(let d=s;d<i.length;d++)i[d]=0}else{r=Math.max(0,r),e.integerLen=1,i.length=Math.max(1,s=o+1),i[0]=0;for(let d=1;d<s;d++)i[d]=0}if(a>=5)if(s-1<0){for(let d=0;d>s;d--)i.unshift(0),e.integerLen++;i.unshift(1),e.integerLen++}else i[s-1]++;for(;r<Math.max(0,o);r++)i.push(0);let l=o!==0,c=n+e.integerLen,u=i.reduceRight(function(d,h,f,p){return h=h+d,p[f]=h<10?h:h-10,l&&(p[f]===0&&f>=c?p.pop():l=!1),h>=10?1:0},0);u&&(i.unshift(u),e.integerLen++)}function Wm(e){let n=parseInt(e);if(isNaN(n))throw new C(2305,!1);return n}var qm=/\s+/,rC=[],dx=(()=>{class e{_ngEl;_renderer;initialClasses=rC;rawClass;stateMap=new Map;constructor(t,i){this._ngEl=t,this._renderer=i}set klass(t){this.initialClasses=t!=null?t.trim().split(qm):rC}set ngClass(t){this.rawClass=typeof t=="string"?t.trim().split(qm):t}ngDoCheck(){for(let i of this.initialClasses)this._updateState(i,!0);let t=this.rawClass;if(Array.isArray(t)||t instanceof Set)for(let i of t)this._updateState(i,!0);else if(t!=null)for(let i of Object.keys(t))this._updateState(i,!!t[i]);this._applyStateDiff()}_updateState(t,i){let r=this.stateMap.get(t);r!==void 0?(r.enabled!==i&&(r.changed=!0,r.enabled=i),r.touched=!0):this.stateMap.set(t,{enabled:i,changed:!0,touched:!0})}_applyStateDiff(){for(let t of this.stateMap){let i=t[0],r=t[1];r.changed?(this._toggleClass(i,r.enabled),r.changed=!1):r.touched||(r.enabled&&this._toggleClass(i,!1),this.stateMap.delete(i)),r.touched=!1}}_toggleClass(t,i){t=t.trim(),t.length>0&&t.split(qm).forEach(r=>{i?this._renderer.addClass(this._ngEl.nativeElement,r):this._renderer.removeClass(this._ngEl.nativeElement,r)})}static \u0275fac=function(i){return new(i||e)(m(ie),m(Ve))};static \u0275dir=G({type:e,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return e})();var Ed=class{$implicit;ngForOf;index;count;constructor(n,t,i,r){this.$implicit=n,this.ngForOf=t,this.index=i,this.count=r}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}},Kr=(()=>{class e{_viewContainer;_template;_differs;set ngForOf(t){this._ngForOf=t,this._ngForOfDirty=!0}set ngForTrackBy(t){this._trackByFn=t}get ngForTrackBy(){return this._trackByFn}_ngForOf=null;_ngForOfDirty=!0;_differ=null;_trackByFn;constructor(t,i,r){this._viewContainer=t,this._template=i,this._differs=r}set ngForTemplate(t){t&&(this._template=t)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;let t=this._ngForOf;!this._differ&&t&&(this._differ=this._differs.find(t).create(this.ngForTrackBy))}if(this._differ){let t=this._differ.diff(this._ngForOf);t&&this._applyChanges(t)}}_applyChanges(t){let i=this._viewContainer;t.forEachOperation((r,o,s)=>{if(r.previousIndex==null)i.createEmbeddedView(this._template,new Ed(r.item,this._ngForOf,-1,-1),s===null?void 0:s);else if(s==null)i.remove(o===null?void 0:o);else if(o!==null){let a=i.get(o);i.move(a,s),oC(a,r)}});for(let r=0,o=i.length;r<o;r++){let a=i.get(r).context;a.index=r,a.count=o,a.ngForOf=this._ngForOf}t.forEachIdentityChange(r=>{let o=i.get(r.currentIndex);oC(o,r)})}static ngTemplateContextGuard(t,i){return!0}static \u0275fac=function(i){return new(i||e)(m(St),m(kt),m(Vm))};static \u0275dir=G({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}})}return e})();function oC(e,n){e.context.$implicit=n.item}var Ii=(()=>{class e{_viewContainer;_context=new Id;_thenTemplateRef=null;_elseTemplateRef=null;_thenViewRef=null;_elseViewRef=null;constructor(t,i){this._viewContainer=t,this._thenTemplateRef=i}set ngIf(t){this._context.$implicit=this._context.ngIf=t,this._updateView()}set ngIfThen(t){sC(t,!1),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){sC(t,!1),this._elseTemplateRef=t,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 ngIfUseIfTypeGuard;static ngTemplateGuard_ngIf;static ngTemplateContextGuard(t,i){return!0}static \u0275fac=function(i){return new(i||e)(m(St),m(kt))};static \u0275dir=G({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}})}return e})(),Id=class{$implicit=null;ngIf=null};function sC(e,n){if(e&&!e.createEmbeddedView)throw new C(2020,!1)}var fx=(()=>{class e{_ngEl;_differs;_renderer;_ngStyle=null;_differ=null;constructor(t,i,r){this._ngEl=t,this._differs=i,this._renderer=r}set ngStyle(t){this._ngStyle=t,!this._differ&&t&&(this._differ=this._differs.find(t).create())}ngDoCheck(){if(this._differ){let t=this._differ.diff(this._ngStyle);t&&this._applyChanges(t)}}_setStyle(t,i){let[r,o]=t.split("."),s=r.indexOf("-")===-1?void 0:Tn.DashCase;i!=null?this._renderer.setStyle(this._ngEl.nativeElement,r,o?`${i}${o}`:i,s):this._renderer.removeStyle(this._ngEl.nativeElement,r,s)}_applyChanges(t){t.forEachRemovedItem(i=>this._setStyle(i.key,null)),t.forEachAddedItem(i=>this._setStyle(i.key,i.currentValue)),t.forEachChangedItem(i=>this._setStyle(i.key,i.currentValue))}static \u0275fac=function(i){return new(i||e)(m(ie),m(hd),m(Ve))};static \u0275dir=G({type:e,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}})}return e})(),Xa=(()=>{class e{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;constructor(t){this._viewContainerRef=t}ngOnChanges(t){if(this._shouldRecreateView(t)){let i=this._viewContainerRef;if(this._viewRef&&i.remove(i.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let r=this._createContextForwardProxy();this._viewRef=i.createEmbeddedView(this.ngTemplateOutlet,r,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(t){return!!t.ngTemplateOutlet||!!t.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(t,i,r)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,i,r):!1,get:(t,i,r)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,i,r)}})}static \u0275fac=function(i){return new(i||e)(m(St))};static \u0275dir=G({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[ke]})}return e})();function Md(e,n){return new C(2100,!1)}var Zm=class{createSubscription(n,t,i){return Fe(()=>n.subscribe({next:t,error:i}))}dispose(n){Fe(()=>n.unsubscribe())}},Ym=class{createSubscription(n,t,i){return n.then(r=>t?.(r),r=>i?.(r)),{unsubscribe:()=>{t=null,i=null}}}dispose(n){n.unsubscribe()}},hx=new Ym,px=new Zm,gx=(()=>{class e{_ref;_latestValue=null;markForCheckOnValueUpdate=!0;_subscription=null;_obj=null;_strategy=null;applicationErrorHandler=g(Tt);constructor(t){this._ref=t}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(t){if(!this._obj){if(t)try{this.markForCheckOnValueUpdate=!1,this._subscribe(t)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return t!==this._obj?(this._dispose(),this.transform(t)):this._latestValue}_subscribe(t){this._obj=t,this._strategy=this._selectStrategy(t),this._subscription=this._strategy.createSubscription(t,i=>this._updateLatestValue(t,i),i=>this.applicationErrorHandler(i))}_selectStrategy(t){if(wi(t))return hx;if(td(t))return px;throw Md(e,t)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(t,i){t===this._obj&&(this._latestValue=i,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}static \u0275fac=function(i){return new(i||e)(m(Dt,16))};static \u0275pipe=Di({name:"async",type:e,pure:!1})}return e})();var mx="mediumDate",vC=new E(""),_C=new E(""),Nd=(()=>{class e{locale;defaultTimezone;defaultOptions;constructor(t,i,r){this.locale=t,this.defaultTimezone=i,this.defaultOptions=r}transform(t,i,r,o){if(t==null||t===""||t!==t)return null;try{let s=i??this.defaultOptions?.dateFormat??mx,a=r??this.defaultOptions?.timezone??this.defaultTimezone??void 0;return Sd(t,s,o||this.locale,a)}catch(s){throw Md(e,s.message)}}static \u0275fac=function(i){return new(i||e)(m(Ci,16),m(vC,24),m(_C,24))};static \u0275pipe=Di({name:"date",type:e,pure:!0})}return e})();function vx(e,n){return{key:e,value:n}}var _x=(()=>{class e{differs;constructor(t){this.differs=t}differ;keyValues=[];compareFn=aC;transform(t,i=aC){if(!t||!(t instanceof Map)&&typeof t!="object")return null;this.differ??=this.differs.find(t).create();let r=this.differ.diff(t),o=i!==this.compareFn;return r&&(this.keyValues=[],r.forEachItem(s=>{this.keyValues.push(vx(s.key,s.currentValue))})),(r||o)&&(i&&this.keyValues.sort(i),this.compareFn=i),this.keyValues}static \u0275fac=function(i){return new(i||e)(m(hd,16))};static \u0275pipe=Di({name:"keyvalue",type:e,pure:!1})}return e})();function aC(e,n){let t=e.key,i=n.key;if(t===i)return 0;if(t==null)return 1;if(i==null)return-1;if(typeof t=="string"&&typeof i=="string")return t<i?-1:1;if(typeof t=="number"&&typeof i=="number")return t-i;if(typeof t=="boolean"&&typeof i=="boolean")return t<i?-1:1;let r=String(t),o=String(i);return r==o?0:r<o?-1:1}var yx=(()=>{class e{_locale;constructor(t){this._locale=t}transform(t,i,r){if(!bx(t))return null;r||=this._locale;try{let o=Dx(t);return mC(o,r,i)}catch(o){throw Md(e,o.message)}}static \u0275fac=function(i){return new(i||e)(m(Ci,16))};static \u0275pipe=Di({name:"number",type:e,pure:!0})}return e})();function bx(e){return!(e==null||e===""||e!==e)}function Dx(e){if(typeof e=="string"&&!isNaN(Number(e)-parseFloat(e)))return Number(e);if(typeof e!="number")throw new C(2309,!1);return e}var wx=(()=>{class e{transform(t,i,r){if(t==null)return null;if(!(typeof t=="string"||Array.isArray(t)))throw Md(e,t);return t.slice(i,r)}static \u0275fac=function(i){return new(i||e)};static \u0275pipe=Di({name:"slice",type:e,pure:!1})}return e})();var ot=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275mod=K({type:e});static \u0275inj=Q({})}return e})();function el(e,n){n=encodeURIComponent(n);for(let t of e.split(";")){let i=t.indexOf("="),[r,o]=i==-1?[t,""]:[t.slice(0,i),t.slice(i+1)];if(r.trim()===n)return decodeURIComponent(o)}return null}var Xr=class{};var ev="browser",Ex="server";function tl(e){return e===ev}function nl(e){return e===Ex}var bC=(()=>{class e{static \u0275prov=y({token:e,providedIn:"root",factory:()=>new Xm(g(ne),window)})}return e})(),Xm=class{document;window;offset=()=>[0,0];constructor(n,t){this.document=n,this.window=t}setOffset(n){Array.isArray(n)?this.offset=()=>n:this.offset=n}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(n,t){this.window.scrollTo(j(w({},t),{left:n[0],top:n[1]}))}scrollToAnchor(n,t){let i=Ix(this.document,n);i&&(this.scrollToElement(i,t),i.focus())}setHistoryScrollRestoration(n){try{this.window.history.scrollRestoration=n}catch{console.warn(hi(2400,!1))}}scrollToElement(n,t){let i=n.getBoundingClientRect(),r=i.left+this.window.pageXOffset,o=i.top+this.window.pageYOffset,s=this.offset();this.window.scrollTo(j(w({},t),{left:r-s[0],top:o-s[1]}))}};function Ix(e,n){let t=e.getElementById(n)||e.getElementsByName(n)[0];if(t)return t;if(typeof e.createTreeWalker=="function"&&e.body&&typeof e.body.attachShadow=="function"){let i=e.createTreeWalker(e.body,NodeFilter.SHOW_ELEMENT),r=i.currentNode;for(;r;){let o=r.shadowRoot;if(o){let s=o.getElementById(n)||o.querySelector(`[name="${n}"]`);if(s)return s}r=i.nextNode()}}return null}var Ad=new E(""),ov=(()=>{class e{_zone;_plugins;_eventNameToPlugin=new Map;constructor(t,i){this._zone=i,t.forEach(r=>{r.manager=this}),this._plugins=t.slice().reverse()}addEventListener(t,i,r,o){return this._findPluginFor(i).addEventListener(t,i,r,o)}getZone(){return this._zone}_findPluginFor(t){let i=this._eventNameToPlugin.get(t);if(i)return i;if(i=this._plugins.find(o=>o.supports(t)),!i)throw new C(5101,!1);return this._eventNameToPlugin.set(t,i),i}static \u0275fac=function(i){return new(i||e)(D(Ad),D(ee))};static \u0275prov=y({token:e,factory:e.\u0275fac})}return e})(),il=class{_doc;constructor(n){this._doc=n}manager},tv="ng-app-id";function DC(e){for(let n of e)n.remove()}function wC(e,n){let t=n.createElement("style");return t.textContent=e,t}function Tx(e,n,t,i){let r=e.head?.querySelectorAll(`style[${tv}="${n}"],link[${tv}="${n}"]`);if(r)for(let o of r)o.removeAttribute(tv),o instanceof HTMLLinkElement?i.set(o.href.slice(o.href.lastIndexOf("/")+1),{usage:0,elements:[o]}):o.textContent&&t.set(o.textContent,{usage:0,elements:[o]})}function iv(e,n){let t=n.createElement("link");return t.setAttribute("rel","stylesheet"),t.setAttribute("href",e),t}var sv=(()=>{class e{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;constructor(t,i,r,o={}){this.doc=t,this.appId=i,this.nonce=r,Tx(t,i,this.inline,this.external),this.hosts.add(t.head)}addStyles(t,i){for(let r of t)this.addUsage(r,this.inline,wC);i?.forEach(r=>this.addUsage(r,this.external,iv))}removeStyles(t,i){for(let r of t)this.removeUsage(r,this.inline);i?.forEach(r=>this.removeUsage(r,this.external))}addUsage(t,i,r){let o=i.get(t);o?o.usage++:i.set(t,{usage:1,elements:[...this.hosts].map(s=>this.addElement(s,r(t,this.doc)))})}removeUsage(t,i){let r=i.get(t);r&&(r.usage--,r.usage<=0&&(DC(r.elements),i.delete(t)))}ngOnDestroy(){for(let[,{elements:t}]of[...this.inline,...this.external])DC(t);this.hosts.clear()}addHost(t){this.hosts.add(t);for(let[i,{elements:r}]of this.inline)r.push(this.addElement(t,wC(i,this.doc)));for(let[i,{elements:r}]of this.external)r.push(this.addElement(t,iv(i,this.doc)))}removeHost(t){this.hosts.delete(t)}addElement(t,i){return this.nonce&&i.setAttribute("nonce",this.nonce),t.appendChild(i)}static \u0275fac=function(i){return new(i||e)(D(ne),D(ku),D(Lu,8),D(vi))};static \u0275prov=y({token:e,factory:e.\u0275fac})}return e})(),nv={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"},av=/%COMP%/g;var EC="%COMP%",Sx=`_nghost-${EC}`,Mx=`_ngcontent-${EC}`,Nx=!0,Ox=new E("",{providedIn:"root",factory:()=>Nx});function Rx(e){return Mx.replace(av,e)}function Ax(e){return Sx.replace(av,e)}function IC(e,n){return n.map(t=>t.replace(av,e))}var lv=(()=>{class e{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;platformId;ngZone;nonce;animationDisabled;maxAnimationTimeout;tracingService;rendererByCompId=new Map;defaultRenderer;platformIsServer;registry;constructor(t,i,r,o,s,a,l,c=null,u,d,h=null){this.eventManager=t,this.sharedStylesHost=i,this.appId=r,this.removeStylesOnCompDestroy=o,this.doc=s,this.platformId=a,this.ngZone=l,this.nonce=c,this.animationDisabled=u,this.maxAnimationTimeout=
vendor: 28,231 bytes, lines 4-5
4d,this.tracingService=h,this.platformIsServer=!1,this.defaultRenderer=new rl(t,s,l,this.platformIsServer,this.tracingService,this.registry=iu(),this.maxAnimationTimeout)}createRenderer(t,i){if(!t||!i)return this.defaultRenderer;let r=this.getOrCreateRenderer(t,i);return r instanceof Rd?r.applyToHost(t):r instanceof ol&&r.applyStyles(),r}getOrCreateRenderer(t,i){let r=this.rendererByCompId,o=r.get(i.id);if(!o){let s=this.doc,a=this.ngZone,l=this.eventManager,c=this.sharedStylesHost,u=this.removeStylesOnCompDestroy,d=this.platformIsServer,h=this.tracingService;switch(i.encapsulation){case gi.Emulated:o=new Rd(l,c,i,this.appId,u,s,a,d,h,this.registry,this.animationDisabled,this.maxAnimationTimeout);break;case gi.ShadowDom:return new rv(l,c,t,i,s,a,this.nonce,d,h,this.registry,this.maxAnimationTimeout);default:o=new ol(l,c,i,u,s,a,d,h,this.registry,this.animationDisabled,this.maxAnimationTimeout);break}r.set(i.id,o)}return o}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(t){this.rendererByCompId.delete(t)}static \u0275fac=function(i){return new(i||e)(D(ov),D(sv),D(ku),D(Ox),D(ne),D(vi),D(ee),D(Lu),D(Dm),D(wm),D(Gr,8))};static \u0275prov=y({token:e,factory:e.\u0275fac})}return e})(),rl=class{eventManager;doc;ngZone;platformIsServer;tracingService;registry;maxAnimationTimeout;data=Object.create(null);throwOnSyntheticProps=!0;constructor(n,t,i,r,o,s,a){this.eventManager=n,this.doc=t,this.ngZone=i,this.platformIsServer=r,this.tracingService=o,this.registry=s,this.maxAnimationTimeout=a}destroy(){}destroyNode=null;createElement(n,t){return t?this.doc.createElementNS(nv[t]||t,n):this.doc.createElement(n)}createComment(n){return this.doc.createComment(n)}createText(n){return this.doc.createTextNode(n)}appendChild(n,t){(CC(n)?n.content:n).appendChild(t)}insertBefore(n,t,i){n&&(CC(n)?n.content:n).insertBefore(t,i)}removeChild(n,t){let{elements:i}=this.registry;if(i){i.animate(t,()=>t.remove(),this.maxAnimationTimeout);return}t.remove()}selectRootElement(n,t){let i=typeof n=="string"?this.doc.querySelector(n):n;if(!i)throw new C(-5104,!1);return t||(i.textContent=""),i}parentNode(n){return n.parentNode}nextSibling(n){return n.nextSibling}setAttribute(n,t,i,r){if(r){t=r+":"+t;let o=nv[r];o?n.setAttributeNS(o,t,i):n.setAttribute(t,i)}else n.setAttribute(t,i)}removeAttribute(n,t,i){if(i){let r=nv[i];r?n.removeAttributeNS(r,t):n.removeAttribute(`${i}:${t}`)}else n.removeAttribute(t)}addClass(n,t){n.classList.add(t)}removeClass(n,t){n.classList.remove(t)}setStyle(n,t,i,r){r&(Tn.DashCase|Tn.Important)?n.style.setProperty(t,i,r&Tn.Important?"important":""):n.style[t]=i}removeStyle(n,t,i){i&Tn.DashCase?n.style.removeProperty(t):n.style[t]=""}setProperty(n,t,i){n!=null&&(n[t]=i)}setValue(n,t){n.nodeValue=t}listen(n,t,i,r){if(typeof n=="string"&&(n=Qt().getGlobalEventTarget(this.doc,n),!n))throw new C(5102,!1);let o=this.decoratePreventDefault(i);return this.tracingService?.wrapEventListener&&(o=this.tracingService.wrapEventListener(n,t,o)),this.eventManager.addEventListener(n,t,o,r)}decoratePreventDefault(n){return t=>{if(t==="__ngUnwrap__")return n;n(t)===!1&&t.preventDefault()}}};function CC(e){return e.tagName==="TEMPLATE"&&e.content!==void 0}var rv=class extends rl{sharedStylesHost;hostEl;shadowRoot;constructor(n,t,i,r,o,s,a,l,c,u,d){super(n,o,s,l,c,u,d),this.sharedStylesHost=t,this.hostEl=i,this.shadowRoot=i.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let h=r.styles;h=IC(r.id,h);for(let p of h){let v=document.createElement("style");a&&v.setAttribute("nonce",a),v.textContent=p,this.shadowRoot.appendChild(v)}let f=r.getExternalStyles?.();if(f)for(let p of f){let v=iv(p,o);a&&v.setAttribute("nonce",a),this.shadowRoot.appendChild(v)}}nodeOrShadowRoot(n){return n===this.hostEl?this.shadowRoot:n}appendChild(n,t){return super.appendChild(this.nodeOrShadowRoot(n),t)}insertBefore(n,t,i){return super.insertBefore(this.nodeOrShadowRoot(n),t,i)}removeChild(n,t){return super.removeChild(null,t)}parentNode(n){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(n)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},ol=class extends rl{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;_animationDisabled;constructor(n,t,i,r,o,s,a,l,c,u,d,h){super(n,o,s,a,l,c,d),this.sharedStylesHost=t,this.removeStylesOnCompDestroy=r,this._animationDisabled=u;let f=i.styles;this.styles=h?IC(h,f):f,this.styleUrls=i.getExternalStyles?.(h)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){if(this.removeStylesOnCompDestroy){if(!this._animationDisabled&&this.registry.elements){this.ngZone.runOutsideAngular(()=>{setTimeout(()=>{this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)},this.maxAnimationTimeout)});return}this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}}},Rd=class extends ol{contentAttr;hostAttr;constructor(n,t,i,r,o,s,a,l,c,u,d,h){let f=r+"-"+i.id;super(n,t,i,o,s,a,l,c,u,d,h,f),this.contentAttr=Rx(f),this.hostAttr=Ax(f)}applyToHost(n){this.applyStyles(),this.setAttribute(n,this.hostAttr,"")}createElement(n,t){let i=super.createElement(n,t);return super.setAttribute(i,this.contentAttr,""),i}};var xd=class e extends qa{supportsDOMEvents=!0;static makeCurrent(){Bm(new e)}onAndCancel(n,t,i,r){return n.addEventListener(t,i,r),()=>{n.removeEventListener(t,i,r)}}dispatchEvent(n,t){n.dispatchEvent(t)}remove(n){n.remove()}createElement(n,t){return t=t||this.getDefaultDocument(),t.createElement(n)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(n){return n.nodeType===Node.ELEMENT_NODE}isShadowRoot(n){return n instanceof DocumentFragment}getGlobalEventTarget(n,t){return t==="window"?window:t==="document"?n:t==="body"?n.body:null}getBaseHref(n){let t=xx();return t==null?null:Px(t)}resetBaseElement(){sl=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return el(document.cookie,n)}},sl=null;function xx(){return sl=sl||document.head.querySelector("base"),sl?sl.getAttribute("href"):null}function Px(e){return new URL(e,document.baseURI).pathname}var Pd=class{addToWindow(n){je.getAngularTestability=(i,r=!0)=>{let o=n.findTestabilityInTree(i,r);if(o==null)throw new C(5103,!1);return o},je.getAllAngularTestabilities=()=>n.getAllTestabilities(),je.getAllAngularRootElements=()=>n.getAllRootElements();let t=i=>{let r=je.getAllAngularTestabilities(),o=r.length,s=function(){o--,o==0&&i()};r.forEach(a=>{a.whenStable(s)})};je.frameworkStabilizers||(je.frameworkStabilizers=[]),je.frameworkStabilizers.push(t)}findTestabilityInTree(n,t,i){if(t==null)return null;let r=n.getTestability(t);return r??(i?Qt().isShadowRoot(t)?this.findTestabilityInTree(n,t.host,!0):this.findTestabilityInTree(n,t.parentElement,!0):null)}},kx=(()=>{class e{build(){return new XMLHttpRequest}static \u0275fac=function(i){return new(i||e)};static \u0275prov=y({token:e,factory:e.\u0275fac})}return e})(),SC=(()=>{class e extends il{constructor(t){super(t)}supports(t){return!0}addEventListener(t,i,r,o){return t.addEventListener(i,r,o),()=>this.removeEventListener(t,i,r,o)}removeEventListener(t,i,r,o){return t.removeEventListener(i,r,o)}static \u0275fac=function(i){return new(i||e)(D(ne))};static \u0275prov=y({token:e,factory:e.\u0275fac})}return e})(),TC=["alt","control","meta","shift"],Fx={"\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"},Lx={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey},MC=(()=>{class e extends il{constructor(t){super(t)}supports(t){return e.parseEventName(t)!=null}addEventListener(t,i,r,o){let s=e.parseEventName(i),a=e.eventCallback(s.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Qt().onAndCancel(t,s.domEventName,a,o))}static parseEventName(t){let i=t.toLowerCase().split("."),r=i.shift();if(i.length===0||!(r==="keydown"||r==="keyup"))return null;let o=e._normalizeKey(i.pop()),s="",a=i.indexOf("code");if(a>-1&&(i.splice(a,1),s="code."),TC.forEach(c=>{let u=i.indexOf(c);u>-1&&(i.splice(u,1),s+=c+".")}),s+=o,i.length!=0||o.length===0)return null;let l={};return l.domEventName=r,l.fullKey=s,l}static matchEventFullKeyCode(t,i){let r=Fx[t.key]||t.key,o="";return i.indexOf("code.")>-1&&(r=t.code,o="code."),r==null||!r?!1:(r=r.toLowerCase(),r===" "?r="space":r==="."&&(r="dot"),TC.forEach(s=>{if(s!==r){let a=Lx[s];a(t)&&(o+=s+".")}}),o+=r,o===i)}static eventCallback(t,i,r){return o=>{e.matchEventFullKeyCode(o,t)&&r.runGuarded(()=>i(o))}}static _normalizeKey(t){return t==="esc"?"escape":t}static \u0275fac=function(i){return new(i||e)(D(ne))};static \u0275prov=y({token:e,factory:e.\u0275fac})}return e})();function jx(){xd.makeCurrent()}function Vx(){return new yn}function Bx(){return Vg(document),document}var Hx=[{provide:vi,useValue:ev},{provide:Fu,useValue:jx,multi:!0},{provide:ne,useFactory:Bx}],Ux=jm(Yw,"browser",Hx);var $x=[{provide:rs,useClass:Pd},{provide:ed,useClass:ja,deps:[ee,Va,rs]},{provide:ja,useClass:ja,deps:[ee,Va,rs]}],Gx=[{provide:aa,useValue:"root"},{provide:yn,useFactory:Vx},{provide:Ad,useClass:SC,multi:!0,deps:[ne]},{provide:Ad,useClass:MC,multi:!0,deps:[ne]},lv,sv,ov,{provide:Yt,useExisting:lv},{provide:Xr,useClass:kx},[]],zx=(()=>{class e{constructor(){}static \u0275fac=function(i){return new(i||e)};static \u0275mod=K({type:e});static \u0275inj=Q({providers:[...Gx,...$x],imports:[ot,Qw]})}return e})();var ls=class{},to=class{},nr=class e{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(n){n?typeof n=="string"?this.lazyInit=()=>{this.headers=new Map,n.split(`
5`).forEach(t=>{let i=t.indexOf(":");if(i>0){let r=t.slice(0,i),o=t.slice(i+1).trim();this.addHeaderEntry(r,o)}})}:typeof Headers<"u"&&n instanceof Headers?(this.headers=new Map,n.forEach((t,i)=>{this.addHeaderEntry(i,t)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(n).forEach(([t,i])=>{this.setHeaderEntries(t,i)})}:this.headers=new Map}has(n){return this.init(),this.headers.has(n.toLowerCase())}get(n){this.init();let t=this.headers.get(n.toLowerCase());return t&&t.length>0?t[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(n){return this.init(),this.headers.get(n.toLowerCase())||null}append(n,t){return this.clone({name:n,value:t,op:"a"})}set(n,t){return this.clone({name:n,value:t,op:"s"})}delete(n,t){return this.clone({name:n,value:t,op:"d"})}maybeSetNormalizedName(n,t){this.normalizedNames.has(t)||this.normalizedNames.set(t,n)}init(){this.lazyInit&&(this.lazyInit instanceof e?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(n=>this.applyUpdate(n)),this.lazyUpdate=null))}copyFrom(n){n.init(),Array.from(n.headers.keys()).forEach(t=>{this.headers.set(t,n.headers.get(t)),this.normalizedNames.set(t,n.normalizedNames.get(t))})}clone(n){let t=new e;return t.lazyInit=this.lazyInit&&this.lazyInit instanceof e?this.lazyInit:this,t.lazyUpdate=(this.lazyUpdate||[]).concat([n]),t}applyUpdate(n){let t=n.name.toLowerCase();switch(n.op){case"a":case"s":let i=n.value;if(typeof i=="string"&&(i=[i]),i.length===0)return;this.maybeSetNormalizedName(n.name,t);let r=(n.op==="a"?this.headers.get(t):void 0)||[];r.push(...i),this.headers.set(t,r);break;case"d":let o=n.value;if(!o)this.headers.delete(t),this.normalizedNames.delete(t);else{let s=this.headers.get(t);if(!s)return;s=s.filter(a=>o.indexOf(a)===-1),s.length===0?(this.headers.delete(t),this.normalizedNames.delete(t)):this.headers.set(t,s)}break}}addHeaderEntry(n,t){let i=n.toLowerCase();this.maybeSetNormalizedName(n,i),this.headers.has(i)?this.headers.get(i).push(t):this.headers.set(i,[t])}setHeaderEntries(n,t){let i=(Array.isArray(t)?t:[t]).map(o=>o.toString()),r=n.toLowerCase();this.headers.set(r,i),this.maybeSetNormalizedName(n,r)}forEach(n){this.init(),Array.from(this.normalizedNames.keys()).forEach(t=>n(this.normalizedNames.get(t),this.headers.get(t)))}};var Fd=class{encodeKey(n){return NC(n)}encodeValue(n){return NC(n)}decodeKey(n){return decodeURIComponent(n)}decodeValue(n){return decodeURIComponent(n)}};function Wx(e,n){let t=new Map;return e.length>0&&e.replace(/^\?/,"").split("&").forEach(r=>{let o=r.indexOf("="),[s,a]=o==-1?[n.decodeKey(r),""]:[n.decodeKey(r.slice(0,o)),n.decodeValue(r.slice(o+1))],l=t.get(s)||[];l.push(a),t.set(s,l)}),t}var qx=/%(\d[a-f0-9])/gi,Zx={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function NC(e){return encodeURIComponent(e).replace(qx,(n,t)=>Zx[t]??n)}function kd(e){return`${e}`}var Ti=class e{map;encoder;updates=null;cloneFrom=null;constructor(n={}){if(this.encoder=n.encoder||new Fd,n.fromString){if(n.fromObject)throw new C(2805,!1);this.map=Wx(n.fromString,this.encoder)}else n.fromObject?(this.map=new Map,Object.keys(n.fromObject).forEach(t=>{let i=n.fromObject[t],r=Array.isArray(i)?i.map(kd):[kd(i)];this.map.set(t,r)})):this.map=null}has(n){return this.init(),this.map.has(n)}get(n){this.init();let t=this.map.get(n);return t?t[0]:null}getAll(n){return this.init(),this.map.get(n)||null}keys(){return this.init(),Array.from(this.map.keys())}append(n,t){return this.clone({param:n,value:t,op:"a"})}appendAll(n){let t=[];return Object.keys(n).forEach(i=>{let r=n[i];Array.isArray(r)?r.forEach(o=>{t.push({param:i,value:o,op:"a"})}):t.push({param:i,value:r,op:"a"})}),this.clone(t)}set(n,t){return this.clone({param:n,value:t,op:"s"})}delete(n,t){return this.clone({param:n,value:t,op:"d"})}toString(){return this.init(),this.keys().map(n=>{let t=this.encoder.encodeKey(n);return this.map.get(n).map(i=>t+"="+this.encoder.encodeValue(i)).join("&")}).filter(n=>n!=="").join("&")}clone(n){let t=new e({encoder:this.encoder});return t.cloneFrom=this.cloneFrom||this,t.updates=(this.updates||[]).concat(n),t}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(n=>this.map.set(n,this.cloneFrom.map.get(n))),this.updates.forEach(n=>{switch(n.op){case"a":case"s":let t=(n.op==="a"?this.map.get(n.param):void 0)||[];t.push(kd(n.value)),this.map.set(n.param,t);break;case"d":if(n.value!==void 0){let i=this.map.get(n.param)||[],r=i.indexOf(kd(n.value));r!==-1&&i.splice(r,1),i.length>0?this.map.set(n.param,i):this.map.delete(n.param)}else{this.map.delete(n.param);break}}}),this.cloneFrom=this.updates=null)}};var Ld=class{map=new Map;set(n,t){return this.map.set(n,t),this}get(n){return this.map.has(n)||this.map.set(n,n.defaultValue()),this.map.get(n)}delete(n){return this.map.delete(n),this}has(n){return this.map.has(n)}keys(){return this.map.keys()}};function Yx(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function OC(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function RC(e){return typeof Blob<"u"&&e instanceof Blob}function AC(e){return typeof FormData<"u"&&e instanceof FormData}function Qx(e){return typeof URLSearchParams<"u"&&e instanceof URLSearchParams}var xC="Content-Type",PC="Accept",FC="X-Request-URL",LC="text/plain",jC="application/json",Jx=`${jC}, ${LC}, */*`,ss=class e{url;body=null;headers;context;reportProgress=!1;withCredentials=!1;credentials;keepalive=!1;cache;priority;mode;redirect;referrer;integrity;responseType="json";method;params;urlWithParams;transferCache;timeout;constructor(n,t,i,r){this.url=t,this.method=n.toUpperCase();let o;if(Yx(this.method)||r?(this.body=i!==void 0?i:null,o=r):o=i,o){if(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,this.keepalive=!!o.keepalive,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.context&&(this.context=o.context),o.params&&(this.params=o.params),o.priority&&(this.priority=o.priority),o.cache&&(this.cache=o.cache),o.credentials&&(this.credentials=o.credentials),typeof o.timeout=="number"){if(o.timeout<1||!Number.isInteger(o.timeout))throw new C(2822,"");this.timeout=o.timeout}o.mode&&(this.mode=o.mode),o.redirect&&(this.redirect=o.redirect),o.integrity&&(this.integrity=o.integrity),o.referrer&&(this.referrer=o.referrer),this.transferCache=o.transferCache}if(this.headers??=new nr,this.context??=new Ld,!this.params)this.params=new Ti,this.urlWithParams=t;else{let s=this.params.toString();if(s.length===0)this.urlWithParams=t;else{let a=t.indexOf("?"),l=a===-1?"?":a<t.length-1?"&":"";this.urlWithParams=t+l+s}}}serializeBody(){return this.body===null?null:typeof this.body=="string"||OC(this.body)||RC(this.body)||AC(this.body)||Qx(this.body)?this.body:this.body instanceof Ti?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||AC(this.body)?null:RC(this.body)?this.body.type||null:OC(this.body)?null:typeof this.body=="string"?LC:this.body instanceof Ti?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?jC:null}clone(n={}){let t=n.method||this.method,i=n.url||this.url,r=n.responseType||this.responseType,o=n.keepalive??this.keepalive,s=n.priority||this.priority,a=n.cache||this.cache,l=n.mode||this.mode,c=n.redirect||this.redirect,u=n.credentials||this.credentials,d=n.referrer||this.referrer,h=n.integrity||this.integrity,f=n.transferCache??this.transferCache,p=n.timeout??this.timeout,v=n.body!==void 0?n.body:this.body,_=n.withCredentials??this.withCredentials,b=n.reportProgress??this.reportProgress,T=n.headers||this.headers,J=n.params||this.params,O=n.context??this.context;return n.setHeaders!==void 0&&(T=Object.keys(n.setHeaders).reduce((W,X)=>W.set(X,n.setHeaders[X]),T)),n.setParams&&(J=Object.keys(n.setParams).reduce((W,X)=>W.set(X,n.setParams[X]),J)),new e(t,i,v,{params:J,headers:T,context:O,reportProgress:b,responseType:r,withCredentials:_,transferCache:f,keepalive:o,cache:a,priority:s,timeout:p,mode:l,redirect:c,credentials:u,referrer:d,integrity:h})}},eo=(function(e){return e[e.Sent=0]="Sent",e[e.UploadProgress=1]="UploadProgress",e[e.ResponseHeader=2]="ResponseHeader",e[e.DownloadProgress=3]="DownloadProgress",e[e.Response=4]="Response",e[e.User=5]="User",e})(eo||{}),cs=class{headers;status;statusText;url;ok;type;redirected;constructor(n,t=200,i="OK"){this.headers=n.headers||new nr,this.status=n.status!==void 0?n.status:t,this.statusText=n.statusText||i,this.url=n.url||null,this.redirected=n.redirected,this.ok=this.status>=200&&this.status<300}},jd=class e extends cs{constructor(n={}){super(n)}type=eo.ResponseHeader;clone(n={}){return new e({headers:n.headers||this.headers,status:n.status!==void 0?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}},al=class e extends cs{body;constructor(n={}){super(n),this.body=n.body!==void 0?n.body:null}type=eo.Response;clone(n={}){return new e({body:n.body!==void 0?n.body:this.body,headers:n.headers||this.headers,status:n.status!==void 0?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0,redirected:n.redirected??this.redirected})}},as=class extends cs{name="HttpErrorResponse";message;error;ok=!1;constructor(n){super(n,0,"Unknown Error"),this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${n.url||"(unknown url)"}`:this.message=`Http failure response for ${n.url||"(unknown url)"}: ${n.status} ${n.statusText}`,this.error=n.error||null}},Kx=200,Xx=204;function cv(e,n){return{body:n,headers:e.headers,context:e.context,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials,credentials:e.credentials,transferCache:e.transferCache,timeout:e.timeout,keepalive:e.keepalive,priority:e.priority,cache:e.cache,mode:e.mode,redirect:e.redirect,integrity:e.integrity,referrer:e.referrer}}var dn=(()=>{class e{handler;constructor(t){this.handler=t}request(t,i,r={}){let o;if(t instanceof ss)o=t;else{let l;r.headers instanceof nr?l=r.headers:l=new nr(r.headers);let c;r.params&&(r.params instanceof Ti?c=r.params:c=new Ti({fromObject:r.params})),o=new ss(t,i,r.body!==void 0?r.body:null,{headers:l,context:r.context,params:c,reportProgress:r.reportProgress,responseType:r.responseType||"json",withCredentials:r.withCredentials,transferCache:r.transferCache,keepalive:r.keepalive,priority:r.priority,cache:r.cache,mode:r.mode,redirect:r.redirect,credentials:r.credentials,referrer:r.referrer,integrity:r.integrity,timeout:r.timeout})}let s=I(o).pipe(nn(l=>this.handler.handle(l)));if(t instanceof ss||r.observe==="events")return s;let a=s.pipe(ae(l=>l instanceof al));switch(r.observe||"body"){case"body":switch(o.responseType){case"arraybuffer":return a.pipe(N(l=>{if(l.body!==null&&!(l.body instanceof ArrayBuffer))throw new C(2806,!1);return l.body}));case"blob":return a.pipe(N(l=>{if(l.body!==null&&!(l.body instanceof Blob))throw new C(2807,!1);return l.body}));case"text":return a.pipe(N(l=>{if(l.body!==null&&typeof l.body!="string")throw new C(2808,!1);return l.body}));case"json":default:return a.pipe(N(l=>l.body))}case"response":return a;default:throw new C(2809,!1)}}delete(t,i={}){return this.request("DELETE",t,i)}get(t,i={}){return this.request("GET",t,i)}head(t,i={}){return this.request("HEAD",t,i)}jsonp(t,i){return this.request("JSONP",t,{params:new Ti().append(i,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(t,i={}){return this.request("OPTIONS",t,i)}patch(t,i,r={}){return this.request("PATCH",t,cv(r,i))}post(t,i,r={}){return this.request("POST",t,cv(r,i))}put(t,i,r={}){return this.request("PUT",t,cv(r,i))}static \u0275fac=function(i){return new(i||e)(D(ls))};static \u0275prov=y({token:e,factory:e.\u0275fac})}return e})();var eP=new E("");function VC(e,n){return n(e)}function tP(e,n){return(t,i)=>n.intercept(t,{handle:r=>e(r,i)})}function nP(e,n,t){return(i,r)=>Xe(t,()=>n(i,o=>e(o,r)))}var BC=new E(""),dv=new E(""),HC=new E(""),fv=new E("",{providedIn:"root",factory:()=>!0});function iP(){let e=null;return(n,t)=>{e===null&&(e=(g(BC,{optional:!0})??[]).reduceRight(tP,VC));let i=g(_a);if(g(fv)){let o=i.add();return e(n,t).pipe(li(o))}else return e(n,t)}}var Vd=(()=>{class e extends ls{backend;injector;chain=null;pendingTasks=g(_a);contributeToStability=g(fv);constructor(t,i){super(),this.backend=t,this.injector=i}handle(t){if(this.chain===null){let i=Array.from(new Set([...this.injector.get(dv),...this.injector.get(HC,[])]));this.chain=i.reduceRight((r,o)=>nP(r,o,this.injector),VC)}if(this.contributeToStability){let i=this.pendingTasks.add();return this.chain(t,r=>this.backend.handle(r)).pipe(li(i))}else return this.chain(t,i=>this.backend.handle(i))}static \u0275fac=function(i){return new(i||e)(D(to),D(Pe))};static \u0275prov=y({token:e,factory:e.\u0275fac})}return e})();var rP=/^\)\]\}',?\n/,oP=RegExp(`^${FC}:`,"m");function sP(e){return"responseURL"in e&&e.responseURL?e.responseURL:oP.test(e.getAllResponseHeaders())?e.getResponseHeader(FC):null}var uv=(()=>{class e{xhrFactory;constructor(t){this.xhrFactory=t}handle(t){if(t.method==="JSONP")throw new C(-2800,!1);let i=this.xhrFactory;return I(null).pipe(Ne(()=>new V(o=>{let s=i.build();if(s.open(t.method,t.urlWithParams),t.withCredentials&&(s.withCredentials=!0),t.headers.forEach((_,b)=>s.setRequestHeader(_,b.join(","))),t.headers.has(PC)||s.setRequestHeader(PC,Jx),!t.headers.has(xC)){let _=t.detectContentTypeHeader();_!==null&&s.setRequestHeader(xC,_)}if(t.timeout&&(s.timeout=t.timeout),t.responseType){let _=t.responseType.toLowerCase();s.responseType=_!=="json"?_:"text"}let a=t.serializeBody(),l=null,c=()=>{if(l!==null)return l;let _=s.statusText||"OK",b=new nr(s.getAllResponseHeaders()),T=sP(s)||t.url;return l=new jd({headers:b,status:s.status,statusText:_,url:T}),l},u=()=>{let{headers:_,status:b,statusText:T,url:J}=c(),O=null;b!==Xx&&(O=typeof s.response>"u"?s.responseText:s.response),b===0&&(b=O?Kx:0);let W=b>=200&&b<300;if(t.responseType==="json"&&typeof O=="string"){let X=O;O=O.replace(rP,"");try{O=O!==""?JSON.parse(O):null}catch(ge){O=X,W&&(W=!1,O={error:ge,text:O})}}W?(o.next(new al({body:O,headers:_,status:b,statusText:T,url:J||void 0})),o.complete()):o.error(new as({error:O,headers:_,status:b,statusText:T,url:J||void 0}))},d=_=>{let{url:b}=c(),T=new as({error:_,status:s.status||0,statusText:s.statusText||"Unknown Error",url:b||void 0});o.error(T)},h=d;t.timeout&&(h=_=>{let{url:b}=c(),T=new as({error:new DOMException("Request timed out","TimeoutError"),status:s.status||0,statusText:s.statusText||"Request timeout",url:b||void 0});o.error(T)});let f=!1,p=_=>{f||(o.next(c()),f=!0);let b={type:eo.DownloadProgress,loaded:_.loaded};_.lengthComputable&&(b.total=_.total),t.responseType==="text"&&s.responseText&&(b.partialText=s.responseText),o.next(b)},v=_=>{let b={type:eo.UploadProgress,loaded:_.loaded};_.lengthComputable&&(b.total=_.total),o.next(b)};return s.addEventListener("load",u),s.addEventListener("error",d),s.addEventListener("timeout",h),s.addEventListener("abort",d),t.reportProgress&&(s.addEventListener("progress",p),a!==null&&s.upload&&s.upload.addEventListener("progress",v)),s.send(a),o.next({type:eo.Sent}),()=>{s.removeEventListener("error",d),s.removeEventListener("abort",d),s.removeEventListener("load",u),s.removeEventListener("timeout",h),t.reportProgress&&(s.removeEventListener("progress",p),a!==null&&s.upload&&s.upload.removeEventListener("progress",v)),s.readyState!==s.DONE&&s.abort()}})))}static \u0275fac=function(i){return new(i||e)(D(Xr))};static \u0275prov=y({token:e,factory:e.\u0275fac})}return e})(),UC=new E(""),aP="XSRF-TOKEN",lP=new E("",{providedIn:"root",factory:()=>aP}),cP="X-XSRF-TOKEN",uP=new E("",{providedIn:"root",factory:()=>cP}),ll=class{},dP=(()=>{class e{doc;cookieName;lastCookieString="";lastToken=null;parseCount=0;constructor(t,i){this.doc=t,this.cookieName=i}getToken(){let t=this.doc.cookie||"";return t!==this.lastCookieString&&(this.parseCount++,this.lastToken=el(t,this.cookieName),this.lastCookieString=t),this.lastToken}static \u0275fac=function(i){return new(i||e)(D(ne),D(lP))};static \u0275prov=y({token:e,factory:e.\u0275fac})}return e})();function fP(e,n){let t=e.url.toLowerCase();if(!g(UC)||e.method==="GET"||e.method==="HEAD"||t.startsWith("http://")||t.startsWith("https://"))return n(e);let i=g(ll).getToken(),r=g(uP);return i!=null&&!e.headers.has(r)&&(e=e.clone({headers:e.headers.set(r,i)})),n(e)}var hv=(function(e){return e[e.Interceptors=0]="Interceptors",e[e.LegacyInterceptors=1]="LegacyInterceptors",e[e.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",e[e.NoXsrfProtection=3]="NoXsrfProtection",e[e.JsonpSupport=4]="JsonpSupport",e[e.RequestsMadeViaParent=5]="RequestsMadeViaParent",e[e.Fetch=6]="Fetch",e})(hv||{});function hP(e,n){return{\u0275kind:e,\u0275providers:n}}function pP(...e){let n=[dn,uv,Vd,{provide:ls,useExisting:Vd},{provide:to,useFactory:()=>g(eP,{optional:!0})??g(uv)},{provide:dv,useValue:fP,multi:!0},{provide:UC,useValue:!0},{provide:ll,useClass:dP}];for(let t of e)n.push(...t.\u0275providers);return Or(n)}var kC=new E("");function gP(){return hP(hv.LegacyInterceptors,[{provide:kC,useFactory:iP},{provide:dv,useExisting:kC,multi:!0}])}var $C=(()=>{class e{_doc;constructor(t){this._doc=t}getTitle(){return this._doc.title}setTitle(t){this._doc.title=t||""}static \u0275fac=function(i){return new(i||e)(D(ne))};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var pv=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275prov=y({token:e,factory:function(i){let r=null;return i?r=new(i||e):r=D(vP),r},providedIn:"root"})}return e})(),vP=(()=>{class e extends pv{_doc;constructor(t){super(),this._doc=t}sanitize(t,i){if(i==null)return null;switch(t){case Lt.NONE:return i;case Lt.HTML:return Zn(i,"HTML")?Ft(i):Hu(this._doc,String(i)).toString();case Lt.STYLE:return Zn(i,"Style")?Ft(i):i;case Lt.SCRIPT:if(Zn(i,"Script"))return Ft(i);throw new C(5200,!1);case Lt.URL:return Zn(i,"URL")?Ft(i):Aa(String(i));case Lt.RESOURCE_URL:if(Zn(i,"ResourceURL"))return Ft(i);throw new C(5201,!1);default:throw new C(5202,!1)}}
vendor: 12,740 bytes, line 5
5bypassSecurityTrustHtml(t){return Ug(t)}bypassSecurityTrustStyle(t){return $g(t)}bypassSecurityTrustScript(t){return Gg(t)}bypassSecurityTrustUrl(t){return zg(t)}bypassSecurityTrustResourceUrl(t){return Wg(t)}static \u0275fac=function(i){return new(i||e)(D(ne))};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var eE=(()=>{class e{_renderer;_elementRef;onChange=t=>{};onTouched=()=>{};constructor(t,i){this._renderer=t,this._elementRef=i}setProperty(t,i){this._renderer.setProperty(this._elementRef.nativeElement,t,i)}registerOnTouched(t){this.onTouched=t}registerOnChange(t){this.onChange=t}setDisabledState(t){this.setProperty("disabled",t)}static \u0275fac=function(i){return new(i||e)(m(Ve),m(ie))};static \u0275dir=G({type:e})}return e})(),fs=(()=>{class e extends eE{static \u0275fac=(()=>{let t;return function(r){return(t||(t=Ie(e)))(r||e)}})();static \u0275dir=G({type:e,features:[Re]})}return e})(),Rn=new E(""),_P={provide:Rn,useExisting:Ee(()=>yP),multi:!0},yP=(()=>{class e extends fs{writeValue(t){this.setProperty("checked",t)}static \u0275fac=(()=>{let t;return function(r){return(t||(t=Ie(e)))(r||e)}})();static \u0275dir=G({type:e,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(i,r){i&1&&re("change",function(s){return r.onChange(s.target.checked)})("blur",function(){return r.onTouched()})},standalone:!1,features:[Te([_P]),Re]})}return e})(),bP={provide:Rn,useExisting:Ee(()=>tE),multi:!0};function DP(){let e=Qt()?Qt().getUserAgent():"";return/android (\d+)/.test(e.toLowerCase())}var wP=new E(""),tE=(()=>{class e extends eE{_compositionMode;_composing=!1;constructor(t,i,r){super(t,i),this._compositionMode=r,this._compositionMode==null&&(this._compositionMode=!DP())}writeValue(t){let i=t??"";this.setProperty("value",i)}_handleInput(t){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(t)}_compositionStart(){this._composing=!0}_compositionEnd(t){this._composing=!1,this._compositionMode&&this.onChange(t)}static \u0275fac=function(i){return new(i||e)(m(Ve),m(ie),m(wP,8))};static \u0275dir=G({type:e,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(i,r){i&1&&re("input",function(s){return r._handleInput(s.target.value)})("blur",function(){return r.onTouched()})("compositionstart",function(){return r._compositionStart()})("compositionend",function(s){return r._compositionEnd(s.target.value)})},standalone:!1,features:[Te([bP]),Re]})}return e})();function mv(e){return e==null||vv(e)===0}function vv(e){return e==null?null:Array.isArray(e)||typeof e=="string"?e.length:e instanceof Set?e.size:null}var An=new E(""),Kd=new E(""),CP=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[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])?)*$/,zC=class{static min(n){return nE(n)}static max(n){return iE(n)}static required(n){return rE(n)}static requiredTrue(n){return EP(n)}static email(n){return IP(n)}static minLength(n){return TP(n)}static maxLength(n){return oE(n)}static pattern(n){return sE(n)}static nullValidator(n){return Hd()}static compose(n){return fE(n)}static composeAsync(n){return hE(n)}};function nE(e){return n=>{if(n.value==null||e==null)return null;let t=parseFloat(n.value);return!isNaN(t)&&t<e?{min:{min:e,actual:n.value}}:null}}function iE(e){return n=>{if(n.value==null||e==null)return null;let t=parseFloat(n.value);return!isNaN(t)&&t>e?{max:{max:e,actual:n.value}}:null}}function rE(e){return mv(e.value)?{required:!0}:null}function EP(e){return e.value===!0?null:{required:!0}}function IP(e){return mv(e.value)||CP.test(e.value)?null:{email:!0}}function TP(e){return n=>{let t=n.value?.length??vv(n.value);return t===null||t===0?null:t<e?{minlength:{requiredLength:e,actualLength:t}}:null}}function oE(e){return n=>{let t=n.value?.length??vv(n.value);return t!==null&&t>e?{maxlength:{requiredLength:e,actualLength:t}}:null}}function sE(e){if(!e)return Hd;let n,t;return typeof e=="string"?(t="",e.charAt(0)!=="^"&&(t+="^"),t+=e,e.charAt(e.length-1)!=="$"&&(t+="$"),n=new RegExp(t)):(t=e.toString(),n=e),i=>{if(mv(i.value))return null;let r=i.value;return n.test(r)?null:{pattern:{requiredPattern:t,actualValue:r}}}}function Hd(e){return null}function aE(e){return e!=null}function lE(e){return wi(e)?fe(e):e}function cE(e){let n={};return e.forEach(t=>{n=t!=null?w(w({},n),t):n}),Object.keys(n).length===0?null:n}function uE(e,n){return n.map(t=>t(e))}function SP(e){return!e.validate}function dE(e){return e.map(n=>SP(n)?n:t=>n.validate(t))}function fE(e){if(!e)return null;let n=e.filter(aE);return n.length==0?null:function(t){return cE(uE(t,n))}}function _v(e){return e!=null?fE(dE(e)):null}function hE(e){if(!e)return null;let n=e.filter(aE);return n.length==0?null:function(t){let i=uE(t,n).map(lE);return Qs(i).pipe(N(cE))}}function yv(e){return e!=null?hE(dE(e)):null}function WC(e,n){return e===null?[n]:Array.isArray(e)?[...e,n]:[e,n]}function pE(e){return e._rawValidators}function gE(e){return e._rawAsyncValidators}function gv(e){return e?Array.isArray(e)?e:[e]:[]}function Ud(e,n){return Array.isArray(e)?e.includes(n):e===n}function qC(e,n){let t=gv(n);return gv(e).forEach(r=>{Ud(t,r)||t.push(r)}),t}function ZC(e,n){return gv(n).filter(t=>!Ud(e,t))}var $d=class{get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators=[];_rawAsyncValidators=[];_setValidators(n){this._rawValidators=n||[],this._composedValidatorFn=_v(this._rawValidators)}_setAsyncValidators(n){this._rawAsyncValidators=n||[],this._composedAsyncValidatorFn=yv(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_onDestroyCallbacks=[];_registerOnDestroy(n){this._onDestroyCallbacks.push(n)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(n=>n()),this._onDestroyCallbacks=[]}reset(n=void 0){this.control&&this.control.reset(n)}hasError(n,t){return this.control?this.control.hasError(n,t):!1}getError(n,t){return this.control?this.control.getError(n,t):null}},Si=class extends $d{name;get formDirective(){return null}get path(){return null}},ir=class extends $d{_parent=null;name=null;valueAccessor=null},Gd=class{_cd;constructor(n){this._cd=n}get isTouched(){return this._cd?.control?._touched?.(),!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return this._cd?.control?._pristine?.(),!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return this._cd?.control?._status?.(),!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return this._cd?._submitted?.(),!!this._cd?.submitted}},MP={"[class.ng-untouched]":"isUntouched","[class.ng-touched]":"isTouched","[class.ng-pristine]":"isPristine","[class.ng-dirty]":"isDirty","[class.ng-valid]":"isValid","[class.ng-invalid]":"isInvalid","[class.ng-pending]":"isPending"},oQ=j(w({},MP),{"[class.ng-submitted]":"isSubmitted"}),sQ=(()=>{class e extends Gd{constructor(t){super(t)}static \u0275fac=function(i){return new(i||e)(m(ir,2))};static \u0275dir=G({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(i,r){i&2&&Mt("ng-untouched",r.isUntouched)("ng-touched",r.isTouched)("ng-pristine",r.isPristine)("ng-dirty",r.isDirty)("ng-valid",r.isValid)("ng-invalid",r.isInvalid)("ng-pending",r.isPending)},standalone:!1,features:[Re]})}return e})(),aQ=(()=>{class e extends Gd{constructor(t){super(t)}static \u0275fac=function(i){return new(i||e)(m(Si,10))};static \u0275dir=G({type:e,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(i,r){i&2&&Mt("ng-untouched",r.isUntouched)("ng-touched",r.isTouched)("ng-pristine",r.isPristine)("ng-dirty",r.isDirty)("ng-valid",r.isValid)("ng-invalid",r.isInvalid)("ng-pending",r.isPending)("ng-submitted",r.isSubmitted)},standalone:!1,features:[Re]})}return e})();var cl="VALID",Bd="INVALID",us="PENDING",ul="DISABLED",rr=class{},zd=class extends rr{value;source;constructor(n,t){super(),this.value=n,this.source=t}},fl=class extends rr{pristine;source;constructor(n,t){super(),this.pristine=n,this.source=t}},hl=class extends rr{touched;source;constructor(n,t){super(),this.touched=n,this.source=t}},ds=class extends rr{status;source;constructor(n,t){super(),this.status=n,this.source=t}},Wd=class extends rr{source;constructor(n){super(),this.source=n}},qd=class extends rr{source;constructor(n){super(),this.source=n}};function mE(e){return(Xd(e)?e.validators:e)||null}function NP(e){return Array.isArray(e)?_v(e):e||null}function vE(e,n){return(Xd(n)?n.asyncValidators:e)||null}function OP(e){return Array.isArray(e)?yv(e):e||null}function Xd(e){return e!=null&&!Array.isArray(e)&&typeof e=="object"}function RP(e,n,t){let i=e.controls;if(!(n?Object.keys(i):i).length)throw new C(1e3,"");if(!i[t])throw new C(1001,"")}function AP(e,n,t){e._forEachChild((i,r)=>{if(t[r]===void 0)throw new C(1002,"")})}var Zd=class{_pendingDirty=!1;_hasOwnPendingAsyncValidator=null;_pendingTouched=!1;_onCollectionChange=()=>{};_updateOn;_parent=null;_asyncValidationSubscription;_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators;_rawAsyncValidators;value;constructor(n,t){this._assignValidators(n),this._assignAsyncValidators(t)}get validator(){return this._composedValidatorFn}set validator(n){this._rawValidators=this._composedValidatorFn=n}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(n){this._rawAsyncValidators=this._composedAsyncValidatorFn=n}get parent(){return this._parent}get status(){return Fe(this.statusReactive)}set status(n){Fe(()=>this.statusReactive.set(n))}_status=Qr(()=>this.statusReactive());statusReactive=cn(void 0);get valid(){return this.status===cl}get invalid(){return this.status===Bd}get pending(){return this.status==us}get disabled(){return this.status===ul}get enabled(){return this.status!==ul}errors;get pristine(){return Fe(this.pristineReactive)}set pristine(n){Fe(()=>this.pristineReactive.set(n))}_pristine=Qr(()=>this.pristineReactive());pristineReactive=cn(!0);get dirty(){return!this.pristine}get touched(){return Fe(this.touchedReactive)}set touched(n){Fe(()=>this.touchedReactive.set(n))}_touched=Qr(()=>this.touchedReactive());touchedReactive=cn(!1);get untouched(){return!this.touched}_events=new B;events=this._events.asObservable();valueChanges;statusChanges;get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(n){this._assignValidators(n)}setAsyncValidators(n){this._assignAsyncValidators(n)}addValidators(n){this.setValidators(qC(n,this._rawValidators))}addAsyncValidators(n){this.setAsyncValidators(qC(n,this._rawAsyncValidators))}removeValidators(n){this.setValidators(ZC(n,this._rawValidators))}removeAsyncValidators(n){this.setAsyncValidators(ZC(n,this._rawAsyncValidators))}hasValidator(n){return Ud(this._rawValidators,n)}hasAsyncValidator(n){return Ud(this._rawAsyncValidators,n)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(n={}){let t=this.touched===!1;this.touched=!0;let i=n.sourceControl??this;this._parent&&!n.onlySelf&&this._parent.markAsTouched(j(w({},n),{sourceControl:i})),t&&n.emitEvent!==!1&&this._events.next(new hl(!0,i))}
vendor: 5,512 bytes, line 5
5markAllAsDirty(n={}){this.markAsDirty({onlySelf:!0,emitEvent:n.emitEvent,sourceControl:this}),this._forEachChild(t=>t.markAllAsDirty(n))}markAllAsTouched(n={}){this.markAsTouched({onlySelf:!0,emitEvent:n.emitEvent,sourceControl:this}),this._forEachChild(t=>t.markAllAsTouched(n))}markAsUntouched(n={}){let t=this.touched===!0;this.touched=!1,this._pendingTouched=!1;let i=n.sourceControl??this;this._forEachChild(r=>{r.markAsUntouched({onlySelf:!0,emitEvent:n.emitEvent,sourceControl:i})}),this._parent&&!n.onlySelf&&this._parent._updateTouched(n,i),t&&n.emitEvent!==!1&&this._events.next(new hl(!1,i))}markAsDirty(n={}){let t=this.pristine===!0;this.pristine=!1;let i=n.sourceControl??this;this._parent&&!n.onlySelf&&this._parent.markAsDirty(j(w({},n),{sourceControl:i})),t&&n.emitEvent!==!1&&this._events.next(new fl(!1,i))}markAsPristine(n={}){let t=this.pristine===!1;this.pristine=!0,this._pendingDirty=!1;let i=n.sourceControl??this;this._forEachChild(r=>{r.markAsPristine({onlySelf:!0,emitEvent:n.emitEvent})}),this._parent&&!n.onlySelf&&this._parent._updatePristine(n,i),t&&n.emitEvent!==!1&&this._events.next(new fl(!0,i))}markAsPending(n={}){this.status=us;let t=n.sourceControl??this;n.emitEvent!==!1&&(this._events.next(new ds(this.status,t)),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.markAsPending(j(w({},n),{sourceControl:t}))}disable(n={}){let t=this._parentMarkedDirty(n.onlySelf);this.status=ul,this.errors=null,this._forEachChild(r=>{r.disable(j(w({},n),{onlySelf:!0}))}),this._updateValue();let i=n.sourceControl??this;n.emitEvent!==!1&&(this._events.next(new zd(this.value,i)),this._events.next(new ds(this.status,i)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(j(w({},n),{skipPristineCheck:t}),this),this._onDisabledChange.forEach(r=>r(!0))}enable(n={}){let t=this._parentMarkedDirty(n.onlySelf);this.status=cl,this._forEachChild(i=>{i.enable(j(w({},n),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent}),this._updateAncestors(j(w({},n),{skipPristineCheck:t}),this),this._onDisabledChange.forEach(i=>i(!1))}_updateAncestors(n,t){this._parent&&!n.onlySelf&&(this._parent.updateValueAndValidity(n),n.skipPristineCheck||this._parent._updatePristine({},t),this._parent._updateTouched({},t))}setParent(n){this._parent=n}getRawValue(){return this.value}updateValueAndValidity(n={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){let i=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===cl||this.status===us)&&this._runAsyncValidator(i,n.emitEvent)}let t=n.sourceControl??this;n.emitEvent!==!1&&(this._events.next(new zd(this.value,t)),this._events.next(new ds(this.status,t)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.updateValueAndValidity(j(w({},n),{sourceControl:t}))}_updateTreeValidity(n={emitEvent:!0}){this._forEachChild(t=>t._updateTreeValidity(n)),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?ul:cl}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(n,t){if(this.asyncValidator){this.status=us,this._hasOwnPendingAsyncValidator={emitEvent:t!==!1,shouldHaveEmitted:n!==!1};let i=lE(this.asyncValidator(this));this._asyncValidationSubscription=i.subscribe(r=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(r,{emitEvent:t,shouldHaveEmitted:n})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();let n=(this._hasOwnPendingAsyncValidator?.emitEvent||this._hasOwnPendingAsyncValidator?.shouldHaveEmitted)??!1;return this._hasOwnPendingAsyncValidator=null,n}return!1}setErrors(n,t={}){this.errors=n,this._updateControlsErrors(t.emitEvent!==!1,this,t.shouldHaveEmitted)}get(n){let t=n;return t==null||(Array.isArray(t)||(t=t.split(".")),t.length===0)?null:t.reduce((i,r)=>i&&i._find(r),this)}getError(n,t){let i=t?this.get(t):this;return i&&i.errors?i.errors[n]:null}hasError(n,t){return!!this.getError(n,t)}get root(){let n=this;for(;n._parent;)n=n._parent;return n}_updateControlsErrors(n,t,i){this.status=this._calculateStatus(),n&&this.statusChanges.emit(this.status),(n||i)&&this._events.next(new ds(this.status,t)),this._parent&&this._parent._updateControlsErrors(n,t,i)}_initObservables(){this.valueChanges=new H,this.statusChanges=new H}_calculateStatus(){return this._allControlsDisabled()?ul:this.errors?Bd:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(us)?us:this._anyControlsHaveStatus(Bd)?Bd:cl}_anyControlsHaveStatus(n){return this._anyControls(t=>t.status===n)}_anyControlsDirty(){return this._anyControls(n=>n.dirty)}_anyControlsTouched(){return this._anyControls(n=>n.touched)}_updatePristine(n,t){let i=!this._anyControlsDirty(),r=this.pristine!==i;this.pristine=i,this._parent&&!n.onlySelf&&this._parent._updatePristine(n,t),r&&this._events.next(new fl(this.pristine,t))}_updateTouched(n={},t){this.touched=this._anyControlsTouched(),this._events.next(new hl(this.touched,t)),this._parent&&!n.onlySelf&&this._parent._updateTouched(n,t)}_onDisabledChange=[];_registerOnCollectionChange(n){this._onCollectionChange=n}_setUpdateStrategy(n){Xd(n)&&n.updateOn!=null&&(this._updateOn=n.updateOn)}_parentMarkedDirty(n){let t=this._parent&&this._parent.dirty;return!n&&!!t&&!this._parent._anyControlsDirty()}
vendor: 6,451 bytes, line 5
5_find(n){return null}_assignValidators(n){this._rawValidators=Array.isArray(n)?n.slice():n,this._composedValidatorFn=NP(this._rawValidators)}_assignAsyncValidators(n){this._rawAsyncValidators=Array.isArray(n)?n.slice():n,this._composedAsyncValidatorFn=OP(this._rawAsyncValidators)}},pl=class extends Zd{constructor(n,t,i){super(mE(t),vE(i,t)),this.controls=n,this._initObservables(),this._setUpdateStrategy(t),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}controls;registerControl(n,t){return this.controls[n]?this.controls[n]:(this.controls[n]=t,t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange),t)}addControl(n,t,i={}){this.registerControl(n,t),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}removeControl(n,t={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}setControl(n,t,i={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],t&&this.registerControl(n,t),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}contains(n){return this.controls.hasOwnProperty(n)&&this.controls[n].enabled}setValue(n,t={}){AP(this,!0,n),Object.keys(n).forEach(i=>{RP(this,!0,i),this.controls[i].setValue(n[i],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}patchValue(n,t={}){n!=null&&(Object.keys(n).forEach(i=>{let r=this.controls[i];r&&r.patchValue(n[i],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t))}reset(n={},t={}){this._forEachChild((i,r)=>{i.reset(n?n[r]:null,{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t,this),this._updateTouched(t,this),this.updateValueAndValidity(t)}getRawValue(){return this._reduceChildren({},(n,t,i)=>(n[i]=t.getRawValue(),n))}_syncPendingControls(){let n=this._reduceChildren(!1,(t,i)=>i._syncPendingControls()?!0:t);return n&&this.updateValueAndValidity({onlySelf:!0}),n}_forEachChild(n){Object.keys(this.controls).forEach(t=>{let i=this.controls[t];i&&n(i,t)})}_setUpControls(){this._forEachChild(n=>{n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(n){for(let[t,i]of Object.entries(this.controls))if(this.contains(t)&&n(i))return!0;return!1}_reduceValue(){let n={};return this._reduceChildren(n,(t,i,r)=>((i.enabled||this.disabled)&&(t[r]=i.value),t))}_reduceChildren(n,t){let i=n;return this._forEachChild((r,o)=>{i=t(i,r,o)}),i}_allControlsDisabled(){for(let n of Object.keys(this.controls))if(this.controls[n].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(n){return this.controls.hasOwnProperty(n)?this.controls[n]:null}};var lQ=pl;var hs=new E("",{providedIn:"root",factory:()=>gl}),gl="always";function _E(e,n){return[...n.path,e]}function Yd(e,n,t=gl){bv(e,n),n.valueAccessor.writeValue(e.value),(e.disabled||t==="always")&&n.valueAccessor.setDisabledState?.(e.disabled),PP(e,n),FP(e,n),kP(e,n),xP(e,n)}function YC(e,n,t=!0){let i=()=>{};n.valueAccessor&&(n.valueAccessor.registerOnChange(i),n.valueAccessor.registerOnTouched(i)),Jd(e,n),e&&(n._invokeOnDestroyCallbacks(),e._registerOnCollectionChange(()=>{}))}function Qd(e,n){e.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(n)})}function xP(e,n){if(n.valueAccessor.setDisabledState){let t=i=>{n.valueAccessor.setDisabledState(i)};e.registerOnDisabledChange(t),n._registerOnDestroy(()=>{e._unregisterOnDisabledChange(t)})}}function bv(e,n){let t=pE(e);n.validator!==null?e.setValidators(WC(t,n.validator)):typeof t=="function"&&e.setValidators([t]);let i=gE(e);n.asyncValidator!==null?e.setAsyncValidators(WC(i,n.asyncValidator)):typeof i=="function"&&e.setAsyncValidators([i]);let r=()=>e.updateValueAndValidity();Qd(n._rawValidators,r),Qd(n._rawAsyncValidators,r)}function Jd(e,n){let t=!1;if(e!==null){if(n.validator!==null){let r=pE(e);if(Array.isArray(r)&&r.length>0){let o=r.filter(s=>s!==n.validator);o.length!==r.length&&(t=!0,e.setValidators(o))}}if(n.asyncValidator!==null){let r=gE(e);if(Array.isArray(r)&&r.length>0){let o=r.filter(s=>s!==n.asyncValidator);o.length!==r.length&&(t=!0,e.setAsyncValidators(o))}}}let i=()=>{};return Qd(n._rawValidators,i),Qd(n._rawAsyncValidators,i),t}function PP(e,n){n.valueAccessor.registerOnChange(t=>{e._pendingValue=t,e._pendingChange=!0,e._pendingDirty=!0,e.updateOn==="change"&&yE(e,n)})}function kP(e,n){n.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,e.updateOn==="blur"&&e._pendingChange&&yE(e,n),e.updateOn!=="submit"&&e.markAsTouched()})}function yE(e,n){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),n.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function FP(e,n){let t=(i,r)=>{n.valueAccessor.writeValue(i),r&&n.viewToModelUpdate(i)};e.registerOnChange(t),n._registerOnDestroy(()=>{e._unregisterOnChange(t)})}function bE(e,n){e==null,bv(e,n)}function LP(e,n){return Jd(e,n)}function DE(e,n){if(!e.hasOwnProperty("model"))return!1;let t=e.model;return t.isFirstChange()?!0:!Object.is(n,t.currentValue)}function jP(e){return Object.getPrototypeOf(e.constructor)===fs}function wE(e,n){e._syncPendingControls(),n.forEach(t=>{let i=t.control;i.updateOn==="submit"&&i._pendingChange&&(t.viewToModelUpdate(i._pendingValue),i._pendingChange=!1)})}function CE(e,n){if(!n)return null;Array.isArray(n);let t,i,r;return n.forEach(o=>{o.constructor===tE?t=o:jP(o)?i=o:r=o}),r||i||t||null}function VP(e,n){let t=e.indexOf(n);t>-1&&e.splice(t,1)}var BP={provide:Si,useExisting:Ee(()=>HP)},dl=Promise.resolve(),HP=(()=>{class e extends Si{callSetDisabledState;get submitted(){return Fe(this.submittedReactive)}_submitted=Qr(()=>this.submittedReactive());submittedReactive=cn(!1);_directives=new Set;form;ngSubmit=new H;options;constructor(t,i,r){super(),this.callSetDisabledState=r,this.form=new pl({},_v(t),yv(i))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(t){dl.then(()=>{let i=this._findContainer(t.path);t.control=i.registerControl(t.name,t.control),Yd(t.control,t,this.callSetDisabledState),t.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(t)})}getControl(t){return this.form.get(t.path)}
vendor: 6,738 bytes, line 5
5removeControl(t){dl.then(()=>{let i=this._findContainer(t.path);i&&i.removeControl(t.name),this._directives.delete(t)})}addFormGroup(t){dl.then(()=>{let i=this._findContainer(t.path),r=new pl({});bE(r,t),i.registerControl(t.name,r),r.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(t){dl.then(()=>{let i=this._findContainer(t.path);i&&i.removeControl(t.name)})}getFormGroup(t){return this.form.get(t.path)}updateModel(t,i){dl.then(()=>{this.form.get(t.path).setValue(i)})}setValue(t){this.control.setValue(t)}onSubmit(t){return this.submittedReactive.set(!0),wE(this.form,this._directives),this.ngSubmit.emit(t),this.form._events.next(new Wd(this.control)),t?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(t=void 0){this.form.reset(t),this.submittedReactive.set(!1),this.form._events.next(new qd(this.form))}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.form._updateOn=this.options.updateOn)}_findContainer(t){return t.pop(),t.length?this.form.get(t):this.form}static \u0275fac=function(i){return new(i||e)(m(An,10),m(Kd,10),m(hs,8))};static \u0275dir=G({type:e,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(i,r){i&1&&re("submit",function(s){return r.onSubmit(s)})("reset",function(){return r.onReset()})},inputs:{options:[0,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[Te([BP]),Re]})}return e})();function QC(e,n){let t=e.indexOf(n);t>-1&&e.splice(t,1)}function JC(e){return typeof e=="object"&&e!==null&&Object.keys(e).length===2&&"value"in e&&"disabled"in e}var Dv=class extends Zd{defaultValue=null;_onChange=[];_pendingValue;_pendingChange=!1;constructor(n=null,t,i){super(mE(t),vE(i,t)),this._applyFormState(n),this._setUpdateStrategy(t),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Xd(t)&&(t.nonNullable||t.initialValueIsDefault)&&(JC(n)?this.defaultValue=n.value:this.defaultValue=n)}setValue(n,t={}){this.value=this._pendingValue=n,this._onChange.length&&t.emitModelToViewChange!==!1&&this._onChange.forEach(i=>i(this.value,t.emitViewToModelChange!==!1)),this.updateValueAndValidity(t)}patchValue(n,t={}){this.setValue(n,t)}reset(n=this.defaultValue,t={}){this._applyFormState(n),this.markAsPristine(t),this.markAsUntouched(t),this.setValue(this.value,t),this._pendingChange=!1}_updateValue(){}_anyControls(n){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(n){this._onChange.push(n)}_unregisterOnChange(n){QC(this._onChange,n)}registerOnDisabledChange(n){this._onDisabledChange.push(n)}_unregisterOnDisabledChange(n){QC(this._onDisabledChange,n)}_forEachChild(n){}_syncPendingControls(){return this.updateOn==="submit"&&(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),this._pendingChange)?(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0):!1}_applyFormState(n){JC(n)?(this.value=this._pendingValue=n.value,n.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=n}},uQ=Dv,UP=e=>e instanceof Dv;var $P={provide:ir,useExisting:Ee(()=>GP)},KC=Promise.resolve(),GP=(()=>{class e extends ir{_changeDetectorRef;callSetDisabledState;control=new Dv;static ngAcceptInputType_isDisabled;_registered=!1;viewModel;name="";isDisabled;model;options;update=new H;constructor(t,i,r,o,s,a){super(),this._changeDetectorRef=s,this.callSetDisabledState=a,this._parent=t,this._setValidators(i),this._setAsyncValidators(r),this.valueAccessor=CE(this,o)}ngOnChanges(t){if(this._checkForErrors(),!this._registered||"name"in t){if(this._registered&&(this._checkName(),this.formDirective)){let i=t.name.previousValue;this.formDirective.removeControl({name:i,path:this._getPath(i)})}this._setUpControl()}"isDisabled"in t&&this._updateDisabled(t),DE(t,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!!(this.options&&this.options.standalone)}_setUpStandalone(){Yd(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._checkName()}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),!this._isStandalone()&&this.name}_updateValue(t){KC.then(()=>{this.control.setValue(t,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(t){let i=t.isDisabled.currentValue,r=i!==0&&er(i);KC.then(()=>{r&&!this.control.disabled?this.control.disable():!r&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(t){return this._parent?_E(t,this._parent):[t]}static \u0275fac=function(i){return new(i||e)(m(Si,9),m(An,10),m(Kd,10),m(Rn,10),m(Dt,8),m(hs,8))};static \u0275dir=G({type:e,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"],options:[0,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],standalone:!1,features:[Te([$P]),Re,ke]})}return e})();var dQ=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275dir=G({type:e,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""],standalone:!1})}return e})(),zP={provide:Rn,useExisting:Ee(()=>WP),multi:!0},WP=(()=>{class e extends fs{writeValue(t){let i=t??"";this.setProperty("value",i)}registerOnChange(t){this.onChange=i=>{t(i==""?null:parseFloat(i))}}static \u0275fac=(()=>{let t;return function(r){return(t||(t=Ie(e)))(r||e)}})();static \u0275dir=G({type:e,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(i,r){i&1&&re("input",function(s){return r.onChange(s.target.value)})("blur",function(){return r.onTouched()})},standalone:!1,features:[Te([zP]),Re]})}return e})(),qP={provide:Rn,useExisting:Ee(()=>YP),multi:!0};var ZP=(()=>{class e{_accessors=[];add(t,i){this._accessors.push([t,i])}remove(t){for(let i=this._accessors.length-1;i>=0;--i)if(this._accessors[i][1]===t){this._accessors.splice(i,1);return}}
5select(t){this._accessors.forEach(i=>{this._isSameGroup(i,t)&&i[1]!==t&&i[1].fireUncheck(t.value)})}_isSameGroup(t,i){return t[0].control?t[0]._parent===i._control._parent&&t[1].name===i.name:!1}static \u0275fac=function(i){return new(i||e)};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),YP=(()=>{class e extends fs{_registry;_injector;_state;_control;_fn;setDisabledStateFired=!1;onChange=()=>{};name;formControlName;value;callSetDisabledState=g(hs,{optional:!0})??gl;constructor(t,i,r,o){super(t,i),this._registry=r,this._injector=o}ngOnInit(){this._control=this._injector.get(ir),this._checkName(),this._registry.add(this._control,this)}ngOnDestroy(){this._registry.remove(this)}writeValue(t){this._state=t===this.value,this.setProperty("checked",this._state)}registerOnChange(t){this._fn=t,this.onChange=()=>{t(this.value),this._registry.select(this)}}setDisabledState(t){(this.setDisabledStateFired||t||this.callSetDisabledState==="whenDisabledForLegacyCode")&&this.setProperty("disabled",t),this.setDisabledStateFired=!0}fireUncheck(t){this.writeValue(t)}_checkName(){this.name&&this.formControlName&&(this.name,this.formControlName),!this.name&&this.formControlName&&(this.name=this.formControlName)}static \u0275fac=function(i){return new(i||e)(m(Ve),m(ie),m(ZP),m(ce))};static \u0275dir=G({type:e,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(i,r){i&1&&re("change",function(){return r.onChange()})("blur",function(){return r.onTouched()})},inputs:{name:"name",formControlName:"formControlName",value:"value"},standalone:!1,features:[Te([qP]),Re]})}return e})();var EE=new E("");var QP={provide:Si,useExisting:Ee(()=>JP)},JP=(()=>{class e extends Si{callSetDisabledState;get submitted(){return Fe(this._submittedReactive)}set submitted(t){this._submittedReactive.set(t)}_submitted=Qr(()=>this._submittedReactive());_submittedReactive=cn(!1);_oldForm;_onCollectionChange=()=>this._updateDomValue();directives=[];form=null;ngSubmit=new H;constructor(t,i,r){super(),this.callSetDisabledState=r,this._setValidators(t),this._setAsyncValidators(i)}ngOnChanges(t){t.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(Jd(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(t){let i=this.form.get(t.path);return Yd(i,t,this.callSetDisabledState),i.updateValueAndValidity({emitEvent:!1}),this.directives.push(t),i}getControl(t){return this.form.get(t.path)}
vendor: 5,162 bytes, line 5
5removeControl(t){YC(t.control||null,t,!1),VP(this.directives,t)}addFormGroup(t){this._setUpFormContainer(t)}removeFormGroup(t){this._cleanUpFormContainer(t)}getFormGroup(t){return this.form.get(t.path)}addFormArray(t){this._setUpFormContainer(t)}removeFormArray(t){this._cleanUpFormContainer(t)}getFormArray(t){return this.form.get(t.path)}updateModel(t,i){this.form.get(t.path).setValue(i)}onSubmit(t){return this._submittedReactive.set(!0),wE(this.form,this.directives),this.ngSubmit.emit(t),this.form._events.next(new Wd(this.control)),t?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(t=void 0,i={}){this.form.reset(t,i),this._submittedReactive.set(!1),i?.emitEvent!==!1&&this.form._events.next(new qd(this.form))}_updateDomValue(){this.directives.forEach(t=>{let i=t.control,r=this.form.get(t.path);i!==r&&(YC(i||null,t),UP(r)&&(Yd(r,t,this.callSetDisabledState),t.control=r))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(t){let i=this.form.get(t.path);bE(i,t),i.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(t){if(this.form){let i=this.form.get(t.path);i&&LP(i,t)&&i.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){bv(this.form,this),this._oldForm&&Jd(this._oldForm,this)}static \u0275fac=function(i){return new(i||e)(m(An,10),m(Kd,10),m(hs,8))};static \u0275dir=G({type:e,selectors:[["","formGroup",""]],hostBindings:function(i,r){i&1&&re("submit",function(s){return r.onSubmit(s)})("reset",function(){return r.onReset()})},inputs:{form:[0,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[Te([QP]),Re,ke]})}return e})();var KP={provide:ir,useExisting:Ee(()=>XP)},XP=(()=>{class e extends ir{_ngModelWarningConfig;_added=!1;viewModel;control;name=null;set isDisabled(t){}model;update=new H;static _ngModelWarningSentOnce=!1;_ngModelWarningSent=!1;constructor(t,i,r,o,s){super(),this._ngModelWarningConfig=s,this._parent=t,this._setValidators(i),this._setAsyncValidators(r),this.valueAccessor=CE(this,o)}ngOnChanges(t){this._added||this._setUpControl(),DE(t,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}get path(){return _E(this.name==null?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_setUpControl(){this.control=this.formDirective.addControl(this),this._added=!0}static \u0275fac=function(i){return new(i||e)(m(Si,13),m(An,10),m(Kd,10),m(Rn,10),m(EE,8))};static \u0275dir=G({type:e,selectors:[["","formControlName",""]],inputs:{name:[0,"formControlName","name"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},standalone:!1,features:[Te([KP]),Re,ke]})}return e})();var ek={provide:Rn,useExisting:Ee(()=>TE),multi:!0};function IE(e,n){return e==null?`${n}`:(n&&typeof n=="object"&&(n="Object"),`${e}: ${n}`.slice(0,50))}function tk(e){return e.split(":")[0]}var TE=(()=>{class e extends fs{value;_optionMap=new Map;_idCounter=0;set compareWith(t){this._compareWith=t}_compareWith=Object.is;appRefInjector=g(it).injector;destroyRef=g(En);cdr=g(Dt);_queuedWrite=!1;_writeValueAfterRender(){this._queuedWrite||this.appRefInjector.destroyed||(this._queuedWrite=!0,La({write:()=>{this.destroyRef.destroyed||(this._queuedWrite=!1,this.writeValue(this.value))}},{injector:this.appRefInjector}))}writeValue(t){this.cdr.markForCheck(),this.value=t;let i=this._getOptionId(t),r=IE(i,t);this.setProperty("value",r)}registerOnChange(t){this.onChange=i=>{this.value=this._getOptionValue(i),t(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(t){for(let i of this._optionMap.keys())if(this._compareWith(this._optionMap.get(i),t))return i;return null}_getOptionValue(t){let i=tk(t);return this._optionMap.has(i)?this._optionMap.get(i):t}static \u0275fac=(()=>{let t;return function(r){return(t||(t=Ie(e)))(r||e)}})();static \u0275dir=G({type:e,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(i,r){i&1&&re("change",function(s){return r.onChange(s.target.value)})("blur",function(){return r.onTouched()})},inputs:{compareWith:"compareWith"},standalone:!1,features:[Te([ek]),Re]})}return e})(),SE=(()=>{class e{_element;_renderer;_select;id;constructor(t,i,r){this._element=t,this._renderer=i,this._select=r,this._select&&(this.id=this._select._registerOption())}set ngValue(t){this._select!=null&&(this._select._optionMap.set(this.id,t),this._setElementValue(IE(this.id,t)),this._select._writeValueAfterRender())}set value(t){this._setElementValue(t),this._select&&this._select._writeValueAfterRender()}_setElementValue(t){this._renderer.setProperty(this._element.nativeElement,"value",t)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id
5),this._select._writeValueAfterRender())}static \u0275fac=function(i){return new(i||e)(m(ie),m(Ve),m(TE,9))};static \u0275dir=G({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"},standalone:!1})}return e})(),nk={provide:Rn,useExisting:Ee(()=>ME),multi:!0};function XC(e,n){return e==null?`${n}`:(typeof n=="string"&&(n=`'${n}'`),n&&typeof n=="object"&&(n="Object"),`${e}: ${n}`.slice(0,50))}function ik(e){return e.split(":")[0]}var ME=(()=>{class e extends fs{value;_optionMap=new Map;_idCounter=0;set compareWith(t){this._compareWith=t}_compareWith=Object.is;writeValue(t){this.value=t;let i;if(Array.isArray(t)){let r=t.map(o=>this._getOptionId(o));i=(o,s)=>{o._setSelected(r.indexOf(s.toString())>-1)}}else i=(r,o)=>{r._setSelected(!1)};this._optionMap.forEach(i)}registerOnChange(t){this.onChange=i=>{let r=[],o=i.selectedOptions;if(o!==void 0){let s=o;for(let a=0;a<s.length;a++){let l=s[a],c=this._getOptionValue(l.value);r.push(c)}}else{let s=i.options;for(let a=0;a<s.length;a++){let l=s[a];if(l.selected){let c=this._getOptionValue(l.value);r.push(c)}}}this.value=r,t(r)}}_registerOption(t){let i=(this._idCounter++).toString();return this._optionMap.set(i,t),i}_getOptionId(t){for(let i of this._optionMap.keys())if(this._compareWith(this._optionMap.get(i)._value,t))return i;return null}_getOptionValue(t){let i=ik(t);return this._optionMap.has(i)?this._optionMap.get(i)._value:t}static \u0275fac=(()=>{let t;return function(r){return(t||(t=Ie(e)))(r||e)}})();static \u0275dir=G({type:e,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(i,r){i&1&&re("change",function(s){return r.onChange(s.target)})("blur",function(){return r.onTouched()})},inputs:{compareWith:"compareWith"},standalone:!1,features:[Te([nk]),Re]})}return e})(),NE=(()=>{class e{_element;_renderer;_select;id;_value;constructor(t,i,r){this._element=t,this._renderer=i,this._select=r,this._select&&(this.id=this._select._registerOption(this))}set ngValue(t){this._select!=null&&(this._value=t,this._setElementValue(XC(this.id,t)),this._select.writeValue(this._select.value))}set value(t){this._select?(this._value=t,this._setElementValue(XC(this.id,t)),this._select.writeValue(this._select.value)):this._setElementValue(t)}_setElementValue(t){this._renderer.setProperty(this._element.nativeElement,"value",t)}_setSelected(t){this._renderer.setProperty(this._element.nativeElement,"selected",t)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}static \u0275fac=function(i){return new(i||e)(m(ie),m(Ve),m(ME,9))};static \u0275dir=G({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"},standalone:!1})}return e})();function rk(e){return typeof e=="number"?e:parseInt(e,10)}function OE(e){return typeof e=="number"?e:parseFloat(e)}var ml=(()=>{class e{_validator=Hd;_onChange;_enabled;ngOnChanges(t){if(this.inputName in t){let i=this.normalizeInput(t[this.inputName].currentValue);this._enabled=this.enabled(i),this._validator=this._enabled?this.createValidator(i):Hd,this._onChange&&this._onChange()}}validate(t){return this._validator(t)}registerOnValidatorChange(t){this._onChange=t}enabled(t){return t!=null}static \u0275fac=function(i){return new(i||e)};static \u0275dir=G({type:e,features:[ke]})}return e})(),ok={provide:An,useExisting:Ee(()=>sk),multi:!0},sk=(()=>{class e extends ml{max;inputName="max";normalizeInput=t=>OE(t);createValidator=t=>iE(t);static \u0275fac=(()=>{let t;return function(r){return(t||(t=Ie(e)))(r||e)}})();static \u0275dir=G({type:e,selectors:[["input","type","number","max","","formControlName",""],["input","type","number","max","","formControl",""],["input","type","number","max","","ngModel",""]],hostVars:1,hostBindings:function(i,r){i&2&&qe("max",r._enabled?r.max:null)},inputs:{max:"max"},standalone:!1,features:[Te([ok]),Re]})}return e})(),ak={provide:An,useExisting:Ee(()=>lk),multi:!0},lk=(()=>{class e extends ml{min;inputName="min";normalizeInput=t=>OE(t);createValidator=t=>nE(t);static \u0275fac=(()=>{let t;return function(r){return(t||(t=Ie(e)))(r||e)}})();static \u0275dir=G({type:e,selectors:[["input","type","number","min","","formControlName",""],["input","type","number","min","","formControl",""],["input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(i,r){i&2&&qe("min",r._enabled?r.min:null)},inputs:{min:"min"},standalone:!1,features:[Te([ak]),Re]})}return e})(),ck={provide:An,useExisting:Ee(()=>uk),multi:!0};var uk=(()=>{class e extends ml{required;inputName="required";normalizeInput=er;createValidator=t=>rE;enabled(t){return t}static \u0275fac=(()=>{let t;return function(r){return(t||(t=Ie(e)))(r||e)}})();static \u0275dir=G({type:e,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(i,r){i&2&&qe("required",r._enabled?"":null)},inputs:{required:"required"},standalone:!1,features:[Te([ck]),Re]})}return e})();var dk={provide:An,useExisting:Ee(()=>fk),multi:!0},fk=(()=>{class e extends ml{maxlength;inputName="maxlength";normalizeInput=t=>rk(t);createValidator=t=>oE(t);static \u0275fac=(()=>{let t;return function(r){return(t||(t=Ie(e)))(r||e)}})();static \u0275dir=G({type:e,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(i,r){i&2&&qe("maxlength",r._enabled?r.maxlength:null)},inputs:{maxlength:"maxlength"},standalone:!1,features:[Te([dk]),Re]})}return e})(),hk={provide:An,useExisting:Ee(()=>pk),multi:!0},pk=(()=>{class e extends ml{pattern;inputName="pattern";normalizeInput=t=>t;createValidator=t=>sE(t);static \u0275fac=(()=>{let t;return function(r){return(t||(t=Ie(e)))(r||e)}})();static \u0275dir=G({type:e,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(i,r){i&2&&qe("pattern",r._enabled?r.pattern:null)},inputs:{pattern:"pattern"},standalone:!1,features:[Te([hk]),Re]})}return e})();var RE=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275mod=K({type:e});static \u0275inj=Q({})}return e})();var AE=(()=>{class e{static withConfig(t){return{ngModule:e,providers:[{provide:hs,useValue:t.callSetDisabledState??gl}]}}static \u0275fac=function(i){return new(i||e)};static \u0275mod=K({type:e});static \u0275inj=Q({imports:[RE]})}return e})(),fQ=(()=>{class e{static withConfig(t){return{ngModule:e,providers:[{provide:EE,useValue:t.warnOnNgModelWithFormControl??"always"},{provide:hs,useValue:t.callSetDisabledState??gl}]}}static \u0275fac=function(i){return new(i||e)};static \u0275mod=K({type:e});static \u0275inj=Q({imports:[RE]})}return e})();var ps=class{},xE=(()=>{class e extends ps{getTranslation(t){return I({})}}return e.\u0275fac=(()=>{let n;return function(i){return(n||(n=Ie(e)))(i||e)}})(),e.\u0275prov=y({token:e,factory:e.\u0275fac}),e})(),vl=class{},PE=(()=>{class e{handle(t){return t.key}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=y({token:e,factory:e.\u0275fac}),e})();function ef(e,n){if(e===n)return!0;
vendor: 8,850 bytes, line 5
5if(e===null||n===null)return!1;if(e!==e&&n!==n)return!0;let t=typeof e,i=typeof n,r,o,s;if(t==i&&t=="object")if(Array.isArray(e)){if(!Array.isArray(n))return!1;if((r=e.length)==n.length){for(o=0;o<r;o++)if(!ef(e[o],n[o]))return!1;return!0}}else{if(Array.isArray(n))return!1;s=Object.create(null);for(o in e){if(!ef(e[o],n[o]))return!1;s[o]=!0}for(o in n)if(!(o in s)&&typeof n[o]<"u")return!1;return!0}return!1}function or(e){return typeof e<"u"&&e!==null}function wv(e){return e&&typeof e=="object"&&!Array.isArray(e)}function LE(e,n){let t=Object.assign({},e);return wv(e)&&wv(n)&&Object.keys(n).forEach(i=>{wv(n[i])?i in e?t[i]=LE(e[i],n[i]):Object.assign(t,{[i]:n[i]}):Object.assign(t,{[i]:n[i]})}),t}var gs=class{},kE=(()=>{class e extends gs{constructor(){super(...arguments),this.templateMatcher=/{{\s?([^{}\s]*)\s?}}/g}interpolate(t,i){let r;return typeof t=="string"?r=this.interpolateString(t,i):typeof t=="function"?r=this.interpolateFunction(t,i):r=t,r}getValue(t,i){let r=typeof i=="string"?i.split("."):[i];i="";do i+=r.shift(),or(t)&&or(t[i])&&(typeof t[i]=="object"||!r.length)?(t=t[i],i=""):r.length?i+=".":t=void 0;while(r.length);return t}interpolateFunction(t,i){return t(i)}interpolateString(t,i){return i?t.replace(this.templateMatcher,(r,o)=>{let s=this.getValue(i,o);return or(s)?s:r}):t}}return e.\u0275fac=(()=>{let n;return function(i){return(n||(n=Ie(e)))(i||e)}})(),e.\u0275prov=y({token:e,factory:e.\u0275fac}),e})(),ms=class{},FE=(()=>{class e extends ms{compile(t,i){return t}compileTranslations(t,i){return t}}return e.\u0275fac=(()=>{let n;return function(i){return(n||(n=Ie(e)))(i||e)}})(),e.\u0275prov=y({token:e,factory:e.\u0275fac}),e})(),tf=class{constructor(){this.currentLang=this.defaultLang,this.translations={},this.langs=[],this.onTranslationChange=new H,this.onLangChange=new H,this.onDefaultLangChange=new H}},Cv=new E("USE_STORE"),Ev=new E("USE_DEFAULT_LANG"),Iv=new E("DEFAULT_LANGUAGE"),Tv=new E("USE_EXTEND"),Mi=(()=>{class e{constructor(t,i,r,o,s,a=!0,l=!1,c=!1,u){this.store=t,this.currentLoader=i,this.compiler=r,this.parser=o,this.missingTranslationHandler=s,this.useDefaultLang=a,this.isolate=l,this.extend=c,this.pending=!1,this._onTranslationChange=new H,this._onLangChange=new H,this._onDefaultLangChange=new H,this._langs=[],this._translations={},this._translationRequests={},u&&this.setDefaultLang(u)}get onTranslationChange(){return this.isolate?this._onTranslationChange:this.store.onTranslationChange}get onLangChange(){return this.isolate?this._onLangChange:this.store.onLangChange}get onDefaultLangChange(){return this.isolate?this._onDefaultLangChange:this.store.onDefaultLangChange}get defaultLang(){return this.isolate?this._defaultLang:this.store.defaultLang}set defaultLang(t){this.isolate?this._defaultLang=t:this.store.defaultLang=t}get currentLang(){return this.isolate?this._currentLang:this.store.currentLang}set currentLang(t){this.isolate?this._currentLang=t:this.store.currentLang=t}get langs(){return this.isolate?this._langs:this.store.langs}set langs(t){this.isolate?this._langs=t:this.store.langs=t}get translations(){return this.isolate?this._translations:this.store.translations}set translations(t){this.isolate?this._translations=t:this.store.translations=t}setDefaultLang(t){if(t===this.defaultLang)return;let i=this.retrieveTranslations(t);typeof i<"u"?(this.defaultLang==null&&(this.defaultLang=t),i.pipe(we(1)).subscribe(r=>{this.changeDefaultLang(t)})):this.changeDefaultLang(t)}getDefaultLang(){return this.defaultLang}use(t){if(t===this.currentLang)return I(this.translations[t]);let i=this.retrieveTranslations(t);return typeof i<"u"?(this.currentLang||(this.currentLang=t),i.pipe(we(1)).subscribe(r=>{this.changeLang(t)}),i):(this.changeLang(t),I(this.translations[t]))}retrieveTranslations(t){let i;return(typeof this.translations[t]>"u"||this.extend)&&(this._translationRequests[t]=this._translationRequests[t]||this.getTranslation(t),i=this._translationRequests[t]),i}getTranslation(t){this.pending=!0;let i=this.currentLoader.getTranslation(t).pipe(Ks(1),we(1));return this.loadingTranslations=i.pipe(N(r=>this.compiler.compileTranslations(r,t)),Ks(1),we(1)),this.loadingTranslations.subscribe({next:r=>{this.translations[t]=this.extend&&this.translations[t]?w(w({},r),this.translations[t]):r,this.updateLangs(),this.pending=!1},error:r=>{this.pending=!1}}),i}setTranslation(t,i,r=!1){i=this.compiler.compileTranslations(i,t),(r||this.extend)&&this.translations[t]?this.translations[t]=LE(this.translations[t],i):this.translations[t]=i,this.updateLangs(),this.onTranslationChange.emit({lang:t,translations:this.translations[t]})}getLangs(){return this.langs}addLangs(t){t.forEach(i=>{this.langs.indexOf(i)===-1&&this.langs.push(i)})}updateLangs(){this.addLangs(Object.keys(this.translations))}getParsedResult(t,i,r){let o;if(i instanceof Array){let s={},a=!1;for(let l of i)s[l]=this.getParsedResult(t,l,r),_n(s[l])&&(a=!0);if(a){let l=i.map(c=>_n(s[c])?s[c]:I(s[c]));return Qs(l).pipe(N(c=>{let u={};return c.forEach((d,h)=>{u[i[h]]=d}),u}))}return s}if(t&&(o=this.parser.interpolate(this.parser.getValue(t,i),r)),typeof o>"u"&&this.defaultLang!=null&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(o=this.parser.interpolate(this.parser.getValue(this.translations[this.defaultLang],i),r)),typeof o>"u"){let s={key:i,translateService:this};typeof r<"u"&&(s.interpolateParams=r),o=this.missingTranslationHandler.handle(s)}return typeof o<"u"?o:i}get(t,i){if(!or(t)||!t.length)throw new Error('Parameter "key" required');if(this.pending)return this.loadingTranslations.pipe(nn(r=>(r=this.getParsedResult(r,t,i),_n(r)?r:I(r))));{let r=this.getParsedResult(this.translations[this.currentLang],t,i);return _n(r)?r:I(r)}}getStreamOnTranslationChange(t,i){if(!or(t)||!t.length)throw new Error('Parameter "key" required');return Wt(Ui(()=>this.get(t,i)),this.onTranslationChange.pipe(Ne(r=>{let o=this.getParsedResult(r.translations,t,i);return typeof o.subscribe=="function"?o:I(o)})))}stream(t,i){if(!or(t)||!t.length)throw new Error('Parameter "key" required');return Wt(Ui(()=>this.get(t,i)),this.onLangChange.pipe(Ne(r=>{let o=this.getParsedResult(r.translations,t,i);return _n(o)?o:I(o)})))}instant(t,i){if(!or(t)||!t.length)throw new Error('Parameter "key" required');let r=this.getParsedResult(this.translations[this.currentLang],t,i);if(_n(r)){if(t instanceof Array){let o={};return t.forEach((s,a)=>{o[t[a]]=t[a]}),o}return t}else return r}set(t,i,r=this.currentLang){this.translations[r][t]=this.compiler.compile(i,r),this.updateLangs(),this.onTranslationChange.emit({lang:r,translations:this.translations[r]})}changeLang(t){this.currentLang=t,this.onLangChange.emit({lang:t,translations:this.translations[t]}),this.defaultLang==null&&this.changeDefaultLang(t)}changeDefaultLang(t){this.defaultLang=t,this.onDefaultLangChange.emit({lang:t,translations:this.translations[t]})}reloadLang(t){return this.resetLang(t),this.getTranslation(t)}resetLang(t){this._translationRequests[t]=void 0,this.translations[t]=void 0}getBrowserLang(){if(typeof window>"u"||typeof window.navigator>"u")return;let t=window.navigator.languages?window.navigator.languages[0]:null;if(t=t||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,!(typeof t>"u"))return t.indexOf("-")!==-1&&(t=t.split("-")[0]),t.indexOf("_")!==-1&&(t=t.split("_")[0]),t}getBrowserCultureLang(){if(typeof window>"u"||typeof window.navigator>"u")return;let t=window.navigator.languages?window.navigator.languages[0]:null;return t=t||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,t}}return e.\u0275fac=function(t){return new(t||e)(D(tf),D(ps),D(ms),D(gs),D(vl),D(Ev),D(Cv),D(Tv),D(Iv))},e.\u0275prov=y({token:e,factory:e.\u0275fac}),e})();var jE=(()=>{class e{constructor(t,i){this.translate=t,this._ref=i,this.value="",this.lastKey=null,this.lastParams=[]}updateValue(t,i,r){let o=s=>{this.value=s!==void 0?s:t,this.lastKey=t,this._ref.markForCheck()};if(r){let s=this.translate.getParsedResult(r,t,i);_n(s.subscribe)?s.subscribe(o):o(s)}this.translate.get(t,i).subscribe(o)}transform(t,...i){if(!t||!t.length)return t;if(ef(t,this.lastKey)&&ef(i,this.lastParams))return this.value;let r;if(or(i[0])&&i.length)if(typeof i[0]=="string"&&i[0].length){let o=i[0].replace(/(\')?([a-zA-Z0-9_]+)(\')?(\s)?:/g,'"$2":').replace(/:(\s)?(\')(.*?)(\')/g,':"$3"');try{r=JSON.parse(o)}catch{throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${i[0]}`)}}else typeof i[0]=="object"&&!Array.isArray(i[0])&&(r=i[0]);return this.lastKey=t,this.lastParams=i,this.updateValue(t,r),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(o=>{this.lastKey&&o.lang===this.translate.currentLang&&(this.lastKey=null,this.updateV
5alue(t,r,o.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(o=>{this.lastKey&&(this.lastKey=null,this.updateValue(t,r,o.translations))})),this.onDefaultLangChange||(this.onDefaultLangChange=this.translate.onDefaultLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(t,r))})),this.value}_dispose(){typeof this.onTranslationChange<"u"&&(this.onTranslationChange.unsubscribe(),this.onTranslationChange=void 0),typeof this.onLangChange<"u"&&(this.onLangChange.unsubscribe(),this.onLangChange=void 0),typeof this.onDefaultLangChange<"u"&&(this.onDefaultLangChange.unsubscribe(),this.onDefaultLangChange=void 0)}ngOnDestroy(){this._dispose()}}return e.\u0275fac=function(t){return new(t||e)(m(Mi,16),m(Dt,16))},e.\u0275pipe=Di({name:"translate",type:e,pure:!1,standalone:!1}),e.\u0275prov=y({token:e,factory:e.\u0275fac}),e})(),CQ=(()=>{class e{static forRoot(t={}){return{ngModule:e,providers:[t.loader||{provide:ps,useClass:xE},t.compiler||{provide:ms,useClass:FE},t.parser||{provide:gs,useClass:kE},t.missingTranslationHandler||{provide:vl,useClass:PE},tf,{provide:Cv,useValue:t.isolate},{provide:Ev,useValue:t.useDefaultLang},{provide:Tv,useValue:t.extend},{provide:Iv,useValue:t.defaultLanguage},Mi]}}static forChild(t={}){return{ngModule:e,providers:[t.loader||{provide:ps,useClass:xE},t.compiler||{provide:ms,useClass:FE},t.parser||{provide:gs,useClass:kE},t.missingTranslationHandler||{provide:vl,useClass:PE},{provide:Cv,useValue:t.isolate},{provide:Ev,useValue:t.useDefaultLang},{provide:Tv,useValue:t.extend},{provide:Iv,useValue:t.defaultLanguage},Mi]}}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=K({type:e}),e.\u0275inj=Q({}),e})();var no=(function(){function e(){}return e})();var _l=(function(){function e(n,t,i,r,o,s){this._appBase=n,this._location=t,this._config=i,this._http=i&&!i.bypassHttpClientInterceptorChain?r:new dn(o),this._renderer=s.createRenderer(null,null),this.setBaseUrl(),e._cache||(e._cache=new Map),e._inProgressReqs||(e._inProgressReqs=new Map)}return e.prototype.getSVG=function(n,t,i){var r=this;i===void 0&&(i=!0);var o=(t?this.getAbsoluteUrl(n):n).replace(/#.+$/,"");if(i&&e._cache.has(o))return I(this._cloneSVG(e._cache.get(o)));if(e._inProgressReqs.has(o))return e._inProgressReqs.get(o);var s=this._http.get(o,{responseType:"text"}).pipe(Ce(function(){e._inProgressReqs.delete(o)}),At(function(a){return e._inProgressReqs.delete(o),tn(a.message)}),Er(),N(function(a){var l=r._svgElementFromString(a);return e._cache.set(o,l),r._cloneSVG(l)}
5));return e._inProgressReqs.set(o,s),s},e.prototype.setBaseUrl=function(){this._config?this._baseUrl=this._config.baseUrl:this._appBase!==null?this._baseUrl=this._appBase:this._location!==null&&(this._baseUrl=this._location.getBaseHrefFromDOM())},e.prototype.getAbsoluteUrl=function(n){this._baseUrl&&!/^https?:\/\//i.test(n)&&(n=this._baseUrl+n,n.indexOf("//")===0&&(n=n.substring(1)));var t=this._renderer.createElement("BASE");return t.href=n,t.href},e.prototype._svgElementFromString=function(n){var t=this._renderer.createElement("DIV");t.innerHTML=n;var i=t.querySelector("svg");if(!i)throw new Error("No SVG found in loaded contents");return i},e.prototype._cloneSVG=function(n){return n.cloneNode(!0)},e.\u0275fac=function(t){return new(t||e)(D(os,8),D(Jr,8),D(no,8),D(dn),D(to),D(Yt))},e.\u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();var nf=(function(){function e(n){this._ranScripts={},this._renderer=n.createRenderer(null,null)}return e.prototype.insertEl=function(n,t,i,r,o){if(r&&!o){var s=n._prevSVG&&n._prevSVG.parentNode;s&&this._renderer.removeChild(s,n._prevSVG),t.innerHTML=""}o?this._renderer.insertBefore(t,i,t.firstChild):this._renderer.appendChild(t,i),i.nodeName==="svg"&&(n._prevSVG=i)},e.prototype.evalScripts=function(n,t,i){for(var r=n.querySelectorAll("script"),o=[],s=0;s<r.length;s++){var a=r[s].getAttribute("type");if(!a||a==="application/ecmascript"||a==="application/javascript"){var l=r[s].innerText||r[s].textContent;o.push(l),this._renderer.removeChild(r[s].parentNode,r[s])}}if(o.length>0&&(i==="always"||i==="once"&&!this._ranScripts[t])){for(var s=0;s<o.length;s++)new Function(o[s])(window);this._ranScripts[t]=!0}},e.\u0275fac=function(t){return new(t||e)(D(Yt))},e.\u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function HE(e){return e.charAt(0)==="#"||e.indexOf(".svg#")>-1}function UE(){return typeof SVGRect<"u"}function $E(e,n,t){var i=n.querySelector('[id="'+t+'"]');if(!i)throw new Error('Symbol "'+t+'" not found');var r=e.createElement("svg","svg");e.appendChild(r,i);var o=e.createElement("use","svg");return e.setAttribute(o,"href","#"+t,"xlink"),e.appendChild(r,o),r}function Sv(e,n){for(var t=0;t<n.length;t++){var i=e.getAttribute(n[t]);i&&e.removeAttribute(n[t])}for(var r=e.getElementsByTagName("*"),t=0;t<r.length;t++)Sv(r[t],n)}function GE(e,n){for(var t in n)e.setAttribute(t,n[t])}var Nv=(function(){function e(n,t,i,r,o,s,a,l){this._el=n,this._viewContainerRef=t,this._resolver=i,this._svgCache=r,this._renderer=o,this._inlineSVGService=s,this._config=a,this.platformId=l,this.resolveSVGUrl=!0,this.replaceContents=!0,this.prepend=!1,this.injectComponent=!1,this.cacheSVG=!0,this.forceEvalStyles=!1,this.evalScripts="always",this.onSVGInserted=new H,this.onSVGFailed=new H,this._supportsSVG=UE(),!nl(this.platformId)&&!this._supportsSVG&&this._fail("Embed SVG are not supported by this browser")}return e.prototype.ngOnInit=function(){!this._isValidPlatform()||this._isSSRDisabled()||this._insertSVG()},e.prototype.ngOnChanges=function(n){if(!(!this._isValidPlatform()||this._isSSRDisabled())){var t=!!n.setSVGAttributes;(n.inlineSVG||t)&&this._insertSVG(t)}},e.prototype.ngOnDestroy=function(){this._subscription&&this._subscription.unsubscribe()},e.prototype._insertSVG=function(n){var t=this;if(n===void 0&&(n=!1),!(!nl(this.platformId)&&!this._supportsSVG)){if(!this.inlineSVG){this._fail("No URL passed to [inlineSVG]");return}!n&&this.inlineSVG===this._prevUrl||(this._prevUrl=this.inlineSVG,this._subscription=this._svgCache.getSVG(this.inlineSVG,this.resolveSVGUrl,this.cacheSVG).subscribe(function(i){if(HE(t.inlineSVG)){var r=t.inlineSVG.split("#")[1];i=$E(t._renderer,i,r)}t._processSvg(i)},function(i){t._fail(i)}))}},e.prototype._processSvg=function(n){if(n){if(this.removeSVGAttributes&&tl(this.platformId)&&Sv(n,this.removeSVGAttributes),this.setSVGAttributes&&GE(n,this.setSVGAttributes),this.onSVGLoaded&&(n=this.onSVGLoaded(n,this._el.nativeElement)),this._insertEl(n),tl(this.platformId)&&this._inlineSVGService.evalScripts(n,this.inlineSVG,this.evalScripts),this.forceEvalStyles){var t=n.querySelectorAll("style");Array.from(t).forEach(function(i){return i.textContent+=""})}this.onSVGInserted.emit(n)}},e.prototype._insertEl=function(n){if(this.injectComponent){if(!this._svgComp){var t=this._resolver.resolve
5ComponentFactory(Mv);this._svgComp=this._viewContainerRef.createComponent(t)}this._svgComp.instance.context=this,this._svgComp.instance.replaceContents=this.replaceContents,this._svgComp.instance.prepend=this.prepend,this._svgComp.instance.content=n,this._renderer.appendChild(this._el.nativeElement,this._svgComp.injector.get(Mv)._el.nativeElement)}else this._inlineSVGService.insertEl(this,this._el.nativeElement,n,this.replaceContents,this.prepend)},e.prototype._fail=function(n){if(this.onSVGFailed.emit(n),this.fallbackImgUrl){var t=this._renderer.createElement("IMG");this._renderer.setAttribute(t,"src",this.fallbackImgUrl),this._insertEl(t)}else this.fallbackSVG&&this.fallbackSVG!==this.inlineSVG&&(this.inlineSVG=this.fallbackSVG,this._insertSVG())},e.prototype._isValidPlatform=function(){return nl(this.platformId)||tl(this.platformId)},e.prototype._isSSRDisabled=function(){return nl(this.platformId)&&this._config&&this._config.clientOnly},e.\u0275fac=function(t){return new(t||e)(m(ie),m(St),m(yi),m(_l),m(Ve),m(nf),m(no,8),m(vi))},e.\u0275dir=G({type:e,selectors:[["","inlineSVG",""]],inputs:{inlineSVG:"inlineSVG",resolveSVGUrl:"resolveSVGUrl",replaceContents:"replaceContents",prepend:"prepend",injectComponent:"injectComponent",cacheSVG:"cacheSVG",setSVGAttributes:"setSVGAttributes",removeSVGAttributes:"removeSVGAttributes",forceEvalStyles:"forceEvalStyles",evalScripts:"evalScripts",fallbackImgUrl:"fallbackImgUrl",fallbackSVG:"fallbackSVG",onSVGLoaded:"onSVGLoaded"},outputs:{onSVGInserted:"onSVGInserted",onSVGFailed:"onSVGFailed"},features:[Te([_l]),ke]}),e})();var Mv=(function(){function e(n,t){this._inlineSVGService=n,this._el=t}return e.prototype.ngAfterViewInit=function(){this._updateContent()},e.prototype.ngOnChanges=function(n){n.content&&this._updateContent()},e.prototype._updateContent=function(){this._inlineSVGService.insertEl(this.context,this._el.nativeElement,this.content,this.replaceContents,this.prepend)},e.\u0275fac=function(t){return new(t||e)(m(nf),m(ie))},e.\u0275cmp=We({type:e,selectors:[["inline-svg"]],inputs:{context:"context",content:"content",replaceContents:"replaceContents",prepend:"prepend"},features:[ke],decls:0,vars:0,template:function(t,i){},encapsulation:2,changeDetection:0}),e})();var yk=(function(){function e(){}return e.forRoot=function(n){return{ngModule:e,providers:[{provide:no,useValue:n}]}},e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=K({type:e}),e.\u0275inj=Q({}),e})();var Ue="top",pt="bottom",st="right",Ze="left",rf="auto",sr=[Ue,pt,st,Ze],Ni="start",io="end",zE="clippingParents",of="viewport",vs="popper",WE="reference",Ov=sr.reduce(function(e,n){return e.concat([n+"-"+Ni,n+"-"+io])},[]),sf=[].concat(sr,[rf]).reduce(function(e,n){return e.concat([n,n+"-"+Ni,n+"-"+io])},[]),Dk="beforeRead",wk="read",Ck="afterRead",Ek="beforeMain",Ik="main",Tk="afterMain",Sk="beforeWrite",Mk="write",Nk="afterWrite",qE=[Dk,wk,Ck,Ek,Ik,Tk,Sk,Mk,Nk];function at(e){return e?(e.nodeName||"").toLowerCase():null}function Se(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var n=e.ownerDocument;return n&&n.defaultView||window}return e}function fn(e){var n=Se(e).Element;return e instanceof n||e instanceof Element}function Ye(e){var n=Se(e).HTMLElement;return e instanceof n||e instanceof HTMLElement}function _s(e){if(typeof ShadowRoot>"u")return!1;var n=Se(e).ShadowRoot;return e instanceof n||e instanceof ShadowRoot}function Ok(e){var n=e.state;Object.keys(n.elements).forEach(function(t){var i=n.styles[t]||{},r=n.attributes[t]||{},o=n.elements[t];!Ye(o)||!at(o)||(Object.assign(o.style,i),Object.keys(r).forEach(function(s){var a=r[s];a===!1?o.removeAttribute(s):o.setAttribute(s,a===!0?"":a)}))})}function Rk(e){var n=e.state,t={popper:{position:n.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(n.elements.popper.style,t.popper),n.styles=t,n.elements.arrow&&Object.assign(n.elements.arrow.style,t.arrow),function(){Object.keys(n.elements).forEach(function(i){var r=n.elements[i],o=n.attributes[i]||{},s=Object.keys(n.styles.hasOwnProperty(i)?n.styles[i]:t[i]),a=s.reduce(function(l,c){return l[c]="",l},{});
vendor: 9,729 bytes, line 5
5!Ye(r)||!at(r)||(Object.assign(r.style,a),Object.keys(o).forEach(function(l){r.removeAttribute(l)}))})}}var ZE={name:"applyStyles",enabled:!0,phase:"write",fn:Ok,effect:Rk,requires:["computeStyles"]};function lt(e){return e.split("-")[0]}var xn=Math.max,ro=Math.min,Oi=Math.round;function ys(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(n){return n.brand+"/"+n.version}).join(" "):navigator.userAgent}function yl(){return!/^((?!chrome|android).)*safari/i.test(ys())}function hn(e,n,t){n===void 0&&(n=!1),t===void 0&&(t=!1);var i=e.getBoundingClientRect(),r=1,o=1;n&&Ye(e)&&(r=e.offsetWidth>0&&Oi(i.width)/e.offsetWidth||1,o=e.offsetHeight>0&&Oi(i.height)/e.offsetHeight||1);var s=fn(e)?Se(e):window,a=s.visualViewport,l=!yl()&&t,c=(i.left+(l&&a?a.offsetLeft:0))/r,u=(i.top+(l&&a?a.offsetTop:0))/o,d=i.width/r,h=i.height/o;return{width:d,height:h,top:u,right:c+d,bottom:u+h,left:c,x:c,y:u}}function oo(e){var n=hn(e),t=e.offsetWidth,i=e.offsetHeight;return Math.abs(n.width-t)<=1&&(t=n.width),Math.abs(n.height-i)<=1&&(i=n.height),{x:e.offsetLeft,y:e.offsetTop,width:t,height:i}}function bl(e,n){var t=n.getRootNode&&n.getRootNode();if(e.contains(n))return!0;if(t&&_s(t)){var i=n;do{if(i&&e.isSameNode(i))return!0;i=i.parentNode||i.host}while(i)}return!1}function Ot(e){return Se(e).getComputedStyle(e)}function Rv(e){return["table","td","th"].indexOf(at(e))>=0}function gt(e){return((fn(e)?e.ownerDocument:e.document)||window.document).documentElement}function Ri(e){return at(e)==="html"?e:e.assignedSlot||e.parentNode||(_s(e)?e.host:null)||gt(e)}function YE(e){return!Ye(e)||Ot(e).position==="fixed"?null:e.offsetParent}function Ak(e){var n=/firefox/i.test(ys()),t=/Trident/i.test(ys());if(t&&Ye(e)){var i=Ot(e);if(i.position==="fixed")return null}var r=Ri(e);for(_s(r)&&(r=r.host);Ye(r)&&["html","body"].indexOf(at(r))<0;){var o=Ot(r);if(o.transform!=="none"||o.perspective!=="none"||o.contain==="paint"||["transform","perspective"].indexOf(o.willChange)!==-1||n&&o.willChange==="filter"||n&&o.filter&&o.filter!=="none")return r;r=r.parentNode}return null}function Pn(e){for(var n=Se(e),t=YE(e);t&&Rv(t)&&Ot(t).position==="static";)t=YE(t);return t&&(at(t)==="html"||at(t)==="body"&&Ot(t).position==="static")?n:t||Ak(e)||n}function so(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function ao(e,n,t){return xn(e,ro(n,t))}function QE(e,n,t){var i=ao(e,n,t);return i>t?t:i}function Dl(){return{top:0,right:0,bottom:0,left:0}}function wl(e){return Object.assign({},Dl(),e)}function Cl(e,n){return n.reduce(function(t,i){return t[i]=e,t},{})}var xk=function(n,t){return n=typeof n=="function"?n(Object.assign({},t.rects,{placement:t.placement})):n,wl(typeof n!="number"?n:Cl(n,sr))};function Pk(e){var n,t=e.state,i=e.name,r=e.options,o=t.elements.arrow,s=t.modifiersData.popperOffsets,a=lt(t.placement),l=so(a),c=[Ze,st].indexOf(a)>=0,u=c?"height":"width";if(!(!o||!s)){var d=xk(r.padding,t),h=oo(o),f=l==="y"?Ue:Ze,p=l==="y"?pt:st,v=t.rects.reference[u]+t.rects.reference[l]-s[l]-t.rects.popper[u],_=s[l]-t.rects.reference[l],b=Pn(o),T=b?l==="y"?b.clientHeight||0:b.clientWidth||0:0,J=v/2-_/2,O=d[f],W=T-h[u]-d[p],X=T/2-h[u]/2+J,ge=ao(O,X,W),me=l;t.modifiersData[i]=(n={},n[me]=ge,n.centerOffset=ge-X,n)}}function kk(e){var n=e.state,t=e.options,i=t.element,r=i===void 0?"[data-popper-arrow]":i;r!=null&&(typeof r=="string"&&(r=n.elements.popper.querySelector(r),!r)||bl(n.elements.popper,r)&&(n.elements.arrow=r))}var Av={name:"arrow",enabled:!0,phase:"main",fn:Pk,effect:kk,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function pn(e){return e.split("-")[1]}var Fk={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Lk(e,n){var t=e.x,i=e.y,r=n.devicePixelRatio||1;return{x:Oi(t*r)/r||0,y:Oi(i*r)/r||0}}function JE(e){var n,t=e.popper,i=e.popperRect,r=e.placement,o=e.variation,s=e.offsets,a=e.position,l=e.gpuAcceleration,c=e.adaptive,u=e.roundOffsets,d=e.isFixed,h=s.x,f=h===void 0?0:h,p=s.y,v=p===void 0?0:p,_=typeof u=="function"?u({x:f,y:v}):{x:f,y:v};f=_.x,v=_.y;var b=s.hasOwnProperty("x"),T=s.hasOwnProperty("y"),J=Ze,O=Ue,W=window;if(c){var X=Pn(t),ge="clientHeight",me="clientWidth";if(X===Se(t)&&(X=gt(t),Ot(X).position!=="static"&&a==="absolute"&&(ge="scrollHeight",me="scrollWidth")),X=X,r===Ue||(r===Ze||r===st)&&o===io){O=pt;var Je=d&&X===W&&W.visualViewport?W.visualViewport.height:X[ge];v-=Je-i.height,v*=l?1:-1}if(r===Ze||(r===Ue||r===pt)&&o===io){J=st;var $e=d&&X===W&&W.visualViewport?W.visualViewport.width:X[me];f-=$e-i.width,f*=l?1:-1}}var mt=Object.assign({position:a},c&&Fk),gn=u===!0?Lk({x:f,y:v},Se(t)):{x:f,y:v};if(f=gn.x,v=gn.y,l){var wt;return Object.assign({},mt,(wt={},wt[O]=T?"0":"",wt[J]=b?"0":"",wt.transform=(W.devicePixelRatio||1)<=1?"translate("+f+"px, "+v+"px)":"translate3d("+f+"px, "+v+"px, 0)",wt))}return Object.assign({},mt,(n={},n[O]=T?v+"px":"",n[J]=b?f+"px":"",n.transform="",n))}function jk(e){var n=e.state,t=e.options,i=t.gpuAcceleration,r=i===void 0?!0:i,o=t.adaptive,s=o===void 0?!0:o,a=t.roundOffsets,l=a===void 0?!0:a,c={placement:lt(n.placement),variation:pn(n.placement),popper:n.elements.popper,popperRect:n.rects.popper,gpuAcceleration:r,isFixed:n.options.strategy==="fixed"};n.modifiersData.popperOffsets!=null&&(n.styles.popper=Object.assign({},n.styles.popper,JE(Object.assign({},c,{offsets:n.modifiersData.popperOffsets,position:n.options.strategy,adaptive:s,roundOffsets:l})))),n.modifiersData.arrow!=null&&(n.styles.arrow=Object.assign({},n.styles.arrow,JE(Object.assign({},c,{offsets:n.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),n.attributes.popper=Object.assign({},n.attributes.popper,{"data-popper-placement":n.placement})}var KE={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:jk,data:{}};var af={passive:!0};function Vk(e){var n=e.state,t=e.instance,i=e.options,r=i.scroll,o=r===void 0?!0:r,s=i.resize,a=s===void 0?!0:s,l=Se(n.elements.popper),c=[].concat(n.scrollParents.reference,n.scrollParents.popper);return o&&c.forEach(function(u){u.addEventListener("scroll",t.update,af)}),a&&l.addEventListener("resize",t.update,af),function(){o&&c.forEach(function(u){u.removeEventListener("scroll",t.update,af)}),a&&l.removeEventListener("resize",t.update,af)}}var XE={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:Vk,data:{}};var Bk={left:"right",right:"left",bottom:"top",top:"bottom"};function bs(e){return e.replace(/left|right|bottom|top/g,function(n){return Bk[n]})}var Hk={start:"end",end:"start"};function lf(e){return e.replace(/start|end/g,function(n){return Hk[n]})}function lo(e){var n=Se(e),t=n.pageXOffset,i=n.pageYOffset;return{scrollLeft:t,scrollTop:i}}function co(e){return hn(gt(e)).left+lo(e).scrollLeft}function xv(e,n){var t=Se(e),i=gt(e),r=t.visualViewport,o=i.clientWidth,s=i.clientHeight,a=0,l=0;if(r){o=r.width,s=r.height;var c=yl();(c||!c&&n==="fixed")&&(a=r.offsetLeft,l=r.offsetTop)}return{width:o,height:s,x:a+co(e),y:l}}function Pv(e){var n,t=gt(e),i=lo(e),r=(n=e.ownerDocument)==null?void 0:n.body,o=xn(t.scrollWidth,t.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),s=xn(t.scrollHeight,t.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0),a=-i.scrollLeft+co(e),l=-i.scrollTop;return Ot(r||t).direction==="rtl"&&(a+=xn(t.clientWidth,r?r.clientWidth:0)-o),{width:o,height:s,x:a,y:l}}function uo(e){var n=Ot(e),t=n.overflow,i=n.overflowX,r=n.overflowY;return/auto|scroll|overlay|hidden/.test(t+r+i)}function cf(e){return["html","body","#document"].indexOf(at(e))>=0?e.ownerDocument.body:Ye(e)&&uo(e)?e:cf(Ri(e))}function ar(e,n){var t;n===void 0&&(n=[]);var i=cf(e),r=i===((t=e.ownerDocument)==null?void 0:t.body),o=Se(i),s=r?[o].concat(o.visualViewport||[],uo(i)?i:[]):i,a=n.concat(s);return r?a:a.concat(ar(Ri(s)))}function Ds(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Uk(e,n){var t=hn(e,!1,n==="fixed");return t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}function e1(e,n,t){return n===of?Ds(xv(e,t)):fn(n)?Uk(n,t):Ds(Pv(gt(e)))}function $k(e){var n=ar(Ri(e)),t=["absolute","fixed"].indexOf(Ot(e).position)>=0,i=t&&Ye(e)?Pn(e):e;return fn(i)?n.filter(function(r){return fn(r)&&bl(r,i)&&at(r)!=="body"}):[]}function kv(e,n,t,i){var r=n==="clippingParents"?$k(e):[].concat(n),o=[].concat(r,[t]),s=o[0],a=o.reduce(function(l,c){var u=e1(e,c,i);return l.top=xn(u.top,l.top),l.right=ro(u.right,l.right),l.bottom=ro(u.bottom,l.bottom),l.left=xn(u.left,l.left),l},e1(e,s,i));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function El(e){var n=e.reference,t=e.element,i=e.placement,r=i?lt(i):null,o=i?pn(i):null,s=n.x+n.width/2-t.width/2,a=n.y+n.height/2-t.height/2,l;switch(r){case Ue:l={x:s,y:n.y-t.height};break;case pt:l={x:s,y:n.y+n.height};break;case st:l={x:n.x+n.width,y:a};break;case Ze:l={x:n.x-t.width,y:a};break;default:l={x:n.x,y:n.y}}var c=r?so(r):null;if(c!=null){var u=c==="y"?"height":"width";switch(o){case Ni:l[c]=l[c]-(n[u]/2-t[u]/2);break;case io:l[c]=l[c]+(n[u]/2-t[u]/2);break;default:}}return l}function lr(e,n){n===void 0&&(n={});var t=n,i=t.placement,r=i===void 0?e.placement:i,o=t.strategy,s=o===void 0?e.strategy:o,a=t.boundary,l=a===void 0?zE:a,c=t.rootBoundary,u=c===void 0?of:c,d=t.elementContext,h=d===void 0?vs:d,f=t.altBoundary,p=f===void 0?!1:f,v=t.padding,_=v===void 0?0:v,b=wl(typeof _!="number"?_:Cl(_,sr)),T=h===vs?WE:vs,J=e.rects.popper,O=e.elements[p?T:h],W=kv(fn(O)?O:O.contextElement||gt(e.elements.popper),l,u,s),X=hn(e.elements.reference),ge=El({reference:X,element:J,strategy:"absolute",placement:r}),me=Ds(Object.assign({}
vendor: 4,280 bytes, line 5
5,J,ge)),Je=h===vs?me:X,$e={top:W.top-Je.top+b.top,bottom:Je.bottom-W.bottom+b.bottom,left:W.left-Je.left+b.left,right:Je.right-W.right+b.right},mt=e.modifiersData.offset;if(h===vs&&mt){var gn=mt[r];Object.keys($e).forEach(function(wt){var gr=[st,pt].indexOf(wt)>=0?1:-1,mr=[Ue,pt].indexOf(wt)>=0?"y":"x";$e[wt]+=gn[mr]*gr})}return $e}function Fv(e,n){n===void 0&&(n={});var t=n,i=t.placement,r=t.boundary,o=t.rootBoundary,s=t.padding,a=t.flipVariations,l=t.allowedAutoPlacements,c=l===void 0?sf:l,u=pn(i),d=u?a?Ov:Ov.filter(function(p){return pn(p)===u}):sr,h=d.filter(function(p){return c.indexOf(p)>=0});h.length===0&&(h=d);var f=h.reduce(function(p,v){return p[v]=lr(e,{placement:v,boundary:r,rootBoundary:o,padding:s})[lt(v)],p},{});return Object.keys(f).sort(function(p,v){return f[p]-f[v]})}function Gk(e){if(lt(e)===rf)return[];var n=bs(e);return[lf(e),n,lf(n)]}function zk(e){var n=e.state,t=e.options,i=e.name;if(!n.modifiersData[i]._skip){for(var r=t.mainAxis,o=r===void 0?!0:r,s=t.altAxis,a=s===void 0?!0:s,l=t.fallbackPlacements,c=t.padding,u=t.boundary,d=t.rootBoundary,h=t.altBoundary,f=t.flipVariations,p=f===void 0?!0:f,v=t.allowedAutoPlacements,_=n.options.placement,b=lt(_),T=b===_,J=l||(T||!p?[bs(_)]:Gk(_)),O=[_].concat(J).reduce(function(_o,Li){return _o.concat(lt(Li)===rf?Fv(n,{placement:Li,boundary:u,rootBoundary:d,padding:c,flipVariations:p,allowedAutoPlacements:v}):Li)},[]),W=n.rects.reference,X=n.rects.popper,ge=new Map,me=!0,Je=O[0],$e=0;$e<O.length;$e++){var mt=O[$e],gn=lt(mt),wt=pn(mt)===Ni,gr=[Ue,pt].indexOf(gn)>=0,mr=gr?"width":"height",zt=lr(n,{placement:mt,boundary:u,rootBoundary:d,altBoundary:h,padding:c}),mn=gr?wt?st:Ze:wt?pt:Ue;W[mr]>X[mr]&&(mn=bs(mn));var zl=bs(mn),vr=[];if(o&&vr.push(zt[gn]<=0),a&&vr.push(zt[mn]<=0,zt[zl]<=0),vr.every(function(_o){return _o})){Je=mt,me=!1;break}ge.set(mt,vr)}if(me)for(var Wl=p?3:1,Qf=function(Li){var Bs=O.find(function(Zl){var _r=ge.get(Zl);if(_r)return _r.slice(0,Li).every(function(Jf){return Jf})});if(Bs)return Je=Bs,"break"},Vs=Wl;Vs>0;Vs--){var ql=Qf(Vs);if(ql==="break")break}n.placement!==Je&&(n.modifiersData[i]._skip=!0,n.placement=Je,n.reset=!0)}}var Lv={name:"flip",enabled:!0,phase:"main",fn:zk,requiresIfExists:["offset"],data:{_skip:!1}};function Wk(e,n,t){var i=lt(e),r=[Ze,Ue].indexOf(i)>=0?-1:1,o=typeof t=="function"?t(Object.assign({},n,{placement:e})):t,s=o[0],a=o[1];return s=s||0,a=(a||0)*r,[Ze,st].indexOf(i)>=0?{x:a,y:s}:{x:s,y:a}}function qk(e){var n=e.state,t=e.options,i=e.name,r=t.offset,o=r===void 0?[0,0]:r,s=sf.reduce(function(u,d){return u[d]=Wk(d,n.rects,o),u},{}),a=s[n.placement],l=a.x,c=a.y;n.modifiersData.popperOffsets!=null&&(n.modifiersData.popperOffsets.x+=l,n.modifiersData.popperOffsets.y+=c),n.modifiersData[i]=s}var jv={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:qk};function Zk(e){var n=e.state,t=e.name;n.modifiersData[t]=El({reference:n.rects.reference,element:n.rects.popper,strategy:"absolute",placement:n.placement})}var t1={name:"popperOffsets",enabled:!0,phase:"read",fn:Zk,data:{}};function Vv(e){return e==="x"?"y":"x"}function Yk(e){var n=e.state,t=e.options,i=e.name,r=t.mainAxis,o=r===void 0?!0:r,s=t.altAxis,a=s===void 0?!1:s,l=t.boundary,c=t.rootBoundary,u=t.altBoundary,d=t.padding,h=t.tether,f=h===void 0?!0:h,p=t.tetherOffset,v=p===void 0?0:p,_=lr(n,{boundary:l,rootBoundary:c,padding:d,altBoundary:u}),b=lt(n.placement),T=pn(n.placement),J=!T,O=so(b),W=Vv(O),X=n.modifiersData.popperOffsets,ge=n.rects.reference,me=n.rects.popper,Je=typeof v=="function"?v(Object.assign({},n.rects,{placement:n.placement})):v,$e=typeof Je=="number"?{mainAxis:Je,altAxis:Je}:Object.assign({mainAxis:0,altAxis:0},Je),mt=n.modifiersData.offset?n.modifiersData.offset[n.placement]:null,gn={x:0,y:0};if(X){if(o){var wt,gr=O==="y"?Ue:Ze,mr=O==="y"?pt:st,zt=O==="y"?"height":"width",mn=X[O],zl=mn+_[gr],vr=mn-_[mr],Wl=f?-me[zt]/2:0,Qf=T===Ni?ge[zt]:me[zt],Vs=T===Ni?-me[zt]:-ge[zt],ql=n.elements.arrow,_o=f&&ql?oo(ql):{width:0,height:0},Li=n.modifiersData["arrow#persistent"]?n.modifiersData["arrow#persistent"].padding:Dl(),Bs=Li[gr],Zl=Li[mr],_r=ao(0,ge[zt],_o[zt]),Jf=J?ge[zt]/2-Wl-_r-Bs-$e.mainAxis:Qf-_r-Bs-$e.mainAxis,QI=J?-ge[zt]/2+Wl+_r+Zl+$e.mainAxis:Vs+_r+Zl+$e.mainAxis,Kf=n.elements.arrow&&Pn(n.elements.arrow),JI=Kf?O
5==="y"?Kf.clientTop||0:Kf.clientLeft||0:0,U_=(wt=mt?.[O])!=null?wt:0,KI=mn+Jf-U_-JI,XI=mn+QI-U_,$_=ao(f?ro(zl,KI):zl,mn,f?xn(vr,XI):vr);X[O]=$_,gn[O]=$_-mn}if(a){var G_,eT=O==="x"?Ue:Ze,tT=O==="x"?pt:st,yr=X[W],Yl=W==="y"?"height":"width",z_=yr+_[eT],W_=yr-_[tT],Xf=[Ue,Ze].indexOf(b)!==-1,q_=(G_=mt?.[W])!=null?G_:0,Z_=Xf?z_:yr-ge[Yl]-me[Yl]-q_+$e.altAxis,Y_=Xf?yr+ge[Yl]+me[Yl]-q_-$e.altAxis:W_,Q_=f&&Xf?QE(Z_,yr,Y_):ao(f?Z_:z_,yr,f?Y_:W_);X[W]=Q_,gn[W]=Q_-yr}n.modifiersData[i]=gn}}var Bv={name:"preventOverflow",enabled:!0,phase:"main",fn:Yk,requiresIfExists:["offset"]};function Hv(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function Uv(e){return e===Se(e)||!Ye(e)?lo(e):Hv(e)}function Qk(e){var n=e.getBoundingClientRect(),t=Oi(n.width)/e.offsetWidth||1,i=Oi(n.height)/e.offsetHeight||1;return t!==1||i!==1}function $v(e,n,t){t===void 0&&(t=!1);var i=Ye(n),r=Ye(n)&&Qk(n),o=gt(n),s=hn(e,r,t),a={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(i||!i&&!t)&&((at(n)!=="body"||uo(o))&&(a=Uv(n)),Ye(n)?(l=hn(n,!0),l.x+=n.clientLeft,l.y+=n.clientTop):o&&(l.x=co(o))),{x:s.left+a.scrollLeft-l.x,y:s.top+a.scrollTop-l.y,width:s.width,height:s.height}}function Jk(e){var n=new Map,t=new Set,i=[];e.forEach(function(o){n.set(o.name,o)});function r(o){t.add(o.name);var s=[].concat(o.requires||[],o.requiresIfExists||[]);s.forEach(function(a){if(!t.has(a)){var l=n.get(a);l&&r(l)}}),i.push(o)}return e.forEach(function(o){t.has(o.name)||r(o)}),i}function Gv(e){var n=Jk(e);return qE.reduce(function(t,i){return t.concat(n.filter(function(r){return r.phase===i}))},[])}function zv(e){var n;return function(){return n||(n=new Promise(function(t){Promise.resolve().then(function(){n=void 0,t(e())})})),n}}function Wv(e){var n=e.reduce(function(t,i){var r=t[i.name];return t[i.name]=r?Object.assign({},r,i,{options:Object.assign({},r.options,i.options),data:Object.assign({},r.data,i.data)}):i,t},{});return Object.keys(n).map(function(t){return n[t]})}var n1={placement:"bottom",modifiers:[],strategy:"absolute"};function i1(){for(var e=arguments.length,n=new Array(e),t=0;t<e;t++)n[t]=arguments[t];return!n.some(function(i){return!(i&&typeof i.getBoundingClientRect=="function")})}function r1(e){e===void 0&&(e={});var n=e,t=n.defaultModifiers,i=t===void 0?[]:t,r=n.defaultOptions,o=r===void 0?n1:r;return function(a,l,c){c===void 0&&(c=o);var u={placement:"bottom",orderedModifiers:[],options:Object.assign({},n1,o),modifiersData:{},elements:{reference:a,popper:l},attributes:{},styles:{}},d=[],h=!1,f={state:u,setOptions:function(b){var T=typeof b=="function"?b(u.options):b;v(),u.options=Object.assign({},o,u.options,T),u.scrollParents={reference:fn(a)?ar(a):a.contextElement?ar(a.contextElement):[],popper:ar(l)};var J=Gv(Wv([].concat(i,u.options.modifiers)));return u.orderedModifiers=J.filter(function(O){return O.enabled}),p(),f.update()},forceUpdate:function(){if(!h){var b=u.elements,T=b.reference,J=b.popper;if(i1(T,J)){u.rects={reference:$v(T,Pn(J),u.options.strategy==="fixed"),popper:oo(J)},u.reset=!1,u.placement=u.options.placement,u.orderedModifiers.forEach(function($e){return u.modifiersData[$e.name]=Object.assign({},$e.data)});for(var O=0;O<u.orderedModifiers.length;O++){if(u.reset===!0){u.reset=!1,O=-1;continue}var W=u.orderedModifiers[O],X=W.fn,ge=W.options,me=ge===void 0?{}:ge,Je=W.name;typeof X=="function"&&(u=X({state:u,options:me,name:Je,instance:f})||u)}}}},update:zv(function(){return new Promise(function(_){f.forceUpdate(),_(u)})}),destroy:function(){v(),h=!0}};if(!i1(a,l))return f;f.setOptions(c).then(function(_){!h&&c.onFirstUpdate&&c.onFirstUpdate(_)});function p(){u.orderedModifiers.forEach(function(_){var b=_.name,T=_.options,J=T===void 0?{}:T,O=_.effect;if(typeof O=="function"){var W=O({state:u,name:b,instance:f,options:J}),X=function(){};d.push(W||X)}})}function v(){d.forEach(function(_){return _()}),d=[]}return f}}var Kk=[XE,t1,KE,ZE],qv=r1({defaultModifiers:Kk});var h1=["*"];var Xk=["month"],eF=["year"];function tF(e,n){if(e&1&&(k(0,"option",5),oe(1),L()),e&2){let t=n.$implicit,i=z();A("value",t),qe("aria-label",i.i18n.getMonthFullName(t,i.date.year)),S(),rt(i.i18n.getMonthShortName(t,i.date.year))}}function nF(e,n){if(e&1&&(k(0,"option",5),oe(1),L()),e&2){let t=n.$implicit,i=z();A("value",t),S(),rt(i.i18n.getYearNumerals(t))}}function iF(e,n){if(e&1){let t=Sn();k(0,"ngb-datepicker-navigation-select",7),re("select",function(r){xt(t);let o=z();return Pt(o.select.emit(r))}),L()}if(e&2){let t=z();A("date",t.date)("disabled",t.disabled)("months",t.selectBoxes.months)("years",t.selectBoxes.years)}}function rF(e,n){e&1&&Ae(0,"div",0)}function oF(e,n){e&1&&Ae(0,"div",0)}function sF(e,n){if(e&1&&(de(0,rF,1,0,"div",9),k(1,"div",10),oe(2),L(),de(3,oF,1,0,"div",9)),e&2){let t=n.$implicit,i=n.index,r=z(2);A("ngIf",i>0),S(2),ht(" ",r.i18n.getMonthLabel(t.firstDate)," "),S(),A("ngIf",i!==r.months.length-1)}}function aF(e,n){if(e&1&&de(0,sF,4,3,"ng-template",8),e&2){let t=z();A("ngForOf",t.months)}}var lF=["ngbDatepickerDayView",""],cF=["defaultDayTemplate"],uF=["content"];function dF(e,n){if(e&1&&Ae(0,"div",7),e&2){let t=n.date,i=n.currentMonth,r=n.selected,o=n.disabled,s=n.focused;A("date",t)("currentMonth",i)("selected",r)("disabled",o)("focused",s)}}function fF(e,n){if(e&1&&(k(0,"div",12),oe(1),L()),e&2){let t=z().$implicit,i=z(2);S(),ht(" ",i.i18n.getMonthLabel(t.firstDate)," ")}}function hF(e,n){if(e&1&&(k(0,"div",9),de(1,fF,2,1,"div",10),Ae(2,"ngb-datepicker-month",11),L()),e&2){let t=n.$implicit,i=z(2);S(),A("ngIf",i.navigation==="none"||i.displayMonths>1&&i.navigation==="select"),S(),A("month",t.firstDate)}}function pF(e,n){if(e&1&&de(0,hF,3,2,"div",8),e&2){let t=z();A("ngForOf",t.model.months)}}function gF(e,n){if(e&1){let t=Sn();k(0,"ngb-datepicker-navigation",13),re("navigate",function(r){xt(t);let o=z();return Pt(o.onNavigateEvent(r))})("select",function(r){xt(t);let o=z();return Pt(o.onNavigateDateSelect(r))}),L()}if(e&2){let t=z();A("date",t.model.firstDate)("months",t.model.months)("disabled",t.model.disabled)("showSelect",t.model.navigation==="select")("prevDisabled",t.model.prevDisabled)("nextDisabled",t.model.nextDisabled)("selectBoxes",t.model.selectBoxes)}}function mF(e,n){}function vF(e,n){}function _F(e,n){if(e&1&&(k(0,"div",5),oe(1),L()),e&2){let t=z(2);S(),rt(t.i18n.getWeekLabel())}}
5function yF(e,n){if(e&1&&(k(0,"div",6),oe(1),L()),e&2){let t=n.$implicit;S(),rt(t)}}function bF(e,n){if(e&1&&(k(0,"div",2),de(1,_F,2,1,"div",3)(2,yF,2,1,"div",4),L()),e&2){let t=z();S(),A("ngIf",t.datepicker.showWeekNumbers),S(),A("ngForOf",t.viewModel.weekdays)}}function DF(e,n){if(e&1&&(k(0,"div",11),oe(1),L()),e&2){let t=z(2).$implicit,i=z();S(),rt(i.i18n.getWeekNumerals(t.number))}}function wF(e,n){}function CF(e,n){if(e&1&&de(0,wF,0,0,"ng-template",14),e&2){let t=z().$implicit,i=z(3);A("ngTemplateOutlet",i.datepicker.dayTemplate)("ngTemplateOutletContext",t.context)}}function EF(e,n){if(e&1){let t=Sn();k(0,"div",12),re("click",function(r){let o=xt(t).$implicit;return z(3).doSelect(o),Pt(r.preventDefault())}),de(1,CF,1,2,"ng-template",13),L()}if(e&2){let t=n.$implicit;Mt("disabled",t.context.disabled)("hidden",t.hidden)("ngb-dp-today",t.context.today),A("tabindex",t.tabindex),qe("aria-label",t.ariaLabel),S(),A("ngIf",!t.hidden)}}function IF(e,n){if(e&1&&(k(0,"div",8),de(1,DF,2,1,"div",9)(2,EF,2,9,"div",10),L()),e&2){let t=z().$implicit,i=z();S(),A("ngIf",i.datepicker.showWeekNumbers),S(),A("ngForOf",t.days)}}function TF(e,n){if(e&1&&de(0,IF,3,2,"div",7),e&2){let t=n.$implicit;A("ngIf",!t.collapsed)}}var SF=["dialog"];function MF(e,n){if(e&1&&oe(0),e&2){let t=z(2);rt(t.title)}}
5function NF(e,n){}function OF(e,n){if(e&1&&(k(0,"h3",4),de(1,MF,1,1,"ng-template",null,0,Ga)(3,NF,0,0,"ng-template",5),L()),e&2){let t=cd(2),i=z();S(3),A("ngTemplateOutlet",i.isTitleTemplate()?i.title:t)("ngTemplateOutletContext",i.context)}}function kn(e){return parseInt(`${e}`,10)}function Il(e){return typeof e=="string"}function Ai(e){return!isNaN(kn(e))}function Ut(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e}function Zv(e){return e!=null}function RF(e){return e&&e.then}function o1(e){return Ai(e)?`0${e}`.slice(-2):""}function s1(e,n){return e&&e.className&&e.className.split&&e.className.split(/\s+/).indexOf(n)>=0}function AF(e,n){return!n||typeof e.closest>"u"?null:e.closest(n)}function p1(e){return(e||document.body).getBoundingClientRect()}function xF(e){return n=>new V(t=>{let i=s=>e.run(()=>t.next(s)),r=s=>e.run(()=>t.error(s)),o=()=>e.run(()=>t.complete());return n.subscribe({next:i,error:r,complete:o})})}function PF(e){let{transitionDelay:n,transitionDuration:t}=window.getComputedStyle(e),i=parseFloat(n),r=parseFloat(t);return(i+r)*1e3}var g1={animation:!0,transitionTimerDelayMs:5},kF=()=>{},{transitionTimerDelayMs:FF}=g1,uf=new Map,xi=(e,n,t,i)=>{let r=i.context||{},o=uf.get(n);if(o)switch(i.runningTransition){case"continue":return Le;case"stop":e.run(()=>o.transition$.complete()),r=Object.assign(o.context,r),uf.delete(n)}let s=t(n,i.animation,r)||kF;if(!i.animation||window.getComputedStyle(n).transitionProperty==="none")return e.run(()=>s()),I(void 0).pipe(xF(e));let a=new B,l=new B,c=a.pipe(Ih(!0));uf.set(n,{transition$:a,complete:()=>{l.next(),l.complete()},context:r});let u=PF(n);return e.runOutsideAngular(()=>{let d=ut(n,"transitionend").pipe(Me(c),ae(({target:f})=>f===n)),h=ai(u+FF).pipe(Me(c));Pc(h,d,l).pipe(Me(c)).subscribe(()=>{uf.delete(n),e.run(()=>{s(),a.next(),a.complete()})})}),a.asObservable()};var m1=(()=>{class e{constructor(){this.animation=g1.animation}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();var v1=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=K({type:e}),e.\u0275inj=Q({imports:[ot]}),e})();var _1=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=K({type:e}),e.\u0275inj=Q({imports:[ot]}),e})();var y1=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=K({type:e}),e.\u0275inj=Q({imports:[ot]}),e})();var b1=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=K({type:e}),e.\u0275inj=Q({}),e})(),$t=class e{constructor(n,t,i){this.year=Ut(n)?n:null,this.month=Ut(t)?t:null,this.day=Ut(i)?i:null}static from(n){return n instanceof e?n:n?new e(n.year,n.month,n.day):null}equals(n){return n!=null&&this.year===n.year&&this.month===n.month&&this.day===n.day}before(n){return n?this.year===n.year?this.month===n.month?this.day===n.day?!1:this.day<n.day:this.month<n.month:this.year<n.year:!1}after(n){return n?this.year===n.year?this.month===n.month?this.day===n.day?!1:this.day>n.day:this.month>n.month:this.year>n.year:!1}};function ws(e,n){return!LF(e,n)}function D1(e,n){return!e&&!n?!1:!e||!n?!0:e.year!==n.year||e.month!==n.month}function LF(e,n){return!e&&!n||!!e&&!!n&&e.equals(n)}function jF(e,n){if(n&&e&&n.before(e))throw new Error(`'maxDate' ${n} should be greater than 'minDate' ${e}`)}function df(e,n,t){return e&&n&&e.before(n)?n:e&&t&&e.after(t)?t:e||null}function Yv(e,n){let{minDate:t,maxDate:i,disabled:r,markDisabled:o}=n;return!(e==null||r||o&&o(e,{year:e.year,month:e.month})||t&&e.before(t)||i&&e.after(i))}function VF(e,n,t,i){if(!n)return[];let r=e.getMonths(n.year);if(t&&n.year===t.year){let o=r.findIndex(s=>s===t.month);r=r.slice(o)}if(i&&n.year===i.year){let o=r.findIndex(s=>s===i.month);r=r.slice(0,o+1)}return r}function BF(e,n,t){if(!e)return[];let i=n?Math.max(n.year,e.year-500):e.year-10,o=(t?Math.min(t.year,e.year+500):e.year+10)-i+1,s=Array(o);for(let a=0;a<o;a++)s[a]=i+a;return s}function HF(e,n,t){let i=Object.assign(e.getNext(n,"m"),{day:1});return t!=null&&i.after(t)}function UF(e,n,t){let i=Object.assign(e.getPrev(n,"m"),{day:1});return t!=null&&(i.year===t.year&&i.month<t.month||i.year<t.year&&t.month===1)}function $F(e,n,t,i,r){let{displayMonths:o,months:s}=t,a=s.splice(0,s.length);return Array.from({length:o},(c,u)=>{let d=Object.assign(e.getNext(n,"m",u),{day:1});if(s[u]=null,!r){let h=a.findIndex(f=>f.firstDate.equals(d));h!==-1&&(s[u]=a.splice(h,1)[0])}return d}
5).forEach((c,u)=>{s[u]===null&&(s[u]=GF(e,c,t,i,a.shift()||{}))}),s}function GF(e,n,t,i,r={}){let{dayTemplateData:o,minDate:s,maxDate:a,firstDayOfWeek:l,markDisabled:c,outsideDays:u,weekdayWidth:d,weekdaysVisible:h}=t,f=e.getToday();r.firstDate=null,r.lastDate=null,r.number=n.month,r.year=n.year,r.weeks=r.weeks||[],r.weekdays=r.weekdays||[],n=zF(e,n,l),h||(r.weekdays.length=0);for(let p=0;p<e.getWeeksPerMonth();p++){let v=r.weeks[p];v||(v=r.weeks[p]={number:0,days:[],collapsed:!0});let _=v.days;for(let b=0;b<e.getDaysPerWeek();b++){p===0&&h&&(r.weekdays[b]=i.getWeekdayLabel(e.getWeekday(n),d));let T=new $t(n.year,n.month,n.day),J=e.getNext(T),O=i.getDayAriaLabel(T),W=!!(s&&T.before(s)||a&&T.after(a));!W&&c&&(W=c(T,{month:r.number,year:r.year}));let X=T.equals(f),ge=o?o(T,{month:r.number,year:r.year}):void 0;r.firstDate===null&&T.month===r.number&&(r.firstDate=T),T.month===r.number&&J.month!==r.number&&(r.lastDate=T);let me=_[b];me||(me=_[b]={}),me.date=T,me.context=Object.assign(me.context||{},{$implicit:T,date:T,data:ge,currentMonth:r.number,currentYear:r.year,disabled:W,focused:!1,selected:!1,today:X}),me.tabindex=-1,me.ariaLabel=O,me.hidden=!1,n=J}v.number=e.getWeekNumber(_.map(b=>b.date),l),v.collapsed=u==="collapsed"&&_[0].date.month!==r.number&&_[_.length-1].date.month!==r.number}return r}function zF(e,n,t){let i=e.getDaysPerWeek(),r=new $t(n.year,n.month,1),o=e.getWeekday(r)%i;return e.getPrev(r,"d",(i+o-t)%i)}function a1(e){return new $t(e.getFullYear(),e.getMonth()+1,e.getDate())}function ff(e){let n=new Date(e.year,e.month-1,e.day,12);return isNaN(n.getTime())||n.setFullYear(e.year),n}function WF(){return new qF}var gf=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=y({token:e,factory:()=>WF(),providedIn:"root"}),e})(),qF=(()=>{class e extends gf{getDaysPerWeek(){return 7}getMonths(){return[1,2,3,4,5,6,7,8,9,10,11,12]}getWeeksPerMonth(){return 6}getNext(t,i="d",r=1){let o=ff(t),s=!0,a=o.getMonth();switch(i){case"y":o.setFullYear(o.getFullYear()+r);break;case"m":a+=r,o.setMonth(a),a=a%12,a<0&&(a=a+12);break;case"d":o.setDate(o.getDate()+r),s=!1;break;default:return t}return s&&o.getMonth()!==a&&o.setDate(0),a1(o)}getPrev(t,i="d",r=1){return this.getNext(t,i,-r)}getWeekday(t){let r=ff(t).getDay();return r===0?7:r}getWeekNumber(t,i){i===7&&(i=0);let r=(11-i)%7,o=t[r],s=ff(o);s.setDate(s.getDate()+4-(s.getDay()||7));let a=s.getTime();return s.setMonth(0),s.setDate(1),Math.floor(Math.round((a-s.getTime())/864e5)/7)+1}getToday(){return a1(new Date)}isValid(t){if(!t||!Ut(t.year)||!Ut(t.month)||!Ut(t.day)||t.year===0)return!1;let i=ff(t);return!isNaN(i.getTime())&&i.getFullYear()===t.year&&i.getMonth()+1===t.month&&i.getDate()===t.day}}return e.\u0275fac=(()=>{let n;return function(i){return(n||(n=Ie(e)))(i||e)}})(),e.\u0275prov=y({token:e,factory:e.\u0275fac}),e})();function ZF(e){return new YF(e)}var fo=(()=>{class e{getMonthLabel(t){return`${this.getMonthFullName(t.month,t.year)} ${this.getYearNumerals(t.year)}`}getDayNumerals(t){return`${t.day}`}getWeekNumerals(t){return`${t}`}getYearNumerals(t){return`${t}`}getWeekLabel(){return""}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=y({token:e,factory:function(t){let i=null;return t?i=new t:i=ZF(D(Ci)),i},providedIn:"root"}),e})(),YF=(()=>{class e extends fo{constructor(t){super(),this._locale=t,this._monthsShort=Ka(t,He.Standalone,te.Abbreviated),this._monthsFull=Ka(t,He.Standalone,te.Wide)}getWeekdayLabel(t,i){let r=Td(this._locale,He.Standalone,i===void 0?te.Short:i);return r.map((s,a)=>r[(a+1)%7])[t-1]||""}getMonthShortName(t){return this._monthsShort[t-1]||""}getMonthFullName(t){return this._monthsFull[t-1]||""}getDayAriaLabel(t){let i=new Date(t.year,t.month-1,t.day);return Sd(i,"fullDate",this._locale)}}return e.\u0275fac=function(t){return new(t||e)(D(Ci))},e.\u0275prov=y({token:e,factory:e.\u0275fac}),e})(),Qv=(()=>{class e{constructor(t,i){this._calendar=t,this._i18n=i,this._VALIDATORS={dayTemplateData:r=>{if(this._state.dayTemplateData!==r)return{dayTemplateData:r}},displayMonths:r=>{if(r=kn(r),Ut(r)&&r>0&&this._state.displayMonths!==r)return{displayMonths:r}},disabled:r=>{if(this._state.disabled!==r)return{disabled:r}},firstDayOfWeek:r=>{if(r=kn(r),Ut(r)&&r>=0&&this._state.firstDayOfWeek!==r)return{firstDayOfWeek:r}},focusVisible:r=>{if(this._state.focusVisible!==r&&!this._state.disabled)return{focusVisible:r}},markDisabled:r=>{if(this._state.markDisabled!==r)return{markDisabled:r}},maxDate:r=>{let o=this.toValidDate(r,null);if(ws(this._state.maxDate,o))return{maxDate:o}},minDate:r=>{let o=this.toValidDate(r,null);if(ws(this._state.minDate,o))return{minDate:o}},navigation:r=>{if(this._state.navigation!==r)return{navigation:r}},outsideDays:r=>{if(this._state.outsideDays!==r)return{outsideDays:r}},weekdays:r=>{let o=r===!0||r===!1?te.Short:r,s=r===!0||r===!1?r:!0;if(this._state.weekdayWidth!==o||this._state.weekdaysVisible!==s)return{weekdayWidth:o,weekdaysVisible:s}}},this._model$=new B,this._dateSelect$=new B,this._state={dayTemplateData:null,markDisabled:null,maxDate:null,minDate:null,disabled:!1,displayMonths:1,firstDate:null,firstDayOfWeek:1,lastDate:null,focusDate:null,focusVisible:!1,months:[],navigation:"select",outsideDays:"visible",prevDisabled:!1,nextDisabled:!1,selectedDate:null,selectBoxes:{years:[],months:[]},weekdayWidth:te.Short,weekdaysVisible:!0}}get model$(){return this._model$.pipe(ae(t=>t.months.length>0))}get dateSelect$(){return this._dateSelect$.pipe(ae(t=>t!==null))}set(t){let i=Object.keys(t).map(r=>this._VALIDATORS[r](t[r])).reduce((r,o)=>w(w({},r),o),{});Object.keys(i).length>0&&this._nextState(i)}focus(t){let i=this.toValidDate(t,null);i!=null&&!this._state.disabled&&ws(this._state.focusDate,i)&&this._nextState({focusDate:t})}focusSelect(){Yv(this._state.focusDate,this._state)&&this.select(this._state.focusDate,{emitEvent:!0})}open(t){let i=this.toValidDate(t,this._calendar.getToday());i!=null&&!this._state.disabled&&(!this._state.firstDate||D1(this._state.firstDate,i))&&this._nextState({firstDate:i})}select(t,i={}){let r=this.toValidDate(t,null);r!=null&&!this._state.disabled&&(ws(this._state.selectedDate,r)&&this._nextState({selectedDate:r}),i.emitEvent&&Yv(r,this._state)&&this._dateSelect$.next(r))}toValidDate(t,i){let r=$t.from(t);return i===void 0&&(i=this._calendar.getToday()),this._calendar.isValid(r)?r:i}getMonth(t){for(let i of this._state.months)if(t.month===i.number&&t.year===i.year)return i;throw new Error(`month ${t.month} of year ${t.year} not found`)}_nextState(t){let i=this._updateState(t);this._patchContexts(i),this._state=i,this._model$.next(this._state)}_patchContexts(t){let{months:i,displayMonths:r,selectedDate:o,focusDate:s,focusVisible:a,disabled:l,outsideDays:c}=t;t.months.forEach(u=>{u.weeks.forEach(d=>{d.days.forEach(h=>{s&&(h.context.focused=s.equals(h.date)&&a),h.tabindex=!l&&s&&h.date.equals(s)&&s.month===u.number?0:-1,l===!0&&(h.context.disabled=!0),o!==void 0&&(h.context.selected=o!==null&&o.equals(h.date)),u.number!==h.date.month&&(h.hidden=c==="hidden"||c==="collapsed"||r>1&&h.date.after(i[0].firstDate)&&h.date.before(i[r-1].lastDate))})})})}_updateState(t){let i=Object.assign({},this._state,t),r=i.firstDate;if(("minDate"in t||"maxDate"in t)&&(jF(i.minDate,i.maxDate),i.focusDate=df(i.focusDate,i.minDate,i.maxDate),i.firstDate=df(i.firstDate,i.minDate,i.maxDate),r=i.focusDate),"disabled"in t&&(i.focusVisible=!1),"selectedDate"in t&&this._state.months.length===0&&(r=i.selectedDate),"focu
5sVisible"in t||"focusDate"in t&&(i.focusDate=df(i.focusDate,i.minDate,i.maxDate),r=i.focusDate,i.months.length!==0&&i.focusDate&&!i.focusDate.before(i.firstDate)&&!i.focusDate.after(i.lastDate)))return i;if("firstDate"in t&&(i.firstDate=df(i.firstDate,i.minDate,i.maxDate),r=i.firstDate),r){let o="dayTemplateData"in t||"firstDayOfWeek"in t||"markDisabled"in t||"minDate"in t||"maxDate"in t||"disabled"in t||"outsideDays"in t||"weekdaysVisible"in t,s=$F(this._calendar,r,i,this._i18n,o);i.months=s,i.firstDate=s[0].firstDate,i.lastDate=s[s.length-1].lastDate,"selectedDate"in t&&!Yv(i.selectedDate,i)&&(i.selectedDate=null),"firstDate"in t&&(!i.focusDate||i.focusDate.before(i.firstDate)||i.focusDate.after(i.lastDate))&&(i.focusDate=r);let a=!this._state.firstDate||this._state.firstDate.year!==i.firstDate.year,l=!this._state.firstDate||this._state.firstDate.month!==i.firstDate.month;i.navigation==="select"?(("minDate"in t||"maxDate"in t||i.selectBoxes.years.length===0||a)&&(i.selectBoxes.years=BF(i.firstDate,i.minDate,i.maxDate)),("minDate"in t||"maxDate"in t||i.selectBoxes.months.length===0||a)&&(i.selectBoxes.months=VF(this._calendar,i.firstDate,i.minDate,i.maxDate))):i.selectBoxes={years:[],months:[]},(i.navigation==="arrows"||i.navigation==="select")&&(l||a||"minDate"in t||"maxDate"in t||"disabled"in t)&&(i.prevDisabled=i.disabled||UF(this._calendar,i.firstDate,i.minDate),i.nextDisabled=i.disabled||HF(this._calendar,i.lastDate,i.maxDate))}return i}}return e.\u0275fac=function(t){return new(t||e)(D(gf),D(fo))},e.\u0275prov=y({token:e,factory:e.\u0275fac}),e})(),pf=(function(e){return e[e.PREV=0]="PREV",e[e.NEXT=1]="NEXT",e})(pf||{}),t_=(()=>{class e{constructor(){this.displayMonths=1,this.firstDayOfWeek=1,this.navigation="select",this.outsideDays="visible",this.showWeekNumbers=!1,this.weekdays=te.Short}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function QF(){return new JF}var n_=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=y({token:e,factory:()=>QF(),providedIn:"root"}),e})(),JF=(()=>{class e extends n_{fromModel(t){return t&&Ut(t.year)&&Ut(t.month)&&Ut(t.day)?{year:t.year,month:t.month,day:t.day}:null}toModel(t){return t&&Ut(t.year)&&Ut(t.month)&&Ut(t.day)?{year:t.year,month:t.month,day:t.day}:null}}return e.\u0275fac=(()=>{let n;return function(i){return(n||(n=Ie(e)))(i||e)}})(),e.\u0275prov=y({token:e,factory:e.\u0275fac}),e})(),KF=(()=>{class e{constructor(t,i){this.i18n=t,this._renderer=i,this.select=new H,this._month=-1,this._year=-1}changeMonth(t){this.select.emit(new $t(this.date.year,kn(t),1))}changeYear(t){this.select.emit(new $t(kn(t),this.date.month,1))}ngAfterViewChecked(){this.date&&(this.date.month!==this._month&&(this._month=this.date.month,this._renderer.setProperty(this.monthSelect.nativeElement,"value",this._month)),this.date.year!==this._year&&(this._year=this.date.year,this._renderer.setProperty(this.yearSelect.nativeElement,"value",this._year)))}}return e.\u0275fac=function(t){return new(t||e)(m(fo),m(Ve))},e.\u0275cmp=We({type:e,selectors:[["ngb-datepicker-navigation-select"]],viewQuery:function(t,i){if(t&1&&(qr(Xk,7,ie),qr(eF,7,ie)),t&2){let r;Qn(r=Jn())&&(i.monthSelect=r.first),Qn(r=Jn())&&(i.yearSelect=r.first)}},inputs:{date:"date",disabled:"disabled",months:"months",years:"years"},outputs:{select:"select"},standalone:!1,decls:6,vars:4,consts:()=>{let n;n=$localize`:@@ngb.datepicker.select-month:Select month`;let t;t=$localize`:@@ngb.datepicker.select-month:Select month`;let i;i=$localize`:@@ngb.datepicker.select-year:Select year`;let r;return r=$localize`:@@ngb.datepicker.select-year:Select year`,[["month",""],["year",""],["aria-label",n,"title",t,1,"form-select",3,"change","disabled"],[3,"value",4,"ngFor","ngForOf"],["aria-label",i,"title",r,1,"form-select",3,"change","disabled"],[3,"value"]]},template:function(t,i){if(t&1){let r=Sn();k(0,"select",2,0),re("change",function(s){return xt(r),Pt(i.changeMonth(s.target.value))}),de(2,tF,2,3,"option",3),L(),k(3,"select",4,1),re("change",function(s){return xt(r),Pt(i.changeYear(s.target.value))}),de(5,nF,2,2,"option",3),L()}t&2&&(A("disabled",i.disabled),S(2),A("ngForOf",i.months),S(),A("disabled",i.disabled),S(2),A("ngForOf",i.years))},dependencies:[Kr,SE,NE],styles:[`ngb-datepicker-navigation-select>.form-select{flex:1 1 auto;padding:0 .5rem;font-size:.875rem;height:1.85rem}ngb-datepicker-navigation-select>.form-select:focus{z-index:1}ngb-datepicker-navigation-select>.form-select::-ms-value{background-color:transparent!important}
6`],encapsulation:2,changeDetection:0}),e})(),XF=(()=>{class e{constructor(t){this.i18n=t,this.navigation=pf,this.months=[],this.navigate=new H,this.select=new H}
6onClickPrev(t){t.currentTarget.focus(),this.navigate.emit(this.navigation.PREV)}onClickNext(t){t.currentTarget.focus(),this.navigate.emit(this.navigation.NEXT)}}return e.\u0275fac=function(t){return new(t||e)(m(fo))},e.\u0275cmp=We({type:e,selectors:[["ngb-datepicker-navigation"]],inputs:{date:"date",disabled:"disabled",months:"months",showSelect:"showSelect",prevDisabled:"prevDisabled",nextDisabled:"nextDisabled",selectBoxes:"selectBoxes"},outputs:{navigate:"navigate",select:"select"},standalone:!1,decls:8,vars:4,consts:()=>{let n;n=$localize`:@@ngb.datepicker.previous-month:Previous month`;let t;t=$localize`:@@ngb.datepicker.previous-month:Previous month`;let i;i=$localize`:@@ngb.datepicker.next-month:Next month`;let r;return r=$localize`:@@ngb.datepicker.next-month:Next month`,[[1,"ngb-dp-arrow"],["type","button","aria-label",n,"title",t,1,"btn","btn-link","ngb-dp-arrow-btn",3,"click","disabled"],[1,"ngb-dp-navigation-chevron"],["class","ngb-dp-navigation-select",3,"date","disabled","months","years","select",4,"ngIf"],[4,"ngIf"],[1,"ngb-dp-arrow","right"],["type","button","aria-label",i,"title",r,1,"btn","btn-link","ngb-dp-arrow-btn",3,"click","disabled"],[1,"ngb-dp-navigation-select",3,"select","date","disabled","months","years"],["ngFor","",3,"ngForOf"],["class","ngb-dp-arrow",4,"ngIf"],[1,"ngb-dp-month-name"]]},template:function(t,i){t&1&&(k(0,"div",0)(1,"button",1),re("click",function(o){return i.onClickPrev(o)}),Ae(2,"span",2),L()(),de(3,iF,1,4,"ngb-datepicker-navigation-select",3)(4,aF,1,1,null,4),k(5,"div",5)(6,"button",6),re("click",function(o){return i.onClickNext(o)}),Ae(7,"span",2),L()()),t&2&&(S(),A("disabled",i.prevDisabled),S(2),A("ngIf",i.showSelect),S(),A("ngIf",!i.showSelect),S(2),A("disabled",i.nextDisabled))},dependencies:[Kr,Ii,KF],styles:[`ngb-datepicker-navigation{display:flex;align-items:center}.ngb-dp-navigation-chevron{border-style:solid;border-width:.2em .2em 0 0;display:inline-block;width:.75em;height:.75em;margin-left:.25em;margin-right:.15em;transform:rotate(-135deg)}.ngb-dp-arrow{display:flex;flex:1 1 auto;padding-right:0;padding-left:0;margin:0;width:2rem;height:2rem}.ngb-dp-arrow.right{justify-content:flex-end}.ngb-dp-arrow.right .ngb-dp-navigation-chevron{transform:rotate(45deg);margin-left:.15em;margin-right:.25em}.ngb-dp-arrow-btn{padding:0 .25rem;margin:0 .5rem;border:none;background-color:transparent;z-index:1}.ngb-dp-arrow-btn:focus{outline-width:1px;outline-style:auto}@media all and (-ms-high-contrast: none),(-ms-high-contrast: active){.ngb-dp-arrow-btn:focus{outline-style:solid}}.ngb-dp-month-name{font-size:larger;height:2rem;line-height:2rem;text-align:center}.ngb-dp-navigation-select{display:flex;flex:1 1 9rem}
7`],encapsulation:2,changeDetection:0}),e})(),eL=(()=>{class e{constructor(t){this.i18n=t}isMuted(){return!this.selected&&(this.date.month!==this.currentMonth||this.disabled)}}return e.\u0275fac=function(t){return new(t||e)(m(fo))},e.\u0275cmp=We({type:e,selectors:[["","ngbDatepickerDayView",""]],hostAttrs:[1,"btn-light"],hostVars:10,hostBindings:function(t,i){t&2&&Mt("bg-primary",i.selected)("text-white",i.selected)("text-muted",i.isMuted())("outside",i.isMuted())("active",i.focused)},inputs:{currentMonth:"currentMonth",date:"date",disabled:"disabled",focused:"focused",selected:"selected"},standalone:!1,attrs:lF,decls:1,vars:1,template:function(t,i){t&1&&oe(0),t&2&&rt(i.i18n.getDayNumerals(i.date))},styles:[`[ngbDatepickerDayView]{text-align:center;width:2rem;height:2rem;line-height:2rem;border-radius:.25rem;background:transparent}[ngbDatepickerDayView]:hover:not(.bg-primary),[ngbDatepickerDayView].active:not(.bg-primary){background-color:var(--bs-btn-bg);outline:1px solid var(--bs-border-color)}[ngbDatepickerDayView].outside{opacity:.5}
8`],encapsulation:2,changeDetection:0}),e})(),Ht=(function(e){return e[e.Tab=9]="Tab",e[e.Enter=13]="Enter",e[e.Escape=27]="Escape",e[e.Space=32]="Space",e[e.PageUp=33]="PageUp",e[e.PageDown=34]="PageDown",e[e.End=35]="End",e[e.Home=36]="Home",e[e.ArrowLeft=37]="ArrowLeft",e[e.ArrowUp=38]="ArrowUp",e[e.ArrowRight=39]="ArrowRight",e[e.ArrowDown=40]="ArrowDown",e})(Ht||{}),tL=(()=>{class e{processKey(t,i){let{state:r,calendar:o}=i;switch(t.which){case Ht.PageUp:i.focusDate(o.getPrev(r.focusedDate,t.shiftKey?"y":"m",1));break;case Ht.PageDown:i.focusDate(o.getNext(r.focusedDate,t.shiftKey?"y":"m",1));break;case Ht.End:i.focusDate(t.shiftKey?r.maxDate:r.lastDate);break;case Ht.Home:i.focusDate(t.shiftKey?r.minDate:r.firstDate);break;case Ht.ArrowLeft:i.focusDate(o.getPrev(r.focusedDate,"d",1));break;case Ht.ArrowUp:i.focusDate(o.getPrev(r.focusedDate,"d",o.getDaysPerWeek()));break;case Ht.ArrowRight:i.focusDate(o.getNext(r.focusedDate,"d",1));break;case Ht.ArrowDown:i.focusDate(o.getNext(r.focusedDate,"d",o.getDaysPerWeek()));break;case Ht.Enter:case Ht.Space:i.focusSelect();break;default:return}t.preventDefault(),t.stopPropagation()}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),nL=(()=>{class e{constructor(t){this.templateRef=t}}return e.\u0275fac=function(t){return new(t||e)(m(kt))},e.\u0275dir=G({type:e,selectors:[["ng-template","ngbDatepickerContent",""]],standalone:!1}),e})(),w1=(()=>{class e{constructor(t,i,r,o,s,a,l,c){this._service=t,this._calendar=i,this.i18n=r,this._elementRef=a,this._ngbDateAdapter=l,this._ngZone=c,this._controlValue=null,this._destroyed$=new B,this._publicState={},this.navigate=new H,this.dateSelect=new H,this.onChange=u=>{},this.onTouched=()=>{},["dayTemplate","dayTemplateData","displayMonths","firstDayOfWeek","footerTemplate","markDisabled","minDate","maxDate","navigation","outsideDays","showWeekNumbers","startDate","weekdays"].forEach(u=>this[u]=o[u]),t.dateSelect$.pipe(Me(this._destroyed$)).subscribe(u=>{this.dateSelect.emit(u)}),t.model$.pipe(Me(this._destroyed$)).subscribe(u=>{let d=u.firstDate,h=this.model?this.model.firstDate:null;this._publicState={maxDate:u.maxDate,minDate:u.minDate,firstDate:u.firstDate,lastDate:u.lastDate,focusedDate:u.focusDate,months:u.months.map(b=>b.firstDate)};let f=!1;
8if(!d.equals(h)&&(this.navigate.emit({current:h?{year:h.year,month:h.month}:null,next:{year:d.year,month:d.month},preventDefault:()=>f=!0}),f&&h!==null)){this._service.open(h);return}let p=u.selectedDate,v=u.focusDate,_=this.model?this.model.focusDate:null;this.model=u,ws(p,this._controlValue)&&(this._controlValue=p,this.onTouched(),this.onChange(this._ngbDateAdapter.toModel(p))),ws(v,_)&&_&&u.focusVisible&&this.focus(),s.markForCheck()})}get state(){return this._publicState}get calendar(){return this._calendar}focusDate(t){this._service.focus($t.from(t))}focusSelect(){this._service.focusSelect()}focus(){this._ngZone.onStable.asObservable().pipe(we(1)).subscribe(()=>{let t=this._elementRef.nativeElement.querySelector('div.ngb-dp-day[tabindex="0"]');t&&t.focus()})}navigateTo(t){this._service.open($t.from(t?t.day?t:j(w({},t),{day:1}):null))}ngAfterViewInit(){this._ngZone.runOutsideAngular(()=>{let t=ut(this._contentEl.nativeElement,"focusin"),i=ut(this._contentEl.nativeElement,"focusout"),{nativeElement:r}=this._elementRef;Ac(t,i).pipe(ae(({target:o,relatedTarget:s})=>!(s1(o,"ngb-dp-day")&&s1(s,"ngb-dp-day")&&r.contains(o)&&r.contains(s))),Me(this._destroyed$)).subscribe(({type:o})=>this._ngZone.run(()=>this._service.set({focusVisible:o==="focusin"})))})}ngOnDestroy(){this._destroyed$.next()}ngOnInit(){if(this.model===void 0){let t={};["dayTemplateData","displayMonths","markDisabled","firstDayOfWeek","navigation","minDate","maxDate","outsideDays","weekdays"].forEach(i=>t[i]=this[i]),this._service.set(t),this.navigateTo(this.startDate)}this.dayTemplate||(this.dayTemplate=this._defaultDayTemplate)}ngOnChanges(t){let i={};if(["dayTemplateData","displayMonths","markDisabled","firstDayOfWeek","navigation","minDate","maxDate","outsideDays","weekdays"].filter(r=>r in t).forEach(r=>i[r]=this[r]),this._service.set(i),"startDate"in t){let{currentValue:r,previousValue:o}=t.startDate;D1(o,r)&&this.navigateTo(this.startDate)}}onDateSelect(t){this._service.focus(t),this._service.select(t,{emitEvent:!0})}onNavigateDateSelect(t){this._service.open(t)}onNavigateEvent(t){switch(t){case pf.PREV:this._service.open(this._calendar.getPrev(this.model.firstDate,"m",1));break;case pf.NEXT:this._service.open(this._calendar.getNext(this.model.firstDate,"m",1));break}}registerOnChange(t){this.onChange=t}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this._service.set({disabled:t})}writeValue(t){this._controlValue=$t.from(this._ngbDateAdapter.fromModel(t)),this._service.select(this._controlValue)}}return e.\u0275fac=function(t){return new(t||e)(m(Qv),m(gf),m(fo),m(t_),m(Dt),m(ie),m(n_),m(ee))},e.\u0275cmp=We({type:e,selectors:[["ngb-datepicker"]],contentQueries:function(t,i,r){if(t&1&&Ua(r,nL,7),t&2){let o;Qn(o=Jn())&&(i.contentTemplate=o.first)}},viewQuery:function(t,i){if(t&1&&(qr(cF,7),qr(uF,7)),t&2){let r;Qn(r=Jn())&&(i._defaultDayTemplate=r.first),Qn(r=Jn())&&(i._contentEl=r.first)}},hostVars:2,hostBindings:function(t,i){t&2&&Mt("disabled",i.model.disabled)},inputs:{dayTemplate:"dayTemplate",dayTemplateData:"dayTemplateData",displayMonths:"displayMonths",firstDayOfWeek:"firstDayOfWeek",footerTemplate:"footerTemplate",markDisabled:"markDisabled",maxDate:"maxDate",minDate:"minDate",navigation:"navigation",outsideDays:"outsideDays",showWeekNumbers:"showWeekNumbers",startDate:"startDate",weekdays:"weekdays"},outputs:{navigate:"navigate",dateSelect:"dateSelect"},exportAs:["ngbDatepicker"],standalone:!1,features:[Te([{provide:Rn,useExisting:Ee(()=>e),multi:!0},Qv]),ke],decls:10,vars:5,consts:[["defaultDayTemplate",""],["defaultContentTemplate",""],["content",""],[1,"ngb-dp-header"],[3,"date","months","disabled","showSelect","prevDisabled","nextDisabled","selectBoxes","navigate","select",4,"ngIf"],[1,"ngb-dp-content"],[3,"ngTemplateOutlet"],["ngbDatepickerDayView","",3,"date","currentMonth","selected","disabled","focused"],["class","ngb-dp-month",4,"ngFor","ngForOf"],[1,"ngb-dp-month"],["class","ngb-dp-month-name",4,"ngIf"],[3,"month"],[1,"ngb-dp-month-name"],[3,"navigate","select","date","months","disabled","showSelect","prevDisabled","nextDisabled","selectBoxes"]
8],template:function(t,i){if(t&1&&(de(0,dF,1,5,"ng-template",null,0,Ga)(2,pF,1,1,"ng-template",null,1,Ga),k(4,"div",3),de(5,gF,1,7,"ngb-datepicker-navigation",4),L(),k(6,"div",5,2),de(8,mF,0,0,"ng-template",6),L(),de(9,vF,0,0,"ng-template",6)),t&2){let r=cd(3);S(5),A("ngIf",i.navigation!=="none"),S(),Mt("ngb-dp-months",!i.contentTemplate),S(2),A("ngTemplateOutlet",(i.contentTemplate==null?null:i.contentTemplate.templateRef)||r),S(),A("ngTemplateOutlet",i.footerTemplate)}},dependencies:()=>[Kr,Ii,Xa,iL,XF,eL],styles:[`ngb-datepicker{border:1px solid var(--bs-border-color);border-radius:.25rem;display:inline-block}ngb-datepicker-month{pointer-events:auto}ngb-datepicker.dropdown-menu{padding:0}ngb-datepicker.disabled .ngb-dp-weekday,ngb-datepicker.disabled .ngb-dp-week-number,ngb-datepicker.disabled .ngb-dp-month-name{color:var(--bs-text-muted)}.ngb-dp-body{z-index:1055}.ngb-dp-header{border-bottom:0;border-radius:.25rem .25rem 0 0;padding-top:.25rem;background-color:var(--bs-light)}.ngb-dp-months{display:flex}.ngb-dp-month{pointer-events:none}.ngb-dp-month-name{font-size:larger;height:2rem;line-height:2rem;text-align:center;background-color:var(--bs-light)}.ngb-dp-month+.ngb-dp-month .ngb-dp-month-name,.ngb-dp-month+.ngb-dp-month .ngb-dp-week{padding-left:1rem}.ngb-dp-month:last-child .ngb-dp-week{padding-right:.25rem}.ngb-dp-month:first-child .ngb-dp-week{padding-left:.25rem}.ngb-dp-month .ngb-dp-week:last-child{padding-bottom:.25rem}
9`],encapsulation:2,changeDetection:0}),e})(),iL=(()=>{class e{constructor(t,i,r,o){this.i18n=t,this.datepicker=i,this._keyboardService=r,this._service=o}set month(t){this.viewModel=this._service.getMonth(t)}onKeyDown(t){this._keyboardService.processKey(t,this.datepicker)}doSelect(t){!t.context.disabled&&!t.hidden&&this.datepicker.onDateSelect(t.date)}}return e.\u0275fac=function(t){return new(t||e)(m(fo),m(w1),m(tL),m(Qv))},e.\u0275cmp=We({type:e,selectors:[["ngb-datepicker-month"]],hostAttrs:["role","grid"],hostBindings:function(t,i){t&1&&re("keydown",function(o){return i.onKeyDown(o)})},inputs:{month:"month"},standalone:!1,decls:2,vars:2,consts:[["class","ngb-dp-week ngb-dp-weekdays","role","row",4,"ngIf"],["ngFor","",3,"ngForOf"],["role","row",1,"ngb-dp-week","ngb-dp-weekdays"],["class","ngb-dp-weekday ngb-dp-showweek small",4,"ngIf"],["class","ngb-dp-weekday small","role","columnheader",4,"ngFor","ngForOf"],[1,"ngb-dp-weekday","ngb-dp-showweek","small"],["role","columnheader",1,"ngb-dp-weekday","small"],["class","ngb-dp-week","role","row",4,"ngIf"],["role","row",1,"ngb-dp-week"],["class","ngb-dp-week-number small text-muted",4,"ngIf"],["class","ngb-dp-day","role","gridcell",3,"disabled","tabindex","hidden","ngb-dp-today","click",4,"ngFor","ngForOf"],[1,"ngb-dp-week-number","small","text-muted"],["role","gridcell",1,"ngb-dp-day",3,"click","tabindex"],[3,"ngIf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(t,i){t&1&&de(0,bF,3,2,"div",0)(1,TF,1,1,"ng-template",1),t&2&&(A("ngIf",i.viewModel.weekdays.length>0),S(),A("ngForOf",i.viewModel.weeks))},dependencies:[Kr,Ii,Xa],styles:[`ngb-datepicker-month{display:block}.ngb-dp-weekday,.ngb-dp-week-number{line-height:2rem;text-align:center;font-style:italic}.ngb-dp-weekday{color:var(--bs-info)}.ngb-dp-week{border-radius:.25rem;display:flex}.ngb-dp-weekdays{border-bottom:1px solid var(--bs-border-color);border-radius:0;background-color:var(--bs-light)}.ngb-dp-day,.ngb-dp-weekday,.ngb-dp-week-number{width:2rem;height:2rem}.ngb-dp-day{cursor:pointer}.ngb-dp-day.disabled,.ngb-dp-day.hidden{cursor:default;pointer-events:none}.ngb-dp-day[tabindex="0"]{z-index:1}
10`],encapsulation:2}),e})(),hf=(e,n)=>n?n.some(t=>t.contains(e)):!1,l1=(e,n)=>!n||AF(e,n)!=null,rL=(()=>{let e=()=>/iPad|iPhone|iPod/.test(navigator.userAgent)||/Macintosh/.test(navigator.userAgent)&&navigator.maxTouchPoints&&navigator.maxTouchPoints>2,n=()=>/Android/.test(navigator.userAgent);return typeof navigator<"u"?!!navigator.userAgent&&(e()||n()):!1})(),oL=e=>rL?()=>setTimeout(()=>e(),100):e;function C1(e,n,t,i,r,o,s,a){t&&e.runOutsideAngular(oL(()=>{let l=h=>{let f=h.target;return h.button===2||hf(f,s)?!1:t==="inside"?hf(f,o)&&l1(f,a):t==="outside"?!hf(f,o):l1(f,a)||!hf(f,o)},c=ut(n,"keydown").pipe(Me(r),ae(h=>h.which===Ht.Escape),Ce(h=>h.preventDefault())),u=ut(n,"mousedown").pipe(N(l),Me(r)),d=ut(n,"mouseup").pipe(Xs(u),ae(([h,f])=>f),kc(0),Me(r));Pc([c.pipe(N(h=>0)),d.pipe(N(h=>1))]).subscribe(h=>e.run(()=>i(h)))}
10))}var sL=["a[href]","button:not([disabled])",'input:not([disabled]):not([type="hidden"])',"select:not([disabled])","textarea:not([disabled])","[contenteditable]",'[tabindex]:not([tabindex="-1"])'].join(", ");function E1(e){let n=Array.from(e.querySelectorAll(sL)).filter(t=>t.tabIndex!==-1);return[n[0],n[n.length-1]]}var I1=(e,n,t,i=!1)=>{e.runOutsideAngular(()=>{let r=ut(n,"focusin").pipe(Me(t),N(o=>o.target));ut(n,"keydown").pipe(Me(t),ae(o=>o.which===Ht.Tab),Xs(r)).subscribe(([o,s])=>{let[a,l]=E1(n);(s===a||s===n)&&o.shiftKey&&(l.focus(),o.preventDefault()),s===l&&!o.shiftKey&&(a.focus(),o.preventDefault())}),i&&ut(n,"click").pipe(Me(t),Xs(r),N(o=>o[1])).subscribe(o=>o.focus())})},aL=/\s+/,lL=/  +/gi,cL={top:["top"],bottom:["bottom"],start:["left","right"],left:["left"],end:["right","left"],right:["right"],"top-start":["top-start","top-end"],"top-left":["top-start"],"top-end":["top-end","top-start"],"top-right":["top-end"],"bottom-start":["bottom-start","bottom-end"],"bottom-left":["bottom-start"],"bottom-end":["bottom-end","bottom-start"],"bottom-right":["bottom-end"],"start-top":["left-start","right-start"],"left-top":["left-start"],"start-bottom":["left-end","right-end"],"left-bottom":["left-end"],"end-top":["right-start","left-start"],"right-top":["right-start"],"end-bottom":["right-end","left-end"],"right-bottom":["right-end"]};function uL(e,n){let[t,i]=cL[e];return n&&i||t}var dL=/^left/,fL=/^right/,hL=/^start/,pL=/^end/;function gL(e,n){let[t,i]=n.split("-"),r=t.replace(dL,"start").replace(fL,"end"),o=[r];if(i){let s=i;(t==="left"||t==="right")&&(s=s.replace(hL,"top").replace(pL,"bottom")),o.push(`${r}-${s}`)}return e&&(o=o.map(s=>`${e}-${s}`)),o.join(" ")}function c1({placement:e,baseClass:n},t){let i=Array.isArray(e)?e:e.split(aL),r=["top","bottom","start","end","top-start","top-end","bottom-start","bottom-end","start-top","start-bottom","end-top","end-bottom"],o=i.findIndex(c=>c==="auto");o>=0&&r.forEach(function(c){i.find(u=>u.search("^"+c)!==-1)==null&&i.splice(o++,1,c)});let s=i.map(c=>uL(c,t.isRTL()));return{placement:s.shift(),modifiers:[{name:"bootstrapClasses",enabled:!!n,phase:"write",fn({state:c}){let u=new RegExp(n+"(-[a-z]+)*","gi"),d=c.elements.popper,h=c.placement,f=d.className;f=f.replace(u,""),f+=` ${gL(n,h)}`,f=f.trim().replace(lL," "),d.className=f}},Lv,Bv,Av,{enabled:!0,name:"flip",options:{fallbackPlacements:s}},{enabled:!0,name:"preventOverflow",phase:"main",fn:function(){}}]}}function u1(e){return e}function T1(e){let n=null;return{createPopper(t){if(!n){let r=(t.updatePopperOptions||u1)(c1(t,e));n=qv(t.hostElement,t.targetElement,r)}},update(){n&&n.update()},setOptions(t){if(n){let r=(t.updatePopperOptions||u1)(c1(t,e));n.setOptions(r)}},destroy(){n&&(n.destroy(),n=null)}}}var d1=(()=>{class e extends t_{constructor(){super(...arguments),this.autoClose=!0,this.placement=["bottom-start","bottom-end","top-start","top-end"],this.popperOptions=t=>t,this.restoreFocus=!0}}return e.\u0275fac=(()=>{let n;return function(i){return(n||(n=Ie(e)))(i||e)}})(),e.\u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function S1(e){return n=>(n.modifiers.push(jv,{name:"offset",options:{offset:()=>e}}),n)}function mL(){return new vL}var M1=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=y({token:e,factory:()=>mL(),providedIn:"root"}),e})(),vL=(()=>{class e extends M1{parse(t){if(t!=null){let i=t.trim().split("-");if(i.length===1&&Ai(i[0]))return{year:kn(i[0]),month:null,day:null};if(i.length===2&&Ai(i[0])&&Ai(i[1]))return{year:kn(i[0]),month:kn(i[1]),day:null};if(i.length===3&&Ai(i[0])&&Ai(i[1])&&Ai(i[2]))return{year:kn(i[0]),month:kn(i[1]),day:kn(i[2])}}return null}format(t){return t?`${t.year}-${Ai(t.month)?o1(t.month):""}-${Ai(t.day)?o1(t.day):""}`:""}}return e.\u0275fac=(()=>{let n;return function(i){return(n||(n=Ie(e)))(i||e)}})(),e.\u0275prov=y({token:e,factory:e.\u0275fac}),e})(),N1=(()=>{class e{constructor(t){this._element=t.documentElement}isRTL(){return(this._element.getAttribute("dir")||"").toLowerCase()==="rtl"}}return e.\u0275fac=function(t){return new(t||e)(D(ne))},e.\u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),Tte=(()=>{class e{constructor(t,i,r,o,s,a,l,c,u,d,h){this._parserFormatter=t,this._elRef=i,this._vcRef=r,this._renderer=o,this._ngZone=s,this._calendar=a,this._dateAdapter=l,this._document=u,this._changeDetector=d,this._cRef=null,this._disabled=!1,this._elWithFocus=null,this._model=null,this._destroyCloseHandlers$=new B,this.dateSelect=new H,this.navigate=new H,this.closed=new H,this._onChange=f=>{},this._onTouched=()=>{}
10,this._validatorChange=()=>{},["autoClose","container","positionTarget","placement","popperOptions"].forEach(f=>this[f]=h[f]),this._positioning=T1(c)}get disabled(){return this._disabled}set disabled(t){this._disabled=t===""||t&&t!=="false",this.isOpen()&&this._cRef.instance.setDisabledState(this._disabled)}registerOnChange(t){this._onChange=t}registerOnTouched(t){this._onTouched=t}registerOnValidatorChange(t){this._validatorChange=t}setDisabledState(t){this.disabled=t}validate(t){let{value:i}=t;if(i!=null){let r=this._fromDateStruct(this._dateAdapter.fromModel(i));if(!r)return{ngbDate:{invalid:i}};if(this.minDate&&r.before($t.from(this.minDate)))return{ngbDate:{minDate:{minDate:this.minDate,actual:i}}};if(this.maxDate&&r.after($t.from(this.maxDate)))return{ngbDate:{maxDate:{maxDate:this.maxDate,actual:i}}}}return null}writeValue(t){this._model=this._fromDateStruct(this._dateAdapter.fromModel(t)),this._writeModelValue(this._model)}manualDateChange(t,i=!1){let r=t!==this._inputValue;r&&(this._inputValue=t,this._model=this._fromDateStruct(this._parserFormatter.parse(t))),(r||!i)&&this._onChange(this._model?this._dateAdapter.toModel(this._model):t===""?null:t),i&&this._model&&this._writeModelValue(this._model)}isOpen(){return!!this._cRef}open(){if(!this.isOpen()){this._cRef=this._vcRef.createComponent(w1),this._applyPopupStyling(this._cRef.location.nativeElement),this._applyDatepickerInputs(this._cRef),this._subscribeForDatepickerOutputs(this._cRef.instance),this._cRef.instance.ngOnInit(),this._cRef.instance.writeValue(this._dateAdapter.toModel(this._model)),this._cRef.instance.registerOnChange(i=>{this.writeValue(i),this._onChange(i),this._onTouched()}),this._cRef.changeDetectorRef.detectChanges(),this._cRef.instance.setDisabledState(this.disabled),this.container==="body"&&this._document.querySelector(this.container).appendChild(this._cRef.location.nativeElement),this._elWithFocus=this._document.activeElement,I1(this._ngZone,this._cRef.location.nativeElement,this.closed,!0),setTimeout(()=>this._cRef?.instance.focus());let t;if(Il(this.positionTarget)?t=this._document.querySelector(this.positionTarget):this.positionTarget instanceof HTMLElement?t=this.positionTarget:t=this._elRef.nativeElement,this._ngZone.runOutsideAngular(()=>{this._cRef&&(this._positioning.createPopper({hostElement:t,targetElement:this._cRef.location.nativeElement,placement:this.placement,appendToBody:this.container==="body",updatePopperOptions:i=>this.popperOptions(S1([0,2])(i))}),this._zoneSubscription=this._ngZone.onStable.subscribe(()=>this._positioning.update()))}),this.positionTarget&&!t)throw new Error("ngbDatepicker could not find element declared in [positionTarget] to position against.");this._setCloseHandlers()}}close(){if(this.isOpen()){this._vcRef.remove(this._vcRef.indexOf(this._cRef.hostView)),this._cRef=null,this._positioning.destroy(),this._zoneSubscription?.unsubscribe(),this._destroyCloseHandlers$.next(),this.closed.emit(),this._changeDetector.markForCheck();let t=this._elWithFocus;Il(this.restoreFocus)?t=this._document.querySelector(this.restoreFocus):this.restoreFocus!==void 0&&(t=this.restoreFocus),t&&t.focus?t.focus():this._document.body.focus()}}toggle(){this.isOpen()?this.close():this.open()}navigateTo(t){this.isOpen()&&this._cRef.instance.navigateTo(t)}onBlur(){this._onTouched()}onFocus(){this._elWithFocus=this._elRef.nativeElement}ngOnChanges(t){if((t.minDate||t.maxDate)&&(this._validatorChange(),this.isOpen()&&(t.minDate&&(this._cRef.instance.minDate=this.minDate),t.maxDate&&(this._cRef.instance.maxDate=this.maxDate),this._cRef.instance.ngOnChanges(t))),t.datepickerClass){let{currentValue:i,previousValue:r}=t.datepickerClass;this._applyPopupClass(i,r)}t.autoClose&&this.isOpen()&&this._setCloseHandlers()}ngOnDestroy(){this.close()}_applyDatepickerInputs(t){["dayTemplate","dayTemplateData","displayMonths","firstDayOfWeek","footerTemplate","markDisabled","minDate","maxDate","navigation","outsideDays","showNavigation","showWeekNumbers","weekdays"].forEach(i=>{this[i]!==void 0&&t.setInput(i,this[i])}),t.setInput("startDate",this.startDate||this._model)}_applyPopupClass(t,i){let r=this._cRef?.location.nativeElement;r&&(t&&this._renderer.addClass(r,t),i&&this._renderer.removeClass(r,i))}_applyPopupStyling(t){this._renderer.addClass(t,"dropdown-menu"),this._renderer.addClass(t,"show"),this.container==="body"&&this._renderer.addClass(t,"
10ngb-dp-body"),this._applyPopupClass(this.datepickerClass)}_subscribeForDatepickerOutputs(t){t.navigate.subscribe(i=>this.navigate.emit(i)),t.dateSelect.subscribe(i=>{this.dateSelect.emit(i),(this.autoClose===!0||this.autoClose==="inside")&&this.close()})}_writeModelValue(t){let i=this._parserFormatter.format(t);this._inputValue=i,this._renderer.setProperty(this._elRef.nativeElement,"value",i),this.isOpen()&&(this._cRef.instance.writeValue(this._dateAdapter.toModel(t)),this._onTouched())}_fromDateStruct(t){let i=t?new $t(t.year,t.month,t.day):null;return this._calendar.isValid(i)?i:null}_setCloseHandlers(){this._destroyCloseHandlers$.next(),C1(this._ngZone,this._document,this.autoClose,()=>this.close(),this._destroyCloseHandlers$,[],[this._elRef.nativeElement,this._cRef.location.nativeElement])}}return e.\u0275fac=function(t){return new(t||e)(m(M1),m(ie),m(St),m(Ve),m(ee),m(gf),m(n_),m(N1),m(ne),m(Dt),m(d1))},e.\u0275dir=G({type:e,selectors:[["input","ngbDatepicker",""]],hostVars:1,hostBindings:function(t,i){t&1&&re("input",function(o){return i.manualDateChange(o.target.value)})("change",function(o){return i.manualDateChange(o.target.value,!0)})("focus",function(){return i.onFocus()})("blur",function(){return i.onBlur()}),t&2&&Ba("disabled",i.disabled)},inputs:{autoClose:"autoClose",datepickerClass:"datepickerClass",dayTemplate:"dayTemplate",dayTemplateData:"dayTemplateData",displayMonths:"displayMonths",firstDayOfWeek:"firstDayOfWeek",footerTemplate:"footerTemplate",markDisabled:"markDisabled",minDate:"minDate",maxDate:"maxDate",navigation:"navigation",outsideDays:"outsideDays",placement:"placement",popperOptions:"popperOptions",restoreFocus:"restoreFocus",showWeekNumbers:"showWeekNumbers",startDate:"startDate",container:"container",positionTarget:"positionTarget",weekdays:"weekdays",disabled:"disabled"},outputs:{dateSelect:"dateSelect",navigate:"navigate",closed:"closed"},exportAs:["ngbDatepicker"],standalone:!1,features:[Te([{provide:Rn,useExisting:Ee(()=>e),multi:!0},{provide:An,useExisting:Ee(()=>e),multi:!0},{provide:t_,useExisting:d1}]),ke]}),e})();var Ste=new Date(1882,10,12),Mte=new Date(2174,10,25);var Nte=1e3*60*60*24;var i_=1080,_L=24*i_,yL=12*i_+793,Ote=29*_L+yL,Rte=11*i_+204;var O1=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=K({type:e}),e.\u0275inj=Q({imports:[ot,AE]}),e})();var R1=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=K({type:e}),e.\u0275inj=Q({}),e})(),Pi=class{constructor(n,t,i){this.nodes=n,this.viewRef=t,this.componentRef=i}},Jv=class{constructor(n,t,i,r,o,s){this._componentType=n,this._injector=t,this._viewContainerRef=i,this._renderer=r,this._ngZone=o,this._applicationRef=s,this._windowRef=null,this._contentRef=null}open(n,t,i=!1){this._windowRef||(this._contentRef=this._getContentRef(n,t),this._windowRef=this._viewContainerRef.createComponent(this._componentType,{injector:this._injector,projectableNodes:this._contentRef.nodes}));let{nativeElement:r}=this._windowRef.location,o=this._ngZone.onStable.pipe(we(1),he(()=>xi(this._ngZone,r,({classList:s})=>s.add("show"),{animation:i,runningTransition:"continue"})));return{windowRef:this._windowRef,transition$:o}}close(n=!1){return this._windowRef?xi(this._ngZone,this._windowRef.location.nativeElement,({classList:t})=>t.remove("show"),{animation:n,runningTransition:"stop"}).pipe(Ce(()=>{this._windowRef&&(this._viewContainerRef.remove(this._viewContainerRef.indexOf(this._windowRef.hostView)),this._windowRef=null),this._contentRef?.viewRef&&(this._applicationRef.detachView(this._contentRef.viewRef),this._contentRef.viewRef.destroy(),this._contentRef=null)})):I(void 0)}_getContentRef(n,t){if(n)if(n instanceof kt){let i=n.createEmbeddedView(t);return this._applicationRef.attachView(i),new Pi([i.rootNodes],i)}else return new Pi([[this._renderer.createText(`${n}`)]]);else return new Pi([])}},bL=(()=>{class e{constructor(t,i){this._el=t,this._zone=i}ngOnInit(){this._zone.onStable.asObservable().pipe(we(1)).subscribe(()=>{xi(this._zone,this._el.nativeElement,(t,i)=>{i&&p1(t),t.classList.add("show")},{animation:this.animation,runningTransition:"continue"})})}hide(){return xi(this._zone,this._el.nativeElement,({classList:t})=>t.remove("show"),{animation:this.animation,runningTransition:"stop"})}}return e.\u0275fac=function(t){return new(t||e)(m(ie),m(ee))},e.\u0275cmp=We({type:e,selectors:[["ngb-modal-backdrop"]],hostAttrs:[2,"z-index","1055"],hostVars:6,hostBindings:function(t,i){t&2&&(Nt("modal-backdrop"+(i.backdropClass?" "+i.backdropClass:"")),Mt("show",!i.animation)("fade",i.animation))},inputs:{animation:"animation",backdropClass:"backdropClass"},standalone:!1,decls:0,vars:0,template:function(t,i){},encapsulation:2}),e})(),Cs=class{close(n){}dismiss(n){}},Kv=class{constructor(n,t,i,r){this._windowCmptRef=n,this._contentRef=t,this._backdropCmptRef=i,this._beforeDismiss=r,this._closed=new B,this._dismissed=new B,this._hidden=new B,n.instance.dismissEvent.subscribe(o=>{this.dismiss(o)}),this.result=new Promise((o,s)=>{this._resolve=o,this._reject=s}),this.result.then(null,()=>{})}get componentInstance(){if(this._contentRef&&this._contentRef.componentRef)return this._contentRef.componentRef.instance}get closed(){return this._closed.asObservable().pipe(Me(this._hidden))}get dismissed(){return this._dismissed.asObservable().pipe(Me(this._hidden))}get hidden(){return this._hidden.asObservable()}get shown(){return this._windowCmptRef.instance.shown.asObservable()}close(n){this._windowCmptRef&&(this._closed.next(n),this._resolve(n),this._removeModalElements())}_dismiss(n){this._dismissed.next(n),this._reject(n),this._removeModalElements()}dismiss(n){if(this._windowCmptRef)if(!this._beforeDismiss)this._dismiss(n);else{let t=this._beforeDismiss();RF(t)?t.then(i=>{i!==!1&&this._dismiss(n)},()=>{}):t!==!1&&this._dismiss(n)}}_removeModalElements(){let n=this._windowCmptRef.instance.hide(),t=this._backdropCmptRef?this._backdropCmptRef.instance.hide():I(void 0);n.subscribe(()=>{let{nativeElement:i}=this._windowCmptRef.location;i.parentNode.removeChild(i),this._windowCmptRef.destroy(),this._contentRef&&this._contentRef.viewRef&&this._contentRef.viewRef.destroy(),this._windowCmptRef=null,this._contentRef=null}),t.subscribe(()=>{if(this._backdropCmptRef){let{nativeElement:i}=this._backdropCmptRef.location;i.parentNode.removeChild(i),this._backdropCmptRef.destroy(),this._backdropCmptRef=null}}),Js(n,t).subscribe(()=>{this._hidden.next(),this._hidden.complete()})}},Xv=(function(e){return e[e.BACKDROP_CLICK=0]="BACKDROP_CLICK",e[e.ESC=1]="ESC",e})(Xv||{}),DL=(()=>{class e{constructor(t,i,r){this._document=t,this._elRef=i,this._zone=r,this._closed$=new B,this._elWithFocus=null,this.backdrop=!0,this.keyboard=!0,this.dismissEvent=new H,this.shown=new B,this.hidden=new B}get fullscreenClass(){return this.fullscreen===!0?" modal-fullscreen":Il(this.fullscreen)?` modal-fullscreen-${this.fullscreen}-down`:""}dismiss(t){this.dismissEvent.emit(t)}ngOnInit(){this._elWithFocus=this._document.activeElement,this._zone.onStable.asObservable().pipe(we(1)).subscribe(()=>{this._show()})}ngOnDestroy(){this._disableEventHandling()}hide(){let{nativeElement:t}=this._elRef,i={animation:this.animation,runningTransition:"stop"},r=xi(this._zone,t,()=>t.classList.remove("show"),i),o=xi(this._zone,this._dialogEl.nativeElement,()=>{},i),s=Js(r,o);return s.subscribe(()=>{this.hidden.next(),this.hidden.complete()}),this._disableEventHandling(),this._restoreFocus(),s}_show(){let t={animation:this.animation,runningTransition:"continue"},i=xi(this._zone,this._elRef.nativeElement,(o,s)=>{s&&p1(o),o.classList.add("show")},t),r=xi(this._zone,this._dialogEl.nativeElement,()=>{},t);Js(i,r).subscribe(()=>{this.shown.next(),this.shown.complete()}),this._enableEventHandling(),this._setFocus()}_enableEventHandling(){let{nativeElement:t}=this._elRef;this._zone.runOutsideAngular(()=>{ut(t,"keydown").pipe(Me(this._closed$),ae(r=>r.which===Ht.Escape)).subscribe(r=>{this.keyboard?requestAnimationFrame(()=>{r.defaultPrevented||this._zone.run(()=>this.dismiss(Xv.ESC))}):this.backdrop==="static"&&this._bumpBackdrop()});let i=!1;ut(this._dialogEl.nativeElement,"mousedown").pipe(Me(this._closed$),Ce(()=>i=!1),Ne(()=>ut(t,"mouseup").pipe(Me(this._closed$),we(1))),ae(({target:r})=>t===r)).subscribe(()=>{i=!0}),ut(t,"click").pipe(Me(this._closed$)).subscribe(({target:r})=>{t===r&&(this.backdrop==="static"?this._bumpBackdrop():this.backdrop===!0&&!i&&this._zone.run(()=>this.dismiss(Xv.BACKDROP_CLICK))),i=!1})})}_disableEventHandling(){this._closed$.next()}_setFocus(){let{nativeElement:t}=this._elRef;if(!t.contains(document.activeElement)){let i=t.querySelector("[ngbAutofocus]"),r=E1(t)[0];(i||r||t).focus()}}_restoreFocus(){let t=this._document.body,i=this._elWithFocus,r;i&&i.focus&&t.contains(i)?r=i:r=t,this._zone.runOutsideAngular(()=>{setTimeout(()=>r.focus()),this._elWithFocus=null})}_bumpBackdrop(){this.backdrop==="static"&&xi(this._zone,this._elRef.nativeElement,({classList:t})=>(t.add("modal-static"),()=>t.remove("modal-static")),{animation:this.animation,runningTransition:"continue"})}}return e.\u0275fac=function(t){return new(t||e)(m(ne),m(ie),m(ee))},e.\u0275cmp=We({type:e,selectors:[["ngb-modal-window"]],viewQuery:function(t,i){if(t&1&&qr(SF,7),t&2){let r;Qn(r=Jn())&&(i._dialogEl=r.first)}},hostAttrs:["role","dialog","tabindex","-1"],hostVars:7,hostBindings:function(t,i){t&2&&(qe("aria-modal",!0)("aria-labelledby",i.ariaLabelledBy)("aria-describedby",i.ariaDescribedBy),Nt("modal d-block"+(i.windowClass?" "+i.windowClass:"")),Mt("fade",i.animation))},inputs:{animation:"animation",ariaLabelledBy:"ariaLabelledBy",ariaDescribedBy:"ariaDescribedBy",backdrop:"backdrop",centered:"centered",fullscreen:"fullscreen",keyboard:"keyboard",scrollable:"scrollable",size:"size",windowClass:"windowClass",modalDialogClass:"modalDialogClass"},outputs:{dismissEvent:"dismiss"},standalone:!1,ngContentSelectors:h1,decls:4,vars:2,consts:[["dialog",""],["role","document"],[1,"modal-content"]],template:function(t,i){t&1&&(ad(),k(0,"div",1,0)(2,"div",2),ld(3),L()()),t&2&&Nt("modal-dialog"+(i.size?" modal-"+i.size:"")+(i.centered?" modal-dialog-centered":"")+i.fullscreenClass+(i.scrollable?" modal-dialog-scrollable":"")+(i.modalDialogClass?" "+i.modalDialogClass:""))},styles:[`ngb-modal-window .component-host-scrollable{display:flex;flex-direction:column;overflow:hidden}
11`],encapsulation:2}),e})(),wL=(()=>{class e{constructor(t){this._document=t}
11hide(){let t=Math.abs(window.innerWidth-this._document.documentElement.clientWidth),i=this._document.body,r=i.style,{overflow:o,paddingRight:s}=r;if(t>0){let a=parseFloat(window.getComputedStyle(i).paddingRight);r.paddingRight=`${a+t}px`}return r.overflow="hidden",()=>{t>0&&(r.paddingRight=s),r.overflow=o}}}return e.\u0275fac=function(t){return new(t||e)(D(ne))},e.\u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),CL=(()=>{class e{constructor(t,i,r,o,s,a){this._applicationRef=t,this._injector=i,this._document=r,this._scrollBar=o,this._rendererFactory=s,this._ngZone=a,this._activeWindowCmptHasChanged=new B,this._ariaHiddenValues=new Map,this._scrollBarRestoreFn=null,this._backdropAttributes=["animation","backdropClass"],this._modalRefs=[],this._windowAttributes=["animation","ariaLabelledBy","ariaDescribedBy","backdrop","centered","fullscreen","keyboard","scrollable","size","windowClass","modalDialogClass"],this._windowCmpts=[],this._activeInstances=new H,this._activeWindowCmptHasChanged.subscribe(()=>{if(this._windowCmpts.length){let l=this._windowCmpts[this._windowCmpts.length-1];I1(this._ngZone,l.location.nativeElement,this._activeWindowCmptHasChanged),this._revertAriaHidden(),this._setAriaHidden(l.location.nativeElement)}})}_restoreScrollBar(){let t=this._scrollBarRestoreFn;t&&(this._scrollBarRestoreFn=null,t())}_hideScrollBar(){this._scrollBarRestoreFn||(this._scrollBarRestoreFn=this._scrollBar.hide())}open(t,i,r){let o=r.container instanceof HTMLElement?r.container:Zv(r.container)?this._document.querySelector(r.container):this._document.body,s=this._rendererFactory.createRenderer(null,null);if(!o)throw new Error(`The specified modal container "${r.container||"body"}" was not found in the DOM.`);this._hideScrollBar();let a=new Cs,l=this._getContentRef(r.injector||t,i,a,r),c=r.backdrop!==!1?this._attachBackdrop(o):void 0,u=this._attachWindowComponent(o,l.nodes),d=new Kv(u,l,c,r.beforeDismiss);return this._registerModalRef(d),this._registerWindowCmpt(u),d.hidden.pipe(we(1)).subscribe(()=>Promise.resolve(!0).then(()=>{this._modalRefs.length||(s.removeClass(this._document.body,"modal-open"),this._restoreScrollBar(),this._revertAriaHidden())})),a.close=h=>{d.close(h)},a.dismiss=h=>{d.dismiss(h)},this._applyWindowOptions(u.instance,r),this._modalRefs.length===1&&s.addClass(this._document.body,"modal-open"),c&&c.instance&&(this._applyBackdropOptions(c.instance,r),c.changeDetectorRef.detectChanges()),u.changeDetectorRef.detectChanges(),d}get activeInstances(){return this._activeInstances}dismissAll(t){this._modalRefs.forEach(i=>i.dismiss(t))}hasOpenModals(){return this._modalRefs.length>0}_attachBackdrop(t){let i=pd(bL,{environmentInjector:this._applicationRef.injector,elementInjector:this._injector});return this._applicationRef.attachView(i.hostView),t.appendChild(i.location.nativeElement),i}_attachWindowComponent(t,i){let r=pd(DL,{environmentInjector:this._applicationRef.injector,elementInjector:this._injector,projectableNodes:i});return this._applicationRef.attachView(r.hostView),t.appendChild(r.location.nativeElement),r}_applyWindowOptions(t,i){this._windowAttributes.forEach(r=>{Zv(i[r])&&(t[r]=i[r])})}_applyBackdropOptions(t,i){this._backdropAttributes.forEach(r=>{Zv(i[r])&&(t[r]=i[r])})}_getContentRef(t,i,r,o){return i?i instanceof kt?this._createFromTemplateRef(i,r):Il(i)?this._createFromString(i):this._createFromComponent(t,i,r,o):new Pi([])}_createFromTemplateRef(t,i){let r={$implicit:i,close(s){i.close(s)},dismiss(s){i.dismiss(s)}},o=t.createEmbeddedView(r);return this._applicationRef.attachView(o),new Pi([o.rootNodes],o)}_createFromString(t){let i=this._document.createTextNode(`${t}`);return new Pi([[i]])}_createFromComponent(t,i,r,o){let s=ce.create({providers:[{provide:Cs,useValue:r}],parent:t}),a=pd(i,{environmentInjector:this._applicationRef.injector,elementInjector:s}),l=a.location.nativeElement;return o.scrollable&&l.classList.add("component-host-scrollable"),this._applicationRef.attachView(a.hostView),new Pi([[l]],a.hostView,a)}_setAriaHidden(t){let i=t.parentElement;
11i&&t!==this._document.body&&(Array.from(i.children).forEach(r=>{r!==t&&r.nodeName!=="SCRIPT"&&(this._ariaHiddenValues.set(r,r.getAttribute("aria-hidden")),r.setAttribute("aria-hidden","true"))}),this._setAriaHidden(i))}_revertAriaHidden(){this._ariaHiddenValues.forEach((t,i)=>{t?i.setAttribute("aria-hidden",t):i.removeAttribute("aria-hidden")}),this._ariaHiddenValues.clear()}_registerModalRef(t){let i=()=>{let r=this._modalRefs.indexOf(t);r>-1&&(this._modalRefs.splice(r,1),this._activeInstances.emit(this._modalRefs))};this._modalRefs.push(t),this._activeInstances.emit(this._modalRefs),t.result.then(i,i)}_registerWindowCmpt(t){this._windowCmpts.push(t),this._activeWindowCmptHasChanged.next(),t.onDestroy(()=>{let i=this._windowCmpts.indexOf(t);i>-1&&(this._windowCmpts.splice(i,1),this._activeWindowCmptHasChanged.next())})}}return e.\u0275fac=function(t){return new(t||e)(D(it),D(ce),D(ne),D(wL),D(Yt),D(ee))},e.\u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),EL=(()=>{class e{constructor(t){this._ngbConfig=t,this.backdrop=!0,this.fullscreen=!1,this.keyboard=!0}get animation(){return this._animation===void 0?this._ngbConfig.animation:this._animation}set animation(t){this._animation=t}}return e.\u0275fac=function(t){return new(t||e)(D(m1))},e.\u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),r_=(()=>{class e{constructor(t,i,r){this._injector=t,this._modalStack=i,this._config=r}open(t,i={}){let r=w(j(w({},this._config),{animation:this._config.animation}),i);return this._modalStack.open(this._injector,t,r)}get activeInstances(){return this._modalStack.activeInstances}dismissAll(t){this._modalStack.dismissAll(t)}hasOpenModals(){return this._modalStack.hasOpenModals()}}return e.\u0275fac=function(t){return new(t||e)(D(ce),D(CL),D(EL))},e.\u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),A1=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=K({type:e}),e.\u0275inj=Q({providers:[r_]}),e})();var x1=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=K({type:e}),e.\u0275inj=Q({imports:[ot]}),e})();var P1=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=K({type:e}),e.\u0275inj=Q({imports:[ot]}),e})(),e_=class{constructor(n,t){this.open=n,this.close=t,t||(this.close=n)}isManual(){return this.open==="manual"||this.close==="manual"}},IL={hover:["mouseenter","mouseleave"],focus:["focusin","focusout"]};function TL(e,n=IL){let t=(e||"").trim();if(t.length===0)return[];let i=t.split(/\s+/).map(o=>o.split(":")).map(o=>{let s=n[o[0]]||o;return new e_(s[0],s[1])}),r=i.filter(o=>o.isManual());if(r.length>1)throw"Triggers parse error: only one manual trigger is allowed";if(r.length===1&&i.length>1)throw"Triggers parse error: manual trigger can't be mixed with other triggers";return i}function SL(e,n,t,i){return new V(r=>{let o=[],s=()=>r.next(!0),a=()=>r.next(!1),l=()=>r.next(!i());return t.forEach(c=>{c.open===c.close?o.push(e.listen(n,c.open,l)):o.push(e.listen(n,c.open,s),e.listen(n,c.close,a))}),()=>{o.forEach(c=>c())}})}var f1=e=>e>0?kc(e):n=>n;function ML(e,n,t){return i=>{let r=null,o=i.pipe(N(l=>({open:l})),ae(l=>{let c=t();return c!==l.open&&(!r||r.open===c)?(r=l,!0):(r&&r.open!==l.open&&(r=null),!1)}),Er()),s=o.pipe(ae(l=>l.open),f1(e)),a=o.pipe(ae(l=>!l.open),f1(n));return Ac(s,a).pipe(ae(l=>l===r?(r=null,l.open!==t()):!1),N(l=>l.open))}}function NL(e,n,t,i,r,o,s=0,a=0){let l=TL(t);if(l.length===1&&l[0].isManual())return()=>{};let c=SL(e,n,l,i).pipe(ML(s,a,i)).subscribe(u=>u?r():o());return()=>c.unsubscribe()}var OL=(()=>{class e{constructor(t){this._ngbConfig=t,this.autoClose=!0,this.placement="auto",this.popperOptions=i=>i,this.triggers="click",this.disablePopover=!1,this.openDelay=0,this.closeDelay=0}get animation(){return this._animation===void 0?this._ngbConfig.animation:this._animation}set animation(t){this._animation=t}}return e.\u0275fac=function(t){return new(t||e)(D(m1))},e.\u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),RL=0,AL=(()=>{class e{isTitleTemplate(){return this.title instanceof kt}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=We({type:e,selectors:[["ngb-popover-window"]],hostAttrs:["role","tooltip"],hostVars:5,hostBindings:function(t,i){t&2&&(Ba("id",i.id),Nt("popover"+(i.popoverClass?" "+i.popoverClass:"")),Mt("fade",i.animation))},inputs:{animation:"animation",title:"title",id:"id",popoverClass:"popoverClass",context:"context"},standalone:!1,ngContentSelectors:h1,decls:4,vars:1,consts:[["simpleTitle",""],["data-popper-arrow","",1,"popover-arrow"],["class","popover-header",4,"ngIf"],[1,"popover-body"],[1,"popover-header"],[3,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(t,i){t&1&&(ad(),Ae(0,"div",1),de(1,OF,4,2,"h3",2),k(2,"div",3),ld(3),L()),t&2&&(S(),A("ngIf",i.title))},dependencies:[Ii,Xa],encapsulation:2,changeDetection:0}),e})(),Ate=(()=>{class e{constructor(t,i,r,o,s,a,l,c,u,d){this._elementRef=t,this._renderer=r,this._ngZone=l,this._document=c,this._changeDetector=u,this.shown=new H,this.hidden=new H,this._ngbPopoverWindowId=`ngb-popover-${RL++}`,this._windowRef=null,this.animation=a.animation,this.autoClose=a.autoClose,this.placement=a.placement,this.popperOptions=a.popperOptions,this.triggers=a.triggers,this.container=a.container,this.disablePopover=a.disablePopover,this.popoverClass=a.popoverClass,this.openDelay=a.openDelay,this.closeDelay=a.closeDelay,this._positioning=T1(i),this._popupService=new Jv(AL,o,s,r,this._ngZone,d)}_isDisabled(){return!!(this.disablePopover||!this.ngbPopover&&!this.popoverTitle)}open(t){if(!this._windowRef&&!this._isDisabled()){let{windowRef:i,transition$:r}=this._popupService.open(this.ngbPopover,t,this.animation);this._windowRef=i,this._windowRef.setInput("animation",this.animation),this._windowRef.setInput("title",this.popoverTitle),this._windowRef.setInput("context",t),this._windowRef.setInput("popoverClass",this.popoverClass),this._windowRef.setInput("id",this._ngbPopoverWindowId),this._renderer.setAttribute(this._getPositionTargetElement(),"aria-describedby",this._ngbPopoverWindowId),this.container==="body"&&this._document.querySelector(this.container).appendChild(this._windowRef.location.nativeElement),this._windowRef.changeDetectorRef.detectChanges(),this._windowRef.changeDetectorRef.markForCheck(),this._ngZone.runOutsideAngular(()=>{this._positioning.createPopper({hostElement:this._getPositionTargetElement(),targetElement:this._windowRef.location.nativeElement,placement:this.placement,appendToBody:this.container==="body",baseClass:"bs-popover",updatePopperOptions:o=>this.popperOptions(S1([0,8])(o))}),Promise.resolve().then(()=>
11{this._positioning.update(),this._zoneSubscription=this._ngZone.onStable.subscribe(()=>this._positioning.update())})}),C1(this._ngZone,this._document,this.autoClose,()=>this.close(),this.hidden,[this._windowRef.location.nativeElement]),r.subscribe(()=>this.shown.emit())}}close(t=this.animation){this._windowRef&&(this._renderer.removeAttribute(this._getPositionTargetElement(),"aria-describedby"),this._popupService.close(t).subscribe(()=>{this._windowRef=null,this._positioning.destroy(),this._zoneSubscription?.unsubscribe(),this.hidden.emit(),this._changeDetector.markForCheck()}))}toggle(){this._windowRef?this.close():this.open()}isOpen(){return this._windowRef!=null}ngOnInit(){this._unregisterListenersFn=NL(this._renderer,this._elementRef.nativeElement,this.triggers,this.isOpen.bind(this),this.open.bind(this),this.close.bind(this),+this.openDelay,+this.closeDelay)}ngOnChanges({ngbPopover:t,popoverTitle:i,disablePopover:r,popoverClass:o}){o&&this.isOpen()&&(this._windowRef.instance.popoverClass=o.currentValue),(t||i||r)&&this._isDisabled()&&this.close()}ngOnDestroy(){this.close(!1),this._unregisterListenersFn?.()}_getPositionTargetElement(){return(Il(this.positionTarget)?this._document.querySelector(this.positionTarget):this.positionTarget)||this._elementRef.nativeElement}}return e.\u0275fac=function(t){return new(t||e)(m(ie),m(N1),m(Ve),m(ce),m(St),m(OL),m(ee),m(ne),m(Dt),m(it))},e.\u0275dir=G({type:e,selectors:[["","ngbPopover",""]],inputs:{animation:"animation",autoClose:"autoClose",ngbPopover:"ngbPopover",popoverTitle:"popoverTitle",placement:"placement",popperOptions:"popperOptions",triggers:"triggers",positionTarget:"positionTarget",container:"container",disablePopover:"disablePopover",popoverClass:"popoverClass",openDelay:"openDelay",closeDelay:"closeDelay"},outputs:{shown:"shown",hidden:"hidden"},exportAs:["ngbPopover"],standalone:!1,features:[ke]}),e})(),k1=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=K({type:e}),e.\u0275inj=Q({imports:[ot]}),e})();var F1=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=K({type:e}),e.\u0275inj=Q({imports:[ot]}),e})();var L1=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=K({type:e}),e.\u0275inj=Q({imports:[ot]}),e})();var j1=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=K({type:e}),e.\u0275inj=Q({imports:[ot]}),e})();var V1=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=K({type:e}),e.\u0275inj=Q({imports:[ot]}),e})();var B1=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=K({type:e}),e.\u0275inj=Q({}),e})();var xte=new E("live announcer delay",{providedIn:"root",factory:xL});function xL(){return 100}var H1=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=K({type:e}),e.\u0275inj=Q({imports:[ot]}),e})();var U1=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=K({type:e}),e.\u0275inj=Q({}),e})(),PL=[v1,_1,y1,b1,O1,R1,A1,x1,U1,P1,k1,F1,L1,j1,V1,B1,H1],Pte=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=K({type:e}),e.\u0275inj=Q({imports:[PL,v1,_1,y1,b1,O1,R1,A1,x1,U1,P1,k1,F1,L1,j1,V1,B1,H1]}),e})();var Y="primary",jl=Symbol("RouteTitle"),c_=class{params;constructor(n){this.params=n||{}}has(n){return Object.prototype.hasOwnProperty.call(this.params,n)}get(n){if(this.has(n)){let t=this.params[n];return Array.isArray(t)?t[0]:t}return null}getAll(n){if(this.has(n)){let t=this.params[n];return Array.isArray(t)?t:[t]}return[]}get keys(){return Object.keys(this.params)}};function go(e){return new c_(e)}function Q1(e,n,t){let i=t.path.split("/");if(i.length>e.length||t.pathMatch==="full"&&(n.hasChildren()||i.length<e.length))return null;let r={};for(let o=0;o<i.length;o++){let s=i[o],a=e[o];if(s[0]===":")r[s.substring(1)]=a;else if(s!==a.path)return null}return{consumed:e.slice(0,i.length),posParams:r}}function kL(e,n){if(e.length!==n.length)return!1;for(let t=0;t<e.length;++t)if(!Xn(e[t],n[t]))return!1;return!0}function Xn(e,n){let t=e?u_(e):void 0,i=n?u_(n):void 0;if(!t||!i||t.length!=i.length)return!1;let r;for(let o=0;o<t.length;o++)if(r=t[o],!J1(e[r],n[r]))return!1;return!0}function u_(e){return[...Object.keys(e),...Object.getOwnPropertySymbols(e)]}function J1(e,n){if(Array.isArray(e)&&Array.isArray(n)){if(e.length!==n.length)return!1;let t=[...e].sort(),i=[...n].sort();return t.every((r,o)=>i[o]===r)}else return e===n}function K1(e){return e.length>0?e[e.length-1]:null}function Fi(e){return _n(e)?e:wi(e)?fe(Promise.resolve(e)):I(e)}var FL={exact:eI,subset:tI},X1={exact:LL,subset:jL,ignored:()=>!0};function $1(e,n,t){return FL[t.paths](e.root,n.root,t.matrixParams)&&X1[t.queryParams](e.queryParams,n.queryParams)&&!(t.fragment==="exact"&&e.fragment!==n.fragment)}function LL(e,n){return Xn(e,n)}function eI(e,n,t){if(!ho(e.segments,n.segments)||!_f(e.segments,n.segments,t)||e.numberOfChildren!==n.numberOfChildren)return!1;for(let i in n.children)if(!e.children[i]||!eI(e.children[i],n.children[i],t))return!1;return!0}function jL(e,n){return Object.keys(n).length<=Object.keys(e).length&&Object.keys(n).every(t=>J1(e[t],n[t]))}function tI(e,n,t){return nI(e,n,n.segments,t)}function nI(e,n,t,i){if(e.segments.length>t.length){let r=e.segments.slice(0,t.length);
vendor: 31,624 bytes, line 11
11return!(!ho(r,t)||n.hasChildren()||!_f(r,t,i))}else if(e.segments.length===t.length){if(!ho(e.segments,t)||!_f(e.segments,t,i))return!1;for(let r in n.children)if(!e.children[r]||!tI(e.children[r],n.children[r],i))return!1;return!0}else{let r=t.slice(0,e.segments.length),o=t.slice(e.segments.length);return!ho(e.segments,r)||!_f(e.segments,r,i)||!e.children[Y]?!1:nI(e.children[Y],n,o,i)}}function _f(e,n,t){return n.every((i,r)=>X1[t](e[r].parameters,i.parameters))}var ti=class{root;queryParams;fragment;_queryParamMap;constructor(n=new se([],{}),t={},i=null){this.root=n,this.queryParams=t,this.fragment=i}get queryParamMap(){return this._queryParamMap??=go(this.queryParams),this._queryParamMap}toString(){return HL.serialize(this)}},se=class{segments;children;parent=null;constructor(n,t){this.segments=n,this.children=t,Object.values(t).forEach(i=>i.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return yf(this)}},cr=class{path;parameters;_parameterMap;constructor(n,t){this.path=n,this.parameters=t}get parameterMap(){return this._parameterMap??=go(this.parameters),this._parameterMap}toString(){return rI(this)}};function VL(e,n){return ho(e,n)&&e.every((t,i)=>Xn(t.parameters,n[i].parameters))}function ho(e,n){return e.length!==n.length?!1:e.every((t,i)=>t.path===n[i].path)}function BL(e,n){let t=[];return Object.entries(e.children).forEach(([i,r])=>{i===Y&&(t=t.concat(n(r,i)))}),Object.entries(e.children).forEach(([i,r])=>{i!==Y&&(t=t.concat(n(r,i)))}),t}var mo=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275prov=y({token:e,factory:()=>new ur,providedIn:"root"})}return e})(),ur=class{parse(n){let t=new f_(n);return new ti(t.parseRootSegment(),t.parseQueryParams(),t.parseFragment())}serialize(n){let t=`/${Tl(n.root,!0)}`,i=GL(n.queryParams),r=typeof n.fragment=="string"?`#${UL(n.fragment)}`:"";return`${t}${i}${r}`}},HL=new ur;function yf(e){return e.segments.map(n=>rI(n)).join("/")}function Tl(e,n){if(!e.hasChildren())return yf(e);if(n){let t=e.children[Y]?Tl(e.children[Y],!1):"",i=[];return Object.entries(e.children).forEach(([r,o])=>{r!==Y&&i.push(`${r}:${Tl(o,!1)}`)}),i.length>0?`${t}(${i.join("//")})`:t}else{let t=BL(e,(i,r)=>r===Y?[Tl(e.children[Y],!1)]:[`${r}:${Tl(i,!1)}`]);return Object.keys(e.children).length===1&&e.children[Y]!=null?`${yf(e)}/${t[0]}`:`${yf(e)}/(${t.join("//")})`}}function iI(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function mf(e){return iI(e).replace(/%3B/gi,";")}function UL(e){return encodeURI(e)}function d_(e){return iI(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function bf(e){return decodeURIComponent(e)}function G1(e){return bf(e.replace(/\+/g,"%20"))}function rI(e){return`${d_(e.path)}${$L(e.parameters)}`}function $L(e){return Object.entries(e).map(([n,t])=>`;${d_(n)}=${d_(t)}`).join("")}function GL(e){let n=Object.entries(e).map(([t,i])=>Array.isArray(i)?i.map(r=>`${mf(t)}=${mf(r)}`).join("&"):`${mf(t)}=${mf(i)}`).filter(t=>t);return n.length?`?${n.join("&")}`:""}var zL=/^[^\/()?;#]+/;function o_(e){let n=e.match(zL);return n?n[0]:""}var WL=/^[^\/()?;=#]+/;function qL(e){let n=e.match(WL);return n?n[0]:""}var ZL=/^[^=?&#]+/;function YL(e){let n=e.match(ZL);return n?n[0]:""}var QL=/^[^&#]+/;function JL(e){let n=e.match(QL);return n?n[0]:""}var f_=class{url;remaining;constructor(n){this.url=n,this.remaining=n}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new se([],{}):new se([],this.parseChildren())}parseQueryParams(){let n={};if(this.consumeOptional("?"))do this.parseQueryParam(n);while(this.consumeOptional("&"));return n}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");let n=[];for(this.peekStartsWith("(")||n.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),n.push(this.parseSegment());let t={};this.peekStartsWith("/(")&&(this.capture("/"),t=this.parseParens(!0));let i={};return this.peekStartsWith("(")&&(i=this.parseParens(!1)),(n.length>0||Object.keys(t).length>0)&&(i[Y]=new se(n,t)),i}parseSegment(){let n=o_(this.remaining);if(n===""&&this.peekStartsWith(";"))throw new C(4009,!1);return this.capture(n),new cr(bf(n),this.parseMatrixParams())}parseMatrixParams(){let n={};for(;this.consumeOptional(";");)this.parseParam(n);return n}parseParam(n){let t=qL(this.remaining);if(!t)return;this.capture(t);let i="";if(this.consumeOptional("=")){let r=o_(this.remaining);r&&(i=r,this.capture(i))}n[bf(t)]=bf(i)}parseQueryParam(n){let t=YL(this.remaining);if(!t)return;this.capture(t);let i="";if(this.consumeOptional("=")){let s=JL(this.remaining);s&&(i=s,this.capture(i))}let r=G1(t),o=G1(i);if(n.hasOwnProperty(r)){let s=n[r];Array.isArray(s)||(s=[s],n[r]=s),s.push(o)}else n[r]=o}parseParens(n){let t={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let i=o_(this.remaining),r=this.remaining[i.length];if(r!=="/"&&r!==")"&&r!==";")throw new C(4010,!1);let o;i.indexOf(":")>-1?(o=i.slice(0,i.indexOf(":")),this.capture(o),this.capture(":")):n&&(o=Y);let s=this.parseChildren();t[o]=Object.keys(s).length===1?s[Y]:new se([],s),this.consumeOptional("//")}return t}peekStartsWith(n){return this.remaining.startsWith(n)}consumeOptional(n){return this.peekStartsWith(n)?(this.remaining=this.remaining.substring(n.length),!0):!1}capture(n){if(!this.consumeOptional(n))throw new C(4011,!1)}};function oI(e){return e.segments.length>0?new se([],{[Y]:e}):e}function sI(e){let n={};for(let[i,r]of Object.entries(e.children)){let o=sI(r);if(i===Y&&o.segments.length===0&&o.hasChildren())for(let[s,a]of Object.entries(o.children))n[s]=a;else(o.segments.length>0||o.hasChildren())&&(n[i]=o)}let t=new se(e.segments,n);return KL(t)}function KL(e){if(e.numberOfChildren===1&&e.children[Y]){let n=e.children[Y];return new se(e.segments.concat(n.segments),n.children)}return e}function dr(e){return e instanceof ti}function aI(e,n,t=null,i=null){let r=lI(e);return cI(r,n,t,i)}function lI(e){let n;function t(o){let s={};for(let l of o.children){let c=t(l);s[l.outlet]=c}let a=new se(o.url,s);return o===e&&(n=a),a}let i=t(e.root),r=oI(i);return n??r}function cI(e,n,t,i){let r=e;for(;r.parent;)r=r.parent;if(n.length===0)return s_(r,r,r,t,i);let o=XL(n);if(o.toRoot())return s_(r,r,new se([],{}),t,i);let s=ej(o,r,e),a=s.processChildren?Ml(s.segmentGroup,s.index,o.commands):dI(s.segmentGroup,s.index,o.commands);return s_(r,s.segmentGroup,a,t,i)}function Df(e){return typeof e=="object"&&e!=null&&!e.outlets&&!e.segmentPath}function Ol(e){return typeof e=="object"&&e!=null&&e.outlets}function s_(e,n,t,i,r){let o={};i&&Object.entries(i).forEach(([l,c])=>{o[l]=Array.isArray(c)?c.map(u=>`${u}`):`${c}`});let s;e===n?s=t:s=uI(e,n,t);let a=oI(sI(s));return new ti(a,o,r)}function uI(e,n,t){let i={};return Object.entries(e.children).forEach(([r,o])=>{o===n?i[r]=t:i[r]=uI(o,n,t)}),new se(e.segments,i)}var wf=class{isAbsolute;numberOfDoubleDots;commands;constructor(n,t,i){if(this.isAbsolute=n,this.numberOfDoubleDots=t,this.commands=i,n&&i.length>0&&Df(i[0]))throw new C(4003,!1);let r=i.find(Ol);if(r&&r!==K1(i))throw new C(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function XL(e){if(typeof e[0]=="string"&&e.length===1&&e[0]==="/")return new wf(!0,0,e);let n=0,t=!1,i=e.reduce((r,o,s)=>{if(typeof o=="object"&&o!=null){if(o.outlets){let a={};return Object.entries(o.outlets).forEach(([l,c])=>{a[l]=typeof c=="string"?c.split("/"):c}),[...r,{outlets:a}]}if(o.segmentPath)return[...r,o.segmentPath]}return typeof o!="string"?[...r,o]:s===0?(o.split("/").forEach((a,l)=>{l==0&&a==="."||(l==0&&a===""?t=!0:a===".."?n++:a!=""&&r.push(a))}),r):[...r,o]},[]);return new wf(t,n,i)}var Ts=class{segmentGroup;processChildren;index;constructor(n,t,i){this.segmentGroup=n,this.processChildren=t,this.index=i}};function ej(e,n,t){if(e.isAbsolute)return new Ts(n,!0,0);if(!t)return new Ts(n,!1,NaN);if(t.parent===null)return new Ts(t,!0,0);let i=Df(e.commands[0])?0:1,r=t.segments.length-1+i;return tj(t,r,e.numberOfDoubleDots)}function tj(e,n,t){let i=e,r=n,o=t;for(;o>r;){if(o-=r,i=i.parent,!i)throw new C(4005,!1);r=i.segments.length}return new Ts(i,!1,r-o)}function nj(e){return Ol(e[0])?e[0].outlets:{[Y]:e}}function dI(e,n,t){if(e??=new se([],{}),e.segments.length===0&&e.hasChildren())return Ml(e,n,t);let i=ij(e,n,t),r=t.slice(i.commandIndex);if(i.match&&i.pathIndex<e.segments.length){let o=new se(e.segments.slice(0,i.pathIndex),{});return o.children[Y]=new se(e.segments.slice(i.pathIndex),e.children),Ml(o,0,r)}else return i.match&&r.length===0?new se(e.segments,{}):i.match&&!e.hasChildren()?h_(e,n,t):i.match?Ml(e,0,r):h_(e,n,t)}function Ml(e,n,t){if(t.length===0)return new se(e.segments,{});{let i=nj(t),r={};if(Object.keys(i).some(o=>o!==Y)&&e.children[Y]&&e.numberOfChildren===1&&e.children[Y].segments.length===0){let o=Ml(e.children[Y],n,t);return new se(e.segments,o.children)}return Object.entries(i).forEach(([o,s])=>{typeof s=="string"&&(s=[s]),s!==null&&(r[o]=dI(e.children[o],n,s))}),Object.entries(e.children).forEach(([o,s])=>{i[o]===void 0&&(r[o]=s)}),new se(e.segments,r)}}function ij(e,n,t){let i=0,r=n,o={match:!1,pathIndex:0,commandIndex:0};for(;r<e.segments.length;){if(i>=t.length)return o;let s=e.segments[r],a=t[i];if(Ol(a))break;let l=`${a}`,c=i<t.length-1?t[i+1]:null;if(r>0&&l===void 0)break;if(l&&c&&typeof c=="object"&&c.outlets===void 0){if(!W1(l,c,s))return o;i+=2}else{if(!W1(l,{},s))return o;i++}r++}return{match:!0,pathIndex:r,commandIndex:i}}function h_(e,n,t){let i=e.segments.slice(0,n),r=0;for(;r<t.length;){let o=t[r];if(Ol(o)){let l=rj(o.outlets);return new se(i,l)}if(r===0&&Df(t[0])){let l=e.segments[n];i.push(new cr(l.path,z1(t[0]))),r++;continue}let s=Ol(o)?o.outlets[Y]:`${o}`,a=r<t.length-1?t[r+1]:null;s&&a&&Df(a)?(i.push(new cr(s,z1(a))),r+=2):(i.push(new cr(s,{})),r++)}return new se(i,{})}function rj(e){let n={};return Object.entries(e).forEach(([t,i])=>{typeof i=="string"&&(i=[i]),i!==null&&(n[t]=h_(new se([],{}),0,i))}),n}function z1(e){let n={};return Object.entries(e).forEach(([t,i])=>n[t]=`${i}`),n}function W1(e,n,t){return e==t.path&&Xn(n,t.parameters)}var Ss="imperative",Qe=(function(e){return e[e.NavigationStart=0]="NavigationStart",e[e.NavigationEnd=1]="NavigationEnd",e[e.NavigationCancel=2]="NavigationCancel",e[e.NavigationError=3]="NavigationError",e[e.RoutesRecognized=4]="RoutesRecognized",e[e.ResolveStart=5]="ResolveStart",e[e.ResolveEnd=6]="ResolveEnd",e[e.GuardsCheckStart=7]="GuardsCheckStart",e[e.GuardsCheckEnd=8]="GuardsCheckEnd",e[e.RouteConfigLoadStart=9]="RouteConfigLoadStart",e[e.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",e[e.ChildActivationStart=11]="ChildActivationStart",e[e.ChildActivationEnd=12]="ChildActivationEnd",e[e.ActivationStart=13]="ActivationStart",e[e.ActivationEnd=14]="ActivationEnd",e[e.Scroll=15]="Scroll",e[e.NavigationSkipped=16]="NavigationSkipped",e})(Qe||{}),Kt=class{id;url;constructor(n,t){this.id=n,this.url=t}},fr=class extends Kt{type=Qe.NavigationStart;navigationTrigger;restoredState;constructor(n,t,i="imperative",r=null){super(n,t),this.navigationTrigger=i,this.restoredState=r}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},Xt=class extends Kt{urlAfterRedirects;type=Qe.NavigationEnd;constructor(n,t,i){super(n,t),this.urlAfterRedirects=i}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},Rt=(function(e){return e[e.Redirect=0]="Redirect",e[e.SupersededByNewNavigation=1]="SupersededByNewNavigation",e[e.NoDataFromResolver=2]="NoDataFromResolver",e[e.GuardRejected=3]="GuardRejected",e[e.Aborted=4]="Aborted",e})(Rt||{}),Ns=(function(e){return e[e.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",e[e.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",e})(Ns||{}),ei=class extends Kt{reason;code;type=Qe.NavigationCancel;constructor(n,t,i,r){super(n,t),this.reason=i,this.code=r}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},ni=class extends Kt{reason;code;type=Qe.NavigationSkipped;constructor(n,t,i,r){super(n,t),this.reason=i,this.code=r}},Os=class extends Kt{error;target;type=Qe.NavigationError;constructor(n,t,i,r){super(n,t),this.error=i,this.target=r}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},Rl=class extends Kt{urlAfterRedirects;state;type=Qe.RoutesRecognized;constructor(n,t,i,r){super(n,t),this.urlAfterRedirects=i,this.state=r}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Cf=class extends Kt{urlAfterRedirects;state;type=Qe.GuardsCheckStart;constructor(n,t,i,r){super(n,t),this.urlAfterRedirects=i,this.state=r}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Ef=class extends Kt{urlAfterRedirects;state;shouldActivate;type=Qe.GuardsCheckEnd;constructor(n,t,i,r,o){super(n,t),this.urlAfterRedirects=i,this.state=r,this.shouldActivate=o}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},If=class extends Kt{urlAfterRedirects;state;type=Qe.ResolveStart;constructor(n,t,i,r){super(n,t),this.urlAfterRedirects=i,this.state=r}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Tf=class extends Kt{urlAfterRedirects;state;type=Qe.ResolveEnd;constructor(n,t,i,r){super(n,t),this.urlAfterRedirects=i,this.state=r}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Sf=class{route;type=Qe.RouteConfigLoadStart;constructor(n){this.route=n}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},Mf=class{route;type=Qe.RouteConfigLoadEnd;constructor(n){this.route=n}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},Nf=class{snapshot;type=Qe.ChildActivationStart;constructor(n){this.snapshot=n}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Of=class{snapshot;type=Qe.ChildActivationEnd;constructor(n){this.snapshot=n}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Rf=class{snapshot;type=Qe.ActivationStart;constructor(n){this.snapshot=n}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Af=class{snapshot;type=Qe.ActivationEnd;constructor(n){this.snapshot=n}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Rs=class{routerEvent;position;anchor;type=Qe.Scroll;constructor(n,t,i){this.routerEvent=n,this.position=t,this.anchor=i}toString(){let n=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${n}')`}},Al=class{},As=class{url;navigationBehaviorOptions;constructor(n,t){this.url=n,this.navigationBehaviorOptions=t}};function oj(e){return!(e instanceof Al)&&!(e instanceof As)}function sj(e,n){return e.providers&&!e._injector&&(e._injector=is(e.providers,n,`Route: ${e.path}`)),e._injector??n}function Fn(e){return e.outlet||Y}function aj(e,n){let t=e.filter(i=>Fn(i)===n);return t.push(...e.filter(i=>Fn(i)!==n)),t}function ks(e){if(!e)return null;if(e.routeConfig?._injector)return e.routeConfig._injector;for(let n=e.parent;n;n=n.parent){let t=n.routeConfig;if(t?._loadedInjector)return t._loadedInjector;if(t?._injector)return t._injector}return null}var xf=class{rootInjector;outlet=null;route=null;children;attachRef=null;get injector(){return ks(this.route?.snapshot)??this.rootInjector}constructor(n){this.rootInjector=n,this.children=new vo(this.rootInjector)}},vo=(()=>{class e{rootInjector;contexts=new Map;constructor(t){this.rootInjector=t}onChildOutletCreated(t,i){let r=this.getOrCreateContext(t);r.outlet=i,this.contexts.set(t,r)}onChildOutletDestroyed(t){let i=this.getContext(t);i&&(i.outlet=null,i.attachRef=null)}onOutletDeactivated(){let t=this.contexts;return this.contexts=new Map,t}onOutletReAttached(t){this.contexts=t}getOrCreateContext(t){let i=this.getContext(t);return i||(i=new xf(this.rootInjector),this.contexts.set(t,i)),i}getContext(t){return this.contexts.get(t)||null}static \u0275fac=function(i){return new(i||e)(D(Pe))};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Pf=class{_root;constructor(n){this._root=n}get root(){return this._root.value}parent(n){let t=this.pathFromRoot(n);return t.length>1?t[t.length-2]:null}children(n){let t=p_(n,this._root);return t?t.children.map(i=>i.value):[]}firstChild(n){let t=p_(n,this._root);return t&&t.children.length>0?t.children[0].value:null}siblings(n){let t=g_(n,this._root);return t.length<2?[]:t[t.length-2].children.map(r=>r.value).filter(r=>r!==n)}pathFromRoot(n){return g_(n,this._root).map(t=>t.value)}};function p_(e,n){if(e===n.value)return n;for(let t of n.children){let i=p_(e,t);if(i)return i}return null}function g_(e,n){if(e===n.value)return[n];for(let t of n.children){let i=g_(e,t);if(i.length)return i.unshift(n),i}return[]}var Jt=class{value;children;constructor(n,t){this.value=n,this.children=t}toString(){return`TreeNode(${this.value})`}};function Is(e){let n={};return e&&e.children.forEach(t=>n[t.value.outlet]=t),n}var xl=class extends Pf{snapshot;constructor(n,t){super(n),this.snapshot=t,C_(this,n)}toString(){return this.snapshot.toString()}};function fI(e){let n=lj(e),t=new Ke([new cr("",{})]),i=new Ke({}),r=new Ke({}),o=new Ke({}),s=new Ke(""),a=new ki(t,i,o,s,r,Y,e,n.root);return a.snapshot=n.root,new xl(new Jt(a,[]),n)}function lj(e){let n={},t={},i={},o=new po([],n,i,"",t,Y,e,null,{});return new Pl("",new Jt(o,[]))}var ki=class{urlSubject;paramsSubject;queryParamsSubject;fragmentSubject;dataSubject;outlet;component;snapshot;_futureSnapshot;_routerState;_paramMap;_queryParamMap;title;url;params;queryParams;fragment;data;constructor(n,t,i,r,o,s,a,l){this.urlSubject=n,this.paramsSubject=t,this.queryParamsSubject=i,this.fragmentSubject=r,this.dataSubject=o,this.outlet=s,this.component=a,this._futureSnapshot=l,this.title=this.dataSubject?.pipe(N(c=>c[jl]))??I(void 0),this.url=n,this.params=t,this.queryParams=i,this.fragment=r,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(N(n=>go(n))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(N(n=>go(n))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function kf(e,n,t="emptyOnly"){let i,{routeConfig:r}=e;return n!==null&&(t==="always"||r?.path===""||!n.component&&!n.routeConfig?.loadComponent)?i={params:w(w({},n.params),e.params),data:w(w({},n.data),e.data),resolve:w(w(w(w({},e.data),n.data),r?.data),e._resolvedData)}:i={params:w({},e.params),data:w({},e.data),resolve:w(w({},e.data),e._resolvedData??{})},r&&pI(r)&&(i.resolve[jl]=r.title),i}var po=class{url;params;queryParams;fragment;data;outlet;component;routeConfig;_resolve;_resolvedData;_routerState;_paramMap;_queryParamMap;get title(){return this.data?.[jl]}constructor(n,t,i,r,o,s,a,l,c){this.url=n,this.params=t,this.queryParams=i,this.fragment=r,this.data=o,this.outlet=s,this.component=a,this.routeConfig=l,this._resolve=c}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??=go(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=go(this.queryParams),this._queryParamMap}toString(){let n=this.url.map(i=>i.toString()).join("/"),t=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${n}', path:'${t}')`}},Pl=class extends Pf{url;constructor(n,t){super(t),this.url=n,C_(this,t)}toString(){return hI(this._root)}};function C_(e,n){n.value._routerState=e,n.children.forEach(t=>C_(e,t))}function hI(e){let n=e.children.length>0?` { ${e.children.map(hI).join(", ")} } `:"";return`${e.value}${n}`}function a_(e){if(e.snapshot){let n=e.snapshot,t=e._futureSnapshot;e.snapshot=t,Xn(n.queryParams,t.queryParams)||e.queryParamsSubject.next(t.queryParams),n.fragment!==t.fragment&&e.fragmentSubject.next(t.fragment),Xn(n.params,t.params)||e.paramsSubject.next(t.params),kL(n.url,t.url)||e.urlSubject.next(t.url),Xn(n.data,t.data)||e.dataSubject.next(t.data)}else e.snapshot=e._futureSnapshot,e.dataSubject.next(e._futureSnapshot.data)}function m_(e,n){let t=Xn(e.params,n.params)&&VL(e.url,n.url),i=!e.parent!=!n.parent;return t&&!i&&(!e.parent||m_(e.parent,n.parent))}function pI(e){return typeof e.title=="string"||e.title===null}var gI=new E(""),E_=(()=>{class e{activated=null;get activatedComponentRef(){return this.activated}_activatedRoute=null;name=Y;activateEvents=new H;deactivateEvents=new H;attachEvents=new H;detachEvents=new H;routerOutletData=Gw(void 0);parentContexts=g(vo);location=g(St);changeDetector=g(Dt);inputBinder=g(Vl,{optional:!0});supportsBindingToComponentInputs=!0;ngOnChanges(t){if(t.name){let{firstChange:i,previousValue:r}=t.name;if(i)return;this.isTrackedInParentContexts(r)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(r)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(t){return this.parentContexts.getContext(t)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let t=this.parentContexts.getContext(this.name);t?.route&&(t.attachRef?this.attach(t.attachRef,t.route):this.activateWith(t.route,t.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new C(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new C(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new C(4012,!1);this.location.detach();let t=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(t.instance),t}attach(t,i){this.activated=t,this._activatedRoute=i,this.location.insert(t.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(t.instance)}deactivate(){if(this.activated){let t=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(t)}}activateWith(t,i){if(this.isActivated)throw new C(4013,!1);this._activatedRoute=t;let r=this.location,s=t.snapshot.component,a=this.parentContexts.getOrCreateContext(this.name).children,l=new v_(t,a,r.injector,this.routerOutletData);this.activated=r.createComponent(s,{index:r.length,injector:l,environmentInjector:i}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static \u0275fac=function(i){return new(i||e)};static \u0275dir=G({type:e,selectors:[["router-outlet"]],inputs:{name:"name",routerOutletData:[1,"routerOutletData"]},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],features:[ke]})}return e})(),v_=class{route;childContexts;parent;outletData;constructor(n,t,i,r){this.route=n,this.childContexts=t,this.parent=i,this.outletData=r}get(n,t){return n===ki?this.route:n===vo?this.childContexts:n===gI?this.outletData:this.parent.get(n,t)}},Vl=new E(""),I_=(()=>{class e{outletDataSubscriptions=new Map;bindActivatedRouteToOutletComponent(t){this.unsubscribeFromRouteData(t),this.subscribeToRouteData(t)}unsubscribeFromRouteData(t){this.outletDataSubscriptions.get(t)?.unsubscribe(),this.outletDataSubscriptions.delete(t)}subscribeToRouteData(t){let{activatedRoute:i}=t,r=ko([i.queryParams,i.params,i.data]).pipe(Ne(([o,s,a],l)=>(a=w(w(w({},o),s),a),l===0?I(a):Promise.resolve(a)))).subscribe(o=>{if(!t.isActivated||!t.activatedComponentRef||t.activatedRoute!==i||i.component===null){this.unsubscribeFromRouteData(t);return}let s=Jw(i.component);if(!s){this.unsubscribeFromRouteData(t);return}for(let{templateName:a}of s.inputs)t.activatedComponentRef.setInput(a,o[a])});this.outletDataSubscriptions.set(t,r)}static \u0275fac=function(i){return new(i||e)};static \u0275prov=y({token:e,factory:e.\u0275fac})}return e})(),T_=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275cmp=We({type:e,selectors:[["ng-component"]],exportAs:["emptyRouterOutlet"],decls:1,vars:0,template:function(i,r){i&1&&Ae(0,"router-outlet")},dependencies:[E_],encapsulation:2})}return e})();function S_(e){let n=e.children&&e.children.map(S_),t=n?j(w({},e),{children:n}):w({},e);return!t.component&&!t.loadComponent&&(n||t.loadChildren)&&t.outlet&&t.outlet!==Y&&(t.component=T_),t}function cj(e,n,t){let i=kl(e,n._root,t?t._root:void 0);return new xl(i,n)}function kl(e,n,t){if(t&&e.shouldReuseRoute(n.value,t.value.snapshot)){let i=t.value;i._futureSnapshot=n.value;let r=uj(e,n,t);return new Jt(i,r)}else{if(e.shouldAttach(n.value)){let o=e.retrieve(n.value);if(o!==null){let s=o.route;return s.value._futureSnapshot=n.value,s.children=n.children.map(a=>kl(e,a)),s}}let i=dj(n.value),r=n.children.map(o=>kl(e,o));return new Jt(i,r)}}function uj(e,n,t){return n.children.map(i=>{for(let r of t.children)if(e.shouldReuseRoute(i.value,r.value.snapshot))return kl(e,i,r);return kl(e,i)})}function dj(e){return new ki(new Ke(e.url),new Ke(e.params),new Ke(e.queryParams),new Ke(e.fragment),new Ke(e.data),e.outlet,e.component,e)}var xs=class{redirectTo;navigationBehaviorOptions;constructor(n,t){this.redirectTo=n,this.navigationBehaviorOptions=t}},mI="ngNavigationCancelingError";function Ff(e,n){let{redirectTo:t,navigationBehaviorOptions:i}=dr(n)?{redirectTo:n,navigationBehaviorOptions:void 0}:n,r=vI(!1,Rt.Redirect);return r.url=t,r.navigationBehaviorOptions=i,r}function vI(e,n){let t=new Error(`NavigationCancelingError: ${e||""}`);return t[mI]=!0,t.cancellationCode=n,t}function fj(e){return _I(e)&&dr(e.url)}function _I(e){return!!e&&e[mI]}var hj=(e,n,t,i)=>N(r=>(new __(n,r.targetRouterState,r.currentRouterState,t,i).activate(e),r)),__=class{routeReuseStrategy;futureState;currState;forwardEvent;inputBindingEnabled;constructor(n,t,i,r,o){this.routeReuseStrategy=n,this.futureState=t,this.currState=i,this.forwardEvent=r,this.inputBindingEnabled=o}activate(n){let t=this.futureState._root,i=this.currState?this.currState._root:null;this.deactivateChildRoutes(t,i,n),a_(this.futureState.root),this.activateChildRoutes(t,i,n)}deactivateChildRoutes(n,t,i){let r=Is(t);n.children.forEach(o=>{let s=o.value.outlet;this.deactivateRoutes(o,r[s],i),delete r[s]}),Object.values(r).forEach(o=>{this.deactivateRouteAndItsChildren(o,i)})}deactivateRoutes(n,t,i){let r=n.value,o=t?t.value:null;if(r===o)if(r.component){let s=i.getContext(r.outlet);s&&this.deactivateChildRoutes(n,t,s.children)}else this.deactivateChildRoutes(n,t,i);else o&&this.deactivateRouteAndItsChildren(t,i)}deactivateRouteAndItsChildren(n,t){n.value.component&&this.routeReuseStrategy.shouldDetach(n.value.snapshot)?this.detachAndStoreRouteSubtree(n,t):this.deactivateRouteAndOutlet(n,t)}detachAndStoreRouteSubtree(n,t){let i=t.getContext(n.value.outlet),r=i&&n.value.component?i.children:t,o=Is(n);for(let s of Object.values(o))this.deactivateRouteAndItsChildren(s,r);if(i&&i.outlet){let s=i.outlet.detach(),a=i.children.onOutletDeactivated();this.routeReuseStrategy.store(n.value.snapshot,{componentRef:s,route:n,contexts:a})}}deactivateRouteAndOutlet(n,t){let i=t.getContext(n.value.outlet),r=i&&n.value.component?i.children:t,o=Is(n);for(let s of Object.values(o))this.deactivateRouteAndItsChildren(s,r);i&&(i.outlet&&(i.outlet.deactivate(),i.children.onOutletDeactivated()),i.attachRef=null,i.route=null)}activateChildRoutes(n,t,i){let r=Is(t);n.children.forEach(o=>{this.activateRoutes(o,r[o.value.outlet],i),this.forwardEvent(new Af(o.value.snapshot))}),n.children.length&&this.forwardEvent(new Of(n.value.snapshot))}activateRoutes(n,t,i){let r=n.value,o=t?t.value:null;if(a_(r),r===o)if(r.component){let s=i.getOrCreateContext(r.outlet);this.activateChildRoutes(n,t,s.children)}else this.activateChildRoutes(n,t,i);else if(r.component){let s=i.getOrCreateContext(r.outlet);if(this.routeReuseStrategy.shouldAttach(r.snapshot)){let a=this.routeReuseStrategy.retrieve(r.snapshot);this.routeReuseStrategy.store(r.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),a_(a.route.value),this.activateChildRoutes(n,null,s.children)}else s.attachRef=null,s.route=r,s.outlet&&s.outlet.activateWith(r,s.injector),this.activateChildRoutes(n,null,s.children)}else this.activateChildRoutes(n,null,i)}},Lf=class{path;route;constructor(n){this.path=n,this.route=this.path[this.path.length-1]}},Ms=class{component;route;constructor(n,t){this.component=n,this.route=t}};function pj(e,n,t){let i=e._root,r=n?n._root:null;return Sl(i,r,t,[i.value])}function gj(e){let n=e.routeConfig?e.routeConfig.canActivateChild:null;return!n||n.length===0?null:{node:e,guards:n}}function Fs(e,n){let t=Symbol(),i=n.get(e,t);return i===t?typeof e=="function"&&!$h(e)?e:n.get(e):i}function Sl(e,n,t,i,r={canDeactivateChecks:[],canActivateChecks:[]}){let o=Is(n);return e.children.forEach(s=>{mj(s,o[s.value.outlet],t,i.concat([s.value]),r),delete o[s.value.outlet]}),Object.entries(o).forEach(([s,a])=>Nl(a,t.getContext(s),r)),r}function mj(e,n,t,i,r={canDeactivateChecks:[],canActivateChecks:[]}){let o=e.value,s=n?n.value:null,a=t?t.getContext(e.value.outlet):null;if(s&&o.routeConfig===s.routeConfig){let l=vj(s,o,o.routeConfig.runGuardsAndResolvers);l?r.canActivateChecks.push(new Lf(i)):(o.data=s.data,o._resolvedData=s._resolvedData),o.component?Sl(e,n,a?a.children:null,i,r):Sl(e,n,t,i,r),l&&a&&a.outlet&&a.outlet.isActivated&&r.canDeactivateChecks.push(new Ms(a.outlet.component,s))}else s&&Nl(n,a,r),r.canActivateChecks.push(new Lf(i)),o.component?Sl(e,null,a?a.children:null,i,r):Sl(e,null,t,i,r);return r}function vj(e,n,t){if(typeof t=="function")return t(e,n);switch(t){case"pathParamsChange":return!ho(e.url,n.url);case"pathParamsOrQueryParamsChange":return!ho(e.url,n.url)||!Xn(e.queryParams,n.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!m_(e,n)||!Xn(e.queryParams,n.queryParams);case"paramsChange":default:return!m_(e,n)}}function Nl(e,n,t){let i=Is(e),r=e.value;
11Object.entries(i).forEach(([o,s])=>{r.component?n?Nl(s,n.children.getContext(o),t):Nl(s,null,t):Nl(s,n,t)}),r.component?n&&n.outlet&&n.outlet.isActivated?t.canDeactivateChecks.push(new Ms(n.outlet.component,r)):t.canDeactivateChecks.push(new Ms(null,r)):t.canDeactivateChecks.push(new Ms(null,r))}function Bl(e){return typeof e=="function"}function _j(e){return typeof e=="boolean"}function yj(e){return e&&Bl(e.canLoad)}function bj(e){return e&&Bl(e.canActivate)}function Dj(e){return e&&Bl(e.canActivateChild)}function wj(e){return e&&Bl(e.canDeactivate)}function Cj(e){return e&&Bl(e.canMatch)}function yI(e){return e instanceof si||e?.name==="EmptyError"}var vf=Symbol("INITIAL_VALUE");function Ps(){return Ne(e=>ko(e.map(n=>n.pipe(we(1),Lc(vf)))).pipe(N(n=>{for(let t of n)if(t!==!0){if(t===vf)return vf;if(t===!1||Ej(t))return t}return!0}),ae(n=>n!==vf),we(1)))}function Ej(e){return dr(e)||e instanceof xs}function Ij(e,n){return he(t=>{let{targetSnapshot:i,currentSnapshot:r,guards:{canActivateChecks:o,canDeactivateChecks:s}}=t;return s.length===0&&o.length===0?I(j(w({},t),{guardsResult:!0})):Tj(s,i,r,e).pipe(he(a=>a&&_j(a)?Sj(i,o,e,n):I(a)),N(a=>j(w({},t),{guardsResult:a})))})}function Tj(e,n,t,i){return fe(e).pipe(he(r=>Aj(r.component,r.route,t,n,i)),ci(r=>r!==!0,!0))}function Sj(e,n,t,i){return fe(n).pipe(nn(r=>Wt(Nj(r.route.parent,i),Mj(r.route,i),Rj(e,r.path,t),Oj(e,r.route,t))),ci(r=>r!==!0,!0))}function Mj(e,n){return e!==null&&n&&n(new Rf(e)),I(!0)}function Nj(e,n){return e!==null&&n&&n(new Nf(e)),I(!0)}function Oj(e,n,t){let i=n.routeConfig?n.routeConfig.canActivate:null;if(!i||i.length===0)return I(!0);let r=i.map(o=>Ui(()=>{let s=ks(n)??t,a=Fs(o,s),l=bj(a)?a.canActivate(n,e):Xe(s,()=>a(n,e));return Fi(l).pipe(ci())}));return I(r).pipe(Ps())}function Rj(e,n,t){let i=n[n.length-1],o=n.slice(0,n.length-1).reverse().map(s=>gj(s)).filter(s=>s!==null).map(s=>Ui(()=>{let a=s.guards.map(l=>{let c=ks(s.node)??t,u=Fs(l,c),d=Dj(u)?u.canActivateChild(i,e):Xe(c,()=>u(i,e));return Fi(d).pipe(ci())});return I(a).pipe(Ps())}));return I(o).pipe(Ps())}function Aj(e,n,t,i,r){let o=n&&n.routeConfig?n.routeConfig.canDeactivate:null;if(!o||o.length===0)return I(!0);let s=o.map(a=>{let l=ks(n)??r,c=Fs(a,l),u=wj(c)?c.canDeactivate(e,n,t,i):Xe(l,()=>c(e,n,t,i));return Fi(u).pipe(ci())});return I(s).pipe(Ps())}function xj(e,n,t,i){let r=n.canLoad;if(r===void 0||r.length===0)return I(!0);let o=r.map(s=>{let a=Fs(s,e),l=yj(a)?a.canLoad(n,t):Xe(e,()=>a(n,t));return Fi(l)});return I(o).pipe(Ps(),bI(i))}function bI(e){return gh(Ce(n=>{if(typeof n!="boolean")throw Ff(e,n)}),N(n=>n===!0))}function Pj(e,n,t,i){let r=n.canMatch;if(!r||r.length===0)return I(!0);let o=r.map(s=>{let a=Fs(s,e),l=Cj(a)?a.canMatch(n,t):Xe(e,()=>a(n,t));return Fi(l)});return I(o).pipe(Ps(),bI(i))}var Fl=class{segmentGroup;constructor(n){this.segmentGroup=n||null}},Ll=class extends Error{urlTree;constructor(n){super(),this.urlTree=n}};function Es(e){return tn(new Fl(e))}function kj(e){return tn(new C(4e3,!1))}function Fj(e){return tn(vI(!1,Rt.GuardRejected))}var y_=class{urlSerializer;urlTree;constructor(n,t){this.urlSerializer=n,this.urlTree=t}lineralizeSegments(n,t){let i=[],r=t.root;for(;;){if(i=i.concat(r.segments),r.numberOfChildren===0)return I(i);if(r.numberOfChildren>1||!r.children[Y])return kj(`${n.redirectTo}`);r=r.children[Y]}}applyRedirectCommands(n,t,i,r,o){return Lj(t,r,o).pipe(N(s=>{if(s instanceof ti)throw new Ll(s);let a=this.applyRedirectCreateUrlTree(s,this.urlSerializer.parse(s),n,i);if(s[0]==="/")throw new Ll(a);return a}))}applyRedirectCreateUrlTree(n,t,i,r){let o=this.createSegmentGroup(n,t.root,i,r);return new ti(o,this.createQueryParams(t.queryParams,this.urlTree.queryParams),t.fragment)}createQueryParams(n,t){let i={};return Object.entries(n).forEach(([r,o])=>{if(typeof o=="string"&&o[0]===":"){let a=o.substring(1);i[r]=t[a]}else i[r]=o}),i}createSegmentGroup(n,t,i,r){let o=this.createSegments(n,t.segments,i,r),s={};return Object.entries(t.children).forEach(([a,l])=>{s[a]=this.createSegmentGroup(n,l,i,r)}),new se(o,s)}createSegments(n,t,i,r){return t.map(o=>o.path[0]===":"?this.findPosParam(n,o,r):this.findOrReturn(o,i))}findPosParam(n,t,i){let r=i[t.path.substring(1)];if(!r)throw new C(4001,!1);return r}findOrReturn(n,t){let i=0;for(let r of t){if(r.path===n.path)return t.splice(i),r;i++}return n}};function Lj(e,n,t){if(typeof e=="string")return I(e);
11let i=e,{queryParams:r,fragment:o,routeConfig:s,url:a,outlet:l,params:c,data:u,title:d}=n;return Fi(Xe(t,()=>i({params:c,data:u,queryParams:r,fragment:o,routeConfig:s,url:a,outlet:l,title:d})))}var b_={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function jj(e,n,t,i,r){let o=DI(e,n,t);return o.matched?(i=sj(n,i),Pj(i,n,t,r).pipe(N(s=>s===!0?o:w({},b_)))):I(o)}function DI(e,n,t){if(n.path==="**")return Vj(t);if(n.path==="")return n.pathMatch==="full"&&(e.hasChildren()||t.length>0)?w({},b_):{matched:!0,consumedSegments:[],remainingSegments:t,parameters:{},positionalParamSegments:{}};let r=(n.matcher||Q1)(t,e,n);if(!r)return w({},b_);let o={};Object.entries(r.posParams??{}).forEach(([a,l])=>{o[a]=l.path});let s=r.consumed.length>0?w(w({},o),r.consumed[r.consumed.length-1].parameters):o;return{matched:!0,consumedSegments:r.consumed,remainingSegments:t.slice(r.consumed.length),parameters:s,positionalParamSegments:r.posParams??{}}}function Vj(e){return{matched:!0,parameters:e.length>0?K1(e).parameters:{},consumedSegments:e,remainingSegments:[],positionalParamSegments:{}}}function q1(e,n,t,i){return t.length>0&&Uj(e,t,i)?{segmentGroup:new se(n,Hj(i,new se(t,e.children))),slicedSegments:[]}:t.length===0&&$j(e,t,i)?{segmentGroup:new se(e.segments,Bj(e,t,i,e.children)),slicedSegments:t}:{segmentGroup:new se(e.segments,e.children),slicedSegments:t}}function Bj(e,n,t,i){let r={};for(let o of t)if(Vf(e,n,o)&&!i[Fn(o)]){let s=new se([],{});r[Fn(o)]=s}return w(w({},i),r)}function Hj(e,n){let t={};t[Y]=n;for(let i of e)if(i.path===""&&Fn(i)!==Y){let r=new se([],{});t[Fn(i)]=r}return t}function Uj(e,n,t){return t.some(i=>Vf(e,n,i)&&Fn(i)!==Y)}function $j(e,n,t){return t.some(i=>Vf(e,n,i))}function Vf(e,n,t){return(e.hasChildren()||n.length>0)&&t.pathMatch==="full"?!1:t.path===""}function Gj(e,n,t){return n.length===0&&!e.children[t]}var D_=class{};function zj(e,n,t,i,r,o,s="emptyOnly"){return new w_(e,n,t,i,r,s,o).recognize()}var Wj=31,w_=class{injector;configLoader;rootComponentType;config;urlTree;paramsInheritanceStrategy;urlSerializer;applyRedirects;absoluteRedirectCount=0;allowRedirects=!0;constructor(n,t,i,r,o,s,a){this.injector=n,this.configLoader=t,this.rootComponentType=i,this.config=r,this.urlTree=o,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.applyRedirects=new y_(this.urlSerializer,this.urlTree)}noMatchError(n){return new C(4002,`'${n.segmentGroup}'`)}recognize(){let n=q1(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(n).pipe(N(({children:t,rootSnapshot:i})=>{let r=new Jt(i,t),o=new Pl("",r),s=aI(i,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,o.url=this.urlSerializer.serialize(s),{state:o,tree:s}}))}match(n){let t=new po([],Object.freeze({}),Object.freeze(w({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),Y,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,n,Y,t).pipe(N(i=>({children:i,rootSnapshot:t})),At(i=>{if(i instanceof Ll)return this.urlTree=i.urlTree,this.match(i.urlTree.root);throw i instanceof Fl?this.noMatchError(i):i}))}processSegmentGroup(n,t,i,r,o){return i.segments.length===0&&i.hasChildren()?this.processChildren(n,t,i,o):this.processSegment(n,t,i,i.segments,r,!0,o).pipe(N(s=>s instanceof Jt?[s]:[]))}processChildren(n,t,i,r){let o=[];for(let s of Object.keys(i.children))s==="primary"?o.unshift(s):o.push(s);return fe(o).pipe(nn(s=>{let a=i.children[s],l=aj(t,s);return this.processSegmentGroup(n,l,a,s,r)}),Sh((s,a)=>(s.push(...a),s)),$i(null),Th(),he(s=>{if(s===null)return Es(i);let a=wI(s);return qj(a),I(a)}))}processSegment(n,t,i,r,o,s,a){return fe(t).pipe(nn(l=>this.processSegmentAgainstRoute(l._injector??n,t,l,i,r,o,s,a).pipe(At(c=>{if(c instanceof Fl)return I(null);throw c}))),ci(l=>!!l),At(l=>{if(yI(l))return Gj(i,r,o)?I(new D_):Es(i);throw l}))}processSegmentAgainstRoute(n,t,i,r,o,s,a,l){return Fn(i)!==s&&(s===Y||!Vf(r,o,i))?Es(r):i.redirectTo===void 0?this.matchSegmentAgainstRoute(n,r,i,o,s,l):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(n,r,t,i,o,s,l):Es(r)}expandSegmentAgainstRouteUsingRedirect(n,t,i,r,o,s,a){let{matched:l,parameters:c,consumedSegments:u,positionalParamSegments:d,remainingSegments:h}=DI(t,r,o);if(!l)return Es(t);
11typeof r.redirectTo=="string"&&r.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>Wj&&(this.allowRedirects=!1));let f=new po(o,c,Object.freeze(w({},this.urlTree.queryParams)),this.urlTree.fragment,Z1(r),Fn(r),r.component??r._loadedComponent??null,r,Y1(r)),p=kf(f,a,this.paramsInheritanceStrategy);return f.params=Object.freeze(p.params),f.data=Object.freeze(p.data),this.applyRedirects.applyRedirectCommands(u,r.redirectTo,d,f,n).pipe(Ne(_=>this.applyRedirects.lineralizeSegments(r,_)),he(_=>this.processSegment(n,i,t,_.concat(h),s,!1,a)))}matchSegmentAgainstRoute(n,t,i,r,o,s){let a=jj(t,i,r,n,this.urlSerializer);return i.path==="**"&&(t.children={}),a.pipe(Ne(l=>l.matched?(n=i._injector??n,this.getChildConfig(n,i,r).pipe(Ne(({routes:c})=>{let u=i._loadedInjector??n,{parameters:d,consumedSegments:h,remainingSegments:f}=l,p=new po(h,d,Object.freeze(w({},this.urlTree.queryParams)),this.urlTree.fragment,Z1(i),Fn(i),i.component??i._loadedComponent??null,i,Y1(i)),v=kf(p,s,this.paramsInheritanceStrategy);p.params=Object.freeze(v.params),p.data=Object.freeze(v.data);let{segmentGroup:_,slicedSegments:b}=q1(t,h,f,c);if(b.length===0&&_.hasChildren())return this.processChildren(u,c,_,p).pipe(N(J=>new Jt(p,J)));if(c.length===0&&b.length===0)return I(new Jt(p,[]));let T=Fn(i)===o;return this.processSegment(u,c,_,b,T?Y:o,!0,p).pipe(N(J=>new Jt(p,J instanceof Jt?[J]:[])))}))):Es(t)))}getChildConfig(n,t,i){return t.children?I({routes:t.children,injector:n}):t.loadChildren?t._loadedRoutes!==void 0?I({routes:t._loadedRoutes,injector:t._loadedInjector}):xj(n,t,i,this.urlSerializer).pipe(he(r=>r?this.configLoader.loadChildren(n,t).pipe(Ce(o=>{t._loadedRoutes=o.routes,t._loadedInjector=o.injector})):Fj(t))):I({routes:[],injector:n})}};function qj(e){e.sort((n,t)=>n.value.outlet===Y?-1:t.value.outlet===Y?1:n.value.outlet.localeCompare(t.value.outlet))}function Zj(e){let n=e.value.routeConfig;return n&&n.path===""}function wI(e){let n=[],t=new Set;for(let i of e){if(!Zj(i)){n.push(i);continue}let r=n.find(o=>i.value.routeConfig===o.value.routeConfig);r!==void 0?(r.children.push(...i.children),t.add(r)):n.push(i)}for(let i of t){let r=wI(i.children);n.push(new Jt(i.value,r))}return n.filter(i=>!t.has(i))}function Z1(e){return e.data||{}}function Y1(e){return e.resolve||{}}function Yj(e,n,t,i,r,o){return he(s=>zj(e,n,t,i,s.extractedUrl,r,o).pipe(N(({state:a,tree:l})=>j(w({},s),{targetSnapshot:a,urlAfterRedirects:l}))))}function Qj(e,n){return he(t=>{let{targetSnapshot:i,guards:{canActivateChecks:r}}=t;if(!r.length)return I(t);let o=new Set(r.map(l=>l.route)),s=new Set;for(let l of o)if(!s.has(l))for(let c of CI(l))s.add(c);let a=0;return fe(s).pipe(nn(l=>o.has(l)?Jj(l,i,e,n):(l.data=kf(l,l.parent,e).resolve,I(void 0))),Ce(()=>a++),Fo(1),he(l=>a===s.size?I(t):Le))})}function CI(e){let n=e.children.map(t=>CI(t)).flat();return[e,...n]}function Jj(e,n,t,i){let r=e.routeConfig,o=e._resolve;return r?.title!==void 0&&!pI(r)&&(o[jl]=r.title),Ui(()=>(e.data=kf(e,e.parent,t).resolve,Kj(o,e,n,i).pipe(N(s=>(e._resolvedData=s,e.data=w(w({},e.data),s),null)))))}function Kj(e,n,t,i){let r=u_(e);if(r.length===0)return I({});let o={};return fe(r).pipe(he(s=>Xj(e[s],n,t,i).pipe(ci(),Ce(a=>{if(a instanceof xs)throw Ff(new ur,a);o[s]=a}))),Fo(1),N(()=>o),At(s=>yI(s)?Le:tn(s)))}function Xj(e,n,t,i){let r=ks(n)??i,o=Fs(e,r),s=o.resolve?o.resolve(n,t):Xe(r,()=>o(n,t));return Fi(s)}function l_(e){return Ne(n=>{let t=e(n);return t?fe(t).pipe(N(()=>n)):I(n)})}var M_=(()=>{class e{buildTitle(t){let i,r=t.root;for(;r!==void 0;)i=this.getResolvedTitleForRoute(r)??i,r=r.children.find(o=>o.outlet===Y);return i}getResolvedTitleForRoute(t){return t.data[jl]}static \u0275fac=function(i){return new(i||e)};static \u0275prov=y({token:e,factory:()=>g(EI),providedIn:"root"})}return e})(),EI=(()=>{class e extends M_{title;constructor(t){super(),this.title=t}updateTitle(t){let i=this.buildTitle(t);i!==void 0&&this.title.setTitle(i)}static \u0275fac=function(i){return new(i||e)(D($C))};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e}
11)(),hr=new E("",{providedIn:"root",factory:()=>({})}),Ls=new E(""),Bf=(()=>{class e{componentLoaders=new WeakMap;childrenLoaders=new WeakMap;onLoadStartListener;onLoadEndListener;compiler=g(Nm);loadComponent(t,i){if(this.componentLoaders.get(i))return this.componentLoaders.get(i);if(i._loadedComponent)return I(i._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(i);let r=Fi(Xe(t,()=>i.loadComponent())).pipe(N(TI),Ne(SI),Ce(s=>{this.onLoadEndListener&&this.onLoadEndListener(i),i._loadedComponent=s}),li(()=>{this.componentLoaders.delete(i)})),o=new Oo(r,()=>new B).pipe(No());return this.componentLoaders.set(i,o),o}loadChildren(t,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 o=II(i,this.compiler,t,this.onLoadEndListener).pipe(li(()=>{this.childrenLoaders.delete(i)})),s=new Oo(o,()=>new B).pipe(No());return this.childrenLoaders.set(i,s),s}static \u0275fac=function(i){return new(i||e)};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function II(e,n,t,i){return Fi(Xe(t,()=>e.loadChildren())).pipe(N(TI),Ne(SI),he(r=>r instanceof Ju||Array.isArray(r)?I(r):fe(n.compileModuleAsync(r))),N(r=>{i&&i(e);let o,s,a=!1;return Array.isArray(r)?(s=r,a=!0):(o=r.create(t).injector,s=o.get(Ls,[],{optional:!0,self:!0}).flat()),{routes:s.map(S_),injector:o}}))}function eV(e){return e&&typeof e=="object"&&"default"in e}function TI(e){return eV(e)?e.default:e}function SI(e){return I(e)}var Hf=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275prov=y({token:e,factory:()=>g(tV),providedIn:"root"})}return e})(),tV=(()=>{class e{shouldProcessUrl(t){return!0}extract(t){return t}merge(t,i){return t}static \u0275fac=function(i){return new(i||e)};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),N_=new E(""),O_=new E("");function MI(e,n,t){let i=e.get(O_),r=e.get(ne);if(!r.startViewTransition||i.skipNextTransition)return i.skipNextTransition=!1,new Promise(c=>setTimeout(c));let o,s=new Promise(c=>{o=c}),a=r.startViewTransition(()=>(o(),nV(e)));a.ready.catch(c=>{});let{onViewTransitionCreated:l}=i;return l&&Xe(e,()=>l({transition:a,from:n,to:t})),s}function nV(e){return new Promise(n=>{La({read:()=>setTimeout(n)},{injector:e})})}var R_=new E(""),Uf=(()=>{class e{currentNavigation=cn(null,{equal:()=>!1});currentTransition=null;lastSuccessfulNavigation=null;events=new B;transitionAbortWithErrorSubject=new B;configLoader=g(Bf);environmentInjector=g(Pe);destroyRef=g(En);urlSerializer=g(mo);rootContexts=g(vo);location=g(tr);inputBindingEnabled=g(Vl,{optional:!0})!==null;titleStrategy=g(M_);options=g(hr,{optional:!0})||{};paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly";urlHandlingStrategy=g(Hf);createViewTransition=g(N_,{optional:!0});navigationErrorHandler=g(R_,{optional:!0});navigationId=0;get hasRequestedNavigation(){return this.navigationId!==0}transitions;afterPreactivation=()=>I(void 0);rootComponentType=null;destroyed=!1;constructor(){let t=r=>this.events.next(new Sf(r)),i=r=>this.events.next(new Mf(r));this.configLoader.onLoadEndListener=i,this.configLoader.onLoadStartListener=t,this.destroyRef.onDestroy(()=>{this.destroyed=!0})}complete(){this.transitions?.complete()}handleNavigationRequest(t){let i=++this.navigationId;Fe(()=>{this.transitions?.next(j(w({},t),{extractedUrl:this.urlHandlingStrategy.extract(t.rawUrl),targetSnapshot:null,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null,abortController:new AbortController,id:i}))})}setupNavigations(t){return this.transitions=new Ke(null),this.transitions.pipe(ae(i=>i!==null),Ne(i=>{let r=!1;return I(i).pipe(Ne(o=>{if(this.navigationId>i.id)return this.cancelNavigationTransition(i,"",Rt.SupersededByNewNavigation),Le;this.currentTransition=i,this.currentNavigation.set({id:o.id,initialUrl:o.rawUrl,extractedUrl:o.extractedUrl,targetBrowserUrl:typeof o.extras.browserUrl=="string"?this.urlSerializer.parse(o.extras.browserUrl):o.extras.browserUrl,trigger:o.source,extras:o.extras,previousNavigation:this.lastSuccessfulNavigation?j(w({},this.lastSuccessfulNavigation),{previousNavigation:null}):null,abort:()=>o.abortController.abort()});let s=!t.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),a=o.extras.onSameUrlNavigation??t.onSameUrlNavigation;if(!s&&a!=="reload")return this.events.next(new ni(o.id,this.urlSerializer.serialize(o.rawUrl),"",Ns.IgnoredSameUrlNavigation)),o.resolve(!1),Le;if(this.urlHandlingStrategy.shouldProcessUrl(o.rawUrl))return I(o).pipe(Ne(l=>(this.events.next(new fr(l.id,this.urlSerializer.serialize(l.extractedUrl),l.source,l.restoredState)),l.id!==this.navigationId?Le:Promise.resolve(l))),Yj(this.environmentInjector,this.configLoader,this.rootComponentType,t.config,this.urlSerializer,this.paramsInheritanceStrategy),Ce(l=>{i.targetSnapshot=l.targetSnapshot,i.urlAfterRedirects=l.urlAfterRedirects,this.currentNavigation.update(u=>(u.finalUrl=l.urlAfterRedirects,u));let c=new Rl(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(c)}));if(s&&this.urlHandlingStrategy.shouldProcessUrl(o.currentRawUrl)){let{id:l,extractedUrl:c,source:u,restoredState:d,extras:h}=o,f=new fr(l,this.urlSerializer.serialize(c),u,d);this.events.next(f);let p=fI(this.rootComponentType).snapshot;return this.currentTransition=i=j(w({},o),{targetSnapshot:p,urlAfterRedirects:c,extras:j(w({},h),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.update(v=>(v.finalUrl=c,v)),I(i)}else return this.events.next(new ni(o.id,this.urlSerializer.serialize(o.extractedUrl),"",Ns.IgnoredByUrlHandlingStrategy)),o.resolve(!1),Le}),Ce(o=>{let s=new Cf(o.id,this.urlSerializer.serialize(o.extractedUrl),this.urlSerializer.serialize(o.urlAfterRedirects),o.targetSnapshot);this.events.next(s)}),N(o=>(this.currentTransition=i=j(w({},o),{guards:pj(o.targetSnapshot,o.currentSnapshot,this.rootContexts)}),i)),Ij(this.environmentInjector,o=>
11this.events.next(o)),Ce(o=>{if(i.guardsResult=o.guardsResult,o.guardsResult&&typeof o.guardsResult!="boolean")throw Ff(this.urlSerializer,o.guardsResult);let s=new Ef(o.id,this.urlSerializer.serialize(o.extractedUrl),this.urlSerializer.serialize(o.urlAfterRedirects),o.targetSnapshot,!!o.guardsResult);this.events.next(s)}),ae(o=>o.guardsResult?!0:(this.cancelNavigationTransition(o,"",Rt.GuardRejected),!1)),l_(o=>{if(o.guards.canActivateChecks.length!==0)return I(o).pipe(Ce(s=>{let a=new If(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot);this.events.next(a)}),Ne(s=>{let a=!1;return I(s).pipe(Qj(this.paramsInheritanceStrategy,this.environmentInjector),Ce({next:()=>a=!0,complete:()=>{a||this.cancelNavigationTransition(s,"",Rt.NoDataFromResolver)}}))}),Ce(s=>{let a=new Tf(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot);this.events.next(a)}))}),l_(o=>{let s=a=>{let l=[];if(a.routeConfig?.loadComponent){let c=ks(a)??this.environmentInjector;l.push(this.configLoader.loadComponent(c,a.routeConfig).pipe(Ce(u=>{a.component=u}),N(()=>{})))}for(let c of a.children)l.push(...s(c));return l};return ko(s(o.targetSnapshot.root)).pipe($i(null),we(1))}),l_(()=>this.afterPreactivation()),Ne(()=>{let{currentSnapshot:o,targetSnapshot:s}=i,a=this.createViewTransition?.(this.environmentInjector,o.root,s.root);return a?fe(a).pipe(N(()=>i)):I(i)}),N(o=>{let s=cj(t.routeReuseStrategy,o.targetSnapshot,o.currentRouterState);return this.currentTransition=i=j(w({},o),{targetRouterState:s}),this.currentNavigation.update(a=>(a.targetRouterState=s,a)),i}),Ce(()=>{this.events.next(new Al)}),hj(this.rootContexts,t.routeReuseStrategy,o=>this.events.next(o),this.inputBindingEnabled),we(1),Me(new V(o=>{let s=i.abortController.signal,a=()=>o.next();return s.addEventListener("abort",a),()=>s.removeEventListener("abort",a)}).pipe(ae(()=>!r&&!i.targetRouterState),Ce(()=>{this.cancelNavigationTransition(i,i.abortController.signal.reason+"",Rt.Aborted)}))),Ce({next:o=>{r=!0,this.lastSuccessfulNavigation=Fe(this.currentNavigation),this.events.next(new Xt(o.id,this.urlSerializer.serialize(o.extractedUrl),this.urlSerializer.serialize(o.urlAfterRedirects))),this.titleStrategy?.updateTitle(o.targetRouterState.snapshot),o.resolve(!0)},complete:()=>{r=!0}}),Me(this.transitionAbortWithErrorSubject.pipe(Ce(o=>{throw o}))),li(()=>{r||this.cancelNavigationTransition(i,"",Rt.SupersededByNewNavigation),this.currentTransition?.id===i.id&&(this.currentNavigation.set(null),this.currentTransition=null)}),At(o=>{if(this.destroyed)return i.resolve(!1),Le;if(r=!0,_I(o))this.events.next(new ei(i.id,this.urlSerializer.serialize(i.extractedUrl),o.message,o.cancellationCode)),fj(o)?this.events.next(new As(o.url,o.navigationBehaviorOptions)):i.resolve(!1);else{let s=new Os(i.id,this.urlSerializer.serialize(i.extractedUrl),o,i.targetSnapshot??void 0);try{let a=Xe(this.environmentInjector,()=>this.navigationErrorHandler?.(s));if(a instanceof xs){let{message:l,cancellationCode:c}=Ff(this.urlSerializer,a);this.events.next(new ei(i.id,this.urlSerializer.serialize(i.extractedUrl),l,c)),this.events.next(new As(a.redirectTo,a.navigationBehaviorOptions))}else throw this.events.next(s),o}catch(a){this.options.resolveNavigationPromiseOnError?i.resolve(!1):i.reject(a)}}return Le}))}))}cancelNavigationTransition(t,i,r){let o=new ei(t.id,this.urlSerializer.serialize(t.extractedUrl),i,r);this.events.next(o),t.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){let t=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),i=Fe(this.currentNavigation),r=i?.targetBrowserUrl??i?.extractedUrl;return t.toString()!==r?.toString()&&!i?.extras.skipLocationChange}static \u0275fac=function(i){return new(i||e)};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function iV(e){return e!==Ss}var NI=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275prov=y({token:e,factory:()=>g(rV),providedIn:"root"})}return e})(),jf=class{shouldDetach(n){return!1}store(n,t){}shouldAttach(n){return!1}retrieve(n){return null}
vendor: 14,265 bytes, line 11
11shouldReuseRoute(n,t){return n.routeConfig===t.routeConfig}},rV=(()=>{class e extends jf{static \u0275fac=(()=>{let t;return function(r){return(t||(t=Ie(e)))(r||e)}})();static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),OI=(()=>{class e{urlSerializer=g(mo);options=g(hr,{optional:!0})||{};canceledNavigationResolution=this.options.canceledNavigationResolution||"replace";location=g(tr);urlHandlingStrategy=g(Hf);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";currentUrlTree=new ti;getCurrentUrlTree(){return this.currentUrlTree}rawUrlTree=this.currentUrlTree;getRawUrlTree(){return this.rawUrlTree}createBrowserPath({finalUrl:t,initialUrl:i,targetBrowserUrl:r}){let o=t!==void 0?this.urlHandlingStrategy.merge(t,i):i,s=r??o;return s instanceof ti?this.urlSerializer.serialize(s):s}commitTransition({targetRouterState:t,finalUrl:i,initialUrl:r}){i&&t?(this.currentUrlTree=i,this.rawUrlTree=this.urlHandlingStrategy.merge(i,r),this.routerState=t):this.rawUrlTree=r}routerState=fI(null);getRouterState(){return this.routerState}stateMemento=this.createStateMemento();updateStateMemento(){this.stateMemento=this.createStateMemento()}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}resetInternalState({finalUrl:t}){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,t??this.rawUrlTree)}static \u0275fac=function(i){return new(i||e)};static \u0275prov=y({token:e,factory:()=>g(oV),providedIn:"root"})}return e})(),oV=(()=>{class e extends OI{currentPageId=0;lastSuccessfulId=-1;restoredState(){return this.location.getState()}get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}registerNonRouterCurrentEntryChangeListener(t){return this.location.subscribe(i=>{i.type==="popstate"&&setTimeout(()=>{t(i.url,i.state,"popstate")})})}handleRouterEvent(t,i){t instanceof fr?this.updateStateMemento():t instanceof ni?this.commitTransition(i):t instanceof Rl?this.urlUpdateStrategy==="eager"&&(i.extras.skipLocationChange||this.setBrowserUrl(this.createBrowserPath(i),i)):t instanceof Al?(this.commitTransition(i),this.urlUpdateStrategy==="deferred"&&!i.extras.skipLocationChange&&this.setBrowserUrl(this.createBrowserPath(i),i)):t instanceof ei&&t.code!==Rt.SupersededByNewNavigation&&t.code!==Rt.Redirect?this.restoreHistory(i):t instanceof Os?this.restoreHistory(i,!0):t instanceof Xt&&(this.lastSuccessfulId=t.id,this.currentPageId=this.browserPageId)}setBrowserUrl(t,{extras:i,id:r}){let{replaceUrl:o,state:s}=i;if(this.location.isCurrentPathEqualTo(t)||o){let a=this.browserPageId,l=w(w({},s),this.generateNgRouterState(r,a));this.location.replaceState(t,"",l)}else{let a=w(w({},s),this.generateNgRouterState(r,this.browserPageId+1));this.location.go(t,"",a)}}restoreHistory(t,i=!1){if(this.canceledNavigationResolution==="computed"){let r=this.browserPageId,o=this.currentPageId-r;o!==0?this.location.historyGo(o):this.getCurrentUrlTree()===t.finalUrl&&o===0&&(this.resetInternalState(t),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(i&&this.resetInternalState(t),this.resetUrlToCurrentUrlTree())}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.getRawUrlTree()),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(t,i){return this.canceledNavigationResolution==="computed"?{navigationId:t,\u0275routerPageId:i}:{navigationId:t}}static \u0275fac=(()=>{let t;return function(r){return(t||(t=Ie(e)))(r||e)}})();static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function $f(e,n){e.events.pipe(ae(t=>t instanceof Xt||t instanceof ei||t instanceof Os||t instanceof ni),N(t=>t instanceof Xt||t instanceof ni?0:(t instanceof ei?t.code===Rt.Redirect||t.code===Rt.SupersededByNewNavigation:!1)?2:1),ae(t=>t!==2),we(1)).subscribe(()=>{n()})}var sV={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},aV={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},ii=(()=>{class e{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}disposed=!1;nonRouterCurrentEntryChangeSubscription;console=g(Xu);stateManager=g(OI);options=g(hr,{optional:!0})||{};pendingTasks=g(Wn);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";navigationTransitions=g(Uf);urlSerializer=g(mo);location=g(tr);urlHandlingStrategy=g(Hf);injector=g(Pe);_events=new B;get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}navigated=!1;routeReuseStrategy=g(NI);onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore";config=g(Ls,{optional:!0})?.flat()??[];componentInputBindingEnabled=!!g(Vl,{optional:!0});currentNavigation=this.navigationTransitions.currentNavigation.asReadonly();constructor(){this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this).subscribe({error:t=>{this.console.warn(t)}}),this.subscribeToNavigationEvents()}eventsSubscription=new De;subscribeToNavigationEvents(){let t=this.navigationTransitions.events.subscribe(i=>{try{let r=this.navigationTransitions.currentTransition,o=Fe(this.navigationTransitions.currentNavigation);if(r!==null&&o!==null){if(this.stateManager.handleRouterEvent(i,o),i instanceof ei&&i.code!==Rt.Redirect&&i.code!==Rt.SupersededByNewNavigation)this.navigated=!0;else if(i instanceof Xt)this.navigated=!0;else if(i instanceof As){let s=i.navigationBehaviorOptions,a=this.urlHandlingStrategy.merge(i.url,r.currentRawUrl),l=w({browserUrl:r.extras.browserUrl,info:r.extras.info,skipLocationChange:r.extras.skipLocationChange,replaceUrl:r.extras.replaceUrl||this.urlUpdateStrategy==="eager"||iV(r.source)},s);this.scheduleNavigation(a,Ss,null,l,{resolve:r.resolve,reject:r.reject,promise:r.promise})}}oj(i)&&this._events.next(i)}catch(r){this.navigationTransitions.transitionAbortWithErrorSubject.next(r)}});this.eventsSubscription.add(t)}resetRootComponentType(t){this.routerState.root.component=t,this.navigationTransitions.rootComponentType=t}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),Ss,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((t,i,r)=>{this.navigateToSyncWithBrowser(t,r,i)})}navigateToSyncWithBrowser(t,i,r){let o={replaceUrl:!0},s=r?.navigationId?r:null;if(r){let l=w({},r);delete l.navigationId,delete l.\u0275routerPageId,Object.keys(l).length!==0&&(o.state=l)}let a=this.parseUrl(t);this.scheduleNavigation(a,i,s,o).catch(l=>{this.disposed||this.injector.get(Tt)(l)})}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return Fe(this.navigationTransitions.currentNavigation)}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(t){this.config=t.map(S_),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this._events.unsubscribe(),this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(t,i={}){let{relativeTo:r,queryParams:o,fragment:s,queryParamsHandling:a,preserveFragment:l}=i,c=l?this.currentUrlTree.fragment:s,u=null;switch(a??this.options.defaultQueryParamsHandling){case"merge":u=w(w({},this.currentUrlTree.queryParams),o);break;case"preserve":u=this.currentUrlTree.queryParams;break;default:u=o||null}u!==null&&(u=this.removeEmptyProps(u));let d;try{let h=r?r.snapshot:this.routerState.snapshot.root;d=lI(h)}catch{(typeof t[0]!="string"||t[0][0]!=="/")&&(t=[]),d=this.currentUrlTree.root}return cI(d,t,u,c??null)}navigateByUrl(t,i={skipLocationChange:!1}){let r=dr(t)?t:this.parseUrl(t),o=this.urlHandlingStrategy.merge(r,this.rawUrlTree);return this.scheduleNavigation(o,Ss,null,i)}navigate(t,i={skipLocationChange:!1}){return lV(t),this.navigateByUrl(this.createUrlTree(t,i),i)}serializeUrl(t){return this.urlSerializer.serialize(t)}parseUrl(t){try{return this.urlSerializer.parse(t)}catch{return this.urlSerializer.parse("/")}}isActive(t,i){let r;if(i===!0?r=w({},sV):i===!1?r=w({},aV):r=i,dr(t))return $1(this.currentUrlTree,t,r);let o=this.parseUrl(t);return $1(this.currentUrlTree,o,r)}removeEmptyProps(t){return Object.entries(t).reduce((i,[r,o])=>(o!=null&&(i[r]=o),i),{})}scheduleNavigation(t,i,r,o,s){if(this.disposed)return Promise.resolve(!1);let a,l,c;s?(a=s.resolve,l=s.reject,c=s.promise):c=new Promise((d,h)=>{a=d,l=h});let u=this.pendingTasks.add();return $f(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(u))}),this.navigationTransitions.handleNavigationRequest({source:i,restoredState:r,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:t,extras:o,resolve:a,reject:l,promise:c,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),c.catch(d=>Promise.reject(d))}static \u0275fac=function(i){return new(i||e)};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function lV(e){for(let n=0;n<e.length;n++)if(e[n]==null)throw new C(4008,!1)}var Gf=(()=>{class e{router;route;tabIndexAttribute;renderer;el;locationStrategy;reactiveHref=cn(null);get href(){return Fe(this.reactiveHref)}set href(t){this.reactiveHref.set(t)}target;queryParams;fragment;queryParamsHandling;state;info;relativeTo;isAnchorElement;subscription;onChanges=new B;applicationErrorHandler=g(Tt);options=g(hr,{optional:!0});constructor(t,i,r,o,s,a){this.router=t,this.route=i,this.tabIndexAttribute=r,this.renderer=o,this.el=s,this.locationStrategy=a,this.reactiveHref.set(g(new ud("href"),{optional:!0}));let l=s.nativeElement.tagName?.toLowerCase();this.isAnchorElement=l==="a"||l==="area"||!!(typeof customElements=="object"&&customElements.get(l)?.observedAttributes?.includes?.("href")),this.isAnchorElement?this.setTabIndexIfNotOnNativeEl("0"):this.subscribeToNavigationEventsIfNecessary()}subscribeToNavigationEventsIfNecessary(){if(this.subscription!==void 0||!this.isAnchorElement)return;let t=this.preserveFragment,i=r=>r==="merge"||r==="preserve";t||=i(this.queryParamsHandling),t||=!this.queryParamsHandling&&!i(this.options?.defaultQueryParamsHandling),t&&(this.subscription=this.router.events.subscribe(r=>{r instanceof Xt&&this.updateHref()}))}preserveFragment=!1;skipLocationChange=!1;replaceUrl=!1;setTabIndexIfNotOnNativeEl(t){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue("tabindex",t)}ngOnChanges(t){this.isAnchorElement&&(this.updateHref(),this.subscribeToNavigationEventsIfNecessary()),this.onChanges.next(this)}routerLinkInput=null;set routerLink(t){t==null?(this.routerLinkInput=null,this.setTabIndexIfNotOnNativeEl(null)):(dr(t)?this.routerLinkInput=t:this.routerLinkInput=Array.isArray(t)?t:[t],this.setTabIndexIfNotOnNativeEl("0"))}onClick(t,i,r,o,s){let a=this.urlTree;if(a===null||this.isAnchorElement&&(t!==0||i||r||o||s||typeof this.target=="string"&&this.target!="_self"))return!0;let l={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info};return this.router.navigateByUrl(a,l)?.catch(c=>{this.applicationErrorHandler(c)}),!this.isAnchorElement}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){let t=this.urlTree;this.reactiveHref.set(t!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(t))??"":null)}applyAttributeValue(t,i){let r=this.renderer,o=this.el.nativeElement;i!==null?r.setAttribute(o,t,i):r.removeAttribute(o,t)}get urlTree(){return this.routerLinkInput===null?null:dr(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})}static \u0275fac=function(i){return new(i||e)(m(ii),m(ki),ts("tabindex"),m(Ve),m(ie),m(Nn))};static \u0275dir=G({type:e,selectors:[["","routerLink",""]],hostVars:2,hostBindings:function(i,r){i&1&&re("click",function(s){return r.onClick(s.button,s.ctrlKey,s.shiftKey,s.altKey,s.metaKey)}),i&2&&qe("href",r.reactiveHref(),qg)("target",r.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",er],skipLocationChange:[2,"skipLocationChange","skipLocationChange",er],replaceUrl:[2,"replaceUrl","replaceUrl",er],routerLink:"routerLink"},features:[ke]})}return e})(),cV=(()=>{class e{router;element;renderer;cdr;link;links;classes=[];routerEventsSubscription;linkInputChangesSubscription;_isActive=!1;get isActive(){return this._isActive}routerLinkActiveOptions={exact:!1};ariaCurrentWhenActive;isActiveChange=new H;constructor(t,i,r,o,s){this.router=t,this.element=i,this.renderer=r,this.cdr=o,this.link=s,this.routerEventsSubscription=t.events.subscribe(a=>{a instanceof Xt&&this.update()})}ngAfterContentInit(){I(this.links.changes,I(null)).pipe(Vn()).subscribe(t=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();let t=[...this.links.toArray(),this.link].filter(i=>!!i).map(i=>i.onChanges);this.linkInputChangesSubscription=fe(t).pipe(Vn()).subscribe(i=>{this._isActive!==this.isLinkActive(this.router)(i)&&this.update()})}set routerLinkActive(t){let i=Array.isArray(t)?t:t.split(" ");this.classes=i.filter(r=>!!r)}ngOnChanges(t){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{let t=this.hasActiveLinks();
11this.classes.forEach(i=>{t?this.renderer.addClass(this.element.nativeElement,i):this.renderer.removeClass(this.element.nativeElement,i)}),t&&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!==t&&(this._isActive=t,this.cdr.markForCheck(),this.isActiveChange.emit(t))})}isLinkActive(t){let i=uV(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return r=>{let o=r.urlTree;return o?t.isActive(o,i):!1}}hasActiveLinks(){let t=this.isLinkActive(this.router);return this.link&&t(this.link)||this.links.some(t)}static \u0275fac=function(i){return new(i||e)(m(ii),m(ie),m(Ve),m(Dt),m(Gf,8))};static \u0275dir=G({type:e,selectors:[["","routerLinkActive",""]],contentQueries:function(i,r,o){if(i&1&&Ua(o,Gf,5),i&2){let s;Qn(s=Jn())&&(r.links=s)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],features:[ke]})}return e})();function uV(e){return!!e.paths}var Hl=class{};var RI=(()=>{class e{router;injector;preloadingStrategy;loader;subscription;constructor(t,i,r,o){this.router=t,this.injector=i,this.preloadingStrategy=r,this.loader=o}setUpPreloading(){this.subscription=this.router.events.pipe(ae(t=>t instanceof Xt),nn(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(t,i){let r=[];for(let o of i){o.providers&&!o._injector&&(o._injector=is(o.providers,t,`Route: ${o.path}`));let s=o._injector??t,a=o._loadedInjector??s;(o.loadChildren&&!o._loadedRoutes&&o.canLoad===void 0||o.loadComponent&&!o._loadedComponent)&&r.push(this.preloadConfig(s,o)),(o.children||o._loadedRoutes)&&r.push(this.processRoutes(a,o.children??o._loadedRoutes))}return fe(r).pipe(Vn())}preloadConfig(t,i){return this.preloadingStrategy.preload(i,()=>{let r;i.loadChildren&&i.canLoad===void 0?r=this.loader.loadChildren(t,i):r=I(null);let o=r.pipe(he(s=>s===null?I(void 0):(i._loadedRoutes=s.routes,i._loadedInjector=s.injector,this.processRoutes(s.injector??t,s.routes))));if(i.loadComponent&&!i._loadedComponent){let s=this.loader.loadComponent(t,i);return fe([o,s]).pipe(Vn())}else return o})}static \u0275fac=function(i){return new(i||e)(D(ii),D(Pe),D(Hl),D(Bf))};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),AI=new E(""),dV=(()=>{class e{urlSerializer;transitions;viewportScroller;zone;options;routerEventsSubscription;scrollEventsSubscription;lastId=0;lastSource=Ss;restoredId=0;store={};constructor(t,i,r,o,s={}){this.urlSerializer=t,this.transitions=i,this.viewportScroller=r,this.zone=o,this.options=s,s.scrollPositionRestoration||="disabled",s.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(t=>{t instanceof fr?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=t.navigationTrigger,this.restoredId=t.restoredState?t.restoredState.navigationId:0):t instanceof Xt?(this.lastId=t.id,this.scheduleScrollEvent(t,this.urlSerializer.parse(t.urlAfterRedirects).fragment)):t instanceof ni&&t.code===Ns.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(t,this.urlSerializer.parse(t.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(t=>{t instanceof Rs&&(t.position?this.options.scrollPositionRestoration==="top"?this.viewportScroller.scrollToPosition([0,0]):this.options.scrollPositionRestoration==="enabled"&&this.viewportScroller.scrollToPosition(t.position):t.anchor&&this.options.anchorScrolling==="enabled"?this.viewportScroller.scrollToAnchor(t.anchor):this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(t,i){this.zone.runOutsideAngular(()=>yo(this,null,function*(){yield new Promise(r=>{setTimeout(r),typeof requestAnimationFrame<"u"&&requestAnimationFrame(r)}),this.zone.run(()=>{this.transitions.events.next(new Rs(t,this.lastSource==="popstate"?this.store[this.restoredId]:null,i))})}))}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static \u0275fac=function(i){cm()};static \u0275prov=y({token:e,factory:e.\u0275fac})}return e})();function fV(e){return e.routerState.root}function Ul(e,n){return{\u0275kind:e,\u0275providers:n}}function hV(){let e=g(ce);return n=>{let t=e.get(it);if(n!==t.components[0])return;let i=e.get(ii),r=e.get(xI);e.get(x_)===1&&i.initialNavigation(),e.get(FI,null,{optional:!0})?.setUpPreloading(),e.get(AI,null,{optional:!0})?.init(),i.resetRootComponentType(t.componentTypes[0]),r.closed||(r.next(),r.complete(),r.unsubscribe())}}var xI=new E("",{factory:()=>new B}),x_=new E("",{providedIn:"root",factory:()=>1});function PI(){let e=[{provide:ju,useValue:!0},{provide:x_,useValue:0},nd(()=>{let n=g(ce);return n.get(Hm,Promise.resolve()).then(()=>new Promise(i=>{let r=n.get(ii),o=n.get(xI);$f(r,()=>{i(!0)}),n.get(Uf).afterPreactivation=()=>(i(!0),o.closed?I(void 0):o),r.initialNavigation()}))})];return Ul(2,e)}function kI(){let e=[nd(()=>{g(ii).setUpLocationChangeListener()}),{provide:x_,useValue:2}];return Ul(3,e)}var FI=new E("");function LI(e){return Ul(0,[{provide:FI,useExisting:RI},{provide:Hl,useExisting:e}])}function jI(){return Ul(8,[I_,{provide:Vl,useExisting:I_}])}function VI(e){Yn("NgRouterViewTransitions");let n=[{provide:N_,useValue:MI},{provide:O_,useValue:w({skipNextTransition:!!e?.skipInitialTransition},e)}];return Ul(9,n)}var BI=[tr,{provide:mo,useClass:ur},ii,vo,{provide:ki,useFactory:fV,deps:[ii]},Bf,[]],pV=(()=>{class e{constructor(){}static forRoot(t,i){return{ngModule:e,providers:[BI,[],{provide:Ls,multi:!0,useValue:t},[],i?.errorHandler?{provide:R_,useValue:i.errorHandler}:[],{provide:hr,useValue:i||{}},i?.useHash?mV():vV(),gV(),i?.preloadingStrategy?LI(i.preloadingStrategy).\u0275providers:[],i?.initialNavigation?_V(i):[],i?.bindToComponentInputs?jI().\u0275providers:[],i?.enableViewTransitions?VI().\u0275providers:[],yV()]}}static forChild(t){return{ngModule:e,providers:[{provide:Ls,multi:!0,useValue:t}]}}static \u0275fac=function(i){return new(i||e)};static \u0275mod=K({type:e});static \u0275inj=Q({})}return e})();function gV(){return{provide:AI,useFactory:()=>{let e=g(bC),n=g(ee),t=g(hr),i=g(Uf),r=g(mo);return t.scrollOffset&&e.setOffset(t.scrollOffset),new dV(r,i,e,n,t)}}}function mV(){return{provide:Nn,useClass:Qm}}function vV(){return{provide:Nn,useClass:md}}function _V(e){return[e.initialNavigation==="disabled"?kI().\u0275providers:[],e.initialNavigation==="enabledBlocking"?PI().\u0275providers:[]]}var A_=new E("");function yV(){return[{provide:A_,useFactory:hV},{provide:id,multi:!0,useExisting:A_}]}var pr=(function(e){return e[e.State=0]="State",e[e.Transition=1]="Transition",e[e.Sequence=2]="Sequence",e[e.Group=3]="Group",e[e.Animate=4]="Animate",e[e.Keyframes=5]="Keyframes",e[e.Style=6]="Style",e[e.Trigger=7]="Trigger",e[e.Reference=8]="Reference",e[e.AnimateChild=9]="AnimateChild",e[e.AnimateRef=10]="AnimateRef",e[e.Query=11]="Query",e[e.Stagger=12]="Stagger",e})(pr||{}),bV="*";function F_(e,n){return{type:pr.Trigger,name:e,definitions:n,options:{}}}function zf(e,n=null){return{type:pr.Animate,styles:n,timings:e}}function Tne(e,n=null){return{type:pr.Sequence,steps:e,options:n}}function $l(e){return{type:pr.Style,styles:e,offset:null}}function Gl(e,n,t){return{type:pr.State,name:e,styles:n,options:t}}function Wf(e,n,t=null){return{type:pr.Transition,expr:e,animation:n,options:t}}var P_=class{_onDoneFns=[];_onStartFns=[];_onDestroyFns=[];_originalOnDoneFns=[];_originalOnStartFns=[];_started=!1;_destroyed=!1;_finished=!1;_position=0;parentPlayer=null;totalTime;constructor(n=0,t=0){this.totalTime=n+t}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(n=>n()),this._onDoneFns=[])}onStart(n){this._originalOnStartFns.push(n),this._onStartFns.push(n)}onDone(n){this._originalOnDoneFns.push(n),this._onDoneFns.push(n)}onDestroy(n){this._onDestroyFns.push(n)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(n=>n()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(n=>n()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(n){this._position=this.totalTime?n*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(n){let t=n=="start"?this._onStartFns:this._onDoneFns;t.forEach(i=>
11i()),t.length=0}},k_=class{_onDoneFns=[];_onStartFns=[];_finished=!1;_started=!1;_destroyed=!1;_onDestroyFns=[];parentPlayer=null;totalTime=0;players;constructor(n){this.players=n;let t=0,i=0,r=0,o=this.players.length;o==0?queueMicrotask(()=>this._onFinish()):this.players.forEach(s=>{s.onDone(()=>{++t==o&&this._onFinish()}),s.onDestroy(()=>{++i==o&&this._onDestroy()}),s.onStart(()=>{++r==o&&this._onStart()})}),this.totalTime=this.players.reduce((s,a)=>Math.max(s,a.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(n=>n()),this._onDoneFns=[])}init(){this.players.forEach(n=>n.init())}onStart(n){this._onStartFns.push(n)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(n=>n()),this._onStartFns=[])}onDone(n){this._onDoneFns.push(n)}onDestroy(n){this._onDestroyFns.push(n)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(n=>n.play())}pause(){this.players.forEach(n=>n.pause())}restart(){this.players.forEach(n=>n.restart())}finish(){this._onFinish(),this.players.forEach(n=>n.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(n=>n.destroy()),this._onDestroyFns.forEach(n=>n()),this._onDestroyFns=[])}reset(){this.players.forEach(n=>n.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(n){let t=n*this.totalTime;this.players.forEach(i=>{let r=i.totalTime?Math.min(1,t/i.totalTime):1;i.setPosition(r)})}getPosition(){let n=this.players.reduce((t,i)=>t===null||i.totalTime>t.totalTime?i:t,null);return n!=null?n.getPosition():0}beforeDestroy(){this.players.forEach(n=>{n.beforeDestroy&&n.beforeDestroy()})}triggerCallback(n){let t=n=="start"?this._onStartFns:this._onDoneFns;t.forEach(i=>i()),t.length=0}},DV="!";var HI=["toast-component",""];function wV(e,n){if(e&1){let t=Sn();k(0,"button",5),re("click",function(){xt(t);let r=z();return Pt(r.remove())}),k(1,"span",6),oe(2,"\xD7"),L()()}}function CV(e,n){if(e&1&&(zr(0),oe(1),Wr()),e&2){let t=z(2);S(),ht("[",t.duplicatesCount+1,"]")}}function EV(e,n){if(e&1&&(k(0,"div"),oe(1),de(2,CV,2,1,"ng-container",4),L()),e&2){let t=z();Nt(t.options.titleClass),qe("aria-label",t.title),S(),ht(" ",t.title," "),S(),A("ngIf",t.duplicatesCount)}}function IV(e,n){if(e&1&&Ae(0,"div",7),e&2){let t=z();Nt(t.options.messageClass),A("innerHTML",t.message,$r)}}function TV(e,n){if(e&1&&(k(0,"div",8),oe(1),L()),e&2){let t=z();Nt(t.options.messageClass),qe("aria-label",t.message),S(),ht(" ",t.message," ")}}function SV(e,n){if(e&1&&(k(0,"div"),Ae(1,"div",9),L()),e&2){let t=z();S(),Xi("width",t.width+"%")}}function MV(e,n){if(e&1){let t=Sn();k(0,"button",5),re("click",function(){xt(t);let r=z();return Pt(r.remove())}),k(1,"span",6),oe(2,"\xD7"),L()()}}function NV(e,n){if(e&1&&(zr(0),oe(1),Wr()),e&2){let t=z(2);S(),ht("[",t.duplicatesCount+1,"]")}}function OV(e,n){if(e&1&&(k(0,"div"),oe(1),de(2,NV,2,1,"ng-container",4),L()),e&2){let t=z();Nt(t.options.titleClass),qe("aria-label",t.title),S(),ht(" ",t.title," "),S(),A("ngIf",t.duplicatesCount)}}function RV(e,n){if(e&1&&Ae(0,"div",7),e&2){let t=z();Nt(t.options.messageClass),A("innerHTML",t.message,$r)}}function AV(e,n){if(e&1&&(k(0,"div",8),oe(1),L()),e&2){let t=z();Nt(t.options.messageClass),qe("aria-label",t.message),S(),ht(" ",t.message," ")}}function xV(e,n){if(e&1&&(k(0,"div"),Ae(1,"div",9),L()),e&2){let t=z();S(),Xi("width",t.width+"%")}}var L_=class{constructor(n,t){this.component=n,this.injector=t}attach(n,t){return this._attachedHost=n,n.attach(this,t)}detach(){let n=this._attachedHost;if(n)return this._attachedHost=void 0,n.detach()}get isAttached(){return this._attachedHost!=null}setAttachedHost(n){this._attachedHost=n}},j_=class{attach(n,t){return this._attachedPortal=n,this.attachComponentPortal(n,t)}detach(){this._attachedPortal&&this._attachedPortal.setAttachedHost(),this._attachedPortal=void 0,this._disposeFn&&(this._disposeFn(),this._disposeFn=void 0)}setDisposeFn(n){this._disposeFn=n}},V_=class{constructor(n){this._overlayRef=n,this.duplicatesCount=0,this._afterClosed=new B,this._activate=new B,this._manualClose=new B,this._resetTimeout=new B,this._countDuplicate=new B}manualClose(){this._manualClose.next(),this._manualClose.complete()}manualClosed(){return this._manualClose.asObservable()}timeoutReset(){return this._resetTimeout.asObservable()}countDuplicate(){return this._countDuplicate.asObservable()}close(){this._overlayRef.detach(),this._afterClosed.next(),this._manualClose.next(),this._afterClosed.complete(),this._manualClose.complete(),this._activate.complete(),this._resetTimeout.complete(),this._countDuplicate.complete()}afterClosed(){return this._afterClosed.asObservable()}isInactive(){return this._activate.isStopped}activate(){this._activate.next(),this._activate.complete()}afterActivate(){return this._activate.asObservable()}
11onDuplicate(n,t){n&&this._resetTimeout.next(),t&&this._countDuplicate.next(++this.duplicatesCount)}},js=class{constructor(n,t,i,r,o,s){this.toastId=n,this.config=t,this.message=i,this.title=r,this.toastType=o,this.toastRef=s,this._onTap=new B,this._onAction=new B,this.toastRef.afterClosed().subscribe(()=>{this._onAction.complete(),this._onTap.complete()})}triggerTap(){this._onTap.next(),this.config.tapToDismiss&&this._onTap.complete()}onTap(){return this._onTap.asObservable()}triggerAction(n){this._onAction.next(n)}onAction(){return this._onAction.asObservable()}},UI={maxOpened:0,autoDismiss:!1,newestOnTop:!0,preventDuplicates:!1,countDuplicates:!1,resetTimeoutOnDuplicate:!1,includeTitleDuplicates:!1,iconClasses:{error:"toast-error",info:"toast-info",success:"toast-success",warning:"toast-warning"},closeButton:!1,disableTimeOut:!1,timeOut:5e3,extendedTimeOut:1e3,enableHtml:!1,progressBar:!1,toastClass:"ngx-toastr",positionClass:"toast-top-right",titleClass:"toast-title",messageClass:"toast-message",easing:"ease-in",easeTime:300,tapToDismiss:!0,onActivateTick:!1,progressAnimation:"decreasing",payload:null},$I=new E("ToastConfig"),B_=class extends j_{constructor(n,t,i){super(),this._hostDomElement=n,this._componentFactoryResolver=t,this._appRef=i}attachComponentPortal(n,t){let i=this._componentFactoryResolver.resolveComponentFactory(n.component),r;return r=i.create(n.injector),this._appRef.attachView(r.hostView),this.setDisposeFn(()=>{this._appRef.detachView(r.hostView),r.destroy()}),t?this._hostDomElement.insertBefore(this._getComponentRootNode(r),this._hostDomElement.firstChild):this._hostDomElement.appendChild(this._getComponentRootNode(r)),r}_getComponentRootNode(n){return n.hostView.rootNodes[0]}},H_=class{constructor(n){this._portalHost=n}attach(n,t=!0){return this._portalHost.attach(n,t)}detach(){return this._portalHost.detach()}},PV=(()=>{class e{constructor(t){this._document=t}ngOnDestroy(){this._containerElement&&this._containerElement.parentNode&&this._containerElement.parentNode.removeChild(this._containerElement)}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){let t=this._document.createElement("div");t.classList.add("overlay-container"),t.setAttribute("aria-live","polite"),this._document.body.appendChild(t),this._containerElement=t}}return e.\u0275fac=function(t){return new(t||e)(D(ne))},e.\u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),kV=(()=>{class e{constructor(t,i,r,o){this._overlayContainer=t,this._componentFactoryResolver=i,this._appRef=r,this._document=o,this._paneElements=new Map}create(t,i){return this._createOverlayRef(this.getPaneElement(t,i))}getPaneElement(t="",i){return this._paneElements.get(i)||this._paneElements.set(i,{}),this._paneElements.get(i)[t]||(this._paneElements.get(i)[t]=this._createPaneElement(t,i)),this._paneElements.get(i)[t]}_createPaneElement(t,i){let r=this._document.createElement("div");return r.id="toast-container",r.classList.add(t),r.classList.add("toast-container"),i?i.getContainerElement().appendChild(r):this._overlayContainer.getContainerElement().appendChild(r),r}_createPortalHost(t){return new B_(t,this._componentFactoryResolver,this._appRef)}_createOverlayRef(t){return new H_(this._createPortalHost(t))}}return e.\u0275fac=function(t){return new(t||e)(D(PV),D(yi),D(it),D(ne))},e.\u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),qf=(()=>{class e{constructor(t,i,r,o,s){this.overlay=i,this._injector=r,this.sanitizer=o,this.ngZone=s,this.currentlyActive=0,this.toasts=[],this.index=0,this.toastrConfig=w(w({},t.default),t.config),t.config.iconClasses&&(this.toastrConfig.iconClasses=w(w({},t.default.iconClasses),t.config.iconClasses))}show(t,i,r={},o=""){return this._preBuildNotification(o,t,i,this.applyConfig(r))}success(t,i,r={}){let o=this.toastrConfig.iconClasses.success||"";return this._preBuildNotification(o,t,i,this.applyConfig(r))}error(t,i,r={}){let o=this.toastrConfig.iconClasses.error||"";return this._preBuildNotification(o,t,i,this.applyConfig(r))}info(t,i,r={}){let o=this.toastrConfig.iconClasses.info||"";return this._preBuildNotification(o,t,i,this.applyConfig(r))}warning(t,i,r={}){let o=this.toastrConfig.iconClasses.warning||"";return this._preBuildNotification(o,t,i,this.applyConfig(r))}clear(t){for(let i of this.toasts)if(t!==void 0){if(i.toastId===t){i.toastRef.manualClose();return}}else i.toastRef.manualClose()}remove(t){let i=this._findToast(t);if(!i||(i.activeToast.toastRef.close(),this.toasts.splice(i.index,1),this.currentlyActive=this.currentlyActive-1,!this.toastrConfig.maxOpened||!this.toasts.length))return!1;if(this.currentlyActive<this.toastrConfig.maxOpened&&this.toasts[this.currentlyActive]){let r=this.toasts[this.currentlyActive].toastRef;r.isInactive()||(this.currentlyActive=this.currentlyActive+1,r.activate())}return!0}findDuplicate(t="",i="",r,o){let{includeTitleDuplicates:s}=this.toastrConfig;for(let a of this.toasts){let l=s&&a.title===t;if((!s||l)&&a.message===i)return a.toastRef.onDuplicate(r,o),a}return null}applyConfig(t={}){return w(w({},this.toastrConfig),t)}_findToast(t){for(let i=0;i<this.toasts.length;i++)if(this.toasts[i].toastId===t)return{index:i,activeToast:this.toasts[i]};return null}_preBuildNotification(t,i,r,o){return o.onActivateTick?this.ngZone.run(()=>this._buildNotification(t,i,r,o)):this._buildNotification(t,i,r,o)}_buildNotification(t,i,r,o){if(!o.toastComponent)throw new Error("toastComponent required");let s=this.findDuplicate(r,i,this.toastrConfig.resetTimeoutOnDuplicate&&o.timeOut>0,this.toastrConfig.countDuplicates);if((this.toastrConfig.includeTitleDuplicates&&r||i)&&this.toastrConfig.preventDuplicates&&s!==null)return s;this.previousToastMessage=i;let a=!1;this.toastrConfig.maxOpened&&this.currentlyActive>=this.toastrConfig.maxOpened&&(a=!0,this.toastrConfig.autoDismiss&&this.clear(this.toasts[0].toastId));let l=this.overlay.create(o.positionClass,this.overlayContainer);this.index=this.index+1;let c=i;i&&o.enableHtml&&(c=this.sanitizer.sanitize(Lt.HTML,i));let u=new V_(l),d=new js(this.index,o,c,r,t,u),h=[{provide:js,useValue:d}],f=ce.create({providers:h,parent:this._injector}),p=new L_(o.toastComponent,f),v=l.attach(p,o.newestOnTop);u.componentInstance=v.instance;let _={toastId:this.index,title:r||"",message:i||"",toastRef:u,onShown:u.afterActivate(),onHidden:u.afterClosed(),onTap:d.onTap(),onAction:d.onAction(),portal:v};return a||(this.currentlyActive=this.currentlyActive+1,setTimeout(()=>{_.toastRef.activate()})),this.toasts.push(_),_}}return e.\u0275fac=function(t){return new(t||e)(D($I),D(kV),D(ce),D(pv),D(ee))},e.\u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),FV=(()=>{class e{constructor(t,i,r){this.toastrService=t,this.toastPackage=i,this.ngZone=r,this.width=-1,this.toastClasses="",this.state={value:"inactive",params:{easeTime:this.toastPackage.config.easeTime,easing:"ease-in"}},this.message=i.message,this.title=i.title,this.options=i.config,this.originalTimeout=i.config.timeOut,this.toastClasses=`${i.toastType} ${i.config.toastClass}`,this.sub=i.toastRef.afterActivate().subscribe(()=>{this.activateToast()}),this.sub1=i.toastRef.manualClosed().subscribe(()=>{this.remove()}),this.sub2=i.toastRef.timeoutReset().subscribe(()=>{this.resetTimeout()}),this.sub3=i.toastRef.countDuplicate().subscribe(o=>{this.duplicatesCount=o})}get displayStyle(){if(this.state.value==="inactive")return"none"}ngOnDestroy(){this.sub.unsubscribe(),this.sub1.unsubscribe(),this.sub2.unsubscribe(),this.sub3.unsubscribe(),clearInterval(this.intervalId),clearTimeout(this.timeout)}activateToast(){this.state=j(w({},this.state),{value:"active"}),!(this.options.disableTimeOut===!0||this.options.disableTimeOut==="timeOut")&&this.options.timeOut&&(this.outsideTimeout(()=>this.remove(),this.options.timeOut),this.hideTime=new Date().getTime()+this.options.timeOut,this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10))}updateProgress(){if(this.width===0||this.width===100||!this.options.timeOut)return;let t=new Date().getTime(),i=this.hideTime-t;this.width=i/this.options.timeOut*100,this.options.progressAnimation==="increasing"&&(this.width=100-this.width),this.width<=0&&(this.width=0),this.width>=100&&(this.width=100)}resetTimeout(){clearTimeout(this.timeout),clearInterval(this.intervalId),this.state=j(w({},this.state),{value:"active"}),this.outsideTimeout(()=>this.remove(),this.originalTimeout),this.options.timeOut=this.originalTimeout,this.hideTime=new Date().getTime()+(this.options.timeOut||0
11),this.width=-1,this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10)}remove(){this.state.value!=="removed"&&(clearTimeout(this.timeout),this.state=j(w({},this.state),{value:"removed"}),this.outsideTimeout(()=>this.toastrService.remove(this.toastPackage.toastId),+this.toastPackage.config.easeTime))}tapToast(){this.state.value!=="removed"&&(this.toastPackage.triggerTap(),this.options.tapToDismiss&&this.remove())}stickAround(){this.state.value!=="removed"&&this.options.disableTimeOut!=="extendedTimeOut"&&(clearTimeout(this.timeout),this.options.timeOut=0,this.hideTime=0,clearInterval(this.intervalId),this.width=0)}delayedHideToast(){this.options.disableTimeOut===!0||this.options.disableTimeOut==="extendedTimeOut"||this.options.extendedTimeOut===0||this.state.value==="removed"||(this.outsideTimeout(()=>this.remove(),this.options.extendedTimeOut),this.options.timeOut=this.options.extendedTimeOut,this.hideTime=new Date().getTime()+(this.options.timeOut||0),this.width=-1,this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10))}outsideTimeout(t,i){this.ngZone?this.ngZone.runOutsideAngular(()=>this.timeout=setTimeout(()=>this.runInsideAngular(t),i)):this.timeout=setTimeout(()=>t(),i)}outsideInterval(t,i){this.ngZone?this.ngZone.runOutsideAngular(()=>this.intervalId=setInterval(()=>this.runInsideAngular(t),i)):this.intervalId=setInterval(()=>t(),i)}runInsideAngular(t){this.ngZone?this.ngZone.run(()=>t()):t()}}return e.\u0275fac=function(t){return new(t||e)(m(qf),m(js),m(ee))},e.\u0275cmp=We({type:e,selectors:[["","toast-component",""]],hostVars:5,hostBindings:function(t,i){t&1&&re("click",function(){return i.tapToast()})("mouseenter",function(){return i.stickAround()})("mouseleave",function(){return i.delayedHideToast()}),t&2&&(sd("@flyInOut",i.state),Nt(i.toastClasses),Xi("display",i.displayStyle))},standalone:!1,attrs:HI,decls:5,vars:5,consts:[["type","button","class","toast-close-button","aria-label","Close",3,"click",4,"ngIf"],[3,"class",4,"ngIf"],["role","alert",3,"class","innerHTML",4,"ngIf"],["role","alert",3,"class",4,"ngIf"],[4,"ngIf"],["type","button","aria-label","Close",1,"toast-close-button",3,"click"],["aria-hidden","true"],["role","alert",3,"innerHTML"],["role","alert"],[1,"toast-progress"]],template:function(t,i){t&1&&de(0,wV,3,0,"button",0)(1,EV,3,5,"div",1)(2,IV,1,3,"div",2)(3,TV,2,4,"div",3)(4,SV,2,2,"div",4),t&2&&(A("ngIf",i.options.closeButton),S(),A("ngIf",i.title),S(),A("ngIf",i.message&&i.options.enableHtml),S(),A("ngIf",i.message&&!i.options.enableHtml),S(),A("ngIf",i.options.progressBar))},dependencies:[Ii],encapsulation:2,data:{animation:[F_("flyInOut",[Gl("inactive",$l({opacity:0}
11)),Gl("active",$l({opacity:1})),Gl("removed",$l({opacity:0})),Wf("inactive => active",zf("{{ easeTime }}ms {{ easing }}")),Wf("active => removed",zf("{{ easeTime }}ms {{ easing }}"))])]}}),e})(),LV=j(w({},UI),{toastComponent:FV}),Zne=(()=>{class e{static forRoot(t={}){return{ngModule:e,providers:[{provide:$I,useValue:{default:LV,config:t}}]}}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=K({type:e}),e.\u0275inj=Q({imports:[ot]}),e})();var jV=(()=>{class e{constructor(t,i,r){this.toastrService=t,this.toastPackage=i,this.appRef=r,this.width=-1,this.toastClasses="",this.state="inactive",this.message=i.message,this.title=i.title,this.options=i.config,this.originalTimeout=i.config.timeOut,this.toastClasses=`${i.toastType} ${i.config.toastClass}`,this.sub=i.toastRef.afterActivate().subscribe(()=>{this.activateToast()}),this.sub1=i.toastRef.manualClosed().subscribe(()=>{this.remove()}),this.sub2=i.toastRef.timeoutReset().subscribe(()=>{this.resetTimeout()}),this.sub3=i.toastRef.countDuplicate().subscribe(o=>{this.duplicatesCount=o})}get displayStyle(){if(this.state==="inactive")return"none"}ngOnDestroy(){this.sub.unsubscribe(),this.sub1.unsubscribe(),this.sub2.unsubscribe(),this.sub3.unsubscribe(),clearInterval(this.intervalId),clearTimeout(this.timeout)}activateToast(){this.state="active",!(this.options.disableTimeOut===!0||this.options.disableTimeOut==="timeOut")&&this.options.timeOut&&(this.timeout=setTimeout(()=>{this.remove()},this.options.timeOut),this.hideTime=new Date().getTime()+this.options.timeOut,this.options.progressBar&&(this.intervalId=setInterval(()=>this.updateProgress(),10))),this.options.onActivateTick&&this.appRef.tick()}updateProgress(){if(this.width===0||this.width===100||!this.options.timeOut)return;let t=new Date().getTime(),i=this.hideTime-t;this.width=i/this.options.timeOut*100,this.options.progressAnimation==="increasing"&&(this.width=100-this.width),this.width<=0&&(this.width=0),this.width>=100&&(this.width=100)}resetTimeout(){clearTimeout(this.timeout),clearInterval(this.intervalId),this.state="active",this.options.timeOut=this.originalTimeout,this.timeout=setTimeout(()=>this.remove(),this.originalTimeout),this.hideTime=new Date().getTime()+(this.originalTimeout||0),this.width=-1,this.options.progressBar&&(this.intervalId=setInterval(()=>this.updateProgress(),10))}remove(){this.state!=="removed"&&(clearTimeout(this.timeout),this.state="removed",this.timeout=setTimeout(()=>this.toastrService.remove(this.toastPackage.toastId)))}tapToast(){this.state!=="removed"&&(this.toastPackage.triggerTap(),this.options.tapToDismiss&&this.remove())}stickAround(){this.state!=="removed"&&(clearTimeout(this.timeout),this.options.timeOut=0,this.hideTime=0,clearInterval(this.intervalId),this.width=0)}delayedHideToast(){this.options.disableTimeOut===!0||this.options.disableTimeOut==="extendedTimeOut"||this.options.extendedTimeOut===0||this.state==="removed"||(this.timeout=setTimeout(()=>this.remove(),this.options.extendedTimeOut),this.options.timeOut=this.options.extendedTimeOut,this.hideTime=new Date().getTime()+(this.options.timeOut||0),this.width=-1,this.options.progressBar&&(this.intervalId=setInterval(()=>this.updateProgress(),10)))}}return e.\u0275fac=function(t){return new(t||e)(m(qf),m(js),m(it))},e.\u0275cmp=We({type:e,selectors:[["","toast-component",""]],hostVars:4,hostBindings:function(t,i){t&1&&re("click",function(){return i.tapToast()})("mouseenter",function(){return i.stickAround()})("mouseleave",function(){return i.delayedHideToast()}),t&2&&(Nt(i.toastClasses),Xi("display",i.displayStyle))},standalone:!1,attrs:HI,decls:5,vars:5,consts:[["type","button","class","toast-close-button","aria-label","Close",3,"click",4,"ngIf"],[3,"class",4,"ngIf"],["role","alert",3,"class","innerHTML",4,"ngIf"],["role","alert",3,"class",4,"ngIf"],[4,"ngIf"],["type","button","aria-label","Close",1,"toast-close-button",3,"click"],["aria-hidden","true"],["role","alert",3,"innerHTML"],["role","alert"],[1,"toast-progress"]],template:function(t,i){t&1&&de(0,MV,3,0,"button",0)(1,OV,3,5,"div",1)(2,RV,1,3,"div",2)(3,AV,2,4,"div",3)(4,xV,2,2,"div",4),t&2&&(A("ngIf",i.options.closeButton),S(),A("ngIf",i.title),S(),A("ngIf",i.message&&i.options.enableHtml),S(),A("ngIf",i.message&&!i.options.enableHtml),S(),A("ngIf",i.options.progressBar))},dependencies:[Ii],encapsulation:2}),e})(),Yne=j(w({},UI),{toastComponent:jV});var Zf=(()=>{class e{constructor(){this.http=g(dn)}loadConfig(){return this.http.get("./assets/config.json").toProm
11ise().then(t=>{this.config=t})}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var Yf=(()=>{class e{constructor(){this.sites=[]}getSiteById(t){for(let i of this.sites)if(i.id===t)return i;return null}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var Gt=(function(e){return e.WIDGETS_LIMIT="WIDGETS_LIMIT",e.CONTAINER_WIDGETS_LIMIT="CONTAINER_WIDGETS_LIMIT",e.INTEGRATION_PAYMENT="INTEGRATION_PAYMENT",e.WIDGET_HAS_PAYMENT_OPTIONS="WIDGET_HAS_PAYMENT_OPTIONS",e.PAYMENT_SETTINGS="PAYMENT_SETTINGS",e.MAX_LEADS_SHOW_REACHED="MAX_LEADS_SHOW_REACHED",e})(Gt||{});var GI=(()=>{class e{constructor(){this.http=g(dn),this.configService=g(Zf)}getTariffPlans(){return this.http.get(`${this.configService.config.prov}/plans`)}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var WI=(()=>{class e{constructor(){this.translate=g(Mi),this.toastr=g(qf),this.modalService=g(r_),this.coreApiService=g(GI)}checkTariffPlans(t,i,r,o,s){this.getTariffPlans().subscribe(a=>{a.length?this.showTariffPlansModal(a,t,i,r,o,s):this.toastr.error(this.translate.instant("payment.notify.noPlans"))})}getTariffPlans(){return this.coreApiService.getTariffPlans().pipe(N(t=>t.data))}showTariffPlansModal(t,i,r,o,s,a){let l=this.modalService.open(zI,{size:"lg",windowClass:"animate__animated animate__slideInDown animate__faster"});l.componentInstance.plans=t,l.componentInstance.siteId=i,l.componentInstance.siteName=s,l.componentInstance.title=r,l.componentInstance.subscription=o,l.componentInstance.expTime=a}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var qI=(()=>{class e{constructor(){this.translate=g(Mi),this.coreSitesService=g(Yf),this.tariffsService=g(WI)}handleError(t){if(t.message){let i=t.message.split(":");(i[0]===Gt.WIDGETS_LIMIT||i[0]===Gt.CONTAINER_WIDGETS_LIMIT||i[0]===Gt.INTEGRATION_PAYMENT||i[0]===Gt.WIDGET_HAS_PAYMENT_OPTIONS||i[0]===Gt.PAYMENT_SETTINGS||i[0]===Gt.MAX_LEADS_SHOW_REACHED)&&i[1]&&this.prepareResponseForPaymentService(i[0],i[1]),console.log(i[0],i[1],i[2])}return console.log("Http request error: ",t),tn("HTTP Error")}prepareResponseForPaymentService(t,i){t===Gt.WIDGETS_LIMIT||t===Gt.CONTAINER_WIDGETS_LIMIT||t===Gt.WIDGET_HAS_PAYMENT_OPTIONS?this.tariffsService.checkTariffPlans(i,this.translate.instant("sitelist.tariff.improve"),this.translate.instant("widgetsList.payment.limit",{siteName:this.coreSitesService.getSiteById(i).name})):t===Gt.INTEGRATION_PAYMENT?this.tariffsService.checkTariffPlans(i,this.translate.instant("sitelist.tariff.improve"),this.translate.instant("settings.site.integration.paymentLabel",{siteName:this.coreSitesService.getSiteById(i).name})):t===Gt.PAYMENT_SETTINGS?this.tariffsService.checkTariffPlans(i,this.translate.instant("sitelist.tariff.improve"),this.translate.instant("settings.site.update.paymentLabel",{siteName:this.coreSitesService.getSiteById(i).name})):t===Gt.MAX_LEADS_SHOW_REACHED&&this.tariffsService.checkTariffPlans(i,this.translate.instant("sitelist.tariff.improve"),this.translate.instant("settings.site.update.crm.paymentLabel",{siteName:this.coreSitesService.getSiteById(i).name}))}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var ZI=(()=>{class e{constructor(){this.http=g(dn),this.configService=g(Zf)}createOrder(t){return this.http.post(`${this.configService.config.prov}/billing/orders`,t)}getInvoices(){return this.http.get(`${this.configService.config.prov}/invoices`)}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var YI=(()=>{class e{constructor(){this.errorHandlerService=g(qI),this.paymentApiService=g(ZI)}createOrder(t,i){let r={siteId:t,priceId:i};return this.paymentApiService.createOrder(r).pipe(N(o=>o.data),At(()=>tn("HTTP Error")))}getInvoices(){return this.paymentApiService.getInvoices().pipe(N(t=>t.data),At(this.errorHandlerService.handleError))}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function VV(e,n){if(e&1&&(k(0,"h3",1),oe(1),L()),e&2){let t=z();S(),rt(t.title)}}function BV(e,n){if(e&1&&Ae(0,"h5",2),e&2){let t=z();A("innerHTML",t.subscription,$r)}}function HV(e,n){if(e&1){let t=Sn();k(0,"div",9)(1,"button",16),re("click",function(r){let o=xt(t).$implicit;return z().changePrice(o),r.preventDefault(),Pt(r.stopPropagation())}),oe(2),L(),k(3,"span"),oe(4),L()()}if(e&2){let t=n.$implicit,i=z();S(),Mt("active",i.activePriceId===t.id),S(),ht(" ",t.name," "),S(2),rt(t.desc)}}var zI=(()=>{class e{constructor(){this.translate=g(Mi),this.activeModal=g(Cs),this.datePipe=g(Nd),this.coreSitesService=g(Yf),this.paymentService=g(YI)}
11ngOnInit(){this.plan=this.plans[0],this.firstPrice=this.plan.prices[0],this.activePriceId=this.firstPrice.id,this.title=this.title||this.translate.instant("sitelist.tariff.improve"),this.subscription=this.subscription||null,this.siteName=this.siteName?this.siteName:this.coreSitesService.getSiteById(this.siteId).name;let t=this.coreSitesService.getSiteById(this.siteId).tariffExp;this.expTime=this.expTime?this.expTime:t>new Date().getTime()?t:null,this.planLabels={activationLabel:this.translate.instant("sitelist.tariff.activation",{tariffName:this.plan.name,siteName:this.siteName}),activationDateLabel:this.getDatesLabel(),payDescription:this.getPayDescription(this.firstPrice.name,this.firstPrice.desc),currentPrice:this.firstPrice.price}}closeModal(){this.activeModal.close()}changePrice(t){this.planLabels.activationDateLabel=this.getDatesLabel(t.days),this.planLabels.payDescription=this.getPayDescription(t.name,t.desc),this.planLabels.currentPrice=t.price,this.activePriceId=t.id}activatePlan(){this.paymentService.createOrder(this.siteId,this.activePriceId).subscribe(t=>{if(!t)return;let i=document.createElement("form");i.setAttribute("method","GET"),i.setAttribute("target","_blank"),i.setAttribute("action",t.paymentUrl),document.body.appendChild(i),i.submit()})}getPayDescription(t,i){return this.translate.instant("global.for")+" "+t+", "+(i.replace("-","").trim()||"0%")+" "+this.translate.instant("global.discount")}getDatesLabel(t){let i=this.expTime?parseFloat(this.expTime):null,r=i?new Date(i):new Date,o=new Date(r.getTime()+1e3*60*60*24*(t||this.firstPrice.days));return this.translate.instant("sitelist.tariff.activationDate",{startDate:this.datePipe.transform(r,"dd.MM.yy"),endDate:this.datePipe.transform(o,"dd.MM.yy")})}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275cmp=We({type:e,selectors:[["app-payment-modal"]],inputs:{title:"title",subscription:"subscription",siteName:"siteName",plans:"plans",siteId:"siteId",expTime:"expTime"},standalone:!1,features:[Te([Nd])],decls:34,vars:18,consts:[[1,"modal-header"],[1,"modal-title"],[3,"innerHTML"],[1,"close","btn",3,"click"],["inlineSVG","/assets/images/core/cross.svg"],[1,"modal-body"],[1,"tariff-container"],[1,"tariff-selection"],["data-toggle","buttons",1,"tariff-btns","btn-group"],[1,"button-container"],[1,"tariff-confirmation"],[1,"tariff-price"],[1,"pay-sum"],[1,"btn",3,"click"],[1,"modal-footer","justify-content-center"],[1,"payment-form-footer-text",3,"innerHTML"],[1,"btn","btn-default",3,"click"]],template:function(i,r){i&1&&(k(0,"div",0)(1,"div"),rd(2,VV,2,1,"h3",1),rd(3,BV,1,1,"h5",2),L(),k(4,"button",3),re("click",function(){return r.closeModal()}),Ae(5,"span",4),L()(),k(6,"div",5)(7,"div",6)(8,"p"),oe(9),Ae(10,"br"),oe(11),L(),k(12,"div",7)(13,"p"),oe(14),Zr(15,"translate"),L(),k(16,"div",8),Im(17,HV,5,4,"div",9,Em),L()(),k(19,"div",10)(20,"h2"),oe(21),Zr(22,"translate"),L(),k(23,"div",11)(24,"h2",12),oe(25),L(),k(26,"span"),oe(27),L()(),k(28,"button",13),re("click",function(){return r.activatePlan()}),oe(29),Zr(30,"translate"),L()()()(),k(31,"div",14),Ae(32,"p",15),Zr(33,"translate"),L()),i&2&&(S(2),od(r.title?2:-1),S(),od(r.subscription?3:-1),S(6),rt(r.planLabels.activationLabel),S(2),rt(r.planLabels.activationDateLabel),S(3),rt(Yr(15,10,"sitelist.tariff.length")),S(3),Tm(r.plan.prices),S(4),rt(Yr(22,12,"payment.modal.paysum.label")),S(4),ht("",r.planLabels.currentPrice," \u20BD"),S(2),rt(r.planLabels.payDescription),S(2),ht(" ",Yr(30,14,"payment.modal.paysum.btn")," "),S(3),A("innerHTML",Yr(33,16,"payment.modal.footer"),$r))},dependencies:[Nv,jE],styles:[".modal-header[_ngcontent-%COMP%]{justify-content:space-between!important;align-items:flex-start;gap:20px}.modal-header[_ngcontent-%COMP%]   .modal-title-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:10px}.modal-header[_ngcontent-%COMP%]   h5[_ngcontent-%COMP%]{margin:12px 0 0;font-style:normal;font-weight:400;font-size:1rem;line-height:1.5rem;color:#16181d}@media (max-width: 991px){.modal-header[_ngcontent-%COMP%]   h5[_ngcontent-%COMP%]{line-height:1.3rem}}.modal-header[_ngcontent-%COMP%]   button[_ngcontent-%COMP%], .modal
11-header[_ngcontent-%COMP%]   .close[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;padding:5px;margin:0}.modal-header[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]   span[_ngcontent-%COMP%], .modal-header[_ngcontent-%COMP%]   .close[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{display:flex;width:24px;height:24px;position:relative}.modal-header[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]     svg, .modal-header[_ngcontent-%COMP%]   .close[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]     svg{width:100%;height:100%;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}  a.link{color:#4898a8!important}[_nghost-%COMP%]{width:880px;border-radius:10px;background-color:#fff;position:absolute;top:0;left:50%;transform:translate(-50%)}@media (max-width: 991px){[_nghost-%COMP%]{width:100%}}[_nghost-%COMP%]   .modal-body[_ngcontent-%COMP%]{width:100%;display:flex;flex-direction:column;padding:30px 40px 40px}@media (max-width: 991px){[_nghost-%COMP%]   .modal-body[_ngcontent-%COMP%]{padding:20px}}[_nghost-%COMP%]   .modal-body[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{margin:0;width:100%;font-style:normal;font-weight:400;font-size:1rem;line-height:1.5rem;color:#505662}@media (max-width: 991px){[_nghost-%COMP%]   .modal-body[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{line-height:1.3rem}}[_nghost-%COMP%]   .modal-body[_ngcontent-%COMP%]   .tariff-container[_ngcontent-%COMP%]{width:inherit;display:inherit;flex-direction:inherit;gap:25px}[_nghost-%COMP%]   .modal-body[_ngcontent-%COMP%]   .tariff-container[_ngcontent-%COMP%]   .tariff-selection[_ngcontent-%COMP%]{width:inherit;display:inherit;flex-direction:row;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:25px}@media (max-width: 991px){[_nghost-%COMP%]   .modal-body[_ngcontent-%COMP%]   .tariff-container[_ngcontent-%COMP%]   .tariff-selection[_ngcontent-%COMP%]{gap:5px}}[_nghost-%COMP%]   .modal-body[_ngcontent-%COMP%]   .tariff-container[_ngcontent-%COMP%]   .tariff-selection[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{width:auto!important}[_nghost-%COMP%]   .modal-body[_ngcontent-%COMP%]   .tariff-container[_ngcontent-%COMP%]   .tariff-selection[_ngcontent-%COMP%]   .tariff-btns[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;justify-content:center}@media (max-width: 991px){[_nghost-%COMP%]   .modal-body[_ngcontent-%COMP%]   .tariff-container[_ngcontent-%COMP%]   .tariff-selection[_ngcontent-%COMP%]   .tariff-btns[_ngcontent-%COMP%]{width:100%}}[_nghost-%COMP%]   .modal-body[_ngcontent-%COMP%]   .tariff-container[_ngcontent-%COMP%]   .tariff-selection[_ngcontent-%COMP%]   .tariff-btns[_ngcontent-%COMP%]   .button-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;justify-content:flex-start}@media (max-width: 991px){[_nghost-%COMP%]   .modal-body[_ngcontent-%COMP%]   .tariff-container[_ngcontent-%COMP%]   .tariff-selection[_ngcontent-%COMP%]   .tariff-btns[_ngcontent-%COMP%]   .button-container[_ngcontent-%COMP%]{margin-top:5px}}[_nghost-%COMP%]   .modal-body[_ngcontent-%COMP%]   .tariff-container[_ngcontent-%COMP%]   .tariff-selection[_ngcontent-%COMP%]   .tariff-btns[_ngcontent-%COMP%]   .button-container[_ngcontent-%COMP%]:first-child   button[_ngcontent-%COMP%]{border-radius:4px 0 0 4px}[_nghost-%COMP%]   .modal-body[_ngcontent-%COMP%]   .tariff-container[_ngcontent-%COMP%]   .tariff-selection[_ngcontent-%COMP%]   .tariff-btns[_ngcontent-%COMP%]   .button-container[_ngcontent-%COMP%]:last-child   button[_ngcontent-%COMP%]{border-radius:0 4px 4px 0}[_nghost-%COMP%]   .modal-body[_ngcontent-%COMP%]   .tariff-container[_ngcontent-%COMP%]   .tariff-selection[_ngcontent-%COMP%]   .tariff-btns[_ngcontent-%COMP%]   .button-container[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;padding:14px 16px;border-radius:0;font-style:normal;font-weight:500!important;font-size:1rem;line-height:1.2rem;color:#16181d}[_nghost-%COMP%]   .modal-body[_ngcontent-%COMP%]   .tariff-container[_ngcontent-%COMP%]   .tariff-selection[_ngcontent-%COMP%]   .tariff-btns[_ngcontent-%COMP%]   .button-container[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]:not(:disabled):focus{position:relative;z-index:1000}
11[_nghost-%COMP%]   .modal-body[_ngcontent-%COMP%]   .tariff-container[_ngcontent-%COMP%]   .tariff-selection[_ngcontent-%COMP%]   .tariff-btns[_ngcontent-%COMP%]   .button-container[_ngcontent-%COMP%]   button.active[_ngcontent-%COMP%]{border-color:#4898a8;color:#4898a8;background-color:#4898a81a}[_nghost-%COMP%]   .modal-body[_ngcontent-%COMP%]   .tariff-container[_ngcontent-%COMP%]   .tariff-selection[_ngcontent-%COMP%]   .tariff-btns[_ngcontent-%COMP%]   .button-container[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{font-style:normal;font-weight:400;font-size:1rem;line-height:1.2rem;color:#59a44a}[_nghost-%COMP%]   .modal-body[_ngcontent-%COMP%]   .tariff-container[_ngcontent-%COMP%]   .tariff-confirmation[_ngcontent-%COMP%]{width:100%;display:flex;align-items:center;justify-content:space-between;gap:25px;flex-wrap:wrap}[_nghost-%COMP%]   .modal-body[_ngcontent-%COMP%]   .tariff-container[_ngcontent-%COMP%]   .tariff-confirmation[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]:not(.pay-sum){margin:0;font-style:normal;font-weight:400;font-size:1.3rem;line-height:1.7rem;color:#16181d}@media (max-width: 991px){[_nghost-%COMP%]   .modal-body[_ngcontent-%COMP%]   .tariff-container[_ngcontent-%COMP%]   .tariff-confirmation[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]:not(.pay-sum){width:35%}}[_nghost-%COMP%]   .modal-body[_ngcontent-%COMP%]   .tariff-container[_ngcontent-%COMP%]   .tariff-confirmation[_ngcontent-%COMP%]   .tariff-price[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:5px}@media (max-width: 991px){[_nghost-%COMP%]   .modal-body[_ngcontent-%COMP%]   .tariff-container[_ngcontent-%COMP%]   .tariff-confirmation[_ngcontent-%COMP%]   .tariff-price[_ngcontent-%COMP%]{width:55%}}[_nghost-%COMP%]   .modal-body[_ngcontent-%COMP%]   .tariff-container[_ngcontent-%COMP%]   .tariff-confirmation[_ngcontent-%COMP%]   .tariff-price[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{margin:0;font-style:normal;font-weight:700;font-size:2.4rem;line-height:2.1rem;letter-spacing:1.5px;color:#16181d}[_nghost-%COMP%]   .modal-body[_ngcontent-%COMP%]   .tariff-container[_ngcontent-%COMP%]   .tariff-confirmation[_ngcontent-%COMP%]   .tariff-price[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{font-style:normal;font-weight:400;font-size:.8rem;line-height:.9rem;color:#505662}[_nghost-%COMP%]   .modal-body[_ngcontent-%COMP%]   .tariff-container[_ngcontent-%COMP%]   .tariff-confirmation[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{padding:14px;font-style:normal;font-weight:500;font-size:1rem;line-height:1.2rem;color:#fff;background-color:#4898a8;border-color:#4898a8}@media (max-width: 991px){[_nghost-%COMP%]   .modal-body[_ngcontent-%COMP%]   .tariff-container[_ngcontent-%COMP%]   .tariff-confirmation[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{width:100%}}[_nghost-%COMP%]   .modal-footer[_ngcontent-%COMP%]{background-color:#f7f9fa;padding:40px;border-radius:10px}@media (max-width: 991px){[_nghost-%COMP%]   .modal-footer[_ngcontent-%COMP%]{padding:20px}}[_nghost-%COMP%]   .modal-footer[_ngcontent-%COMP%]   .payment-form-footer-text[_ngcontent-%COMP%]{padding:0;margin:0;font-style:normal;font-weight:400;font-size:1rem;line-height:1.2rem;color:#505662;text-align:center}"]})}}return e})();export{w as a,j as b,UV as c,lT as d,$V as e,GV as f,yo as g,De as h,V as i,B as j,Ke as k,Ws as l,IT as m,en as n,TT as o,Le as p,Ys as q,fe as r,I as s,tn as t,kT as u,N as v,ko as w,he as x,ut as y,Ac as z,ae as A,XT as B,At as C,nn as D,eS as E,we as F,Ch as G,kc as H,xy as I,li as J,ci as K,Er as L,Ks as M,Lc as N,Ne as O,Me as P,Ce as Q,iS as R,Xs as S,C as T,Ee as U,y as V,Q as W,E as X,D as Y,g as Z,xt as _,Pt as $,y0 as aa,b0 as ba,ce as ca,ne as da,En as ea,ke as fa,Ie as ga,ts as ha,ie as ia,vi as ja,lM as ka,Lt as la,$r as ma,zb as na,RM as oa,LM as pa,jM as qa,S as ra,kt as sa,yi as ta,Yt as ua,Ve as va,m as wa,St as xa,We as ya,K as za,G as Aa,Di as Ba,Re as Ca,de as Da,H as Ea,ee as Fa,La as Ga,nd as Ha,it as Ia,qe as Ja,dR as Ka,rd as La,Cm as Ma,od as Na,Em as Oa,Im as Pa,Tm as Qa,A as Ra,
11k as Sa,L as Ta,Ae as Ua,zr as Va,Wr as Wa,tw as Xa,Sn as Ya,Ba as Za,re as _a,z as $a,ad as ab,ld as bb,Ua as cb,qr as db,Qn as eb,Jn as fb,cd as gb,Xi as hb,Mt as ib,kR as jb,Nt as kb,oe as lb,rt as mb,ht as nb,vw as ob,_w as pb,yw as qb,ZR as rb,bw as sb,Dw as tb,ww as ub,YR as vb,Te as wb,eA as xb,Ew as yb,Iw as zb,Tw as Ab,tA as Bb,nA as Cb,iA as Db,rA as Eb,oA as Fb,Zr as Gb,Yr as Hb,cA as Ib,uA as Jb,Ga as Kb,Dt as Lb,hd as Mb,tr as Nb,dx as Ob,Kr as Pb,Ii as Qb,fx as Rb,Xa as Sb,gx as Tb,Nd as Ub,_x as Vb,yx as Wb,wx as Xb,ot as Yb,tl as Zb,lv as _b,Ux as $b,zx as ac,nr as bc,Ti as cc,as as dc,dn as ec,BC as fc,pP as gc,gP as hc,$C as ic,pv as jc,Xt as kc,ki as lc,E_ as mc,M_ as nc,ii as oc,Gf as pc,cV as qc,pV as rc,pr as sc,bV as tc,F_ as uc,zf as vc,Tne as wc,$l as xc,Gl as yc,Wf as zc,P_ as Ac,k_ as Bc,DV as Cc,Rn as Dc,yP as Ec,tE as Fc,An as Gc,zC as Hc,sQ as Ic,aQ as Jc,pl as Kc,lQ as Lc,HP as Mc,Dv as Nc,uQ as Oc,GP as Pc,dQ as Qc,WP as Rc,YP as Sc,JP as Tc,XP as Uc,sk as Vc,lk as Wc,uk as Xc,fk as Yc,pk as Zc,AE as _c,fQ as $c,qf as ad,Zne as bd,ps as cd,vl as dd,Mi as ed,jE as fd,CQ as gd,Nv as hd,yk as id,Zf as jd,fo as kd,M1 as ld,Tte as md,O1 as nd,Cs as od,r_ as pd,Ate as qd,Pte as rd,Yf as sd,WI as td,qI as ud};

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.