PageSourceSearch

https://bearhawk.web.app/chunk-BXYKHTIJ.js

js bearhawk.web.app collected 2026-10-03 12:17:52 UTC 434,581 bytes, 10 lines download raw bytes

vendor: 5,110 bytes, lines 1-3
1var e_=Object.create;var bu=Object.defineProperty,t_=Object.defineProperties,n_=Object.getOwnPropertyDescriptor,r_=Object.getOwnPropertyDescriptors,i_=Object.getOwnPropertyNames,ss=Object.getOwnPropertySymbols,Yp=Object.getPrototypeOf,Su=Object.prototype.hasOwnProperty,Kp=Object.prototype.propertyIsEnumerable,o_=Reflect.get;var Zp=(t,e,n)=>e in t?bu(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,v=(t,e)=>{for(var n in e||={})Su.call(e,n)&&Zp(t,n,e[n]);if(ss)for(var n of ss(e))Kp.call(e,n)&&Zp(t,n,e[n]);return t},$=(t,e)=>t_(t,r_(e));var gL=t=>typeof t=="symbol"?t:t+"",mL=(t,e)=>{var n={};for(var r in t)Su.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(t!=null&&ss)for(var r of ss(t))e.indexOf(r)<0&&Kp.call(t,r)&&(n[r]=t[r]);return n};var vL=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports);var s_=(t,e,n,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of i_(e))!Su.call(t,i)&&i!==n&&bu(t,i,{get:()=>e[i],enumerable:!(r=n_(e,i))||r.enumerable});return t};var yL=(t,e,n)=>(n=t!=null?e_(Yp(t)):{},s_(e||!t||!t.__esModule?bu(n,"default",{value:t,enumerable:!0}):n,t));var Yn=(t,e,n)=>o_(Yp(t),n,e);var p=(t,e,n)=>new Promise((r,i)=>{var o=c=>{try{a(n.next(c))}catch(u){i(u)}},s=c=>{try{a(n.throw(c))}catch(u){i(u)}},a=c=>c.done?r(c.value):Promise.resolve(c.value).then(o,s);a((n=n.apply(t,e)).next())});function S(t){return typeof t=="function"}function Mr(t){let n=t(r=>{Error.call(r),r.stack=new Error().stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}var as=Mr(t=>function(n){t(this),this.message=n?`${n.length} errors occurred during unsubscription:
2${n.map((r,i)=>`${i+1}) ${r.toString()}`).join(`
3  `)}`:"",this.name="UnsubscriptionError",this.errors=n});function Kn(t,e){if(t){let n=t.indexOf(e);0<=n&&t.splice(n,1)}}var X=class t{constructor(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let e;if(!this.closed){this.closed=!0;let{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(let o of n)o.remove(this);else n.remove(this);let{initialTeardown:r}=this;if(S(r))try{r()}catch(o){e=o instanceof as?o.errors:[o]}let{_finalizers:i}=this;if(i){this._finalizers=null;for(let o of i)try{Qp(o)}catch(s){e=e??[],s instanceof as?e=[...e,...s.errors]:e.push(s)}}if(e)throw new as(e)}}add(e){var n;if(e&&e!==this)if(this.closed)Qp(e);else{if(e instanceof t){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=(n=this._finalizers)!==null&&n!==void 0?n:[]).push(e)}}_hasParent(e){let{_parentage:n}=this;return n===e||Array.isArray(n)&&n.includes(e)}_addParent(e){let{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(e),n):n?[n,e]:e}_removeParent(e){let{_parentage:n}=this;n===e?this._parentage=null:Array.isArray(n)&&Kn(n,e)}remove(e){let{_finalizers:n}=this;n&&Kn(n,e),e instanceof t&&e._removeParent(this)}};X.EMPTY=(()=>{let t=new X;return t.closed=!0,t})();var Tu=X.EMPTY;function cs(t){return t instanceof X||t&&"closed"in t&&S(t.remove)&&S(t.add)&&S(t.unsubscribe)}function Qp(t){S(t)?t():t.unsubscribe()}var et={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var Nr={setTimeout(t,e,...n){let{delegate:r}=Nr;return r?.setTimeout?r.setTimeout(t,e,...n):setTimeout(t,e,...n)},clearTimeout(t){let{delegate:e}=Nr;return(e?.clearTimeout||clearTimeout)(t)},delegate:void 0};function us(t){Nr.setTimeout(()=>{let{onUnhandledError:e}=et;if(e)e(t);else throw t})}function Vt(){}var Jp=Au("C",void 0,void 0);function Xp(t){return Au("E",void 0,t)}function eg(t){return Au("N",t,void 0)}function Au(t,e,n){return{kind:t,value:e,error:n}}var Qn=null;function Rr(t){if(et.useDeprecatedSynchronousErrorHandling){let e=!Qn;if(e&&(Qn={errorThrown:!1,error:null}),t(),e){let{errorThrown:n,error:r}=Qn;if(Qn=null,n)throw r}}else t()}function tg(t){et.useDeprecatedSynchronousErrorHandling&&Qn&&(Qn.errorThrown=!0,Qn.error=t)}var Jn=class extends X{constructor(e){super(),this.isStopped=!1,e?(this.destination=e,cs(e)&&e.add(this)):this.destination=u_}static create(e,n,r){return new tt(e,n,r)}next(e){this.isStopped?Nu(eg(e),this):this._next(e)}error(e){this.isStopped?Nu(Xp(e),this):(this.isStopped=!0,this._error(e))}complete(){this.isStopped?Nu(Jp,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(e){this.destination.next(e)}_error(e){try{this.destination.error(e)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},a_=Function.prototype.bind;function Mu(t,e){return a_.call(t,e)}var Ru=class{constructor(e){this.partialObserver=e}next(e){let{partialObserver:n}=this;if(n.next)try{n.next(e)}catch(r){ls(r)}}error(e){let{partialObserver:n}=this;if(n.error)try{n.error(e)}catch(r){ls(r)}else ls(e)}complete(){let{partialObserver:e}=this;if(e.complete)try{e.complete()}catch(n){ls(n)}}},tt=class extends Jn{constructor(e,n,r){super();let i;if(S(e)||!e)i={next:e??void 0,error:n??void 0,complete:r??void 0};else{let o;
vendor: 25,957 bytes, line 3
3this&&et.useDeprecatedNextContext?(o=Object.create(e),o.unsubscribe=()=>this.unsubscribe(),i={next:e.next&&Mu(e.next,o),error:e.error&&Mu(e.error,o),complete:e.complete&&Mu(e.complete,o)}):i=e}this.destination=new Ru(i)}};function ls(t){et.useDeprecatedSynchronousErrorHandling?tg(t):us(t)}function c_(t){throw t}function Nu(t,e){let{onStoppedNotification:n}=et;n&&Nr.setTimeout(()=>n(t,e))}var u_={closed:!0,next:Vt,error:c_,complete:Vt};var xr=typeof Symbol=="function"&&Symbol.observable||"@@observable";function pe(t){return t}function xu(...t){return Ou(t)}function Ou(t){return t.length===0?pe:t.length===1?t[0]:function(n){return t.reduce((r,i)=>i(r),n)}}var R=(()=>{class t{constructor(n){n&&(this._subscribe=n)}lift(n){let r=new t;return r.source=this,r.operator=n,r}subscribe(n,r,i){let o=d_(n)?n:new tt(n,r,i);return Rr(()=>{let{operator:s,source:a}=this;o.add(s?s.call(o,a):a?this._subscribe(o):this._trySubscribe(o))}),o}_trySubscribe(n){try{return this._subscribe(n)}catch(r){n.error(r)}}forEach(n,r){return r=ng(r),new r((i,o)=>{let s=new tt({next:a=>{try{n(a)}catch(c){o(c),s.unsubscribe()}},error:o,complete:i});this.subscribe(s)})}_subscribe(n){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(n)}[xr](){return this}pipe(...n){return Ou(n)(this)}toPromise(n){return n=ng(n),new n((r,i)=>{let o;this.subscribe(s=>o=s,s=>i(s),()=>r(o))})}}return t.create=e=>new t(e),t})();function ng(t){var e;return(e=t??et.Promise)!==null&&e!==void 0?e:Promise}function l_(t){return t&&S(t.next)&&S(t.error)&&S(t.complete)}function d_(t){return t&&t instanceof Jn||l_(t)&&cs(t)}var rg=Mr(t=>function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var ee=(()=>{class t extends R{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let r=new ds(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new rg}next(n){Rr(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){Rr(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=n;let{observers:r}=this;for(;r.length;)r.shift().error(n)}})}complete(){Rr(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:n}=this;for(;n.length;)n.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var n;return((n=this.observers)===null||n===void 0?void 0:n.length)>0}_trySubscribe(n){return this._throwIfClosed(),super._trySubscribe(n)}_subscribe(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)}_innerSubscribe(n){let{hasError:r,isStopped:i,observers:o}=this;return r||i?Tu:(this.currentObservers=null,o.push(n),new X(()=>{this.currentObservers=null,Kn(o,n)}))}_checkFinalizedStatuses(n){let{hasError:r,thrownError:i,isStopped:o}=this;r?n.error(i):o&&n.complete()}asObservable(){let n=new R;return n.source=this,n}}return t.create=(e,n)=>new ds(e,n),t})(),ds=class extends ee{constructor(e,n){super(),this.destination=e,this.source=n}next(e){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.next)===null||r===void 0||r.call(n,e)}error(e){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.error)===null||r===void 0||r.call(n,e)}complete(){var e,n;(n=(e=this.destination)===null||e===void 0?void 0:e.complete)===null||n===void 0||n.call(e)}_subscribe(e){var n,r;return(r=(n=this.source)===null||n===void 0?void 0:n.subscribe(e))!==null&&r!==void 0?r:Tu}};var ge=class extends ee{constructor(e){super(),this._value=e}get value(){return this.getValue()}_subscribe(e){let n=super._subscribe(e);return!n.closed&&e.next(this._value),n}getValue(){let{hasError:e,thrownError:n,_value:r}=this;if(e)throw n;return this._throwIfClosed(),r}next(e){super.next(this._value=e)}};function Pu(t){return S(t?.lift)}function M(t){return e=>{if(Pu(e))return e.lift(function(n){try{return t(n,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function _(t,e,n,r,i){return new $i(t,e,n,r,i)}var $i=class extends Jn{constructor(e,n,r,i,o,s){super(e),this.onFinalize=o,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(c){e.error(c)}}:super._next,this._error=i?function(a){try{i(a)}catch(c){e.error(c)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){e.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var e;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:n}=this;super.unsubscribe(),!n&&((e=this.onFinalize)===null||e===void 0||e.call(this))}}};function Or(){return M((t,e)=>{let n=null;t._refCount++;let r=_(e,void 0,void 0,void 0,()=>{if(!t||t._refCount<=0||0<--t._refCount){n=null;return}let i=t._connection,o=n;n=null,i&&(!o||i===o)&&i.unsubscribe(),e.unsubscribe()});t.subscribe(r),r.closed||(n=t.connect())})}var Pr=class extends R{constructor(e,n){super(),this.source=e,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,Pu(e)&&(this.lift=e.lift)}_subscribe(e){return this.getSubject().subscribe(e)}getSubject(){let e=this._subject;return(!e||e.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:e}=this;this._subject=this._connection=null,e?.unsubscribe()}connect(){let e=this._connection;if(!e){e=this._connection=new X;let n=this.getSubject();e.add(this.source.subscribe(_(n,void 0,()=>{this._teardown(),n.complete()},r=>{this._teardown(),n.error(r)},()=>this._teardown()))),e.closed&&(this._connection=null,e=X.EMPTY)}return e}refCount(){return Or()(this)}};var kr={schedule(t){let e=requestAnimationFrame,n=cancelAnimationFrame,{delegate:r}=kr;r&&(e=r.requestAnimationFrame,n=r.cancelAnimationFrame);let i=e(o=>{n=void 0,t(o)});return new X(()=>n?.(i))},requestAnimationFrame(...t){let{delegate:e}=kr;return(e?.requestAnimationFrame||requestAnimationFrame)(...t)},cancelAnimationFrame(...t){let{delegate:e}=kr;return(e?.cancelAnimationFrame||cancelAnimationFrame)(...t)},delegate:void 0};var Bi={now(){return(Bi.delegate||Date).now()},delegate:void 0};var Hi=class extends ee{constructor(e=1/0,n=1/0,r=Bi){super(),this._bufferSize=e,this._windowTime=n,this._timestampProvider=r,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=n===1/0,this._bufferSize=Math.max(1,e),this._windowTime=Math.max(1,n)}next(e){let{isStopped:n,_buffer:r,_infiniteTimeWindow:i,_timestampProvider:o,_windowTime:s}=this;n||(r.push(e),!i&&r.push(o.now()+s)),this._trimBuffer(),super.next(e)}_subscribe(e){this._throwIfClosed(),this._trimBuffer();let n=this._innerSubscribe(e),{_infiniteTimeWindow:r,_buffer:i}=this,o=i.slice();for(let s=0;s<o.length&&!e.closed;s+=r?1:2)e.next(o[s]);return this._checkFinalizedStatuses(e),n}_trimBuffer(){let{_bufferSize:e,_timestampProvider:n,_buffer:r,_infiniteTimeWindow:i}=this,o=(i?1:2)*e;if(e<1/0&&o<r.length&&r.splice(0,r.length-o),!i){let s=n.now(),a=0;for(let c=1;c<r.length&&r[c]<=s;c+=2)a=c;a&&r.splice(0,a+1)}}};var fs=class extends X{constructor(e,n){super()}schedule(e,n=0){return this}};var zi={setInterval(t,e,...n){let{delegate:r}=zi;return r?.setInterval?r.setInterval(t,e,...n):setInterval(t,e,...n)},clearInterval(t){let{delegate:e}=zi;return(e?.clearInterval||clearInterval)(t)},delegate:void 0};var vn=class extends fs{constructor(e,n){super(e,n),this.scheduler=e,this.work=n,this.pending=!1}schedule(e,n=0){var r;if(this.closed)return this;this.state=e;let i=this.id,o=this.scheduler;return i!=null&&(this.id=this.recycleAsyncId(o,i,n)),this.pending=!0,this.delay=n,this.id=(r=this.id)!==null&&r!==void 0?r:this.requestAsyncId(o,this.id,n),this}requestAsyncId(e,n,r=0){return zi.setInterval(e.flush.bind(e,this),r)}recycleAsyncId(e,n,r=0){if(r!=null&&this.delay===r&&this.pending===!1)return n;n!=null&&zi.clearInterval(n)}execute(e,n){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;let r=this._execute(e,n);if(r)return r;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(e,n){let r=!1,i;try{this.work(e)}catch(o){r=!0,i=o||new Error("Scheduled action threw falsy error")}if(r)return this.unsubscribe(),i}unsubscribe(){if(!this.closed){let{id:e,scheduler:n}=this,{actions:r}=n;this.work=this.state=this.scheduler=null,this.pending=!1,Kn(r,this),e!=null&&(this.id=this.recycleAsyncId(n,e,null)),this.delay=null,super.unsubscribe()}}};var Fr=class t{constructor(e,n=t.now){this.schedulerActionCtor=e,this.now=n}schedule(e,n=0,r){return new this.schedulerActionCtor(this,e).schedule(r,n)}};Fr.now=Bi.now;var yn=class extends Fr{constructor(e,n=Fr.now){super(e,n),this.actions=[],this._active=!1}flush(e){let{actions:n}=this;if(this._active){n.push(e);return}let r;this._active=!0;do if(r=e.execute(e.state,e.delay))break;while(e=n.shift());if(this._active=!1,r){for(;e=n.shift();)e.unsubscribe();throw r}}};var ze=new yn(vn),ku=ze;var hs=class extends vn{constructor(e,n){super(e,n),this.scheduler=e,this.work=n}schedule(e,n=0){return n>0?super.schedule(e,n):(this.delay=n,this.state=e,this.scheduler.flush(this),this)}execute(e,n){return n>0||this.closed?super.execute(e,n):this._execute(e,n)}requestAsyncId(e,n,r=0){return r!=null&&r>0||r==null&&this.delay>0?super.requestAsyncId(e,n,r):(e.flush(this),0)}};var ps=class extends yn{};var Fu=new ps(hs);var gs=class extends vn{constructor(e,n){super(e,n),this.scheduler=e,this.work=n}requestAsyncId(e,n,r=0){return r!==null&&r>0?super.requestAsyncId(e,n,r):(e.actions.push(this),e._scheduled||(e._scheduled=kr.requestAnimationFrame(()=>e.flush(void 0))))}recycleAsyncId(e,n,r=0){var i;if(r!=null?r>0:this.delay>0)return super.recycleAsyncId(e,n,r);let{actions:o}=e;n!=null&&((i=o[o.length-1])===null||i===void 0?void 0:i.id)!==n&&(kr.cancelAnimationFrame(n),e._scheduled=void 0)}};var ms=class extends yn{flush(e){this._active=!0;let n=this._scheduled;this._scheduled=void 0;let{actions:r}=this,i;e=e||r.shift();do if(i=e.execute(e.state,e.delay))break;while((e=r[0])&&e.id===n&&r.shift());if(this._active=!1,i){for(;(e=r[0])&&e.id===n&&r.shift();)e.unsubscribe();throw i}}};var f_=new ms(gs);var me=new R(t=>t.complete());function vs(t){return t&&S(t.schedule)}function Lu(t){return t[t.length-1]}function In(t){return S(Lu(t))?t.pop():void 0}function yt(t){return vs(Lu(t))?t.pop():void 0}function ig(t,e){return typeof Lu(t)=="number"?t.pop():e}function Vu(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(t);i<r.length;i++)e.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n}function sg(t,e,n,r){function i(o){return o instanceof n?o:new n(function(s){s(o)})}return new(n||(n=Promise))(function(o,s){function a(l){try{u(r.next(l))}catch(d){s(d)}}function c(l){try{u(r.throw(l))}catch(d){s(d)}}function u(l){l.done?o(l.value):i(l.value).then(a,c)}u((r=r.apply(t,e||[])).next())})}function og(t){var e=typeof Symbol=="function"&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function Xn(t){return this instanceof Xn?(this.v=t,this):new Xn(t)}function ag(t,e,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=n.apply(t,e||[]),i,o=[];return i=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",s),i[Symbol.asyncIterator]=function(){return this},i;function s(f){return function(g){return Promise.resolve(g).then(f,d)}}function a(f,g){r[f]&&(i[f]=function(y){return new Promise(function(E,b){o.push([f,y,E,b])>1||c(f,y)})},g&&(i[f]=g(i[f])))}function c(f,g){try{u(r[f](g))}catch(y){h(o[0][3],y)}}function u(f){f.value instanceof Xn?Promise.resolve(f.value.v).then(l,d):h(o[0][2],f)}function l(f){c("next",f)}function d(f){c("throw",f)}function h(f,g){f(g),o.shift(),o.length&&c(o[0][0],o[0][1])}}function cg(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e=t[Symbol.asyncIterator],n;return e?e.call(t):(t=typeof og=="function"?og(t):t[Symbol.iterator](),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(o){n[o]=t[o]&&function(s){return new Promise(function(a,c){s=t[o](s),i(a,c,s.done,s.value)})}}function i(o,s,a,c){Promise.resolve(c).then(function(u){o({value:u,done:a})},s)}}var Lr=t=>t&&typeof t.length=="number"&&typeof t!="function";function ys(t){return S(t?.then)}function Is(t){return S(t[xr])}function Ds(t){return Symbol.asyncIterator&&S(t?.[Symbol.asyncIterator])}function Es(t){return new TypeError(`You provided ${t!==null&&typeof t=="object"?"an invalid object":`'${t}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function h_(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var ws=h_();function _s(t){return S(t?.[ws])}function Cs(t){return ag(this,arguments,function*(){let n=t.getReader();try{for(;;){let{value:r,done:i}=yield Xn(n.read());if(i)return yield Xn(void 0);yield yield Xn(r)}}finally{n.releaseLock()}})}function bs(t){return S(t?.getReader)}function L(t){if(t instanceof R)return t;if(t!=null){if(Is(t))return p_(t);if(Lr(t))return g_(t);if(ys(t))return m_(t);if(Ds(t))return ug(t);if(_s(t))return v_(t);if(bs(t))return y_(t)}throw Es(t)}function p_(t){return new R(e=>{let n=t[xr]();if(S(n.subscribe))return n.subscribe(e);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function g_(t){return new R(e=>{for(let n=0;n<t.length&&!e.closed;n++)e.next(t[n]);e.complete()})}function m_(t){return new R(e=>{t.then(n=>{e.closed||(e.next(n),e.complete())},n=>e.error(n)).then(null,us)})}function v_(t){return new R(e=>{for(let n of t)if(e.next(n),e.closed)return;e.complete()})}function ug(t){return new R(e=>{I_(t,e).catch(n=>e.error(n))})}function y_(t){return ug(Cs(t))}function I_(t,e){var n,r,i,o;return sg(this,void 0,void 0,function*(){try{for(n=cg(t);r=yield n.next(),!r.done;){let s=r.value;if(e.next(s),e.closed)return}}catch(s){i={error:s}}finally{try{r&&!r.done&&(o=n.return)&&(yield o.call(n))}finally{if(i)throw i.error}}e.complete()})}function Ae(t,e,n,r=0,i=!1){let o=e.schedule(function(){n(),i?t.add(this.schedule(null,r)):this.unsubscribe()},r);if(t.add(o),!i)return o}function Dn(t,e=0){return M((n,r)=>{n.subscribe(_(r,i=>Ae(r,t,()=>r.next(i),e),()=>Ae(r,t,()=>r.complete(),e),i=>Ae(r,t,()=>r.error(i),e)))})}function En(t,e=0){return M((n,r)=>{r.add(t.schedule(()=>n.subscribe(r),e))})}function lg(t,e){return L(t).pipe(En(e),Dn(e))}function dg(t,e){return L(t).pipe(En(e),Dn(e))}function fg(t,e){return new R(n=>{let r=0;return e.schedule(function(){r===t.length?n.complete():(n.next(t[r++]),n.closed||this.schedule())})})}function hg(t,e){return new R(n=>{let r;return Ae(n,e,()=>{r=t[ws](),Ae(n,e,()=>{let i,o;try{({value:i,done:o}=r.next())}catch(s){n.error(s);return}o?n.complete():n.next(i)},0,!0)}),()=>S(r?.return)&&r.return()})}function Ss(t,e){if(!t)throw new Error("Iterable cannot be null");return new R(n=>{Ae(n,e,()=>{let r=t[Symbol.asyncIterator]();Ae(n,e,()=>{r.next().then(i=>{i.done?n.complete():n.next(i.value)})},0,!0)})})}function pg(t,e){return Ss(Cs(t),e)}function gg(t,e){if(t!=null){if(Is(t))return lg(t,e);if(Lr(t))return fg(t,e);if(ys(t))return dg(t,e);if(Ds(t))return Ss(t,e);if(_s(t))return hg(t,e);if(bs(t))return pg(t,e)}throw Es(t)}function q(t,e){return e?gg(t,e):L(t)}function T(...t){let e=yt(t);return q(t,e)}function Vr(t,e){let n=S(t)?t:()=>t,r=i=>i.error(n());return new R(e?i=>e.schedule(r,0,i):r)}function ju(t){return!!t&&(t instanceof R||S(t.lift)&&S(t.subscribe))}var nt=Mr(t=>function(){t(this),this.name="EmptyError",this.message="no elements in sequence"});function D_(t,e){let n=typeof e=="object";return new Promise((r,i)=>{let o=new tt({next:s=>{r(s),o.unsubscribe()},error:i,complete:()=>{n?r(e.defaultValue):i(new nt)}});t.subscribe(o)})}function mg(t){return t instanceof Date&&!isNaN(t)}function U(t,e){return M((n,r)=>{let i=0;n.subscribe(_(r,o=>{r.next(t.call(e,o,i++))}))})}var{isArray:E_}=Array;function w_(t,e){return E_(e)?t(...e):t(e)}function jr(t){return U(e=>w_(t,e))}var{isArray:__}=Array,{getPrototypeOf:C_,prototype:b_,keys:S_}=Object;function Ts(t){if(t.length===1){let e=t[0];if(__(e))return{args:e,keys:null};if(T_(e)){let n=S_(e);return{args:n.map(r=>e[r]),keys:n}}}return{args:t,keys:null}}function T_(t){return t&&typeof t=="object"&&C_(t)===b_}function As(t,e){return t.reduce((n,r,i)=>(n[r]=e[i],n),{})}function Wi(...t){let e=yt(t),n=In(t),{args:r,keys:i}=Ts(t);if(r.length===0)return q([],e);let o=new R(A_(r,e,i?s=>As(i,s):pe));return n?o.pipe(jr(n)):o}function A_(t,e,n=pe){return r=>{vg(e,()=>{let{length:i}=t,o=new Array(i),s=i,a=i;for(let c=0;c<i;c++)vg(e,()=>{let u=q(t[c],e),l=!1;u.subscribe(_(r,d=>{o[c]=d,l||(l=!0,a--),a||r.next(n(o.slice()))},()=>{--s||r.complete()}))},r)},r)}}function vg(t,e,n){t?Ae(n,t,e):e()}function yg(t,e,n,r,i,o,s,a){let c=[],u=0,l=0,d=!1,h=()=>{d&&!c.length&&!u&&e.complete()},f=y=>u<r?g(y):c.push(y),g=y=>{o&&e.next(y),u++;let E=!1;L(n(y,l++)).subscribe(_(e,b=>{i?.(b),o?f(b):e.next(b)},()=>{E=!0},void 0,()=>{if(E)try{for(u--;c.length&&u<r;){let b=c.shift();s?Ae(e,s,()=>g(b)):g(b)}h()}catch(b){e.error(b)}}))};return t.subscribe(_(e,f,()=>{d=!0,h()})),()=>{a?.()}}function te(t,e,n=1/0){return S(e)?te((r,i)=>U((o,s)=>e(r,o,i,s))(L(t(r,i))),n):(typeof e=="number"&&(n=e),M((r,i)=>yg(r,i,t,n)))}function It(t=1/0){return te(pe,t)}function Ig(){return It(1)}function Dt(...t){return Ig()(q(t,yt(t)))}function Ms(t){return new R(e=>{L(t()).subscribe(e)})}function Uu(...t){let e=In(t),{args:n,keys:r}=Ts(t),i=new R(o=>{let{length:s}=n;if(!s){o.complete();return}let a=new Array(s),c=s,u=s;for(let l=0;l<s;l++){let d=!1;L(n[l]).subscribe(_(o,h=>{d||(d=!0,u--),a[l]=h},()=>c--,void 0,()=>{(!c||!d)&&(u||o.next(r?As(r,a):a),o.complete())}))}});return e?i.pipe(jr(e)):i}var M_=["addListener","removeListener"],N_=["addEventListener","removeEventListener"],R_=["on","off"];function $u(t,e,n,r){if(S(n)&&(r=n,n=void 0),r)return $u(t,e,n).pipe(jr(r));let[i,o]=P_(t)?N_.map(s=>a=>t[s](e,a,n)):x_(t)?M_.map(Dg(t,e)):O_(t)?R_.map(Dg(t,e)):[];if(!i&&Lr(t))return te(s=>$u(s,e,n))(L(t));if(!i)throw new TypeError("Invalid event target");return new R(s=>{let a=(...c)=>s.next(1<c.length?c:c[0]);return i(a),()=>o(a)})}function Dg(t,e){return n=>r=>t[n](e,r)}function x_(t){return S(t.addListener)&&S(t.removeListener)}function O_(t){return S(t.on)&&S(t.off)}function P_(t){return S(t.addEventListener)&&S(t.removeEventListener)}function er(t=0,e,n=ku){let r=-1;return e!=null&&(vs(e)?n=e:r=e),new R(i=>{let o=mg(t)?+t-n.now():t;o<0&&(o=0);let s=0;return n.schedule(function(){i.closed||(i.next(s++),0<=r?this.schedule(void 0,r):i.complete())},o)})}function k_(t=0,e=ze){return t<0&&(t=0),er(t,t,e)}function F_(...t){let e=yt(t),n=ig(t,1/0),r=t;return r.length?r.length===1?L(r[0]):It(n)(q(r,e)):me}var{isArray:L_}=Array;function Ns(t){return t.length===1&&L_(t[0])?t[0]:t}function We(t,e){return M((n,r)=>{let i=0;n.subscribe(_(r,o=>t.call(e,o,i++)&&r.next(o)))})}function V_(...t){return t=Ns(t),t.length===1?L(t[0]):new R(j_(t))}function j_(t){return e=>{let n=[];for(let r=0;n&&!e.closed&&r<t.length;r++)n.push(L(t[r]).subscribe(_(e,i=>{if(n){for(let o=0;o<n.length;o++)o!==r&&n[o].unsubscribe();n=null}e.next(i)})))}}function U_(...t){let e=In(t),n=Ns(t);return n.length?new R(r=>{let i=n.map(()=>[]),o=n.map(()=>!1);r.add(()=>{i=o=null});for(let s=0;!r.closed&&s<n.length;s++)L(n[s]).subscribe(_(r,a=>{if(i[s].push(a),i.every(c=>c.length)){let c=i.map(u=>u.shift());r.next(e?e(...c):c),i.some((u,l)=>!u.length&&o[l])&&r.complete()}},()=>{o[s]=!0,!i[s].length&&r.complete()}));return()=>{i=o=null}}):me}function Eg(t){return M((e,n)=>{let r=!1,i=null,o=null,s=!1,a=()=>{if(o?.unsubscribe(),o=null,r){r=!1;let u=i;i=null,n.next(u)}s&&n.complete()},c=()=>{o=null,s&&n.complete()};e.subscribe(_(n,u=>{r=!0,i=u,o||L(t(u)).subscribe(o=_(n,a,c))},()=>{s=!0,(!r||!o||o.closed)&&n.complete()}))})}function $_(t,e=ze){return Eg(()=>er(t,e))}function wn(t){return M((e,n)=>{let r=null,i=!1,o;r=e.subscribe(_(n,void 0,void 0,s=>{o=L(t(s,wn(t)(e))),r?(r.unsubscribe(),r=null,o.subscribe(n)):i=!0})),i&&(r.unsubscribe(),r=null,o.subscribe(n))})}function wg(t,e,n,r,i){return(o,s)=>{let a=n,c=e,u=0;o.subscribe(_(s,l=>{let d=u++;c=a?t(c,l,d):(a=!0,l),r&&s.next(c)},i&&(()=>{a&&s.next(c),s.complete()})))}}function tr(t,e){return S(e)?te(t,e,1):te(t,1)}function B_(t,e=ze){return M((n,r)=>{let i=null,o=null,s=null,a=()=>{if(i){i.unsubscribe(),i=null;let u=o;o=null,r.next(u)}};function c(){let u=s+t,l=e.now();if(l<u){i=this.schedule(void 0,u-l),r.add(i);return}a()}n.subscribe(_(r,u=>{o=u,s=e.now(),i||(i=e.schedule(c,t),r.add(i))},()=>{a(),r.complete()},void 0,()=>{o=i=null}))})}function _n(t){return M((e,n)=>{let r=!1;e.subscribe(_(n,i=>{r=!0,n.next(i)},()=>{r||n.next(t),n.complete()}))})}function Ge(t){return t<=0?()=>me:M((e,n)=>{let r=0;e.subscribe(_(n,i=>{++r<=t&&(n.next(i),t<=r&&n.complete())}))})}function _g(){return M((t,e)=>{t.subscribe(_(e,Vt))})}function Gi(t){return U(()=>t)}function Bu(t,e){return e?n=>Dt(e.pipe(Ge(1),_g()),n.pipe(Bu(t))):te((n,r)=>L(t(n,r)).pipe(Ge(1),Gi(n)))}function H_(t,e=ze){let n=er(t,e);return Bu(()=>n)}function Cg(t,e=pe){return t=t??z_,M((n,r)=>{let i,o=!0;n.subscribe(_(r,s=>{let a=e(s);(o||!t(i,a))&&(o=!1,i=a,r.next(s))}))})}function z_(t,e){return t===e}function Rs(t=W_){return M((e,n)=>{let r=!1;e.subscribe(_(n,i=>{r=!0,n.next(i)},()=>r?n.complete():n.error(t())))})}function W_(){return new nt}function G_(...t){return e=>Dt(e,T(...t))}function qi(t){return M((e,n)=>{try{e.subscribe(n)}finally{n.add(t)}})}function rt(t,e){let n=arguments.length>=2;return r=>r.pipe(t?We((i,o)=>t(i,o,r)):pe,Ge(1),n?_n(e):Rs(()=>new nt))}function q_(t,e,n,r){return M((i,o)=>{let s;!e||typeof e=="function"?s=e:{duration:n,element:s,connector:r}=e;let a=new Map,c=g=>{a.forEach(g),g(o)},u=g=>c(y=>y.error(g)),l=0,d=!1,h=new $i(o,g=>{try{let y=t(g),E=a.get(y);if(!E){a.set(y,E=r?r():new ee);let b=f(y,E);if(o.next(b),n){let k=_(E,()=>{E.complete(),k?.unsubscribe()},void 0,void 0,()=>a.delete(y));h.add(L(n(b)).subscribe(k))}}E.next(s?s(g):g)}catch(y){u(y)}},()=>c(g=>g.complete()),u,()=>a.clear(),()=>(d=!0,l===0));i.subscribe(h);function f(g,y){let E=new R(b=>{l++;let k=y.subscribe(b);return()=>{k.unsubscribe(),--l===0&&d&&h.unsubscribe()}});return E.key=g,E}})}function Ur(t){return t<=0?()=>me:M((e,n)=>{let r=[];e.subscribe(_(n,i=>{r.push(i),t<r.length&&r.shift()},()=>{for(let i of r)n.next(i);n.complete()},void 0,()=>{r=null}))})}function Hu(t,e){let n=arguments.length>=2;return r=>r.pipe(t?We((i,o)=>t(i,o,r)):pe,Ur(1),n?_n(e):Rs(()=>new nt))}function Z_(){return M((t,e)=>{let n,r=!1;t.subscribe(_(e,i=>{let o=n;n=i,r&&e.next([o,i]),r=!0}))})}function zu(t,e){return M(wg(t,e,arguments.length>=2,!0))}function bg(t={}){let{connector:e=()=>new ee,resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:i=!0}=t;return o=>{let s,a,c,u=0,l=!1,d=!1,h=()=>{a?.unsubscribe(),a=void 0},f=()=>{h(),s=c=void 0,l=d=!1},g=()=>{let y=s;f(),y?.unsubscribe()};return M((y,E)=>{u++,!d&&!l&&h();let b=c=c??e();E.add(()=>{u--,u===0&&!d&&!l&&(a=Wu(g,i))}),b.subscribe(E),!s&&u>0&&(s=new tt({next:k=>b.next(k),error:k=>{d=!0,h(),a=Wu(f,n,k),b.error(k)},complete:()=>{l=!0,h(),a=Wu(f,r),b.complete()}}),L(y).subscribe(s))})(o)}}function Wu(t,e,...n){if(e===!0){t();return}if(e===!1)return;let r=new tt({next:()=>{r.unsubscribe(),t()}});return L(e(...n)).subscribe(r)}function Y_(t,e,n){let r,i=!1;return t&&typeof t=="object"?{bufferSize:r=1/0,windowTime:e=1/0,refCount:i=!1,scheduler:n}=t:r=t??1/0,bg({connector:()=>new Hi(r,e,n),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:i})}function Gu(...t){let e=yt(t);return M((n,r)=>{(e?Dt(t,n,e):Dt(t,n)).subscribe(r)})}function Fe(t,e){return M((n,r)=>{let i=null,o=0,s=!1,a=()=>s&&!i&&r.complete();n.subscribe(_(r,c=>{i?.unsubscribe();let u=0,l=o++;L(t(c,l)).subscribe(i=_(r,d=>r.next(e?e(c,d,l,u++):d),()=>{i=null,a()}))},()=>{s=!0,a()}))})}function xs(t){return M((e,n)=>{L(t).subscribe(_(n,()=>n.complete(),Vt)),!n.closed&&e.subscribe(n)})}function ce(t,e,n){let r=S(t)||e||n?{next:t,error:e,complete:n}:t;return r?M((i,o)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;i.subscribe(_(o,c=>{var u;(u=r.next)===null||u===void 0||u.call(r,c),o.next(c)},()=>{var c;a=!1,(c=r.complete)===null||c===void 0||c.call(r),o.complete()},c=>{var u;a=!1,(u=r.error)===null||u===void 0||u.call(r,c),o.error(c)},()=>{var c,u;a&&((c=r.unsubscribe)===null||c===void 0||c.call(r)),(u=r.finalize)===null||u===void 0||u.call(r)}))}):pe}function K_(...t){let e=In(t);return M((n,r)=>{let i=t.length,o=new Array(i),s=t.map(()=>!1),a=!1;for(let c=0;c<i;c++)L(t[c]).subscribe(_(r,u=>{o[c]=u,!a&&!s[c]&&(s[c]=!0,(a=s.every(pe))&&(s=null))},Vt));n.subscribe(_(r,c=>{if(a){let u=[c,...o];r.next(e?e(...u):u)}}))})}function Sg(t,e){return Object.is(t,e)}var ue=null,Os=!1,Ps=1,jt=Symbol("SIGNAL");function B(t){let e=ue;return ue=t,e}function Tg(){return ue}var Yi={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function Fs(t){if(Os)throw new Error("");
3if(ue===null)return;ue.consumerOnSignalRead(t);let e=ue.nextProducerIndex++;if(js(ue),e<ue.producerNode.length&&ue.producerNode[e]!==t&&Zi(ue)){let n=ue.producerNode[e];Vs(n,ue.producerIndexOfThis[e])}ue.producerNode[e]!==t&&(ue.producerNode[e]=t,ue.producerIndexOfThis[e]=Zi(ue)?Rg(t,ue,e):0),ue.producerLastReadVersion[e]=t.version}function Q_(){Ps++}function Ag(t){if(!(Zi(t)&&!t.dirty)&&!(!t.dirty&&t.lastCleanEpoch===Ps)){if(!t.producerMustRecompute(t)&&!Ku(t)){t.dirty=!1,t.lastCleanEpoch=Ps;return}t.producerRecomputeValue(t),t.dirty=!1,t.lastCleanEpoch=Ps}}function Mg(t){if(t.liveConsumerNode===void 0)return;let e=Os;Os=!0;try{for(let n of t.liveConsumerNode)n.dirty||J_(n)}finally{Os=e}}function Ng(){return ue?.consumerAllowSignalWrites!==!1}function J_(t){t.dirty=!0,Mg(t),t.consumerMarkedDirty?.(t)}function Ls(t){return t&&(t.nextProducerIndex=0),B(t)}function Yu(t,e){if(B(e),!(!t||t.producerNode===void 0||t.producerIndexOfThis===void 0||t.producerLastReadVersion===void 0)){if(Zi(t))for(let n=t.nextProducerIndex;n<t.producerNode.length;n++)Vs(t.producerNode[n],t.producerIndexOfThis[n]);for(;t.producerNode.length>t.nextProducerIndex;)t.producerNode.pop(),t.producerLastReadVersion.pop(),t.producerIndexOfThis.pop()}}function Ku(t){js(t);for(let e=0;e<t.producerNode.length;e++){let n=t.producerNode[e],r=t.producerLastReadVersion[e];if(r!==n.version||(Ag(n),r!==n.version))return!0}return!1}function Qu(t){if(js(t),Zi(t))for(let e=0;e<t.producerNode.length;e++)Vs(t.producerNode[e],t.producerIndexOfThis[e]);t.producerNode.length=t.producerLastReadVersion.length=t.producerIndexOfThis.length=0,t.liveConsumerNode&&(t.liveConsumerNode.length=t.liveConsumerIndexOfThis.length=0)}function Rg(t,e,n){if(xg(t),t.liveConsumerNode.length===0&&Og(t))for(let r=0;r<t.producerNode.length;r++)t.producerIndexOfThis[r]=Rg(t.producerNode[r],t,r);return t.liveConsumerIndexOfThis.push(n),t.liveConsumerNode.push(e)-1}function Vs(t,e){if(xg(t),t.liveConsumerNode.length===1&&Og(t))for(let r=0;r<t.producerNode.length;r++)Vs(t.producerNode[r],t.producerIndexOfThis[r]);let n=t.liveConsumerNode.length-1;if(t.liveConsumerNode[e]=t.liveConsumerNode[n],t.liveConsumerIndexOfThis[e]=t.liveConsumerIndexOfThis[n],t.liveConsumerNode.length--,t.liveConsumerIndexOfThis.length--,e<t.liveConsumerNode.length){let r=t.liveConsumerIndexOfThis[e],i=t.liveConsumerNode[e];js(i),i.producerIndexOfThis[r]=e}}function Zi(t){return t.consumerIsAlwaysLive||(t?.liveConsumerNode?.length??0)>0}function js(t){t.producerNode??=[],t.producerIndexOfThis??=[],t.producerLastReadVersion??=[]}function xg(t){t.liveConsumerNode??=[],t.liveConsumerIndexOfThis??=[]}function Og(t){return t.producerNode!==void 0}function Pg(t){let e=Object.create(X_);e.computation=t;let n=()=>{if(Ag(e),Fs(e),e.value===ks)throw e.error;return e.value};return n[jt]=e,n}var qu=Symbol("UNSET"),Zu=Symbol("COMPUTING"),ks=Symbol("ERRORED"),X_=$(v({},Yi),{value:qu,dirty:!0,error:null,equal:Sg,producerMustRecompute(t){return t.value===qu||t.value===Zu},producerRecomputeValue(t){if(t.value===Zu)throw new Error("Detected cycle in computations.");let e=t.value;t.value=Zu;let n=Ls(t),r;try{r=t.computation()}catch(i){r=ks,t.error=i}finally{Yu(t,n)}if(e!==qu&&e!==ks&&r!==ks&&t.equal(e,r)){t.value=e;return}t.value=r,t.version++}});function eC(){throw new Error}var kg=eC;function Fg(){kg()}function Lg(t){kg=t}var tC=null;function Vg(t){let e=Object.create(Ju);e.value=t;let n=()=>(Fs(e),e.value);return n[jt]=e,n}function Us(t,e){Ng()||Fg(),t.equal(t.value,e)||(t.value=e,nC(t))}function jg(t,e){Ng()||Fg(),Us(t,e(t.value))}var Ju=$(v({},Yi),{equal:Sg,value:void 0});function nC(t){t.version++,Q_(),Mg(t),tC?.()}var Mm="https://g.co/ng/security#xss",I=class extends Error{constructor(e,n){super(_d(e,n)),this.code=e}};function _d(t,e){return`${`NG0${Math.abs(t)}`}${e?": "+e:""}`}var Nm=Symbol("InputSignalNode#UNSET"),rC=$(v({},Ju),{transformFn:void 0,applyValueToInputSignal(t,e){Us(t,e)}});function Rm(t,e){let n=Object.create(rC);n.value=t,n.transformFn=e?.transform;function r(){if(Fs(n),n.value===Nm)throw new I(-950,!1);return n.value}return r[jt]=n,r}function oo(t){return{toString:t}.toString()}var $s="__parameters__";function iC(t){return function(...n){if(t){let r=t(...n);for(let i in r)this[i]=r[i]}}}function xm(t,e,n){return oo(()=>{let r=iC(e);function i(...o){if(this instanceof i)return r.apply(this,o),this;let s=new i(...o);return a.annotation=s,a;function a(c,u,l){let d=c.hasOwnProperty($s)?c[$s]:Object.defineProperty(c,$s,{value:[]})[$s];for(;d.length<=l;)d.push(null);return(d[l]=d[l]||[]).push(s),c}}return n&&(i.prototype=Object.create(n.prototype)),i.prototype.ngMetadataName=t,i.annotationCls=i,i})}var Ut=globalThis;function Z(t){for(let e in t)if(t[e]===Z)return e;throw Error("Could not find renamed property on target object.")}function oC(t,e){for(let n in e)e.hasOwnProperty(n)&&!t.hasOwnProperty(n)&&(t[n]=e[n])}function Se(t){if(typeof t=="string")return t;if(Array.isArray(t))return"["+t.map(Se).join(", ")+"]";if(t==null)return""+t;if(t.overriddenName)return`${t.overriddenName}`;if(t.name)return`${t.name}`;let e=t.toString();if(e==null)return""+e;let n=e.indexOf(`
4`);return n===-1?e:e.substring(0,n)}function pl(t,e){return t==null||t===""?e===null?"":e:e==null||e===""?t:t+" "+e}var sC=Z({__forward_ref__:Z});function Ze(t){return t.__forward_ref__=Ze,t.toString=function(){return Se(this())},t}function be(t){return Om(t)?t():t}
4function Om(t){return typeof t=="function"&&t.hasOwnProperty(sC)&&t.__forward_ref__===Ze}function C(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function xn(t){return{providers:t.providers||[],imports:t.imports||[]}}function Ta(t){return Ug(t,km)||Ug(t,Fm)}function Pm(t){return Ta(t)!==null}function Ug(t,e){return t.hasOwnProperty(e)?t[e]:null}function aC(t){let e=t&&(t[km]||t[Fm]);return e||null}function $g(t){return t&&(t.hasOwnProperty(Bg)||t.hasOwnProperty(cC))?t[Bg]:null}var km=Z({\u0275prov:Z}),Bg=Z({\u0275inj:Z}),Fm=Z({ngInjectableDef:Z}),cC=Z({ngInjectorDef:Z}),w=class{constructor(e,n){this._desc=e,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,typeof n=="number"?this.__NG_ELEMENT_ID__=n:n!==void 0&&(this.\u0275prov=C({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function Lm(t){return t&&!!t.\u0275providers}var uC=Z({\u0275cmp:Z}),lC=Z({\u0275dir:Z}),dC=Z({\u0275pipe:Z}),fC=Z({\u0275mod:Z}),ea=Z({\u0275fac:Z}),Qi=Z({__NG_ELEMENT_ID__:Z}),Hg=Z({__NG_ENV_ID__:Z});function sr(t){return typeof t=="string"?t:t==null?"":String(t)}function hC(t){return typeof t=="function"?t.name||t.toString():typeof t=="object"&&t!=null&&typeof t.type=="function"?t.type.name||t.type.toString():sr(t)}function pC(t,e){let n=e?`. Dependency path: ${e.join(" > ")} > ${t}`:"";throw new I(-200,t)}function Cd(t,e){throw new I(-201,!1)}var j=function(t){return t[t.Default=0]="Default",t[t.Host=1]="Host",t[t.Self=2]="Self",t[t.SkipSelf=4]="SkipSelf",t[t.Optional=8]="Optional",t}(j||{}),gl;function Vm(){return gl}function Me(t){let e=gl;return gl=t,e}function jm(t,e,n){let r=Ta(t);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(n&j.Optional)return null;if(e!==void 0)return e;Cd(t,"Injector")}var gC={},Ji=gC,ml="__NG_DI_FLAG__",ta="ngTempTokenPath",mC="ngTokenPath",vC=/\n/gm,yC="\u0275",zg="__source",Wr;function IC(){return Wr}function Cn(t){let e=Wr;return Wr=t,e}function DC(t,e=j.Default){if(Wr===void 0)throw new I(-203,!1);return Wr===null?jm(t,void 0,e):Wr.get(t,e&j.Optional?null:void 0,e)}function N(t,e=j.Default){return(Vm()||DC)(be(t),e)}function m(t,e=j.Default){return N(t,Aa(e))}function Aa(t){return typeof t>"u"||typeof t=="number"?t:0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)}function vl(t){let e=[];for(let n=0;n<t.length;n++){let r=be(t[n]);if(Array.isArray(r)){if(r.length===0)throw new I(900,!1);let i,o=j.Default;for(let s=0;s<r.length;s++){let a=r[s],c=EC(a);typeof c=="number"?c===-1?i=a.token:o|=c:i=a}e.push(N(i,o))}else e.push(N(r))}return e}function Um(t,e){return t[ml]=e,t.prototype[ml]=e,t}function EC(t){return t[ml]}function wC(t,e,n,r){let i=t[ta];throw e[zg]&&i.unshift(e[zg]),t.message=_C(`
5`+t.message,i,n,r),t[mC]=i,t[ta]=null,t}function _C(t,e,n,r=null){t=t&&t.charAt(0)===`
6`&&t.charAt(1)==yC?t.slice(2):t;let i=Se(e);if(Array.isArray(e))i=e.map(Se).join(" -> ");else if(typeof e=="object"){let o=[];for(let s in e)if(e.hasOwnProperty(s)){let a=e[s];o.push(s+":"+(typeof a=="string"?JSON.stringify(a):Se(a)))}i=`{${o.join(", ")}}`}return`${n}${r?"("+r+")":""}[${i}]: ${t.replace(vC,`
7  `)}`}var ct=Um(xm("Optional"),8);var bd=Um(xm("SkipSelf"),4);function ar(t,e){let n=t.hasOwnProperty(ea);return n?t[ea]:null}function CC(t,e,n){if(t.length!==e.length)return!1;for(let r=0;r<t.length;r++){let i=t[r],o=e[r];if(n&&(i=n(i),o=n(o)),o!==i)return!1}return!0}function bC(t){return t.flat(Number.POSITIVE_INFINITY)}function Sd(t,e){t.forEach(n=>Array.isArray(n)?Sd(n,e):e(n))}function $m(t,e,n){e>=t.length?t.push(n):t.splice(e,0,n)}function na(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function SC(t,e){let n=[];for(let r=0;r<t;r++)n.push(e);return n}function TC(t,e,n,r){let i=t.length;if(i==e)t.push(n,r);else if(i===1)t.push(r,t[0]),t[0]=n;else{for(i--,t.push(t[i-1],t[i]);i>e;){let o=i-2;t[i]=t[o],i--}t[e]=n,t[e+1]=r}}function Td(t,e,n){let r=so(t,e);return r>=0?t[r|1]=n:(r=~r,TC(t,r,e,n)),r}function Xu(t,e){let n=so(t,e);if(n>=0)return t[n|1]}function so(t,e){return AC(t,e,1)}function AC(t,e,n){let r=0,i=t.length>>n;for(;i!==r;){let o=r+(i-r>>1),s=t[o<<n];if(e===s)return o<<n;s>e?i=o:r=o+1}return~(i<<n)}var qr={},Ne=[],Zr=new w(""),Bm=new w("",-1),Hm=new w(""),ra=class{get(e,n=Ji){if(n===Ji){let r=new Error(`NullInjectorError: No provider for ${Se(e)}!`);throw r.name="NullInjectorError",r}return n}},zm=function(t){return t[t.OnPush=0]="OnPush",t[t.Default=1]="Default",t}(zm||{}),_t=function(t){return t[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t}(_t||{}),Tn=function(t){return t[t.None=0]="None",t[t.SignalBased=1]="SignalBased",t[t.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",t}(Tn||{});function MC(t,e,n){let r=t.length;for(;;){let i=t.indexOf(e,n);if(i===-1)return i;if(i===0||t.charCodeAt(i-1)<=32){let o=e.length;if(i+o===r||t.charCodeAt(i+o)<=32)return i}n=i+1}}function yl(t,e,n){let r=0;for(;r<n.length;){let i=n[r];if(typeof i=="number"){if(i!==0)break;r++;let o=n[r++],s=n[r++],a=n[r++];t.setAttribute(e,s,a,o)}else{let o=i,s=n[++r];NC(o)?t.setProperty(e,o,s):t.setAttribute(e,o,s),r++}}return r}function Wm(t){return t===3||t===4||t===6}function NC(t){return t.charCodeAt(0)===64}function Xi(t,e){if(!(e===null||e.length===0))if(t===null||t.length===0)t=e.slice();else{let n=-1;for(let r=0;r<e.length;r++){let i=e[r];typeof i=="number"?n=i:n===0||(n===-1||n===2?Wg(t,n,i,null,e[++r]):Wg(t,n,i,null,null))}}return t}function Wg(t,e,n,r,i){let o=0,s=t.length;if(e===-1)s=-1;else for(;o<t.length;){let a=t[o++];if(typeof a=="number"){if(a===e){s=-1;break}else if(a>e){s=o-1;break}}}for(;o<t.length;){let a=t[o];if(typeof a=="number")break;if(a===n){if(r===null){i!==null&&(t[o+1]=i);return}else if(r===t[o+1]){t[o+2]=i;return}}o++,r!==null&&o++,i!==null&&o++}s!==-1&&(t.splice(s,0,e),o=s+1),t.splice(o++,0,n),r!==null&&t.splice(o++,0,r),i!==null&&t.splice(o++,0,i)}var Gm="ng-template";function RC(t,e,n,r){let i=0;if(r){for(;i<e.length&&typeof e[i]=="string";i+=2)if(e[i]==="class"&&MC(e[i+1].toLowerCase(),n,0)!==-1)return!0}else if(Ad(t))return!1;if(i=e.indexOf(1,i),i>-1){let o;for(;++i<e.length&&typeof(o=e[i])=="string";)if(o.toLowerCase()===n)return!0}return!1}function Ad(t){return t.type===4&&t.value!==Gm}function xC(t,e,n){let r=t.type===4&&!n?Gm:t.value;return e===r}function OC(t,e,n){let r=4,i=t.attrs,o=i!==null?FC(i):0,s=!1;for(let a=0;a<e.length;a++){let c=e[a];if(typeof c=="number"){if(!s&&!it(r)&&!it(c))return!1;if(s&&it(c))continue;s=!1,r=c|r&1;continue}if(!s)if(r&4){if(r=2|r&1,c!==""&&!xC(t,c,n)||c===""&&e.length===1){if(it(r))return!1;s=!0}}else if(r&8){if(i===null||!RC(t,i,c,n)){if(it(r))return!1;s=!0}}else{let u=e[++a],l=PC(c,i,Ad(t),n);if(l===-1){if(it(r))return!1;s=!0;continue}if(u!==""){let d;if(l>o?d="":d=i[l+1].toLowerCase(),r&2&&u!==d){if(it(r))return!1;s=!0}}}}return it(r)||s}function it(t){return(t&1)===0}function PC(t,e,n,r){if(e===null)return-1;let i=0;if(r||!n){let o=!1;for(;i<e.length;){let s=e[i];if(s===t)return i;if(s===3||s===6)o=!0;else if(s===1||s===2){let a=e[++i];for(;
7typeof a=="string";)a=e[++i];continue}else{if(s===4)break;if(s===0){i+=4;continue}}i+=o?1:2}return-1}else return LC(e,t)}function qm(t,e,n=!1){for(let r=0;r<e.length;r++)if(OC(t,e[r],n))return!0;return!1}function kC(t){let e=t.attrs;if(e!=null){let n=e.indexOf(5);if(!(n&1))return e[n+1]}return null}function FC(t){for(let e=0;e<t.length;e++){let n=t[e];if(Wm(n))return e}return t.length}function LC(t,e){let n=t.indexOf(4);if(n>-1)for(n++;n<t.length;){let r=t[n];if(typeof r=="number")return-1;if(r===e)return n;n++}return-1}function VC(t,e){e:for(let n=0;n<e.length;n++){let r=e[n];if(t.length===r.length){for(let i=0;i<t.length;i++)if(t[i]!==r[i])continue e;return!0}}return!1}function Gg(t,e){return t?":not("+e.trim()+")":e}function jC(t){let e=t[0],n=1,r=2,i="",o=!1;for(;n<t.length;){let s=t[n];if(typeof s=="string")if(r&2){let a=t[++n];i+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else r&8?i+="."+s:r&4&&(i+=" "+s);else i!==""&&!it(s)&&(e+=Gg(o,i),i=""),r=s,o=o||!it(r);n++}return i!==""&&(e+=Gg(o,i)),e}function UC(t){return t.map(jC).join(",")}function $C(t){let e=[],n=[],r=1,i=2;for(;r<t.length;){let o=t[r];if(typeof o=="string")i===2?o!==""&&e.push(o,t[++r]):i===8&&n.push(o);else{if(!it(i))break;i=o}r++}return{attrs:e,classes:n}}function Zm(t){return oo(()=>{let e=Xm(t),n=$(v({},e),{decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===zm.OnPush,directiveDefs:null,pipeDefs:null,dependencies:e.standalone&&t.dependencies||null,getStandaloneInjector:null,signals:t.signals??!1,data:t.data||{},encapsulation:t.encapsulation||_t.Emulated,styles:t.styles||Ne,_:null,schemas:t.schemas||null,tView:null,id:""});ev(n);let r=t.dependencies;return n.directiveDefs=Zg(r,!1),n.pipeDefs=Zg(r,!0),n.id=zC(n),n})}function BC(t){return $t(t)||Ym(t)}function HC(t){return t!==null}function On(t){return oo(()=>({type:t.type,bootstrap:t.bootstrap||Ne,declarations:t.declarations||Ne,imports:t.imports||Ne,exports:t.exports||Ne,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null}))}function qg(t,e){if(t==null)return qr;let n={};for(let r in t)if(t.hasOwnProperty(r)){let i=t[r],o,s,a=Tn.None;Array.isArray(i)?(a=i[0],o=i[1],s=i[2]??o):(o=i,s=i),e?(n[o]=a!==Tn.None?[r,a]:r,e[o]=s):n[o]=r}return n}function Q(t){return oo(()=>{let e=Xm(t);return ev(e),e})}function Ma(t){return{type:t.type,name:t.name,factory:null,pure:t.pure!==!1,standalone:t.standalone===!0,onDestroy:t.type.prototype.ngOnDestroy||null}}function $t(t){return t[uC]||null}function Ym(t){return t[lC]||null}function Km(t){return t[dC]||null}function Qm(t){let e=$t(t)||Ym(t)||Km(t);return e!==null?e.standalone:!1}function Jm(t,e){let n=t[fC]||null;if(!n&&e===!0)throw new Error(`Type ${Se(t)} does not have '\u0275mod' property.`);return n}function Xm(t){let e={};return{type:t.type,providersResolver:null,factory:null,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:e,inputTransforms:null,inputConfig:t.inputs||qr,exportAs:t.exportAs||null,standalone:t.standalone===!0,signals:t.signals===!0,selectors:t.selectors||Ne,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:qg(t.inputs,e),outputs:qg(t.outputs),debugInfo:null}}function ev(t){t.features?.forEach(e=>e(t))}function Zg(t,e){if(!t)return null;let n=e?Km:BC;return()=>(typeof t=="function"?t():t).map(r=>n(r)).filter(HC)}function zC(t){let e=0,n=[t.selectors,t.ngContentSelectors,t.hostVars,t.hostAttrs,t.consts,t.vars,t.decls,t.encapsulation,t.standalone,t.signals,t.exportAs,JSON.stringify(t.inputs),JSON.stringify(t.outputs),Object.getOwnPropertyNames(t.type.prototype),!!t.contentQueries,!!t.viewQuery].join("|");for(let i of n)e=Math.imul(31,e)+i.charCodeAt(0)<<0;return e+=2147483648,"c"+e}function Pn(t){return{\u0275providers:t}}function WC(...t){return{\u0275providers:tv(!0,t),\u0275fromNgModule:!0}}function tv(t,...e){let n=[],r=new Set,i,o=s=>{n.push(s)};return Sd(e,s=>{let a=s;Il(a,o,[],r)&&(i||=[],i.push(a))}),i!==void 0&&nv(i,o),n}function nv(t,e){for(let n=0;n<t.length;n++){let{ngModule:r,providers:i}=t[n];Md(i,o=>{e(o,r)})}}function Il(t,e,n,r){if(t=be(t),!t)return!1;let i=null,o=$g(t),s=!o&&$t(t);if(!o&&!s){let c=t.ngModule;if(o=$g(c),o)i=c;else return!1}else{if(s&&!s.standalone)return!1;i=t}let a=r.has(i);if(s){if(a)return!1;if(r.add(i),s.dependencies){let c=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let u of c)Il(u,e,n,r)}}else if(o){if(o.imports!=null&&!a){r.add(i);let u;
7try{Sd(o.imports,l=>{Il(l,e,n,r)&&(u||=[],u.push(l))})}finally{}u!==void 0&&nv(u,e)}if(!a){let u=ar(i)||(()=>new i);e({provide:i,useFactory:u,deps:Ne},i),e({provide:Hm,useValue:i,multi:!0},i),e({provide:Zr,useValue:()=>N(i),multi:!0},i)}let c=o.providers;if(c!=null&&!a){let u=t;Md(c,l=>{e(l,u)})}}else return!1;return i!==t&&t.providers!==void 0}function Md(t,e){for(let n of t)Lm(n)&&(n=n.\u0275providers),Array.isArray(n)?Md(n,e):e(n)}var GC=Z({provide:String,useValue:Z});function rv(t){return t!==null&&typeof t=="object"&&GC in t}function qC(t){return!!(t&&t.useExisting)}function ZC(t){return!!(t&&t.useFactory)}function Yr(t){return typeof t=="function"}function YC(t){return!!t.useClass}var Na=new w(""),Zs={},KC={},el;function Ra(){return el===void 0&&(el=new ra),el}var Le=class{},eo=class extends Le{get destroyed(){return this._destroyed}constructor(e,n,r,i){super(),this.parent=n,this.source=r,this.scopes=i,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,El(e,s=>this.processProvider(s)),this.records.set(Bm,$r(void 0,this)),i.has("environment")&&this.records.set(Le,$r(void 0,this));let o=this.records.get(Na);o!=null&&typeof o.value=="string"&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(Hm,Ne,j.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;let e=B(null);try{for(let r of this._ngOnDestroyHooks)r.ngOnDestroy();let n=this._onDestroyHooks;this._onDestroyHooks=[];for(let r of n)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),B(e)}}onDestroy(e){return this.assertNotDestroyed(),this._onDestroyHooks.push(e),()=>this.removeOnDestroy(e)}runInContext(e){this.assertNotDestroyed();let n=Cn(this),r=Me(void 0),i;try{return e()}finally{Cn(n),Me(r)}}get(e,n=Ji,r=j.Default){if(this.assertNotDestroyed(),e.hasOwnProperty(Hg))return e[Hg](this);r=Aa(r);let i,o=Cn(this),s=Me(void 0);try{if(!(r&j.SkipSelf)){let c=this.records.get(e);if(c===void 0){let u=tb(e)&&Ta(e);u&&this.injectableDefInScope(u)?c=$r(Dl(e),Zs):c=null,this.records.set(e,c)}if(c!=null)return this.hydrate(e,c)}let a=r&j.Self?Ra():this.parent;return n=r&j.Optional&&n===Ji?null:n,a.get(e,n)}catch(a){if(a.name==="NullInjectorError"){if((a[ta]=a[ta]||[]).unshift(Se(e)),o)throw a;return wC(a,e,"R3InjectorError",this.source)}else throw a}finally{Me(s),Cn(o)}}resolveInjectorInitializers(){let e=B(null),n=Cn(this),r=Me(void 0),i;try{let o=this.get(Zr,Ne,j.Self);for(let s of o)s()}finally{Cn(n),Me(r),B(e)}}toString(){let e=[],n=this.records;for(let r of n.keys())e.push(Se(r));return`R3Injector[${e.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new I(205,!1)}processProvider(e){e=be(e);let n=Yr(e)?e:be(e&&e.provide),r=JC(e);if(!Yr(e)&&e.multi===!0){let i=this.records.get(n);i||(i=$r(void 0,Zs,!0),i.factory=()=>vl(i.multi),this.records.set(n,i)),n=e,i.multi.push(e)}this.records.set(n,r)}hydrate(e,n){let r=B(null);try{return n.value===Zs&&(n.value=KC,n.value=n.factory()),typeof n.value=="object"&&n.value&&eb(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{B(r)}}injectableDefInScope(e){if(!e.providedIn)return!1;let n=be(e.providedIn);return typeof n=="string"?n==="any"||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(e){let n=this._onDestroyHooks.indexOf(e);n!==-1&&this._onDestroyHooks.splice(n,1)}};function Dl(t){let e=Ta(t),n=e!==null?e.factory:ar(t);if(n!==null)return n;if(t instanceof w)throw new I(204,!1);if(t instanceof Function)return QC(t);throw new I(204,!1)}function QC(t){if(t.length>0)throw new I(204,!1);let n=aC(t);return n!==null?()=>n.factory(t):()=>new t}function JC(t){if(rv(t))return $r(void 0,t.useValue);{let e=iv(t);return $r(e,Zs)}}function iv(t,e,n){let r;if(Yr(t)){let i=be(t);return ar(i)||Dl(i)}else if(rv(t))r=()=>be(t.useValue);else if(ZC(t))r=()=>t.useFactory(...vl(t.deps||[]));else if(qC(t))r=()=>N(be(t.useExisting));else{let i=be(t&&(t.useClass||t.provide));if(XC(t))r=()=>new i(...vl(t.deps));else return ar(i)||Dl(i)}return r}function $r(t,e,n=!1){return{factory:t,value:e,multi:n?[]:void 0}}function XC(t){return!!t.deps}function eb(t){return t!==null&&typeof t=="object"&&typeof t.ngOnDestroy=="function"}function tb(t){return typeof t=="function"||typeof t=="object"&&t instanceof w}function El(t,e){for(let n of t)Array.isArray(n)?El(n,e):n&&Lm(n)?El(n.\u
70275providers,e):e(n)}function St(t,e){t instanceof eo&&t.assertNotDestroyed();let n,r=Cn(t),i=Me(void 0);try{return e()}finally{Cn(r),Me(i)}}function ov(){return Vm()!==void 0||IC()!=null}function sv(t){if(!ov())throw new I(-203,!1)}var sz=Function;function nb(t){return typeof t=="function"}var qt=0,O=1,x=2,De=3,st=4,Re=5,Kr=6,ia=7,ye=8,Qr=9,Ct=10,ie=11,to=12,Yg=13,oi=14,Ve=15,cr=16,Br=17,Bt=18,xa=19,av=20,bn=21,tl=22,qe=23,le=25,cv=1;var ur=7,oa=8,Jr=9,Ie=10,sa=function(t){return t[t.None=0]="None",t[t.HasTransplantedViews=2]="HasTransplantedViews",t}(sa||{});function Sn(t){return Array.isArray(t)&&typeof t[cv]=="object"}function Zt(t){return Array.isArray(t)&&t[cv]===!0}function Nd(t){return(t.flags&4)!==0}function Oa(t){return t.componentOffset>-1}function Pa(t){return(t.flags&1)===1}function An(t){return!!t.template}function wl(t){return(t[x]&512)!==0}var _l=class{constructor(e,n,r){this.previousValue=e,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function uv(t,e,n,r){e!==null?e.applyValueToInputSignal(e,r):t[n]=r}function ut(){return lv}function lv(t){return t.type.prototype.ngOnChanges&&(t.setInput=ib),rb}ut.ngInherit=!0;function rb(){let t=fv(this),e=t?.current;if(e){let n=t.previous;if(n===qr)t.previous=e;else for(let r in e)n[r]=e[r];t.current=null,this.ngOnChanges(e)}}function ib(t,e,n,r,i){let o=this.declaredInputs[r],s=fv(t)||ob(t,{previous:qr,current:null}),a=s.current||(s.current={}),c=s.previous,u=c[o];a[o]=new _l(u&&u.currentValue,n,c===qr),uv(t,e,i,n)}var dv="__ngSimpleChanges__";function fv(t){return t[dv]||null}function ob(t,e){return t[dv]=e}var Kg=null;var Et=function(t,e,n){Kg?.(t,e,n)},sb="svg",ab="math";function bt(t){for(;Array.isArray(t);)t=t[qt];return t}function hv(t,e){return bt(e[t])}function Ye(t,e){return bt(e[t.index])}function Rd(t,e){return t.data[e]}function ka(t,e){return t[e]}function kn(t,e){let n=e[t];return Sn(n)?n:n[qt]}function cb(t){return(t[x]&4)===4}function xd(t){return(t[x]&128)===128}function ub(t){return Zt(t[De])}function Mn(t,e){return e==null?null:t[e]}function pv(t){t[Br]=0}function gv(t){t[x]&1024||(t[x]|=1024,xd(t)&&La(t))}function lb(t,e){for(;t>0;)e=e[oi],t--;return e}function Fa(t){return!!(t[x]&9216||t[qe]?.dirty)}function Cl(t){t[Ct].changeDetectionScheduler?.notify(8),t[x]&64&&(t[x]|=1024),Fa(t)&&La(t)}function La(t){t[Ct].changeDetectionScheduler?.notify(0);let e=lr(t);for(;e!==null&&!(e[x]&8192||(e[x]|=8192,!xd(e)));)e=lr(e)}function mv(t,e){if((t[x]&256)===256)throw new I(911,!1);t[bn]===null&&(t[bn]=[]),t[bn].push(e)}function db(t,e){if(t[bn]===null)return;let n=t[bn].indexOf(e);n!==-1&&t[bn].splice(n,1)}function lr(t){let e=t[De];return Zt(e)?e[De]:e}var V={lFrame:bv(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var vv=!1;function fb(){return V.lFrame.elementDepthCount}function hb(){V.lFrame.elementDepthCount++}function pb(){V.lFrame.elementDepthCount--}function yv(){return V.bindingsEnabled}function Iv(){return V.skipHydrationRootTNode!==null}function gb(t){return V.skipHydrationRootTNode===t}function mb(){V.skipHydrationRootTNode=null}function P(){return V.lFrame.lView}function oe(){return V.lFrame.tView}function az(t){return V.lFrame.contextLView=t,t[ye]}function cz(t){return V.lFrame.contextLView=null,t}function Ee(){let t=Dv();for(;t!==null&&t.type===64;)t=t.parent;return t}function Dv(){return V.lFrame.currentTNode}function vb(){let t=V.lFrame,e=t.currentTNode;return t.isParent?e:e.parent}function yr(t,e){let n=V.lFrame;n.currentTNode=t,n.isParent=e}function Od(){return V.lFrame.isParent}function Pd(){V.lFrame.isParent=!1}function yb(){return V.lFrame.contextLView}function Ev(){return vv}function Qg(t){vv=t}function si(){let t=V.lFrame,e=t.bindingRootIndex;return e===-1&&(e=t.bindingRootIndex=t.tView.bindingStartIndex),e}function Ib(){return V.lFrame.bindingIndex}function Db(t){return V.lFrame.bindingIndex=t}function ai(){return V.lFrame.bindingIndex++}function kd(t){let e=V.lFrame,n=e.bindingIndex;return e.bindingIndex=e.bindingIndex+t,n}function Eb(){return V.lFrame.inI18n}function wb(t,e){let n=V.lFrame;n.bindingIndex=n.bindingRootIndex=t,bl(e)}function _b(){return V.lFrame.currentDirectiveIndex}function bl(t){V.lFrame.currentDirectiveIndex=t}function Cb(t){let e=V.lFrame.currentDirectiveIndex;return e===-1?null:t[e]}function wv(){return V.lFrame.currentQueryIndex}function Fd(t){V.lFrame.currentQueryIndex=t}function bb(t){let e=t[O];return e.type===2?e.declTNode:e.type===1?t[Re]:null}function _v(t,e,n){if(n&j.SkipSelf){let i=e,o=t;for(;i=i.parent,i===null&&!(n&j.Host);)if(i=bb(o),i===null||(o=o[oi],i.type&10))break;if(i===null)return!1;e=i,t=o}let r=V.lFrame=Cv();return r.currentTNode=e,r.lView=t,!0}function Ld(t){let e=Cv(),n=t[O];V.lFrame=e,e.currentTNode=n.firstChild,e.lView=t,e.tView=n,e.contextLView=t,e.bindingIndex=n.bindingStartIndex,e.inI18n=!1}function Cv(){let t=V.lFrame,e=t===null?null:t.child;return e===null?bv(t):e}function bv(t){let e={currentTNode:null,isParent:!0,lView:null,tView:null,
7selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:t,child:null,inI18n:!1};return t!==null&&(t.child=e),e}function Sv(){let t=V.lFrame;return V.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}var Tv=Sv;function Vd(){let t=Sv();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function Sb(t){return(V.lFrame.contextLView=lb(t,V.lFrame.contextLView))[ye]}function Yt(){return V.lFrame.selectedIndex}function dr(t){V.lFrame.selectedIndex=t}function Va(){let t=V.lFrame;return Rd(t.tView,t.selectedIndex)}function Tb(){return V.lFrame.currentNamespace}var Av=!0;function ja(){return Av}function Ua(t){Av=t}function Ab(t,e,n){let{ngOnChanges:r,ngOnInit:i,ngDoCheck:o}=e.type.prototype;if(r){let s=lv(e);(n.preOrderHooks??=[]).push(t,s),(n.preOrderCheckHooks??=[]).push(t,s)}i&&(n.preOrderHooks??=[]).push(0-t,i),o&&((n.preOrderHooks??=[]).push(t,o),(n.preOrderCheckHooks??=[]).push(t,o))}function $a(t,e){for(let n=e.directiveStart,r=e.directiveEnd;n<r;n++){let o=t.data[n].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:c,ngAfterViewChecked:u,ngOnDestroy:l}=o;s&&(t.contentHooks??=[]).push(-n,s),a&&((t.contentHooks??=[]).push(n,a),(t.contentCheckHooks??=[]).push(n,a)),c&&(t.viewHooks??=[]).push(-n,c),u&&((t.viewHooks??=[]).push(n,u),(t.viewCheckHooks??=[]).push(n,u)),l!=null&&(t.destroyHooks??=[]).push(n,l)}}function Ys(t,e,n){Mv(t,e,3,n)}function Ks(t,e,n,r){(t[x]&3)===n&&Mv(t,e,n,r)}function nl(t,e){let n=t[x];(n&3)===e&&(n&=16383,n+=1,t[x]=n)}function Mv(t,e,n,r){let i=r!==void 0?t[Br]&65535:0,o=r??-1,s=e.length-1,a=0;for(let c=i;c<s;c++)if(typeof e[c+1]=="number"){if(a=e[c],r!=null&&a>=r)break}else e[c]<0&&(t[Br]+=65536),(a<o||o==-1)&&(Mb(t,n,e,c),t[Br]=(t[Br]&4294901760)+c+2),c++}function Jg(t,e){Et(4,t,e);let n=B(null);try{e.call(t)}finally{B(n),Et(5,t,e)}}function Mb(t,e,n,r){let i=n[r]<0,o=n[r+1],s=i?-n[r]:n[r],a=t[s];i?t[x]>>14<t[Br]>>16&&(t[x]&3)===e&&(t[x]+=16384,Jg(a,o)):Jg(a,o)}var Gr=-1,fr=class{constructor(e,n,r){this.factory=e,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}};function Nb(t){return t instanceof fr}function Rb(t){return(t.flags&8)!==0}function xb(t){return(t.flags&16)!==0}var rl={},Sl=class{constructor(e,n){this.injector=e,this.parentInjector=n}get(e,n,r){r=Aa(r);let i=this.injector.get(e,rl,r);return i!==rl||n===rl?i:this.parentInjector.get(e,n,r)}};function Nv(t){return t!==Gr}function aa(t){return t&32767}function Ob(t){return t>>16}function ca(t,e){let n=Ob(t),r=e;for(;n>0;)r=r[oi],n--;return r}var Tl=!0;function ua(t){let e=Tl;return Tl=t,e}var Pb=256,Rv=Pb-1,xv=5,kb=0,wt={};function Fb(t,e,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(Qi)&&(r=n[Qi]),r==null&&(r=n[Qi]=kb++);let i=r&Rv,o=1<<i;e.data[t+(i>>xv)]|=o}function la(t,e){let n=Ov(t,e);if(n!==-1)return n;let r=e[O];r.firstCreatePass&&(t.injectorIndex=e.length,il(r.data,t),il(e,null),il(r.blueprint,null));let i=jd(t,e),o=t.injectorIndex;if(Nv(i)){let s=aa(i),a=ca(i,e),c=a[O].data;for(let u=0;u<8;u++)e[o+u]=a[s+u]|c[s+u]}return e[o+8]=i,o}function il(t,e){t.push(0,0,0,0,0,0,0,0,e)}function Ov(t,e){return t.injectorIndex===-1||t.parent&&t.parent.injectorIndex===t.injectorIndex||e[t.injectorIndex+8]===null?-1:t.injectorIndex}function jd(t,e){if(t.parent&&t.parent.injectorIndex!==-1)return t.parent.injectorIndex;let n=0,r=null,i=e;for(;i!==null;){if(r=Vv(i),r===null)return Gr;if(n++,i=i[oi],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return Gr}function Al(t,e,n){Fb(t,e,n)}function Lb(t,e){if(e==="class")return t.classes;if(e==="style")return t.styles;let n=t.attrs;if(n){let r=n.length,i=0;for(;i<r;){let o=n[i];if(Wm(o))break;if(o===0)i=i+2;else if(typeof o=="number")for(i++;i<r&&typeof n[i]=="string";)i++;else{if(o===e)return n[i+1];i=i+2}}}return null}function Pv(t,e,n){if(n&j.Optional||t!==void 0)return t;Cd(e,"NodeInjector")}function kv(t,e,n,r){if(n&j.Optional&&r===void 0&&(r=null),!(n&(j.Self|j.Host))){let i=t[Qr],o=Me(void 0);try{return i?i.get(e,r,n&j.Optional):jm(e,r,n&j.Optional)}finally{Me(o)}}return Pv(r,e,n)}function Fv(t,e,n,r=j.Default,i){if(t!==null){if(e[x]&2048&&!(r&j.Self)){let s=$b(t,e,n,r,wt);if(s!==wt)return s}let o=Lv(t,e,n,r,wt);if(o!==wt)return o}return kv(e,n,r,i)}function Lv(t,e,n,r,i){let o=jb(n);if(typeof o=="function"){if(!_v(e,t,r))return r&j.Host?Pv(i,n,r):kv(e,n,r,i);try{let s;if(s=o(r),s==null&&!(r&j.Optional))Cd(n);else return s}finally{Tv()}}else if(typeof o=="number"){let s=null,a=Ov(t,e),c=Gr,u=r&j.Host?e[Ve][Re]:null;for((a===-1||r&j.SkipSelf)&&(c=a===-1?jd(t,e):e[a+8],c===Gr||!em(r,!1)?a=-1:(s=e[O],a=aa(c),e=ca(c,e)));a!==-1;){let l=e[O];if(Xg(o,a,l.data)){let d=Vb(a,e,n,s,r,u);if(d!==wt)return d}c=e[a+8],c!==Gr&&em(r,e[O].data[a+8]===u)&&Xg(o,a,e)?(s=l,a=aa(c),e=ca(c,e)):a=-1}}return i}function Vb(t,e,n,r,i,o){let s=e[O],a=s.data[t+8],c=r==null?Oa(a)&&Tl:r!=s&&(a.type&3)!==0,u=i&j.Host&&o===a,l=Qs(a,s,n,c,u);return l!==null?hr(e,s,l,a):wt}function Qs(t,e,n,r,i){let o=t.providerIndexes,s=e.data,a=o&1048575,c=t.directiveStart,u=t.directiveEnd,l=o>>20,d=r?a:a+l,h=i?a+l:u;for(let f=d;f<h;f++){let g=s[f];
7if(f<c&&n===g||f>=c&&g.type===n)return f}if(i){let f=s[c];if(f&&An(f)&&f.type===n)return c}return null}function hr(t,e,n,r){let i=t[n],o=e.data;if(Nb(i)){let s=i;s.resolving&&pC(hC(o[n]));let a=ua(s.canSeeViewProviders);s.resolving=!0;let c,u=s.injectImpl?Me(s.injectImpl):null,l=_v(t,r,j.Default);try{i=t[n]=s.factory(void 0,o,t,r),e.firstCreatePass&&n>=r.directiveStart&&Ab(n,o[n],e)}finally{u!==null&&Me(u),ua(a),s.resolving=!1,Tv()}}return i}function jb(t){if(typeof t=="string")return t.charCodeAt(0)||0;let e=t.hasOwnProperty(Qi)?t[Qi]:void 0;return typeof e=="number"?e>=0?e&Rv:Ub:e}function Xg(t,e,n){let r=1<<t;return!!(n[e+(t>>xv)]&r)}function em(t,e){return!(t&j.Self)&&!(t&j.Host&&e)}var or=class{constructor(e,n){this._tNode=e,this._lView=n}get(e,n,r){return Fv(this._tNode,this._lView,e,Aa(r),n)}};function Ub(){return new or(Ee(),P())}function Kt(t){return oo(()=>{let e=t.prototype.constructor,n=e[ea]||Ml(e),r=Object.prototype,i=Object.getPrototypeOf(t.prototype).constructor;for(;i&&i!==r;){let o=i[ea]||Ml(i);if(o&&o!==n)return o;i=Object.getPrototypeOf(i)}return o=>new o})}function Ml(t){return Om(t)?()=>{let e=Ml(be(t));return e&&e()}:ar(t)}function $b(t,e,n,r,i){let o=t,s=e;for(;o!==null&&s!==null&&s[x]&2048&&!(s[x]&512);){let a=Lv(o,s,n,r|j.Self,wt);if(a!==wt)return a;let c=o.parent;if(!c){let u=s[av];if(u){let l=u.get(n,wt,r);if(l!==wt)return l}c=Vv(s),s=s[oi]}o=c}return i}function Vv(t){let e=t[O],n=e.type;return n===2?e.declTNode:n===1?t[Re]:null}function Ud(t){return Lb(Ee(),t)}function tm(t,e=null,n=null,r){let i=jv(t,e,n,r);return i.resolveInjectorInitializers(),i}function jv(t,e=null,n=null,r,i=new Set){let o=[n||Ne,WC(t)];return r=r||(typeof t=="object"?void 0:Se(t)),new eo(o,e||Ra(),r||null,i)}var rr=class rr{static create(e,n){if(Array.isArray(e))return tm({name:""},n,e,"");{let r=e.name??"";return tm({name:r},e.parent,e.providers,r)}}};rr.THROW_IF_NOT_FOUND=Ji,rr.NULL=new ra,rr.\u0275prov=C({token:rr,providedIn:"any",factory:()=>N(Bm)}),rr.__NG_ELEMENT_ID__=-1;var ve=rr;var Bb=new w("");Bb.__NG_ELEMENT_ID__=t=>{let e=Ee();if(e===null)throw new I(204,!1);if(e.type&2)return e.value;if(t&j.Optional)return null;throw new I(204,!1)};var Hb="ngOriginalError";function ol(t){return t[Hb]}var Uv=!0,$d=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=zb,e.__NG_ENV_ID__=r=>r;let t=e;return t})(),Nl=class extends $d{constructor(e){super(),this._lView=e}onDestroy(e){return mv(this._lView,e),()=>db(this._lView,e)}};function zb(){return new Nl(P())}var ci=(()=>{let e=class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new ge(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let r=this.taskId++;return this.pendingTasks.add(r),r}remove(r){this.pendingTasks.delete(r),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}};e.\u0275prov=C({token:e,providedIn:"root",factory:()=>new e});let t=e;return t})();var Rl=class extends ee{constructor(e=!1){super(),this.destroyRef=void 0,this.pendingTasks=void 0,this.__isAsync=e,ov()&&(this.destroyRef=m($d,{optional:!0})??void 0,this.pendingTasks=m(ci,{optional:!0})??void 0)}emit(e){let n=B(null);try{super.next(e)}finally{B(n)}}subscribe(e,n,r){let i=e,o=n||(()=>null),s=r;if(e&&typeof e=="object"){let c=e;i=c.next?.bind(c),o=c.error?.bind(c),s=c.complete?.bind(c)}this.__isAsync&&(o=this.wrapInTimeout(o),i&&(i=this.wrapInTimeout(i)),s&&(s=this.wrapInTimeout(s)));let a=super.subscribe({next:i,error:o,complete:s});return e instanceof X&&e.add(a),a}wrapInTimeout(e){return n=>{let r=this.pendingTasks?.add();setTimeout(()=>{e(n),r!==void 0&&this.pendingTasks?.remove(r)})}}},ne=Rl;function da(...t){}function $v(t){let e,n;function r(){t=da;try{n!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(n),e!==void 0&&clearTimeout(e)}catch{}}return e=setTimeout(()=>{t(),r()}),typeof requestAnimationFrame=="function"&&(n=requestAnimationFrame(()=>{t(),r()})),()=>r()}function nm(t){return queueMicrotask(()=>t()),()=>{t=da}}
7var Bd="isAngularZone",fa=Bd+"_ID",Wb=0,G=class t{constructor(e){this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new ne(!1),this.onMicrotaskEmpty=new ne(!1),this.onStable=new ne(!1),this.onError=new ne(!1);let{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:i=!1,scheduleInRootZone:o=Uv}=e;if(typeof Zone>"u")throw new I(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)),n&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!i&&r,s.shouldCoalesceRunChangeDetection=i,s.callbackScheduled=!1,s.scheduleInRootZone=o,Zb(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(Bd)===!0}static assertInAngularZone(){if(!t.isInAngularZone())throw new I(909,!1)}static assertNotInAngularZone(){if(t.isInAngularZone())throw new I(909,!1)}run(e,n,r){return this._inner.run(e,n,r)}runTask(e,n,r,i){let o=this._inner,s=o.scheduleEventTask("NgZoneEvent: "+i,e,Gb,da,da);try{return o.runTask(s,n,r)}finally{o.cancelTask(s)}}runGuarded(e,n,r){return this._inner.runGuarded(e,n,r)}runOutsideAngular(e){return this._outer.run(e)}},Gb={};function Hd(t){if(t._nesting==0&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function qb(t){if(t.isCheckStableRunning||t.callbackScheduled)return;t.callbackScheduled=!0;function e(){$v(()=>{t.callbackScheduled=!1,xl(t),t.isCheckStableRunning=!0,Hd(t),t.isCheckStableRunning=!1})}t.scheduleInRootZone?Zone.root.run(()=>{e()}):t._outer.run(()=>{e()}),xl(t)}function Zb(t){let e=()=>{qb(t)},n=Wb++;t._inner=t._inner.fork({name:"angular",properties:{[Bd]:!0,[fa]:n,[fa+n]:!0},onInvokeTask:(r,i,o,s,a,c)=>{if(Yb(c))return r.invokeTask(o,s,a,c);try{return rm(t),r.invokeTask(o,s,a,c)}finally{(t.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||t.shouldCoalesceRunChangeDetection)&&e(),im(t)}},onInvoke:(r,i,o,s,a,c,u)=>{try{return rm(t),r.invoke(o,s,a,c,u)}finally{t.shouldCoalesceRunChangeDetection&&!t.callbackScheduled&&!Kb(c)&&e(),im(t)}},onHasTask:(r,i,o,s)=>{r.hasTask(o,s),i===o&&(s.change=="microTask"?(t._hasPendingMicrotasks=s.microTask,xl(t),Hd(t)):s.change=="macroTask"&&(t.hasPendingMacrotasks=s.macroTask))},onHandleError:(r,i,o,s)=>(r.handleError(o,s),t.runOutsideAngular(()=>t.onError.emit(s)),!1)})}function xl(t){t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&t.callbackScheduled===!0?t.hasPendingMicrotasks=!0:t.hasPendingMicrotasks=!1}function rm(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function im(t){t._nesting--,Hd(t)}var Ol=class{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new ne,this.onMicrotaskEmpty=new ne,this.onStable=new ne,this.onError=new ne}run(e,n,r){return e.apply(n,r)}runGuarded(e,n,r){return e.apply(n,r)}runOutsideAngular(e){return e()}runTask(e,n,r,i){return e.apply(n,r)}};function Yb(t){return Bv(t,"__ignore_ng_zone__")}function Kb(t){return Bv(t,"__scheduler_tick__")}function Bv(t,e){return!Array.isArray(t)||t.length!==1?!1:t[0]?.data?.[e]===!0}var Ht=class{constructor(){this._console=console}handleError(e){let n=this._findOriginalError(e);this._console.error("ERROR",e),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(e){let n=e&&ol(e);for(;n&&ol(n);)n=ol(n);return n||null}},Qb=new w("",{providedIn:"root",factory:()=>{let t=m(G),e=m(Ht);return n=>t.runOutsideAngular(()=>e.handleError(n))}});function om(t,e){return Rm(t,e)}function Jb(t){return Rm(Nm,t)}var uz=(om.required=Jb,om);function Xb(){return ui(Ee(),P())}function ui(t,e){return new we(Ye(t,e))}var we=(()=>{let e=class e{constructor(r){this.nativeElement=r}};e.__NG_ELEMENT_ID__=Xb;let t=e;return t})();function eS(t){return t instanceof we?t.nativeElement:t}function tS(){return this._results[Symbol.iterator]()}var Pl=class t{get changes(){return this._changes??=new ne}constructor(e=!1){this._emitDistinctChangesOnly=e,this.dirty=!0,this._onDirty=void 0,this._results=[],this._changesDetected=!1,this._changes=void 0,this.length=0,this.first=void 0,this.last=void 0;let n=t.prototype;n[Symbol.iterator]||(n[Symbol.iterator]=tS)}get(e){return this._results[e]}map(e){return this._results.map(e)}filter(e){return this._results.filter(e)}find(e){return this._results.find(e)}reduce(e,n){return this._results.reduce(e,n)}
vendor: 4,601 bytes, line 7
7forEach(e){this._results.forEach(e)}some(e){return this._results.some(e)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(e,n){this.dirty=!1;let r=bC(e);(this._changesDetected=!CC(this._results,r,n))&&(this._results=r,this.length=r.length,this.last=r[this.length-1],this.first=r[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}onDirty(e){this._onDirty=e}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}};function Hv(t){return(t.flags&128)===128}var zv=new Map,nS=0;function rS(){return nS++}function iS(t){zv.set(t[xa],t)}function kl(t){zv.delete(t[xa])}var sm="__ngContext__";function Nn(t,e){Sn(e)?(t[sm]=e[xa],iS(e)):t[sm]=e}function Wv(t){return qv(t[to])}function Gv(t){return qv(t[st])}function qv(t){for(;t!==null&&!Zt(t);)t=t[st];return t}var Fl;function Zv(t){Fl=t}function Yv(){if(Fl!==void 0)return Fl;if(typeof document<"u")return document;throw new I(210,!1)}var zd=new w("",{providedIn:"root",factory:()=>oS}),oS="ng",Wd=new w(""),Tt=new w("",{providedIn:"platform",factory:()=>"unknown"});var Gd=new w("",{providedIn:"root",factory:()=>Yv().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var sS="h",aS="b";var cS=()=>null;function qd(t,e,n=!1){return cS(t,e,n)}var Kv=!1,uS=new w("",{providedIn:"root",factory:()=>Kv});var Bs;function lS(){if(Bs===void 0&&(Bs=null,Ut.trustedTypes))try{Bs=Ut.trustedTypes.createPolicy("angular",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return Bs}function Ba(t){return lS()?.createHTML(t)||t}var Hs;function Qv(){if(Hs===void 0&&(Hs=null,Ut.trustedTypes))try{Hs=Ut.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return Hs}function am(t){return Qv()?.createHTML(t)||t}function cm(t){return Qv()?.createScriptURL(t)||t}var zt=class{constructor(e){this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Mm})`}},Ll=class extends zt{getTypeName(){return"HTML"}},Vl=class extends zt{getTypeName(){return"Style"}},jl=class extends zt{getTypeName(){return"Script"}},Ul=class extends zt{getTypeName(){return"URL"}},$l=class extends zt{getTypeName(){return"ResourceURL"}};function Ke(t){return t instanceof zt?t.changingThisBreaksApplicationSecurity:t}function Qt(t,e){let n=dS(t);if(n!=null&&n!==e){if(n==="ResourceURL"&&e==="URL")return!0;throw new Error(`Required a safe ${e}, got a ${n} (see ${Mm})`)}return n===e}function dS(t){return t instanceof zt&&t.getTypeName()||null}function Jv(t){return new Ll(t)}function Xv(t){return new Vl(t)}function ey(t){return new jl(t)}function ty(t){return new Ul(t)}function ny(t){return new $l(t)}function fS(t){let e=new Hl(t);return hS()?new Bl(e):e}var Bl=class{constructor(e){this.inertDocumentHelper=e}getInertBodyElement(e){e="<body><remove></remove>"+e;try{let n=new window.DOMParser().parseFromString(Ba(e),"text/html").body;return n===null?this.inertDocumentHelper.getInertBodyElement(e):(n.firstChild?.remove(),n)}catch{return null}}},Hl=class{constructor(e){this.defaultDoc=e,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(e){let n=this.inertDocument.createElement("template");return n.innerHTML=Ba(e),n}};function hS(){try{return!!new window.DOMParser().parseFromString(Ba(""),"text/html")}catch{return!1}}var pS=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Ha(t){return t=String(t),t.match(pS)?t:"unsafe:"+t}function Jt(t){let e={};for(let n of t.split(","))e[n]=!0;return e}function ao(...t){let e={};for(let n of t)for(let r in n)n.hasOwnProperty(r)&&(e[r]=!0);return e}var ry=Jt("area,br,col,hr,img,wbr"),iy=Jt("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),oy=Jt("rp,rt"),gS=ao(oy,iy),mS=ao(iy,Jt("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")),vS=ao(oy,Jt("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")),um=ao(ry,mS,vS,gS),sy=Jt("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),yS=Jt("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,c
7olspan,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"),IS=Jt("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"),DS=ao(sy,yS,IS),ES=Jt("script,style,template"),zl=class{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(e){let n=e.firstChild,r=!0,i=[];for(;n;){if(n.nodeType===Node.ELEMENT_NODE?r=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,r&&n.firstChild){i.push(n),n=CS(n);continue}for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let o=_S(n);if(o){n=o;break}n=i.pop()}}return this.buf.join("")}startElement(e){let n=lm(e).toLowerCase();if(!um.hasOwnProperty(n))return this.sanitizedSomething=!0,!ES.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);let r=e.attributes;for(let i=0;i<r.length;i++){let o=r.item(i),s=o.name,a=s.toLowerCase();if(!DS.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let c=o.value;sy[a]&&(c=Ha(c)),this.buf.push(" ",s,'="',dm(c),'"')}return this.buf.push(">"),!0}endElement(e){let n=lm(e).toLowerCase();um.hasOwnProperty(n)&&!ry.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(e){this.buf.push(dm(e))}};function wS(t,e){return(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function _S(t){let e=t.nextSibling;if(e&&t!==e.previousSibling)throw ay(e);return e}function CS(t){let e=t.firstChild;if(e&&wS(t,e))throw ay(e);return e}function lm(t){let e=t.nodeName;return typeof e=="string"?e:"FORM"}function ay(t){return new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`)}var bS=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,SS=/([^\#-~ |!])/g;function dm(t){return t.replace(/&/g,"&amp;").replace(bS,function(e){let n=e.charCodeAt(0),r=e.charCodeAt(1);return"&#"+((n-55296)*1024+(r-56320)+65536)+";"}).replace(SS,function(e){return"&#"+e.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}var zs;function Zd(t,e){let n=null;try{zs=zs||fS(t);let r=e?String(e):"";n=zs.getInertBodyElement(r);let i=5,o=r;do{if(i===0)throw new Error("Failed to sanitize html because the input is unstable");i--,r=o,o=n.innerHTML,n=zs.getInertBodyElement(r)}while(r!==o);let a=new zl().sanitizeChildren(fm(n)||n);return Ba(a)}finally{if(n){let r=fm(n)||n;for(;r.firstChild;)r.firstChild.remove()}}}function fm(t){return"content"in t&&TS(t)?t.content:null}function TS(t){return t.nodeType===Node.ELEMENT_NODE&&t.nodeName==="TEMPLATE"}var lt=function(t){return t[t.NONE=0]="NONE",t[t.HTML=1]="HTML",t[t.STYLE=2]="STYLE",t[t.SCRIPT=3]="SCRIPT",t[t.URL=4]="URL",t[t.RESOURCE_URL=5]="RESOURCE_URL",t}(lt||{});function lz(t){let e=Yd();return e?am(e.sanitize(lt.HTML,t)||""):Qt(t,"HTML")?am(Ke(t)):Zd(Yv(),sr(t))}function AS(t){let e=Yd();return e?e.sanitize(lt.URL,t)||"":Qt(t,"URL")?Ke(t):Ha(sr(t))}function MS(t){let e=Yd();if(e)return cm(e.sanitize(lt.RESOURCE_URL,t)||"");if(Qt(t,"ResourceURL"))return cm(Ke(t));throw new I(904,!1)}function NS(t,e){return e==="src"&&(t==="embed"||t==="frame"||t==="iframe"||t==="media"||t==="script")||e==="href"&&(t==="base"||t==="link")?MS:AS}function cy(t,e,n){return NS(e,n)(t)}function Yd(){let t=P();return t&&t[Ct].sanitizer}var RS=/^>|^->|<!--|-->|--!>|<!-$/g,xS=/(<|>)/g,OS="\u200B$1\u200B";function PS(t){return t.replace(RS,e=>e.replace(xS,OS))}function uy(t){return t instanceof Function?t():t}function ly(t){return(t??m(ve)).get(Tt)==="browser"}var Wt=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}(Wt||{}),kS;function Kd(t,e){return kS(t,e)}function Hr(t,e,n,r,i){if(r!=null){let o,s=!1;Zt(r)?o=r:Sn(r)&&(s=!0,r=r[qt]);let a=bt(r);t===0&&n!==null?i==null?gy(e,n,a):ha(e,n,a,i||null,!0):t===1&&n!==null?ha(e,n,a,i||null,!0):t===2?YS(e,a,s):t===3&&e.destroyNode(a),o!=null&&QS(e,t,o,n,i)}}function FS(t,e){return t.createText(e)}function LS(t,e,n){t.setValue(e,n)}function VS(t,e){return t.createComment(PS(e))}function dy(t,e,n){return t.createElement(e,n)}function jS(t,e){fy(t,e),e[qt]=null,e[Re]=null}function US(t,e,n,r,i,o){r[qt]=i,r[Re]=e,Ga(t,r,n,1,i,o)}function fy(t,e){e[Ct].changeDetectionScheduler?.notify(9),Ga(t,e,e[ie],2,null,null)}function $S(t){let e=t[to];if(!e)return sl(t[O],t);for(;e;){let n=null;if(Sn(e))n=e[to];else{let r=e[Ie];r&&(n=r)}if(!n){for(;e&&!e[st]&&e!==t;)Sn(e)&&sl(e[O],e),e=e[De];e===null&&(e=t),Sn(e)&&sl(e[O],e),n=e&&e[st]}e=n}}function BS(t,e,n,r){let i=Ie+r,o=n.length;r>0&&(n[i-1][st]=e),r<o-Ie?(e[st]=n[i],$m(n,Ie+r,e)):(n.push(e),e[st]=null),e[De]=n;let s=e[cr];
7s!==null&&n!==s&&hy(s,e);let a=e[Bt];a!==null&&a.insertView(t),Cl(e),e[x]|=128}function hy(t,e){let n=t[Jr],r=e[De];if(Sn(r))t[x]|=sa.HasTransplantedViews;else{let i=r[De][Ve];e[Ve]!==i&&(t[x]|=sa.HasTransplantedViews)}n===null?t[Jr]=[e]:n.push(e)}function Qd(t,e){let n=t[Jr],r=n.indexOf(e);n.splice(r,1)}function no(t,e){if(t.length<=Ie)return;let n=Ie+e,r=t[n];if(r){let i=r[cr];i!==null&&i!==t&&Qd(i,r),e>0&&(t[n-1][st]=r[st]);let o=na(t,Ie+e);jS(r[O],r);let s=o[Bt];s!==null&&s.detachView(o[O]),r[De]=null,r[st]=null,r[x]&=-129}return r}function za(t,e){if(!(e[x]&256)){let n=e[ie];n.destroyNode&&Ga(t,e,n,3,null,null),$S(e)}}function sl(t,e){if(e[x]&256)return;let n=B(null);try{e[x]&=-129,e[x]|=256,e[qe]&&Qu(e[qe]),zS(t,e),HS(t,e),e[O].type===1&&e[ie].destroy();let r=e[cr];if(r!==null&&Zt(e[De])){r!==e[De]&&Qd(r,e);let i=e[Bt];i!==null&&i.detachView(t)}kl(e)}finally{B(n)}}function HS(t,e){let n=t.cleanup,r=e[ia];if(n!==null)for(let o=0;o<n.length-1;o+=2)if(typeof n[o]=="string"){let s=n[o+3];s>=0?r[s]():r[-s].unsubscribe(),o+=2}else{let s=r[n[o+1]];n[o].call(s)}r!==null&&(e[ia]=null);let i=e[bn];if(i!==null){e[bn]=null;for(let o=0;o<i.length;o++){let s=i[o];s()}}}function zS(t,e){let n;if(t!=null&&(n=t.destroyHooks)!=null)for(let r=0;r<n.length;r+=2){let i=e[n[r]];if(!(i instanceof fr)){let o=n[r+1];if(Array.isArray(o))for(let s=0;s<o.length;s+=2){let a=i[o[s]],c=o[s+1];Et(4,a,c);try{c.call(a)}finally{Et(5,a,c)}}else{Et(4,i,o);try{o.call(i)}finally{Et(5,i,o)}}}}}function py(t,e,n){return WS(t,e.parent,n)}function WS(t,e,n){let r=e;for(;r!==null&&r.type&168;)e=r,r=e.parent;if(r===null)return n[qt];{let{componentOffset:i}=r;if(i>-1){let{encapsulation:o}=t.data[r.directiveStart+i];if(o===_t.None||o===_t.Emulated)return null}return Ye(r,n)}}function ha(t,e,n,r,i){t.insertBefore(e,n,r,i)}function gy(t,e,n){t.appendChild(e,n)}function hm(t,e,n,r,i){r!==null?ha(t,e,n,r,i):gy(t,e,n)}function my(t,e){return t.parentNode(e)}function GS(t,e){return t.nextSibling(e)}function vy(t,e,n){return ZS(t,e,n)}function qS(t,e,n){return t.type&40?Ye(t,n):null}var ZS=qS,pm;function Wa(t,e,n,r){let i=py(t,r,e),o=e[ie],s=r.parent||e[Re],a=vy(s,r,e);if(i!=null)if(Array.isArray(n))for(let c=0;c<n.length;c++)hm(o,i,n[c],a,!1);else hm(o,i,n,a,!1);pm!==void 0&&pm(o,r,e,n,i)}function Ki(t,e){if(e!==null){let n=e.type;if(n&3)return Ye(e,t);if(n&4)return Wl(-1,t[e.index]);if(n&8){let r=e.child;if(r!==null)return Ki(t,r);{let i=t[e.index];return Zt(i)?Wl(-1,i):bt(i)}}else{if(n&128)return Ki(t,e.next);if(n&32)return Kd(e,t)()||bt(t[e.index]);{let r=yy(t,e);if(r!==null){if(Array.isArray(r))return r[0];let i=lr(t[Ve]);return Ki(i,r)}else return Ki(t,e.next)}}}return null}function yy(t,e){if(e!==null){let r=t[Ve][Re],i=e.projection;return r.projection[i]}return null}function Wl(t,e){let n=Ie+t+1;if(n<e.length){let r=e[n],i=r[O].firstChild;if(i!==null)return Ki(r,i)}return e[ur]}function YS(t,e,n){t.removeChild(null,e,n)}function Jd(t,e,n,r,i,o,s){for(;n!=null;){if(n.type===128){n=n.next;continue}let a=r[n.index],c=n.type;if(s&&e===0&&(a&&Nn(bt(a),r),n.flags|=2),(n.flags&32)!==32)if(c&8)Jd(t,e,n.child,r,i,o,!1),Hr(e,t,i,a,o);else if(c&32){let u=Kd(n,r),l;for(;l=u();)Hr(e,t,i,l,o);Hr(e,t,i,a,o)}else c&16?Iy(t,e,r,n,i,o):Hr(e,t,i,a,o);n=s?n.projectionNext:n.next}}function Ga(t,e,n,r,i,o){Jd(n,r,t.firstChild,e,i,o,!1)}function KS(t,e,n){let r=e[ie],i=py(t,n,e),o=n.parent||e[Re],s=vy(o,n,e);Iy(r,0,e,n,i,s)}function Iy(t,e,n,r,i,o){let s=n[Ve],c=s[Re].projection[r.projection];if(Array.isArray(c))for(let u=0;u<c.length;u++){let l=c[u];Hr(e,t,i,l,o)}else{let u=c,l=s[De];Hv(r)&&(u.flags|=128),Jd(t,e,u,l,i,o,!0)}}function QS(t,e,n,r,i){let o=n[ur],s=bt(n);o!==s&&Hr(e,t,r,o,i);for(let a=Ie;a<n.length;a++){let c=n[a];Ga(c[O],c,t,e,r,o)}}function JS(t,e,n,r,i){if(e)i?t.addClass(n,r):t.removeClass(n,r);else{let o=r.indexOf("-")===-1?void 0:Wt.DashCase;i==null?t.removeStyle(n,r,o):(typeof i=="string"&&i.endsWith("!important")&&(i=i.slice(0,-10),o|=Wt.Important),t.setStyle(n,r,i,o))}}function XS(t,e,n){t.setAttribute(e,"style",n)}function Dy(t,e,n){n===""?t.removeAttribute(e,"class"):t.setAttribute(e,"class",n)}function Ey(t,e,n){let{mergedAttrs:r,classes:i,styles:o}=n;r!==null&&yl(t,e,r),i!==null&&Dy(t,e,i),o!==null&&XS(t,e,o)}var xe={};function dz(t=1){wy(oe(),P(),Yt()+t,!1)}function wy(t,e,n,r){if(!r)if((e[x]&3)===3){let o=t.preOrderCheckHooks;o!==null&&Ys(e,o,n)}else{let o=t.preOrderHooks;o!==null&&Ks(e,o,0,n)}dr(n)}function D(t,e=j.Default){let n=P();if(n===null)return N(t,e);let r=Ee();return Fv(r,n,be(t),e)}function _y(){let t="invalid";throw new Error(t)}function Cy(t,e,n,r,i,o){let s=B(null);try{let a=null;i&Tn.SignalBased&&(a=e[r][jt]),a!==null&&a.transformFn!==void 0&&(o=a.transformFn(o)),i&Tn.HasDecoratorInputTransform&&(o=t.
7inputTransforms[r].call(e,o)),t.setInput!==null?t.setInput(e,a,o,n,r):uv(e,a,r,o)}finally{B(s)}}function eT(t,e){let n=t.hostBindingOpCodes;if(n!==null)try{for(let r=0;r<n.length;r++){let i=n[r];if(i<0)dr(~i);else{let o=i,s=n[++r],a=n[++r];wb(s,o);let c=e[o];a(2,c)}}}finally{dr(-1)}}function qa(t,e,n,r,i,o,s,a,c,u,l){let d=e.blueprint.slice();return d[qt]=i,d[x]=r|4|128|8|64,(u!==null||t&&t[x]&2048)&&(d[x]|=2048),pv(d),d[De]=d[oi]=t,d[ye]=n,d[Ct]=s||t&&t[Ct],d[ie]=a||t&&t[ie],d[Qr]=c||t&&t[Qr]||null,d[Re]=o,d[xa]=rS(),d[Kr]=l,d[av]=u,d[Ve]=e.type==2?t[Ve]:d,d}function li(t,e,n,r,i){let o=t.data[e];if(o===null)o=tT(t,e,n,r,i),Eb()&&(o.flags|=32);else if(o.type&64){o.type=n,o.value=r,o.attrs=i;let s=vb();o.injectorIndex=s===null?-1:s.injectorIndex}return yr(o,!0),o}function tT(t,e,n,r,i){let o=Dv(),s=Od(),a=s?o:o&&o.parent,c=t.data[e]=aT(t,a,n,e,r,i);return t.firstChild===null&&(t.firstChild=c),o!==null&&(s?o.child==null&&c.parent!==null&&(o.child=c):o.next===null&&(o.next=c,c.prev=o)),c}function by(t,e,n,r){if(n===0)return-1;let i=e.length;for(let o=0;o<n;o++)e.push(r),t.blueprint.push(r),t.data.push(null);return i}function Sy(t,e,n,r,i){let o=Yt(),s=r&2;try{dr(-1),s&&e.length>le&&wy(t,e,le,!1),Et(s?2:0,i),n(r,i)}finally{dr(o),Et(s?3:1,i)}}function Xd(t,e,n){if(Nd(e)){let r=B(null);try{let i=e.directiveStart,o=e.directiveEnd;for(let s=i;s<o;s++){let a=t.data[s];if(a.contentQueries){let c=n[s];a.contentQueries(1,c,s)}}}finally{B(r)}}}function ef(t,e,n){yv()&&(hT(t,e,n,Ye(n,e)),(n.flags&64)===64&&My(t,e,n))}function tf(t,e,n=Ye){let r=e.localNames;if(r!==null){let i=e.index+1;for(let o=0;o<r.length;o+=2){let s=r[o+1],a=s===-1?n(e,t):t[s];t[i++]=a}}}function Ty(t){let e=t.tView;return e===null||e.incompleteFirstPass?t.tView=nf(1,null,t.template,t.decls,t.vars,t.directiveDefs,t.pipeDefs,t.viewQuery,t.schemas,t.consts,t.id):e}function nf(t,e,n,r,i,o,s,a,c,u,l){let d=le+r,h=d+i,f=nT(d,h),g=typeof u=="function"?u():u;return f[O]={type:t,blueprint:f,template:n,queries:null,viewQuery:a,declTNode:e,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:c,consts:g,incompleteFirstPass:!1,ssrId:l}}function nT(t,e){let n=[];for(let r=0;r<e;r++)n.push(r<t?null:xe);return n}function rT(t,e,n,r){let o=r.get(uS,Kv)||n===_t.ShadowDom,s=t.selectRootElement(e,o);return iT(s),s}function iT(t){oT(t)}var oT=()=>null;function sT(t,e,n,r){let i=xy(e);i.push(n),t.firstCreatePass&&Oy(t).push(r,i.length-1)}function aT(t,e,n,r,i,o){let s=e?e.injectorIndex:-1,a=0;return Iv()&&(a|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:i,attrs:o,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:e,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function gm(t,e,n,r,i){for(let o in e){if(!e.hasOwnProperty(o))continue;let s=e[o];if(s===void 0)continue;r??={};let a,c=Tn.None;Array.isArray(s)?(a=s[0],c=s[1]):a=s;let u=o;if(i!==null){if(!i.hasOwnProperty(o))continue;u=i[o]}t===0?mm(r,n,u,a,c):mm(r,n,u,a)}return r}function mm(t,e,n,r,i){let o;t.hasOwnProperty(n)?(o=t[n]).push(e,r):o=t[n]=[e,r],i!==void 0&&o.push(i)}function cT(t,e,n){let r=e.directiveStart,i=e.directiveEnd,o=t.data,s=e.attrs,a=[],c=null,u=null;for(let l=r;l<i;l++){let d=o[l],h=n?n.get(d):null,f=h?h.inputs:null,g=h?h.outputs:null;c=gm(0,d.inputs,l,c,f),u=gm(1,d.outputs,l,u,g);let y=c!==null&&s!==null&&!Ad(e)?CT(c,l,s):null;a.push(y)}c!==null&&(c.hasOwnProperty("class")&&(e.flags|=8),c.hasOwnProperty("style")&&(e.flags|=16)),e.initialInputs=a,e.inputs=c,e.outputs=u}function uT(t){return t==="class"?"className":t==="for"?"htmlFor":t==="formaction"?"formAction":t==="innerHtml"?"innerHTML":t==="readonly"?"readOnly":t==="tabindex"?"tabIndex":t}
7function rf(t,e,n,r,i,o,s,a){let c=Ye(e,n),u=e.inputs,l;!a&&u!=null&&(l=u[r])?(sf(t,n,l,r,i),Oa(e)&&lT(n,e.index)):e.type&3?(r=uT(r),i=s!=null?s(i,e.value||"",r):i,o.setProperty(c,r,i)):e.type&12}function lT(t,e){let n=kn(e,t);n[x]&16||(n[x]|=64)}function of(t,e,n,r){if(yv()){let i=r===null?null:{"":-1},o=gT(t,n),s,a;o===null?s=a=null:[s,a]=o,s!==null&&Ay(t,e,n,s,i,a),i&&mT(n,r,i)}n.mergedAttrs=Xi(n.mergedAttrs,n.attrs)}function Ay(t,e,n,r,i,o){for(let u=0;u<r.length;u++)Al(la(n,e),t,r[u].type);yT(n,t.data.length,r.length);for(let u=0;u<r.length;u++){let l=r[u];l.providersResolver&&l.providersResolver(l)}let s=!1,a=!1,c=by(t,e,r.length,null);for(let u=0;u<r.length;u++){let l=r[u];n.mergedAttrs=Xi(n.mergedAttrs,l.hostAttrs),IT(t,n,e,c,l),vT(c,l,i),l.contentQueries!==null&&(n.flags|=4),(l.hostBindings!==null||l.hostAttrs!==null||l.hostVars!==0)&&(n.flags|=64);let d=l.type.prototype;!s&&(d.ngOnChanges||d.ngOnInit||d.ngDoCheck)&&((t.preOrderHooks??=[]).push(n.index),s=!0),!a&&(d.ngOnChanges||d.ngDoCheck)&&((t.preOrderCheckHooks??=[]).push(n.index),a=!0),c++}cT(t,n,o)}function dT(t,e,n,r,i){let o=i.hostBindings;if(o){let s=t.hostBindingOpCodes;s===null&&(s=t.hostBindingOpCodes=[]);let a=~e.index;fT(s)!=a&&s.push(a),s.push(n,r,o)}}function fT(t){let e=t.length;for(;e>0;){let n=t[--e];if(typeof n=="number"&&n<0)return n}return 0}function hT(t,e,n,r){let i=n.directiveStart,o=n.directiveEnd;Oa(n)&&DT(e,n,t.data[i+n.componentOffset]),t.firstCreatePass||la(n,e),Nn(r,e);let s=n.initialInputs;for(let a=i;a<o;a++){let c=t.data[a],u=hr(e,t,a,n);if(Nn(u,e),s!==null&&_T(e,a-i,u,c,n,s),An(c)){let l=kn(n.index,e);l[ye]=hr(e,t,a,n)}}}function My(t,e,n){let r=n.directiveStart,i=n.directiveEnd,o=n.index,s=_b();try{dr(o);for(let a=r;a<i;a++){let c=t.data[a],u=e[a];bl(a),(c.hostBindings!==null||c.hostVars!==0||c.hostAttrs!==null)&&pT(c,u)}}finally{dr(-1),bl(s)}}function pT(t,e){t.hostBindings!==null&&t.hostBindings(1,e)}function gT(t,e){let n=t.directiveRegistry,r=null,i=null;if(n)for(let o=0;o<n.length;o++){let s=n[o];if(qm(e,s.selectors,!1))if(r||(r=[]),An(s))if(s.findHostDirectiveDefs!==null){let a=[];i=i||new Map,s.findHostDirectiveDefs(s,a,i),r.unshift(...a,s);let c=a.length;Gl(t,e,c)}else r.unshift(s),Gl(t,e,0);else i=i||new Map,s.findHostDirectiveDefs?.(s,r,i),r.push(s)}return r===null?null:[r,i]}function Gl(t,e,n){e.componentOffset=n,(t.components??=[]).push(e.index)}function mT(t,e,n){if(e){let r=t.localNames=[];for(let i=0;i<e.length;i+=2){let o=n[e[i+1]];if(o==null)throw new I(-301,!1);r.push(e[i],o)}}}function vT(t,e,n){if(n){if(e.exportAs)for(let r=0;r<e.exportAs.length;r++)n[e.exportAs[r]]=t;An(e)&&(n[""]=t)}}function yT(t,e,n){t.flags|=1,t.directiveStart=e,t.directiveEnd=e+n,t.providerIndexes=e}function IT(t,e,n,r,i){t.data[r]=i;let o=i.factory||(i.factory=ar(i.type,!0)),s=new fr(o,An(i),D);t.blueprint[r]=s,n[r]=s,dT(t,e,r,by(t,n,i.hostVars,xe),i)}function DT(t,e,n){let r=Ye(e,t),i=Ty(n),o=t[Ct].rendererFactory,s=16;n.signals?s=4096:n.onPush&&(s=64);let a=Za(t,qa(t,i,null,s,r,e,null,o.createRenderer(r,n),null,null,null));t[e.index]=a}function ET(t,e,n,r,i,o){let s=Ye(t,e);wT(e[ie],s,o,t.value,n,r,i)}function wT(t,e,n,r,i,o,s){if(o==null)t.removeAttribute(e,i,n);else{let a=s==null?sr(o):s(o,r||"",i);t.setAttribute(e,i,a,n)}}function _T(t,e,n,r,i,o){let s=o[e];if(s!==null)for(let a=0;a<s.length;){let c=s[a++],u=s[a++],l=s[a++],d=s[a++];Cy(r,n,c,u,l,d)}}function CT(t,e,n){let r=null,i=0;for(;i<n.length;){let o=n[i];if(o===0){i+=4;continue}else if(o===5){i+=2;continue}if(typeof o=="number")break;if(t.hasOwnProperty(o)){r===null&&(r=[]);let s=t[o];for(let a=0;a<s.length;a+=3)if(s[a]===e){r.push(o,s[a+1],s[a+2],n[i+1]);break}}i+=2}return r}function Ny(t,e,n,r){return[t,!0,0,e,null,r,null,n,null,null]}function Ry(t,e){let n=t.contentQueries;if(n!==null){let r=B(null);try{for(let i=0;i<n.length;i+=2){let o=n[i],s=n[i+1];if(s!==-1){let a=t.data[s];Fd(o),a.contentQueries(2,e[s],s)}}}finally{B(r)}}}function Za(t,e){return t[to]?t[Yg][st]=e:t[to]=e,t[Yg]=e,e}function ql(t,e,n){Fd(0);let r=B(null);try{e(t,n)}finally{B(r)}}function xy(t){return t[ia]??=[]}function Oy(t){return t.cleanup??=[]}function Py(t,e){let n=t[Qr],r=n?n.get(Ht,null):null;r&&r.handleError(e)}function sf(t,e,n,r,i){for(let o=0;o<n.length;){let s=n[o++],a=n[o++],c=n[o++],u=e[s],l=t.data[s];Cy(l,u,r,a,c,i)}}function ky(t,e,n){let r=hv(e,t);LS(t[ie],r,n)}function bT(t,e){let n=kn(e,t),r=n[O];ST(r,n);let i=n[qt];
vendor: 2,401 bytes, line 7
7i!==null&&n[Kr]===null&&(n[Kr]=qd(i,n[Qr])),af(r,n,n[ye])}function ST(t,e){for(let n=e.length;n<t.blueprint.length;n++)e.push(t.blueprint[n])}function af(t,e,n){Ld(e);try{let r=t.viewQuery;r!==null&&ql(1,r,n);let i=t.template;i!==null&&Sy(t,e,i,1,n),t.firstCreatePass&&(t.firstCreatePass=!1),e[Bt]?.finishViewCreation(t),t.staticContentQueries&&Ry(t,e),t.staticViewQueries&&ql(2,t.viewQuery,n);let o=t.components;o!==null&&TT(e,o)}catch(r){throw t.firstCreatePass&&(t.incompleteFirstPass=!0,t.firstCreatePass=!1),r}finally{e[x]&=-5,Vd()}}function TT(t,e){for(let n=0;n<e.length;n++)bT(t,e[n])}function co(t,e,n,r){let i=B(null);try{let o=e.tView,a=t[x]&4096?4096:16,c=qa(t,o,n,a,null,e,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null),u=t[e.index];c[cr]=u;let l=t[Bt];return l!==null&&(c[Bt]=l.createEmbeddedView(o)),af(o,c,n),c}finally{B(i)}}function Fy(t,e){let n=Ie+e;if(n<t.length)return t[n]}function Xr(t,e){return!e||e.firstChild===null||Hv(t)}function uo(t,e,n,r=!0){let i=e[O];if(BS(i,e,t,n),r){let s=Wl(n,t),a=e[ie],c=my(a,t[ur]);c!==null&&US(i,t[Re],a,e,c,s)}let o=e[Kr];o!==null&&o.firstChild!==null&&(o.firstChild=null)}function Ly(t,e){let n=no(t,e);return n!==void 0&&za(n[O],n),n}function pa(t,e,n,r,i=!1){for(;n!==null;){if(n.type===128){n=i?n.projectionNext:n.next;continue}let o=e[n.index];o!==null&&r.push(bt(o)),Zt(o)&&AT(o,r);let s=n.type;if(s&8)pa(t,e,n.child,r);else if(s&32){let a=Kd(n,e),c;for(;c=a();)r.push(c)}else if(s&16){let a=yy(e,n);if(Array.isArray(a))r.push(...a);else{let c=lr(e[Ve]);pa(c[O],c,a,r,!0)}}n=i?n.projectionNext:n.next}return r}function AT(t,e){for(let n=Ie;n<t.length;n++){let r=t[n],i=r[O].firstChild;i!==null&&pa(r[O],r,i,e)}t[ur]!==t[qt]&&e.push(t[ur])}var Vy=[];function MT(t){return t[qe]??NT(t)}function NT(t){let e=Vy.pop()??Object.create(xT);return e.lView=t,e}function RT(t){t.lView[qe]!==t&&(t.lView=null,Vy.push(t))}var xT=$(v({},Yi),{consumerIsAlwaysLive:!0,consumerMarkedDirty:t=>{La(t.lView)},consumerOnSignalRead(){this.lView[qe]=this}});function OT(t){let e=t[qe]??Object.create(PT);return e.lView=t,e}var PT=$(v({},Yi),{consumerIsAlwaysLive:!0,consumerMarkedDirty:t=>{let e=lr(t.lView);for(;e&&!jy(e[O]);)e=lr(e);e&&gv(e)},consumerOnSignalRead(){this.lView[qe]=this}});function jy(t){return t.type!==2}var kT=100;function Uy(t,e=!0,n=0){let r=t[Ct],i=r.rendererFactory,o=!1;o||i.begin?.();try{FT(t,n)}
7catch(s){throw e&&Py(t,s),s}finally{o||(i.end?.(),r.inlineEffectRunner?.flush())}}function FT(t,e){let n=Ev();try{Qg(!0),Zl(t,e);let r=0;for(;Fa(t);){if(r===kT)throw new I(103,!1);r++,Zl(t,1)}}finally{Qg(n)}}function LT(t,e,n,r){let i=e[x];if((i&256)===256)return;let o=!1,s=!1;!o&&e[Ct].inlineEffectRunner?.flush(),Ld(e);let a=!0,c=null,u=null;o||(jy(t)?(u=MT(e),c=Ls(u)):Tg()===null?(a=!1,u=OT(e),c=Ls(u)):e[qe]&&(Qu(e[qe]),e[qe]=null));try{pv(e),Db(t.bindingStartIndex),n!==null&&Sy(t,e,n,2,r);let l=(i&3)===3;if(!o)if(l){let f=t.preOrderCheckHooks;f!==null&&Ys(e,f,null)}else{let f=t.preOrderHooks;f!==null&&Ks(e,f,0,null),nl(e,0)}if(s||VT(e),$y(e,0),t.contentQueries!==null&&Ry(t,e),!o)if(l){let f=t.contentCheckHooks;f!==null&&Ys(e,f)}else{let f=t.contentHooks;f!==null&&Ks(e,f,1),nl(e,1)}eT(t,e);let d=t.components;d!==null&&Hy(e,d,0);let h=t.viewQuery;if(h!==null&&ql(2,h,r),!o)if(l){let f=t.viewCheckHooks;f!==null&&Ys(e,f)}else{let f=t.viewHooks;f!==null&&Ks(e,f,2),nl(e,2)}if(t.firstUpdatePass===!0&&(t.firstUpdatePass=!1),e[tl]){for(let f of e[tl])f();e[tl]=null}o||(e[x]&=-73)}catch(l){throw o||La(e),l}finally{u!==null&&(Yu(u,c),a&&RT(u)),Vd()}}function $y(t,e){for(let n=Wv(t);n!==null;n=Gv(n))for(let r=Ie;r<n.length;r++){let i=n[r];By(i,e)}}function VT(t){for(let e=Wv(t);e!==null;e=Gv(e)){if(!(e[x]&sa.HasTransplantedViews))continue;let n=e[Jr];for(let r=0;r<n.length;r++){let i=n[r];gv(i)}}}function jT(t,e,n){let r=kn(e,t);By(r,n)}function By(t,e){xd(t)&&Zl(t,e)}function Zl(t,e){let r=t[O],i=t[x],o=t[qe],s=!!(e===0&&i&16);if(s||=!!(i&64&&e===0),s||=!!(i&1024),s||=!!(o?.dirty&&Ku(o)),s||=!1,o&&(o.dirty=!1),t[x]&=-9217,s)LT(r,t,r.template,t[ye]);else if(i&8192){$y(t,1);let a=r.components;a!==null&&Hy(t,a,1)}}function Hy(t,e,n){for(let r=0;r<e.length;r++)jT(t,e[r],n)}function cf(t,e){let n=Ev()?64:1088;for(t[Ct].changeDetectionScheduler?.notify(e);t;){t[x]|=n;let r=lr(t);if(wl(t)&&!r)return t;t=r}return null}var pr=class{get rootNodes(){let e=this._lView,n=e[O];return pa(n,e,n.firstChild,[])}constructor(e,n,r=!0){this._lView=e,this._cdRefInjectingView=n,this.notifyErrorHandler=r,this._appRef=null,this._attachedToViewContainer=!1}get context(){return this._lView[ye]}set context(e){this._lView[ye]=e}get destroyed(){return(this._lView[x]&256)===256}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let e=this._lView[De];if(Zt(e)){let n=e[oa],r=n?n.indexOf(this):-1;r>-1&&(no(e,r),na(n,r))}this._attachedToViewContainer=!1}za(this._lView[O],this._lView)}onDestroy(e){mv(this._lView,e)}markForCheck(){cf(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[x]&=-129}reattach(){Cl(this._lView),this._lView[x]|=128}detectChanges(){this._lView[x]|=1024,Uy(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new I(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let e=wl(this._lView),n=this._lView[cr];n!==null&&!e&&Qd(n,this._lView),fy(this._lView[O],this._lView)}attachToAppRef(e){if(this._attachedToViewContainer)throw new I(902,!1);this._appRef=e;let n=wl(this._lView),r=this._lView[cr];r!==null&&!n&&hy(r,this._lView),Cl(this._lView)}},gr=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=BT;let t=e;return t})(),UT=gr,$T=class extends UT{constructor(e,n,r){super(),this._declarationLView=e,this._declarationTContainer=n,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(e,n){return this.createEmbeddedViewImpl(e,n)}createEmbeddedViewImpl(e,n,r){let i=co(this._declarationLView,this._declarationTContainer,e,{embeddedViewInjector:n,dehydratedView:r});return new pr(i)}};function BT(){return Ya(Ee(),P())}function Ya(t,e){return t.type&4?new $T(e,t,ui(t,e)):null}var hz=new RegExp(`^(\\d+)*(${aS}|${sS})*(.*)`);var HT=()=>null;function ei(t,e){return HT(t,e)}var ti=class{},uf=new w("",{providedIn:"root",factory:()=>!1});var zy=new w(""),Wy=new w(""),Yl=class{},ga=class{};function zT(t){let e=Error(`No component factory found for ${Se(t)}.`);return e[WT]=t,e}var WT="ngComponent";
7var Kl=class{resolveComponentFactory(e){throw zT(e)}},yf=class yf{};yf.NULL=new Kl;var ni=yf,ri=class{},Qe=(()=>{let e=class e{constructor(){this.destroyNode=null}};e.__NG_ELEMENT_ID__=()=>GT();let t=e;return t})();function GT(){let t=P(),e=Ee(),n=kn(e.index,t);return(Sn(n)?n:t)[ie]}var qT=(()=>{let e=class e{};e.\u0275prov=C({token:e,providedIn:"root",factory:()=>null});let t=e;return t})();function ma(t,e,n){let r=n?t.styles:null,i=n?t.classes:null,o=0;if(e!==null)for(let s=0;s<e.length;s++){let a=e[s];if(typeof a=="number")o=a;else if(o==1)i=pl(i,a);else if(o==2){let c=a,u=e[++s];r=pl(r,c+": "+u+";")}}n?t.styles=r:t.stylesWithoutHost=r,n?t.classes=i:t.classesWithoutHost=i}var va=class extends ni{constructor(e){super(),this.ngModule=e}resolveComponentFactory(e){let n=$t(e);return new mr(n,this.ngModule)}};function vm(t,e){let n=[];for(let r in t){if(!t.hasOwnProperty(r))continue;let i=t[r];if(i===void 0)continue;let o=Array.isArray(i),s=o?i[0]:i,a=o?i[1]:Tn.None;e?n.push({propName:s,templateName:r,isSignal:(a&Tn.SignalBased)!==0}):n.push({propName:s,templateName:r})}return n}function ZT(t){let e=t.toLowerCase();return e==="svg"?sb:e==="math"?ab:null}var mr=class extends ga{get inputs(){let e=this.componentDef,n=e.inputTransforms,r=vm(e.inputs,!0);if(n!==null)for(let i of r)n.hasOwnProperty(i.propName)&&(i.transform=n[i.propName]);return r}get outputs(){return vm(this.componentDef.outputs,!1)}constructor(e,n){super(),this.componentDef=e,this.ngModule=n,this.componentType=e.type,this.selector=UC(e.selectors),this.ngContentSelectors=e.ngContentSelectors?e.ngContentSelectors:[],this.isBoundToModule=!!n}create(e,n,r,i){let o=B(null);try{i=i||this.ngModule;let s=i instanceof Le?i:i?.injector;s&&this.componentDef.getStandaloneInjector!==null&&(s=this.componentDef.getStandaloneInjector(s)||s);let a=s?new Sl(e,s):e,c=a.get(ri,null);if(c===null)throw new I(407,!1);let u=a.get(qT,null),l=a.get(ti,null),d={rendererFactory:c,sanitizer:u,inlineEffectRunner:null,changeDetectionScheduler:l},h=c.createRenderer(null,this.componentDef),f=this.componentDef.selectors[0][0]||"div",g=r?rT(h,r,this.componentDef.encapsulation,a):dy(h,f,ZT(f)),y=512;this.componentDef.signals?y|=4096:this.componentDef.onPush||(y|=16);let E=null;g!==null&&(E=qd(g,a,!0));let b=nf(0,null,null,1,0,null,null,null,null,null,null),k=qa(null,b,null,y,null,null,d,h,a,null,E);Ld(k);let se,de,He=null;try{let he=this.componentDef,Lt,ji=null;he.findHostDirectiveDefs?(Lt=[],ji=new Map,he.findHostDirectiveDefs(he,Lt,ji),Lt.push(he)):Lt=[he];let Ui=YT(k,g);He=KT(Ui,g,he,Lt,k,d,h),de=Rd(b,le),g&&XT(h,he,g,r),n!==void 0&&e0(de,this.ngContentSelectors,n),se=JT(He,he,Lt,ji,k,[t0]),af(b,k,null)}catch(he){throw He!==null&&kl(He),kl(k),he}finally{Vd()}return new Ql(this.componentType,se,ui(de,k),k,de)}finally{B(o)}}},Ql=class extends Yl{constructor(e,n,r,i,o){super(),this.location=r,this._rootLView=i,this._tNode=o,this.previousInputValues=null,this.instance=n,this.hostView=this.changeDetectorRef=new pr(i,void 0,!1),this.componentType=e}setInput(e,n){let r=this._tNode.inputs,i;if(r!==null&&(i=r[e])){if(this.previousInputValues??=new Map,this.previousInputValues.has(e)&&Object.is(this.previousInputValues.get(e),n))return;let o=this._rootLView;sf(o[O],o,i,e,n),this.previousInputValues.set(e,n);let s=kn(this._tNode.index,o);cf(s,1)}}get injector(){return new or(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(e){this.hostView.onDestroy(e)}};function YT(t,e){let n=t[O],r=le;return t[r]=e,li(n,r,2,"#host",null)}function KT(t,e,n,r,i,o,s){let a=i[O];QT(r,t,e,s);let c=null;e!==null&&(c=qd(e,i[Qr]));let u=o.rendererFactory.createRenderer(e,n),l=16;n.signals?l=4096:n.onPush&&(l=64);let d=qa(i,Ty(n),null,l,i[t.index],t,o,u,null,null,c);return a.firstCreatePass&&Gl(a,t,r.length-1),Za(i,d),i[t.index]=d}function QT(t,e,n,r){for(let i of t)e.mergedAttrs=Xi(e.mergedAttrs,i.hostAttrs);e.mergedAttrs!==null&&(ma(e,e.mergedAttrs,!0),n!==null&&Ey(r,n,e))}function JT(t,e,n,r,i,o){let s=Ee(),a=i[O],c=Ye(s,i);Ay(a,i,s,n,null,r);for(let l=0;l<n.length;l++){let d=s.directiveStart+l,h=hr(i,a,d,s);Nn(h,i)}My(a,i,s),c&&Nn(c,i);
7let u=hr(i,a,s.directiveStart+s.componentOffset,s);if(t[ye]=i[ye]=u,o!==null)for(let l of o)l(u,e);return Xd(a,s,i),u}function XT(t,e,n,r){if(r)yl(t,n,["ng-version","18.2.4"]);else{let{attrs:i,classes:o}=$C(e.selectors[0]);i&&yl(t,n,i),o&&o.length>0&&Dy(t,n,o.join(" "))}}function e0(t,e,n){let r=t.projection=[];for(let i=0;i<e.length;i++){let o=n[i];r.push(o!=null?Array.from(o):null)}}function t0(){let t=Ee();$a(P()[O],t)}var Xt=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=n0;let t=e;return t})();function n0(){let t=Ee();return qy(t,P())}var r0=Xt,Gy=class extends r0{constructor(e,n,r){super(),this._lContainer=e,this._hostTNode=n,this._hostLView=r}get element(){return ui(this._hostTNode,this._hostLView)}get injector(){return new or(this._hostTNode,this._hostLView)}get parentInjector(){let e=jd(this._hostTNode,this._hostLView);if(Nv(e)){let n=ca(e,this._hostLView),r=aa(e),i=n[O].data[r+8];return new or(i,n)}else return new or(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(e){let n=ym(this._lContainer);return n!==null&&n[e]||null}get length(){return this._lContainer.length-Ie}createEmbeddedView(e,n,r){let i,o;typeof r=="number"?i=r:r!=null&&(i=r.index,o=r.injector);let s=ei(this._lContainer,e.ssrId),a=e.createEmbeddedViewImpl(n||{},o,s);return this.insertImpl(a,i,Xr(this._hostTNode,s)),a}createComponent(e,n,r,i,o){let s=e&&!nb(e),a;if(s)a=n;else{let g=n||{};a=g.index,r=g.injector,i=g.projectableNodes,o=g.environmentInjector||g.ngModuleRef}let c=s?e:new mr($t(e)),u=r||this.parentInjector;if(!o&&c.ngModule==null){let y=(s?u:this.parentInjector).get(Le,null);y&&(o=y)}let l=$t(c.componentType??{}),d=ei(this._lContainer,l?.id??null),h=d?.firstChild??null,f=c.create(u,i,h,o);return this.insertImpl(f.hostView,a,Xr(this._hostTNode,d)),f}insert(e,n){return this.insertImpl(e,n,!0)}insertImpl(e,n,r){let i=e._lView;if(ub(i)){let a=this.indexOf(e);if(a!==-1)this.detach(a);else{let c=i[De],u=new Gy(c,c[Re],c[De]);u.detach(u.indexOf(e))}}let o=this._adjustIndex(n),s=this._lContainer;return uo(s,i,o,r),e.attachToViewContainerRef(),$m(al(s),o,e),e}move(e,n){return this.insert(e,n)}indexOf(e){let n=ym(this._lContainer);return n!==null?n.indexOf(e):-1}remove(e){let n=this._adjustIndex(e,-1),r=no(this._lContainer,n);r&&(na(al(this._lContainer),n),za(r[O],r))}detach(e){let n=this._adjustIndex(e,-1),r=no(this._lContainer,n);return r&&na(al(this._lContainer),n)!=null?new pr(r):null}_adjustIndex(e,n=0){return e??this.length+n}};function ym(t){return t[oa]}function al(t){return t[oa]||(t[oa]=[])}function qy(t,e){let n,r=e[t.index];return Zt(r)?n=r:(n=Ny(r,e,null,t),e[t.index]=n,Za(e,n)),o0(n,e,t,r),new Gy(n,t,e)}function i0(t,e){let n=t[ie],r=n.createComment(""),i=Ye(e,t),o=my(n,i);return ha(n,o,r,GS(n,i),!1),r}var o0=c0,s0=()=>!1;function a0(t,e,n){return s0(t,e,n)}function c0(t,e,n,r){if(t[ur])return;let i;n.type&8?i=bt(r):i=i0(e,n),t[ur]=i}var Jl=class t{constructor(e){this.queryList=e,this.matches=null}clone(){return new t(this.queryList)}setDirty(){this.queryList.setDirty()}},Xl=class t{constructor(e=[]){this.queries=e}createEmbeddedView(e){let n=e.queries;if(n!==null){let r=e.contentQueries!==null?e.contentQueries[0]:n.length,i=[];for(let o=0;o<r;o++){let s=n.getByIndex(o),a=this.queries[s.indexInDeclarationView];i.push(a.clone())}return new t(i)}return null}insertView(e){this.dirtyQueriesWithMatches(e)}detachView(e){this.dirtyQueriesWithMatches(e)}finishViewCreation(e){this.dirtyQueriesWithMatches(e)}dirtyQueriesWithMatches(e){for(let n=0;n<this.queries.length;n++)lf(e,n).matches!==null&&this.queries[n].setDirty()}},ya=class{constructor(e,n,r=null){this.flags=n,this.read=r,typeof e=="string"?this.predicate=m0(e):this.predicate=e}},ed=class t{constructor(e=[]){this.queries=e}elementStart(e,n){for(let r=0;r<this.queries.length;r++)this.queries[r].elementStart(e,n)}elementEnd(e){for(let n=0;n<this.queries.length;n++)this.queries[n].elementEnd(e)}embeddedTView(e){let n=null;for(let r=0;r<this.length;r++){let i=n!==null?n.length:0,o=this.getByIndex(r).embeddedTView(e,i);o&&(o.indexInDeclarationView=r,n!==null?n.push(o):n=[o])}return n!==null?new t(n):null}template(e,n){for(let r=0;r<this.queries.length;r++)this.queries[r].template(e,n)}getByIndex(e){return this.queries[e]}get length(){return this.queries.length}track(e){this.queries.push(e)}},td=class t{constructor(e,n=-1){this.metadata=e,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=n}elementStart(e,n){this.isApplyingToNode(n)&&this.matchTNode(e,n)}elementEnd(e){this._declarationNodeIndex===e.index&&(this._appliesToNextNode=!1)}template(e,n){this.elementStart(e,n)}embeddedTView(e,n){return this.isApplyingToNode(e)?(this.crossesNgTemplate=!0,this.addMatch(-e.index,n),new t(this.metadata)):null}isApplyingToNode(e){if(this._appliesToNextNode&&(this.metadata.flags&1)!==1){let n=this._declarationNodeIndex,r=e.parent;for(;r!==null&&r.type&8&&r.index!==n;)r=r.parent;return n===(r!==null?r.index:-1)}return this._appliesToNextNode}
vendor: 4,960 bytes, line 7
7matchTNode(e,n){let r=this.metadata.predicate;if(Array.isArray(r))for(let i=0;i<r.length;i++){let o=r[i];this.matchTNodeWithReadOption(e,n,u0(n,o)),this.matchTNodeWithReadOption(e,n,Qs(n,e,o,!1,!1))}else r===gr?n.type&4&&this.matchTNodeWithReadOption(e,n,-1):this.matchTNodeWithReadOption(e,n,Qs(n,e,r,!1,!1))}matchTNodeWithReadOption(e,n,r){if(r!==null){let i=this.metadata.read;if(i!==null)if(i===we||i===Xt||i===gr&&n.type&4)this.addMatch(n.index,-2);else{let o=Qs(n,e,i,!1,!1);o!==null&&this.addMatch(n.index,o)}else this.addMatch(n.index,r)}}addMatch(e,n){this.matches===null?this.matches=[e,n]:this.matches.push(e,n)}};function u0(t,e){let n=t.localNames;if(n!==null){for(let r=0;r<n.length;r+=2)if(n[r]===e)return n[r+1]}return null}function l0(t,e){return t.type&11?ui(t,e):t.type&4?Ya(t,e):null}function d0(t,e,n,r){return n===-1?l0(e,t):n===-2?f0(t,e,r):hr(t,t[O],n,e)}function f0(t,e,n){if(n===we)return ui(e,t);if(n===gr)return Ya(e,t);if(n===Xt)return qy(e,t)}function Zy(t,e,n,r){let i=e[Bt].queries[r];if(i.matches===null){let o=t.data,s=n.matches,a=[];for(let c=0;s!==null&&c<s.length;c+=2){let u=s[c];if(u<0)a.push(null);else{let l=o[u];a.push(d0(e,l,s[c+1],n.metadata.read))}}i.matches=a}return i.matches}function nd(t,e,n,r){let i=t.queries.getByIndex(n),o=i.matches;if(o!==null){let s=Zy(t,e,i,n);for(let a=0;a<o.length;a+=2){let c=o[a];if(c>0)r.push(s[a/2]);else{let u=o[a+1],l=e[-c];for(let d=Ie;d<l.length;d++){let h=l[d];h[cr]===h[De]&&nd(h[O],h,u,r)}if(l[Jr]!==null){let d=l[Jr];for(let h=0;h<d.length;h++){let f=d[h];nd(f[O],f,u,r)}}}}}return r}function h0(t,e){return t[Bt].queries[e].queryList}function Yy(t,e,n){let r=new Pl((n&4)===4);return sT(t,e,r,r.destroy),(e[Bt]??=new Xl).queries.push(new Jl(r))-1}function p0(t,e,n){let r=oe();return r.firstCreatePass&&(Ky(r,new ya(t,e,n),-1),(e&2)===2&&(r.staticViewQueries=!0)),Yy(r,P(),e)}function g0(t,e,n,r){let i=oe();if(i.firstCreatePass){let o=Ee();Ky(i,new ya(e,n,r),o.index),v0(i,t),(n&2)===2&&(i.staticContentQueries=!0)}return Yy(i,P(),n)}function m0(t){return t.split(",").map(e=>e.trim())}function Ky(t,e,n){t.queries===null&&(t.queries=new ed),t.queries.track(new td(e,n))}function v0(t,e){let n=t.contentQueries||(t.contentQueries=[]),r=n.length?n[n.length-1]:-1;e!==r&&n.push(t.queries.length-1,e)}function lf(t,e){return t.queries.getByIndex(e)}function y0(t,e){let n=t[O],r=lf(n,e);return r.crossesNgTemplate?nd(n,t,e,[]):Zy(n,t,r,e)}var Im=new Set;function en(t){Im.has(t)||(Im.add(t),performance?.mark?.("mark_feature_usage",{detail:{feature:t}}))}function lo(t,e){en("NgSignals");let n=Vg(t),r=n[jt];return e?.equal&&(r.equal=e.equal),n.set=i=>Us(r,i),n.update=i=>jg(r,i),n.asReadonly=I0.bind(n),n}function I0(){let t=this[jt];if(t.readonlyFn===void 0){let e=()=>this();e[jt]=t,t.readonlyFn=e}return t.readonlyFn}function D0(t){return Object.getPrototypeOf(t.prototype).constructor}function Oe(t){let e=D0(t.type),n=!0,r=[t];for(;e;){let i;if(An(t))i=e.\u0275cmp||e.\u0275dir;else{if(e.\u0275cmp)throw new I(903,!1);i=e.\u0275dir}if(i){if(n){r.push(i);let s=t;s.inputs=Ws(t.inputs),s.inputTransforms=Ws(t.inputTransforms),s.declaredInputs=Ws(t.declaredInputs),s.outputs=Ws(t.outputs);let a=i.hostBindings;a&&b0(t,a);let c=i.viewQuery,u=i.contentQueries;if(c&&_0(t,c),u&&C0(t,u),E0(t,i),oC(t.outputs,i.outputs),An(i)&&i.data.animation){let l=t.data;l.animation=(l.animation||[]).concat(i.data.animation)}}let o=i.features;if(o)for(let s=0;s<o.length;s++){let a=o[s];a&&a.ngInherit&&a(t),a===Oe&&(n=!1)}}e=Object.getPrototypeOf(e)}w0(r)}function E0(t,e){for(let n in e.inputs){if(!e.inputs.hasOwnProperty(n)||t.inputs.hasOwnProperty(n))continue;let r=e.inputs[n];if(r!==void 0&&(t.inputs[n]=r,t.declaredInputs[n]=e.declaredInputs[n],e.inputTransforms!==null)){let i=Array.isArray(r)?r[0]:r;if(!e.inputTransforms.hasOwnProperty(i))continue;t.inputTransforms??={},t.inputTransforms[i]=e.inputTransforms[i]}}}function w0(t){let e=0,n=null;for(let r=t.length-1;r>=0;r--){let i=t[r];i.hostVars=e+=i.hostVars,i.hostAttrs=Xi(i.hostAttrs,n=Xi(n,i.hostAttrs))}}function Ws(t){return t===qr?{}:t===Ne?[]:t}function _0(t,e){let n=t.viewQuery;n?t.viewQuery=(r,i)=>{e(r,i),n(r,i)}:t.viewQuery=e}function C0(t,e){let n=t.contentQueries;n?t.contentQueries=(r,i,o)=>{e(r,i,o),n(r,i,o)}:t.contentQueries=e}function b0(t,e){let n=t.hostBindings;n?t.hostBindings=(r,i)=>{e(r,i),n(r,i)}:t.hostBindings=e}function df(t){let e=t.inputConfig,n={};for(let r in e)if(e.hasOwnProperty(r)){let i=e[r];Array.isArray(i)&&i[3]&&(n[r]=i[3])}t.inputTransforms=n}var Rn=class{},ro=class{};var rd=class extends Rn{constructor(e,n,r,i=!0){super(),this.ngModuleType=e,this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new va(this);let o=Jm(e);this._bootstrapComponents=uy(o.bootstrap),this._r3Injector=jv(e,n,[{provide:Rn,useValue:this},{provide:ni,useValue:this.componentFactoryResolver},...r],Se(e),new Set(["environment"])),i&&this.resolveInjectorInitializer
7s()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){let e=this._r3Injector;!e.destroyed&&e.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(e){this.destroyCbs.push(e)}},id=class extends ro{constructor(e){super(),this.moduleType=e}create(e){return new rd(this.moduleType,e,[])}};var Ia=class extends Rn{constructor(e){super(),this.componentFactoryResolver=new va(this),this.instance=null;let n=new eo([...e.providers,{provide:Rn,useValue:this},{provide:ni,useValue:this.componentFactoryResolver}],e.parent||Ra(),e.debugName,new Set(["environment"]));this.injector=n,e.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(e){this.injector.onDestroy(e)}};function Ka(t,e,n=null){return new Ia({providers:t,parent:e,debugName:n,runEnvironmentInitializers:!0}).injector}function Qy(t){return T0(t)?Array.isArray(t)||!(t instanceof Map)&&Symbol.iterator in t:!1}function S0(t,e){if(Array.isArray(t))for(let n=0;n<t.length;n++)e(t[n]);else{let n=t[Symbol.iterator](),r;for(;!(r=n.next()).done;)e(r.value)}}function T0(t){return t!==null&&(typeof t=="function"||typeof t=="object")}function Qa(t,e,n){return t[e]=n}function A0(t,e){return t[e]}function at(t,e,n){let r=t[e];return Object.is(r,n)?!1:(t[e]=n,!0)}function Da(t,e,n,r){let i=at(t,e,n);return at(t,e+1,r)||i}function M0(t,e,n,r,i,o){let s=Da(t,e,n,r);return Da(t,e+2,i,o)||s}function N0(t){return(t.flags&32)===32}function R0(t,e,n,r,i,o,s,a,c){let u=e.consts,l=li(e,t,4,s||null,a||null);of(e,n,l,Mn(u,c)),$a(e,l);let d=l.tView=nf(2,l,r,i,o,e.directiveRegistry,e.pipeRegistry,null,e.schemas,u,null);return e.queries!==null&&(e.queries.template(e,l),d.queries=e.queries.embeddedTView(l)),l}function Ea(t,e,n,r,i,o,s,a,c,u){let l=n+le,d=e.firstCreatePass?R0(l,e,t,r,i,o,s,a,c):e.data[l];yr(d,!1);let h=O0(e,t,d,n);ja()&&Wa(e,t,h,d),Nn(h,t);let f=Ny(h,t,h,d);return t[l]=f,Za(t,f),a0(f,d,t),Pa(d)&&ef(e,t,d),c!=null&&tf(t,d,u),d}function x0(t,e,n,r,i,o,s,a){let c=P(),u=oe(),l=Mn(u.consts,o);return Ea(c,u,t,e,n,r,i,l,s,a),x0}var O0=P0;function P0(t,e,n,r){return Ua(!0),e[ie].createComment("")}var zr=function(t){return t[t.EarlyRead=0]="EarlyRead",t[t.Write=1]="Write",t[t.MixedReadWrite=2]="MixedReadWrite",t[t.Read=3]="Read",t}(zr||{}),Jy=(()=>{let e=class e{constructor(){this.impl=null}execute(){this.impl?.execute()}};e.\u0275prov=C({token:e,providedIn:"root",factory:()=>new e});let t=e;return t})(),ir=class ir{constructor(){this.ngZone=m(G),this.scheduler=m(ti),this.errorHandler=m(Ht,{optional:!0}),this.sequences=new Set,this.deferredRegistrations=new Set,this.executing=!1}execute(){this.executing=!0;for(let e of ir.PHASES)for(let n of this.sequences)if(!(n.erroredOrDestroyed||!n.hooks[e]))try{n.pipelinedValue=this.ngZone.runOutsideAngular(()=>n.hooks[e](n.pipelinedValue))}catch(r){n.erroredOrDestroyed=!0,this.errorHandler?.handleError(r)}this.executing=!1;for(let e of this.sequences)e.afterRun(),e.once&&this.sequences.delete(e);for(let e of this.deferredRegistrations)this.sequences.add(e);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear()}register(e){this.executing?this.deferredRegistrations.add(e):(this.sequences.add(e),this.scheduler.notify(6))}unregister(e){this.executing&&this.sequences.has(e)?(e.erroredOrDestroyed=!0,e.pipelinedValue=void 0,e.once=!0):(this.sequences.delete(e),this.deferredRegistrations.delete(e))}};ir.PHASES=[zr.EarlyRead,zr.Write,zr.MixedReadWrite,zr.Read],ir.\u0275prov=C({token:ir,providedIn:"root",factory:()=>new ir});var od=ir,sd=class{constructor(e,n,r,i){this.impl=e,this.hooks=n,this.once=r,this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.unregisterOnDestroy=i.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0}destroy(){this.impl.unregister(this),this.unregisterOnDestroy()}};function k0(t,e){!e?.injector&&sv(k0);let n=e?.injector??m(ve);return ly(n)?(en("NgAfterRender"),Xy(t,n,e,!1)):eI}function ff(t,e){!e?.injector&&sv(ff);let n=e?.injector??m(ve);return ly(n)?(en("NgAfterNextRender"),Xy(t,n,e,!0)):eI}function F0(t,e){if(t instanceof Function){let n=[void 0,void 0,void 0,void 0];return n[e]=t,n}else return[t.earlyRead,t.write,t.mixedReadWrite,t.read]}function Xy(t,e,n,r){let i=e.get(Jy);i.impl??=e.get(od);let o=n?.phase??zr.MixedReadWrite,s=new sd(i.impl,F0(t,o),r,e.get($d));return i.impl.register(s),s}var eI={destroy(){}};function Ja(t,e,n,r){let i=P(),o=ai();if(at(i,o,e)){let s=oe(),a=Va();ET(a,i,t,e,n,r)}return Ja}function tI(t,e,n,r){return at(t,ai(),n)?e+sr(n)+r:xe}function L0(t,e,n,r,i,o){let s=Ib(),a=Da(t,s,n,i);return kd(2),a?e+sr(n)+r+sr(i)+o:xe}function Gs(t,e){return t<<17|e<<2}function vr(t){return t>>17&32767}function V0(t){return(t&2)==2}function j0(t,e){return t&131071|e<<17}function ad(t){return t|2}function ii(t){return(t&131068)>>2}function cl(t,e){return t&-131069|e<<2}function U0(t){return(t&1)===1}function cd(t){return t|1}function $0(t,e,n,r,i,o){let s=o?e.classBindings:e.styleBindings,a=vr(s),c=ii(s);t[r]=n;let u=!1,l;if(Array.isArray(n)){let d=n;
vendor: 8,709 bytes, line 7
7l=d[1],(l===null||so(d,l)>0)&&(u=!0)}else l=n;if(i)if(c!==0){let h=vr(t[a+1]);t[r+1]=Gs(h,a),h!==0&&(t[h+1]=cl(t[h+1],r)),t[a+1]=j0(t[a+1],r)}else t[r+1]=Gs(a,0),a!==0&&(t[a+1]=cl(t[a+1],r)),a=r;else t[r+1]=Gs(c,0),a===0?a=r:t[c+1]=cl(t[c+1],r),c=r;u&&(t[r+1]=ad(t[r+1])),Dm(t,l,r,!0),Dm(t,l,r,!1),B0(e,l,t,r,o),s=Gs(a,c),o?e.classBindings=s:e.styleBindings=s}function B0(t,e,n,r,i){let o=i?t.residualClasses:t.residualStyles;o!=null&&typeof e=="string"&&so(o,e)>=0&&(n[r+1]=cd(n[r+1]))}function Dm(t,e,n,r){let i=t[n+1],o=e===null,s=r?vr(i):ii(i),a=!1;for(;s!==0&&(a===!1||o);){let c=t[s],u=t[s+1];H0(c,e)&&(a=!0,t[s+1]=r?cd(u):ad(u)),s=r?vr(u):ii(u)}a&&(t[n+1]=r?ad(i):cd(i))}function H0(t,e){return t===null||e==null||(Array.isArray(t)?t[1]:t)===e?!0:Array.isArray(t)&&typeof e=="string"?so(t,e)>=0:!1}var ot={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function z0(t){return t.substring(ot.key,ot.keyEnd)}function W0(t){return G0(t),nI(t,rI(t,0,ot.textEnd))}function nI(t,e){let n=ot.textEnd;return n===e?-1:(e=ot.keyEnd=q0(t,ot.key=e,n),rI(t,e,n))}function G0(t){ot.key=0,ot.keyEnd=0,ot.value=0,ot.valueEnd=0,ot.textEnd=t.length}function rI(t,e,n){for(;e<n&&t.charCodeAt(e)<=32;)e++;return e}function q0(t,e,n){for(;e<n&&t.charCodeAt(e)>32;)e++;return e}function Z0(t,e,n){let r=P(),i=ai();if(at(r,i,e)){let o=oe(),s=Va();rf(o,s,r,t,e,r[ie],n,!1)}return Z0}function ud(t,e,n,r,i){let o=e.inputs,s=i?"class":"style";sf(t,n,o[s],s,r)}function iI(t,e,n){return oI(t,e,n,!1),iI}function Xa(t,e){return oI(t,e,null,!0),Xa}function gz(t){K0(nA,Y0,t,!0)}function Y0(t,e){for(let n=W0(e);n>=0;n=nI(e,n))Td(t,z0(e),!0)}function oI(t,e,n,r){let i=P(),o=oe(),s=kd(2);if(o.firstUpdatePass&&aI(o,t,s,r),e!==xe&&at(i,s,e)){let a=o.data[Yt()];cI(o,a,i,i[ie],t,i[s+1]=iA(e,n),r,s)}}function K0(t,e,n,r){let i=oe(),o=kd(2);i.firstUpdatePass&&aI(i,null,o,r);let s=P();if(n!==xe&&at(s,o,n)){let a=i.data[Yt()];if(uI(a,r)&&!sI(i,o)){let c=r?a.classesWithoutHost:a.stylesWithoutHost;c!==null&&(n=pl(c,n||"")),ud(i,a,s,n,r)}else rA(i,a,s,s[ie],s[o+1],s[o+1]=tA(t,e,n),r,o)}}function sI(t,e){return e>=t.expandoStartIndex}function aI(t,e,n,r){let i=t.data;if(i[n+1]===null){let o=i[Yt()],s=sI(t,n);uI(o,r)&&e===null&&!s&&(e=!1),e=Q0(i,o,e,r),$0(i,o,e,n,s,r)}}function Q0(t,e,n,r){let i=Cb(t),o=r?e.residualClasses:e.residualStyles;if(i===null)(r?e.classBindings:e.styleBindings)===0&&(n=ul(null,t,e,n,r),n=io(n,e.attrs,r),o=null);else{let s=e.directiveStylingLast;if(s===-1||t[s]!==i)if(n=ul(i,t,e,n,r),o===null){let c=J0(t,e,r);c!==void 0&&Array.isArray(c)&&(c=ul(null,t,e,c[1],r),c=io(c,e.attrs,r),X0(t,e,r,c))}else o=eA(t,e,r)}return o!==void 0&&(r?e.residualClasses=o:e.residualStyles=o),n}function J0(t,e,n){let r=n?e.classBindings:e.styleBindings;if(ii(r)!==0)return t[vr(r)]}function X0(t,e,n,r){let i=n?e.classBindings:e.styleBindings;t[vr(i)]=r}function eA(t,e,n){let r,i=e.directiveEnd;for(let o=1+e.directiveStylingLast;o<i;o++){let s=t[o].hostAttrs;r=io(r,s,n)}return io(r,e.attrs,n)}function ul(t,e,n,r,i){let o=null,s=n.directiveEnd,a=n.directiveStylingLast;for(a===-1?a=n.directiveStart:a++;a<s&&(o=e[a],r=io(r,o.hostAttrs,i),o!==t);)a++;return t!==null&&(n.directiveStylingLast=a),r}function io(t,e,n){let r=n?1:2,i=-1;if(e!==null)for(let o=0;o<e.length;o++){let s=e[o];typeof s=="number"?i=s:i===r&&(Array.isArray(t)||(t=t===void 0?[]:["",t]),Td(t,s,n?!0:e[++o]))}return t===void 0?null:t}function tA(t,e,n){if(n==null||n==="")return Ne;let r=[],i=Ke(n);if(Array.isArray(i))for(let o=0;o<i.length;o++)t(r,i[o],!0);else if(typeof i=="object")for(let o in i)i.hasOwnProperty(o)&&t(r,o,i[o]);else typeof i=="string"&&e(r,i);return r}function nA(t,e,n){let r=String(e);r!==""&&!r.includes(" ")&&Td(t,r,n)}function rA(t,e,n,r,i,o,s,a){i===xe&&(i=Ne);let c=0,u=0,l=0<i.length?i[0]:null,d=0<o.length?o[0]:null;for(;l!==null||d!==null;){let h=c<i.length?i[c+1]:void 0,f=u<o.length?o[u+1]:void 0,g=null,y;l===d?(c+=2,u+=2,h!==f&&(g=d,y=f)):d===null||l!==null&&l<d?(c+=2,g=l):(u+=2,g=d,y=f),g!==null&&cI(t,e,n,r,g,y,s,a),l=c<i.length?i[c]:null,d=u<o.length?o[u]:null}}function cI(t,e,n,r,i,o,s,a){if(!(e.type&3))return;let c=t.data,u=c[a+1],l=U0(u)?Em(c,e,n,i,ii(u),s):void 0;if(!wa(l)){wa(o)||V0(u)&&(o=Em(c,null,n,i,a,s));let d=hv(Yt(),n);JS(r,s,d,i,o)}}function Em(t,e,n,r,i,o){let s=e===null,a;for(;i>0;){let c=t[i],u=Array.isArray(c),l=u?c[1]:c,d=l===null,h=n[i+1];h===xe&&(h=d?Ne:void 0);let f=d?Xu(h,r):l===r?h:void 0;if(u&&!wa(f)&&(f=Xu(c,r)),wa(f)&&(a=f,s))return a;let g=t[i+1];i=s?vr(g):ii(g)}if(e!==null){let c=o?e.residualClasses:e.residualStyles;c!=null&&(a=Xu(c,r))}return a}function wa(t){return t!==void 0}function iA(t,e){return t==null||t===""||(typeof e=="string"?t=t+e:typeof t=="object"&&(t=Se(Ke(t)))),t}function uI(t,e){return(t.flags&(e?8:16))!==0}var ld=class{destroy(e){}updateValue(e,n){}swap(e,n){let r=Math.min(e,n),i=Math.max(e,n),o=this.detach(i);if(i-r>1){let s=this.detach(r);this.attach(r,o),this.attach(i,s)}else this.attach(r,o)}move(e,n){this.attach(n,this.detach(e))}};function ll(t,e,n,r,i){return t===n&&Object.is(e,r)?1:Object.is(i(t,e),i(n,r))?-1:0}function oA(t,e,n){let r,i,o=0,s=t.length-1,a=void 0;if(Array.isArray(e)){let c=e.length-1;for(;o<=s&&o<=c;){let u=t.at(o),l=e[o],d=ll(o,u,o,l,n);if(d!==0){d<0&&t.updateValue(o,l),o++;continue}let h=t.at(s),f=e[c],g=ll(s,h,c,f,n);if(g!==0){g<0&&t.updateValue(s,f),s--,c--;continue}let y=n(o,u),E=n(s,h),b=n(o,l);if(Object.is(b,E)){let k=n(c,f);Object.is(k,y)?(t.swap(o,s),t.updateValue(s,f),c--,s--):t.move(s,o),t.updateValue(o,l),o++;continue}if(r??=new _a,i??=_m(t,o,s,n),dd(t,r,o,b))t.updateValue(o,l),o++,s++;else if(i.has(b))r.set(y,t.detach(o)),s--;else{let k=t.create(o,e[o]);t.attach(o,k),o++,s++}}for(;o<=c;)wm(t,r,n,o,e[o]),o++}else if(e!=null){let c=e[Symbol.iterator](),u=c.next();for(;!u.done&&o<=s;){let l=t.at(o),d=u.value,h=ll(o,l,o,d,n);if(h!==0)h<0&&t.updateValue(o,d),o++,u=c.next();else{r??=new _a,i??=_m(t,o,s,n);let f=n(o,d);if(dd(t,r,o,f))t.updateValue(o,d),o++,s++,u=c.next();else if(!i.has(f))t.attach(o,t.create(o,d)),o++,s++,u=c.next();else{let g=n(o,l);r.set(g,t.detach(o)),s--}}}for(;!u.done;)wm(t,r,n,t.length,u.value),u=c.next()}for(;o<=s;)t.destroy(t.detach(s--));r?.forEach(c=>{t.destroy(c)})}function dd(t,e,n,r){return e!==void 0&&e.has(r)?(t.attach(n,e.get(r)),e.delete(r),!0):!1}function wm(t,e,n,r,i){if(dd(t,e,r,n(r,i)))t.updateValue(r,i);else{let o=t.create(r,i);t.attach(r,o)}}function _m(t,e,n,r){let i=new Set;for(let o=e;o<=n;o++)i.add(r(o,t.at(o)));return i}var _a=class{constructor(){this.kvMap=new Map,this._vMap=void 0}has(e){return this.kvMap.has(e)}delete(e){if(!this.has(e))return!1;let n=this.kvMap.get(e);return this._vMap!==void 0&&this._vMap.has(n)?(this.kvMap.set(e,this._vMap.get(n)),this._vMap.delete(n)):this.kvMap.delete(e),!0}get(e){return this.kvMap.get(e)}set(e,n){if(this.kvMap.has(e)){let r=this.kvMap.get(e);this._vMap===void 0&&(this._vMap=new Map);let i=this._vMap;for(;i.has(r);)r=i.get(r);i.set(r,n)}else this.kvMap.set(e,n)}forEach(e){for(let[n,r]of this.kvMap)if(e(r,n),this._vMap!==void 0){let i=this._vMap;for(;i.has(r);)r=i.get(r),e(r,n)}}};function mz(t,e){en("NgControlFlow");let n=P(),r=ai(),i=n[r]!==xe?n[r]:-1,o=i!==-1?Ca(n,le+i):void 0,s=0;if(at(n,r,t)){let a=B(null);try{if(o!==void 0&&Ly(o,s),t!==-1){let c=le+t,u=Ca(n,c),l=gd(n[O],c),d=ei(u,l.tView.ssrId),h=co(n,l,e,{dehydratedView:d});uo(u,h,s,Xr(l,d))}}finally{B(a)}}else if(o!==void 0){let a=Fy(o,s);a!==void 0&&(a[ye]=e)}}var fd=class{constructor(e,n,r){this.lContainer=e,this.$implicit=n,this.$index=r}get $count(){return this.lContainer.length-Ie}};var hd=class{constructor(e,n,r){this.hasEmptyBlock=e,this.trackByFn=n,this.liveCollection=r}};function vz(t,e,n,r,i,o,s,a,c,u,l,d,h){en("NgControlFlow");let f=P(),g=oe(),y=c!==void 0,E=P(),b=a?s.bind(E[Ve][ye]):s,k=new hd(y,b);E[le+t]=k,Ea(f,g,t+1,e,n,r,i,Mn(g.consts,o)),y&&Ea(f,g,t+2,c,u,l,d,Mn(g.consts,h))}var pd=class extends ld{constructor(e,n,r){super(),this.lContainer=e,this.hostLView=n,this.templateTNode=r,this.operationsCounter=void 0,this.needsIndexUpdate=!1}get length(){return this.lContainer.length-Ie}at(e){return this.getLView(e)[ye].$implicit}attach(e,n){let r=n[Kr];this.needsIndexUpdate||=e!==this.length,uo(this.lContainer,n,e,Xr(this.templateTNode,r))}detach(e){return this.needsIndexUpdate||=e!==this.length-1,sA(this.lContainer,e)}create(e,n){let r=ei(this.lContainer,this.templateTNode.tView.ssrId),i=co(this.hostLView,this.templateTNode,new fd(this.lContainer,n,e),{dehydratedView:r});return this.operationsCounter?.recordCreate(),i}destroy(e){za(e[O],e),this.operationsCounter?.recordDestroy()}updateValue(e,n){this.getLView(e)[ye].$implicit=n}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}
7updateIndexes(){if(this.needsIndexUpdate)for(let e=0;e<this.length;e++)this.getLView(e)[ye].$index=e}getLView(e){return aA(this.lContainer,e)}};function yz(t){let e=B(null),n=Yt();try{let r=P(),i=r[O],o=r[n],s=n+1,a=Ca(r,s);if(o.liveCollection===void 0){let u=gd(i,s);o.liveCollection=new pd(a,r,u)}else o.liveCollection.reset();let c=o.liveCollection;if(oA(c,t,o.trackByFn),c.updateIndexes(),o.hasEmptyBlock){let u=ai(),l=c.length===0;if(at(r,u,l)){let d=n+2,h=Ca(r,d);if(l){let f=gd(i,d),g=ei(h,f.tView.ssrId),y=co(r,f,void 0,{dehydratedView:g});uo(h,y,0,Xr(f,g))}else Ly(h,0)}}}finally{B(e)}}function Ca(t,e){return t[e]}function sA(t,e){return no(t,e)}function aA(t,e){return Fy(t,e)}function gd(t,e){return Rd(t,e)}function cA(t,e,n,r,i,o){let s=e.consts,a=Mn(s,i),c=li(e,t,2,r,a);return of(e,n,c,Mn(s,o)),c.attrs!==null&&ma(c,c.attrs,!1),c.mergedAttrs!==null&&ma(c,c.mergedAttrs,!0),e.queries!==null&&e.queries.elementStart(e,c),c}function lI(t,e,n,r){let i=P(),o=oe(),s=le+t,a=i[ie],c=o.firstCreatePass?cA(s,o,i,e,n,r):o.data[s],u=uA(o,i,c,a,e,t);i[s]=u;let l=Pa(c);return yr(c,!0),Ey(a,u,c),!N0(c)&&ja()&&Wa(o,i,u,c),fb()===0&&Nn(u,i),hb(),l&&(ef(o,i,c),Xd(o,c,i)),r!==null&&tf(i,c),lI}function dI(){let t=Ee();Od()?Pd():(t=t.parent,yr(t,!1));let e=t;gb(e)&&mb(),pb();let n=oe();return n.firstCreatePass&&($a(n,t),Nd(t)&&n.queries.elementEnd(t)),e.classesWithoutHost!=null&&Rb(e)&&ud(n,e,P(),e.classesWithoutHost,!0),e.stylesWithoutHost!=null&&xb(e)&&ud(n,e,P(),e.stylesWithoutHost,!1),dI}function hf(t,e,n,r){return lI(t,e,n,r),dI(),hf}var uA=(t,e,n,r,i,o)=>(Ua(!0),dy(r,i,Tb()));function lA(t,e,n,r,i){let o=e.consts,s=Mn(o,r),a=li(e,t,8,"ng-container",s);s!==null&&ma(a,s,!0);let c=Mn(o,i);return of(e,n,a,c),e.queries!==null&&e.queries.elementStart(e,a),a}function fI(t,e,n){let r=P(),i=oe(),o=t+le,s=i.firstCreatePass?lA(o,i,r,e,n):i.data[o];yr(s,!0);let a=fA(i,r,s,t);return r[o]=a,ja()&&Wa(i,r,a,s),Nn(a,r),Pa(s)&&(ef(i,r,s),Xd(i,s,r)),n!=null&&tf(r,s),fI}function hI(){let t=Ee(),e=oe();return Od()?Pd():(t=t.parent,yr(t,!1)),e.firstCreatePass&&($a(e,t),Nd(t)&&e.queries.elementEnd(t)),hI}function dA(t,e,n){return fI(t,e,n),hI(),dA}var fA=(t,e,n,r)=>(Ua(!0),VS(e[ie],""));function Iz(){return P()}function hA(t,e,n){let r=P(),i=ai();if(at(r,i,e)){let o=oe(),s=Va();rf(o,s,r,t,e,r[ie],n,!0)}return hA}var nr=void 0;function pA(t){let e=t,n=Math.floor(Math.abs(t)),r=t.toString().replace(/^[^.]*\.?/,"").length;return n===1&&r===0?1:5}var gA=["en",[["a","p"],["AM","PM"],nr],[["AM","PM"],nr,nr],[["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"]],nr,[["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"]],nr,[["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}",nr,"{1} 'at' {0}",nr],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",pA],dl={};function Pe(t){let e=mA(t),n=Cm(e);if(n)return n;let r=e.split("-")[0];if(n=Cm(r),n)return n;if(r==="en")return gA;throw new I(701,!1)}function Cm(t){return t in dl||(dl[t]=Ut.ng&&Ut.ng.common&&Ut.ng.common.locales&&Ut.ng.common.locales[t]),dl[t]}var re=function(t){return t[t.LocaleId=0]="LocaleId",t[t.DayPeriodsFormat=1]="DayPeriodsFormat",t[t.DayPeriodsStandalone=2]="DayPeriodsStandalone",t[t.DaysFormat=3]="DaysFormat",t[t.DaysStandalone=4]="DaysStandalone",t[t.MonthsFormat=5]="MonthsFormat",t[t.MonthsStandalone=6]="MonthsStandalone",t[t.Eras=7]="Eras",t[t.FirstDayOfWeek=8]="FirstDayOfWeek",t[t.WeekendRange=9]="WeekendRange",t[t.DateFormat=10]="DateFormat",t[t.TimeFormat=11]="TimeFormat",t[t.DateTimeFormat=12]="DateTimeFormat",t[t.NumberSymbols=13]="NumberSymbols",t[t.NumberFormats=14]="NumberFormats",t[t.CurrencyCode=15]="CurrencyCode",t[t.CurrencySymbol=16]="CurrencySymbol",t[t.CurrencyName=17]="CurrencyName",t[t.Currencies=18]="Currencies",t[t.Directionality=19]="Directionality",t[t.PluralCase=20]="PluralCase",t[t.ExtraData=21]="ExtraData",t}(re||{});function mA(t){return t.toLowerCase().replace(/_/g,"-")}var ba="en-US",vA="USD";var yA=ba;function IA(t){typeof t=="string"&&(yA=t.toLowerCase().replace(/_/g,"-"))}var DA=(t,e,n)=>{};function dt(t,e,n,r){let i=P(),o=oe(),s=Ee();return wA(o,i,i[ie],s,t,e,r),dt}function EA(t,e,n,r){let i=t.cleanup;if(i!=null)for(let o=0;o<i.length-1;o+=2){let s=i[o];if(s===n&&i[o+1]===r){let a=e[ia],c=i[o+2];return a.length>c?a[c]:null}typeof s=="string"&&(o+=2)}return null}function wA(t,e,n,r,i,o,s){let a=Pa(r),u=t.firstCreatePass&&Oy(t),l=e[ye],d=xy(e),h=!0;
7if(r.type&3||s){let y=Ye(r,e),E=s?s(y):y,b=d.length,k=s?de=>s(bt(de[r.index])):r.index,se=null;if(!s&&a&&(se=EA(t,e,i,r.index)),se!==null){let de=se.__ngLastListenerFn__||se;de.__ngNextListenerFn__=o,se.__ngLastListenerFn__=o,h=!1}else{o=Sm(r,e,l,o),DA(y,i,o);let de=n.listen(E,i,o);d.push(o,de),u&&u.push(i,k,b,b+1)}}else o=Sm(r,e,l,o);let f=r.outputs,g;if(h&&f!==null&&(g=f[i])){let y=g.length;if(y)for(let E=0;E<y;E+=2){let b=g[E],k=g[E+1],He=e[b][k].subscribe(o),he=d.length;d.push(o,He),u&&u.push(i,r.index,he,-(he+1))}}}function bm(t,e,n,r){let i=B(null);try{return Et(6,e,n),n(r)!==!1}catch(o){return Py(t,o),!1}finally{Et(7,e,n),B(i)}}function Sm(t,e,n,r){return function i(o){if(o===Function)return r;let s=t.componentOffset>-1?kn(t.index,e):e;cf(s,5);let a=bm(e,n,r,o),c=i.__ngNextListenerFn__;for(;c;)a=bm(e,n,c,o)&&a,c=c.__ngNextListenerFn__;return a}}function Dz(t=1){return Sb(t)}function _A(t,e){let n=null,r=kC(t);for(let i=0;i<e.length;i++){let o=e[i];if(o==="*"){n=i;continue}if(r===null?qm(t,o,!0):VC(r,o))return i}return n}function Ez(t){let e=P()[Ve][Re];if(!e.projection){let n=t?t.length:1,r=e.projection=SC(n,null),i=r.slice(),o=e.child;for(;o!==null;){if(o.type!==128){let s=t?_A(o,t):0;s!==null&&(i[s]?i[s].projectionNext=o:r[s]=o,i[s]=o)}o=o.next}}}function wz(t,e=0,n,r,i,o){let s=P(),a=oe(),c=r?t+1:null;c!==null&&Ea(s,a,c,r,i,o,null,n);let u=li(a,le+t,16,null,n||null);u.projection===null&&(u.projection=e),Pd();let d=!s[Kr]||Iv();s[Ve][Re].projection[u.projection]===null&&c!==null?CA(s,a,c):d&&(u.flags&32)!==32&&KS(a,s,u)}function CA(t,e,n){let r=le+n,i=e.data[r],o=t[r],s=ei(o,i.tView.ssrId),a=co(t,i,void 0,{dehydratedView:s});uo(o,a,0,Xr(i,s))}function bA(t,e,n,r,i){let o=P(),s=tI(o,e,n,r);if(s!==xe){let a=oe(),c=Va();rf(a,c,o,t,s,o[ie],i,!1)}return bA}function pI(t,e,n,r){g0(t,e,n,r)}function _z(t,e,n){p0(t,e,n)}function gI(t){let e=P(),n=oe(),r=wv();Fd(r+1);let i=lf(n,r);if(t.dirty&&cb(e)===((i.metadata.flags&2)===2)){if(i.matches===null)t.reset([]);else{let o=y0(e,r);t.reset(o,eS),t.notifyOnChanges()}return!0}return!1}function mI(){return h0(P(),wv())}function SA(t,e,n,r){n>=t.data.length&&(t.data[n]=null,t.blueprint[n]=null),e[n]=r}function Cz(t){let e=yb();return ka(e,le+t)}function bz(t,e=""){let n=P(),r=oe(),i=t+le,o=r.firstCreatePass?li(r,i,1,e,null):r.data[i],s=TA(r,n,o,e,t);n[i]=s,ja()&&Wa(r,n,s,o),yr(o,!1)}var TA=(t,e,n,r,i)=>(Ua(!0),FS(e[ie],r));function AA(t){return vI("",t,""),AA}function vI(t,e,n){let r=P(),i=tI(r,t,e,n);return i!==xe&&ky(r,Yt(),i),vI}function MA(t,e,n,r,i){let o=P(),s=L0(o,t,e,n,r,i);return s!==xe&&ky(o,Yt(),s),MA}function NA(t,e,n){let r=oe();if(r.firstCreatePass){let i=An(t);md(n,r.data,r.blueprint,i,!0),md(e,r.data,r.blueprint,i,!1)}}function md(t,e,n,r,i){if(t=be(t),Array.isArray(t))for(let o=0;o<t.length;o++)md(t[o],e,n,r,i);else{let o=oe(),s=P(),a=Ee(),c=Yr(t)?t:be(t.provide),u=iv(t),l=a.providerIndexes&1048575,d=a.directiveStart,h=a.providerIndexes>>20;if(Yr(t)||!t.multi){let f=new fr(u,i,D),g=hl(c,e,i?l:l+h,d);g===-1?(Al(la(a,s),o,c),fl(o,t,e.length),e.push(c),a.directiveStart++,a.directiveEnd++,i&&(a.providerIndexes+=1048576),n.push(f),s.push(f)):(n[g]=f,s[g]=f)}else{let f=hl(c,e,l+h,d),g=hl(c,e,l,l+h),y=f>=0&&n[f],E=g>=0&&n[g];if(i&&!E||!i&&!y){Al(la(a,s),o,c);let b=OA(i?xA:RA,n.length,i,r,u);!i&&E&&(n[g].providerFactory=b),fl(o,t,e.length,0),e.push(c),a.directiveStart++,a.directiveEnd++,i&&(a.providerIndexes+=1048576),n.push(b),s.push(b)}else{let b=yI(n[i?g:f],u,!i&&r);fl(o,t,f>-1?f:g,b)}!i&&r&&E&&n[g].componentProviders++}}}function fl(t,e,n,r){let i=Yr(e),o=YC(e);if(i||o){let c=(o?be(e.useClass):e).prototype.ngOnDestroy;if(c){let u=t.destroyHooks||(t.destroyHooks=[]);if(!i&&e.multi){let l=u.indexOf(n);l===-1?u.push(n,[r,c]):u[l+1].push(r,c)}else u.push(n,c)}}}function yI(t,e,n){return n&&t.componentProviders++,t.multi.push(e)-1}function hl(t,e,n,r){for(let i=n;i<r;i++)if(e[i]===t)return i;return-1}function RA(t,e,n,r){return vd(this.multi,[])}function xA(t,e,n,r){let i=this.multi,o;if(this.providerFactory){let s=this.providerFactory.componentProviders,a=hr(n,n[O],this.providerFactory.index,r);o=a.slice(0,s),vd(i,o);for(let c=s;c<a.length;c++)o.push(a[c])}else o=[],vd(i,o);return o}function vd(t,e){for(let n=0;n<t.length;n++){let r=t[n];e.push(r())}return e}function OA(t,e,n,r,i){let o=new fr(t,n,D);return o.multi=[],o.index=e,o.componentProviders=0,yI(o,i,r&&!n),o}function At(t,e=[]){return n=>{n.providersResolver=(r,i)=>NA(r,i?i(t):t,e)}}var PA=(()=>{let e=class e{constructor(r){this._injector=r,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(r){if(!r.standalone)return null;if(!this.cachedInjectors.has(r)){let i=tv(!1,r.type),o=i.length>
70?Ka([i],this._injector,`Standalone[${r.type.name}]`):null;this.cachedInjectors.set(r,o)}return this.cachedInjectors.get(r)}ngOnDestroy(){try{for(let r of this.cachedInjectors.values())r!==null&&r.destroy()}finally{this.cachedInjectors.clear()}}};e.\u0275prov=C({token:e,providedIn:"environment",factory:()=>new e(N(Le))});let t=e;return t})();function II(t){en("NgStandalone"),t.getStandaloneInjector=e=>e.get(PA).getOrCreateStandaloneInjector(t)}function Sz(t,e,n){let r=si()+t,i=P();return i[r]===xe?Qa(i,r,n?e.call(n):e()):A0(i,r)}function Tz(t,e,n,r){return DI(P(),si(),t,e,n,r)}function Az(t,e,n,r,i){return EI(P(),si(),t,e,n,r,i)}function pf(t,e){let n=t[e];return n===xe?void 0:n}function DI(t,e,n,r,i,o){let s=e+n;return at(t,s,i)?Qa(t,s+1,o?r.call(o,i):r(i)):pf(t,s+1)}function EI(t,e,n,r,i,o,s){let a=e+n;return Da(t,a,i,o)?Qa(t,a+2,s?r.call(s,i,o):r(i,o)):pf(t,a+2)}function kA(t,e,n,r,i,o,s,a,c){let u=e+n;return M0(t,u,i,o,s,a)?Qa(t,u+4,c?r.call(c,i,o,s,a):r(i,o,s,a)):pf(t,u+4)}function Mz(t,e){let n=oe(),r,i=t+le;n.firstCreatePass?(r=FA(e,n.pipeRegistry),n.data[i]=r,r.onDestroy&&(n.destroyHooks??=[]).push(i,r.onDestroy)):r=n.data[i];let o=r.factory||(r.factory=ar(r.type,!0)),s,a=Me(D);try{let c=ua(!1),u=o();return ua(c),SA(n,P(),i,u),u}finally{Me(a)}}function FA(t,e){if(e)for(let n=e.length-1;n>=0;n--){let r=e[n];if(t===r.name)return r}}function Nz(t,e,n){let r=t+le,i=P(),o=ka(i,r);return gf(i,r)?DI(i,si(),e,o.transform,n,o):o.transform(n)}function Rz(t,e,n,r){let i=t+le,o=P(),s=ka(o,i);return gf(o,i)?EI(o,si(),e,s.transform,n,r,s):s.transform(n,r)}function xz(t,e,n,r,i,o){let s=t+le,a=P(),c=ka(a,s);return gf(a,s)?kA(a,si(),e,c.transform,n,r,i,o,c):c.transform(n,r,i,o)}function gf(t,e){return t[O].data[e].pure}function Oz(t,e){return Ya(t,e)}var Gt=class{constructor(e){this.full=e;let n=e.split(".");this.major=n[0],this.minor=n[1],this.patch=n.slice(2).join(".")}},wI=new Gt("18.2.4");var ec=(()=>{let e=class e{log(r){console.log(r)}warn(r){console.warn(r)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"platform"});let t=e;return t})();var _I=new w("");function Fn(t){return!!t&&typeof t.then=="function"}function mf(t){return!!t&&typeof t.subscribe=="function"}var tc=new w(""),CI=(()=>{let e=class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((r,i)=>{this.resolve=r,this.reject=i}),this.appInits=m(tc,{optional:!0})??[]}runInitializers(){if(this.initialized)return;let r=[];for(let o of this.appInits){let s=o();if(Fn(s))r.push(s);else if(mf(s)){let a=new Promise((c,u)=>{s.subscribe({complete:c,error:u})});r.push(a)}}let i=()=>{this.done=!0,this.resolve()};Promise.all(r).then(()=>{i()}).catch(o=>{this.reject(o)}),r.length===0&&i(),this.initialized=!0}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),nc=new w("");function LA(){Lg(()=>{throw new I(600,!1)})}function VA(t){return t.isBoundToModule}var jA=10;function UA(t,e,n){try{let r=n();return Fn(r)?r.catch(i=>{throw e.runOutsideAngular(()=>t.handleError(i)),i}):r}catch(r){throw e.runOutsideAngular(()=>t.handleError(r)),r}}var Ir=(()=>{let e=class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=m(Qb),this.afterRenderManager=m(Jy),this.zonelessEnabled=m(uf),this.dirtyFlags=0,this.deferredDirtyFlags=0,this.externalTestViews=new Set,this.beforeRender=new ee,this.afterTick=new ee,this.componentTypes=[],this.components=[],this.isStable=m(ci).hasPendingTasks.pipe(U(r=>!r)),this._injector=m(Le)}get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}whenStable(){let r;return new Promise(i=>{r=this.isStable.subscribe({next:o=>{o&&i()}})}).finally(()=>{r.unsubscribe()})}get injector(){return this._injector}bootstrap(r,i){let o=r instanceof ga;if(!this._injector.get(CI).done){let f=!o&&Qm(r),g=!1;throw new I(405,g)}let a;o?a=r:a=this._injector.get(ni).resolveComponentFactory(r),this.componentTypes.push(a.componentType);let c=VA(a)?void 0:this._injector.get(Rn),u=i||a.selector,l=a.create(ve.NULL,[],u,c),d=l.location.nativeElement,h=l.injector.get(_I,null);return h?.registerApplication(d),l.onDestroy(()=>{this.detachView(l.hostView),Js(this.components,l),h?.unregisterApplication(d)}),this._loadComponent(l),l}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){if(this._runningTick)throw new I(101,!1);let r=B(null);try{this._runningTick=!0,this.synchronize()}catch(i){this.internalErrorHandler(i)}finally{this._runningTick=!1,B(r),this.afterTick.next()}}synchronize(){let r=null;
7this._injector.destroyed||(r=this._injector.get(ri,null,{optional:!0})),this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0;let i=0;for(;this.dirtyFlags!==0&&i++<jA;)this.synchronizeOnce(r)}synchronizeOnce(r){if(this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0,this.dirtyFlags&7){let i=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8,this.beforeRender.next(i);for(let{_lView:o,notifyErrorHandler:s}of this._views)$A(o,s,i,this.zonelessEnabled);if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&7)return}else r?.begin?.(),r?.end?.();this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:r})=>Fa(r))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(r){let i=r;this._views.push(i),i.attachToAppRef(this)}detachView(r){let i=r;Js(this._views,i),i.detachFromAppRef()}_loadComponent(r){this.attachView(r.hostView),this.tick(),this.components.push(r);let i=this._injector.get(nc,[]);[...this._bootstrapListeners,...i].forEach(o=>o(r))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(r=>r()),this._views.slice().forEach(r=>r.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(r){return this._destroyListeners.push(r),()=>Js(this._destroyListeners,r)}destroy(){if(this._destroyed)throw new I(406,!1);let r=this._injector;r.destroy&&!r.destroyed&&r.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function Js(t,e){let n=t.indexOf(e);n>-1&&t.splice(n,1)}function $A(t,e,n,r){if(!n&&!Fa(t))return;Uy(t,e,n&&!r?0:1)}var yd=class{constructor(e,n){this.ngModuleFactory=e,this.componentFactories=n}},rc=(()=>{let e=class e{compileModuleSync(r){return new id(r)}compileModuleAsync(r){return Promise.resolve(this.compileModuleSync(r))}compileModuleAndAllComponentsSync(r){let i=this.compileModuleSync(r),o=Jm(r),s=uy(o.declarations).reduce((a,c)=>{let u=$t(c);return u&&a.push(new mr(u)),a},[]);return new yd(i,s)}compileModuleAndAllComponentsAsync(r){return Promise.resolve(this.compileModuleAndAllComponentsSync(r))}clearCache(){}clearCacheFor(r){}getModuleId(r){}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var BA=(()=>{let e=class e{constructor(){this.zone=m(G),this.changeDetectionScheduler=m(ti),this.applicationRef=m(Ir)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),HA=new w("",{factory:()=>!1});function bI({ngZoneFactory:t,ignoreChangesOutsideZone:e,scheduleInRootZone:n}){return t??=()=>new G($(v({},SI()),{scheduleInRootZone:n})),[{provide:G,useFactory:t},{provide:Zr,multi:!0,useFactory:()=>{let r=m(BA,{optional:!0});return()=>r.initialize()}},{provide:Zr,multi:!0,useFactory:()=>{let r=m(zA);return()=>{r.initialize()}}},e===!0?{provide:zy,useValue:!0}:[],{provide:Wy,useValue:n??Uv}]}function Pz(t){let e=t?.ignoreChangesOutsideZone,n=t?.scheduleInRootZone,r=bI({ngZoneFactory:()=>{let i=SI(t);return i.scheduleInRootZone=n,i.shouldCoalesceEventChangeDetection&&en("NgZone_CoalesceEvent"),new G(i)},ignoreChangesOutsideZone:e,scheduleInRootZone:n});return Pn([{provide:HA,useValue:!0},{provide:uf,useValue:!1},r])}function SI(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:t?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:t?.runCoalescing??!1}}var zA=(()=>{let e=class e{constructor(){this.subscription=new X,this.initialized=!1,this.zone=m(G),this.pendingTasks=m(ci)}initialize(){if(this.initialized)return;this.initialized=!0;let r=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(r=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{G.assertNotInAngularZone(),queueMicrotask(()=>{r!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(r),r=null)})}
7))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{G.assertInAngularZone(),r??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var WA=(()=>{let e=class e{constructor(){this.appRef=m(Ir),this.taskService=m(ci),this.ngZone=m(G),this.zonelessEnabled=m(uf),this.disableScheduling=m(zy,{optional:!0})??!1,this.zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run,this.schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}],this.subscriptions=new X,this.angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(fa):null,this.scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(m(Wy,{optional:!0})??!1),this.cancelScheduledCallback=null,this.useMicrotaskScheduler=!1,this.runningTick=!1,this.pendingRenderTaskId=null,this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof Ol||!this.zoneIsDefined)}notify(r){if(!this.zonelessEnabled&&r===5)return;switch(r){case 0:{this.appRef.dirtyFlags|=2;break}case 3:case 2:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 7:{this.appRef.deferredDirtyFlags|=8;break}case 9:case 8:case 6:case 10:default:this.appRef.dirtyFlags|=8}if(!this.shouldScheduleTick())return;let i=this.useMicrotaskScheduler?nm:$v;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>i(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>i(()=>this.tick()))}shouldScheduleTick(){return!(this.disableScheduling||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(fa+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let r=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(i){throw this.taskService.remove(r),i}finally{this.cleanup()}this.useMicrotaskScheduler=!0,nm(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(r)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let r=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(r)}}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function GA(){return typeof $localize<"u"&&$localize.locale||ba}var fo=new w("",{providedIn:"root",factory:()=>m(fo,j.Optional|j.SkipSelf)||GA()}),TI=new w("",{providedIn:"root",factory:()=>vA});var AI=new w("");function qs(t){return!!t.platformInjector}function qA(t){let e=qs(t)?t.r3Injector:t.moduleRef.injector,n=e.get(G);return n.run(()=>{qs(t)?t.r3Injector.resolveInjectorInitializers():t.moduleRef.resolveInjectorInitializers();let r=e.get(Ht,null),i;if(n.runOutsideAngular(()=>{i=n.onError.subscribe({next:o=>{r.handleError(o)}})}),qs(t)){let o=()=>e.destroy(),s=t.platformInjector.get(AI);s.add(o),e.onDestroy(()=>{i.unsubscribe(),s.delete(o)})}else t.moduleRef.onDestroy(()=>{Js(t.allPlatformModules,t.moduleRef),i.unsubscribe()});return UA(r,n,()=>{let o=e.get(CI);return o.runInitializers(),o.donePromise.then(()=>{let s=e.get(fo,ba);if(IA(s||ba),qs(t)){let a=e.get(Ir);return t.rootComponent!==void 0&&a.bootstrap(t.rootComponent),a}else return ZA(t.moduleRef,t.allPlatformModules),t.moduleRef})})})}function ZA(t,e){let n=t.injector.get(Ir);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(r=>n.bootstrap(r));else if(t.instance.ngDoBootstrap)t.instance.ngDoBootstrap(n);else throw new I(-403,!1);e.push(t)}var Xs=null;function YA(t=[],e){return ve.create({name:e,providers:[{provide:Na,useValue:"platform"},{provide:AI,useValue:new Set([()=>Xs=null])},...t]})}function KA(t=[]){if(Xs)return Xs;let e=YA(t);return Xs=e,LA(),QA(e),e}function QA(t){t.get(Wd,null)?.forEach(n=>n())}var Ln=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=JA;let t=e;return t})();function JA(t){return XA(Ee(),P(),(t&16)===16)}function XA(t,e,n){if(Oa(t)&&!n){let r=kn(t.index,e);return new pr(r,r)}else if(t.type&175){let r=e[Ve];return new pr(r,e)}return null}var Id=class{constructor(){}supports(e){return Qy(e)}create(e){return new Dd(e)}},eM=(t,e)=>e,Dd=class{constructor(e){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=e||eM}forEachItem(e){let n;for(n=this._itHead;n!==null;n=n._next)e(n)}forEachOperation(e){let n=this._itHead,r=this._removalsHead,i=0,o=null;for(;n||r;){let s=!r||n&&n.currentIndex<Tm(r,i,o)?n:r,a=Tm(s,i,o),c=s.currentIndex;if(s===r)i--,r=r._nextRemoved;else if(n=n._next,s.previousIndex==null)i++;else{o||(o=[]);let u=a-i,l=c-i;if(u!=l){for(let h=0;h<u;h++){let f=h<o.length?o[h]:o[h]=0,g=f+h;l<=g&&g<u&&(o[h]=f+1)}let d=s.previousIndex;o[d]=l-u}}a!==c&&e(s,a,c)}}forEachPreviousItem(e){let n;for(n=this._previousItHead;n!==null;n=n._nextPrevious)e(n)}forEachAddedItem(e){let n;for(n=this._additionsHead;n!==null;n=n._nextAdded)e(n)}forEachMovedItem(e){let n;for(n=this._movesHead;n!==null;n=n._nextMoved)e(n)}forEachRemovedItem(e){let n;for(n=this._removalsHead;n!==null;n=n._nextRemoved)e(n)}forEachIdentityChange(e){let n;for(n=this._identityChangesHead;n!==null;n=n._nextIdentityChange)e(n)}diff(e){if(e==null&&(e=[]),!Qy(e))throw new I(900,!1);return this.check(e)?this:null}onDestroy(){}check(e){this._reset();let n=this._itHead,r=!1,i,o,s;if(Array.isArray(e)){this.length=e.length;for(let a=0;a<this.length;a++)o=e[a],s=this._trackByFn(a,o),n===null||!Object.is(n.trackById,s)?(n=this._mismatch(n,o,s,a),r=!0):(r&&(n=this._verifyReinsertion(n,o,s,a)),Object.is(n.item,o)||this._addIdentityChange(n,o)),n=n._next}else i=0,S0(e,a=>{s=this._trackByFn(i,a),n===null||!Object.is(n.trackById,s)?(n=this._mismatch(n,a,s,i),r=!0):(r&&(n=this._verifyReinsertion(n,a,s,i)),Object.is(n.item,a)||this._addIdentityChange(n,a)),n=n._next,i++}),this.length=i;return this._truncate(n),this.collection=e,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let e;for(e=this._previousItHead=this._itHead;e!==null;e=e._next)e._nextPrevious=e._next;for(e=this._additionsHead;e!==null;e=e._nextAdded)e.previousIndex=e.currentIndex;for(this._additionsHead=this._additionsTail=null,e=this._movesHead;e!==null;e=e._nextMoved)e.previousIndex=e.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(e,n,r,i){let o;return e===null?o=this._itTail:(o=e._prev,this._remove(e)),e=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null),e!==null?(Object.is(e.item,n)||this._addIdentityChange(e,n),this._reinsertAfter(e,o,i)):(e=this._linkedRecords===null?null:this._linkedRecords.get(r,i),e!==null?(Object.is(e.item,n)||this._addIdentityChange(e,n),this._moveAfter(e,o,i)):e=this._addAfter(new Ed(n,r),o,i)),e}_verifyReinsertion(e,n,r,i){let o=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null);return o!==null?e=this._reinsertAfter(o,e._prev,i):e.currentIndex!=i&&(e.currentIndex=i,this._addToMoves(e,i)),e}_truncate(e){for(;e!==null;){let n=e._next;this._addToRemovals(this._unlink(e)),e=n}this._unlinkedRecords!==null&&this._unlinkedRecords.clear(),this._additionsTail!==null&&(this._additionsTail._nextAdded=null),this._movesTail!==null&&(this._movesTail._nextMoved=null),this._itTail!==null&&(this._itTail._next=null),this._removalsTail!==null&&(this._removalsTail._nextRemoved=null),this._identityChangesTail!==null&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(e,n,r){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(e);let i=e._prevRemoved,o=e._nextRemoved;return i===null?this._removalsHead=o:i._nextRemoved=o,o===null?this._removalsTail=i:o._prevRemoved=i,this._insertAfter(e,n,r),this._addToMoves(e,r),e}_moveAfter(e,n,r){return this._unlink(e),this._insertAfter(e,n,r),this._addToMoves(e,r),e}_addAfter(e,n,r){return this._insertAfter(e,n,r),this._additionsTail===null?this._additionsTail=this._additionsHead=e:this._additionsTail=this._additionsTail._nextAdded=e,e}_insertAfter(e,n,r){let i=n===null?this._itHead:n._next;return e._next=i,e._prev=n,i===null?this._itTail=e:i._prev=e,n===null?this._itHead=e:n._next=e,this._linkedRecords===null&&(this._linkedRecords=new Sa),this._linkedRecords.put(e),e.currentIndex=r,e}_remove(e){return this._addToRemovals(this._unlink(e))}_unlink(e){this._linkedRecords!==null&&this._linkedRecords.remove(e);let n=e._prev,r=e._next;return n===null?this._itHead=r:n._next=r,r===null?this._itTail=n:r._prev=n,e}_addToMoves(e,n){return e.previousIndex===n||(this._movesTail===null?this._movesTail=this._movesHead=e:this._movesTail=this._movesTail._nextMoved=e),e}_addToRemovals(e){return this._unlinkedRecords===null&&(this._unlinkedRecords=new Sa),this._unlinkedRecords.put(e),e.currentIndex=null,e._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=e,e._prevRemoved=null):(e._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=e),e}_addIdentityChange(e,n){return e.item=n,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=e:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=e,e}},Ed=class{constructor(e,n){this.item=e,this.trackById=n,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}},wd=class{constructor(){this._head=null,this._tail=null}add(e){this._head===null?(this._head=this._tail=e,e._nextDup=null,e._prevDup=null):(this._tail._nextDup=e,e._prevDup=this._tail,e._nextDup=null,this._tail=e)}get(e,n){let r;for(r=this._head;r!==null;r=r._nextDup)if((n===null||n<=r.currentIndex)&&Object.is(r.trackById,e))return r;return null}remove(e){let n=e._prevDup,r=e._nextDup;return n===null?this._head=r:n._nextDup=r,r===null?this._tail=n:r._prevDup=n,this._head===null}},Sa=class{constructor(){this.map=new Map}put(e){let n=e.trackById,r=this.map.get(n);r||(r=new wd,this.map.set(n,r)),r.add(e)}get(e,n){let r=e,i=this.map.get(r);return i?i.get(e,n):null}remove(e){let n=e.trackById;return this.map.get(n).remove(e)&&this.map.delete(n),e}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function Tm(t,e,n){let r=t.previousIndex;if(r===null)return r;let i=0;return n&&r<n.length&&(i=n[r]),r+e+i}function Am(){return new vf([new Id])}var vf=(()=>{let e=class e{constructor(r){this.factories=r}static create(r,i){if(i!=null){let o=i.factories.slice();r=r.concat(o)}return new e(r)}static extend(r){return{provide:e,useFactory:i=>e.create(r,i||Am()),deps:[[e,new bd,new ct]]}}find(r){let i=this.factories.find(o=>o.supports(r));if(i!=null)return i;throw new I(901,!1)}};e.\u0275prov=C({token:e,providedIn:"root",factory:Am});let t=e;return t})();function MI(t){try{let{rootComponent:e,appProviders:n,platformProviders:r}=t,i=KA(r),o=[bI({}),{provide:ti,useExisting:WA},...n||[]],s=new Ia({providers:o,parent:i,debugName:"",runEnvironmentInitializer
7s:!1});return qA({r3Injector:s.injector,platformInjector:i,rootComponent:e})}catch(e){return Promise.reject(e)}}var NI=new w("");function di(t){return typeof t=="boolean"?t:t!=null&&t!=="false"}function tM(t,e=NaN){return!isNaN(parseFloat(t))&&!isNaN(Number(t))?Number(t):e}function ho(t,e){en("NgSignals");let n=Pg(t);return e?.equal&&(n[jt].equal=e.equal),n}function ft(t){let e=B(null);try{return t()}finally{B(e)}}function kz(t,e){let n=$t(t),r=e.elementInjector||Ra();return new mr(n).create(r,e.projectableNodes,e.hostElement,e.environmentInjector)}function RI(t){let e=$t(t);if(!e)return null;let n=new mr(e);return{get selector(){return n.selector},get type(){return n.componentType},get inputs(){return n.inputs},get outputs(){return n.outputs},get ngContentSelectors(){return n.ngContentSelectors},get isStandalone(){return e.standalone},get isSignal(){return e.signals}}}var UI=null;function sn(){return UI}function $I(t){UI??=t}var fc=class{};var _e=new w(""),Rf=(()=>{let e=class e{historyGo(r){throw new Error("")}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=C({token:e,factory:()=>m(nM),providedIn:"platform"});let t=e;return t})(),BI=new w(""),nM=(()=>{let e=class e extends Rf{constructor(){super(),this._doc=m(_e),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return sn().getBaseHref(this._doc)}onPopState(r){let i=sn().getGlobalEventTarget(this._doc,"window");return i.addEventListener("popstate",r,!1),()=>i.removeEventListener("popstate",r)}onHashChange(r){let i=sn().getGlobalEventTarget(this._doc,"window");return i.addEventListener("hashchange",r,!1),()=>i.removeEventListener("hashchange",r)}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(r){this._location.pathname=r}pushState(r,i,o){this._history.pushState(r,i,o)}replaceState(r,i,o){this._history.replaceState(r,i,o)}forward(){this._history.forward()}back(){this._history.back()}historyGo(r=0){this._history.go(r)}getState(){return this._history.state}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=C({token:e,factory:()=>new e,providedIn:"platform"});let t=e;return t})();function xf(t,e){if(t.length==0)return e;if(e.length==0)return t;let n=0;return t.endsWith("/")&&n++,e.startsWith("/")&&n++,n==2?t+e.substring(1):n==1?t+e:t+"/"+e}function xI(t){let e=t.match(/#|\?|$/),n=e&&e.index||t.length,r=n-(t[n-1]==="/"?1:0);return t.slice(0,r)+t.slice(n)}function nn(t){return t&&t[0]!=="?"?"?"+t:t}var an=(()=>{let e=class e{historyGo(r){throw new Error("")}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=C({token:e,factory:()=>m(Of),providedIn:"root"});let t=e;return t})(),HI=new w(""),Of=(()=>{let e=class e extends an{constructor(r,i){super(),this._platformLocation=r,this._removeListenerFns=[],this._baseHref=i??this._platformLocation.getBaseHrefFromDOM()??m(_e).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(r){this._removeListenerFns.push(this._platformLocation.onPopState(r),this._platformLocation.onHashChange(r))}getBaseHref(){return this._baseHref}prepareExternalUrl(r){return xf(this._baseHref,r)}path(r=!1){let i=this._platformLocation.pathname+nn(this._platformLocation.search),o=this._platformLocation.hash;return o&&r?`${i}${o}`:i}pushState(r,i,o,s){let a=this.prepareExternalUrl(o+nn(s));this._platformLocation.pushState(r,i,a)}replaceState(r,i,o,s){let a=this.prepareExternalUrl(o+nn(s));this._platformLocation.replaceState(r,i,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(r=0){this._platformLocation.historyGo?.(r)}};e.\u0275fac=function(i){return new(i||e)(N(Rf),N(HI,8))},e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),zI=(()=>{let e=class e extends an{constructor(r,i){super(),this._platformLocation=r,this._baseHref="",this._removeListenerFns=[],i!=null&&(this._baseHref=i)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(r){this._removeListenerFns.push(this._platformLocation.onPopState(r),this._platformLocation.on
7HashChange(r))}getBaseHref(){return this._baseHref}path(r=!1){let i=this._platformLocation.hash??"#";return i.length>0?i.substring(1):i}prepareExternalUrl(r){let i=xf(this._baseHref,r);return i.length>0?"#"+i:i}pushState(r,i,o,s){let a=this.prepareExternalUrl(o+nn(s));a.length==0&&(a=this._platformLocation.pathname),this._platformLocation.pushState(r,i,a)}replaceState(r,i,o,s){let a=this.prepareExternalUrl(o+nn(s));a.length==0&&(a=this._platformLocation.pathname),this._platformLocation.replaceState(r,i,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(r=0){this._platformLocation.historyGo?.(r)}};e.\u0275fac=function(i){return new(i||e)(N(Rf),N(HI,8))},e.\u0275prov=C({token:e,factory:e.\u0275fac});let t=e;return t})(),fi=(()=>{let e=class e{constructor(r){this._subject=new ne,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=r;let i=this._locationStrategy.getBaseHref();this._basePath=oM(xI(OI(i))),this._locationStrategy.onPopState(o=>{this._subject.emit({url:this.path(!0),pop:!0,state:o.state,type:o.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(r=!1){return this.normalize(this._locationStrategy.path(r))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(r,i=""){return this.path()==this.normalize(r+nn(i))}normalize(r){return e.stripTrailingSlash(iM(this._basePath,OI(r)))}prepareExternalUrl(r){return r&&r[0]!=="/"&&(r="/"+r),this._locationStrategy.prepareExternalUrl(r)}go(r,i="",o=null){this._locationStrategy.pushState(o,"",r,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(r+nn(i)),o)}replaceState(r,i="",o=null){this._locationStrategy.replaceState(o,"",r,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(r+nn(i)),o)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(r=0){this._locationStrategy.historyGo?.(r)}onUrlChange(r){return this._urlChangeListeners.push(r),this._urlChangeSubscription??=this.subscribe(i=>{this._notifyUrlChangeListeners(i.url,i.state)}),()=>{let i=this._urlChangeListeners.indexOf(r);this._urlChangeListeners.splice(i,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(r="",i){this._urlChangeListeners.forEach(o=>o(r,i))}subscribe(r,i,o){return this._subject.subscribe({next:r,error:i,complete:o})}};e.normalizeQueryParams=nn,e.joinWithSlash=xf,e.stripTrailingSlash=xI,e.\u0275fac=function(i){return new(i||e)(N(an))},e.\u0275prov=C({token:e,factory:()=>rM(),providedIn:"root"});let t=e;return t})();function rM(){return new fi(N(an))}function iM(t,e){if(!t||!e.startsWith(t))return e;let n=e.substring(t.length);return n===""||["/",";","?","#"].includes(n[0])?n:e}function OI(t){return t.replace(/\/index.html$/,"")}function oM(t){if(new RegExp("^(https?:)?//").test(t)){let[,n]=t.split(/\/\/[^\/]+/);return n}return t}var WI={ADP:[void 0,void 0,0],AFN:[void 0,"\u060B",0],ALL:[void 0,void 0,0],AMD:[void 0,"\u058F",2],AOA:[void 0,"Kz"],ARS:[void 0,"$"],AUD:["A$","$"],AZN:[void 0,"\u20BC"],BAM:[void 0,"KM"],BBD:[void 0,"$"],BDT:[void 0,"\u09F3"],BHD:[void 0,void 0,3],BIF:[void 0,void 0,0],BMD:[void 0,"$"],BND:[void 0,"$"],BOB:[void 0,"Bs"],BRL:["R$"],BSD:[void 0,"$"],BWP:[void 0,"P"],BYN:[void 0,void 0,2],BYR:[void 0,void 0,0],BZD:[void 0,"$"],CAD:["CA$","$",2],CHF:[void 0,void 0,2],CLF:[void 0,void 0,4],CLP:[void 0,"$",0],CNY:["CN\xA5","\xA5"],COP:[void 0,"$",2],CRC:[void 0,"\u20A1",2],CUC:[void 0,"$"],CUP:[void 0,"$"],CZK:[void 0,"K\u010D",2],DJF:[void 0,void 0,0],DKK:[void 0,"kr",2],DOP:[void 0,"$"],EGP:[void 0,"E\xA3"],ESP:[void 0,"\u20A7",0],EUR:["\u20AC"],FJD:[void 0,"$"],FKP:[void 0,"\xA3"],GBP:["\xA3"],GEL:[void 0,"\u20BE"],GHS:[void 0,"GH\u20B5"],GIP:[void 0,"\xA3"],GNF:[void 0,"FG",0],GTQ:[void 0,"Q"],GYD:[void 0,"$",2],HKD:["HK$","$"],HNL:[void 0,"L"],HRK:[void 0,"kn"],HUF:[void 0,"Ft",2],IDR:[void 0,"Rp",2],ILS:["\u20AA"],INR:["\u20B9"],IQD:[void 0,void 0,0],IRR:[void 0,void 0,0],ISK:[void 0,"kr",0],ITL:[void 0,void 0,0],JMD:[void 0,"$"],JOD:[void 0,void 0,3],JPY:["\xA5",void 0,0],KHR:[void 0,"\u17DB"],KMF:[void 0,"CF",0],KPW:[void 0,"\u20A9",0],KRW:["\u20A9",void 0,0],KWD:[void 0,void 0,3],KYD:[void 0,"$"],KZT:[void 0,"\u20B8"],LAK:[void 0,"\u20AD",0],LBP:[void 0,"L\xA3",0],LKR:[void 0,"Rs"],LRD:[void 0,"$"],LTL:[void 0,"Lt"],LUF:[void 0,void 0,0],LVL:[void 0,"Ls"],LYD:[void 0,void 0,3],MGA:[void 0,"Ar",0],MGF:[void 0,void 0,0],MMK:[void 0,"K",0],MNT:[void 0,"\u20AE",2],MRO:[void 0,void 0,0],MUR:[void 0,"Rs",2],MXN:["MX$","$"],MYR:[void 0,"RM"],NAD:[void 0,"$"],NGN:[void 0,"\u20A6"],NIO:[void 0,"C$"],NOK:[void 0,"kr",2],NPR:[void 0,"Rs"],NZD:["NZ$","$"],OMR:[void 0,void 0,3],PHP:["\u20B1"],PKR:[void 0,"Rs",2],PLN:[void 0,"z\u0142"],PYG:[void 0,"\u20B2",0],RON:[void 0,"lei"],RSD:[void 0,void 0,0],RUB:[void 0,"\u20BD"],RWF:[void 0,"RF",0],SBD:[void 0,"$"],SEK:[void 0,"kr",2],SGD:[void 0,"$"],SHP:[void 0,"\xA3"],SLE:[void 0,void 0,2],SLL:[void 0,void 0,0],SOS:[void 0,void 0,0],SRD:[void 0,"$"],SSP:[void 0,"\xA3"],STD:[void 0,void 0,0],STN:[void 0,"Db"],SYP:[void 0,"\xA3",0],THB:[void 0,"\u0E3F"],TMM:[void 0,void 0,0],TND:[void 0,void 0,3],TOP:[void 0,"T$"],TRL:[void 0,void 0,0],TRY:[void 0,"\u20BA"],TTD:[void 0,"$"],TWD:["NT$","$",2],TZS:[void 0,void 0,2],UAH:[void 0,"\u20B4"],UGX:[void 0,void 0,0],USD:["$"],UYI:[void 0,void 0,0],UYU:[void 0,"$"],UYW:[void 0,void 0,4],UZS:[void 0,void 0,2],VEF:[void 0,"Bs",2],VND:["\u20AB",void 0,0],VUV:[void 0,void 0,0],XAF:["FCFA",void 0,0],XCD:["EC$","$"],XOF:["F\u202FCFA",void 0,0],XPF:["CFPF",void 0,0],XXX:["\xA4"],YER:[void 0,void 0,0],ZAR:[void 0,"R"],ZMK:[void 0,void 0,0],ZMW:[void 0,"ZK"],ZWD:[void 0,void 0,0]},GI=function(t){return t[t.Decimal=0]="Decimal",t[t.Percent=1]="Percent",t[t.Currency=2]="Currency",t[t.Scie
7ntific=3]="Scientific",t}(GI||{});var Te=function(t){return t[t.Format=0]="Format",t[t.Standalone=1]="Standalone",t}(Te||{}),Y=function(t){return t[t.Narrow=0]="Narrow",t[t.Abbreviated=1]="Abbreviated",t[t.Wide=2]="Wide",t[t.Short=3]="Short",t}(Y||{}),je=function(t){return t[t.Short=0]="Short",t[t.Medium=1]="Medium",t[t.Long=2]="Long",t[t.Full=3]="Full",t}(je||{}),Ue={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 sM(t){return Pe(t)[re.LocaleId]}function aM(t,e,n){let r=Pe(t),i=[r[re.DayPeriodsFormat],r[re.DayPeriodsStandalone]],o=Je(i,e);return Je(o,n)}function cM(t,e,n){let r=Pe(t),i=[r[re.DaysFormat],r[re.DaysStandalone]],o=Je(i,e);return Je(o,n)}function uM(t,e,n){let r=Pe(t),i=[r[re.MonthsFormat],r[re.MonthsStandalone]],o=Je(i,e);return Je(o,n)}function lM(t,e){let r=Pe(t)[re.Eras];return Je(r,e)}function ic(t,e){let n=Pe(t);return Je(n[re.DateFormat],e)}function oc(t,e){let n=Pe(t);return Je(n[re.TimeFormat],e)}function sc(t,e){let r=Pe(t)[re.DateTimeFormat];return Je(r,e)}function rn(t,e){let n=Pe(t),r=n[re.NumberSymbols][e];if(typeof r>"u"){if(e===Ue.CurrencyDecimal)return n[re.NumberSymbols][Ue.Decimal];if(e===Ue.CurrencyGroup)return n[re.NumberSymbols][Ue.Group]}return r}function dM(t,e){return Pe(t)[re.NumberFormats][e]}function fM(t){return Pe(t)[re.Currencies]}function qI(t){if(!t[re.ExtraData])throw new Error(`Missing extra locale data for the locale "${t[re.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function hM(t){let e=Pe(t);return qI(e),(e[re.ExtraData][2]||[]).map(r=>typeof r=="string"?If(r):[If(r[0]),If(r[1])])}function pM(t,e,n){let r=Pe(t);qI(r);let i=[r[re.ExtraData][0],r[re.ExtraData][1]],o=Je(i,e)||[];return Je(o,n)||[]}function Je(t,e){for(let n=e;n>-1;n--)if(typeof t[n]<"u")return t[n];throw new Error("Locale data API: locale data undefined")}function If(t){let[e,n]=t.split(":");return{hours:+e,minutes:+n}}function gM(t,e,n="en"){let r=fM(n)[t]||WI[t]||[],i=r[1];return e==="narrow"&&typeof i=="string"?i:r[0]||t}var mM=2;function vM(t){let e,n=WI[t];return n&&(e=n[2]),typeof e=="number"?e:mM}var yM=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,ac={},IM=/((?:[^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]*)/,on=function(t){return t[t.Short=0]="Short",t[t.ShortGMT=1]="ShortGMT",t[t.Long=2]="Long",t[t.Extended=3]="Extended",t}(on||{}),z=function(t){return t[t.FullYear=0]="FullYear",t[t.Month=1]="Month",t[t.Date=2]="Date",t[t.Hours=3]="Hours",t[t.Minutes=4]="Minutes",t[t.Seconds=5]="Seconds",t[t.FractionalSeconds=6]="FractionalSeconds",t[t.Day=7]="Day",t}(z||{}),H=function(t){return t[t.DayPeriods=0]="DayPeriods",t[t.Days=1]="Days",t[t.Months=2]="Months",t[t.Eras=3]="Eras",t}(H||{});function DM(t,e,n,r){let i=MM(t);e=tn(n,e)||e;let s=[],a;for(;e;)if(a=IM.exec(e),a){s=s.concat(a.slice(1));let l=s.pop();if(!l)break;e=l}else{s.push(e);break}let c=i.getTimezoneOffset();r&&(c=YI(r,c),i=AM(i,r,!0));let u="";return s.forEach(l=>{let d=SM(l);u+=d?d(i,n,c):l==="''"?"'":l.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),u}function hc(t,e,n){let r=new Date(0);return r.setFullYear(t,e,n),r.setHours(0,0,0),r}function tn(t,e){let n=sM(t);if(ac[n]??={},ac[n][e])return ac[n][e];let r="";switch(e){case"shortDate":r=ic(t,je.Short);break;case"mediumDate":r=ic(t,je.Medium);break;case"longDate":r=ic(t,je.Long);break;case"fullDate":r=ic(t,je.Full);break;case"shortTime":r=oc(t,je.Short);break;case"mediumTime":r=oc(t,je.Medium);break;case"longTime":r=oc(t,je.Long);break;case"fullTime":r=oc(t,je.Full);break;case"short":let i=tn(t,"shortTime"),o=tn(t,"shortDate");r=cc(sc(t,je.Short),[i,o]);break;case"medium":let s=tn(t,"mediumTime"),a=tn(t,"mediumDate");r=cc(sc(t,je.Medium),[s,a]);break;case"long":let c=tn(t,"longTime"),u=tn(t,"longDate");r=cc(sc(t,je.Long),[c,u]);break;case"full":let l=tn(t,"fullTime"),d=tn(t,"fullDate");r=cc(sc(t,je.Full),[l,d]);break}return r&&(ac[n][e]=r),r}function cc(t,e){return e&&(t=t.replace(/\{([^}]+)}/g,function(n,r){return e!=null&&r in e?e[r]:n})),t}function ht(t,e,n="-",r,i){let o="";
7(t<0||i&&t<=0)&&(i?t=-t+1:(t=-t,o=n));let s=String(t);for(;s.length<e;)s="0"+s;return r&&(s=s.slice(s.length-e)),o+s}function EM(t,e){return ht(t,3).substring(0,e)}function ae(t,e,n=0,r=!1,i=!1){return function(o,s){let a=wM(t,o);if((n>0||a>-n)&&(a+=n),t===z.Hours)a===0&&n===-12&&(a=12);else if(t===z.FractionalSeconds)return EM(a,e);let c=rn(s,Ue.MinusSign);return ht(a,e,c,r,i)}}function wM(t,e){switch(t){case z.FullYear:return e.getFullYear();case z.Month:return e.getMonth();case z.Date:return e.getDate();case z.Hours:return e.getHours();case z.Minutes:return e.getMinutes();case z.Seconds:return e.getSeconds();case z.FractionalSeconds:return e.getMilliseconds();case z.Day:return e.getDay();default:throw new Error(`Unknown DateType value "${t}".`)}}function J(t,e,n=Te.Format,r=!1){return function(i,o){return _M(i,o,t,e,n,r)}}function _M(t,e,n,r,i,o){switch(n){case H.Months:return uM(e,i,r)[t.getMonth()];case H.Days:return cM(e,i,r)[t.getDay()];case H.DayPeriods:let s=t.getHours(),a=t.getMinutes();if(o){let u=hM(e),l=pM(e,i,r),d=u.findIndex(h=>{if(Array.isArray(h)){let[f,g]=h,y=s>=f.hours&&a>=f.minutes,E=s<g.hours||s===g.hours&&a<g.minutes;if(f.hours<g.hours){if(y&&E)return!0}else if(y||E)return!0}else if(h.hours===s&&h.minutes===a)return!0;return!1});if(d!==-1)return l[d]}return aM(e,i,r)[s<12?0:1];case H.Eras:return lM(e,r)[t.getFullYear()<=0?0:1];default:let c=n;throw new Error(`unexpected translation type ${c}`)}}function uc(t){return function(e,n,r){let i=-1*r,o=rn(n,Ue.MinusSign),s=i>0?Math.floor(i/60):Math.ceil(i/60);switch(t){case on.Short:return(i>=0?"+":"")+ht(s,2,o)+ht(Math.abs(i%60),2,o);case on.ShortGMT:return"GMT"+(i>=0?"+":"")+ht(s,1,o);case on.Long:return"GMT"+(i>=0?"+":"")+ht(s,2,o)+":"+ht(Math.abs(i%60),2,o);case on.Extended:return r===0?"Z":(i>=0?"+":"")+ht(s,2,o)+":"+ht(Math.abs(i%60),2,o);default:throw new Error(`Unknown zone width "${t}"`)}}}var CM=0,dc=4;function bM(t){let e=hc(t,CM,1).getDay();return hc(t,0,1+(e<=dc?dc:dc+7)-e)}function ZI(t){let e=t.getDay(),n=e===0?-3:dc-e;return hc(t.getFullYear(),t.getMonth(),t.getDate()+n)}function Df(t,e=!1){return function(n,r){let i;if(e){let o=new Date(n.getFullYear(),n.getMonth(),1).getDay()-1,s=n.getDate();i=1+Math.floor((s+o)/7)}else{let o=ZI(n),s=bM(o.getFullYear()),a=o.getTime()-s.getTime();i=1+Math.round(a/6048e5)}return ht(i,t,rn(r,Ue.MinusSign))}}function lc(t,e=!1){return function(n,r){let o=ZI(n).getFullYear();return ht(o,t,rn(r,Ue.MinusSign),e)}}var Ef={};function SM(t){if(Ef[t])return Ef[t];let e;switch(t){case"G":case"GG":case"GGG":e=J(H.Eras,Y.Abbreviated);break;case"GGGG":e=J(H.Eras,Y.Wide);break;case"GGGGG":e=J(H.Eras,Y.Narrow);break;case"y":e=ae(z.FullYear,1,0,!1,!0);break;case"yy":e=ae(z.FullYear,2,0,!0,!0);break;case"yyy":e=ae(z.FullYear,3,0,!1,!0);break;case"yyyy":e=ae(z.FullYear,4,0,!1,!0);break;case"Y":e=lc(1);break;case"YY":e=lc(2,!0);break;case"YYY":e=lc(3);break;case"YYYY":e=lc(4);break;case"M":case"L":e=ae(z.Month,1,1);break;case"MM":case"LL":e=ae(z.Month,2,1);break;case"MMM":e=J(H.Months,Y.Abbreviated);break;case"MMMM":e=J(H.Months,Y.Wide);break;case"MMMMM":e=J(H.Months,Y.Narrow);break;case"LLL":e=J(H.Months,Y.Abbreviated,Te.Standalone);break;case"LLLL":e=J(H.Months,Y.Wide,Te.Standalone);break;case"LLLLL":e=J(H.Months,Y.Narrow,Te.Standalone);break;case"w":e=Df(1);break;case"ww":e=Df(2);break;case"W":e=Df(1,!0);break;case"d":e=ae(z.Date,1);break;case"dd":e=ae(z.Date,2);break;case"c":case"cc":e=ae(z.Day,1);break;case"ccc":e=J(H.Days,Y.Abbreviated,Te.Standalone);break;case"cccc":e=J(H.Days,Y.Wide,Te.Standalone);break;case"ccccc":e=J(H.Days,Y.Narrow,Te.Standalone);break;case"cccccc":e=J(H.Days,Y.Short,Te.Standalone);break;case"E":case"EE":case"EEE":e=J(H.Days,Y.Abbreviated);break;case"EEEE":e=J(H.Days,Y.Wide);break;case"EEEEE":e=J(H.Days,Y.Narrow);break;case"EEEEEE":e=J(H.Days,Y.Short);break;case"a":case"aa":case"aaa":e=J(H.DayPeriods,Y.Abbreviated);break;case"aaaa":e=J(H.DayPeriods,Y.Wide);break;case"aaaaa":e=J(H.DayPeriods,Y.Narrow);break;case"b":case"bb":case"bbb":e=J(H.DayPeriods,Y.Abbreviated,Te.Standalone,!0);break;case"bbbb":e=J(H.DayPeriods,Y.Wide,Te.Standalone,!0);break;case"bbbbb":e=J(H.DayPeriods,Y.Narrow,Te.Standalone,!0);break;case"B":case"BB":case"BBB":e=J(H.DayPeriods,Y.Abbreviated,Te.Format,!0);break;case"BBBB":e=J(H.DayPeriods,Y.Wide,Te.Format,!0);break;case"BBBBB":e=J(H.DayPeriods,Y.Narrow,Te.Format,!0);break;case"h":e=ae(z.Hours,1,-12);break;case"hh":e=ae(z.Hours,2,-12);break;case"H":e=ae(z.Hours,1);break;case"HH":e=ae(z.Hours,2);break;case"m":e=ae(z.Minutes,1);break;case"mm":e=ae(z.Minutes,2);break;case"s":e=ae(z.Seconds,1);break;case"ss":e=ae(z.Seconds,2);break;case"S":e=ae(z.FractionalSeconds,1);break;case"SS":e=ae(z.FractionalSeconds,2);break;case"SSS":e=ae(z.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":e=uc(on.Short);break;case"ZZZZZ":e=uc(on.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":e=uc(on.ShortGMT);break;
vendor: 6,123 bytes, line 7
7case"OOOO":case"ZZZZ":case"zzzz":e=uc(on.Long);break;default:return null}return Ef[t]=e,e}function YI(t,e){t=t.replace(/:/g,"");let n=Date.parse("Jan 01, 1970 00:00:00 "+t)/6e4;return isNaN(n)?e:n}function TM(t,e){return t=new Date(t.getTime()),t.setMinutes(t.getMinutes()+e),t}function AM(t,e,n){let r=n?-1:1,i=t.getTimezoneOffset(),o=YI(e,i);return TM(t,r*(o-i))}function MM(t){if(PI(t))return t;if(typeof t=="number"&&!isNaN(t))return new Date(t);if(typeof t=="string"){if(t=t.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(t)){let[i,o=1,s=1]=t.split("-").map(a=>+a);return hc(i,o-1,s)}let n=parseFloat(t);if(!isNaN(t-n))return new Date(n);let r;if(r=t.match(yM))return NM(r)}let e=new Date(t);if(!PI(e))throw new Error(`Unable to convert "${t}" into a date`);return e}function NM(t){let e=new Date(0),n=0,r=0,i=t[8]?e.setUTCFullYear:e.setFullYear,o=t[8]?e.setUTCHours:e.setHours;t[9]&&(n=Number(t[9]+t[10]),r=Number(t[9]+t[11])),i.call(e,Number(t[1]),Number(t[2])-1,Number(t[3]));let s=Number(t[4]||0)-n,a=Number(t[5]||0)-r,c=Number(t[6]||0),u=Math.floor(parseFloat("0."+(t[7]||0))*1e3);return o.call(e,s,a,c,u),e}function PI(t){return t instanceof Date&&!isNaN(t.valueOf())}var RM=/^(\d+)?\.((\d+)(-(\d+))?)?$/,kI=22,pc=".",go="0",xM=";",OM=",",wf="#",FI="\xA4";function PM(t,e,n,r,i,o,s=!1){let a="",c=!1;if(!isFinite(t))a=rn(n,Ue.Infinity);else{let u=VM(t);s&&(u=LM(u));let l=e.minInt,d=e.minFrac,h=e.maxFrac;if(o){let k=o.match(RM);if(k===null)throw new Error(`${o} is not a valid digit info`);let se=k[1],de=k[3],He=k[5];se!=null&&(l=_f(se)),de!=null&&(d=_f(de)),He!=null?h=_f(He):de!=null&&d>h&&(h=d)}jM(u,d,h);let f=u.digits,g=u.integerLen,y=u.exponent,E=[];for(c=f.every(k=>!k);g<l;g++)f.unshift(0);for(;g<0;g++)f.unshift(0);g>0?E=f.splice(g,f.length):(E=f,f=[0]);let b=[];for(f.length>=e.lgSize&&b.unshift(f.splice(-e.lgSize,f.length).join(""));f.length>e.gSize;)b.unshift(f.splice(-e.gSize,f.length).join(""));f.length&&b.unshift(f.join("")),a=b.join(rn(n,r)),E.length&&(a+=rn(n,i)+E.join("")),y&&(a+=rn(n,Ue.Exponential)+"+"+y)}return t<0&&!c?a=e.negPre+a+e.negSuf:a=e.posPre+a+e.posSuf,a}function kM(t,e,n,r,i){let o=dM(e,GI.Currency),s=FM(o,rn(e,Ue.MinusSign));return s.minFrac=vM(r),s.maxFrac=s.minFrac,PM(t,s,e,Ue.CurrencyGroup,Ue.CurrencyDecimal,i).replace(FI,n).replace(FI,"").trim()}function FM(t,e="-"){let n={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},r=t.split(xM),i=r[0],o=r[1],s=i.indexOf(pc)!==-1?i.split(pc):[i.substring(0,i.lastIndexOf(go)+1),i.substring(i.lastIndexOf(go)+1)],a=s[0],c=s[1]||"";n.posPre=a.substring(0,a.indexOf(wf));for(let l=0;l<c.length;l++){let d=c.charAt(l);d===go?n.minFrac=n.maxFrac=l+1:d===wf?n.maxFrac=l+1:n.posSuf+=d}let u=a.split(OM);if(n.gSize=u[1]?u[1].length:0,n.lgSize=u[2]||u[1]?(u[2]||u[1]).length:0,o){let l=i.length-n.posPre.length-n.posSuf.length,d=o.indexOf(wf);n.negPre=o.substring(0,d).replace(/'/g,""),n.negSuf=o.slice(d+l).replace(/'/g,"")}else n.negPre=e+n.posPre,n.negSuf=n.posSuf;return n}function LM(t){if(t.digits[0]===0)return t;let e=t.digits.length-t.integerLen;return t.exponent?t.exponent+=2:(e===0?t.digits.push(0,0):e===1&&t.digits.push(0),t.integerLen+=2),t}function VM(t){let e=Math.abs(t)+"",n=0,r,i,o,s,a;for((i=e.indexOf(pc))>-1&&(e=e.replace(pc,"")),(o=e.search(/e/i))>0?(i<0&&(i=o),i+=+e.slice(o+1),e=e.substring(0,o)):i<0&&(i=e.length),o=0;e.charAt(o)===go;o++);if(o===(a=e.length))r=[0],i=1;else{for(a--;e.charAt(a)===go;)a--;for(i-=o,r=[],s=0;o<=a;o++,s++)r[s]=Number(e.charAt(o))}return i>kI&&(r=r.splice(0,kI-1),n=i-1,i=1),{digits:r,exponent:n,integerLen:i}}function jM(t,e,n){if(e>n)throw new Error(`The minimum number of digits after fraction (${e}) is higher than the maximum (${n}).`);let r=t.digits,i=r.length-t.integerLen,o=Math.min(Math.max(e,i),n),s=o+t.integerLen,a=r[s];if(s>0){r.splice(Math.max(t.integerLen,s));for(let d=s;d<r.length;d++)r[d]=0}else{i=Math.max(0,i),t.integerLen=1,r.length=Math.max(1,s=o+1),r[0]=0;for(let d=1;d<s;d++)r[d]=0}if(a>=5)if(s-1<0){for(let d=0;d>s;d--)r.unshift(0),t.integerLen++;r.unshift(1),t.integerLen++}else r[s-1]++;for(;i<Math.max(0,o);i++)r.push(0);let c=o!==0,u=e+t.integerLen,l=r.reduceRight(function(d,h,f,g){return h=h+d,g[f]=h<10?h:h-10,c&&(g[f]===0&&f>=u?g.pop():c=!1),h>=10?1:0},0);l&&(r.unshift(l),t.integerLen++)}function _f(t){let e=parseInt(t);if(isNaN(e))throw new Error("Invalid integer literal when parsing "+t);return e}function KI(t,e){e=encodeURIComponent(e);for(let n of t.split(";")){let r=n.indexOf("="),[i,o]=r==-1?[n,""]:[n.slice(0,r),n.slice(r+1)];if(i.trim()===e)return decodeURIComponent(o)}return null}var Cf=/\s+/,LI=[],nW=(()=>{let e=class e{constructor(r,i){this._ngEl=r,this._renderer=i,this.initialClasses=LI,this.stateMap=new Map}set klass(r){this.initialClasses=r!=null?r.trim().split(Cf):LI}set ngClass(r){this.rawClass=typeof r=="string"?r.trim().split(Cf):r}ngDoCheck(){for(let i of this.initialClasses)this._updateState(i,!0);let r=this.rawClass;if(Array.isArray(r)||r instanceof Set)for(let i of r)this._updateState(i,!0);else if(r!=null)for(let i of Object.keys(r))this._updateState(i,!!r[i]);this._applyStateDiff()}_updateState(r,i){let o=this.stateMap.get(r);o!==void 0?(o.enabled!==i&&(o.changed=!0,o.enabled=i),o.touched=!0):this.stateMap.set(r,{enabled:i,changed:!0,touched:!0})}_applyStateDiff(){for(let r of this.stateMap){let i=r[0],o=r[1];o.changed?(this._toggleClass(i,o.enabled),o.changed=!1):o.touched||(o.enabled&&this._toggleClass(i,!1),this.stateMap.delete(i)),o.touched=!1}}_toggleClass(r,i){r=r.trim(),r.length>0&&r.split(Cf).forEach(o=>{i?this._renderer.addClass(this._ngEl.nativeElement,o):this._renderer.removeClass(this._ngEl.nativeElement,o)})}};e.\u0275fac=function(i){return new(i||e)(D(we),D(Qe))},e.\u0275dir=Q({type:e,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"},standalone:!0});let t=e;return t})();var bf=class{constructor(e,n,r,i){this.$implicit=e,this.ngForOf=n,this.index=r,this.count=i}get first(){return this.index===0}get last(){return this.index===this.count-1}get even(){return this.index%2===0}get odd(){return!this.even}}
7,rW=(()=>{let e=class e{set ngForOf(r){this._ngForOf=r,this._ngForOfDirty=!0}set ngForTrackBy(r){this._trackByFn=r}get ngForTrackBy(){return this._trackByFn}constructor(r,i,o){this._viewContainer=r,this._template=i,this._differs=o,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(r){r&&(this._template=r)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;let r=this._ngForOf;if(!this._differ&&r)if(0)try{}catch{}else this._differ=this._differs.find(r).create(this.ngForTrackBy)}if(this._differ){let r=this._differ.diff(this._ngForOf);r&&this._applyChanges(r)}}_applyChanges(r){let i=this._viewContainer;r.forEachOperation((o,s,a)=>{if(o.previousIndex==null)i.createEmbeddedView(this._template,new bf(o.item,this._ngForOf,-1,-1),a===null?void 0:a);else if(a==null)i.remove(s===null?void 0:s);else if(s!==null){let c=i.get(s);i.move(c,a),VI(c,o)}});for(let o=0,s=i.length;o<s;o++){let c=i.get(o).context;c.index=o,c.count=s,c.ngForOf=this._ngForOf}r.forEachIdentityChange(o=>{let s=i.get(o.currentIndex);VI(s,o)})}static ngTemplateContextGuard(r,i){return!0}};e.\u0275fac=function(i){return new(i||e)(D(Xt),D(gr),D(vf))},e.\u0275dir=Q({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0});let t=e;return t})();function VI(t,e){t.context.$implicit=e.item}var iW=(()=>{let e=class e{constructor(r,i){this._viewContainer=r,this._context=new Sf,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=i}set ngIf(r){this._context.$implicit=this._context.ngIf=r,this._updateView()}set ngIfThen(r){jI("ngIfThen",r),this._thenTemplateRef=r,this._thenViewRef=null,this._updateView()}set ngIfElse(r){jI("ngIfElse",r),this._elseTemplateRef=r,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(r,i){return!0}};e.\u0275fac=function(i){return new(i||e)(D(Xt),D(gr))},e.\u0275dir=Q({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0});let t=e;return t})(),Sf=class{constructor(){this.$implicit=null,this.ngIf=null}};function jI(t,e){if(!!!(!e||e.createEmbeddedView))throw new Error(`${t} must be a TemplateRef, but received '${Se(e)}'.`)}var oW=(()=>{let e=class e{constructor(r){this._viewContainerRef=r,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(r){if(this._shouldRecreateView(r)){let i=this._viewContainerRef;if(this._viewRef&&i.remove(i.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let o=this._createContextForwardProxy();this._viewRef=i.createEmbeddedView(this.ngTemplateOutlet,o,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(r){return!!r.ngTemplateOutlet||!!r.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(r,i,o)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,i,o):!1,get:(r,i,o)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,i,o)}})}};e.\u0275fac=function(i){return new(i||e)(D(Xt))},e.\u0275dir=Q({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[ut]});let t=e;return t})();function Pf(t,e){return new I(2100,!1)}var Tf=class{createSubscription(e,n){return ft(()=>e.subscribe({next:n,error:r=>{throw r}}))}dispose(e){ft(()=>e.unsubscribe())}},Af=class{createSubscription(e,n){return e.then(n,r=>{throw r})}dispose(e){}},UM=new Af,$M=new Tf,sW=(()=>{let e=class e{constructor(r){this._latestValue=null,this.markForCheckOnValueUpdate=!0,this._subscription=null,this._obj=null,this._strategy=null,this._ref=r}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(r){if(!this._obj){if(r)try{this.markForCheckOnValueUpdate=!1,this._subscribe(r)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return r!==this._obj?(this._dispose(),this.transform(r)):this._latestValue}_subscribe(r){this._obj=r,this._strategy=this._selectStrategy(r),this._subscription=this._strategy.createSubscription(r,i=>this._updateLatestValue(r,i))}_selectStrategy(r){if(Fn(r))return UM;if(mf(r))return $M;throw Pf(e,r)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(r,i){r===this._obj&&(this._latestValue=i,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}};e.\u0275fac=function(i){return new(i||e)(D(Ln,16))},e.\u0275pipe=Ma({name:"async",type:e,pure:!1,standalone:!0});let t=e;return t})();var BM="mediumDate",HM=new w(""),zM=new w(""),aW=(()=>{let e=class e{constructor(r,i,o){this.locale=r,this.defaultTimezone=i,this.defaultOptions=o}
7transform(r,i,o,s){if(r==null||r===""||r!==r)return null;try{let a=i??this.defaultOptions?.dateFormat??BM,c=o??this.defaultOptions?.timezone??this.defaultTimezone??void 0;return DM(r,a,s||this.locale,c)}catch(a){throw Pf(e,a.message)}}};e.\u0275fac=function(i){return new(i||e)(D(fo,16),D(HM,24),D(zM,24))},e.\u0275pipe=Ma({name:"date",type:e,pure:!0,standalone:!0});let t=e;return t})();var cW=(()=>{let e=class e{constructor(r,i="USD"){this._locale=r,this._defaultCurrencyCode=i}transform(r,i=this._defaultCurrencyCode,o="symbol",s,a){if(!WM(r))return null;a||=this._locale,typeof o=="boolean"&&(o=o?"symbol":"code");let c=i||this._defaultCurrencyCode;o!=="code"&&(o==="symbol"||o==="symbol-narrow"?c=gM(c,o==="symbol"?"wide":"narrow",a):c=o);try{let u=GM(r);return kM(u,a,c,i,s)}catch(u){throw Pf(e,u.message)}}};e.\u0275fac=function(i){return new(i||e)(D(fo,16),D(TI,16))},e.\u0275pipe=Ma({name:"currency",type:e,pure:!0,standalone:!0});let t=e;return t})();function WM(t){return!(t==null||t===""||t!==t)}function GM(t){if(typeof t=="string"&&!isNaN(Number(t)-parseFloat(t)))return Number(t);if(typeof t!="number")throw new Error(`${t} is not a number`);return t}var qM=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=On({type:e}),e.\u0275inj=xn({});let t=e;return t})(),kf="browser",ZM="server";function YM(t){return t===kf}function Ff(t){return t===ZM}var Lf=(()=>{let e=class e{};e.\u0275prov=C({token:e,providedIn:"root",factory:()=>YM(m(Tt))?new Mf(m(_e),window):new Nf});let t=e;return t})(),Mf=class{constructor(e,n){this.document=e,this.window=n,this.offset=()=>[0,0]}setOffset(e){Array.isArray(e)?this.offset=()=>e:this.offset=e}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(e){this.window.scrollTo(e[0],e[1])}scrollToAnchor(e){let n=KM(this.document,e);n&&(this.scrollToElement(n),n.focus())}setHistoryScrollRestoration(e){this.window.history.scrollRestoration=e}scrollToElement(e){let n=e.getBoundingClientRect(),r=n.left+this.window.pageXOffset,i=n.top+this.window.pageYOffset,o=this.offset();this.window.scrollTo(r-o[0],i-o[1])}};function KM(t,e){let n=t.getElementById(e)||t.getElementsByName(e)[0];if(n)return n;if(typeof t.createTreeWalker=="function"&&t.body&&typeof t.body.attachShadow=="function"){let r=t.createTreeWalker(t.body,NodeFilter.SHOW_ELEMENT),i=r.currentNode;for(;i;){let o=i.shadowRoot;if(o){let s=o.getElementById(e)||o.querySelector(`[name="${e}"]`);if(s)return s}i=r.nextNode()}}return null}var Nf=class{setOffset(e){}getScrollPosition(){return[0,0]}scrollToPosition(e){}scrollToAnchor(e){}setHistoryScrollRestoration(e){}},gc=class{};var Uf=class extends fc{constructor(){super(...arguments),this.supportsDOMEvents=!0}},$f=class t extends Uf{static makeCurrent(){$I(new t)}onAndCancel(e,n,r){return e.addEventListener(n,r),()=>{e.removeEventListener(n,r)}}dispatchEvent(e,n){e.dispatchEvent(n)}remove(e){e.remove()}createElement(e,n){return n=n||this.getDefaultDocument(),n.createElement(e)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(e){return e.nodeType===Node.ELEMENT_NODE}isShadowRoot(e){return e instanceof DocumentFragment}getGlobalEventTarget(e,n){return n==="window"?window:n==="document"?e:n==="body"?e.body:null}getBaseHref(e){let n=JM();return n==null?null:XM(n)}resetBaseElement(){mo=null}getUserAgent(){return window.navigator.userAgent}getCookie(e){return KI(document.cookie,e)}},mo=null;function JM(){return mo=mo||document.querySelector("base"),mo?mo.getAttribute("href"):null}function XM(t){return new URL(t,document.baseURI).pathname}var eN=(()=>{let e=class e{build(){return new XMLHttpRequest}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=C({token:e,factory:e.\u0275fac});let t=e;return t})(),mc=new w(""),eD=(()=>{let e=class e{constructor(r,i){this._zone=i,this._eventNameToPlugin=new Map,r.forEach(o=>{o.manager=this}),this._plugins=r.slice().reverse()}addEventListener(r,i,o){return this._findPluginFor(i).addEventListener(r,i,o)}getZone(){return this._zone}_findPluginFor(r){let i=this._eventNameToPlugin.get(r);if(i)return i;if(i=this._plugins.find(s=>s.supports(r)),!i)throw new I(5101,!1);return this._eventNameToPlugin.set(r,i),i}};e.\u0275fac=function(i){return new(i||e)(N(mc),N(G))},e.\u0275prov=C({token:e,factory:e.\u0275fac});let t=e;return t})(),vo=class{constructor(e){this._doc=e}},Vf="ng-app-id",tD=(()=>{let e=class e{constructor(r,i,o,s={}){this.doc=r,this.appId=i,this.nonce=o,this.platformId=s,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=Ff(s),this.resetHostNodes()}
7addStyles(r){for(let i of r)this.changeUsageCount(i,1)===1&&this.onStyleAdded(i)}removeStyles(r){for(let i of r)this.changeUsageCount(i,-1)<=0&&this.onStyleRemoved(i)}ngOnDestroy(){let r=this.styleNodesInDOM;r&&(r.forEach(i=>i.remove()),r.clear());for(let i of this.getAllStyles())this.onStyleRemoved(i);this.resetHostNodes()}addHost(r){this.hostNodes.add(r);for(let i of this.getAllStyles())this.addStyleToHost(r,i)}removeHost(r){this.hostNodes.delete(r)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(r){for(let i of this.hostNodes)this.addStyleToHost(i,r)}onStyleRemoved(r){let i=this.styleRef;i.get(r)?.elements?.forEach(o=>o.remove()),i.delete(r)}collectServerRenderedStyles(){let r=this.doc.head?.querySelectorAll(`style[${Vf}="${this.appId}"]`);if(r?.length){let i=new Map;return r.forEach(o=>{o.textContent!=null&&i.set(o.textContent,o)}),i}return null}changeUsageCount(r,i){let o=this.styleRef;if(o.has(r)){let s=o.get(r);return s.usage+=i,s.usage}return o.set(r,{usage:i,elements:[]}),i}getStyleElement(r,i){let o=this.styleNodesInDOM,s=o?.get(i);if(s?.parentNode===r)return o.delete(i),s.removeAttribute(Vf),s;{let a=this.doc.createElement("style");return this.nonce&&a.setAttribute("nonce",this.nonce),a.textContent=i,this.platformIsServer&&a.setAttribute(Vf,this.appId),r.appendChild(a),a}}addStyleToHost(r,i){let o=this.getStyleElement(r,i),s=this.styleRef,a=s.get(i)?.elements;a?a.push(o):s.set(i,{elements:[o],usage:1})}resetHostNodes(){let r=this.hostNodes;r.clear(),r.add(this.doc.head)}};e.\u0275fac=function(i){return new(i||e)(N(_e),N(zd),N(Gd,8),N(Tt))},e.\u0275prov=C({token:e,factory:e.\u0275fac});let t=e;return t})(),jf={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"},Hf=/%COMP%/g,nD="%COMP%",tN=`_nghost-${nD}`,nN=`_ngcontent-${nD}`,rN=!0,iN=new w("",{providedIn:"root",factory:()=>rN});function oN(t){return nN.replace(Hf,t)}function sN(t){return tN.replace(Hf,t)}function rD(t,e){return e.map(n=>n.replace(Hf,t))}var QI=(()=>{let e=class e{constructor(r,i,o,s,a,c,u,l=null){this.eventManager=r,this.sharedStylesHost=i,this.appId=o,this.removeStylesOnCompDestroy=s,this.doc=a,this.platformId=c,this.ngZone=u,this.nonce=l,this.rendererByCompId=new Map,this.platformIsServer=Ff(c),this.defaultRenderer=new yo(r,a,u,this.platformIsServer)}createRenderer(r,i){if(!r||!i)return this.defaultRenderer;this.platformIsServer&&i.encapsulation===_t.ShadowDom&&(i=$(v({},i),{encapsulation:_t.Emulated}));let o=this.getOrCreateRenderer(r,i);return o instanceof vc?o.applyToHost(r):o instanceof Io&&o.applyStyles(),o}getOrCreateRenderer(r,i){let o=this.rendererByCompId,s=o.get(i.id);if(!s){let a=this.doc,c=this.ngZone,u=this.eventManager,l=this.sharedStylesHost,d=this.removeStylesOnCompDestroy,h=this.platformIsServer;switch(i.encapsulation){case _t.Emulated:s=new vc(u,l,i,this.appId,d,a,c,h);break;case _t.ShadowDom:return new Bf(u,l,r,i,a,c,this.nonce,h);default:s=new Io(u,l,i,d,a,c,h);break}o.set(i.id,s)}return s}ngOnDestroy(){this.rendererByCompId.clear()}};e.\u0275fac=function(i){return new(i||e)(N(eD),N(tD),N(zd),N(iN),N(_e),N(Tt),N(G),N(Gd))},e.\u0275prov=C({token:e,factory:e.\u0275fac});let t=e;return t})(),yo=class{constructor(e,n,r,i){this.eventManager=e,this.doc=n,this.ngZone=r,this.platformIsServer=i,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(e,n){return n?this.doc.createElementNS(jf[n]||n,e):this.doc.createElement(e)}createComment(e){return this.doc.createComment(e)}createText(e){return this.doc.createTextNode(e)}appendChild(e,n){(JI(e)?e.content:e).appendChild(n)}insertBefore(e,n,r){e&&(JI(e)?e.content:e).insertBefore(n,r)}removeChild(e,n){n.remove()}selectRootElement(e,n){let r=typeof e=="string"?this.doc.querySelector(e):e;if(!r)throw new I(-5104,!1);return n||(r.textContent=""),r}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,n,r,i){if(i){n=i+":"+n;let o=jf[i];o?e.setAttributeNS(o,n,r):e.setAttribute(n,r)}else e.setAttribute(n,r)}removeAttribute(e,n,r){if(r){let i=jf[r];i?e.removeAttributeNS(i,n):e.removeAttribute(`${r}:${n}`)}else e.removeAttribute(n)}addClass(e,n){e.classList.add(n)}removeClass(e,n){e.classList.remove(n)}setStyle(e,n,r,i){i&(Wt.DashCase|Wt.Important)?e.style.setProperty(n,r,i&Wt.Important?"important":""):e.style[n]=r}removeStyle(e,n,r){r&Wt.DashCase?e.style.removeProperty(n):e.style[n]=""}setProperty(e,n,r){e!=null&&(e[n]=r)}setValue(e,n){e.nodeValue=n}listen(e,n,r){if(typeof e=="string"&&(e=sn().getGlobalEventTarget(this.doc,e),!e))throw new Error(`Unsupported event target ${e} for event ${n}`);return this.eventManager.addEventListener(e,n,this.decoratePreventDefault(r))}decoratePreventDefault(e){return n=>{if(n==="__ngUnwrap__")return e;(this.platformIsServer?this.ngZone.runGuarded(()=>e(n)):e(n))===!1&&n.preventDefault()}}};function JI(t){return t.tagName==="TEMPLATE"&&t.content!==void 0}var Bf=class extends yo{constructor(e,n,r,i,o,s,a,c){super(e,o,s,c),this.sharedStylesHost=n,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let u=rD(i.id,i.styles);for(let l of u){let d=document.createElement("style");a&&d.setAttribute("nonce",a),d.textContent=l,this.shadowRoot.appendChild(d)}}nodeOrShadowRoot(e){return e===this.hostEl?this.shadowRoot:e}appendChild(e,n){return super.appendChild(this.nodeOrShadowRoot(e),n)}insertBefore(e,n,r){return super.insertBefore(this.nodeOrShadowRoot(e),n,r)}removeChild(e,n){return super.removeChild(null,n)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},Io=class extends yo{constructor(e,n,r,i,o,s,a,c){super(e,o,s,a),this.sharedStylesHost=n,this.removeStylesOnCompDestroy=i,this.styles=c?rD(c,r.styles):r.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}},vc=class extends Io{constructor(e,n,r,i,o,s,a,c){let u=i+"-"+r.id;super(e,n,r,o,s,a,c,u),this.contentAttr=oN(u),this.hostAttr=sN(u)}applyToHost(e){this.applyStyles(),this.setAttribute(e,this.hostAttr,"")}createElement(e,n){let r=super.createElement(e,n);return super.setAttribute(r,this.contentAttr,""),r}},aN=(()=>{let e=class e extends vo{constructor(r){super(r)}supports(r){return!0}addEventListener(r,i,o){return r.addEventListener(i,o,!1),()=>this.removeEventListener(r,i,o)}removeEventListener(r,i,o){return r.removeEventListener(i,o)}};e.\u0275fac=function(i){return new(i||e)(N(_e))},e.\u0275prov=C({token:e,factory:e.\u0275fac});let t=e;return t})(),cN=(()=>{let e=class e extends vo{constructor(r){super(r),this.delegate=m(NI,{optional:!0})}supports(r){return this.delegate?this.delegate.supports(r):!1}addEventListener(r,i,o){return this.delegate.addEventListener(r,i,o)}removeEventListener(r,i,o){return this.delegate.removeEventListener(r,i,o)}};e.\u0275fac=function(i){return new(i||e)(N(_e))},e.\u0275prov=C({token:e,factory:e.\u0275fac});let t=e;return t})(),XI=["alt","control","meta","shift"],uN={"\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"},lN={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey},dN=(()=>{let e=class e extends vo{constructor(r){super(r)}supports(r){return e.parseEventName(r)!=null}addEventListener(r,i,o){let s=e.parseEventName(i),a=e.eventCallback(s.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>sn().onAndCancel(r,s.domEventName,a))}static parseEventName(r){let i=r.toLowerCase().split("."),o=i.shift();if(i.length===0||!(o==="keydown"||o==="keyup"))return null;let s=e._normalizeKey(i.pop()),a="",c=i.indexOf("code");if(c>
7-1&&(i.splice(c,1),a="code."),XI.forEach(l=>{let d=i.indexOf(l);d>-1&&(i.splice(d,1),a+=l+".")}),a+=s,i.length!=0||s.length===0)return null;let u={};return u.domEventName=o,u.fullKey=a,u}static matchEventFullKeyCode(r,i){let o=uN[r.key]||r.key,s="";return i.indexOf("code.")>-1&&(o=r.code,s="code."),o==null||!o?!1:(o=o.toLowerCase(),o===" "?o="space":o==="."&&(o="dot"),XI.forEach(a=>{if(a!==o){let c=lN[a];c(r)&&(s+=a+".")}}),s+=o,s===i)}static eventCallback(r,i,o){return s=>{e.matchEventFullKeyCode(s,r)&&o.runGuarded(()=>i(s))}}static _normalizeKey(r){return r==="esc"?"escape":r}};e.\u0275fac=function(i){return new(i||e)(N(_e))},e.\u0275prov=C({token:e,factory:e.\u0275fac});let t=e;return t})();function TW(t,e){return MI(v({rootComponent:t},fN(e)))}function fN(t){return{appProviders:[...vN,...t?.providers??[]],platformProviders:mN}}function hN(){$f.makeCurrent()}function pN(){return new Ht}function gN(){return Zv(document),document}var mN=[{provide:Tt,useValue:kf},{provide:Wd,useValue:hN,multi:!0},{provide:_e,useFactory:gN,deps:[]}];var vN=[{provide:Na,useValue:"root"},{provide:Ht,useFactory:pN,deps:[]},{provide:mc,useClass:aN,multi:!0,deps:[_e,G,Tt]},{provide:mc,useClass:dN,multi:!0,deps:[_e]},{provide:mc,useClass:cN,multi:!0},QI,tD,eD,{provide:ri,useExisting:QI},{provide:gc,useClass:eN,deps:[]},[]];var iD=(()=>{let e=class e{constructor(r){this._doc=r}getTitle(){return this._doc.title}setTitle(r){this._doc.title=r||""}};e.\u0275fac=function(i){return new(i||e)(N(_e))},e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var yN=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=C({token:e,factory:function(i){let o=null;return i?o=new(i||e):o=N(IN),o},providedIn:"root"});let t=e;return t})(),IN=(()=>{let e=class e extends yN{constructor(r){super(),this._doc=r}sanitize(r,i){if(i==null)return null;switch(r){case lt.NONE:return i;case lt.HTML:return Qt(i,"HTML")?Ke(i):Zd(this._doc,String(i)).toString();case lt.STYLE:return Qt(i,"Style")?Ke(i):i;case lt.SCRIPT:if(Qt(i,"Script"))return Ke(i);throw new I(5200,!1);case lt.URL:return Qt(i,"URL")?Ke(i):Ha(String(i));case lt.RESOURCE_URL:if(Qt(i,"ResourceURL"))return Ke(i);throw new I(5201,!1);default:throw new I(5202,!1)}}bypassSecurityTrustHtml(r){return Jv(r)}bypassSecurityTrustStyle(r){return Xv(r)}bypassSecurityTrustScript(r){return ey(r)}bypassSecurityTrustUrl(r){return ty(r)}bypassSecurityTrustResourceUrl(r){return ny(r)}};e.\u0275fac=function(i){return new(i||e)(N(_e))},e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var F="primary",Po=Symbol("RouteTitle"),Zf=class{constructor(e){this.params=e||{}}has(e){return Object.prototype.hasOwnProperty.call(this.params,e)}get(e){if(this.has(e)){let n=this.params[e];return Array.isArray(n)?n[0]:n}return null}getAll(e){if(this.has(e)){let n=this.params[e];return Array.isArray(n)?n:[n]}return[]}get keys(){return Object.keys(this.params)}};function yi(t){return new Zf(t)}function EN(t,e,n){let r=n.path.split("/");if(r.length>t.length||n.pathMatch==="full"&&(e.hasChildren()||r.length<t.length))return null;let i={};for(let o=0;o<r.length;o++){let s=r[o],a=t[o];if(s[0]===":")i[s.substring(1)]=a;else if(s!==a.path)return null}return{consumed:t.slice(0,r.length),posParams:i}}function wN(t,e){if(t.length!==e.length)return!1;for(let n=0;n<t.length;++n)if(!Mt(t[n],e[n]))return!1;return!0}function Mt(t,e){let n=t?Yf(t):void 0,r=e?Yf(e):void 0;if(!n||!r||n.length!=r.length)return!1;let i;for(let o=0;o<n.length;o++)if(i=n[o],!mD(t[i],e[i]))return!1;return!0}function Yf(t){return[...Object.keys(t),...Object.getOwnPropertySymbols(t)]}function mD(t,e){if(Array.isArray(t)&&Array.isArray(e)){if(t.length!==e.length)return!1;let n=[...t].sort(),r=[...e].sort();return n.every((i,o)=>r[o]===i)}else return t===e}function vD(t){return t.length>0?t[t.length-1]:null}function Un(t){return ju(t)?t:Fn(t)?q(Promise.resolve(t)):T(t)}var _N={exact:ID,subset:DD},yD={exact:CN,subset:bN,ignored:()=>!0};function oD(t,e,n){return _N[n.paths](t.root,e.root,n.matrixParams)&&yD[n.queryParams](t.queryParams,e.queryParams)&&!(n.fragment==="exact"&&t.fragment!==e.fragment)}function CN(t,e){return Mt(t,e)}function ID(t,e,n){if(!Er(t.segments,e.segments)||!Dc(t.segments,e.segments,n)||t.numberOfChildren!==e.numberOfChildren)return!1;for(let r in e.children)if(!t.children[r]||!ID(t.children[r],e.children[r],n))return!1;return!0}function bN(t,e){return Object.keys(e).length<=Object.keys(t).length&&Object.keys(e).every(n=>mD(t[n],e[n]))}function DD(t,e,n){return ED(t,e,e.segments,n)}function ED(t,e,n,r){if(t.segments.length>n.length){let i=t.segments.slice(0,n.length);
vendor: 11,632 bytes, line 7
7return!(!Er(i,n)||e.hasChildren()||!Dc(i,n,r))}else if(t.segments.length===n.length){if(!Er(t.segments,n)||!Dc(t.segments,n,r))return!1;for(let i in e.children)if(!t.children[i]||!DD(t.children[i],e.children[i],r))return!1;return!0}else{let i=n.slice(0,t.segments.length),o=n.slice(t.segments.length);return!Er(t.segments,i)||!Dc(t.segments,i,r)||!t.children[F]?!1:ED(t.children[F],e,o,r)}}function Dc(t,e,n){return e.every((r,i)=>yD[n](t[i].parameters,r.parameters))}var un=class{constructor(e=new W([],{}),n={},r=null){this.root=e,this.queryParams=n,this.fragment=r}get queryParamMap(){return this._queryParamMap??=yi(this.queryParams),this._queryParamMap}toString(){return AN.serialize(this)}},W=class{constructor(e,n){this.segments=e,this.children=n,this.parent=null,Object.values(n).forEach(r=>r.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Ec(this)}},Dr=class{constructor(e,n){this.path=e,this.parameters=n}get parameterMap(){return this._parameterMap??=yi(this.parameters),this._parameterMap}toString(){return _D(this)}};function SN(t,e){return Er(t,e)&&t.every((n,r)=>Mt(n.parameters,e[r].parameters))}function Er(t,e){return t.length!==e.length?!1:t.every((n,r)=>n.path===e[r].path)}function TN(t,e){let n=[];return Object.entries(t.children).forEach(([r,i])=>{r===F&&(n=n.concat(e(i,r)))}),Object.entries(t.children).forEach(([r,i])=>{r!==F&&(n=n.concat(e(i,r)))}),n}var _i=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=C({token:e,factory:()=>new Ii,providedIn:"root"});let t=e;return t})(),Ii=class{parse(e){let n=new Qf(e);return new un(n.parseRootSegment(),n.parseQueryParams(),n.parseFragment())}serialize(e){let n=`/${Do(e.root,!0)}`,r=RN(e.queryParams),i=typeof e.fragment=="string"?`#${MN(e.fragment)}`:"";return`${n}${r}${i}`}},AN=new Ii;function Ec(t){return t.segments.map(e=>_D(e)).join("/")}function Do(t,e){if(!t.hasChildren())return Ec(t);if(e){let n=t.children[F]?Do(t.children[F],!1):"",r=[];return Object.entries(t.children).forEach(([i,o])=>{i!==F&&r.push(`${i}:${Do(o,!1)}`)}),r.length>0?`${n}(${r.join("//")})`:n}else{let n=TN(t,(r,i)=>i===F?[Do(t.children[F],!1)]:[`${i}:${Do(r,!1)}`]);return Object.keys(t.children).length===1&&t.children[F]!=null?`${Ec(t)}/${n[0]}`:`${Ec(t)}/(${n.join("//")})`}}function wD(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function yc(t){return wD(t).replace(/%3B/gi,";")}function MN(t){return encodeURI(t)}function Kf(t){return wD(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function wc(t){return decodeURIComponent(t)}function sD(t){return wc(t.replace(/\+/g,"%20"))}function _D(t){return`${Kf(t.path)}${NN(t.parameters)}`}function NN(t){return Object.entries(t).map(([e,n])=>`;${Kf(e)}=${Kf(n)}`).join("")}function RN(t){let e=Object.entries(t).map(([n,r])=>Array.isArray(r)?r.map(i=>`${yc(n)}=${yc(i)}`).join("&"):`${yc(n)}=${yc(r)}`).filter(n=>n);return e.length?`?${e.join("&")}`:""}var xN=/^[^\/()?;#]+/;function zf(t){let e=t.match(xN);return e?e[0]:""}var ON=/^[^\/()?;=#]+/;function PN(t){let e=t.match(ON);return e?e[0]:""}var kN=/^[^=?&#]+/;function FN(t){let e=t.match(kN);return e?e[0]:""}var LN=/^[^&#]+/;function VN(t){let e=t.match(LN);return e?e[0]:""}var Qf=class{constructor(e){this.url=e,this.remaining=e}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new W([],{}):new W([],this.parseChildren())}parseQueryParams(){let e={};if(this.consumeOptional("?"))do this.parseQueryParam(e);while(this.consumeOptional("&"));return e}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");let e=[];for(this.peekStartsWith("(")||e.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),e.push(this.parseSegment());let n={};this.peekStartsWith("/(")&&(this.capture("/"),n=this.parseParens(!0));let r={};return this.peekStartsWith("(")&&(r=this.parseParens(!1)),(e.length>0||Object.keys(n).length>0)&&(r[F]=new W(e,n)),r}parseSegment(){let e=zf(this.remaining);if(e===""&&this.peekStartsWith(";"))throw new I(4009,!1);return this.capture(e),new Dr(wc(e),this.parseMatrixParams())}parseMatrixParams(){let e={};for(;this.consumeOptional(";");)this.parseParam(e);return e}parseParam(e){let n=PN(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){let i=zf(this.remaining);i&&(r=i,this.capture(r))}e[wc(n)]=wc(r)}parseQueryParam(e){let n=FN(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){let s=VN(this.remaining);s&&(r=s,this.capture(r))}let i=sD(n),o=sD(r);if(e.hasOwnProperty(i)){let s=e[i];Array.isArray(s)||(s=[s],e[i]=s),s.push(o)}else e[i]=o}parseParens(e){let n={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let r=zf(this.remaining),i=this.remaining[r.length];if(i!=="/"&&i!==")"&&i!==";")throw new I(4010,!1);let o;r.indexOf(":")>-1?(o=r.slice(0,r.indexOf(":")),this.capture(o),this.capture(":")):e&&(o=F);let s=this.parseChildren();n[o]=Object.keys(s).length===1?s[F]:new W([],s),this.consumeOptional("//")}return n}peekStartsWith(e){return this.remaining.startsWith(e)}consumeOptional(e){return this.peekStartsWith(e)?(this.remaining=this.remaining.substring(e.length),!0):!1}capture(e){if(!this.consumeOptional(e))throw new I(4011,!1)}};function CD(t){return t.segments.length>0?new W([],{[F]:t}):t}function bD(t){let e={};for(let[r,i]of Object.entries(t.children)){let o=bD(i);if(r===F&&o.segments.length===0&&o.hasChildren())for(let[s,a]of Object.entries(o.children))e[s]=a;else(o.segments.length>0||o.hasChildren())&&(e[r]=o)}let n=new W(t.segments,e);return jN(n)}function jN(t){if(t.numberOfChildren===1&&t.children[F]){let e=t.children[F];return new W(t.segments.concat(e.segments),e.children)}return t}function wr(t){return t instanceof un}function UN(t,e,n=null,r=null){let i=SD(t);return TD(i,e,n,r)}function SD(t){let e;function n(o){let s={};for(let c of o.children){let u=n(c);s[c.outlet]=u}let a=new W(o.url,s);return o===t&&(e=a),a}let r=n(t.root),i=CD(r);return e??i}function TD(t,e,n,r){let i=t;for(;i.parent;)i=i.parent;if(e.length===0)return Wf(i,i,i,n,r);let o=$N(e);if(o.toRoot())return Wf(i,i,new W([],{}),n,r);let s=BN(o,i,t),a=s.processChildren?_o(s.segmentGroup,s.index,o.commands):MD(s.segmentGroup,s.index,o.commands);return Wf(i,s.segmentGroup,a,n,r)}function _c(t){return typeof t=="object"&&t!=null&&!t.outlets&&!t.segmentPath}function So(t){return typeof t=="object"&&t!=null&&t.outlets}function Wf(t,e,n,r,i){let o={};r&&Object.entries(r).forEach(([c,u])=>{o[c]=Array.isArray(u)?u.map(l=>`${l}`):`${u}`});let s;t===e?s=n:s=AD(t,e,n);let a=CD(bD(s));return new un(a,o,i)}function AD(t,e,n){let r={};return Object.entries(t.children).forEach(([i,o])=>{o===e?r[i]=n:r[i]=AD(o,e,n)}),new W(t.segments,r)}var Cc=class{constructor(e,n,r){if(this.isAbsolute=e,this.numberOfDoubleDots=n,this.commands=r,e&&r.length>0&&_c(r[0]))throw new I(4003,!1);let i=r.find(So);if(i&&i!==vD(r))throw new I(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function $N(t){if(typeof t[0]=="string"&&t.length===1&&t[0]==="/")return new Cc(!0,0,t);let e=0,n=!1,r=t.reduce((i,o,s)=>{if(typeof o=="object"&&o!=null){if(o.outlets){let a={};return Object.entries(o.outlets).forEach(([c,u])=>{a[c]=typeof u=="string"?u.split("/"):u}),[...i,{outlets:a}]}if(o.segmentPath)return[...i,o.segmentPath]}return typeof o!="string"?[...i,o]:s===0?(o.split("/").forEach((a,c)=>{c==0&&a==="."||(c==0&&a===""?n=!0:a===".."?e++:a!=""&&i.push(a))}),i):[...i,o]},[]);return new Cc(n,e,r)}var gi=class{constructor(e,n,r){this.segmentGroup=e,this.processChildren=n,this.index=r}};function BN(t,e,n){if(t.isAbsolute)return new gi(e,!0,0);if(!n)return new gi(e,!1,NaN);if(n.parent===null)return new gi(n,!0,0);let r=_c(t.commands[0])?0:1,i=n.segments.length-1+r;return HN(n,i,t.numberOfDoubleDots)}function HN(t,e,n){let r=t,i=e,o=n;for(;o>i;){if(o-=i,r=r.parent,!r)throw new I(4005,!1);i=r.segments.length}return new gi(r,!1,i-o)}function zN(t){return So(t[0])?t[0].outlets:{[F]:t}}function MD(t,e,n){if(t??=new W([],{}),t.segments.length===0&&t.hasChildren())return _o(t,e,n);let r=WN(t,e,n),i=n.slice(r.commandIndex);if(r.match&&r.pathIndex<t.segments.length){let o=new W(t.segments.slice(0,r.pathIndex),{});return o.children[F]=new W(t.segments.slice(r.pathIndex),t.children),_o(o,0,i)}else return r.match&&i.length===0?new W(t.segments,{}):r.match&&!t.hasChildren()?Jf(t,e,n):r.match?_o(t,0,i):Jf(t,e,n)}function _o(t,e,n){if(n.length===0)return new W(t.segments,{});{let r=zN(n),i={};if(Object.keys(r).some(o=>o!==F)&&t.children[F]&&t.numberOfChildren===1&&t.children[F].segments.length===0){let o=_o(t.children[F],e,n);return new W(t.segments,o.children)}return Object.entries(r).forEach(([o,s])=>{typeof s=="string"&&(s=[s]),s!==null&&(i[o]=MD(t.children[o],e,s))}),Object.entries(t.children).forEach(([o,s])=>{r[o]===void 0&&(i[o]=s)}),new W(t.segments,i)}}function WN(t,e,n){let r=0,i=e,o={match:!1,pathIndex:0,commandIndex:0};for(;i<t.segments.length;){if(r>=n.length)return o;let s=t.segments[i],a=n[r];if(So(a))break;let c=`${a}`,u=r<n.length-1?n[r+1]:null;if(i>0&&c===void 0)break;if(c&&u&&typeof u=="object"&&u.outlets===void 0){if(!cD(c,u,s))return o;r+=2}else{if(!cD(c,{},s))return o;r++}i++}return{match:!0,pathIndex:i,commandIndex:r}}function Jf(t,e,n){let r=t.segments.slice(0,e),i=0;for(;i<n.length;){let o=n[i];if(So(o)){let c=GN(o.outlets);return new W(r,c)}if(i===0&&_c(n[0])){let c=t.segments[e];r.push(new Dr(c.path,aD(n[0]))),i++;continue}let s=So(o)?o.outlets[F]:`${o}`,a=i<n.length-1?n[i+1]:null;s&&a&&_c(a)?(r.push(new Dr(s,aD(a))),i+=2):(r.push(new Dr(s,{})),i++)}return new W(r,{})}function GN(t){let e={};return Object.entries(t).forEach(([n,r])=>{typeof r=="string"&&(r=[r]),r!==null&&(e[n]=Jf(new W([],{}),0,r))}),e}function aD(t){let e={};return Object.entries(t).forEach(([n,r])=>e[n]=`${r}`),e}function cD(t,e,n){return t==n.path&&Mt(e,n.parameters)}var Co="imperative",fe=function(t){return t[t.NavigationStart=0]="NavigationStart",t[t.NavigationEnd=1]="NavigationEnd",t[t.NavigationCancel=2]="NavigationCancel",t[t.NavigationError=3]="NavigationError",t[t.RoutesRecognized=4]="RoutesRecognized",t[t.ResolveStart=5]="ResolveStart",t[t.ResolveEnd=6]="ResolveEnd",t[t.GuardsCheckStart=7]="GuardsCheckStart",t[t.GuardsCheckEnd=8]="GuardsCheckEnd",t[t.RouteConfigLoadStart=9]="RouteConfigLoadStart",t[t.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",t[t.ChildActivationStart=11]="ChildActivationStart",t[t.ChildActivationEnd=12]="ChildActivationEnd",t[t.ActivationStart=13]="ActivationStart",t[t.ActivationEnd=14]="ActivationEnd",t[t.Scroll=15]="Scroll",t[t.NavigationSkipped=16]="NavigationSkipped",t}(fe||{}),Xe=class{constructor(e,n){this.id=e,this.url=n}},Di=class extends Xe{constructor(e,n,r="imperative",i=null){super(e,n),this.type=fe.NavigationStart,this.navigationTrigger=r,this.restoredState=i}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},gt=class extends Xe{constructor(e,n,r){super(e,n),this.urlAfterRedirects=r,this.type=fe.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},Be=function(t){return t[t.Redirect=0]="Redirect",t[t.SupersededByNewNavigation=1]="SupersededByNewNavigation",t[t.NoDataFromRe
7solver=2]="NoDataFromResolver",t[t.GuardRejected=3]="GuardRejected",t}(Be||{}),bc=function(t){return t[t.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",t[t.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",t}(bc||{}),cn=class extends Xe{constructor(e,n,r,i){super(e,n),this.reason=r,this.code=i,this.type=fe.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},Vn=class extends Xe{constructor(e,n,r,i){super(e,n),this.reason=r,this.code=i,this.type=fe.NavigationSkipped}},To=class extends Xe{constructor(e,n,r,i){super(e,n),this.error=r,this.target=i,this.type=fe.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},Sc=class extends Xe{constructor(e,n,r,i){super(e,n),this.urlAfterRedirects=r,this.state=i,this.type=fe.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Xf=class extends Xe{constructor(e,n,r,i){super(e,n),this.urlAfterRedirects=r,this.state=i,this.type=fe.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},eh=class extends Xe{constructor(e,n,r,i,o){super(e,n),this.urlAfterRedirects=r,this.state=i,this.shouldActivate=o,this.type=fe.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},th=class extends Xe{constructor(e,n,r,i){super(e,n),this.urlAfterRedirects=r,this.state=i,this.type=fe.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},nh=class extends Xe{constructor(e,n,r,i){super(e,n),this.urlAfterRedirects=r,this.state=i,this.type=fe.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},rh=class{constructor(e){this.route=e,this.type=fe.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},ih=class{constructor(e){this.route=e,this.type=fe.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},oh=class{constructor(e){this.snapshot=e,this.type=fe.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},sh=class{constructor(e){this.snapshot=e,this.type=fe.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},ah=class{constructor(e){this.snapshot=e,this.type=fe.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},ch=class{constructor(e){this.snapshot=e,this.type=fe.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Tc=class{constructor(e,n,r){this.routerEvent=e,this.position=n,this.anchor=r,this.type=fe.Scroll}toString(){let e=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${e}')`}},Ao=class{},Ei=class{constructor(e,n){this.url=e,this.navigationBehaviorOptions=n}};function qN(t,e){return t.providers&&!t._injector&&(t._injector=Ka(t.providers,e,`Route: ${t.path}`)),t._injector??e}function pt(t){return t.outlet||F}function ZN(t,e){let n=t.filter(r=>pt(r)===e);return n.push(...t.filter(r=>pt(r)!==e)),n}function ko(t){if(!t)return null;if(t.routeConfig?._injector)return t.routeConfig._injector;for(let e=t.parent;e;e=e.parent){let n=e.routeConfig;if(n?._loadedInjector)return n._loadedInjector;if(n?._injector)return n._injector}return null}var uh=class{get injector(){return ko(this.route?.snapshot)??this.rootInjector}set injector(e){}constructor(e){this.rootInjector=e,this.outlet=null,this.route=null,this.children=new Fo(this.rootInjector),this.attachRef=null}},Fo=(()=>{let e=class e{constructor(r){this.rootInjector=r,this.contexts=new Map}onChildOutletCreated(r,i){let o=this.getOrCreateContext(r);o.outlet=i,this.contexts.set(r,o)}onChildOutletDestroyed(r){let i=this.getContext(r);i&&(i.outlet=null,i.attachRef=null)}onOutletDeactivated(){let r=this.contexts;return this.contexts=new Map,r}onOutletReAttached(r){this.contexts=r}getOrCreateContext(r){let i=this.getContext(r);
7return i||(i=new uh(this.rootInjector),this.contexts.set(r,i)),i}getContext(r){return this.contexts.get(r)||null}};e.\u0275fac=function(i){return new(i||e)(N(Le))},e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Ac=class{constructor(e){this._root=e}get root(){return this._root.value}parent(e){let n=this.pathFromRoot(e);return n.length>1?n[n.length-2]:null}children(e){let n=lh(e,this._root);return n?n.children.map(r=>r.value):[]}firstChild(e){let n=lh(e,this._root);return n&&n.children.length>0?n.children[0].value:null}siblings(e){let n=dh(e,this._root);return n.length<2?[]:n[n.length-2].children.map(i=>i.value).filter(i=>i!==e)}pathFromRoot(e){return dh(e,this._root).map(n=>n.value)}};function lh(t,e){if(t===e.value)return e;for(let n of e.children){let r=lh(t,n);if(r)return r}return null}function dh(t,e){if(t===e.value)return[e];for(let n of e.children){let r=dh(t,n);if(r.length)return r.unshift(e),r}return[]}var $e=class{constructor(e,n){this.value=e,this.children=n}toString(){return`TreeNode(${this.value})`}};function pi(t){let e={};return t&&t.children.forEach(n=>e[n.value.outlet]=n),e}var Mc=class extends Ac{constructor(e,n){super(e),this.snapshot=n,Dh(this,e)}toString(){return this.snapshot.toString()}};function ND(t){let e=YN(t),n=new ge([new Dr("",{})]),r=new ge({}),i=new ge({}),o=new ge({}),s=new ge(""),a=new jn(n,r,o,s,i,F,t,e.root);return a.snapshot=e.root,new Mc(new $e(a,[]),e)}function YN(t){let e={},n={},r={},i="",o=new mi([],e,r,i,n,F,t,null,{});return new Rc("",new $e(o,[]))}var jn=class{constructor(e,n,r,i,o,s,a,c){this.urlSubject=e,this.paramsSubject=n,this.queryParamsSubject=r,this.fragmentSubject=i,this.dataSubject=o,this.outlet=s,this.component=a,this._futureSnapshot=c,this.title=this.dataSubject?.pipe(U(u=>u[Po]))??T(void 0),this.url=e,this.params=n,this.queryParams=r,this.fragment=i,this.data=o}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe(U(e=>yi(e))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(U(e=>yi(e))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function Nc(t,e,n="emptyOnly"){let r,{routeConfig:i}=t;return e!==null&&(n==="always"||i?.path===""||!e.component&&!e.routeConfig?.loadComponent)?r={params:v(v({},e.params),t.params),data:v(v({},e.data),t.data),resolve:v(v(v(v({},t.data),e.data),i?.data),t._resolvedData)}:r={params:v({},t.params),data:v({},t.data),resolve:v(v({},t.data),t._resolvedData??{})},i&&xD(i)&&(r.resolve[Po]=i.title),r}var mi=class{get title(){return this.data?.[Po]}constructor(e,n,r,i,o,s,a,c,u){this.url=e,this.params=n,this.queryParams=r,this.fragment=i,this.data=o,this.outlet=s,this.component=a,this.routeConfig=c,this._resolve=u}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=yi(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=yi(this.queryParams),this._queryParamMap}toString(){let e=this.url.map(r=>r.toString()).join("/"),n=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${e}', path:'${n}')`}},Rc=class extends Ac{constructor(e,n){super(n),this.url=e,Dh(this,n)}toString(){return RD(this._root)}};function Dh(t,e){e.value._routerState=t,e.children.forEach(n=>Dh(t,n))}function RD(t){let e=t.children.length>0?` { ${t.children.map(RD).join(", ")} } `:"";return`${t.value}${e}`}function Gf(t){if(t.snapshot){let e=t.snapshot,n=t._futureSnapshot;t.snapshot=n,Mt(e.queryParams,n.queryParams)||t.queryParamsSubject.next(n.queryParams),e.fragment!==n.fragment&&t.fragmentSubject.next(n.fragment),Mt(e.params,n.params)||t.paramsSubject.next(n.params),wN(e.url,n.url)||t.urlSubject.next(n.url),Mt(e.data,n.data)||t.dataSubject.next(n.data)}else t.snapshot=t._futureSnapshot,t.dataSubject.next(t._futureSnapshot.data)}function fh(t,e){let n=Mt(t.params,e.params)&&SN(t.url,e.url),r=!t.parent!=!e.parent;return n&&!r&&(!t.parent||fh(t.parent,e.parent))}function xD(t){return typeof t.title=="string"||t.title===null}var KN=(()=>{let e=class e{constructor(){this.activated=null,this._activatedRoute=null,this.name=F,this.activateEvents=new ne,this.deactivateEvents=new ne,this.attachEvents=new ne,this.detachEvents=new ne,this.parentContexts=m(Fo),this.location=m(Xt),this.changeDetector=m(Ln),this.inputBinder=m(kc,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(r){if(r.name){let{firstChange:i,previousValue:o}=r.name;if(i)return;this.isTrackedInParentContexts(o)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(o)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(r){return this.parentContexts.getContext(r)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let r=this.parentContexts.getContext(this.name);r?.route&&(r.attachRef?this.attach(r.attachRef,r.route):this.activateWith(r.route,r.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new I(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new I(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new I(4012,!1);this.location.detach();let r=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(r.instance),r}attach(r,i){this.activated=r,this._activatedRoute=i,this.location.insert(r.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(r.instance)}deactivate(){if(this.activated){let r=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(r)}}activateWith(r,i){if(this.isActivated)throw new I(4013,!1);this._activatedRoute=r;let o=this.location,a=r.snapshot.component,c=this.parentContexts.getOrCreateContext(this.name).children,u=new hh(r,c,o.injector);this.activated=o.createComponent(a,{index:o.length,injector:u,environmentInjector:i}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275dir=Q({type:e,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[ut]});let t=e;return t})(),hh=class t{__ngOutletInjector(e){return new t(this.route,this.childContexts,e)}constructor(e,n,r){this.route=e,this.childContexts=n,this.parent=r}get(e,n){return e===jn?this.route:e===Fo?this.childContexts:this.parent.get(e,n)}},kc=new w(""),uD=(()=>{let e=class e{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(r){this.unsubscribeFromRouteData(r),this.subscribeToRouteData(r)}unsubscribeFromRouteData(r){this.outletDataSubscriptions.get(r)?.unsubscribe(),this.outletDataSubscriptions.delete(r)}
vendor: 8,985 bytes, line 7
7subscribeToRouteData(r){let{activatedRoute:i}=r,o=Wi([i.queryParams,i.params,i.data]).pipe(Fe(([s,a,c],u)=>(c=v(v(v({},s),a),c),u===0?T(c):Promise.resolve(c)))).subscribe(s=>{if(!r.isActivated||!r.activatedComponentRef||r.activatedRoute!==i||i.component===null){this.unsubscribeFromRouteData(r);return}let a=RI(i.component);if(!a){this.unsubscribeFromRouteData(r);return}for(let{templateName:c}of a.inputs)r.activatedComponentRef.setInput(c,s[c])});this.outletDataSubscriptions.set(r,o)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=C({token:e,factory:e.\u0275fac});let t=e;return t})();function QN(t,e,n){let r=Mo(t,e._root,n?n._root:void 0);return new Mc(r,e)}function Mo(t,e,n){if(n&&t.shouldReuseRoute(e.value,n.value.snapshot)){let r=n.value;r._futureSnapshot=e.value;let i=JN(t,e,n);return new $e(r,i)}else{if(t.shouldAttach(e.value)){let o=t.retrieve(e.value);if(o!==null){let s=o.route;return s.value._futureSnapshot=e.value,s.children=e.children.map(a=>Mo(t,a)),s}}let r=XN(e.value),i=e.children.map(o=>Mo(t,o));return new $e(r,i)}}function JN(t,e,n){return e.children.map(r=>{for(let i of n.children)if(t.shouldReuseRoute(r.value,i.value.snapshot))return Mo(t,r,i);return Mo(t,r)})}function XN(t){return new jn(new ge(t.url),new ge(t.params),new ge(t.queryParams),new ge(t.fragment),new ge(t.data),t.outlet,t.component,t)}var No=class{constructor(e,n){this.redirectTo=e,this.navigationBehaviorOptions=n}},OD="ngNavigationCancelingError";function xc(t,e){let{redirectTo:n,navigationBehaviorOptions:r}=wr(e)?{redirectTo:e,navigationBehaviorOptions:void 0}:e,i=PD(!1,Be.Redirect);return i.url=n,i.navigationBehaviorOptions=r,i}function PD(t,e){let n=new Error(`NavigationCancelingError: ${t||""}`);return n[OD]=!0,n.cancellationCode=e,n}function eR(t){return kD(t)&&wr(t.url)}function kD(t){return!!t&&t[OD]}var tR=(t,e,n,r)=>U(i=>(new ph(e,i.targetRouterState,i.currentRouterState,n,r).activate(t),i)),ph=class{constructor(e,n,r,i,o){this.routeReuseStrategy=e,this.futureState=n,this.currState=r,this.forwardEvent=i,this.inputBindingEnabled=o}activate(e){let n=this.futureState._root,r=this.currState?this.currState._root:null;this.deactivateChildRoutes(n,r,e),Gf(this.futureState.root),this.activateChildRoutes(n,r,e)}deactivateChildRoutes(e,n,r){let i=pi(n);e.children.forEach(o=>{let s=o.value.outlet;this.deactivateRoutes(o,i[s],r),delete i[s]}),Object.values(i).forEach(o=>{this.deactivateRouteAndItsChildren(o,r)})}deactivateRoutes(e,n,r){let i=e.value,o=n?n.value:null;if(i===o)if(i.component){let s=r.getContext(i.outlet);s&&this.deactivateChildRoutes(e,n,s.children)}else this.deactivateChildRoutes(e,n,r);else o&&this.deactivateRouteAndItsChildren(n,r)}deactivateRouteAndItsChildren(e,n){e.value.component&&this.routeReuseStrategy.shouldDetach(e.value.snapshot)?this.detachAndStoreRouteSubtree(e,n):this.deactivateRouteAndOutlet(e,n)}detachAndStoreRouteSubtree(e,n){let r=n.getContext(e.value.outlet),i=r&&e.value.component?r.children:n,o=pi(e);for(let s of Object.values(o))this.deactivateRouteAndItsChildren(s,i);if(r&&r.outlet){let s=r.outlet.detach(),a=r.children.onOutletDeactivated();this.routeReuseStrategy.store(e.value.snapshot,{componentRef:s,route:e,contexts:a})}}deactivateRouteAndOutlet(e,n){let r=n.getContext(e.value.outlet),i=r&&e.value.component?r.children:n,o=pi(e);for(let s of Object.values(o))this.deactivateRouteAndItsChildren(s,i);r&&(r.outlet&&(r.outlet.deactivate(),r.children.onOutletDeactivated()),r.attachRef=null,r.route=null)}activateChildRoutes(e,n,r){let i=pi(n);e.children.forEach(o=>{this.activateRoutes(o,i[o.value.outlet],r),this.forwardEvent(new ch(o.value.snapshot))}),e.children.length&&this.forwardEvent(new sh(e.value.snapshot))}activateRoutes(e,n,r){let i=e.value,o=n?n.value:null;if(Gf(i),i===o)if(i.component){let s=r.getOrCreateContext(i.outlet);this.activateChildRoutes(e,n,s.children)}else this.activateChildRoutes(e,n,r);else if(i.component){let s=r.getOrCreateContext(i.outlet);if(this.routeReuseStrategy.shouldAttach(i.snapshot)){let a=this.routeReuseStrategy.retrieve(i.snapshot);this.routeReuseStrategy.store(i.snapshot,null),s.children.onOutletReAttached(a.contexts),s.attachRef=a.componentRef,s.route=a.route.value,s.outlet&&s.outlet.attach(a.componentRef,a.route.value),Gf(a.route.value),this.activateChildRoutes(e,null,s.children)}else s.attachRef=null,s.route=i,s.outlet&&s.outlet.activateWith(i,s.injector),this.activateChildRoutes(e,null,s.children)}else this.activateChildRoutes(e,null,r)}},Oc=class{constructor(e){this.path=e,this.route=this.path[this.path.length-1]}},vi=class{constructor(e,n){this.component=e,this.route=n}};function nR(t,e,n){let r=t._root,i=e?e._root:null;return Eo(r,i,n,[r.value])}function rR(t){let e=t.routeConfig?t.routeConfig.canActivateChild:null;return!e||e.length===0?null:{node:t,guards:e}}function Ci(t,e){let n=Symbol(),r=e.get(t,n);return r===n?typeof t=="function"&&!Pm(t)?t:e.get(t):r}function Eo(t,e,n,r,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=pi(e);return t.children.forEach(s=>{iR(s,o[s.value.outlet],n,r.concat([s.value]),i),delete o[s.value.outlet]}),Object.entries(o).forEach(([s,a])=>bo(a,n.getContext(s),i)),i}function iR(t,e,n,r,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=t.value,s=e?e.value:null,a=n?n.getContext(t.value.outlet):null;if(s&&o.routeConfig===s.routeConfig){let c=oR(s,o,o.routeConfig.runGuardsAndResolvers);c?i.canActivateChecks.push(new Oc(r)):(o.data=s.data,o._resolvedData=s._resolvedData),o.component?Eo(t,e,a?a.children:null,r,i):Eo(t,e,n,r,i),c&&a&&a.outlet&&a.outlet.isActivated&&i.canDeactivateChecks.push(new vi(a.outlet.component,s))}else s&&bo(e,a,i),i.canActivateChecks.push(new Oc(r)),o.component?Eo(t,null,a?a.children:null,r,i):Eo(t,null,n,r,i);return i}function oR(t,e,n){if(typeof n=="function")return n(t,e);switch(n){case"pathParamsChange":return!Er(t.url,e.url);case"pathParamsOrQueryParamsChange":return!Er(t.url,e.url)||!Mt(t.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!fh(t,e)||!Mt(t.queryParams,e.queryParams);case"paramsChange":default:return!fh(t,e)}}function bo(t,e,n){let r=pi(t),i=t.value;Object.entries(r).forEach(([o,s])=>{i.component?e?bo(s,e.children.getContext(o),n):bo(s,null,n):bo(s,e,n)}),i.component?e&&e.outlet&&e.outlet.isActivated?n.canDeactivateChecks.push(new vi(e.outlet.component,i)):n.canDeactivateChecks.push(new vi(null,i)):n.canDeactivateChecks.push(new vi(null,i))}function Lo(t){return typeof t=="function"}function sR(t){return typeof t=="boolean"}function aR(t){return t&&Lo(t.canLoad)}function cR(t){return t&&Lo(t.canActivate)}function uR(t){return t&&Lo(t.canActivateChild)}function lR(t){return t&&Lo(t.canDeactivate)}function dR(t){return t&&Lo(t.canMatch)}function FD(t){return t instanceof nt||t?.name==="EmptyError"}var Ic=Symbol("INITIAL_VALUE");function wi(){return Fe(t=>Wi(t.map(e=>e.pipe(Ge(1),Gu(Ic)))).pipe(U(e=>{for(let n of e)if(n!==!0){if(n===Ic)return Ic;if(n===!1||fR(n))return n}return!0}),We(e=>e!==Ic),Ge(1)))}function fR(t){return wr(t)||t instanceof No}function hR(t,e){return te(n=>{let{targetSnapshot:r,currentSnapshot:i,guards:{canActivateChecks:o,canDeactivateChecks:s}}=n;return s.length===0&&o.length===0?T($(v({},n),{guardsResult:!0})):pR(s,r,i,t).pipe(te(a=>a&&sR(a)?gR(r,o,t,e):T(a)),U(a=>$(v({},n),{guardsResult:a})))})}function pR(t,e,n,r){return q(t).pipe(te(i=>DR(i.component,i.route,n,e,r)),rt(i=>i!==!0,!0))}function gR(t,e,n,r){return q(e).pipe(tr(i=>Dt(vR(i.route.parent,r),mR(i.route,r),IR(t,i.path,n),yR(t,i.route,n))),rt(i=>i!==!0,!0))}function mR(t,e){return t!==null&&e&&e(new ah(t)),T(!0)}function vR(t,e){return t!==null&&e&&e(new oh(t)),T(!0)}function yR(t,e,n){let r=e.routeConfig?e.routeConfig.canActivate:null;if(!r||r.length===0)return T(!0);let i=r.map(o=>Ms(()=>{let s=ko(e)??n,a=Ci(o,s),c=cR(a)?a.canActivate(e,t):St(s,()=>a(e,t));return Un(c).pipe(rt())}));return T(i).pipe(wi())}function IR(t,e,n){let r=e[e.length-1],o=e.slice(0,e.length-1).reverse().map(s=>rR(s)).filter(s=>s!==null).map(s=>Ms(()=>{let a=s.guards.map(c=>{let u=ko(s.node)??n,l=Ci(c,u),d=uR(l)?l.canActivateChild(r,t):St(u,()=>l(r,t));return Un(d).pipe(rt())});return T(a).pipe(wi())}));return T(o).pipe(wi())}function DR(t,e,n,r,i){let o=e&&e.routeConfig?e.routeConfig.canDeactivate:null;if(!o||o.length===0)return T(!0);let s=o.map(a=>{let c=ko(e)??i,u=Ci(a,c),l=lR(u)?u.canDeactivate(t,e,n,r):St(c,()=>u(t,e,n,r));return Un(l).pipe(rt())});return T(s).pipe(wi())}function ER(t,e,n,r){let i=e.canLoad;if(i===void 0||i.length===0)return T(!0);let o=i.map(s=>{let a=Ci(s,t),c=aR(a)?a.canLoad(e,n):St(t,()=>a(e,n));return Un(c)});return T(o).pipe(wi(),LD(r))}function LD(t){return xu(ce(e=>{if(typeof e!="boolean")throw xc(t,e)}),U(e=>e===!0))}function wR(t,e,n,r){let i=e.canMatch;if(!i||i.length===0)return T(!0);let o=i.map(s=>{let a=Ci(s,t),c=dR(a)?a.canMatch(e,n):St(t,()=>a(e,n));return Un(c)});return T(o).pipe(wi(),LD(r))}var Ro=class{constructor(e){this.segmentGroup=e||null}}
7,xo=class extends Error{constructor(e){super(),this.urlTree=e}};function hi(t){return Vr(new Ro(t))}function _R(t){return Vr(new I(4e3,!1))}function CR(t){return Vr(PD(!1,Be.GuardRejected))}var gh=class{constructor(e,n){this.urlSerializer=e,this.urlTree=n}lineralizeSegments(e,n){let r=[],i=n.root;for(;;){if(r=r.concat(i.segments),i.numberOfChildren===0)return T(r);if(i.numberOfChildren>1||!i.children[F])return _R(`${e.redirectTo}`);i=i.children[F]}}applyRedirectCommands(e,n,r,i,o){if(typeof n!="string"){let a=n,{queryParams:c,fragment:u,routeConfig:l,url:d,outlet:h,params:f,data:g,title:y}=i,E=St(o,()=>a({params:f,data:g,queryParams:c,fragment:u,routeConfig:l,url:d,outlet:h,title:y}));if(E instanceof un)throw new xo(E);n=E}let s=this.applyRedirectCreateUrlTree(n,this.urlSerializer.parse(n),e,r);if(n[0]==="/")throw new xo(s);return s}applyRedirectCreateUrlTree(e,n,r,i){let o=this.createSegmentGroup(e,n.root,r,i);return new un(o,this.createQueryParams(n.queryParams,this.urlTree.queryParams),n.fragment)}createQueryParams(e,n){let r={};return Object.entries(e).forEach(([i,o])=>{if(typeof o=="string"&&o[0]===":"){let a=o.substring(1);r[i]=n[a]}else r[i]=o}),r}createSegmentGroup(e,n,r,i){let o=this.createSegments(e,n.segments,r,i),s={};return Object.entries(n.children).forEach(([a,c])=>{s[a]=this.createSegmentGroup(e,c,r,i)}),new W(o,s)}createSegments(e,n,r,i){return n.map(o=>o.path[0]===":"?this.findPosParam(e,o,i):this.findOrReturn(o,r))}findPosParam(e,n,r){let i=r[n.path.substring(1)];if(!i)throw new I(4001,!1);return i}findOrReturn(e,n){let r=0;for(let i of n){if(i.path===e.path)return n.splice(r),i;r++}return e}},mh={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function bR(t,e,n,r,i){let o=VD(t,e,n);return o.matched?(r=qN(e,r),wR(r,e,n,i).pipe(U(s=>s===!0?o:v({},mh)))):T(o)}function VD(t,e,n){if(e.path==="**")return SR(n);if(e.path==="")return e.pathMatch==="full"&&(t.hasChildren()||n.length>0)?v({},mh):{matched:!0,consumedSegments:[],remainingSegments:n,parameters:{},positionalParamSegments:{}};let i=(e.matcher||EN)(n,t,e);if(!i)return v({},mh);let o={};Object.entries(i.posParams??{}).forEach(([a,c])=>{o[a]=c.path});let s=i.consumed.length>0?v(v({},o),i.consumed[i.consumed.length-1].parameters):o;return{matched:!0,consumedSegments:i.consumed,remainingSegments:n.slice(i.consumed.length),parameters:s,positionalParamSegments:i.posParams??{}}}function SR(t){return{matched:!0,parameters:t.length>0?vD(t).parameters:{},consumedSegments:t,remainingSegments:[],positionalParamSegments:{}}}function lD(t,e,n,r){return n.length>0&&MR(t,n,r)?{segmentGroup:new W(e,AR(r,new W(n,t.children))),slicedSegments:[]}:n.length===0&&NR(t,n,r)?{segmentGroup:new W(t.segments,TR(t,n,r,t.children)),slicedSegments:n}:{segmentGroup:new W(t.segments,t.children),slicedSegments:n}}function TR(t,e,n,r){let i={};for(let o of n)if(Fc(t,e,o)&&!r[pt(o)]){let s=new W([],{});i[pt(o)]=s}return v(v({},r),i)}function AR(t,e){let n={};n[F]=e;for(let r of t)if(r.path===""&&pt(r)!==F){let i=new W([],{});n[pt(r)]=i}return n}function MR(t,e,n){return n.some(r=>Fc(t,e,r)&&pt(r)!==F)}function NR(t,e,n){return n.some(r=>Fc(t,e,r))}function Fc(t,e,n){return(t.hasChildren()||e.length>0)&&n.pathMatch==="full"?!1:n.path===""}function RR(t,e,n){return e.length===0&&!t.children[n]}var vh=class{};function xR(t,e,n,r,i,o,s="emptyOnly"){return new yh(t,e,n,r,i,s,o).recognize()}var OR=31,yh=class{constructor(e,n,r,i,o,s,a){this.injector=e,this.configLoader=n,this.rootComponentType=r,this.config=i,this.urlTree=o,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.applyRedirects=new gh(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(e){return new I(4002,`'${e.segmentGroup}'`)}recognize(){let e=lD(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(e).pipe(U(({children:n,rootSnapshot:r})=>{let i=new $e(r,n),o=new Rc("",i),s=UN(r,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,o.url=this.urlSerializer.serialize(s),{state:o,tree:s}}))}match(e){let n=new mi([],Object.freeze({}),Object.freeze(v({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),F,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,e,F,n).pipe(U(r=>({children:r,rootSnapshot:n})),wn(r=>
7{if(r instanceof xo)return this.urlTree=r.urlTree,this.match(r.urlTree.root);throw r instanceof Ro?this.noMatchError(r):r}))}processSegmentGroup(e,n,r,i,o){return r.segments.length===0&&r.hasChildren()?this.processChildren(e,n,r,o):this.processSegment(e,n,r,r.segments,i,!0,o).pipe(U(s=>s instanceof $e?[s]:[]))}processChildren(e,n,r,i){let o=[];for(let s of Object.keys(r.children))s==="primary"?o.unshift(s):o.push(s);return q(o).pipe(tr(s=>{let a=r.children[s],c=ZN(n,s);return this.processSegmentGroup(e,c,a,s,i)}),zu((s,a)=>(s.push(...a),s)),_n(null),Hu(),te(s=>{if(s===null)return hi(r);let a=jD(s);return PR(a),T(a)}))}processSegment(e,n,r,i,o,s,a){return q(n).pipe(tr(c=>this.processSegmentAgainstRoute(c._injector??e,n,c,r,i,o,s,a).pipe(wn(u=>{if(u instanceof Ro)return T(null);throw u}))),rt(c=>!!c),wn(c=>{if(FD(c))return RR(r,i,o)?T(new vh):hi(r);throw c}))}processSegmentAgainstRoute(e,n,r,i,o,s,a,c){return pt(r)!==s&&(s===F||!Fc(i,o,r))?hi(i):r.redirectTo===void 0?this.matchSegmentAgainstRoute(e,i,r,o,s,c):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(e,i,n,r,o,s,c):hi(i)}expandSegmentAgainstRouteUsingRedirect(e,n,r,i,o,s,a){let{matched:c,parameters:u,consumedSegments:l,positionalParamSegments:d,remainingSegments:h}=VD(n,i,o);if(!c)return hi(n);typeof i.redirectTo=="string"&&i.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>OR&&(this.allowRedirects=!1));let f=new mi(o,u,Object.freeze(v({},this.urlTree.queryParams)),this.urlTree.fragment,dD(i),pt(i),i.component??i._loadedComponent??null,i,fD(i)),g=Nc(f,a,this.paramsInheritanceStrategy);f.params=Object.freeze(g.params),f.data=Object.freeze(g.data);let y=this.applyRedirects.applyRedirectCommands(l,i.redirectTo,d,f,e);return this.applyRedirects.lineralizeSegments(i,y).pipe(te(E=>this.processSegment(e,r,n,E.concat(h),s,!1,a)))}matchSegmentAgainstRoute(e,n,r,i,o,s){let a=bR(n,r,i,e,this.urlSerializer);return r.path==="**"&&(n.children={}),a.pipe(Fe(c=>c.matched?(e=r._injector??e,this.getChildConfig(e,r,i).pipe(Fe(({routes:u})=>{let l=r._loadedInjector??e,{parameters:d,consumedSegments:h,remainingSegments:f}=c,g=new mi(h,d,Object.freeze(v({},this.urlTree.queryParams)),this.urlTree.fragment,dD(r),pt(r),r.component??r._loadedComponent??null,r,fD(r)),y=Nc(g,s,this.paramsInheritanceStrategy);g.params=Object.freeze(y.params),g.data=Object.freeze(y.data);let{segmentGroup:E,slicedSegments:b}=lD(n,h,f,u);if(b.length===0&&E.hasChildren())return this.processChildren(l,u,E,g).pipe(U(se=>new $e(g,se)));if(u.length===0&&b.length===0)return T(new $e(g,[]));let k=pt(r)===o;return this.processSegment(l,u,E,b,k?F:o,!0,g).pipe(U(se=>new $e(g,se instanceof $e?[se]:[])))}))):hi(n)))}getChildConfig(e,n,r){return n.children?T({routes:n.children,injector:e}):n.loadChildren?n._loadedRoutes!==void 0?T({routes:n._loadedRoutes,injector:n._loadedInjector}):ER(e,n,r,this.urlSerializer).pipe(te(i=>i?this.configLoader.loadChildren(e,n).pipe(ce(o=>{n._loadedRoutes=o.routes,n._loadedInjector=o.injector})):CR(n))):T({routes:[],injector:e})}};function PR(t){t.sort((e,n)=>e.value.outlet===F?-1:n.value.outlet===F?1:e.value.outlet.localeCompare(n.value.outlet))}function kR(t){let e=t.value.routeConfig;return e&&e.path===""}function jD(t){let e=[],n=new Set;for(let r of t){if(!kR(r)){e.push(r);continue}let i=e.find(o=>r.value.routeConfig===o.value.routeConfig);i!==void 0?(i.children.push(...r.children),n.add(i)):e.push(r)}for(let r of n){let i=jD(r.children);e.push(new $e(r.value,i))}return e.filter(r=>!n.has(r))}function dD(t){return t.data||{}}function fD(t){return t.resolve||{}}function FR(t,e,n,r,i,o){return te(s=>xR(t,e,n,r,s.extractedUrl,i,o).pipe(U(({state:a,tree:c})=>$(v({},s),{targetSnapshot:a,urlAfterRedirects:c}))))}function LR(t,e){return te(n=>{let{targetSnapshot:r,guards:{canActivateChecks:i}}=n;if(!i.length)return T(n);let o=new Set(i.map(c=>c.route)),s=new Set;for(let c of o)if(!s.has(c))for(let u of UD(c))s.add(u);let a=0;return q(s).pipe(tr(c=>o.has(c)?VR(c,r,t,e):(c.data=Nc(c,c.parent,t).resolve,T(void 0))),ce(()=>a++),Ur(1),te(c=>a===s.size?T(n):me))})}function UD(t){let e=t.children.map(n=>UD(n)).flat();return[t,...e]}function VR(t,e,n,r){let i=t.routeConfig,o=t._resolve;return i?.title!==void 0&&!xD(i)&&(o[Po]=i.title),jR(o,t,e,r).pipe(U(s=>(t._resolvedData=s,t.data=Nc(t,t.parent,n).resolve,null)))}function jR(t,e,n,r){let i=Yf(t);if(i.length===0)return T({});let o={};return q(i).pipe(te(s=>UR(t[s],e,n,r).pipe(rt(),ce(a=>{if(a instanceof No)throw xc(new Ii,a);o[s]=a}))),Ur(1),Gi(o),wn(s=>FD(s)?me:Vr(s)))}function UR(t,e,n,r){let i=ko(e)??r,o=Ci(t,i),s=o.resolve?o.resolve(e,n):St(i,()=>o(e,n));return Un(s)}function qf(t){return Fe(e=>{let n=t(e);return n?q(n).pipe(U(()=>e)):T(e)})}var $D=(()=>{let e=class e{buildTitle(r){let i,o=r.root;for(;o!==void 0;)i=this.getResolvedTitleForRoute(o)??i,o=o.children.find(s=>s.outlet===F);return i}getResolvedTitleForRoute(r){return r.data[Po]}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=C({token:e,factory:()=>m($R),providedIn:"root"});let t=e;return t})(),$R=(()=>{let e=class e extends $D{constructor(r){super(),this.title=r}updateTitle(r){let i=this.buildTitle(r);i!==void 0&&this.title.setTitle(i)}};e.\u0275fac=function(i){return new(i||e)(N(iD))},e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Vo=new w("",{providedIn:"root",factory:()=>({})}),BR=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=Zm({type:e,selectors:[["ng-component"]],standalone:!0,features:[II],decls:1,vars:0,template:function(i,o){i&1&&hf(0,"router-outlet")},dependencies:[KN],encapsulation:2});let t=e;return t})();function Eh(t){let e=t.children&&t.children.map(Eh),n=e?$(v({},t),{children:e}):v({},t);return!n.component&&!n.loadComponent&&(e||n.loadChildren)&&n.outlet&&n.outlet!==F&&(n.component=BR),n}var Oo=new w(""),wh=(()=>{let e=class e{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=m(rc
7)}loadComponent(r){if(this.componentLoaders.get(r))return this.componentLoaders.get(r);if(r._loadedComponent)return T(r._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(r);let i=Un(r.loadComponent()).pipe(U(BD),ce(s=>{this.onLoadEndListener&&this.onLoadEndListener(r),r._loadedComponent=s}),qi(()=>{this.componentLoaders.delete(r)})),o=new Pr(i,()=>new ee).pipe(Or());return this.componentLoaders.set(r,o),o}loadChildren(r,i){if(this.childrenLoaders.get(i))return this.childrenLoaders.get(i);if(i._loadedRoutes)return T({routes:i._loadedRoutes,injector:i._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(i);let s=HR(i,this.compiler,r,this.onLoadEndListener).pipe(qi(()=>{this.childrenLoaders.delete(i)})),a=new Pr(s,()=>new ee).pipe(Or());return this.childrenLoaders.set(i,a),a}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function HR(t,e,n,r){return Un(t.loadChildren()).pipe(U(BD),te(i=>i instanceof ro||Array.isArray(i)?T(i):q(e.compileModuleAsync(i))),U(i=>{r&&r(t);let o,s,a=!1;return Array.isArray(i)?(s=i,a=!0):(o=i.create(n).injector,s=o.get(Oo,[],{optional:!0,self:!0}).flat()),{routes:s.map(Eh),injector:o}}))}function zR(t){return t&&typeof t=="object"&&"default"in t}function BD(t){return zR(t)?t.default:t}var _h=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=C({token:e,factory:()=>m(WR),providedIn:"root"});let t=e;return t})(),WR=(()=>{let e=class e{shouldProcessUrl(r){return!0}extract(r){return r}merge(r,i){return r}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),HD=new w(""),zD=new w("");function GR(t,e,n){let r=t.get(zD),i=t.get(_e);return t.get(G).runOutsideAngular(()=>{if(!i.startViewTransition||r.skipNextTransition)return r.skipNextTransition=!1,new Promise(u=>setTimeout(u));let o,s=new Promise(u=>{o=u}),a=i.startViewTransition(()=>(o(),qR(t))),{onViewTransitionCreated:c}=r;return c&&St(t,()=>c({transition:a,from:e,to:n})),s})}function qR(t){return new Promise(e=>{ff({read:()=>setTimeout(e)},{injector:t})})}var ZR=new w(""),Lc=(()=>{let e=class e{get hasRequestedNavigation(){return this.navigationId!==0}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new ee,this.transitionAbortSubject=new ee,this.configLoader=m(wh),this.environmentInjector=m(Le),this.urlSerializer=m(_i),this.rootContexts=m(Fo),this.location=m(fi),this.inputBindingEnabled=m(kc,{optional:!0})!==null,this.titleStrategy=m($D),this.options=m(Vo,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=m(_h),this.createViewTransition=m(HD,{optional:!0}),this.navigationErrorHandler=m(ZR,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>T(void 0),this.rootComponentType=null;let r=o=>this.events.next(new rh(o)),i=o=>this.events.next(new ih(o));this.configLoader.onLoadEndListener=i,this.configLoader.onLoadStartListener=r}complete(){this.transitions?.complete()}handleNavigationRequest(r){let i=++this.navigationId;this.transitions?.next($(v(v({},this.transitions.value),r),{id:i}))}setupNavigations(r,i,o){return this.transitions=new ge({id:0,currentUrlTree:i,currentRawUrl:i,extractedUrl:this.urlHandlingStrategy.extract(i),urlAfterRedirects:this.urlHandlingStrategy.extract(i),rawUrl:i,extras:{},resolve:()=>{},reject:()=>{},promise:Promise.resolve(!0),source:Co,restoredState:null,currentSnapshot:o.snapshot,targetSnapshot:null,currentRouterState:o,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(We(s=>s.id!==0),U(s=>$(v({},s),{extractedUrl:this.urlHandlingStrategy.extract(s.rawUrl)})),Fe(s=>{let a=!1,c=!1;return T(s).pipe(Fe(u=>{if(this.navigationId>s.id)return this.cancelNavigationTransition(s,"",Be.SupersededByNewNavigation),me;this.currentTransition=s,this.currentNavigation={id:u.id,initialUrl:u.rawUrl,extractedUrl:u.extractedUrl,targetBrowserUrl:typeof u.extras.browserUrl=="string"?this.urlSerializer.parse(u.extras.browserUrl):u.extras.browserUrl,trigger:u.source,extras:u.extras,previousNavigation:this.lastSuccessfulNavigation?$(v({},this.lastSuccessfulNavigation),{previousNavigation:null}):null};
7let l=!r.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),d=u.extras.onSameUrlNavigation??r.onSameUrlNavigation;if(!l&&d!=="reload"){let h="";return this.events.next(new Vn(u.id,this.urlSerializer.serialize(u.rawUrl),h,bc.IgnoredSameUrlNavigation)),u.resolve(!1),me}if(this.urlHandlingStrategy.shouldProcessUrl(u.rawUrl))return T(u).pipe(Fe(h=>{let f=this.transitions?.getValue();return this.events.next(new Di(h.id,this.urlSerializer.serialize(h.extractedUrl),h.source,h.restoredState)),f!==this.transitions?.getValue()?me:Promise.resolve(h)}),FR(this.environmentInjector,this.configLoader,this.rootComponentType,r.config,this.urlSerializer,this.paramsInheritanceStrategy),ce(h=>{s.targetSnapshot=h.targetSnapshot,s.urlAfterRedirects=h.urlAfterRedirects,this.currentNavigation=$(v({},this.currentNavigation),{finalUrl:h.urlAfterRedirects});let f=new Sc(h.id,this.urlSerializer.serialize(h.extractedUrl),this.urlSerializer.serialize(h.urlAfterRedirects),h.targetSnapshot);this.events.next(f)}));if(l&&this.urlHandlingStrategy.shouldProcessUrl(u.currentRawUrl)){let{id:h,extractedUrl:f,source:g,restoredState:y,extras:E}=u,b=new Di(h,this.urlSerializer.serialize(f),g,y);this.events.next(b);let k=ND(this.rootComponentType).snapshot;return this.currentTransition=s=$(v({},u),{targetSnapshot:k,urlAfterRedirects:f,extras:$(v({},E),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=f,T(s)}else{let h="";return this.events.next(new Vn(u.id,this.urlSerializer.serialize(u.extractedUrl),h,bc.IgnoredByUrlHandlingStrategy)),u.resolve(!1),me}}),ce(u=>{let l=new Xf(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot);this.events.next(l)}),U(u=>(this.currentTransition=s=$(v({},u),{guards:nR(u.targetSnapshot,u.currentSnapshot,this.rootContexts)}),s)),hR(this.environmentInjector,u=>this.events.next(u)),ce(u=>{if(s.guardsResult=u.guardsResult,u.guardsResult&&typeof u.guardsResult!="boolean")throw xc(this.urlSerializer,u.guardsResult);let l=new eh(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot,!!u.guardsResult);this.events.next(l)}),We(u=>u.guardsResult?!0:(this.cancelNavigationTransition(u,"",Be.GuardRejected),!1)),qf(u=>{if(u.guards.canActivateChecks.length)return T(u).pipe(ce(l=>{let d=new th(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(d)}),Fe(l=>{let d=!1;return T(l).pipe(LR(this.paramsInheritanceStrategy,this.environmentInjector),ce({next:()=>d=!0,complete:()=>{d||this.cancelNavigationTransition(l,"",Be.NoDataFromResolver)}}))}),ce(l=>{let d=new nh(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(d)}))}),qf(u=>{let l=d=>{let h=[];d.routeConfig?.loadComponent&&!d.routeConfig._loadedComponent&&h.push(this.configLoader.loadComponent(d.routeConfig).pipe(ce(f=>{d.component=f}),U(()=>{})));for(let f of d.children)h.push(...l(f));return h};return Wi(l(u.targetSnapshot.root)).pipe(_n(null),Ge(1))}),qf(()=>this.afterPreactivation()),Fe(()=>{let{currentSnapshot:u,targetSnapshot:l}=s,d=this.createViewTransition?.(this.environmentInjector,u.root,l.root);return d?q(d).pipe(U(()=>s)):T(s)}),U(u=>{let l=QN(r.routeReuseStrategy,u.targetSnapshot,u.currentRouterState);return this.currentTransition=s=$(v({},u),{targetRouterState:l}),this.currentNavigation.targetRouterState=l,s}),ce(()=>{this.events.next(new Ao)}),tR(this.rootContexts,r.routeReuseStrategy,u=>this.events.next(u),this.inputBindingEnabled),Ge(1),ce({next:u=>{a=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new gt(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects))),this.titleStrategy?.updateTitle(u.targetRouterState.snapshot),u.resolve(!0)},complete:()=>{a=!0}}),xs(this.transitionAbortSubject.pipe(ce(u=>{throw u}))),qi(()=>{!a&&!c&&this.cancelNavigationTransition(s,"",Be.SupersededByNewNavigation),this.currentTransition?.id===s.id&&(this.currentNavigation=null,this.currentTransition=null)}),wn(u=>{if(c=!0,kD(u))this.events.next(new cn(s.id,this.urlSerializer.serialize(s.extractedUrl),u.message,u.cancellationCode)),eR(u)?this.events.next(new Ei(u.url,u.navigationBehaviorOptions)):s.resolve(!1);else{let l=new To(s.id,this.urlSerializer.serialize(s.extractedUrl),u,s.targetSnapshot??void 0);try{let d=St(this.environmentInjector,()=>this.navigationErrorHandler?.(l));if(d instanceof No){let{message:h,cancellationCode:f}=xc(this.urlSerializer,d);this.events.next(new cn(s.id,this.urlSerializer.serialize(s.extractedUrl),h,f)),this.events.next(new Ei(d.redirectTo,d.navigationBehaviorOptions))}else{this.events.next(l);let h=r.errorHandler(u);s.resolve(!!h)}}catch(d){this.options.resolveNavigationPromiseOnError?s.resolve(!1):s.reject(d)}}return me}))}))}cancelNavigationTransition(r,i,o){let s=new cn(r.id,this.urlSerializer.serialize(r.extractedUrl),i,o);this.events.next(s),r.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){let r=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),i=this.currentNavigation?.targetBrowserUrl??this.currentNavigation?.extractedUrl;return r.toString()!==i?.toString()&&!this.currentNavigation?.extras.skipLocationChange}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function YR(t){return t!==Co}var KR=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=C({token:e,factory:()=>m(QR),providedIn:"root"});let t=e;return t})(),Ih=class{shouldDetach(e){return!1}store(e,n){}shouldAttach(e){return!1}retrieve(e){return null}shouldReuseRoute(e,n){return e.routeConfig===n.routeConfig}},QR=(()=>{let e=class e extends Ih{};e.\u0275fac=(()=>{let r;return function(o){return(r||(r=Kt(e)))(o||e)}})(),e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),WD=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=C({token:e,factory:()=>m(JR),providedIn:"root"});let t=e;return t})(),JR=(()=>{let e=class e extends WD{constructor(){super(...arguments),this.location=m(fi),this.urlSerializer
7=m(_i),this.options=m(Vo,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=m(_h),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new un,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=ND(null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(r){return this.location.subscribe(i=>{i.type==="popstate"&&r(i.url,i.state)})}handleRouterEvent(r,i){if(r instanceof Di)this.stateMemento=this.createStateMemento();else if(r instanceof Vn)this.rawUrlTree=i.initialUrl;else if(r instanceof Sc){if(this.urlUpdateStrategy==="eager"&&!i.extras.skipLocationChange){let o=this.urlHandlingStrategy.merge(i.finalUrl,i.initialUrl);this.setBrowserUrl(i.targetBrowserUrl??o,i)}}else r instanceof Ao?(this.currentUrlTree=i.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(i.finalUrl,i.initialUrl),this.routerState=i.targetRouterState,this.urlUpdateStrategy==="deferred"&&!i.extras.skipLocationChange&&this.setBrowserUrl(i.targetBrowserUrl??this.rawUrlTree,i)):r instanceof cn&&(r.code===Be.GuardRejected||r.code===Be.NoDataFromResolver)?this.restoreHistory(i):r instanceof To?this.restoreHistory(i,!0):r instanceof gt&&(this.lastSuccessfulId=r.id,this.currentPageId=this.browserPageId)}setBrowserUrl(r,i){let o=r instanceof un?this.urlSerializer.serialize(r):r;if(this.location.isCurrentPathEqualTo(o)||i.extras.replaceUrl){let s=this.browserPageId,a=v(v({},i.extras.state),this.generateNgRouterState(i.id,s));this.location.replaceState(o,"",a)}else{let s=v(v({},i.extras.state),this.generateNgRouterState(i.id,this.browserPageId+1));this.location.go(o,"",s)}}
7restoreHistory(r,i=!1){if(this.canceledNavigationResolution==="computed"){let o=this.browserPageId,s=this.currentPageId-o;s!==0?this.location.historyGo(s):this.currentUrlTree===r.finalUrl&&s===0&&(this.resetState(r),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(i&&this.resetState(r),this.resetUrlToCurrentUrlTree())}resetState(r){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,r.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(r,i){return this.canceledNavigationResolution==="computed"?{navigationId:r,\u0275routerPageId:i}:{navigationId:r}}};e.\u0275fac=(()=>{let r;return function(o){return(r||(r=Kt(e)))(o||e)}})(),e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),wo=function(t){return t[t.COMPLETE=0]="COMPLETE",t[t.FAILED=1]="FAILED",t[t.REDIRECTING=2]="REDIRECTING",t}(wo||{});function GD(t,e){t.events.pipe(We(n=>n instanceof gt||n instanceof cn||n instanceof To||n instanceof Vn),U(n=>n instanceof gt||n instanceof Vn?wo.COMPLETE:(n instanceof cn?n.code===Be.Redirect||n.code===Be.SupersededByNewNavigation:!1)?wo.REDIRECTING:wo.FAILED),We(n=>n!==wo.REDIRECTING),Ge(1)).subscribe(()=>{e()})}function XR(t){throw t}var ex={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},tx={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},Nt=(()=>{let e=class e{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){this.disposed=!1,this.console=m(ec),this.stateManager=m(WD),this.options=m(Vo,{optional:!0})||{},this.pendingTasks=m(ci),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=m(Lc),this.urlSerializer=m(_i),this.location=m(fi),this.urlHandlingStrategy=m(_h),this._events=new ee,this.errorHandler=this.options.errorHandler||XR,this.navigated=!1,this.routeReuseStrategy=m(KR),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=m(Oo,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!m(kc,{optional:!0}),this.eventsSubscription=new X,this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:r=>{this.console.warn(r)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){let r=this.navigationTransitions.events.subscribe(i=>{try{let o=this.navigationTransitions.currentTransition,s=this.navigationTransitions.currentNavigation;if(o!==null&&s!==null){if(this.stateManager.handleRouterEvent(i,s),i instanceof cn&&i.code!==Be.Redirect&&i.code!==Be.SupersededByNewNavigation)this.navigated=!0;else if(i instanceof gt)this.navigated=!0;else if(i instanceof Ei){let a=i.navigationBehaviorOptions,c=this.urlHandlingStrategy.merge(i.url,o.currentRawUrl),u=v({browserUrl:o.extras.browserUrl,info:o.extras.info,skipLocationChange:o.extras.skipLocationChange,replaceUrl:o.extras.replaceUrl||this.urlUpdateStrategy==="eager"||YR(o.source)},a);this.scheduleNavigation(c,Co,null,u,{resolve:o.resolve,reject:o.reject,promise:o.promise})}}rx(i)&&this._events.next(i)}catch(o){this.navigationTransitions.transitionAbortSubject.next(o)}});this.eventsSubscription.add(r)}resetRootComponentType(r){this.routerState.root.component=r,this.navigationTransitions.rootComponentType=r}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),Co,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((r,i)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(r,"popstate",i)},0)})}navigateToSyncWithBrowser(r,i,o){let s={replaceUrl:!0},a=o?.navigationId?o:null;if(o){let u=v({},o);delete u.navigationId,delete u.\u0275routerPageId,Object.keys(u).length!==0&&(s.state=u)}let c=this.parseUrl(r);this.scheduleNavigation(c,i,a,s)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(r){this.config=r.map(Eh),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(r,i={}){let{relativeTo:o,queryParams:s,fragment:a,queryParamsHandling:c,preserveFragment:u}=i,l=u?this.currentUrlTree.fragment:a,d=null;switch(c??this.options.defaultQueryParamsHandling){case"merge":d=v(v({},this.currentUrlTree.queryParams),s);break;case"preserve":d=this.currentUrlTree.queryParams;break;default:d=s||null}d!==null&&(d=this.removeEmptyProps(d));let h;try{let f=o?o.snapshot:this.routerState.snapshot.root;h=SD(f)}
7catch{(typeof r[0]!="string"||r[0][0]!=="/")&&(r=[]),h=this.currentUrlTree.root}return TD(h,r,d,l??null)}navigateByUrl(r,i={skipLocationChange:!1}){let o=wr(r)?r:this.parseUrl(r),s=this.urlHandlingStrategy.merge(o,this.rawUrlTree);return this.scheduleNavigation(s,Co,null,i)}navigate(r,i={skipLocationChange:!1}){return nx(r),this.navigateByUrl(this.createUrlTree(r,i),i)}serializeUrl(r){return this.urlSerializer.serialize(r)}parseUrl(r){try{return this.urlSerializer.parse(r)}catch{return this.urlSerializer.parse("/")}}isActive(r,i){let o;if(i===!0?o=v({},ex):i===!1?o=v({},tx):o=i,wr(r))return oD(this.currentUrlTree,r,o);let s=this.parseUrl(r);return oD(this.currentUrlTree,s,o)}removeEmptyProps(r){return Object.entries(r).reduce((i,[o,s])=>(s!=null&&(i[o]=s),i),{})}scheduleNavigation(r,i,o,s,a){if(this.disposed)return Promise.resolve(!1);let c,u,l;a?(c=a.resolve,u=a.reject,l=a.promise):l=new Promise((h,f)=>{c=h,u=f});let d=this.pendingTasks.add();return GD(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(d))}),this.navigationTransitions.handleNavigationRequest({source:i,restoredState:o,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:r,extras:s,resolve:c,reject:u,promise:l,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),l.catch(h=>Promise.reject(h))}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function nx(t){for(let e=0;e<t.length;e++)if(t[e]==null)throw new I(4008,!1)}function rx(t){return!(t instanceof Ao)&&!(t instanceof Ei)}var hD=(()=>{let e=class e{constructor(r,i,o,s,a,c){this.router=r,this.route=i,this.tabIndexAttribute=o,this.renderer=s,this.el=a,this.locationStrategy=c,this.href=null,this.onChanges=new ee,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1,this.routerLinkInput=null;let u=a.nativeElement.tagName?.toLowerCase();this.isAnchorElement=u==="a"||u==="area",this.isAnchorElement?this.subscription=r.events.subscribe(l=>{l instanceof gt&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(r){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue("tabindex",r)}ngOnChanges(r){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(r){r==null?(this.routerLinkInput=null,this.setTabIndexIfNotOnNativeEl(null)):(wr(r)?this.routerLinkInput=r:this.routerLinkInput=Array.isArray(r)?r:[r],this.setTabIndexIfNotOnNativeEl("0"))}onClick(r,i,o,s,a){let c=this.urlTree;if(c===null||this.isAnchorElement&&(r!==0||i||o||s||a||typeof this.target=="string"&&this.target!="_self"))return!0;let u={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info};return this.router.navigateByUrl(c,u),!this.isAnchorElement}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){let r=this.urlTree;this.href=r!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(r)):null;let i=this.href===null?null:cy(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",i)}applyAttributeValue(r,i){let o=this.renderer,s=this.el.nativeElement;i!==null?o.setAttribute(s,r,i):o.removeAttribute(s,r)}get urlTree(){return this.routerLinkInput===null?null:wr(this.routerLinkInput)?this.routerLinkInput:this.router.createUrlTree(this.routerLinkInput,{relativeTo:this.relativeTo!==void 0?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}};e.\u0275fac=function(i){return new(i||e)(D(Nt),D(jn),Ud("tabindex"),D(Qe),D(we),D(an))},e.\u0275dir=Q({type:e,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(i,o){i&1&&dt("click",function(a){return o.onClick(a.button,a.ctrlKey,a.shiftKey,a.altKey,a.metaKey)}),i&2&&Ja("target",o.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",di],skipLocationChange:[2,"skipLocationChange","skipLocationChange",di],replaceUrl:[2,"replaceUrl","replaceUrl",di],routerLink:"routerLink"},standalone:!0,features:[df,ut]});let t=e;return t})(),WW=(()=>{let e=class e{get isActive(){return this._isActive}constructor(r,i,o,s,a){this.router=r,this.element=i,this.renderer=o,this.cdr=s,this.link=a,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new ne,this.routerEventsSubscription=r.events.subscribe(c=>{c instanceof gt&&this.update()})}ngAfterContentInit(){T(this.links.changes,T(null)).pipe(It()).subscribe(r=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();let r=[...this.links.toArray(),this.link].filter(i=>!!i).map(i=>i.onChanges);this.linkInputChangesSubscription=q(r).pipe(It()).subscribe(i=>{this._isActive!==this.isLinkActive(this.router)(i)&&this.update()})}set routerLinkActive(r){let i=Array.isArray(r)?r:r.split(" ");this.classes=i.filter(o=>!!o)}ngOnChanges(r){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{let r=this.hasActiveLinks();
7this.classes.forEach(i=>{r?this.renderer.addClass(this.element.nativeElement,i):this.renderer.removeClass(this.element.nativeElement,i)}),r&&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!==r&&(this._isActive=r,this.cdr.markForCheck(),this.isActiveChange.emit(r))})}isLinkActive(r){let i=ix(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return o=>{let s=o.urlTree;return s?r.isActive(s,i):!1}}hasActiveLinks(){let r=this.isLinkActive(this.router);return this.link&&r(this.link)||this.links.some(r)}};e.\u0275fac=function(i){return new(i||e)(D(Nt),D(we),D(Qe),D(Ln),D(hD,8))},e.\u0275dir=Q({type:e,selectors:[["","routerLinkActive",""]],contentQueries:function(i,o,s){if(i&1&&pI(s,hD,5),i&2){let a;gI(a=mI())&&(o.links=a)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[ut]});let t=e;return t})();function ix(t){return!!t.paths}var Pc=class{};var ox=(()=>{let e=class e{constructor(r,i,o,s,a){this.router=r,this.injector=o,this.preloadingStrategy=s,this.loader=a}setUpPreloading(){this.subscription=this.router.events.pipe(We(r=>r instanceof gt),tr(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(r,i){let o=[];for(let s of i){s.providers&&!s._injector&&(s._injector=Ka(s.providers,r,`Route: ${s.path}`));let a=s._injector??r,c=s._loadedInjector??a;(s.loadChildren&&!s._loadedRoutes&&s.canLoad===void 0||s.loadComponent&&!s._loadedComponent)&&o.push(this.preloadConfig(a,s)),(s.children||s._loadedRoutes)&&o.push(this.processRoutes(c,s.children??s._loadedRoutes))}return q(o).pipe(It())}preloadConfig(r,i){return this.preloadingStrategy.preload(i,()=>{let o;i.loadChildren&&i.canLoad===void 0?o=this.loader.loadChildren(r,i):o=T(null);let s=o.pipe(te(a=>a===null?T(void 0):(i._loadedRoutes=a.routes,i._loadedInjector=a.injector,this.processRoutes(a.injector??r,a.routes))));if(i.loadComponent&&!i._loadedComponent){let a=this.loader.loadComponent(i);return q([s,a]).pipe(It())}else return s})}};e.\u0275fac=function(i){return new(i||e)(N(Nt),N(rc),N(Le),N(Pc),N(wh))},e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Ch=new w(""),qD=(()=>{let e=class e{constructor(r,i,o,s,a={}){this.urlSerializer=r,this.transitions=i,this.viewportScroller=o,this.zone=s,this.options=a,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},a.scrollPositionRestoration||="disabled",a.anchorScrolling||="disabled"}init(){this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(r=>{r instanceof Di?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=r.navigationTrigger,this.restoredId=r.restoredState?r.restoredState.navigationId:0):r instanceof gt?(this.lastId=r.id,this.scheduleScrollEvent(r,this.urlSerializer.parse(r.urlAfterRedirects).fragment)):r instanceof Vn&&r.code===bc.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(r,this.urlSerializer.parse(r.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(r=>{r instanceof Tc&&(r.position?this.options.scrollPositionRestoration==="top"?this.viewportScroller.scrollToPosition([0,0]):this.options.scrollPositionRestoration==="enabled"&&this.viewportScroller.scrollToPosition(r.position):r.anchor&&this.options.anchorScrolling==="enabled"?this.viewportScroller.scrollToAnchor(r.anchor):this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(r,i){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new Tc(r,this.lastSource==="popstate"?this.store[this.restoredId]:null,i))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}};e.\u0275fac=function(i){_y()},e.\u0275prov=C({token:e,factory:e.\u0275fac});let t=e;return t})();function GW(t,...e){return Pn([{provide:Oo,multi:!0,useValue:t},[],{provide:jn,useFactory:ZD,deps:[Nt]},{provide:nc,multi:!0,useFactory:YD},e.map(n=>n.\u0275providers)])}function ZD(t){return t.routerState.root}function bi(t,e){return{\u0275kind:t,\u0275providers:e}}function qW(t={}){return bi(4,[{provide:Ch,useFactory:()=>{let n=m(Lf),r=m(G),i=m(Lc),o=m(_i);return new qD(o,i,n,r,t)}}])}function YD(){let t=m(ve);return e=>{let n=t.get(Ir);if(e!==n.components[0])return;let r=t.get(Nt),i=t.get(KD);t.get(bh)===1&&r.initialNavigation(),t.get(QD,null,j.Optional)?.setUpPreloading(),t.get(Ch,null,j.Optional)?.init(),r.resetRootComponentType(n.componentTypes[0]),i.closed||(i.next(),i.complete(),i.unsubscribe())}}var KD=new w("",{factory:()=>new ee}),bh=new w("",{providedIn:"root",factory:()=>1});function sx(){return bi(2,[{provide:bh,useValue:0},{provide:tc,multi:!0,deps:[ve],useFactory:e=>{let n=e.get(BI,Promise.resolve());return()=>n.then(()=>new Promise(r=>{let i=e.get(Nt),o=e.get(KD);GD(i,()=>{r(!0)}),e.get(Lc).afterPreactivation=()=>(r(!0),o.closed?T(void 0):o),i.initialNavigation()}))}}])}function ax(){return bi(3,[{provide:tc,multi:!0,useFactory:()=>{let e=m(Nt);return()=>{e.setUpLocationChangeListener()}}},{provide:bh,useValue:2}])}var QD=new w("");function cx(t){return bi(0,[{provide:QD,useExisting:ox},{provide:Pc,useExisting:t}])}function ux(){return bi(8,[uD,{provide:kc,useExisting:uD}])}function lx(t){let e=[{provide:HD,useValue:GR},{provide:zD,useValue:v({skipNextTransition:!!t?.skipInitialTransition},t)}];return bi(9,e)}var pD=new w("ROUTER_FORROOT_GUARD"),dx=[fi,{provide:_i,useClass:Ii},Nt,Fo,{provide:jn,useFactory:ZD,deps:[Nt]},wh,[]],ZW=(()=>{let e=class e{constructor(r){}static forRoot(r,i){return{ngModule:e,providers:[dx,[],{provide:Oo,multi:!0,useValue:r},{provide:pD,useFactory:gx,deps:[[Nt,new ct,new bd]]},{provide:Vo,useValue:i||{}},i?.useHash?hx():px(),fx(),i?.preloadingStrategy?cx(i.preloadingStrategy).\u0275providers:[],i?.initialNavigation?mx(i):[],i?.bindToComponentInputs?ux().\u0275providers:[],i?.enableViewTransitions?lx().\u0275providers:[],vx()]}}static forChild(r){return{ngModule:e,providers:[{provide:Oo,multi:!0,useValue:r}]}}};e.\u0275fac=function(i){return new(i||e)(N(pD,8))},e.\u0275mod=On({type:e}),e.\u0275inj=xn({});let t=e;return t})();function fx(){return{provide:Ch,useFactory:()=>{let t=m(Lf),e=m(G),n=m(Vo),r=m(Lc),i=m(_i);return n.scrollOffset&&t.setOffset(n.scrollOffset),new qD(i,r,t,e,n)}}}function hx(){return{provide:an,useClass:zI}}function px(){return{provide:an,useClass:Of}}function gx(t){return"guarded"}function mx(t){return[t.initialNavigation==="disabled"?ax().\u0275providers:[],t.initialNavigation==="enabledBlocking"?sx().\u0275providers:[]]}var gD=new w("");function vx(){return[{provide:gD,useFactory:YD},{provide:nc,multi:!0,useExisting:gD}]}var XD=function(t){let e=[],n=0;for(let r=0;r<t.length;r++){let i=t.charCodeAt(r);i<128?e[n++]=i:i<2048?(e[n++]=i>>6|192,e[n++]=i&63|128):(i&64512)===55296&&r+1<t.length&&(t.charCodeAt(r+1)&64512)===56320?(i=65536+((i&1023)<<10)+(t.charCodeAt(++r)&1023),e[n++]=i>>18|240,e[n++]=i>>12&63|128,e[n++]=i>>6&63|128,e[n++]=i&63|128):(e[n++]=i>>12|224,e[n++]=i>>6&63|128,e[n++]=i&63|128)}return e},yx=function(t){let e=[],n=0,r=0;for(;n<t.length;){let i=t[n++];if(i<128)e[r++]=String.fromCharCode(i);else if(i>191&&i<224){let o=t[n++];e[r++]=String.fromCharCode((i&31)<<6|o&63)}else if(i>239&&i<365){let o=t[n++],s=t[n++],a=t[n++],c=((i&7)<<18|(o&63)<<12|(s&63)<<6|a&63)-65536;e[r++]=String.fromCharCode(55296+(c>>10)),e[r++]=String.fromCharCode(56320+(c&1023))}else{let o=t[n++],s=t[n++];e[r++]=String.fromCharCode((i&15)<<12|(o&63)<<6|s&63)}}return e.join("")},eE={byteToCharMap_:null,charToByteMap_:null,byteToCharMapWebSafe_:null,charToByteMapWebSafe_:null,ENCODED_VALS_BASE:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",get ENCODED_VALS(){return this.ENCODED_VALS_BASE+"+/="},get ENCODED_VALS_WEBSAFE(){return this.ENCODED_VALS_BASE+"-_."},HAS_NATIVE_SUPPORT:typeof atob=="function",encodeByteArray(t,e){if(!Array.isArray(t))throw Error("encodeByteArray takes an array as a parameter");this.init_();let n=e?this.byteToCharMapWebSafe_:this.byteToCharMap_,r=[];for(let i=0;i<t.length;i+=3){let o=t[i],s=i+1<t.length,a=s?t[i+1]:0,c=i+2<t.length,u=c?t[i+2]:0,l=o>>2,d=(o&3)<<4|a>>4,h=(a&15)<<2|u>>6,f=u&63;c||(f=64,s||(h=64)),r.push(n[l],n[d],n[h],n[f])}return r.join("")},encodeString(t,e){return this.HAS_NATIVE_SUPPORT&&!e?btoa(t):this.encodeByteArray(XD(t),e)},decodeString(t,e){return this.HAS_NATIVE_SUPPORT&&!e?atob(t):yx(this.decodeStringToByteArray(t,e))},decodeStringToByteArray(t,e){this.init_();let n=e?this.charToByteMapWebSafe_:this.charToByteMap_,r=[];for(let i=0;i<t.length;){let o=n[t.charAt(i++)],a=i<t.length?n[t.charAt(i)]:0;++i;let u=i<t.length?n[t.charAt(i)]:64;++i;let d=i<t.length?n[t.charAt(i)]:64;if(++i,o==null||a==null||u==null||d==null)throw new Th;let h=o<<2|a>>4;if(r.push(h),u!==64){let f=a<<4&240|u>>2;if(r.push(f),d!==64){let g=u<<6&192|d;r.push(g)}}}return r},init_(){if(!this.byteToCharMap_){this.byteToCharMap_={},this.charToByteMap_={},this.byteToCharMapWebSafe_={},this.charToByteMapWebSafe_={};for(let t=0;t<this.ENCODED_VALS.length;t++)this.byteToCharMap_[t]=this.ENCODED_VALS.charAt(t),this.charToByteMap_[this.byteToCharMap_[t]]=t,this.byteToCharMapWebSafe_[t]=this.ENCODED_VALS_WEBSAFE.charAt(t),this.charToByteMapWebSafe_[this.byteToCharMapWebSafe_[t]]=t,t>=this.ENCODED_VALS_BASE.length&&(this.charToByteMap_[this.ENCODED_VALS_WEBSAFE.charAt(t)]=t,this.charToByteMapWebSafe_[this.ENCODED_VALS.charAt(t)]=t)}}}
vendor: 17,616 bytes, line 7
7,Th=class extends Error{constructor(){super(...arguments),this.name="DecodeBase64StringError"}},Ix=function(t){let e=XD(t);return eE.encodeByteArray(e,!0)},jo=function(t){return Ix(t).replace(/\./g,"")},Mh=function(t){try{return eE.decodeString(t,!0)}catch(e){console.error("base64Decode failed: ",e)}return null};function Dx(){if(typeof self<"u")return self;if(typeof window<"u")return window;if(typeof global<"u")return global;throw new Error("Unable to locate global object.")}var Ex=()=>Dx().__FIREBASE_DEFAULTS__,wx=()=>{if(typeof process>"u"||typeof process.env>"u")return;let t=process.env.__FIREBASE_DEFAULTS__;if(t)return JSON.parse(t)},_x=()=>{if(typeof document>"u")return;let t;try{t=document.cookie.match(/__FIREBASE_DEFAULTS__=([^;]+)/)}catch{return}let e=t&&Mh(t[1]);return e&&JSON.parse(e)},jc=()=>{try{return Ex()||wx()||_x()}catch(t){console.info(`Unable to get __FIREBASE_DEFAULTS__ due to: ${t}`);return}},Nh=t=>{var e,n;return(n=(e=jc())===null||e===void 0?void 0:e.emulatorHosts)===null||n===void 0?void 0:n[t]},QW=t=>{let e=Nh(t);if(!e)return;let n=e.lastIndexOf(":");if(n<=0||n+1===e.length)throw new Error(`Invalid host ${e} with no separate hostname and port!`);let r=parseInt(e.substring(n+1),10);return e[0]==="["?[e.substring(1,n-1),r]:[e.substring(0,n),r]},Rh=()=>{var t;return(t=jc())===null||t===void 0?void 0:t.config},xh=t=>{var e;return(e=jc())===null||e===void 0?void 0:e[`_${t}`]};var Vc=class{constructor(){this.reject=()=>{},this.resolve=()=>{},this.promise=new Promise((e,n)=>{this.resolve=e,this.reject=n})}wrapCallback(e){return(n,r)=>{n?this.reject(n):this.resolve(r),typeof e=="function"&&(this.promise.catch(()=>{}),e.length===1?e(n):e(n,r))}}};function JW(t,e){if(t.uid)throw new Error('The "uid" field is no longer supported by mockUserToken. Please use "sub" instead for Firebase Auth User ID.');let n={alg:"none",type:"JWT"},r=e||"demo-project",i=t.iat||0,o=t.sub||t.user_id;if(!o)throw new Error("mockUserToken must contain 'sub' or 'user_id' field!");let s=Object.assign({iss:`https://securetoken.google.com/${r}`,aud:r,iat:i,exp:i+3600,auth_time:i,sub:o,user_id:o,firebase:{sign_in_provider:"custom",identities:{}}},t);return[jo(JSON.stringify(n)),jo(JSON.stringify(s)),""].join(".")}function Ce(){return typeof navigator<"u"&&typeof navigator.userAgent=="string"?navigator.userAgent:""}function tE(){return typeof window<"u"&&!!(window.cordova||window.phonegap||window.PhoneGap)&&/ios|iphone|ipod|ipad|android|blackberry|iemobile/i.test(Ce())}function Cx(){var t;let e=(t=jc())===null||t===void 0?void 0:t.forceEnvironment;if(e==="node")return!0;if(e==="browser")return!1;try{return Object.prototype.toString.call(global.process)==="[object process]"}catch{return!1}}function nE(){let t=typeof chrome=="object"?chrome.runtime:typeof browser=="object"?browser.runtime:void 0;return typeof t=="object"&&t.id!==void 0}function rE(){return typeof navigator=="object"&&navigator.product==="ReactNative"}function iE(){let t=Ce();return t.indexOf("MSIE ")>=0||t.indexOf("Trident/")>=0}function XW(){return!Cx()&&!!navigator.userAgent&&navigator.userAgent.includes("Safari")&&!navigator.userAgent.includes("Chrome")}function oE(){try{return typeof indexedDB=="object"}catch{return!1}}function sE(){return new Promise((t,e)=>{try{let n=!0,r="validate-browser-context-for-indexeddb-analytics-module",i=self.indexedDB.open(r);i.onsuccess=()=>{i.result.close(),n||self.indexedDB.deleteDatabase(r),t(!0)},i.onupgradeneeded=()=>{n=!1},i.onerror=()=>{var o;e(((o=i.error)===null||o===void 0?void 0:o.message)||"")}}catch(n){e(n)}})}function eG(){return!(typeof navigator>"u"||!navigator.cookieEnabled)}var bx="FirebaseError",mt=class t extends Error{constructor(e,n,r){super(n),this.code=e,this.customData=r,this.name=bx,Object.setPrototypeOf(this,t.prototype),Error.captureStackTrace&&Error.captureStackTrace(this,ln.prototype.create)}},ln=class{constructor(e,n,r){this.service=e,this.serviceName=n,this.errors=r}create(e,...n){let r=n[0]||{},i=`${this.service}/${e}`,o=this.errors[e],s=o?Sx(o,r):"Error",a=`${this.serviceName}: ${s} (${i}).`;return new mt(i,a,r)}};function Sx(t,e){return t.replace(Tx,(n,r)=>{let i=e[r];return i!=null?String(i):`<${r}?>`})}var Tx=/\{\$([^}]+)}/g;function aE(t){for(let e in t)if(Object.prototype.hasOwnProperty.call(t,e))return!1;return!0}function Si(t,e){if(t===e)return!0;let n=Object.keys(t),r=Object.keys(e);for(let i of n){if(!r.includes(i))return!1;let o=t[i],s=e[i];if(JD(o)&&JD(s)){if(!Si(o,s))return!1}else if(o!==s)return!1}for(let i of r)if(!n.includes(i))return!1;return!0}function JD(t){return t!==null&&typeof t=="object"}function Uo(t){let e=[];for(let[n,r]of Object.entries(t))Array.isArray(r)?r.forEach(i=>{e.push(encodeURIComponent(n)+"="+encodeURIComponent(i))}):e.push(encodeURIComponent(n)+"="+encodeURIComponent(r));return e.length?"&"+e.join("&"):""}function Ti(t){let e={};return t.replace(/^\?/,"").split("&").forEach(r=>{if(r){let[i,o]=r.split("=");e[decodeURIComponent(i)]=decodeURIComponent(o)}}),e}function Ai(t){let e=t.indexOf("?");if(!e)return"";let n=t.indexOf("#",e);return t.substring(e,n>0?n:void 0)}function cE(t,e){let n=new Ah(t,e);return n.subscribe.bind(n)}var Ah=class{constructor(e,n){this.observers=[],this.unsubscribes=[],this.observerCount=0,this.task=Promise.resolve(),this.finalized=!1,this.onNoObservers=n,this.task.then(()=>{e(this)}).catch(r=>{this.error(r)})}next(e){this.forEachObserver(n=>{n.next(e)})}error(e){this.forEachObserver(n=>{n.error(e)}),this.close(e)}complete(){this.forEachObserver(e=>{e.complete()}),this.close()}subscribe(e,n,r){let i;if(e===void 0&&n===void 0&&r===void 0)throw new Error("Missing Observer.");Ax(e,["next","error","complete"])?i=e:i={next:e,error:n,complete:r},i.next===void 0&&(i.next=Sh),i.error===void 0&&(i.error=Sh),i.complete===void 0&&(i.complete=Sh);let o=this.unsubscribeOne.bind(this,this.observers.length);return this.finalized&&this.task.then(()=>{try{this.finalError?i.error(this.finalError):i.complete()}catch{}}),this.observers.push(i),o}unsubscribeOne(e){this.observers===void 0||this.observers[e]===void 0||(delete this.observers[e],this.observerCount-=1,this.observerCount===0&&this.onNoObservers!==void 0&&this.onNoObservers(this))}forEachObserver(e){if(!this.finalized)for(let n=0;n<this.observers.length;n++)this.sendOne(n,e)}sendOne(e,n){this.task.then(()=>{if(this.observers!==void 0&&this.observers[e]!==void 0)try{n(this.observers[e])}catch(r){typeof console<"u"&&console.error&&console.error(r)}})}close(e){this.finalized||(this.finalized=!0,e!==void 0&&(this.finalError=e),this.task.then(()=>{this.observers=void 0,this.onNoObservers=void 0}))}};function Ax(t,e){if(typeof t!="object"||t===null)return!1;for(let n of e)if(n in t&&typeof t[n]=="function")return!0;return!1}function Sh(){}var Mx=1e3,Nx=2,Rx=4*60*60*1e3,xx=.5;function tG(t,e=Mx,n=Nx){let r=e*Math.pow(n,t),i=Math.round(xx*r*(Math.random()-.5)*2);return Math.min(Rx,r+i)}function Rt(t){return t&&t._delegate?t._delegate:t}var xt=class{constructor(e,n,r){this.name=e,this.instanceFactory=n,this.type=r,this.multipleInstances=!1,this.serviceProps={},this.instantiationMode="LAZY",this.onInstanceCreated=null}setInstantiationMode(e){return this.instantiationMode=e,this}setMultipleInstances(e){return this.multipleInstances=e,this}setServiceProps(e){return this.serviceProps=e,this}setInstanceCreatedCallback(e){return this.onInstanceCreated=e,this}};var _r="[DEFAULT]";var Oh=class{constructor(e,n){this.name=e,this.container=n,this.component=null,this.instances=new Map,this.instancesDeferred=new Map,this.instancesOptions=new Map,this.onInitCallbacks=new Map}get(e){let n=this.normalizeInstanceIdentifier(e);if(!this.instancesDeferred.has(n)){let r=new Vc;if(this.instancesDeferred.set(n,r),this.isInitialized(n)||this.shouldAutoInitialize())try{let i=this.getOrInitializeService({instanceIdentifier:n});i&&r.resolve(i)}catch{}}return this.instancesDeferred.get(n).promise}getImmediate(e){var n;let r=this.normalizeInstanceIdentifier(e?.identifier),i=(n=e?.optional)!==null&&n!==void 0?n:!1;if(this.isInitialized(r)||this.shouldAutoInitialize())try{return this.getOrInitializeService({instanceIdentifier:r})}catch(o){if(i)return null;throw o}else{if(i)return null;throw Error(`Service ${this.name} is not available`)}}getComponent(){return this.component}setComponent(e){if(e.name!==this.name)throw Error(`Mismatching Component ${e.name} for Provider ${this.name}.`);if(this.component)throw Error(`Component for ${this.name} has already been provided`);if(this.component=e,!!this.shouldAutoInitialize()){if(Px(e))try{this.getOrInitializeService({instanceIdentifier:_r})}catch{}for(let[n,r]of this.instancesDeferred.entries()){let i=this.normalizeInstanceIdentifier(n);try{let o=this.getOrInitializeService({instanceIdentifier:i});r.resolve(o)}catch{}}}}clearInstance(e=_r){this.instancesDeferred.delete(e),this.instancesOptions.delete(e),this.instances.delete(e)}delete(){return p(this,null,function*(){let e=Array.from(this.instances.values());yield Promise.all([...e.filter(n=>"INTERNAL"in n).map(n=>n.INTERNAL.delete()),...e.filter(n=>"_delete"in n).map(n=>n._delete())])})}isComponentSet(){return this.component!=null}isInitialized(e=_r){return this.instances.has(e)}getOptions(e=_r){return this.instancesOptions.get(e)||{}}initialize(e={}){let{options:n={}}=e,r=this.normalizeInstanceIdentifier(e.instanceIdentifier);if(this.isInitialized(r))throw Error(`${this.name}(${r}) has already been initialized`);if(!this.isComponentSet())throw Error(`Component ${this.name} has not been registered yet`);let i=this.getOrInitializeService({instanceIdentifier:r,options:n});for(let[o,s]of this.instancesDeferred.entries()){let a=this.normalizeInstanceIdentifier(o);r===a&&s.resolve(i)}return i}onInit(e,n){var r;let i=this.normalizeInstanceIdentifier(n),o=(r=this.onInitCallbacks.get(i))!==null&&r!==void 0?r:new Set;o.add(e),this.onInitCallbacks.set(i,o);let s=this.instances.get(i);return s&&e(s,i),()=>{o.delete(e)}}invokeOnInitCallbacks(e,n){let r=this.onInitCallbacks.get(n);if(r)for(let i of r)try{i(e,n)}catch{}}getOrInitializeService({instanceIdentifier:e,options:n={}}){let r=this.instances.get(e);if(!r&&this.component&&(r=this.component.instanceFactory(this.container,{instanceIdentifier:Ox(e),options:n}),this.instances.set(e,r),this.instancesOptions.set(e,n),this.invokeOnInitCallbacks(r,e),this.component.onInstanceCreated))try{this.component.onInstanceCreated(this.container,e,r)}catch{}return r||null}normalizeInstanceIdentifier(e=_r){return this.component?this.component.multipleInstances?e:_r:e}shouldAutoInitialize(){return!!this.component&&this.component.instantiationMode!=="EXPLICIT"}};function Ox(t){return t===_r?void 0:t}function Px(t){return t.instantiationMode==="EAGER"}var Uc=class{constructor(e){this.name=e,this.providers=new Map}addComponent(e){let n=this.getProvider(e.name);if(n.isComponentSet())throw new Error(`Component ${e.name} has already been registered with ${this.name}`);n.setComponent(e)}addOrOverwriteComponent(e){this.getProvider(e.name).isComponentSet()&&this.providers.delete(e.name),this.addComponent(e)}getProvider(e){if(this.providers.has(e))return this.providers.get(e);let n=new Oh(e,this);return this.providers.set(e,n),n}getProviders(){return Array.from(this.providers.values())}};var kx=[],K=function(t){return t[t.DEBUG=0]="DEBUG",t[t.VERBOSE=1]="VERBOSE",t[t.INFO=2]="INFO",t[t.WARN=3]="WARN",t[t.ERROR=4]="ERROR",t[t.SILENT=5]="SILENT",t}(K||{}),Fx={debug:K.DEBUG,verbose:K.VERBOSE,info:K.INFO,warn:K.WARN,error:K.ERROR,silent:K.SILENT},Lx=K.INFO,Vx={[K.DEBUG]:"log",[K.VERBOSE]:"log",[K.INFO]:"info",[K.WARN]:"warn",[K.ERROR]:"error"},jx=(t,e,...n)=>{if(e<t.logLevel)return;let r=new Date().toISOString(),i=Vx[e];if(i)console[i](`[${r}]  ${t.name}:`,...n);else throw new Error(`Attempted to log a message with an invalid logType (value: ${e})`)},Mi=class{constructor(e){this.name=e,this._logLevel=Lx,this._logHandler=jx,this._userLogHandler=null,kx.push(this)}get logLevel(){return this._logLevel}set logLevel(e){if(!(e in K))throw new TypeError(`Invalid value "${e}" assigned to \`logLevel\``);this._logLevel=e}setLogLevel(e){this._logLevel=typeof e=="string"?Fx[e]:e}get logHandler(){return this._logHandler}set logHandler(e){if(typeof e!="function")throw new TypeError("Value assigned to `logHandler` must be a function");this._logHandler=e}get userLogHandler(){return this._userLogHandler}set userLogHandler(e){this._userLogHandler=e}debug(...e){this._userLogHandler&&this._userLogHandler(this,K.DEBUG,...e),this._logHandler(this,K.DEBUG,...e)}log(...e){this._userLogHandler&&this._userLogHandler(this,K.VERBOSE,...e),this._logHandler(this,K.VERBOSE,...e)}info(...e){this._userLogHandler&&this._userLogHandler(this,K.INFO,...e),this._logHandler(this,K.INFO,...e)}warn(...e){this._userLogHandler&&this._userLogHandler(this,K.WARN,...e),this._logHandler(this,K.WARN,...e)}error(...e){this._userLogHandler&&this._userLogHandler(this,K.ERROR,...e),this._logHandler(this,K.ERROR,...e)}};var Ux=(t,e)=>e.some(n=>t instanceof n),uE,lE;function $x(){return uE||(uE=[IDBDatabase,IDBObjectStore,IDBIndex,IDBCursor,IDBTransaction])}function Bx(){return lE||(lE=[IDBCursor.prototype.advance,IDBCursor.prototype.continue,IDBCursor.prototype.continuePrimaryKey])}var dE=new WeakMap,kh=new WeakMap,fE=new WeakMap,Ph=new WeakMap,Lh=new WeakMap;function Hx(t){let e=new Promise((n,r)=>{let i=()=>{t.removeEventListener("success",o),t.removeEventListener("error",s)},o=()=>{n(Ot(t.result)),i()},s=()=>{r(t.error),i()};t.addEventListener("success",o),t.addEventListener("error",s)});return e.then(n=>{n instanceof IDBCursor&&dE.set(n,t)}).catch(()=>{}),Lh.set(e,t),e}function zx(t){if(kh.has(t))return;let e=new Promise((n,r)=>{let i=()=>{t.removeEventListener("complete",o),t.removeEventListener("error",s),t.removeEventListener("abort",s)},o=()=>{n(),i()},s=()=>{r(t.error||new DOMException("AbortError","AbortError")),i()};t.addEventListener("complete",o),t.addEventListener("error",s),t.addEventListener("abort",s)});kh.set(t,e)}var Fh={get(t,e,n){if(t instanceof IDBTransaction){if(e==="done")return kh.get(t);if(e==="objectStoreNames")return t.objectStoreNames||fE.get(t);if(e==="store")return n.objectStoreNames[1]?void 0:n.objectStore(n.objectStoreNames[0])}return Ot(t[e])},set(t,e,n){return t[e]=n,!0},has(t,e){return t instanceof IDBTransaction&&(e==="done"||e==="store")?!0:e in t}};function hE(t){Fh=t(Fh)}function Wx(t){return t===IDBDatabase.prototype.transaction&&!("objectStoreNames"in IDBTransaction.prototype)?function(e,...n){let r=t.call($c(this),e,...n);return fE.set(r,e.sort?e.sort():[e]),Ot(r)}:Bx().includes(t)?function(...e){return t.apply($c(this),e),Ot(dE.get(this))}:function(...e){return Ot(t.apply($c(this),e))}}function Gx(t){return typeof t=="function"?Wx(t):(t instanceof IDBTransaction&&zx(t),Ux(t,$x())?new Proxy(t,Fh):t)}function Ot(t){if(t instanceof IDBRequest)return Hx(t);if(Ph.has(t))return Ph.get(t);let e=Gx(t);return e!==t&&(Ph.set(t,e),Lh.set(e,t)),e}var $c=t=>Lh.get(t);function gE(t,e,{blocked:n,upgrade:r,blocking:i,terminated:o}={}){let s=indexedDB.open(t,e),a=Ot(s);return r&&s.addEventListener("upgradeneeded",c=>{r(Ot(s.result),c.oldVersion,c.newVersion,Ot(s.transaction),c)}),n&&s.addEventListener("blocked",c=>n(c.oldVersion,c.newVersion,c)),a.then(c=>{o&&c.addEventListener("close",()=>o()),i&&c.addEventListener("versionchange",u=>i(u.oldVersion,u.newVersion,u))}).catch(()=>{}),a}var qx=["get","getKey","getAll","getAllKeys","count"],Zx=["put","add","delete","clear"],Vh=new Map;function pE(t,e){if(!(t instanceof IDBDatabase&&!(e in t)&&typeof e=="string"))return;if(Vh.get(e))return Vh.get(e);let n=e.replace(/FromIndex$/,""),r=e!==n,i=Zx.includes(n);if(!(n in(r?IDBIndex:IDBObjectStore).prototype)||!(i||qx.includes(n)))return;let o=function(s,...a){return p(this,null,function*(){let c=this.transaction(s,i?"readwrite":"readonly"),u=c.store;return r&&(u=u.index(a.shift())),(yield Promise.all([u[n](...a),i&&c.done]))[0]})};return Vh.set(e,o),o}hE(t=>$(v({},t),{get:(e,n,r)=>pE(e,n)||t.get(e,n,r),has:(e,n)=>!!pE(e,n)||t.has(e,n)}));var Uh=class{constructor(e){this.container=e}getPlatformInfoString(){return this.container.getProviders().map(n=>{if(Yx(n)){let r=n.getImmediate();return`${r.library}/${r.version}`}else return null}).filter(n=>n).join(" ")}};function Yx(t){let e=t.getComponent();return e?.type==="VERSION"}var $h="@firebase/app",mE="0.10.10";var dn=new Mi("@firebase/app"),Kx="@firebase/app-compat",Qx="@firebase/analytics-compat",Jx="@firebase/analytics",Xx="@firebase/app-check-compat",eO="@firebase/app-check",tO="@firebase/auth",nO="@firebase/auth-compat",rO="@firebase/database",iO="@firebase/database-compat",oO="@firebase/functions",sO="@firebase/functions-compat",aO="@firebase/installations",cO="@firebase/installations-compat",uO="@firebase/messaging",lO="@firebase/messaging-compat",dO="@firebase/performance",fO="@firebase/performance-compat",hO="@firebase/remote-config",pO="@firebase/remote-config-compat",gO="@firebase/storage",mO="@firebase/storage-compat",vO="@firebase/firestore",yO="@firebase/vertexai-preview",IO="@firebase/firestore-compat",DO="firebase",EO="10.13.1";var Bh="[DEFAULT]",wO={[$h]:"fire-core",[Kx]:"fire-core-compat",[Jx]:"fire-analytics",[Qx]:"fire-analytics-compat",[eO]:"fire-app-check",[Xx]:"fire-app-check-compat",[tO]:"fire-auth",[nO]:"fire-auth-compat",[rO]:"fire-rtdb",[iO]:"fire-rtdb-compat",[oO]:"fire-fn",[sO]:"fire-fn-compat",[aO]:"fire-iid",[cO]:"fire-iid-compat",[uO]:"fire-fcm",[lO]:"fire-fcm-compat",[dO]:"fire-perf",[fO]:"fire-perf-compat",[hO]:"fire-rc",[pO]:"fire-rc-compat",[gO]:"fire-g
7cs",[mO]:"fire-gcs-compat",[vO]:"fire-fst",[IO]:"fire-fst-compat",[yO]:"fire-vertex","fire-js":"fire-js",[DO]:"fire-js-all"};var $o=new Map,_O=new Map,Hh=new Map;function vE(t,e){try{t.container.addComponent(e)}catch(n){dn.debug(`Component ${e.name} failed to register with FirebaseApp ${t.name}`,n)}}function Ni(t){let e=t.name;if(Hh.has(e))return dn.debug(`There were multiple attempts to register component ${e}.`),!1;Hh.set(e,t);for(let n of $o.values())vE(n,t);for(let n of _O.values())vE(n,t);return!0}function qh(t,e){let n=t.container.getProvider("heartbeat").getImmediate({optional:!0});return n&&n.triggerHeartbeat(),t.container.getProvider(e)}function vt(t){return t.settings!==void 0}var CO={"no-app":"No Firebase App '{$appName}' has been created - call initializeApp() first","bad-app-name":"Illegal App name: '{$appName}'","duplicate-app":"Firebase App named '{$appName}' already exists with different options or config","app-deleted":"Firebase App named '{$appName}' already deleted","server-app-deleted":"Firebase Server App has been deleted","no-options":"Need to provide options, when not being deployed to hosting via source.","invalid-app-argument":"firebase.{$appName}() takes either no argument or a Firebase App instance.","invali
7d-log-argument":"First argument to `onLog` must be null or a function.","idb-open":"Error thrown when opening IndexedDB. Original error: {$originalErrorMessage}.","idb-get":"Error thrown when reading from IndexedDB. Original error: {$originalErrorMessage}.","idb-set":"Error thrown when writing to IndexedDB. Original error: {$originalErrorMessage}.","idb-delete":"Error thrown when deleting from IndexedDB. Original error: {$originalErrorMessage}.","finalization-registry-not-supported":"FirebaseServerApp deleteOnDeref field defined but the JS runtime does not support FinalizationRegistry.","invalid-server-app-environment":"FirebaseServerApp is not for use in browser environments."},$n=new ln("app","Firebase",CO);var zh=class{constructor(e,n,r){this._isDeleted=!1,this._options=Object.assign({},e),this._config=Object.assign({},n),this._name=n.name,this._automaticDataCollectionEnabled=n.automaticDataCollectionEnabled,this._container=r,this.container.addComponent(new xt("app",()=>this,"PUBLIC"))}get automaticDataCollectionEnabled(){return this.checkDestroyed(),this._automaticDataCollectionEnabled}set automaticDataCollectionEnabled(e){this.checkDestroyed(),this._automaticDataCollectionEnabled=e}get name(){return this.checkDestroyed(),this._name}get options(){return this.checkDestroyed(),this._options}get config(){return this.checkDestroyed(),this._config}get container(){return this._container}get isDeleted(){return this._isDeleted}set isDeleted(e){this._isDeleted=e}checkDestroyed(){if(this.isDeleted)throw $n.create("app-deleted",{appName:this._name})}};var Ri=EO;function Zh(t,e={}){let n=t;typeof e!="object"&&(e={name:e});let r=Object.assign({name:Bh,automaticDataCollectionEnabled:!1},e),i=r.name;if(typeof i!="string"||!i)throw $n.create("bad-app-name",{appName:String(i)});if(n||(n=Rh()),!n)throw $n.create("no-options");let o=$o.get(i);if(o){if(Si(n,o.options)&&Si(r,o.config))return o;throw $n.create("duplicate-app",{appName:i})}let s=new Uc(i);for(let c of Hh.values())s.addComponent(c);let a=new zh(n,r,s);return $o.set(i,a),a}function Bc(t=Bh){let e=$o.get(t);if(!e&&t===Bh&&Rh())return Zh();if(!e)throw $n.create("no-app",{appName:t});return e}function Hc(){return Array.from($o.values())}function ke(t,e,n){var r;let i=(r=wO[t])!==null&&r!==void 0?r:t;n&&(i+=`-${n}`);let o=i.match(/\s|\//),s=e.match(/\s|\//);if(o||s){let a=[`Unable to register library "${i}" with version "${e}":`];o&&a.push(`library name "${i}" contains illegal characters (whitespace or "/")`),o&&s&&a.push("and"),s&&a.push(`version name "${e}" contains illegal characters (whitespace or "/")`),dn.warn(a.join(" "));return}Ni(new xt(`${i}-version`,()=>({library:i,version:e}),"VERSION"))}var bO="firebase-heartbeat-database",SO=1,Bo="firebase-heartbeat-store",jh=null;function EE(){return jh||(jh=gE(bO,SO,{upgrade:(t,e)=>{switch(e){case 0:try{t.createObjectStore(Bo)}catch(n){console.warn(n)}}}}).catch(t=>{throw $n.create("idb-open",{originalErrorMessage:t.message})})),jh}function TO(t){return p(this,null,function*(){try{let n=(yield EE()).transaction(Bo),r=yield n.objectStore(Bo).get(wE(t));return yield n.done,r}catch(e){if(e instanceof mt)dn.warn(e.message);else{let n=$n.create("idb-get",{originalErrorMessage:e?.message});dn.warn(n.message)}}})}function yE(t,e){return p(this,null,function*(){try{let r=(yield EE()).transaction(Bo,"readwrite");yield r.objectStore(Bo).put(e,wE(t)),yield r.done}catch(n){if(n instanceof mt)dn.warn(n.message);else{let r=$n.create("idb-set",{originalErrorMessage:n?.message});dn.warn(r.message)}}})}function wE(t){return`${t.name}!${t.options.appId}`}var AO=1024,MO=30*24*60*60*1e3,Wh=class{constructor(e){this.container=e,this._heartbeatsCache=null;let n=this.container.getProvider("app").getImmediate();this._storage=new Gh(n),this._heartbeatsCachePromise=this._storage.read().then(r=>(this._heartbeatsCache=r,r))}triggerHeartbeat(){return p(this,null,function*(){var e,n;try{let i=this.container.getProvider("platform-logger").getImmediate().getPlatformInfoString(),o=IE();return((e=this._heartbeatsCache)===null||e===void 0?void 0:e.heartbeats)==null&&(this._heartbeatsCache=yield this._heartbeatsCachePromise,((n=this._heartbeatsCache)===null||n===void 0?void 0:n.heartbeats)==null)||this._heartbeatsCache.lastSentHeartbeatDate===o||this._heartbeatsCache.heartbeats.some(s=>s.date===o)?void 0:(this._heartbeatsCache.heartbeats.push({date:o,agent:i}),this._heartbeatsCache.heartbeats=this._heartbeatsCache.heartbeats.filter(s=>{let a=new Date(s.date).valueOf();return Date.now()-a<=MO}),this._storage.overwrite(this._heartbeatsCache))}catch(r){dn.warn(r)}})}getHeartbeatsHeader(){return p(this,null,function*(){var e;try{if(this._heartbeatsCache===null&&(yield this._heartbeatsCachePromise),((e=this._heartbeatsCache)===null||e===void 0?void 0:e.heartbeats)==null||this._heartbeatsCache.heartbeats.length===0)return"";let n=IE(),{heartbeatsToSend:r,unsentEntries:i}=NO(this._heartbeatsCache.heartbeats),o=jo(JSON.stringify({version:2,heartbeats:r}));return this._heartbeatsCache.lastSentHeartbeatDate=n,i.length>0?(this._heartbeatsCache.heartbeats=i,yield this._storage.overwrite(this._heartbeatsCache)):(this._heartbeatsCache.heartbeats=[],this._storage.overwrite(this._heartbeatsCache)),o}catch(n){return dn.warn(n),""}})}};function IE(){return new Date().toISOString().substring(0,10)}function NO(t,e=AO){let n=[],r=t.slice();for(let i of t){let o=n.find(s=>s.agent===i.agent);if(o){if(o.dates.push(i.date),DE(n)>e){o.dates.pop();break}}else if(n.push({agent:i.agent,dates:[i.date]}),DE(n)>e){n.pop();break}r=r.slice(1)}return{heartbeatsToSend:n,unsentEntries:r}}var Gh=class{constructor(e){this.app=e,this._canUseIndexedDBPromise=this.runIndexedDBEnvironmentCheck()}runIndexedDBEnvironmentCheck(){return p(this,null,function*(){return oE()?sE().then(()=>!0).catch(()=>!1):!1})}read(){return p(this,null,function*(){if(yield this._canUseIndexedDBPromise){let n=yield TO(this.app);return n?.heartbeats?n:{heartbeats:[]}}else return{heartbeats:[]}})}overwrite(e){return p(this,null,function*(){var n;if(yield this._canUseIndexedDBPromise){let i=yield this.read();return yE(this.app,{lastSentHeartbeatDate:(n=e.lastSentHeartbeatDate)!==null&&n!==void 0?n:i.lastSentHeartbeatDate,heartbeats:e.heartbeats})}else return})}add(e){return p(this,null,function*(){var n;if(yield this._canUseIndexedDBPromise){let i=yield this.read();return yE(this.app,{lastSentHeartbeatDate:(n=e.lastSentHeartbeatDate)!==null&&n!==void 0?n:i.lastSentHeartbeatDate,heartbeats:[...i.heartbeats,...e.heartbeats]})}else return})}};function DE(t){return jo(JSON.stringify({version:2,heartbeats:t})).length}function RO(t){Ni(new xt("platform-logger",e=>new Uh(e),"PRIVATE")),Ni(new xt("heartbeat",e=>new Wh(e),"PRIVATE")),ke($h,mE,t),ke($h,mE,"esm2017"),ke("fire-js","")}RO("");var xO="firebase",OO="10.13.1";ke(xO,OO,"app");var Ho=new Gt("ANGULARFIRE2_VERSION"),RG=t=>`The APP_INITIALIZER that is "making" isSupported() sync for the sake of convenient DI has not resolved 
7in this
8context. Rather than injecting ${t} in the constructor, first ensure that ${t} is supported by calling
9\`await isSupported()\`, then retrieve the instance from the injector manually \`injector.get(${t})\`.`;function _E(t,e,n){if(e){if(e.length===1)return e[0];let o=e.filter(s=>s.app===n);if(o.length===1)return o[0]}return n.container.getProvider(t).getImmediate({optional:!0})}var Kh=(t,e)=>{let n=e?[e]:Hc(),r=[];return n.forEach(i=>{i.container.getProvider(t).instances.forEach(s=>{r.includes(s)||r.push(s)})}),r},zc=class{constructor(){return Kh(PO)}},PO="app-check";function xi(){}var Wc=class{zone;delegate;constructor(e,n=Fu){this.zone=e,this.delegate=n}now(){return this.delegate.now()}schedule(e,n,r){let i=this.zone,o=function(s){i.runGuarded(()=>{e.apply(this,[s])})};return this.delegate.schedule(o,n,r)}},Yh=class{zone;task=null;constructor(e){this.zone=e}call(e,n){let r=this.unscheduleTask.bind(this);return this.task=this.zone.run(()=>Zone.current.scheduleMacroTask("firebaseZoneBlock",xi,{},xi,xi)),n.pipe(ce({next:r,complete:r,error:r})).subscribe(e).add(r)}unscheduleTask(){setTimeout(()=>{this.task!=null&&this.task.state==="scheduled"&&(this.task.invoke(),this.task=null)},10)}},Gc=(()=>{class t{ngZone;outsideAngular;insideAngular;constructor(n){this.ngZone=n,this.outsideAngular=n.runOutsideAngular(()=>new Wc(Zone.current)),this.insideAngular=n.run(()=>new Wc(Zone.current,ze)),globalThis.\u0275AngularFireScheduler||=this}static \u0275fac=function(r){return new(r||t)(N(G))};static \u0275prov=C({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function qc(){let t=globalThis.\u0275AngularFireScheduler;if(!t)throw new Error(`Either AngularFireModule has not been provided in your Ap
9pModule (this can be done manually or implictly using
10provideFirebaseApp) or you're calling an AngularFire method outside of an NgModule (which is not supported).`);return t}function kO(t){return qc().ngZone.runOutsideAngular(()=>t())}function Cr(t){return qc().ngZone.run(()=>t())}function FO(t){return LO(qc())(t)}function LO(t){return function(n){return n=n.lift(new Yh(t.ngZone)),n.pipe(En(t.outsideAngular),Dn(t.insideAngular))}}var VO=(t,e)=>function(){let r=arguments;return e&&setTimeout(()=>{e.state==="scheduled"&&e.invoke()},10),Cr(()=>t.apply(void 0,r))},Pt=(t,e)=>function(){let n,r=arguments;for(let o=0;o<arguments.length;o++)typeof r[o]=="function"&&(e&&(n||=Cr(()=>Zone.current.scheduleMacroTask("firebaseZoneBlock",xi,{},xi,xi))),r[o]=VO(r[o],n));let i=kO(()=>t.apply(this,r));if(!e)if(i instanceof R){let o=qc();return i.pipe(En(o.outsideAngular),Dn(o.insideAngular))}else return Cr(()=>i);return i instanceof R?i.pipe(FO):i instanceof Promise?Cr(()=>new Promise((o,s)=>i.then(a=>Cr(()=>o(a)),a=>Cr(()=>s(a))))):typeof i=="function"&&n?function(){return setTimeout(()=>{n&&n.state==="scheduled"&&n.invoke()},10),i.apply(this,arguments)}:Cr(()=>i)};var br=class{constructor(e){return e}},zo=class{constructor(){return Hc()}};function jO(t){return t&&t.length===1?t[0]:new br(Bc())}var Qh=new w("angularfire2._apps"),UO={provide:br,useFactory:jO,deps:[[new ct,Qh]]},$O={provide:zo,deps:[[new ct,Qh]]};function BO(t){return(e,n)=>{let r=n.get(Tt);ke("angularfire",Ho.full,"core"),ke("angularfire",Ho.full,"app"),ke("angular",wI.full,r.toString());let i=e.runOutsideAngular(()=>t(n));return new br(i)}}function BG(t,...e){return Pn([UO,$O,{provide:Qh,useFactory:BO(t),multi:!0,deps:[G,ve,Gc,...e]}])}var HG=Pt(Zh,!0);function UE(){return{"dependent-sdk-initialized-before-auth":"Another Firebase SDK was initialized and is trying to use Auth before Auth is initialized. Please be sure to call `initializeAuth` or `getAuth` before starting any other Firebase SDK."}}var $E=UE,BE=new ln("auth","Firebase",UE());var Xc=new Mi("@firebase/auth");function HO(t,...e){Xc.logLevel<=K.WARN&&Xc.warn(`Auth (${Ri}): ${t}`,...e)}function Yc(t,...e){Xc.logLevel<=K.ERROR&&Xc.error(`Auth (${Ri}): ${t}`,...e)}function Ft(t,...e){throw Ip(t,...e)}function Sr(t,...e){return Ip(t,...e)}function HE(t,e,n){let r=Object.assign(Object.assign({},$E()),{[e]:n});return new ln("auth","Firebase",r).create(e,{appName:t.name})}function pn(t){return HE(t,"operation-not-supported-in-this-environment","Operations that alter the current user are not supported in conjunction with FirebaseServerApp")}function Ip(t,...e){if(typeof t!="string"){let n=e[0],r=[...e.slice(1)];return r[0]&&(r[0].appName=t.name),t._errorFactory.create(n,...r)}return BE.create(t,...e)}function A(t,e,...n){if(!t)throw Ip(e,...n)}function fn(t){let e="INTERNAL ASSERTION FAILED: "+t;throw Yc(e),new Error(e)}function Hn(t,e){t||fn(e)}function tp(){var t;return typeof self<"u"&&((t=self.location)===null||t===void 0?void 0:t.href)||""}function zO(){return CE()==="http:"||CE()==="https:"}function CE(){var t;return typeof self<"u"&&((t=self.location)===null||t===void 0?void 0:t.protocol)||null}function WO(){return typeof navigator<"u"&&navigator&&"onLine"in navigator&&typeof navigator.onLine=="boolean"&&(zO()||nE()||"connection"in navigator)?navigator.onLine:!0}function GO(){if(typeof navigator>"u")return null;let t=navigator;return t.languages&&t.languages[0]||t.language||null}var Tr=class{constructor(e,n){this.shortDelay=e,this.longDelay=n,Hn(n>e,"Short delay should be less than long delay!"),this.isMobile=tE()||rE()}get(){return WO()?this.isMobile?this.longDelay:this.shortDelay:Math.min(5e3,this.shortDelay)}};function Dp(t,e){Hn(t.emulator,"Emulator should always be set here");let{url:n}=t.emulator;return e?`${n}${e.startsWith("/")?e.slice(1):e}`:n}var eu=class{static initialize(e,n,r){this.fetchImpl=e,n&&(this.headersImpl=n),r&&(this.responseImpl=r)}static fetch(){if(this.fetchImpl)return this.fetchImpl;if(typeof self<"u"&&"fetch"in self)return self.fetch;if(typeof globalThis<"u"&&globalThis.fetch)return globalThis.fetch;if(typeof fetch<"u")return fetch;fn("Could not find fetch implementation, make sure you call FetchProvi
10der.initialize() with an appropriate polyfill")}static headers(){if(this.headersImpl)return this.headersImpl;if(typeof self<"u"&&"Headers"in self)return self.Headers;if(typeof globalThis<"u"&&globalThis.Headers)return globalThis.Headers;if(typeof Headers<"u")return Headers;fn("Could not find Headers implementation, make sure you call FetchProvider.initialize() with an appropriate polyfill")}static response(){if(this.responseImpl)return this.responseImpl;if(typeof self<"u"&&"Response"in self)return self.Response;if(typeof globalThis<"u"&&globalThis.Response)return globalThis.Response;if(typeof Response<"u")return Response;fn("Could not find Response implementation, make sure you call FetchProvider.initialize() with an appropriate polyfill")}};var qO={CREDENTIAL_MISMATCH:"custom-token-mismatch",MISSING_CUSTOM_TOKEN:"internal-error",INVALID_IDENTIFIER:"invalid-email",MISSING_CONTINUE_URI:"internal-error",INVALID_PASSWORD:"wrong-password",MISSING_PASSWORD:"missing-password",INVALID_LOGIN_CREDENTIALS:"invalid-credential",EMAIL_EXISTS:"email-already-in-use",PASSWORD_LOGIN_DISABLED:"operation-not-allowed",INVALID_IDP_RESPONSE:"invalid-credential",INVALID_PENDING_TOKEN:"invalid-credential",FEDERATED_USER_ID_ALREADY_LINKED:"credential-already-in-use",MISSING_REQ_TYPE:"internal-error",EMAIL_NOT_FOUND:"user-not-found",RESET_PASSWORD_EXCEED_LIMIT:"too-many-requests",EXPIRED_OOB_CODE:"expired-action-code",INVALID_OOB_CODE:"invalid-action-code",MISSING_OOB_CODE:"internal-error",CREDENTIAL_TOO_OLD_LOGIN_AGAIN:"requires-recent-login",INVALID_ID_TOKEN:"invalid-user-token",TOKEN_EXPIRED:"user-token-expired",USER_NOT_FOUND:"user-token-expired",TOO_MANY_ATTEMPTS_TRY_LATER:"too-many-requests",PASSWORD_DOES_NOT_MEET_REQUIREMENTS:"password-does-not-meet-requirements",INVALID_CODE:"invalid-verification-code",INVALID_SESSION_INFO:"invalid-verification-id",INVALID_TEMPORARY_PROOF:"invalid-credential",MISSING_SESSION_INFO:"missing-verification-id",SESSION_EXPIRED:"code-expired",MISSING_ANDROID_PACKAGE_NAME:"missing-android-pkg-name",UNAUTHORIZED_DOMAIN:"unauthorized-continue-uri",INVALID_OAUTH_CLIENT_ID:"invalid-oauth-client-id",ADMIN_ONLY_OPERATION:"admin-restricted-operation",INVALID_MFA_PENDING_CREDENTIAL:"invalid-multi-factor-session",MFA_ENROLLMENT_NOT_FOUND:"multi-factor-info-not-found",MISSING_MFA_ENROLLMENT_ID:"missing-multi-factor-info",MISSING_MFA_PENDING_CREDENTIAL:"missing-multi-factor-session",SECOND_FACTOR_EXISTS:"second-factor-already-in-use",SECOND_FACTOR_LIMIT_EXCEEDED:"maximum-second-factor-count-exceeded",BLOCKING_FUNCTION_ERROR_RESPONSE:"internal-error",RECAPTCHA_NOT_ENABLED:"recaptcha-not-enabled",MISSING_RECAPTCHA_TOKEN:"missing-recaptcha-token",INVALID_RECAPTCHA_TOKEN:"invalid-recaptcha-token",INVALID_RECAPTCHA_ACTION:"invalid-recaptcha-action",MISSING_CLIENT_TYPE:"missing-client-type",MISSING_RECAPTCHA_VERSION:"missing-recaptcha-version",INVALID_RECAPTCHA_VERSION:"invalid-recaptcha-version",INVALID_REQ_TYPE:"invalid-req-type"};var ZO=new Tr(3e4,6e4);function gn(t,e){return t.tenantId&&!e.tenantId?Object.assign(Object.assign({},e),{tenantId:t.tenantId}):e}function mn(o,s,a,c){return p(this,arguments,function*(t,e,n,r,i={}){return zE(t,i,()=>p(this,null,function*(){let u={},l={};r&&(e==="GET"?l=r:u={body:JSON.stringify(r)});let d=Uo(Object.assign({key:t.config.apiKey},l)).slice(1),h=yield t._getAdditionalHeaders();return h["Content-Type"]="application/json",t.languageCode&&(h["X-Firebase-Locale"]=t.languageCode),eu.fetch()(WE(t,t.config.apiHost,n,d),Object.assign({method:e,headers:h,referrerPolicy:"no-referrer"},u))}))})}function zE(t,e,n){return p(this,null,function*(){t._canInitEmulator=!1;let r=Object.assign(Object.assign({},qO),e);try{let i=new np(t),o=yield Promise.race([n(),i.promise]);i.clearNetworkTimeout();let s=yield o.json();if("needConfirmation"in s)throw Zc(t,"account-exists-with-different-credential",s);if(o.ok&&!("errorMessage"in s))return s;{let a=o.ok?s.errorMessage:s.error.message,[c,u]=a.split(" : ");if(c==="FEDERATED_USER_ID_ALREADY_LINKED")throw Zc(t,"credential-already-in-use",s);if(c==="EMAIL_EXISTS")throw Zc(t,"email-already-in-use",s);if(c==="USER_DISABLED")throw Zc(t,"user-disabled",s);let l=r[c]||c.toLowerCase().replace(/[_\s]+/g,"-");if(u)throw HE(t,l,u);Ft(t,l)}}catch(i){if(i instanceof mt)throw i;Ft(t,"network-request-failed",{message:String(i)})}})}function Jo(o,s,a,c){return p(this,arguments,function*(t,e,n,r,i={}){let u=yield mn(t,e,n,r,i);return"mfaPendingCredential"in u&&Ft(t,"multi-factor-auth-required",{_serverResponse:u}),u})}function WE(t,e,n,r){let i=`${e}${n}?${r}`;return t.config.emulator?Dp(t.config,i):`${t.config.apiScheme}://${i}`}function YO(t){switch(t){case"ENFORCE":return"ENFORCE";case"AUDIT":return"AUDIT";case"OFF":return"OFF";default:return"ENFORCEMENT_STATE_UNSPECIFIED"}}var np=class{constructor(e){this.auth=e,this.timer=null,this.promise=new Promise((n,r)=>{this.timer=setTimeout(()=>r(Sr(this.auth,"network-request-failed")),ZO.get())})}clearNetworkTimeout(){clearTimeout(this.timer)}};function Zc(t,e,n){let r={appName:t.name};n.email&&(r.email=n.email),n.phoneNumber&&(r.phoneNumber=n.phoneNumber);let i=Sr(t,e,r);return i.customData._tokenResponse=n,i}function bE(t){return t!==void 0&&t.enterprise!==void 0}var rp=class{constructor(e){if(this.siteKey="",this.recaptchaEnforcementState=[],e.recaptchaKey===void 0)throw new Error("recaptchaKey undefined");this.siteKey=e.recaptchaKey.split("/")[3],this.recaptchaEnforcementState=e.recaptchaEnforcementState}getProviderEnforcementState(e){if(!this.recaptchaEnforcementState||this.recaptchaEnforcementState.length===0)return null;for(let n of this.recaptchaEnforcementState)if(n.provider&&n.provider===e)return YO(n.enforcementState);return null}isProviderEnabled(e){return this.getProviderEnforcementState(e)==="ENFORCE"||this.getProviderEnforcementState(e)==="AUDIT"}};function KO(t,e){return p(this,null,function*(){return mn(t,"GET","/v2/recaptchaConfig",gn(t,e))})}function QO(t,e){return p(this,null,function*(){return mn(t,"POST","/v1/accounts:delete",e)}
vendor: 29,132 bytes, line 10
10)}function GE(t,e){return p(this,null,function*(){return mn(t,"POST","/v1/accounts:lookup",e)})}function Wo(t){if(t)try{let e=new Date(Number(t));if(!isNaN(e.getTime()))return e.toUTCString()}catch{}}function Ep(t,e=!1){return p(this,null,function*(){let n=Rt(t),r=yield n.getIdToken(e),i=wp(r);A(i&&i.exp&&i.auth_time&&i.iat,n.auth,"internal-error");let o=typeof i.firebase=="object"?i.firebase:void 0,s=o?.sign_in_provider;return{claims:i,token:r,authTime:Wo(Jh(i.auth_time)),issuedAtTime:Wo(Jh(i.iat)),expirationTime:Wo(Jh(i.exp)),signInProvider:s||null,signInSecondFactor:o?.sign_in_second_factor||null}})}function Jh(t){return Number(t)*1e3}function wp(t){let[e,n,r]=t.split(".");if(e===void 0||n===void 0||r===void 0)return Yc("JWT malformed, contained fewer than 3 sections"),null;try{let i=Mh(n);return i?JSON.parse(i):(Yc("Failed to decode base64 JWT payload"),null)}catch(i){return Yc("Caught error parsing JWT payload as JSON",i?.toString()),null}}function SE(t){let e=wp(t);return A(e,"internal-error"),A(typeof e.exp<"u","internal-error"),A(typeof e.iat<"u","internal-error"),Number(e.exp)-Number(e.iat)}function qo(t,e,n=!1){return p(this,null,function*(){if(n)return e;try{return yield e}catch(r){throw r instanceof mt&&JO(r)&&t.auth.currentUser===t&&(yield t.auth.signOut()),r}})}function JO({code:t}){return t==="auth/user-disabled"||t==="auth/user-token-expired"}var ip=class{constructor(e){this.user=e,this.isRunning=!1,this.timerId=null,this.errorBackoff=3e4}_start(){this.isRunning||(this.isRunning=!0,this.schedule())}_stop(){this.isRunning&&(this.isRunning=!1,this.timerId!==null&&clearTimeout(this.timerId))}getInterval(e){var n;if(e){let r=this.errorBackoff;return this.errorBackoff=Math.min(this.errorBackoff*2,96e4),r}else{this.errorBackoff=3e4;let i=((n=this.user.stsTokenManager.expirationTime)!==null&&n!==void 0?n:0)-Date.now()-3e5;return Math.max(0,i)}}schedule(e=!1){if(!this.isRunning)return;let n=this.getInterval(e);this.timerId=setTimeout(()=>p(this,null,function*(){yield this.iteration()}),n)}iteration(){return p(this,null,function*(){try{yield this.user.getIdToken(!0)}catch(e){e?.code==="auth/network-request-failed"&&this.schedule(!0);return}this.schedule()})}};var Zo=class{constructor(e,n){this.createdAt=e,this.lastLoginAt=n,this._initializeTime()}_initializeTime(){this.lastSignInTime=Wo(this.lastLoginAt),this.creationTime=Wo(this.createdAt)}_copy(e){this.createdAt=e.createdAt,this.lastLoginAt=e.lastLoginAt,this._initializeTime()}toJSON(){return{createdAt:this.createdAt,lastLoginAt:this.lastLoginAt}}};function tu(t){return p(this,null,function*(){var e;let n=t.auth,r=yield t.getIdToken(),i=yield qo(t,GE(n,{idToken:r}));A(i?.users.length,n,"internal-error");let o=i.users[0];t._notifyReloadListener(o);let s=!((e=o.providerUserInfo)===null||e===void 0)&&e.length?qE(o.providerUserInfo):[],a=XO(t.providerData,s),c=t.isAnonymous,u=!(t.email&&o.passwordHash)&&!a?.length,l=c?u:!1,d={uid:o.localId,displayName:o.displayName||null,photoURL:o.photoUrl||null,email:o.email||null,emailVerified:o.emailVerified||!1,phoneNumber:o.phoneNumber||null,tenantId:o.tenantId||null,providerData:a,metadata:new Zo(o.createdAt,o.lastLoginAt),isAnonymous:l};Object.assign(t,d)})}function _p(t){return p(this,null,function*(){let e=Rt(t);yield tu(e),yield e.auth._persistUserIfCurrent(e),e.auth._notifyListenersIfCurrent(e)})}function XO(t,e){return[...t.filter(r=>!e.some(i=>i.providerId===r.providerId)),...e]}function qE(t){return t.map(e=>{var{providerId:n}=e,r=Vu(e,["providerId"]);return{providerId:n,uid:r.rawId||"",displayName:r.displayName||null,email:r.email||null,phoneNumber:r.phoneNumber||null,photoURL:r.photoUrl||null}})}function eP(t,e){return p(this,null,function*(){let n=yield zE(t,{},()=>p(this,null,function*(){let r=Uo({grant_type:"refresh_token",refresh_token:e}).slice(1),{tokenApiHost:i,apiKey:o}=t.config,s=WE(t,i,"/v1/token",`key=${o}`),a=yield t._getAdditionalHeaders();return a["Content-Type"]="application/x-www-form-urlencoded",eu.fetch()(s,{method:"POST",headers:a,body:r})}));return{accessToken:n.access_token,expiresIn:n.expires_in,refreshToken:n.refresh_token}})}function tP(t,e){return p(this,null,function*(){return mn(t,"POST","/v2/accounts:revokeToken",gn(t,e))})}var Go=class t{constructor(){this.refreshToken=null,this.accessToken=null,this.expirationTime=null}get isExpired(){return!this.expirationTime||Date.now()>this.expirationTime-3e4}updateFromServerResponse(e){A(e.idToken,"internal-error"),A(typeof e.idToken<"u","internal-error"),A(typeof e.refreshToken<"u","internal-error");let n="expiresIn"in e&&typeof e.expiresIn<"u"?Number(e.expiresIn):SE(e.idToken);this.updateTokensAndExpiration(e.idToken,e.refreshToken,n)}updateFromIdToken(e){A(e.length!==0,"internal-error");let n=SE(e);this.updateTokensAndExpiration(e,null,n)}getToken(e,n=!1){return p(this,null,function*(){return!n&&this.accessToken&&!this.isExpired?this.accessToken:(A(this.refreshToken,e,"user-token-expired"),this.refreshToken?(yield this.refresh(e,this.refreshToken),this.accessToken):null)})}clearRefreshToken(){this.refreshToken=null}refresh(e,n){return p(this,null,function*(){let{accessToken:r,refreshToken:i,expiresIn:o}=yield eP(e,n);this.updateTokensAndExpiration(r,i,Number(o))})}updateTokensAndExpiration(e,n,r){this.refreshToken=n||null,this.accessToken=e||null,this.expirationTime=Date.now()+r*1e3}static fromJSON(e,n){let{refreshToken:r,accessToken:i,expirationTime:o}=n,s=new t;return r&&(A(typeof r=="string","internal-error",{appName:e}),s.refreshToken=r),i&&(A(typeof i=="string","internal-error",{appName:e}),s.accessToken=i),o&&(A(typeof o=="number","internal-error",{appName:e}),s.expirationTime=o),s}toJSON(){return{refreshToken:this.refreshToken,accessToken:this.accessToken,expirationTime:this.expirationTime}}_assign(e){this.accessToken=e.accessToken,this.refreshToken=e.refreshToken,this.expirationTime=e.expirationTime}_clone(){return Object.assign(new t,this.toJSON())}_performRefresh(){return fn("not implemented")}};function Bn(t,e){A(typeof t=="string"||typeof t>"u","internal-error",{appName:e})}var Oi=class t{constructor(e){var{uid:n,auth:r,stsTokenManager:i}=e,o=Vu(e,["uid","auth","stsTokenManager"]);this.providerId="firebase",this.proactiveRefresh=new ip(this),this.reloadUserInfo=null,this.reloadListener=null,this.uid=n,this.auth=r,this.stsTokenManager=i,this.accessToken=i.accessToken,this.displayName=o.displayName||null,this.email=o.email||null,this.emailVerified=o.emailVerified||!1,this.phoneNumber=o.phoneNumber||null,this.photoURL=o.photoURL||null,this.isAnonymous=o.isAnonymous||!1,this.tenantId=o.tenantId||null,this.providerData=o.providerData?[...o.providerData]:[],this.metadata=new Zo(o.createdAt||void 0,o.lastLoginAt||void 0)}getIdToken(e){return p(this,null,function*(){let n=yield qo(this,this.stsTokenManager.getToken(this.auth,e));return A(n,this.auth,"internal-error"),this.accessToken!==n&&(this.accessToken=n,yield this.auth._persistUserIfCurrent(this),this.auth._notifyListenersIfCurrent(this)),n})}getIdTokenResult(e){return Ep(this,e)}reload(){return _p(this)}_assign(e){this!==e&&(A(this.uid===e.uid,this.auth,"internal-error"),this.displayName=e.displayName,this.photoURL=e.photoURL,this.email=e.email,this.emailVerified=e.emailVerified,this.phoneNumber=e.phoneNumber,this.isAnonymous=e.isAnonymous,this.tenantId=e.tenantId,this.providerData=e.providerData.map(n=>Object.assign({},n)),this.metadata._copy(e.metadata),this.stsTokenManager._assign(e.stsTokenManager))}_clone(e){let n=new t(Object.assign(Object.assign({},this),{auth:e,stsTokenManager:this.stsTokenManager._clone()}));return n.metadata._copy(this.metadata),n}_onReload(e){A(!this.reloadListener,this.auth,"internal-error"),this.reloadListener=e,this.reloadUserInfo&&(this._notifyReloadListener(this.reloadUserInfo),this.reloadUserInfo=null)}_notifyReloadListener(e){this.reloadListener?this.reloadListener(e):this.reloadUserInfo=e}_startProactiveRefresh(){this.proactiveRefresh._start()}_stopProactiveRefresh(){this.proactiveRefresh._stop()}_updateTokensIfNecessary(e,n=!1){return p(this,null,function*(){let r=!1;e.idToken&&e.idToken!==this.stsTokenManager.accessToken&&(this.stsTokenManager.updateFromServerResponse(e),r=!0),n&&(yield tu(this)),yield this.auth._persistUserIfCurrent(this),r&&this.auth._notifyListenersIfCurrent(this)})}delete(){return p(this,null,function*(){if(vt(this.auth.app))return Promise.reject(pn(this.auth));let e=yield this.getIdToken();return yield qo(this,QO(this.auth,{idToken:e})),this.stsTokenManager.clearRefreshToken(),this.auth.signOut()})}toJSON(){return Object.assign(Object.assign({uid:this.uid,email:this.email||void 0,emailVerified:this.emailVerified,displayName:this.displayName||void 0,isAnonymous:this.isAnonymous,photoURL:this.photoURL||void 0,phoneNumber:this.phoneNumber||void 0,tenantId:this.tenantId||void 0,providerData:this.providerData.map(e=>Object.assign({},e)),stsTokenManager:this.stsTokenManager.toJSON(),_redirectEventId:this._redirectEventId},this.metadata.toJSON()),{apiKey:this.auth.config.apiKey,appName:this.auth.name})}get refreshToken(){return this.stsTokenManager.refreshToken||""}static _fromJSON(e,n){var r,i,o,s,a,c,u,l;let d=(r=n.displayName)!==null&&r!==void 0?r:void 0,h=(i=n.email)!==null&&i!==void 0?i:void 0,f=(o=n.phoneNumber)!==null&&o!==void 0?o:void 0,g=(s=n.photoURL)!==null&&s!==void 0?s:void 0,y=(a=n.tenantId)!==null&&a!==void 0?a:void 0,E=(c=n._redirectEventId)!==null&&c!==void 0?c:void 0,b=(u=n.createdAt)!==null&&u!==void 0?u:void 0,k=(l=n.lastLoginAt)!==null&&l!==void 0?l:void 0,{uid:se,emailVerified:de,isAnonymous:He,providerData:he,stsTokenManager:Lt}=n;A(se&&Lt,e,"internal-error");let ji=Go.fromJSON(this.name,Lt);A(typeof se=="string",e,"internal-error"),Bn(d,e.name),Bn(h,e.name),A(typeof de=="boolean",e,"internal-error"),A(typeof He=="boolean",e,"internal-error"),Bn(f,e.name),Bn(g,e.name),Bn(y,e.name),Bn(E,e.name),Bn(b,e.name),Bn(k,e.name);let Ui=new t({uid:se,auth:e,email:h,emailVerified:de,displayName:d,isAnonymous:He,photoURL:g,phoneNumber:f,tenantId:y,stsTokenManager:ji,createdAt:b,lastLoginAt:k});return he&&Array.isArray(he)&&(Ui.providerData=he.map(Xw=>Object.assign({},Xw))),E&&(Ui._redirectEventId=E),Ui}static _fromIdTokenResponse(e,n,r=!1){return p(this,null,function*(){let i=new Go;i.updateFromServerResponse(n);let o=new t({uid:n.localId,auth:e,stsTokenManager:i,isAnonymous:r});return yield tu(o),o})}static _fromGetAccountInfoResponse(e,n,r){return p(this,null,function*(){let i=n.users[0];A(i.localId!==void 0,"internal-error");let o=i.providerUserInfo!==void 0?qE(i.providerUserInfo):[],s=!(i.email&&i.passwordHash)&&!o?.length,a=new Go;a.updateFromIdToken(r);let c=new t({uid:i.localId,auth:e,stsTokenManager:a,isAnonymous:s}),u={uid:i.localId,displayName:i.displayName||null,photoURL:i.photoUrl||null,email:i.email||null,emailVerified:i.emailVerified||!1,phoneNumber:i.phoneNumber||null,tenantId:i.tenantId||null,providerData:o,metadata:new Zo(i.createdAt,i.lastLoginAt),isAnonymous:!(i.email&&i.passwordHash)&&!o?.length};return Object.assign(c,u),c})}};var TE=new Map;function hn(t){Hn(t instanceof Function,"Expected a class definition");let e=TE.get(t);return e?(Hn(e instanceof t,"Instance stored in cache mismatched with class"),e):(e=new t,TE.set(t,e),e)}var nP=(()=>{class t{constructor(){this.type="NONE",this.storage={}}_isAvailable(){return p(this,null,function*(){return!0})}_set(n,r){return p(this,null,function*(){this.storage[n]=r})}_get(n){return p(this,null,function*(){let r=this.storage[n];return r===void 0?null:r})}_remove(n){return p(this,null,function*(){delete this.storage[n]})}_addListener(n,r){}_removeListener(n,r){}}return t.type="NONE",t})(),op=nP;function Kc(t,e,n){return`firebase:${t}:${e}:${n}`}var nu=class t{constructor(e,n,r){this.persistence=e,this.auth=n,this.userKey=r;let{config:i,name:o}=this.auth;this.fullUserKey=Kc(this.userKey,i.apiKey,o),this.fullPersistenceKey=Kc("persistence",i.apiKey,o),this.boundEventHandler=n._onStorageEvent.bind(n),this.persistence._addListener(this.fullUserKey,this.boundEventHandler)}setCurrentUser(e){return this.persistence._set(this.fullUserKey,e.toJSON())}getCurrentUser(){return p(this,null,function*(){let e=yield this.persistence._get(this.fullUserKey);return e?Oi._fromJSON(this.auth,e):null})}removeCurrentUser(){return this.persistence._remove(this.fullUserKey)}savePersistenceForRedirect(){return this.persistence._set(this.fullPersistenceKey,this.persistence.type)}setPersistence(e){return p(this,null,function*(){if(this.persistence===e)return;let n=yield this.getCurrentUser();if(yield this.removeCurrentUser(),this.persistence=e,n)return this.setCurrentUser(n)})}delete(){this.persistence._removeListener(this.fullUserKey,this.boundEventHandler)}static create(e,n,r="authUser"){return p(this,null,function*(){if(!n.length)return new t(hn(op),e,r);let i=(yield Promise.all(n.map(u=>p(this,null,function*(){if(yield u._isAvailable())return u})))).filter(u=>u),o=i[0]||hn(op),s=Kc(r,e.config.apiKey,e.name),a=null;for(let u of n)try{let l=yield u._get(s);if(l){let d=Oi._fromJSON(e,l);u!==o&&(a=d),o=u;break}}catch{}let c=i.filter(u=>u._shouldAllowMigration);return!o._shouldAllowMigration||!c.length?new t(o,e,r):(o=c[0],a&&(yield o._set(s,a.toJSON())),yield Promise.all(n.map(u=>p(this,null,function*(){if(u!==o)try{yield u._remove(s)}catch{}}))),new t(o,e,r))})}};function AE(t){let e=t.toLowerCase();if(e.includes("opera/")||e.includes("opr/")||e.includes("opios/"))return"Opera";if(QE(e))return"IEMobile";if(e.includes("msie")||e.includes("trident/"))return"IE";if(e.includes("edge/"))return"Edge";if(ZE(e))return"Firefox";if(e.includes("silk/"))return"Silk";if(XE(e))return"Blackberry";if(ew(e))return"Webos";if(YE(e))return"Safari";if((e.includes("chrome/")||KE(e))&&!e.includes("edge/"))return"Chrome";if(JE(e))return"Android";{let n=/([a-zA-Z\d\.]+)\/[a-zA-Z\d\.]*$/,r=t.match(n);if(r?.length===2)return r[1]}return"Other"}function ZE(t=Ce()){return/firefox\//i.test(t)}function YE(t=Ce()){let e=t.toLowerCase();return e.includes("safari/")&&!e.includes("chrome/")&&!e.includes("crios/")&&!e.includes("android")}function KE(t=Ce()){return/crios\//i.test(t)}function QE(t=Ce()){return/iemobile/i.test(t)}function JE(t=Ce()){return/android/i.test(t)}function XE(t=Ce()){return/blackberry/i.test(t)}function ew(t=Ce()){return/webos/i.test(t)}function Cp(t=Ce()){return/iphone|ipad|ipod/i.test(t)||/macintosh/i.test(t)&&/mobile/i.test(t)}function rP(t=Ce()){var e;return Cp(t)&&!!(!((e=window.navigator)===null||e===void 0)&&e.standalone)}function iP(){return iE()&&document.documentMode===10}function tw(t=Ce()){return Cp(t)||JE(t)||ew(t)||XE(t)||/windows phone/i.test(t)||QE(t)}function nw(t,e=[]){let n;switch(t){case"Browser":n=AE(Ce());break;case"Worker":n=`${AE(Ce())}-${t}`;break;default:n=t}let r=e.length?e.join(","):"FirebaseCore-web";return`${n}/JsCore/${Ri}/${r}`}var sp=class{constructor(e){this.auth=e,this.queue=[]}pushCallback(e,n){let r=o=>new Promise((s,a)=>{try{let c=e(o);s(c)}catch(c){a(c)}});r.onAbort=n,this.queue.push(r);let i=this.queue.length-1;return()=>{this.queue[i]=()=>Promise.resolve()}}runMiddleware(e){return p(this,null,function*(){if(this.auth.currentUser===e)return;let n=[];try{for(let r of this.queue)yield r(e),r.onAbort&&n.push(r.onAbort)}catch(r){n.reverse();for(let i of n)try{i()}catch{}throw this.auth._errorFactory.create("login-blocked",{originalMessage:r?.message})}})}};function oP(n){return p(this,arguments,function*(t,e={}){return mn(t,"GET","/v2/passwordPolicy",gn(t,e))})}var sP=6,ap=class{constructor(e){var n,r,i,o;let s=e.customStrengthOptions;this.customStrengthOptions={},this.customStrengthOptions.minPasswordLength=(n=s.minPasswordLength)!==null&&n!==void 0?n:sP,s.maxPasswordLength&&(this.customStrengthOptions.maxPasswordLength=s.maxPasswordLength),s.containsLowercaseCharacter!==void 0&&(this.customStrengthOptions.containsLowercaseLetter=s.containsLowercaseCharacter),s.containsUppercaseCharacter!==void 0&&(this.customStrengthOptions.containsUppercaseLetter=s.containsUppercaseCharacter),s.containsNumericCharacter!==void 0&&(this.customStrengthOptions.containsNumericCharacter=s.containsNumericCharacter),s.containsNonAlphanumericCharacter!==void 0&&(this.customStrengthOptions.containsNonAlphanumericCharacter=s.containsNonAlphanumericCharacter),this.enforcementState=e.enforcementState,this.enforcementState==="ENFORCEMENT_STATE_UNSPECIFIED"&&(this.enforcementState="OFF"),this.allowedNonAlphanumericCharacters=(i=(r=e.allowedNonAlphanumericCharacters)===null||r===void 0?void 0:r.join(""))!==null&&i!==void 0?i:"",this.forceUpgradeOnSignin=(o=e.forceUpgradeOnSignin)!==null&&o!==void 0?o:!1,this.schemaVersion=e.schemaVersion}validatePassword(e){var n,r,i,o,s,a;let c={isValid:!0,passwordPolicy:this};return this.validatePasswordLengthOptions(e,c),this.validatePasswordCharacterOptions(e,c),c.isValid&&(c.isValid=(n=c.meetsMinPasswordLength)!==null&&n!==void 0?n:!0),c.isValid&&(c.isValid=(r=c.meetsMaxPasswordLength)!==null&&r!==void 0?r:!0),c.isValid&&(c.isValid=(i=c.containsLowercaseLetter)!==null&&i!==void 0?i:!0),c.isValid&&(c.isValid=(o=c.containsUppercaseLetter)!==null&&o!==void 0?o:!0),c.isValid&&(c.isValid=(s=c.containsNumericCharacter)!==null&&s!==void 0?s:!0),c.isValid&&(c.isValid=(a=c.containsNonAlphanumericCharacter)!==null&&a!==void 0?a:!0),c}validatePasswordLengthOptions(e,n){let r=this.customStrengthOptions.minPasswordLength,i=this.customStrengthOptions.maxPasswordLength;r&&(n.meetsMinPasswordLength=e.length>=r),i&&(n.meetsMaxPasswordLength=e.length<=i)}validatePasswordCharacterOptions(e,n){this.updatePasswordCharacterOptionsStatuses(n,!1,!1,!1,!1);let r;for(let i=0;i<e.length;i++)r=e.charAt(i),this.updatePasswordCharacterOptionsStatuses(n,r>="a"&&r<="z",r>="A"&&r<="Z",r>="0"&&r<="9",this.allowedNonAlphanumericCharacters.includes(r))}updatePasswordCharacterOptionsStatuses(e,n,r,i,o){this.customStrengthOptions.containsLowercaseLetter&&(e.containsLowercaseLetter||(e.containsLowercaseLetter=n)),this.customStrengthOptions.containsUppercaseLetter&&(e.containsUppercaseLetter||(e.containsUppercaseLetter=r)),this.customStrengthOptions.containsNumericCharacter&&(e.containsNumericCharacter||(e.containsNumericCharacter=i)),this.customStrengthOptions.containsNonAlphanumericCharacter&&(e.containsNonAlphanumericCharacter||(e.containsNonAlphanumericCharacter=o))}};var cp=class{constructor(e,n,r,i){this.app=e,this.heartbeatServiceProvider=n,this.appCheckServiceProvider=r,this.config=i,this.currentUser=null,this.emulatorConfig=null,this.operations=Promise.resolve(),this.authStateSubscription=new ru(this),this.idTokenSubscription=new ru(this),this.beforeStateQueue=new sp(this),this.redirectUser=null,this.isProactiveRefreshEnabled=!1,this.EXPECTED_PASSWORD_POLICY_SCHEMA_VERSION=1,this._canInitEmulator=!0,this._isInitialized=!1,this._deleted=!1,this._initializationPromise=null,this._popupRedirectResolver=null,this._errorFactory=BE,this._agentRecaptchaConfig=null,this._tenantRecaptchaConfigs={},this._projectPasswordPolicy=null,this._tenantPasswordPolicies={},this.lastNotifiedUid=void 0,this.languageCode=null,this.tenantId=null,this.settings={appVerificationDisabledForTesting:!1},this.frameworks=[],this.name=e.name,this.clientVersion=i.sdkClientVersion}_initializeWithPersistence(e,n){return n&&(this._popupRedirectResolver=hn(n)),this._initializationPromise=this.queue(()=>p(this,null,function*(){var r,i;if(!this._deleted&&(this.persistenceManager=yield nu.create(this,e),!this._deleted)){if(!((r=this._popupRedirectResolver)===null||r===void 0)&&r._shouldInitProactively)try{yield this._popupRedirectResolver._initialize(this)}catch{}yield this.initializeCurrentUser(n),this.lastNotifiedUid=((i=this.currentUser)===null||i===void 0?void 0:i.uid)||null,!this._deleted&&(this._isInitialized=!0)}})),this._initializationPromise}_onStorageEvent(){return p(this,null,function*(){if(this._deleted)return;let e=yield this.assertedPersistence.getCurrentUser();if(!(!this.currentUser&&!e)){if(this.currentUser&&e&&this.currentUser.uid===e.uid){this._currentUser._assign(e),yield this.currentUser.getIdToken();return}yield this._updateCurrentUser(e,!0)}})}initializeCurrentUserFromIdToken(e){return p(this,null,function*(){try{let n=yield GE(this,{idToken:e}),r=yield Oi._fromGetAccountInfoResponse(this,n,e);yield this.directlySetCurrentUser(r)}catch(n){console.warn("FirebaseServerApp could not login user with provided authIdToken: ",n),yield this.directlySetCurrentUser(null)}})}initializeCurrentUser(e){return p(this,null,function*(){var n;if(vt(this.app)){let s=this.app.settings.authIdToken;return s?new Promise(a=>{setTimeout(()=>this.initializeCurrentUserFromIdToken(s).then(a,a))}):this.directlySetCurrentUser(null)}let r=yield this.assertedPersistence.getCurrentUser(),i=r,o=!1;if(e&&this.config.authDomain){yield this.getOrInitRedirectPersistenceManager();let s=(n=this.redirectUser)===null||n===void 0?void 0:n._redirectEventId,a=i?._redirectEventId,c=yield this.tryRedirectSignIn(e);(!s||s===a)&&c?.user&&(i=c.user,o=!0)}if(!i)return this.directlySetCurrentUser(null);if(!i._redirectEventId){if(o)try{yield this.beforeStateQueue.runMiddleware(i)}catch(s){i=r,this._popupRedirectResolver._overrideRedirectResult(this,()=>Promise.reject(s))}return i?this.reloadAndSetCurrentUserOrClear(i):this.directlySetCurrentUser(null)}return A(this._popupRedirectResolver,this,"argument-error"),yield this.getOrInitRedirectPersistenceManager(),this.redirectUser&&this.redirectUser._redirectEventId===i._redirectEventId?this.directlySetCurrentUser(i):this.reloadAndSetCurrentUserOrClear(i)})}tryRedirectSignIn(e){return p(this,null,function*(){let n=null;try{n=yield this._popupRedirectResolver._completeRedirectFn(this,e,!0)}catch{yield this._setRedirectUser(null)}return n})}reloadAndSetCurrentUserOrClear(e){return p(this,null,function*(){try{yield tu(e)}catch(n){if(n?.code!=="auth/network-request-failed")return this.directlySetCurrentUser(null)}return this.directlySetCurrentUser(e)})}useDeviceLanguage(){this.languageCode=GO()}_delete(){return p(this,null,function*(){this._deleted=!0})}updateCurrentUser(e){return p(this,null,function*(){if(vt(this.app))return Promise.reject(pn(this));let n=e?Rt(e):null;return n&&A(n.auth.config.apiKey===this.config.apiKey,this,"invalid-user-token"),this._updateCurrentUser(n&&n._clone(this))})}_updateCurrentUser(e,n=!1){return p(this,null,function*(){if(!this._deleted)return e&&A(this.tenantId===e.tenantId,this,"tenant-id-mismatch"),n||(yield this.beforeStateQueue.runMiddleware(e)),this.queue(()=>p(this,null,function*(){yield this.directlySetCurrentUser(e),this.notifyAuthListeners()}))})}signOut(){return p(this,null,function*(){return vt(this.app)?Promise.reject(pn(this)):(yield this.beforeStateQueue.runMiddleware(null),(this.redirectPersistenceManager||this._popupRedirectResolver)&&(yield this._setRedirectUser(null)),this._updateCurrentUser(null,!0))})}setPersistence(e){return vt(this.app)?Promise.reject(pn(this)):this.queue(()=>p(this,null,function*(){yield this.assertedPersistence.setPersistence(hn(e))}))}_getRecaptchaConfig(){return this.tenantId==null?this._agentRecaptchaConfig:this._tenantRecaptchaConfigs[this.tenantId]}validatePassword(e){return p(this,null,function*(){this._getPasswordPolicyInternal()||(yield this._updatePasswordPolicy());let n=this._getPasswordPolicyInternal();return n.schemaVersion!==this.EXPECTED_PASSWORD_POLICY_SCHEMA_VERSION?Promise.reject(this._errorFactory.create("unsupported-password-policy-schema-version",{})):n.validatePassword(e)})}_getPasswordPolicyInternal(){return this.tenantId===null?this._projectPasswordPolicy:this._tenantPasswordPolicies[this.tenantId]}_updatePasswordPolicy(){return p(this,null,function*(){let e=yield oP(this),n=new ap(e);this.tenantId===null?this._projectPasswordPolicy=n:this._tenantPasswordPolicies[this.tenantId]=n})}_getPersistence(){return this.assertedPersistence.persistence.type}_updateErrorMap(e){this._errorFactory=new ln("auth","Firebase",e())}onAuthStateChanged(e,n,r){return this.registerStateListener(this.authStateSubscription,e,n,r)}beforeAuthStateChanged(e,n){return this.beforeStateQueue.pushCallback(e,n)}onIdTokenChanged(e,n,r){return this.registerStateListener(this.idTokenSubscription,e,n,r)}authStateReady(){return new Promise((e,n)=>{if(this.currentUser)e();else{let r=this.onAuthStateChanged(()=>{r(),e()},n)}})}revokeAccessToken(e){return p(this,null,function*(){if(this.currentUser){let n=yield this.currentUser.getIdToken(),r={providerId:"apple.com",tokenType:"ACCESS_TOKEN",token:e,idToken:n};this.tenantId!=null&&(r.tenantId=this.tenantId),yield tP(this,r)}})}toJSON(){var e;return{apiKey:this.config.apiKey,authDomain:this.config.authDomain,appName:this.name,currentUser:(e=this._currentUser)===null||e===void 0?void 0:e.toJSON()}}_setRedirectUser(e,n){return p(this,null,function*(){let r=yield this.getOrInitRedirectPersistenceManager(n);return e===null?r.removeCurrentUser():r.setCurrentUser(e)})}getOrInitRedirectPersistenceManager(e){return p(this,null,function*(){if(!this.redirectPersistenceManager){let n=e&&hn(e)||this._popupRedirectResolver;A(n,this,"argument-error"),this.redirectPersistenceManager=yield nu.create(this,[hn(n._redirectPersistence)],"redirectUser"),this.redirectUser=yield this.redirectPersistenceManager.getCurrentUser()}return this.redirectPersistenceManager})}_redirectUserForId(e){return p(this,null,function*(){var n,r;return this._isInitialized&&(yield this.queue(()=>p(this,null,function*(){}))),((n=this._currentUser)===null||n===void 0?void 0:n._redirectEventId)===e?this._currentUser:((r=this.redirectUser)===null||r===void 0?void 0:r._redirectEventId)===e?this.redirectUser:null})}_persistUserIfCurrent(e){return p(this,null,function*(){if(e===this.currentUser)return this.queue(()=>p(this,null,function*(){return this.directlySetCurrentUser(e)}))})}_notifyListenersIfCurrent(e){e===this.currentUser&&this.notifyAuthListeners()}_key(){return`${this.config.authDomain}:${this.config.apiKey}:${this.name}`}_startProactiveRefresh(){this.isProactiveRefreshEnabled=!0,this.currentUser&&this._currentUser._startProactiveRefresh()}_stopProactiveRefresh(){this.isProactiveRefreshEnabled=!1,this.currentUser&&this._currentUser._stopProactiveRefresh()}get _currentUser(){return this.currentUser}notifyAuthListeners(){var e,n;if(!this._isInitialized)return;this.idTokenSubscription.next(this.currentUser);let r=(n=(e=this.currentUser)===null||e===void 0?void 0:e.uid)!==null&&n!==void 0?n:null;this.lastNotifiedUid!==r&&(this.lastNotifiedUid=r,this.authStateSubscription.next(this.currentUser))}registerStateListener(e,n,r,i){if(this._deleted)return()=>{};let o=typeof n=="function"?n:n.next.bind(n),s=!1,a=this._isInitialized?Promise.resolve():this._initializationPromise;if(A(a,this,"internal-error"),a.then(()=>{s||o(this.currentUser)}),typeof n=="function"){let c=e.addObserver(n,r,i);return()=>{s=!0,c()}}else{let c=e.addObserver(n);return()=>{s=!0,c()}}}directlySetCurrentUser(e){return p(this,null,function*(){this.currentUser&&this.currentUser!==e&&this._currentUser._stopProactiveRefresh(),e&&this.isProactiveRefreshEnabled&&e._startProactiveRefresh(),this.currentUser=e,e?yield this.assertedPersistence.setCurrentUser(e):yield this.assertedPersistence.removeCurrentUser()})}queue(e){return this.operations=this.operations.then(e,e),this.operations}get assertedPersistence(){return A(this.persistenceManager,this,"internal-error"),this.persistenceManager}_logFramework(e){!e||this.frameworks.includes(e)||(this.frameworks.push(e),this.frameworks.sort(),this.clientVersion=nw(this.config.clientPlatform,this._getFrameworks()))}_getFrameworks(){return this.frameworks}_getAdditionalHeaders(){return p(this,null,function*(){var e;let n={"X-Client-Version":this.clientVersion};this.app.options.appId&&(n["X-Firebase-gmpid"]=this.app.options.appId);let r=yield(e=this.heartbeatServiceProvider.getImmediate({optional:!0}))===null||e===void 0?void 0:e.getHeartbeatsHeader();r&&(n["X-Firebase-Client"]=r);let i=yield this._getAppCheckToken();return i&&(n["X-Firebase-AppCheck"]=i),n})}_getAppCheckToken(){return p(this,null,function*(){var e;let n=yield(e=this.appCheckServiceProvider.getImmediate({optional:!0}))===null||e===void 0?void 0:e.getToken();return n?.error&&HO(`Error while retrieving App Check token: ${n.error}`),n?.token})}};function zn(t){return Rt(t)}var ru=class{constructor(e){this.auth=e,this.observer=null,this.addObserver=cE(n=>this.observer=n)}get next(){return A(this.observer,this.auth,"internal-error"),this.observer.next.bind(this.observer)}};var du={loadJS(){return p(this,null,function*(){throw new Error("Unable to load external scripts")})},recaptchaV2Script:"",recaptchaEnterpriseScript:"",gapiScript:""};function aP(t){du=t}function rw(t){return du.loadJS(t)}function cP(){return du.recaptchaEnterpriseScript}function uP(){return du.gapiScript}function iw(t){return`__${t}${Math.floor(Math.random()*1e6)}`}var lP="recaptcha-enterprise",dP="NO_RECAPTCHA",up=class{constructor(e){this.type=lP,this.auth=zn(e)}verify(e="verify",n=!1){return p(this,null,function*(){function r(o){return p(this,null,function*(){if(!n){
10if(o.tenantId==null&&o._agentRecaptchaConfig!=null)return o._agentRecaptchaConfig.siteKey;if(o.tenantId!=null&&o._tenantRecaptchaConfigs[o.tenantId]!==void 0)return o._tenantRecaptchaConfigs[o.tenantId].siteKey}return new Promise((s,a)=>p(this,null,function*(){KO(o,{clientType:"CLIENT_TYPE_WEB",version:"RECAPTCHA_ENTERPRISE"}).then(c=>{if(c.recaptchaKey===void 0)a(new Error("recaptcha Enterprise site key undefined"));else{let u=new rp(c);return o.tenantId==null?o._agentRecaptchaConfig=u:o._tenantRecaptchaConfigs[o.tenantId]=u,s(u.siteKey)}}).catch(c=>{a(c)})}))})}function i(o,s,a){let c=window.grecaptcha;bE(c)?c.enterprise.ready(()=>{c.enterprise.execute(o,{action:e}).then(u=>{s(u)}).catch(()=>{s(dP)})}):a(Error("No reCAPTCHA enterprise script loaded."))}return new Promise((o,s)=>{r(this.auth).then(a=>{if(!n&&bE(window.grecaptcha))i(a,o,s);else{if(typeof window>"u"){s(new Error("RecaptchaVerifier is only supported in browser"));return}let c=cP();c.length!==0&&(c+=a),rw(c).then(()=>{i(a,o,s)}).catch(u=>{s(u)})}}).catch(a=>{s(a)})})})}};function ME(t,e,n,r=!1){return p(this,null,function*(){let i=new up(t),o;try{o=yield i.verify(n)}catch{o=yield i.verify(n,!0)}let s=Object.assign({},e);return r?Object.assign(s,{captchaResp:o}):Object.assign(s,{captchaResponse:o}),Object.assign(s,{clientType:"CLIENT_TYPE_WEB"}),Object.assign(s,{recaptchaVersion:"RECAPTCHA_ENTERPRISE"}),s})}function iu(t,e,n,r){return p(this,null,function*(){var i;if(!((i=t._getRecaptchaConfig())===null||i===void 0)&&i.isProviderEnabled("EMAIL_PASSWORD_PROVIDER")){let o=yield ME(t,e,n,n==="getOobCode");return r(t,o)}else return r(t,e).catch(o=>p(this,null,function*(){if(o.code==="auth/missing-recaptcha-token"){console.log(`${n} is protected by reCAPTCHA Enterprise for this project. Automatically triggering the reCAPTCHA flow and restarting the flow.`);let s=yield ME(t,e,n,n==="getOobCode");return r(t,s)}else return Promise.reject(o)}))})}function bp(t,e){let n=qh(t,"auth");if(n.isInitialized()){let i=n.getImmediate(),o=n.getOptions();if(Si(o,e??{}))return i;Ft(i,"already-initialized")}return n.initialize({options:e})}function fP(t,e){let n=e?.persistence||[],r=(Array.isArray(n)?n:[n]).map(hn);e?.errorMap&&t._updateErrorMap(e.errorMap),t._initializeWithPersistence(r,e?.popupRedirectResolver)}function Sp(t,e,n){let r=zn(t);A(r._canInitEmulator,r,"emulator-config-failed"),A(/^https?:\/\//.test(e),r,"invali
10d-emulator-scheme");let i=!!n?.disableWarnings,o=ow(e),{host:s,port:a}=hP(e),c=a===null?"":`:${a}`;r.config.emulator={url:`${o}//${s}${c}/`},r.settings.appVerificationDisabledForTesting=!0,r.emulatorConfig=Object.freeze({host:s,port:a,protocol:o.replace(":",""),options:Object.freeze({disableWarnings:i})}),i||pP()}function ow(t){let e=t.indexOf(":");return e<0?"":t.substr(0,e+1)}function hP(t){let e=ow(t),n=/(\/\/)?([^?#/]+)/.exec(t.substr(e.length));if(!n)return{host:"",port:null};let r=n[2].split("@").pop()||"",i=/^(\[[^\]]+\])(:|$)/.exec(r);if(i){let o=i[1];return{host:o,port:NE(r.substr(o.length+1))}}else{let[o,s]=r.split(":");return{host:o,port:NE(s)}}}function NE(t){if(!t)return null;let e=Number(t);return isNaN(e)?null:e}function pP(){function t(){let e=document.createElement("p"),n=e.style;e.innerText="Running in emulator mode. Do not use with production credentials.",n.position="fixed",n.width="100%",n.backgroundColor="#ffffff",n.border=".1em solid #000000",n.color="#b50000",n.bottom="0px",n.left="0px",n.margin="0px",n.zIndex="10000",n.textAlign="center",e.classList.add("firebase-emulator-warning"),document.body.appendChild(e)}typeof console<"u"&&typeof console.info=="function"&&console.info("WARNING: You are using the Auth Emulator, which is intended for local testing only.  Do not use with production credentials."),typeof window<"u"&&typeof document<"u"&&(document.readyState==="loading"?window.addEventListener("DOMContentLoaded",t):t())}var Yo=class{constructor(e,n){this.providerId=e,this.signInMethod=n}toJSON(){return fn("not implemented")}_getIdTokenResponse(e){return fn("not implemented")}_linkToIdToken(e,n){return fn("not implemented")}_getReauthenticationResolver(e){return fn("not implemented")}};function gP(t,e){return p(this,null,function*(){return mn(t,"POST","/v1/accounts:signUp",e)})}function mP(t,e){return p(this,null,function*(){return Jo(t,"POST","/v1/accounts:signInWithPassword",gn(t,e))})}function vP(t,e){return p(this,null,function*(){return mn(t,"POST","/v1/accounts:sendOobCode",gn(t,e))})}function yP(t,e){return p(this,null,function*(){return vP(t,e)})}function IP(t,e){return p(this,null,function*(){return Jo(t,"POST","/v1/accounts:signInWithEmailLink",gn(t,e))})}function DP(t,e){return p(this,null,function*(){return Jo(t,"POST","/v1/accounts:signInWithEmailLink",gn(t,e))})}var Ko=class t extends Yo{constructor(e,n,r,i=null){super("password",r),this._email=e,this._password=n,this._tenantId=i}static _fromEmailAndPassword(e,n){return new t(e,n,"password")}static _fromEmailAndCode(e,n,r=null){return new t(e,n,"emailLink",r)}toJSON(){return{email:this._email,password:this._password,signInMethod:this.signInMethod,tenantId:this._tenantId}}static fromJSON(e){let n=typeof e=="string"?JSON.parse(e):e;if(n?.email&&n?.password){if(n.signInMethod==="password")return this._fromEmailAndPassword(n.email,n.password);if(n.signInMethod==="emailLink")return this._fromEmailAndCode(n.email,n.password,n.tenantId)}return null}_getIdTokenResponse(e){return p(this,null,function*(){switch(this.signInMethod){case"password":let n={returnSecureToken:!0,email:this._email,password:this._password,clientType:"CLIENT_TYPE_WEB"};return iu(e,n,"signInWithPassword",mP);case"emailLink":return IP(e,{email:this._email,oobCode:this._password});default:Ft(e,"internal-error")}})}_linkToIdToken(e,n){return p(this,null,function*(){switch(this.signInMethod){case"password":let r={idToken:n,returnSecureToken:!0,email:this._email,password:this._password,clientType:"CLIENT_TYPE_WEB"};return iu(e,r,"signUpPassword",gP);case"emailLink":return DP(e,{idToken:n,email:this._email,oobCode:this._password});default:Ft(e,"internal-error")}})}_getReauthenticationResolver(e){return this._getIdTokenResponse(e)}};function Xh(t,e){return p(this,null,function*(){return Jo(t,"POST","/v1/accounts:signInWithIdp",gn(t,e))})}function EP(t){switch(t){case"recoverEmail":return"RECOVER_EMAIL";case"resetPassword":return"PASSWORD_RESET";case"signIn":return"EMAIL_SIGNIN";case"verifyEmail":return"VERIFY_EMAIL";case"verifyAndChangeEmail":return"VERIFY_AND_CHANGE_EMAIL";case"revertSecondFactorAddition":return"REVERT_SECOND_FACTOR_ADDITION";default:return null}}function wP(t){let e=Ti(Ai(t)).link,n=e?Ti(Ai(e)).deep_link_id:null,r=Ti(Ai(t)).deep_link_id;return(r?Ti(Ai(r)).link:null)||r||n||e||t}var ou=class t{constructor(e){var n,r,i,o,s,a;let c=Ti(Ai(e)),u=(n=c.apiKey)!==null&&n!==void 0?n:null,l=(r=c.oobCode)!==null&&r!==void 0?r:null,d=EP((i=c.mode)!==null&&i!==void 0?i:null);A(u&&l&&d,"argument-error"),this.apiKey=u,this.operation=d,this.code=l,this.continueUrl=(o=c.continueUrl)!==null&&o!==void 0?o:null,this.languageCode=(s=c.languageCode)!==null&&s!==void 0?s:null,this.tenantId=(a=c.tenantId)!==null&&a!==void 0?a:null}static parseLink(e){let n=wP(e);try{return new t(n)}catch{return null}}};var sw=(()=>
10{class t{constructor(){this.providerId=t.PROVIDER_ID}static credential(n,r){return Ko._fromEmailAndPassword(n,r)}static credentialWithLink(n,r){let i=ou.parseLink(r);return A(i,"argument-error"),Ko._fromEmailAndCode(n,i.code,i.tenantId)}}t.PROVIDER_ID="password",t.EMAIL_PASSWORD_SIGN_IN_METHOD="password",t.EMAIL_LINK_SIGN_IN_METHOD="emailLink";return t})(),su=class{constructor(e){this.providerId=e,this.defaultLanguageCode=null,this.customParameters={}}setDefaultLanguage(e){this.defaultLanguageCode=e}setCustomParameters(e){return this.customParameters=e,this}getCustomParameters(){return this.customParameters}};var lp=class extends su{constructor(){super(...arguments),this.scopes=[]}addScope(e){return this.scopes.includes(e)||this.scopes.push(e),this}getScopes(){return[...this.scopes]}};function _P(t,e){return p(this,null,function*(){return Jo(t,"POST","/v1/accounts:signUp",gn(t,e))})}var Pi=class t{constructor(e){this.user=e.user,this.providerId=e.providerId,this._tokenResponse=e._tokenResponse,this.operationType=e.operationType}static _fromIdTokenResponse(e,n,r,i=!1){return p(this,null,function*(){let o=yield Oi._fromIdTokenResponse(e,r,i),s=RE(r);return new t({user:o,providerId:s,_tokenResponse:r,operationType:n})})}static _forOperation(e,n,r){return p(this,null,function*(){yield e._updateTokensIfNecessary(r,!0);let i=RE(r);return new t({user:e,providerId:i,_tokenResponse:r,operationType:n})})}};function RE(t){return t.providerId?t.providerId:"phoneNumber"in t?"phone":null}var dp=class t extends mt{constructor(e,n,r,i){var o;super(n.code,n.message),this.operationType=r,this.user=i,Object.setPrototypeOf(this,t.prototype),this.customData={appName:e.name,tenantId:(o=e.tenantId)!==null&&o!==void 0?o:void 0,_serverResponse:n.customData._serverResponse,operationType:r}}static _fromErrorAndOperation(e,n,r,i){return new t(e,n,r,i)}};function aw(t,e,n,r){return(e==="reauthenticate"?n._getReauthenticationResolver(t):n._getIdTokenResponse(t)).catch(o=>{throw o.code==="auth/multi-factor-auth-required"?dp._fromErrorAndOperation(t,o,e,r):o})}function CP(t,e,n=!1){return p(this,null,function*(){let r=yield qo(t,e._linkToIdToken(t.auth,yield t.getIdToken()),n);return Pi._forOperation(t,"link",r)})}function bP(t,e,n=!1){return p(this,null,function*(){let{auth:r}=t;if(vt(r.app))return Promise.reject(pn(r));let i="reauthenticate";try{let o=yield qo(t,aw(r,i,e,t),n);A(o.idToken,r,"internal-error");let s=wp(o.idToken);A(s,r,"internal-error");let{sub:a}=s;return A(t.uid===a,r,"user-mismatch"),Pi._forOperation(t,i,o)}catch(o){throw o?.code==="auth/user-not-found"&&Ft(r,"user-mismatch"),o}})}function cw(t,e,n=!1){return p(this,null,function*(){if(vt(t.app))return Promise.reject(pn(t));let r="signIn",i=yield aw(t,r,e),o=yield Pi._fromIdTokenResponse(t,r,i);return n||(yield t._updateCurrentUser(o.user)),o})}function Tp(t,e){return p(this,null,function*(){return cw(zn(t),e)})}function SP(t,e,n){var r;A(((r=n.url)===null||r===void 0?void 0:r.length)>0,t,"invalid-continue-uri"),A(typeof n.dynamicLinkDomain>"u"||n.dynamicLinkDomain.length>0,t,"invalid-dynamic-link-domain"),e.continueUrl=n.url,e.dynamicLinkDomain=n.dynamicLinkDomain,e.canHandleCodeInApp=n.handleCodeInApp,n.iOS&&(A(n.iOS.bundleId.length>0,t,"missing-ios-bundle-id"),e.iOSBundleId=n.iOS.bundleId),n.android&&(A(n.android.packageName.length>0,t,"missing-android-pkg-name"),e.androidInstallApp=n.android.installApp,e.androidMinimumVersionCode=n.android.minimumVersion,e.androidPackageName=n.android.packageName)}function uw(t){return p(this,null,function*(){let e=zn(t);e._getPasswordPolicyInternal()&&(yield e._updatePasswordPolicy())})}function Ap(t,e,n){return p(this,null,function*(){let r=zn(t),i={requestType:"PASSWORD_RESET",email:e,clientType:"CLIENT_TYPE_WEB"};n&&SP(r,i,n),yield iu(r,i,"getOobCode",yP)})}function Mp(t,e,n){return p(this,null,function*(){if(vt(t.app))return Promise.reject(pn(t));let r=zn(t),s=yield iu(r,{returnSecureToken:!0,email:e,password:n,clientType:"CLIENT_TYPE_WEB"},"signUpPassword",_P).catch(c=>{throw c.code==="auth/password-does-not-meet-requirements"&&uw(t),c}),a=yield Pi._fromIdTokenResponse(r,"signIn",s);return yield r._updateCurrentUser(a.user),a})}function Np(t,e,n){return vt(t.app)?Promise.reject(pn(t)):Tp(Rt(t),sw.credential(e,n)).catch(r=>p(this,null,function*(){throw r.code==="auth/password-does-not-meet-requirements"&&uw(t),r}))}function Xo(t,e,n,r){return Rt(t).onIdTokenChanged(e,n,r)}function Rp(t,e,n){return Rt(t).beforeAuthStateChanged(e,n)}function fu(t,e,n,r){return Rt(t).onAuthStateChanged(e,n,r)}function xp(t){return Rt(t).signOut()}var au="__sak";var cu=class{constructor(e,n){this.storageRetriever=e,this.type=n}_isAvailable(){try{return this.storage?(this.storage.setItem(au,"1"),this.storage.removeItem(au),Promise.resolve(!0)):Promise.resolve(!1)}catch{return Promise.resolve(!1)}}_set(e,n){return this.storage.setItem(e,JSON.stringify(n)),Promise.resolve()}_get(e){let n=this.storage.getItem(e);return Promise.resolve(n?JSON.parse(n):null)}_remove(e){return this.storage.removeItem(e),Promise.resolve()}get storage(){return this.storageRetriever()}};var TP=1e3,AP=10,MP=(()=>{class t extends cu{constructor(){super(()=>window.localStorage,"LOCAL"),this.boundEventHandler=(n,r)=>this.onStorageEvent(n,r),this.listeners={},this.localCache={},this.pollTimer=null,this.fallbackToPolling=tw(),this._shouldAllowMigration=!0}forAllChangedKeys(n){for(let r of Object.keys(this.listeners)){let i=this.storage.getItem(r),o=this.localCache[r];i!==o&&n(r,o,i)}}onStorageEvent(n,r=!1){if(!n.key){this.forAllChangedKeys((a,c,u)=>{this.notifyListeners(a,u)});return}let i=n.key;r?this.detachListener():this.stopPolling();let o=()=>{let a=this.storage.getItem(i);!r&&this.localCache[i]===a||this.notifyListeners(i,a)},s=this.storage.getItem(i);iP()&&s!==n.newValue&&n.newValue!==n.oldValue?setTimeout(o,AP):o()}notifyListeners(n,r){this.localCache[n]=r;let i=this.listeners[n];
vendor: 8,534 bytes, line 10
10if(i)for(let o of Array.from(i))o(r&&JSON.parse(r))}startPolling(){this.stopPolling(),this.pollTimer=setInterval(()=>{this.forAllChangedKeys((n,r,i)=>{this.onStorageEvent(new StorageEvent("storage",{key:n,oldValue:r,newValue:i}),!0)})},TP)}stopPolling(){this.pollTimer&&(clearInterval(this.pollTimer),this.pollTimer=null)}attachListener(){window.addEventListener("storage",this.boundEventHandler)}detachListener(){window.removeEventListener("storage",this.boundEventHandler)}_addListener(n,r){Object.keys(this.listeners).length===0&&(this.fallbackToPolling?this.startPolling():this.attachListener()),this.listeners[n]||(this.listeners[n]=new Set,this.localCache[n]=this.storage.getItem(n)),this.listeners[n].add(r)}_removeListener(n,r){this.listeners[n]&&(this.listeners[n].delete(r),this.listeners[n].size===0&&delete this.listeners[n]),Object.keys(this.listeners).length===0&&(this.detachListener(),this.stopPolling())}_set(n,r){return p(this,null,function*(){yield Yn(t.prototype,this,"_set").call(this,n,r),this.localCache[n]=JSON.stringify(r)})}_get(n){return p(this,null,function*(){let r=yield Yn(t.prototype,this,"_get").call(this,n);return this.localCache[n]=JSON.stringify(r),r})}_remove(n){return p(this,null,function*(){yield Yn(t.prototype,this,"_remove").call(this,n),delete this.localCache[n]})}}return t.type="LOCAL",t})(),lw=MP;var NP=(()=>{class t extends cu{constructor(){super(()=>window.sessionStorage,"SESSION")}_addListener(n,r){}_removeListener(n,r){}}return t.type="SESSION",t})(),Op=NP;function RP(t){return Promise.all(t.map(e=>p(this,null,function*(){try{return{fulfilled:!0,value:yield e}}catch(n){return{fulfilled:!1,reason:n}}})))}var xP=(()=>{class t{constructor(n){this.eventTarget=n,this.handlersMap={},this.boundEventHandler=this.handleEvent.bind(this)}static _getInstance(n){let r=this.receivers.find(o=>o.isListeningto(n));if(r)return r;let i=new t(n);return this.receivers.push(i),i}isListeningto(n){return this.eventTarget===n}handleEvent(n){return p(this,null,function*(){let r=n,{eventId:i,eventType:o,data:s}=r.data,a=this.handlersMap[o];if(!a?.size)return;r.ports[0].postMessage({status:"ack",eventId:i,eventType:o});let c=Array.from(a).map(l=>p(this,null,function*(){return l(r.origin,s)})),u=yield RP(c);r.ports[0].postMessage({status:"done",eventId:i,eventType:o,response:u})})}_subscribe(n,r){Object.keys(this.handlersMap).length===0&&this.eventTarget.addEventListener("message",this.boundEventHandler),this.handlersMap[n]||(this.handlersMap[n]=new Set),this.handlersMap[n].add(r)}_unsubscribe(n,r){this.handlersMap[n]&&r&&this.handlersMap[n].delete(r),(!r||this.handlersMap[n].size===0)&&delete this.handlersMap[n],Object.keys(this.handlersMap).length===0&&this.eventTarget.removeEventListener("message",this.boundEventHandler)}}t.receivers=[];return t})();function dw(t="",e=10){let n="";for(let r=0;r<e;r++)n+=Math.floor(Math.random()*10);return t+n}var fp=class{constructor(e){this.target=e,this.handlers=new Set}removeMessageHandler(e){e.messageChannel&&(e.messageChannel.port1.removeEventListener("message",e.onMessage),e.messageChannel.port1.close()),this.handlers.delete(e)}_send(e,n,r=50){return p(this,null,function*(){let i=typeof MessageChannel<"u"?new MessageChannel:null;if(!i)throw new Error("connection_unavailable");let o,s;return new Promise((a,c)=>{let u=dw("",20);i.port1.start();let l=setTimeout(()=>{c(new Error("unsupported_event"))},r);s={messageChannel:i,onMessage(d){let h=d;if(h.data.eventId===u)switch(h.data.status){case"ack":clearTimeout(l),o=setTimeout(()=>{c(new Error("timeout"))},3e3);break;case"done":clearTimeout(o),a(h.data.response);break;default:clearTimeout(l),clearTimeout(o),c(new Error("invalid_response"));break}}},this.handlers.add(s),i.port1.addEventListener("message",s.onMessage),this.target.postMessage({eventType:e,eventId:u,data:n},[i.port2])}).finally(()=>{s&&this.removeMessageHandler(s)})})}};function kt(){return window}function OP(t){kt().location.href=t}function fw(){return typeof kt().WorkerGlobalScope<"u"&&typeof kt().importScripts=="function"}function PP(){return p(this,null,function*(){if(!navigator?.serviceWorker)return null;try{return(yield navigator.serviceWorker.ready).active}catch{return null}})}function kP(){var t;return((t=navigator?.serviceWorker)===null||t===void 0?void 0:t.controller)||null}function FP(){return fw()?self:null}var hw="firebaseLocalStorageDb",LP=1,uu="firebaseLocalStorage",pw="fbase_key",Ar=class{constructor(e){this.request=e}toPromise(){return new Promise((e,n)=>{this.request.addEventListener("success",()=>{e(this.request.result)}),this.request.addEventListener("error",()=>{n(this.request.error)})})}};function hu(t,e){return t.transaction([uu],e?"readwrite":"readonly").objectStore(uu)}function VP(){let t=indexedDB.deleteDatabase(hw);return new Ar(t).toPromise()}function hp(){let t=indexedDB.open(hw,LP);return new Promise((e,n)=>{t.addEventListener("error",()=>{n(t.error)}),t.addEventListener("upgradeneeded",()=>{let r=t.result;try{r.createObjectStore(uu,{keyPath:pw})}catch(i){n(i)}}),t.addEventListener("success",()=>p(this,null,function*(){let r=t.result;r.objectStoreNames.contains(uu)?e(r):(r.close(),yield VP(),e(yield hp()))}))})}function xE(t,e,n){return p(this,null,function*(){let r=hu(t,!0).put({[pw]:e,value:n});return new Ar(r).toPromise()})}function jP(t,e){return p(this,null,function*(){let n=hu(t,!1).get(e),r=yield new Ar(n).toPromise();return r===void 0?null:r.value})}function OE(t,e){let n=hu(t,!0).delete(e);return new Ar(n).toPromise()}var UP=800,$P=3,BP=(()=>{class t{constructor(){this.type="LOCAL",this._shouldAllowMigration=!0,this.listeners={},this.localCache={},this.pollTimer=null,this.pendingWrites=0,this.receiver=null,this.sender=null,this.serviceWorkerReceiverAvailable=!1,this.activeServiceWorker=null,this._workerInitializationPromise=this.initializeServiceWorkerMessaging().then(()=>{},()=>{})}_openDb(){return p(this,null,function*(){return this.db?this.db:(this.db=yield hp(),this.db)})}_withRetries(n){return p(this,null,function*(){let r=0;for(;;)try{let i=yield this._openDb();return yield n(i)}catch(i){if(r++>$P)throw i;this.db&&(this.db.close(),this.db=void 0)}})}initializeServiceWorkerMessaging(){return p(this,null,function*(){return fw()?this.initializeReceiver():this.initializeSender()})}initializeReceiver(){return p(this,null,function*(){this.receiver=xP._getInstance(FP()),this.receiver._subscribe("keyChanged",(n,r)=>p(this,null,function*(){return{keyProcessed:(yield this._poll()).includes(r.key)}})),this.receiver._subscribe("ping",(n,r)=>p(this,null,function*(){return["keyChanged"]}))})}initializeSender(){return p(this,null,function*(){var n,r;if(this.activeServiceWorker=yield PP(),!this.activeServiceWorker)return;this.sender=new fp(this.activeServiceWorker);let i=yield this.sender._send("ping",{},800);i&&!((n=i[0])===null||n===void 0)&&n.fulfilled&&!((r=i[0])===null||r===void 0)&&r.value.includes("keyChanged")&&(this.serviceWorkerReceiverAvailable=!0)})}notifyServiceWorker(n){return p(this,null,function*(){if(!(!this.sender||!this.activeServiceWorker||kP()!==this.activeServiceWorker))try{yield this.sender._send("keyChanged",{key:n},this.serviceWorkerReceiverAvailable?800:50)}catch{}})}_isAvailable(){return p(this,null,function*(){try{if(!indexedDB)return!1;let n=yield hp();return yield xE(n,au,"1"),yield OE(n,au),!0}catch{}return!1})}_withPendingWrite(n){return p(this,null,function*(){this.pendingWrites++;try{yield n()}finally{this.pendingWrites--}})}_set(n,r){return p(this,null,function*(){return this._withPendingWrite(()=>p(this,null,function*(){return yield this._withRetries(i=>xE(i,n,r)),this.localCache[n]=r,this.notifyServiceWorker(n)}))})}_get(n){return p(this,null,function*(){let r=yield this._withRetries(i=>jP(i,n));return this.localCache[n]=r,r})}_remove(n){return p(this,null,function*(){return this._withPendingWrite(()=>p(this,null,function*(){return yield this._withRetries(r=>OE(r,n)),delete this.localCache[n],this.notifyServiceWorker(n)}))})}_poll(){return p(this,null,function*(){let n=yield this._withRetries(o=>{let s=hu(o,!1).getAll();return new Ar(s).toPromise()});if(!n)return[];if(this.pendingWrites!==0)return[];let r=[],i=new Set;if(n.length!==0)for(let{fbase_key:o,value:s}of n)i.add(o),JSON.stringify(this.localCache[o])!==JSON.stringify(s)&&(this.notifyListeners(o,s),r.push(o));for(let o of Object.keys(this.localCache))this.localCache[o]&&!i.has(o)&&(this.notifyListeners(o,null),r.push(o));return r})}notifyListeners(n,r){this.localCache[n]=r;let i=this.listeners[n];
10if(i)for(let o of Array.from(i))o(r)}startPolling(){this.stopPolling(),this.pollTimer=setInterval(()=>p(this,null,function*(){return this._poll()}),UP)}stopPolling(){this.pollTimer&&(clearInterval(this.pollTimer),this.pollTimer=null)}_addListener(n,r){Object.keys(this.listeners).length===0&&this.startPolling(),this.listeners[n]||(this.listeners[n]=new Set,this._get(n)),this.listeners[n].add(r)}_removeListener(n,r){this.listeners[n]&&(this.listeners[n].delete(r),this.listeners[n].size===0&&delete this.listeners[n]),Object.keys(this.listeners).length===0&&this.stopPolling()}}return t.type="LOCAL",t})(),gw=BP;var QG=iw("rcb"),JG=new Tr(3e4,6e4);function HP(t,e){return e?hn(e):(A(t._popupRedirectResolver,t,"argument-error"),t._popupRedirectResolver)}var Qo=class extends Yo{constructor(e){super("custom","custom"),this.params=e}_getIdTokenResponse(e){return Xh(e,this._buildIdpRequest())}_linkToIdToken(e,n){return Xh(e,this._buildIdpRequest(n))}_getReauthenticationResolver(e){return Xh(e,this._buildIdpRequest())}_buildIdpRequest(e){let n={requestUri:this.params.requestUri,sessionId:this.params.sessionId,postBody:this.params.postBody,tenantId:this.params.tenantId,pendingToken:this.params.pendingToken,returnSecureToken:!0,returnIdpCredential:!0};return e&&(n.idToken=e),n}};function zP(t){return cw(t.auth,new Qo(t),t.bypassAuthState)}function WP(t){let{auth:e,user:n}=t;return A(n,e,"internal-error"),bP(n,new Qo(t),t.bypassAuthState)}function GP(t){return p(this,null,function*(){let{auth:e,user:n}=t;return A(n,e,"internal-error"),CP(n,new Qo(t),t.bypassAuthState)})}var pp=class{constructor(e,n,r,i,o=!1){this.auth=e,this.resolver=r,this.user=i,this.bypassAuthState=o,this.pendingPromise=null,this.eventManager=null,this.filter=Array.isArray(n)?n:[n]}execute(){return new Promise((e,n)=>p(this,null,function*(){this.pendingPromise={resolve:e,reject:n};try{this.eventManager=yield this.resolver._initialize(this.auth),yield this.onExecution(),this.eventManager.registerConsumer(this)}catch(r){this.reject(r)}}))}onAuthEvent(e){return p(this,null,function*(){let{urlResponse:n,sessionId:r,postBody:i,tenantId:o,error:s,type:a}=e;if(s){this.reject(s);return}let c={auth:this.auth,requestUri:n,sessionId:r,tenantId:o||void 0,postBody:i||void 0,user:this.user,bypassAuthState:this.bypassAuthState};try{this.resolve(yield this.getIdpTask(a)(c))}catch(u){this.reject(u)}})}onError(e){this.reject(e)}getIdpTask(e){switch(e){case"signInViaPopup":case"signInViaRedirect":return zP;case"linkViaPopup":case"linkViaRedirect":return GP;case"reauthViaPopup":case"reauthViaRedirect":return WP;default:Ft(this.auth,"internal-error")}}resolve(e){Hn(this.pendingPromise,"Pending promise was never set"),this.pendingPromise.resolve(e),this.unregisterAndCleanUp()}reject(e){Hn(this.pendingPromise,"Pending promise was never set"),this.pendingPromise.reject(e),this.unregisterAndCleanUp()}unregisterAndCleanUp(){this.eventManager&&this.eventManager.unregisterConsumer(this),this.pendingPromise=null,this.cleanUp()}};var XG=new Tr(2e3,1e4);var qP="pendingRedirect",Qc=new Map,gp=class t extends pp{constructor(e,n,r=!1){super(e,["signInViaRedirect","linkViaRedirect","reauthViaRedirect","unknown"],n,void 0,r),this.eventId=null}execute(){return p(this,null,function*(){let e=Qc.get(this.auth._key());if(!e){try{let r=(yield ZP(this.resolver,this.auth))?yield Yn(t.prototype,this,"execute").call(this):null;e=()=>Promise.resolve(r)}catch(n){e=()=>Promise.reject(n)}Qc.set(this.auth._key(),e)}return this.bypassAuthState||Qc.set(this.auth._key(),()=>Promise.resolve(null)),e()})}onAuthEvent(e){return p(this,null,function*(){if(e.type==="signInViaRedirect")return Yn(t.prototype,this,"onAuthEvent").call(this,e);if(e.type==="unknown"){this.resolve(null);return}if(e.eventId){let n=yield this.auth._redirectUserForId(e.eventId);if(n)return this.user=n,Yn(t.prototype,this,"onAuthEvent").call(this,e);this.resolve(null)}})}onExecution(){return p(this,null,function*(){})}cleanUp(){}};function ZP(t,e){return p(this,null,function*(){let n=QP(e),r=KP(t);if(!(yield r._isAvailable()))return!1;let i=(yield r._get(n))==="true";return yield r._remove(n),i})}function YP(t,e){Qc.set(t._key(),e)}function KP(t){return hn(t._redirectPersistence)}function QP(t){return Kc(qP,t.config.apiKey,t.name)}
10function JP(t,e,n=!1){return p(this,null,function*(){if(vt(t.app))return Promise.reject(pn(t));let r=zn(t),i=HP(r,e),s=yield new gp(r,i,n).execute();return s&&!n&&(delete s.user._redirectEventId,yield r._persistUserIfCurrent(s.user),yield r._setRedirectUser(null,e)),s})}var XP=10*60*1e3,mp=class{constructor(e){this.auth=e,this.cachedEventUids=new Set,this.consumers=new Set,this.queuedRedirectEvent=null,this.hasHandledPotentialRedirect=!1,this.lastProcessedEventTime=Date.now()}registerConsumer(e){this.consumers.add(e),this.queuedRedirectEvent&&this.isEventForConsumer(this.queuedRedirectEvent,e)&&(this.sendToConsumer(this.queuedRedirectEvent,e),this.saveEventToCache(this.queuedRedirectEvent),this.queuedRedirectEvent=null)}unregisterConsumer(e){this.consumers.delete(e)}onEvent(e){if(this.hasEventBeenHandled(e))return!1;let n=!1;return this.consumers.forEach(r=>{this.isEventForConsumer(e,r)&&(n=!0,this.sendToConsumer(e,r),this.saveEventToCache(e))}),this.hasHandledPotentialRedirect||!ek(e)||(this.hasHandledPotentialRedirect=!0,n||(this.queuedRedirectEvent=e,n=!0)),n}sendToConsumer(e,n){var r;if(e.error&&!mw(e)){let i=((r=e.error.code)===null||r===void 0?void 0:r.split("auth/")[1])||"internal-error";n.onError(Sr(this.auth,i))}else n.onAuthEvent(e)}isEventForConsumer(e,n){let r=n.eventId===null||!!e.eventId&&e.eventId===n.eventId;return n.filter.includes(e.type)&&r}hasEventBeenHandled(e){return Date.now()-this.lastProcessedEventTime>=XP&&this.cachedEventUids.clear(),this.cachedEventUids.has(PE(e))}saveEventToCache(e){this.cachedEventUids.add(PE(e)),this.lastProcessedEventTime=Date.now()}};function PE(t){return[t.type,t.eventId,t.sessionId,t.tenantId].filter(e=>e).join("-")}function mw({type:t,error:e}){return t==="unknown"&&e?.code==="auth/no-auth-event"}function ek(t){switch(t.type){case"signInViaRedirect":case"linkViaRedirect":case"reauthViaRedirect":return!0;case"unknown":return mw(t);default:return!1}}function tk(n){return p(this,arguments,function*(t,e={}){return mn(t,"GET","/v1/projects",e)})}var nk=/^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}$/,rk=/^https?/;function ik(t){return p(this,null,function*(){if(t.config.emulator)return;let{authorizedDomains:e}=yield tk(t);for(let n of e)try{if(ok(n))return}catch{}Ft(t,"unauthorized-domain")})}function ok(t){let e=tp(),{protocol:n,hostname:r}=new URL(e);if(t.startsWith("chrome-extension://")){let s=new URL(t);return s.hostname===""&&r===""?n==="chrome-extension:"&&t.replace("chrome-extension://","")===e.replace("chrome-extension://",""):n==="chrome-extension:"&&s.hostname===r}if(!rk.test(n))return!1;if(nk.test(t))return r===t;let i=t.replace(/\./g,"\\.");return new RegExp("^(.+\\."+i+"|"+i+")$","i").test(r)}var sk=new Tr(3e4,6e4);function kE(){let t=kt().___jsl;if(t?.H){for(let e of Object.keys(t.H))if(t.H[e].r=t.H[e].r||[],t.H[e].L=t.H[e].L||[],t.H[e].r=[...t.H[e].L],t.CP)for(let n=0;n<t.CP.length;n++)t.CP[n]=null}}function ak(t){return new Promise((e,n)=>{var r,i,o;function s(){kE(),gapi.load("gapi.iframes",{callback:()=>{e(gapi.iframes.getContext())},ontimeout:()=>{kE(),n(Sr(t,"network-request-failed"))},timeout:sk.get()})}if(!((i=(r=kt().gapi)===null||r===void 0?void 0:r.iframes)===null||i===void 0)&&i.Iframe)e(gapi.iframes.getContext());else if(!((o=kt().gapi)===null||o===void 0)&&o.load)s();else{let a=iw("iframefcb");return kt()[a]=()=>{gapi.load?s():n(Sr(t,"network-request-failed"))},rw(`${uP()}?onload=${a}`).catch(c=>n(c))}}).catch(e=>{throw Jc=null,e})}var Jc=null;function ck(t){return Jc=Jc||ak(t),Jc}var uk=new Tr(5e3,15e3),lk="__/auth/iframe",dk="emulator/auth/iframe",fk={style:{position:"absolute",top:"-100px",width:"1px",height:"1px"},"aria-hidden":"true",tabindex:"-1"},hk=new Map([["identitytoolkit.googleapis.com","p"],["staging-identitytoolkit.sandbox.googleapis.com","s"],["test-identitytoolkit.sandbox.googleapis.com","t"]]);function pk(t){let e=t.config;A(e.authDomain,t,"auth-domain-config-required");let n=e.emulator?Dp(e,dk):`https://${t.config.authDomain}/${lk}`,r={apiKey:e.apiKey,appName:t.name,v:Ri},i=hk.get(t.config.apiHost);i&&(r.eid=i);let o=t._getFrameworks();return o.length&&(r.fw=o.join(",")),`${n}?${Uo(r).slice(1)}`}function gk(t){return p(this,null,function*(){let e=yield ck(t),n=kt().gapi;return A(n,t,"internal-error"),e.open({where:document.body,url:pk(t),messageHandlersFilter:n.iframes.CROSS_ORIGIN_IFRAMES_FILTER,attributes:fk,dontclear:!0},r=>new Promise((i,o)=>p(this,null,function*(){yield r.restyle({setHideOnLeave:!1});let s=Sr(t,"network-request-failed"),a=kt().setTimeout(()=>{o(s)},uk.get());function c(){kt().clearTimeout(a),i(r)}r.ping(c).then(c,()=>{o(s)})})))})}var mk={location:"yes",resizable:"yes",statusbar:"yes",toolbar:"no"},vk=500,yk=600,Ik="_blank",Dk="http://localhost",lu=class{constructor(e){this.window=e,this.associatedEvent=null}close(){if(this.window)try{this.window.close()}catch{}}};function Ek(t,e,n,r=vk,i=yk){let o=Math.max((window.screen.availHeight-i)/2,0).toString(),s=Math.max((window.screen.availWi
10dth-r)/2,0).toString(),a="",c=Object.assign(Object.assign({},mk),{width:r.toString(),height:i.toString(),top:o,left:s}),u=Ce().toLowerCase();n&&(a=KE(u)?Ik:n),ZE(u)&&(e=e||Dk,c.scrollbars="yes");let l=Object.entries(c).reduce((h,[f,g])=>`${h}${f}=${g},`,"");if(rP(u)&&a!=="_self")return wk(e||"",a),new lu(null);let d=window.open(e||"",a,l);A(d,t,"popup-blocked");try{d.focus()}catch{}return new lu(d)}function wk(t,e){let n=document.createElement("a");n.href=t,n.target=e;let r=document.createEvent("MouseEvent");r.initMouseEvent("click",!0,!0,window,1,0,0,0,0,!1,!1,!1,!1,1,null),n.dispatchEvent(r)}var _k="__/auth/handler",Ck="emulator/auth/handler",bk=encodeURIComponent("fac");function FE(t,e,n,r,i,o){return p(this,null,function*(){A(t.config.authDomain,t,"auth-domain-config-required"),A(t.config.apiKey,t,"invalid-api-key");let s={apiKey:t.config.apiKey,appName:t.name,authType:n,redirectUrl:r,v:Ri,eventId:i};if(e instanceof su){e.setDefaultLanguage(t.languageCode),s.providerId=e.providerId||"",aE(e.getCustomParameters())||(s.customParameters=JSON.stringify(e.getCustomParameters()));for(let[l,d]of Object.entries(o||{}))s[l]=d}if(e instanceof lp){let l=e.getScopes().filter(d=>d!=="");l.length>0&&(s.scopes=l.join(","))}t.tenantId&&(s.tid=t.tenantId);let a=s;for(let l of Object.keys(a))a[l]===void 0&&delete a[l];let c=yield t._getAppCheckToken(),u=c?`#${bk}=${encodeURIComponent(c)}`:"";return`${Sk(t)}?${Uo(a).slice(1)}${u}`})}function Sk({config:t}){return t.emulator?Dp(t,Ck):`https://${t.authDomain}/${_k}`}var ep="webStorageSupport",vp=class{constructor(){this.eventManagers={},this.iframes={},this.originValidationPromises={},this._redirectPersistence=Op,this._completeRedirectFn=JP,this._overrideRedirectResult=YP}_openPopup(e,n,r,i){return p(this,null,function*(){var o;Hn((o=this.eventManagers[e._key()])===null||o===void 0?void 0:o.manager,"_initialize() not called before _openPopup()");let s=yield FE(e,n,r,tp(),i);return Ek(e,s,dw())})}_openRedirect(e,n,r,i){return p(this,null,function*(){yield this._originValidation(e);let o=yield FE(e,n,r,tp(),i);return OP(o),new Promise(()=>{})})}_initialize(e){let n=e._key();if(this.eventManagers[n]){let{manager:i,promise:o}=this.eventManagers[n];return i?Promise.resolve(i):(Hn(o,"If manager is not set, promise should be"),o)}let r=this.initAndGetManager(e);return this.eventManagers[n]={promise:r},r.catch(()=>{delete this.eventManagers[n]}),r}initAndGetManager(e){return p(this,null,function*(){let n=yield gk(e),r=new mp(e);return n.register("authEvent",i=>(A(i?.authEvent,e,"invalid-auth-event"),{status:r.onEvent(i.authEvent)?"ACK":"ERROR"}),gapi.iframes.CROSS_ORIGIN_IFRAMES_FILTER),this.eventManagers[e._key()]={manager:r},this.iframes[e._key()]=n,r})}_isIframeWebStorageSupported(e,n){this.iframes[e._key()].send(ep,{type:ep},i=>{var o;let s=(o=i?.[0])===null||o===void 0?void 0:o[ep];s!==void 0&&n(!!s),Ft(e,"internal-error")},gapi.iframes.CROSS_ORIGIN_IFRAMES_FILTER)}_originValidation(e){let n=e._key();return this.originValidationPromises[n]||(this.originValidationPromises[n]=ik(e)),this.originValidationPromises[n]}get _shouldInitProactively(){return tw()||YE()||Cp()}},vw=vp;var LE="@firebase/auth",VE="1.7.8";var yp=class{constructor(e){this.auth=e,this.internalListeners=new Map}getUid(){var e;return this.assertAuthConfigured(),((e=this.auth.currentUser)===null||e===void 0?void 0:e.uid)||null}getToken(e){return p(this,null,function*(){return this.assertAuthConfigured(),yield this.auth._initializationPromise,this.auth.currentUser?{accessToken:yield this.auth.currentUser.getIdToken(e)}:null})}addAuthTokenListener(e){if(this.assertAuthConfigured(),this.internalListeners.has(e))return;let n=this.auth.onIdTokenChanged(r=>{e(r?.stsTokenManager.accessToken||null)});this.internalListeners.set(e,n),this.updateProactiveRefresh()}removeAuthTokenListener(e){this.assertAuthConfigured();let n=this.internalListeners.get(e);n&&(this.internalListeners.delete(e),n(),this.updateProactiveRefresh())}assertAuthConfigured(){A(this.auth._initializationPromise,"dependent-sdk-initialized-before-auth")}updateProactiveRefresh(){this.internalListeners.size>0?this.auth._startProactiveRefresh():this.auth._stopProactiveRefresh()}};function Tk(t){switch(t){case"Node":return"node";case"ReactNative":return"rn";case"Worker":return"webworker";case"Cordova":return"cordova";case"WebExtension":return"web-extension";default:return}}function Ak(t){Ni(new xt("auth",(e,{options:n})=>{let r=e.getProvider("app").getImmediate(),i=e.getProvider("heartbeat"),o=e.getProvider("app-check-internal"),{apiKey:s,authDomain:a}=r.options;A(s&&!s.includes(":"),"invalid-api-key",{appName:r.name});let c={apiKey:s,authDomain:a,clientPlatform:t,apiHost:"identitytoolkit.googleapis.com",tokenApiHost:"securetoken.googleapis.com",apiScheme:"https",sdkClientVersion:nw(t)},u=new cp(r,i,o,c);return fP(u,n),u},"PUBLIC").setInstantiationMode("EXPLICIT").setInstanceCreatedCallback((e,n,r)=>{e.getProvider("auth-internal").initialize()})),Ni(new xt("auth-internal",e=>{let n=zn(e.getProvider("auth").getImmediate());return(r=>new yp(r))(n)},"PRIVATE").setInstantiationMode("EXPLICIT")),ke(LE,VE,Tk(t)),ke(LE,VE,"esm2017")}var Mk=5*60,Nk=xh("authIdTokenMaxAge")||Mk,jE=null,Rk=t=>e=>p(void 0,null,function*(){let n=e&&(yield e.getIdTokenResult()),r=n&&(new Date().getTime()-Date.parse(n.issuedAtTime))/1e3;if(r&&r>Nk)return;let i=n?.token;jE!==i&&(jE=i,yield fetch(t,{method:i?"POST":"DELETE",headers:i?{Authorization:`Bearer ${i}`}:{}}))});function Pp(t=Bc()){let e=qh(t,"auth");if(e.isInitialized())return e.getImmediate();let n=bp(t,{popupRedirectResolver:vw,persistence:[gw,lw,Op]}),r=xh("authTokenSyncURL");if(r&&typeof isSecureContext=="boolean"&&isSecureContext){let o=new URL(r,location.origin);if(location.origin===o.origin){let s=Rk(o.toString());Rp(n,s,()=>s(n.currentUser)),Xo(n,a=>s(a))}}let i=Nh("auth");return i&&Sp(n,`http://${i}`),n}function xk(){var t,e;return(e=(t=document.getElementsByTagName("head"))===null||t===void 0?void 0:t[0])!==null&&e!==void 0?e:document}
10aP({loadJS(t){return new Promise((e,n)=>{let r=document.createElement("script");r.setAttribute("src",t),r.onload=e,r.onerror=i=>{let o=Sr("internal-error");o.customData=i,n(o)},r.type="text/javascript",r.charset="UTF-8",xk().appendChild(r)})},gapiScript:"https://apis.google.com/js/api.js",recaptchaV2Script:"https://www.google.com/recaptcha/api.js",recaptchaEnterpriseScript:"https://www.google.com/recaptcha/enterprise.js?render="});Ak("Browser");function Iw(t){return new R(function(e){var n=fu(t,e.next.bind(e),e.error.bind(e),e.complete.bind(e));return{unsubscribe:n}})}function Dw(t){return new R(function(e){var n=Xo(t,e.next.bind(e),e.error.bind(e),e.complete.bind(e));return{unsubscribe:n}})}var Ew="auth",es=class{constructor(e){return e}},kp=class{constructor(){return Kh(Ew)}};var Fp=new w("angularfire2.auth-instances");function IF(t,e){let n=_E(Ew,t,e);return n&&new es(n)}function DF(t){return(e,n)=>{let r=e.runOutsideAngular(()=>t(n));return new es(r)}}var EF={provide:kp,deps:[[new ct,Fp]]},wF={provide:es,useFactory:IF,deps:[[new ct,Fp],br]};function $8(t,...e){return ke("angularfire",Ho.full,"auth"),Pn([wF,EF,{provide:Fp,useFactory:DF(t),multi:!0,deps:[G,ve,Gc,zo,[new ct,zc],...e]}])}var B8=Pt(Iw,!0),H8=Pt(Dw,!0);var z8=Pt(Mp,!0);var W8=Pt(Pp,!0);var G8=Pt(Ap,!0);var q8=Pt(Np,!0);var Z8=Pt(xp,!0);var Nw=(()=>{let e=class e{constructor(r,i){this._renderer=r,this._elementRef=i,this.onChange=o=>{},this.onTouched=()=>{}}setProperty(r,i){this._renderer.setProperty(this._elementRef.nativeElement,r,i)}registerOnTouched(r){this.onTouched=r}registerOnChange(r){this.onChange=r}setDisabledState(r){this.setProperty("disabled",r)}};e.\u0275fac=function(i){return new(i||e)(D(Qe),D(we))},e.\u0275dir=Q({type:e});let t=e;return t})(),Vi=(()=>{let e=class e extends Nw{};e.\u0275fac=(()=>{let r;return function(o){return(r||(r=Kt(e)))(o||e)}})(),e.\u0275dir=Q({type:e,features:[Oe]});let t=e;return t})(),Zn=new w(""),_F={provide:Zn,useExisting:Ze(()=>CF),multi:!0},CF=(()=>{let e=class e extends Vi{writeValue(r){this.setProperty("checked",r)}};e.\u0275fac=(()=>{let r;return function(o){return(r||(r=Kt(e)))(o||e)}})(),e.\u0275dir=Q({type:e,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(i,o){i&1&&dt("change",function(a){return o.onChange(a.target.checked)})("blur",function(){return o.onTouched()})},features:[At([_F]),Oe]});let t=e;return t})(),bF={provide:Zn,useExisting:Ze(()=>Rw),multi:!0};function SF(){let t=sn()?sn().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}var TF=new w(""),Rw=(()=>{let e=class e extends Nw{constructor(r,i,o){super(r,i),this._compositionMode=o,this._composing=!1,this._compositionMode==null&&(this._compositionMode=!SF())}writeValue(r){let i=r??"";this.setProperty("value",i)}_handleInput(r){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(r)}_compositionStart(){this._composing=!0}_compositionEnd(r){this._composing=!1,this._compositionMode&&this.onChange(r)}};e.\u0275fac=function(i){return new(i||e)(D(Qe),D(we),D(TF,8))},e.\u0275dir=Q({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,o){i&1&&dt("input",function(a){return o._handleInput(a.target.value)})("blur",function(){return o.onTouched()})("compositionstart",function(){return o._compositionStart()})("compositionend",function(a){return o._compositionEnd(a.target.value)})},features:[At([bF]),Oe]});let t=e;return t})();function Wn(t){return t==null||(typeof t=="string"||Array.isArray(t))&&t.length===0}function xw(t){return t!=null&&typeof t.length=="number"}var Bp=new w(""),Hp=new w(""),AF=/^(?=.{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])?)*$/,ww=class{static min(e){return MF(e)}static max(e){return NF(e)}static required(e){return RF(e)}static requiredTrue(e){return xF(e)}static email(e){return OF(e)}static minLength(e){return PF(e)}static maxLength(e){return kF(e)}static pattern(e){return FF(e)}static nullValidator(e){return Ow(e)}static compose(e){return jw(e)}static composeAsync(e){return $w(e)}};function MF(t){return e=>{if(Wn(e.value)||Wn(t))return null;let n=parseFloat(e.value);return!isNaN(n)&&n<t?{min:{min:t,actual:e.value}}:null}}function NF(t){return e=>{if(Wn(e.value)||Wn(t))return null;let n=parseFloat(e.value);return!isNaN(n)&&n>t?{max:{max:t,actual:e.value}}:null}}function RF(t){return Wn(t.value)?{required:!0}:null}function xF(t){return t.value===!0?null:{required:!0}}function OF(t){return Wn(t.value)||AF.test(t.value)?null:{email:!0}}function PF(t){return e=>Wn(e.value)||!xw(e.value)?null:e.value.length<t?{minlength:{requiredLength:t,actualLength:e.value.length}}:null}function kF(t){return e=>xw(e.value)&&e.value.length>t?{maxlength:{requiredLength:t,actualLength:e.value.length}}:null}function FF(t){if(!t)return Ow;let e,n;return typeof t=="string"?(n="",t.charAt(0)!=="^"&&(n+="^"),n+=t,t.charAt(t.length-1)!=="$"&&(n+="$"),e=new RegExp(n)):(n=t.toString(),e=t),r=>{if(Wn(r.value))return null;let i=r.value;return e.test(i)?null:{pattern:{requiredPattern:n,actualValue:i}}}}function Ow(t){return null}function Pw(t){return t!=null}function kw(t){return Fn(t)?q(t):t}function Fw(t){let e={};return t.forEach(n=>{e=n!=null?v(v({},e),n):e}),Object.keys(e).length===0?null:e}function Lw(t,e){return e.map(n=>n(t))}function LF(t){return!t.validate}function Vw(t){return t.map(e=>LF(e)?e:n=>e.validate(n))}function jw(t){if(!t)return null;let e=t.filter(Pw);return e.length==0?null:function(n){return Fw(Lw(n,e))}}function Uw(t){return t!=null?jw(Vw(t)):null}function $w(t){if(!t)return null;let e=t.filter(Pw);return e.length==0?null:function(n){let r=Lw(n,e).map(kw);return Uu(r).pipe(U(Fw))}}function Bw(t){return t!=null?$w(Vw(t)):null}function _w(t,e){return t===null?[e]:Array.isArray(t)?[...t,e]:[t,e]}function Hw(t){return t._rawValidators}function zw(t){return t._rawAsyncValidators}function Lp(t){return t?Array.isArray(t)?t:[t]:[]}function gu(t,e){return Array.isArray(t)?t.includes(e):t===e}function Cw(t,e){let n=Lp(e);return Lp(t).forEach(i=>
10{gu(n,i)||n.push(i)}),n}function bw(t,e){return Lp(e).filter(n=>!gu(t,n))}var mu=class{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}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}_setValidators(e){this._rawValidators=e||[],this._composedValidatorFn=Uw(this._rawValidators)}_setAsyncValidators(e){this._rawAsyncValidators=e||[],this._composedAsyncValidatorFn=Bw(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(e){this._onDestroyCallbacks.push(e)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(e=>e()),this._onDestroyCallbacks=[]}reset(e=void 0){this.control&&this.control.reset(e)}hasError(e,n){return this.control?this.control.hasError(e,n):!1}getError(e,n){return this.control?this.control.getError(e,n):null}},Li=class extends mu{get formDirective(){return null}get path(){return null}},Gn=class extends mu{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}},vu=class{constructor(e){this._cd=e}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}},VF={"[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"},f3=$(v({},VF),{"[class.ng-submitted]":"isSubmitted"}),h3=(()=>{let e=class e extends vu{constructor(r){super(r)}};e.\u0275fac=function(i){return new(i||e)(D(Gn,2))},e.\u0275dir=Q({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(i,o){i&2&&Xa("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)},features:[Oe]});let t=e;return t})(),p3=(()=>{let e=class e extends vu{constructor(r){super(r)}};e.\u0275fac=function(i){return new(i||e)(D(Li,10))},e.\u0275dir=Q({type:e,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(i,o){i&2&&Xa("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)("ng-submitted",o.isSubmitted)},features:[Oe]});let t=e;return t})();var ts="VALID",pu="INVALID",ki="PENDING",ns="DISABLED",qn=class{},yu=class extends qn{constructor(e,n){super(),this.value=e,this.source=n}},rs=class extends qn{constructor(e,n){super(),this.pristine=e,this.source=n}},is=class extends qn{constructor(e,n){super(),this.touched=e,this.source=n}},Fi=class extends qn{constructor(e,n){super(),this.status=e,this.source=n}},Vp=class extends qn{constructor(e){super(),this.source=e}},jp=class extends qn{constructor(e){super(),this.source=e}};function zp(t){return(wu(t)?t.validators:t)||null}function jF(t){return Array.isArray(t)?Uw(t):t||null}function Wp(t,e){return(wu(e)?e.asyncValidators:t)||null}function UF(t){return Array.isArray(t)?Bw(t):t||null}function wu(t){return t!=null&&!Array.isArray(t)&&typeof t=="object"}function Ww(t,e,n){let r=t.controls;if(!(e?Object.keys(r):r).length)throw new I(1e3,"");if(!r[n])throw new I(1001,"")}function Gw(t,e,n){t._forEachChild((r,i)=>{if(n[i]===void 0)throw new I(1002,"")})}var os=class{constructor(e,n){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=null,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this._status=ho(()=>this.statusReactive()),this.statusReactive=lo(void 0),this._pristine=ho(()=>this.pristineReactive()),this.pristineReactive=lo(!0),this._touched=ho(()=>this.touchedReactive()),this.touchedReactive=lo(!1),this._events=new ee,this.events=this._events.asObservable(),this._onDisabledChange=[],this._assignValidators(e),this._assignAsyncValidators(n)}get validator(){return this._composedValidatorFn}set validator(e){this._rawValidators=this._composedValidatorFn=e}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(e){this._rawAsyncValidators=this._composedAsyncValidatorFn=e}get parent(){return this._parent}get status(){return ft(this.statusReactive)}set status(e){ft(()=>this.statusReactive.set(e))}get valid(){return this.status===ts}get invalid(){return this.status===pu}get pending(){return this.status==ki}get disabled(){return this.status===ns}get enabled(){return this.status!==ns}get pristine(){return ft(this.pristineReactive)}set pristine(e){ft(()=>this.pristineReactive.set(e))}get dirty(){return!this.pristine}get touched(){return ft(this.touchedReactive)}set touched(e){ft(()=>this.touchedReactive.set(e))}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(e){this._assignValidators(e)}setAsyncValidators(e){this._assignAsyncValidators(e)}addValidators(e){this.setValidators(Cw(e,this._rawValidators))}addAsyncValidators(e){this.setAsyncValidators(Cw(e,this._rawAsyncValidators))}removeValidators(e){this.setValidators(bw(e,this._rawValidators))}removeAsyncValidators(e){this.setAsyncValidators(bw(e,this._rawAsyncValidators))}hasValidator(e){return gu(this._rawValidators,e)}hasAsyncValidator(e){return gu(this._rawAsyncValidators,e)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(e={}){let n=this.touched===!1;this.touched=!0;let r=e.sourceControl??this;this._parent&&!e.onlySelf&&this._parent.markAsTouched($(v({},e),{sourceControl:r})),n&&e.emitEvent!==!1&&this._events.next(new is(!0,r))}markAllAsTouched(e={}){this.markAsTouched({onlySelf:!0,emitEvent:e.emitEvent,sourceControl:this}
vendor: 7,701 bytes, line 10
10),this._forEachChild(n=>n.markAllAsTouched(e))}markAsUntouched(e={}){let n=this.touched===!0;this.touched=!1,this._pendingTouched=!1;let r=e.sourceControl??this;this._forEachChild(i=>{i.markAsUntouched({onlySelf:!0,emitEvent:e.emitEvent,sourceControl:r})}),this._parent&&!e.onlySelf&&this._parent._updateTouched(e,r),n&&e.emitEvent!==!1&&this._events.next(new is(!1,r))}markAsDirty(e={}){let n=this.pristine===!0;this.pristine=!1;let r=e.sourceControl??this;this._parent&&!e.onlySelf&&this._parent.markAsDirty($(v({},e),{sourceControl:r})),n&&e.emitEvent!==!1&&this._events.next(new rs(!1,r))}markAsPristine(e={}){let n=this.pristine===!1;this.pristine=!0,this._pendingDirty=!1;let r=e.sourceControl??this;this._forEachChild(i=>{i.markAsPristine({onlySelf:!0,emitEvent:e.emitEvent})}),this._parent&&!e.onlySelf&&this._parent._updatePristine(e,r),n&&e.emitEvent!==!1&&this._events.next(new rs(!0,r))}markAsPending(e={}){this.status=ki;let n=e.sourceControl??this;e.emitEvent!==!1&&(this._events.next(new Fi(this.status,n)),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.markAsPending($(v({},e),{sourceControl:n}))}disable(e={}){let n=this._parentMarkedDirty(e.onlySelf);this.status=ns,this.errors=null,this._forEachChild(i=>{i.disable($(v({},e),{onlySelf:!0}))}),this._updateValue();let r=e.sourceControl??this;e.emitEvent!==!1&&(this._events.next(new yu(this.value,r)),this._events.next(new Fi(this.status,r)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors($(v({},e),{skipPristineCheck:n}),this),this._onDisabledChange.forEach(i=>i(!0))}enable(e={}){let n=this._parentMarkedDirty(e.onlySelf);this.status=ts,this._forEachChild(r=>{r.enable($(v({},e),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent}),this._updateAncestors($(v({},e),{skipPristineCheck:n}),this),this._onDisabledChange.forEach(r=>r(!1))}_updateAncestors(e,n){this._parent&&!e.onlySelf&&(this._parent.updateValueAndValidity(e),e.skipPristineCheck||this._parent._updatePristine({},n),this._parent._updateTouched({},n))}setParent(e){this._parent=e}getRawValue(){return this.value}updateValueAndValidity(e={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){let r=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===ts||this.status===ki)&&this._runAsyncValidator(r,e.emitEvent)}let n=e.sourceControl??this;e.emitEvent!==!1&&(this._events.next(new yu(this.value,n)),this._events.next(new Fi(this.status,n)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.updateValueAndValidity($(v({},e),{sourceControl:n}))}_updateTreeValidity(e={emitEvent:!0}){this._forEachChild(n=>n._updateTreeValidity(e)),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?ns:ts}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(e,n){if(this.asyncValidator){this.status=ki,this._hasOwnPendingAsyncValidator={emitEvent:n!==!1};let r=kw(this.asyncValidator(this));this._asyncValidationSubscription=r.subscribe(i=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(i,{emitEvent:n,shouldHaveEmitted:e})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();let e=this._hasOwnPendingAsyncValidator?.emitEvent??!1;return this._hasOwnPendingAsyncValidator=null,e}return!1}setErrors(e,n={}){this.errors=e,this._updateControlsErrors(n.emitEvent!==!1,this,n.shouldHaveEmitted)}get(e){let n=e;return n==null||(Array.isArray(n)||(n=n.split(".")),n.length===0)?null:n.reduce((r,i)=>r&&r._find(i),this)}getError(e,n){let r=n?this.get(n):this;return r&&r.errors?r.errors[e]:null}hasError(e,n){return!!this.getError(e,n)}get root(){let e=this;for(;e._parent;)e=e._parent;return e}_updateControlsErrors(e,n,r){this.status=this._calculateStatus(),e&&this.statusChanges.emit(this.status),(e||r)&&this._events.next(new Fi(this.status,n)),this._parent&&this._parent._updateControlsErrors(e,n,r)}_initObservables(){this.valueChanges=new ne,this.statusChanges=new ne}_calculateStatus(){return this._allControlsDisabled()?ns:this.errors?pu:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(ki)?ki:this._anyControlsHaveStatus(pu)?pu:ts}_anyControlsHaveStatus(e){return this._anyControls(n=>n.status===e)}_anyControlsDirty(){return this._anyControls(e=>e.dirty)}_anyControlsTouched(){return this._anyControls(e=>e.touched)}_updatePristine(e,n){let r=!this._anyControlsDirty(),i=this.pristine!==r;this.pristine=r,this._parent&&!e.onlySelf&&this._parent._updatePristine(e,n),i&&this._events.next(new rs(this.pristine,n))}_updateTouched(e={},n){this.touched=this._anyControlsTouched(),this._events.next(new is(this.touched,n)),this._parent&&!e.onlySelf&&this._parent._updateTouched(e,n)}_registerOnCollectionChange(e){this._onCollectionChange=e}_setUpdateStrategy(e){wu(e)&&e.updateOn!=null&&(this._updateOn=e.updateOn)}_parentMarkedDirty(e){let n=this._parent&&this._parent.dirty;return!e&&!!n&&!this._parent._anyControlsDirty()}_find(e){return null}_assignValidators(e){this._rawValidators=Array.isArray(e)?e.slice():e,this._composedValidatorFn=jF(this._rawValidators)}_assignAsyncValidators(e){this._rawAsyncValidators=Array.isArray(e)?e.slice():e,this._composedAsyncValidatorFn=UF(this._rawAsyncValidators)}},Up=class extends os{constructor(e,n,r){super(zp(n),Wp(r,n)),this.controls=e,this._initObservables(),this._setUpdateStrategy(n),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(e,n){return this.controls[e]?this.controls[e]:(this.controls[e]=n,n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange),n)}addControl(e,n,r={}){this.registerControl(e,n),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}removeControl(e,n={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}setControl(e,n,r={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],n&&this.registerControl(e,n),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}contains(e){return this.controls.hasOwnProperty(e)&&this.controls[e].enabled}setValue(e,n={}){Gw(this,!0,e),Object.keys(e).forEach(r=>{Ww(this,!0,r),this.controls[r].setValue(e[r],{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n)}patchValue(e,n={}){e!=null&&(Object.keys(e).forEach(r=>{let i=this.controls[r];i&&i.patchValue(e[r],{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n))}reset(e={},n={}){this._forEachChild((r,i)=>{r.reset(e?e[i]:null,{onlySelf:!0,emitEvent:n.emitEvent})}),this._updatePristine(n,this),this._updateTouched(n,this),this.updateValueAndValidity(n)}getRawValue(){return this._reduceChildren({},(e,n,r)=>(e[r]=n.getRawValue(),e))}_syncPendingControls(){let e=this._reduceChildren(!1,(n,r)=>r._syncPendingControls()?!0:n);return e&&this.updateValueAndValidity({onlySelf:!0}),e}_forEachChild(e){Object.keys(this.controls).forEach(n=>{let r=this.controls[n];r&&e(r,n)})}_setUpControls(){this._forEachChild(e=>{e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(e){for(let[n,r]of Object.entries(this.controls))if(this.contains(n)&&e(r))return!0;return!1}_reduceValue(){let e={};return this._reduceChildren(e,(n,r,i)=>((r.enabled||this.disabled)&&(n[i]=r.value),n))}
vendor: 4,455 bytes, line 10
10_reduceChildren(e,n){let r=e;return this._forEachChild((i,o)=>{r=n(r,i,o)}),r}_allControlsDisabled(){for(let e of Object.keys(this.controls))if(this.controls[e].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(e){return this.controls.hasOwnProperty(e)?this.controls[e]:null}};var g3=Up;var _u=new w("CallSetDisabledState",{providedIn:"root",factory:()=>Cu}),Cu="always";function $F(t,e){return[...e.path,t]}function $p(t,e,n=Cu){Gp(t,e),e.valueAccessor.writeValue(t.value),(t.disabled||n==="always")&&e.valueAccessor.setDisabledState?.(t.disabled),HF(t,e),WF(t,e),zF(t,e),BF(t,e)}function Iu(t,e,n=!0){let r=()=>{};e.valueAccessor&&(e.valueAccessor.registerOnChange(r),e.valueAccessor.registerOnTouched(r)),Eu(t,e),t&&(e._invokeOnDestroyCallbacks(),t._registerOnCollectionChange(()=>{}))}function Du(t,e){t.forEach(n=>{n.registerOnValidatorChange&&n.registerOnValidatorChange(e)})}function BF(t,e){if(e.valueAccessor.setDisabledState){let n=r=>{e.valueAccessor.setDisabledState(r)};t.registerOnDisabledChange(n),e._registerOnDestroy(()=>{t._unregisterOnDisabledChange(n)})}}function Gp(t,e){let n=Hw(t);e.validator!==null?t.setValidators(_w(n,e.validator)):typeof n=="function"&&t.setValidators([n]);let r=zw(t);e.asyncValidator!==null?t.setAsyncValidators(_w(r,e.asyncValidator)):typeof r=="function"&&t.setAsyncValidators([r]);let i=()=>t.updateValueAndValidity();Du(e._rawValidators,i),Du(e._rawAsyncValidators,i)}function Eu(t,e){let n=!1;if(t!==null){if(e.validator!==null){let i=Hw(t);if(Array.isArray(i)&&i.length>0){let o=i.filter(s=>s!==e.validator);o.length!==i.length&&(n=!0,t.setValidators(o))}}if(e.asyncValidator!==null){let i=zw(t);if(Array.isArray(i)&&i.length>0){let o=i.filter(s=>s!==e.asyncValidator);o.length!==i.length&&(n=!0,t.setAsyncValidators(o))}}}let r=()=>{};return Du(e._rawValidators,r),Du(e._rawAsyncValidators,r),n}function HF(t,e){e.valueAccessor.registerOnChange(n=>{t._pendingValue=n,t._pendingChange=!0,t._pendingDirty=!0,t.updateOn==="change"&&qw(t,e)})}function zF(t,e){e.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,t.updateOn==="blur"&&t._pendingChange&&qw(t,e),t.updateOn!=="submit"&&t.markAsTouched()})}function qw(t,e){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function WF(t,e){let n=(r,i)=>{e.valueAccessor.writeValue(r),i&&e.viewToModelUpdate(r)};t.registerOnChange(n),e._registerOnDestroy(()=>{t._unregisterOnChange(n)})}function GF(t,e){t==null,Gp(t,e)}function qF(t,e){return Eu(t,e)}function Zw(t,e){if(!t.hasOwnProperty("model"))return!1;let n=t.model;return n.isFirstChange()?!0:!Object.is(e,n.currentValue)}function ZF(t){return Object.getPrototypeOf(t.constructor)===Vi}function YF(t,e){t._syncPendingControls(),e.forEach(n=>{let r=n.control;r.updateOn==="submit"&&r._pendingChange&&(n.viewToModelUpdate(r._pendingValue),r._pendingChange=!1)})}function Yw(t,e){if(!e)return null;Array.isArray(e);let n,r,i;return e.forEach(o=>{o.constructor===Rw?n=o:ZF(o)?r=o:i=o}),i||r||n||null}function KF(t,e){let n=t.indexOf(e);n>-1&&t.splice(n,1)}function Sw(t,e){let n=t.indexOf(e);n>-1&&t.splice(n,1)}function Tw(t){return typeof t=="object"&&t!==null&&Object.keys(t).length===2&&"value"in t&&"disabled"in t}var QF=class extends os{constructor(e=null,n,r){super(zp(n),Wp(r,n)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(e),this._setUpdateStrategy(n),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),wu(n)&&(n.nonNullable||n.initialValueIsDefault)&&(Tw(e)?this.defaultValue=e.value:this.defaultValue=e)}setValue(e,n={}){this.value=this._pendingValue=e,this._onChange.length&&n.emitModelToViewChange!==!1&&this._onChange.forEach(r=>r(this.value,n.emitViewToModelChange!==!1)),this.updateValueAndValidity(n)}patchValue(e,n={}){this.setValue(e,n)}reset(e=this.defaultValue,n={}){this._applyFormState(e),this.markAsPristine(n),this.markAsUntouched(n),this.setValue(this.value,n),this._pendingChange=!1}_updateValue(){}_anyControls(e){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(e){this._onChange.push(e)}_unregisterOnChange(e){Sw(this._onChange,e)}registerOnDisabledChange(e){this._onDisabledChange.push(e)}_unregisterOnDisabledChange(e){Sw(this._onDisabledChange,e)}_forEachChild(e){}_syncPendingControls(){return this.updateOn==="submit"&&(this._pe
10ndingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),this._pendingChange)?(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0):!1}_applyFormState(e){Tw(e)?(this.value=this._pendingValue=e.value,e.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=e}};var JF=t=>t instanceof QF;var v3=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275dir=Q({type:e,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]});let t=e;return t})(),XF={provide:Zn,useExisting:Ze(()=>eL),multi:!0},eL=(()=>{let e=class e extends Vi{writeValue(r){let i=r??"";this.setProperty("value",i)}registerOnChange(r){this.onChange=i=>{r(i==""?null:parseFloat(i))}}};e.\u0275fac=(()=>{let r;return function(o){return(r||(r=Kt(e)))(o||e)}})(),e.\u0275dir=Q({type:e,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(i,o){i&1&&dt("input",function(a){return o.onChange(a.target.value)})("blur",function(){return o.onTouched()})},features:[At([XF]),Oe]});let t=e;return t})(),tL={provide:Zn,useExisting:Ze(()=>rL),multi:!0};var nL=(()=>{let e=class e{constructor(){this._accessors=[]}add(r,i){this._accessors.push([r,i])}remove(r){for(let i=this._accessors.length-1;i>=0;--i)if(this._accessors[i][1]===r){this._accessors.splice(i,1);return}}select(r){this._accessors.forEach(i=>{this._isSameGroup(i,r)&&i[1]!==r&&i[1].fireUncheck(r.value)})}_isSameGroup(r,i){return r[0].control?r[0]._parent===i._control._parent&&r[1].name===i.name:!1}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),rL=(()=>{let e=class e extends Vi{constructor(r,i,o,s){super(r,i),this._registry=o,this._injector=s,this.setDisabledStateFired=!1,this.onChange=()=>{},this.callSetDisabledState=m(_u,{optional:!0})??Cu}ngOnInit(){this._control=this._injector.get(Gn),this._checkName(),this._registry.add(this._control,this)}ngOnDestroy(){this._registry.remove(this)}writeValue(r){this._state=r===this.value,this.setProperty("checked",this._state)}registerOnChange(r){this._fn=r,this.onChange=()=>{r(this.value),this._registry.select(this)}}setDisabledState(r){(this.setDisabledStateFired||r||this.callSetDisabledState==="whenDisabledForLegacyCode")&&this.setProperty("disabled",r),this.setDisabledStateFired=!0}fireUncheck(r){this.writeValue(r)}_checkName(){this.name&&this.formControlName&&(this.name,this.formControlName),!this.name&&this.formControlName&&(this.name=this.formControlName)}};e.\u0275fac=function(i){return new(i||e)(D(Qe),D(we),D(nL),D(ve))},e.\u0275dir=Q({type:e,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(i,o){i&1&&dt("change",function(){return o.onChange()})("blur",function(){return o.onTouched()})},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[At([tL]),Oe]});let t=e;return t})();var qp=new w(""),iL={provide:Gn,useExisting:Ze(()=>oL)},oL=(()=>{let e=class e extends Gn{set isDisabled(r){}constructor(r,i,o,s,a){super(),this._ngModelWarningConfig=s,this.callSetDisabledState=a,this.update=new ne,this._ngModelWarningSent=!1,this._setValidators(r),this._setAsyncValidators(i),this.valueAccessor=Yw(this,o)}ngOnChanges(r){if(this._isControlChanged(r)){let i=r.form.previousValue;i&&Iu(i,this,!1),$p(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}Zw(r,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&Iu(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(r){this.viewModel=r,this.update.emit(r)}_isControlChanged(r){return r.hasOwnProperty("form")}};e._ngModelWarningSentOnce=!1,e.\u0275fac=function(i){return new(i||e)(D(Bp,10),D(Hp,10),D(Zn,10),D(qp,8),D(_u,8))},e.\u0275dir=Q({type:e,selectors:[["","formControl",""]],inputs:{form:[0,"formControl","form"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[At([iL]),Oe,ut]});let t=e;return t})(),sL={provide:Li,useExisting:Ze(()=>aL)},aL=(()=>{let e=class e extends Li{get submitted(){return ft(this._submittedReactive)}set submitted(r){this._submittedReactive.set(r)}constructor(r,i,o){super(),this.callSetDisabledState=o,this._submitted=ho(()=>this._submittedReactive()),this._submittedReactive=lo(!1),this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new ne,this._setValidators(r),this._setAsyncValidators(i)}ngOnChanges(r){this._checkFormPresent(),r.hasOwnProperty("form")&&(this._updateV
10alidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(Eu(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(r){let i=this.form.get(r.path);return $p(i,r,this.callSetDisabledState),i.updateValueAndValidity({emitEvent:!1}),this.directives.push(r),i}getControl(r){return this.form.get(r.path)}removeControl(r){Iu(r.control||null,r,!1),KF(this.directives,r)}addFormGroup(r){this._setUpFormContainer(r)}removeFormGroup(r){this._cleanUpFormContainer(r)}getFormGroup(r){return this.form.get(r.path)}addFormArray(r){this._setUpFormContainer(r)}removeFormArray(r){this._cleanUpFormContainer(r)}getFormArray(r){return this.form.get(r.path)}updateModel(r,i){this.form.get(r.path).setValue(i)}onSubmit(r){return this._submittedReactive.set(!0),YF(this.form,this.directives),this.ngSubmit.emit(r),this.form._events.next(new Vp(this.control)),r?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(r=void 0){this.form.reset(r),this._submittedReactive.set(!1),this.form._events.next(new jp(this.form))}_updateDomValue(){this.directives.forEach(r=>{let i=r.control,o=this.form.get(r.path);i!==o&&(Iu(i||null,r),JF(o)&&($p(o,r,this.callSetDisabledState),r.control=o))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(r){let i=this.form.get(r.path);GF(i,r),i.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(r){if(this.form){let i=this.form.get(r.path);i&&qF(i,r)&&i.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Gp(this.form,this),this._oldForm&&Eu(this._oldForm,this)}_checkFormPresent(){this.form}};e.\u0275fac=function(i){return new(i||e)(D(Bp,10),D(Hp,10),D(_u,8))},e.\u0275dir=Q({type:e,selectors:[["","formGroup",""]],hostBindings:function(i,o){i&1&&dt("submit",function(a){return o.onSubmit(a)})("reset",function(){return o.onReset()})},inputs:{form:[0,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[At([sL]),Oe,ut]});let t=e;return t})();var cL={provide:Gn,useExisting:Ze(()=>uL)},uL=(()=>{let e=class e extends Gn{set isDisabled(r){}constructor(r,i,o,s,a){super(),this._ngModelWarningConfig=a,this._added=!1,this.name=null,this.update=new ne,this._ngModelWarningSent=!1,this._parent=r,this._setValidators(i),this._setAsyncValidators(o),this.valueAccessor=Yw(this,s)}ngOnChanges(r){this._added||this._setUpControl(),Zw(r,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(r){this.viewModel=r,this.update.emit(r)}get path(){return $F(this.name==null?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this._added=!0}};e._ngModelWarningSentOnce=!1,e.\u0275fac=function(i){return new(i||e)(D(Li,13),D(Bp,10),D(Hp,10),D(Zn,10),D(qp,8))},e.\u0275dir=Q({type:e,selectors:[["","formControlName",""]],inputs:{name:[0,"formControlName","name"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},features:[At([cL]),Oe,ut]});let t=e;return t})(),lL={provide:Zn,useExisting:Ze(()=>Qw),multi:!0};function Kw(t,e){return t==null?`${e}`:(e&&typeof e=="object"&&(e="Object"),`${t}: ${e}`.slice(0,50))}function dL(t){return t.split(":")[0]}var Qw=(()=>{let e=class e extends Vi{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(r){this._compareWith=r}writeValue(r){this.value=r;let i=this._getOptionId(r),o=Kw(i,r);this.setProperty("value",o)}registerOnChange(r){this.onChange=i=>{this.value=this._getOptionValue(i),r(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(r){for(let i of this._optionMap.keys())if(this._compareWith(this._optionMap.get(i),r))return i;return null}_getOptionValue(r){let i=dL(r);return this._optionMap.has(i)?this._optionMap.get(i):r}};e.\u0275fac=(()=>{let r;return function(o){return(r||(r=Kt(e)))(o||e)}})(),e.\u0275dir=Q({type:e,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(i,o){i&1&&dt("change",function(a){return o.onChange(a.target.value)})("blur",function(){return o.onTouched()})},inputs:{compareWith:"compareWith"},features:[At([lL]),Oe]});let t=e;return t})(),y3=(()=>{let e=class e{constructor(r,i,o){this._element=r,this._renderer=i,this._select=o,this._select&&(this.id=this._select._registerOption())}set ngValue(r){this._select!=null&&(this._select._optionMap.set(this.id,r),this._setElementValue(Kw(this.id,r)),this._select.writeValue(this._select.value))}set value(r){this._setElementValue(r),this._select&&this._select.writeValue(this._select.value)}_setElementValue(r){this._renderer.setProperty(this._element.nativeElement,"value",r)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id
10),this._select.writeValue(this._select.value))}};e.\u0275fac=function(i){return new(i||e)(D(we),D(Qe),D(Qw,9))},e.\u0275dir=Q({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}});let t=e;return t})(),fL={provide:Zn,useExisting:Ze(()=>Jw),multi:!0};function Aw(t,e){return t==null?`${e}`:(typeof e=="string"&&(e=`'${e}'`),e&&typeof e=="object"&&(e="Object"),`${t}: ${e}`.slice(0,50))}function hL(t){return t.split(":")[0]}var Jw=(()=>{let e=class e extends Vi{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(r){this._compareWith=r}writeValue(r){this.value=r;let i;if(Array.isArray(r)){let o=r.map(s=>this._getOptionId(s));i=(s,a)=>{s._setSelected(o.indexOf(a.toString())>-1)}}else i=(o,s)=>{o._setSelected(!1)};this._optionMap.forEach(i)}registerOnChange(r){this.onChange=i=>{let o=[],s=i.selectedOptions;if(s!==void 0){let a=s;for(let c=0;c<a.length;c++){let u=a[c],l=this._getOptionValue(u.value);o.push(l)}}else{let a=i.options;for(let c=0;c<a.length;c++){let u=a[c];if(u.selected){let l=this._getOptionValue(u.value);o.push(l)}}}this.value=o,r(o)}}_registerOption(r){let i=(this._idCounter++).toString();return this._optionMap.set(i,r),i}_getOptionId(r){for(let i of this._optionMap.keys())if(this._compareWith(this._optionMap.get(i)._value,r))return i;return null}_getOptionValue(r){let i=hL(r);return this._optionMap.has(i)?this._optionMap.get(i)._value:r}};e.\u0275fac=(()=>{let r;return function(o){return(r||(r=Kt(e)))(o||e)}})(),e.\u0275dir=Q({type:e,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(i,o){i&1&&dt("change",function(a){return o.onChange(a.target)})("blur",function(){return o.onTouched()})},inputs:{compareWith:"compareWith"},features:[At([fL]),Oe]});let t=e;return t})(),I3=(()=>{let e=class e{constructor(r,i,o){this._element=r,this._renderer=i,this._select=o,this._select&&(this.id=this._select._registerOption(this))}set ngValue(r){this._select!=null&&(this._value=r,this._setElementValue(Aw(this.id,r)),this._select.writeValue(this._select.value))}set value(r){this._select?(this._value=r,this._setElementValue(Aw(this.id,r)),this._select.writeValue(this._select.value)):this._setElementValue(r)}_setElementValue(r){this._renderer.setProperty(this._element.nativeElement,"value",r)}_setSelected(r){this._renderer.setProperty(this._element.nativeElement,"selected",r)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}};e.\u0275fac=function(i){return new(i||e)(D(we),D(Qe),D(Jw,9))},e.\u0275dir=Q({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}});let t=e;return t})();var pL=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=On({type:e}),e.\u0275inj=xn({});let t=e;return t})(),Mw=class extends os{constructor(e,n,r){super(zp(n),Wp(r,n)),this.controls=e,this._initObservables(),this._setUpdateStrategy(n),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(e){return this.controls[this._adjustIndex(e)]}push(e,n={}){this.controls.push(e),this._registerControl(e),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}insert(e,n,r={}){this.controls.splice(e,0,n),this._registerControl(n),this.updateValueAndValidity({emitEvent:r.emitEvent})}removeAt(e,n={}){let r=this._adjustIndex(e);r<0&&(r=0),this.controls[r]&&this.controls[r]._registerOnCollectionChange(()=>{}),this.controls.splice(r,1),this.updateValueAndValidity({emitEvent:n.emitEvent})}setControl(e,n,r={}){let i=this._adjustIndex(e);i<0&&(i=0),this.controls[i]&&this.controls[i]._registerOnCollectionChange(()=>{}),this.controls.splice(i,1),n&&(this.controls.splice(i,0,n),this._registerControl(n)),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(e,n={}){Gw(this,!1,e),e.forEach((r,i)=>{Ww(this,!1,i),this.at(i).setValue(r,{onlySelf:!0,emitEvent:n.emitEvent})}
10),this.updateValueAndValidity(n)}patchValue(e,n={}){e!=null&&(e.forEach((r,i)=>{this.at(i)&&this.at(i).patchValue(r,{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n))}reset(e=[],n={}){this._forEachChild((r,i)=>{r.reset(e[i],{onlySelf:!0,emitEvent:n.emitEvent})}),this._updatePristine(n,this),this._updateTouched(n,this),this.updateValueAndValidity(n)}getRawValue(){return this.controls.map(e=>e.getRawValue())}clear(e={}){this.controls.length<1||(this._forEachChild(n=>n._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:e.emitEvent}))}_adjustIndex(e){return e<0?e+this.length:e}_syncPendingControls(){let e=this.controls.reduce((n,r)=>r._syncPendingControls()?!0:n,!1);return e&&this.updateValueAndValidity({onlySelf:!0}),e}_forEachChild(e){this.controls.forEach((n,r)=>{e(n,r)})}_updateValue(){this.value=this.controls.filter(e=>e.enabled||this.disabled).map(e=>e.value)}_anyControls(e){return this.controls.some(n=>n.enabled&&e(n))}_setUpControls(){this._forEachChild(e=>this._registerControl(e))}_allControlsDisabled(){for(let e of this.controls)if(e.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(e){e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)}_find(e){return this.at(e)??null}};var D3=(()=>{let e=class e{static withConfig(r){return{ngModule:e,providers:[{provide:qp,useValue:r.warnOnNgModelWithFormControl??"always"},{provide:_u,useValue:r.callSetDisabledState??Cu}]}}};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=On({type:e}),e.\u0275inj=xn({imports:[pL]});let t=e;return t})();export{v as a,$ as b,gL as c,mL as d,vL as e,yL as f,p as g,X as h,xu as i,R as j,ee as k,ge as l,Hi as m,f_ as n,me as o,q as p,T as q,ju as r,D_ as s,U as t,Wi as u,te as v,$u as w,er as x,k_ as y,F_ as z,We as A,V_ as B,U_ as C,$_ as D,B_ as E,Ge as F,H_ as G,Cg as H,G_ as I,rt as J,q_ as K,Z_ as L,Y_ as M,Gu as N,Fe as O,xs as P,ce as Q,K_ as R,Ze as S,C as T,xn as U,w as V,N as W,m as X,ct as Y,Zr as Z,Zm as _,On as $,Q as aa,Ma as ba,Pn as ca,WC as da,Le as ea,St as fa,sv as ga,sz as ha,ut as ia,az as ja,cz as ka,Kt as la,ve as ma,$d as na,ne as oa,G as pa,Ol as qa,uz as ra,we as sa,Tt as ta,lz as ua,AS as va,dz as wa,D as xa,gr as ya,Yl as za,ni as Aa,Qe as Ba,Xt as Ca,lo as Da,Oe as Ea,df as Fa,x0 as Ga,zr as Ha,k0 as Ia,ff as Ja,Ja as Ka,Z0 as La,iI as Ma,Xa as Na,gz as Oa,mz as Pa,vz as Qa,yz as Ra,lI as Sa,dI as Ta,hf as Ua,fI as Va,hI as Wa,dA as Xa,Iz as Ya,hA as Za,dt as _a,Dz as $a,Ez as ab,wz as bb,bA as cb,pI as db,_z as eb,gI as fb,mI as gb,Cz as hb,bz as ib,AA as jb,vI as kb,MA as lb,At as mb,II as nb,Sz as ob,Tz as pb,Az as qb,Mz as rb,Nz as sb,Rz as tb,xz as ub,Oz as vb,wI as wb,tc as xb,Ir as yb,Pz as zb,Ln as Ab,di as Bb,tM as Cb,ho as Db,kz as Eb,_e as Fb,nW as Gb,rW as Hb,iW as Ib,oW as Jb,sW as Kb,aW as Lb,cW as Mb,qM as Nb,YM as Ob,TW as Pb,iD as Qb,yN as Rb,Di as Sb,gt as Tb,cn as Ub,To as Vb,ch as Wb,jn as Xb,KN as Yb,BR as Zb,Nt as _b,hD as $b,WW as ac,GW as bc,qW as cc,lx as dc,ZW as ec,QW as fc,JW as gc,Ce as hc,nE as ic,XW as jc,oE as kc,sE as lc,eG as mc,mt as nc,ln as oc,Si as pc,tG as qc,Rt as rc,xt as sc,K as tc,Mi as uc,gE as vc,Ni as wc,qh as xc,Ri as yc,Bc as zc,ke as Ac,Ho as Bc,RG as Cc,_E as Dc,Kh as Ec,zc as Fc,Gc,Pt as Hc,br as Ic,zo as Jc,BG as Kc,HG as Lc,es as Mc,kp as Nc,$8 as Oc,B8 as Pc,H8 as Qc,z8 as Rc,W8 as Sc,G8 as Tc,q8 as Uc,Z8 as Vc,Zn as Wc,CF as Xc,Rw as Yc,ww as Zc,Gn as _c,h3 as $c,p3 as ad,os as bd,Up as cd,g3 as dd,QF as ed,v3 as fd,eL as gd,rL as hd,oL as id,aL as jd,uL as kd,Qw as ld,y3 as md,Jw as nd,I3 as od,Mw as pd,D3 as qd};

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.