import './polyfills.server.mjs';
import{a as J,b as Je,d as zo,h as _r}from"./chunk-VVCT4QZE.mjs";var vp=null;var Pl=1,Ep=Symbol("SIGNAL");function Fe(t){let e=vp;return vp=t,e}var bp={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 H0(t){if(!(Bl(t)&&!t.dirty)&&!(!t.dirty&&t.lastCleanEpoch===Pl)){if(!t.producerMustRecompute(t)&&!Fl(t)){t.dirty=!1,t.lastCleanEpoch=Pl;return}t.producerRecomputeValue(t),t.dirty=!1,t.lastCleanEpoch=Pl}}function wp(t){return t&&(t.nextProducerIndex=0),Fe(t)}function Dp(t,e){if(Fe(e),!(!t||t.producerNode===void 0||t.producerIndexOfThis===void 0||t.producerLastReadVersion===void 0)){if(Bl(t))for(let n=t.nextProducerIndex;n<t.producerNode.length;n++)jl(t.producerNode[n],t.producerIndexOfThis[n]);for(;t.producerNode.length>t.nextProducerIndex;)t.producerNode.pop(),t.producerLastReadVersion.pop(),t.producerIndexOfThis.pop()}}function Fl(t){Go(t);for(let e=0;e<t.producerNode.length;e++){let n=t.producerNode[e],r=t.producerLastReadVersion[e];if(r!==n.version||(H0(n),r!==n.version))return!0}return!1}function _p(t){if(Go(t),Bl(t))for(let e=0;e<t.producerNode.length;e++)jl(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 jl(t,e){if(U0(t),Go(t),t.liveConsumerNode.length===1)for(let r=0;r<t.producerNode.length;r++)jl(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];Go(i),i.producerIndexOfThis[r]=e}}function Bl(t){return t.consumerIsAlwaysLive||(t?.liveConsumerNode?.length??0)>0}function Go(t){t.producerNode??=[],t.producerIndexOfThis??=[],t.producerLastReadVersion??=[]}function U0(t){t.liveConsumerNode??=[],t.liveConsumerIndexOfThis??=[]}function V0(){throw new Error}var q0=V0;function Tp(t){q0=t}function me(t){return typeof t=="function"}function ei(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 Wo=ei(t=>function(n){t(this),this.message=n?`${n.length} errors occurred during unsubscription:
${n.map((r,i)=>`${i+1}) ${r.toString()}`).join(`
  `)}`:"",this.name="UnsubscriptionError",this.errors=n});function ts(t,e){if(t){let n=t.indexOf(e);0<=n&&t.splice(n,1)}}var nt=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 s of n)s.remove(this);else n.remove(this);let{initialTeardown:r}=this;if(me(r))try{r()}catch(s){e=s instanceof Wo?s.errors:[s]}let{_finalizers:i}=this;if(i){this._finalizers=null;for(let s of i)try{Sp(s)}catch(o){e=e??[],o instanceof Wo?e=[...e,...o.errors]:e.push(o)}}if(e)throw new Wo(e)}}add(e){var n;if(e&&e!==this)if(this.closed)Sp(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)&&ts(n,e)}remove(e){let{_finalizers:n}=this;n&&ts(n,e),e instanceof t&&e._removeParent(this)}};nt.EMPTY=(()=>{let t=new nt;return t.closed=!0,t})();var Hl=nt.EMPTY;function Qo(t){return t instanceof nt||t&&"closed"in t&&me(t.remove)&&me(t.add)&&me(t.unsubscribe)}function Sp(t){me(t)?t():t.unsubscribe()}var Gt={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var ti={setTimeout(t,e,...n){let{delegate:r}=ti;return r?.setTimeout?r.setTimeout(t,e,...n):setTimeout(t,e,...n)},clearTimeout(t){let{delegate:e}=ti;return(e?.clearTimeout||clearTimeout)(t)},delegate:void 0};function Ko(t){ti.setTimeout(()=>{let{onUnhandledError:e}=Gt;if(e)e(t);else throw t})}function ns(){}var Cp=Ul("C",void 0,void 0);function Ip(t){return Ul("E",void 0,t)}function Np(t){return Ul("N",t,void 0)}function Ul(t,e,n){return{kind:t,value:e,error:n}}var Tr=null;function ni(t){if(Gt.useDeprecatedSynchronousErrorHandling){let e=!Tr;if(e&&(Tr={errorThrown:!1,error:null}),t(),e){let{errorThrown:n,error:r}=Tr;if(Tr=null,n)throw r}}else t()}function Mp(t){Gt.useDeprecatedSynchronousErrorHandling&&Tr&&(Tr.errorThrown=!0,Tr.error=t)}var Sr=class extends nt{constructor(e){super(),this.isStopped=!1,e?(this.destination=e,Qo(e)&&e.add(this)):this.destination=G0}static create(e,n,r){return new ri(e,n,r)}next(e){this.isStopped?ql(Np(e),this):this._next(e)}error(e){this.isStopped?ql(Ip(e),this):(this.isStopped=!0,this._error(e))}complete(){this.isStopped?ql(Cp,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()}}},$0=Function.prototype.bind;function Vl(t,e){return $0.call(t,e)}var $l=class{constructor(e){this.partialObserver=e}next(e){let{partialObserver:n}=this;if(n.next)try{n.next(e)}catch(r){Yo(r)}}error(e){let{partialObserver:n}=this;if(n.error)try{n.error(e)}catch(r){Yo(r)}else Yo(e)}complete(){let{partialObserver:e}=this;if(e.complete)try{e.complete()}catch(n){Yo(n)}}},ri=class extends Sr{constructor(e,n,r){super();let i;if(me(e)||!e)i={next:e??void 0,error:n??void 0,complete:r??void 0};else{let s;this&&Gt.useDeprecatedNextContext?(s=Object.create(e),s.unsubscribe=()=>this.unsubscribe(),i={next:e.next&&Vl(e.next,s),error:e.error&&Vl(e.error,s),complete:e.complete&&Vl(e.complete,s)}):i=e}this.destination=new $l(i)}};function Yo(t){Gt.useDeprecatedSynchronousErrorHandling?Mp(t):Ko(t)}function z0(t){throw t}function ql(t,e){let{onStoppedNotification:n}=Gt;n&&ti.setTimeout(()=>n(t,e))}var G0={closed:!0,next:ns,error:z0,complete:ns};var ii=typeof Symbol=="function"&&Symbol.observable||"@@observable";function St(t){return t}function zl(...t){return Gl(t)}function Gl(t){return t.length===0?St:t.length===1?t[0]:function(n){return t.reduce((r,i)=>i(r),n)}}var je=(()=>{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 s=Q0(n)?n:new ri(n,r,i);return ni(()=>{let{operator:o,source:a}=this;s.add(o?o.call(s,a):a?this._subscribe(s):this._trySubscribe(s))}),s}_trySubscribe(n){try{return this._subscribe(n)}catch(r){n.error(r)}}forEach(n,r){return r=Ap(r),new r((i,s)=>{let o=new ri({next:a=>{try{n(a)}catch(c){s(c),o.unsubscribe()}},error:s,complete:i});this.subscribe(o)})}_subscribe(n){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(n)}[ii](){return this}pipe(...n){return Gl(n)(this)}toPromise(n){return n=Ap(n),new n((r,i)=>{let s;this.subscribe(o=>s=o,o=>i(o),()=>r(s))})}}return t.create=e=>new t(e),t})();function Ap(t){var e;return(e=t??Gt.Promise)!==null&&e!==void 0?e:Promise}function W0(t){return t&&me(t.next)&&me(t.error)&&me(t.complete)}function Q0(t){return t&&t instanceof Sr||W0(t)&&Qo(t)}function Wl(t){return me(t?.lift)}function Ce(t){return e=>{if(Wl(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 Ie(t,e,n,r,i){return new Ql(t,e,n,r,i)}var Ql=class extends Sr{constructor(e,n,r,i,s,o){super(e),this.onFinalize=s,this.shouldUnsubscribe=o,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 si(){return Ce((t,e)=>{let n=null;t._refCount++;let r=Ie(e,void 0,void 0,void 0,()=>{if(!t||t._refCount<=0||0<--t._refCount){n=null;return}let i=t._connection,s=n;n=null,i&&(!s||i===s)&&i.unsubscribe(),e.unsubscribe()});t.subscribe(r),r.closed||(n=t.connect())})}var oi=class extends je{constructor(e,n){super(),this.source=e,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,Wl(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 nt;let n=this.getSubject();e.add(this.source.subscribe(Ie(n,void 0,()=>{this._teardown(),n.complete()},r=>{this._teardown(),n.error(r)},()=>this._teardown()))),e.closed&&(this._connection=null,e=nt.EMPTY)}return e}refCount(){return si()(this)}};var xp=ei(t=>function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var ut=(()=>{class t extends je{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let r=new Zo(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new xp}next(n){ni(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){ni(()=>{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(){ni(()=>{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:s}=this;return r||i?Hl:(this.currentObservers=null,s.push(n),new nt(()=>{this.currentObservers=null,ts(s,n)}))}_checkFinalizedStatuses(n){let{hasError:r,thrownError:i,isStopped:s}=this;r?n.error(i):s&&n.complete()}asObservable(){let n=new je;return n.source=this,n}}return t.create=(e,n)=>new Zo(e,n),t})(),Zo=class extends ut{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:Hl}};var dt=class extends ut{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)}};var Ct=new je(t=>t.complete());function Rp(t){return t&&me(t.schedule)}function Op(t){return t[t.length-1]}function kp(t){return me(Op(t))?t.pop():void 0}function Yn(t){return Rp(Op(t))?t.pop():void 0}function Pp(t,e,n,r){function i(s){return s instanceof n?s:new n(function(o){o(s)})}return new(n||(n=Promise))(function(s,o){function a(u){try{l(r.next(u))}catch(d){o(d)}}function c(u){try{l(r.throw(u))}catch(d){o(d)}}function l(u){u.done?s(u.value):i(u.value).then(a,c)}l((r=r.apply(t,e||[])).next())})}function Lp(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 Cr(t){return this instanceof Cr?(this.v=t,this):new Cr(t)}function Fp(t,e,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=n.apply(t,e||[]),i,s=[];return i={},o("next"),o("throw"),o("return"),i[Symbol.asyncIterator]=function(){return this},i;function o(g){r[g]&&(i[g]=function(D){return new Promise(function(N,M){s.push([g,D,N,M])>1||a(g,D)})})}function a(g,D){try{c(r[g](D))}catch(N){d(s[0][3],N)}}function c(g){g.value instanceof Cr?Promise.resolve(g.value.v).then(l,u):d(s[0][2],g)}function l(g){a("next",g)}function u(g){a("throw",g)}function d(g,D){g(D),s.shift(),s.length&&a(s[0][0],s[0][1])}}function jp(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 Lp=="function"?Lp(t):t[Symbol.iterator](),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(s){n[s]=t[s]&&function(o){return new Promise(function(a,c){o=t[s](o),i(a,c,o.done,o.value)})}}function i(s,o,a,c){Promise.resolve(c).then(function(l){s({value:l,done:a})},o)}}var Xo=t=>t&&typeof t.length=="number"&&typeof t!="function";function Jo(t){return me(t?.then)}function ea(t){return me(t[ii])}function ta(t){return Symbol.asyncIterator&&me(t?.[Symbol.asyncIterator])}function na(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 K0(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var ra=K0();function ia(t){return me(t?.[ra])}function sa(t){return Fp(this,arguments,function*(){let n=t.getReader();try{for(;;){let{value:r,done:i}=yield Cr(n.read());if(i)return yield Cr(void 0);yield yield Cr(r)}}finally{n.releaseLock()}})}function oa(t){return me(t?.getReader)}function ot(t){if(t instanceof je)return t;if(t!=null){if(ea(t))return Y0(t);if(Xo(t))return Z0(t);if(Jo(t))return X0(t);if(ta(t))return Bp(t);if(ia(t))return J0(t);if(oa(t))return ew(t)}throw na(t)}function Y0(t){return new je(e=>{let n=t[ii]();if(me(n.subscribe))return n.subscribe(e);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function Z0(t){return new je(e=>{for(let n=0;n<t.length&&!e.closed;n++)e.next(t[n]);e.complete()})}function X0(t){return new je(e=>{t.then(n=>{e.closed||(e.next(n),e.complete())},n=>e.error(n)).then(null,Ko)})}function J0(t){return new je(e=>{for(let n of t)if(e.next(n),e.closed)return;e.complete()})}function Bp(t){return new je(e=>{tw(t,e).catch(n=>e.error(n))})}function ew(t){return Bp(sa(t))}function tw(t,e){var n,r,i,s;return Pp(this,void 0,void 0,function*(){try{for(n=jp(t);r=yield n.next(),!r.done;){let o=r.value;if(e.next(o),e.closed)return}}catch(o){i={error:o}}finally{try{r&&!r.done&&(s=n.return)&&(yield s.call(n))}finally{if(i)throw i.error}}e.complete()})}function wt(t,e,n,r=0,i=!1){let s=e.schedule(function(){n(),i?t.add(this.schedule(null,r)):this.unsubscribe()},r);if(t.add(s),!i)return s}function aa(t,e=0){return Ce((n,r)=>{n.subscribe(Ie(r,i=>wt(r,t,()=>r.next(i),e),()=>wt(r,t,()=>r.complete(),e),i=>wt(r,t,()=>r.error(i),e)))})}function ca(t,e=0){return Ce((n,r)=>{r.add(t.schedule(()=>n.subscribe(r),e))})}function Hp(t,e){return ot(t).pipe(ca(e),aa(e))}function Up(t,e){return ot(t).pipe(ca(e),aa(e))}function Vp(t,e){return new je(n=>{let r=0;return e.schedule(function(){r===t.length?n.complete():(n.next(t[r++]),n.closed||this.schedule())})})}function qp(t,e){return new je(n=>{let r;return wt(n,e,()=>{r=t[ra](),wt(n,e,()=>{let i,s;try{({value:i,done:s}=r.next())}catch(o){n.error(o);return}s?n.complete():n.next(i)},0,!0)}),()=>me(r?.return)&&r.return()})}function la(t,e){if(!t)throw new Error("Iterable cannot be null");return new je(n=>{wt(n,e,()=>{let r=t[Symbol.asyncIterator]();wt(n,e,()=>{r.next().then(i=>{i.done?n.complete():n.next(i.value)})},0,!0)})})}function $p(t,e){return la(sa(t),e)}function zp(t,e){if(t!=null){if(ea(t))return Hp(t,e);if(Xo(t))return Vp(t,e);if(Jo(t))return Up(t,e);if(ta(t))return la(t,e);if(ia(t))return qp(t,e);if(oa(t))return $p(t,e)}throw na(t)}function et(t,e){return e?zp(t,e):ot(t)}function he(...t){let e=Yn(t);return et(t,e)}function ai(t,e){let n=me(t)?t:()=>t,r=i=>i.error(n());return new je(e?i=>e.schedule(r,0,i):r)}function Kl(t){return!!t&&(t instanceof je||me(t.lift)&&me(t.subscribe))}var Nn=ei(t=>function(){t(this),this.name="EmptyError",this.message="no elements in sequence"});function Se(t,e){return Ce((n,r)=>{let i=0;n.subscribe(Ie(r,s=>{r.next(t.call(e,s,i++))}))})}var{isArray:nw}=Array;function rw(t,e){return nw(e)?t(...e):t(e)}function Gp(t){return Se(e=>rw(t,e))}var{isArray:iw}=Array,{getPrototypeOf:sw,prototype:ow,keys:aw}=Object;function Wp(t){if(t.length===1){let e=t[0];if(iw(e))return{args:e,keys:null};if(cw(e)){let n=aw(e);return{args:n.map(r=>e[r]),keys:n}}}return{args:t,keys:null}}function cw(t){return t&&typeof t=="object"&&sw(t)===ow}function Qp(t,e){return t.reduce((n,r,i)=>(n[r]=e[i],n),{})}function ua(...t){let e=Yn(t),n=kp(t),{args:r,keys:i}=Wp(t);if(r.length===0)return et([],e);let s=new je(lw(r,e,i?o=>Qp(i,o):St));return n?s.pipe(Gp(n)):s}function lw(t,e,n=St){return r=>{Kp(e,()=>{let{length:i}=t,s=new Array(i),o=i,a=i;for(let c=0;c<i;c++)Kp(e,()=>{let l=et(t[c],e),u=!1;l.subscribe(Ie(r,d=>{s[c]=d,u||(u=!0,a--),a||r.next(n(s.slice()))},()=>{--o||r.complete()}))},r)},r)}}function Kp(t,e,n){t?wt(n,t,e):e()}function Yp(t,e,n,r,i,s,o,a){let c=[],l=0,u=0,d=!1,g=()=>{d&&!c.length&&!l&&e.complete()},D=M=>l<r?N(M):c.push(M),N=M=>{s&&e.next(M),l++;let $=!1;ot(n(M,u++)).subscribe(Ie(e,L=>{i?.(L),s?D(L):e.next(L)},()=>{$=!0},void 0,()=>{if($)try{for(l--;c.length&&l<r;){let L=c.shift();o?wt(e,o,()=>N(L)):N(L)}g()}catch(L){e.error(L)}}))};return t.subscribe(Ie(e,D,()=>{d=!0,g()})),()=>{a?.()}}function rt(t,e,n=1/0){return me(e)?rt((r,i)=>Se((s,o)=>e(r,s,i,o))(ot(t(r,i))),n):(typeof e=="number"&&(n=e),Ce((r,i)=>Yp(r,i,t,n)))}function Yl(t=1/0){return rt(St,t)}function Zp(){return Yl(1)}function ci(...t){return Zp()(et(t,Yn(t)))}function da(t){return new je(e=>{ot(t()).subscribe(e)})}function Ft(t,e){return Ce((n,r)=>{let i=0;n.subscribe(Ie(r,s=>t.call(e,s,i++)&&r.next(s)))})}function Zn(t){return Ce((e,n)=>{let r=null,i=!1,s;r=e.subscribe(Ie(n,void 0,void 0,o=>{s=ot(t(o,Zn(t)(e))),r?(r.unsubscribe(),r=null,s.subscribe(n)):i=!0})),i&&(r.unsubscribe(),r=null,s.subscribe(n))})}function Xp(t,e,n,r,i){return(s,o)=>{let a=n,c=e,l=0;s.subscribe(Ie(o,u=>{let d=l++;c=a?t(c,u,d):(a=!0,u),r&&o.next(c)},i&&(()=>{a&&o.next(c),o.complete()})))}}function Ir(t,e){return me(e)?rt(t,e,1):rt(t,1)}function Xn(t){return Ce((e,n)=>{let r=!1;e.subscribe(Ie(n,i=>{r=!0,n.next(i)},()=>{r||n.next(t),n.complete()}))})}function Mn(t){return t<=0?()=>Ct:Ce((e,n)=>{let r=0;e.subscribe(Ie(n,i=>{++r<=t&&(n.next(i),t<=r&&n.complete())}))})}function Zl(t){return Se(()=>t)}function fa(t=uw){return Ce((e,n)=>{let r=!1;e.subscribe(Ie(n,i=>{r=!0,n.next(i)},()=>r?n.complete():n.error(t())))})}function uw(){return new Nn}function li(t){return Ce((e,n)=>{try{e.subscribe(n)}finally{n.add(t)}})}function Wt(t,e){let n=arguments.length>=2;return r=>r.pipe(t?Ft((i,s)=>t(i,s,r)):St,Mn(1),n?Xn(e):fa(()=>new Nn))}function ui(t){return t<=0?()=>Ct:Ce((e,n)=>{let r=[];e.subscribe(Ie(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 Xl(t,e){let n=arguments.length>=2;return r=>r.pipe(t?Ft((i,s)=>t(i,s,r)):St,ui(1),n?Xn(e):fa(()=>new Nn))}function Jl(t,e){return Ce(Xp(t,e,arguments.length>=2,!0))}function eu(...t){let e=Yn(t);return Ce((n,r)=>{(e?ci(t,n,e):ci(t,n)).subscribe(r)})}function jt(t,e){return Ce((n,r)=>{let i=null,s=0,o=!1,a=()=>o&&!i&&r.complete();n.subscribe(Ie(r,c=>{i?.unsubscribe();let l=0,u=s++;ot(t(c,u)).subscribe(i=Ie(r,d=>r.next(e?e(c,d,u,l++):d),()=>{i=null,a()}))},()=>{o=!0,a()}))})}function tu(t){return Ce((e,n)=>{ot(t).subscribe(Ie(n,()=>n.complete(),ns)),!n.closed&&e.subscribe(n)})}function it(t,e,n){let r=me(t)||e||n?{next:t,error:e,complete:n}:t;return r?Ce((i,s)=>{var o;(o=r.subscribe)===null||o===void 0||o.call(r);let a=!0;i.subscribe(Ie(s,c=>{var l;(l=r.next)===null||l===void 0||l.call(r,c),s.next(c)},()=>{var c;a=!1,(c=r.complete)===null||c===void 0||c.call(r),s.complete()},c=>{var l;a=!1,(l=r.error)===null||l===void 0||l.call(r,c),s.error(c)},()=>{var c,l;a&&((c=r.unsubscribe)===null||c===void 0||c.call(r)),(l=r.finalize)===null||l===void 0||l.call(r)}))}):St}var Pm="https://g.co/ng/security#xss",z=class extends Error{constructor(e,n){super(Ka(e,n)),this.code=e}};function Ka(t,e){return`${`NG0${Math.abs(t)}`}${e?": "+e:""}`}function _s(t){return{toString:t}.toString()}var ha="__parameters__";function dw(t){return function(...n){if(t){let r=t(...n);for(let i in r)this[i]=r[i]}}}function Fm(t,e,n){return _s(()=>{let r=dw(e);function i(...s){if(this instanceof i)return r.apply(this,s),this;let o=new i(...s);return a.annotation=o,a;function a(c,l,u){let d=c.hasOwnProperty(ha)?c[ha]:Object.defineProperty(c,ha,{value:[]})[ha];for(;d.length<=u;)d.push(null);return(d[u]=d[u]||[]).push(o),c}}return n&&(i.prototype=Object.create(n.prototype)),i.prototype.ngMetadataName=t,i.annotationCls=i,i})}var mi=globalThis;function He(t){for(let e in t)if(t[e]===He)return e;throw Error("Could not find renamed property on target object.")}function It(t){if(typeof t=="string")return t;if(Array.isArray(t))return"["+t.map(It).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(`
`);return n===-1?e:e.substring(0,n)}function Jp(t,e){return t==null||t===""?e===null?"":e:e==null||e===""?t:t+" "+e}var fw=He({__forward_ref__:He});function jm(t){return t.__forward_ref__=jm,t.toString=function(){return It(this())},t}function Bt(t){return Bm(t)?t():t}function Bm(t){return typeof t=="function"&&t.hasOwnProperty(fw)&&t.__forward_ref__===jm}function ie(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function Di(t){return{providers:t.providers||[],imports:t.imports||[]}}function Ya(t){return em(t,Um)||em(t,Vm)}function Hm(t){return Ya(t)!==null}function em(t,e){return t.hasOwnProperty(e)?t[e]:null}function hw(t){let e=t&&(t[Um]||t[Vm]);return e||null}function tm(t){return t&&(t.hasOwnProperty(nm)||t.hasOwnProperty(pw))?t[nm]:null}var Um=He({\u0275prov:He}),nm=He({\u0275inj:He}),Vm=He({ngInjectableDef:He}),pw=He({ngInjectorDef:He}),ce=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=ie({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function qm(t){return t&&!!t.\u0275providers}var mw=He({\u0275cmp:He}),gw=He({\u0275dir:He}),yw=He({\u0275pipe:He}),vw=He({\u0275mod:He}),_a=He({\u0275fac:He}),rs=He({__NG_ELEMENT_ID__:He}),rm=He({__NG_ENV_ID__:He});function Za(t){return typeof t=="string"?t:t==null?"":String(t)}function Ew(t){return typeof t=="function"?t.name||t.toString():typeof t=="object"&&t!=null&&typeof t.type=="function"?t.type.name||t.type.toString():Za(t)}function bw(t,e){let n=e?`. Dependency path: ${e.join(" > ")} > ${t}`:"";throw new z(-200,t)}function td(t,e){throw new z(-201,!1)}var be=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}(be||{}),hu;function $m(){return hu}function Dt(t){let e=hu;return hu=t,e}function zm(t,e,n){let r=Ya(t);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(n&be.Optional)return null;if(e!==void 0)return e;td(t,"Injector")}var ww={},os=ww,pu="__NG_DI_FLAG__",Ta="ngTempTokenPath",Dw="ngTokenPath",_w=/\n/gm,Tw="\u0275",im="__source",gi;function Sw(){return gi}function Jn(t){let e=gi;return gi=t,e}function Cw(t,e=be.Default){if(gi===void 0)throw new z(-203,!1);return gi===null?zm(t,void 0,e):gi.get(t,e&be.Optional?null:void 0,e)}function ue(t,e=be.Default){return($m()||Cw)(Bt(t),e)}function W(t,e=be.Default){return ue(t,Xa(e))}function Xa(t){return typeof t>"u"||typeof t=="number"?t:0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)}function mu(t){let e=[];for(let n=0;n<t.length;n++){let r=Bt(t[n]);if(Array.isArray(r)){if(r.length===0)throw new z(900,!1);let i,s=be.Default;for(let o=0;o<r.length;o++){let a=r[o],c=Iw(a);typeof c=="number"?c===-1?i=a.token:s|=c:i=a}e.push(ue(i,s))}else e.push(ue(r))}return e}function Gm(t,e){return t[pu]=e,t.prototype[pu]=e,t}function Iw(t){return t[pu]}function Nw(t,e,n,r){let i=t[Ta];throw e[im]&&i.unshift(e[im]),t.message=Mw(`
`+t.message,i,n,r),t[Dw]=i,t[Ta]=null,t}function Mw(t,e,n,r=null){t=t&&t.charAt(0)===`
`&&t.charAt(1)==Tw?t.slice(2):t;let i=It(e);if(Array.isArray(e))i=e.map(It).join(" -> ");else if(typeof e=="object"){let s=[];for(let o in e)if(e.hasOwnProperty(o)){let a=e[o];s.push(o+":"+(typeof a=="string"?JSON.stringify(a):It(a)))}i=`{${s.join(", ")}}`}return`${n}${r?"("+r+")":""}[${i}]: ${t.replace(_w,`
  `)}`}var Ts=Gm(Fm("Optional"),8);var Wm=Gm(Fm("SkipSelf"),4);function Mr(t,e){let n=t.hasOwnProperty(_a);return n?t[_a]:null}function nd(t,e){t.forEach(n=>Array.isArray(n)?nd(n,e):e(n))}function Qm(t,e,n){e>=t.length?t.push(n):t.splice(e,0,n)}function Sa(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}var as={},Kt=[],Ar=new ce(""),Km=new ce("",-1),Ym=new ce(""),Ca=class{get(e,n=os){if(n===os){let r=new Error(`NullInjectorError: No provider for ${It(e)}!`);throw r.name="NullInjectorError",r}return n}},Zm=function(t){return t[t.OnPush=0]="OnPush",t[t.Default=1]="Default",t}(Zm||{}),Zt=function(t){return t[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t}(Zt||{}),rr=function(t){return t[t.None=0]="None",t[t.SignalBased=1]="SignalBased",t[t.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",t}(rr||{});function Aw(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 s=e.length;if(i+s===r||t.charCodeAt(i+s)<=32)return i}n=i+1}}function gu(t,e,n){let r=0;for(;r<n.length;){let i=n[r];if(typeof i=="number"){if(i!==0)break;r++;let s=n[r++],o=n[r++],a=n[r++];t.setAttribute(e,o,a,s)}else{let s=i,o=n[++r];Rw(s)?t.setProperty(e,s,o):t.setAttribute(e,s,o),r++}}return r}function xw(t){return t===3||t===4||t===6}function Rw(t){return t.charCodeAt(0)===64}function rd(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?sm(t,n,i,null,e[++r]):sm(t,n,i,null,null))}}return t}function sm(t,e,n,r,i){let s=0,o=t.length;if(e===-1)o=-1;else for(;s<t.length;){let a=t[s++];if(typeof a=="number"){if(a===e){o=-1;break}else if(a>e){o=s-1;break}}}for(;s<t.length;){let a=t[s];if(typeof a=="number")break;if(a===n){if(r===null){i!==null&&(t[s+1]=i);return}else if(r===t[s+1]){t[s+2]=i;return}}s++,r!==null&&s++,i!==null&&s++}o!==-1&&(t.splice(o,0,e),s=o+1),t.splice(s++,0,n),r!==null&&t.splice(s++,0,r),i!==null&&t.splice(s++,0,i)}var Xm="ng-template";function Ow(t,e,n,r){let i=0;if(r){for(;i<e.length&&typeof e[i]=="string";i+=2)if(e[i]==="class"&&Aw(e[i+1].toLowerCase(),n,0)!==-1)return!0}else if(id(t))return!1;if(i=e.indexOf(1,i),i>-1){let s;for(;++i<e.length&&typeof(s=e[i])=="string";)if(s.toLowerCase()===n)return!0}return!1}function id(t){return t.type===4&&t.value!==Xm}function kw(t,e,n){let r=t.type===4&&!n?Xm:t.value;return e===r}function Lw(t,e,n){let r=4,i=t.attrs,s=i!==null?jw(i):0,o=!1;for(let a=0;a<e.length;a++){let c=e[a];if(typeof c=="number"){if(!o&&!Qt(r)&&!Qt(c))return!1;if(o&&Qt(c))continue;o=!1,r=c|r&1;continue}if(!o)if(r&4){if(r=2|r&1,c!==""&&!kw(t,c,n)||c===""&&e.length===1){if(Qt(r))return!1;o=!0}}else if(r&8){if(i===null||!Ow(t,i,c,n)){if(Qt(r))return!1;o=!0}}else{let l=e[++a],u=Pw(c,i,id(t),n);if(u===-1){if(Qt(r))return!1;o=!0;continue}if(l!==""){let d;if(u>s?d="":d=i[u+1].toLowerCase(),r&2&&l!==d){if(Qt(r))return!1;o=!0}}}}return Qt(r)||o}function Qt(t){return(t&1)===0}function Pw(t,e,n,r){if(e===null)return-1;let i=0;if(r||!n){let s=!1;for(;i<e.length;){let o=e[i];if(o===t)return i;if(o===3||o===6)s=!0;else if(o===1||o===2){let a=e[++i];for(;typeof a=="string";)a=e[++i];continue}else{if(o===4)break;if(o===0){i+=4;continue}}i+=s?1:2}return-1}else return Bw(e,t)}function Fw(t,e,n=!1){for(let r=0;r<e.length;r++)if(Lw(t,e[r],n))return!0;return!1}function jw(t){for(let e=0;e<t.length;e++){let n=t[e];if(xw(n))return e}return t.length}function Bw(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 om(t,e){return t?":not("+e.trim()+")":e}function Hw(t){let e=t[0],n=1,r=2,i="",s=!1;for(;n<t.length;){let o=t[n];if(typeof o=="string")if(r&2){let a=t[++n];i+="["+o+(a.length>0?'="'+a+'"':"")+"]"}else r&8?i+="."+o:r&4&&(i+=" "+o);else i!==""&&!Qt(o)&&(e+=om(s,i),i=""),r=o,s=s||!Qt(r);n++}return i!==""&&(e+=om(s,i)),e}function Uw(t){return t.map(Hw).join(",")}function Vw(t){let e=[],n=[],r=1,i=2;for(;r<t.length;){let s=t[r];if(typeof s=="string")i===2?s!==""&&e.push(s,t[++r]):i===8&&n.push(s);else{if(!Qt(i))break;i=s}r++}return{attrs:e,classes:n}}function Jm(t){return _s(()=>{let e=sg(t),n=Je(J({},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||Zt.Emulated,styles:t.styles||Kt,_:null,schemas:t.schemas||null,tView:null,id:""});og(n);let r=t.dependencies;return n.directiveDefs=cm(r,!1),n.pipeDefs=cm(r,!0),n.id=zw(n),n})}function qw(t){return ir(t)||tg(t)}function $w(t){return t!==null}function _i(t){return _s(()=>({type:t.type,bootstrap:t.bootstrap||Kt,declarations:t.declarations||Kt,imports:t.imports||Kt,exports:t.exports||Kt,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null}))}function am(t,e){if(t==null)return as;let n={};for(let r in t)if(t.hasOwnProperty(r)){let i=t[r],s,o,a=rr.None;Array.isArray(i)?(a=i[0],s=i[1],o=i[2]??s):(s=i,o=i),e?(n[s]=a!==rr.None?[r,a]:r,e[s]=o):n[s]=r}return n}function Ja(t){return _s(()=>{let e=sg(t);return og(e),e})}function eg(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 ir(t){return t[mw]||null}function tg(t){return t[gw]||null}function ng(t){return t[yw]||null}function rg(t){let e=ir(t)||tg(t)||ng(t);return e!==null?e.standalone:!1}function ig(t,e){let n=t[vw]||null;if(!n&&e===!0)throw new Error(`Type ${It(t)} does not have '\u0275mod' property.`);return n}function sg(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||as,exportAs:t.exportAs||null,standalone:t.standalone===!0,signals:t.signals===!0,selectors:t.selectors||Kt,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:am(t.inputs,e),outputs:am(t.outputs),debugInfo:null}}function og(t){t.features?.forEach(e=>e(t))}function cm(t,e){if(!t)return null;let n=e?ng:qw;return()=>(typeof t=="function"?t():t).map(r=>n(r)).filter($w)}function zw(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 On(t){return{\u0275providers:t}}function Gw(...t){return{\u0275providers:ag(!0,t),\u0275fromNgModule:!0}}function ag(t,...e){let n=[],r=new Set,i,s=o=>{n.push(o)};return nd(e,o=>{let a=o;yu(a,s,[],r)&&(i||=[],i.push(a))}),i!==void 0&&cg(i,s),n}function cg(t,e){for(let n=0;n<t.length;n++){let{ngModule:r,providers:i}=t[n];sd(i,s=>{e(s,r)})}}function yu(t,e,n,r){if(t=Bt(t),!t)return!1;let i=null,s=tm(t),o=!s&&ir(t);if(!s&&!o){let c=t.ngModule;if(s=tm(c),s)i=c;else return!1}else{if(o&&!o.standalone)return!1;i=t}let a=r.has(i);if(o){if(a)return!1;if(r.add(i),o.dependencies){let c=typeof o.dependencies=="function"?o.dependencies():o.dependencies;for(let l of c)yu(l,e,n,r)}}else if(s){if(s.imports!=null&&!a){r.add(i);let l;try{nd(s.imports,u=>{yu(u,e,n,r)&&(l||=[],l.push(u))})}finally{}l!==void 0&&cg(l,e)}if(!a){let l=Mr(i)||(()=>new i);e({provide:i,useFactory:l,deps:Kt},i),e({provide:Ym,useValue:i,multi:!0},i),e({provide:Ar,useValue:()=>ue(i),multi:!0},i)}let c=s.providers;if(c!=null&&!a){let l=t;sd(c,u=>{e(u,l)})}}else return!1;return i!==t&&t.providers!==void 0}function sd(t,e){for(let n of t)qm(n)&&(n=n.\u0275providers),Array.isArray(n)?sd(n,e):e(n)}var Ww=He({provide:String,useValue:He});function lg(t){return t!==null&&typeof t=="object"&&Ww in t}function Qw(t){return!!(t&&t.useExisting)}function Kw(t){return!!(t&&t.useFactory)}function vu(t){return typeof t=="function"}var ec=new ce(""),ya={},Yw={},nu;function od(){return nu===void 0&&(nu=new Ca),nu}var Ht=class{},cs=class extends Ht{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,bu(e,o=>this.processProvider(o)),this.records.set(Km,di(void 0,this)),i.has("environment")&&this.records.set(Ht,di(void 0,this));let s=this.records.get(ec);s!=null&&typeof s.value=="string"&&this.scopes.add(s.value),this.injectorDefTypes=new Set(this.get(Ym,Kt,be.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;let e=Fe(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(),Fe(e)}}onDestroy(e){return this.assertNotDestroyed(),this._onDestroyHooks.push(e),()=>this.removeOnDestroy(e)}runInContext(e){this.assertNotDestroyed();let n=Jn(this),r=Dt(void 0),i;try{return e()}finally{Jn(n),Dt(r)}}get(e,n=os,r=be.Default){if(this.assertNotDestroyed(),e.hasOwnProperty(rm))return e[rm](this);r=Xa(r);let i,s=Jn(this),o=Dt(void 0);try{if(!(r&be.SkipSelf)){let c=this.records.get(e);if(c===void 0){let l=nD(e)&&Ya(e);l&&this.injectableDefInScope(l)?c=di(Eu(e),ya):c=null,this.records.set(e,c)}if(c!=null)return this.hydrate(e,c)}let a=r&be.Self?od():this.parent;return n=r&be.Optional&&n===os?null:n,a.get(e,n)}catch(a){if(a.name==="NullInjectorError"){if((a[Ta]=a[Ta]||[]).unshift(It(e)),s)throw a;return Nw(a,e,"R3InjectorError",this.source)}else throw a}finally{Dt(o),Jn(s)}}resolveInjectorInitializers(){let e=Fe(null),n=Jn(this),r=Dt(void 0),i;try{let s=this.get(Ar,Kt,be.Self);for(let o of s)o()}finally{Jn(n),Dt(r),Fe(e)}}toString(){let e=[],n=this.records;for(let r of n.keys())e.push(It(r));return`R3Injector[${e.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new z(205,!1)}processProvider(e){e=Bt(e);let n=vu(e)?e:Bt(e&&e.provide),r=Xw(e);if(!vu(e)&&e.multi===!0){let i=this.records.get(n);i||(i=di(void 0,ya,!0),i.factory=()=>mu(i.multi),this.records.set(n,i)),n=e,i.multi.push(e)}this.records.set(n,r)}hydrate(e,n){let r=Fe(null);try{return n.value===ya&&(n.value=Yw,n.value=n.factory()),typeof n.value=="object"&&n.value&&tD(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{Fe(r)}}injectableDefInScope(e){if(!e.providedIn)return!1;let n=Bt(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 Eu(t){let e=Ya(t),n=e!==null?e.factory:Mr(t);if(n!==null)return n;if(t instanceof ce)throw new z(204,!1);if(t instanceof Function)return Zw(t);throw new z(204,!1)}function Zw(t){if(t.length>0)throw new z(204,!1);let n=hw(t);return n!==null?()=>n.factory(t):()=>new t}function Xw(t){if(lg(t))return di(void 0,t.useValue);{let e=Jw(t);return di(e,ya)}}function Jw(t,e,n){let r;if(vu(t)){let i=Bt(t);return Mr(i)||Eu(i)}else if(lg(t))r=()=>Bt(t.useValue);else if(Kw(t))r=()=>t.useFactory(...mu(t.deps||[]));else if(Qw(t))r=()=>ue(Bt(t.useExisting));else{let i=Bt(t&&(t.useClass||t.provide));if(eD(t))r=()=>new i(...mu(t.deps));else return Mr(i)||Eu(i)}return r}function di(t,e,n=!1){return{factory:t,value:e,multi:n?[]:void 0}}function eD(t){return!!t.deps}function tD(t){return t!==null&&typeof t=="object"&&typeof t.ngOnDestroy=="function"}function nD(t){return typeof t=="function"||typeof t=="object"&&t instanceof ce}function bu(t,e){for(let n of t)Array.isArray(n)?bu(n,e):n&&qm(n)?bu(n.\u0275providers,e):e(n)}function or(t,e){t instanceof cs&&t.assertNotDestroyed();let n,r=Jn(t),i=Dt(void 0);try{return e()}finally{Jn(r),Dt(i)}}function rD(){return $m()!==void 0||Sw()!=null}function iD(t){let e=mi.ng;if(e&&e.\u0275compilerFacade)return e.\u0275compilerFacade;throw new Error("JIT compiler unavailable")}function sD(t){return typeof t=="function"}var Ye=0,ye=1,le=2,ct=3,Yt=4,en=5,Xt=6,lm=7,xn=8,vi=9,Jt=10,Qe=11,ls=12,um=13,Ss=14,Nt=15,tc=16,fi=17,Ei=18,nc=19,ug=20,tr=21,ru=22,xr=23,Ze=25,ad=1,us=6,Rn=7,Ia=8,Na=9,_t=10,cd=function(t){return t[t.None=0]="None",t[t.HasTransplantedViews=2]="HasTransplantedViews",t}(cd||{});function An(t){return Array.isArray(t)&&typeof t[ad]=="object"}function Mt(t){return Array.isArray(t)&&t[ad]===!0}function dg(t){return(t.flags&4)!==0}function Ti(t){return t.componentOffset>-1}function fg(t){return(t.flags&1)===1}function Cs(t){return!!t.template}function ld(t){return(t[le]&512)!==0}function oD(t){return(t.type&16)===16}function aD(t){return(t[le]&32)===32}var wu=class{constructor(e,n,r){this.previousValue=e,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function hg(t,e,n,r){e!==null?e.applyValueToInputSignal(e,r):t[n]=r}function rc(){return pg}function pg(t){return t.type.prototype.ngOnChanges&&(t.setInput=lD),cD}rc.ngInherit=!0;function cD(){let t=gg(this),e=t?.current;if(e){let n=t.previous;if(n===as)t.previous=e;else for(let r in e)n[r]=e[r];t.current=null,this.ngOnChanges(e)}}function lD(t,e,n,r,i){let s=this.declaredInputs[r],o=gg(t)||uD(t,{previous:as,current:null}),a=o.current||(o.current={}),c=o.previous,l=c[s];a[s]=new wu(l&&l.currentValue,n,c===as),hg(t,e,i,n)}var mg="__ngSimpleChanges__";function gg(t){return t[mg]||null}function uD(t,e){return t[mg]=e}var dm=null;var er=function(t,e,n){dm?.(t,e,n)},dD="svg",fD="math",hD=!1;function pD(){return hD}function at(t){for(;Array.isArray(t);)t=t[Ye];return t}function yg(t){for(;Array.isArray(t);){if(typeof t[ad]=="object")return t;t=t[Ye]}return null}function mD(t,e){return at(e[t])}function tn(t,e){return at(e[t.index])}function vg(t,e){return t.data[e]}function gD(t,e){return t[e]}function Pr(t,e){let n=e[t];return An(n)?n:n[Ye]}function ud(t){return(t[le]&128)===128}function yD(t){return Mt(t[ct])}function Ma(t,e){return e==null?null:t[e]}function Eg(t){t[fi]=0}function vD(t){t[le]&1024||(t[le]|=1024,ud(t)&&ds(t))}function dd(t){return!!(t[le]&9216||t[xr]?.dirty)}function Du(t){t[Jt].changeDetectionScheduler?.notify(1),dd(t)?ds(t):t[le]&64&&(pD()?(t[le]|=1024,ds(t)):t[Jt].changeDetectionScheduler?.notify())}function ds(t){t[Jt].changeDetectionScheduler?.notify();let e=fs(t);for(;e!==null&&!(e[le]&8192||(e[le]|=8192,!ud(e)));)e=fs(e)}function bg(t,e){if((t[le]&256)===256)throw new z(911,!1);t[tr]===null&&(t[tr]=[]),t[tr].push(e)}function ED(t,e){if(t[tr]===null)return;let n=t[tr].indexOf(e);n!==-1&&t[tr].splice(n,1)}function fs(t){let e=t[ct];return Mt(e)?e[ct]:e}var Ae={lFrame:Ng(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function bD(){return Ae.lFrame.elementDepthCount}function wD(){Ae.lFrame.elementDepthCount++}function DD(){Ae.lFrame.elementDepthCount--}function wg(){return Ae.bindingsEnabled}function Is(){return Ae.skipHydrationRootTNode!==null}function _D(t){return Ae.skipHydrationRootTNode===t}function TD(t){Ae.skipHydrationRootTNode=t}function SD(){Ae.skipHydrationRootTNode=null}function tt(){return Ae.lFrame.lView}function Fr(){return Ae.lFrame.tView}function fn(){let t=Dg();for(;t!==null&&t.type===64;)t=t.parent;return t}function Dg(){return Ae.lFrame.currentTNode}function CD(){let t=Ae.lFrame,e=t.currentTNode;return t.isParent?e:e.parent}function Ns(t,e){let n=Ae.lFrame;n.currentTNode=t,n.isParent=e}function _g(){return Ae.lFrame.isParent}function ID(){Ae.lFrame.isParent=!1}function ND(){let t=Ae.lFrame,e=t.bindingRootIndex;return e===-1&&(e=t.bindingRootIndex=t.tView.bindingStartIndex),e}function MD(t){return Ae.lFrame.bindingIndex=t}function Tg(){return Ae.lFrame.bindingIndex++}function AD(){return Ae.lFrame.inI18n}function xD(t,e){let n=Ae.lFrame;n.bindingIndex=n.bindingRootIndex=t,_u(e)}function RD(){return Ae.lFrame.currentDirectiveIndex}function _u(t){Ae.lFrame.currentDirectiveIndex=t}function Sg(t){Ae.lFrame.currentQueryIndex=t}function OD(t){let e=t[ye];return e.type===2?e.declTNode:e.type===1?t[en]:null}function Cg(t,e,n){if(n&be.SkipSelf){let i=e,s=t;for(;i=i.parent,i===null&&!(n&be.Host);)if(i=OD(s),i===null||(s=s[Ss],i.type&10))break;if(i===null)return!1;e=i,t=s}let r=Ae.lFrame=Ig();return r.currentTNode=e,r.lView=t,!0}function fd(t){let e=Ig(),n=t[ye];Ae.lFrame=e,e.currentTNode=n.firstChild,e.lView=t,e.tView=n,e.contextLView=t,e.bindingIndex=n.bindingStartIndex,e.inI18n=!1}function Ig(){let t=Ae.lFrame,e=t===null?null:t.child;return e===null?Ng(t):e}function Ng(t){let e={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:t,child:null,inI18n:!1};return t!==null&&(t.child=e),e}function Mg(){let t=Ae.lFrame;return Ae.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}var Ag=Mg;function hd(){let t=Mg();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 pd(){return Ae.lFrame.selectedIndex}function Rr(t){Ae.lFrame.selectedIndex=t}function kD(){let t=Ae.lFrame;return vg(t.tView,t.selectedIndex)}function xg(){return Ae.lFrame.currentNamespace}var Rg=!0;function md(){return Rg}function hn(t){Rg=t}function LD(t,e,n){let{ngOnChanges:r,ngOnInit:i,ngDoCheck:s}=e.type.prototype;if(r){let o=pg(e);(n.preOrderHooks??=[]).push(t,o),(n.preOrderCheckHooks??=[]).push(t,o)}i&&(n.preOrderHooks??=[]).push(0-t,i),s&&((n.preOrderHooks??=[]).push(t,s),(n.preOrderCheckHooks??=[]).push(t,s))}function gd(t,e){for(let n=e.directiveStart,r=e.directiveEnd;n<r;n++){let s=t.data[n].type.prototype,{ngAfterContentInit:o,ngAfterContentChecked:a,ngAfterViewInit:c,ngAfterViewChecked:l,ngOnDestroy:u}=s;o&&(t.contentHooks??=[]).push(-n,o),a&&((t.contentHooks??=[]).push(n,a),(t.contentCheckHooks??=[]).push(n,a)),c&&(t.viewHooks??=[]).push(-n,c),l&&((t.viewHooks??=[]).push(n,l),(t.viewCheckHooks??=[]).push(n,l)),u!=null&&(t.destroyHooks??=[]).push(n,u)}}function va(t,e,n){Og(t,e,3,n)}function Ea(t,e,n,r){(t[le]&3)===n&&Og(t,e,n,r)}function iu(t,e){let n=t[le];(n&3)===e&&(n&=16383,n+=1,t[le]=n)}function Og(t,e,n,r){let i=r!==void 0?t[fi]&65535:0,s=r??-1,o=e.length-1,a=0;for(let c=i;c<o;c++)if(typeof e[c+1]=="number"){if(a=e[c],r!=null&&a>=r)break}else e[c]<0&&(t[fi]+=65536),(a<s||s==-1)&&(PD(t,n,e,c),t[fi]=(t[fi]&4294901760)+c+2),c++}function fm(t,e){er(4,t,e);let n=Fe(null);try{e.call(t)}finally{Fe(n),er(5,t,e)}}function PD(t,e,n,r){let i=n[r]<0,s=n[r+1],o=i?-n[r]:n[r],a=t[o];i?t[le]>>14<t[fi]>>16&&(t[le]&3)===e&&(t[le]+=16384,fm(a,s)):fm(a,s)}var yi=-1,hs=class{constructor(e,n,r){this.factory=e,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}};function FD(t){return t instanceof hs}function jD(t){return t!=null&&typeof t=="object"&&(t.insertBeforeIndex===null||typeof t.insertBeforeIndex=="number"||Array.isArray(t.insertBeforeIndex))}function BD(t){return(t.flags&8)!==0}function HD(t){return(t.flags&16)!==0}function kg(t){return t!==yi}function Aa(t){return t&32767}function UD(t){return t>>16}function xa(t,e){let n=UD(t),r=e;for(;n>0;)r=r[Ss],n--;return r}var Tu=!0;function Ra(t){let e=Tu;return Tu=t,e}var VD=256,Lg=VD-1,Pg=5,qD=0,un={};function $D(t,e,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(rs)&&(r=n[rs]),r==null&&(r=n[rs]=qD++);let i=r&Lg,s=1<<i;e.data[t+(i>>Pg)]|=s}function Fg(t,e){let n=jg(t,e);if(n!==-1)return n;let r=e[ye];r.firstCreatePass&&(t.injectorIndex=e.length,su(r.data,t),su(e,null),su(r.blueprint,null));let i=yd(t,e),s=t.injectorIndex;if(kg(i)){let o=Aa(i),a=xa(i,e),c=a[ye].data;for(let l=0;l<8;l++)e[s+l]=a[o+l]|c[o+l]}return e[s+8]=i,s}function su(t,e){t.push(0,0,0,0,0,0,0,0,e)}function jg(t,e){return t.injectorIndex===-1||t.parent&&t.parent.injectorIndex===t.injectorIndex||e[t.injectorIndex+8]===null?-1:t.injectorIndex}function yd(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=qg(i),r===null)return yi;if(n++,i=i[Ss],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return yi}function zD(t,e,n){$D(t,e,n)}function Bg(t,e,n){if(n&be.Optional||t!==void 0)return t;td(e,"NodeInjector")}function Hg(t,e,n,r){if(n&be.Optional&&r===void 0&&(r=null),!(n&(be.Self|be.Host))){let i=t[vi],s=Dt(void 0);try{return i?i.get(e,r,n&be.Optional):zm(e,r,n&be.Optional)}finally{Dt(s)}}return Bg(r,e,n)}function Ug(t,e,n,r=be.Default,i){if(t!==null){if(e[le]&2048&&!(r&be.Self)){let o=YD(t,e,n,r,un);if(o!==un)return o}let s=Vg(t,e,n,r,un);if(s!==un)return s}return Hg(e,n,r,i)}function Vg(t,e,n,r,i){let s=QD(n);if(typeof s=="function"){if(!Cg(e,t,r))return r&be.Host?Bg(i,n,r):Hg(e,n,r,i);try{let o;if(o=s(r),o==null&&!(r&be.Optional))td(n);else return o}finally{Ag()}}else if(typeof s=="number"){let o=null,a=jg(t,e),c=yi,l=r&be.Host?e[Nt][en]:null;for((a===-1||r&be.SkipSelf)&&(c=a===-1?yd(t,e):e[a+8],c===yi||!pm(r,!1)?a=-1:(o=e[ye],a=Aa(c),e=xa(c,e)));a!==-1;){let u=e[ye];if(hm(s,a,u.data)){let d=GD(a,e,n,o,r,l);if(d!==un)return d}c=e[a+8],c!==yi&&pm(r,e[ye].data[a+8]===l)&&hm(s,a,e)?(o=u,a=Aa(c),e=xa(c,e)):a=-1}}return i}function GD(t,e,n,r,i,s){let o=e[ye],a=o.data[t+8],c=r==null?Ti(a)&&Tu:r!=o&&(a.type&3)!==0,l=i&be.Host&&s===a,u=WD(a,o,n,c,l);return u!==null?ps(e,o,u,a):un}function WD(t,e,n,r,i){let s=t.providerIndexes,o=e.data,a=s&1048575,c=t.directiveStart,l=t.directiveEnd,u=s>>20,d=r?a:a+u,g=i?a+u:l;for(let D=d;D<g;D++){let N=o[D];if(D<c&&n===N||D>=c&&N.type===n)return D}if(i){let D=o[c];if(D&&Cs(D)&&D.type===n)return c}return null}function ps(t,e,n,r){let i=t[n],s=e.data;if(FD(i)){let o=i;o.resolving&&bw(Ew(s[n]));let a=Ra(o.canSeeViewProviders);o.resolving=!0;let c,l=o.injectImpl?Dt(o.injectImpl):null,u=Cg(t,r,be.Default);try{i=t[n]=o.factory(void 0,s,t,r),e.firstCreatePass&&n>=r.directiveStart&&LD(n,s[n],e)}finally{l!==null&&Dt(l),Ra(a),o.resolving=!1,Ag()}}return i}function QD(t){if(typeof t=="string")return t.charCodeAt(0)||0;let e=t.hasOwnProperty(rs)?t[rs]:void 0;return typeof e=="number"?e>=0?e&Lg:KD:e}function hm(t,e,n){let r=1<<t;return!!(n[e+(t>>Pg)]&r)}function pm(t,e){return!(t&be.Self)&&!(t&be.Host&&e)}var Nr=class{constructor(e,n){this._tNode=e,this._lView=n}get(e,n,r){return Ug(this._tNode,this._lView,e,Xa(r),n)}};function KD(){return new Nr(fn(),tt())}function vd(t){return _s(()=>{let e=t.prototype.constructor,n=e[_a]||Su(e),r=Object.prototype,i=Object.getPrototypeOf(t.prototype).constructor;for(;i&&i!==r;){let s=i[_a]||Su(i);if(s&&s!==n)return s;i=Object.getPrototypeOf(i)}return s=>new s})}function Su(t){return Bm(t)?()=>{let e=Su(Bt(t));return e&&e()}:Mr(t)}function YD(t,e,n,r,i){let s=t,o=e;for(;s!==null&&o!==null&&o[le]&2048&&!(o[le]&512);){let a=Vg(s,o,n,r|be.Self,un);if(a!==un)return a;let c=s.parent;if(!c){let l=o[ug];if(l){let u=l.get(n,un,r);if(u!==un)return u}c=qg(o),o=o[Ss]}s=c}return i}function qg(t){let e=t[ye],n=e.type;return n===2?e.declTNode:n===1?t[en]:null}function mm(t,e=null,n=null,r){let i=$g(t,e,n,r);return i.resolveInjectorInitializers(),i}function $g(t,e=null,n=null,r,i=new Set){let s=[n||Kt,Gw(t)];return r=r||(typeof t=="object"?void 0:It(t)),new cs(s,e||od(),r||null,i)}var nn=(()=>{let e=class e{static create(r,i){if(Array.isArray(r))return mm({name:""},i,r,"");{let s=r.name??"";return mm({name:s},r.parent,r.providers,s)}}};e.THROW_IF_NOT_FOUND=os,e.NULL=new Ca,e.\u0275prov=ie({token:e,providedIn:"any",factory:()=>ue(Km)}),e.__NG_ELEMENT_ID__=-1;let t=e;return t})();var ZD="ngOriginalError";function ou(t){return t[ZD]}var dn=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&&ou(e);for(;n&&ou(n);)n=ou(n);return n||null}},zg=new ce("",{providedIn:"root",factory:()=>W(dn).handleError.bind(void 0)}),Gg=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=XD,e.__NG_ENV_ID__=r=>r;let t=e;return t})(),Cu=class extends Gg{constructor(e){super(),this._lView=e}onDestroy(e){return bg(this._lView,e),()=>ED(this._lView,e)}};function XD(){return new Cu(tt())}function JD(){return ic(fn(),tt())}function ic(t,e){return new sc(tn(t,e))}var sc=(()=>{let e=class e{constructor(r){this.nativeElement=r}};e.__NG_ELEMENT_ID__=JD;let t=e;return t})();var Iu=class extends ut{constructor(e=!1){super(),this.destroyRef=void 0,this.__isAsync=e,rD()&&(this.destroyRef=W(Gg,{optional:!0})??void 0)}emit(e){let n=Fe(null);try{super.next(e)}finally{Fe(n)}}subscribe(e,n,r){let i=e,s=n||(()=>null),o=r;if(e&&typeof e=="object"){let c=e;i=c.next?.bind(c),s=c.error?.bind(c),o=c.complete?.bind(c)}this.__isAsync&&(s=au(s),i&&(i=au(i)),o&&(o=au(o)));let a=super.subscribe({next:i,error:s,complete:o});return e instanceof nt&&e.add(a),a}};function au(t){return e=>{setTimeout(t,void 0,e)}}var yt=Iu;var ms="ngSkipHydration",e_="ngskiphydration";function Wg(t){let e=t.mergedAttrs;if(e===null)return!1;for(let n=0;n<e.length;n+=2){let r=e[n];if(typeof r=="number")return!1;if(typeof r=="string"&&r.toLowerCase()===e_)return!0}return!1}function Qg(t){return t.hasAttribute(ms)}function Oa(t){return(t.flags&128)===128}function ka(t){if(Oa(t))return!0;let e=t.parent;for(;e;){if(Oa(t)||Wg(e))return!0;e=e.parent}return!1}var Kg=new Map,t_=0;function n_(){return t_++}function r_(t){Kg.set(t[nc],t)}function i_(t){Kg.delete(t[nc])}var gm="__ngContext__";function Or(t,e){An(e)?(t[gm]=e[nc],r_(e)):t[gm]=e}function Yg(t){return Xg(t[ls])}function Zg(t){return Xg(t[Yt])}function Xg(t){for(;t!==null&&!Mt(t);)t=t[Yt];return t}var Nu;function oc(t){Nu=t}function ac(){if(Nu!==void 0)return Nu;if(typeof document<"u")return document;throw new z(210,!1)}var Si=new ce("",{providedIn:"root",factory:()=>s_}),s_="ng",Ms=new ce(""),Ut=new ce("",{providedIn:"platform",factory:()=>"unknown"});var Ed=new ce(""),bd=new ce("",{providedIn:"root",factory:()=>ac().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});function o_(){let t=new pn;return W(Ut)==="browser"&&(t.store=a_(ac(),W(Si))),t}var pn=(()=>{let e=class e{constructor(){this.store={},this.onSerializeCallbacks={}}get(r,i){return this.store[r]!==void 0?this.store[r]:i}set(r,i){this.store[r]=i}remove(r){delete this.store[r]}hasKey(r){return this.store.hasOwnProperty(r)}get isEmpty(){return Object.keys(this.store).length===0}onSerialize(r,i){this.onSerializeCallbacks[r]=i}toJson(){for(let r in this.onSerializeCallbacks)if(this.onSerializeCallbacks.hasOwnProperty(r))try{this.store[r]=this.onSerializeCallbacks[r]()}catch(i){console.warn("Exception in onSerialize callback: ",i)}return JSON.stringify(this.store).replace(/</g,"\\u003C")}};e.\u0275prov=ie({token:e,providedIn:"root",factory:o_});let t=e;return t})();function a_(t,e){let n=t.getElementById(e+"-state");if(n?.textContent)try{return JSON.parse(n.textContent)}catch(r){console.warn("Exception while restoring TransferState for app "+e,r)}return{}}var wd="h",Dd="b",gs=function(t){return t.FirstChild="f",t.NextSibling="n",t}(gs||{}),Mu="e",Au="t",ys="c",La="x",bi="r",xu="i",Ru="n",ba="d",c_="__nghData__",_d=c_,is="ngh",Td="nghm",Jg=()=>null;function l_(t,e,n=!1){let r=t.getAttribute(is);if(r==null)return null;let[i,s]=r.split("|");if(r=n?s:i,!r)return null;let o=s?`|${s}`:"",a=n?i:o,c={};if(r!==""){let u=e.get(pn,null,{optional:!0});u!==null&&(c=u.get(_d,[])[Number(r)])}let l={data:c,firstChild:t.firstChild??null};return n&&(l.firstChild=t,cc(l,0,t.nextSibling)),a?t.setAttribute(is,a):t.removeAttribute(is),l}function u_(){Jg=l_}function Sd(t,e,n=!1){return Jg(t,e,n)}function ey(t){let e=t._lView;return e[ye].type===2?null:(ld(e)&&(e=e[Ze]),e)}function d_(t){return t.textContent?.replace(/\s/gm,"")}function f_(t){let e=ac(),n=e.createNodeIterator(t,NodeFilter.SHOW_COMMENT,{acceptNode(s){let o=d_(s);return o==="ngetn"||o==="ngtns"?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_REJECT}}),r,i=[];for(;r=n.nextNode();)i.push(r);for(let s of i)s.textContent==="ngetn"?s.replaceWith(e.createTextNode("")):s.remove()}function cc(t,e,n){t.segmentHeads??={},t.segmentHeads[e]=n}function Ou(t,e){return t.segmentHeads?.[e]??null}function h_(t,e){let n=t.data,r=n[Mu]?.[e]??null;return r===null&&n[ys]?.[e]&&(r=Cd(t,e)),r}function ty(t,e){return t.data[ys]?.[e]??null}function Cd(t,e){let n=ty(t,e)??[],r=0;for(let i of n)r+=i[bi]*(i[La]??1);return r}function lc(t,e){if(typeof t.disconnectedNodes>"u"){let n=t.data[ba];t.disconnectedNodes=n?new Set(n):null}return!!t.disconnectedNodes?.has(e)}var hi=new ce(""),ny=!1,ry=new ce("",{providedIn:"root",factory:()=>ny}),p_=new ce("");var Pa=class{constructor(e){this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Pm})`}};function Id(t){return t instanceof Pa?t.changingThisBreaksApplicationSecurity:t}function iy(t,e){let n=m_(t);if(n!=null&&n!==e){if(n==="ResourceURL"&&e==="URL")return!0;throw new Error(`Required a safe ${e}, got a ${n} (see ${Pm})`)}return n===e}function m_(t){return t instanceof Pa&&t.getTypeName()||null}var g_=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function sy(t){return t=String(t),t.match(g_)?t:"unsafe:"+t}var Nd=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}(Nd||{});function cL(t){let e=y_();return e?e.sanitize(Nd.URL,t)||"":iy(t,"URL")?Id(t):sy(Za(t))}function y_(){let t=tt();return t&&t[Jt].sanitizer}var v_=/^>|^->|<!--|-->|--!>|<!-$/g,E_=/(<|>)/g,b_="\u200B$1\u200B";function w_(t){return t.replace(v_,e=>e.replace(E_,b_))}function D_(t){return t.ownerDocument.body}function oy(t){return t instanceof Function?t():t}function pa(t){return(t??W(nn)).get(Ut)==="browser"}var jr=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}(jr||{}),__;function Md(t,e){return __(t,e)}function pi(t,e,n,r,i){if(r!=null){let s,o=!1;Mt(r)?s=r:An(r)&&(o=!0,r=r[Ye]);let a=at(r);t===0&&n!==null?i==null?dy(e,n,a):Fa(e,n,a,i||null,!0):t===1&&n!==null?Fa(e,n,a,i||null,!0):t===2?kd(e,a,o):t===3&&e.destroyNode(a),s!=null&&B_(e,t,s,n,i)}}function Ad(t,e){return t.createText(e)}function T_(t,e,n){t.setValue(e,n)}function xd(t,e){return t.createComment(w_(e))}function uc(t,e,n){return t.createElement(e,n)}function S_(t,e){ay(t,e),e[Ye]=null,e[en]=null}function C_(t,e,n,r,i,s){r[Ye]=i,r[en]=e,dc(t,r,n,1,i,s)}function ay(t,e){e[Jt].changeDetectionScheduler?.notify(1),dc(t,e,e[Qe],2,null,null)}function I_(t){let e=t[ls];if(!e)return cu(t[ye],t);for(;e;){let n=null;if(An(e))n=e[ls];else{let r=e[_t];r&&(n=r)}if(!n){for(;e&&!e[Yt]&&e!==t;)An(e)&&cu(e[ye],e),e=e[ct];e===null&&(e=t),An(e)&&cu(e[ye],e),n=e&&e[Yt]}e=n}}function N_(t,e,n,r){let i=_t+r,s=n.length;r>0&&(n[i-1][Yt]=e),r<s-_t?(e[Yt]=n[i],Qm(n,_t+r,e)):(n.push(e),e[Yt]=null),e[ct]=n;let o=e[tc];o!==null&&n!==o&&M_(o,e);let a=e[Ei];a!==null&&a.insertView(t),Du(e),e[le]|=128}function M_(t,e){let n=t[Na],i=e[ct][ct][Nt];e[Nt]!==i&&(t[le]|=cd.HasTransplantedViews),n===null?t[Na]=[e]:n.push(e)}function cy(t,e){let n=t[Na],r=n.indexOf(e);n.splice(r,1)}function ku(t,e){if(t.length<=_t)return;let n=_t+e,r=t[n];if(r){let i=r[tc];i!==null&&i!==t&&cy(i,r),e>0&&(t[n-1][Yt]=r[Yt]);let s=Sa(t,_t+e);S_(r[ye],r);let o=s[Ei];o!==null&&o.detachView(s[ye]),r[ct]=null,r[Yt]=null,r[le]&=-129}return r}function ly(t,e){if(!(e[le]&256)){let n=e[Qe];n.destroyNode&&dc(t,e,n,3,null,null),I_(e)}}function cu(t,e){if(e[le]&256)return;let n=Fe(null);try{e[le]&=-129,e[le]|=256,e[xr]&&_p(e[xr]),x_(t,e),A_(t,e),e[ye].type===1&&e[Qe].destroy();let r=e[tc];if(r!==null&&Mt(e[ct])){r!==e[ct]&&cy(r,e);let i=e[Ei];i!==null&&i.detachView(t)}i_(e)}finally{Fe(n)}}function A_(t,e){let n=t.cleanup,r=e[lm];if(n!==null)for(let s=0;s<n.length-1;s+=2)if(typeof n[s]=="string"){let o=n[s+3];o>=0?r[o]():r[-o].unsubscribe(),s+=2}else{let o=r[n[s+1]];n[s].call(o)}r!==null&&(e[lm]=null);let i=e[tr];if(i!==null){e[tr]=null;for(let s=0;s<i.length;s++){let o=i[s];o()}}}function x_(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 hs)){let s=n[r+1];if(Array.isArray(s))for(let o=0;o<s.length;o+=2){let a=i[s[o]],c=s[o+1];er(4,a,c);try{c.call(a)}finally{er(5,a,c)}}else{er(4,i,s);try{s.call(i)}finally{er(5,i,s)}}}}}function uy(t,e,n){return R_(t,e.parent,n)}function R_(t,e,n){let r=e;for(;r!==null&&r.type&40;)e=r,r=e.parent;if(r===null)return n[Ye];{let{componentOffset:i}=r;if(i>-1){let{encapsulation:s}=t.data[r.directiveStart+i];if(s===Zt.None||s===Zt.Emulated)return null}return tn(r,n)}}function Fa(t,e,n,r,i){t.insertBefore(e,n,r,i)}function dy(t,e,n){t.appendChild(e,n)}function ym(t,e,n,r,i){r!==null?Fa(t,e,n,r,i):dy(t,e,n)}function O_(t,e,n,r){t.removeChild(e,n,r)}function Rd(t,e){return t.parentNode(e)}function k_(t,e){return t.nextSibling(e)}function L_(t,e,n){return F_(t,e,n)}function P_(t,e,n){return t.type&40?tn(t,n):null}var F_=P_,vm;function Od(t,e,n,r){let i=uy(t,r,e),s=e[Qe],o=r.parent||e[en],a=L_(o,r,e);if(i!=null)if(Array.isArray(n))for(let c=0;c<n.length;c++)ym(s,i,n[c],a,!1);else ym(s,i,n,a,!1);vm!==void 0&&vm(s,r,e,n,i)}function ss(t,e){if(e!==null){let n=e.type;if(n&3)return tn(e,t);if(n&4)return Lu(-1,t[e.index]);if(n&8){let r=e.child;if(r!==null)return ss(t,r);{let i=t[e.index];return Mt(i)?Lu(-1,i):at(i)}}else{if(n&32)return Md(e,t)()||at(t[e.index]);{let r=fy(t,e);if(r!==null){if(Array.isArray(r))return r[0];let i=fs(t[Nt]);return ss(i,r)}else return ss(t,e.next)}}}return null}function fy(t,e){if(e!==null){let r=t[Nt][en],i=e.projection;return r.projection[i]}return null}function Lu(t,e){let n=_t+t+1;if(n<e.length){let r=e[n],i=r[ye].firstChild;if(i!==null)return ss(r,i)}return e[Rn]}function kd(t,e,n){let r=Rd(t,e);r&&O_(t,r,e,n)}function hy(t){t.textContent=""}function Ld(t,e,n,r,i,s,o){for(;n!=null;){let a=r[n.index],c=n.type;if(o&&e===0&&(a&&Or(at(a),r),n.flags|=2),(n.flags&32)!==32)if(c&8)Ld(t,e,n.child,r,i,s,!1),pi(e,t,i,a,s);else if(c&32){let l=Md(n,r),u;for(;u=l();)pi(e,t,i,u,s);pi(e,t,i,a,s)}else c&16?j_(t,e,r,n,i,s):pi(e,t,i,a,s);n=o?n.projectionNext:n.next}}function dc(t,e,n,r,i,s){Ld(n,r,t.firstChild,e,i,s,!1)}function j_(t,e,n,r,i,s){let o=n[Nt],c=o[en].projection[r.projection];if(Array.isArray(c))for(let l=0;l<c.length;l++){let u=c[l];pi(e,t,i,u,s)}else{let l=c,u=o[ct];Oa(r)&&(l.flags|=128),Ld(t,e,l,u,i,s,!0)}}function B_(t,e,n,r,i){let s=n[Rn],o=at(n);s!==o&&pi(e,t,r,s,i);for(let a=_t;a<n.length;a++){let c=n[a];dc(c[ye],c,t,e,r,s)}}function H_(t,e,n){t.setAttribute(e,"style",n)}function py(t,e,n){n===""?t.removeAttribute(e,"class"):t.setAttribute(e,"class",n)}function my(t,e,n){let{mergedAttrs:r,classes:i,styles:s}=n;r!==null&&gu(t,e,r),i!==null&&py(t,e,i),s!==null&&H_(t,e,s)}var As={};function lL(t=1){gy(Fr(),tt(),pd()+t,!1)}function gy(t,e,n,r){if(!r)if((e[le]&3)===3){let s=t.preOrderCheckHooks;s!==null&&va(e,s,n)}else{let s=t.preOrderHooks;s!==null&&Ea(e,s,0,n)}Rr(n)}function Br(t,e=be.Default){let n=tt();if(n===null)return ue(t,e);let r=fn();return Ug(r,n,Bt(t),e)}function yy(t,e,n,r,i,s){let o=Fe(null);try{let a=null;i&rr.SignalBased&&(a=e[r][Ep]),a!==null&&a.transformFn!==void 0&&(s=a.transformFn(s)),i&rr.HasDecoratorInputTransform&&(s=t.inputTransforms[r].call(e,s)),t.setInput!==null?t.setInput(e,a,s,n,r):hg(e,a,r,s)}finally{Fe(o)}}function U_(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)Rr(~i);else{let s=i,o=n[++r],a=n[++r];xD(o,s);let c=e[s];a(2,c)}}}finally{Rr(-1)}}function fc(t,e,n,r,i,s,o,a,c,l,u){let d=e.blueprint.slice();return d[Ye]=i,d[le]=r|4|128|8|64,(l!==null||t&&t[le]&2048)&&(d[le]|=2048),Eg(d),d[ct]=d[Ss]=t,d[xn]=n,d[Jt]=o||t&&t[Jt],d[Qe]=a||t&&t[Qe],d[vi]=c||t&&t[vi]||null,d[en]=s,d[nc]=n_(),d[Xt]=u,d[ug]=l,d[Nt]=e.type==2?t[Nt]:d,d}function hc(t,e,n,r,i){let s=t.data[e];if(s===null)s=V_(t,e,n,r,i),AD()&&(s.flags|=32);else if(s.type&64){s.type=n,s.value=r,s.attrs=i;let o=CD();s.injectorIndex=o===null?-1:o.injectorIndex}return Ns(s,!0),s}function V_(t,e,n,r,i){let s=Dg(),o=_g(),a=o?s:s&&s.parent,c=t.data[e]=Q_(t,a,n,e,r,i);return t.firstChild===null&&(t.firstChild=c),s!==null&&(o?s.child==null&&c.parent!==null&&(s.child=c):s.next===null&&(s.next=c,c.prev=s)),c}function vy(t,e,n,r){if(n===0)return-1;let i=e.length;for(let s=0;s<n;s++)e.push(r),t.blueprint.push(r),t.data.push(null);return i}function Ey(t,e,n,r,i){let s=pd(),o=r&2;try{Rr(-1),o&&e.length>Ze&&gy(t,e,Ze,!1),er(o?2:0,i),n(r,i)}finally{Rr(s),er(o?3:1,i)}}function by(t,e,n){if(dg(e)){let r=Fe(null);try{let i=e.directiveStart,s=e.directiveEnd;for(let o=i;o<s;o++){let a=t.data[o];if(a.contentQueries){let c=n[o];a.contentQueries(1,c,o)}}}finally{Fe(r)}}}function wy(t,e,n){wg()&&(tT(t,e,n,tn(n,e)),(n.flags&64)===64&&Iy(t,e,n))}function Dy(t,e,n=tn){let r=e.localNames;if(r!==null){let i=e.index+1;for(let s=0;s<r.length;s+=2){let o=r[s+1],a=o===-1?n(e,t):t[o];t[i++]=a}}}function _y(t){let e=t.tView;return e===null||e.incompleteFirstPass?t.tView=Pd(1,null,t.template,t.decls,t.vars,t.directiveDefs,t.pipeDefs,t.viewQuery,t.schemas,t.consts,t.id):e}function Pd(t,e,n,r,i,s,o,a,c,l,u){let d=Ze+r,g=d+i,D=q_(d,g),N=typeof l=="function"?l():l;return D[ye]={type:t,blueprint:D,template:n,queries:null,viewQuery:a,declTNode:e,data:D.slice().fill(null,d),bindingStartIndex:d,expandoStartIndex:g,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 s=="function"?s():s,pipeRegistry:typeof o=="function"?o():o,firstChild:null,schemas:c,consts:N,incompleteFirstPass:!1,ssrId:u}}function q_(t,e){let n=[];for(let r=0;r<e;r++)n.push(r<t?null:As);return n}function $_(t,e,n,r){let s=r.get(ry,ny)||n===Zt.ShadowDom,o=t.selectRootElement(e,s);return z_(o),o}function z_(t){Ty(t)}var Ty=()=>null;function G_(t){Qg(t)?hy(t):f_(t)}function W_(){Ty=G_}function Q_(t,e,n,r,i,s){let o=e?e.injectorIndex:-1,a=0;return Is()&&(a|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:o,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:i,attrs:s,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 Em(t,e,n,r,i){for(let s in e){if(!e.hasOwnProperty(s))continue;let o=e[s];if(o===void 0)continue;r??={};let a,c=rr.None;Array.isArray(o)?(a=o[0],c=o[1]):a=o;let l=s;if(i!==null){if(!i.hasOwnProperty(s))continue;l=i[s]}t===0?bm(r,n,l,a,c):bm(r,n,l,a)}return r}function bm(t,e,n,r,i){let s;t.hasOwnProperty(n)?(s=t[n]).push(e,r):s=t[n]=[e,r],i!==void 0&&s.push(i)}function K_(t,e,n){let r=e.directiveStart,i=e.directiveEnd,s=t.data,o=e.attrs,a=[],c=null,l=null;for(let u=r;u<i;u++){let d=s[u],g=n?n.get(d):null,D=g?g.inputs:null,N=g?g.outputs:null;c=Em(0,d.inputs,u,c,D),l=Em(1,d.outputs,u,l,N);let M=c!==null&&o!==null&&!id(e)?uT(c,u,o):null;a.push(M)}c!==null&&(c.hasOwnProperty("class")&&(e.flags|=8),c.hasOwnProperty("style")&&(e.flags|=16)),e.initialInputs=a,e.inputs=c,e.outputs=l}function Y_(t){return t==="class"?"className":t==="for"?"htmlFor":t==="formaction"?"formAction":t==="innerHtml"?"innerHTML":t==="readonly"?"readOnly":t==="tabindex"?"tabIndex":t}function Z_(t,e,n,r,i,s,o,a){let c=tn(e,n),l=e.inputs,u;!a&&l!=null&&(u=l[r])?(Fd(t,n,u,r,i),Ti(e)&&X_(n,e.index)):e.type&3?(r=Y_(r),i=o!=null?o(i,e.value||"",r):i,s.setProperty(c,r,i)):e.type&12}function X_(t,e){let n=Pr(e,t);n[le]&16||(n[le]|=64)}function Sy(t,e,n,r){if(wg()){let i=r===null?null:{"":-1},s=rT(t,n),o,a;s===null?o=a=null:[o,a]=s,o!==null&&Cy(t,e,n,o,i,a),i&&iT(n,r,i)}n.mergedAttrs=rd(n.mergedAttrs,n.attrs)}function Cy(t,e,n,r,i,s){for(let l=0;l<r.length;l++)zD(Fg(n,e),t,r[l].type);oT(n,t.data.length,r.length);for(let l=0;l<r.length;l++){let u=r[l];u.providersResolver&&u.providersResolver(u)}let o=!1,a=!1,c=vy(t,e,r.length,null);for(let l=0;l<r.length;l++){let u=r[l];n.mergedAttrs=rd(n.mergedAttrs,u.hostAttrs),aT(t,n,e,c,u),sT(c,u,i),u.contentQueries!==null&&(n.flags|=4),(u.hostBindings!==null||u.hostAttrs!==null||u.hostVars!==0)&&(n.flags|=64);let d=u.type.prototype;!o&&(d.ngOnChanges||d.ngOnInit||d.ngDoCheck)&&((t.preOrderHooks??=[]).push(n.index),o=!0),!a&&(d.ngOnChanges||d.ngDoCheck)&&((t.preOrderCheckHooks??=[]).push(n.index),a=!0),c++}K_(t,n,s)}function J_(t,e,n,r,i){let s=i.hostBindings;if(s){let o=t.hostBindingOpCodes;o===null&&(o=t.hostBindingOpCodes=[]);let a=~e.index;eT(o)!=a&&o.push(a),o.push(n,r,s)}}function eT(t){let e=t.length;for(;e>0;){let n=t[--e];if(typeof n=="number"&&n<0)return n}return 0}function tT(t,e,n,r){let i=n.directiveStart,s=n.directiveEnd;Ti(n)&&cT(e,n,t.data[i+n.componentOffset]),t.firstCreatePass||Fg(n,e),Or(r,e);let o=n.initialInputs;for(let a=i;a<s;a++){let c=t.data[a],l=ps(e,t,a,n);if(Or(l,e),o!==null&&lT(e,a-i,l,c,n,o),Cs(c)){let u=Pr(n.index,e);u[xn]=ps(e,t,a,n)}}}function Iy(t,e,n){let r=n.directiveStart,i=n.directiveEnd,s=n.index,o=RD();try{Rr(s);for(let a=r;a<i;a++){let c=t.data[a],l=e[a];_u(a),(c.hostBindings!==null||c.hostVars!==0||c.hostAttrs!==null)&&nT(c,l)}}finally{Rr(-1),_u(o)}}function nT(t,e){t.hostBindings!==null&&t.hostBindings(1,e)}function rT(t,e){let n=t.directiveRegistry,r=null,i=null;if(n)for(let s=0;s<n.length;s++){let o=n[s];if(Fw(e,o.selectors,!1))if(r||(r=[]),Cs(o))if(o.findHostDirectiveDefs!==null){let a=[];i=i||new Map,o.findHostDirectiveDefs(o,a,i),r.unshift(...a,o);let c=a.length;Pu(t,e,c)}else r.unshift(o),Pu(t,e,0);else i=i||new Map,o.findHostDirectiveDefs?.(o,r,i),r.push(o)}return r===null?null:[r,i]}function Pu(t,e,n){e.componentOffset=n,(t.components??=[]).push(e.index)}function iT(t,e,n){if(e){let r=t.localNames=[];for(let i=0;i<e.length;i+=2){let s=n[e[i+1]];if(s==null)throw new z(-301,!1);r.push(e[i],s)}}}function sT(t,e,n){if(n){if(e.exportAs)for(let r=0;r<e.exportAs.length;r++)n[e.exportAs[r]]=t;Cs(e)&&(n[""]=t)}}function oT(t,e,n){t.flags|=1,t.directiveStart=e,t.directiveEnd=e+n,t.providerIndexes=e}function aT(t,e,n,r,i){t.data[r]=i;let s=i.factory||(i.factory=Mr(i.type,!0)),o=new hs(s,Cs(i),Br);t.blueprint[r]=o,n[r]=o,J_(t,e,r,vy(t,n,i.hostVars,As),i)}function cT(t,e,n){let r=tn(e,t),i=_y(n),s=t[Jt].rendererFactory,o=16;n.signals?o=4096:n.onPush&&(o=64);let a=pc(t,fc(t,i,null,o,r,e,null,s.createRenderer(r,n),null,null,null));t[e.index]=a}function lT(t,e,n,r,i,s){let o=s[e];if(o!==null)for(let a=0;a<o.length;){let c=o[a++],l=o[a++],u=o[a++],d=o[a++];yy(r,n,c,l,u,d)}}function uT(t,e,n){let r=null,i=0;for(;i<n.length;){let s=n[i];if(s===0){i+=4;continue}else if(s===5){i+=2;continue}if(typeof s=="number")break;if(t.hasOwnProperty(s)){r===null&&(r=[]);let o=t[s];for(let a=0;a<o.length;a+=3)if(o[a]===e){r.push(s,o[a+1],o[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 My(t,e){let n=t.contentQueries;if(n!==null){let r=Fe(null);try{for(let i=0;i<n.length;i+=2){let s=n[i],o=n[i+1];if(o!==-1){let a=t.data[o];Sg(s),a.contentQueries(2,e[o],o)}}}finally{Fe(r)}}}function pc(t,e){return t[ls]?t[um][Yt]=e:t[ls]=e,t[um]=e,e}function Fu(t,e,n){Sg(0);let r=Fe(null);try{e(t,n)}finally{Fe(r)}}function dT(t,e){let n=t[vi],r=n?n.get(dn,null):null;r&&r.handleError(e)}function Fd(t,e,n,r,i){for(let s=0;s<n.length;){let o=n[s++],a=n[s++],c=n[s++],l=e[o],u=t.data[o];yy(u,l,r,a,c,i)}}function fT(t,e,n){let r=mD(e,t);T_(t[Qe],r,n)}function hT(t,e){let n=Pr(e,t),r=n[ye];pT(r,n);let i=n[Ye];i!==null&&n[Xt]===null&&(n[Xt]=Sd(i,n[vi])),jd(r,n,n[xn])}function pT(t,e){for(let n=e.length;n<t.blueprint.length;n++)e.push(t.blueprint[n])}function jd(t,e,n){fd(e);try{let r=t.viewQuery;r!==null&&Fu(1,r,n);let i=t.template;i!==null&&Ey(t,e,i,1,n),t.firstCreatePass&&(t.firstCreatePass=!1),e[Ei]?.finishViewCreation(t),t.staticContentQueries&&My(t,e),t.staticViewQueries&&Fu(2,t.viewQuery,n);let s=t.components;s!==null&&mT(e,s)}catch(r){throw t.firstCreatePass&&(t.incompleteFirstPass=!0,t.firstCreatePass=!1),r}finally{e[le]&=-5,hd()}}function mT(t,e){for(let n=0;n<e.length;n++)hT(t,e[n])}function gT(t,e,n,r){let i=Fe(null);try{let s=e.tView,a=t[le]&4096?4096:16,c=fc(t,s,n,a,null,e,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null),l=t[e.index];c[tc]=l;let u=t[Ei];return u!==null&&(c[Ei]=u.createEmbeddedView(s)),jd(s,c,n),c}finally{Fe(i)}}function wm(t,e){return!e||e.firstChild===null||Oa(t)}function yT(t,e,n,r=!0){let i=e[ye];if(N_(i,e,t,n),r){let o=Lu(n,t),a=e[Qe],c=Rd(a,t[Rn]);c!==null&&C_(i,t[en],a,e,c,o)}let s=e[Xt];s!==null&&s.firstChild!==null&&(s.firstChild=null)}function vs(t,e,n,r,i=!1){for(;n!==null;){let s=e[n.index];s!==null&&r.push(at(s)),Mt(s)&&Ay(s,r);let o=n.type;if(o&8)vs(t,e,n.child,r);else if(o&32){let a=Md(n,e),c;for(;c=a();)r.push(c)}else if(o&16){let a=fy(e,n);if(Array.isArray(a))r.push(...a);else{let c=fs(e[Nt]);vs(c[ye],c,a,r,!0)}}n=i?n.projectionNext:n.next}return r}function Ay(t,e){for(let n=_t;n<t.length;n++){let r=t[n],i=r[ye].firstChild;i!==null&&vs(r[ye],r,i,e)}t[Rn]!==t[Ye]&&e.push(t[Rn])}var xy=[];function vT(t){return t[xr]??ET(t)}function ET(t){let e=xy.pop()??Object.create(wT);return e.lView=t,e}function bT(t){t.lView[xr]!==t&&(t.lView=null,xy.push(t))}var wT=Je(J({},bp),{consumerIsAlwaysLive:!0,consumerMarkedDirty:t=>{ds(t.lView)},consumerOnSignalRead(){this.lView[xr]=this}}),Ry=100;function Oy(t,e=!0,n=0){let r=t[Jt],i=r.rendererFactory,s=!1;s||i.begin?.();try{DT(t,n)}catch(o){throw e&&dT(t,o),o}finally{s||(i.end?.(),r.inlineEffectRunner?.flush())}}function DT(t,e){ju(t,e);let n=0;for(;dd(t);){if(n===Ry)throw new z(103,!1);n++,ju(t,1)}}function _T(t,e,n,r){let i=e[le];if((i&256)===256)return;let s=!1;!s&&e[Jt].inlineEffectRunner?.flush(),fd(e);let o=null,a=null;!s&&TT(t)&&(a=vT(e),o=wp(a));try{Eg(e),MD(t.bindingStartIndex),n!==null&&Ey(t,e,n,2,r);let c=(i&3)===3;if(!s)if(c){let d=t.preOrderCheckHooks;d!==null&&va(e,d,null)}else{let d=t.preOrderHooks;d!==null&&Ea(e,d,0,null),iu(e,0)}if(ST(e),ky(e,0),t.contentQueries!==null&&My(t,e),!s)if(c){let d=t.contentCheckHooks;d!==null&&va(e,d)}else{let d=t.contentHooks;d!==null&&Ea(e,d,1),iu(e,1)}U_(t,e);let l=t.components;l!==null&&Py(e,l,0);let u=t.viewQuery;if(u!==null&&Fu(2,u,r),!s)if(c){let d=t.viewCheckHooks;d!==null&&va(e,d)}else{let d=t.viewHooks;d!==null&&Ea(e,d,2),iu(e,2)}if(t.firstUpdatePass===!0&&(t.firstUpdatePass=!1),e[ru]){for(let d of e[ru])d();e[ru]=null}s||(e[le]&=-73)}catch(c){throw ds(e),c}finally{a!==null&&(Dp(a,o),bT(a)),hd()}}function TT(t){return t.type!==2}function ky(t,e){for(let n=Yg(t);n!==null;n=Zg(n))for(let r=_t;r<n.length;r++){let i=n[r];Ly(i,e)}}function ST(t){for(let e=Yg(t);e!==null;e=Zg(e)){if(!(e[le]&cd.HasTransplantedViews))continue;let n=e[Na];for(let r=0;r<n.length;r++){let i=n[r],s=i[ct];vD(i)}}}function CT(t,e,n){let r=Pr(e,t);Ly(r,n)}function Ly(t,e){ud(t)&&ju(t,e)}function ju(t,e){let r=t[ye],i=t[le],s=t[xr],o=!!(e===0&&i&16);if(o||=!!(i&64&&e===0),o||=!!(i&1024),o||=!!(s?.dirty&&Fl(s)),s&&(s.dirty=!1),t[le]&=-9217,o)_T(r,t,r.template,t[xn]);else if(i&8192){ky(t,1);let a=r.components;a!==null&&Py(t,a,1)}}function Py(t,e,n){for(let r=0;r<e.length;r++)CT(t,e[r],n)}function Fy(t){for(t[Jt].changeDetectionScheduler?.notify();t;){t[le]|=64;let e=fs(t);if(ld(t)&&!e)return t;t=e}return null}var kr=class{get rootNodes(){let e=this._lView,n=e[ye];return vs(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[xn]}set context(e){this._lView[xn]=e}get destroyed(){return(this._lView[le]&256)===256}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let e=this._lView[ct];if(Mt(e)){let n=e[Ia],r=n?n.indexOf(this):-1;r>-1&&(ku(e,r),Sa(n,r))}this._attachedToViewContainer=!1}ly(this._lView[ye],this._lView)}onDestroy(e){bg(this._lView,e)}markForCheck(){Fy(this._cdRefInjectingView||this._lView)}detach(){this._lView[le]&=-129}reattach(){Du(this._lView),this._lView[le]|=128}detectChanges(){this._lView[le]|=1024,Oy(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new z(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,ay(this._lView[ye],this._lView)}attachToAppRef(e){if(this._attachedToViewContainer)throw new z(902,!1);this._appRef=e,Du(this._lView)}},Bd=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=MT;let t=e;return t})(),IT=Bd,NT=class extends IT{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=gT(this._declarationLView,this._declarationTContainer,e,{embeddedViewInjector:n,dehydratedView:r});return new kr(i)}};function MT(){return AT(fn(),tt())}function AT(t,e){return t.type&4?new NT(e,t,ic(t,e)):null}var Bu="<-- AT THIS LOCATION";function xT(t){switch(t){case 4:return"view container";case 2:return"element";case 8:return"ng-container";case 32:return"icu";case 64:return"i18n";case 16:return"projection";case 1:return"text";default:return"<unknown>"}}function RT(t,e){let n=`During serialization, Angular was unable to find an element in the DOM:

`,r=`${FT(t,e,!1)}

`,i=BT();throw new z(-502,n+r+i)}function OT(t){let e="During serialization, Angular detected DOM nodes that were created outside of Angular context and provided as projectable nodes (likely via `ViewContainerRef.createComponent` or `createComponent` APIs). Hydration is not supported for such cases, consider refactoring the code to avoid this pattern or using `ngSkipHydration` on the host element of the component.\n\n",n=`${jT(t)}

`,r=e+n+HT();return new z(-503,r)}function kT(t){let e=[];if(t.attrs)for(let n=0;n<t.attrs.length;){let r=t.attrs[n++];if(typeof r=="number")break;let i=t.attrs[n++];e.push(`${r}="${ja(i)}"`)}return e.join(" ")}var LT=new Set(["ngh","ng-version","ng-server-context"]);function PT(t){let e=[];for(let n=0;n<t.attributes.length;n++){let r=t.attributes[n];LT.has(r.name)||e.push(`${r.name}="${ja(r.value)}"`)}return e.join(" ")}function lu(t,e="\u2026"){switch(t.type){case 1:return`#text${t.value?`(${t.value})`:""}`;case 2:let r=kT(t),i=t.value.toLowerCase();return`<${i}${r?" "+r:""}>${e}</${i}>`;case 8:return"<!-- ng-container -->";case 4:return"<!-- container -->";default:return`#node(${xT(t.type)})`}}function wa(t,e="\u2026"){let n=t;switch(n.nodeType){case Node.ELEMENT_NODE:let r=n.tagName.toLowerCase(),i=PT(n);return`<${r}${i?" "+i:""}>${e}</${r}>`;case Node.TEXT_NODE:let s=n.textContent?ja(n.textContent):"";return`#text${s?`(${s})`:""}`;case Node.COMMENT_NODE:return`<!-- ${ja(n.textContent??"")} -->`;default:return`#node(${n.nodeType})`}}function FT(t,e,n){let r="  ",i="";e.prev?(i+=r+`\u2026
`,i+=r+lu(e.prev)+`
`):e.type&&e.type&12&&(i+=r+`\u2026
`),n?(i+=r+lu(e)+`
`,i+=r+`<!-- container -->  ${Bu}
`):i+=r+lu(e)+`  ${Bu}
`,i+=r+`\u2026
`;let s=e.type?uy(t[ye],e,t):null;return s&&(i=wa(s,`
`+i)),i}function jT(t){let e="  ",n="",r=t;return r.previousSibling&&(n+=e+`\u2026
`,n+=e+wa(r.previousSibling)+`
`),n+=e+wa(r)+`  ${Bu}
`,t.nextSibling&&(n+=e+`\u2026
`),t.parentNode&&(n=wa(r.parentNode,`
`+n)),n}function BT(t){return`To fix this problem:
  * check ${t?`the "${t}"`:"corresponding"} component for hydration-related issues
  * check to see if your template has valid HTML structure
  * or skip hydration by adding the \`ngSkipHydration\` attribute to its host node in a template

`}function HT(){return`Note: attributes are only displayed to better represent the DOM but have no effect on hydration mismatches.

`}function UT(t){return t.replace(/\s+/gm,"")}function ja(t,e=50){return t?(t=UT(t),t.length>e?`${t.substring(0,e-1)}\u2026`:t):""}function jy(t){let e=t[us]??[],r=t[ct][Qe];for(let i of e)VT(i,r);t[us]=Kt}function VT(t,e){let n=0,r=t.firstChild;if(r){let i=t.data[bi];for(;n<i;){let s=r.nextSibling;kd(e,r,!1),r=s,n++}}}function By(t){jy(t);for(let e=_t;e<t.length;e++)Ba(t[e])}function qT(t){let e=t[Xt]?.i18nNodes;if(e){let n=t[Qe];for(let r of e.values())kd(n,r,!1);t[Xt].i18nNodes=void 0}}function Ba(t){qT(t);let e=t[ye];for(let n=Ze;n<e.bindingStartIndex;n++)if(Mt(t[n])){let r=t[n];By(r)}else An(t[n])&&Ba(t[n])}function $T(t){let e=t._views;for(let n of e){let r=ey(n);if(r!==null&&r[Ye]!==null)if(An(r))Ba(r);else{let i=r[Ye];Ba(i),By(r)}}}var zT=new RegExp(`^(\\d+)*(${Dd}|${wd})*(.*)`);function GT(t,e){let n=[t];for(let r of e){let i=n.length-1;if(i>0&&n[i-1]===r){let s=n[i]||1;n[i]=s+1}else n.push(r,"")}return n.join("")}function WT(t){let e=t.match(zT),[n,r,i,s]=e,o=r?parseInt(r,10):i,a=[];for(let[c,l,u]of s.matchAll(/(f|n)(\d*)/g)){let d=parseInt(u,10)||1;a.push(l,d)}return[o,...a]}function QT(t){return!t.prev&&t.parent?.type===8}function uu(t){return t.index-Ze}function Es(t,e){return!(t.type&16)&&!!e[t.index]&&!at(e[t.index])?.isConnected}function KT(t,e){let n=t.i18nNodes;if(n){let r=n.get(e);return r&&n.delete(e),r}return null}function mc(t,e,n,r){let i=uu(r),s=KT(t,i);if(!s){let o=t.data[Ru];if(o?.[i])s=ZT(o[i],n);else if(e.firstChild===r)s=t.firstChild;else{let a=r.prev===null,c=r.prev??r.parent;if(QT(r)){let l=uu(r.parent);s=Ou(t,l)}else{let l=tn(c,n);if(a)s=l.firstChild;else{let u=uu(c),d=Ou(t,u);if(c.type===2&&d){let D=Cd(t,u)+1;s=gc(D,d)}else s=l.nextSibling}}}}return s}function gc(t,e){let n=e;for(let r=0;r<t;r++)n=n.nextSibling;return n}function YT(t,e){let n=t;for(let r=0;r<e.length;r+=2){let i=e[r],s=e[r+1];for(let o=0;o<s;o++)switch(i){case gs.FirstChild:n=n.firstChild;break;case gs.NextSibling:n=n.nextSibling;break}}return n}function ZT(t,e){let[n,...r]=WT(t),i;if(n===wd)i=e[Nt][Ye];else if(n===Dd)i=D_(e[Nt][Ye]);else{let s=Number(n);i=at(e[s+Ze])}return YT(i,r)}function Hu(t,e){if(t===e)return[];if(t.parentElement==null||e.parentElement==null)return null;if(t.parentElement===e.parentElement)return XT(t,e);{let n=e.parentElement,r=Hu(t,n),i=Hu(n.firstChild,e);return!r||!i?null:[...r,gs.FirstChild,...i]}}function XT(t,e){let n=[],r=null;for(r=t;r!=null&&r!==e;r=r.nextSibling)n.push(gs.NextSibling);return r==null?null:n}function Dm(t,e,n){let r=Hu(t,e);return r===null?null:GT(n,r)}function JT(t,e){let n=t.parent,r,i,s;for(;n!==null&&Es(n,e);)n=n.parent;n===null||!(n.type&3)?(r=s=wd,i=e[Nt][Ye]):(r=n.index,i=at(e[r]),s=Za(r-Ze));let o=at(e[t.index]);if(t.type&12){let c=ss(e,t);c&&(o=c)}let a=Dm(i,o,s);if(a===null&&i!==o){let c=i.ownerDocument.body;if(a=Dm(c,o,Dd),a===null)throw RT(e,t)}return a}function eS(t,e){let n=[];for(let r of e)for(let i=0;i<(r[La]??1);i++){let s={data:r,firstChild:null};r[bi]>0&&(s.firstChild=t,t=gc(r[bi],t)),n.push(s)}return[t,n]}var Hy=()=>null;function tS(t,e){let n=t[us];return!e||n===null||n.length===0?null:n[0].data[xu]===e?n.shift():(jy(t),null)}function nS(){Hy=tS}function _m(t,e){return Hy(t,e)}var bs=class{},Uu=class{},Ha=class{};function rS(t){let e=Error(`No component factory found for ${It(t)}.`);return e[iS]=t,e}var iS="ngComponent";var Vu=class{resolveComponentFactory(e){throw rS(e)}},yc=(()=>{let e=class e{};e.NULL=new Vu;let t=e;return t})(),Lr=class{},xs=(()=>{let e=class e{constructor(){this.destroyNode=null}};e.__NG_ELEMENT_ID__=()=>sS();let t=e;return t})();function sS(){let t=tt(),e=fn(),n=Pr(e.index,t);return(An(n)?n:t)[Qe]}var oS=(()=>{let e=class e{};e.\u0275prov=ie({token:e,providedIn:"root",factory:()=>null});let t=e;return t})(),du={};var Tm=new Set;function Ci(t){Tm.has(t)||(Tm.add(t),performance?.mark?.("mark_feature_usage",{detail:{feature:t}}))}function Sm(...t){}function aS(){let t=typeof mi.requestAnimationFrame=="function",e=mi[t?"requestAnimationFrame":"setTimeout"],n=mi[t?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&e&&n){let r=e[Zone.__symbol__("OriginalDelegate")];r&&(e=r);let i=n[Zone.__symbol__("OriginalDelegate")];i&&(n=i)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:n}}var Be=class t{constructor({enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new yt(!1),this.onMicrotaskEmpty=new yt(!1),this.onStable=new yt(!1),this.onError=new yt(!1),typeof Zone>"u")throw new z(908,!1);Zone.assertZonePatched();let i=this;i._nesting=0,i._outer=i._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(i._inner=i._inner.fork(new Zone.TaskTrackingZoneSpec)),e&&Zone.longStackTraceZoneSpec&&(i._inner=i._inner.fork(Zone.longStackTraceZoneSpec)),i.shouldCoalesceEventChangeDetection=!r&&n,i.shouldCoalesceRunChangeDetection=r,i.lastRequestAnimationFrameId=-1,i.nativeRequestAnimationFrame=aS().nativeRequestAnimationFrame,uS(i)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get("isAngularZone")===!0}static assertInAngularZone(){if(!t.isInAngularZone())throw new z(909,!1)}static assertNotInAngularZone(){if(t.isInAngularZone())throw new z(909,!1)}run(e,n,r){return this._inner.run(e,n,r)}runTask(e,n,r,i){let s=this._inner,o=s.scheduleEventTask("NgZoneEvent: "+i,e,cS,Sm,Sm);try{return s.runTask(o,n,r)}finally{s.cancelTask(o)}}runGuarded(e,n,r){return this._inner.runGuarded(e,n,r)}runOutsideAngular(e){return this._outer.run(e)}},cS={};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 lS(t){t.isCheckStableRunning||t.lastRequestAnimationFrameId!==-1||(t.lastRequestAnimationFrameId=t.nativeRequestAnimationFrame.call(mi,()=>{t.fakeTopEventTask||(t.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{t.lastRequestAnimationFrameId=-1,qu(t),t.isCheckStableRunning=!0,Hd(t),t.isCheckStableRunning=!1},void 0,()=>{},()=>{})),t.fakeTopEventTask.invoke()}),qu(t))}function uS(t){let e=()=>{lS(t)};t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,i,s,o,a)=>{if(dS(a))return n.invokeTask(i,s,o,a);try{return Cm(t),n.invokeTask(i,s,o,a)}finally{(t.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||t.shouldCoalesceRunChangeDetection)&&e(),Im(t)}},onInvoke:(n,r,i,s,o,a,c)=>{try{return Cm(t),n.invoke(i,s,o,a,c)}finally{t.shouldCoalesceRunChangeDetection&&e(),Im(t)}},onHasTask:(n,r,i,s)=>{n.hasTask(i,s),r===i&&(s.change=="microTask"?(t._hasPendingMicrotasks=s.microTask,qu(t),Hd(t)):s.change=="macroTask"&&(t.hasPendingMacrotasks=s.macroTask))},onHandleError:(n,r,i,s)=>(n.handleError(i,s),t.runOutsideAngular(()=>t.onError.emit(s)),!1)})}function qu(t){t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&t.lastRequestAnimationFrameId!==-1?t.hasPendingMicrotasks=!0:t.hasPendingMicrotasks=!1}function Cm(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function Im(t){t._nesting--,Hd(t)}var $u=class{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new yt,this.onMicrotaskEmpty=new yt,this.onStable=new yt,this.onError=new yt}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 dS(t){return!Array.isArray(t)||t.length!==1?!1:t[0].data?.__ignore_ng_zone__===!0}function fS(t="zone.js",e){return t==="noop"?new $u:t==="zone.js"?new Be(e):t}var Uy=(()=>{let e=class e{constructor(){this.handler=null,this.internalCallbacks=[]}execute(){this.executeInternalCallbacks(),this.handler?.execute()}executeInternalCallbacks(){let r=[...this.internalCallbacks];this.internalCallbacks.length=0;for(let i of r)i()}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}};e.\u0275prov=ie({token:e,providedIn:"root",factory:()=>new e});let t=e;return t})();function zu(t,e,n){let r=n?t.styles:null,i=n?t.classes:null,s=0;if(e!==null)for(let o=0;o<e.length;o++){let a=e[o];if(typeof a=="number")s=a;else if(s==1)i=Jp(i,a);else if(s==2){let c=a,l=e[++o];r=Jp(r,c+": "+l+";")}}n?t.styles=r:t.stylesWithoutHost=r,n?t.classes=i:t.classesWithoutHost=i}var Ua=class extends yc{constructor(e){super(),this.ngModule=e}resolveComponentFactory(e){let n=ir(e);return new ws(n,this.ngModule)}};function Nm(t){let e=[];for(let n in t){if(!t.hasOwnProperty(n))continue;let r=t[n];r!==void 0&&e.push({propName:Array.isArray(r)?r[0]:r,templateName:n})}return e}function hS(t){let e=t.toLowerCase();return e==="svg"?dD:e==="math"?fD:null}var Gu=class{constructor(e,n){this.injector=e,this.parentInjector=n}get(e,n,r){r=Xa(r);let i=this.injector.get(e,du,r);return i!==du||n===du?i:this.parentInjector.get(e,n,r)}},ws=class extends Ha{get inputs(){let e=this.componentDef,n=e.inputTransforms,r=Nm(e.inputs);if(n!==null)for(let i of r)n.hasOwnProperty(i.propName)&&(i.transform=n[i.propName]);return r}get outputs(){return Nm(this.componentDef.outputs)}constructor(e,n){super(),this.componentDef=e,this.ngModule=n,this.componentType=e.type,this.selector=Uw(e.selectors),this.ngContentSelectors=e.ngContentSelectors?e.ngContentSelectors:[],this.isBoundToModule=!!n}create(e,n,r,i){let s=Fe(null);try{i=i||this.ngModule;let o=i instanceof Ht?i:i?.injector;o&&this.componentDef.getStandaloneInjector!==null&&(o=this.componentDef.getStandaloneInjector(o)||o);let a=o?new Gu(e,o):e,c=a.get(Lr,null);if(c===null)throw new z(407,!1);let l=a.get(oS,null),u=a.get(Uy,null),d=a.get(bs,null),g={rendererFactory:c,sanitizer:l,inlineEffectRunner:null,afterRenderEventManager:u,changeDetectionScheduler:d},D=c.createRenderer(null,this.componentDef),N=this.componentDef.selectors[0][0]||"div",M=r?$_(D,r,this.componentDef.encapsulation,a):uc(D,N,hS(N)),$=512;this.componentDef.signals?$|=4096:this.componentDef.onPush||($|=16);let L=null;M!==null&&(L=Sd(M,a,!0));let T=Pd(0,null,null,1,0,null,null,null,null,null,null),w=fc(null,T,null,$,null,null,g,D,a,null,L);fd(w);let C,E;try{let ee=this.componentDef,te,pe=null;ee.findHostDirectiveDefs?(te=[],pe=new Map,ee.findHostDirectiveDefs(ee,te,pe),te.push(ee)):te=[ee];let q=pS(w,M),R=mS(q,M,ee,te,w,g,D);E=vg(T,Ze),M&&vS(D,ee,M,r),n!==void 0&&ES(E,this.ngContentSelectors,n),C=yS(R,ee,te,pe,w,[bS]),jd(T,w,null)}finally{hd()}return new Wu(this.componentType,C,ic(E,w),w,E)}finally{Fe(s)}}},Wu=class extends Uu{constructor(e,n,r,i,s){super(),this.location=r,this._rootLView=i,this._tNode=s,this.previousInputValues=null,this.instance=n,this.hostView=this.changeDetectorRef=new kr(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 s=this._rootLView;Fd(s[ye],s,i,e,n),this.previousInputValues.set(e,n);let o=Pr(this._tNode.index,s);Fy(o)}}get injector(){return new Nr(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(e){this.hostView.onDestroy(e)}};function pS(t,e){let n=t[ye],r=Ze;return t[r]=e,hc(n,r,2,"#host",null)}function mS(t,e,n,r,i,s,o){let a=i[ye];gS(r,t,e,o);let c=null;e!==null&&(c=Sd(e,i[vi]));let l=s.rendererFactory.createRenderer(e,n),u=16;n.signals?u=4096:n.onPush&&(u=64);let d=fc(i,_y(n),null,u,i[t.index],t,s,l,null,null,c);return a.firstCreatePass&&Pu(a,t,r.length-1),pc(i,d),i[t.index]=d}function gS(t,e,n,r){for(let i of t)e.mergedAttrs=rd(e.mergedAttrs,i.hostAttrs);e.mergedAttrs!==null&&(zu(e,e.mergedAttrs,!0),n!==null&&my(r,n,e))}function yS(t,e,n,r,i,s){let o=fn(),a=i[ye],c=tn(o,i);Cy(a,i,o,n,null,r);for(let u=0;u<n.length;u++){let d=o.directiveStart+u,g=ps(i,a,d,o);Or(g,i)}Iy(a,i,o),c&&Or(c,i);let l=ps(i,a,o.directiveStart+o.componentOffset,o);if(t[xn]=i[xn]=l,s!==null)for(let u of s)u(l,e);return by(a,o,i),l}function vS(t,e,n,r){if(r)gu(t,n,["ng-version","17.3.2"]);else{let{attrs:i,classes:s}=Vw(e.selectors[0]);i&&gu(t,n,i),s&&s.length>0&&py(t,n,s.join(" "))}}function ES(t,e,n){let r=t.projection=[];for(let i=0;i<e.length;i++){let s=n[i];r.push(s!=null?Array.from(s):null)}}function bS(){let t=fn();gd(tt()[ye],t)}var Rs=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=wS;let t=e;return t})();function wS(){let t=fn();return _S(t,tt())}var DS=Rs,Vy=class extends DS{constructor(e,n,r){super(),this._lContainer=e,this._hostTNode=n,this._hostLView=r}get element(){return ic(this._hostTNode,this._hostLView)}get injector(){return new Nr(this._hostTNode,this._hostLView)}get parentInjector(){let e=yd(this._hostTNode,this._hostLView);if(kg(e)){let n=xa(e,this._hostLView),r=Aa(e),i=n[ye].data[r+8];return new Nr(i,n)}else return new Nr(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(e){let n=Mm(this._lContainer);return n!==null&&n[e]||null}get length(){return this._lContainer.length-_t}createEmbeddedView(e,n,r){let i,s;typeof r=="number"?i=r:r!=null&&(i=r.index,s=r.injector);let o=_m(this._lContainer,e.ssrId),a=e.createEmbeddedViewImpl(n||{},s,o);return this.insertImpl(a,i,wm(this._hostTNode,o)),a}createComponent(e,n,r,i,s){let o=e&&!sD(e),a;if(o)a=n;else{let N=n||{};a=N.index,r=N.injector,i=N.projectableNodes,s=N.environmentInjector||N.ngModuleRef}let c=o?e:new ws(ir(e)),l=r||this.parentInjector;if(!s&&c.ngModule==null){let M=(o?l:this.parentInjector).get(Ht,null);M&&(s=M)}let u=ir(c.componentType??{}),d=_m(this._lContainer,u?.id??null),g=d?.firstChild??null,D=c.create(l,i,g,s);return this.insertImpl(D.hostView,a,wm(this._hostTNode,d)),D}insert(e,n){return this.insertImpl(e,n,!0)}insertImpl(e,n,r){let i=e._lView;if(yD(i)){let a=this.indexOf(e);if(a!==-1)this.detach(a);else{let c=i[ct],l=new Vy(c,c[en],c[ct]);l.detach(l.indexOf(e))}}let s=this._adjustIndex(n),o=this._lContainer;return yT(o,i,s,r),e.attachToViewContainerRef(),Qm(fu(o),s,e),e}move(e,n){return this.insert(e,n)}indexOf(e){let n=Mm(this._lContainer);return n!==null?n.indexOf(e):-1}remove(e){let n=this._adjustIndex(e,-1),r=ku(this._lContainer,n);r&&(Sa(fu(this._lContainer),n),ly(r[ye],r))}detach(e){let n=this._adjustIndex(e,-1),r=ku(this._lContainer,n);return r&&Sa(fu(this._lContainer),n)!=null?new kr(r):null}_adjustIndex(e,n=0){return e??this.length+n}};function Mm(t){return t[Ia]}function fu(t){return t[Ia]||(t[Ia]=[])}function _S(t,e){let n,r=e[t.index];return Mt(r)?n=r:(n=Ny(r,e,null,t),e[t.index]=n,pc(e,n)),qy(n,e,t,r),new Vy(n,t,e)}function TS(t,e){let n=t[Qe],r=n.createComment(""),i=tn(e,t),s=Rd(n,i);return Fa(n,s,r,k_(n,i),!1),r}var qy=$y,Ud=()=>!1;function SS(t,e,n){return Ud(t,e,n)}function $y(t,e,n,r){if(t[Rn])return;let i;n.type&8?i=at(r):i=TS(e,n),t[Rn]=i}function CS(t,e,n){if(t[Rn]&&t[us])return!0;let r=n[Xt],i=e.index-Ze;if(!r||ka(e)||lc(r,i))return!1;let o=Ou(r,i),a=r.data[ys]?.[i],[c,l]=eS(o,a);return t[Rn]=c,t[us]=l,!0}function IS(t,e,n,r){Ud(t,n,e)||$y(t,e,n,r)}function NS(){qy=IS,Ud=CS}function MS(t){let e=[],n=new Map;function r(i){let s=n.get(i);if(!s){let o=t(i);n.set(i,s=o.then(OS))}return s}return Va.forEach((i,s)=>{let o=[];i.templateUrl&&o.push(r(i.templateUrl).then(l=>{i.template=l}));let a=typeof i.styles=="string"?[i.styles]:i.styles||[];if(i.styles=a,i.styleUrl&&i.styleUrls?.length)throw new Error("@Component cannot define both `styleUrl` and `styleUrls`. Use `styleUrl` if the component has one stylesheet, or `styleUrls` if it has multiple");if(i.styleUrls?.length){let l=i.styles.length,u=i.styleUrls;i.styleUrls.forEach((d,g)=>{a.push(""),o.push(r(d).then(D=>{a[l+g]=D,u.splice(u.indexOf(d),1),u.length==0&&(i.styleUrls=void 0)}))})}else i.styleUrl&&o.push(r(i.styleUrl).then(l=>{a.push(l),i.styleUrl=void 0}));let c=Promise.all(o).then(()=>kS(s));e.push(c)}),xS(),Promise.all(e).then(()=>{})}var Va=new Map,AS=new Set;function xS(){let t=Va;return Va=new Map,t}function RS(){return Va.size===0}function OS(t){return typeof t=="string"?t:t.text()}function kS(t){AS.delete(t)}var sr=class{},Ds=class{};var qa=class extends sr{constructor(e,n,r){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Ua(this);let i=ig(e);this._bootstrapComponents=oy(i.bootstrap),this._r3Injector=$g(e,n,[{provide:sr,useValue:this},{provide:yc,useValue:this.componentFactoryResolver},...r],It(e),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(e)}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)}},$a=class extends Ds{constructor(e){super(),this.moduleType=e}create(e){return new qa(this.moduleType,e,[])}};function LS(t,e,n){return new qa(t,e,n)}var za=class extends sr{constructor(e){super(),this.componentFactoryResolver=new Ua(this),this.instance=null;let n=new cs([...e.providers,{provide:sr,useValue:this},{provide:yc,useValue:this.componentFactoryResolver}],e.parent||od(),e.debugName,new Set(["environment"]));this.injector=n,e.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(e){this.injector.onDestroy(e)}};function Vd(t,e,n=null){return new za({providers:t,parent:e,debugName:n,runEnvironmentInitializers:!0}).injector}var Os=(()=>{let e=class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new dt(!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.\u0275fac=function(i){return new(i||e)},e.\u0275prov=ie({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function zy(t){return FS(t)?Array.isArray(t)||!(t instanceof Map)&&Symbol.iterator in t:!1}function PS(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 FS(t){return t!==null&&(typeof t=="function"||typeof t=="object")}function jS(t,e,n){return t[e]=n}function qd(t,e,n){let r=t[e];return Object.is(r,n)?!1:(t[e]=n,!0)}function ks(t){return(t.flags&32)===32}function BS(t,e,n,r,i,s,o,a,c){let l=e.consts,u=hc(e,t,4,o||null,Ma(l,a));Sy(e,n,u,Ma(l,c)),gd(e,u);let d=u.tView=Pd(2,u,r,i,s,e.directiveRegistry,e.pipeRegistry,null,e.schemas,l,null);return e.queries!==null&&(e.queries.template(e,u),d.queries=e.queries.embeddedTView(u)),u}function HS(t,e,n,r,i,s,o,a){let c=tt(),l=Fr(),u=t+Ze,d=l.firstCreatePass?BS(u,l,c,e,n,r,i,s,o):l.data[u];Ns(d,!1);let g=Gy(l,c,d,t);md()&&Od(l,c,g,d),Or(g,c);let D=Ny(g,c,g,d);return c[u]=D,pc(c,D),SS(D,d,c),fg(d)&&wy(l,c,d),o!=null&&Dy(c,d,a),HS}var Gy=Wy;function Wy(t,e,n,r){return hn(!0),e[Qe].createComment("")}function US(t,e,n,r){let i=e[Xt],s=!i||Is()||ks(n)||lc(i,r);if(hn(s),s)return Wy(t,e,n,r);let o=i.data[Au]?.[r]??null;o!==null&&n.tView!==null&&n.tView.ssrId===null&&(n.tView.ssrId=o);let a=mc(i,t,e,n);cc(i,r,a);let c=Cd(i,r);return gc(c,a)}function VS(){Gy=US}function qS(t,e,n,r){return qd(t,Tg(),n)?e+Za(n)+r:As}function $S(t,e,n){let r=tt(),i=Tg();if(qd(r,i,e)){let s=Fr(),o=kD();Z_(s,o,r,t,e,r[Qe],n,!1)}return $S}function Am(t,e,n,r,i){let s=e.inputs,o=i?"class":"style";Fd(t,n,s[o],o,r)}function zS(t,e,n,r,i,s){let o=e.consts,a=Ma(o,i),c=hc(e,t,2,r,a);return Sy(e,n,c,Ma(o,s)),c.attrs!==null&&zu(c,c.attrs,!1),c.mergedAttrs!==null&&zu(c,c.mergedAttrs,!0),e.queries!==null&&e.queries.elementStart(e,c),c}function Qy(t,e,n,r){let i=tt(),s=Fr(),o=Ze+t,a=i[Qe],c=s.firstCreatePass?zS(o,s,i,e,n,r):s.data[o],l=Yy(s,i,c,a,e,t);i[o]=l;let u=fg(c);return Ns(c,!0),my(a,l,c),!ks(c)&&md()&&Od(s,i,l,c),bD()===0&&Or(l,i),wD(),u&&(wy(s,i,c),by(s,c,i)),r!==null&&Dy(i,c),Qy}function Ky(){let t=fn();_g()?ID():(t=t.parent,Ns(t,!1));let e=t;_D(e)&&SD(),DD();let n=Fr();return n.firstCreatePass&&(gd(n,t),dg(t)&&n.queries.elementEnd(t)),e.classesWithoutHost!=null&&BD(e)&&Am(n,e,tt(),e.classesWithoutHost,!0),e.stylesWithoutHost!=null&&HD(e)&&Am(n,e,tt(),e.stylesWithoutHost,!1),Ky}function $d(t,e,n,r){return Qy(t,e,n,r),Ky(),$d}var Yy=(t,e,n,r,i,s)=>(hn(!0),uc(r,i,xg()));function GS(t,e,n,r,i,s){let o=e[Xt],a=!o||Is()||ks(n)||lc(o,s);if(hn(a),a)return uc(r,i,xg());let c=mc(o,t,e,n);return ty(o,s)&&cc(o,s,c.nextSibling),o&&(Wg(n)||Qg(c))&&Ti(n)&&(TD(n),hy(c)),c}function WS(){Yy=GS}var QS=(t,e,n,r)=>(hn(!0),xd(e[Qe],""));function KS(t,e,n,r){let i,s=e[Xt],o=!s||Is()||ks(n);if(hn(o),o)return xd(e[Qe],"");let a=mc(s,t,e,n),c=h_(s,r);return cc(s,r,a),i=gc(c,a),i}function YS(){QS=KS}var wi="en-US";var ZS=wi;function Zy(t){typeof t=="string"&&(ZS=t.toLowerCase().replace(/_/g,"-"))}function Xy(t,e,n){let r=t[Qe];switch(n){case Node.COMMENT_NODE:return xd(r,e);case Node.TEXT_NODE:return Ad(r,e);case Node.ELEMENT_NODE:return uc(r,e,null)}}var XS=(t,e,n,r)=>(hn(!0),Xy(t,n,r));function JS(t,e,n,r){return hn(!0),Xy(t,n,r)}function eC(){XS=JS}function tC(t,e,n,r){n>=t.data.length&&(t.data[n]=null,t.blueprint[n]=null),e[n]=r}function fL(t,e=""){let n=tt(),r=Fr(),i=t+Ze,s=r.firstCreatePass?hc(r,i,1,e,null):r.data[i],o=Jy(r,n,s,e,t);n[i]=o,md()&&Od(r,n,o,s),Ns(s,!1)}var Jy=(t,e,n,r,i)=>(hn(!0),Ad(e[Qe],r));function nC(t,e,n,r,i){let s=e[Xt],o=!s||Is()||ks(n)||lc(s,i);return hn(o),o?Ad(e[Qe],r):mc(s,t,e,n)}function rC(){Jy=nC}function iC(t){return ev("",t,""),iC}function ev(t,e,n){let r=tt(),i=qS(r,t,e,n);return i!==As&&fT(r,pd(),i),ev}var sC=(()=>{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=ag(!1,r.type),s=i.length>0?Vd([i],this._injector,`Standalone[${r.type.name}]`):null;this.cachedInjectors.set(r,s)}return this.cachedInjectors.get(r)}ngOnDestroy(){try{for(let r of this.cachedInjectors.values())r!==null&&r.destroy()}finally{this.cachedInjectors.clear()}}};e.\u0275prov=ie({token:e,providedIn:"environment",factory:()=>new e(ue(Ht))});let t=e;return t})();function tv(t){Ci("NgStandalone"),t.getStandaloneInjector=e=>e.get(sC).getOrCreateStandaloneInjector(t)}function oC(t,e){let n=t[e];return n===As?void 0:n}function aC(t,e,n,r,i,s){let o=e+n;return qd(t,o,i)?jS(t,o+1,s?r.call(s,i):r(i)):oC(t,o+1)}function hL(t,e){let n=Fr(),r,i=t+Ze;n.firstCreatePass?(r=cC(e,n.pipeRegistry),n.data[i]=r,r.onDestroy&&(n.destroyHooks??=[]).push(i,r.onDestroy)):r=n.data[i];let s=r.factory||(r.factory=Mr(r.type,!0)),o,a=Dt(Br);try{let c=Ra(!1),l=s();return Ra(c),tC(n,tt(),i,l),l}finally{Dt(a)}}function cC(t,e){if(e)for(let n=e.length-1;n>=0;n--){let r=e[n];if(t===r.name)return r}}function pL(t,e,n){let r=t+Ze,i=tt(),s=gD(i,r);return lC(i,r)?aC(i,ND(),e,s.transform,n,s):s.transform(n)}function lC(t,e){return t[ye].data[e].pure}var ma=null;function uC(t){ma!==null&&(t.defaultEncapsulation!==ma.defaultEncapsulation||t.preserveWhitespaces!==ma.preserveWhitespaces)||(ma=t)}var vc=(()=>{let e=class e{log(r){console.log(r)}warn(r){console.warn(r)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=ie({token:e,factory:e.\u0275fac,providedIn:"platform"});let t=e;return t})();var Ec=new ce(""),nv=new ce(""),zd=(()=>{let e=class e{constructor(r,i,s){this._ngZone=r,this.registry=i,this._pendingCount=0,this._isZoneStable=!0,this._callbacks=[],this.taskTrackingZone=null,Gd||(dC(s),s.addToWindow(i)),this._watchAngularEvents(),r.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{Be.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&this._pendingCount===0&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;this._callbacks.length!==0;){let r=this._callbacks.pop();clearTimeout(r.timeoutId),r.doneCb()}});else{let r=this.getPendingTasks();this._callbacks=this._callbacks.filter(i=>i.updateCb&&i.updateCb(r)?(clearTimeout(i.timeoutId),!1):!0)}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(r=>({source:r.source,creationLocation:r.creationLocation,data:r.data})):[]}addCallback(r,i,s){let o=-1;i&&i>0&&(o=setTimeout(()=>{this._callbacks=this._callbacks.filter(a=>a.timeoutId!==o),r()},i)),this._callbacks.push({doneCb:r,timeoutId:o,updateCb:s})}whenStable(r,i,s){if(s&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(r,i,s),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(r){this.registry.registerApplication(r,this)}unregisterApplication(r){this.registry.unregisterApplication(r)}findProviders(r,i,s){return[]}};e.\u0275fac=function(i){return new(i||e)(ue(Be),ue(rv),ue(nv))},e.\u0275prov=ie({token:e,factory:e.\u0275fac});let t=e;return t})(),rv=(()=>{let e=class e{constructor(){this._applications=new Map}registerApplication(r,i){this._applications.set(r,i)}unregisterApplication(r){this._applications.delete(r)}unregisterAllApplications(){this._applications.clear()}getTestability(r){return this._applications.get(r)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(r,i=!0){return Gd?.findTestabilityInTree(this,r,i)??null}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=ie({token:e,factory:e.\u0275fac,providedIn:"platform"});let t=e;return t})();function dC(t){Gd=t}var Gd;function Ls(t){return!!t&&typeof t.then=="function"}function iv(t){return!!t&&typeof t.subscribe=="function"}var sv=new ce(""),Wd=(()=>{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=W(sv,{optional:!0})??[]}runInitializers(){if(this.initialized)return;let r=[];for(let s of this.appInits){let o=s();if(Ls(o))r.push(o);else if(iv(o)){let a=new Promise((c,l)=>{o.subscribe({complete:c,error:l})});r.push(a)}}let i=()=>{this.done=!0,this.resolve()};Promise.all(r).then(()=>{i()}).catch(s=>{this.reject(s)}),r.length===0&&i(),this.initialized=!0}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=ie({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Ii=new ce("");function ov(){Tp(()=>{throw new z(600,!1)})}function fC(t){return t.isBoundToModule}function av(t,e,n){try{let r=n();return Ls(r)?r.catch(i=>{throw e.runOutsideAngular(()=>t.handleError(i)),i}):r}catch(r){throw e.runOutsideAngular(()=>t.handleError(r)),r}}function cv(t,e){return Array.isArray(e)?e.reduce(cv,t):J(J({},t),e)}var rn=(()=>{let e=class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=W(zg),this.afterRenderEffectManager=W(Uy),this.externalTestViews=new Set,this.beforeRender=new ut,this.afterTick=new ut,this.componentTypes=[],this.components=[],this.isStable=W(Os).hasPendingTasks.pipe(Se(r=>!r)),this._injector=W(Ht)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(r,i){let s=r instanceof Ha;if(!this._injector.get(Wd).done){let D=!s&&rg(r),N=!1;throw new z(405,N)}let a;s?a=r:a=this._injector.get(yc).resolveComponentFactory(r),this.componentTypes.push(a.componentType);let c=fC(a)?void 0:this._injector.get(sr),l=i||a.selector,u=a.create(nn.NULL,[],l,c),d=u.location.nativeElement,g=u.injector.get(Ec,null);return g?.registerApplication(d),u.onDestroy(()=>{this.detachView(u.hostView),Da(this.components,u),g?.unregisterApplication(d)}),this._loadComponent(u),u}tick(){this._tick(!0)}_tick(r){if(this._runningTick)throw new z(101,!1);let i=Fe(null);try{this._runningTick=!0,this.detectChangesInAttachedViews(r)}catch(s){this.internalErrorHandler(s)}finally{this.afterTick.next(),this._runningTick=!1,Fe(i)}}detectChangesInAttachedViews(r){let i=0,s=this.afterRenderEffectManager;for(;;){if(i===Ry)throw new z(103,!1);if(r){let o=i===0;this.beforeRender.next(o);for(let{_lView:a,notifyErrorHandler:c}of this._views)hC(a,o,c)}if(i++,s.executeInternalCallbacks(),![...this.externalTestViews.keys(),...this._views].some(({_lView:o})=>Qu(o))&&(s.execute(),![...this.externalTestViews.keys(),...this._views].some(({_lView:o})=>Qu(o))))break}}attachView(r){let i=r;this._views.push(i),i.attachToAppRef(this)}detachView(r){let i=r;Da(this._views,i),i.detachFromAppRef()}_loadComponent(r){this.attachView(r.hostView),this.tick(),this.components.push(r);let i=this._injector.get(Ii,[]);[...this._bootstrapListeners,...i].forEach(s=>s(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),()=>Da(this._destroyListeners,r)}destroy(){if(this._destroyed)throw new z(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=ie({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function Da(t,e){let n=t.indexOf(e);n>-1&&t.splice(n,1)}var ga;function Ps(t){ga??=new WeakMap;let e=ga.get(t);if(e)return e;let n=t.isStable.pipe(Wt(r=>r)).toPromise().then(()=>{});return ga.set(t,n),t.onDestroy(()=>ga?.delete(t)),n}function hC(t,e,n){!e&&!Qu(t)||pC(t,n,e)}function Qu(t){return dd(t)}function pC(t,e,n){let r;n?(r=0,t[le]|=1024):t[le]&64?r=0:r=1,Oy(t,e,r)}var Ku=class{constructor(e,n){this.ngModuleFactory=e,this.componentFactories=n}},Qd=(()=>{let e=class e{compileModuleSync(r){return new $a(r)}compileModuleAsync(r){return Promise.resolve(this.compileModuleSync(r))}compileModuleAndAllComponentsSync(r){let i=this.compileModuleSync(r),s=ig(r),o=oy(s.declarations).reduce((a,c)=>{let l=ir(c);return l&&a.push(new ws(l)),a},[]);return new Ku(i,o)}compileModuleAndAllComponentsAsync(r){return Promise.resolve(this.compileModuleAndAllComponentsSync(r))}clearCache(){}clearCacheFor(r){}getModuleId(r){}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=ie({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),mC=new ce("");function gC(t,e,n){let r=new $a(n);return Promise.resolve(r)}function xm(t){for(let e=t.length-1;e>=0;e--)if(t[e]!==void 0)return t[e]}var yC=(()=>{let e=class e{constructor(){this.zone=W(Be),this.applicationRef=W(rn)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=ie({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function lv(t){return[{provide:Be,useFactory:t},{provide:Ar,multi:!0,useFactory:()=>{let e=W(yC,{optional:!0});return()=>e.initialize()}},{provide:Ar,multi:!0,useFactory:()=>{let e=W(bC);return()=>{e.initialize()}}},{provide:zg,useFactory:vC}]}function vC(){let t=W(Be),e=W(dn);return n=>t.runOutsideAngular(()=>e.handleError(n))}function EC(t){let e=lv(()=>new Be(uv(t)));return On([[],e])}function uv(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:t?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:t?.runCoalescing??!1}}var bC=(()=>{let e=class e{constructor(){this.subscription=new nt,this.initialized=!1,this.zone=W(Be),this.pendingTasks=W(Os)}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(()=>{Be.assertNotInAngularZone(),queueMicrotask(()=>{r!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(r),r=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{Be.assertInAngularZone(),r??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=ie({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function wC(){return typeof $localize<"u"&&$localize.locale||wi}var bc=new ce("",{providedIn:"root",factory:()=>W(bc,be.Optional|be.SkipSelf)||wC()});var Kd=new ce(""),dv=(()=>{let e=class e{constructor(r){this._injector=r,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(r,i){let s=fS(i?.ngZone,uv({eventCoalescing:i?.ngZoneEventCoalescing,runCoalescing:i?.ngZoneRunCoalescing}));return s.run(()=>{let o=LS(r.moduleType,this.injector,lv(()=>s)),a=o.injector.get(dn,null);return s.runOutsideAngular(()=>{let c=s.onError.subscribe({next:l=>{a.handleError(l)}});o.onDestroy(()=>{Da(this._modules,o),c.unsubscribe()})}),av(a,s,()=>{let c=o.injector.get(Wd);return c.runInitializers(),c.donePromise.then(()=>{let l=o.injector.get(bc,wi);return Zy(l||wi),this._moduleDoBootstrap(o),o})})})}bootstrapModule(r,i=[]){let s=cv({},i);return gC(this.injector,s,r).then(o=>this.bootstrapModuleFactory(o,s))}_moduleDoBootstrap(r){let i=r.injector.get(rn);if(r._bootstrapComponents.length>0)r._bootstrapComponents.forEach(s=>i.bootstrap(s));else if(r.instance.ngDoBootstrap)r.instance.ngDoBootstrap(i);else throw new z(-403,!1);this._modules.push(r)}onDestroy(r){this._destroyListeners.push(r)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new z(404,!1);this._modules.slice().forEach(i=>i.destroy()),this._destroyListeners.forEach(i=>i());let r=this._injector.get(Kd,null);r&&(r.forEach(i=>i()),r.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}};e.\u0275fac=function(i){return new(i||e)(ue(nn))},e.\u0275prov=ie({token:e,factory:e.\u0275fac,providedIn:"platform"});let t=e;return t})(),nr=null,wc=new ce("");function DC(t){if(nr&&!nr.get(wc,!1))throw new z(400,!1);ov(),nr=t;let e=t.get(dv);return pv(t),e}function Dc(t,e,n=[]){let r=`Platform: ${e}`,i=new ce(r);return(s=[])=>{let o=hv();if(!o||o.injector.get(wc,!1)){let a=[...n,...s,{provide:i,useValue:!0}];t?t(a):DC(fv(a,r))}return _C(i)}}function fv(t=[],e){return nn.create({name:e,providers:[{provide:ec,useValue:"platform"},{provide:Kd,useValue:new Set([()=>nr=null])},...t]})}function _C(t){let e=hv();if(!e)throw new z(401,!1);return e}function hv(){return nr?.get(dv)??null}function TC(t=[]){if(nr)return nr;let e=fv(t);return nr=e,ov(),pv(e),e}function pv(t){t.get(Ms,null)?.forEach(n=>n())}var Fs=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=SC;let t=e;return t})();function SC(t){return CC(fn(),tt(),(t&16)===16)}function CC(t,e,n){if(Ti(t)&&!n){let r=Pr(t.index,e);return new kr(r,r)}else if(t.type&47){let r=e[Nt];return new kr(r,e)}return null}var Yu=class{constructor(){}supports(e){return zy(e)}create(e){return new Zu(e)}},IC=(t,e)=>e,Zu=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||IC}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,s=null;for(;n||r;){let o=!r||n&&n.currentIndex<Rm(r,i,s)?n:r,a=Rm(o,i,s),c=o.currentIndex;if(o===r)i--,r=r._nextRemoved;else if(n=n._next,o.previousIndex==null)i++;else{s||(s=[]);let l=a-i,u=c-i;if(l!=u){for(let g=0;g<l;g++){let D=g<s.length?s[g]:s[g]=0,N=D+g;u<=N&&N<l&&(s[g]=D+1)}let d=o.previousIndex;s[d]=u-l}}a!==c&&e(o,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=[]),!zy(e))throw new z(900,!1);return this.check(e)?this:null}onDestroy(){}check(e){this._reset();let n=this._itHead,r=!1,i,s,o;if(Array.isArray(e)){this.length=e.length;for(let a=0;a<this.length;a++)s=e[a],o=this._trackByFn(a,s),n===null||!Object.is(n.trackById,o)?(n=this._mismatch(n,s,o,a),r=!0):(r&&(n=this._verifyReinsertion(n,s,o,a)),Object.is(n.item,s)||this._addIdentityChange(n,s)),n=n._next}else i=0,PS(e,a=>{o=this._trackByFn(i,a),n===null||!Object.is(n.trackById,o)?(n=this._mismatch(n,a,o,i),r=!0):(r&&(n=this._verifyReinsertion(n,a,o,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 s;return e===null?s=this._itTail:(s=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,s,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,s,i)):e=this._addAfter(new Xu(n,r),s,i)),e}_verifyReinsertion(e,n,r,i){let s=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null);return s!==null?e=this._reinsertAfter(s,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,s=e._nextRemoved;return i===null?this._removalsHead=s:i._nextRemoved=s,s===null?this._removalsTail=i:s._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 Ga),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 Ga),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}},Xu=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}},Ju=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}},Ga=class{constructor(){this.map=new Map}put(e){let n=e.trackById,r=this.map.get(n);r||(r=new Ju,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 Rm(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 Om(){return new Yd([new Yu])}var Yd=(()=>{let e=class e{constructor(r){this.factories=r}static create(r,i){if(i!=null){let s=i.factories.slice();r=r.concat(s)}return new e(r)}static extend(r){return{provide:e,useFactory:i=>e.create(r,i||Om()),deps:[[e,new Wm,new Ts]]}}find(r){let i=this.factories.find(s=>s.supports(r));if(i!=null)return i;throw new z(901,!1)}};e.\u0275prov=ie({token:e,providedIn:"root",factory:Om});let t=e;return t})();var Zd=Dc(null,"core",[]);function mv(t){try{let{rootComponent:e,appProviders:n,platformProviders:r}=t,i=TC(r),s=[EC(),...n||[]],a=new za({providers:s,parent:i,debugName:"",runEnvironmentInitializers:!1}).injector,c=a.get(Be);return c.run(()=>{a.resolveInjectorInitializers();let l=a.get(dn,null),u;c.runOutsideAngular(()=>{u=c.onError.subscribe({next:D=>{l.handleError(D)}})});let d=()=>a.destroy(),g=i.get(Kd);return g.add(d),a.onDestroy(()=>{u.unsubscribe(),g.delete(d)}),av(l,c,()=>{let D=a.get(Wd);return D.runInitializers(),D.donePromise.then(()=>{let N=a.get(bc,wi);Zy(N||wi);let M=a.get(rn);return e!==void 0&&M.bootstrap(e),M})})})}catch(e){return Promise.reject(e)}}var km=!1,gv=!1;function NC(){km||(km=!0,u_(),WS(),rC(),YS(),VS(),NS(),nS(),W_(),eC())}function MC(t,e){return Ps(t)}function yv(){return On([{provide:hi,useFactory:()=>{let t=!0;return pa()&&(t=!!W(pn,{optional:!0})?.get(_d,null)),t&&Ci("NgHydration"),t}},{provide:Ar,useValue:()=>{gv=!!W(p_,{optional:!0}),pa()&&W(hi)&&(xC(),NC())},multi:!0},{provide:ry,useFactory:()=>pa()&&W(hi)},{provide:Ii,useFactory:()=>{if(pa()&&W(hi)){let t=W(rn),e=W(nn);return()=>{MC(t,e).then(()=>{Be.assertInAngularZone(),$T(t)})}}return()=>{}},multi:!0}])}function AC(){return gv}function xC(){let t=ac(),e;for(let n of t.body.childNodes)if(n.nodeType===Node.COMMENT_NODE&&n.textContent?.trim()===Td){e=n;break}if(!e)throw new z(-507,!1)}var ed=class{constructor(){this.views=[],this.indexByContent=new Map}add(e){let n=JSON.stringify(e);if(!this.indexByContent.has(n)){let r=this.views.length;return this.views.push(e),this.indexByContent.set(n,r),r}return this.indexByContent.get(n)}getAll(){return this.views}},RC=0;function vv(t){return t.ssrId||(t.ssrId=`t${RC++}`),t.ssrId}function Ev(t,e,n){let r=[];return vs(t,e,n,r),r.length}function OC(t){let e=[];return Ay(t,e),e.length}function bv(t,e){let n=t[Ye];return n&&!n.hasAttribute(ms)?Qa(n,t,e):null}function wv(t,e){let n=yg(t[Ye]),r=bv(n,e),i=at(n[Ye]),s=t[ct],o=Qa(i,s,e),a=n[Qe],c=`${r}|${o}`;a.setAttribute(i,is,c)}function Dv(t,e){let n=new ed,r=new Map,i=t._views;for(let a of i){let c=ey(a);if(c!==null){let l={serializedViewCollection:n,corruptedTextNodes:r};Mt(c)?wv(c,l):bv(c,l),FC(r,e)}}let s=n.getAll();t.injector.get(pn).set(_d,s)}function kC(t,e){let n=[],r="";for(let i=_t;i<t.length;i++){let s=t[i],o,a,c;if(ld(s)&&(s=s[Ze],Mt(s))){a=OC(s)+1,wv(s,e);let u=yg(s[Ye]);c={[xu]:u[ye].ssrId,[bi]:a}}if(!c){let u=s[ye];u.type===1?(o=u.ssrId,a=1):(o=vv(u),a=Ev(u,s,u.firstChild)),c=J({[xu]:o,[bi]:a},_v(t[i],e))}let l=JSON.stringify(c);if(n.length>0&&l===r){let u=n[n.length-1];u[La]??=1,u[La]++}else r=l,n.push(c)}return n}function Wa(t,e,n){let r=e.index-Ze;t[Ru]??={},t[Ru][r]=JT(e,n)}function Lm(t,e){let n=e.index-Ze;t[ba]??=[],t[ba].includes(n)||t[ba].push(n)}function _v(t,e){let n={},r=t[ye];for(let i=Ze;i<r.bindingStartIndex;i++){let s=r.data[i],o=i-Ze;if(jD(s)){if(Es(s,t)&&jC(s)){Lm(n,s);continue}if(Array.isArray(s.projection)){for(let a of s.projection)if(a)if(!Array.isArray(a))!oD(a)&&!ka(a)&&(Es(a,t)?Lm(n,a):Wa(n,a,t));else throw OT(at(t[i]))}if(LC(n,s,t),Mt(t[i])){let a=s.tView;a!==null&&(n[Au]??={},n[Au][o]=vv(a));let c=t[i][Ye];if(Array.isArray(c)){let l=at(c);l.hasAttribute(ms)||Qa(l,c,e)}n[ys]??={},n[ys][o]=kC(t[i],e)}else if(Array.isArray(t[i])){let a=at(t[i][Ye]);a.hasAttribute(ms)||Qa(a,t[i],e)}else if(s.type&8)n[Mu]??={},n[Mu][o]=Ev(r,t,s.child);else if(s.type&16){let a=s.next;for(;a!==null&&a.type&16;)a=a.next;a&&!ka(a)&&Wa(n,a,t)}else if(s.type&1){let a=at(t[i]);a.textContent===""?e.corruptedTextNodes.set(a,"ngetn"):a.nextSibling?.nodeType===Node.TEXT_NODE&&e.corruptedTextNodes.set(a,"ngtns")}}}return n}function LC(t,e,n){e.projectionNext&&e.projectionNext!==e.next&&!ka(e.projectionNext)&&Wa(t,e.projectionNext,n),e.prev===null&&e.parent!==null&&Es(e.parent,n)&&!Es(e,n)&&Wa(t,e,n)}function PC(t){let e=t[xn];return e?.constructor?ir(e.constructor)?.encapsulation===Zt.ShadowDom:!1}function Qa(t,e,n){let r=e[Qe];if(aD(e)&&!AC()||PC(e))return r.setAttribute(t,ms,""),null;{let i=_v(e,n),s=n.serializedViewCollection.add(i);return r.setAttribute(t,is,s.toString()),s}}function FC(t,e){for(let[n,r]of t)n.after(e.createComment(r))}function jC(t){let e=t;for(;e!=null;){if(Ti(e))return!0;e=e.parent}return!1}function mL(...t){return t.reduce((e,n)=>Object.assign(e,n,{providers:[...e.providers,...n.providers]}),{providers:[]})}var Iv=null;function mn(){return Iv}function Tc(t){Iv??=t}var _c=class{};var $e=new ce(""),Bs=(()=>{let e=class e{historyGo(r){throw new Error("")}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=ie({token:e,factory:()=>W(VC),providedIn:"platform"});let t=e;return t})();var VC=(()=>{let e=class e extends Bs{constructor(){super(),this._doc=W($e),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return mn().getBaseHref(this._doc)}onPopState(r){let i=mn().getGlobalEventTarget(this._doc,"window");return i.addEventListener("popstate",r,!1),()=>i.removeEventListener("popstate",r)}onHashChange(r){let i=mn().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,s){this._history.pushState(r,i,s)}replaceState(r,i,s){this._history.replaceState(r,i,s)}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=ie({token:e,factory:()=>new e,providedIn:"platform"});let t=e;return t})();function Nv(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 Tv(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 Hr(t){return t&&t[0]!=="?"?"?"+t:t}var Sc=(()=>{let e=class e{historyGo(r){throw new Error("")}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=ie({token:e,factory:()=>W(Mv),providedIn:"root"});let t=e;return t})(),qC=new ce(""),Mv=(()=>{let e=class e extends Sc{constructor(r,i){super(),this._platformLocation=r,this._removeListenerFns=[],this._baseHref=i??this._platformLocation.getBaseHrefFromDOM()??W($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 Nv(this._baseHref,r)}path(r=!1){let i=this._platformLocation.pathname+Hr(this._platformLocation.search),s=this._platformLocation.hash;return s&&r?`${i}${s}`:i}pushState(r,i,s,o){let a=this.prepareExternalUrl(s+Hr(o));this._platformLocation.pushState(r,i,a)}replaceState(r,i,s,o){let a=this.prepareExternalUrl(s+Hr(o));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)(ue(Bs),ue(qC,8))},e.\u0275prov=ie({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var Hs=(()=>{let e=class e{constructor(r){this._subject=new yt,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=r;let i=this._locationStrategy.getBaseHref();this._basePath=GC(Tv(Sv(i))),this._locationStrategy.onPopState(s=>{this._subject.emit({url:this.path(!0),pop:!0,state:s.state,type:s.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+Hr(i))}normalize(r){return e.stripTrailingSlash(zC(this._basePath,Sv(r)))}prepareExternalUrl(r){return r&&r[0]!=="/"&&(r="/"+r),this._locationStrategy.prepareExternalUrl(r)}go(r,i="",s=null){this._locationStrategy.pushState(s,"",r,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(r+Hr(i)),s)}replaceState(r,i="",s=null){this._locationStrategy.replaceState(s,"",r,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(r+Hr(i)),s)}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(s=>s(r,i))}subscribe(r,i,s){return this._subject.subscribe({next:r,error:i,complete:s})}};e.normalizeQueryParams=Hr,e.joinWithSlash=Nv,e.stripTrailingSlash=Tv,e.\u0275fac=function(i){return new(i||e)(ue(Sc))},e.\u0275prov=ie({token:e,factory:()=>$C(),providedIn:"root"});let t=e;return t})();function $C(){return new Hs(ue(Sc))}function zC(t,e){if(!t||!e.startsWith(t))return e;let n=e.substring(t.length);return n===""||["/",";","?","#"].includes(n[0])?n:e}function Sv(t){return t.replace(/\/index.html$/,"")}function GC(t){if(new RegExp("^(https?:)?//").test(t)){let[,n]=t.split(/\/\/[^\/]+/);return n}return t}function Av(t,e){e=encodeURIComponent(e);for(let n of t.split(";")){let r=n.indexOf("="),[i,s]=r==-1?[n,""]:[n.slice(0,r),n.slice(r+1)];if(i.trim()===e)return decodeURIComponent(s)}return null}var Xd=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}},HL=(()=>{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,s){this._viewContainer=r,this._template=i,this._differs=s,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((s,o,a)=>{if(s.previousIndex==null)i.createEmbeddedView(this._template,new Xd(s.item,this._ngForOf,-1,-1),a===null?void 0:a);else if(a==null)i.remove(o===null?void 0:o);else if(o!==null){let c=i.get(o);i.move(c,a),Cv(c,s)}});for(let s=0,o=i.length;s<o;s++){let c=i.get(s).context;c.index=s,c.count=o,c.ngForOf=this._ngForOf}r.forEachIdentityChange(s=>{let o=i.get(s.currentIndex);Cv(o,s)})}static ngTemplateContextGuard(r,i){return!0}};e.\u0275fac=function(i){return new(i||e)(Br(Rs),Br(Bd),Br(Yd))},e.\u0275dir=Ja({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0});let t=e;return t})();function Cv(t,e){t.context.$implicit=e.item}function WC(t,e){return new z(2100,!1)}var QC=/(?:[0-9A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD23\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF1C\uDF27\uDF30-\uDF45\uDF70-\uDF81\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDEB8\uDF00-\uDF1A\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCDF\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDEE0-\uDEF2\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE70-\uDEBE\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE7F\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD837[\uDF00-\uDF1E]|\uD838[\uDD00-\uDD2C\uDD37-\uDD3D\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB]|\uD839[\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43\uDD4B]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF38\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A])\S*/g,UL=(()=>{let e=class e{transform(r){if(r==null)return null;if(typeof r!="string")throw WC(e,r);return r.replace(QC,i=>i[0].toUpperCase()+i.slice(1).toLowerCase())}};e.\u0275fac=function(i){return new(i||e)},e.\u0275pipe=eg({name:"titlecase",type:e,pure:!0,standalone:!0});let t=e;return t})();var KC=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=_i({type:e}),e.\u0275inj=Di({});let t=e;return t})(),tf="browser",nf="server";function YC(t){return t===tf}function rf(t){return t===nf}var sf=(()=>{let e=class e{};e.\u0275prov=ie({token:e,providedIn:"root",factory:()=>YC(W(Ut))?new Jd(W($e),window):new js});let t=e;return t})(),Jd=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=ZC(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,s=this.offset();this.window.scrollTo(r-s[0],i-s[1])}};function ZC(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 s=i.shadowRoot;if(s){let o=s.getElementById(e)||s.querySelector(`[name="${e}"]`);if(o)return o}i=r.nextNode()}}return null}var js=class{setOffset(e){}getScrollPosition(){return[0,0]}scrollToPosition(e){}scrollToAnchor(e){}setHistoryScrollRestoration(e){}},Mi=class{};var Ic=class t{constructor(e){this.normalizedNames=new Map,this.lazyUpdate=null,e?typeof e=="string"?this.lazyInit=()=>{this.headers=new Map,e.split(`
`).forEach(n=>{let r=n.indexOf(":");if(r>0){let i=n.slice(0,r),s=i.toLowerCase(),o=n.slice(r+1).trim();this.maybeSetNormalizedName(i,s),this.headers.has(s)?this.headers.get(s).push(o):this.headers.set(s,[o])}})}:typeof Headers<"u"&&e instanceof Headers?(this.headers=new Map,e.forEach((n,r)=>{this.setHeaderEntries(r,n)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(e).forEach(([n,r])=>{this.setHeaderEntries(n,r)})}:this.headers=new Map}has(e){return this.init(),this.headers.has(e.toLowerCase())}get(e){this.init();let n=this.headers.get(e.toLowerCase());return n&&n.length>0?n[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(e){return this.init(),this.headers.get(e.toLowerCase())||null}append(e,n){return this.clone({name:e,value:n,op:"a"})}set(e,n){return this.clone({name:e,value:n,op:"s"})}delete(e,n){return this.clone({name:e,value:n,op:"d"})}maybeSetNormalizedName(e,n){this.normalizedNames.has(n)||this.normalizedNames.set(n,e)}init(){this.lazyInit&&(this.lazyInit instanceof t?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(e=>this.applyUpdate(e)),this.lazyUpdate=null))}copyFrom(e){e.init(),Array.from(e.headers.keys()).forEach(n=>{this.headers.set(n,e.headers.get(n)),this.normalizedNames.set(n,e.normalizedNames.get(n))})}clone(e){let n=new t;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof t?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([e]),n}applyUpdate(e){let n=e.name.toLowerCase();switch(e.op){case"a":case"s":let r=e.value;if(typeof r=="string"&&(r=[r]),r.length===0)return;this.maybeSetNormalizedName(e.name,n);let i=(e.op==="a"?this.headers.get(n):void 0)||[];i.push(...r),this.headers.set(n,i);break;case"d":let s=e.value;if(!s)this.headers.delete(n),this.normalizedNames.delete(n);else{let o=this.headers.get(n);if(!o)return;o=o.filter(a=>s.indexOf(a)===-1),o.length===0?(this.headers.delete(n),this.normalizedNames.delete(n)):this.headers.set(n,o)}break}}setHeaderEntries(e,n){let r=(Array.isArray(n)?n:[n]).map(s=>s.toString()),i=e.toLowerCase();this.headers.set(i,r),this.maybeSetNormalizedName(e,i)}forEach(e){this.init(),Array.from(this.normalizedNames.keys()).forEach(n=>e(this.normalizedNames.get(n),this.headers.get(n)))}};var jv=function(t){return t[t.Sent=0]="Sent",t[t.UploadProgress=1]="UploadProgress",t[t.ResponseHeader=2]="ResponseHeader",t[t.DownloadProgress=3]="DownloadProgress",t[t.Response=4]="Response",t[t.User=5]="User",t}(jv||{}),of=class{constructor(e,n=Bv.Ok,r="OK"){this.headers=e.headers||new Ic,this.status=e.status!==void 0?e.status:n,this.statusText=e.statusText||r,this.url=e.url||null,this.ok=this.status>=200&&this.status<300}};var Nc=class t extends of{constructor(e={}){super(e),this.type=jv.Response,this.body=e.body!==void 0?e.body:null}clone(e={}){return new t({body:e.body!==void 0?e.body:this.body,headers:e.headers||this.headers,status:e.status!==void 0?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}};var Bv=function(t){return t[t.Continue=100]="Continue",t[t.SwitchingProtocols=101]="SwitchingProtocols",t[t.Processing=102]="Processing",t[t.EarlyHints=103]="EarlyHints",t[t.Ok=200]="Ok",t[t.Created=201]="Created",t[t.Accepted=202]="Accepted",t[t.NonAuthoritativeInformation=203]="NonAuthoritativeInformation",t[t.NoContent=204]="NoContent",t[t.ResetContent=205]="ResetContent",t[t.PartialContent=206]="PartialContent",t[t.MultiStatus=207]="MultiStatus",t[t.AlreadyReported=208]="AlreadyReported",t[t.ImUsed=226]="ImUsed",t[t.MultipleChoices=300]="MultipleChoices",t[t.MovedPermanently=301]="MovedPermanently",t[t.Found=302]="Found",t[t.SeeOther=303]="SeeOther",t[t.NotModified=304]="NotModified",t[t.UseProxy=305]="UseProxy",t[t.Unused=306]="Unused",t[t.TemporaryRedirect=307]="TemporaryRedirect",t[t.PermanentRedirect=308]="PermanentRedirect",t[t.BadRequest=400]="BadRequest",t[t.Unauthorized=401]="Unauthorized",t[t.PaymentRequired=402]="PaymentRequired",t[t.Forbidden=403]="Forbidden",t[t.NotFound=404]="NotFound",t[t.MethodNotAllowed=405]="MethodNotAllowed",t[t.NotAcceptable=406]="NotAcceptable",t[t.ProxyAuthenticationRequired=407]="ProxyAuthenticationRequired",t[t.RequestTimeout=408]="RequestTimeout",t[t.Conflict=409]="Conflict",t[t.Gone=410]="Gone",t[t.LengthRequired=411]="LengthRequired",t[t.PreconditionFailed=412]="PreconditionFailed",t[t.PayloadTooLarge=413]="PayloadTooLarge",t[t.UriTooLong=414]="UriTooLong",t[t.UnsupportedMediaType=415]="UnsupportedMediaType",t[t.RangeNotSatisfiable=416]="RangeNotSatisfiable",t[t.ExpectationFailed=417]="ExpectationFailed",t[t.ImATeapot=418]="ImATeapot",t[t.MisdirectedRequest=421]="MisdirectedRequest",t[t.UnprocessableEntity=422]="UnprocessableEntity",t[t.Locked=423]="Locked",t[t.FailedDependency=424]="FailedDependency",t[t.TooEarly=425]="TooEarly",t[t.UpgradeRequired=426]="UpgradeRequired",t[t.PreconditionRequired=428]="PreconditionRequired",t[t.TooManyRequests=429]="TooManyRequests",t[t.RequestHeaderFieldsTooLarge=431]="RequestHeaderFieldsTooLarge",t[t.UnavailableForLegalReasons=451]="UnavailableForLegalReasons",t[t.InternalServerError=500]="InternalServerError",t[t.NotImplemented=501]="NotImplemented",t[t.BadGateway=502]="BadGateway",t[t.ServiceUnavailable=503]="ServiceUnavailable",t[t.GatewayTimeout=504]="GatewayTimeout",t[t.HttpVersionNotSupported=505]="HttpVersionNotSupported",t[t.VariantAlsoNegotiates=506]="VariantAlsoNegotiates",t[t.InsufficientStorage=507]="InsufficientStorage",t[t.LoopDetected=508]="LoopDetected",t[t.NotExtended=510]="NotExtended",t[t.NetworkAuthenticationRequired=511]="NetworkAuthenticationRequired",t}(Bv||{});var af=new ce("");var xv="b",Rv="h",Ov="s",kv="st",Lv="u",Pv="rt",Cc=new ce(""),JC=["GET","HEAD"];function eI(t,e){let u=W(Cc),{isCacheActive:n}=u,r=zo(u,["isCacheActive"]),{transferCache:i,method:s}=t;if(!n||s==="POST"&&!r.includePostRequests&&!i||s!=="POST"&&!JC.includes(s)||i===!1||r.filter?.(t)===!1)return e(t);let o=W(pn),a=nI(t),c=o.get(a,null),l=r.includeHeaders;if(typeof i=="object"&&i.includeHeaders&&(l=i.includeHeaders),c){let{[xv]:d,[Pv]:g,[Rv]:D,[Ov]:N,[kv]:M,[Lv]:$}=c,L=d;switch(g){case"arraybuffer":L=new TextEncoder().encode(d).buffer;break;case"blob":L=new Blob([d]);break}let T=new Ic(D);return he(new Nc({body:L,headers:T,status:N,statusText:M,url:$}))}return e(t).pipe(it(d=>{d instanceof Nc&&o.set(a,{[xv]:d.body,[Rv]:tI(d.headers,l),[Ov]:d.status,[kv]:d.statusText,[Lv]:d.url||"",[Pv]:t.responseType})}))}function tI(t,e){if(!e)return{};let n={};for(let r of e){let i=t.getAll(r);i!==null&&(n[r]=i)}return n}function Fv(t){return[...t.keys()].sort().map(e=>`${e}=${t.getAll(e)}`).join("&")}function nI(t){let{params:e,method:n,responseType:r,url:i}=t,s=Fv(e),o=t.serializeBody();o instanceof URLSearchParams?o=Fv(o):typeof o!="string"&&(o="");let a=[n,r,i,o,s].join("|"),c=rI(a);return c}function rI(t){let e=0;for(let n of t)e=Math.imul(31,e)+n.charCodeAt(0)<<0;return e+=2147483648,e.toString()}function Hv(t){return[{provide:Cc,useFactory:()=>(Ci("NgHttpTransferCache"),J({isCacheActive:!0},t))},{provide:af,useValue:eI,multi:!0,deps:[pn,Cc]},{provide:Ii,multi:!0,useFactory:()=>{let e=W(rn),n=W(Cc);return()=>{Ps(e).then(()=>{n.isCacheActive=!1})}}}]}var uf=class extends _c{constructor(){super(...arguments),this.supportsDOMEvents=!0}},Vs=class t extends uf{static makeCurrent(){Tc(new t)}onAndCancel(e,n,r){return e.addEventListener(n,r),()=>{e.removeEventListener(n,r)}}dispatchEvent(e,n){e.dispatchEvent(n)}remove(e){e.parentNode&&e.parentNode.removeChild(e)}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=iI();return n==null?null:sI(n)}resetBaseElement(){Us=null}getUserAgent(){return window.navigator.userAgent}getCookie(e){return Av(document.cookie,e)}},Us=null;function iI(){return Us=Us||document.querySelector("base"),Us?Us.getAttribute("href"):null}function sI(t){return new URL(t,document.baseURI).pathname}var oI=(()=>{let e=class e{build(){return new XMLHttpRequest}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=ie({token:e,factory:e.\u0275fac});let t=e;return t})(),qs=new ce(""),qv=(()=>{let e=class e{constructor(r,i){this._zone=i,this._eventNameToPlugin=new Map,r.forEach(s=>{s.manager=this}),this._plugins=r.slice().reverse()}addEventListener(r,i,s){return this._findPluginFor(i).addEventListener(r,i,s)}getZone(){return this._zone}_findPluginFor(r){let i=this._eventNameToPlugin.get(r);if(i)return i;if(i=this._plugins.find(o=>o.supports(r)),!i)throw new z(5101,!1);return this._eventNameToPlugin.set(r,i),i}};e.\u0275fac=function(i){return new(i||e)(ue(qs),ue(Be))},e.\u0275prov=ie({token:e,factory:e.\u0275fac});let t=e;return t})(),Ai=class{constructor(e){this._doc=e}},cf="ng-app-id",$v=(()=>{let e=class e{constructor(r,i,s,o={}){this.doc=r,this.appId=i,this.nonce=s,this.platformId=o,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=rf(o),this.resetHostNodes()}addStyles(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(s=>s.remove()),i.delete(r)}collectServerRenderedStyles(){let r=this.doc.head?.querySelectorAll(`style[${cf}="${this.appId}"]`);if(r?.length){let i=new Map;return r.forEach(s=>{s.textContent!=null&&i.set(s.textContent,s)}),i}return null}changeUsageCount(r,i){let s=this.styleRef;if(s.has(r)){let o=s.get(r);return o.usage+=i,o.usage}return s.set(r,{usage:i,elements:[]}),i}getStyleElement(r,i){let s=this.styleNodesInDOM,o=s?.get(i);if(o?.parentNode===r)return s.delete(i),o.removeAttribute(cf),o;{let a=this.doc.createElement("style");return this.nonce&&a.setAttribute("nonce",this.nonce),a.textContent=i,this.platformIsServer&&a.setAttribute(cf,this.appId),r.appendChild(a),a}}addStyleToHost(r,i){let s=this.getStyleElement(r,i),o=this.styleRef,a=o.get(i)?.elements;a?a.push(s):o.set(i,{elements:[s],usage:1})}resetHostNodes(){let r=this.hostNodes;r.clear(),r.add(this.doc.head)}};e.\u0275fac=function(i){return new(i||e)(ue($e),ue(Si),ue(bd,8),ue(Ut))},e.\u0275prov=ie({token:e,factory:e.\u0275fac});let t=e;return t})(),lf={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},hf=/%COMP%/g,zv="%COMP%",aI=`_nghost-${zv}`,cI=`_ngcontent-${zv}`,lI=!0,uI=new ce("",{providedIn:"root",factory:()=>lI});function dI(t){return cI.replace(hf,t)}function fI(t){return aI.replace(hf,t)}function Gv(t,e){return e.map(n=>n.replace(hf,t))}var Mc=(()=>{let e=class e{constructor(r,i,s,o,a,c,l,u=null){this.eventManager=r,this.sharedStylesHost=i,this.appId=s,this.removeStylesOnCompDestroy=o,this.doc=a,this.platformId=c,this.ngZone=l,this.nonce=u,this.rendererByCompId=new Map,this.platformIsServer=rf(c),this.defaultRenderer=new $s(r,a,l,this.platformIsServer)}createRenderer(r,i){if(!r||!i)return this.defaultRenderer;this.platformIsServer&&i.encapsulation===Zt.ShadowDom&&(i=Je(J({},i),{encapsulation:Zt.Emulated}));let s=this.getOrCreateRenderer(r,i);return s instanceof Ac?s.applyToHost(r):s instanceof zs&&s.applyStyles(),s}getOrCreateRenderer(r,i){let s=this.rendererByCompId,o=s.get(i.id);if(!o){let a=this.doc,c=this.ngZone,l=this.eventManager,u=this.sharedStylesHost,d=this.removeStylesOnCompDestroy,g=this.platformIsServer;switch(i.encapsulation){case Zt.Emulated:o=new Ac(l,u,i,this.appId,d,a,c,g);break;case Zt.ShadowDom:return new df(l,u,r,i,a,c,this.nonce,g);default:o=new zs(l,u,i,d,a,c,g);break}s.set(i.id,o)}return o}ngOnDestroy(){this.rendererByCompId.clear()}};e.\u0275fac=function(i){return new(i||e)(ue(qv),ue($v),ue(Si),ue(uI),ue($e),ue(Ut),ue(Be),ue(bd))},e.\u0275prov=ie({token:e,factory:e.\u0275fac});let t=e;return t})(),$s=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(lf[n]||n,e):this.doc.createElement(e)}createComment(e){return this.doc.createComment(e)}createText(e){return this.doc.createTextNode(e)}appendChild(e,n){(Uv(e)?e.content:e).appendChild(n)}insertBefore(e,n,r){e&&(Uv(e)?e.content:e).insertBefore(n,r)}removeChild(e,n){e&&e.removeChild(n)}selectRootElement(e,n){let r=typeof e=="string"?this.doc.querySelector(e):e;if(!r)throw new z(-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 s=lf[i];s?e.setAttributeNS(s,n,r):e.setAttribute(n,r)}else e.setAttribute(n,r)}removeAttribute(e,n,r){if(r){let i=lf[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&(jr.DashCase|jr.Important)?e.style.setProperty(n,r,i&jr.Important?"important":""):e.style[n]=r}removeStyle(e,n,r){r&jr.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=mn().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 Uv(t){return t.tagName==="TEMPLATE"&&t.content!==void 0}var df=class extends $s{constructor(e,n,r,i,s,o,a,c){super(e,s,o,c),this.sharedStylesHost=n,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let l=Gv(i.id,i.styles);for(let u of l){let d=document.createElement("style");a&&d.setAttribute("nonce",a),d.textContent=u,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(this.nodeOrShadowRoot(e),n)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},zs=class extends $s{constructor(e,n,r,i,s,o,a,c){super(e,s,o,a),this.sharedStylesHost=n,this.removeStylesOnCompDestroy=i,this.styles=c?Gv(c,r.styles):r.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}},Ac=class extends zs{constructor(e,n,r,i,s,o,a,c){let l=i+"-"+r.id;super(e,n,r,s,o,a,c,l),this.contentAttr=dI(l),this.hostAttr=fI(l)}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}},hI=(()=>{let e=class e extends Ai{constructor(r){super(r)}supports(r){return!0}addEventListener(r,i,s){return r.addEventListener(i,s,!1),()=>this.removeEventListener(r,i,s)}removeEventListener(r,i,s){return r.removeEventListener(i,s)}};e.\u0275fac=function(i){return new(i||e)(ue($e))},e.\u0275prov=ie({token:e,factory:e.\u0275fac});let t=e;return t})(),Vv=["alt","control","meta","shift"],pI={"\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"},mI={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey},gI=(()=>{let e=class e extends Ai{constructor(r){super(r)}supports(r){return e.parseEventName(r)!=null}addEventListener(r,i,s){let o=e.parseEventName(i),a=e.eventCallback(o.fullKey,s,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>mn().onAndCancel(r,o.domEventName,a))}static parseEventName(r){let i=r.toLowerCase().split("."),s=i.shift();if(i.length===0||!(s==="keydown"||s==="keyup"))return null;let o=e._normalizeKey(i.pop()),a="",c=i.indexOf("code");if(c>-1&&(i.splice(c,1),a="code."),Vv.forEach(u=>{let d=i.indexOf(u);d>-1&&(i.splice(d,1),a+=u+".")}),a+=o,i.length!=0||o.length===0)return null;let l={};return l.domEventName=s,l.fullKey=a,l}static matchEventFullKeyCode(r,i){let s=pI[r.key]||r.key,o="";return i.indexOf("code.")>-1&&(s=r.code,o="code."),s==null||!s?!1:(s=s.toLowerCase(),s===" "?s="space":s==="."&&(s="dot"),Vv.forEach(a=>{if(a!==s){let c=mI[a];c(r)&&(o+=a+".")}}),o+=s,o===i)}static eventCallback(r,i,s){return o=>{e.matchEventFullKeyCode(o,r)&&s.runGuarded(()=>i(o))}}static _normalizeKey(r){return r==="esc"?"escape":r}};e.\u0275fac=function(i){return new(i||e)(ue($e))},e.\u0275prov=ie({token:e,factory:e.\u0275fac});let t=e;return t})();function gP(t,e){return mv(J({rootComponent:t},yI(e)))}function yI(t){return{appProviders:[...DI,...t?.providers??[]],platformProviders:wI}}function vI(){Vs.makeCurrent()}function EI(){return new dn}function bI(){return oc(document),document}var wI=[{provide:Ut,useValue:tf},{provide:Ms,useValue:vI,multi:!0},{provide:$e,useFactory:bI,deps:[]}];var DI=[{provide:ec,useValue:"root"},{provide:dn,useFactory:EI,deps:[]},{provide:qs,useClass:hI,multi:!0,deps:[$e,Be,Ut]},{provide:qs,useClass:gI,multi:!0,deps:[$e]},Mc,$v,qv,{provide:Lr,useExisting:Mc},{provide:Mi,useClass:oI,deps:[]},[]];var Wv=(()=>{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)(ue($e))},e.\u0275prov=ie({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var ff=function(t){return t[t.NoHttpTransferCache=0]="NoHttpTransferCache",t[t.HttpTransferCacheOptions=1]="HttpTransferCacheOptions",t}(ff||{});function yP(...t){let e=[],n=new Set,r=n.has(ff.HttpTransferCacheOptions);for(let{\u0275providers:i,\u0275kind:s}of t)n.add(s),i.length&&e.push(i);return On([[],yv(),n.has(ff.NoHttpTransferCache)||r?[]:Hv({}),e])}var we=function(t){return t[t.State=0]="State",t[t.Transition=1]="Transition",t[t.Sequence=2]="Sequence",t[t.Group=3]="Group",t[t.Animate=4]="Animate",t[t.Keyframes=5]="Keyframes",t[t.Style=6]="Style",t[t.Trigger=7]="Trigger",t[t.Reference=8]="Reference",t[t.AnimateChild=9]="AnimateChild",t[t.AnimateRef=10]="AnimateRef",t[t.Query=11]="Query",t[t.Stagger=12]="Stagger",t}(we||{}),gn="*";function Qv(t,e=null){return{type:we.Sequence,steps:t,options:e}}function pf(t){return{type:we.Style,styles:t,offset:null}}var ar=class{constructor(e=0,n=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=e+n}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}onStart(e){this._originalOnStartFns.push(e),this._onStartFns.push(e)}onDone(e){this._originalOnDoneFns.push(e),this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(e=>e()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(e){this._position=this.totalTime?e*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(e){let n=e=="start"?this._onStartFns:this._onDoneFns;n.forEach(r=>r()),n.length=0}},Gs=class{constructor(e){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=e;let n=0,r=0,i=0,s=this.players.length;s==0?queueMicrotask(()=>this._onFinish()):this.players.forEach(o=>{o.onDone(()=>{++n==s&&this._onFinish()}),o.onDestroy(()=>{++r==s&&this._onDestroy()}),o.onStart(()=>{++i==s&&this._onStart()})}),this.totalTime=this.players.reduce((o,a)=>Math.max(o,a.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this.players.forEach(e=>e.init())}onStart(e){this._onStartFns.push(e)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(e=>e()),this._onStartFns=[])}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(e=>e.play())}pause(){this.players.forEach(e=>e.pause())}restart(){this.players.forEach(e=>e.restart())}finish(){this._onFinish(),this.players.forEach(e=>e.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(e=>e.destroy()),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this.players.forEach(e=>e.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(e){let n=e*this.totalTime;this.players.forEach(r=>{let i=r.totalTime?Math.min(1,n/r.totalTime):1;r.setPosition(i)})}getPosition(){let e=this.players.reduce((n,r)=>n===null||r.totalTime>n.totalTime?r:n,null);return e!=null?e.getPosition():0}beforeDestroy(){this.players.forEach(e=>{e.beforeDestroy&&e.beforeDestroy()})}triggerCallback(e){let n=e=="start"?this._onStartFns:this._onDoneFns;n.forEach(r=>r()),n.length=0}},xc="!";function Kv(t){return new z(3e3,!1)}function TI(){return new z(3100,!1)}function SI(){return new z(3101,!1)}function CI(t){return new z(3001,!1)}function II(t){return new z(3003,!1)}function NI(t){return new z(3004,!1)}function MI(t,e){return new z(3005,!1)}function AI(){return new z(3006,!1)}function xI(){return new z(3007,!1)}function RI(t,e){return new z(3008,!1)}function OI(t){return new z(3002,!1)}function kI(t,e,n,r,i){return new z(3010,!1)}function LI(){return new z(3011,!1)}function PI(){return new z(3012,!1)}function FI(){return new z(3200,!1)}function jI(){return new z(3202,!1)}function BI(){return new z(3013,!1)}function HI(t){return new z(3014,!1)}function UI(t){return new z(3015,!1)}function VI(t){return new z(3016,!1)}function qI(t,e){return new z(3404,!1)}function $I(t){return new z(3502,!1)}function zI(t){return new z(3503,!1)}function GI(){return new z(3300,!1)}function WI(t){return new z(3504,!1)}function QI(t){return new z(3301,!1)}function KI(t,e){return new z(3302,!1)}function YI(t){return new z(3303,!1)}function ZI(t,e){return new z(3400,!1)}function XI(t){return new z(3401,!1)}function JI(t){return new z(3402,!1)}function e1(t,e){return new z(3505,!1)}function cr(t){switch(t.length){case 0:return new ar;case 1:return t[0];default:return new Gs(t)}}function lE(t,e,n=new Map,r=new Map){let i=[],s=[],o=-1,a=null;if(e.forEach(c=>{let l=c.get("offset"),u=l==o,d=u&&a||new Map;c.forEach((g,D)=>{let N=D,M=g;if(D!=="offset")switch(N=t.normalizePropertyName(N,i),M){case xc:M=n.get(D);break;case gn:M=r.get(D);break;default:M=t.normalizeStyleValue(D,N,M,i);break}d.set(N,M)}),u||s.push(d),a=d,o=l}),i.length)throw $I(i);return s}function Ff(t,e,n,r){switch(e){case"start":t.onStart(()=>r(n&&mf(n,"start",t)));break;case"done":t.onDone(()=>r(n&&mf(n,"done",t)));break;case"destroy":t.onDestroy(()=>r(n&&mf(n,"destroy",t)));break}}function mf(t,e,n){let r=n.totalTime,i=!!n.disabled,s=jf(t.element,t.triggerName,t.fromState,t.toState,e||t.phaseName,r??t.totalTime,i),o=t._data;return o!=null&&(s._data=o),s}function jf(t,e,n,r,i="",s=0,o){return{element:t,triggerName:e,fromState:n,toState:r,phaseName:i,totalTime:s,disabled:!!o}}function xt(t,e,n){let r=t.get(e);return r||t.set(e,r=n),r}function Yv(t){let e=t.indexOf(":"),n=t.substring(1,e),r=t.slice(e+1);return[n,r]}var t1=typeof document>"u"?null:document.documentElement;function Bf(t){let e=t.parentNode||t.host||null;return e===t1?null:e}function n1(t){return t.substring(1,6)=="ebkit"}var Ur=null,Zv=!1;function r1(t){Ur||(Ur=i1()||{},Zv=Ur.style?"WebkitAppearance"in Ur.style:!1);let e=!0;return Ur.style&&!n1(t)&&(e=t in Ur.style,!e&&Zv&&(e="Webkit"+t.charAt(0).toUpperCase()+t.slice(1)in Ur.style)),e}function i1(){return typeof document<"u"?document.body:null}function uE(t,e){for(;e;){if(e===t)return!0;e=Bf(e)}return!1}function dE(t,e,n){if(n)return Array.from(t.querySelectorAll(e));let r=t.querySelector(e);return r?[r]:[]}var Hf=(()=>{let e=class e{validateStyleProperty(r){return r1(r)}matchesElement(r,i){return!1}containsElement(r,i){return uE(r,i)}getParentElement(r){return Bf(r)}query(r,i,s){return dE(r,i,s)}computeStyle(r,i,s){return s||""}animate(r,i,s,o,a,c=[],l){return new ar(s,o)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=ie({token:e,factory:e.\u0275fac});let t=e;return t})(),$f=class $f{};$f.NOOP=new Hf;var $r=$f,zr=class{};var s1=1e3,fE="{{",o1="}}",hE="ng-enter",wf="ng-leave",Rc="ng-trigger",Fc=".ng-trigger",Xv="ng-animating",Df=".ng-animating";function kn(t){if(typeof t=="number")return t;let e=t.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:_f(parseFloat(e[1]),e[2])}function _f(t,e){switch(e){case"s":return t*s1;default:return t}}function jc(t,e,n){return t.hasOwnProperty("duration")?t:a1(t,e,n)}function a1(t,e,n){let r=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i,i,s=0,o="";if(typeof t=="string"){let a=t.match(r);if(a===null)return e.push(Kv(t)),{duration:0,delay:0,easing:""};i=_f(parseFloat(a[1]),a[2]);let c=a[3];c!=null&&(s=_f(parseFloat(c),a[4]));let l=a[5];l&&(o=l)}else i=t;if(!n){let a=!1,c=e.length;i<0&&(e.push(TI()),a=!0),s<0&&(e.push(SI()),a=!0),a&&e.splice(c,0,Kv(t))}return{duration:i,delay:s,easing:o}}function c1(t){return t.length?t[0]instanceof Map?t:t.map(e=>new Map(Object.entries(e))):[]}function yn(t,e,n){e.forEach((r,i)=>{let s=Uf(i);n&&!n.has(i)&&n.set(i,t.style[s]),t.style[s]=r})}function qr(t,e){e.forEach((n,r)=>{let i=Uf(r);t.style[i]=""})}function Ws(t){return Array.isArray(t)?t.length==1?t[0]:Qv(t):t}function l1(t,e,n){let r=e.params||{},i=pE(t);i.length&&i.forEach(s=>{r.hasOwnProperty(s)||n.push(CI(s))})}var Tf=new RegExp(`${fE}\\s*(.+?)\\s*${o1}`,"g");function pE(t){let e=[];if(typeof t=="string"){let n;for(;n=Tf.exec(t);)e.push(n[1]);Tf.lastIndex=0}return e}function Ks(t,e,n){let r=`${t}`,i=r.replace(Tf,(s,o)=>{let a=e[o];return a==null&&(n.push(II(o)),a=""),a.toString()});return i==r?t:i}var u1=/-+([a-z0-9])/g;function Uf(t){return t.replace(u1,(...e)=>e[1].toUpperCase())}function d1(t,e){return t===0||e===0}function f1(t,e,n){if(n.size&&e.length){let r=e[0],i=[];if(n.forEach((s,o)=>{r.has(o)||i.push(o),r.set(o,s)}),i.length)for(let s=1;s<e.length;s++){let o=e[s];i.forEach(a=>o.set(a,Vf(t,a)))}}return e}function At(t,e,n){switch(e.type){case we.Trigger:return t.visitTrigger(e,n);case we.State:return t.visitState(e,n);case we.Transition:return t.visitTransition(e,n);case we.Sequence:return t.visitSequence(e,n);case we.Group:return t.visitGroup(e,n);case we.Animate:return t.visitAnimate(e,n);case we.Keyframes:return t.visitKeyframes(e,n);case we.Style:return t.visitStyle(e,n);case we.Reference:return t.visitReference(e,n);case we.AnimateChild:return t.visitAnimateChild(e,n);case we.AnimateRef:return t.visitAnimateRef(e,n);case we.Query:return t.visitQuery(e,n);case we.Stagger:return t.visitStagger(e,n);default:throw NI(e.type)}}function Vf(t,e){return window.getComputedStyle(t)[e]}var h1=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]),Bc=class extends zr{normalizePropertyName(e,n){return Uf(e)}normalizeStyleValue(e,n,r,i){let s="",o=r.toString().trim();if(h1.has(n)&&r!==0&&r!=="0")if(typeof r=="number")s="px";else{let a=r.match(/^[+-]?[\d\.]+([a-z]*)$/);a&&a[1].length==0&&i.push(MI(e,r))}return o+s}};var Hc="*";function p1(t,e){let n=[];return typeof t=="string"?t.split(/\s*,\s*/).forEach(r=>m1(r,n,e)):n.push(t),n}function m1(t,e,n){if(t[0]==":"){let c=g1(t,n);if(typeof c=="function"){e.push(c);return}t=c}let r=t.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(r==null||r.length<4)return n.push(UI(t)),e;let i=r[1],s=r[2],o=r[3];e.push(Jv(i,o));let a=i==Hc&&o==Hc;s[0]=="<"&&!a&&e.push(Jv(o,i))}function g1(t,e){switch(t){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(n,r)=>parseFloat(r)>parseFloat(n);case":decrement":return(n,r)=>parseFloat(r)<parseFloat(n);default:return e.push(VI(t)),"* => *"}}var Oc=new Set(["true","1"]),kc=new Set(["false","0"]);function Jv(t,e){let n=Oc.has(t)||kc.has(t),r=Oc.has(e)||kc.has(e);return(i,s)=>{let o=t==Hc||t==i,a=e==Hc||e==s;return!o&&n&&typeof i=="boolean"&&(o=i?Oc.has(t):kc.has(t)),!a&&r&&typeof s=="boolean"&&(a=s?Oc.has(e):kc.has(e)),o&&a}}var mE=":self",y1=new RegExp(`s*${mE}s*,?`,"g");function gE(t,e,n,r){return new Sf(t).build(e,n,r)}var eE="",Sf=class{constructor(e){this._driver=e}build(e,n,r){let i=new Cf(n);return this._resetContextStyleTimingState(i),At(this,Ws(e),i)}_resetContextStyleTimingState(e){e.currentQuerySelector=eE,e.collectedStyles=new Map,e.collectedStyles.set(eE,new Map),e.currentTime=0}visitTrigger(e,n){let r=n.queryCount=0,i=n.depCount=0,s=[],o=[];return e.name.charAt(0)=="@"&&n.errors.push(AI()),e.definitions.forEach(a=>{if(this._resetContextStyleTimingState(n),a.type==we.State){let c=a,l=c.name;l.toString().split(/\s*,\s*/).forEach(u=>{c.name=u,s.push(this.visitState(c,n))}),c.name=l}else if(a.type==we.Transition){let c=this.visitTransition(a,n);r+=c.queryCount,i+=c.depCount,o.push(c)}else n.errors.push(xI())}),{type:we.Trigger,name:e.name,states:s,transitions:o,queryCount:r,depCount:i,options:null}}visitState(e,n){let r=this.visitStyle(e.styles,n),i=e.options&&e.options.params||null;if(r.containsDynamicStyles){let s=new Set,o=i||{};r.styles.forEach(a=>{a instanceof Map&&a.forEach(c=>{pE(c).forEach(l=>{o.hasOwnProperty(l)||s.add(l)})})}),s.size&&n.errors.push(RI(e.name,[...s.values()]))}return{type:we.State,name:e.name,style:r,options:i?{params:i}:null}}visitTransition(e,n){n.queryCount=0,n.depCount=0;let r=At(this,Ws(e.animation),n),i=p1(e.expr,n.errors);return{type:we.Transition,matchers:i,animation:r,queryCount:n.queryCount,depCount:n.depCount,options:Vr(e.options)}}visitSequence(e,n){return{type:we.Sequence,steps:e.steps.map(r=>At(this,r,n)),options:Vr(e.options)}}visitGroup(e,n){let r=n.currentTime,i=0,s=e.steps.map(o=>{n.currentTime=r;let a=At(this,o,n);return i=Math.max(i,n.currentTime),a});return n.currentTime=i,{type:we.Group,steps:s,options:Vr(e.options)}}visitAnimate(e,n){let r=w1(e.timings,n.errors);n.currentAnimateTimings=r;let i,s=e.styles?e.styles:pf({});if(s.type==we.Keyframes)i=this.visitKeyframes(s,n);else{let o=e.styles,a=!1;if(!o){a=!0;let l={};r.easing&&(l.easing=r.easing),o=pf(l)}n.currentTime+=r.duration+r.delay;let c=this.visitStyle(o,n);c.isEmptyStep=a,i=c}return n.currentAnimateTimings=null,{type:we.Animate,timings:r,style:i,options:null}}visitStyle(e,n){let r=this._makeStyleAst(e,n);return this._validateStyleAst(r,n),r}_makeStyleAst(e,n){let r=[],i=Array.isArray(e.styles)?e.styles:[e.styles];for(let a of i)typeof a=="string"?a===gn?r.push(a):n.errors.push(OI(a)):r.push(new Map(Object.entries(a)));let s=!1,o=null;return r.forEach(a=>{if(a instanceof Map&&(a.has("easing")&&(o=a.get("easing"),a.delete("easing")),!s)){for(let c of a.values())if(c.toString().indexOf(fE)>=0){s=!0;break}}}),{type:we.Style,styles:r,easing:o,offset:e.offset,containsDynamicStyles:s,options:null}}_validateStyleAst(e,n){let r=n.currentAnimateTimings,i=n.currentTime,s=n.currentTime;r&&s>0&&(s-=r.duration+r.delay),e.styles.forEach(o=>{typeof o!="string"&&o.forEach((a,c)=>{let l=n.collectedStyles.get(n.currentQuerySelector),u=l.get(c),d=!0;u&&(s!=i&&s>=u.startTime&&i<=u.endTime&&(n.errors.push(kI(c,u.startTime,u.endTime,s,i)),d=!1),s=u.startTime),d&&l.set(c,{startTime:s,endTime:i}),n.options&&l1(a,n.options,n.errors)})})}visitKeyframes(e,n){let r={type:we.Keyframes,styles:[],options:null};if(!n.currentAnimateTimings)return n.errors.push(LI()),r;let i=1,s=0,o=[],a=!1,c=!1,l=0,u=e.steps.map(L=>{let T=this._makeStyleAst(L,n),w=T.offset!=null?T.offset:b1(T.styles),C=0;return w!=null&&(s++,C=T.offset=w),c=c||C<0||C>1,a=a||C<l,l=C,o.push(C),T});c&&n.errors.push(PI()),a&&n.errors.push(FI());let d=e.steps.length,g=0;s>0&&s<d?n.errors.push(jI()):s==0&&(g=i/(d-1));let D=d-1,N=n.currentTime,M=n.currentAnimateTimings,$=M.duration;return u.forEach((L,T)=>{let w=g>0?T==D?1:g*T:o[T],C=w*$;n.currentTime=N+M.delay+C,M.duration=C,this._validateStyleAst(L,n),L.offset=w,r.styles.push(L)}),r}visitReference(e,n){return{type:we.Reference,animation:At(this,Ws(e.animation),n),options:Vr(e.options)}}visitAnimateChild(e,n){return n.depCount++,{type:we.AnimateChild,options:Vr(e.options)}}visitAnimateRef(e,n){return{type:we.AnimateRef,animation:this.visitReference(e.animation,n),options:Vr(e.options)}}visitQuery(e,n){let r=n.currentQuerySelector,i=e.options||{};n.queryCount++,n.currentQuery=e;let[s,o]=v1(e.selector);n.currentQuerySelector=r.length?r+" "+s:s,xt(n.collectedStyles,n.currentQuerySelector,new Map);let a=At(this,Ws(e.animation),n);return n.currentQuery=null,n.currentQuerySelector=r,{type:we.Query,selector:s,limit:i.limit||0,optional:!!i.optional,includeSelf:o,animation:a,originalSelector:e.selector,options:Vr(e.options)}}visitStagger(e,n){n.currentQuery||n.errors.push(BI());let r=e.timings==="full"?{duration:0,delay:0,easing:"full"}:jc(e.timings,n.errors,!0);return{type:we.Stagger,animation:At(this,Ws(e.animation),n),timings:r,options:null}}};function v1(t){let e=!!t.split(/\s*,\s*/).find(n=>n==mE);return e&&(t=t.replace(y1,"")),t=t.replace(/@\*/g,Fc).replace(/@\w+/g,n=>Fc+"-"+n.slice(1)).replace(/:animating/g,Df),[t,e]}function E1(t){return t?J({},t):null}var Cf=class{constructor(e){this.errors=e,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}};function b1(t){if(typeof t=="string")return null;let e=null;if(Array.isArray(t))t.forEach(n=>{if(n instanceof Map&&n.has("offset")){let r=n;e=parseFloat(r.get("offset")),r.delete("offset")}});else if(t instanceof Map&&t.has("offset")){let n=t;e=parseFloat(n.get("offset")),n.delete("offset")}return e}function w1(t,e){if(t.hasOwnProperty("duration"))return t;if(typeof t=="number"){let s=jc(t,e).duration;return gf(s,0,"")}let n=t;if(n.split(/\s+/).some(s=>s.charAt(0)=="{"&&s.charAt(1)=="{")){let s=gf(0,0,"");return s.dynamic=!0,s.strValue=n,s}let i=jc(n,e);return gf(i.duration,i.delay,i.easing)}function Vr(t){return t?(t=J({},t),t.params&&(t.params=E1(t.params))):t={},t}function gf(t,e,n){return{duration:t,delay:e,easing:n}}function qf(t,e,n,r,i,s,o=null,a=!1){return{type:1,element:t,keyframes:e,preStyleProps:n,postStyleProps:r,duration:i,delay:s,totalTime:i+s,easing:o,subTimeline:a}}var Ys=class{constructor(){this._map=new Map}get(e){return this._map.get(e)||[]}append(e,n){let r=this._map.get(e);r||this._map.set(e,r=[]),r.push(...n)}has(e){return this._map.has(e)}clear(){this._map.clear()}},D1=1,_1=":enter",T1=new RegExp(_1,"g"),S1=":leave",C1=new RegExp(S1,"g");function yE(t,e,n,r,i,s=new Map,o=new Map,a,c,l=[]){return new If().buildKeyframes(t,e,n,r,i,s,o,a,c,l)}var If=class{buildKeyframes(e,n,r,i,s,o,a,c,l,u=[]){l=l||new Ys;let d=new Nf(e,n,l,i,s,u,[]);d.options=c;let g=c.delay?kn(c.delay):0;d.currentTimeline.delayNextStep(g),d.currentTimeline.setStyles([o],null,d.errors,c),At(this,r,d);let D=d.timelines.filter(N=>N.containsAnimation());if(D.length&&a.size){let N;for(let M=D.length-1;M>=0;M--){let $=D[M];if($.element===n){N=$;break}}N&&!N.allowOnlyTimelineStyles()&&N.setStyles([a],null,d.errors,c)}return D.length?D.map(N=>N.buildKeyframes()):[qf(n,[],[],[],0,g,"",!1)]}visitTrigger(e,n){}visitState(e,n){}visitTransition(e,n){}visitAnimateChild(e,n){let r=n.subInstructions.get(n.element);if(r){let i=n.createSubContext(e.options),s=n.currentTimeline.currentTime,o=this._visitSubInstructions(r,i,i.options);s!=o&&n.transformIntoNewTimeline(o)}n.previousNode=e}visitAnimateRef(e,n){let r=n.createSubContext(e.options);r.transformIntoNewTimeline(),this._applyAnimationRefDelays([e.options,e.animation.options],n,r),this.visitReference(e.animation,r),n.transformIntoNewTimeline(r.currentTimeline.currentTime),n.previousNode=e}_applyAnimationRefDelays(e,n,r){for(let i of e){let s=i?.delay;if(s){let o=typeof s=="number"?s:kn(Ks(s,i?.params??{},n.errors));r.delayNextStep(o)}}}_visitSubInstructions(e,n,r){let s=n.currentTimeline.currentTime,o=r.duration!=null?kn(r.duration):null,a=r.delay!=null?kn(r.delay):null;return o!==0&&e.forEach(c=>{let l=n.appendInstructionToTimeline(c,o,a);s=Math.max(s,l.duration+l.delay)}),s}visitReference(e,n){n.updateOptions(e.options,!0),At(this,e.animation,n),n.previousNode=e}visitSequence(e,n){let r=n.subContextCount,i=n,s=e.options;if(s&&(s.params||s.delay)&&(i=n.createSubContext(s),i.transformIntoNewTimeline(),s.delay!=null)){i.previousNode.type==we.Style&&(i.currentTimeline.snapshotCurrentStyles(),i.previousNode=Uc);let o=kn(s.delay);i.delayNextStep(o)}e.steps.length&&(e.steps.forEach(o=>At(this,o,i)),i.currentTimeline.applyStylesToKeyframe(),i.subContextCount>r&&i.transformIntoNewTimeline()),n.previousNode=e}visitGroup(e,n){let r=[],i=n.currentTimeline.currentTime,s=e.options&&e.options.delay?kn(e.options.delay):0;e.steps.forEach(o=>{let a=n.createSubContext(e.options);s&&a.delayNextStep(s),At(this,o,a),i=Math.max(i,a.currentTimeline.currentTime),r.push(a.currentTimeline)}),r.forEach(o=>n.currentTimeline.mergeTimelineCollectedStyles(o)),n.transformIntoNewTimeline(i),n.previousNode=e}_visitTiming(e,n){if(e.dynamic){let r=e.strValue,i=n.params?Ks(r,n.params,n.errors):r;return jc(i,n.errors)}else return{duration:e.duration,delay:e.delay,easing:e.easing}}visitAnimate(e,n){let r=n.currentAnimateTimings=this._visitTiming(e.timings,n),i=n.currentTimeline;r.delay&&(n.incrementTime(r.delay),i.snapshotCurrentStyles());let s=e.style;s.type==we.Keyframes?this.visitKeyframes(s,n):(n.incrementTime(r.duration),this.visitStyle(s,n),i.applyStylesToKeyframe()),n.currentAnimateTimings=null,n.previousNode=e}visitStyle(e,n){let r=n.currentTimeline,i=n.currentAnimateTimings;!i&&r.hasCurrentStyleProperties()&&r.forwardFrame();let s=i&&i.easing||e.easing;e.isEmptyStep?r.applyEmptyStep(s):r.setStyles(e.styles,s,n.errors,n.options),n.previousNode=e}visitKeyframes(e,n){let r=n.currentAnimateTimings,i=n.currentTimeline.duration,s=r.duration,a=n.createSubContext().currentTimeline;a.easing=r.easing,e.styles.forEach(c=>{let l=c.offset||0;a.forwardTime(l*s),a.setStyles(c.styles,c.easing,n.errors,n.options),a.applyStylesToKeyframe()}),n.currentTimeline.mergeTimelineCollectedStyles(a),n.transformIntoNewTimeline(i+s),n.previousNode=e}visitQuery(e,n){let r=n.currentTimeline.currentTime,i=e.options||{},s=i.delay?kn(i.delay):0;s&&(n.previousNode.type===we.Style||r==0&&n.currentTimeline.hasCurrentStyleProperties())&&(n.currentTimeline.snapshotCurrentStyles(),n.previousNode=Uc);let o=r,a=n.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!i.optional,n.errors);n.currentQueryTotal=a.length;let c=null;a.forEach((l,u)=>{n.currentQueryIndex=u;let d=n.createSubContext(e.options,l);s&&d.delayNextStep(s),l===n.element&&(c=d.currentTimeline),At(this,e.animation,d),d.currentTimeline.applyStylesToKeyframe();let g=d.currentTimeline.currentTime;o=Math.max(o,g)}),n.currentQueryIndex=0,n.currentQueryTotal=0,n.transformIntoNewTimeline(o),c&&(n.currentTimeline.mergeTimelineCollectedStyles(c),n.currentTimeline.snapshotCurrentStyles()),n.previousNode=e}visitStagger(e,n){let r=n.parentContext,i=n.currentTimeline,s=e.timings,o=Math.abs(s.duration),a=o*(n.currentQueryTotal-1),c=o*n.currentQueryIndex;switch(s.duration<0?"reverse":s.easing){case"reverse":c=a-c;break;case"full":c=r.currentStaggerTime;break}let u=n.currentTimeline;c&&u.delayNextStep(c);let d=u.currentTime;At(this,e.animation,n),n.previousNode=e,r.currentStaggerTime=i.currentTime-d+(i.startTime-r.currentTimeline.startTime)}},Uc={},Nf=class t{constructor(e,n,r,i,s,o,a,c){this._driver=e,this.element=n,this.subInstructions=r,this._enterClassName=i,this._leaveClassName=s,this.errors=o,this.timelines=a,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Uc,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=c||new Vc(this._driver,n,0),a.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(e,n){if(!e)return;let r=e,i=this.options;r.duration!=null&&(i.duration=kn(r.duration)),r.delay!=null&&(i.delay=kn(r.delay));let s=r.params;if(s){let o=i.params;o||(o=this.options.params={}),Object.keys(s).forEach(a=>{(!n||!o.hasOwnProperty(a))&&(o[a]=Ks(s[a],o,this.errors))})}}_copyOptions(){let e={};if(this.options){let n=this.options.params;if(n){let r=e.params={};Object.keys(n).forEach(i=>{r[i]=n[i]})}}return e}createSubContext(e=null,n,r){let i=n||this.element,s=new t(this._driver,i,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(i,r||0));return s.previousNode=this.previousNode,s.currentAnimateTimings=this.currentAnimateTimings,s.options=this._copyOptions(),s.updateOptions(e),s.currentQueryIndex=this.currentQueryIndex,s.currentQueryTotal=this.currentQueryTotal,s.parentContext=this,this.subContextCount++,s}transformIntoNewTimeline(e){return this.previousNode=Uc,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(e,n,r){let i={duration:n??e.duration,delay:this.currentTimeline.currentTime+(r??0)+e.delay,easing:""},s=new Mf(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,i,e.stretchStartingKeyframe);return this.timelines.push(s),i}incrementTime(e){this.currentTimeline.forwardTime(this.currentTimeline.duration+e)}delayNextStep(e){e>0&&this.currentTimeline.delayNextStep(e)}invokeQuery(e,n,r,i,s,o){let a=[];if(i&&a.push(this.element),e.length>0){e=e.replace(T1,"."+this._enterClassName),e=e.replace(C1,"."+this._leaveClassName);let c=r!=1,l=this._driver.query(this.element,e,c);r!==0&&(l=r<0?l.slice(l.length+r,l.length):l.slice(0,r)),a.push(...l)}return!s&&a.length==0&&o.push(HI(n)),a}},Vc=class t{constructor(e,n,r,i){this._driver=e,this.element=n,this.startTime=r,this._elementTimelineStylesLookup=i,this.duration=0,this.easing=null,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(n),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(n,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(e){let n=this._keyframes.size===1&&this._pendingStyles.size;this.duration||n?(this.forwardTime(this.currentTime+e),n&&this.snapshotCurrentStyles()):this.startTime+=e}fork(e,n){return this.applyStylesToKeyframe(),new t(this._driver,e,n||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=D1,this._loadKeyframe()}forwardTime(e){this.applyStylesToKeyframe(),this.duration=e,this._loadKeyframe()}_updateStyle(e,n){this._localTimelineStyles.set(e,n),this._globalTimelineStyles.set(e,n),this._styleSummary.set(e,{time:this.currentTime,value:n})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(e){e&&this._previousKeyframe.set("easing",e);for(let[n,r]of this._globalTimelineStyles)this._backFill.set(n,r||gn),this._currentKeyframe.set(n,gn);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(e,n,r,i){n&&this._previousKeyframe.set("easing",n);let s=i&&i.params||{},o=I1(e,this._globalTimelineStyles);for(let[a,c]of o){let l=Ks(c,s,r);this._pendingStyles.set(a,l),this._localTimelineStyles.has(a)||this._backFill.set(a,this._globalTimelineStyles.get(a)??gn),this._updateStyle(a,l)}}applyStylesToKeyframe(){this._pendingStyles.size!=0&&(this._pendingStyles.forEach((e,n)=>{this._currentKeyframe.set(n,e)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((e,n)=>{this._currentKeyframe.has(n)||this._currentKeyframe.set(n,e)}))}snapshotCurrentStyles(){for(let[e,n]of this._localTimelineStyles)this._pendingStyles.set(e,n),this._updateStyle(e,n)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){let e=[];for(let n in this._currentKeyframe)e.push(n);return e}mergeTimelineCollectedStyles(e){e._styleSummary.forEach((n,r)=>{let i=this._styleSummary.get(r);(!i||n.time>i.time)&&this._updateStyle(r,n.value)})}buildKeyframes(){this.applyStylesToKeyframe();let e=new Set,n=new Set,r=this._keyframes.size===1&&this.duration===0,i=[];this._keyframes.forEach((a,c)=>{let l=new Map([...this._backFill,...a]);l.forEach((u,d)=>{u===xc?e.add(d):u===gn&&n.add(d)}),r||l.set("offset",c/this.duration),i.push(l)});let s=[...e.values()],o=[...n.values()];if(r){let a=i[0],c=new Map(a);a.set("offset",0),c.set("offset",1),i=[a,c]}return qf(this.element,i,s,o,this.duration,this.startTime,this.easing,!1)}},Mf=class extends Vc{constructor(e,n,r,i,s,o,a=!1){super(e,n,o.delay),this.keyframes=r,this.preStyleProps=i,this.postStyleProps=s,this._stretchStartingKeyframe=a,this.timings={duration:o.duration,delay:o.delay,easing:o.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let e=this.keyframes,{delay:n,duration:r,easing:i}=this.timings;if(this._stretchStartingKeyframe&&n){let s=[],o=r+n,a=n/o,c=new Map(e[0]);c.set("offset",0),s.push(c);let l=new Map(e[0]);l.set("offset",tE(a)),s.push(l);let u=e.length-1;for(let d=1;d<=u;d++){let g=new Map(e[d]),D=g.get("offset"),N=n+D*r;g.set("offset",tE(N/o)),s.push(g)}r=o,n=0,i="",e=s}return qf(this.element,e,this.preStyleProps,this.postStyleProps,r,n,i,!0)}};function tE(t,e=3){let n=Math.pow(10,e-1);return Math.round(t*n)/n}function I1(t,e){let n=new Map,r;return t.forEach(i=>{if(i==="*"){r??=e.keys();for(let s of r)n.set(s,gn)}else for(let[s,o]of i)n.set(s,o)}),n}function nE(t,e,n,r,i,s,o,a,c,l,u,d,g){return{type:0,element:t,triggerName:e,isRemovalTransition:i,fromState:n,fromStyles:s,toState:r,toStyles:o,timelines:a,queriedElements:c,preStyleProps:l,postStyleProps:u,totalTime:d,errors:g}}var yf={},qc=class{constructor(e,n,r){this._triggerName=e,this.ast=n,this._stateStyles=r}match(e,n,r,i){return N1(this.ast.matchers,e,n,r,i)}buildStyles(e,n,r){let i=this._stateStyles.get("*");return e!==void 0&&(i=this._stateStyles.get(e?.toString())||i),i?i.buildStyles(n,r):new Map}build(e,n,r,i,s,o,a,c,l,u){let d=[],g=this.ast.options&&this.ast.options.params||yf,D=a&&a.params||yf,N=this.buildStyles(r,D,d),M=c&&c.params||yf,$=this.buildStyles(i,M,d),L=new Set,T=new Map,w=new Map,C=i==="void",E={params:vE(M,g),delay:this.ast.options?.delay},ee=u?[]:yE(e,n,this.ast.animation,s,o,N,$,E,l,d),te=0;return ee.forEach(pe=>{te=Math.max(pe.duration+pe.delay,te)}),d.length?nE(n,this._triggerName,r,i,C,N,$,[],[],T,w,te,d):(ee.forEach(pe=>{let q=pe.element,R=xt(T,q,new Set);pe.preStyleProps.forEach(Y=>R.add(Y));let F=xt(w,q,new Set);pe.postStyleProps.forEach(Y=>F.add(Y)),q!==n&&L.add(q)}),nE(n,this._triggerName,r,i,C,N,$,ee,[...L.values()],T,w,te))}};function N1(t,e,n,r,i){return t.some(s=>s(e,n,r,i))}function vE(t,e){let n=J({},e);return Object.entries(t).forEach(([r,i])=>{i!=null&&(n[r]=i)}),n}var Af=class{constructor(e,n,r){this.styles=e,this.defaultParams=n,this.normalizer=r}buildStyles(e,n){let r=new Map,i=vE(e,this.defaultParams);return this.styles.styles.forEach(s=>{typeof s!="string"&&s.forEach((o,a)=>{o&&(o=Ks(o,i,n));let c=this.normalizer.normalizePropertyName(a,n);o=this.normalizer.normalizeStyleValue(a,c,o,n),r.set(a,o)})}),r}};function M1(t,e,n){return new xf(t,e,n)}var xf=class{constructor(e,n,r){this.name=e,this.ast=n,this._normalizer=r,this.transitionFactories=[],this.states=new Map,n.states.forEach(i=>{let s=i.options&&i.options.params||{};this.states.set(i.name,new Af(i.style,s,r))}),rE(this.states,"true","1"),rE(this.states,"false","0"),n.transitions.forEach(i=>{this.transitionFactories.push(new qc(e,i,this.states))}),this.fallbackTransition=A1(e,this.states,this._normalizer)}get containsQueries(){return this.ast.queryCount>0}matchTransition(e,n,r,i){return this.transitionFactories.find(o=>o.match(e,n,r,i))||null}matchStyles(e,n,r){return this.fallbackTransition.buildStyles(e,n,r)}};function A1(t,e,n){let r=[(o,a)=>!0],i={type:we.Sequence,steps:[],options:null},s={type:we.Transition,animation:i,matchers:r,options:null,queryCount:0,depCount:0};return new qc(t,s,e)}function rE(t,e,n){t.has(e)?t.has(n)||t.set(n,t.get(e)):t.has(n)&&t.set(e,t.get(n))}var x1=new Ys,Rf=class{constructor(e,n,r){this.bodyNode=e,this._driver=n,this._normalizer=r,this._animations=new Map,this._playersById=new Map,this.players=[]}register(e,n){let r=[],i=[],s=gE(this._driver,n,r,i);if(r.length)throw zI(r);i.length&&void 0,this._animations.set(e,s)}_buildPlayer(e,n,r){let i=e.element,s=lE(this._normalizer,e.keyframes,n,r);return this._driver.animate(i,s,e.duration,e.delay,e.easing,[],!0)}create(e,n,r={}){let i=[],s=this._animations.get(e),o,a=new Map;if(s?(o=yE(this._driver,n,s,hE,wf,new Map,new Map,r,x1,i),o.forEach(u=>{let d=xt(a,u.element,new Map);u.postStyleProps.forEach(g=>d.set(g,null))})):(i.push(GI()),o=[]),i.length)throw WI(i);a.forEach((u,d)=>{u.forEach((g,D)=>{u.set(D,this._driver.computeStyle(d,D,gn))})});let c=o.map(u=>{let d=a.get(u.element);return this._buildPlayer(u,new Map,d)}),l=cr(c);return this._playersById.set(e,l),l.onDestroy(()=>this.destroy(e)),this.players.push(l),l}destroy(e){let n=this._getPlayer(e);n.destroy(),this._playersById.delete(e);let r=this.players.indexOf(n);r>=0&&this.players.splice(r,1)}_getPlayer(e){let n=this._playersById.get(e);if(!n)throw QI(e);return n}listen(e,n,r,i){let s=jf(n,"","","");return Ff(this._getPlayer(e),r,s,i),()=>{}}command(e,n,r,i){if(r=="register"){this.register(e,i[0]);return}if(r=="create"){let o=i[0]||{};this.create(e,n,o);return}let s=this._getPlayer(e);switch(r){case"play":s.play();break;case"pause":s.pause();break;case"reset":s.reset();break;case"restart":s.restart();break;case"finish":s.finish();break;case"init":s.init();break;case"setPosition":s.setPosition(parseFloat(i[0]));break;case"destroy":this.destroy(e);break}}},iE="ng-animate-queued",R1=".ng-animate-queued",vf="ng-animate-disabled",O1=".ng-animate-disabled",k1="ng-star-inserted",L1=".ng-star-inserted",P1=[],EE={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},F1={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},sn="__ng_removed",Zs=class{get params(){return this.options.params}constructor(e,n=""){this.namespaceId=n;let r=e&&e.hasOwnProperty("value"),i=r?e.value:e;if(this.value=B1(i),r){let s=e,{value:o}=s,a=zo(s,["value"]);this.options=a}else this.options={};this.options.params||(this.options.params={})}absorbOptions(e){let n=e.params;if(n){let r=this.options.params;Object.keys(n).forEach(i=>{r[i]==null&&(r[i]=n[i])})}}},Qs="void",Ef=new Zs(Qs),Of=class{constructor(e,n,r){this.id=e,this.hostElement=n,this._engine=r,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+e,Vt(n,this._hostClassName)}listen(e,n,r,i){if(!this._triggers.has(n))throw KI(r,n);if(r==null||r.length==0)throw YI(n);if(!H1(r))throw ZI(r,n);let s=xt(this._elementListeners,e,[]),o={name:n,phase:r,callback:i};s.push(o);let a=xt(this._engine.statesByElement,e,new Map);return a.has(n)||(Vt(e,Rc),Vt(e,Rc+"-"+n),a.set(n,Ef)),()=>{this._engine.afterFlush(()=>{let c=s.indexOf(o);c>=0&&s.splice(c,1),this._triggers.has(n)||a.delete(n)})}}register(e,n){return this._triggers.has(e)?!1:(this._triggers.set(e,n),!0)}_getTrigger(e){let n=this._triggers.get(e);if(!n)throw XI(e);return n}trigger(e,n,r,i=!0){let s=this._getTrigger(n),o=new Xs(this.id,n,e),a=this._engine.statesByElement.get(e);a||(Vt(e,Rc),Vt(e,Rc+"-"+n),this._engine.statesByElement.set(e,a=new Map));let c=a.get(n),l=new Zs(r,this.id);if(!(r&&r.hasOwnProperty("value"))&&c&&l.absorbOptions(c.options),a.set(n,l),c||(c=Ef),!(l.value===Qs)&&c.value===l.value){if(!q1(c.params,l.params)){let M=[],$=s.matchStyles(c.value,c.params,M),L=s.matchStyles(l.value,l.params,M);M.length?this._engine.reportError(M):this._engine.afterFlush(()=>{qr(e,$),yn(e,L)})}return}let g=xt(this._engine.playersByElement,e,[]);g.forEach(M=>{M.namespaceId==this.id&&M.triggerName==n&&M.queued&&M.destroy()});let D=s.matchTransition(c.value,l.value,e,l.params),N=!1;if(!D){if(!i)return;D=s.fallbackTransition,N=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:n,transition:D,fromState:c,toState:l,player:o,isFallbackTransition:N}),N||(Vt(e,iE),o.onStart(()=>{xi(e,iE)})),o.onDone(()=>{let M=this.players.indexOf(o);M>=0&&this.players.splice(M,1);let $=this._engine.playersByElement.get(e);if($){let L=$.indexOf(o);L>=0&&$.splice(L,1)}}),this.players.push(o),g.push(o),o}deregister(e){this._triggers.delete(e),this._engine.statesByElement.forEach(n=>n.delete(e)),this._elementListeners.forEach((n,r)=>{this._elementListeners.set(r,n.filter(i=>i.name!=e))})}clearElementCache(e){this._engine.statesByElement.delete(e),this._elementListeners.delete(e);let n=this._engine.playersByElement.get(e);n&&(n.forEach(r=>r.destroy()),this._engine.playersByElement.delete(e))}_signalRemovalForInnerTriggers(e,n){let r=this._engine.driver.query(e,Fc,!0);r.forEach(i=>{if(i[sn])return;let s=this._engine.fetchNamespacesByElement(i);s.size?s.forEach(o=>o.triggerLeaveAnimation(i,n,!1,!0)):this.clearElementCache(i)}),this._engine.afterFlushAnimationsDone(()=>r.forEach(i=>this.clearElementCache(i)))}triggerLeaveAnimation(e,n,r,i){let s=this._engine.statesByElement.get(e),o=new Map;if(s){let a=[];if(s.forEach((c,l)=>{if(o.set(l,c.value),this._triggers.has(l)){let u=this.trigger(e,l,Qs,i);u&&a.push(u)}}),a.length)return this._engine.markElementAsRemoved(this.id,e,!0,n,o),r&&cr(a).onDone(()=>this._engine.processLeaveNode(e)),!0}return!1}prepareLeaveAnimationListeners(e){let n=this._elementListeners.get(e),r=this._engine.statesByElement.get(e);if(n&&r){let i=new Set;n.forEach(s=>{let o=s.name;if(i.has(o))return;i.add(o);let c=this._triggers.get(o).fallbackTransition,l=r.get(o)||Ef,u=new Zs(Qs),d=new Xs(this.id,o,e);this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:o,transition:c,fromState:l,toState:u,player:d,isFallbackTransition:!0})})}}removeNode(e,n){let r=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,n),this.triggerLeaveAnimation(e,n,!0))return;let i=!1;if(r.totalAnimations){let s=r.players.length?r.playersByQueriedElement.get(e):[];if(s&&s.length)i=!0;else{let o=e;for(;o=o.parentNode;)if(r.statesByElement.get(o)){i=!0;break}}}if(this.prepareLeaveAnimationListeners(e),i)r.markElementAsRemoved(this.id,e,!1,n);else{let s=e[sn];(!s||s===EE)&&(r.afterFlush(()=>this.clearElementCache(e)),r.destroyInnerAnimations(e),r._onRemovalComplete(e,n))}}insertNode(e,n){Vt(e,this._hostClassName)}drainQueuedTransitions(e){let n=[];return this._queue.forEach(r=>{let i=r.player;if(i.destroyed)return;let s=r.element,o=this._elementListeners.get(s);o&&o.forEach(a=>{if(a.name==r.triggerName){let c=jf(s,r.triggerName,r.fromState.value,r.toState.value);c._data=e,Ff(r.player,a.phase,c,a.callback)}}),i.markedForDestroy?this._engine.afterFlush(()=>{i.destroy()}):n.push(r)}),this._queue=[],n.sort((r,i)=>{let s=r.transition.ast.depCount,o=i.transition.ast.depCount;return s==0||o==0?s-o:this._engine.driver.containsElement(r.element,i.element)?1:-1})}destroy(e){this.players.forEach(n=>n.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,e)}},kf=class{_onRemovalComplete(e,n){this.onRemovalComplete(e,n)}constructor(e,n,r,i){this.bodyNode=e,this.driver=n,this._normalizer=r,this.scheduler=i,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(s,o)=>{}}get queuedPlayers(){let e=[];return this._namespaceList.forEach(n=>{n.players.forEach(r=>{r.queued&&e.push(r)})}),e}createNamespace(e,n){let r=new Of(e,n,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,n)?this._balanceNamespaceList(r,n):(this.newHostElements.set(n,r),this.collectEnterElement(n)),this._namespaceLookup[e]=r}_balanceNamespaceList(e,n){let r=this._namespaceList,i=this.namespacesByHostElement;if(r.length-1>=0){let o=!1,a=this.driver.getParentElement(n);for(;a;){let c=i.get(a);if(c){let l=r.indexOf(c);r.splice(l+1,0,e),o=!0;break}a=this.driver.getParentElement(a)}o||r.unshift(e)}else r.push(e);return i.set(n,e),e}register(e,n){let r=this._namespaceLookup[e];return r||(r=this.createNamespace(e,n)),r}registerTrigger(e,n,r){let i=this._namespaceLookup[e];i&&i.register(n,r)&&this.totalAnimations++}destroy(e,n){e&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{let r=this._fetchNamespace(e);this.namespacesByHostElement.delete(r.hostElement);let i=this._namespaceList.indexOf(r);i>=0&&this._namespaceList.splice(i,1),r.destroy(n),delete this._namespaceLookup[e]}))}_fetchNamespace(e){return this._namespaceLookup[e]}fetchNamespacesByElement(e){let n=new Set,r=this.statesByElement.get(e);if(r){for(let i of r.values())if(i.namespaceId){let s=this._fetchNamespace(i.namespaceId);s&&n.add(s)}}return n}trigger(e,n,r,i){if(Lc(n)){let s=this._fetchNamespace(e);if(s)return s.trigger(n,r,i),!0}return!1}insertNode(e,n,r,i){if(!Lc(n))return;let s=n[sn];if(s&&s.setForRemoval){s.setForRemoval=!1,s.setForMove=!0;let o=this.collectedLeaveElements.indexOf(n);o>=0&&this.collectedLeaveElements.splice(o,1)}if(e){let o=this._fetchNamespace(e);o&&o.insertNode(n,r)}i&&this.collectEnterElement(n)}collectEnterElement(e){this.collectedEnterElements.push(e)}markElementAsDisabled(e,n){n?this.disabledNodes.has(e)||(this.disabledNodes.add(e),Vt(e,vf)):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),xi(e,vf))}removeNode(e,n,r){if(Lc(n)){this.scheduler?.notify();let i=e?this._fetchNamespace(e):null;i?i.removeNode(n,r):this.markElementAsRemoved(e,n,!1,r);let s=this.namespacesByHostElement.get(n);s&&s.id!==e&&s.removeNode(n,r)}else this._onRemovalComplete(n,r)}markElementAsRemoved(e,n,r,i,s){this.collectedLeaveElements.push(n),n[sn]={namespaceId:e,setForRemoval:i,hasAnimation:r,removedBeforeQueried:!1,previousTriggersValues:s}}listen(e,n,r,i,s){return Lc(n)?this._fetchNamespace(e).listen(n,r,i,s):()=>{}}_buildInstruction(e,n,r,i,s){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,r,i,e.fromState.options,e.toState.options,n,s)}destroyInnerAnimations(e){let n=this.driver.query(e,Fc,!0);n.forEach(r=>this.destroyActiveAnimationsForElement(r)),this.playersByQueriedElement.size!=0&&(n=this.driver.query(e,Df,!0),n.forEach(r=>this.finishActiveQueriedAnimationOnElement(r)))}destroyActiveAnimationsForElement(e){let n=this.playersByElement.get(e);n&&n.forEach(r=>{r.queued?r.markedForDestroy=!0:r.destroy()})}finishActiveQueriedAnimationOnElement(e){let n=this.playersByQueriedElement.get(e);n&&n.forEach(r=>r.finish())}whenRenderingDone(){return new Promise(e=>{if(this.players.length)return cr(this.players).onDone(()=>e());e()})}processLeaveNode(e){let n=e[sn];if(n&&n.setForRemoval){if(e[sn]=EE,n.namespaceId){this.destroyInnerAnimations(e);let r=this._fetchNamespace(n.namespaceId);r&&r.clearElementCache(e)}this._onRemovalComplete(e,n.setForRemoval)}e.classList?.contains(vf)&&this.markElementAsDisabled(e,!1),this.driver.query(e,O1,!0).forEach(r=>{this.markElementAsDisabled(r,!1)})}flush(e=-1){let n=[];if(this.newHostElements.size&&(this.newHostElements.forEach((r,i)=>this._balanceNamespaceList(r,i)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let r=0;r<this.collectedEnterElements.length;r++){let i=this.collectedEnterElements[r];Vt(i,k1)}if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){let r=[];try{n=this._flushAnimations(r,e)}finally{for(let i=0;i<r.length;i++)r[i]()}}else for(let r=0;r<this.collectedLeaveElements.length;r++){let i=this.collectedLeaveElements[r];this.processLeaveNode(i)}if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(r=>r()),this._flushFns=[],this._whenQuietFns.length){let r=this._whenQuietFns;this._whenQuietFns=[],n.length?cr(n).onDone(()=>{r.forEach(i=>i())}):r.forEach(i=>i())}}reportError(e){throw JI(e)}_flushAnimations(e,n){let r=new Ys,i=[],s=new Map,o=[],a=new Map,c=new Map,l=new Map,u=new Set;this.disabledNodes.forEach(y=>{u.add(y);let S=this.driver.query(y,R1,!0);for(let x=0;x<S.length;x++)u.add(S[x])});let d=this.bodyNode,g=Array.from(this.statesByElement.keys()),D=aE(g,this.collectedEnterElements),N=new Map,M=0;D.forEach((y,S)=>{let x=hE+M++;N.set(S,x),y.forEach(U=>Vt(U,x))});let $=[],L=new Set,T=new Set;for(let y=0;y<this.collectedLeaveElements.length;y++){let S=this.collectedLeaveElements[y],x=S[sn];x&&x.setForRemoval&&($.push(S),L.add(S),x.hasAnimation?this.driver.query(S,L1,!0).forEach(U=>L.add(U)):T.add(S))}let w=new Map,C=aE(g,Array.from(L));C.forEach((y,S)=>{let x=wf+M++;w.set(S,x),y.forEach(U=>Vt(U,x))}),e.push(()=>{D.forEach((y,S)=>{let x=N.get(S);y.forEach(U=>xi(U,x))}),C.forEach((y,S)=>{let x=w.get(S);y.forEach(U=>xi(U,x))}),$.forEach(y=>{this.processLeaveNode(y)})});let E=[],ee=[];for(let y=this._namespaceList.length-1;y>=0;y--)this._namespaceList[y].drainQueuedTransitions(n).forEach(x=>{let U=x.player,K=x.element;if(E.push(U),this.collectedEnterElements.length){let st=K[sn];if(st&&st.setForMove){if(st.previousTriggersValues&&st.previousTriggersValues.has(x.triggerName)){let bn=st.previousTriggersValues.get(x.triggerName),vt=this.statesByElement.get(x.element);if(vt&&vt.has(x.triggerName)){let Yr=vt.get(x.triggerName);Yr.value=bn,vt.set(x.triggerName,Yr)}}U.destroy();return}}let fe=!d||!this.driver.containsElement(d,K),_=w.get(K),O=N.get(K),V=this._buildInstruction(x,r,O,_,fe);if(V.errors&&V.errors.length){ee.push(V);return}if(fe){U.onStart(()=>qr(K,V.fromStyles)),U.onDestroy(()=>yn(K,V.toStyles)),i.push(U);return}if(x.isFallbackTransition){U.onStart(()=>qr(K,V.fromStyles)),U.onDestroy(()=>yn(K,V.toStyles)),i.push(U);return}let De=[];V.timelines.forEach(st=>{st.stretchStartingKeyframe=!0,this.disabledNodes.has(st.element)||De.push(st)}),V.timelines=De,r.append(K,V.timelines);let mt={instruction:V,player:U,element:K};o.push(mt),V.queriedElements.forEach(st=>xt(a,st,[]).push(U)),V.preStyleProps.forEach((st,bn)=>{if(st.size){let vt=c.get(bn);vt||c.set(bn,vt=new Set),st.forEach((Yr,$i)=>vt.add($i))}}),V.postStyleProps.forEach((st,bn)=>{let vt=l.get(bn);vt||l.set(bn,vt=new Set),st.forEach((Yr,$i)=>vt.add($i))})});if(ee.length){let y=[];ee.forEach(S=>{y.push(e1(S.triggerName,S.errors))}),E.forEach(S=>S.destroy()),this.reportError(y)}let te=new Map,pe=new Map;o.forEach(y=>{let S=y.element;r.has(S)&&(pe.set(S,S),this._beforeAnimationBuild(y.player.namespaceId,y.instruction,te))}),i.forEach(y=>{let S=y.element;this._getPreviousPlayers(S,!1,y.namespaceId,y.triggerName,null).forEach(U=>{xt(te,S,[]).push(U),U.destroy()})});let q=$.filter(y=>cE(y,c,l)),R=new Map;oE(R,this.driver,T,l,gn).forEach(y=>{cE(y,c,l)&&q.push(y)});let Y=new Map;D.forEach((y,S)=>{oE(Y,this.driver,new Set(y),c,xc)}),q.forEach(y=>{let S=R.get(y),x=Y.get(y);R.set(y,new Map([...S?.entries()??[],...x?.entries()??[]]))});let v=[],m=[],p={};o.forEach(y=>{let{element:S,player:x,instruction:U}=y;if(r.has(S)){if(u.has(S)){x.onDestroy(()=>yn(S,U.toStyles)),x.disabled=!0,x.overrideTotalTime(U.totalTime),i.push(x);return}let K=p;if(pe.size>1){let _=S,O=[];for(;_=_.parentNode;){let V=pe.get(_);if(V){K=V;break}O.push(_)}O.forEach(V=>pe.set(V,K))}let fe=this._buildAnimation(x.namespaceId,U,te,s,Y,R);if(x.setRealPlayer(fe),K===p)v.push(x);else{let _=this.playersByElement.get(K);_&&_.length&&(x.parentPlayer=cr(_)),i.push(x)}}else qr(S,U.fromStyles),x.onDestroy(()=>yn(S,U.toStyles)),m.push(x),u.has(S)&&i.push(x)}),m.forEach(y=>{let S=s.get(y.element);if(S&&S.length){let x=cr(S);y.setRealPlayer(x)}}),i.forEach(y=>{y.parentPlayer?y.syncPlayerEvents(y.parentPlayer):y.destroy()});for(let y=0;y<$.length;y++){let S=$[y],x=S[sn];if(xi(S,wf),x&&x.hasAnimation)continue;let U=[];if(a.size){let fe=a.get(S);fe&&fe.length&&U.push(...fe);let _=this.driver.query(S,Df,!0);for(let O=0;O<_.length;O++){let V=a.get(_[O]);V&&V.length&&U.push(...V)}}let K=U.filter(fe=>!fe.destroyed);K.length?U1(this,S,K):this.processLeaveNode(S)}return $.length=0,v.forEach(y=>{this.players.push(y),y.onDone(()=>{y.destroy();let S=this.players.indexOf(y);this.players.splice(S,1)}),y.play()}),v}afterFlush(e){this._flushFns.push(e)}afterFlushAnimationsDone(e){this._whenQuietFns.push(e)}_getPreviousPlayers(e,n,r,i,s){let o=[];if(n){let a=this.playersByQueriedElement.get(e);a&&(o=a)}else{let a=this.playersByElement.get(e);if(a){let c=!s||s==Qs;a.forEach(l=>{l.queued||!c&&l.triggerName!=i||o.push(l)})}}return(r||i)&&(o=o.filter(a=>!(r&&r!=a.namespaceId||i&&i!=a.triggerName))),o}_beforeAnimationBuild(e,n,r){let i=n.triggerName,s=n.element,o=n.isRemovalTransition?void 0:e,a=n.isRemovalTransition?void 0:i;for(let c of n.timelines){let l=c.element,u=l!==s,d=xt(r,l,[]);this._getPreviousPlayers(l,u,o,a,n.toState).forEach(D=>{let N=D.getRealPlayer();N.beforeDestroy&&N.beforeDestroy(),D.destroy(),d.push(D)})}qr(s,n.fromStyles)}_buildAnimation(e,n,r,i,s,o){let a=n.triggerName,c=n.element,l=[],u=new Set,d=new Set,g=n.timelines.map(N=>{let M=N.element;u.add(M);let $=M[sn];if($&&$.removedBeforeQueried)return new ar(N.duration,N.delay);let L=M!==c,T=V1((r.get(M)||P1).map(te=>te.getRealPlayer())).filter(te=>{let pe=te;return pe.element?pe.element===M:!1}),w=s.get(M),C=o.get(M),E=lE(this._normalizer,N.keyframes,w,C),ee=this._buildPlayer(N,E,T);if(N.subTimeline&&i&&d.add(M),L){let te=new Xs(e,a,M);te.setRealPlayer(ee),l.push(te)}return ee});l.forEach(N=>{xt(this.playersByQueriedElement,N.element,[]).push(N),N.onDone(()=>j1(this.playersByQueriedElement,N.element,N))}),u.forEach(N=>Vt(N,Xv));let D=cr(g);return D.onDestroy(()=>{u.forEach(N=>xi(N,Xv)),yn(c,n.toStyles)}),d.forEach(N=>{xt(i,N,[]).push(D)}),D}_buildPlayer(e,n,r){return n.length>0?this.driver.animate(e.element,n,e.duration,e.delay,e.easing,r):new ar(e.duration,e.delay)}},Xs=class{constructor(e,n,r){this.namespaceId=e,this.triggerName=n,this.element=r,this._player=new ar,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.parentPlayer=null,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(e){this._containsRealPlayer||(this._player=e,this._queuedCallbacks.forEach((n,r)=>{n.forEach(i=>Ff(e,r,void 0,i))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(e.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(e){this.totalTime=e}syncPlayerEvents(e){let n=this._player;n.triggerCallback&&e.onStart(()=>n.triggerCallback("start")),e.onDone(()=>this.finish()),e.onDestroy(()=>this.destroy())}_queueEvent(e,n){xt(this._queuedCallbacks,e,[]).push(n)}onDone(e){this.queued&&this._queueEvent("done",e),this._player.onDone(e)}onStart(e){this.queued&&this._queueEvent("start",e),this._player.onStart(e)}onDestroy(e){this.queued&&this._queueEvent("destroy",e),this._player.onDestroy(e)}init(){this._player.init()}hasStarted(){return this.queued?!1:this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(e){this.queued||this._player.setPosition(e)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(e){let n=this._player;n.triggerCallback&&n.triggerCallback(e)}};function j1(t,e,n){let r=t.get(e);if(r){if(r.length){let i=r.indexOf(n);r.splice(i,1)}r.length==0&&t.delete(e)}return r}function B1(t){return t??null}function Lc(t){return t&&t.nodeType===1}function H1(t){return t=="start"||t=="done"}function sE(t,e){let n=t.style.display;return t.style.display=e??"none",n}function oE(t,e,n,r,i){let s=[];n.forEach(c=>s.push(sE(c)));let o=[];r.forEach((c,l)=>{let u=new Map;c.forEach(d=>{let g=e.computeStyle(l,d,i);u.set(d,g),(!g||g.length==0)&&(l[sn]=F1,o.push(l))}),t.set(l,u)});let a=0;return n.forEach(c=>sE(c,s[a++])),o}function aE(t,e){let n=new Map;if(t.forEach(a=>n.set(a,[])),e.length==0)return n;let r=1,i=new Set(e),s=new Map;function o(a){if(!a)return r;let c=s.get(a);if(c)return c;let l=a.parentNode;return n.has(l)?c=l:i.has(l)?c=r:c=o(l),s.set(a,c),c}return e.forEach(a=>{let c=o(a);c!==r&&n.get(c).push(a)}),n}function Vt(t,e){t.classList?.add(e)}function xi(t,e){t.classList?.remove(e)}function U1(t,e,n){cr(n).onDone(()=>t.processLeaveNode(e))}function V1(t){let e=[];return bE(t,e),e}function bE(t,e){for(let n=0;n<t.length;n++){let r=t[n];r instanceof Gs?bE(r.players,e):e.push(r)}}function q1(t,e){let n=Object.keys(t),r=Object.keys(e);if(n.length!=r.length)return!1;for(let i=0;i<n.length;i++){let s=n[i];if(!e.hasOwnProperty(s)||t[s]!==e[s])return!1}return!0}function cE(t,e,n){let r=n.get(t);if(!r)return!1;let i=e.get(t);return i?r.forEach(s=>i.add(s)):e.set(t,r),n.delete(t),!0}var Oi=class{constructor(e,n,r,i){this._driver=n,this._normalizer=r,this._triggerCache={},this.onRemovalComplete=(s,o)=>{},this._transitionEngine=new kf(e.body,n,r,i),this._timelineEngine=new Rf(e.body,n,r),this._transitionEngine.onRemovalComplete=(s,o)=>this.onRemovalComplete(s,o)}registerTrigger(e,n,r,i,s){let o=e+"-"+i,a=this._triggerCache[o];if(!a){let c=[],l=[],u=gE(this._driver,s,c,l);if(c.length)throw qI(i,c);l.length&&void 0,a=M1(i,u,this._normalizer),this._triggerCache[o]=a}this._transitionEngine.registerTrigger(n,i,a)}register(e,n){this._transitionEngine.register(e,n)}destroy(e,n){this._transitionEngine.destroy(e,n)}onInsert(e,n,r,i){this._transitionEngine.insertNode(e,n,r,i)}onRemove(e,n,r){this._transitionEngine.removeNode(e,n,r)}disableAnimations(e,n){this._transitionEngine.markElementAsDisabled(e,n)}process(e,n,r,i){if(r.charAt(0)=="@"){let[s,o]=Yv(r),a=i;this._timelineEngine.command(s,n,o,a)}else this._transitionEngine.trigger(e,n,r,i)}listen(e,n,r,i,s){if(r.charAt(0)=="@"){let[o,a]=Yv(r);return this._timelineEngine.listen(o,n,a,s)}return this._transitionEngine.listen(e,n,r,i,s)}flush(e=-1){this._transitionEngine.flush(e)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(e){this._transitionEngine.afterFlushAnimationsDone(e)}};function $1(t,e){let n=null,r=null;return Array.isArray(e)&&e.length?(n=bf(e[0]),e.length>1&&(r=bf(e[e.length-1]))):e instanceof Map&&(n=bf(e)),n||r?new Lf(t,n,r):null}var Ri=class Ri{constructor(e,n,r){this._element=e,this._startStyles=n,this._endStyles=r,this._state=0;let i=Ri.initialStylesByElement.get(e);i||Ri.initialStylesByElement.set(e,i=new Map),this._initialStyles=i}start(){this._state<1&&(this._startStyles&&yn(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(yn(this._element,this._initialStyles),this._endStyles&&(yn(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(Ri.initialStylesByElement.delete(this._element),this._startStyles&&(qr(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(qr(this._element,this._endStyles),this._endStyles=null),yn(this._element,this._initialStyles),this._state=3)}};Ri.initialStylesByElement=new WeakMap;var Lf=Ri;function bf(t){let e=null;return t.forEach((n,r)=>{z1(r)&&(e=e||new Map,e.set(r,n))}),e}function z1(t){return t==="display"||t==="position"}var $c=class{constructor(e,n,r,i){this.element=e,this.keyframes=n,this.options=r,this._specialStyles=i,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=r.duration,this._delay=r.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;let e=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,e,this.options),this._finalKeyframe=e.length?e[e.length-1]:new Map;let n=()=>this._onFinish();this.domPlayer.addEventListener("finish",n),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",n)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(e){let n=[];return e.forEach(r=>{n.push(Object.fromEntries(r))}),n}_triggerWebAnimation(e,n,r){return e.animate(this._convertKeyframesToObject(n),r)}onStart(e){this._originalOnStartFns.push(e),this._onStartFns.push(e)}onDone(e){this._originalOnDoneFns.push(e),this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(e=>e()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}setPosition(e){this.domPlayer===void 0&&this.init(),this.domPlayer.currentTime=e*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){let e=new Map;this.hasStarted()&&this._finalKeyframe.forEach((r,i)=>{i!=="offset"&&e.set(i,this._finished?r:Vf(this.element,i))}),this.currentSnapshot=e}triggerCallback(e){let n=e==="start"?this._onStartFns:this._onDoneFns;n.forEach(r=>r()),n.length=0}},zc=class{validateStyleProperty(e){return!0}validateAnimatableStyleProperty(e){return!0}matchesElement(e,n){return!1}containsElement(e,n){return uE(e,n)}getParentElement(e){return Bf(e)}query(e,n,r){return dE(e,n,r)}computeStyle(e,n,r){return Vf(e,n)}animate(e,n,r,i,s,o=[]){let a=i==0?"both":"forwards",c={duration:r,delay:i,fill:a};s&&(c.easing=s);let l=new Map,u=o.filter(D=>D instanceof $c);d1(r,i)&&u.forEach(D=>{D.currentSnapshot.forEach((N,M)=>l.set(M,N))});let d=c1(n).map(D=>new Map(D));d=f1(e,d,l);let g=$1(e,d);return new $c(e,d,c,g)}};var Pc="@",wE="@.disabled",Gc=class{constructor(e,n,r,i){this.namespaceId=e,this.delegate=n,this.engine=r,this._onDestroy=i,this.\u0275type=0}get data(){return this.delegate.data}destroyNode(e){this.delegate.destroyNode?.(e)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(e,n){return this.delegate.createElement(e,n)}createComment(e){return this.delegate.createComment(e)}createText(e){return this.delegate.createText(e)}appendChild(e,n){this.delegate.appendChild(e,n),this.engine.onInsert(this.namespaceId,n,e,!1)}insertBefore(e,n,r,i=!0){this.delegate.insertBefore(e,n,r),this.engine.onInsert(this.namespaceId,n,e,i)}removeChild(e,n,r){this.engine.onRemove(this.namespaceId,n,this.delegate)}selectRootElement(e,n){return this.delegate.selectRootElement(e,n)}parentNode(e){return this.delegate.parentNode(e)}nextSibling(e){return this.delegate.nextSibling(e)}setAttribute(e,n,r,i){this.delegate.setAttribute(e,n,r,i)}removeAttribute(e,n,r){this.delegate.removeAttribute(e,n,r)}addClass(e,n){this.delegate.addClass(e,n)}removeClass(e,n){this.delegate.removeClass(e,n)}setStyle(e,n,r,i){this.delegate.setStyle(e,n,r,i)}removeStyle(e,n,r){this.delegate.removeStyle(e,n,r)}setProperty(e,n,r){n.charAt(0)==Pc&&n==wE?this.disableAnimations(e,!!r):this.delegate.setProperty(e,n,r)}setValue(e,n){this.delegate.setValue(e,n)}listen(e,n,r){return this.delegate.listen(e,n,r)}disableAnimations(e,n){this.engine.disableAnimations(e,n)}},Pf=class extends Gc{constructor(e,n,r,i,s){super(n,r,i,s),this.factory=e,this.namespaceId=n}setProperty(e,n,r){n.charAt(0)==Pc?n.charAt(1)=="."&&n==wE?(r=r===void 0?!0:!!r,this.disableAnimations(e,r)):this.engine.process(this.namespaceId,e,n.slice(1),r):this.delegate.setProperty(e,n,r)}listen(e,n,r){if(n.charAt(0)==Pc){let i=G1(e),s=n.slice(1),o="";return s.charAt(0)!=Pc&&([s,o]=W1(s)),this.engine.listen(this.namespaceId,i,s,o,a=>{let c=a._data||-1;this.factory.scheduleListenerCallback(c,r,a)})}return this.delegate.listen(e,n,r)}};function G1(t){switch(t){case"body":return document.body;case"document":return document;case"window":return window;default:return t}}function W1(t){let e=t.indexOf("."),n=t.substring(0,e),r=t.slice(e+1);return[n,r]}var Wc=class{constructor(e,n,r){this.delegate=e,this.engine=n,this._zone=r,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,n.onRemovalComplete=(i,s)=>{let o=s?.parentNode(i);o&&s.removeChild(o,i)}}createRenderer(e,n){let r="",i=this.delegate.createRenderer(e,n);if(!e||!n?.data?.animation){let l=this._rendererCache,u=l.get(i);if(!u){let d=()=>l.delete(i);u=new Gc(r,i,this.engine,d),l.set(i,u)}return u}let s=n.id,o=n.id+"-"+this._currentId;this._currentId++,this.engine.register(o,e);let a=l=>{Array.isArray(l)?l.forEach(a):this.engine.registerTrigger(s,o,e,l.name,l)};return n.data.animation.forEach(a),new Pf(this,o,i,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(e,n,r){if(e>=0&&e<this._microtaskId){this._zone.run(()=>n(r));return}let i=this._animationCallbacksBuffer;i.length==0&&queueMicrotask(()=>{this._zone.run(()=>{i.forEach(s=>{let[o,a]=s;o(a)}),this._animationCallbacksBuffer=[]})}),i.push([n,r])}end(){this._cdRecurDepth--,this._cdRecurDepth==0&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}};var Y1=(()=>{let e=class e extends Oi{constructor(r,i,s){super(r,i,s,W(bs,{optional:!0}))}ngOnDestroy(){this.flush()}};e.\u0275fac=function(i){return new(i||e)(ue($e),ue($r),ue(zr))},e.\u0275prov=ie({token:e,factory:e.\u0275fac});let t=e;return t})();function Z1(){return new Bc}function X1(t,e,n){return new Wc(t,e,n)}var DE=[{provide:zr,useFactory:Z1},{provide:Oi,useClass:Y1},{provide:Lr,useFactory:X1,deps:[Mc,Oi,Be]}],xP=[{provide:$r,useFactory:()=>new zc},{provide:Ed,useValue:"BrowserAnimations"},...DE],J1=[{provide:$r,useClass:Hf},{provide:Ed,useValue:"NoopAnimations"},...DE];function _E(){return[...J1]}var eN=Object.getOwnPropertyNames,se=(t,e)=>function(){return e||(0,t[eN(t)[0]])((e={exports:{}}).exports,e),e.exports},Js=se({"external/npm/node_modules/domino/lib/Event.js"(t,e){"use strict";e.exports=n,n.CAPTURING_PHASE=1,n.AT_TARGET=2,n.BUBBLING_PHASE=3;function n(r,i){if(this.type="",this.target=null,this.currentTarget=null,this.eventPhase=n.AT_TARGET,this.bubbles=!1,this.cancelable=!1,this.isTrusted=!1,this.defaultPrevented=!1,this.timeStamp=Date.now(),this._propagationStopped=!1,this._immediatePropagationStopped=!1,this._initialized=!0,this._dispatching=!1,r&&(this.type=r),i)for(var s in i)this[s]=i[s]}n.prototype=Object.create(Object.prototype,{constructor:{value:n},stopPropagation:{value:function(){this._propagationStopped=!0}},stopImmediatePropagation:{value:function(){this._propagationStopped=!0,this._immediatePropagationStopped=!0}},preventDefault:{value:function(){this.cancelable&&(this.defaultPrevented=!0)}},initEvent:{value:function(i,s,o){this._initialized=!0,!this._dispatching&&(this._propagationStopped=!1,this._immediatePropagationStopped=!1,this.defaultPrevented=!1,this.isTrusted=!1,this.target=null,this.type=i,this.bubbles=s,this.cancelable=o)}}})}}),TE=se({"external/npm/node_modules/domino/lib/UIEvent.js"(t,e){"use strict";var n=Js();e.exports=r;function r(){n.call(this),this.view=null,this.detail=0}r.prototype=Object.create(n.prototype,{constructor:{value:r},initUIEvent:{value:function(i,s,o,a,c){this.initEvent(i,s,o),this.view=a,this.detail=c}}})}}),SE=se({"external/npm/node_modules/domino/lib/MouseEvent.js"(t,e){"use strict";var n=TE();e.exports=r;function r(){n.call(this),this.screenX=this.screenY=this.clientX=this.clientY=0,this.ctrlKey=this.altKey=this.shiftKey=this.metaKey=!1,this.button=0,this.buttons=1,this.relatedTarget=null}r.prototype=Object.create(n.prototype,{constructor:{value:r},initMouseEvent:{value:function(i,s,o,a,c,l,u,d,g,D,N,M,$,L,T){switch(this.initEvent(i,s,o,a,c),this.screenX=l,this.screenY=u,this.clientX=d,this.clientY=g,this.ctrlKey=D,this.altKey=N,this.shiftKey=M,this.metaKey=$,this.button=L,L){case 0:this.buttons=1;break;case 1:this.buttons=4;break;case 2:this.buttons=2;break;default:this.buttons=0;break}this.relatedTarget=T}},getModifierState:{value:function(i){switch(i){case"Alt":return this.altKey;case"Control":return this.ctrlKey;case"Shift":return this.shiftKey;case"Meta":return this.metaKey;default:return!1}}}})}}),Wf=se({"external/npm/node_modules/domino/lib/DOMException.js"(t,e){"use strict";e.exports=R;var n=1,r=3,i=4,s=5,o=7,a=8,c=9,l=11,u=12,d=13,g=14,D=15,N=17,M=18,$=19,L=20,T=21,w=22,C=23,E=24,ee=25,te=[null,"INDEX_SIZE_ERR",null,"HIERARCHY_REQUEST_ERR","WRONG_DOCUMENT_ERR","INVALID_CHARACTER_ERR",null,"NO_MODIFICATION_ALLOWED_ERR","NOT_FOUND_ERR","NOT_SUPPORTED_ERR","INUSE_ATTRIBUTE_ERR","INVALID_STATE_ERR","SYNTAX_ERR","INVALID_MODIFICATION_ERR","NAMESPACE_ERR","INVALID_ACCESS_ERR",null,"TYPE_MISMATCH_ERR","SECURITY_ERR","NETWORK_ERR","ABORT_ERR","URL_MISMATCH_ERR","QUOTA_EXCEEDED_ERR","TIMEOUT_ERR","INVALID_NODE_TYPE_ERR","DATA_CLONE_ERR"],pe=[null,"INDEX_SIZE_ERR (1): the index is not in the allowed range",null,"HIERARCHY_REQUEST_ERR (3): the operation would yield an incorrect nodes model","WRONG_DOCUMENT_ERR (4): the object is in the wrong Document, a call to importNode is required","INVALID_CHARACTER_ERR (5): the string contains invalid characters",null,"NO_MODIFICATION_ALLOWED_ERR (7): the object can not be modified","NOT_FOUND_ERR (8): the object can not be found here","NOT_SUPPORTED_ERR (9): this operation is not supported","INUSE_ATTRIBUTE_ERR (10): setAttributeNode called on owned Attribute","INVALID_STATE_ERR (11): the object is in an invalid state","SYNTAX_ERR (12): the string did not match the expected pattern","INVALID_MODIFICATION_ERR (13): the object can not be modified in this way","NAMESPACE_ERR (14): the operation is not allowed by Namespaces in XML","INVALID_ACCESS_ERR (15): the object does not support the operation or argument",null,"TYPE_MISMATCH_ERR (17): the type of the object does not match the expected type","SECURITY_ERR (18): the operation is insecure","NETWORK_ERR (19): a network error occurred","ABORT_ERR (20): the user aborted an operation","URL_MISMATCH_ERR (21): the given URL does not match another URL","QUOTA_EXCEEDED_ERR (22): the quota has been exceeded","TIMEOUT_ERR (23): a timeout occurred","INVALID_NODE_TYPE_ERR (24): the supplied node is invalid or has an invalid ancestor for this operation","DATA_CLONE_ERR (25): the object can not be cloned."],q={INDEX_SIZE_ERR:n,DOMSTRING_SIZE_ERR:2,HIERARCHY_REQUEST_ERR:r,WRONG_DOCUMENT_ERR:i,INVALID_CHARACTER_ERR:s,NO_DATA_ALLOWED_ERR:6,NO_MODIFICATION_ALLOWED_ERR:o,NOT_FOUND_ERR:a,NOT_SUPPORTED_ERR:c,INUSE_ATTRIBUTE_ERR:10,INVALID_STATE_ERR:l,SYNTAX_ERR:u,INVALID_MODIFICATION_ERR:d,NAMESPACE_ERR:g,INVALID_ACCESS_ERR:D,VALIDATION_ERR:16,TYPE_MISMATCH_ERR:N,SECURITY_ERR:M,NETWORK_ERR:$,ABORT_ERR:L,URL_MISMATCH_ERR:T,QUOTA_EXCEEDED_ERR:w,TIMEOUT_ERR:C,INVALID_NODE_TYPE_ERR:E,DATA_CLONE_ERR:ee};function R(v){Error.call(this),Error.captureStackTrace(this,this.constructor),this.code=v,this.message=pe[v],this.name=te[v]}R.prototype.__proto__=Error.prototype;for(Y in q)F={value:q[Y]},Object.defineProperty(R,Y,F),Object.defineProperty(R.prototype,Y,F);var F,Y}}),Qf=se({"external/npm/node_modules/domino/lib/config.js"(t){t.isApiWritable=!globalThis.__domino_frozen__}}),Xe=se({"external/npm/node_modules/domino/lib/utils.js"(t){"use strict";var e=Wf(),n=e,r=Qf().isApiWritable;t.NAMESPACE={HTML:"http://www.w3.org/1999/xhtml",XML:"http://www.w3.org/XML/1998/namespace",XMLNS:"http://www.w3.org/2000/xmlns/",MATHML:"http://www.w3.org/1998/Math/MathML",SVG:"http://www.w3.org/2000/svg",XLINK:"http://www.w3.org/1999/xlink"},t.IndexSizeError=function(){throw new e(n.INDEX_SIZE_ERR)},t.HierarchyRequestError=function(){throw new e(n.HIERARCHY_REQUEST_ERR)},t.WrongDocumentError=function(){throw new e(n.WRONG_DOCUMENT_ERR)},t.InvalidCharacterError=function(){throw new e(n.INVALID_CHARACTER_ERR)},t.NoModificationAllowedError=function(){throw new e(n.NO_MODIFICATION_ALLOWED_ERR)},t.NotFoundError=function(){throw new e(n.NOT_FOUND_ERR)},t.NotSupportedError=function(){throw new e(n.NOT_SUPPORTED_ERR)},t.InvalidStateError=function(){throw new e(n.INVALID_STATE_ERR)},t.SyntaxError=function(){throw new e(n.SYNTAX_ERR)},t.InvalidModificationError=function(){throw new e(n.INVALID_MODIFICATION_ERR)},t.NamespaceError=function(){throw new e(n.NAMESPACE_ERR)},t.InvalidAccessError=function(){throw new e(n.INVALID_ACCESS_ERR)},t.TypeMismatchError=function(){throw new e(n.TYPE_MISMATCH_ERR)},t.SecurityError=function(){throw new e(n.SECURITY_ERR)},t.NetworkError=function(){throw new e(n.NETWORK_ERR)},t.AbortError=function(){throw new e(n.ABORT_ERR)},t.UrlMismatchError=function(){throw new e(n.URL_MISMATCH_ERR)},t.QuotaExceededError=function(){throw new e(n.QUOTA_EXCEEDED_ERR)},t.TimeoutError=function(){throw new e(n.TIMEOUT_ERR)},t.InvalidNodeTypeError=function(){throw new e(n.INVALID_NODE_TYPE_ERR)},t.DataCloneError=function(){throw new e(n.DATA_CLONE_ERR)},t.nyi=function(){throw new Error("NotYetImplemented")},t.shouldOverride=function(){throw new Error("Abstract function; should be overriding in subclass.")},t.assert=function(i,s){if(!i)throw new Error("Assertion failed: "+(s||"")+`
`+new Error().stack)},t.expose=function(i,s){for(var o in i)Object.defineProperty(s.prototype,o,{value:i[o],writable:r})},t.merge=function(i,s){for(var o in s)i[o]=s[o]},t.documentOrder=function(i,s){return 3-(i.compareDocumentPosition(s)&6)},t.toASCIILowerCase=function(i){return i.replace(/[A-Z]+/g,function(s){return s.toLowerCase()})},t.toASCIIUpperCase=function(i){return i.replace(/[a-z]+/g,function(s){return s.toUpperCase()})}}}),CE=se({"external/npm/node_modules/domino/lib/EventTarget.js"(t,e){"use strict";var n=Js(),r=SE(),i=Xe();e.exports=s;function s(){}s.prototype={addEventListener:function(a,c,l){if(c){l===void 0&&(l=!1),this._listeners||(this._listeners=Object.create(null)),this._listeners[a]||(this._listeners[a]=[]);for(var u=this._listeners[a],d=0,g=u.length;d<g;d++){var D=u[d];if(D.listener===c&&D.capture===l)return}var N={listener:c,capture:l};typeof c=="function"&&(N.f=c),u.push(N)}},removeEventListener:function(a,c,l){if(l===void 0&&(l=!1),this._listeners){var u=this._listeners[a];if(u)for(var d=0,g=u.length;d<g;d++){var D=u[d];if(D.listener===c&&D.capture===l){u.length===1?this._listeners[a]=void 0:u.splice(d,1);return}}}},dispatchEvent:function(a){return this._dispatchEvent(a,!1)},_dispatchEvent:function(a,c){typeof c!="boolean"&&(c=!1);function l(M,$){var L=$.type,T=$.eventPhase;if($.currentTarget=M,T!==n.CAPTURING_PHASE&&M._handlers&&M._handlers[L]){var w=M._handlers[L],C;if(typeof w=="function")C=w.call($.currentTarget,$);else{var E=w.handleEvent;if(typeof E!="function")throw new TypeError("handleEvent property of event handler object isnot a function.");C=E.call(w,$)}switch($.type){case"mouseover":C===!0&&$.preventDefault();break;case"beforeunload":default:C===!1&&$.preventDefault();break}}var ee=M._listeners&&M._listeners[L];if(ee){ee=ee.slice();for(var te=0,pe=ee.length;te<pe;te++){if($._immediatePropagationStopped)return;var q=ee[te];if(!(T===n.CAPTURING_PHASE&&!q.capture||T===n.BUBBLING_PHASE&&q.capture))if(q.f)q.f.call($.currentTarget,$);else{var R=q.listener.handleEvent;if(typeof R!="function")throw new TypeError("handleEvent property of event listener object is not a function.");R.call(q.listener,$)}}}}(!a._initialized||a._dispatching)&&i.InvalidStateError(),a.isTrusted=c,a._dispatching=!0,a.target=this;for(var u=[],d=this.parentNode;d;d=d.parentNode)u.push(d);a.eventPhase=n.CAPTURING_PHASE;for(var g=u.length-1;g>=0&&(l(u[g],a),!a._propagationStopped);g--);if(a._propagationStopped||(a.eventPhase=n.AT_TARGET,l(this,a)),a.bubbles&&!a._propagationStopped){a.eventPhase=n.BUBBLING_PHASE;for(var D=0,N=u.length;D<N&&(l(u[D],a),!a._propagationStopped);D++);}if(a._dispatching=!1,a.eventPhase=n.AT_TARGET,a.currentTarget=null,c&&!a.defaultPrevented&&a instanceof r)switch(a.type){case"mousedown":this._armed={x:a.clientX,y:a.clientY,t:a.timeStamp};break;case"mouseout":case"mouseover":this._armed=null;break;case"mouseup":this._isClick(a)&&this._doClick(a),this._armed=null;break}return!a.defaultPrevented},_isClick:function(o){return this._armed!==null&&o.type==="mouseup"&&o.isTrusted&&o.button===0&&o.timeStamp-this._armed.t<1e3&&Math.abs(o.clientX-this._armed.x)<10&&Math.abs(o.clientY-this._armed.Y)<10},_doClick:function(o){if(!this._click_in_progress){this._click_in_progress=!0;for(var a=this;a&&!a._post_click_activation_steps;)a=a.parentNode;a&&a._pre_click_activation_steps&&a._pre_click_activation_steps();var c=this.ownerDocument.createEvent("MouseEvent");c.initMouseEvent("click",!0,!0,this.ownerDocument.defaultView,1,o.screenX,o.screenY,o.clientX,o.clientY,o.ctrlKey,o.altKey,o.shiftKey,o.metaKey,o.button,null);var l=this._dispatchEvent(c,!0);a&&(l?a._post_click_activation_steps&&a._post_click_activation_steps(c):a._cancelled_activation_steps&&a._cancelled_activation_steps())}},_setEventHandler:function(a,c){this._handlers||(this._handlers=Object.create(null)),this._handlers[a]=c},_getEventHandler:function(a){return this._handlers&&this._handlers[a]||null}}}}),IE=se({"external/npm/node_modules/domino/lib/LinkedList.js"(t,e){"use strict";var n=Xe(),r=e.exports={valid:function(i){return n.assert(i,"list falsy"),n.assert(i._previousSibling,"previous falsy"),n.assert(i._nextSibling,"next falsy"),!0},insertBefore:function(i,s){n.assert(r.valid(i)&&r.valid(s));var o=i,a=i._previousSibling,c=s,l=s._previousSibling;o._previousSibling=l,a._nextSibling=c,l._nextSibling=o,c._previousSibling=a,n.assert(r.valid(i)&&r.valid(s))},replace:function(i,s){n.assert(r.valid(i)&&(s===null||r.valid(s))),s!==null&&r.insertBefore(s,i),r.remove(i),n.assert(r.valid(i)&&(s===null||r.valid(s)))},remove:function(i){n.assert(r.valid(i));var s=i._previousSibling;if(s!==i){var o=i._nextSibling;s._nextSibling=o,o._previousSibling=s,i._previousSibling=i._nextSibling=i,n.assert(r.valid(i))}}}}}),NE=se({"external/npm/node_modules/domino/lib/NodeUtils.js"(t,e){"use strict";e.exports={serializeOne:$,\u0275escapeMatchingClosingTag:g,\u0275escapeClosingCommentTag:N,\u0275escapeProcessingInstructionContent:M};var n=Xe(),r=n.NAMESPACE,i={STYLE:!0,SCRIPT:!0,XMP:!0,IFRAME:!0,NOEMBED:!0,NOFRAMES:!0,PLAINTEXT:!0},s={area:!0,base:!0,basefont:!0,bgsound:!0,br:!0,col:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},o={},a=/[&<>\u00A0]/g,c=/[&"<>\u00A0]/g;function l(L){return a.test(L)?L.replace(a,T=>{switch(T){case"&":return"&amp;";case"<":return"&lt;";case">":return"&gt;";case"\xA0":return"&nbsp;"}}):L}function u(L){return c.test(L)?L.replace(c,T=>{switch(T){case"<":return"&lt;";case">":return"&gt;";case"&":return"&amp;";case'"':return"&quot;";case"\xA0":return"&nbsp;"}}):L}function d(L){var T=L.namespaceURI;return T?T===r.XML?"xml:"+L.localName:T===r.XLINK?"xlink:"+L.localName:T===r.XMLNS?L.localName==="xmlns"?"xmlns":"xmlns:"+L.localName:L.name:L.localName}function g(L,T){let w="</"+T;if(!L.toLowerCase().includes(w))return L;let C=[...L],E=L.matchAll(new RegExp(w,"ig"));for(let ee of E)C[ee.index]="&lt;";return C.join("")}var D=/--!?>/;function N(L){return D.test(L)?L.replace(/(--\!?)>/g,"$1&gt;"):L}function M(L){return L.includes(">")?L.replaceAll(">","&gt;"):L}function $(L,T){var w="";switch(L.nodeType){case 1:var C=L.namespaceURI,E=C===r.HTML,ee=E||C===r.SVG||C===r.MATHML?L.localName:L.tagName;w+="<"+ee;for(var te=0,pe=L._numattrs;te<pe;te++){var q=L._attr(te);w+=" "+d(q),q.value!==void 0&&(w+='="'+u(q.value)+'"')}if(w+=">",!(E&&s[ee])){var R=L.serialize();i[ee.toUpperCase()]&&(R=g(R,ee)),E&&o[ee]&&R.charAt(0)===`
`&&(w+=`
`),w+=R,w+="</"+ee+">"}break;case 3:case 4:var F;T.nodeType===1&&T.namespaceURI===r.HTML?F=T.tagName:F="",i[F]||F==="NOSCRIPT"&&T.ownerDocument._scripting_enabled?w+=L.data:w+=l(L.data);break;case 8:w+="<!--"+N(L.data)+"-->";break;case 7:let Y=M(L.data);w+="<?"+L.target+" "+Y+"?>";break;case 10:w+="<!DOCTYPE "+L.name,w+=">";break;default:n.InvalidStateError()}return w}}}),pt=se({"external/npm/node_modules/domino/lib/Node.js"(t,e){"use strict";e.exports=o;var n=CE(),r=IE(),i=NE(),s=Xe();function o(){n.call(this),this.parentNode=null,this._nextSibling=this._previousSibling=this,this._index=void 0}var a=o.ELEMENT_NODE=1,c=o.ATTRIBUTE_NODE=2,l=o.TEXT_NODE=3,u=o.CDATA_SECTION_NODE=4,d=o.ENTITY_REFERENCE_NODE=5,g=o.ENTITY_NODE=6,D=o.PROCESSING_INSTRUCTION_NODE=7,N=o.COMMENT_NODE=8,M=o.DOCUMENT_NODE=9,$=o.DOCUMENT_TYPE_NODE=10,L=o.DOCUMENT_FRAGMENT_NODE=11,T=o.NOTATION_NODE=12,w=o.DOCUMENT_POSITION_DISCONNECTED=1,C=o.DOCUMENT_POSITION_PRECEDING=2,E=o.DOCUMENT_POSITION_FOLLOWING=4,ee=o.DOCUMENT_POSITION_CONTAINS=8,te=o.DOCUMENT_POSITION_CONTAINED_BY=16,pe=o.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC=32;o.prototype=Object.create(n.prototype,{baseURI:{get:s.nyi},parentElement:{get:function(){return this.parentNode&&this.parentNode.nodeType===a?this.parentNode:null}},hasChildNodes:{value:s.shouldOverride},firstChild:{get:s.shouldOverride},lastChild:{get:s.shouldOverride},isConnected:{get:function(){let q=this;for(;q!=null;){if(q.nodeType===o.DOCUMENT_NODE)return!0;q=q.parentNode,q!=null&&q.nodeType===o.DOCUMENT_FRAGMENT_NODE&&(q=q.host)}return!1}},previousSibling:{get:function(){var q=this.parentNode;return!q||this===q.firstChild?null:this._previousSibling}},nextSibling:{get:function(){var q=this.parentNode,R=this._nextSibling;return!q||R===q.firstChild?null:R}},textContent:{get:function(){return null},set:function(q){}},innerText:{get:function(){return null},set:function(q){}},_countChildrenOfType:{value:function(q){for(var R=0,F=this.firstChild;F!==null;F=F.nextSibling)F.nodeType===q&&R++;return R}},_ensureInsertValid:{value:function(R,F,Y){var v=this,m,p;if(!R.nodeType)throw new TypeError("not a node");switch(v.nodeType){case M:case L:case a:break;default:s.HierarchyRequestError()}switch(R.isAncestor(v)&&s.HierarchyRequestError(),(F!==null||!Y)&&F.parentNode!==v&&s.NotFoundError(),R.nodeType){case L:case $:case a:case l:case D:case N:break;default:s.HierarchyRequestError()}if(v.nodeType===M)switch(R.nodeType){case l:s.HierarchyRequestError();break;case L:switch(R._countChildrenOfType(l)>0&&s.HierarchyRequestError(),R._countChildrenOfType(a)){case 0:break;case 1:if(F!==null)for(Y&&F.nodeType===$&&s.HierarchyRequestError(),p=F.nextSibling;p!==null;p=p.nextSibling)p.nodeType===$&&s.HierarchyRequestError();m=v._countChildrenOfType(a),Y?m>0&&s.HierarchyRequestError():(m>1||m===1&&F.nodeType!==a)&&s.HierarchyRequestError();break;default:s.HierarchyRequestError()}break;case a:if(F!==null)for(Y&&F.nodeType===$&&s.HierarchyRequestError(),p=F.nextSibling;p!==null;p=p.nextSibling)p.nodeType===$&&s.HierarchyRequestError();m=v._countChildrenOfType(a),Y?m>0&&s.HierarchyRequestError():(m>1||m===1&&F.nodeType!==a)&&s.HierarchyRequestError();break;case $:if(F===null)v._countChildrenOfType(a)&&s.HierarchyRequestError();else for(p=v.firstChild;p!==null&&p!==F;p=p.nextSibling)p.nodeType===a&&s.HierarchyRequestError();m=v._countChildrenOfType($),Y?m>0&&s.HierarchyRequestError():(m>1||m===1&&F.nodeType!==$)&&s.HierarchyRequestError();break}else R.nodeType===$&&s.HierarchyRequestError()}},insertBefore:{value:function(R,F){var Y=this;Y._ensureInsertValid(R,F,!0);var v=F;return v===R&&(v=R.nextSibling),Y.doc.adoptNode(R),R._insertOrReplace(Y,v,!1),R}},appendChild:{value:function(q){return this.insertBefore(q,null)}},_appendChild:{value:function(q){q._insertOrReplace(this,null,!1)}},removeChild:{value:function(R){var F=this;if(!R.nodeType)throw new TypeError("not a node");return R.parentNode!==F&&s.NotFoundError(),R.remove(),R}},replaceChild:{value:function(R,F){var Y=this;return Y._ensureInsertValid(R,F,!1),R.doc!==Y.doc&&Y.doc.adoptNode(R),R._insertOrReplace(Y,F,!0),F}},contains:{value:function(R){return R===null?!1:this===R?!0:(this.compareDocumentPosition(R)&te)!==0}},compareDocumentPosition:{value:function(R){if(this===R)return 0;if(this.doc!==R.doc||this.rooted!==R.rooted)return w+pe;for(var F=[],Y=[],v=this;v!==null;v=v.parentNode)F.push(v);for(v=R;v!==null;v=v.parentNode)Y.push(v);if(F.reverse(),Y.reverse(),F[0]!==Y[0])return w+pe;v=Math.min(F.length,Y.length);for(var m=1;m<v;m++)if(F[m]!==Y[m])return F[m].index<Y[m].index?E:C;return F.length<Y.length?E+te:C+ee}},isSameNode:{value:function(R){return this===R}},isEqualNode:{value:function(R){if(!R||R.nodeType!==this.nodeType||!this.isEqual(R))return!1;for(var F=this.firstChild,Y=R.firstChild;F&&Y;F=F.nextSibling,Y=Y.nextSibling)if(!F.isEqualNode(Y))return!1;return F===null&&Y===null}},cloneNode:{value:function(q){var R=this.clone();if(q)for(var F=this.firstChild;F!==null;F=F.nextSibling)R._appendChild(F.cloneNode(!0));return R}},lookupPrefix:{value:function(R){var F;if(R===""||R===null||R===void 0)return null;switch(this.nodeType){case a:return this._lookupNamespacePrefix(R,this);case M:return F=this.documentElement,F?F.lookupPrefix(R):null;case g:case T:case L:case $:return null;case c:return F=this.ownerElement,F?F.lookupPrefix(R):null;default:return F=this.parentElement,F?F.lookupPrefix(R):null}}},lookupNamespaceURI:{value:function(R){(R===""||R===void 0)&&(R=null);var F;switch(this.nodeType){case a:return s.shouldOverride();case M:return F=this.documentElement,F?F.lookupNamespaceURI(R):null;case g:case T:case $:case L:return null;case c:return F=this.ownerElement,F?F.lookupNamespaceURI(R):null;default:return F=this.parentElement,F?F.lookupNamespaceURI(R):null}}},isDefaultNamespace:{value:function(R){(R===""||R===void 0)&&(R=null);var F=this.lookupNamespaceURI(null);return F===R}},index:{get:function(){var q=this.parentNode;if(this===q.firstChild)return 0;var R=q.childNodes;if(this._index===void 0||R[this._index]!==this){for(var F=0;F<R.length;F++)R[F]._index=F;s.assert(R[this._index]===this)}return this._index}},isAncestor:{value:function(q){if(this.doc!==q.doc||this.rooted!==q.rooted)return!1;for(var R=q;R;R=R.parentNode)if(R===this)return!0;return!1}},ensureSameDoc:{value:function(q){q.ownerDocument===null?q.ownerDocument=this.doc:q.ownerDocument!==this.doc&&s.WrongDocumentError()}},removeChildren:{value:s.shouldOverride},_insertOrReplace:{value:function(R,F,Y){var v=this,m,p;if(v.nodeType===L&&v.rooted&&s.HierarchyRequestError(),R._childNodes&&(m=F===null?R._childNodes.length:F.index,v.parentNode===R)){var y=v.index;y<m&&m--}Y&&(F.rooted&&F.doc.mutateRemove(F),F.parentNode=null);var S=F;S===null&&(S=R.firstChild);var x=v.rooted&&R.rooted;if(v.nodeType===L){for(var U=[0,Y?1:0],K,fe=v.firstChild;fe!==null;fe=K)K=fe.nextSibling,U.push(fe),fe.parentNode=R;var _=U.length;if(Y?r.replace(S,_>2?U[2]:null):_>2&&S!==null&&r.insertBefore(U[2],S),R._childNodes)for(U[0]=F===null?R._childNodes.length:F._index,R._childNodes.splice.apply(R._childNodes,U),p=2;p<_;p++)U[p]._index=U[0]+(p-2);else R._firstChild===F&&(_>2?R._firstChild=U[2]:Y&&(R._firstChild=null));if(v._childNodes?v._childNodes.length=0:v._firstChild=null,R.rooted)for(R.modify(),p=2;p<_;p++)R.doc.mutateInsert(U[p])}else{if(F===v)return;x?v._remove():v.parentNode&&v.remove(),v.parentNode=R,Y?(r.replace(S,v),R._childNodes?(v._index=m,R._childNodes[m]=v):R._firstChild===F&&(R._firstChild=v)):(S!==null&&r.insertBefore(v,S),R._childNodes?(v._index=m,R._childNodes.splice(m,0,v)):R._firstChild===F&&(R._firstChild=v)),x?(R.modify(),R.doc.mutateMove(v)):R.rooted&&(R.modify(),R.doc.mutateInsert(v))}}},lastModTime:{get:function(){return this._lastModTime||(this._lastModTime=this.doc.modclock),this._lastModTime}},modify:{value:function(){if(this.doc.modclock)for(var q=++this.doc.modclock,R=this;R;R=R.parentElement)R._lastModTime&&(R._lastModTime=q)}},doc:{get:function(){return this.ownerDocument||this}},rooted:{get:function(){return!!this._nid}},normalize:{value:function(){for(var q,R=this.firstChild;R!==null;R=q)if(q=R.nextSibling,R.normalize&&R.normalize(),R.nodeType===o.TEXT_NODE){if(R.nodeValue===""){this.removeChild(R);continue}var F=R.previousSibling;F!==null&&F.nodeType===o.TEXT_NODE&&(F.appendData(R.nodeValue),this.removeChild(R))}}},serialize:{value:function(){if(this._innerHTML)return this._innerHTML;for(var q="",R=this.firstChild;R!==null;R=R.nextSibling)q+=i.serializeOne(R,this);return q}},outerHTML:{get:function(){return i.serializeOne(this,{nodeType:0})},set:s.nyi},ELEMENT_NODE:{value:a},ATTRIBUTE_NODE:{value:c},TEXT_NODE:{value:l},CDATA_SECTION_NODE:{value:u},ENTITY_REFERENCE_NODE:{value:d},ENTITY_NODE:{value:g},PROCESSING_INSTRUCTION_NODE:{value:D},COMMENT_NODE:{value:N},DOCUMENT_NODE:{value:M},DOCUMENT_TYPE_NODE:{value:$},DOCUMENT_FRAGMENT_NODE:{value:L},NOTATION_NODE:{value:T},DOCUMENT_POSITION_DISCONNECTED:{value:w},DOCUMENT_POSITION_PRECEDING:{value:C},DOCUMENT_POSITION_FOLLOWING:{value:E},DOCUMENT_POSITION_CONTAINS:{value:ee},DOCUMENT_POSITION_CONTAINED_BY:{value:te},DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC:{value:pe}})}}),tN=se({"external/npm/node_modules/domino/lib/NodeList.es6.js"(t,e){"use strict";e.exports=class extends Array{constructor(r){if(super(r&&r.length||0),r)for(var i in r)this[i]=r[i]}item(r){return this[r]||null}}}}),nN=se({"external/npm/node_modules/domino/lib/NodeList.es5.js"(t,e){"use strict";function n(i){return this[i]||null}function r(i){return i||(i=[]),i.item=n,i}e.exports=r}}),ki=se({"external/npm/node_modules/domino/lib/NodeList.js"(t,e){"use strict";var n;try{n=tN()}catch{n=nN()}e.exports=n}}),Kf=se({"external/npm/node_modules/domino/lib/ContainerNode.js"(t,e){"use strict";e.exports=i;var n=pt(),r=ki();function i(){n.call(this),this._firstChild=this._childNodes=null}i.prototype=Object.create(n.prototype,{hasChildNodes:{value:function(){return this._childNodes?this._childNodes.length>0:this._firstChild!==null}},childNodes:{get:function(){return this._ensureChildNodes(),this._childNodes}},firstChild:{get:function(){return this._childNodes?this._childNodes.length===0?null:this._childNodes[0]:this._firstChild}},lastChild:{get:function(){var s=this._childNodes,o;return s?s.length===0?null:s[s.length-1]:(o=this._firstChild,o===null?null:o._previousSibling)}},_ensureChildNodes:{value:function(){if(!this._childNodes){var s=this._firstChild,o=s,a=this._childNodes=new r;if(s)do a.push(o),o=o._nextSibling;while(o!==s);this._firstChild=null}}},removeChildren:{value:function(){for(var o=this.rooted?this.ownerDocument:null,a=this.firstChild,c;a!==null;)c=a,a=c.nextSibling,o&&o.mutateRemove(c),c.parentNode=null;this._childNodes?this._childNodes.length=0:this._firstChild=null,this.modify()}}})}}),Yf=se({"external/npm/node_modules/domino/lib/xmlnames.js"(t){"use strict";t.isValidName=M,t.isValidQName=$;var e=/^[_:A-Za-z][-.:\w]+$/,n=/^([_A-Za-z][-.\w]+|[_A-Za-z][-.\w]+:[_A-Za-z][-.\w]+)$/,r="_A-Za-z\xC0-\xD6\xD8-\xF6\xF8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD",i="-._A-Za-z0-9\xB7\xC0-\xD6\xD8-\xF6\xF8-\u02FF\u0300-\u037D\u037F-\u1FFF\u200C\u200D\u203F\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD",s="["+r+"]["+i+"]*",o=r+":",a=i+":",c=new RegExp("^["+o+"]["+a+"]*$"),l=new RegExp("^("+s+"|"+s+":"+s+")$"),u=/[\uD800-\uDB7F\uDC00-\uDFFF]/,d=/[\uD800-\uDB7F\uDC00-\uDFFF]/g,g=/[\uD800-\uDB7F][\uDC00-\uDFFF]/g;r+="\uD800-\u{EFC00}-\uDFFF",i+="\uD800-\u{EFC00}-\uDFFF",s="["+r+"]["+i+"]*",o=r+":",a=i+":";var D=new RegExp("^["+o+"]["+a+"]*$"),N=new RegExp("^("+s+"|"+s+":"+s+")$");function M(L){if(e.test(L)||c.test(L))return!0;if(!u.test(L)||!D.test(L))return!1;var T=L.match(d),w=L.match(g);return w!==null&&2*w.length===T.length}function $(L){if(n.test(L)||l.test(L))return!0;if(!u.test(L)||!N.test(L))return!1;var T=L.match(d),w=L.match(g);return w!==null&&2*w.length===T.length}}}),ME=se({"external/npm/node_modules/domino/lib/attributes.js"(t){"use strict";var e=Xe();t.property=function(r){if(Array.isArray(r.type)){var i=Object.create(null);r.type.forEach(function(a){i[a.value||a]=a.alias||a});var s=r.missing;s===void 0&&(s=null);var o=r.invalid;return o===void 0&&(o=s),{get:function(){var a=this._getattr(r.name);return a===null?s:(a=i[a.toLowerCase()],a!==void 0?a:o!==null?o:a)},set:function(a){this._setattr(r.name,a)}}}else{if(r.type===Boolean)return{get:function(){return this.hasAttribute(r.name)},set:function(a){a?this._setattr(r.name,""):this.removeAttribute(r.name)}};if(r.type===Number||r.type==="long"||r.type==="unsigned long"||r.type==="limited unsigned long with fallback")return n(r);if(!r.type||r.type===String)return{get:function(){return this._getattr(r.name)||""},set:function(a){r.treatNullAsEmptyString&&a===null&&(a=""),this._setattr(r.name,a)}};if(typeof r.type=="function")return r.type(r.name,r)}throw new Error("Invalid attribute definition")};function n(r){var i;typeof r.default=="function"?i=r.default:typeof r.default=="number"?i=function(){return r.default}:i=function(){e.assert(!1,typeof r.default)};var s=r.type==="unsigned long",o=r.type==="long",a=r.type==="limited unsigned long with fallback",c=r.min,l=r.max,u=r.setmin;return c===void 0&&(s&&(c=0),o&&(c=-2147483648),a&&(c=1)),l===void 0&&(s||o||a)&&(l=2147483647),{get:function(){var d=this._getattr(r.name),g=r.float?parseFloat(d):parseInt(d,10);if(d===null||!isFinite(g)||c!==void 0&&g<c||l!==void 0&&g>l)return i.call(this);if(s||o||a){if(!/^[ \t\n\f\r]*[-+]?[0-9]/.test(d))return i.call(this);g=g|0}return g},set:function(d){r.float||(d=Math.floor(d)),u!==void 0&&d<u&&e.IndexSizeError(r.name+" set to "+d),s?d=d<0||d>2147483647?i.call(this):d|0:a?d=d<1||d>2147483647?i.call(this):d|0:o&&(d=d<-2147483648||d>2147483647?i.call(this):d|0),this._setattr(r.name,String(d))}}}t.registerChangeHandler=function(r,i,s){var o=r.prototype;Object.prototype.hasOwnProperty.call(o,"_attributeChangeHandlers")||(o._attributeChangeHandlers=Object.create(o._attributeChangeHandlers||null)),o._attributeChangeHandlers[i]=s}}}),rN=se({"external/npm/node_modules/domino/lib/FilteredElementList.js"(t,e){"use strict";e.exports=r;var n=pt();function r(i,s){this.root=i,this.filter=s,this.lastModTime=i.lastModTime,this.done=!1,this.cache=[],this.traverse()}r.prototype=Object.create(Object.prototype,{length:{get:function(){return this.checkcache(),this.done||this.traverse(),this.cache.length}},item:{value:function(i){return this.checkcache(),!this.done&&i>=this.cache.length&&this.traverse(),this.cache[i]}},checkcache:{value:function(){if(this.lastModTime!==this.root.lastModTime){for(var i=this.cache.length-1;i>=0;i--)this[i]=void 0;this.cache.length=0,this.done=!1,this.lastModTime=this.root.lastModTime}}},traverse:{value:function(i){i!==void 0&&i++;for(var s;(s=this.next())!==null;)if(this[this.cache.length]=s,this.cache.push(s),i&&this.cache.length===i)return;this.done=!0}},next:{value:function(){var i=this.cache.length===0?this.root:this.cache[this.cache.length-1],s;for(i.nodeType===n.DOCUMENT_NODE?s=i.documentElement:s=i.nextElement(this.root);s;){if(this.filter(s))return s;s=s.nextElement(this.root)}return null}}})}}),AE=se({"external/npm/node_modules/domino/lib/DOMTokenList.js"(t,e){"use strict";var n=Xe();e.exports=r;function r(c,l){this._getString=c,this._setString=l,this._length=0,this._lastStringValue="",this._update()}Object.defineProperties(r.prototype,{length:{get:function(){return this._length}},item:{value:function(c){var l=a(this);return c<0||c>=l.length?null:l[c]}},contains:{value:function(c){c=String(c);var l=a(this);return l.indexOf(c)>-1}},add:{value:function(){for(var c=a(this),l=0,u=arguments.length;l<u;l++){var d=s(arguments[l]);c.indexOf(d)<0&&c.push(d)}this._update(c)}},remove:{value:function(){for(var c=a(this),l=0,u=arguments.length;l<u;l++){var d=s(arguments[l]),g=c.indexOf(d);g>-1&&c.splice(g,1)}this._update(c)}},toggle:{value:function(l,u){return l=s(l),this.contains(l)?u===void 0||u===!1?(this.remove(l),!1):!0:u===void 0||u===!0?(this.add(l),!0):!1}},replace:{value:function(l,u){String(u)===""&&n.SyntaxError(),l=s(l),u=s(u);var d=a(this),g=d.indexOf(l);if(g<0)return!1;var D=d.indexOf(u);return D<0?d[g]=u:g<D?(d[g]=u,d.splice(D,1)):d.splice(g,1),this._update(d),!0}},toString:{value:function(){return this._getString()}},value:{get:function(){return this._getString()},set:function(c){this._setString(c),this._update()}},_update:{value:function(c){c?(i(this,c),this._setString(c.join(" ").trim())):i(this,a(this)),this._lastStringValue=this._getString()}}});function i(c,l){var u=c._length,d;for(c._length=l.length,d=0;d<l.length;d++)c[d]=l[d];for(;d<u;d++)c[d]=void 0}function s(c){return c=String(c),c===""&&n.SyntaxError(),/[ \t\r\n\f]/.test(c)&&n.InvalidCharacterError(),c}function o(c){for(var l=c._length,u=Array(l),d=0;d<l;d++)u[d]=c[d];return u}function a(c){var l=c._getString();if(l===c._lastStringValue)return o(c);var u=l.replace(/(^[ \t\r\n\f]+)|([ \t\r\n\f]+$)/g,"");if(u==="")return[];var d=Object.create(null);return u.split(/[ \t\r\n\f]+/g).filter(function(g){var D="$"+g;return d[D]?!1:(d[D]=!0,!0)})}}}),Zf=se({"external/npm/node_modules/domino/lib/select.js"(t,e){"use strict";var n=Object.create(null,{location:{get:function(){throw new Error("window.location is not supported.")}}}),r=function(v,m){return v.compareDocumentPosition(m)},i=function(v,m){return r(v,m)&2?1:-1},s=function(v){for(;(v=v.nextSibling)&&v.nodeType!==1;);return v},o=function(v){for(;(v=v.previousSibling)&&v.nodeType!==1;);return v},a=function(v){if(v=v.firstChild)for(;v.nodeType!==1&&(v=v.nextSibling););return v},c=function(v){if(v=v.lastChild)for(;v.nodeType!==1&&(v=v.previousSibling););return v},l=function(v){if(!v.parentNode)return!1;var m=v.parentNode.nodeType;return m===1||m===9},u=function(v){if(!v)return v;var m=v[0];return m==='"'||m==="'"?(v[v.length-1]===m?v=v.slice(1,-1):v=v.slice(1),v.replace(E.str_escape,function(p){var y=/^\\(?:([0-9A-Fa-f]+)|([\r\n\f]+))/.exec(p);if(!y)return p.slice(1);if(y[2])return"";var S=parseInt(y[1],16);return String.fromCodePoint?String.fromCodePoint(S):String.fromCharCode(S)})):E.ident.test(v)?d(v):v},d=function(v){return v.replace(E.escape,function(m){var p=/^\\([0-9A-Fa-f]+)/.exec(m);if(!p)return m[1];var y=parseInt(p[1],16);return String.fromCodePoint?String.fromCodePoint(y):String.fromCharCode(y)})},g=function(){return Array.prototype.indexOf?Array.prototype.indexOf:function(v,m){for(var p=this.length;p--;)if(this[p]===m)return p;return-1}}(),D=function(v,m){var p=E.inside.source.replace(/</g,v).replace(/>/g,m);return new RegExp(p)},N=function(v,m,p){return v=v.source,v=v.replace(m,p.source||p),new RegExp(v)},M=function(v,m){return v.replace(/^(?:\w+:\/\/|\/+)/,"").replace(/(?:\/+|\/*#.*?)$/,"").split("/",m).join("/")},$=function(v,m){var p=v.replace(/\s+/g,""),y;return p==="even"?p="2n+0":p==="odd"?p="2n+1":p.indexOf("n")===-1&&(p="0n"+p),y=/^([+-])?(\d+)?n([+-])?(\d+)?$/.exec(p),{group:y[1]==="-"?-(y[2]||1):+(y[2]||1),offset:y[4]?y[3]==="-"?-y[4]:+y[4]:0}},L=function(v,m,p){var y=$(v),S=y.group,x=y.offset,U=p?c:a,K=p?o:s;return function(fe){if(l(fe))for(var _=U(fe.parentNode),O=0;_;){if(m(_,fe)&&O++,_===fe)return O-=x,S&&O?O%S===0&&O<0==S<0:!O;_=K(_)}}},T={"*":function(){return function(){return!0}}(),type:function(v){return v=v.toLowerCase(),function(m){return m.nodeName.toLowerCase()===v}},attr:function(v,m,p,y){return m=w[m],function(S){var x;switch(v){case"for":x=S.htmlFor;break;case"class":x=S.className,x===""&&S.getAttribute("class")==null&&(x=null);break;case"href":case"src":x=S.getAttribute(v,2);break;case"title":x=S.getAttribute("title")||null;break;case"id":case"lang":case"dir":case"accessKey":case"hidden":case"tabIndex":case"style":if(S.getAttribute){x=S.getAttribute(v);break}default:if(S.hasAttribute&&!S.hasAttribute(v))break;x=S[v]!=null?S[v]:S.getAttribute&&S.getAttribute(v);break}if(x!=null)return x=x+"",y&&(x=x.toLowerCase(),p=p.toLowerCase()),m(x,p)}},":first-child":function(v){return!o(v)&&l(v)},":last-child":function(v){return!s(v)&&l(v)},":only-child":function(v){return!o(v)&&!s(v)&&l(v)},":nth-child":function(v,m){return L(v,function(){return!0},m)},":nth-last-child":function(v){return T[":nth-child"](v,!0)},":root":function(v){return v.ownerDocument.documentElement===v},":empty":function(v){return!v.firstChild},":not":function(v){var m=F(v);return function(p){return!m(p)}},":first-of-type":function(v){if(l(v)){for(var m=v.nodeName;v=o(v);)if(v.nodeName===m)return;return!0}},":last-of-type":function(v){if(l(v)){for(var m=v.nodeName;v=s(v);)if(v.nodeName===m)return;return!0}},":only-of-type":function(v){return T[":first-of-type"](v)&&T[":last-of-type"](v)},":nth-of-type":function(v,m){return L(v,function(p,y){return p.nodeName===y.nodeName},m)},":nth-last-of-type":function(v){return T[":nth-of-type"](v,!0)},":checked":function(v){return!!(v.checked||v.selected)},":indeterminate":function(v){return!T[":checked"](v)},":enabled":function(v){return!v.disabled&&v.type!=="hidden"},":disabled":function(v){return!!v.disabled},":target":function(v){return v.id===n.location.hash.substring(1)},":focus":function(v){return v===v.ownerDocument.activeElement},":is":function(v){return F(v)},":matches":function(v){return T[":is"](v)},":nth-match":function(v,m){var p=v.split(/\s*,\s*/),y=p.shift(),S=F(p.join(","));return L(y,S,m)},":nth-last-match":function(v){return T[":nth-match"](v,!0)},":links-here":function(v){return v+""==n.location+""},":lang":function(v){return function(m){for(;m;){if(m.lang)return m.lang.indexOf(v)===0;m=m.parentNode}}},":dir":function(v){return function(m){for(;m;){if(m.dir)return m.dir===v;m=m.parentNode}}},":scope":function(v,m){var p=m||v.ownerDocument;return p.nodeType===9?v===p.documentElement:v===p},":any-link":function(v){return typeof v.href=="string"},":local-link":function(v){if(v.nodeName)return v.href&&v.host===n.location.host;var m=+v+1;return function(p){if(p.href){var y=n.location+"",S=p+"";return M(y,m)===M(S,m)}}},":default":function(v){return!!v.defaultSelected},":valid":function(v){return v.willValidate||v.validity&&v.validity.valid},":invalid":function(v){return!T[":valid"](v)},":in-range":function(v){return v.value>v.min&&v.value<=v.max},":out-of-range":function(v){return!T[":in-range"](v)},":required":function(v){return!!v.required},":optional":function(v){return!v.required},":read-only":function(v){if(v.readOnly)return!0;var m=v.getAttribute("contenteditable"),p=v.contentEditable,y=v.nodeName.toLowerCase();return y=y!=="input"&&y!=="textarea",(y||v.disabled)&&m==null&&p!=="true"},":read-write":function(v){return!T[":read-only"](v)},":hover":function(){throw new Error(":hover is not supported.")},":active":function(){throw new Error(":active is not supported.")},":link":function(){throw new Error(":link is not supported.")},":visited":function(){throw new Error(":visited is not supported.")},":column":function(){throw new Error(":column is not supported.")},":nth-column":function(){throw new Error(":nth-column is not supported.")},":nth-last-column":function(){throw new Error(":nth-last-column is not supported.")},":current":function(){throw new Error(":current is not supported.")},":past":function(){throw new Error(":past is not supported.")},":future":function(){throw new Error(":future is not supported.")},":contains":function(v){return function(m){var p=m.innerText||m.textContent||m.value||"";return p.indexOf(v)!==-1}},":has":function(v){return function(m){return Y(v,m).length>0}}},w={"-":function(){return!0},"=":function(v,m){return v===m},"*=":function(v,m){return v.indexOf(m)!==-1},"~=":function(v,m){var p,y,S,x;for(y=0;;y=p+1){if(p=v.indexOf(m,y),p===-1)return!1;if(S=v[p-1],x=v[p+m.length],(!S||S===" ")&&(!x||x===" "))return!0}},"|=":function(v,m){var p=v.indexOf(m),y;if(p===0)return y=v[p+m.length],y==="-"||!y},"^=":function(v,m){return v.indexOf(m)===0},"$=":function(v,m){var p=v.lastIndexOf(m);return p!==-1&&p+m.length===v.length},"!=":function(v,m){return v!==m}},C={" ":function(v){return function(m){for(;m=m.parentNode;)if(v(m))return m}},">":function(v){return function(m){if(m=m.parentNode)return v(m)&&m}},"+":function(v){return function(m){if(m=o(m))return v(m)&&m}},"~":function(v){return function(m){for(;m=o(m);)if(v(m))return m}},noop:function(v){return function(m){return v(m)&&m}},ref:function(v,m){var p;function y(S){for(var x=S.ownerDocument,U=x.getElementsByTagName("*"),K=U.length;K--;)if(p=U[K],y.test(S))return p=null,!0;p=null}return y.combinator=function(S){if(!(!p||!p.getAttribute)){var x=p.getAttribute(m)||"";if(x[0]==="#"&&(x=x.substring(1)),x===S.id&&v(p))return p}},y}},E={escape:/\\(?:[^0-9A-Fa-f\r\n]|[0-9A-Fa-f]{1,6}[\r\n\t ]?)/g,str_escape:/(escape)|\\(\n|\r\n?|\f)/g,nonascii:/[\u00A0-\uFFFF]/,cssid:/(?:(?!-?[0-9])(?:escape|nonascii|[-_a-zA-Z0-9])+)/,qname:/^ *(cssid|\*)/,simple:/^(?:([.#]cssid)|pseudo|attr)/,ref:/^ *\/(cssid)\/ */,combinator:/^(?: +([^ \w*.#\\]) +|( )+|([^ \w*.#\\]))(?! *$)/,attr:/^\[(cssid)(?:([^\w]?=)(inside))?\]/,pseudo:/^(:cssid)(?:\((inside)\))?/,inside:/(?:"(?:\\"|[^"])*"|'(?:\\'|[^'])*'|<[^"'>]*>|\\["'>]|[^"'>])*/,ident:/^(cssid)$/};E.cssid=N(E.cssid,"nonascii",E.nonascii),E.cssid=N(E.cssid,"escape",E.escape),E.qname=N(E.qname,"cssid",E.cssid),E.simple=N(E.simple,"cssid",E.cssid),E.ref=N(E.ref,"cssid",E.cssid),E.attr=N(E.attr,"cssid",E.cssid),E.pseudo=N(E.pseudo,"cssid",E.cssid),E.inside=N(E.inside,`[^"'>]*`,E.inside),E.attr=N(E.attr,"inside",D("\\[","\\]")),E.pseudo=N(E.pseudo,"inside",D("\\(","\\)")),E.simple=N(E.simple,"pseudo",E.pseudo),E.simple=N(E.simple,"attr",E.attr),E.ident=N(E.ident,"cssid",E.cssid),E.str_escape=N(E.str_escape,"escape",E.escape);var ee=function(v){for(var m=v.replace(/^\s+|\s+$/g,""),p,y=[],S=[],x,U,K,fe,_;m;){if(K=E.qname.exec(m))m=m.substring(K[0].length),U=d(K[1]),S.push(te(U,!0));else if(K=E.simple.exec(m))m=m.substring(K[0].length),U="*",S.push(te(U,!0)),S.push(te(K));else throw new SyntaxError("Invalid selector.");for(;K=E.simple.exec(m);)m=m.substring(K[0].length),S.push(te(K));if(m[0]==="!"&&(m=m.substring(1),x=R(),x.qname=U,S.push(x.simple)),K=E.ref.exec(m)){m=m.substring(K[0].length),_=C.ref(pe(S),d(K[1])),y.push(_.combinator),S=[];continue}if(K=E.combinator.exec(m)){if(m=m.substring(K[0].length),fe=K[1]||K[2]||K[3],fe===","){y.push(C.noop(pe(S)));break}}else fe="noop";if(!C[fe])throw new SyntaxError("Bad combinator.");y.push(C[fe](pe(S))),S=[]}return p=q(y),p.qname=U,p.sel=m,x&&(x.lname=p.qname,x.test=p,x.qname=x.qname,x.sel=p.sel,p=x),_&&(_.test=p,_.qname=p.qname,_.sel=p.sel,p=_),p},te=function(v,m){if(m)return v==="*"?T["*"]:T.type(v);if(v[1])return v[1][0]==="."?T.attr("class","~=",d(v[1].substring(1)),!1):T.attr("id","=",d(v[1].substring(1)),!1);if(v[2])return v[3]?T[d(v[2])](u(v[3])):T[d(v[2])];if(v[4]){var p=v[6],y=/["'\s]\s*I$/i.test(p);return y&&(p=p.replace(/\s*I$/i,"")),T.attr(d(v[4]),v[5]||"-",u(p),y)}throw new SyntaxError("Unknown Selector.")},pe=function(v){var m=v.length,p;return m<2?v[0]:function(y){if(y){for(p=0;p<m;p++)if(!v[p](y))return;return!0}}},q=function(v){return v.length<2?function(m){return!!v[0](m)}:function(m){for(var p=v.length;p--;)if(!(m=v[p](m)))return;return!0}},R=function(){var v;function m(p){for(var y=p.ownerDocument,S=y.getElementsByTagName(m.lname),x=S.length;x--;)if(m.test(S[x])&&v===p)return v=null,!0;v=null}return m.simple=function(p){return v=p,!0},m},F=function(v){for(var m=ee(v),p=[m];m.sel;)m=ee(m.sel),p.push(m);return p.length<2?m:function(y){for(var S=p.length,x=0;x<S;x++)if(p[x](y))return!0}},Y=function(v,m){for(var p=[],y=ee(v),S=m.getElementsByTagName(y.qname),x=0,U;U=S[x++];)y(U)&&p.push(U);if(y.sel){for(;y.sel;)for(y=ee(y.sel),S=m.getElementsByTagName(y.qname),x=0;U=S[x++];)y(U)&&g.call(p,U)===-1&&p.push(U);p.sort(i)}return p};e.exports=t=function(v,m){var p,y;if(m.nodeType!==11&&v.indexOf(" ")===-1){if(v[0]==="#"&&m.rooted&&/^#[A-Z_][-A-Z0-9_]*$/i.test(v)&&m.doc._hasMultipleElementsWithId&&(p=v.substring(1),!m.doc._hasMultipleElementsWithId(p)))return y=m.doc.getElementById(p),y?[y]:[];if(v[0]==="."&&/^\.\w+$/.test(v))return m.getElementsByClassName(v.substring(1));if(/^\w+$/.test(v))return m.getElementsByTagName(v)}return Y(v,m)},t.selectors=T,t.operators=w,t.combinators=C,t.matches=function(v,m){var p={sel:m};do if(p=ee(p.sel),p(v))return!0;while(p.sel);return!1}}}),Xf=se({"external/npm/node_modules/domino/lib/ChildNode.js"(t,e){"use strict";var n=pt(),r=IE(),i=function(o,a){for(var c=o.createDocumentFragment(),l=0;l<a.length;l++){var u=a[l],d=u instanceof n;c.appendChild(d?u:o.createTextNode(String(u)))}return c},s={after:{value:function(){var a=Array.prototype.slice.call(arguments),c=this.parentNode,l=this.nextSibling;if(c!==null){for(;l&&a.some(function(d){return d===l});)l=l.nextSibling;var u=i(this.doc,a);c.insertBefore(u,l)}}},before:{value:function(){var a=Array.prototype.slice.call(arguments),c=this.parentNode,l=this.previousSibling;if(c!==null){for(;l&&a.some(function(g){return g===l});)l=l.previousSibling;var u=i(this.doc,a),d=l?l.nextSibling:c.firstChild;c.insertBefore(u,d)}}},remove:{value:function(){this.parentNode!==null&&(this.doc&&(this.doc._preremoveNodeIterators(this),this.rooted&&this.doc.mutateRemove(this)),this._remove(),this.parentNode=null)}},_remove:{value:function(){var a=this.parentNode;a!==null&&(a._childNodes?a._childNodes.splice(this.index,1):a._firstChild===this&&(this._nextSibling===this?a._firstChild=null:a._firstChild=this._nextSibling),r.remove(this),a.modify())}},replaceWith:{value:function(){var a=Array.prototype.slice.call(arguments),c=this.parentNode,l=this.nextSibling;if(c!==null){for(;l&&a.some(function(d){return d===l});)l=l.nextSibling;var u=i(this.doc,a);this.parentNode===c?c.replaceChild(u,this):c.insertBefore(u,l)}}}};e.exports=s}}),xE=se({"external/npm/node_modules/domino/lib/NonDocumentTypeChildNode.js"(t,e){"use strict";var n=pt(),r={nextElementSibling:{get:function(){if(this.parentNode){for(var i=this.nextSibling;i!==null;i=i.nextSibling)if(i.nodeType===n.ELEMENT_NODE)return i}return null}},previousElementSibling:{get:function(){if(this.parentNode){for(var i=this.previousSibling;i!==null;i=i.previousSibling)if(i.nodeType===n.ELEMENT_NODE)return i}return null}}};e.exports=r}}),RE=se({"external/npm/node_modules/domino/lib/NamedNodeMap.js"(t,e){"use strict";e.exports=r;var n=Xe();function r(i){this.element=i}Object.defineProperties(r.prototype,{length:{get:n.shouldOverride},item:{value:n.shouldOverride},getNamedItem:{value:function(s){return this.element.getAttributeNode(s)}},getNamedItemNS:{value:function(s,o){return this.element.getAttributeNodeNS(s,o)}},setNamedItem:{value:n.nyi},setNamedItemNS:{value:n.nyi},removeNamedItem:{value:function(s){var o=this.element.getAttributeNode(s);if(o)return this.element.removeAttribute(s),o;n.NotFoundError()}},removeNamedItemNS:{value:function(s,o){var a=this.element.getAttributeNodeNS(s,o);if(a)return this.element.removeAttributeNS(s,o),a;n.NotFoundError()}}})}}),eo=se({"external/npm/node_modules/domino/lib/Element.js"(t,e){"use strict";e.exports=T;var n=Yf(),r=Xe(),i=r.NAMESPACE,s=ME(),o=pt(),a=ki(),c=NE(),l=rN(),u=Wf(),d=AE(),g=Zf(),D=Kf(),N=Xf(),M=xE(),$=RE(),L=Object.create(null);function T(m,p,y,S){D.call(this),this.nodeType=o.ELEMENT_NODE,this.ownerDocument=m,this.localName=p,this.namespaceURI=y,this.prefix=S,this._tagName=void 0,this._attrsByQName=Object.create(null),this._attrsByLName=Object.create(null),this._attrKeys=[]}function w(m,p){if(m.nodeType===o.TEXT_NODE)p.push(m._data);else for(var y=0,S=m.childNodes.length;y<S;y++)w(m.childNodes[y],p)}T.prototype=Object.create(D.prototype,{isHTML:{get:function(){return this.namespaceURI===i.HTML&&this.ownerDocument.isHTML}},tagName:{get:function(){if(this._tagName===void 0){var p;if(this.prefix===null?p=this.localName:p=this.prefix+":"+this.localName,this.isHTML){var y=L[p];y||(L[p]=y=r.toASCIIUpperCase(p)),p=y}this._tagName=p}return this._tagName}},nodeName:{get:function(){return this.tagName}},nodeValue:{get:function(){return null},set:function(){}},textContent:{get:function(){var m=[];return w(this,m),m.join("")},set:function(m){this.removeChildren(),m!=null&&m!==""&&this._appendChild(this.ownerDocument.createTextNode(m))}},innerText:{get:function(){var m=[];return w(this,m),m.join("").replace(/[ \t\n\f\r]+/g," ").trim()},set:function(m){this.removeChildren(),m!=null&&m!==""&&this._appendChild(this.ownerDocument.createTextNode(m))}},innerHTML:{get:function(){return this.serialize()},set:r.nyi},outerHTML:{get:function(){return c.serializeOne(this,{nodeType:0})},set:function(m){var p=this.ownerDocument,y=this.parentNode;if(y!==null){y.nodeType===o.DOCUMENT_NODE&&r.NoModificationAllowedError(),y.nodeType===o.DOCUMENT_FRAGMENT_NODE&&(y=y.ownerDocument.createElement("body"));var S=p.implementation.mozHTMLParser(p._address,y);S.parse(m===null?"":String(m),!0),this.replaceWith(S._asDocumentFragment())}}},_insertAdjacent:{value:function(p,y){var S=!1;switch(p){case"beforebegin":S=!0;case"afterend":var x=this.parentNode;return x===null?null:x.insertBefore(y,S?this:this.nextSibling);case"afterbegin":S=!0;case"beforeend":return this.insertBefore(y,S?this.firstChild:null);default:return r.SyntaxError()}}},insertAdjacentElement:{value:function(p,y){if(y.nodeType!==o.ELEMENT_NODE)throw new TypeError("not an element");return p=r.toASCIILowerCase(String(p)),this._insertAdjacent(p,y)}},insertAdjacentText:{value:function(p,y){var S=this.ownerDocument.createTextNode(y);p=r.toASCIILowerCase(String(p)),this._insertAdjacent(p,S)}},insertAdjacentHTML:{value:function(p,y){p=r.toASCIILowerCase(String(p)),y=String(y);var S;switch(p){case"beforebegin":case"afterend":S=this.parentNode,(S===null||S.nodeType===o.DOCUMENT_NODE)&&r.NoModificationAllowedError();break;case"afterbegin":case"beforeend":S=this;break;default:r.SyntaxError()}(!(S instanceof T)||S.ownerDocument.isHTML&&S.localName==="html"&&S.namespaceURI===i.HTML)&&(S=S.ownerDocument.createElementNS(i.HTML,"body"));var x=this.ownerDocument.implementation.mozHTMLParser(this.ownerDocument._address,S);x.parse(y,!0),this._insertAdjacent(p,x._asDocumentFragment())}},children:{get:function(){return this._children||(this._children=new te(this)),this._children}},attributes:{get:function(){return this._attributes||(this._attributes=new E(this)),this._attributes}},firstElementChild:{get:function(){for(var m=this.firstChild;m!==null;m=m.nextSibling)if(m.nodeType===o.ELEMENT_NODE)return m;return null}},lastElementChild:{get:function(){for(var m=this.lastChild;m!==null;m=m.previousSibling)if(m.nodeType===o.ELEMENT_NODE)return m;return null}},childElementCount:{get:function(){return this.children.length}},nextElement:{value:function(m){m||(m=this.ownerDocument.documentElement);var p=this.firstElementChild;if(!p){if(this===m)return null;p=this.nextElementSibling}if(p)return p;for(var y=this.parentElement;y&&y!==m;y=y.parentElement)if(p=y.nextElementSibling,p)return p;return null}},getElementsByTagName:{value:function(p){var y;return p?(p==="*"?y=function(){return!0}:this.isHTML?y=q(p):y=pe(p),new l(this,y)):new a}},getElementsByTagNameNS:{value:function(p,y){var S;return p==="*"&&y==="*"?S=function(){return!0}:p==="*"?S=pe(y):y==="*"?S=R(p):S=F(p,y),new l(this,S)}},getElementsByClassName:{value:function(p){if(p=String(p).trim(),p===""){var y=new a;return y}return p=p.split(/[ \t\r\n\f]+/),new l(this,Y(p))}},getElementsByName:{value:function(p){return new l(this,v(String(p)))}},clone:{value:function(){var p;this.namespaceURI!==i.HTML||this.prefix||!this.ownerDocument.isHTML?p=this.ownerDocument.createElementNS(this.namespaceURI,this.prefix!==null?this.prefix+":"+this.localName:this.localName):p=this.ownerDocument.createElement(this.localName);for(var y=0,S=this._attrKeys.length;y<S;y++){var x=this._attrKeys[y],U=this._attrsByLName[x],K=U.cloneNode();K._setOwnerElement(p),p._attrsByLName[x]=K,p._addQName(K)}return p._attrKeys=this._attrKeys.concat(),p}},isEqual:{value:function(p){if(this.localName!==p.localName||this.namespaceURI!==p.namespaceURI||this.prefix!==p.prefix||this._numattrs!==p._numattrs)return!1;for(var y=0,S=this._numattrs;y<S;y++){var x=this._attr(y);if(!p.hasAttributeNS(x.namespaceURI,x.localName)||p.getAttributeNS(x.namespaceURI,x.localName)!==x.value)return!1}return!0}},_lookupNamespacePrefix:{value:function(p,y){if(this.namespaceURI&&this.namespaceURI===p&&this.prefix!==null&&y.lookupNamespaceURI(this.prefix)===p)return this.prefix;for(var S=0,x=this._numattrs;S<x;S++){var U=this._attr(S);if(U.prefix==="xmlns"&&U.value===p&&y.lookupNamespaceURI(U.localName)===p)return U.localName}var K=this.parentElement;return K?K._lookupNamespacePrefix(p,y):null}},lookupNamespaceURI:{value:function(p){if((p===""||p===void 0)&&(p=null),this.namespaceURI!==null&&this.prefix===p)return this.namespaceURI;for(var y=0,S=this._numattrs;y<S;y++){var x=this._attr(y);if(x.namespaceURI===i.XMLNS&&(x.prefix==="xmlns"&&x.localName===p||p===null&&x.prefix===null&&x.localName==="xmlns"))return x.value||null}var U=this.parentElement;return U?U.lookupNamespaceURI(p):null}},getAttribute:{value:function(p){var y=this.getAttributeNode(p);return y?y.value:null}},getAttributeNS:{value:function(p,y){var S=this.getAttributeNodeNS(p,y);return S?S.value:null}},getAttributeNode:{value:function(p){p=String(p),/[A-Z]/.test(p)&&this.isHTML&&(p=r.toASCIILowerCase(p));var y=this._attrsByQName[p];return y?(Array.isArray(y)&&(y=y[0]),y):null}},getAttributeNodeNS:{value:function(p,y){p=p==null?"":String(p),y=String(y);var S=this._attrsByLName[p+"|"+y];return S||null}},hasAttribute:{value:function(p){return p=String(p),/[A-Z]/.test(p)&&this.isHTML&&(p=r.toASCIILowerCase(p)),this._attrsByQName[p]!==void 0}},hasAttributeNS:{value:function(p,y){p=p==null?"":String(p),y=String(y);var S=p+"|"+y;return this._attrsByLName[S]!==void 0}},hasAttributes:{value:function(){return this._numattrs>0}},toggleAttribute:{value:function(p,y){p=String(p),n.isValidName(p)||r.InvalidCharacterError(),/[A-Z]/.test(p)&&this.isHTML&&(p=r.toASCIILowerCase(p));var S=this._attrsByQName[p];return S===void 0?y===void 0||y===!0?(this._setAttribute(p,""),!0):!1:y===void 0||y===!1?(this.removeAttribute(p),!1):!0}},_setAttribute:{value:function(p,y){var S=this._attrsByQName[p],x;S?Array.isArray(S)&&(S=S[0]):(S=this._newattr(p),x=!0),S.value=y,this._attributes&&(this._attributes[p]=S),x&&this._newattrhook&&this._newattrhook(p,y)}},setAttribute:{value:function(p,y){p=String(p),n.isValidName(p)||r.InvalidCharacterError(),/[A-Z]/.test(p)&&this.isHTML&&(p=r.toASCIILowerCase(p)),this._setAttribute(p,String(y))}},_setAttributeNS:{value:function(p,y,S){var x=y.indexOf(":"),U,K;x<0?(U=null,K=y):(U=y.substring(0,x),K=y.substring(x+1)),(p===""||p===void 0)&&(p=null);var fe=(p===null?"":p)+"|"+K,_=this._attrsByLName[fe],O;_||(_=new C(this,K,U,p),O=!0,this._attrsByLName[fe]=_,this._attributes&&(this._attributes[this._attrKeys.length]=_),this._attrKeys.push(fe),this._addQName(_)),_.value=S,O&&this._newattrhook&&this._newattrhook(y,S)}},setAttributeNS:{value:function(p,y,S){p=p==null||p===""?null:String(p),y=String(y),n.isValidQName(y)||r.InvalidCharacterError();var x=y.indexOf(":"),U=x<0?null:y.substring(0,x);(U!==null&&p===null||U==="xml"&&p!==i.XML||(y==="xmlns"||U==="xmlns")&&p!==i.XMLNS||p===i.XMLNS&&!(y==="xmlns"||U==="xmlns"))&&r.NamespaceError(),this._setAttributeNS(p,y,String(S))}},setAttributeNode:{value:function(p){if(p.ownerElement!==null&&p.ownerElement!==this)throw new u(u.INUSE_ATTRIBUTE_ERR);var y=null,S=this._attrsByQName[p.name];if(S){if(Array.isArray(S)||(S=[S]),S.some(function(x){return x===p}))return p;if(p.ownerElement!==null)throw new u(u.INUSE_ATTRIBUTE_ERR);S.forEach(function(x){this.removeAttributeNode(x)},this),y=S[0]}return this.setAttributeNodeNS(p),y}},setAttributeNodeNS:{value:function(p){if(p.ownerElement!==null)throw new u(u.INUSE_ATTRIBUTE_ERR);var y=p.namespaceURI,S=(y===null?"":y)+"|"+p.localName,x=this._attrsByLName[S];return x&&this.removeAttributeNode(x),p._setOwnerElement(this),this._attrsByLName[S]=p,this._attributes&&(this._attributes[this._attrKeys.length]=p),this._attrKeys.push(S),this._addQName(p),this._newattrhook&&this._newattrhook(p.name,p.value),x||null}},removeAttribute:{value:function(p){p=String(p),/[A-Z]/.test(p)&&this.isHTML&&(p=r.toASCIILowerCase(p));var y=this._attrsByQName[p];if(y){Array.isArray(y)?y.length>2?y=y.shift():(this._attrsByQName[p]=y[1],y=y[0]):this._attrsByQName[p]=void 0;var S=y.namespaceURI,x=(S===null?"":S)+"|"+y.localName;this._attrsByLName[x]=void 0;var U=this._attrKeys.indexOf(x);this._attributes&&(Array.prototype.splice.call(this._attributes,U,1),this._attributes[p]=void 0),this._attrKeys.splice(U,1);var K=y.onchange;y._setOwnerElement(null),K&&K.call(y,this,y.localName,y.value,null),this.rooted&&this.ownerDocument.mutateRemoveAttr(y)}}},removeAttributeNS:{value:function(p,y){p=p==null?"":String(p),y=String(y);var S=p+"|"+y,x=this._attrsByLName[S];if(x){this._attrsByLName[S]=void 0;var U=this._attrKeys.indexOf(S);this._attributes&&Array.prototype.splice.call(this._attributes,U,1),this._attrKeys.splice(U,1),this._removeQName(x);var K=x.onchange;x._setOwnerElement(null),K&&K.call(x,this,x.localName,x.value,null),this.rooted&&this.ownerDocument.mutateRemoveAttr(x)}}},removeAttributeNode:{value:function(p){var y=p.namespaceURI,S=(y===null?"":y)+"|"+p.localName;return this._attrsByLName[S]!==p&&r.NotFoundError(),this.removeAttributeNS(y,p.localName),p}},getAttributeNames:{value:function(){var p=this;return this._attrKeys.map(function(y){return p._attrsByLName[y].name})}},_getattr:{value:function(p){var y=this._attrsByQName[p];return y?y.value:null}},_setattr:{value:function(p,y){var S=this._attrsByQName[p],x;S||(S=this._newattr(p),x=!0),S.value=String(y),this._attributes&&(this._attributes[p]=S),x&&this._newattrhook&&this._newattrhook(p,y)}},_newattr:{value:function(p){var y=new C(this,p,null,null),S="|"+p;return this._attrsByQName[p]=y,this._attrsByLName[S]=y,this._attributes&&(this._attributes[this._attrKeys.length]=y),this._attrKeys.push(S),y}},_addQName:{value:function(m){var p=m.name,y=this._attrsByQName[p];y?Array.isArray(y)?y.push(m):this._attrsByQName[p]=[y,m]:this._attrsByQName[p]=m,this._attributes&&(this._attributes[p]=m)}},_removeQName:{value:function(m){var p=m.name,y=this._attrsByQName[p];if(Array.isArray(y)){var S=y.indexOf(m);r.assert(S!==-1),y.length===2?(this._attrsByQName[p]=y[1-S],this._attributes&&(this._attributes[p]=this._attrsByQName[p])):(y.splice(S,1),this._attributes&&this._attributes[p]===m&&(this._attributes[p]=y[0]))}else r.assert(y===m),this._attrsByQName[p]=void 0,this._attributes&&(this._attributes[p]=void 0)}},_numattrs:{get:function(){return this._attrKeys.length}},_attr:{value:function(m){return this._attrsByLName[this._attrKeys[m]]}},id:s.property({name:"id"}),className:s.property({name:"class"}),classList:{get:function(){var m=this;if(this._classList)return this._classList;var p=new d(function(){return m.className||""},function(y){m.className=y});return this._classList=p,p},set:function(m){this.className=m}},matches:{value:function(m){return g.matches(this,m)}},closest:{value:function(m){var p=this;do{if(p.matches&&p.matches(m))return p;p=p.parentElement||p.parentNode}while(p!==null&&p.nodeType===o.ELEMENT_NODE);return null}},querySelector:{value:function(m){return g(m,this)[0]}},querySelectorAll:{value:function(m){var p=g(m,this);return p.item?p:new a(p)}}}),Object.defineProperties(T.prototype,N),Object.defineProperties(T.prototype,M),s.registerChangeHandler(T,"id",function(m,p,y,S){m.rooted&&(y&&m.ownerDocument.delId(y,m),S&&m.ownerDocument.addId(S,m))}),s.registerChangeHandler(T,"class",function(m,p,y,S){m._classList&&m._classList._update()});function C(m,p,y,S,x){this.localName=p,this.prefix=y===null||y===""?null:""+y,this.namespaceURI=S===null||S===""?null:""+S,this.data=x,this._setOwnerElement(m)}C.prototype=Object.create(Object.prototype,{ownerElement:{get:function(){return this._ownerElement}},_setOwnerElement:{value:function(p){this._ownerElement=p,this.prefix===null&&this.namespaceURI===null&&p?this.onchange=p._attributeChangeHandlers[this.localName]:this.onchange=null}},name:{get:function(){return this.prefix?this.prefix+":"+this.localName:this.localName}},specified:{get:function(){return!0}},value:{get:function(){return this.data},set:function(m){var p=this.data;m=m===void 0?"":m+"",m!==p&&(this.data=m,this.ownerElement&&(this.onchange&&this.onchange(this.ownerElement,this.localName,p,m),this.ownerElement.rooted&&this.ownerElement.ownerDocument.mutateAttr(this,p)))}},cloneNode:{value:function(p){return new C(null,this.localName,this.prefix,this.namespaceURI,this.data)}},nodeType:{get:function(){return o.ATTRIBUTE_NODE}},nodeName:{get:function(){return this.name}},nodeValue:{get:function(){return this.value},set:function(m){this.value=m}},textContent:{get:function(){return this.value},set:function(m){m==null&&(m=""),this.value=m}},innerText:{get:function(){return this.value},set:function(m){m==null&&(m=""),this.value=m}}}),T._Attr=C;function E(m){$.call(this,m);for(var p in m._attrsByQName)this[p]=m._attrsByQName[p];for(var y=0;y<m._attrKeys.length;y++)this[y]=m._attrsByLName[m._attrKeys[y]]}E.prototype=Object.create($.prototype,{length:{get:function(){return this.element._attrKeys.length},set:function(){}},item:{value:function(m){return m=m>>>0,m>=this.length?null:this.element._attrsByLName[this.element._attrKeys[m]]}}});var ee;(ee=globalThis.Symbol)!=null&&ee.iterator&&(E.prototype[globalThis.Symbol.iterator]=function(){var m=0,p=this.length,y=this;return{next:function(){return m<p?{value:y.item(m++)}:{done:!0}}}});function te(m){this.element=m,this.updateCache()}te.prototype=Object.create(Object.prototype,{length:{get:function(){return this.updateCache(),this.childrenByNumber.length}},item:{value:function(p){return this.updateCache(),this.childrenByNumber[p]||null}},namedItem:{value:function(p){return this.updateCache(),this.childrenByName[p]||null}},namedItems:{get:function(){return this.updateCache(),this.childrenByName}},updateCache:{value:function(){var p=/^(a|applet|area|embed|form|frame|frameset|iframe|img|object)$/;if(this.lastModTime!==this.element.lastModTime){this.lastModTime=this.element.lastModTime;for(var y=this.childrenByNumber&&this.childrenByNumber.length||0,S=0;S<y;S++)this[S]=void 0;this.childrenByNumber=[],this.childrenByName=Object.create(null);for(var x=this.element.firstChild;x!==null;x=x.nextSibling)if(x.nodeType===o.ELEMENT_NODE){this[this.childrenByNumber.length]=x,this.childrenByNumber.push(x);var U=x.getAttribute("id");U&&!this.childrenByName[U]&&(this.childrenByName[U]=x);var K=x.getAttribute("name");K&&this.element.namespaceURI===i.HTML&&p.test(this.element.localName)&&!this.childrenByName[K]&&(this.childrenByName[U]=x)}}}}});function pe(m){return function(p){return p.localName===m}}function q(m){var p=r.toASCIILowerCase(m);return p===m?pe(m):function(y){return y.isHTML?y.localName===p:y.localName===m}}function R(m){return function(p){return p.namespaceURI===m}}function F(m,p){return function(y){return y.namespaceURI===m&&y.localName===p}}function Y(m){return function(p){return m.every(function(y){return p.classList.contains(y)})}}function v(m){return function(p){return p.namespaceURI!==i.HTML?!1:p.getAttribute("name")===m}}}}),OE=se({"external/npm/node_modules/domino/lib/Leaf.js"(t,e){"use strict";e.exports=a;var n=pt(),r=ki(),i=Xe(),s=i.HierarchyRequestError,o=i.NotFoundError;function a(){n.call(this)}a.prototype=Object.create(n.prototype,{hasChildNodes:{value:function(){return!1}},firstChild:{value:null},lastChild:{value:null},insertBefore:{value:function(c,l){if(!c.nodeType)throw new TypeError("not a node");s()}},replaceChild:{value:function(c,l){if(!c.nodeType)throw new TypeError("not a node");s()}},removeChild:{value:function(c){if(!c.nodeType)throw new TypeError("not a node");o()}},removeChildren:{value:function(){}},childNodes:{get:function(){return this._childNodes||(this._childNodes=new r),this._childNodes}}})}}),Yc=se({"external/npm/node_modules/domino/lib/CharacterData.js"(t,e){"use strict";e.exports=o;var n=OE(),r=Xe(),i=Xf(),s=xE();function o(){n.call(this)}o.prototype=Object.create(n.prototype,{substringData:{value:function(c,l){if(arguments.length<2)throw new TypeError("Not enough arguments");return c=c>>>0,l=l>>>0,(c>this.data.length||c<0||l<0)&&r.IndexSizeError(),this.data.substring(c,c+l)}},appendData:{value:function(c){if(arguments.length<1)throw new TypeError("Not enough arguments");this.data+=String(c)}},insertData:{value:function(c,l){return this.replaceData(c,0,l)}},deleteData:{value:function(c,l){return this.replaceData(c,l,"")}},replaceData:{value:function(c,l,u){var d=this.data,g=d.length;c=c>>>0,l=l>>>0,u=String(u),(c>g||c<0)&&r.IndexSizeError(),c+l>g&&(l=g-c);var D=d.substring(0,c),N=d.substring(c+l);this.data=D+u+N}},isEqual:{value:function(c){return this._data===c._data}},length:{get:function(){return this.data.length}}}),Object.defineProperties(o.prototype,i),Object.defineProperties(o.prototype,s)}}),kE=se({"external/npm/node_modules/domino/lib/Text.js"(t,e){"use strict";e.exports=s;var n=Xe(),r=pt(),i=Yc();function s(a,c){i.call(this),this.nodeType=r.TEXT_NODE,this.ownerDocument=a,this._data=c,this._index=void 0}var o={get:function(){return this._data},set:function(a){a==null?a="":a=String(a),a!==this._data&&(this._data=a,this.rooted&&this.ownerDocument.mutateValue(this),this.parentNode&&this.parentNode._textchangehook&&this.parentNode._textchangehook(this))}};s.prototype=Object.create(i.prototype,{nodeName:{value:"#text"},nodeValue:o,textContent:o,innerText:o,data:{get:o.get,set:function(a){o.set.call(this,a===null?"":String(a))}},splitText:{value:function(c){(c>this._data.length||c<0)&&n.IndexSizeError();var l=this._data.substring(c),u=this.ownerDocument.createTextNode(l);this.data=this.data.substring(0,c);var d=this.parentNode;return d!==null&&d.insertBefore(u,this.nextSibling),u}},wholeText:{get:function(){for(var c=this.textContent,l=this.nextSibling;l&&l.nodeType===r.TEXT_NODE;l=l.nextSibling)c+=l.textContent;return c}},replaceWholeText:{value:n.nyi},clone:{value:function(){return new s(this.ownerDocument,this._data)}}})}}),LE=se({"external/npm/node_modules/domino/lib/Comment.js"(t,e){"use strict";e.exports=i;var n=pt(),r=Yc();function i(o,a){r.call(this),this.nodeType=n.COMMENT_NODE,this.ownerDocument=o,this._data=a}var s={get:function(){return this._data},set:function(o){o==null?o="":o=String(o),this._data=o,this.rooted&&this.ownerDocument.mutateValue(this)}};i.prototype=Object.create(r.prototype,{nodeName:{value:"#comment"},nodeValue:s,textContent:s,innerText:s,data:{get:s.get,set:function(o){s.set.call(this,o===null?"":String(o))}},clone:{value:function(){return new i(this.ownerDocument,this._data)}}})}}),PE=se({"external/npm/node_modules/domino/lib/DocumentFragment.js"(t,e){"use strict";e.exports=c;var n=pt(),r=ki(),i=Kf(),s=eo(),o=Zf(),a=Xe();function c(l){i.call(this),this.nodeType=n.DOCUMENT_FRAGMENT_NODE,this.ownerDocument=l}c.prototype=Object.create(i.prototype,{nodeName:{value:"#document-fragment"},nodeValue:{get:function(){return null},set:function(){}},textContent:Object.getOwnPropertyDescriptor(s.prototype,"textContent"),innerText:Object.getOwnPropertyDescriptor(s.prototype,"innerText"),querySelector:{value:function(l){var u=this.querySelectorAll(l);return u.length?u[0]:null}},querySelectorAll:{value:function(l){var u=Object.create(this);u.isHTML=!0,u.getElementsByTagName=s.prototype.getElementsByTagName,u.nextElement=Object.getOwnPropertyDescriptor(s.prototype,"firstElementChild").get;var d=o(l,u);return d.item?d:new r(d)}},clone:{value:function(){return new c(this.ownerDocument)}},isEqual:{value:function(u){return!0}},innerHTML:{get:function(){return this.serialize()},set:a.nyi},outerHTML:{get:function(){return this.serialize()},set:a.nyi}})}}),FE=se({"external/npm/node_modules/domino/lib/ProcessingInstruction.js"(t,e){"use strict";e.exports=i;var n=pt(),r=Yc();function i(o,a,c){r.call(this),this.nodeType=n.PROCESSING_INSTRUCTION_NODE,this.ownerDocument=o,this.target=a,this._data=c}var s={get:function(){return this._data},set:function(o){o==null?o="":o=String(o),this._data=o,this.rooted&&this.ownerDocument.mutateValue(this)}};i.prototype=Object.create(r.prototype,{nodeName:{get:function(){return this.target}},nodeValue:s,textContent:s,innerText:s,data:{get:s.get,set:function(o){s.set.call(this,o===null?"":String(o))}},clone:{value:function(){return new i(this.ownerDocument,this.target,this._data)}},isEqual:{value:function(a){return this.target===a.target&&this._data===a._data}}})}}),Zc=se({"external/npm/node_modules/domino/lib/NodeFilter.js"(t,e){"use strict";var n={FILTER_ACCEPT:1,FILTER_REJECT:2,FILTER_SKIP:3,SHOW_ALL:4294967295,SHOW_ELEMENT:1,SHOW_ATTRIBUTE:2,SHOW_TEXT:4,SHOW_CDATA_SECTION:8,SHOW_ENTITY_REFERENCE:16,SHOW_ENTITY:32,SHOW_PROCESSING_INSTRUCTION:64,SHOW_COMMENT:128,SHOW_DOCUMENT:256,SHOW_DOCUMENT_TYPE:512,SHOW_DOCUMENT_FRAGMENT:1024,SHOW_NOTATION:2048};e.exports=n.constructor=n.prototype=n}}),jE=se({"external/npm/node_modules/domino/lib/NodeTraversal.js"(t,e){"use strict";var n=e.exports={nextSkippingChildren:r,nextAncestorSibling:i,next:s,previous:a,deepLastChild:o};function r(c,l){return c===l?null:c.nextSibling!==null?c.nextSibling:i(c,l)}function i(c,l){for(c=c.parentNode;c!==null;c=c.parentNode){if(c===l)return null;if(c.nextSibling!==null)return c.nextSibling}return null}function s(c,l){var u;return u=c.firstChild,u!==null?u:c===l?null:(u=c.nextSibling,u!==null?u:i(c,l))}function o(c){for(;c.lastChild;)c=c.lastChild;return c}function a(c,l){var u;return u=c.previousSibling,u!==null?o(u):(u=c.parentNode,u===l?null:u)}}}),iN=se({"external/npm/node_modules/domino/lib/TreeWalker.js"(t,e){"use strict";e.exports=u;var n=pt(),r=Zc(),i=jE(),s=Xe(),o={first:"firstChild",last:"lastChild",next:"firstChild",previous:"lastChild"},a={first:"nextSibling",last:"previousSibling",next:"nextSibling",previous:"previousSibling"};function c(d,g){var D,N,M,$,L;for(N=d._currentNode[o[g]];N!==null;){if($=d._internalFilter(N),$===r.FILTER_ACCEPT)return d._currentNode=N,N;if($===r.FILTER_SKIP&&(D=N[o[g]],D!==null)){N=D;continue}for(;N!==null;){if(L=N[a[g]],L!==null){N=L;break}if(M=N.parentNode,M===null||M===d.root||M===d._currentNode)return null;N=M}}return null}function l(d,g){var D,N,M;if(D=d._currentNode,D===d.root)return null;for(;;){for(M=D[a[g]];M!==null;){if(D=M,N=d._internalFilter(D),N===r.FILTER_ACCEPT)return d._currentNode=D,D;M=D[o[g]],(N===r.FILTER_REJECT||M===null)&&(M=D[a[g]])}if(D=D.parentNode,D===null||D===d.root||d._internalFilter(D)===r.FILTER_ACCEPT)return null}}function u(d,g,D){(!d||!d.nodeType)&&s.NotSupportedError(),this._root=d,this._whatToShow=Number(g)||0,this._filter=D||null,this._active=!1,this._currentNode=d}Object.defineProperties(u.prototype,{root:{get:function(){return this._root}},whatToShow:{get:function(){return this._whatToShow}},filter:{get:function(){return this._filter}},currentNode:{get:function(){return this._currentNode},set:function(g){if(!(g instanceof n))throw new TypeError("Not a Node");this._currentNode=g}},_internalFilter:{value:function(g){var D,N;if(this._active&&s.InvalidStateError(),!(1<<g.nodeType-1&this._whatToShow))return r.FILTER_SKIP;if(N=this._filter,N===null)D=r.FILTER_ACCEPT;else{this._active=!0;try{typeof N=="function"?D=N(g):D=N.acceptNode(g)}finally{this._active=!1}}return+D}},parentNode:{value:function(){for(var g=this._currentNode;g!==this.root;){if(g=g.parentNode,g===null)return null;if(this._internalFilter(g)===r.FILTER_ACCEPT)return this._currentNode=g,g}return null}},firstChild:{value:function(){return c(this,"first")}},lastChild:{value:function(){return c(this,"last")}},previousSibling:{value:function(){return l(this,"previous")}},nextSibling:{value:function(){return l(this,"next")}},previousNode:{value:function(){var g,D,N,M;for(g=this._currentNode;g!==this._root;){for(N=g.previousSibling;N;N=g.previousSibling)if(g=N,D=this._internalFilter(g),D!==r.FILTER_REJECT){for(M=g.lastChild;M&&(g=M,D=this._internalFilter(g),D!==r.FILTER_REJECT);M=g.lastChild);if(D===r.FILTER_ACCEPT)return this._currentNode=g,g}if(g===this.root||g.parentNode===null)return null;if(g=g.parentNode,this._internalFilter(g)===r.FILTER_ACCEPT)return this._currentNode=g,g}return null}},nextNode:{value:function(){var g,D,N,M;g=this._currentNode,D=r.FILTER_ACCEPT;e:for(;;){for(N=g.firstChild;N;N=g.firstChild){if(g=N,D=this._internalFilter(g),D===r.FILTER_ACCEPT)return this._currentNode=g,g;if(D===r.FILTER_REJECT)break}for(M=i.nextSkippingChildren(g,this.root);M;M=i.nextSkippingChildren(g,this.root)){if(g=M,D=this._internalFilter(g),D===r.FILTER_ACCEPT)return this._currentNode=g,g;if(D===r.FILTER_SKIP)continue e}return null}}},toString:{value:function(){return"[object TreeWalker]"}}})}}),sN=se({"external/npm/node_modules/domino/lib/NodeIterator.js"(t,e){"use strict";e.exports=c;var n=Zc(),r=jE(),i=Xe();function s(l,u,d){return d?r.next(l,u):l===u?null:r.previous(l,null)}function o(l,u){for(;u;u=u.parentNode)if(l===u)return!0;return!1}function a(l,u){var d,g;for(d=l._referenceNode,g=l._pointerBeforeReferenceNode;;){if(g===u)g=!g;else if(d=s(d,l._root,u),d===null)return null;var D=l._internalFilter(d);if(D===n.FILTER_ACCEPT)break}return l._referenceNode=d,l._pointerBeforeReferenceNode=g,d}function c(l,u,d){(!l||!l.nodeType)&&i.NotSupportedError(),this._root=l,this._referenceNode=l,this._pointerBeforeReferenceNode=!0,this._whatToShow=Number(u)||0,this._filter=d||null,this._active=!1,l.doc._attachNodeIterator(this)}Object.defineProperties(c.prototype,{root:{get:function(){return this._root}},referenceNode:{get:function(){return this._referenceNode}},pointerBeforeReferenceNode:{get:function(){return this._pointerBeforeReferenceNode}},whatToShow:{get:function(){return this._whatToShow}},filter:{get:function(){return this._filter}},_internalFilter:{value:function(u){var d,g;if(this._active&&i.InvalidStateError(),!(1<<u.nodeType-1&this._whatToShow))return n.FILTER_SKIP;if(g=this._filter,g===null)d=n.FILTER_ACCEPT;else{this._active=!0;try{typeof g=="function"?d=g(u):d=g.acceptNode(u)}finally{this._active=!1}}return+d}},_preremove:{value:function(u){if(!o(u,this._root)&&o(u,this._referenceNode)){if(this._pointerBeforeReferenceNode){for(var d=u;d.lastChild;)d=d.lastChild;if(d=r.next(d,this.root),d){this._referenceNode=d;return}this._pointerBeforeReferenceNode=!1}if(u.previousSibling===null)this._referenceNode=u.parentNode;else{this._referenceNode=u.previousSibling;var g;for(g=this._referenceNode.lastChild;g;g=this._referenceNode.lastChild)this._referenceNode=g}}}},nextNode:{value:function(){return a(this,!0)}},previousNode:{value:function(){return a(this,!1)}},detach:{value:function(){}},toString:{value:function(){return"[object NodeIterator]"}}})}}),Jf=se({"external/npm/node_modules/domino/lib/URL.js"(t,e){"use strict";e.exports=n;function n(r){if(!r)return Object.create(n.prototype);this.url=r.replace(/^[ \t\n\r\f]+|[ \t\n\r\f]+$/g,"");var i=n.pattern.exec(this.url);if(i){if(i[2]&&(this.scheme=i[2]),i[4]){var s=i[4].match(n.userinfoPattern);if(s&&(this.username=s[1],this.password=s[3],i[4]=i[4].substring(s[0].length)),i[4].match(n.portPattern)){var o=i[4].lastIndexOf(":");this.host=i[4].substring(0,o),this.port=i[4].substring(o+1)}else this.host=i[4]}i[5]&&(this.path=i[5]),i[6]&&(this.query=i[7]),i[8]&&(this.fragment=i[9])}}n.pattern=/^(([^:\/?#]+):)?(\/\/([^\/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/,n.userinfoPattern=/^([^@:]*)(:([^@]*))?@/,n.portPattern=/:\d+$/,n.authorityPattern=/^[^:\/?#]+:\/\//,n.hierarchyPattern=/^[^:\/?#]+:\//,n.percentEncode=function(i){var s=i.charCodeAt(0);if(s<256)return"%"+s.toString(16);throw Error("can't percent-encode codepoints > 255 yet")},n.prototype={constructor:n,isAbsolute:function(){return!!this.scheme},isAuthorityBased:function(){return n.authorityPattern.test(this.url)},isHierarchical:function(){return n.hierarchyPattern.test(this.url)},toString:function(){var r="";return this.scheme!==void 0&&(r+=this.scheme+":"),this.isAbsolute()&&(r+="//",(this.username||this.password)&&(r+=this.username||"",this.password&&(r+=":"+this.password),r+="@"),this.host&&(r+=this.host)),this.port!==void 0&&(r+=":"+this.port),this.path!==void 0&&(r+=this.path),this.query!==void 0&&(r+="?"+this.query),this.fragment!==void 0&&(r+="#"+this.fragment),r},resolve:function(r){var i=this,s=new n(r),o=new n;return s.scheme!==void 0?(o.scheme=s.scheme,o.username=s.username,o.password=s.password,o.host=s.host,o.port=s.port,o.path=c(s.path),o.query=s.query):(o.scheme=i.scheme,s.host!==void 0?(o.username=s.username,o.password=s.password,o.host=s.host,o.port=s.port,o.path=c(s.path),o.query=s.query):(o.username=i.username,o.password=i.password,o.host=i.host,o.port=i.port,s.path?(s.path.charAt(0)==="/"?o.path=c(s.path):(o.path=a(i.path,s.path),o.path=c(o.path)),o.query=s.query):(o.path=i.path,s.query!==void 0?o.query=s.query:o.query=i.query))),o.fragment=s.fragment,o.toString();function a(l,u){if(i.host!==void 0&&!i.path)return"/"+u;var d=l.lastIndexOf("/");return d===-1?u:l.substring(0,d+1)+u}function c(l){if(!l)return l;for(var u="";l.length>0;){if(l==="."||l===".."){l="";break}var d=l.substring(0,2),g=l.substring(0,3),D=l.substring(0,4);if(g==="../")l=l.substring(3);else if(d==="./")l=l.substring(2);else if(g==="/./")l="/"+l.substring(3);else if(d==="/."&&l.length===2)l="/";else if(D==="/../"||g==="/.."&&l.length===3)l="/"+l.substring(4),u=u.replace(/\/?[^\/]*$/,"");else{var N=l.match(/(\/?([^\/]*))/)[0];u+=N,l=l.substring(N.length)}}return u}}}}}),oN=se({"external/npm/node_modules/domino/lib/CustomEvent.js"(t,e){"use strict";e.exports=r;var n=Js();function r(i,s){n.call(this,i,s)}r.prototype=Object.create(n.prototype,{constructor:{value:r}})}}),BE=se({"external/npm/node_modules/domino/lib/events.js"(t,e){"use strict";e.exports={Event:Js(),UIEvent:TE(),MouseEvent:SE(),CustomEvent:oN()}}}),aN=se({"external/npm/node_modules/domino/lib/style_parser.js"(t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hyphenate=t.parse=void 0;function e(r){let i=[],s=0,o=0,a=0,c=0,l=0,u=null;for(;s<r.length;)switch(r.charCodeAt(s++)){case 40:o++;break;case 41:o--;break;case 39:a===0?a=39:a===39&&r.charCodeAt(s-1)!==92&&(a=0);break;case 34:a===0?a=34:a===34&&r.charCodeAt(s-1)!==92&&(a=0);break;case 58:!u&&o===0&&a===0&&(u=n(r.substring(l,s-1).trim()),c=s);break;case 59:if(u&&c>0&&o===0&&a===0){let g=r.substring(c,s-1).trim();i.push(u,g),l=s,c=0,u=null}break}if(u&&c){let d=r.slice(c).trim();i.push(u,d)}return i}t.parse=e;function n(r){return r.replace(/[a-z][A-Z]/g,i=>i.charAt(0)+"-"+i.charAt(1)).toLowerCase()}t.hyphenate=n}}),eh=se({"external/npm/node_modules/domino/lib/CSSStyleDeclaration.js"(t,e){"use strict";var{parse:n}=aN();e.exports=function(c){let l=new i(c),u={get:function(d,g){return g in d?d[g]:d.getPropertyValue(r(g))},has:function(d,g){return!0},set:function(d,g,D){return g in d?d[g]=D:d.setProperty(r(g),D??void 0),!0}};return new Proxy(l,u)};function r(c){return c.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function i(c){this._element=c}var s="!important";function o(c){let l={property:{},priority:{}};if(!c)return l;let u=n(c);if(u.length<2)return l;for(let d=0;d<u.length;d+=2){let g=u[d],D=u[d+1];D.endsWith(s)&&(l.priority[g]="important",D=D.slice(0,-s.length).trim()),l.property[g]=D}return l}var a={};i.prototype=Object.create(Object.prototype,{_parsed:{get:function(){if(!this._parsedStyles||this.cssText!==this._lastParsedText){var c=this.cssText;this._parsedStyles=o(c),this._lastParsedText=c,delete this._names}return this._parsedStyles}},_serialize:{value:function(){var c=this._parsed,l="";for(var u in c.property)l&&(l+=" "),l+=u+": "+c.property[u],c.priority[u]&&(l+=" !"+c.priority[u]),l+=";";this.cssText=l,this._lastParsedText=l,delete this._names}},cssText:{get:function(){return this._element.getAttribute("style")},set:function(c){this._element.setAttribute("style",c)}},length:{get:function(){return this._names||(this._names=Object.getOwnPropertyNames(this._parsed.property)),this._names.length}},item:{value:function(c){return this._names||(this._names=Object.getOwnPropertyNames(this._parsed.property)),this._names[c]}},getPropertyValue:{value:function(c){return c=c.toLowerCase(),this._parsed.property[c]||""}},getPropertyPriority:{value:function(c){return c=c.toLowerCase(),this._parsed.priority[c]||""}},setProperty:{value:function(c,l,u){if(c=c.toLowerCase(),l==null&&(l=""),u==null&&(u=""),l!==a&&(l=""+l),l=l.trim(),l===""){this.removeProperty(c);return}if(!(u!==""&&u!==a&&!/^important$/i.test(u))){var d=this._parsed;if(l===a){if(!d.property[c])return;u!==""?d.priority[c]="important":delete d.priority[c]}else{if(l.indexOf(";")!==-1)return;var g=o(c+":"+l);if(Object.getOwnPropertyNames(g.property).length===0||Object.getOwnPropertyNames(g.priority).length!==0)return;for(var D in g.property)d.property[D]=g.property[D],u!==a&&(u!==""?d.priority[D]="important":d.priority[D]&&delete d.priority[D])}this._serialize()}}},setPropertyValue:{value:function(c,l){return this.setProperty(c,l,a)}},setPropertyPriority:{value:function(c,l){return this.setProperty(c,a,l)}},removeProperty:{value:function(c){c=c.toLowerCase();var l=this._parsed;c in l.property&&(delete l.property[c],delete l.priority[c],this._serialize())}}})}}),HE=se({"external/npm/node_modules/domino/lib/URLUtils.js"(t,e){"use strict";var n=Jf();e.exports=r;function r(){}r.prototype=Object.create(Object.prototype,{_url:{get:function(){return new n(this.href)}},protocol:{get:function(){var i=this._url;return i&&i.scheme?i.scheme+":":":"},set:function(i){var s=this.href,o=new n(s);o.isAbsolute()&&(i=i.replace(/:+$/,""),i=i.replace(/[^-+\.a-zA-Z0-9]/g,n.percentEncode),i.length>0&&(o.scheme=i,s=o.toString())),this.href=s}},host:{get:function(){var i=this._url;return i.isAbsolute()&&i.isAuthorityBased()?i.host+(i.port?":"+i.port:""):""},set:function(i){var s=this.href,o=new n(s);o.isAbsolute()&&o.isAuthorityBased()&&(i=i.replace(/[^-+\._~!$&'()*,;:=a-zA-Z0-9]/g,n.percentEncode),i.length>0&&(o.host=i,delete o.port,s=o.toString())),this.href=s}},hostname:{get:function(){var i=this._url;return i.isAbsolute()&&i.isAuthorityBased()?i.host:""},set:function(i){var s=this.href,o=new n(s);o.isAbsolute()&&o.isAuthorityBased()&&(i=i.replace(/^\/+/,""),i=i.replace(/[^-+\._~!$&'()*,;:=a-zA-Z0-9]/g,n.percentEncode),i.length>0&&(o.host=i,s=o.toString())),this.href=s}},port:{get:function(){var i=this._url;return i.isAbsolute()&&i.isAuthorityBased()&&i.port!==void 0?i.port:""},set:function(i){var s=this.href,o=new n(s);o.isAbsolute()&&o.isAuthorityBased()&&(i=""+i,i=i.replace(/[^0-9].*$/,""),i=i.replace(/^0+/,""),i.length===0&&(i="0"),parseInt(i,10)<=65535&&(o.port=i,s=o.toString())),this.href=s}},pathname:{get:function(){var i=this._url;return i.isAbsolute()&&i.isHierarchical()?i.path:""},set:function(i){var s=this.href,o=new n(s);o.isAbsolute()&&o.isHierarchical()&&(i.charAt(0)!=="/"&&(i="/"+i),i=i.replace(/[^-+\._~!$&'()*,;:=@\/a-zA-Z0-9]/g,n.percentEncode),o.path=i,s=o.toString()),this.href=s}},search:{get:function(){var i=this._url;return i.isAbsolute()&&i.isHierarchical()&&i.query!==void 0?"?"+i.query:""},set:function(i){var s=this.href,o=new n(s);o.isAbsolute()&&o.isHierarchical()&&(i.charAt(0)==="?"&&(i=i.substring(1)),i=i.replace(/[^-+\._~!$&'()*,;:=@\/?a-zA-Z0-9]/g,n.percentEncode),o.query=i,s=o.toString()),this.href=s}},hash:{get:function(){var i=this._url;return i==null||i.fragment==null||i.fragment===""?"":"#"+i.fragment},set:function(i){var s=this.href,o=new n(s);i.charAt(0)==="#"&&(i=i.substring(1)),i=i.replace(/[^-+\._~!$&'()*,;:=@\/?a-zA-Z0-9]/g,n.percentEncode),o.fragment=i,s=o.toString(),this.href=s}},username:{get:function(){var i=this._url;return i.username||""},set:function(i){var s=this.href,o=new n(s);o.isAbsolute()&&(i=i.replace(/[\x00-\x1F\x7F-\uFFFF "#<>?`\/@\\:]/g,n.percentEncode),o.username=i,s=o.toString()),this.href=s}},password:{get:function(){var i=this._url;return i.password||""},set:function(i){var s=this.href,o=new n(s);o.isAbsolute()&&(i===""?o.password=null:(i=i.replace(/[\x00-\x1F\x7F-\uFFFF "#<>?`\/@\\]/g,n.percentEncode),o.password=i),s=o.toString()),this.href=s}},origin:{get:function(){var i=this._url;if(i==null)return"";var s=function(o){var a=[i.scheme,i.host,+i.port||o];return a[0]+"://"+a[1]+(a[2]===o?"":":"+a[2])};switch(i.scheme){case"ftp":return s(21);case"gopher":return s(70);case"http":case"ws":return s(80);case"https":case"wss":return s(443);default:return i.scheme+"://"}}}}),r._inherit=function(i){Object.getOwnPropertyNames(r.prototype).forEach(function(s){if(!(s==="constructor"||s==="href")){var o=Object.getOwnPropertyDescriptor(r.prototype,s);Object.defineProperty(i,s,o)}})}}}),UE=se({"external/npm/node_modules/domino/lib/defineElement.js"(t,e){"use strict";var n=ME(),r=Qf().isApiWritable;e.exports=function(a,c,l,u){var d=a.ctor;if(d){var g=a.props||{};if(a.attributes)for(var D in a.attributes){var N=a.attributes[D];(typeof N!="object"||Array.isArray(N))&&(N={type:N}),N.name||(N.name=D.toLowerCase()),g[D]=n.property(N)}g.constructor={value:d,writable:r},d.prototype=Object.create((a.superclass||c).prototype,g),a.events&&o(d,a.events),l[a.name]=d}else d=c;return(a.tags||a.tag&&[a.tag]||[]).forEach(function(M){u[M]=d}),d};function i(a,c,l,u){this.body=a,this.document=c,this.form=l,this.element=u}i.prototype.build=function(){return()=>{}};function s(a,c,l,u){var d=a.ownerDocument||Object.create(null),g=a.form||Object.create(null);a[c]=new i(u,d,g,a).build()}function o(a,c){var l=a.prototype;c.forEach(function(u){Object.defineProperty(l,"on"+u,{get:function(){return this._getEventHandler(u)},set:function(d){this._setEventHandler(u,d)}}),n.registerChangeHandler(a,"on"+u,s)})}}}),th=se({"external/npm/node_modules/domino/lib/htmlelts.js"(t){"use strict";var e=pt(),n=eo(),r=eh(),i=Xe(),s=HE(),o=UE(),a=t.elements={},c=Object.create(null);t.createElement=function(T,w,C){var E=c[w]||$;return new E(T,w,C)};function l(T){return o(T,M,a,c)}function u(T){return{get:function(){var w=this._getattr(T);if(w===null)return"";var C=this.doc._resolve(w);return C===null?w:C},set:function(w){this._setattr(T,w)}}}function d(T){return{get:function(){var w=this._getattr(T);return w===null?null:w.toLowerCase()==="use-credentials"?"use-credentials":"anonymous"},set:function(w){w==null?this.removeAttribute(T):this._setattr(T,w)}}}var g={type:["","no-referrer","no-referrer-when-downgrade","same-origin","origin","strict-origin","origin-when-cross-origin","strict-origin-when-cross-origin","unsafe-url"],missing:""},D={A:!0,LINK:!0,BUTTON:!0,INPUT:!0,SELECT:!0,TEXTAREA:!0,COMMAND:!0},N=function(T,w,C){M.call(this,T,w,C),this._form=null},M=t.HTMLElement=l({superclass:n,name:"HTMLElement",ctor:function(w,C,E){n.call(this,w,C,i.NAMESPACE.HTML,E)},props:{dangerouslySetInnerHTML:{set:function(T){this._innerHTML=T}},innerHTML:{get:function(){return this.serialize()},set:function(T){var w=this.ownerDocument.implementation.mozHTMLParser(this.ownerDocument._address,this);w.parse(T===null?"":String(T),!0);for(var C=this instanceof c.template?this.content:this;C.hasChildNodes();)C.removeChild(C.firstChild);C.appendChild(w._asDocumentFragment())}},style:{get:function(){return this._style||(this._style=new r(this)),this._style},set:function(T){T==null&&(T=""),this._setattr("style",String(T))}},blur:{value:function(){}},focus:{value:function(){}},forceSpellCheck:{value:function(){}},click:{value:function(){if(!this._click_in_progress){this._click_in_progress=!0;try{this._pre_click_activation_steps&&this._pre_click_activation_steps();var T=this.ownerDocument.createEvent("MouseEvent");T.initMouseEvent("click",!0,!0,this.ownerDocument.defaultView,1,0,0,0,0,!1,!1,!1,!1,0,null);var w=this.dispatchEvent(T);w?this._post_click_activation_steps&&this._post_click_activation_steps(T):this._cancelled_activation_steps&&this._cancelled_activation_steps()}finally{this._click_in_progress=!1}}}},submit:{value:i.nyi}},attributes:{title:String,lang:String,dir:{type:["ltr","rtl","auto"],missing:""},draggable:{type:["true","false"],treatNullAsEmptyString:!0},spellcheck:{type:["true","false"],missing:""},enterKeyHint:{type:["enter","done","go","next","previous","search","send"],missing:""},autoCapitalize:{type:["off","on","none","sentences","words","characters"],missing:""},autoFocus:Boolean,accessKey:String,nonce:String,hidden:Boolean,translate:{type:["no","yes"],missing:""},tabIndex:{type:"long",default:function(){return this.tagName in D||this.contentEditable?0:-1}}},events:["abort","canplay","canplaythrough","change","click","contextmenu","cuechange","dblclick","drag","dragend","dragenter","dragleave","dragover","dragstart","drop","durationchange","emptied","ended","input","invalid","keydown","keypress","keyup","loadeddata","loadedmetadata","loadstart","mousedown","mousemove","mouseout","mouseover","mouseup","mousewheel","pause","play","playing","progress","ratechange","readystatechange","reset","seeked","seeking","select","show","stalled","submit","suspend","timeupdate","volumechange","waiting","blur","error","focus","load","scroll"]}),$=l({name:"HTMLUnknownElement",ctor:function(w,C,E){M.call(this,w,C,E)}}),L={form:{get:function(){return this._form}}};l({tag:"a",name:"HTMLAnchorElement",ctor:function(w,C,E){M.call(this,w,C,E)},props:{_post_click_activation_steps:{value:function(T){this.href&&(this.ownerDocument.defaultView.location=this.href)}}},attributes:{href:u,ping:String,download:String,target:String,rel:String,media:String,hreflang:String,type:String,referrerPolicy:g,coords:String,charset:String,name:String,rev:String,shape:String}}),s._inherit(c.a.prototype),l({tag:"area",name:"HTMLAreaElement",ctor:function(w,C,E){M.call(this,w,C,E)},attributes:{alt:String,target:String,download:String,rel:String,media:String,href:u,hreflang:String,type:String,shape:String,coords:String,ping:String,referrerPolicy:g,noHref:Boolean}}),s._inherit(c.area.prototype),l({tag:"br",name:"HTMLBRElement",ctor:function(w,C,E){M.call(this,w,C,E)},attributes:{clear:String}}),l({tag:"base",name:"HTMLBaseElement",ctor:function(w,C,E){M.call(this,w,C,E)},attributes:{target:String}}),l({tag:"body",name:"HTMLBodyElement",ctor:function(w,C,E){M.call(this,w,C,E)},events:["afterprint","beforeprint","beforeunload","blur","error","focus","hashchange","load","message","offline","online","pagehide","pageshow","popstate","resize","scroll","storage","unload"],attributes:{text:{type:String,treatNullAsEmptyString:!0},link:{type:String,treatNullAsEmptyString:!0},vLink:{type:String,treatNullAsEmptyString:!0},aLink:{type:String,treatNullAsEmptyString:!0},bgColor:{type:String,treatNullAsEmptyString:!0},background:String}}),l({tag:"button",name:"HTMLButtonElement",ctor:function(w,C,E){N.call(this,w,C,E)},props:L,attributes:{name:String,value:String,disabled:Boolean,autofocus:Boolean,type:{type:["submit","reset","button","menu"],missing:"submit"},formTarget:String,formAction:u,formNoValidate:Boolean,formMethod:{type:["get","post","dialog"],invalid:"get",missing:""},formEnctype:{type:["application/x-www-form-urlencoded","multipart/form-data","text/plain"],invalid:"application/x-www-form-urlencoded",missing:""}}}),l({tag:"dl",name:"HTMLDListElement",ctor:function(w,C,E){M.call(this,w,C,E)},attributes:{compact:Boolean}}),l({tag:"data",name:"HTMLDataElement",ctor:function(w,C,E){M.call(this,w,C,E)},attributes:{value:String}}),l({tag:"datalist",name:"HTMLDataListElement",ctor:function(w,C,E){M.call(this,w,C,E)}}),l({tag:"details",name:"HTMLDetailsElement",ctor:function(w,C,E){M.call(this,w,C,E)},attributes:{open:Boolean}}),l({tag:"div",name:"HTMLDivElement",ctor:function(w,C,E){M.call(this,w,C,E)},attributes:{align:String}}),l({tag:"embed",name:"HTMLEmbedElement",ctor:function(w,C,E){M.call(this,w,C,E)},attributes:{src:u,type:String,width:String,height:String,align:String,name:String}}),l({tag:"fieldset",name:"HTMLFieldSetElement",ctor:function(w,C,E){N.call(this,w,C,E)},props:L,attributes:{disabled:Boolean,name:String}}),l({tag:"form",name:"HTMLFormElement",ctor:function(w,C,E){M.call(this,w,C,E)},attributes:{action:String,autocomplete:{type:["on","off"],missing:"on"},name:String,acceptCharset:{name:"accept-charset"},target:String,noValidate:Boolean,method:{type:["get","post","dialog"],invalid:"get",missing:"get"},enctype:{type:["application/x-www-form-urlencoded","multipart/form-data","text/plain"],invalid:"application/x-www-form-urlencoded",missing:"application/x-www-form-urlencoded"},encoding:{name:"enctype",type:["application/x-www-form-urlencoded","multipart/form-data","text/plain"],invalid:"application/x-www-form-urlencoded",missing:"application/x-www-form-urlencoded"}}}),l({tag:"hr",name:"HTMLHRElement",ctor:function(w,C,E){M.call(this,w,C,E)},attributes:{align:String,color:String,noShade:Boolean,size:String,width:String}}),l({tag:"head",name:"HTMLHeadElement",ctor:function(w,C,E){M.call(this,w,C,E)}}),l({tags:["h1","h2","h3","h4","h5","h6"],name:"HTMLHeadingElement",ctor:function(w,C,E){M.call(this,w,C,E)},attributes:{align:String}}),l({tag:"html",name:"HTMLHtmlElement",ctor:function(w,C,E){M.call(this,w,C,E)},attributes:{xmlns:u,version:String}}),l({tag:"iframe",name:"HTMLIFrameElement",ctor:function(w,C,E){M.call(this,w,C,E)},attributes:{src:u,srcdoc:String,name:String,width:String,height:String,seamless:Boolean,allow:Boolean,allowFullscreen:Boolean,allowUserMedia:Boolean,allowPaymentRequest:Boolean,referrerPolicy:g,loading:{type:["eager","lazy"],treatNullAsEmptyString:!0},align:String,scrolling:String,frameBorder:String,longDesc:u,marginHeight:{type:String,treatNullAsEmptyString:!0},marginWidth:{type:String,treatNullAsEmptyString:!0}}}),l({tag:"img",name:"HTMLImageElement",ctor:function(w,C,E){M.call(this,w,C,E)},attributes:{alt:String,src:u,srcset:String,crossOrigin:d,useMap:String,isMap:Boolean,sizes:String,height:{type:"unsigned long",default:0},width:{type:"unsigned long",default:0},referrerPolicy:g,loading:{type:["eager","lazy"],missing:""},name:String,lowsrc:u,align:String,hspace:{type:"unsigned long",default:0},vspace:{type:"unsigned long",default:0},longDesc:u,border:{type:String,treatNullAsEmptyString:!0}}}),l({tag:"input",name:"HTMLInputElement",ctor:function(w,C,E){N.call(this,w,C,E)},props:{form:L.form,_post_click_activation_steps:{value:function(T){if(this.type==="checkbox")this.checked=!this.checked;else if(this.type==="radio")for(var w=this.form.getElementsByName(this.name),C=w.length-1;C>=0;C--){var E=w[C];E.checked=E===this}}}},attributes:{name:String,disabled:Boolean,autofocus:Boolean,accept:String,alt:String,max:String,min:String,pattern:String,placeholder:String,step:String,dirName:String,defaultValue:{name:"value"},multiple:Boolean,required:Boolean,readOnly:Boolean,checked:Boolean,value:String,src:u,defaultChecked:{name:"checked",type:Boolean},size:{type:"unsigned long",default:20,min:1,setmin:1},width:{type:"unsigned long",min:0,setmin:0,default:0},height:{type:"unsigned long",min:0,setmin:0,default:0},minLength:{type:"unsigned long",min:0,setmin:0,default:-1},maxLength:{type:"unsigned long",min:0,setmin:0,default:-1},autocomplete:String,type:{type:["text","hidden","search","tel","url","email","password","datetime","date","month","week","time","datetime-local","number","range","color","checkbox","radio","file","submit","image","reset","button"],missing:"text"},formTarget:String,formNoValidate:Boolean,formMethod:{type:["get","post"],invalid:"get",missing:""},formEnctype:{type:["application/x-www-form-urlencoded","multipart/form-data","text/plain"],invalid:"application/x-www-form-urlencoded",missing:""},inputMode:{type:["verbatim","latin","latin-name","latin-prose","full-width-latin","kana","kana-name","katakana","numeric","tel","email","url"],missing:""},align:String,useMap:String}}),l({tag:"keygen",name:"HTMLKeygenElement",ctor:function(w,C,E){N.call(this,w,C,E)},props:L,attributes:{name:String,disabled:Boolean,autofocus:Boolean,challenge:String,keytype:{type:["rsa"],missing:""}}}),l({tag:"li",name:"HTMLLIElement",ctor:function(w,C,E){M.call(this,w,C,E)},attributes:{value:{type:"long",default:0},type:String}}),l({tag:"label",name:"HTMLLabelElement",ctor:function(w,C,E){N.call(this,w,C,E)},props:L,attributes:{htmlFor:{name:"for",type:String}}}),l({tag:"legend",name:"HTMLLegendElement",ctor:function(w,C,E){M.call(this,w,C,E)},attributes:{align:String}}),l({tag:"link",name:"HTMLLinkElement",ctor:function(w,C,E){M.call(this,w,C,E)},attributes:{href:u,rel:String,media:String,hreflang:String,type:String,crossOrigin:d,nonce:String,integrity:String,referrerPolicy:g,imageSizes:String,imageSrcset:String,charset:String,rev:String,target:String}}),l({tag:"map",name:"HTMLMapElement",ctor:function(w,C,E){M.call(this,w,C,E)},attributes:{name:String}}),l({tag:"menu",name:"HTMLMenuElement",ctor:function(w,C,E){M.call(this,w,C,E)},attributes:{type:{type:["context","popup","toolbar"],missing:"toolbar"},label:String,compact:Boolean}}),l({tag:"meta",name:"HTMLMetaElement",ctor:function(w,C,E){M.call(this,w,C,E)},attributes:{name:String,content:String,httpEquiv:{name:"http-equiv",type:String},scheme:String}}),l({tag:"meter",name:"HTMLMeterElement",ctor:function(w,C,E){N.call(this,w,C,E)},props:L}),l({tags:["ins","del"],name:"HTMLModElement",ctor:function(w,C,E){M.call(this,w,C,E)},attributes:{cite:u,dateTime:String}}),l({tag:"ol",name:"HTMLOListElement",ctor:function(w,C,E){M.call(this,w,C,E)},props:{_numitems:{get:function(){var T=0;return this.childNodes.forEach(function(w){w.nodeType===e.ELEMENT_NODE&&w.tagName==="LI"&&T++}),T}}},attributes:{type:String,reversed:Boolean,start:{type:"long",default:function(){return this.reversed?this._numitems:1}},compact:Boolean}}),l({tag:"object",name:"HTMLObjectElement",ctor:function(w,C,E){N.call(this,w,C,E)},props:L,attributes:{data:u,type:String,name:String,useMap:String,typeMustMatch:Boolean,width:String,height:String,align:String,archive:String,code:String,declare:Boolean,hspace:{type:"unsigned long",default:0},standby:String,vspace:{type:"unsigned long",default:0},codeBase:u,codeType:String,border:{type:String,treatNullAsEmptyString:!0}}}),l({tag:"optgroup",name:"HTMLOptGroupElement",ctor:function(w,C,E){M.call(this,w,C,E)},attributes:{disabled:Boolean,label:String}}),l({tag:"option",name:"HTMLOptionElement",ctor:function(w,C,E){M.call(this,w,C,E)},props:{form:{get:function(){for(var T=this.parentNode;T&&T.nodeType===e.ELEMENT_NODE;){if(T.localName==="select")return T.form;T=T.parentNode}}},value:{get:function(){return this._getattr("value")||this.text},set:function(T){this._setattr("value",T)}},text:{get:function(){return this.textContent.replace(/[ \t\n\f\r]+/g," ").trim()},set:function(T){this.textContent=T}}},attributes:{disabled:Boolean,defaultSelected:{name:"selected",type:Boolean},label:String}}),l({tag:"output",name:"HTMLOutputElement",ctor:function(w,C,E){N.call(this,w,C,E)},props:L,attributes:{name:String}}),l({tag:"p",name:"HTMLParagraphElement",ctor:function(w,C,E){M.call(this,w,C,E)},attributes:{align:String}}),l({tag:"param",name:"HTMLParamElement",ctor:function(w,C,E){M.call(this,w,C,E)},attributes:{name:String,value:String,type:String,valueType:String}}),l({tags:["pre","listing","xmp"],name:"HTMLPreElement",ctor:function(w,C,E){M.call(this,w,C,E)},attributes:{width:{type:"long",default:0}}}),l({tag:"progress",name:"HTMLProgressElement",ctor:function(w,C,E){N.call(this,w,C,E)},props:L,attributes:{max:{type:Number,float:!0,default:1,min:0}}}),l({tags:["q","blockquote"],name:"HTMLQuoteElement",ctor:function(w,C,E){M.call(this,w,C,E)},attributes:{cite:u}}),l({tag:"script",name:"HTMLScriptElement",ctor:function(w,C,E){M.call(this,w,C,E)},props:{text:{get:function(){for(var T="",w=0,C=this.childNodes.length;w<C;w++){var E=this.childNodes[w];E.nodeType===e.TEXT_NODE&&(T+=E._data)}return T},set:function(T){this.removeChildren(),T!==null&&T!==""&&this.appendChild(this.ownerDocument.createTextNode(T))}}},attributes:{src:u,type:String,charset:String,referrerPolicy:g,defer:Boolean,async:Boolean,nomodule:Boolean,crossOrigin:d,nonce:String,integrity:String}}),l({tag:"select",name:"HTMLSelectElement",ctor:function(w,C,E){N.call(this,w,C,E)},props:{form:L.form,options:{get:function(){return this.getElementsByTagName("option")}}},attributes:{autocomplete:String,name:String,disabled:Boolean,autofocus:Boolean,multiple:Boolean,required:Boolean,size:{type:"unsigned long",default:0}}}),l({tag:"span",name:"HTMLSpanElement",ctor:function(w,C,E){M.call(this,w,C,E)}}),l({tag:"style",name:"HTMLStyleElement",ctor:function(w,C,E){M.call(this,w,C,E)},attributes:{media:String,type:String,scoped:Boolean}}),l({tag:"caption",name:"HTMLTableCaptionElement",ctor:function(w,C,E){M.call(this,w,C,E)},attributes:{align:String}}),l({name:"HTMLTableCellElement",ctor:function(w,C,E){M.call(this,w,C,E)},attributes:{colSpan:{type:"unsigned long",default:1},rowSpan:{type:"unsigned long",default:1},scope:{type:["row","col","rowgroup","colgroup"],missing:""},abbr:String,align:String,axis:String,height:String,width:String,ch:{name:"char",type:String},chOff:{name:"charoff",type:String},noWrap:Boolean,vAlign:String,bgColor:{type:String,treatNullAsEmptyString:!0}}}),l({tags:["col","colgroup"],name:"HTMLTableColElement",ctor:function(w,C,E){M.call(this,w,C,E)},attributes:{span:{type:"limited unsigned long with fallback",default:1,min:1},align:String,ch:{name:"char",type:String},chOff:{name:"charoff",type:String},vAlign:String,width:String}}),l({tag:"table",name:"HTMLTableElement",ctor:function(w,C,E){M.call(this,w,C,E)},props:{rows:{get:function(){return this.getElementsByTagName("tr")}}},attributes:{align:String,border:String,frame:String,rules:String,summary:String,width:String,bgColor:{type:String,treatNullAsEmptyString:!0},cellPadding:{type:String,treatNullAsEmptyString:!0},cellSpacing:{type:String,treatNullAsEmptyString:!0}}}),l({tag:"template",name:"HTMLTemplateElement",ctor:function(w,C,E){M.call(this,w,C,E),this._contentFragment=w._templateDoc.createDocumentFragment()},props:{content:{get:function(){return this._contentFragment}},serialize:{value:function(){return this.content.serialize()}}}}),l({tag:"tr",name:"HTMLTableRowElement",ctor:function(w,C,E){M.call(this,w,C,E)},props:{cells:{get:function(){return this.querySelectorAll("td,th")}}},attributes:{align:String,ch:{name:"char",type:String},chOff:{name:"charoff",type:String},vAlign:String,bgColor:{type:String,treatNullAsEmptyString:!0}}}),l({tags:["thead","tfoot","tbody"],name:"HTMLTableSectionElement",ctor:function(w,C,E){M.call(this,w,C,E)},props:{rows:{get:function(){return this.getElementsByTagName("tr")}}},attributes:{align:String,ch:{name:"char",type:String},chOff:{name:"charoff",type:String},vAlign:String}}),l({tag:"textarea",name:"HTMLTextAreaElement",ctor:function(w,C,E){N.call(this,w,C,E)},props:{form:L.form,type:{get:function(){return"textarea"}},defaultValue:{get:function(){return this.textContent},set:function(T){this.textContent=T}},value:{get:function(){return this.defaultValue},set:function(T){this.defaultValue=T}},textLength:{get:function(){return this.value.length}}},attributes:{autocomplete:String,name:String,disabled:Boolean,autofocus:Boolean,placeholder:String,wrap:String,dirName:String,required:Boolean,readOnly:Boolean,rows:{type:"limited unsigned long with fallback",default:2},cols:{type:"limited unsigned long with fallback",default:20},maxLength:{type:"unsigned long",min:0,setmin:0,default:-1},minLength:{type:"unsigned long",min:0,setmin:0,default:-1},inputMode:{type:["verbatim","latin","latin-name","latin-prose","full-width-latin","kana","kana-name","katakana","numeric","tel","email","url"],missing:""}}}),l({tag:"time",name:"HTMLTimeElement",ctor:function(w,C,E){M.call(this,w,C,E)},attributes:{dateTime:String,pubDate:Boolean}}),l({tag:"title",name:"HTMLTitleElement",ctor:function(w,C,E){M.call(this,w,C,E)},props:{text:{get:function(){return this.textContent}}}}),l({tag:"ul",name:"HTMLUListElement",ctor:function(w,C,E){M.call(this,w,C,E)},attributes:{type:String,compact:Boolean}}),l({name:"HTMLMediaElement",ctor:function(w,C,E){M.call(this,w,C,E)},attributes:{src:u,crossOrigin:d,preload:{type:["metadata","none","auto",{value:"",alias:"auto"}],missing:"auto"},loop:Boolean,autoplay:Boolean,mediaGroup:String,controls:Boolean,defaultMuted:{name:"muted",type:Boolean}}}),l({name:"HTMLAudioElement",tag:"audio",superclass:a.HTMLMediaElement,ctor:function(w,C,E){a.HTMLMediaElement.call(this,w,C,E)}}),l({name:"HTMLVideoElement",tag:"video",superclass:a.HTMLMediaElement,ctor:function(w,C,E){a.HTMLMediaElement.call(this,w,C,E)},attributes:{poster:u,width:{type:"unsigned long",min:0,default:0},height:{type:"unsigned long",min:0,default:0}}}),l({tag:"td",name:"HTMLTableDataCellElement",superclass:a.HTMLTableCellElement,ctor:function(w,C,E){a.HTMLTableCellElement.call(this,w,C,E)}}),l({tag:"th",name:"HTMLTableHeaderCellElement",superclass:a.HTMLTableCellElement,ctor:function(w,C,E){a.HTMLTableCellElement.call(this,w,C,E)}}),l({tag:"frameset",name:"HTMLFrameSetElement",ctor:function(w,C,E){M.call(this,w,C,E)}}),l({tag:"frame",name:"HTMLFrameElement",ctor:function(w,C,E){M.call(this,w,C,E)}}),l({tag:"canvas",name:"HTMLCanvasElement",ctor:function(w,C,E){M.call(this,w,C,E)},props:{getContext:{value:i.nyi},probablySupportsContext:{value:i.nyi},setContext:{value:i.nyi},transferControlToProxy:{value:i.nyi},toDataURL:{value:i.nyi},toBlob:{value:i.nyi}},attributes:{width:{type:"unsigned long",default:300},height:{type:"unsigned long",default:150}}}),l({tag:"dialog",name:"HTMLDialogElement",ctor:function(w,C,E){M.call(this,w,C,E)},props:{show:{value:i.nyi},showModal:{value:i.nyi},close:{value:i.nyi}},attributes:{open:Boolean,returnValue:String}}),l({tag:"menuitem",name:"HTMLMenuItemElement",ctor:function(w,C,E){M.call(this,w,C,E)},props:{_label:{get:function(){var T=this._getattr("label");return T!==null&&T!==""?T:(T=this.textContent,T.replace(/[ \t\n\f\r]+/g," ").trim())}},label:{get:function(){var T=this._getattr("label");return T!==null?T:this._label},set:function(T){this._setattr("label",T)}}},attributes:{type:{type:["command","checkbox","radio"],missing:"command"},icon:u,disabled:Boolean,checked:Boolean,radiogroup:String,default:Boolean}}),l({tag:"source",name:"HTMLSourceElement",ctor:function(w,C,E){M.call(this,w,C,E)},attributes:{srcset:String,sizes:String,media:String,src:u,type:String,width:String,height:String}}),l({tag:"track",name:"HTMLTrackElement",ctor:function(w,C,E){M.call(this,w,C,E)},attributes:{src:u,srclang:String,label:String,default:Boolean,kind:{type:["subtitles","captions","descriptions","chapters","metadata"],missing:"subtitles",invalid:"metadata"}},props:{NONE:{get:function(){return 0}},LOADING:{get:function(){return 1}},LOADED:{get:function(){return 2}},ERROR:{get:function(){return 3}},readyState:{get:i.nyi},track:{get:i.nyi}}}),l({tag:"font",name:"HTMLFontElement",ctor:function(w,C,E){M.call(this,w,C,E)},attributes:{color:{type:String,treatNullAsEmptyString:!0},face:{type:String},size:{type:String}}}),l({tag:"dir",name:"HTMLDirectoryElement",ctor:function(w,C,E){M.call(this,w,C,E)},attributes:{compact:Boolean}}),l({tags:["abbr","address","article","aside","b","bdi","bdo","cite","content","code","dd","dfn","dt","em","figcaption","figure","footer","header","hgroup","i","kbd","main","mark","nav","noscript","rb","rp","rt","rtc","ruby","s","samp","section","small","strong","sub","summary","sup","u","var","wbr","acronym","basefont","big","center","nobr","noembed","noframes","plaintext","strike","tt"]})}}),VE=se({"external/npm/node_modules/domino/lib/svg.js"(t){"use strict";var e=eo(),n=UE(),r=Xe(),i=eh(),s=t.elements={},o=Object.create(null);t.createElement=function(l,u,d){var g=o[u]||c;return new g(l,u,d)};function a(l){return n(l,c,s,o)}var c=a({superclass:e,name:"SVGElement",ctor:function(u,d,g){e.call(this,u,d,r.NAMESPACE.SVG,g)},props:{style:{get:function(){return this._style||(this._style=new i(this)),this._style}}}});a({name:"SVGSVGElement",ctor:function(u,d,g){c.call(this,u,d,g)},tag:"svg",props:{createSVGRect:{value:function(){return t.createElement(this.ownerDocument,"rect",null)}}}}),a({tags:["a","altGlyph","altGlyphDef","altGlyphItem","animate","animateColor","animateMotion","animateTransform","circle","clipPath","color-profile","cursor","defs","desc","ellipse","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","filter","font","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignObject","g","glyph","glyphRef","hkern","image","line","linearGradient","marker","mask","metadata","missing-glyph","mpath","path","pattern","polygon","polyline","radialGradient","rect","script","set","stop","style","switch","symbol","text","textPath","title","tref","tspan","use","view","vkern"]})}}),cN=se({"external/npm/node_modules/domino/lib/MutationConstants.js"(t,e){"use strict";e.exports={VALUE:1,ATTR:2,REMOVE_ATTR:3,REMOVE:4,MOVE:5,INSERT:6}}}),nh=se({"external/npm/node_modules/domino/lib/Document.js"(t,e){"use strict";e.exports=q;var n=pt(),r=ki(),i=Kf(),s=eo(),o=kE(),a=LE(),c=Js(),l=PE(),u=FE(),d=Xc(),g=iN(),D=sN(),N=Zc(),M=Jf(),$=Zf(),L=BE(),T=Yf(),w=th(),C=VE(),E=Xe(),ee=cN(),te=E.NAMESPACE,pe=Qf().isApiWritable;function q(_,O){i.call(this),this.nodeType=n.DOCUMENT_NODE,this.isHTML=_,this._address=O||"about:blank",this.readyState="loading",this.implementation=new d(this),this.ownerDocument=null,this._contentType=_?"text/html":"application/xml",this.doctype=null,this.documentElement=null,this._templateDocCache=null,this._nodeIterators=null,this._nid=1,this._nextnid=2,this._nodes=[null,this],this.byId=Object.create(null),this.modclock=0}var R={event:"Event",customevent:"CustomEvent",uievent:"UIEvent",mouseevent:"MouseEvent"},F={events:"event",htmlevents:"event",mouseevents:"mouseevent",mutationevents:"mutationevent",uievents:"uievent"},Y=function(_,O,V){return{get:function(){var De=_.call(this);return De?De[O]:V},set:function(De){var mt=_.call(this);mt&&(mt[O]=De)}}};function v(_,O){var V,De,mt;return _===""&&(_=null),T.isValidQName(O)||E.InvalidCharacterError(),V=null,De=O,mt=O.indexOf(":"),mt>=0&&(V=O.substring(0,mt),De=O.substring(mt+1)),V!==null&&_===null&&E.NamespaceError(),V==="xml"&&_!==te.XML&&E.NamespaceError(),(V==="xmlns"||O==="xmlns")&&_!==te.XMLNS&&E.NamespaceError(),_===te.XMLNS&&!(V==="xmlns"||O==="xmlns")&&E.NamespaceError(),{namespace:_,prefix:V,localName:De}}q.prototype=Object.create(i.prototype,{_setMutationHandler:{value:function(_){this.mutationHandler=_}},_dispatchRendererEvent:{value:function(_,O,V){var De=this._nodes[_];De&&De._dispatchEvent(new c(O,V),!0)}},nodeName:{value:"#document"},nodeValue:{get:function(){return null},set:function(){}},documentURI:{get:function(){return this._address},set:E.nyi},compatMode:{get:function(){return this._quirks?"BackCompat":"CSS1Compat"}},createTextNode:{value:function(_){return new o(this,String(_))}},createComment:{value:function(_){return new a(this,_)}},createDocumentFragment:{value:function(){return new l(this)}},createProcessingInstruction:{value:function(_,O){return(!T.isValidName(_)||O.indexOf("?>")!==-1)&&E.InvalidCharacterError(),new u(this,_,O)}},createAttribute:{value:function(_){return _=String(_),T.isValidName(_)||E.InvalidCharacterError(),this.isHTML&&(_=E.toASCIILowerCase(_)),new s._Attr(null,_,null,null,"")}},createAttributeNS:{value:function(_,O){_=_==null||_===""?null:String(_),O=String(O);var V=v(_,O);return new s._Attr(null,V.localName,V.prefix,V.namespace,"")}},createElement:{value:function(_){return _=String(_),T.isValidName(_)||E.InvalidCharacterError(),this.isHTML?(/[A-Z]/.test(_)&&(_=E.toASCIILowerCase(_)),w.createElement(this,_,null)):this.contentType==="application/xhtml+xml"?w.createElement(this,_,null):new s(this,_,null,null)},writable:pe},createElementNS:{value:function(_,O){_=_==null||_===""?null:String(_),O=String(O);var V=v(_,O);return this._createElementNS(V.localName,V.namespace,V.prefix)},writable:pe},_createElementNS:{value:function(_,O,V){return O===te.HTML?w.createElement(this,_,V):O===te.SVG?C.createElement(this,_,V):new s(this,_,O,V)}},createEvent:{value:function(O){O=O.toLowerCase();var V=F[O]||O,De=L[R[V]];if(De){var mt=new De;return mt._initialized=!1,mt}else E.NotSupportedError()}},createTreeWalker:{value:function(_,O,V){if(!_)throw new TypeError("root argument is required");if(!(_ instanceof n))throw new TypeError("root not a node");return O=O===void 0?N.SHOW_ALL:+O,V=V===void 0?null:V,new g(_,O,V)}},createNodeIterator:{value:function(_,O,V){if(!_)throw new TypeError("root argument is required");if(!(_ instanceof n))throw new TypeError("root not a node");return O=O===void 0?N.SHOW_ALL:+O,V=V===void 0?null:V,new D(_,O,V)}},_attachNodeIterator:{value:function(_){this._nodeIterators||(this._nodeIterators=[]),this._nodeIterators.push(_)}},_detachNodeIterator:{value:function(_){var O=this._nodeIterators.indexOf(_);this._nodeIterators.splice(O,1)}},_preremoveNodeIterators:{value:function(_){this._nodeIterators&&this._nodeIterators.forEach(function(O){O._preremove(_)})}},_updateDocTypeElement:{value:function(){this.doctype=this.documentElement=null;for(var O=this.firstChild;O!==null;O=O.nextSibling)O.nodeType===n.DOCUMENT_TYPE_NODE?this.doctype=O:O.nodeType===n.ELEMENT_NODE&&(this.documentElement=O)}},insertBefore:{value:function(O,V){return n.prototype.insertBefore.call(this,O,V),this._updateDocTypeElement(),O}},replaceChild:{value:function(O,V){return n.prototype.replaceChild.call(this,O,V),this._updateDocTypeElement(),V}},removeChild:{value:function(O){return n.prototype.removeChild.call(this,O),this._updateDocTypeElement(),O}},getElementById:{value:function(_){var O=this.byId[_];return O?O instanceof fe?O.getFirst():O:null}},_hasMultipleElementsWithId:{value:function(_){return this.byId[_]instanceof fe}},getElementsByName:{value:s.prototype.getElementsByName},getElementsByTagName:{value:s.prototype.getElementsByTagName},getElementsByTagNameNS:{value:s.prototype.getElementsByTagNameNS},getElementsByClassName:{value:s.prototype.getElementsByClassName},adoptNode:{value:function(O){return O.nodeType===n.DOCUMENT_NODE&&E.NotSupportedError(),O.nodeType===n.ATTRIBUTE_NODE||(O.parentNode&&O.parentNode.removeChild(O),O.ownerDocument!==this&&K(O,this)),O}},importNode:{value:function(O,V){return this.adoptNode(O.cloneNode(V))},writable:pe},origin:{get:function(){return null}},characterSet:{get:function(){return"UTF-8"}},contentType:{get:function(){return this._contentType}},URL:{get:function(){return this._address}},domain:{get:E.nyi,set:E.nyi},referrer:{get:E.nyi},cookie:{get:E.nyi,set:E.nyi},lastModified:{get:E.nyi},location:{get:function(){return this.defaultView?this.defaultView.location:null},set:E.nyi},_titleElement:{get:function(){return this.getElementsByTagName("title").item(0)||null}},title:{get:function(){var _=this._titleElement,O=_?_.textContent:"";return O.replace(/[ \t\n\r\f]+/g," ").replace(/(^ )|( $)/g,"")},set:function(_){var O=this._titleElement,V=this.head;!O&&!V||(O||(O=this.createElement("title"),V.appendChild(O)),O.textContent=_)}},dir:Y(function(){var _=this.documentElement;if(_&&_.tagName==="HTML")return _},"dir",""),fgColor:Y(function(){return this.body},"text",""),linkColor:Y(function(){return this.body},"link",""),vlinkColor:Y(function(){return this.body},"vLink",""),alinkColor:Y(function(){return this.body},"aLink",""),bgColor:Y(function(){return this.body},"bgColor",""),charset:{get:function(){return this.characterSet}},inputEncoding:{get:function(){return this.characterSet}},scrollingElement:{get:function(){return this._quirks?this.body:this.documentElement}},body:{get:function(){return p(this.documentElement,"body")},set:E.nyi},head:{get:function(){return p(this.documentElement,"head")}},images:{get:E.nyi},embeds:{get:E.nyi},plugins:{get:E.nyi},links:{get:E.nyi},forms:{get:E.nyi},scripts:{get:E.nyi},applets:{get:function(){return[]}},activeElement:{get:function(){return null}},innerHTML:{get:function(){return this.serialize()},set:E.nyi},outerHTML:{get:function(){return this.serialize()},set:E.nyi},write:{value:function(_){if(this.isHTML||E.InvalidStateError(),!!this._parser){this._parser;var O=arguments.join("");this._parser.parse(O)}}},writeln:{value:function(O){this.write(Array.prototype.join.call(arguments,"")+`
`)}},open:{value:function(){this.documentElement=null}},close:{value:function(){this.readyState="interactive",this._dispatchEvent(new c("readystatechange"),!0),this._dispatchEvent(new c("DOMContentLoaded"),!0),this.readyState="complete",this._dispatchEvent(new c("readystatechange"),!0),this.defaultView&&this.defaultView._dispatchEvent(new c("load"),!0)}},clone:{value:function(){var O=new q(this.isHTML,this._address);return O._quirks=this._quirks,O._contentType=this._contentType,O}},cloneNode:{value:function(O){var V=n.prototype.cloneNode.call(this,!1);if(O)for(var De=this.firstChild;De!==null;De=De.nextSibling)V._appendChild(V.importNode(De,!0));return V._updateDocTypeElement(),V}},isEqual:{value:function(O){return!0}},mutateValue:{value:function(_){this.mutationHandler&&this.mutationHandler({type:ee.VALUE,target:_,data:_.data})}},mutateAttr:{value:function(_,O){this.mutationHandler&&this.mutationHandler({type:ee.ATTR,target:_.ownerElement,attr:_})}},mutateRemoveAttr:{value:function(_){this.mutationHandler&&this.mutationHandler({type:ee.REMOVE_ATTR,target:_.ownerElement,attr:_})}},mutateRemove:{value:function(_){this.mutationHandler&&this.mutationHandler({type:ee.REMOVE,target:_.parentNode,node:_}),U(_)}},mutateInsert:{value:function(_){x(_),this.mutationHandler&&this.mutationHandler({type:ee.INSERT,target:_.parentNode,node:_})}},mutateMove:{value:function(_){this.mutationHandler&&this.mutationHandler({type:ee.MOVE,target:_})}},addId:{value:function(O,V){var De=this.byId[O];De?(De instanceof fe||(De=new fe(De),this.byId[O]=De),De.add(V)):this.byId[O]=V}},delId:{value:function(O,V){var De=this.byId[O];E.assert(De),De instanceof fe?(De.del(V),De.length===1&&(this.byId[O]=De.downgrade())):this.byId[O]=void 0}},_resolve:{value:function(_){return new M(this._documentBaseURL).resolve(_)}},_documentBaseURL:{get:function(){var _=this._address;_==="about:blank"&&(_="/");var O=this.querySelector("base[href]");return O?new M(_).resolve(O.getAttribute("href")):_}},_templateDoc:{get:function(){if(!this._templateDocCache){var _=new q(this.isHTML,this._address);this._templateDocCache=_._templateDocCache=_}return this._templateDocCache}},querySelector:{value:function(_){return $(_,this)[0]}},querySelectorAll:{value:function(_){var O=$(_,this);return O.item?O:new r(O)}}});var m=["abort","canplay","canplaythrough","change","click","contextmenu","cuechange","dblclick","drag","dragend","dragenter","dragleave","dragover","dragstart","drop","durationchange","emptied","ended","input","invalid","keydown","keypress","keyup","loadeddata","loadedmetadata","loadstart","mousedown","mousemove","mouseout","mouseover","mouseup","mousewheel","pause","play","playing","progress","ratechange","readystatechange","reset","seeked","seeking","select","show","stalled","submit","suspend","timeupdate","volumechange","waiting","blur","error","focus","load","scroll"];m.forEach(function(_){Object.defineProperty(q.prototype,"on"+_,{get:function(){return this._getEventHandler(_)},set:function(O){this._setEventHandler(_,O)}})});function p(_,O){if(_&&_.isHTML){for(var V=_.firstChild;V!==null;V=V.nextSibling)if(V.nodeType===n.ELEMENT_NODE&&V.localName===O&&V.namespaceURI===te.HTML)return V}return null}function y(_){if(_._nid=_.ownerDocument._nextnid++,_.ownerDocument._nodes[_._nid]=_,_.nodeType===n.ELEMENT_NODE){var O=_.getAttribute("id");O&&_.ownerDocument.addId(O,_),_._roothook&&_._roothook()}}function S(_){if(_.nodeType===n.ELEMENT_NODE){var O=_.getAttribute("id");O&&_.ownerDocument.delId(O,_)}_.ownerDocument._nodes[_._nid]=void 0,_._nid=void 0}function x(_){if(y(_),_.nodeType===n.ELEMENT_NODE)for(var O=_.firstChild;O!==null;O=O.nextSibling)x(O)}function U(_){S(_);for(var O=_.firstChild;O!==null;O=O.nextSibling)U(O)}function K(_,O){_.ownerDocument=O,_._lastModTime=void 0,Object.prototype.hasOwnProperty.call(_,"_tagName")&&(_._tagName=void 0);for(var V=_.firstChild;V!==null;V=V.nextSibling)K(V,O)}function fe(_){this.nodes=Object.create(null),this.nodes[_._nid]=_,this.length=1,this.firstNode=void 0}fe.prototype.add=function(_){this.nodes[_._nid]||(this.nodes[_._nid]=_,this.length++,this.firstNode=void 0)},fe.prototype.del=function(_){this.nodes[_._nid]&&(delete this.nodes[_._nid],this.length--,this.firstNode=void 0)},fe.prototype.getFirst=function(){if(!this.firstNode){var _;for(_ in this.nodes)(this.firstNode===void 0||this.firstNode.compareDocumentPosition(this.nodes[_])&n.DOCUMENT_POSITION_PRECEDING)&&(this.firstNode=this.nodes[_])}return this.firstNode},fe.prototype.downgrade=function(){if(this.length===1){var _;for(_ in this.nodes)return this.nodes[_]}return this}}}),rh=se({"external/npm/node_modules/domino/lib/DocumentType.js"(t,e){"use strict";e.exports=s;var n=pt(),r=OE(),i=Xf();function s(o,a,c,l){r.call(this),this.nodeType=n.DOCUMENT_TYPE_NODE,this.ownerDocument=o||null,this.name=a,this.publicId=c||"",this.systemId=l||""}s.prototype=Object.create(r.prototype,{nodeName:{get:function(){return this.name}},nodeValue:{get:function(){return null},set:function(){}},clone:{value:function(){return new s(this.ownerDocument,this.name,this.publicId,this.systemId)}},isEqual:{value:function(a){return this.name===a.name&&this.publicId===a.publicId&&this.systemId===a.systemId}}}),Object.defineProperties(s.prototype,i)}}),ih=se({"external/npm/node_modules/domino/lib/HTMLParser.js"(t,e){"use strict";e.exports=Ne;var n=nh(),r=rh(),i=pt(),s=Xe().NAMESPACE,o=th(),a=o.elements,c=Function.prototype.apply.bind(Array.prototype.push),l=-1,u=1,d=2,g=3,D=4,N=5,M=[],$=/^HTML$|^-\/\/W3O\/\/DTD W3 HTML Strict 3\.0\/\/EN\/\/$|^-\/W3C\/DTD HTML 4\.0 Transitional\/EN$|^\+\/\/Silmaril\/\/dtd html Pro v0r11 19970101\/\/|^-\/\/AdvaSoft Ltd\/\/DTD HTML 3\.0 asWedit \+ extensions\/\/|^-\/\/AS\/\/DTD HTML 3\.0 asWedit \+ extensions\/\/|^-\/\/IETF\/\/DTD HTML 2\.0 Level 1\/\/|^-\/\/IETF\/\/DTD HTML 2\.0 Level 2\/\/|^-\/\/IETF\/\/DTD HTML 2\.0 Strict Level 1\/\/|^-\/\/IETF\/\/DTD HTML 2\.0 Strict Level 2\/\/|^-\/\/IETF\/\/DTD HTML 2\.0 Strict\/\/|^-\/\/IETF\/\/DTD HTML 2\.0\/\/|^-\/\/IETF\/\/DTD HTML 2\.1E\/\/|^-\/\/IETF\/\/DTD HTML 3\.0\/\/|^-\/\/IETF\/\/DTD HTML 3\.2 Final\/\/|^-\/\/IETF\/\/DTD HTML 3\.2\/\/|^-\/\/IETF\/\/DTD HTML 3\/\/|^-\/\/IETF\/\/DTD HTML Level 0\/\/|^-\/\/IETF\/\/DTD HTML Level 1\/\/|^-\/\/IETF\/\/DTD HTML Level 2\/\/|^-\/\/IETF\/\/DTD HTML Level 3\/\/|^-\/\/IETF\/\/DTD HTML Strict Level 0\/\/|^-\/\/IETF\/\/DTD HTML Strict Level 1\/\/|^-\/\/IETF\/\/DTD HTML Strict Level 2\/\/|^-\/\/IETF\/\/DTD HTML Strict Level 3\/\/|^-\/\/IETF\/\/DTD HTML Strict\/\/|^-\/\/IETF\/\/DTD HTML\/\/|^-\/\/Metrius\/\/DTD Metrius Presentational\/\/|^-\/\/Microsoft\/\/DTD Internet Explorer 2\.0 HTML Strict\/\/|^-\/\/Microsoft\/\/DTD Internet Explorer 2\.0 HTML\/\/|^-\/\/Microsoft\/\/DTD Internet Explorer 2\.0 Tables\/\/|^-\/\/Microsoft\/\/DTD Internet Explorer 3\.0 HTML Strict\/\/|^-\/\/Microsoft\/\/DTD Internet Explorer 3\.0 HTML\/\/|^-\/\/Microsoft\/\/DTD Internet Explorer 3\.0 Tables\/\/|^-\/\/Netscape Comm\. Corp\.\/\/DTD HTML\/\/|^-\/\/Netscape Comm\. Corp\.\/\/DTD Strict HTML\/\/|^-\/\/O'Reilly and Associates\/\/DTD HTML 2\.0\/\/|^-\/\/O'Reilly and Associates\/\/DTD HTML Extended 1\.0\/\/|^-\/\/O'Reilly and Associates\/\/DTD HTML Extended Relaxed 1\.0\/\/|^-\/\/SoftQuad Software\/\/DTD HoTMetaL PRO 6\.0::19990601::extensions to HTML 4\.0\/\/|^-\/\/SoftQuad\/\/DTD HoTMetaL PRO 4\.0::19971010::extensions to HTML 4\.0\/\/|^-\/\/Spyglass\/\/DTD HTML 2\.0 Extended\/\/|^-\/\/SQ\/\/DTD HTML 2\.0 HoTMetaL \+ extensions\/\/|^-\/\/Sun Microsystems Corp\.\/\/DTD HotJava HTML\/\/|^-\/\/Sun Microsystems Corp\.\/\/DTD HotJava Strict HTML\/\/|^-\/\/W3C\/\/DTD HTML 3 1995-03-24\/\/|^-\/\/W3C\/\/DTD HTML 3\.2 Draft\/\/|^-\/\/W3C\/\/DTD HTML 3\.2 Final\/\/|^-\/\/W3C\/\/DTD HTML 3\.2\/\/|^-\/\/W3C\/\/DTD HTML 3\.2S Draft\/\/|^-\/\/W3C\/\/DTD HTML 4\.0 Frameset\/\/|^-\/\/W3C\/\/DTD HTML 4\.0 Transitional\/\/|^-\/\/W3C\/\/DTD HTML Experimental 19960712\/\/|^-\/\/W3C\/\/DTD HTML Experimental 970421\/\/|^-\/\/W3C\/\/DTD W3 HTML\/\/|^-\/\/W3O\/\/DTD W3 HTML 3\.0\/\/|^-\/\/WebTechs\/\/DTD Mozilla HTML 2\.0\/\/|^-\/\/WebTechs\/\/DTD Mozilla HTML\/\//i,L="http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd",T=/^-\/\/W3C\/\/DTD HTML 4\.01 Frameset\/\/|^-\/\/W3C\/\/DTD HTML 4\.01 Transitional\/\//i,w=/^-\/\/W3C\/\/DTD XHTML 1\.0 Frameset\/\/|^-\/\/W3C\/\/DTD XHTML 1\.0 Transitional\/\//i,C=Object.create(null);C[s.HTML]={__proto__:null,address:!0,applet:!0,area:!0,article:!0,aside:!0,base:!0,basefont:!0,bgsound:!0,blockquote:!0,body:!0,br:!0,button:!0,caption:!0,center:!0,col:!0,colgroup:!0,dd:!0,details:!0,dir:!0,div:!0,dl:!0,dt:!0,embed:!0,fieldset:!0,figcaption:!0,figure:!0,footer:!0,form:!0,frame:!0,frameset:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,head:!0,header:!0,hgroup:!0,hr:!0,html:!0,iframe:!0,img:!0,input:!0,li:!0,link:!0,listing:!0,main:!0,marquee:!0,menu:!0,meta:!0,nav:!0,noembed:!0,noframes:!0,noscript:!0,object:!0,ol:!0,p:!0,param:!0,plaintext:!0,pre:!0,script:!0,section:!0,select:!0,source:!0,style:!0,summary:!0,table:!0,tbody:!0,td:!0,template:!0,textarea:!0,tfoot:!0,th:!0,thead:!0,title:!0,tr:!0,track:!0,ul:!0,wbr:!0,xmp:!0},C[s.SVG]={__proto__:null,foreignObject:!0,desc:!0,title:!0},C[s.MATHML]={__proto__:null,mi:!0,mo:!0,mn:!0,ms:!0,mtext:!0,"annotation-xml":!0};var E=Object.create(null);E[s.HTML]={__proto__:null,address:!0,div:!0,p:!0};var ee=Object.create(null);ee[s.HTML]={__proto__:null,dd:!0,dt:!0};var te=Object.create(null);te[s.HTML]={__proto__:null,table:!0,thead:!0,tbody:!0,tfoot:!0,tr:!0};var pe=Object.create(null);pe[s.HTML]={__proto__:null,dd:!0,dt:!0,li:!0,menuitem:!0,optgroup:!0,option:!0,p:!0,rb:!0,rp:!0,rt:!0,rtc:!0};var q=Object.create(null);q[s.HTML]={__proto__:null,caption:!0,colgroup:!0,dd:!0,dt:!0,li:!0,optgroup:!0,option:!0,p:!0,rb:!0,rp:!0,rt:!0,rtc:!0,tbody:!0,td:!0,tfoot:!0,th:!0,thead:!0,tr:!0};var R=Object.create(null);R[s.HTML]={__proto__:null,table:!0,template:!0,html:!0};var F=Object.create(null);F[s.HTML]={__proto__:null,tbody:!0,tfoot:!0,thead:!0,template:!0,html:!0};var Y=Object.create(null);Y[s.HTML]={__proto__:null,tr:!0,template:!0,html:!0};var v=Object.create(null);v[s.HTML]={__proto__:null,button:!0,fieldset:!0,input:!0,keygen:!0,object:!0,output:!0,select:!0,textarea:!0,img:!0};var m=Object.create(null);m[s.HTML]={__proto__:null,applet:!0,caption:!0,html:!0,table:!0,td:!0,th:!0,marquee:!0,object:!0,template:!0},m[s.MATHML]={__proto__:null,mi:!0,mo:!0,mn:!0,ms:!0,mtext:!0,"annotation-xml":!0},m[s.SVG]={__proto__:null,foreignObject:!0,desc:!0,title:!0};var p=Object.create(m);p[s.HTML]=Object.create(m[s.HTML]),p[s.HTML].ol=!0,p[s.HTML].ul=!0;var y=Object.create(m);y[s.HTML]=Object.create(m[s.HTML]),y[s.HTML].button=!0;var S=Object.create(null);S[s.HTML]={__proto__:null,html:!0,table:!0,template:!0};var x=Object.create(null);x[s.HTML]={__proto__:null,optgroup:!0,option:!0};var U=Object.create(null);U[s.MATHML]={__proto__:null,mi:!0,mo:!0,mn:!0,ms:!0,mtext:!0};var K=Object.create(null);K[s.SVG]={__proto__:null,foreignObject:!0,desc:!0,title:!0};var fe={__proto__:null,"xlink:actuate":s.XLINK,"xlink:arcrole":s.XLINK,"xlink:href":s.XLINK,"xlink:role":s.XLINK,"xlink:show":s.XLINK,"xlink:title":s.XLINK,"xlink:type":s.XLINK,"xml:base":s.XML,"xml:lang":s.XML,"xml:space":s.XML,xmlns:s.XMLNS,"xmlns:xlink":s.XMLNS},_={__proto__:null,attributename:"attributeName",attributetype:"attributeType",basefrequency:"baseFrequency",baseprofile:"baseProfile",calcmode:"calcMode",clippathunits:"clipPathUnits",diffuseconstant:"diffuseConstant",edgemode:"edgeMode",filterunits:"filterUnits",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",limitingconeangle:"limitingConeAngle",markerheight:"markerHeight",markerunits:"markerUnits",markerwidth:"markerWidth",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",numoctaves:"numOctaves",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",refx:"refX",refy:"refY",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",specularconstant:"specularConstant",specularexponent:"specularExponent",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stitchtiles:"stitchTiles",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textlength:"textLength",viewbox:"viewBox",viewtarget:"viewTarget",xchannelselector:"xChannelSelector",ychannelselector:"yChannelSelector",zoomandpan:"zoomAndPan"},O={__proto__:null,altglyph:"altGlyph",altglyphdef:"altGlyphDef",altglyphitem:"altGlyphItem",animatecolor:"animateColor",animatemotion:"animateMotion",animatetransform:"animateTransform",clippath:"clipPath",feblend:"feBlend",fecolormatrix:"feColorMatrix",fecomponenttransfer:"feComponentTransfer",fecomposite:"feComposite",feconvolvematrix:"feConvolveMatrix",fediffuselighting:"feDiffuseLighting",fedisplacementmap:"feDisplacementMap",fedistantlight:"feDistantLight",feflood:"feFlood",fefunca:"feFuncA",fefuncb:"feFuncB",fefuncg:"feFuncG",fefuncr:"feFuncR",fegaussianblur:"feGaussianBlur",feimage:"feImage",femerge:"feMerge",femergenode:"feMergeNode",femorphology:"feMorphology",feoffset:"feOffset",fepointlight:"fePointLight",fespecularlighting:"feSpecularLighting",fespotlight:"feSpotLight",fetile:"feTile",feturbulence:"feTurbulence",foreignobject:"foreignObject",glyphref:"glyphRef",lineargradient:"linearGradient",radialgradient:"radialGradient",textpath:"textPath"},V={__proto__:null,0:65533,128:8364,130:8218,131:402,132:8222,133:8230,134:8224,135:8225,136:710,137:8240,138:352,139:8249,140:338,142:381,145:8216,146:8217,147:8220,148:8221,149:8226,150:8211,151:8212,152:732,153:8482,154:353,155:8250,156:339,158:382,159:376},De={__proto__:null,AElig:198,"AElig;":198,AMP:38,"AMP;":38,Aacute:193,"Aacute;":193,"Abreve;":258,Acirc:194,"Acirc;":194,"Acy;":1040,"Afr;":[55349,56580],Agrave:192,"Agrave;":192,"Alpha;":913,"Amacr;":256,"And;":10835,"Aogon;":260,"Aopf;":[55349,56632],"ApplyFunction;":8289,Aring:197,"Aring;":197,"Ascr;":[55349,56476],"Assign;":8788,Atilde:195,"Atilde;":195,Auml:196,"Auml;":196,"Backslash;":8726,"Barv;":10983,"Barwed;":8966,"Bcy;":1041,"Because;":8757,"Bernoullis;":8492,"Beta;":914,"Bfr;":[55349,56581],"Bopf;":[55349,56633],"Breve;":728,"Bscr;":8492,"Bumpeq;":8782,"CHcy;":1063,COPY:169,"COPY;":169,"Cacute;":262,"Cap;":8914,"CapitalDifferentialD;":8517,"Cayleys;":8493,"Ccaron;":268,Ccedil:199,"Ccedil;":199,"Ccirc;":264,"Cconint;":8752,"Cdot;":266,"Cedilla;":184,"CenterDot;":183,"Cfr;":8493,"Chi;":935,"CircleDot;":8857,"CircleMinus;":8854,"CirclePlus;":8853,"CircleTimes;":8855,"ClockwiseContourIntegral;":8754,"CloseCurlyDoubleQuote;":8221,"CloseCurlyQuote;":8217,"Colon;":8759,"Colone;":10868,"Congruent;":8801,"Conint;":8751,"ContourIntegral;":8750,"Copf;":8450,"Coproduct;":8720,"CounterClockwiseContourIntegral;":8755,"Cross;":10799,"Cscr;":[55349,56478],"Cup;":8915,"CupCap;":8781,"DD;":8517,"DDotrahd;":10513,"DJcy;":1026,"DScy;":1029,"DZcy;":1039,"Dagger;":8225,"Darr;":8609,"Dashv;":10980,"Dcaron;":270,"Dcy;":1044,"Del;":8711,"Delta;":916,"Dfr;":[55349,56583],"DiacriticalAcute;":180,"DiacriticalDot;":729,"DiacriticalDoubleAcute;":733,"DiacriticalGrave;":96,"DiacriticalTilde;":732,"Diamond;":8900,"DifferentialD;":8518,"Dopf;":[55349,56635],"Dot;":168,"DotDot;":8412,"DotEqual;":8784,"DoubleContourIntegral;":8751,"DoubleDot;":168,"DoubleDownArrow;":8659,"DoubleLeftArrow;":8656,"DoubleLeftRightArrow;":8660,"DoubleLeftTee;":10980,"DoubleLongLeftArrow;":10232,"DoubleLongLeftRightArrow;":10234,"DoubleLongRightArrow;":10233,"DoubleRightArrow;":8658,"DoubleRightTee;":8872,"DoubleUpArrow;":8657,"DoubleUpDownArrow;":8661,"DoubleVerticalBar;":8741,"DownArrow;":8595,"DownArrowBar;":10515,"DownArrowUpArrow;":8693,"DownBreve;":785,"DownLeftRightVector;":10576,"DownLeftTeeVector;":10590,"DownLeftVector;":8637,"DownLeftVectorBar;":10582,"DownRightTeeVector;":10591,"DownRightVector;":8641,"DownRightVectorBar;":10583,"DownTee;":8868,"DownTeeArrow;":8615,"Downarrow;":8659,"Dscr;":[55349,56479],"Dstrok;":272,"ENG;":330,ETH:208,"ETH;":208,Eacute:201,"Eacute;":201,"Ecaron;":282,Ecirc:202,"Ecirc;":202,"Ecy;":1069,"Edot;":278,"Efr;":[55349,56584],Egrave:200,"Egrave;":200,"Element;":8712,"Emacr;":274,"EmptySmallSquare;":9723,"EmptyVerySmallSquare;":9643,"Eogon;":280,"Eopf;":[55349,56636],"Epsilon;":917,"Equal;":10869,"EqualTilde;":8770,"Equilibrium;":8652,"Escr;":8496,"Esim;":10867,"Eta;":919,Euml:203,"Euml;":203,"Exists;":8707,"ExponentialE;":8519,"Fcy;":1060,"Ffr;":[55349,56585],"FilledSmallSquare;":9724,"FilledVerySmallSquare;":9642,"Fopf;":[55349,56637],"ForAll;":8704,"Fouriertrf;":8497,"Fscr;":8497,"GJcy;":1027,GT:62,"GT;":62,"Gamma;":915,"Gammad;":988,"Gbreve;":286,"Gcedil;":290,"Gcirc;":284,"Gcy;":1043,"Gdot;":288,"Gfr;":[55349,56586],"Gg;":8921,"Gopf;":[55349,56638],"GreaterEqual;":8805,"GreaterEqualLess;":8923,"GreaterFullEqual;":8807,"GreaterGreater;":10914,"GreaterLess;":8823,"GreaterSlantEqual;":10878,"GreaterTilde;":8819,"Gscr;":[55349,56482],"Gt;":8811,"HARDcy;":1066,"Hacek;":711,"Hat;":94,"Hcirc;":292,"Hfr;":8460,"HilbertSpace;":8459,"Hopf;":8461,"HorizontalLine;":9472,"Hscr;":8459,"Hstrok;":294,"HumpDownHump;":8782,"HumpEqual;":8783,"IEcy;":1045,"IJlig;":306,"IOcy;":1025,Iacute:205,"Iacute;":205,Icirc:206,"Icirc;":206,"Icy;":1048,"Idot;":304,"Ifr;":8465,Igrave:204,"Igrave;":204,"Im;":8465,"Imacr;":298,"ImaginaryI;":8520,"Implies;":8658,"Int;":8748,"Integral;":8747,"Intersection;":8898,"InvisibleComma;":8291,"InvisibleTimes;":8290,"Iogon;":302,"Iopf;":[55349,56640],"Iota;":921,"Iscr;":8464,"Itilde;":296,"Iukcy;":1030,Iuml:207,"Iuml;":207,"Jcirc;":308,"Jcy;":1049,"Jfr;":[55349,56589],"Jopf;":[55349,56641],"Jscr;":[55349,56485],"Jsercy;":1032,"Jukcy;":1028,"KHcy;":1061,"KJcy;":1036,"Kappa;":922,"Kcedil;":310,"Kcy;":1050,"Kfr;":[55349,56590],"Kopf;":[55349,56642],"Kscr;":[55349,56486],"LJcy;":1033,LT:60,"LT;":60,"Lacute;":313,"Lambda;":923,"Lang;":10218,"Laplacetrf;":8466,"Larr;":8606,"Lcaron;":317,"Lcedil;":315,"Lcy;":1051,"LeftAngleBracket;":10216,"LeftArrow;":8592,"LeftArrowBar;":8676,"LeftArrowRightArrow;":8646,"LeftCeiling;":8968,"LeftDoubleBracket;":10214,"LeftDownTeeVector;":10593,"LeftDownVector;":8643,"LeftDownVectorBar;":10585,"LeftFloor;":8970,"LeftRightArrow;":8596,"LeftRightVector;":10574,"LeftTee;":8867,"LeftTeeArrow;":8612,"LeftTeeVector;":10586,"LeftTriangle;":8882,"LeftTriangleBar;":10703,"LeftTriangleEqual;":8884,"LeftUpDownVector;":10577,"LeftUpTeeVector;":10592,"LeftUpVector;":8639,"LeftUpVectorBar;":10584,"LeftVector;":8636,"LeftVectorBar;":10578,"Leftarrow;":8656,"Leftrightarrow;":8660,"LessEqualGreater;":8922,"LessFullEqual;":8806,"LessGreater;":8822,"LessLess;":10913,"LessSlantEqual;":10877,"LessTilde;":8818,"Lfr;":[55349,56591],"Ll;":8920,"Lleftarrow;":8666,"Lmidot;":319,"LongLeftArrow;":10229,"LongLeftRightArrow;":10231,"LongRightArrow;":10230,"Longleftarrow;":10232,"Longleftrightarrow;":10234,"Longrightarrow;":10233,"Lopf;":[55349,56643],"LowerLeftArrow;":8601,"LowerRightArrow;":8600,"Lscr;":8466,"Lsh;":8624,"Lstrok;":321,"Lt;":8810,"Map;":10501,"Mcy;":1052,"MediumSpace;":8287,"Mellintrf;":8499,"Mfr;":[55349,56592],"MinusPlus;":8723,"Mopf;":[55349,56644],"Mscr;":8499,"Mu;":924,"NJcy;":1034,"Nacute;":323,"Ncaron;":327,"Ncedil;":325,"Ncy;":1053,"NegativeMediumSpace;":8203,"NegativeThickSpace;":8203,"NegativeThinSpace;":8203,"NegativeVeryThinSpace;":8203,"NestedGreaterGreater;":8811,"NestedLessLess;":8810,"NewLine;":10,"Nfr;":[55349,56593],"NoBreak;":8288,"NonBreakingSpace;":160,"Nopf;":8469,"Not;":10988,"NotCongruent;":8802,"NotCupCap;":8813,"NotDoubleVerticalBar;":8742,"NotElement;":8713,"NotEqual;":8800,"NotEqualTilde;":[8770,824],"NotExists;":8708,"NotGreater;":8815,"NotGreaterEqual;":8817,"NotGreaterFullEqual;":[8807,824],"NotGreaterGreater;":[8811,824],"NotGreaterLess;":8825,"NotGreaterSlantEqual;":[10878,824],"NotGreaterTilde;":8821,"NotHumpDownHump;":[8782,824],"NotHumpEqual;":[8783,824],"NotLeftTriangle;":8938,"NotLeftTriangleBar;":[10703,824],"NotLeftTriangleEqual;":8940,"NotLess;":8814,"NotLessEqual;":8816,"NotLessGreater;":8824,"NotLessLess;":[8810,824],"NotLessSlantEqual;":[10877,824],"NotLessTilde;":8820,"NotNestedGreaterGreater;":[10914,824],"NotNestedLessLess;":[10913,824],"NotPrecedes;":8832,"NotPrecedesEqual;":[10927,824],"NotPrecedesSlantEqual;":8928,"NotReverseElement;":8716,"NotRightTriangle;":8939,"NotRightTriangleBar;":[10704,824],"NotRightTriangleEqual;":8941,"NotSquareSubset;":[8847,824],"NotSquareSubsetEqual;":8930,"NotSquareSuperset;":[8848,824],"NotSquareSupersetEqual;":8931,"NotSubset;":[8834,8402],"NotSubsetEqual;":8840,"NotSucceeds;":8833,"NotSucceedsEqual;":[10928,824],"NotSucceedsSlantEqual;":8929,"NotSucceedsTilde;":[8831,824],"NotSuperset;":[8835,8402],"NotSupersetEqual;":8841,"NotTilde;":8769,"NotTildeEqual;":8772,"NotTildeFullEqual;":8775,"NotTildeTilde;":8777,"NotVerticalBar;":8740,"Nscr;":[55349,56489],Ntilde:209,"Ntilde;":209,"Nu;":925,"OElig;":338,Oacute:211,"Oacute;":211,Ocirc:212,"Ocirc;":212,"Ocy;":1054,"Odblac;":336,"Ofr;":[55349,56594],Ograve:210,"Ograve;":210,"Omacr;":332,"Omega;":937,"Omicron;":927,"Oopf;":[55349,56646],"OpenCurlyDoubleQuote;":8220,"OpenCurlyQuote;":8216,"Or;":10836,"Oscr;":[55349,56490],Oslash:216,"Oslash;":216,Otilde:213,"Otilde;":213,"Otimes;":10807,Ouml:214,"Ouml;":214,"OverBar;":8254,"OverBrace;":9182,"OverBracket;":9140,"OverParenthesis;":9180,"PartialD;":8706,"Pcy;":1055,"Pfr;":[55349,56595],"Phi;":934,"Pi;":928,"PlusMinus;":177,"Poincareplane;":8460,"Popf;":8473,"Pr;":10939,"Precedes;":8826,"PrecedesEqual;":10927,"PrecedesSlantEqual;":8828,"PrecedesTilde;":8830,"Prime;":8243,"Product;":8719,"Proportion;":8759,"Proportional;":8733,"Pscr;":[55349,56491],"Psi;":936,QUOT:34,"QUOT;":34,"Qfr;":[55349,56596],"Qopf;":8474,"Qscr;":[55349,56492],"RBarr;":10512,REG:174,"REG;":174,"Racute;":340,"Rang;":10219,"Rarr;":8608,"Rarrtl;":10518,"Rcaron;":344,"Rcedil;":342,"Rcy;":1056,"Re;":8476,"ReverseElement;":8715,"ReverseEquilibrium;":8651,"ReverseUpEquilibrium;":10607,"Rfr;":8476,"Rho;":929,"RightAngleBracket;":10217,"RightArrow;":8594,"RightArrowBar;":8677,"RightArrowLeftArrow;":8644,"RightCeiling;":8969,"RightDoubleBracket;":10215,"RightDownTeeVector;":10589,"RightDownVector;":8642,"RightDownVectorBar;":10581,"RightFloor;":8971,"RightTee;":8866,"RightTeeArrow;":8614,"RightTeeVector;":10587,"RightTriangle;":8883,"RightTriangleBar;":10704,"RightTriangleEqual;":8885,"RightUpDownVector;":10575,"RightUpTeeVector;":10588,"RightUpVector;":8638,"RightUpVectorBar;":10580,"RightVector;":8640,"RightVectorBar;":10579,"Rightarrow;":8658,"Ropf;":8477,"RoundImplies;":10608,"Rrightarrow;":8667,"Rscr;":8475,"Rsh;":8625,"RuleDelayed;":10740,"SHCHcy;":1065,"SHcy;":1064,"SOFTcy;":1068,"Sacute;":346,"Sc;":10940,"Scaron;":352,"Scedil;":350,"Scirc;":348,"Scy;":1057,"Sfr;":[55349,56598],"ShortDownArrow;":8595,"ShortLeftArrow;":8592,"ShortRightArrow;":8594,"ShortUpArrow;":8593,"Sigma;":931,"SmallCircle;":8728,"Sopf;":[55349,56650],"Sqrt;":8730,"Square;":9633,"SquareIntersection;":8851,"SquareSubset;":8847,"SquareSubsetEqual;":8849,"SquareSuperset;":8848,"SquareSupersetEqual;":8850,"SquareUnion;":8852,"Sscr;":[55349,56494],"Star;":8902,"Sub;":8912,"Subset;":8912,"SubsetEqual;":8838,"Succeeds;":8827,"SucceedsEqual;":10928,"SucceedsSlantEqual;":8829,"SucceedsTilde;":8831,"SuchThat;":8715,"Sum;":8721,"Sup;":8913,"Superset;":8835,"SupersetEqual;":8839,"Supset;":8913,THORN:222,"THORN;":222,"TRADE;":8482,"TSHcy;":1035,"TScy;":1062,"Tab;":9,"Tau;":932,"Tcaron;":356,"Tcedil;":354,"Tcy;":1058,"Tfr;":[55349,56599],"Therefore;":8756,"Theta;":920,"ThickSpace;":[8287,8202],"ThinSpace;":8201,"Tilde;":8764,"TildeEqual;":8771,"TildeFullEqual;":8773,"TildeTilde;":8776,"Topf;":[55349,56651],"TripleDot;":8411,"Tscr;":[55349,56495],"Tstrok;":358,Uacute:218,"Uacute;":218,"Uarr;":8607,"Uarrocir;":10569,"Ubrcy;":1038,"Ubreve;":364,Ucirc:219,"Ucirc;":219,"Ucy;":1059,"Udblac;":368,"Ufr;":[55349,56600],Ugrave:217,"Ugrave;":217,"Umacr;":362,"UnderBar;":95,"UnderBrace;":9183,"UnderBracket;":9141,"UnderParenthesis;":9181,"Union;":8899,"UnionPlus;":8846,"Uogon;":370,"Uopf;":[55349,56652],"UpArrow;":8593,"UpArrowBar;":10514,"UpArrowDownArrow;":8645,"UpDownArrow;":8597,"UpEquilibrium;":10606,"UpTee;":8869,"UpTeeArrow;":8613,"Uparrow;":8657,"Updownarrow;":8661,"UpperLeftArrow;":8598,"UpperRightArrow;":8599,"Upsi;":978,"Upsilon;":933,"Uring;":366,"Uscr;":[55349,56496],"Utilde;":360,Uuml:220,"Uuml;":220,"VDash;":8875,"Vbar;":10987,"Vcy;":1042,"Vdash;":8873,"Vdashl;":10982,"Vee;":8897,"Verbar;":8214,"Vert;":8214,"VerticalBar;":8739,"VerticalLine;":124,"VerticalSeparator;":10072,"VerticalTilde;":8768,"VeryThinSpace;":8202,"Vfr;":[55349,56601],"Vopf;":[55349,56653],"Vscr;":[55349,56497],"Vvdash;":8874,"Wcirc;":372,"Wedge;":8896,"Wfr;":[55349,56602],"Wopf;":[55349,56654],"Wscr;":[55349,56498],"Xfr;":[55349,56603],"Xi;":926,"Xopf;":[55349,56655],"Xscr;":[55349,56499],"YAcy;":1071,"YIcy;":1031,"YUcy;":1070,Yacute:221,"Yacute;":221,"Ycirc;":374,"Ycy;":1067,"Yfr;":[55349,56604],"Yopf;":[55349,56656],"Yscr;":[55349,56500],"Yuml;":376,"ZHcy;":1046,"Zacute;":377,"Zcaron;":381,"Zcy;":1047,"Zdot;":379,"ZeroWidthSpace;":8203,"Zeta;":918,"Zfr;":8488,"Zopf;":8484,"Zscr;":[55349,56501],aacute:225,"aacute;":225,"abreve;":259,"ac;":8766,"acE;":[8766,819],"acd;":8767,acirc:226,"acirc;":226,acute:180,"acute;":180,"acy;":1072,aelig:230,"aelig;":230,"af;":8289,"afr;":[55349,56606],agrave:224,"agrave;":224,"alefsym;":8501,"aleph;":8501,"alpha;":945,"amacr;":257,"amalg;":10815,amp:38,"amp;":38,"and;":8743,"andand;":10837,"andd;":10844,"andslope;":10840,"andv;":10842,"ang;":8736,"ange;":10660,"angle;":8736,"angmsd;":8737,"angmsdaa;":10664,"angmsdab;":10665,"angmsdac;":10666,"angmsdad;":10667,"angmsdae;":10668,"angmsdaf;":10669,"angmsdag;":10670,"angmsdah;":10671,"angrt;":8735,"angrtvb;":8894,"angrtvbd;":10653,"angsph;":8738,"angst;":197,"angzarr;":9084,"aogon;":261,"aopf;":[55349,56658],"ap;":8776,"apE;":10864,"apacir;":10863,"ape;":8778,"apid;":8779,"apos;":39,"approx;":8776,"approxeq;":8778,aring:229,"aring;":229,"ascr;":[55349,56502],"ast;":42,"asymp;":8776,"asympeq;":8781,atilde:227,"atilde;":227,auml:228,"auml;":228,"awconint;":8755,"awint;":10769,"bNot;":10989,"backcong;":8780,"backepsilon;":1014,"backprime;":8245,"backsim;":8765,"backsimeq;":8909,"barvee;":8893,"barwed;":8965,"barwedge;":8965,"bbrk;":9141,"bbrktbrk;":9142,"bcong;":8780,"bcy;":1073,"bdquo;":8222,"becaus;":8757,"because;":8757,"bemptyv;":10672,"bepsi;":1014,"bernou;":8492,"beta;":946,"beth;":8502,"between;":8812,"bfr;":[55349,56607],"bigcap;":8898,"bigcirc;":9711,"bigcup;":8899,"bigodot;":10752,"bigoplus;":10753,"bigotimes;":10754,"bigsqcup;":10758,"bigstar;":9733,"bigtriangledown;":9661,"bigtriangleup;":9651,"biguplus;":10756,"bigvee;":8897,"bigwedge;":8896,"bkarow;":10509,"blacklozenge;":10731,"blacksquare;":9642,"blacktriangle;":9652,"blacktriangledown;":9662,"blacktriangleleft;":9666,"blacktriangleright;":9656,"blank;":9251,"blk12;":9618,"blk14;":9617,"blk34;":9619,"block;":9608,"bne;":[61,8421],"bnequiv;":[8801,8421],"bnot;":8976,"bopf;":[55349,56659],"bot;":8869,"bottom;":8869,"bowtie;":8904,"boxDL;":9559,"boxDR;":9556,"boxDl;":9558,"boxDr;":9555,"boxH;":9552,"boxHD;":9574,"boxHU;":9577,"boxHd;":9572,"boxHu;":9575,"boxUL;":9565,"boxUR;":9562,"boxUl;":9564,"boxUr;":9561,"boxV;":9553,"boxVH;":9580,"boxVL;":9571,"boxVR;":9568,"boxVh;":9579,"boxVl;":9570,"boxVr;":9567,"boxbox;":10697,"boxdL;":9557,"boxdR;":9554,"boxdl;":9488,"boxdr;":9484,"boxh;":9472,"boxhD;":9573,"boxhU;":9576,"boxhd;":9516,"boxhu;":9524,"boxminus;":8863,"boxplus;":8862,"boxtimes;":8864,"boxuL;":9563,"boxuR;":9560,"boxul;":9496,"boxur;":9492,"boxv;":9474,"boxvH;":9578,"boxvL;":9569,"boxvR;":9566,"boxvh;":9532,"boxvl;":9508,"boxvr;":9500,"bprime;":8245,"breve;":728,brvbar:166,"brvbar;":166,"bscr;":[55349,56503],"bsemi;":8271,"bsim;":8765,"bsime;":8909,"bsol;":92,"bsolb;":10693,"bsolhsub;":10184,"bull;":8226,"bullet;":8226,"bump;":8782,"bumpE;":10926,"bumpe;":8783,"bumpeq;":8783,"cacute;":263,"cap;":8745,"capand;":10820,"capbrcup;":10825,"capcap;":10827,"capcup;":10823,"capdot;":10816,"caps;":[8745,65024],"caret;":8257,"caron;":711,"ccaps;":10829,"ccaron;":269,ccedil:231,"ccedil;":231,"ccirc;":265,"ccups;":10828,"ccupssm;":10832,"cdot;":267,cedil:184,"cedil;":184,"cemptyv;":10674,cent:162,"cent;":162,"centerdot;":183,"cfr;":[55349,56608],"chcy;":1095,"check;":10003,"checkmark;":10003,"chi;":967,"cir;":9675,"cirE;":10691,"circ;":710,"circeq;":8791,"circlearrowleft;":8634,"circlearrowright;":8635,"circledR;":174,"circledS;":9416,"circledast;":8859,"circledcirc;":8858,"circleddash;":8861,"cire;":8791,"cirfnint;":10768,"cirmid;":10991,"cirscir;":10690,"clubs;":9827,"clubsuit;":9827,"colon;":58,"colone;":8788,"coloneq;":8788,"comma;":44,"commat;":64,"comp;":8705,"compfn;":8728,"complement;":8705,"complexes;":8450,"cong;":8773,"congdot;":10861,"conint;":8750,"copf;":[55349,56660],"coprod;":8720,copy:169,"copy;":169,"copysr;":8471,"crarr;":8629,"cross;":10007,"cscr;":[55349,56504],"csub;":10959,"csube;":10961,"csup;":10960,"csupe;":10962,"ctdot;":8943,"cudarrl;":10552,"cudarrr;":10549,"cuepr;":8926,"cuesc;":8927,"cularr;":8630,"cularrp;":10557,"cup;":8746,"cupbrcap;":10824,"cupcap;":10822,"cupcup;":10826,"cupdot;":8845,"cupor;":10821,"cups;":[8746,65024],"curarr;":8631,"curarrm;":10556,"curlyeqprec;":8926,"curlyeqsucc;":8927,"curlyvee;":8910,"curlywedge;":8911,curren:164,"curren;":164,"curvearrowleft;":8630,"curvearrowright;":8631,"cuvee;":8910,"cuwed;":8911,"cwconint;":8754,"cwint;":8753,"cylcty;":9005,"dArr;":8659,"dHar;":10597,"dagger;":8224,"daleth;":8504,"darr;":8595,"dash;":8208,"dashv;":8867,"dbkarow;":10511,"dblac;":733,"dcaron;":271,"dcy;":1076,"dd;":8518,"ddagger;":8225,"ddarr;":8650,"ddotseq;":10871,deg:176,"deg;":176,"delta;":948,"demptyv;":10673,"dfisht;":10623,"dfr;":[55349,56609],"dharl;":8643,"dharr;":8642,"diam;":8900,"diamond;":8900,"diamondsuit;":9830,"diams;":9830,"die;":168,"digamma;":989,"disin;":8946,"div;":247,divide:247,"divide;":247,"divideontimes;":8903,"divonx;":8903,"djcy;":1106,"dlcorn;":8990,"dlcrop;":8973,"dollar;":36,"dopf;":[55349,56661],"dot;":729,"doteq;":8784,"doteqdot;":8785,"dotminus;":8760,"dotplus;":8724,"dotsquare;":8865,"doublebarwedge;":8966,"downarrow;":8595,"downdownarrows;":8650,"downharpoonleft;":8643,"downharpoonright;":8642,"drbkarow;":10512,"drcorn;":8991,"drcrop;":8972,"dscr;":[55349,56505],"dscy;":1109,"dsol;":10742,"dstrok;":273,"dtdot;":8945,"dtri;":9663,"dtrif;":9662,"duarr;":8693,"duhar;":10607,"dwangle;":10662,"dzcy;":1119,"dzigrarr;":10239,"eDDot;":10871,"eDot;":8785,eacute:233,"eacute;":233,"easter;":10862,"ecaron;":283,"ecir;":8790,ecirc:234,"ecirc;":234,"ecolon;":8789,"ecy;":1101,"edot;":279,"ee;":8519,"efDot;":8786,"efr;":[55349,56610],"eg;":10906,egrave:232,"egrave;":232,"egs;":10902,"egsdot;":10904,"el;":10905,"elinters;":9191,"ell;":8467,"els;":10901,"elsdot;":10903,"emacr;":275,"empty;":8709,"emptyset;":8709,"emptyv;":8709,"emsp13;":8196,"emsp14;":8197,"emsp;":8195,"eng;":331,"ensp;":8194,"eogon;":281,"eopf;":[55349,56662],"epar;":8917,"eparsl;":10723,"eplus;":10865,"epsi;":949,"epsilon;":949,"epsiv;":1013,"eqcirc;":8790,"eqcolon;":8789,"eqsim;":8770,"eqslantgtr;":10902,"eqslantless;":10901,"equals;":61,"equest;":8799,"equiv;":8801,"equivDD;":10872,"eqvparsl;":10725,"erDot;":8787,"erarr;":10609,"escr;":8495,"esdot;":8784,"esim;":8770,"eta;":951,eth:240,"eth;":240,euml:235,"euml;":235,"euro;":8364,"excl;":33,"exist;":8707,"expectation;":8496,"exponentiale;":8519,"fallingdotseq;":8786,"fcy;":1092,"female;":9792,"ffilig;":64259,"fflig;":64256,"ffllig;":64260,"ffr;":[55349,56611],"filig;":64257,"fjlig;":[102,106],"flat;":9837,"fllig;":64258,"fltns;":9649,"fnof;":402,"fopf;":[55349,56663],"forall;":8704,"fork;":8916,"forkv;":10969,"fpartint;":10765,frac12:189,"frac12;":189,"frac13;":8531,frac14:188,"frac14;":188,"frac15;":8533,"frac16;":8537,"frac18;":8539,"frac23;":8532,"frac25;":8534,frac34:190,"frac34;":190,"frac35;":8535,"frac38;":8540,"frac45;":8536,"frac56;":8538,"frac58;":8541,"frac78;":8542,"frasl;":8260,"frown;":8994,"fscr;":[55349,56507],"gE;":8807,"gEl;":10892,"gacute;":501,"gamma;":947,"gammad;":989,"gap;":10886,"gbreve;":287,"gcirc;":285,"gcy;":1075,"gdot;":289,"ge;":8805,"gel;":8923,"geq;":8805,"geqq;":8807,"geqslant;":10878,"ges;":10878,"gescc;":10921,"gesdot;":10880,"gesdoto;":10882,"gesdotol;":10884,"gesl;":[8923,65024],"gesles;":10900,"gfr;":[55349,56612],"gg;":8811,"ggg;":8921,"gimel;":8503,"gjcy;":1107,"gl;":8823,"glE;":10898,"gla;":10917,"glj;":10916,"gnE;":8809,"gnap;":10890,"gnapprox;":10890,"gne;":10888,"gneq;":10888,"gneqq;":8809,"gnsim;":8935,"gopf;":[55349,56664],"grave;":96,"gscr;":8458,"gsim;":8819,"gsime;":10894,"gsiml;":10896,gt:62,"gt;":62,"gtcc;":10919,"gtcir;":10874,"gtdot;":8919,"gtlPar;":10645,"gtquest;":10876,"gtrapprox;":10886,"gtrarr;":10616,"gtrdot;":8919,"gtreqless;":8923,"gtreqqless;":10892,"gtrless;":8823,"gtrsim;":8819,"gvertneqq;":[8809,65024],"gvnE;":[8809,65024],"hArr;":8660,"hairsp;":8202,"half;":189,"hamilt;":8459,"hardcy;":1098,"harr;":8596,"harrcir;":10568,"harrw;":8621,"hbar;":8463,"hcirc;":293,"hearts;":9829,"heartsuit;":9829,"hellip;":8230,"hercon;":8889,"hfr;":[55349,56613],"hksearow;":10533,"hkswarow;":10534,"hoarr;":8703,"homtht;":8763,"hookleftarrow;":8617,"hookrightarrow;":8618,"hopf;":[55349,56665],"horbar;":8213,"hscr;":[55349,56509],"hslash;":8463,"hstrok;":295,"hybull;":8259,"hyphen;":8208,iacute:237,"iacute;":237,"ic;":8291,icirc:238,"icirc;":238,"icy;":1080,"iecy;":1077,iexcl:161,"iexcl;":161,"iff;":8660,"ifr;":[55349,56614],igrave:236,"igrave;":236,"ii;":8520,"iiiint;":10764,"iiint;":8749,"iinfin;":10716,"iiota;":8489,"ijlig;":307,"imacr;":299,"image;":8465,"imagline;":8464,"imagpart;":8465,"imath;":305,"imof;":8887,"imped;":437,"in;":8712,"incare;":8453,"infin;":8734,"infintie;":10717,"inodot;":305,"int;":8747,"intcal;":8890,"integers;":8484,"intercal;":8890,"intlarhk;":10775,"intprod;":10812,"iocy;":1105,"iogon;":303,"iopf;":[55349,56666],"iota;":953,"iprod;":10812,iquest:191,"iquest;":191,"iscr;":[55349,56510],"isin;":8712,"isinE;":8953,"isindot;":8949,"isins;":8948,"isinsv;":8947,"isinv;":8712,"it;":8290,"itilde;":297,"iukcy;":1110,iuml:239,"iuml;":239,"jcirc;":309,"jcy;":1081,"jfr;":[55349,56615],"jmath;":567,"jopf;":[55349,56667],"jscr;":[55349,56511],"jsercy;":1112,"jukcy;":1108,"kappa;":954,"kappav;":1008,"kcedil;":311,"kcy;":1082,"kfr;":[55349,56616],"kgreen;":312,"khcy;":1093,"kjcy;":1116,"kopf;":[55349,56668],"kscr;":[55349,56512],"lAarr;":8666,"lArr;":8656,"lAtail;":10523,"lBarr;":10510,"lE;":8806,"lEg;":10891,"lHar;":10594,"lacute;":314,"laemptyv;":10676,"lagran;":8466,"lambda;":955,"lang;":10216,"langd;":10641,"langle;":10216,"lap;":10885,laquo:171,"laquo;":171,"larr;":8592,"larrb;":8676,"larrbfs;":10527,"larrfs;":10525,"larrhk;":8617,"larrlp;":8619,"larrpl;":10553,"larrsim;":10611,"larrtl;":8610,"lat;":10923,"latail;":10521,"late;":10925,"lates;":[10925,65024],"lbarr;":10508,"lbbrk;":10098,"lbrace;":123,"lbrack;":91,"lbrke;":10635,"lbrksld;":10639,"lbrkslu;":10637,"lcaron;":318,"lcedil;":316,"lceil;":8968,"lcub;":123,"lcy;":1083,"ldca;":10550,"ldquo;":8220,"ldquor;":8222,"ldrdhar;":10599,"ldrushar;":10571,"ldsh;":8626,"le;":8804,"leftarrow;":8592,"leftarrowtail;":8610,"leftharpoondown;":8637,"leftharpoonup;":8636,"leftleftarrows;":8647,"leftrightarrow;":8596,"leftrightarrows;":8646,"leftrightharpoons;":8651,"leftrightsquigarrow;":8621,"leftthreetimes;":8907,"leg;":8922,"leq;":8804,"leqq;":8806,"leqslant;":10877,"les;":10877,"lescc;":10920,"lesdot;":10879,"lesdoto;":10881,"lesdotor;":10883,"lesg;":[8922,65024],"lesges;":10899,"lessapprox;":10885,"lessdot;":8918,"lesseqgtr;":8922,"lesseqqgtr;":10891,"lessgtr;":8822,"lesssim;":8818,"lfisht;":10620,"lfloor;":8970,"lfr;":[55349,56617],"lg;":8822,"lgE;":10897,"lhard;":8637,"lharu;":8636,"lharul;":10602,"lhblk;":9604,"ljcy;":1113,"ll;":8810,"llarr;":8647,"llcorner;":8990,"llhard;":10603,"lltri;":9722,"lmidot;":320,"lmoust;":9136,"lmoustache;":9136,"lnE;":8808,"lnap;":10889,"lnapprox;":10889,"lne;":10887,"lneq;":10887,"lneqq;":8808,"lnsim;":8934,"loang;":10220,"loarr;":8701,"lobrk;":10214,"longleftarrow;":10229,"longleftrightarrow;":10231,"longmapsto;":10236,"longrightarrow;":10230,"looparrowleft;":8619,"looparrowright;":8620,"lopar;":10629,"lopf;":[55349,56669],"loplus;":10797,"lotimes;":10804,"lowast;":8727,"lowbar;":95,"loz;":9674,"lozenge;":9674,"lozf;":10731,"lpar;":40,"lparlt;":10643,"lrarr;":8646,"lrcorner;":8991,"lrhar;":8651,"lrhard;":10605,"lrm;":8206,"lrtri;":8895,"lsaquo;":8249,"lscr;":[55349,56513],"lsh;":8624,"lsim;":8818,"lsime;":10893,"lsimg;":10895,"lsqb;":91,"lsquo;":8216,"lsquor;":8218,"lstrok;":322,lt:60,"lt;":60,"ltcc;":10918,"ltcir;":10873,"ltdot;":8918,"lthree;":8907,"ltimes;":8905,"ltlarr;":10614,"ltquest;":10875,"ltrPar;":10646,"ltri;":9667,"ltrie;":8884,"ltrif;":9666,"lurdshar;":10570,"luruhar;":10598,"lvertneqq;":[8808,65024],"lvnE;":[8808,65024],"mDDot;":8762,macr:175,"macr;":175,"male;":9794,"malt;":10016,"maltese;":10016,"map;":8614,"mapsto;":8614,"mapstodown;":8615,"mapstoleft;":8612,"mapstoup;":8613,"marker;":9646,"mcomma;":10793,"mcy;":1084,"mdash;":8212,"measuredangle;":8737,"mfr;":[55349,56618],"mho;":8487,micro:181,"micro;":181,"mid;":8739,"midast;":42,"midcir;":10992,middot:183,"middot;":183,"minus;":8722,"minusb;":8863,"minusd;":8760,"minusdu;":10794,"mlcp;":10971,"mldr;":8230,"mnplus;":8723,"models;":8871,"mopf;":[55349,56670],"mp;":8723,"mscr;":[55349,56514],"mstpos;":8766,"mu;":956,"multimap;":8888,"mumap;":8888,"nGg;":[8921,824],"nGt;":[8811,8402],"nGtv;":[8811,824],"nLeftarrow;":8653,"nLeftrightarrow;":8654,"nLl;":[8920,824],"nLt;":[8810,8402],"nLtv;":[8810,824],"nRightarrow;":8655,"nVDash;":8879,"nVdash;":8878,"nabla;":8711,"nacute;":324,"nang;":[8736,8402],"nap;":8777,"napE;":[10864,824],"napid;":[8779,824],"napos;":329,"napprox;":8777,"natur;":9838,"natural;":9838,"naturals;":8469,nbsp:160,"nbsp;":160,"nbump;":[8782,824],"nbumpe;":[8783,824],"ncap;":10819,"ncaron;":328,"ncedil;":326,"ncong;":8775,"ncongdot;":[10861,824],"ncup;":10818,"ncy;":1085,"ndash;":8211,"ne;":8800,"neArr;":8663,"nearhk;":10532,"nearr;":8599,"nearrow;":8599,"nedot;":[8784,824],"nequiv;":8802,"nesear;":10536,"nesim;":[8770,824],"nexist;":8708,"nexists;":8708,"nfr;":[55349,56619],"ngE;":[8807,824],"nge;":8817,"ngeq;":8817,"ngeqq;":[8807,824],"ngeqslant;":[10878,824],"nges;":[10878,824],"ngsim;":8821,"ngt;":8815,"ngtr;":8815,"nhArr;":8654,"nharr;":8622,"nhpar;":10994,"ni;":8715,"nis;":8956,"nisd;":8954,"niv;":8715,"njcy;":1114,"nlArr;":8653,"nlE;":[8806,824],"nlarr;":8602,"nldr;":8229,"nle;":8816,"nleftarrow;":8602,"nleftrightarrow;":8622,"nleq;":8816,"nleqq;":[8806,824],"nleqslant;":[10877,824],"nles;":[10877,824],"nless;":8814,"nlsim;":8820,"nlt;":8814,"nltri;":8938,"nltrie;":8940,"nmid;":8740,"nopf;":[55349,56671],not:172,"not;":172,"notin;":8713,"notinE;":[8953,824],"notindot;":[8949,824],"notinva;":8713,"notinvb;":8951,"notinvc;":8950,"notni;":8716,"notniva;":8716,"notnivb;":8958,"notnivc;":8957,"npar;":8742,"nparallel;":8742,"nparsl;":[11005,8421],"npart;":[8706,824],"npolint;":10772,"npr;":8832,"nprcue;":8928,"npre;":[10927,824],"nprec;":8832,"npreceq;":[10927,824],"nrArr;":8655,"nrarr;":8603,"nrarrc;":[10547,824],"nrarrw;":[8605,824],"nrightarrow;":8603,"nrtri;":8939,"nrtrie;":8941,"nsc;":8833,"nsccue;":8929,"nsce;":[10928,824],"nscr;":[55349,56515],"nshortmid;":8740,"nshortparallel;":8742,"nsim;":8769,"nsime;":8772,"nsimeq;":8772,"nsmid;":8740,"nspar;":8742,"nsqsube;":8930,"nsqsupe;":8931,"nsub;":8836,"nsubE;":[10949,824],"nsube;":8840,"nsubset;":[8834,8402],"nsubseteq;":8840,"nsubseteqq;":[10949,824],"nsucc;":8833,"nsucceq;":[10928,824],"nsup;":8837,"nsupE;":[10950,824],"nsupe;":8841,"nsupset;":[8835,8402],"nsupseteq;":8841,"nsupseteqq;":[10950,824],"ntgl;":8825,ntilde:241,"ntilde;":241,"ntlg;":8824,"ntriangleleft;":8938,"ntrianglelefteq;":8940,"ntriangleright;":8939,"ntrianglerighteq;":8941,"nu;":957,"num;":35,"numero;":8470,"numsp;":8199,"nvDash;":8877,"nvHarr;":10500,"nvap;":[8781,8402],"nvdash;":8876,"nvge;":[8805,8402],"nvgt;":[62,8402],"nvinfin;":10718,"nvlArr;":10498,"nvle;":[8804,8402],"nvlt;":[60,8402],"nvltrie;":[8884,8402],"nvrArr;":10499,"nvrtrie;":[8885,8402],"nvsim;":[8764,8402],"nwArr;":8662,"nwarhk;":10531,"nwarr;":8598,"nwarrow;":8598,"nwnear;":10535,"oS;":9416,oacute:243,"oacute;":243,"oast;":8859,"ocir;":8858,ocirc:244,"ocirc;":244,"ocy;":1086,"odash;":8861,"odblac;":337,"odiv;":10808,"odot;":8857,"odsold;":10684,"oelig;":339,"ofcir;":10687,"ofr;":[55349,56620],"ogon;":731,ograve:242,"ograve;":242,"ogt;":10689,"ohbar;":10677,"ohm;":937,"oint;":8750,"olarr;":8634,"olcir;":10686,"olcross;":10683,"oline;":8254,"olt;":10688,"omacr;":333,"omega;":969,"omicron;":959,"omid;":10678,"ominus;":8854,"oopf;":[55349,56672],"opar;":10679,"operp;":10681,"oplus;":8853,"or;":8744,"orarr;":8635,"ord;":10845,"order;":8500,"orderof;":8500,ordf:170,"ordf;":170,ordm:186,"ordm;":186,"origof;":8886,"oror;":10838,"orslope;":10839,"orv;":10843,"oscr;":8500,oslash:248,"oslash;":248,"osol;":8856,otilde:245,"otilde;":245,"otimes;":8855,"otimesas;":10806,ouml:246,"ouml;":246,"ovbar;":9021,"par;":8741,para:182,"para;":182,"parallel;":8741,"parsim;":10995,"parsl;":11005,"part;":8706,"pcy;":1087,"percnt;":37,"period;":46,"permil;":8240,"perp;":8869,"pertenk;":8241,"pfr;":[55349,56621],"phi;":966,"phiv;":981,"phmmat;":8499,"phone;":9742,"pi;":960,"pitchfork;":8916,"piv;":982,"planck;":8463,"planckh;":8462,"plankv;":8463,"plus;":43,"plusacir;":10787,"plusb;":8862,"pluscir;":10786,"plusdo;":8724,"plusdu;":10789,"pluse;":10866,plusmn:177,"plusmn;":177,"plussim;":10790,"plustwo;":10791,"pm;":177,"pointint;":10773,"popf;":[55349,56673],pound:163,"pound;":163,"pr;":8826,"prE;":10931,"prap;":10935,"prcue;":8828,"pre;":10927,"prec;":8826,"precapprox;":10935,"preccurlyeq;":8828,"preceq;":10927,"precnapprox;":10937,"precneqq;":10933,"precnsim;":8936,"precsim;":8830,"prime;":8242,"primes;":8473,"prnE;":10933,"prnap;":10937,"prnsim;":8936,"prod;":8719,"profalar;":9006,"profline;":8978,"profsurf;":8979,"prop;":8733,"propto;":8733,"prsim;":8830,"prurel;":8880,"pscr;":[55349,56517],"psi;":968,"puncsp;":8200,"qfr;":[55349,56622],"qint;":10764,"qopf;":[55349,56674],"qprime;":8279,"qscr;":[55349,56518],"quaternions;":8461,"quatint;":10774,"quest;":63,"questeq;":8799,quot:34,"quot;":34,"rAarr;":8667,"rArr;":8658,"rAtail;":10524,"rBarr;":10511,"rHar;":10596,"race;":[8765,817],"racute;":341,"radic;":8730,"raemptyv;":10675,"rang;":10217,"rangd;":10642,"range;":10661,"rangle;":10217,raquo:187,"raquo;":187,"rarr;":8594,"rarrap;":10613,"rarrb;":8677,"rarrbfs;":10528,"rarrc;":10547,"rarrfs;":10526,"rarrhk;":8618,"rarrlp;":8620,"rarrpl;":10565,"rarrsim;":10612,"rarrtl;":8611,"rarrw;":8605,"ratail;":10522,"ratio;":8758,"rationals;":8474,"rbarr;":10509,"rbbrk;":10099,"rbrace;":125,"rbrack;":93,"rbrke;":10636,"rbrksld;":10638,"rbrkslu;":10640,"rcaron;":345,"rcedil;":343,"rceil;":8969,"rcub;":125,"rcy;":1088,"rdca;":10551,"rdldhar;":10601,"rdquo;":8221,"rdquor;":8221,"rdsh;":8627,"real;":8476,"realine;":8475,"realpart;":8476,"reals;":8477,"rect;":9645,reg:174,"reg;":174,"rfisht;":10621,"rfloor;":8971,"rfr;":[55349,56623],"rhard;":8641,"rharu;":8640,"rharul;":10604,"rho;":961,"rhov;":1009,"rightarrow;":8594,"rightarrowtail;":8611,"rightharpoondown;":8641,"rightharpoonup;":8640,"rightleftarrows;":8644,"rightleftharpoons;":8652,"rightrightarrows;":8649,"rightsquigarrow;":8605,"rightthreetimes;":8908,"ring;":730,"risingdotseq;":8787,"rlarr;":8644,"rlhar;":8652,"rlm;":8207,"rmoust;":9137,"rmoustache;":9137,"rnmid;":10990,"roang;":10221,"roarr;":8702,"robrk;":10215,"ropar;":10630,"ropf;":[55349,56675],"roplus;":10798,"rotimes;":10805,"rpar;":41,"rpargt;":10644,"rppolint;":10770,"rrarr;":8649,"rsaquo;":8250,"rscr;":[55349,56519],"rsh;":8625,"rsqb;":93,"rsquo;":8217,"rsquor;":8217,"rthree;":8908,"rtimes;":8906,"rtri;":9657,"rtrie;":8885,"rtrif;":9656,"rtriltri;":10702,"ruluhar;":10600,"rx;":8478,"sacute;":347,"sbquo;":8218,"sc;":8827,"scE;":10932,"scap;":10936,"scaron;":353,"sccue;":8829,"sce;":10928,"scedil;":351,"scirc;":349,"scnE;":10934,"scnap;":10938,"scnsim;":8937,"scpolint;":10771,"scsim;":8831,"scy;":1089,"sdot;":8901,"sdotb;":8865,"sdote;":10854,"seArr;":8664,"searhk;":10533,"searr;":8600,"searrow;":8600,sect:167,"sect;":167,"semi;":59,"seswar;":10537,"setminus;":8726,"setmn;":8726,"sext;":10038,"sfr;":[55349,56624],"sfrown;":8994,"sharp;":9839,"shchcy;":1097,"shcy;":1096,"shortmid;":8739,"shortparallel;":8741,shy:173,"shy;":173,"sigma;":963,"sigmaf;":962,"sigmav;":962,"sim;":8764,"simdot;":10858,"sime;":8771,"simeq;":8771,"simg;":10910,"simgE;":10912,"siml;":10909,"simlE;":10911,"simne;":8774,"simplus;":10788,"simrarr;":10610,"slarr;":8592,"smallsetminus;":8726,"smashp;":10803,"smeparsl;":10724,"smid;":8739,"smile;":8995,"smt;":10922,"smte;":10924,"smtes;":[10924,65024],"softcy;":1100,"sol;":47,"solb;":10692,"solbar;":9023,"sopf;":[55349,56676],"spades;":9824,"spadesuit;":9824,"spar;":8741,"sqcap;":8851,"sqcaps;":[8851,65024],"sqcup;":8852,"sqcups;":[8852,65024],"sqsub;":8847,"sqsube;":8849,"sqsubset;":8847,"sqsubseteq;":8849,"sqsup;":8848,"sqsupe;":8850,"sqsupset;":8848,"sqsupseteq;":8850,"squ;":9633,"square;":9633,"squarf;":9642,"squf;":9642,"srarr;":8594,"sscr;":[55349,56520],"ssetmn;":8726,"ssmile;":8995,"sstarf;":8902,"star;":9734,"starf;":9733,"straightepsilon;":1013,"straightphi;":981,"strns;":175,"sub;":8834,"subE;":10949,"subdot;":10941,"sube;":8838,"subedot;":10947,"submult;":10945,"subnE;":10955,"subne;":8842,"subplus;":10943,"subrarr;":10617,"subset;":8834,"subseteq;":8838,"subseteqq;":10949,"subsetneq;":8842,"subsetneqq;":10955,"subsim;":10951,"subsub;":10965,"subsup;":10963,"succ;":8827,"succapprox;":10936,"succcurlyeq;":8829,"succeq;":10928,"succnapprox;":10938,"succneqq;":10934,"succnsim;":8937,"succsim;":8831,"sum;":8721,"sung;":9834,sup1:185,"sup1;":185,sup2:178,"sup2;":178,sup3:179,"sup3;":179,"sup;":8835,"supE;":10950,"supdot;":10942,"supdsub;":10968,"supe;":8839,"supedot;":10948,"suphsol;":10185,"suphsub;":10967,"suplarr;":10619,"supmult;":10946,"supnE;":10956,"supne;":8843,"supplus;":10944,"supset;":8835,"supseteq;":8839,"supseteqq;":10950,"supsetneq;":8843,"supsetneqq;":10956,"supsim;":10952,"supsub;":10964,"supsup;":10966,"swArr;":8665,"swarhk;":10534,"swarr;":8601,"swarrow;":8601,"swnwar;":10538,szlig:223,"szlig;":223,"target;":8982,"tau;":964,"tbrk;":9140,"tcaron;":357,"tcedil;":355,"tcy;":1090,"tdot;":8411,"telrec;":8981,"tfr;":[55349,56625],"there4;":8756,"therefore;":8756,"theta;":952,"thetasym;":977,"thetav;":977,"thickapprox;":8776,"thicksim;":8764,"thinsp;":8201,"thkap;":8776,"thksim;":8764,thorn:254,"thorn;":254,"tilde;":732,times:215,"times;":215,"timesb;":8864,"timesbar;":10801,"timesd;":10800,"tint;":8749,"toea;":10536,"top;":8868,"topbot;":9014,"topcir;":10993,"topf;":[55349,56677],"topfork;":10970,"tosa;":10537,"tprime;":8244,"trade;":8482,"triangle;":9653,"triangledown;":9663,"triangleleft;":9667,"trianglelefteq;":8884,"triangleq;":8796,"triangleright;":9657,"trianglerighteq;":8885,"tridot;":9708,"trie;":8796,"triminus;":10810,"triplus;":10809,"trisb;":10701,"tritime;":10811,"trpezium;":9186,"tscr;":[55349,56521],"tscy;":1094,"tshcy;":1115,"tstrok;":359,"twixt;":8812,"twoheadleftarrow;":8606,"twoheadrightarrow;":8608,"uArr;":8657,"uHar;":10595,uacute:250,"uacute;":250,"uarr;":8593,"ubrcy;":1118,"ubreve;":365,ucirc:251,"ucirc;":251,"ucy;":1091,"udarr;":8645,"udblac;":369,"udhar;":10606,"ufisht;":10622,"ufr;":[55349,56626],ugrave:249,"ugrave;":249,"uharl;":8639,"uharr;":8638,"uhblk;":9600,"ulcorn;":8988,"ulcorner;":8988,"ulcrop;":8975,"ultri;":9720,"umacr;":363,uml:168,"uml;":168,"uogon;":371,"uopf;":[55349,56678],"uparrow;":8593,"updownarrow;":8597,"upharpoonleft;":8639,"upharpoonright;":8638,"uplus;":8846,"upsi;":965,"upsih;":978,"upsilon;":965,"upuparrows;":8648,"urcorn;":8989,"urcorner;":8989,"urcrop;":8974,"uring;":367,"urtri;":9721,"uscr;":[55349,56522],"utdot;":8944,"utilde;":361,"utri;":9653,"utrif;":9652,"uuarr;":8648,uuml:252,"uuml;":252,"uwangle;":10663,"vArr;":8661,"vBar;":10984,"vBarv;":10985,"vDash;":8872,"vangrt;":10652,"varepsilon;":1013,"varkappa;":1008,"varnothing;":8709,"varphi;":981,"varpi;":982,"varpropto;":8733,"varr;":8597,"varrho;":1009,"varsigma;":962,"varsubsetneq;":[8842,65024],"varsubsetneqq;":[10955,65024],"varsupsetneq;":[8843,65024],"varsupsetneqq;":[10956,65024],"vartheta;":977,"vartriangleleft;":8882,"vartriangleright;":8883,"vcy;":1074,"vdash;":8866,"vee;":8744,"veebar;":8891,"veeeq;":8794,"vellip;":8942,"verbar;":124,"vert;":124,"vfr;":[55349,56627],"vltri;":8882,"vnsub;":[8834,8402],"vnsup;":[8835,8402],"vopf;":[55349,56679],"vprop;":8733,"vrtri;":8883,"vscr;":[55349,56523],"vsubnE;":[10955,65024],"vsubne;":[8842,65024],"vsupnE;":[10956,65024],"vsupne;":[8843,65024],"vzigzag;":10650,"wcirc;":373,"wedbar;":10847,"wedge;":8743,"wedgeq;":8793,"weierp;":8472,"wfr;":[55349,56628],"wopf;":[55349,56680],"wp;":8472,"wr;":8768,"wreath;":8768,"wscr;":[55349,56524],"xcap;":8898,"xcirc;":9711,"xcup;":8899,"xdtri;":9661,"xfr;":[55349,56629],"xhArr;":10234,"xharr;":10231,"xi;":958,"xlArr;":10232,"xlarr;":10229,"xmap;":10236,"xnis;":8955,"xodot;":10752,"xopf;":[55349,56681],"xoplus;":10753,"xotime;":10754,"xrArr;":10233,"xrarr;":10230,"xscr;":[55349,56525],"xsqcup;":10758,"xuplus;":10756,"xutri;":9651,"xvee;":8897,"xwedge;":8896,yacute:253,"yacute;":253,"yacy;":1103,"ycirc;":375,"ycy;":1099,yen:165,"yen;":165,"yfr;":[55349,56630],"yicy;":1111,"yopf;":[55349,56682],"yscr;":[55349,56526],"yucy;":1102,yuml:255,"yuml;":255,"zacute;":378,"zcaron;":382,"zcy;":1079,"zdot;":380,"zeetrf;":8488,"zeta;":950,"zfr;":[55349,56631],"zhcy;":1078,"zigrarr;":8669,"zopf;":[55349,56683],"zscr;":[55349,56527],"zwj;":8205,"zwnj;":8204},mt=/(A(?:Elig;?|MP;?|acute;?|breve;|c(?:irc;?|y;)|fr;|grave;?|lpha;|macr;|nd;|o(?:gon;|pf;)|pplyFunction;|ring;?|s(?:cr;|sign;)|tilde;?|uml;?)|B(?:a(?:ckslash;|r(?:v;|wed;))|cy;|e(?:cause;|rnoullis;|ta;)|fr;|opf;|reve;|scr;|umpeq;)|C(?:Hcy;|OPY;?|a(?:cute;|p(?:;|italDifferentialD;)|yleys;)|c(?:aron;|edil;?|irc;|onint;)|dot;|e(?:dilla;|nterDot;)|fr;|hi;|ircle(?:Dot;|Minus;|Plus;|Times;)|lo(?:ckwiseContourIntegral;|seCurly(?:DoubleQuote;|Quote;))|o(?:lon(?:;|e;)|n(?:gruent;|int;|tourIntegral;)|p(?:f;|roduct;)|unterClockwiseContourIntegral;)|ross;|scr;|up(?:;|Cap;))|D(?:D(?:;|otrahd;)|Jcy;|Scy;|Zcy;|a(?:gger;|rr;|shv;)|c(?:aron;|y;)|el(?:;|ta;)|fr;|i(?:a(?:critical(?:Acute;|Do(?:t;|ubleAcute;)|Grave;|Tilde;)|mond;)|fferentialD;)|o(?:pf;|t(?:;|Dot;|Equal;)|uble(?:ContourIntegral;|Do(?:t;|wnArrow;)|L(?:eft(?:Arrow;|RightArrow;|Tee;)|ong(?:Left(?:Arrow;|RightArrow;)|RightArrow;))|Right(?:Arrow;|Tee;)|Up(?:Arrow;|DownArrow;)|VerticalBar;)|wn(?:Arrow(?:;|Bar;|UpArrow;)|Breve;|Left(?:RightVector;|TeeVector;|Vector(?:;|Bar;))|Right(?:TeeVector;|Vector(?:;|Bar;))|Tee(?:;|Arrow;)|arrow;))|s(?:cr;|trok;))|E(?:NG;|TH;?|acute;?|c(?:aron;|irc;?|y;)|dot;|fr;|grave;?|lement;|m(?:acr;|pty(?:SmallSquare;|VerySmallSquare;))|o(?:gon;|pf;)|psilon;|qu(?:al(?:;|Tilde;)|ilibrium;)|s(?:cr;|im;)|ta;|uml;?|x(?:ists;|ponentialE;))|F(?:cy;|fr;|illed(?:SmallSquare;|VerySmallSquare;)|o(?:pf;|rAll;|uriertrf;)|scr;)|G(?:Jcy;|T;?|amma(?:;|d;)|breve;|c(?:edil;|irc;|y;)|dot;|fr;|g;|opf;|reater(?:Equal(?:;|Less;)|FullEqual;|Greater;|Less;|SlantEqual;|Tilde;)|scr;|t;)|H(?:ARDcy;|a(?:cek;|t;)|circ;|fr;|ilbertSpace;|o(?:pf;|rizontalLine;)|s(?:cr;|trok;)|ump(?:DownHump;|Equal;))|I(?:Ecy;|Jlig;|Ocy;|acute;?|c(?:irc;?|y;)|dot;|fr;|grave;?|m(?:;|a(?:cr;|ginaryI;)|plies;)|n(?:t(?:;|e(?:gral;|rsection;))|visible(?:Comma;|Times;))|o(?:gon;|pf;|ta;)|scr;|tilde;|u(?:kcy;|ml;?))|J(?:c(?:irc;|y;)|fr;|opf;|s(?:cr;|ercy;)|ukcy;)|K(?:Hcy;|Jcy;|appa;|c(?:edil;|y;)|fr;|opf;|scr;)|L(?:Jcy;|T;?|a(?:cute;|mbda;|ng;|placetrf;|rr;)|c(?:aron;|edil;|y;)|e(?:ft(?:A(?:ngleBracket;|rrow(?:;|Bar;|RightArrow;))|Ceiling;|Do(?:ubleBracket;|wn(?:TeeVector;|Vector(?:;|Bar;)))|Floor;|Right(?:Arrow;|Vector;)|T(?:ee(?:;|Arrow;|Vector;)|riangle(?:;|Bar;|Equal;))|Up(?:DownVector;|TeeVector;|Vector(?:;|Bar;))|Vector(?:;|Bar;)|arrow;|rightarrow;)|ss(?:EqualGreater;|FullEqual;|Greater;|Less;|SlantEqual;|Tilde;))|fr;|l(?:;|eftarrow;)|midot;|o(?:ng(?:Left(?:Arrow;|RightArrow;)|RightArrow;|left(?:arrow;|rightarrow;)|rightarrow;)|pf;|wer(?:LeftArrow;|RightArrow;))|s(?:cr;|h;|trok;)|t;)|M(?:ap;|cy;|e(?:diumSpace;|llintrf;)|fr;|inusPlus;|opf;|scr;|u;)|N(?:Jcy;|acute;|c(?:aron;|edil;|y;)|e(?:gative(?:MediumSpace;|Thi(?:ckSpace;|nSpace;)|VeryThinSpace;)|sted(?:GreaterGreater;|LessLess;)|wLine;)|fr;|o(?:Break;|nBreakingSpace;|pf;|t(?:;|C(?:ongruent;|upCap;)|DoubleVerticalBar;|E(?:lement;|qual(?:;|Tilde;)|xists;)|Greater(?:;|Equal;|FullEqual;|Greater;|Less;|SlantEqual;|Tilde;)|Hump(?:DownHump;|Equal;)|Le(?:ftTriangle(?:;|Bar;|Equal;)|ss(?:;|Equal;|Greater;|Less;|SlantEqual;|Tilde;))|Nested(?:GreaterGreater;|LessLess;)|Precedes(?:;|Equal;|SlantEqual;)|R(?:everseElement;|ightTriangle(?:;|Bar;|Equal;))|S(?:quareSu(?:bset(?:;|Equal;)|perset(?:;|Equal;))|u(?:bset(?:;|Equal;)|cceeds(?:;|Equal;|SlantEqual;|Tilde;)|perset(?:;|Equal;)))|Tilde(?:;|Equal;|FullEqual;|Tilde;)|VerticalBar;))|scr;|tilde;?|u;)|O(?:Elig;|acute;?|c(?:irc;?|y;)|dblac;|fr;|grave;?|m(?:acr;|ega;|icron;)|opf;|penCurly(?:DoubleQuote;|Quote;)|r;|s(?:cr;|lash;?)|ti(?:lde;?|mes;)|uml;?|ver(?:B(?:ar;|rac(?:e;|ket;))|Parenthesis;))|P(?:artialD;|cy;|fr;|hi;|i;|lusMinus;|o(?:incareplane;|pf;)|r(?:;|ecedes(?:;|Equal;|SlantEqual;|Tilde;)|ime;|o(?:duct;|portion(?:;|al;)))|s(?:cr;|i;))|Q(?:UOT;?|fr;|opf;|scr;)|R(?:Barr;|EG;?|a(?:cute;|ng;|rr(?:;|tl;))|c(?:aron;|edil;|y;)|e(?:;|verse(?:E(?:lement;|quilibrium;)|UpEquilibrium;))|fr;|ho;|ight(?:A(?:ngleBracket;|rrow(?:;|Bar;|LeftArrow;))|Ceiling;|Do(?:ubleBracket;|wn(?:TeeVector;|Vector(?:;|Bar;)))|Floor;|T(?:ee(?:;|Arrow;|Vector;)|riangle(?:;|Bar;|Equal;))|Up(?:DownVector;|TeeVector;|Vector(?:;|Bar;))|Vector(?:;|Bar;)|arrow;)|o(?:pf;|undImplies;)|rightarrow;|s(?:cr;|h;)|uleDelayed;)|S(?:H(?:CHcy;|cy;)|OFTcy;|acute;|c(?:;|aron;|edil;|irc;|y;)|fr;|hort(?:DownArrow;|LeftArrow;|RightArrow;|UpArrow;)|igma;|mallCircle;|opf;|q(?:rt;|uare(?:;|Intersection;|Su(?:bset(?:;|Equal;)|perset(?:;|Equal;))|Union;))|scr;|tar;|u(?:b(?:;|set(?:;|Equal;))|c(?:ceeds(?:;|Equal;|SlantEqual;|Tilde;)|hThat;)|m;|p(?:;|erset(?:;|Equal;)|set;)))|T(?:HORN;?|RADE;|S(?:Hcy;|cy;)|a(?:b;|u;)|c(?:aron;|edil;|y;)|fr;|h(?:e(?:refore;|ta;)|i(?:ckSpace;|nSpace;))|ilde(?:;|Equal;|FullEqual;|Tilde;)|opf;|ripleDot;|s(?:cr;|trok;))|U(?:a(?:cute;?|rr(?:;|ocir;))|br(?:cy;|eve;)|c(?:irc;?|y;)|dblac;|fr;|grave;?|macr;|n(?:der(?:B(?:ar;|rac(?:e;|ket;))|Parenthesis;)|ion(?:;|Plus;))|o(?:gon;|pf;)|p(?:Arrow(?:;|Bar;|DownArrow;)|DownArrow;|Equilibrium;|Tee(?:;|Arrow;)|arrow;|downarrow;|per(?:LeftArrow;|RightArrow;)|si(?:;|lon;))|ring;|scr;|tilde;|uml;?)|V(?:Dash;|bar;|cy;|dash(?:;|l;)|e(?:e;|r(?:bar;|t(?:;|ical(?:Bar;|Line;|Separator;|Tilde;))|yThinSpace;))|fr;|opf;|scr;|vdash;)|W(?:circ;|edge;|fr;|opf;|scr;)|X(?:fr;|i;|opf;|scr;)|Y(?:Acy;|Icy;|Ucy;|acute;?|c(?:irc;|y;)|fr;|opf;|scr;|uml;)|Z(?:Hcy;|acute;|c(?:aron;|y;)|dot;|e(?:roWidthSpace;|ta;)|fr;|opf;|scr;)|a(?:acute;?|breve;|c(?:;|E;|d;|irc;?|ute;?|y;)|elig;?|f(?:;|r;)|grave;?|l(?:e(?:fsym;|ph;)|pha;)|m(?:a(?:cr;|lg;)|p;?)|n(?:d(?:;|and;|d;|slope;|v;)|g(?:;|e;|le;|msd(?:;|a(?:a;|b;|c;|d;|e;|f;|g;|h;))|rt(?:;|vb(?:;|d;))|s(?:ph;|t;)|zarr;))|o(?:gon;|pf;)|p(?:;|E;|acir;|e;|id;|os;|prox(?:;|eq;))|ring;?|s(?:cr;|t;|ymp(?:;|eq;))|tilde;?|uml;?|w(?:conint;|int;))|b(?:Not;|a(?:ck(?:cong;|epsilon;|prime;|sim(?:;|eq;))|r(?:vee;|wed(?:;|ge;)))|brk(?:;|tbrk;)|c(?:ong;|y;)|dquo;|e(?:caus(?:;|e;)|mptyv;|psi;|rnou;|t(?:a;|h;|ween;))|fr;|ig(?:c(?:ap;|irc;|up;)|o(?:dot;|plus;|times;)|s(?:qcup;|tar;)|triangle(?:down;|up;)|uplus;|vee;|wedge;)|karow;|l(?:a(?:ck(?:lozenge;|square;|triangle(?:;|down;|left;|right;))|nk;)|k(?:1(?:2;|4;)|34;)|ock;)|n(?:e(?:;|quiv;)|ot;)|o(?:pf;|t(?:;|tom;)|wtie;|x(?:D(?:L;|R;|l;|r;)|H(?:;|D;|U;|d;|u;)|U(?:L;|R;|l;|r;)|V(?:;|H;|L;|R;|h;|l;|r;)|box;|d(?:L;|R;|l;|r;)|h(?:;|D;|U;|d;|u;)|minus;|plus;|times;|u(?:L;|R;|l;|r;)|v(?:;|H;|L;|R;|h;|l;|r;)))|prime;|r(?:eve;|vbar;?)|s(?:cr;|emi;|im(?:;|e;)|ol(?:;|b;|hsub;))|u(?:ll(?:;|et;)|mp(?:;|E;|e(?:;|q;))))|c(?:a(?:cute;|p(?:;|and;|brcup;|c(?:ap;|up;)|dot;|s;)|r(?:et;|on;))|c(?:a(?:ps;|ron;)|edil;?|irc;|ups(?:;|sm;))|dot;|e(?:dil;?|mptyv;|nt(?:;|erdot;|))|fr;|h(?:cy;|eck(?:;|mark;)|i;)|ir(?:;|E;|c(?:;|eq;|le(?:arrow(?:left;|right;)|d(?:R;|S;|ast;|circ;|dash;)))|e;|fnint;|mid;|scir;)|lubs(?:;|uit;)|o(?:lon(?:;|e(?:;|q;))|m(?:ma(?:;|t;)|p(?:;|fn;|le(?:ment;|xes;)))|n(?:g(?:;|dot;)|int;)|p(?:f;|rod;|y(?:;|sr;|)))|r(?:arr;|oss;)|s(?:cr;|u(?:b(?:;|e;)|p(?:;|e;)))|tdot;|u(?:darr(?:l;|r;)|e(?:pr;|sc;)|larr(?:;|p;)|p(?:;|brcap;|c(?:ap;|up;)|dot;|or;|s;)|r(?:arr(?:;|m;)|ly(?:eq(?:prec;|succ;)|vee;|wedge;)|ren;?|vearrow(?:left;|right;))|vee;|wed;)|w(?:conint;|int;)|ylcty;)|d(?:Arr;|Har;|a(?:gger;|leth;|rr;|sh(?:;|v;))|b(?:karow;|lac;)|c(?:aron;|y;)|d(?:;|a(?:gger;|rr;)|otseq;)|e(?:g;?|lta;|mptyv;)|f(?:isht;|r;)|har(?:l;|r;)|i(?:am(?:;|ond(?:;|suit;)|s;)|e;|gamma;|sin;|v(?:;|ide(?:;|ontimes;|)|onx;))|jcy;|lc(?:orn;|rop;)|o(?:llar;|pf;|t(?:;|eq(?:;|dot;)|minus;|plus;|square;)|ublebarwedge;|wn(?:arrow;|downarrows;|harpoon(?:left;|right;)))|r(?:bkarow;|c(?:orn;|rop;))|s(?:c(?:r;|y;)|ol;|trok;)|t(?:dot;|ri(?:;|f;))|u(?:arr;|har;)|wangle;|z(?:cy;|igrarr;))|e(?:D(?:Dot;|ot;)|a(?:cute;?|ster;)|c(?:aron;|ir(?:;|c;?)|olon;|y;)|dot;|e;|f(?:Dot;|r;)|g(?:;|rave;?|s(?:;|dot;))|l(?:;|inters;|l;|s(?:;|dot;))|m(?:acr;|pty(?:;|set;|v;)|sp(?:1(?:3;|4;)|;))|n(?:g;|sp;)|o(?:gon;|pf;)|p(?:ar(?:;|sl;)|lus;|si(?:;|lon;|v;))|q(?:c(?:irc;|olon;)|s(?:im;|lant(?:gtr;|less;))|u(?:als;|est;|iv(?:;|DD;))|vparsl;)|r(?:Dot;|arr;)|s(?:cr;|dot;|im;)|t(?:a;|h;?)|u(?:ml;?|ro;)|x(?:cl;|ist;|p(?:ectation;|onentiale;)))|f(?:allingdotseq;|cy;|emale;|f(?:ilig;|l(?:ig;|lig;)|r;)|ilig;|jlig;|l(?:at;|lig;|tns;)|nof;|o(?:pf;|r(?:all;|k(?:;|v;)))|partint;|r(?:a(?:c(?:1(?:2;?|3;|4;?|5;|6;|8;)|2(?:3;|5;)|3(?:4;?|5;|8;)|45;|5(?:6;|8;)|78;)|sl;)|own;)|scr;)|g(?:E(?:;|l;)|a(?:cute;|mma(?:;|d;)|p;)|breve;|c(?:irc;|y;)|dot;|e(?:;|l;|q(?:;|q;|slant;)|s(?:;|cc;|dot(?:;|o(?:;|l;))|l(?:;|es;)))|fr;|g(?:;|g;)|imel;|jcy;|l(?:;|E;|a;|j;)|n(?:E;|ap(?:;|prox;)|e(?:;|q(?:;|q;))|sim;)|opf;|rave;|s(?:cr;|im(?:;|e;|l;))|t(?:;|c(?:c;|ir;)|dot;|lPar;|quest;|r(?:a(?:pprox;|rr;)|dot;|eq(?:less;|qless;)|less;|sim;)|)|v(?:ertneqq;|nE;))|h(?:Arr;|a(?:irsp;|lf;|milt;|r(?:dcy;|r(?:;|cir;|w;)))|bar;|circ;|e(?:arts(?:;|uit;)|llip;|rcon;)|fr;|ks(?:earow;|warow;)|o(?:arr;|mtht;|ok(?:leftarrow;|rightarrow;)|pf;|rbar;)|s(?:cr;|lash;|trok;)|y(?:bull;|phen;))|i(?:acute;?|c(?:;|irc;?|y;)|e(?:cy;|xcl;?)|f(?:f;|r;)|grave;?|i(?:;|i(?:int;|nt;)|nfin;|ota;)|jlig;|m(?:a(?:cr;|g(?:e;|line;|part;)|th;)|of;|ped;)|n(?:;|care;|fin(?:;|tie;)|odot;|t(?:;|cal;|e(?:gers;|rcal;)|larhk;|prod;))|o(?:cy;|gon;|pf;|ta;)|prod;|quest;?|s(?:cr;|in(?:;|E;|dot;|s(?:;|v;)|v;))|t(?:;|ilde;)|u(?:kcy;|ml;?))|j(?:c(?:irc;|y;)|fr;|math;|opf;|s(?:cr;|ercy;)|ukcy;)|k(?:appa(?:;|v;)|c(?:edil;|y;)|fr;|green;|hcy;|jcy;|opf;|scr;)|l(?:A(?:arr;|rr;|tail;)|Barr;|E(?:;|g;)|Har;|a(?:cute;|emptyv;|gran;|mbda;|ng(?:;|d;|le;)|p;|quo;?|rr(?:;|b(?:;|fs;)|fs;|hk;|lp;|pl;|sim;|tl;)|t(?:;|ail;|e(?:;|s;)))|b(?:arr;|brk;|r(?:ac(?:e;|k;)|k(?:e;|sl(?:d;|u;))))|c(?:aron;|e(?:dil;|il;)|ub;|y;)|d(?:ca;|quo(?:;|r;)|r(?:dhar;|ushar;)|sh;)|e(?:;|ft(?:arrow(?:;|tail;)|harpoon(?:down;|up;)|leftarrows;|right(?:arrow(?:;|s;)|harpoons;|squigarrow;)|threetimes;)|g;|q(?:;|q;|slant;)|s(?:;|cc;|dot(?:;|o(?:;|r;))|g(?:;|es;)|s(?:approx;|dot;|eq(?:gtr;|qgtr;)|gtr;|sim;)))|f(?:isht;|loor;|r;)|g(?:;|E;)|h(?:ar(?:d;|u(?:;|l;))|blk;)|jcy;|l(?:;|arr;|corner;|hard;|tri;)|m(?:idot;|oust(?:;|ache;))|n(?:E;|ap(?:;|prox;)|e(?:;|q(?:;|q;))|sim;)|o(?:a(?:ng;|rr;)|brk;|ng(?:left(?:arrow;|rightarrow;)|mapsto;|rightarrow;)|oparrow(?:left;|right;)|p(?:ar;|f;|lus;)|times;|w(?:ast;|bar;)|z(?:;|enge;|f;))|par(?:;|lt;)|r(?:arr;|corner;|har(?:;|d;)|m;|tri;)|s(?:aquo;|cr;|h;|im(?:;|e;|g;)|q(?:b;|uo(?:;|r;))|trok;)|t(?:;|c(?:c;|ir;)|dot;|hree;|imes;|larr;|quest;|r(?:Par;|i(?:;|e;|f;))|)|ur(?:dshar;|uhar;)|v(?:ertneqq;|nE;))|m(?:DDot;|a(?:cr;?|l(?:e;|t(?:;|ese;))|p(?:;|sto(?:;|down;|left;|up;))|rker;)|c(?:omma;|y;)|dash;|easuredangle;|fr;|ho;|i(?:cro;?|d(?:;|ast;|cir;|dot;?)|nus(?:;|b;|d(?:;|u;)))|l(?:cp;|dr;)|nplus;|o(?:dels;|pf;)|p;|s(?:cr;|tpos;)|u(?:;|ltimap;|map;))|n(?:G(?:g;|t(?:;|v;))|L(?:eft(?:arrow;|rightarrow;)|l;|t(?:;|v;))|Rightarrow;|V(?:Dash;|dash;)|a(?:bla;|cute;|ng;|p(?:;|E;|id;|os;|prox;)|tur(?:;|al(?:;|s;)))|b(?:sp;?|ump(?:;|e;))|c(?:a(?:p;|ron;)|edil;|ong(?:;|dot;)|up;|y;)|dash;|e(?:;|Arr;|ar(?:hk;|r(?:;|ow;))|dot;|quiv;|s(?:ear;|im;)|xist(?:;|s;))|fr;|g(?:E;|e(?:;|q(?:;|q;|slant;)|s;)|sim;|t(?:;|r;))|h(?:Arr;|arr;|par;)|i(?:;|s(?:;|d;)|v;)|jcy;|l(?:Arr;|E;|arr;|dr;|e(?:;|ft(?:arrow;|rightarrow;)|q(?:;|q;|slant;)|s(?:;|s;))|sim;|t(?:;|ri(?:;|e;)))|mid;|o(?:pf;|t(?:;|in(?:;|E;|dot;|v(?:a;|b;|c;))|ni(?:;|v(?:a;|b;|c;))|))|p(?:ar(?:;|allel;|sl;|t;)|olint;|r(?:;|cue;|e(?:;|c(?:;|eq;))))|r(?:Arr;|arr(?:;|c;|w;)|ightarrow;|tri(?:;|e;))|s(?:c(?:;|cue;|e;|r;)|hort(?:mid;|parallel;)|im(?:;|e(?:;|q;))|mid;|par;|qsu(?:be;|pe;)|u(?:b(?:;|E;|e;|set(?:;|eq(?:;|q;)))|cc(?:;|eq;)|p(?:;|E;|e;|set(?:;|eq(?:;|q;)))))|t(?:gl;|ilde;?|lg;|riangle(?:left(?:;|eq;)|right(?:;|eq;)))|u(?:;|m(?:;|ero;|sp;))|v(?:Dash;|Harr;|ap;|dash;|g(?:e;|t;)|infin;|l(?:Arr;|e;|t(?:;|rie;))|r(?:Arr;|trie;)|sim;)|w(?:Arr;|ar(?:hk;|r(?:;|ow;))|near;))|o(?:S;|a(?:cute;?|st;)|c(?:ir(?:;|c;?)|y;)|d(?:ash;|blac;|iv;|ot;|sold;)|elig;|f(?:cir;|r;)|g(?:on;|rave;?|t;)|h(?:bar;|m;)|int;|l(?:arr;|c(?:ir;|ross;)|ine;|t;)|m(?:acr;|ega;|i(?:cron;|d;|nus;))|opf;|p(?:ar;|erp;|lus;)|r(?:;|arr;|d(?:;|er(?:;|of;)|f;?|m;?)|igof;|or;|slope;|v;)|s(?:cr;|lash;?|ol;)|ti(?:lde;?|mes(?:;|as;))|uml;?|vbar;)|p(?:ar(?:;|a(?:;|llel;|)|s(?:im;|l;)|t;)|cy;|er(?:cnt;|iod;|mil;|p;|tenk;)|fr;|h(?:i(?:;|v;)|mmat;|one;)|i(?:;|tchfork;|v;)|l(?:an(?:ck(?:;|h;)|kv;)|us(?:;|acir;|b;|cir;|d(?:o;|u;)|e;|mn;?|sim;|two;))|m;|o(?:intint;|pf;|und;?)|r(?:;|E;|ap;|cue;|e(?:;|c(?:;|approx;|curlyeq;|eq;|n(?:approx;|eqq;|sim;)|sim;))|ime(?:;|s;)|n(?:E;|ap;|sim;)|o(?:d;|f(?:alar;|line;|surf;)|p(?:;|to;))|sim;|urel;)|s(?:cr;|i;)|uncsp;)|q(?:fr;|int;|opf;|prime;|scr;|u(?:at(?:ernions;|int;)|est(?:;|eq;)|ot;?))|r(?:A(?:arr;|rr;|tail;)|Barr;|Har;|a(?:c(?:e;|ute;)|dic;|emptyv;|ng(?:;|d;|e;|le;)|quo;?|rr(?:;|ap;|b(?:;|fs;)|c;|fs;|hk;|lp;|pl;|sim;|tl;|w;)|t(?:ail;|io(?:;|nals;)))|b(?:arr;|brk;|r(?:ac(?:e;|k;)|k(?:e;|sl(?:d;|u;))))|c(?:aron;|e(?:dil;|il;)|ub;|y;)|d(?:ca;|ldhar;|quo(?:;|r;)|sh;)|e(?:al(?:;|ine;|part;|s;)|ct;|g;?)|f(?:isht;|loor;|r;)|h(?:ar(?:d;|u(?:;|l;))|o(?:;|v;))|i(?:ght(?:arrow(?:;|tail;)|harpoon(?:down;|up;)|left(?:arrows;|harpoons;)|rightarrows;|squigarrow;|threetimes;)|ng;|singdotseq;)|l(?:arr;|har;|m;)|moust(?:;|ache;)|nmid;|o(?:a(?:ng;|rr;)|brk;|p(?:ar;|f;|lus;)|times;)|p(?:ar(?:;|gt;)|polint;)|rarr;|s(?:aquo;|cr;|h;|q(?:b;|uo(?:;|r;)))|t(?:hree;|imes;|ri(?:;|e;|f;|ltri;))|uluhar;|x;)|s(?:acute;|bquo;|c(?:;|E;|a(?:p;|ron;)|cue;|e(?:;|dil;)|irc;|n(?:E;|ap;|sim;)|polint;|sim;|y;)|dot(?:;|b;|e;)|e(?:Arr;|ar(?:hk;|r(?:;|ow;))|ct;?|mi;|swar;|tm(?:inus;|n;)|xt;)|fr(?:;|own;)|h(?:arp;|c(?:hcy;|y;)|ort(?:mid;|parallel;)|y;?)|i(?:gma(?:;|f;|v;)|m(?:;|dot;|e(?:;|q;)|g(?:;|E;)|l(?:;|E;)|ne;|plus;|rarr;))|larr;|m(?:a(?:llsetminus;|shp;)|eparsl;|i(?:d;|le;)|t(?:;|e(?:;|s;)))|o(?:ftcy;|l(?:;|b(?:;|ar;))|pf;)|pa(?:des(?:;|uit;)|r;)|q(?:c(?:ap(?:;|s;)|up(?:;|s;))|su(?:b(?:;|e;|set(?:;|eq;))|p(?:;|e;|set(?:;|eq;)))|u(?:;|ar(?:e;|f;)|f;))|rarr;|s(?:cr;|etmn;|mile;|tarf;)|t(?:ar(?:;|f;)|r(?:aight(?:epsilon;|phi;)|ns;))|u(?:b(?:;|E;|dot;|e(?:;|dot;)|mult;|n(?:E;|e;)|plus;|rarr;|s(?:et(?:;|eq(?:;|q;)|neq(?:;|q;))|im;|u(?:b;|p;)))|cc(?:;|approx;|curlyeq;|eq;|n(?:approx;|eqq;|sim;)|sim;)|m;|ng;|p(?:1;?|2;?|3;?|;|E;|d(?:ot;|sub;)|e(?:;|dot;)|hs(?:ol;|ub;)|larr;|mult;|n(?:E;|e;)|plus;|s(?:et(?:;|eq(?:;|q;)|neq(?:;|q;))|im;|u(?:b;|p;))))|w(?:Arr;|ar(?:hk;|r(?:;|ow;))|nwar;)|zlig;?)|t(?:a(?:rget;|u;)|brk;|c(?:aron;|edil;|y;)|dot;|elrec;|fr;|h(?:e(?:re(?:4;|fore;)|ta(?:;|sym;|v;))|i(?:ck(?:approx;|sim;)|nsp;)|k(?:ap;|sim;)|orn;?)|i(?:lde;|mes(?:;|b(?:;|ar;)|d;|)|nt;)|o(?:ea;|p(?:;|bot;|cir;|f(?:;|ork;))|sa;)|prime;|r(?:ade;|i(?:angle(?:;|down;|left(?:;|eq;)|q;|right(?:;|eq;))|dot;|e;|minus;|plus;|sb;|time;)|pezium;)|s(?:c(?:r;|y;)|hcy;|trok;)|w(?:ixt;|ohead(?:leftarrow;|rightarrow;)))|u(?:Arr;|Har;|a(?:cute;?|rr;)|br(?:cy;|eve;)|c(?:irc;?|y;)|d(?:arr;|blac;|har;)|f(?:isht;|r;)|grave;?|h(?:ar(?:l;|r;)|blk;)|l(?:c(?:orn(?:;|er;)|rop;)|tri;)|m(?:acr;|l;?)|o(?:gon;|pf;)|p(?:arrow;|downarrow;|harpoon(?:left;|right;)|lus;|si(?:;|h;|lon;)|uparrows;)|r(?:c(?:orn(?:;|er;)|rop;)|ing;|tri;)|scr;|t(?:dot;|ilde;|ri(?:;|f;))|u(?:arr;|ml;?)|wangle;)|v(?:Arr;|Bar(?:;|v;)|Dash;|a(?:ngrt;|r(?:epsilon;|kappa;|nothing;|p(?:hi;|i;|ropto;)|r(?:;|ho;)|s(?:igma;|u(?:bsetneq(?:;|q;)|psetneq(?:;|q;)))|t(?:heta;|riangle(?:left;|right;))))|cy;|dash;|e(?:e(?:;|bar;|eq;)|llip;|r(?:bar;|t;))|fr;|ltri;|nsu(?:b;|p;)|opf;|prop;|rtri;|s(?:cr;|u(?:bn(?:E;|e;)|pn(?:E;|e;)))|zigzag;)|w(?:circ;|e(?:d(?:bar;|ge(?:;|q;))|ierp;)|fr;|opf;|p;|r(?:;|eath;)|scr;)|x(?:c(?:ap;|irc;|up;)|dtri;|fr;|h(?:Arr;|arr;)|i;|l(?:Arr;|arr;)|map;|nis;|o(?:dot;|p(?:f;|lus;)|time;)|r(?:Arr;|arr;)|s(?:cr;|qcup;)|u(?:plus;|tri;)|vee;|wedge;)|y(?:ac(?:ute;?|y;)|c(?:irc;|y;)|en;?|fr;|icy;|opf;|scr;|u(?:cy;|ml;?))|z(?:acute;|c(?:aron;|y;)|dot;|e(?:etrf;|ta;)|fr;|hcy;|igrarr;|opf;|scr;|w(?:j;|nj;)))|[\s\S]/g,st=32,bn=/[^\r"&\u0000]+/g,vt=/[^\r'&\u0000]+/g,Yr=/[^\r\t\n\f &>\u0000]+/g,$i=/[^\r\t\n\f \/>A-Z\u0000]+/g,xb=/[^\r\t\n\f \/=>A-Z\u0000]+/g,Rb=/[^\]\r\u0000\uffff]*/g,Ob=/[^&<\r\u0000\uffff]*/g,zh=/[^<\r\u0000\uffff]*/g,kb=/[^\r\u0000\uffff]*/g,Gh=/(?:(\/)?([a-z]+)>)|[\s\S]/g,Wh=/(?:([-a-z]+)[ \t\n\f]*=[ \t\n\f]*('[^'&\r\u0000]*'|"[^"&\r\u0000]*"|[^\t\n\r\f "&'\u0000>][^&> \t\n\r\f\u0000]*[ \t\n\f]))|[\s\S]/g,Eo=/[^\x09\x0A\x0C\x0D\x20]/,gl=/[^\x09\x0A\x0C\x0D\x20]/g,Lb=/[^\x00\x09\x0A\x0C\x0D\x20]/,fr=/^[\x09\x0A\x0C\x0D\x20]+/,bo=/\x00/g;function ht(j){var H=16384;if(j.length<H)return String.fromCharCode.apply(String,j);for(var re="",Z=0;Z<j.length;Z+=H)re+=String.fromCharCode.apply(String,j.slice(Z,Z+H));return re}function Pb(j){for(var H=[],re=0;re<j.length;re++)H[re]=j.charCodeAt(re);return H}function Oe(j,H){if(typeof H=="string")return j.namespaceURI===s.HTML&&j.localName===H;var re=H[j.namespaceURI];return re&&re[j.localName]}function Qh(j){return Oe(j,U)}function Kh(j){if(Oe(j,K))return!0;if(j.namespaceURI===s.MATHML&&j.localName==="annotation-xml"){var H=j.getAttribute("encoding");if(H&&(H=H.toLowerCase()),H==="text/html"||H==="application/xhtml+xml")return!0}return!1}function Fb(j){return j in O?O[j]:j}function Yh(j){for(var H=0,re=j.length;H<re;H++)j[H][0]in _&&(j[H][0]=_[j[H][0]])}function Zh(j){for(var H=0,re=j.length;H<re;H++)if(j[H][0]==="definitionurl"){j[H][0]="definitionURL";break}}function yl(j){for(var H=0,re=j.length;H<re;H++)j[H][0]in fe&&j[H].push(fe[j[H][0]])}function Xh(j,H){for(var re=0,Z=j.length;re<Z;re++){var Ve=j[re][0],X=j[re][1];H.hasAttribute(Ve)||H._setAttribute(Ve,X)}}Ne.ElementStack=function(){this.elements=[],this.top=null},Ne.ElementStack.prototype.push=function(j){this.elements.push(j),this.top=j},Ne.ElementStack.prototype.pop=function(j){this.elements.pop(),this.top=this.elements[this.elements.length-1]},Ne.ElementStack.prototype.popTag=function(j){for(var H=this.elements.length-1;H>0;H--){var re=this.elements[H];if(Oe(re,j))break}this.elements.length=H,this.top=this.elements[H-1]},Ne.ElementStack.prototype.popElementType=function(j){for(var H=this.elements.length-1;H>0&&!(this.elements[H]instanceof j);H--);this.elements.length=H,this.top=this.elements[H-1]},Ne.ElementStack.prototype.popElement=function(j){for(var H=this.elements.length-1;H>0&&this.elements[H]!==j;H--);this.elements.length=H,this.top=this.elements[H-1]},Ne.ElementStack.prototype.removeElement=function(j){if(this.top===j)this.pop();else{var H=this.elements.lastIndexOf(j);H!==-1&&this.elements.splice(H,1)}},Ne.ElementStack.prototype.clearToContext=function(j){for(var H=this.elements.length-1;H>0&&!Oe(this.elements[H],j);H--);this.elements.length=H+1,this.top=this.elements[H]},Ne.ElementStack.prototype.contains=function(j){return this.inSpecificScope(j,Object.create(null))},Ne.ElementStack.prototype.inSpecificScope=function(j,H){for(var re=this.elements.length-1;re>=0;re--){var Z=this.elements[re];if(Oe(Z,j))return!0;if(Oe(Z,H))return!1}return!1},Ne.ElementStack.prototype.elementInSpecificScope=function(j,H){for(var re=this.elements.length-1;re>=0;re--){var Z=this.elements[re];if(Z===j)return!0;if(Oe(Z,H))return!1}return!1},Ne.ElementStack.prototype.elementTypeInSpecificScope=function(j,H){for(var re=this.elements.length-1;re>=0;re--){var Z=this.elements[re];if(Z instanceof j)return!0;if(Oe(Z,H))return!1}return!1},Ne.ElementStack.prototype.inScope=function(j){return this.inSpecificScope(j,m)},Ne.ElementStack.prototype.elementInScope=function(j){return this.elementInSpecificScope(j,m)},Ne.ElementStack.prototype.elementTypeInScope=function(j){return this.elementTypeInSpecificScope(j,m)},Ne.ElementStack.prototype.inButtonScope=function(j){return this.inSpecificScope(j,y)},Ne.ElementStack.prototype.inListItemScope=function(j){return this.inSpecificScope(j,p)},Ne.ElementStack.prototype.inTableScope=function(j){return this.inSpecificScope(j,S)},Ne.ElementStack.prototype.inSelectScope=function(j){for(var H=this.elements.length-1;H>=0;H--){var re=this.elements[H];if(re.namespaceURI!==s.HTML)return!1;var Z=re.localName;if(Z===j)return!0;if(Z!=="optgroup"&&Z!=="option")return!1}return!1},Ne.ElementStack.prototype.generateImpliedEndTags=function(j,H){for(var re=H?q:pe,Z=this.elements.length-1;Z>=0;Z--){var Ve=this.elements[Z];if(j&&Oe(Ve,j)||!Oe(this.elements[Z],re))break}this.elements.length=Z+1,this.top=this.elements[Z]},Ne.ActiveFormattingElements=function(){this.list=[],this.attrs=[]},Ne.ActiveFormattingElements.prototype.MARKER={localName:"|"},Ne.ActiveFormattingElements.prototype.insertMarker=function(){this.list.push(this.MARKER),this.attrs.push(this.MARKER)},Ne.ActiveFormattingElements.prototype.push=function(j,H){for(var re=0,Z=this.list.length-1;Z>=0&&this.list[Z]!==this.MARKER;Z--)if(hr(j,this.list[Z],this.attrs[Z])&&(re++,re===3)){this.list.splice(Z,1),this.attrs.splice(Z,1);break}this.list.push(j);for(var Ve=[],X=0;X<H.length;X++)Ve[X]=H[X];this.attrs.push(Ve);function hr(Ln,pr,wn){if(Ln.localName!==pr.localName||Ln._numattrs!==wn.length)return!1;for(var Et=0,wo=wn.length;Et<wo;Et++){var mr=wn[Et][0],A=wn[Et][1];if(!Ln.hasAttribute(mr)||Ln.getAttribute(mr)!==A)return!1}return!0}},Ne.ActiveFormattingElements.prototype.clearToMarker=function(){for(var j=this.list.length-1;j>=0&&this.list[j]!==this.MARKER;j--);j<0&&(j=0),this.list.length=j,this.attrs.length=j},Ne.ActiveFormattingElements.prototype.findElementByTag=function(j){for(var H=this.list.length-1;H>=0;H--){var re=this.list[H];if(re===this.MARKER)break;if(re.localName===j)return re}return null},Ne.ActiveFormattingElements.prototype.indexOf=function(j){return this.list.lastIndexOf(j)},Ne.ActiveFormattingElements.prototype.remove=function(j){var H=this.list.lastIndexOf(j);H!==-1&&(this.list.splice(H,1),this.attrs.splice(H,1))},Ne.ActiveFormattingElements.prototype.replace=function(j,H,re){var Z=this.list.lastIndexOf(j);Z!==-1&&(this.list[Z]=H,this.attrs[Z]=re)},Ne.ActiveFormattingElements.prototype.insertAfter=function(j,H){var re=this.list.lastIndexOf(j);re!==-1&&(this.list.splice(re,0,H),this.attrs.splice(re,0,H))};function Ne(j,H,re){var Z=null,Ve=0,X=0,hr=!1,Ln=!1,pr=0,wn=[],Et="",wo=!0,mr=0,A=_e,Pn,ze,ke="",Do="",Le=[],Tt="",bt="",Ue=[],Fn=[],jn=[],Bn=[],$t=[],_o=!1,B=k0,Dn=null,_n=[],I=new Ne.ElementStack,Ee=new Ne.ActiveFormattingElements,gr=H!==void 0,To=null,Tn=null,So=!0;H&&(So=H.ownerDocument._scripting_enabled),re&&re.scripting_enabled===!1&&(So=!1);var Ge=!0,vl=!1,Co,El,G=[],Hn=!1,yr=!1,Io={document:function(){return Me},_asDocumentFragment:function(){for(var f=Me.createDocumentFragment(),h=Me.firstChild;h.hasChildNodes();)f.appendChild(h.firstChild);return f},pause:function(){mr++},resume:function(){mr--,this.parse("")},parse:function(f,h,b){var k;return mr>0?(Et+=f,!0):(pr===0?(Et&&(f=Et+f,Et=""),h&&(f+="\uFFFF",hr=!0),Z=f,Ve=f.length,X=0,wo&&(wo=!1,Z.charCodeAt(0)===65279&&(X=1)),pr++,k=ep(b),Et=Z.substring(X,Ve),pr--):(pr++,wn.push(Z,Ve,X),Z=f,Ve=f.length,X=0,ep(),k=!1,Et=Z.substring(X,Ve),X=wn.pop(),Ve=wn.pop(),Z=wn.pop(),Et&&(Z=Et+Z.substring(X),Ve=Z.length,X=0,Et=""),pr--),k)}},Me=new n(!0,j);if(Me._parser=Io,Me._scripting_enabled=So,H){if(H.ownerDocument._quirks&&(Me._quirks=!0),H.ownerDocument._limitedQuirks&&(Me._limitedQuirks=!0),H.namespaceURI===s.HTML)switch(H.localName){case"title":case"textarea":A=$n;break;case"style":case"xmp":case"iframe":case"noembed":case"noframes":case"script":case"plaintext":A=Tl;break}var Jh=Me.createElement("html");Me._appendChild(Jh),I.push(Jh),H instanceof a.HTMLTemplateElement&&_n.push(kl),Yi();for(var zi=H;zi!==null;zi=zi.parentElement)if(zi instanceof a.HTMLFormElement){Tn=zi;break}}function ep(f){for(var h,b,k,P;X<Ve;){if(mr>0||f&&f())return!0;switch(typeof A.lookahead){case"undefined":if(h=Z.charCodeAt(X++),Ln&&(Ln=!1,h===10)){X++;continue}switch(h){case 13:X<Ve?Z.charCodeAt(X)===10&&X++:Ln=!0,A(10);break;case 65535:if(hr&&X===Ve){A(l);break}default:A(h);break}break;case"number":h=Z.charCodeAt(X);var Q=A.lookahead,ae=!0;if(Q<0&&(ae=!1,Q=-Q),Q<Ve-X)b=ae?Z.substring(X,X+Q):null,P=!1;else if(hr)b=ae?Z.substring(X,Ve):null,P=!0,h===65535&&X===Ve-1&&(h=l);else return!0;A(h,b,P);break;case"string":h=Z.charCodeAt(X),k=A.lookahead;var Te=Z.indexOf(k,X);if(Te!==-1)b=Z.substring(X,Te+k.length),P=!1;else{if(!hr)return!0;b=Z.substring(X,Ve),h===65535&&X===Ve-1&&(h=l),P=!0}A(h,b,P);break}}return!1}function Un(f,h){for(var b=0;b<$t.length;b++)if($t[b][0]===f)return;h!==void 0?$t.push([f,h]):$t.push([f])}function jb(){Wh.lastIndex=X-1;var f=Wh.exec(Z);if(!f)throw new Error("should never happen");var h=f[1];if(!h)return!1;var b=f[2],k=b.length;switch(b[0]){case'"':case"'":b=b.substring(1,k-1),X+=f[0].length-1,A=Nl;break;default:A=ln,X+=f[0].length-1,b=b.substring(0,k-1);break}for(var P=0;P<$t.length;P++)if($t[P][0]===h)return!0;return $t.push([h,b]),!0}function Bb(){_o=!1,ke="",$t.length=0}function Gi(){_o=!0,ke="",$t.length=0}function Sn(){Le.length=0}function bl(){Tt=""}function wl(){bt=""}function tp(){Ue.length=0}function Zr(){Fn.length=0,jn=null,Bn=null}function No(){jn=[]}function Vn(){Bn=[]}function xe(){vl=!0}function Hb(){return I.top&&I.top.namespaceURI!=="http://www.w3.org/1999/xhtml"}function kt(f){return Do===f}function Xr(){if(G.length>0){var f=ht(G);if(G.length=0,yr&&(yr=!1,f[0]===`
`&&(f=f.substring(1)),f.length===0))return;Ke(u,f),Hn=!1}yr=!1}function Wi(f){f.lastIndex=X-1;var h=f.exec(Z);if(h&&h.index===X-1)return h=h[0],X+=h.length-1,hr&&X===Ve&&(h=h.slice(0,-1),X--),h;throw new Error("should never happen")}function Qi(f){f.lastIndex=X-1;var h=f.exec(Z)[0];return h?(Ub(h),X+=h.length-1,!0):!1}function Ub(f){G.length>0&&Xr(),!(yr&&(yr=!1,f[0]===`
`&&(f=f.substring(1)),f.length===0))&&Ke(u,f)}function Cn(){if(_o)Ke(g,ke);else{var f=ke;ke="",Do=f,Ke(d,f,$t)}}function Vb(){if(X===Ve)return!1;Gh.lastIndex=X;var f=Gh.exec(Z);if(!f)throw new Error("should never happen");var h=f[2];if(!h)return!1;var b=f[1];return b?(X+=h.length+2,Ke(g,h)):(X+=h.length+1,Do=h,Ke(d,h,M)),!0}function qb(){_o?Ke(g,ke,null,!0):Ke(d,ke,$t,!0)}function Re(){Ke(N,ht(Fn),jn?ht(jn):void 0,Bn?ht(Bn):void 0)}function ge(){Xr(),B(l),Me.modclock=1}var Ke=Io.insertToken=function(h,b,k,P){Xr();var Q=I.top;!Q||Q.namespaceURI===s.HTML?B(h,b,k,P):h!==d&&h!==u?yp(h,b,k,P):Qh(Q)&&(h===u||h===d&&b!=="mglyph"&&b!=="malignmark")||h===d&&b==="svg"&&Q.namespaceURI===s.MATHML&&Q.localName==="annotation-xml"||Kh(Q)?(El=!0,B(h,b,k,P),El=!1):yp(h,b,k,P)};function on(f){var h=I.top;qn&&Oe(h,te)?Ao(function(b){return b.createComment(f)}):(h instanceof a.HTMLTemplateElement&&(h=h.content),h._appendChild(h.ownerDocument.createComment(f)))}function an(f){var h=I.top;if(qn&&Oe(h,te))Ao(function(k){return k.createTextNode(f)});else{h instanceof a.HTMLTemplateElement&&(h=h.content);var b=h.lastChild;b&&b.nodeType===i.TEXT_NODE?b.appendData(f):h._appendChild(h.ownerDocument.createTextNode(f))}}function Ki(f,h,b){var k=o.createElement(f,h,null);if(b)for(var P=0,Q=b.length;P<Q;P++)k._setAttribute(b[P][0],b[P][1]);return k}var qn=!1;function de(f,h){var b=Mo(function(k){return Ki(k,f,h)});return Oe(b,v)&&(b._form=Tn),b}function Mo(f){var h;return qn&&Oe(I.top,te)?h=Ao(f):I.top instanceof a.HTMLTemplateElement?(h=f(I.top.content.ownerDocument),I.top.content._appendChild(h)):(h=f(I.top.ownerDocument),I.top._appendChild(h)),I.push(h),h}function Dl(f,h,b){return Mo(function(k){var P=k._createElementNS(f,b,null);if(h)for(var Q=0,ae=h.length;Q<ae;Q++){var Te=h[Q];Te.length===2?P._setAttribute(Te[0],Te[1]):P._setAttributeNS(Te[2],Te[0],Te[1])}return P})}function np(f){for(var h=I.elements.length-1;h>=0;h--)if(I.elements[h]instanceof f)return h;return-1}function Ao(f){var h,b,k=-1,P=-1,Q;if(k=np(a.HTMLTableElement),P=np(a.HTMLTemplateElement),P>=0&&(k<0||P>k)?h=I.elements[P]:k>=0&&(h=I.elements[k].parentNode,h?b=I.elements[k]:h=I.elements[k-1]),h||(h=I.elements[0]),h instanceof a.HTMLTemplateElement&&(h=h.content),Q=f(h.ownerDocument),Q.nodeType===i.TEXT_NODE){var ae;if(b?ae=b.previousSibling:ae=h.lastChild,ae&&ae.nodeType===i.TEXT_NODE)return ae.appendData(Q.data),Q}return b?h.insertBefore(Q,b):h._appendChild(Q),Q}function Yi(){for(var f=!1,h=I.elements.length-1;h>=0;h--){var b=I.elements[h];if(h===0&&(f=!0,gr&&(b=H)),b.namespaceURI===s.HTML){var k=b.localName;switch(k){case"select":for(var P=h;P>0;){var Q=I.elements[--P];if(Q instanceof a.HTMLTemplateElement)break;if(Q instanceof a.HTMLTableElement){B=$o;return}}B=In;return;case"tr":B=Ji;return;case"tbody":case"tfoot":case"thead":B=wr;return;case"caption":B=Ol;return;case"colgroup":B=qo;return;case"table":B=Lt;return;case"template":B=_n[_n.length-1];return;case"body":B=oe;return;case"frameset":B=Ll;return;case"html":To===null?B=Uo:B=Rl;return;default:if(!f){if(k==="head"){B=We;return}if(k==="td"||k==="th"){B=Jr;return}}}}if(f){B=oe;return}}}function xo(f,h){de(f,h),A=Zi,Dn=B,B=Vo}function $b(f,h){de(f,h),A=$n,Dn=B,B=Vo}function _l(f,h){return{elt:Ki(f,Ee.list[h].localName,Ee.attrs[h]),attrs:Ee.attrs[h]}}function gt(){if(Ee.list.length!==0){var f=Ee.list[Ee.list.length-1];if(f!==Ee.MARKER&&I.elements.lastIndexOf(f)===-1){for(var h=Ee.list.length-2;h>=0&&(f=Ee.list[h],!(f===Ee.MARKER||I.elements.lastIndexOf(f)!==-1));h--);for(h=h+1;h<Ee.list.length;h++){var b=Mo(function(k){return _l(k,h).elt});Ee.list[h]=b}}}}var Ro={localName:"BM"};function zb(f){if(Oe(I.top,f)&&Ee.indexOf(I.top)===-1)return I.pop(),!0;for(var h=0;h<8;){h++;var b=Ee.findElementByTag(f);if(!b)return!1;var k=I.elements.lastIndexOf(b);if(k===-1)return Ee.remove(b),!0;if(!I.elementInScope(b))return!0;for(var P=null,Q,ae=k+1;ae<I.elements.length;ae++)if(Oe(I.elements[ae],C)){P=I.elements[ae],Q=ae;break}if(P){var Te=I.elements[k-1];Ee.insertAfter(b,Ro);for(var qe=P,lt=P,Pt=Q,zt,Dr=0;Dr++,qe=I.elements[--Pt],qe!==b;){if(zt=Ee.indexOf(qe),Dr>3&&zt!==-1&&(Ee.remove(qe),zt=-1),zt===-1){I.removeElement(qe);continue}var Kn=_l(Te.ownerDocument,zt);Ee.replace(qe,Kn.elt,Kn.attrs),I.elements[Pt]=Kn.elt,qe=Kn.elt,lt===P&&(Ee.remove(Ro),Ee.insertAfter(Kn.elt,Ro)),qe._appendChild(lt),lt=qe}qn&&Oe(Te,te)?Ao(function(){return lt}):Te instanceof a.HTMLTemplateElement?Te.content._appendChild(lt):Te._appendChild(lt);for(var es=_l(P.ownerDocument,Ee.indexOf(b));P.hasChildNodes();)es.elt._appendChild(P.firstChild);P._appendChild(es.elt),Ee.remove(b),Ee.replace(Ro,es.elt,es.attrs),I.removeElement(b);var B0=I.elements.lastIndexOf(P);I.elements.splice(B0+1,0,es.elt)}else return I.popElement(b),Ee.remove(b),!0}return!0}function Gb(){I.pop(),B=Dn}function vr(){delete Me._parser,I.elements.length=0,Me.defaultView&&Me.defaultView.dispatchEvent(new a.Event("load",{}))}function ne(f,h){A=h,X--}function _e(f){switch(f){case 38:Pn=_e,A=Xi;break;case 60:if(Vb())break;A=Wb;break;case 0:G.push(f),Hn=!0;break;case-1:ge();break;default:Qi(Ob)||G.push(f);break}}function $n(f){switch(f){case 38:Pn=$n,A=Xi;break;case 60:A=Kb;break;case 0:G.push(65533),Hn=!0;break;case-1:ge();break;default:G.push(f);break}}function Zi(f){switch(f){case 60:A=Xb;break;case 0:G.push(65533);break;case-1:ge();break;default:Qi(zh)||G.push(f);break}}function zn(f){switch(f){case 60:A=t0;break;case 0:G.push(65533);break;case-1:ge();break;default:Qi(zh)||G.push(f);break}}function Tl(f){switch(f){case 0:G.push(65533);break;case-1:ge();break;default:Qi(kb)||G.push(f);break}}function Wb(f){switch(f){case 33:A=op;break;case 47:A=Qb;break;case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:case 97:case 98:case 99:case 100:case 101:case 102:case 103:case 104:case 105:case 106:case 107:case 108:case 109:case 110:case 111:case 112:case 113:case 114:case 115:case 116:case 117:case 118:case 119:case 120:case 121:case 122:Bb(),ne(f,rp);break;case 63:ne(f,Po);break;default:G.push(60),ne(f,_e);break}}function Qb(f){switch(f){case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:case 97:case 98:case 99:case 100:case 101:case 102:case 103:case 104:case 105:case 106:case 107:case 108:case 109:case 110:case 111:case 112:case 113:case 114:case 115:case 116:case 117:case 118:case 119:case 120:case 121:case 122:Gi(),ne(f,rp);break;case 62:A=_e;break;case-1:G.push(60),G.push(47),ge();break;default:ne(f,Po);break}}function rp(f){switch(f){case 9:case 10:case 12:case 32:A=ln;break;case 47:A=Wn;break;case 62:A=_e,Cn();break;case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:ke+=String.fromCharCode(f+32);break;case 0:ke+="\uFFFD";break;case-1:ge();break;default:ke+=Wi($i);break}}function Kb(f){f===47?(Sn(),A=Yb):(G.push(60),ne(f,$n))}function Yb(f){switch(f){case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:case 97:case 98:case 99:case 100:case 101:case 102:case 103:case 104:case 105:case 106:case 107:case 108:case 109:case 110:case 111:case 112:case 113:case 114:case 115:case 116:case 117:case 118:case 119:case 120:case 121:case 122:Gi(),ne(f,Zb);break;default:G.push(60),G.push(47),ne(f,$n);break}}function Zb(f){switch(f){case 9:case 10:case 12:case 32:if(kt(ke)){A=ln;return}break;case 47:if(kt(ke)){A=Wn;return}break;case 62:if(kt(ke)){A=_e,Cn();return}break;case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:ke+=String.fromCharCode(f+32),Le.push(f);return;case 97:case 98:case 99:case 100:case 101:case 102:case 103:case 104:case 105:case 106:case 107:case 108:case 109:case 110:case 111:case 112:case 113:case 114:case 115:case 116:case 117:case 118:case 119:case 120:case 121:case 122:ke+=String.fromCharCode(f),Le.push(f);return;default:break}G.push(60),G.push(47),c(G,Le),ne(f,$n)}function Xb(f){f===47?(Sn(),A=Jb):(G.push(60),ne(f,Zi))}function Jb(f){switch(f){case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:case 97:case 98:case 99:case 100:case 101:case 102:case 103:case 104:case 105:case 106:case 107:case 108:case 109:case 110:case 111:case 112:case 113:case 114:case 115:case 116:case 117:case 118:case 119:case 120:case 121:case 122:Gi(),ne(f,e0);break;default:G.push(60),G.push(47),ne(f,Zi);break}}function e0(f){switch(f){case 9:case 10:case 12:case 32:if(kt(ke)){A=ln;return}break;case 47:if(kt(ke)){A=Wn;return}break;case 62:if(kt(ke)){A=_e,Cn();return}break;case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:ke+=String.fromCharCode(f+32),Le.push(f);return;case 97:case 98:case 99:case 100:case 101:case 102:case 103:case 104:case 105:case 106:case 107:case 108:case 109:case 110:case 111:case 112:case 113:case 114:case 115:case 116:case 117:case 118:case 119:case 120:case 121:case 122:ke+=String.fromCharCode(f),Le.push(f);return;default:break}G.push(60),G.push(47),c(G,Le),ne(f,Zi)}function t0(f){switch(f){case 47:Sn(),A=n0;break;case 33:A=i0,G.push(60),G.push(33);break;default:G.push(60),ne(f,zn);break}}function n0(f){switch(f){case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:case 97:case 98:case 99:case 100:case 101:case 102:case 103:case 104:case 105:case 106:case 107:case 108:case 109:case 110:case 111:case 112:case 113:case 114:case 115:case 116:case 117:case 118:case 119:case 120:case 121:case 122:Gi(),ne(f,r0);break;default:G.push(60),G.push(47),ne(f,zn);break}}function r0(f){switch(f){case 9:case 10:case 12:case 32:if(kt(ke)){A=ln;return}break;case 47:if(kt(ke)){A=Wn;return}break;case 62:if(kt(ke)){A=_e,Cn();return}break;case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:ke+=String.fromCharCode(f+32),Le.push(f);return;case 97:case 98:case 99:case 100:case 101:case 102:case 103:case 104:case 105:case 106:case 107:case 108:case 109:case 110:case 111:case 112:case 113:case 114:case 115:case 116:case 117:case 118:case 119:case 120:case 121:case 122:ke+=String.fromCharCode(f),Le.push(f);return;default:break}G.push(60),G.push(47),c(G,Le),ne(f,zn)}function i0(f){f===45?(A=s0,G.push(45)):ne(f,zn)}function s0(f){f===45?(A=ip,G.push(45)):ne(f,zn)}function cn(f){switch(f){case 45:A=o0,G.push(45);break;case 60:A=Sl;break;case 0:G.push(65533);break;case-1:ge();break;default:G.push(f);break}}function o0(f){switch(f){case 45:A=ip,G.push(45);break;case 60:A=Sl;break;case 0:A=cn,G.push(65533);break;case-1:ge();break;default:A=cn,G.push(f);break}}function ip(f){switch(f){case 45:G.push(45);break;case 60:A=Sl;break;case 62:A=zn,G.push(62);break;case 0:A=cn,G.push(65533);break;case-1:ge();break;default:A=cn,G.push(f);break}}function Sl(f){switch(f){case 47:Sn(),A=a0;break;case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:case 97:case 98:case 99:case 100:case 101:case 102:case 103:case 104:case 105:case 106:case 107:case 108:case 109:case 110:case 111:case 112:case 113:case 114:case 115:case 116:case 117:case 118:case 119:case 120:case 121:case 122:Sn(),G.push(60),ne(f,l0);break;default:G.push(60),ne(f,cn);break}}function a0(f){switch(f){case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:case 97:case 98:case 99:case 100:case 101:case 102:case 103:case 104:case 105:case 106:case 107:case 108:case 109:case 110:case 111:case 112:case 113:case 114:case 115:case 116:case 117:case 118:case 119:case 120:case 121:case 122:Gi(),ne(f,c0);break;default:G.push(60),G.push(47),ne(f,cn);break}}function c0(f){switch(f){case 9:case 10:case 12:case 32:if(kt(ke)){A=ln;return}break;case 47:if(kt(ke)){A=Wn;return}break;case 62:if(kt(ke)){A=_e,Cn();return}break;case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:ke+=String.fromCharCode(f+32),Le.push(f);return;case 97:case 98:case 99:case 100:case 101:case 102:case 103:case 104:case 105:case 106:case 107:case 108:case 109:case 110:case 111:case 112:case 113:case 114:case 115:case 116:case 117:case 118:case 119:case 120:case 121:case 122:ke+=String.fromCharCode(f),Le.push(f);return;default:break}G.push(60),G.push(47),c(G,Le),ne(f,cn)}function l0(f){switch(f){case 9:case 10:case 12:case 32:case 47:case 62:ht(Le)==="script"?A=Gn:A=cn,G.push(f);break;case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:Le.push(f+32),G.push(f);break;case 97:case 98:case 99:case 100:case 101:case 102:case 103:case 104:case 105:case 106:case 107:case 108:case 109:case 110:case 111:case 112:case 113:case 114:case 115:case 116:case 117:case 118:case 119:case 120:case 121:case 122:Le.push(f),G.push(f);break;default:ne(f,cn);break}}function Gn(f){switch(f){case 45:A=u0,G.push(45);break;case 60:A=Cl,G.push(60);break;case 0:G.push(65533);break;case-1:ge();break;default:G.push(f);break}}function u0(f){switch(f){case 45:A=d0,G.push(45);break;case 60:A=Cl,G.push(60);break;case 0:A=Gn,G.push(65533);break;case-1:ge();break;default:A=Gn,G.push(f);break}}function d0(f){switch(f){case 45:G.push(45);break;case 60:A=Cl,G.push(60);break;case 62:A=zn,G.push(62);break;case 0:A=Gn,G.push(65533);break;case-1:ge();break;default:A=Gn,G.push(f);break}}function Cl(f){f===47?(Sn(),A=f0,G.push(47)):ne(f,Gn)}function f0(f){switch(f){case 9:case 10:case 12:case 32:case 47:case 62:ht(Le)==="script"?A=cn:A=Gn,G.push(f);break;case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:Le.push(f+32),G.push(f);break;case 97:case 98:case 99:case 100:case 101:case 102:case 103:case 104:case 105:case 106:case 107:case 108:case 109:case 110:case 111:case 112:case 113:case 114:case 115:case 116:case 117:case 118:case 119:case 120:case 121:case 122:Le.push(f),G.push(f);break;default:ne(f,Gn);break}}function ln(f){switch(f){case 9:case 10:case 12:case 32:break;case 47:A=Wn;break;case 62:A=_e,Cn();break;case-1:ge();break;case 61:bl(),Tt+=String.fromCharCode(f),A=Il;break;default:if(jb())break;bl(),ne(f,Il);break}}function Il(f){switch(f){case 9:case 10:case 12:case 32:case 47:case 62:case-1:ne(f,h0);break;case 61:A=sp;break;case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:Tt+=String.fromCharCode(f+32);break;case 0:Tt+="\uFFFD";break;case 34:case 39:case 60:default:Tt+=Wi(xb);break}}function h0(f){switch(f){case 9:case 10:case 12:case 32:break;case 47:Un(Tt),A=Wn;break;case 61:A=sp;break;case 62:A=_e,Un(Tt),Cn();break;case-1:Un(Tt),ge();break;default:Un(Tt),bl(),ne(f,Il);break}}function sp(f){switch(f){case 9:case 10:case 12:case 32:break;case 34:wl(),A=Oo;break;case 39:wl(),A=ko;break;case 62:default:wl(),ne(f,Lo);break}}function Oo(f){switch(f){case 34:Un(Tt,bt),A=Nl;break;case 38:Pn=Oo,A=Xi;break;case 0:bt+="\uFFFD";break;case-1:ge();break;case 10:bt+=String.fromCharCode(f);break;default:bt+=Wi(bn);break}}function ko(f){switch(f){case 39:Un(Tt,bt),A=Nl;break;case 38:Pn=ko,A=Xi;break;case 0:bt+="\uFFFD";break;case-1:ge();break;case 10:bt+=String.fromCharCode(f);break;default:bt+=Wi(vt);break}}function Lo(f){switch(f){case 9:case 10:case 12:case 32:Un(Tt,bt),A=ln;break;case 38:Pn=Lo,A=Xi;break;case 62:Un(Tt,bt),A=_e,Cn();break;case 0:bt+="\uFFFD";break;case-1:X--,A=_e;break;case 34:case 39:case 60:case 61:case 96:default:bt+=Wi(Yr);break}}function Nl(f){switch(f){case 9:case 10:case 12:case 32:A=ln;break;case 47:A=Wn;break;case 62:A=_e,Cn();break;case-1:ge();break;default:ne(f,ln);break}}function Wn(f){switch(f){case 62:A=_e,qb(!0);break;case-1:ge();break;default:ne(f,ln);break}}function Po(f,h,b){var k=h.length;b?X+=k-1:X+=k;var P=h.substring(0,k-1);P=P.replace(/\u0000/g,"\uFFFD"),P=P.replace(/\u000D\u000A/g,`
`),P=P.replace(/\u000D/g,`
`),Ke(D,P),A=_e}Po.lookahead=">";function op(f,h,b){if(h[0]==="-"&&h[1]==="-"){X+=2,tp(),A=p0;return}h.toUpperCase()==="DOCTYPE"?(X+=7,A=w0):h==="[CDATA["&&Hb()?(X+=7,A=xl):A=Po}op.lookahead=7;function p0(f){switch(tp(),f){case 45:A=m0;break;case 62:A=_e,Ke(D,ht(Ue));break;default:ne(f,Er);break}}function m0(f){switch(f){case 45:A=Fo;break;case 62:A=_e,Ke(D,ht(Ue));break;case-1:Ke(D,ht(Ue)),ge();break;default:Ue.push(45),ne(f,Er);break}}function Er(f){switch(f){case 60:Ue.push(f),A=g0;break;case 45:A=Ml;break;case 0:Ue.push(65533);break;case-1:Ke(D,ht(Ue)),ge();break;default:Ue.push(f);break}}function g0(f){switch(f){case 33:Ue.push(f),A=y0;break;case 60:Ue.push(f);break;default:ne(f,Er);break}}function y0(f){switch(f){case 45:A=v0;break;default:ne(f,Er);break}}function v0(f){switch(f){case 45:A=E0;break;default:ne(f,Ml);break}}function E0(f){switch(f){case 62:case-1:ne(f,Fo);break;default:ne(f,Fo);break}}function Ml(f){switch(f){case 45:A=Fo;break;case-1:Ke(D,ht(Ue)),ge();break;default:Ue.push(45),ne(f,Er);break}}function Fo(f){switch(f){case 62:A=_e,Ke(D,ht(Ue));break;case 33:A=b0;break;case 45:Ue.push(45);break;case-1:Ke(D,ht(Ue)),ge();break;default:Ue.push(45),Ue.push(45),ne(f,Er);break}}function b0(f){switch(f){case 45:Ue.push(45),Ue.push(45),Ue.push(33),A=Ml;break;case 62:A=_e,Ke(D,ht(Ue));break;case-1:Ke(D,ht(Ue)),ge();break;default:Ue.push(45),Ue.push(45),Ue.push(33),ne(f,Er);break}}function w0(f){switch(f){case 9:case 10:case 12:case 32:A=ap;break;case-1:Zr(),xe(),Re(),ge();break;default:ne(f,ap);break}}function ap(f){switch(f){case 9:case 10:case 12:case 32:break;case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:Zr(),Fn.push(f+32),A=Al;break;case 0:Zr(),Fn.push(65533),A=Al;break;case 62:Zr(),xe(),A=_e,Re();break;case-1:Zr(),xe(),Re(),ge();break;default:Zr(),Fn.push(f),A=Al;break}}function Al(f){switch(f){case 9:case 10:case 12:case 32:A=cp;break;case 62:A=_e,Re();break;case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:Fn.push(f+32);break;case 0:Fn.push(65533);break;case-1:xe(),Re(),ge();break;default:Fn.push(f);break}}function cp(f,h,b){switch(f){case 9:case 10:case 12:case 32:X+=1;break;case 62:A=_e,X+=1,Re();break;case-1:xe(),Re(),ge();break;default:h=h.toUpperCase(),h==="PUBLIC"?(X+=6,A=D0):h==="SYSTEM"?(X+=6,A=S0):(xe(),A=Qn);break}}cp.lookahead=6;function D0(f){switch(f){case 9:case 10:case 12:case 32:A=_0;break;case 34:No(),A=lp;break;case 39:No(),A=up;break;case 62:xe(),A=_e,Re();break;case-1:xe(),Re(),ge();break;default:xe(),A=Qn;break}}function _0(f){switch(f){case 9:case 10:case 12:case 32:break;case 34:No(),A=lp;break;case 39:No(),A=up;break;case 62:xe(),A=_e,Re();break;case-1:xe(),Re(),ge();break;default:xe(),A=Qn;break}}function lp(f){switch(f){case 34:A=dp;break;case 0:jn.push(65533);break;case 62:xe(),A=_e,Re();break;case-1:xe(),Re(),ge();break;default:jn.push(f);break}}function up(f){switch(f){case 39:A=dp;break;case 0:jn.push(65533);break;case 62:xe(),A=_e,Re();break;case-1:xe(),Re(),ge();break;default:jn.push(f);break}}function dp(f){switch(f){case 9:case 10:case 12:case 32:A=T0;break;case 62:A=_e,Re();break;case 34:Vn(),A=jo;break;case 39:Vn(),A=Bo;break;case-1:xe(),Re(),ge();break;default:xe(),A=Qn;break}}function T0(f){switch(f){case 9:case 10:case 12:case 32:break;case 62:A=_e,Re();break;case 34:Vn(),A=jo;break;case 39:Vn(),A=Bo;break;case-1:xe(),Re(),ge();break;default:xe(),A=Qn;break}}function S0(f){switch(f){case 9:case 10:case 12:case 32:A=C0;break;case 34:Vn(),A=jo;break;case 39:Vn(),A=Bo;break;case 62:xe(),A=_e,Re();break;case-1:xe(),Re(),ge();break;default:xe(),A=Qn;break}}function C0(f){switch(f){case 9:case 10:case 12:case 32:break;case 34:Vn(),A=jo;break;case 39:Vn(),A=Bo;break;case 62:xe(),A=_e,Re();break;case-1:xe(),Re(),ge();break;default:xe(),A=Qn;break}}function jo(f){switch(f){case 34:A=fp;break;case 0:Bn.push(65533);break;case 62:xe(),A=_e,Re();break;case-1:xe(),Re(),ge();break;default:Bn.push(f);break}}function Bo(f){switch(f){case 39:A=fp;break;case 0:Bn.push(65533);break;case 62:xe(),A=_e,Re();break;case-1:xe(),Re(),ge();break;default:Bn.push(f);break}}function fp(f){switch(f){case 9:case 10:case 12:case 32:break;case 62:A=_e,Re();break;case-1:xe(),Re(),ge();break;default:A=Qn;break}}function Qn(f){switch(f){case 62:A=_e,Re();break;case-1:Re(),ge();break;default:break}}function xl(f){switch(f){case 93:A=I0;break;case-1:ge();break;case 0:Hn=!0;default:Qi(Rb)||G.push(f);break}}function I0(f){switch(f){case 93:A=N0;break;default:G.push(93),ne(f,xl);break}}function N0(f){switch(f){case 93:G.push(93);break;case 62:Xr(),A=_e;break;default:G.push(93),G.push(93),ne(f,xl);break}}function Xi(f){switch(Sn(),Le.push(38),f){case 9:case 10:case 12:case 32:case 60:case 38:case-1:ne(f,br);break;case 35:Le.push(f),A=M0;break;default:ne(f,hp);break}}function hp(f){mt.lastIndex=X;var h=mt.exec(Z);if(!h)throw new Error("should never happen");var b=h[1];if(!b){A=br;return}switch(X+=b.length,c(Le,Pb(b)),Pn){case Oo:case ko:case Lo:if(b[b.length-1]!==";"&&/[=A-Za-z0-9]/.test(Z[X])){A=br;return}break;default:break}Sn();var k=De[b];typeof k=="number"?Le.push(k):c(Le,k),A=br}hp.lookahead=-st;function M0(f){switch(ze=0,f){case 120:case 88:Le.push(f),A=A0;break;default:ne(f,x0);break}}function A0(f){switch(f){case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:case 65:case 66:case 67:case 68:case 69:case 70:case 97:case 98:case 99:case 100:case 101:case 102:ne(f,R0);break;default:ne(f,br);break}}function x0(f){switch(f){case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:ne(f,O0);break;default:ne(f,br);break}}function R0(f){switch(f){case 65:case 66:case 67:case 68:case 69:case 70:ze*=16,ze+=f-55;break;case 97:case 98:case 99:case 100:case 101:case 102:ze*=16,ze+=f-87;break;case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:ze*=16,ze+=f-48;break;case 59:A=Ho;break;default:ne(f,Ho);break}}function O0(f){switch(f){case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:ze*=10,ze+=f-48;break;case 59:A=Ho;break;default:ne(f,Ho);break}}function Ho(f){ze in V?ze=V[ze]:(ze>1114111||ze>=55296&&ze<57344)&&(ze=65533),Sn(),ze<=65535?Le.push(ze):(ze=ze-65536,Le.push(55296+(ze>>10)),Le.push(56320+(ze&1023))),ne(f,br)}function br(f){switch(Pn){case Oo:case ko:case Lo:bt+=ht(Le);break;default:c(G,Le);break}ne(f,Pn)}function k0(f,h,b,k){switch(f){case 1:if(h=h.replace(fr,""),h.length===0)return;break;case 4:Me._appendChild(Me.createComment(h));return;case 5:var P=h,Q=b,ae=k;Me.appendChild(new r(Me,P,Q,ae)),vl||P.toLowerCase()!=="html"||$.test(Q)||ae&&ae.toLowerCase()===L||ae===void 0&&T.test(Q)?Me._quirks=!0:(w.test(Q)||ae!==void 0&&T.test(Q))&&(Me._limitedQuirks=!0),B=pp;return}Me._quirks=!0,B=pp,B(f,h,b,k)}function pp(f,h,b,k){var P;switch(f){case 1:if(h=h.replace(fr,""),h.length===0)return;break;case 5:return;case 4:Me._appendChild(Me.createComment(h));return;case 2:if(h==="html"){P=Ki(Me,h,b),I.push(P),Me.appendChild(P),B=Uo;return}break;case 3:switch(h){case"html":case"head":case"body":case"br":break;default:return}}P=Ki(Me,"html",null),I.push(P),Me.appendChild(P),B=Uo,B(f,h,b,k)}function Uo(f,h,b,k){switch(f){case 1:if(h=h.replace(fr,""),h.length===0)return;break;case 5:return;case 4:on(h);return;case 2:switch(h){case"html":oe(f,h,b,k);return;case"head":var P=de(h,b);To=P,B=We;return}break;case 3:switch(h){case"html":case"head":case"body":case"br":break;default:return}}Uo(d,"head",null),B(f,h,b,k)}function We(f,h,b,k){switch(f){case 1:var P=h.match(fr);if(P&&(an(P[0]),h=h.substring(P[0].length)),h.length===0)return;break;case 4:on(h);return;case 5:return;case 2:switch(h){case"html":oe(f,h,b,k);return;case"meta":case"base":case"basefont":case"bgsound":case"link":de(h,b),I.pop();return;case"title":$b(h,b);return;case"noscript":if(!So){de(h,b),B=mp;return}case"noframes":case"style":xo(h,b);return;case"script":Mo(function(Q){var ae=Ki(Q,h,b);return ae._parser_inserted=!0,ae._force_async=!1,gr&&(ae._already_started=!0),Xr(),ae}),A=zn,Dn=B,B=Vo;return;case"template":de(h,b),Ee.insertMarker(),Ge=!1,B=kl,_n.push(B);return;case"head":return}break;case 3:switch(h){case"head":I.pop(),B=Rl;return;case"body":case"html":case"br":break;case"template":if(!I.contains("template"))return;I.generateImpliedEndTags(null,"thorough"),I.popTag("template"),Ee.clearToMarker(),_n.pop(),Yi();return;default:return}break}We(g,"head",null),B(f,h,b,k)}function mp(f,h,b,k){switch(f){case 5:return;case 4:We(f,h);return;case 1:var P=h.match(fr);if(P&&(We(f,P[0]),h=h.substring(P[0].length)),h.length===0)return;break;case 2:switch(h){case"html":oe(f,h,b,k);return;case"basefont":case"bgsound":case"link":case"meta":case"noframes":case"style":We(f,h,b);return;case"head":case"noscript":return}break;case 3:switch(h){case"noscript":I.pop(),B=We;return;case"br":break;default:return}break}mp(g,"noscript",null),B(f,h,b,k)}function Rl(f,h,b,k){switch(f){case 1:var P=h.match(fr);if(P&&(an(P[0]),h=h.substring(P[0].length)),h.length===0)return;break;case 4:on(h);return;case 5:return;case 2:switch(h){case"html":oe(f,h,b,k);return;case"body":de(h,b),Ge=!1,B=oe;return;case"frameset":de(h,b),B=Ll;return;case"base":case"basefont":case"bgsound":case"link":case"meta":case"noframes":case"script":case"style":case"template":case"title":I.push(To),We(d,h,b),I.removeElement(To);return;case"head":return}break;case 3:switch(h){case"template":return We(f,h,b,k);case"body":case"html":case"br":break;default:return}break}Rl(d,"body",null),Ge=!0,B(f,h,b,k)}function oe(f,h,b,k){var P,Q,ae,Te;switch(f){case 1:if(Hn&&(h=h.replace(bo,""),h.length===0))return;Ge&&Eo.test(h)&&(Ge=!1),gt(),an(h);return;case 5:return;case 4:on(h);return;case-1:if(_n.length)return kl(f);vr();return;case 2:switch(h){case"html":if(I.contains("template"))return;Xh(b,I.elements[0]);return;case"base":case"basefont":case"bgsound":case"link":case"meta":case"noframes":case"script":case"style":case"template":case"title":We(d,h,b);return;case"body":if(P=I.elements[1],!P||!(P instanceof a.HTMLBodyElement)||I.contains("template"))return;Ge=!1,Xh(b,P);return;case"frameset":if(!Ge||(P=I.elements[1],!P||!(P instanceof a.HTMLBodyElement)))return;for(P.parentNode&&P.parentNode.removeChild(P);!(I.top instanceof a.HTMLHtmlElement);)I.pop();de(h,b),B=Ll;return;case"address":case"article":case"aside":case"blockquote":case"center":case"details":case"dialog":case"dir":case"div":case"dl":case"fieldset":case"figcaption":case"figure":case"footer":case"header":case"hgroup":case"main":case"nav":case"ol":case"p":case"section":case"summary":case"ul":I.inButtonScope("p")&&oe(g,"p"),de(h,b);return;case"menu":I.inButtonScope("p")&&oe(g,"p"),Oe(I.top,"menuitem")&&I.pop(),de(h,b);return;case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":I.inButtonScope("p")&&oe(g,"p"),I.top instanceof a.HTMLHeadingElement&&I.pop(),de(h,b);return;case"pre":case"listing":I.inButtonScope("p")&&oe(g,"p"),de(h,b),yr=!0,Ge=!1;return;case"form":if(Tn&&!I.contains("template"))return;I.inButtonScope("p")&&oe(g,"p"),Te=de(h,b),I.contains("template")||(Tn=Te);return;case"li":for(Ge=!1,Q=I.elements.length-1;Q>=0;Q--){if(ae=I.elements[Q],ae instanceof a.HTMLLIElement){oe(g,"li");break}if(Oe(ae,C)&&!Oe(ae,E))break}I.inButtonScope("p")&&oe(g,"p"),de(h,b);return;case"dd":case"dt":for(Ge=!1,Q=I.elements.length-1;Q>=0;Q--){if(ae=I.elements[Q],Oe(ae,ee)){oe(g,ae.localName);break}if(Oe(ae,C)&&!Oe(ae,E))break}I.inButtonScope("p")&&oe(g,"p"),de(h,b);return;case"plaintext":I.inButtonScope("p")&&oe(g,"p"),de(h,b),A=Tl;return;case"button":I.inScope("button")?(oe(g,"button"),B(f,h,b,k)):(gt(),de(h,b),Ge=!1);return;case"a":var qe=Ee.findElementByTag("a");qe&&(oe(g,h),Ee.remove(qe),I.removeElement(qe));case"b":case"big":case"code":case"em":case"font":case"i":case"s":case"small":case"strike":case"strong":case"tt":case"u":gt(),Ee.push(de(h,b),b);return;case"nobr":gt(),I.inScope(h)&&(oe(g,h),gt()),Ee.push(de(h,b),b);return;case"applet":case"marquee":case"object":gt(),de(h,b),Ee.insertMarker(),Ge=!1;return;case"table":!Me._quirks&&I.inButtonScope("p")&&oe(g,"p"),de(h,b),Ge=!1,B=Lt;return;case"area":case"br":case"embed":case"img":case"keygen":case"wbr":gt(),de(h,b),I.pop(),Ge=!1;return;case"input":gt(),Te=de(h,b),I.pop();var lt=Te.getAttribute("type");(!lt||lt.toLowerCase()!=="hidden")&&(Ge=!1);return;case"param":case"source":case"track":de(h,b),I.pop();return;case"hr":I.inButtonScope("p")&&oe(g,"p"),Oe(I.top,"menuitem")&&I.pop(),de(h,b),I.pop(),Ge=!1;return;case"image":oe(d,"img",b,k);return;case"textarea":de(h,b),yr=!0,Ge=!1,A=$n,Dn=B,B=Vo;return;case"xmp":I.inButtonScope("p")&&oe(g,"p"),gt(),Ge=!1,xo(h,b);return;case"iframe":Ge=!1,xo(h,b);return;case"noembed":xo(h,b);return;case"select":gt(),de(h,b),Ge=!1,B===Lt||B===Ol||B===wr||B===Ji||B===Jr?B=$o:B=In;return;case"optgroup":case"option":I.top instanceof a.HTMLOptionElement&&oe(g,"option"),gt(),de(h,b);return;case"menuitem":Oe(I.top,"menuitem")&&I.pop(),gt(),de(h,b);return;case"rb":case"rtc":I.inScope("ruby")&&I.generateImpliedEndTags(),de(h,b);return;case"rp":case"rt":I.inScope("ruby")&&I.generateImpliedEndTags("rtc"),de(h,b);return;case"math":gt(),Zh(b),yl(b),Dl(h,b,s.MATHML),k&&I.pop();return;case"svg":gt(),Yh(b),yl(b),Dl(h,b,s.SVG),k&&I.pop();return;case"caption":case"col":case"colgroup":case"frame":case"head":case"tbody":case"td":case"tfoot":case"th":case"thead":case"tr":return}gt(),de(h,b);return;case 3:switch(h){case"template":We(g,h,b);return;case"body":if(!I.inScope("body"))return;B=gp;return;case"html":if(!I.inScope("body"))return;B=gp,B(f,h,b);return;case"address":case"article":case"aside":case"blockquote":case"button":case"center":case"details":case"dialog":case"dir":case"div":case"dl":case"fieldset":case"figcaption":case"figure":case"footer":case"header":case"hgroup":case"listing":case"main":case"menu":case"nav":case"ol":case"pre":case"section":case"summary":case"ul":if(!I.inScope(h))return;I.generateImpliedEndTags(),I.popTag(h);return;case"form":if(I.contains("template")){if(!I.inScope("form"))return;I.generateImpliedEndTags(),I.popTag("form")}else{var Pt=Tn;if(Tn=null,!Pt||!I.elementInScope(Pt))return;I.generateImpliedEndTags(),I.removeElement(Pt)}return;case"p":I.inButtonScope(h)?(I.generateImpliedEndTags(h),I.popTag(h)):(oe(d,h,null),B(f,h,b,k));return;case"li":if(!I.inListItemScope(h))return;I.generateImpliedEndTags(h),I.popTag(h);return;case"dd":case"dt":if(!I.inScope(h))return;I.generateImpliedEndTags(h),I.popTag(h);return;case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":if(!I.elementTypeInScope(a.HTMLHeadingElement))return;I.generateImpliedEndTags(),I.popElementType(a.HTMLHeadingElement);return;case"sarcasm":break;case"a":case"b":case"big":case"code":case"em":case"font":case"i":case"nobr":case"s":case"small":case"strike":case"strong":case"tt":case"u":var zt=zb(h);if(zt)return;break;case"applet":case"marquee":case"object":if(!I.inScope(h))return;I.generateImpliedEndTags(),I.popTag(h),Ee.clearToMarker();return;case"br":oe(d,h,null);return}for(Q=I.elements.length-1;Q>=0;Q--)if(ae=I.elements[Q],Oe(ae,h)){I.generateImpliedEndTags(h),I.popElement(ae);break}else if(Oe(ae,C))return;return}}function Vo(f,h,b,k){switch(f){case 1:an(h);return;case-1:I.top instanceof a.HTMLScriptElement&&(I.top._already_started=!0),I.pop(),B=Dn,B(f);return;case 3:h==="script"?Gb():(I.pop(),B=Dn);return;default:return}}function Lt(f,h,b,k){function P(ae){for(var Te=0,qe=ae.length;Te<qe;Te++)if(ae[Te][0]==="type")return ae[Te][1].toLowerCase();return null}switch(f){case 1:if(El){oe(f,h,b,k);return}else if(Oe(I.top,te)){Co=[],Dn=B,B=L0,B(f,h,b,k);return}break;case 4:on(h);return;case 5:return;case 2:switch(h){case"caption":I.clearToContext(R),Ee.insertMarker(),de(h,b),B=Ol;return;case"colgroup":I.clearToContext(R),de(h,b),B=qo;return;case"col":Lt(d,"colgroup",null),B(f,h,b,k);return;case"tbody":case"tfoot":case"thead":I.clearToContext(R),de(h,b),B=wr;return;case"td":case"th":case"tr":Lt(d,"tbody",null),B(f,h,b,k);return;case"table":if(!I.inTableScope(h))return;Lt(g,h),B(f,h,b,k);return;case"style":case"script":case"template":We(f,h,b,k);return;case"input":var Q=P(b);if(Q!=="hidden")break;de(h,b),I.pop();return;case"form":if(Tn||I.contains("template"))return;Tn=de(h,b),I.popElement(Tn);return}break;case 3:switch(h){case"table":if(!I.inTableScope(h))return;I.popTag(h),Yi();return;case"body":case"caption":case"col":case"colgroup":case"html":case"tbody":case"td":case"tfoot":case"th":case"thead":case"tr":return;case"template":We(f,h,b,k);return}break;case-1:oe(f,h,b,k);return}qn=!0,oe(f,h,b,k),qn=!1}function L0(f,h,b,k){if(f===u){if(Hn&&(h=h.replace(bo,""),h.length===0))return;Co.push(h)}else{var P=Co.join("");Co.length=0,Eo.test(P)?(qn=!0,oe(u,P),qn=!1):an(P),B=Dn,B(f,h,b,k)}}function Ol(f,h,b,k){function P(){return I.inTableScope("caption")?(I.generateImpliedEndTags(),I.popTag("caption"),Ee.clearToMarker(),B=Lt,!0):!1}switch(f){case 2:switch(h){case"caption":case"col":case"colgroup":case"tbody":case"td":case"tfoot":case"th":case"thead":case"tr":P()&&B(f,h,b,k);return}break;case 3:switch(h){case"caption":P();return;case"table":P()&&B(f,h,b,k);return;case"body":case"col":case"colgroup":case"html":case"tbody":case"td":case"tfoot":case"th":case"thead":case"tr":return}break}oe(f,h,b,k)}function qo(f,h,b,k){switch(f){case 1:var P=h.match(fr);if(P&&(an(P[0]),h=h.substring(P[0].length)),h.length===0)return;break;case 4:on(h);return;case 5:return;case 2:switch(h){case"html":oe(f,h,b,k);return;case"col":de(h,b),I.pop();return;case"template":We(f,h,b,k);return}break;case 3:switch(h){case"colgroup":if(!Oe(I.top,"colgroup"))return;I.pop(),B=Lt;return;case"col":return;case"template":We(f,h,b,k);return}break;case-1:oe(f,h,b,k);return}Oe(I.top,"colgroup")&&(qo(g,"colgroup"),B(f,h,b,k))}function wr(f,h,b,k){function P(){!I.inTableScope("tbody")&&!I.inTableScope("thead")&&!I.inTableScope("tfoot")||(I.clearToContext(F),wr(g,I.top.localName,null),B(f,h,b,k))}switch(f){case 2:switch(h){case"tr":I.clearToContext(F),de(h,b),B=Ji;return;case"th":case"td":wr(d,"tr",null),B(f,h,b,k);return;case"caption":case"col":case"colgroup":case"tbody":case"tfoot":case"thead":P();return}break;case 3:switch(h){case"table":P();return;case"tbody":case"tfoot":case"thead":I.inTableScope(h)&&(I.clearToContext(F),I.pop(),B=Lt);return;case"body":case"caption":case"col":case"colgroup":case"html":case"td":case"th":case"tr":return}break}Lt(f,h,b,k)}function Ji(f,h,b,k){function P(){return I.inTableScope("tr")?(I.clearToContext(Y),I.pop(),B=wr,!0):!1}switch(f){case 2:switch(h){case"th":case"td":I.clearToContext(Y),de(h,b),B=Jr,Ee.insertMarker();return;case"caption":case"col":case"colgroup":case"tbody":case"tfoot":case"thead":case"tr":P()&&B(f,h,b,k);return}break;case 3:switch(h){case"tr":P();return;case"table":P()&&B(f,h,b,k);return;case"tbody":case"tfoot":case"thead":I.inTableScope(h)&&P()&&B(f,h,b,k);return;case"body":case"caption":case"col":case"colgroup":case"html":case"td":case"th":return}break}Lt(f,h,b,k)}function Jr(f,h,b,k){switch(f){case 2:switch(h){case"caption":case"col":case"colgroup":case"tbody":case"td":case"tfoot":case"th":case"thead":case"tr":I.inTableScope("td")?(Jr(g,"td"),B(f,h,b,k)):I.inTableScope("th")&&(Jr(g,"th"),B(f,h,b,k));return}break;case 3:switch(h){case"td":case"th":if(!I.inTableScope(h))return;I.generateImpliedEndTags(),I.popTag(h),Ee.clearToMarker(),B=Ji;return;case"body":case"caption":case"col":case"colgroup":case"html":return;case"table":case"tbody":case"tfoot":case"thead":case"tr":if(!I.inTableScope(h))return;Jr(g,I.inTableScope("td")?"td":"th"),B(f,h,b,k);return}break}oe(f,h,b,k)}function In(f,h,b,k){switch(f){case 1:if(Hn&&(h=h.replace(bo,""),h.length===0))return;an(h);return;case 4:on(h);return;case 5:return;case-1:oe(f,h,b,k);return;case 2:switch(h){case"html":oe(f,h,b,k);return;case"option":I.top instanceof a.HTMLOptionElement&&In(g,h),de(h,b);return;case"optgroup":I.top instanceof a.HTMLOptionElement&&In(g,"option"),I.top instanceof a.HTMLOptGroupElement&&In(g,h),de(h,b);return;case"select":In(g,h);return;case"input":case"keygen":case"textarea":if(!I.inSelectScope("select"))return;In(g,"select"),B(f,h,b,k);return;case"script":case"template":We(f,h,b,k);return}break;case 3:switch(h){case"optgroup":I.top instanceof a.HTMLOptionElement&&I.elements[I.elements.length-2]instanceof a.HTMLOptGroupElement&&In(g,"option"),I.top instanceof a.HTMLOptGroupElement&&I.pop();return;case"option":I.top instanceof a.HTMLOptionElement&&I.pop();return;case"select":if(!I.inSelectScope(h))return;I.popTag(h),Yi();return;case"template":We(f,h,b,k);return}break}}function $o(f,h,b,k){switch(h){case"caption":case"table":case"tbody":case"tfoot":case"thead":case"tr":case"td":case"th":switch(f){case 2:$o(g,"select"),B(f,h,b,k);return;case 3:I.inTableScope(h)&&($o(g,"select"),B(f,h,b,k));return}}In(f,h,b,k)}function kl(f,h,b,k){function P(Q){B=Q,_n[_n.length-1]=B,B(f,h,b,k)}switch(f){case 1:case 4:case 5:oe(f,h,b,k);return;case-1:I.contains("template")?(I.popTag("template"),Ee.clearToMarker(),_n.pop(),Yi(),B(f,h,b,k)):vr();return;case 2:switch(h){case"base":case"basefont":case"bgsound":case"link":case"meta":case"noframes":case"script":case"style":case"template":case"title":We(f,h,b,k);return;case"caption":case"colgroup":case"tbody":case"tfoot":case"thead":P(Lt);return;case"col":P(qo);return;case"tr":P(wr);return;case"td":case"th":P(Ji);return}P(oe);return;case 3:switch(h){case"template":We(f,h,b,k);return;default:return}}}function gp(f,h,b,k){switch(f){case 1:if(Eo.test(h))break;oe(f,h);return;case 4:I.elements[0]._appendChild(Me.createComment(h));return;case 5:return;case-1:vr();return;case 2:if(h==="html"){oe(f,h,b,k);return}break;case 3:if(h==="html"){if(gr)return;B=F0;return}break}B=oe,B(f,h,b,k)}function Ll(f,h,b,k){switch(f){case 1:h=h.replace(gl,""),h.length>0&&an(h);return;case 4:on(h);return;case 5:return;case-1:vr();return;case 2:switch(h){case"html":oe(f,h,b,k);return;case"frameset":de(h,b);return;case"frame":de(h,b),I.pop();return;case"noframes":We(f,h,b,k);return}break;case 3:if(h==="frameset"){if(gr&&I.top instanceof a.HTMLHtmlElement)return;I.pop(),!gr&&!(I.top instanceof a.HTMLFrameSetElement)&&(B=P0);return}break}}function P0(f,h,b,k){switch(f){case 1:h=h.replace(gl,""),h.length>0&&an(h);return;case 4:on(h);return;case 5:return;case-1:vr();return;case 2:switch(h){case"html":oe(f,h,b,k);return;case"noframes":We(f,h,b,k);return}break;case 3:if(h==="html"){B=j0;return}break}}function F0(f,h,b,k){switch(f){case 1:if(Eo.test(h))break;oe(f,h,b,k);return;case 4:Me._appendChild(Me.createComment(h));return;case 5:oe(f,h,b,k);return;case-1:vr();return;case 2:if(h==="html"){oe(f,h,b,k);return}break}B=oe,B(f,h,b,k)}function j0(f,h,b,k){switch(f){case 1:h=h.replace(gl,""),h.length>0&&oe(f,h,b,k);return;case 4:Me._appendChild(Me.createComment(h));return;case 5:oe(f,h,b,k);return;case-1:vr();return;case 2:switch(h){case"html":oe(f,h,b,k);return;case"noframes":We(f,h,b,k);return}break}}function yp(f,h,b,k){function P(qe){for(var lt=0,Pt=qe.length;lt<Pt;lt++)switch(qe[lt][0]){case"color":case"face":case"size":return!0}return!1}var Q;switch(f){case 1:Ge&&Lb.test(h)&&(Ge=!1),Hn&&(h=h.replace(bo,"\uFFFD")),an(h);return;case 4:on(h);return;case 5:return;case 2:switch(h){case"font":if(!P(b))break;case"b":case"big":case"blockquote":case"body":case"br":case"center":case"code":case"dd":case"div":case"dl":case"dt":case"em":case"embed":case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":case"head":case"hr":case"i":case"img":case"li":case"listing":case"menu":case"meta":case"nobr":case"ol":case"p":case"pre":case"ruby":case"s":case"small":case"span":case"strong":case"strike":case"sub":case"sup":case"table":case"tt":case"u":case"ul":case"var":if(gr)break;do I.pop(),Q=I.top;while(Q.namespaceURI!==s.HTML&&!Qh(Q)&&!Kh(Q));Ke(f,h,b,k);return}Q=I.elements.length===1&&gr?H:I.top,Q.namespaceURI===s.MATHML?Zh(b):Q.namespaceURI===s.SVG&&(h=Fb(h),Yh(b)),yl(b),Dl(h,b,Q.namespaceURI),k&&(h==="script"&&(Q.namespaceURI,s.SVG),I.pop());return;case 3:if(Q=I.top,h==="script"&&Q.namespaceURI===s.SVG&&Q.localName==="script")I.pop();else for(var ae=I.elements.length-1,Te=I.elements[ae];;){if(Te.localName.toLowerCase()===h){I.popElement(Te);break}if(Te=I.elements[--ae],Te.namespaceURI===s.HTML){B(f,h,b,k);break}}return}}return Io.testTokenizer=function(f,h,b,k){var P=[];switch(h){case"PCDATA state":A=_e;break;case"RCDATA state":A=$n;break;case"RAWTEXT state":A=Zi;break;case"PLAINTEXT state":A=Tl;break}if(b&&(Do=b),Ke=function(ae,Te,qe,lt){switch(Xr(),ae){case 1:P.length>0&&P[P.length-1][0]==="Character"?P[P.length-1][1]+=Te:P.push(["Character",Te]);break;case 4:P.push(["Comment",Te]);break;case 5:P.push(["DOCTYPE",Te,qe===void 0?null:qe,lt===void 0?null:lt,!vl]);break;case 2:for(var Pt=Object.create(null),zt=0;zt<qe.length;zt++){var Dr=qe[zt];Dr.length===1?Pt[Dr[0]]="":Pt[Dr[0]]=Dr[1]}var Kn=["StartTag",Te,Pt];lt&&Kn.push(!0),P.push(Kn);break;case 3:P.push(["EndTag",Te]);break;case-1:break}},!k)this.parse(f,!0);else{for(var Q=0;Q<f.length;Q++)this.parse(f[Q]);this.parse("",!0)}return P},Io}}}),Xc=se({"external/npm/node_modules/domino/lib/DOMImplementation.js"(t,e){"use strict";e.exports=a;var n=nh(),r=rh(),i=ih(),s=Xe(),o=Yf();function a(l){this.contextObject=l}var c={xml:{"":!0,"1.0":!0,"2.0":!0},core:{"":!0,"2.0":!0},html:{"":!0,"1.0":!0,"2.0":!0},xhtml:{"":!0,"1.0":!0,"2.0":!0}};a.prototype={hasFeature:function(u,d){var g=c[(u||"").toLowerCase()];return g&&g[d||""]||!1},createDocumentType:function(u,d,g){return o.isValidQName(u)||s.InvalidCharacterError(),new r(this.contextObject,u,d,g)},createDocument:function(u,d,g){var D=new n(!1,null),N;return d?N=D.createElementNS(u,d):N=null,g&&D.appendChild(g),N&&D.appendChild(N),u===s.NAMESPACE.HTML?D._contentType="application/xhtml+xml":u===s.NAMESPACE.SVG?D._contentType="image/svg+xml":D._contentType="application/xml",D},createHTMLDocument:function(u){var d=new n(!0,null);d.appendChild(new r(d,"html"));var g=d.createElement("html");d.appendChild(g);var D=d.createElement("head");if(g.appendChild(D),u!==void 0){var N=d.createElement("title");D.appendChild(N),N.appendChild(d.createTextNode(u))}return g.appendChild(d.createElement("body")),d.modclock=1,d},mozSetOutputMutationHandler:function(l,u){l.mutationHandler=u},mozGetInputMutationHandler:function(l){s.nyi()},mozHTMLParser:i}}}),lN=se({"external/npm/node_modules/domino/lib/Location.js"(t,e){"use strict";var n=Jf(),r=HE();e.exports=i;function i(s,o){this._window=s,this._href=o}i.prototype=Object.create(r.prototype,{constructor:{value:i},href:{get:function(){return this._href},set:function(s){this.assign(s)}},assign:{value:function(s){var o=new n(this._href),a=o.resolve(s);this._href=a}},replace:{value:function(s){this.assign(s)}},reload:{value:function(){this.assign(this.href)}},toString:{value:function(){return this.href}}})}}),uN=se({"external/npm/node_modules/domino/lib/NavigatorID.js"(t,e){"use strict";var n=Object.create(null,{appCodeName:{value:"Mozilla"},appName:{value:"Netscape"},appVersion:{value:"4.0"},platform:{value:""},product:{value:"Gecko"},productSub:{value:"20100101"},userAgent:{value:""},vendor:{value:""},vendorSub:{value:""},taintEnabled:{value:function(){return!1}}});e.exports=n}}),dN=se({"external/npm/node_modules/domino/lib/WindowTimers.js"(t,e){"use strict";var n={setTimeout,clearTimeout,setInterval,clearInterval};e.exports=n}}),qE=se({"external/npm/node_modules/domino/lib/impl.js"(t,e){"use strict";var n=Xe();t=e.exports={CSSStyleDeclaration:eh(),CharacterData:Yc(),Comment:LE(),DOMException:Wf(),DOMImplementation:Xc(),DOMTokenList:AE(),Document:nh(),DocumentFragment:PE(),DocumentType:rh(),Element:eo(),HTMLParser:ih(),NamedNodeMap:RE(),Node:pt(),NodeList:ki(),NodeFilter:Zc(),ProcessingInstruction:FE(),Text:kE(),Window:$E()},n.merge(t,BE()),n.merge(t,th().elements),n.merge(t,VE().elements)}}),$E=se({"external/npm/node_modules/domino/lib/Window.js"(t,e){"use strict";var n=Xc(),r=CE(),i=lN(),s=Xe();e.exports=o;function o(a){this.document=a||new n(null).createHTMLDocument(""),this.document._scripting_enabled=!0,this.document.defaultView=this,this.location=new i(this,this.document._address||"about:blank")}o.prototype=Object.create(r.prototype,{console:{value:console},history:{value:{back:s.nyi,forward:s.nyi,go:s.nyi}},navigator:{value:uN()},window:{get:function(){return this}},self:{get:function(){return this}},frames:{get:function(){return this}},parent:{get:function(){return this}},top:{get:function(){return this}},length:{value:0},frameElement:{value:null},opener:{value:null},onload:{get:function(){return this._getEventHandler("load")},set:function(a){this._setEventHandler("load",a)}},getComputedStyle:{value:function(c){return c.style}}}),s.expose(dN(),o),s.expose(qE(),o)}}),fN=se({"external/npm/node_modules/domino/lib/index.js"(t){var e=Xc(),n=ih(),r=$E(),i=qE();t.createDOMImplementation=function(){return new e(null)},t.createDocument=function(s,o){if(s||o){var a=new n;return a.parse(s||"",!0),a.document()}return new e(null).createHTMLDocument("")},t.createIncrementalHTMLParser=function(){var s=new n;return{write:function(o){o.length>0&&s.parse(o,!1,function(){return!0})},end:function(o){s.parse(o||"",!0,function(){return!0})},process:function(o){return s.parse("",!1,o)},document:function(){return s.document()}}},t.createWindow=function(s,o){var a=t.createDocument(s);return o!==void 0&&(a._address=o),new i.Window(a)},t.impl=i}}),Kc=fN();function hN(){Object.assign(globalThis,Kc.impl),globalThis.KeyboardEvent=Kc.impl.Event}function zE(t,e="/"){return Kc.createWindow(t,e).document}function pN(t){return t.serialize()}var Gf=class t extends Vs{constructor(){super(...arguments),this.supportsDOMEvents=!1}static makeCurrent(){hN(),Tc(new t)}createHtmlDocument(){return zE("<html><head><title>fakeTitle</title></head><body></body></html>")}getDefaultDocument(){return t.defaultDoc||(t.defaultDoc=Kc.createDocument()),t.defaultDoc}isElementNode(e){return e?e.nodeType===t.defaultDoc.ELEMENT_NODE:!1}isShadowRoot(e){return e.shadowRoot==e}getGlobalEventTarget(e,n){return n==="window"?e.defaultView:n==="document"?e:n==="body"?e.body:null}getBaseHref(e){return e.documentElement.querySelector("base")?.getAttribute("href")||""}dispatchEvent(e,n){e.dispatchEvent(n);let i=(e.ownerDocument||e).defaultView;i&&i.dispatchEvent(n)}getUserAgent(){return"Fake user agent"}getCookie(e){throw new Error("getCookie has not been implemented")}},GE=(()=>{let e=class e{constructor(r){this._doc=r}renderToString(){return pN(this._doc)}getDocument(){return this._doc}};e.\u0275fac=function(i){return new(i||e)(ue($e))},e.\u0275prov=ie({token:e,factory:e.\u0275fac});let t=e;return t})(),mN=(()=>{let e=class e{\u0275loadImpl(){return _r(this,null,function*(){if(!this.xhrImpl){let{default:r}=yield import("./chunk-O73ZHKXN.mjs");this.xhrImpl=r}})}build(){let r=this.xhrImpl;if(!r)throw new Error("Unexpected state in ServerXhr: XHR implementation is not loaded.");return new r.XMLHttpRequest}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=ie({token:e,factory:e.\u0275fac});let t=e;return t})();function gN(t,e){let n=W(Bs),{href:r,protocol:i,hostname:s,port:o}=n;if(!i.startsWith("http"))return e(t);let a=`${i}//${s}`;o&&(a+=`:${o}`);let c=n.getBaseHrefFromDOM()||r,l=new URL(c,a),u=new URL(t.url,l).toString();return e(t.clone({url:u}))}var yN=[{provide:Mi,useClass:mN},{provide:af,useValue:gN,multi:!0}],Jc=new ce("Server.INITIAL_CONFIG"),WE=new ce("Server.RENDER_MODULE_HOOK"),Qc="resolve:";function zf(t){let{hostname:e,protocol:n,port:r,pathname:i,search:s,hash:o}=new URL(t,Qc+"//");return n!==Qc&&r===""&&/\:(80|443)/.test(t)&&(r=n==="http:"?"80":"443"),n===Qc&&t.charAt(0)!=="/"&&(i=i.slice(1)),{hostname:e,protocol:n===Qc?"":n,port:r,pathname:i,search:s,hash:o}}var vN=(()=>{let e=class e{constructor(r,i){this._doc=r,this.href="/",this.hostname="/",this.protocol="/",this.port="/",this.pathname="/",this.search="",this.hash="",this._hashUpdate=new ut;let s=i;if(s){if(s.url){let o=zf(s.url);this.protocol=o.protocol,this.hostname=o.hostname,this.port=o.port,this.pathname=o.pathname,this.search=o.search,this.hash=o.hash,this.href=r.location.href}if(s.useAbsoluteUrl){if(!s.baseUrl)throw new Error('"PlatformConfig.baseUrl" must be set if "useAbsoluteUrl" is true');let o=zf(s.baseUrl);this.protocol=o.protocol,this.hostname=o.hostname,this.port=o.port}}}getBaseHrefFromDOM(){return mn().getBaseHref(this._doc)}onPopState(r){return()=>{}}onHashChange(r){let i=this._hashUpdate.subscribe(r);return()=>i.unsubscribe()}get url(){return`${this.pathname}${this.search}${this.hash}`}setHash(r,i){if(this.hash===r)return;this.hash=r;let s=this.url;queueMicrotask(()=>this._hashUpdate.next({type:"hashchange",state:null,oldUrl:i,newUrl:s}))}replaceState(r,i,s){let o=this.url,a=zf(s);this.pathname=a.pathname,this.search=a.search,this.setHash(a.hash,o)}pushState(r,i,s){this.replaceState(r,i,s)}forward(){throw new Error("Not implemented")}back(){throw new Error("Not implemented")}getState(){}};e.\u0275fac=function(i){return new(i||e)(ue($e),ue(Jc,8))},e.\u0275prov=ie({token:e,factory:e.\u0275fac});let t=e;return t})(),EN=(()=>{let e=class e extends Ai{constructor(r){super(r),this.doc=r}supports(r){return!0}addEventListener(r,i,s){return mn().onAndCancel(r,i,s)}};e.\u0275fac=function(i){return new(i||e)(ue($e))},e.\u0275prov=ie({token:e,factory:e.\u0275fac});let t=e;return t})(),bN=[{provide:WE,useFactory:wN,deps:[$e,Si,pn],multi:!0}];function wN(t,e,n){return()=>{let r=n.toJson();if(n.isEmpty)return;let i=t.createElement("script");i.id=e+"-state",i.setAttribute("type","application/json"),i.textContent=r,t.body.appendChild(i)}}var DN=[{provide:$e,useFactory:CN,deps:[nn]},{provide:Ut,useValue:nf},{provide:Ms,useFactory:_N,multi:!0},{provide:Bs,useClass:vN,deps:[$e,[Ts,Jc]]},{provide:GE,deps:[$e]},{provide:wc,useValue:!0}];function _N(){return()=>{Gf.makeCurrent()}}var TN=[{provide:qs,multi:!0,useClass:EN}],SN=[bN,TN,yN,{provide:zd,useValue:null},{provide:Ec,useValue:null},{provide:sf,useClass:js}];function CN(t){let e=t.get(Jc,null),n;return e&&e.document?n=typeof e.document=="string"?zE(e.document,e.url):e.document:n=mn().createHtmlDocument(),oc(n),n}var IN=Dc(Zd,"server",DN);function zP(){return On([_E(),...SN])}function QE(t){let e=t.platformProviders??[];return IN([{provide:Jc,useValue:{document:t.document,url:t.url}},e])}function NN(t){let e=t.createComment(Td);t.body.firstChild?t.body.insertBefore(e,t.body.firstChild):t.body.append(e)}function MN(t){let e=t.injector,n=xN(e.get(AN,YE));t.components.forEach(r=>{let i=r.injector.get(xs),s=r.location.nativeElement;s&&i.setAttribute(s,"ng-server-context",n)})}function KE(t,e){return _r(this,null,function*(){let n=e.injector;yield Ps(e);let r=t.injector.get(GE);if(e.injector.get(hi,!1)){let o=r.getDocument();NN(o),Dv(e,o)}let i=n.get(WE,null);if(i){let o=[];for(let a of i)try{let c=a();c&&o.push(c)}catch(c){console.warn("Ignoring BEFORE_APP_SERIALIZED Exception: ",c)}if(o.length)for(let a of yield Promise.allSettled(o))a.status==="rejected"&&console.warn("Ignoring BEFORE_APP_SERIALIZED Exception: ",a.reason)}MN(e);let s=r.renderToString();return yield new Promise(o=>{setTimeout(()=>{t.destroy(),o()},0)}),s})}var YE="other",AN=new ce("SERVER_CONTEXT");function xN(t){let e=t.replace(/[^a-zA-Z0-9\-]/g,"");return e.length>0?e:YE}function GP(t,e){return _r(this,null,function*(){let{document:n,url:r,extraProviders:i}=e,s=QE({document:n,url:r,platformProviders:i}),a=(yield s.bootstrapModule(t)).injector.get(rn);return KE(s,a)})}function WP(t,e){return _r(this,null,function*(){let n=QE(e),r=yield t();return KE(n,r)})}var ve="primary",go=Symbol("RouteTitle"),lh=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 Bi(t){return new lh(t)}function RN(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 s=0;s<r.length;s++){let o=r[s],a=t[s];if(o.startsWith(":"))i[o.substring(1)]=a;else if(o!==a.path)return null}return{consumed:t.slice(0,r.length),posParams:i}}function ON(t,e){if(t.length!==e.length)return!1;for(let n=0;n<t.length;++n)if(!vn(t[n],e[n]))return!1;return!0}function vn(t,e){let n=t?uh(t):void 0,r=e?uh(e):void 0;if(!n||!r||n.length!=r.length)return!1;let i;for(let s=0;s<n.length;s++)if(i=n[s],!nb(t[i],e[i]))return!1;return!0}function uh(t){return[...Object.keys(t),...Object.getOwnPropertySymbols(t)]}function nb(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,s)=>r[s]===i)}else return t===e}function rb(t){return t.length>0?t[t.length-1]:null}function dr(t){return Kl(t)?t:Ls(t)?et(Promise.resolve(t)):he(t)}var kN={exact:sb,subset:ob},ib={exact:LN,subset:PN,ignored:()=>!0};function ZE(t,e,n){return kN[n.paths](t.root,e.root,n.matrixParams)&&ib[n.queryParams](t.queryParams,e.queryParams)&&!(n.fragment==="exact"&&t.fragment!==e.fragment)}function LN(t,e){return vn(t,e)}function sb(t,e,n){if(!Wr(t.segments,e.segments)||!nl(t.segments,e.segments,n)||t.numberOfChildren!==e.numberOfChildren)return!1;for(let r in e.children)if(!t.children[r]||!sb(t.children[r],e.children[r],n))return!1;return!0}function PN(t,e){return Object.keys(e).length<=Object.keys(t).length&&Object.keys(e).every(n=>nb(t[n],e[n]))}function ob(t,e,n){return ab(t,e,e.segments,n)}function ab(t,e,n,r){if(t.segments.length>n.length){let i=t.segments.slice(0,n.length);return!(!Wr(i,n)||e.hasChildren()||!nl(i,n,r))}else if(t.segments.length===n.length){if(!Wr(t.segments,n)||!nl(t.segments,n,r))return!1;for(let i in e.children)if(!t.children[i]||!ob(t.children[i],e.children[i],r))return!1;return!0}else{let i=n.slice(0,t.segments.length),s=n.slice(t.segments.length);return!Wr(t.segments,i)||!nl(t.segments,i,r)||!t.children[ve]?!1:ab(t.children[ve],e,s,r)}}function nl(t,e,n){return e.every((r,i)=>ib[n](t[i].parameters,r.parameters))}var lr=class{constructor(e=new Pe([],{}),n={},r=null){this.root=e,this.queryParams=n,this.fragment=r}get queryParamMap(){return this._queryParamMap??=Bi(this.queryParams),this._queryParamMap}toString(){return BN.serialize(this)}},Pe=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 rl(this)}},Gr=class{constructor(e,n){this.path=e,this.parameters=n}get parameterMap(){return this._parameterMap??=Bi(this.parameters),this._parameterMap}toString(){return lb(this)}};function FN(t,e){return Wr(t,e)&&t.every((n,r)=>vn(n.parameters,e[r].parameters))}function Wr(t,e){return t.length!==e.length?!1:t.every((n,r)=>n.path===e[r].path)}function jN(t,e){let n=[];return Object.entries(t.children).forEach(([r,i])=>{r===ve&&(n=n.concat(e(i,r)))}),Object.entries(t.children).forEach(([r,i])=>{r!==ve&&(n=n.concat(e(i,r)))}),n}var Ph=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=ie({token:e,factory:()=>new sl,providedIn:"root"});let t=e;return t})(),sl=class{parse(e){let n=new fh(e);return new lr(n.parseRootSegment(),n.parseQueryParams(),n.parseFragment())}serialize(e){let n=`/${to(e.root,!0)}`,r=VN(e.queryParams),i=typeof e.fragment=="string"?`#${HN(e.fragment)}`:"";return`${n}${r}${i}`}},BN=new sl;function rl(t){return t.segments.map(e=>lb(e)).join("/")}function to(t,e){if(!t.hasChildren())return rl(t);if(e){let n=t.children[ve]?to(t.children[ve],!1):"",r=[];return Object.entries(t.children).forEach(([i,s])=>{i!==ve&&r.push(`${i}:${to(s,!1)}`)}),r.length>0?`${n}(${r.join("//")})`:n}else{let n=jN(t,(r,i)=>i===ve?[to(t.children[ve],!1)]:[`${i}:${to(r,!1)}`]);return Object.keys(t.children).length===1&&t.children[ve]!=null?`${rl(t)}/${n[0]}`:`${rl(t)}/(${n.join("//")})`}}function cb(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function el(t){return cb(t).replace(/%3B/gi,";")}function HN(t){return encodeURI(t)}function dh(t){return cb(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function il(t){return decodeURIComponent(t)}function XE(t){return il(t.replace(/\+/g,"%20"))}function lb(t){return`${dh(t.path)}${UN(t.parameters)}`}function UN(t){return Object.entries(t).map(([e,n])=>`;${dh(e)}=${dh(n)}`).join("")}function VN(t){let e=Object.entries(t).map(([n,r])=>Array.isArray(r)?r.map(i=>`${el(n)}=${el(i)}`).join("&"):`${el(n)}=${el(r)}`).filter(n=>n);return e.length?`?${e.join("&")}`:""}var qN=/^[^\/()?;#]+/;function sh(t){let e=t.match(qN);return e?e[0]:""}var $N=/^[^\/()?;=#]+/;function zN(t){let e=t.match($N);return e?e[0]:""}var GN=/^[^=?&#]+/;function WN(t){let e=t.match(GN);return e?e[0]:""}var QN=/^[^&#]+/;function KN(t){let e=t.match(QN);return e?e[0]:""}var fh=class{constructor(e){this.url=e,this.remaining=e}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new Pe([],{}):new Pe([],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[ve]=new Pe(e,n)),r}parseSegment(){let e=sh(this.remaining);if(e===""&&this.peekStartsWith(";"))throw new z(4009,!1);return this.capture(e),new Gr(il(e),this.parseMatrixParams())}parseMatrixParams(){let e={};for(;this.consumeOptional(";");)this.parseParam(e);return e}parseParam(e){let n=zN(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){let i=sh(this.remaining);i&&(r=i,this.capture(r))}e[il(n)]=il(r)}parseQueryParam(e){let n=WN(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){let o=KN(this.remaining);o&&(r=o,this.capture(r))}let i=XE(n),s=XE(r);if(e.hasOwnProperty(i)){let o=e[i];Array.isArray(o)||(o=[o],e[i]=o),o.push(s)}else e[i]=s}parseParens(e){let n={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let r=sh(this.remaining),i=this.remaining[r.length];if(i!=="/"&&i!==")"&&i!==";")throw new z(4010,!1);let s;r.indexOf(":")>-1?(s=r.slice(0,r.indexOf(":")),this.capture(s),this.capture(":")):e&&(s=ve);let o=this.parseChildren();n[s]=Object.keys(o).length===1?o[ve]:new Pe([],o),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 z(4011,!1)}};function ub(t){return t.segments.length>0?new Pe([],{[ve]:t}):t}function db(t){let e={};for(let[r,i]of Object.entries(t.children)){let s=db(i);if(r===ve&&s.segments.length===0&&s.hasChildren())for(let[o,a]of Object.entries(s.children))e[o]=a;else(s.segments.length>0||s.hasChildren())&&(e[r]=s)}let n=new Pe(t.segments,e);return YN(n)}function YN(t){if(t.numberOfChildren===1&&t.children[ve]){let e=t.children[ve];return new Pe(t.segments.concat(e.segments),e.children)}return t}function Hi(t){return t instanceof lr}function ZN(t,e,n=null,r=null){let i=fb(t);return hb(i,e,n,r)}function fb(t){let e;function n(s){let o={};for(let c of s.children){let l=n(c);o[c.outlet]=l}let a=new Pe(s.url,o);return s===t&&(e=a),a}let r=n(t.root),i=ub(r);return e??i}function hb(t,e,n,r){let i=t;for(;i.parent;)i=i.parent;if(e.length===0)return oh(i,i,i,n,r);let s=XN(e);if(s.toRoot())return oh(i,i,new Pe([],{}),n,r);let o=JN(s,i,t),a=o.processChildren?io(o.segmentGroup,o.index,s.commands):mb(o.segmentGroup,o.index,s.commands);return oh(i,o.segmentGroup,a,n,r)}function ol(t){return typeof t=="object"&&t!=null&&!t.outlets&&!t.segmentPath}function ao(t){return typeof t=="object"&&t!=null&&t.outlets}function oh(t,e,n,r,i){let s={};r&&Object.entries(r).forEach(([c,l])=>{s[c]=Array.isArray(l)?l.map(u=>`${u}`):`${l}`});let o;t===e?o=n:o=pb(t,e,n);let a=ub(db(o));return new lr(a,s,i)}function pb(t,e,n){let r={};return Object.entries(t.children).forEach(([i,s])=>{s===e?r[i]=n:r[i]=pb(s,e,n)}),new Pe(t.segments,r)}var al=class{constructor(e,n,r){if(this.isAbsolute=e,this.numberOfDoubleDots=n,this.commands=r,e&&r.length>0&&ol(r[0]))throw new z(4003,!1);let i=r.find(ao);if(i&&i!==rb(r))throw new z(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function XN(t){if(typeof t[0]=="string"&&t.length===1&&t[0]==="/")return new al(!0,0,t);let e=0,n=!1,r=t.reduce((i,s,o)=>{if(typeof s=="object"&&s!=null){if(s.outlets){let a={};return Object.entries(s.outlets).forEach(([c,l])=>{a[c]=typeof l=="string"?l.split("/"):l}),[...i,{outlets:a}]}if(s.segmentPath)return[...i,s.segmentPath]}return typeof s!="string"?[...i,s]:o===0?(s.split("/").forEach((a,c)=>{c==0&&a==="."||(c==0&&a===""?n=!0:a===".."?e++:a!=""&&i.push(a))}),i):[...i,s]},[]);return new al(n,e,r)}var Fi=class{constructor(e,n,r){this.segmentGroup=e,this.processChildren=n,this.index=r}};function JN(t,e,n){if(t.isAbsolute)return new Fi(e,!0,0);if(!n)return new Fi(e,!1,NaN);if(n.parent===null)return new Fi(n,!0,0);let r=ol(t.commands[0])?0:1,i=n.segments.length-1+r;return eM(n,i,t.numberOfDoubleDots)}function eM(t,e,n){let r=t,i=e,s=n;for(;s>i;){if(s-=i,r=r.parent,!r)throw new z(4005,!1);i=r.segments.length}return new Fi(r,!1,i-s)}function tM(t){return ao(t[0])?t[0].outlets:{[ve]:t}}function mb(t,e,n){if(t??=new Pe([],{}),t.segments.length===0&&t.hasChildren())return io(t,e,n);let r=nM(t,e,n),i=n.slice(r.commandIndex);if(r.match&&r.pathIndex<t.segments.length){let s=new Pe(t.segments.slice(0,r.pathIndex),{});return s.children[ve]=new Pe(t.segments.slice(r.pathIndex),t.children),io(s,0,i)}else return r.match&&i.length===0?new Pe(t.segments,{}):r.match&&!t.hasChildren()?hh(t,e,n):r.match?io(t,0,i):hh(t,e,n)}function io(t,e,n){if(n.length===0)return new Pe(t.segments,{});{let r=tM(n),i={};if(Object.keys(r).some(s=>s!==ve)&&t.children[ve]&&t.numberOfChildren===1&&t.children[ve].segments.length===0){let s=io(t.children[ve],e,n);return new Pe(t.segments,s.children)}return Object.entries(r).forEach(([s,o])=>{typeof o=="string"&&(o=[o]),o!==null&&(i[s]=mb(t.children[s],e,o))}),Object.entries(t.children).forEach(([s,o])=>{r[s]===void 0&&(i[s]=o)}),new Pe(t.segments,i)}}function nM(t,e,n){let r=0,i=e,s={match:!1,pathIndex:0,commandIndex:0};for(;i<t.segments.length;){if(r>=n.length)return s;let o=t.segments[i],a=n[r];if(ao(a))break;let c=`${a}`,l=r<n.length-1?n[r+1]:null;if(i>0&&c===void 0)break;if(c&&l&&typeof l=="object"&&l.outlets===void 0){if(!eb(c,l,o))return s;r+=2}else{if(!eb(c,{},o))return s;r++}i++}return{match:!0,pathIndex:i,commandIndex:r}}function hh(t,e,n){let r=t.segments.slice(0,e),i=0;for(;i<n.length;){let s=n[i];if(ao(s)){let c=rM(s.outlets);return new Pe(r,c)}if(i===0&&ol(n[0])){let c=t.segments[e];r.push(new Gr(c.path,JE(n[0]))),i++;continue}let o=ao(s)?s.outlets[ve]:`${s}`,a=i<n.length-1?n[i+1]:null;o&&a&&ol(a)?(r.push(new Gr(o,JE(a))),i+=2):(r.push(new Gr(o,{})),i++)}return new Pe(r,{})}function rM(t){let e={};return Object.entries(t).forEach(([n,r])=>{typeof r=="string"&&(r=[r]),r!==null&&(e[n]=hh(new Pe([],{}),0,r))}),e}function JE(t){let e={};return Object.entries(t).forEach(([n,r])=>e[n]=`${r}`),e}function eb(t,e,n){return t==n.path&&vn(e,n.parameters)}var so="imperative",ft=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}(ft||{}),qt=class{constructor(e,n){this.id=e,this.url=n}},co=class extends qt{constructor(e,n,r="imperative",i=null){super(e,n),this.type=ft.NavigationStart,this.navigationTrigger=r,this.restoredState=i}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},Qr=class extends qt{constructor(e,n,r){super(e,n),this.urlAfterRedirects=r,this.type=ft.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},Ot=function(t){return t[t.Redirect=0]="Redirect",t[t.SupersededByNewNavigation=1]="SupersededByNewNavigation",t[t.NoDataFromResolver=2]="NoDataFromResolver",t[t.GuardRejected=3]="GuardRejected",t}(Ot||{}),ph=function(t){return t[t.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",t[t.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",t}(ph||{}),ur=class extends qt{constructor(e,n,r,i){super(e,n),this.reason=r,this.code=i,this.type=ft.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},Kr=class extends qt{constructor(e,n,r,i){super(e,n),this.reason=r,this.code=i,this.type=ft.NavigationSkipped}},lo=class extends qt{constructor(e,n,r,i){super(e,n),this.error=r,this.target=i,this.type=ft.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},cl=class extends qt{constructor(e,n,r,i){super(e,n),this.urlAfterRedirects=r,this.state=i,this.type=ft.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},mh=class extends qt{constructor(e,n,r,i){super(e,n),this.urlAfterRedirects=r,this.state=i,this.type=ft.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},gh=class extends qt{constructor(e,n,r,i,s){super(e,n),this.urlAfterRedirects=r,this.state=i,this.shouldActivate=s,this.type=ft.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},yh=class extends qt{constructor(e,n,r,i){super(e,n),this.urlAfterRedirects=r,this.state=i,this.type=ft.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},vh=class extends qt{constructor(e,n,r,i){super(e,n),this.urlAfterRedirects=r,this.state=i,this.type=ft.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Eh=class{constructor(e){this.route=e,this.type=ft.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},bh=class{constructor(e){this.route=e,this.type=ft.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},wh=class{constructor(e){this.snapshot=e,this.type=ft.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Dh=class{constructor(e){this.snapshot=e,this.type=ft.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},_h=class{constructor(e){this.snapshot=e,this.type=ft.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Th=class{constructor(e){this.snapshot=e,this.type=ft.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}};var uo=class{},fo=class{constructor(e){this.url=e}};var Sh=class{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new pl,this.attachRef=null}},pl=(()=>{let e=class e{constructor(){this.contexts=new Map}onChildOutletCreated(r,i){let s=this.getOrCreateContext(r);s.outlet=i,this.contexts.set(r,s)}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);return i||(i=new Sh,this.contexts.set(r,i)),i}getContext(r){return this.contexts.get(r)||null}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=ie({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),ll=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=Ch(e,this._root);return n?n.children.map(r=>r.value):[]}firstChild(e){let n=Ch(e,this._root);return n&&n.children.length>0?n.children[0].value:null}siblings(e){let n=Ih(e,this._root);return n.length<2?[]:n[n.length-2].children.map(i=>i.value).filter(i=>i!==e)}pathFromRoot(e){return Ih(e,this._root).map(n=>n.value)}};function Ch(t,e){if(t===e.value)return e;for(let n of e.children){let r=Ch(t,n);if(r)return r}return null}function Ih(t,e){if(t===e.value)return[e];for(let n of e.children){let r=Ih(t,n);if(r.length)return r.unshift(e),r}return[]}var Rt=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 ul=class extends ll{constructor(e,n){super(e),this.snapshot=n,jh(this,e)}toString(){return this.snapshot.toString()}};function gb(t){let e=iM(t),n=new dt([new Gr("",{})]),r=new dt({}),i=new dt({}),s=new dt({}),o=new dt(""),a=new Ui(n,r,s,o,i,ve,t,e.root);return a.snapshot=e.root,new ul(new Rt(a,[]),e)}function iM(t){let e={},n={},r={},i="",s=new ho([],e,r,i,n,ve,t,null,{});return new dl("",new Rt(s,[]))}var Ui=class{constructor(e,n,r,i,s,o,a,c){this.urlSubject=e,this.paramsSubject=n,this.queryParamsSubject=r,this.fragmentSubject=i,this.dataSubject=s,this.outlet=o,this.component=a,this._futureSnapshot=c,this.title=this.dataSubject?.pipe(Se(l=>l[go]))??he(void 0),this.url=e,this.params=n,this.queryParams=r,this.fragment=i,this.data=s}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(Se(e=>Bi(e))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(Se(e=>Bi(e))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function Fh(t,e,n="emptyOnly"){let r,{routeConfig:i}=t;return e!==null&&(n==="always"||i?.path===""||!e.component&&!e.routeConfig?.loadComponent)?r={params:J(J({},e.params),t.params),data:J(J({},e.data),t.data),resolve:J(J(J(J({},t.data),e.data),i?.data),t._resolvedData)}:r={params:J({},t.params),data:J({},t.data),resolve:J(J({},t.data),t._resolvedData??{})},i&&vb(i)&&(r.resolve[go]=i.title),r}var ho=class{get title(){return this.data?.[go]}constructor(e,n,r,i,s,o,a,c,l){this.url=e,this.params=n,this.queryParams=r,this.fragment=i,this.data=s,this.outlet=o,this.component=a,this.routeConfig=c,this._resolve=l}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??=Bi(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=Bi(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}')`}},dl=class extends ll{constructor(e,n){super(n),this.url=e,jh(this,n)}toString(){return yb(this._root)}};function jh(t,e){e.value._routerState=t,e.children.forEach(n=>jh(t,n))}function yb(t){let e=t.children.length>0?` { ${t.children.map(yb).join(", ")} } `:"";return`${t.value}${e}`}function ah(t){if(t.snapshot){let e=t.snapshot,n=t._futureSnapshot;t.snapshot=n,vn(e.queryParams,n.queryParams)||t.queryParamsSubject.next(n.queryParams),e.fragment!==n.fragment&&t.fragmentSubject.next(n.fragment),vn(e.params,n.params)||t.paramsSubject.next(n.params),ON(e.url,n.url)||t.urlSubject.next(n.url),vn(e.data,n.data)||t.dataSubject.next(n.data)}else t.snapshot=t._futureSnapshot,t.dataSubject.next(t._futureSnapshot.data)}function Nh(t,e){let n=vn(t.params,e.params)&&FN(t.url,e.url),r=!t.parent!=!e.parent;return n&&!r&&(!t.parent||Nh(t.parent,e.parent))}function vb(t){return typeof t.title=="string"||t.title===null}var sM=(()=>{let e=class e{constructor(){this.activated=null,this._activatedRoute=null,this.name=ve,this.activateEvents=new yt,this.deactivateEvents=new yt,this.attachEvents=new yt,this.detachEvents=new yt,this.parentContexts=W(pl),this.location=W(Rs),this.changeDetector=W(Fs),this.environmentInjector=W(Ht),this.inputBinder=W(Bh,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(r){if(r.name){let{firstChange:i,previousValue:s}=r.name;if(i)return;this.isTrackedInParentContexts(s)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(s)),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 z(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new z(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new z(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 z(4013,!1);this._activatedRoute=r;let s=this.location,a=r.snapshot.component,c=this.parentContexts.getOrCreateContext(this.name).children,l=new Mh(r,c,s.injector);this.activated=s.createComponent(a,{index:s.length,injector:l,environmentInjector:i??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275dir=Ja({type:e,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[rc]});let t=e;return t})(),Mh=class{constructor(e,n,r){this.route=e,this.childContexts=n,this.parent=r,this.__ngOutletInjector=!0}get(e,n){return e===Ui?this.route:e===pl?this.childContexts:this.parent.get(e,n)}},Bh=new ce("");function oM(t,e,n){let r=po(t,e._root,n?n._root:void 0);return new ul(r,e)}function po(t,e,n){if(n&&t.shouldReuseRoute(e.value,n.value.snapshot)){let r=n.value;r._futureSnapshot=e.value;let i=aM(t,e,n);return new Rt(r,i)}else{if(t.shouldAttach(e.value)){let s=t.retrieve(e.value);if(s!==null){let o=s.route;return o.value._futureSnapshot=e.value,o.children=e.children.map(a=>po(t,a)),o}}let r=cM(e.value),i=e.children.map(s=>po(t,s));return new Rt(r,i)}}function aM(t,e,n){return e.children.map(r=>{for(let i of n.children)if(t.shouldReuseRoute(r.value,i.value.snapshot))return po(t,r,i);return po(t,r)})}function cM(t){return new Ui(new dt(t.url),new dt(t.params),new dt(t.queryParams),new dt(t.fragment),new dt(t.data),t.outlet,t.component,t)}var Eb="ngNavigationCancelingError";function bb(t,e){let{redirectTo:n,navigationBehaviorOptions:r}=Hi(e)?{redirectTo:e,navigationBehaviorOptions:void 0}:e,i=wb(!1,Ot.Redirect);return i.url=n,i.navigationBehaviorOptions=r,i}function wb(t,e){let n=new Error(`NavigationCancelingError: ${t||""}`);return n[Eb]=!0,n.cancellationCode=e,n}function lM(t){return Db(t)&&Hi(t.url)}function Db(t){return!!t&&t[Eb]}var uM=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=Jm({type:e,selectors:[["ng-component"]],standalone:!0,features:[tv],decls:1,vars:0,template:function(i,s){i&1&&$d(0,"router-outlet")},dependencies:[sM],encapsulation:2});let t=e;return t})();function dM(t,e){return t.providers&&!t._injector&&(t._injector=Vd(t.providers,e,`Route: ${t.path}`)),t._injector??e}function Hh(t){let e=t.children&&t.children.map(Hh),n=e?Je(J({},t),{children:e}):J({},t);return!n.component&&!n.loadComponent&&(e||n.loadChildren)&&n.outlet&&n.outlet!==ve&&(n.component=uM),n}function En(t){return t.outlet||ve}function fM(t,e){let n=t.filter(r=>En(r)===e);return n.push(...t.filter(r=>En(r)!==e)),n}function yo(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 hM=(t,e,n,r)=>Se(i=>(new Ah(e,i.targetRouterState,i.currentRouterState,n,r).activate(t),i)),Ah=class{constructor(e,n,r,i,s){this.routeReuseStrategy=e,this.futureState=n,this.currState=r,this.forwardEvent=i,this.inputBindingEnabled=s}activate(e){let n=this.futureState._root,r=this.currState?this.currState._root:null;this.deactivateChildRoutes(n,r,e),ah(this.futureState.root),this.activateChildRoutes(n,r,e)}deactivateChildRoutes(e,n,r){let i=Pi(n);e.children.forEach(s=>{let o=s.value.outlet;this.deactivateRoutes(s,i[o],r),delete i[o]}),Object.values(i).forEach(s=>{this.deactivateRouteAndItsChildren(s,r)})}deactivateRoutes(e,n,r){let i=e.value,s=n?n.value:null;if(i===s)if(i.component){let o=r.getContext(i.outlet);o&&this.deactivateChildRoutes(e,n,o.children)}else this.deactivateChildRoutes(e,n,r);else s&&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,s=Pi(e);for(let o of Object.values(s))this.deactivateRouteAndItsChildren(o,i);if(r&&r.outlet){let o=r.outlet.detach(),a=r.children.onOutletDeactivated();this.routeReuseStrategy.store(e.value.snapshot,{componentRef:o,route:e,contexts:a})}}deactivateRouteAndOutlet(e,n){let r=n.getContext(e.value.outlet),i=r&&e.value.component?r.children:n,s=Pi(e);for(let o of Object.values(s))this.deactivateRouteAndItsChildren(o,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(s=>{this.activateRoutes(s,i[s.value.outlet],r),this.forwardEvent(new Th(s.value.snapshot))}),e.children.length&&this.forwardEvent(new Dh(e.value.snapshot))}activateRoutes(e,n,r){let i=e.value,s=n?n.value:null;if(ah(i),i===s)if(i.component){let o=r.getOrCreateContext(i.outlet);this.activateChildRoutes(e,n,o.children)}else this.activateChildRoutes(e,n,r);else if(i.component){let o=r.getOrCreateContext(i.outlet);if(this.routeReuseStrategy.shouldAttach(i.snapshot)){let a=this.routeReuseStrategy.retrieve(i.snapshot);this.routeReuseStrategy.store(i.snapshot,null),o.children.onOutletReAttached(a.contexts),o.attachRef=a.componentRef,o.route=a.route.value,o.outlet&&o.outlet.attach(a.componentRef,a.route.value),ah(a.route.value),this.activateChildRoutes(e,null,o.children)}else{let a=yo(i.snapshot);o.attachRef=null,o.route=i,o.injector=a,o.outlet&&o.outlet.activateWith(i,o.injector),this.activateChildRoutes(e,null,o.children)}}else this.activateChildRoutes(e,null,r)}},fl=class{constructor(e){this.path=e,this.route=this.path[this.path.length-1]}},ji=class{constructor(e,n){this.component=e,this.route=n}};function pM(t,e,n){let r=t._root,i=e?e._root:null;return no(r,i,n,[r.value])}function mM(t){let e=t.routeConfig?t.routeConfig.canActivateChild:null;return!e||e.length===0?null:{node:t,guards:e}}function qi(t,e){let n=Symbol(),r=e.get(t,n);return r===n?typeof t=="function"&&!Hm(t)?t:e.get(t):r}function no(t,e,n,r,i={canDeactivateChecks:[],canActivateChecks:[]}){let s=Pi(e);return t.children.forEach(o=>{gM(o,s[o.value.outlet],n,r.concat([o.value]),i),delete s[o.value.outlet]}),Object.entries(s).forEach(([o,a])=>oo(a,n.getContext(o),i)),i}function gM(t,e,n,r,i={canDeactivateChecks:[],canActivateChecks:[]}){let s=t.value,o=e?e.value:null,a=n?n.getContext(t.value.outlet):null;if(o&&s.routeConfig===o.routeConfig){let c=yM(o,s,s.routeConfig.runGuardsAndResolvers);c?i.canActivateChecks.push(new fl(r)):(s.data=o.data,s._resolvedData=o._resolvedData),s.component?no(t,e,a?a.children:null,r,i):no(t,e,n,r,i),c&&a&&a.outlet&&a.outlet.isActivated&&i.canDeactivateChecks.push(new ji(a.outlet.component,o))}else o&&oo(e,a,i),i.canActivateChecks.push(new fl(r)),s.component?no(t,null,a?a.children:null,r,i):no(t,null,n,r,i);return i}function yM(t,e,n){if(typeof n=="function")return n(t,e);switch(n){case"pathParamsChange":return!Wr(t.url,e.url);case"pathParamsOrQueryParamsChange":return!Wr(t.url,e.url)||!vn(t.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Nh(t,e)||!vn(t.queryParams,e.queryParams);case"paramsChange":default:return!Nh(t,e)}}function oo(t,e,n){let r=Pi(t),i=t.value;Object.entries(r).forEach(([s,o])=>{i.component?e?oo(o,e.children.getContext(s),n):oo(o,null,n):oo(o,e,n)}),i.component?e&&e.outlet&&e.outlet.isActivated?n.canDeactivateChecks.push(new ji(e.outlet.component,i)):n.canDeactivateChecks.push(new ji(null,i)):n.canDeactivateChecks.push(new ji(null,i))}function vo(t){return typeof t=="function"}function vM(t){return typeof t=="boolean"}function EM(t){return t&&vo(t.canLoad)}function bM(t){return t&&vo(t.canActivate)}function wM(t){return t&&vo(t.canActivateChild)}function DM(t){return t&&vo(t.canDeactivate)}function _M(t){return t&&vo(t.canMatch)}function _b(t){return t instanceof Nn||t?.name==="EmptyError"}var tl=Symbol("INITIAL_VALUE");function Vi(){return jt(t=>ua(t.map(e=>e.pipe(Mn(1),eu(tl)))).pipe(Se(e=>{for(let n of e)if(n!==!0){if(n===tl)return tl;if(n===!1||n instanceof lr)return n}return!0}),Ft(e=>e!==tl),Mn(1)))}function TM(t,e){return rt(n=>{let{targetSnapshot:r,currentSnapshot:i,guards:{canActivateChecks:s,canDeactivateChecks:o}}=n;return o.length===0&&s.length===0?he(Je(J({},n),{guardsResult:!0})):SM(o,r,i,t).pipe(rt(a=>a&&vM(a)?CM(r,s,t,e):he(a)),Se(a=>Je(J({},n),{guardsResult:a})))})}function SM(t,e,n,r){return et(t).pipe(rt(i=>xM(i.component,i.route,n,e,r)),Wt(i=>i!==!0,!0))}function CM(t,e,n,r){return et(e).pipe(Ir(i=>ci(NM(i.route.parent,r),IM(i.route,r),AM(t,i.path,n),MM(t,i.route,n))),Wt(i=>i!==!0,!0))}function IM(t,e){return t!==null&&e&&e(new _h(t)),he(!0)}function NM(t,e){return t!==null&&e&&e(new wh(t)),he(!0)}function MM(t,e,n){let r=e.routeConfig?e.routeConfig.canActivate:null;if(!r||r.length===0)return he(!0);let i=r.map(s=>da(()=>{let o=yo(e)??n,a=qi(s,o),c=bM(a)?a.canActivate(e,t):or(o,()=>a(e,t));return dr(c).pipe(Wt())}));return he(i).pipe(Vi())}function AM(t,e,n){let r=e[e.length-1],s=e.slice(0,e.length-1).reverse().map(o=>mM(o)).filter(o=>o!==null).map(o=>da(()=>{let a=o.guards.map(c=>{let l=yo(o.node)??n,u=qi(c,l),d=wM(u)?u.canActivateChild(r,t):or(l,()=>u(r,t));return dr(d).pipe(Wt())});return he(a).pipe(Vi())}));return he(s).pipe(Vi())}function xM(t,e,n,r,i){let s=e&&e.routeConfig?e.routeConfig.canDeactivate:null;if(!s||s.length===0)return he(!0);let o=s.map(a=>{let c=yo(e)??i,l=qi(a,c),u=DM(l)?l.canDeactivate(t,e,n,r):or(c,()=>l(t,e,n,r));return dr(u).pipe(Wt())});return he(o).pipe(Vi())}function RM(t,e,n,r){let i=e.canLoad;if(i===void 0||i.length===0)return he(!0);let s=i.map(o=>{let a=qi(o,t),c=EM(a)?a.canLoad(e,n):or(t,()=>a(e,n));return dr(c)});return he(s).pipe(Vi(),Tb(r))}function Tb(t){return zl(it(e=>{if(Hi(e))throw bb(t,e)}),Se(e=>e===!0))}function OM(t,e,n,r){let i=e.canMatch;if(!i||i.length===0)return he(!0);let s=i.map(o=>{let a=qi(o,t),c=_M(a)?a.canMatch(e,n):or(t,()=>a(e,n));return dr(c)});return he(s).pipe(Vi(),Tb(r))}var mo=class{constructor(e){this.segmentGroup=e||null}},hl=class extends Error{constructor(e){super(),this.urlTree=e}};function Li(t){return ai(new mo(t))}function kM(t){return ai(new z(4e3,!1))}function LM(t){return ai(wb(!1,Ot.GuardRejected))}var xh=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 he(r);if(i.numberOfChildren>1||!i.children[ve])return kM(e.redirectTo);i=i.children[ve]}}applyRedirectCommands(e,n,r){let i=this.applyRedirectCreateUrlTree(n,this.urlSerializer.parse(n),e,r);if(n.startsWith("/"))throw new hl(i);return i}applyRedirectCreateUrlTree(e,n,r,i){let s=this.createSegmentGroup(e,n.root,r,i);return new lr(s,this.createQueryParams(n.queryParams,this.urlTree.queryParams),n.fragment)}createQueryParams(e,n){let r={};return Object.entries(e).forEach(([i,s])=>{if(typeof s=="string"&&s.startsWith(":")){let a=s.substring(1);r[i]=n[a]}else r[i]=s}),r}createSegmentGroup(e,n,r,i){let s=this.createSegments(e,n.segments,r,i),o={};return Object.entries(n.children).forEach(([a,c])=>{o[a]=this.createSegmentGroup(e,c,r,i)}),new Pe(s,o)}createSegments(e,n,r,i){return n.map(s=>s.path.startsWith(":")?this.findPosParam(e,s,i):this.findOrReturn(s,r))}findPosParam(e,n,r){let i=r[n.path.substring(1)];if(!i)throw new z(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}},Rh={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function PM(t,e,n,r,i){let s=Uh(t,e,n);return s.matched?(r=dM(e,r),OM(r,e,n,i).pipe(Se(o=>o===!0?s:J({},Rh)))):he(s)}function Uh(t,e,n){if(e.path==="**")return FM(n);if(e.path==="")return e.pathMatch==="full"&&(t.hasChildren()||n.length>0)?J({},Rh):{matched:!0,consumedSegments:[],remainingSegments:n,parameters:{},positionalParamSegments:{}};let i=(e.matcher||RN)(n,t,e);if(!i)return J({},Rh);let s={};Object.entries(i.posParams??{}).forEach(([a,c])=>{s[a]=c.path});let o=i.consumed.length>0?J(J({},s),i.consumed[i.consumed.length-1].parameters):s;return{matched:!0,consumedSegments:i.consumed,remainingSegments:n.slice(i.consumed.length),parameters:o,positionalParamSegments:i.posParams??{}}}function FM(t){return{matched:!0,parameters:t.length>0?rb(t).parameters:{},consumedSegments:t,remainingSegments:[],positionalParamSegments:{}}}function tb(t,e,n,r){return n.length>0&&HM(t,n,r)?{segmentGroup:new Pe(e,BM(r,new Pe(n,t.children))),slicedSegments:[]}:n.length===0&&UM(t,n,r)?{segmentGroup:new Pe(t.segments,jM(t,n,r,t.children)),slicedSegments:n}:{segmentGroup:new Pe(t.segments,t.children),slicedSegments:n}}function jM(t,e,n,r){let i={};for(let s of n)if(ml(t,e,s)&&!r[En(s)]){let o=new Pe([],{});i[En(s)]=o}return J(J({},r),i)}function BM(t,e){let n={};n[ve]=e;for(let r of t)if(r.path===""&&En(r)!==ve){let i=new Pe([],{});n[En(r)]=i}return n}function HM(t,e,n){return n.some(r=>ml(t,e,r)&&En(r)!==ve)}function UM(t,e,n){return n.some(r=>ml(t,e,r))}function ml(t,e,n){return(t.hasChildren()||e.length>0)&&n.pathMatch==="full"?!1:n.path===""}function VM(t,e,n,r){return En(t)!==r&&(r===ve||!ml(e,n,t))?!1:Uh(e,t,n).matched}function qM(t,e,n){return e.length===0&&!t.children[n]}var Oh=class{};function $M(t,e,n,r,i,s,o="emptyOnly"){return new kh(t,e,n,r,i,o,s).recognize()}var zM=31,kh=class{constructor(e,n,r,i,s,o,a){this.injector=e,this.configLoader=n,this.rootComponentType=r,this.config=i,this.urlTree=s,this.paramsInheritanceStrategy=o,this.urlSerializer=a,this.applyRedirects=new xh(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(e){return new z(4002,`'${e.segmentGroup}'`)}recognize(){let e=tb(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(e).pipe(Se(n=>{let r=new ho([],Object.freeze({}),Object.freeze(J({},this.urlTree.queryParams)),this.urlTree.fragment,{},ve,this.rootComponentType,null,{}),i=new Rt(r,n),s=new dl("",i),o=ZN(r,[],this.urlTree.queryParams,this.urlTree.fragment);return o.queryParams=this.urlTree.queryParams,s.url=this.urlSerializer.serialize(o),this.inheritParamsAndData(s._root,null),{state:s,tree:o}}))}match(e){return this.processSegmentGroup(this.injector,this.config,e,ve).pipe(Zn(r=>{if(r instanceof hl)return this.urlTree=r.urlTree,this.match(r.urlTree.root);throw r instanceof mo?this.noMatchError(r):r}))}inheritParamsAndData(e,n){let r=e.value,i=Fh(r,n,this.paramsInheritanceStrategy);r.params=Object.freeze(i.params),r.data=Object.freeze(i.data),e.children.forEach(s=>this.inheritParamsAndData(s,r))}processSegmentGroup(e,n,r,i){return r.segments.length===0&&r.hasChildren()?this.processChildren(e,n,r):this.processSegment(e,n,r,r.segments,i,!0).pipe(Se(s=>s instanceof Rt?[s]:[]))}processChildren(e,n,r){let i=[];for(let s of Object.keys(r.children))s==="primary"?i.unshift(s):i.push(s);return et(i).pipe(Ir(s=>{let o=r.children[s],a=fM(n,s);return this.processSegmentGroup(e,a,o,s)}),Jl((s,o)=>(s.push(...o),s)),Xn(null),Xl(),rt(s=>{if(s===null)return Li(r);let o=Sb(s);return GM(o),he(o)}))}processSegment(e,n,r,i,s,o){return et(n).pipe(Ir(a=>this.processSegmentAgainstRoute(a._injector??e,n,a,r,i,s,o).pipe(Zn(c=>{if(c instanceof mo)return he(null);throw c}))),Wt(a=>!!a),Zn(a=>{if(_b(a))return qM(r,i,s)?he(new Oh):Li(r);throw a}))}processSegmentAgainstRoute(e,n,r,i,s,o,a){return VM(r,i,s,o)?r.redirectTo===void 0?this.matchSegmentAgainstRoute(e,i,r,s,o):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(e,i,n,r,s,o):Li(i):Li(i)}expandSegmentAgainstRouteUsingRedirect(e,n,r,i,s,o){let{matched:a,consumedSegments:c,positionalParamSegments:l,remainingSegments:u}=Uh(n,i,s);if(!a)return Li(n);i.redirectTo.startsWith("/")&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>zM&&(this.allowRedirects=!1));let d=this.applyRedirects.applyRedirectCommands(c,i.redirectTo,l);return this.applyRedirects.lineralizeSegments(i,d).pipe(rt(g=>this.processSegment(e,r,n,g.concat(u),o,!1)))}matchSegmentAgainstRoute(e,n,r,i,s){let o=PM(n,r,i,e,this.urlSerializer);return r.path==="**"&&(n.children={}),o.pipe(jt(a=>a.matched?(e=r._injector??e,this.getChildConfig(e,r,i).pipe(jt(({routes:c})=>{let l=r._loadedInjector??e,{consumedSegments:u,remainingSegments:d,parameters:g}=a,D=new ho(u,g,Object.freeze(J({},this.urlTree.queryParams)),this.urlTree.fragment,QM(r),En(r),r.component??r._loadedComponent??null,r,KM(r)),{segmentGroup:N,slicedSegments:M}=tb(n,u,d,c);if(M.length===0&&N.hasChildren())return this.processChildren(l,c,N).pipe(Se(L=>L===null?null:new Rt(D,L)));if(c.length===0&&M.length===0)return he(new Rt(D,[]));let $=En(r)===s;return this.processSegment(l,c,N,M,$?ve:s,!0).pipe(Se(L=>new Rt(D,L instanceof Rt?[L]:[])))}))):Li(n)))}getChildConfig(e,n,r){return n.children?he({routes:n.children,injector:e}):n.loadChildren?n._loadedRoutes!==void 0?he({routes:n._loadedRoutes,injector:n._loadedInjector}):RM(e,n,r,this.urlSerializer).pipe(rt(i=>i?this.configLoader.loadChildren(e,n).pipe(it(s=>{n._loadedRoutes=s.routes,n._loadedInjector=s.injector})):LM(n))):he({routes:[],injector:e})}};function GM(t){t.sort((e,n)=>e.value.outlet===ve?-1:n.value.outlet===ve?1:e.value.outlet.localeCompare(n.value.outlet))}function WM(t){let e=t.value.routeConfig;return e&&e.path===""}function Sb(t){let e=[],n=new Set;for(let r of t){if(!WM(r)){e.push(r);continue}let i=e.find(s=>r.value.routeConfig===s.value.routeConfig);i!==void 0?(i.children.push(...r.children),n.add(i)):e.push(r)}for(let r of n){let i=Sb(r.children);e.push(new Rt(r.value,i))}return e.filter(r=>!n.has(r))}function QM(t){return t.data||{}}function KM(t){return t.resolve||{}}function YM(t,e,n,r,i,s){return rt(o=>$M(t,e,n,r,o.extractedUrl,i,s).pipe(Se(({state:a,tree:c})=>Je(J({},o),{targetSnapshot:a,urlAfterRedirects:c}))))}function ZM(t,e){return rt(n=>{let{targetSnapshot:r,guards:{canActivateChecks:i}}=n;if(!i.length)return he(n);let s=new Set(i.map(c=>c.route)),o=new Set;for(let c of s)if(!o.has(c))for(let l of Cb(c))o.add(l);let a=0;return et(o).pipe(Ir(c=>s.has(c)?XM(c,r,t,e):(c.data=Fh(c,c.parent,t).resolve,he(void 0))),it(()=>a++),ui(1),rt(c=>a===o.size?he(n):Ct))})}function Cb(t){let e=t.children.map(n=>Cb(n)).flat();return[t,...e]}function XM(t,e,n,r){let i=t.routeConfig,s=t._resolve;return i?.title!==void 0&&!vb(i)&&(s[go]=i.title),JM(s,t,e,r).pipe(Se(o=>(t._resolvedData=o,t.data=Fh(t,t.parent,n).resolve,null)))}function JM(t,e,n,r){let i=uh(t);if(i.length===0)return he({});let s={};return et(i).pipe(rt(o=>eA(t[o],e,n,r).pipe(Wt(),it(a=>{s[o]=a}))),ui(1),Zl(s),Zn(o=>_b(o)?Ct:ai(o)))}function eA(t,e,n,r){let i=yo(e)??r,s=qi(t,i),o=s.resolve?s.resolve(e,n):or(i,()=>s(e,n));return dr(o)}function ch(t){return jt(e=>{let n=t(e);return n?et(n).pipe(Se(()=>e)):he(e)})}var Ib=(()=>{let e=class e{buildTitle(r){let i,s=r.root;for(;s!==void 0;)i=this.getResolvedTitleForRoute(s)??i,s=s.children.find(o=>o.outlet===ve);return i}getResolvedTitleForRoute(r){return r.data[go]}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=ie({token:e,factory:()=>W(tA),providedIn:"root"});let t=e;return t})(),tA=(()=>{let e=class e extends Ib{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)(ue(Wv))},e.\u0275prov=ie({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Vh=new ce("",{providedIn:"root",factory:()=>({})}),qh=new ce(""),nA=(()=>{let e=class e{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=W(Qd)}loadComponent(r){if(this.componentLoaders.get(r))return this.componentLoaders.get(r);if(r._loadedComponent)return he(r._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(r);let i=dr(r.loadComponent()).pipe(Se(Nb),it(o=>{this.onLoadEndListener&&this.onLoadEndListener(r),r._loadedComponent=o}),li(()=>{this.componentLoaders.delete(r)})),s=new oi(i,()=>new ut).pipe(si());return this.componentLoaders.set(r,s),s}loadChildren(r,i){if(this.childrenLoaders.get(i))return this.childrenLoaders.get(i);if(i._loadedRoutes)return he({routes:i._loadedRoutes,injector:i._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(i);let o=rA(i,this.compiler,r,this.onLoadEndListener).pipe(li(()=>{this.childrenLoaders.delete(i)})),a=new oi(o,()=>new ut).pipe(si());return this.childrenLoaders.set(i,a),a}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=ie({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function rA(t,e,n,r){return dr(t.loadChildren()).pipe(Se(Nb),rt(i=>i instanceof Ds||Array.isArray(i)?he(i):et(e.compileModuleAsync(i))),Se(i=>{r&&r(t);let s,o,a=!1;return Array.isArray(i)?(o=i,a=!0):(s=i.create(n).injector,o=s.get(qh,[],{optional:!0,self:!0}).flat()),{routes:o.map(Hh),injector:s}}))}function iA(t){return t&&typeof t=="object"&&"default"in t}function Nb(t){return iA(t)?t.default:t}var $h=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=ie({token:e,factory:()=>W(sA),providedIn:"root"});let t=e;return t})(),sA=(()=>{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=ie({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),oA=new ce("");var aA=(()=>{let e=class e{get hasRequestedNavigation(){return this.navigationId!==0}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new ut,this.transitionAbortSubject=new ut,this.configLoader=W(nA),this.environmentInjector=W(Ht),this.urlSerializer=W(Ph),this.rootContexts=W(pl),this.location=W(Hs),this.inputBindingEnabled=W(Bh,{optional:!0})!==null,this.titleStrategy=W(Ib),this.options=W(Vh,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=W($h),this.createViewTransition=W(oA,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>he(void 0),this.rootComponentType=null;let r=s=>this.events.next(new Eh(s)),i=s=>this.events.next(new bh(s));this.configLoader.onLoadEndListener=i,this.configLoader.onLoadStartListener=r}complete(){this.transitions?.complete()}handleNavigationRequest(r){let i=++this.navigationId;this.transitions?.next(Je(J(J({},this.transitions.value),r),{id:i}))}setupNavigations(r,i,s){return this.transitions=new dt({id:0,currentUrlTree:i,currentRawUrl:i,extractedUrl:this.urlHandlingStrategy.extract(i),urlAfterRedirects:this.urlHandlingStrategy.extract(i),rawUrl:i,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:so,restoredState:null,currentSnapshot:s.snapshot,targetSnapshot:null,currentRouterState:s,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(Ft(o=>o.id!==0),Se(o=>Je(J({},o),{extractedUrl:this.urlHandlingStrategy.extract(o.rawUrl)})),jt(o=>{let a=!1,c=!1;return he(o).pipe(jt(l=>{if(this.navigationId>o.id)return this.cancelNavigationTransition(o,"",Ot.SupersededByNewNavigation),Ct;this.currentTransition=o,this.currentNavigation={id:l.id,initialUrl:l.rawUrl,extractedUrl:l.extractedUrl,trigger:l.source,extras:l.extras,previousNavigation:this.lastSuccessfulNavigation?Je(J({},this.lastSuccessfulNavigation),{previousNavigation:null}):null};let u=!r.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),d=l.extras.onSameUrlNavigation??r.onSameUrlNavigation;if(!u&&d!=="reload"){let g="";return this.events.next(new Kr(l.id,this.urlSerializer.serialize(l.rawUrl),g,ph.IgnoredSameUrlNavigation)),l.resolve(null),Ct}if(this.urlHandlingStrategy.shouldProcessUrl(l.rawUrl))return he(l).pipe(jt(g=>{let D=this.transitions?.getValue();return this.events.next(new co(g.id,this.urlSerializer.serialize(g.extractedUrl),g.source,g.restoredState)),D!==this.transitions?.getValue()?Ct:Promise.resolve(g)}),YM(this.environmentInjector,this.configLoader,this.rootComponentType,r.config,this.urlSerializer,this.paramsInheritanceStrategy),it(g=>{o.targetSnapshot=g.targetSnapshot,o.urlAfterRedirects=g.urlAfterRedirects,this.currentNavigation=Je(J({},this.currentNavigation),{finalUrl:g.urlAfterRedirects});let D=new cl(g.id,this.urlSerializer.serialize(g.extractedUrl),this.urlSerializer.serialize(g.urlAfterRedirects),g.targetSnapshot);this.events.next(D)}));if(u&&this.urlHandlingStrategy.shouldProcessUrl(l.currentRawUrl)){let{id:g,extractedUrl:D,source:N,restoredState:M,extras:$}=l,L=new co(g,this.urlSerializer.serialize(D),N,M);this.events.next(L);let T=gb(this.rootComponentType).snapshot;return this.currentTransition=o=Je(J({},l),{targetSnapshot:T,urlAfterRedirects:D,extras:Je(J({},$),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=D,he(o)}else{let g="";return this.events.next(new Kr(l.id,this.urlSerializer.serialize(l.extractedUrl),g,ph.IgnoredByUrlHandlingStrategy)),l.resolve(null),Ct}}),it(l=>{let u=new mh(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(u)}),Se(l=>(this.currentTransition=o=Je(J({},l),{guards:pM(l.targetSnapshot,l.currentSnapshot,this.rootContexts)}),o)),TM(this.environmentInjector,l=>this.events.next(l)),it(l=>{if(o.guardsResult=l.guardsResult,Hi(l.guardsResult))throw bb(this.urlSerializer,l.guardsResult);let u=new gh(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot,!!l.guardsResult);this.events.next(u)}),Ft(l=>l.guardsResult?!0:(this.cancelNavigationTransition(l,"",Ot.GuardRejected),!1)),ch(l=>{if(l.guards.canActivateChecks.length)return he(l).pipe(it(u=>{let d=new yh(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot);this.events.next(d)}),jt(u=>{let d=!1;return he(u).pipe(ZM(this.paramsInheritanceStrategy,this.environmentInjector),it({next:()=>d=!0,complete:()=>{d||this.cancelNavigationTransition(u,"",Ot.NoDataFromResolver)}}))}),it(u=>{let d=new vh(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot);this.events.next(d)}))}),ch(l=>{let u=d=>{let g=[];d.routeConfig?.loadComponent&&!d.routeConfig._loadedComponent&&g.push(this.configLoader.loadComponent(d.routeConfig).pipe(it(D=>{d.component=D}),Se(()=>{})));for(let D of d.children)g.push(...u(D));return g};return ua(u(l.targetSnapshot.root)).pipe(Xn(null),Mn(1))}),ch(()=>this.afterPreactivation()),jt(()=>{let{currentSnapshot:l,targetSnapshot:u}=o,d=this.createViewTransition?.(this.environmentInjector,l.root,u.root);return d?et(d).pipe(Se(()=>o)):he(o)}),Se(l=>{let u=oM(r.routeReuseStrategy,l.targetSnapshot,l.currentRouterState);return this.currentTransition=o=Je(J({},l),{targetRouterState:u}),this.currentNavigation.targetRouterState=u,o}),it(()=>{this.events.next(new uo)}),hM(this.rootContexts,r.routeReuseStrategy,l=>this.events.next(l),this.inputBindingEnabled),Mn(1),it({next:l=>{a=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new Qr(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects))),this.titleStrategy?.updateTitle(l.targetRouterState.snapshot),l.resolve(!0)},complete:()=>{a=!0}}),tu(this.transitionAbortSubject.pipe(it(l=>{throw l}))),li(()=>{!a&&!c&&this.cancelNavigationTransition(o,"",Ot.SupersededByNewNavigation),this.currentTransition?.id===o.id&&(this.currentNavigation=null,this.currentTransition=null)}),Zn(l=>{if(c=!0,Db(l))this.events.next(new ur(o.id,this.urlSerializer.serialize(o.extractedUrl),l.message,l.cancellationCode)),lM(l)?this.events.next(new fo(l.url)):o.resolve(!1);else{this.events.next(new lo(o.id,this.urlSerializer.serialize(o.extractedUrl),l,o.targetSnapshot??void 0));try{o.resolve(r.errorHandler(l))}catch(u){this.options.resolveNavigationPromiseOnError?o.resolve(!1):o.reject(u)}}return Ct}))}))}cancelNavigationTransition(r,i,s){let o=new ur(r.id,this.urlSerializer.serialize(r.extractedUrl),i,s);this.events.next(o),r.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){return this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))).toString()!==this.currentTransition?.extractedUrl.toString()&&!this.currentTransition?.extras.skipLocationChange}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=ie({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function cA(t){return t!==so}var lA=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=ie({token:e,factory:()=>W(uA),providedIn:"root"});let t=e;return t})(),Lh=class{shouldDetach(e){return!1}store(e,n){}shouldAttach(e){return!1}retrieve(e){return null}shouldReuseRoute(e,n){return e.routeConfig===n.routeConfig}},uA=(()=>{let e=class e extends Lh{};e.\u0275fac=(()=>{let r;return function(s){return(r||(r=vd(e)))(s||e)}})(),e.\u0275prov=ie({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Mb=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=ie({token:e,factory:()=>W(dA),providedIn:"root"});let t=e;return t})(),dA=(()=>{let e=class e extends Mb{constructor(){super(...arguments),this.location=W(Hs),this.urlSerializer=W(Ph),this.options=W(Vh,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=W($h),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new lr,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=gb(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 co)this.stateMemento=this.createStateMemento();else if(r instanceof Kr)this.rawUrlTree=i.initialUrl;else if(r instanceof cl){if(this.urlUpdateStrategy==="eager"&&!i.extras.skipLocationChange){let s=this.urlHandlingStrategy.merge(i.finalUrl,i.initialUrl);this.setBrowserUrl(s,i)}}else r instanceof uo?(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(this.rawUrlTree,i))):r instanceof ur&&(r.code===Ot.GuardRejected||r.code===Ot.NoDataFromResolver)?this.restoreHistory(i):r instanceof lo?this.restoreHistory(i,!0):r instanceof Qr&&(this.lastSuccessfulId=r.id,this.currentPageId=this.browserPageId)}setBrowserUrl(r,i){let s=this.urlSerializer.serialize(r);if(this.location.isCurrentPathEqualTo(s)||i.extras.replaceUrl){let o=this.browserPageId,a=J(J({},i.extras.state),this.generateNgRouterState(i.id,o));this.location.replaceState(s,"",a)}else{let o=J(J({},i.extras.state),this.generateNgRouterState(i.id,this.browserPageId+1));this.location.go(s,"",o)}}restoreHistory(r,i=!1){if(this.canceledNavigationResolution==="computed"){let s=this.browserPageId,o=this.currentPageId-s;o!==0?this.location.historyGo(o):this.currentUrlTree===r.finalUrl&&o===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(s){return(r||(r=vd(e)))(s||e)}})(),e.\u0275prov=ie({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),ro=function(t){return t[t.COMPLETE=0]="COMPLETE",t[t.FAILED=1]="FAILED",t[t.REDIRECTING=2]="REDIRECTING",t}(ro||{});function fA(t,e){t.events.pipe(Ft(n=>n instanceof Qr||n instanceof ur||n instanceof lo||n instanceof Kr),Se(n=>n instanceof Qr||n instanceof Kr?ro.COMPLETE:(n instanceof ur?n.code===Ot.Redirect||n.code===Ot.SupersededByNewNavigation:!1)?ro.REDIRECTING:ro.FAILED),Ft(n=>n!==ro.REDIRECTING),Mn(1)).subscribe(()=>{e()})}function hA(t){throw t}var pA={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},mA={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},Ab=(()=>{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.isNgZoneEnabled=!1,this.console=W(vc),this.stateManager=W(Mb),this.options=W(Vh,{optional:!0})||{},this.pendingTasks=W(Os),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=W(aA),this.urlSerializer=W(Ph),this.location=W(Hs),this.urlHandlingStrategy=W($h),this._events=new ut,this.errorHandler=this.options.errorHandler||hA,this.navigated=!1,this.routeReuseStrategy=W(lA),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=W(qh,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!W(Bh,{optional:!0}),this.eventsSubscription=new nt,this.isNgZoneEnabled=W(Be)instanceof Be&&Be.isInAngularZone(),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 s=this.navigationTransitions.currentTransition,o=this.navigationTransitions.currentNavigation;if(s!==null&&o!==null){if(this.stateManager.handleRouterEvent(i,o),i instanceof ur&&i.code!==Ot.Redirect&&i.code!==Ot.SupersededByNewNavigation)this.navigated=!0;else if(i instanceof Qr)this.navigated=!0;else if(i instanceof fo){let a=this.urlHandlingStrategy.merge(i.url,s.currentRawUrl),c={info:s.extras.info,skipLocationChange:s.extras.skipLocationChange,replaceUrl:this.urlUpdateStrategy==="eager"||cA(s.source)};this.scheduleNavigation(a,so,null,c,{resolve:s.resolve,reject:s.reject,promise:s.promise})}}yA(i)&&this._events.next(i)}catch(s){this.navigationTransitions.transitionAbortSubject.next(s)}});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),so,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((r,i)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(r,"popstate",i)},0)})}navigateToSyncWithBrowser(r,i,s){let o={replaceUrl:!0},a=s?.navigationId?s:null;if(s){let l=J({},s);delete l.navigationId,delete l.\u0275routerPageId,Object.keys(l).length!==0&&(o.state=l)}let c=this.parseUrl(r);this.scheduleNavigation(c,i,a,o)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(r){this.config=r.map(Hh),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:s,queryParams:o,fragment:a,queryParamsHandling:c,preserveFragment:l}=i,u=l?this.currentUrlTree.fragment:a,d=null;switch(c){case"merge":d=J(J({},this.currentUrlTree.queryParams),o);break;case"preserve":d=this.currentUrlTree.queryParams;break;default:d=o||null}d!==null&&(d=this.removeEmptyProps(d));let g;try{let D=s?s.snapshot:this.routerState.snapshot.root;g=fb(D)}catch{(typeof r[0]!="string"||!r[0].startsWith("/"))&&(r=[]),g=this.currentUrlTree.root}return hb(g,r,d,u??null)}navigateByUrl(r,i={skipLocationChange:!1}){let s=Hi(r)?r:this.parseUrl(r),o=this.urlHandlingStrategy.merge(s,this.rawUrlTree);return this.scheduleNavigation(o,so,null,i)}navigate(r,i={skipLocationChange:!1}){return gA(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 s;if(i===!0?s=J({},pA):i===!1?s=J({},mA):s=i,Hi(r))return ZE(this.currentUrlTree,r,s);let o=this.parseUrl(r);return ZE(this.currentUrlTree,o,s)}removeEmptyProps(r){return Object.entries(r).reduce((i,[s,o])=>(o!=null&&(i[s]=o),i),{})}scheduleNavigation(r,i,s,o,a){if(this.disposed)return Promise.resolve(!1);let c,l,u;a?(c=a.resolve,l=a.reject,u=a.promise):u=new Promise((g,D)=>{c=g,l=D});let d=this.pendingTasks.add();return fA(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(d))}),this.navigationTransitions.handleNavigationRequest({source:i,restoredState:s,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:r,extras:o,resolve:c,reject:l,promise:u,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),u.catch(g=>Promise.reject(g))}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=ie({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function gA(t){for(let e=0;e<t.length;e++)if(t[e]==null)throw new z(4008,!1)}function yA(t){return!(t instanceof uo)&&!(t instanceof fo)}var vA=new ce("");function _F(t,...e){return On([{provide:qh,multi:!0,useValue:t},[],{provide:Ui,useFactory:EA,deps:[Ab]},{provide:Ii,multi:!0,useFactory:bA},e.map(n=>n.\u0275providers)])}function EA(t){return t.routerState.root}function bA(){let t=W(nn);return e=>{let n=t.get(rn);if(e!==n.components[0])return;let r=t.get(Ab),i=t.get(wA);t.get(DA)===1&&r.initialNavigation(),t.get(_A,null,be.Optional)?.setUpPreloading(),t.get(vA,null,be.Optional)?.init(),r.resetRootComponentType(n.componentTypes[0]),i.closed||(i.next(),i.complete(),i.unsubscribe())}}var wA=new ce("",{factory:()=>new ut}),DA=new ce("",{providedIn:"root",factory:()=>1});var _A=new ce("");export{Jm as a,cL as b,lL as c,HS as d,$S as e,Qy as f,Ky as g,$d as h,fL as i,iC as j,tv as k,hL as l,pL as m,vc as n,rn as o,Ps as p,Qd as q,Dc as r,Zd as s,mL as t,qC as u,HL as v,UL as w,KC as x,gP as y,yP as z,Jc as A,DN as B,zP as C,AN as D,GP as E,WP as F,sM as G,rA as H,Ab as I,_F as J};
