diff --git a/about.page-JRHM5HGX.js b/about.page-WAYCMM46.js similarity index 92% rename from about.page-JRHM5HGX.js rename to about.page-WAYCMM46.js index 026b1cf..275bf49 100644 --- a/about.page-JRHM5HGX.js +++ b/about.page-WAYCMM46.js @@ -1 +1 @@ -import{C as d,D as c,I as s,e as m,g as n,h as i,m as r,o as a,x as l,y as p}from"./chunk-DVT4HBMF.js";import"./chunk-FEUIMOZZ.js";import"./chunk-JZHKZBGN.js";import"./chunk-RODZQFI5.js";import"./chunk-GRPEAL5M.js";import"./chunk-QUVJQTVU.js";import"./chunk-VQ6ZTHLF.js";import"./chunk-IVVGDSQR.js";import"./chunk-FTZB27S6.js";import"./chunk-AV3I3L5K.js";import"./chunk-ZG6JN4PA.js";import"./chunk-YLG257PB.js";import"./chunk-6LXZMIVO.js";import"./chunk-MU5PIDDE.js";import"./chunk-CXMYARCQ.js";import"./chunk-Z2YQ4JHV.js";var I=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275cmp=m({type:e,selectors:[["app-about"]],decls:6,vars:0,template:function(o,u){o&1&&(n(0,"ion-header")(1,"ion-toolbar")(2,"ion-title"),r(3,"About"),i()()(),n(4,"ion-content"),r(5,"About"),i())},dependencies:[a,s,c,d,p,l],encapsulation:2});let t=e;return t})();export{I as AboutPage}; +import{C as d,D as c,I as s,e as m,g as n,h as i,m as r,o as a,x as l,y as p}from"./chunk-A6JDCJ37.js";import"./chunk-FEUIMOZZ.js";import"./chunk-JZHKZBGN.js";import"./chunk-RODZQFI5.js";import"./chunk-GRPEAL5M.js";import"./chunk-QUVJQTVU.js";import"./chunk-VQ6ZTHLF.js";import"./chunk-IVVGDSQR.js";import"./chunk-FTZB27S6.js";import"./chunk-AV3I3L5K.js";import"./chunk-ZG6JN4PA.js";import"./chunk-YLG257PB.js";import"./chunk-6LXZMIVO.js";import"./chunk-MU5PIDDE.js";import"./chunk-CXMYARCQ.js";import"./chunk-Z2YQ4JHV.js";var I=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275cmp=m({type:e,selectors:[["app-about"]],decls:6,vars:0,template:function(o,u){o&1&&(n(0,"ion-header")(1,"ion-toolbar")(2,"ion-title"),r(3,"About"),i()()(),n(4,"ion-content"),r(5,"About"),i())},dependencies:[a,s,c,d,p,l],encapsulation:2});let t=e;return t})();export{I as AboutPage}; diff --git a/chunk-A6JDCJ37.js b/chunk-A6JDCJ37.js new file mode 100644 index 0000000..c283e02 --- /dev/null +++ b/chunk-A6JDCJ37.js @@ -0,0 +1,30 @@ +import{a as Qi,b as Gl,c as Lr,d as Wl,g as $r,h as ql,i as Mh}from"./chunk-FEUIMOZZ.js";import{a as W,b as jl,c as Bl,d as Vl,e as Ul,f as zl,g as Sh,h as qi,i as Zi}from"./chunk-GRPEAL5M.js";import{a as Ft}from"./chunk-QUVJQTVU.js";import{a as Pr,d as Th}from"./chunk-VQ6ZTHLF.js";import{a as ge,b as Fl,c as Ne,d as U,e as Ll}from"./chunk-IVVGDSQR.js";import{a as Do,b as Z,d as gn,e as nt,f as C,g as X,j as F,k as Ln,l as Y}from"./chunk-FTZB27S6.js";import{a as Fr}from"./chunk-AV3I3L5K.js";import{a as Dt,b as Gt,c as wo,d as Wi,e as $n,f as Or,g as xe,h as wt,i as $l,j as vn,l as xh}from"./chunk-ZG6JN4PA.js";import{a as Hl,c as Yi}from"./chunk-YLG257PB.js";import{a as Zl}from"./chunk-6LXZMIVO.js";import{a as _h,b as kh,c as Ah}from"./chunk-MU5PIDDE.js";import{a as Ee,b as ft}from"./chunk-CXMYARCQ.js";import{a as w,b as J,c as Eh,d as Pl,e as m}from"./chunk-Z2YQ4JHV.js";function Rh(t,e){return Object.is(t,e)}var pe=null,Ki=!1,Kl=1,Co=Symbol("SIGNAL");function ee(t){let e=pe;return pe=t,e}function Nh(){return pe}var Xi={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 Oh(t){if(Ki)throw new Error("");if(pe===null)return;pe.consumerOnSignalRead(t);let e=pe.nextProducerIndex++;if(es(pe),et.nextProducerIndex;)t.producerNode.pop(),t.producerLastReadVersion.pop(),t.producerIndexOfThis.pop()}}function Jl(t){es(t);for(let e=0;e0}function es(t){var e,o,n;(e=t.producerNode)!=null||(t.producerNode=[]),(o=t.producerIndexOfThis)!=null||(t.producerIndexOfThis=[]),(n=t.producerLastReadVersion)!=null||(t.producerLastReadVersion=[])}function jh(t){var e,o;(e=t.liveConsumerNode)!=null||(t.liveConsumerNode=[]),(o=t.liveConsumerIndexOfThis)!=null||(t.liveConsumerIndexOfThis=[])}function Bh(t){return t.producerNode!==void 0}function AD(){throw new Error}var Vh=AD;function RD(){Vh()}function Uh(t){Vh=t}var Yl=null;function zh(t,e){_D()||RD(),t.equal(t.value,e)||(t.value=e,ND(t))}var Hh=J(w({},Xi),{equal:Rh,value:void 0});function ND(t){t.version++,MD(),Fh(t),Yl==null||Yl()}function R(t){return typeof t=="function"}function Io(t){let o=t(n=>{Error.call(n),n.stack=new Error().stack});return o.prototype=Object.create(Error.prototype),o.prototype.constructor=o,o}var ts=Io(t=>function(o){t(this),this.message=o?`${o.length} errors occurred during unsubscription: +${o.map((n,r)=>`${r+1}) ${n.toString()}`).join(` + `)}`:"",this.name="UnsubscriptionError",this.errors=o});function Br(t,e){if(t){let o=t.indexOf(e);0<=o&&t.splice(o,1)}}var ve=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:o}=this;if(o)if(this._parentage=null,Array.isArray(o))for(let i of o)i.remove(this);else o.remove(this);let{initialTeardown:n}=this;if(R(n))try{n()}catch(i){e=i instanceof ts?i.errors:[i]}let{_finalizers:r}=this;if(r){this._finalizers=null;for(let i of r)try{Gh(i)}catch(s){e=e!=null?e:[],s instanceof ts?e=[...e,...s.errors]:e.push(s)}}if(e)throw new ts(e)}}add(e){var o;if(e&&e!==this)if(this.closed)Gh(e);else{if(e instanceof t){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=(o=this._finalizers)!==null&&o!==void 0?o:[]).push(e)}}_hasParent(e){let{_parentage:o}=this;return o===e||Array.isArray(o)&&o.includes(e)}_addParent(e){let{_parentage:o}=this;this._parentage=Array.isArray(o)?(o.push(e),o):o?[o,e]:e}_removeParent(e){let{_parentage:o}=this;o===e?this._parentage=null:Array.isArray(o)&&Br(o,e)}remove(e){let{_finalizers:o}=this;o&&Br(o,e),e instanceof t&&e._removeParent(this)}};ve.EMPTY=(()=>{let t=new ve;return t.closed=!0,t})();var tc=ve.EMPTY;function ns(t){return t instanceof ve||t&&"closed"in t&&R(t.remove)&&R(t.add)&&R(t.unsubscribe)}function Gh(t){R(t)?t():t.unsubscribe()}var Ct={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var Eo={setTimeout(t,e,...o){let{delegate:n}=Eo;return n!=null&&n.setTimeout?n.setTimeout(t,e,...o):setTimeout(t,e,...o)},clearTimeout(t){let{delegate:e}=Eo;return((e==null?void 0:e.clearTimeout)||clearTimeout)(t)},delegate:void 0};function os(t){Eo.setTimeout(()=>{let{onUnhandledError:e}=Ct;if(e)e(t);else throw t})}function Vr(){}var Wh=nc("C",void 0,void 0);function qh(t){return nc("E",void 0,t)}function Zh(t){return nc("N",t,void 0)}function nc(t,e,o){return{kind:t,value:e,error:o}}var jn=null;function xo(t){if(Ct.useDeprecatedSynchronousErrorHandling){let e=!jn;if(e&&(jn={errorThrown:!1,error:null}),t(),e){let{errorThrown:o,error:n}=jn;if(jn=null,o)throw n}}else t()}function Yh(t){Ct.useDeprecatedSynchronousErrorHandling&&jn&&(jn.errorThrown=!0,jn.error=t)}var Bn=class extends ve{constructor(e){super(),this.isStopped=!1,e?(this.destination=e,ns(e)&&e.add(this)):this.destination=FD}static create(e,o,n){return new Wt(e,o,n)}next(e){this.isStopped?rc(Zh(e),this):this._next(e)}error(e){this.isStopped?rc(qh(e),this):(this.isStopped=!0,this._error(e))}complete(){this.isStopped?rc(Wh,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()}}},OD=Function.prototype.bind;function oc(t,e){return OD.call(t,e)}var ic=class{constructor(e){this.partialObserver=e}next(e){let{partialObserver:o}=this;if(o.next)try{o.next(e)}catch(n){rs(n)}}error(e){let{partialObserver:o}=this;if(o.error)try{o.error(e)}catch(n){rs(n)}else rs(e)}complete(){let{partialObserver:e}=this;if(e.complete)try{e.complete()}catch(o){rs(o)}}},Wt=class extends Bn{constructor(e,o,n){super();let r;if(R(e)||!e)r={next:e!=null?e:void 0,error:o!=null?o:void 0,complete:n!=null?n:void 0};else{let i;this&&Ct.useDeprecatedNextContext?(i=Object.create(e),i.unsubscribe=()=>this.unsubscribe(),r={next:e.next&&oc(e.next,i),error:e.error&&oc(e.error,i),complete:e.complete&&oc(e.complete,i)}):r=e}this.destination=new ic(r)}};function rs(t){Ct.useDeprecatedSynchronousErrorHandling?Yh(t):os(t)}function PD(t){throw t}function rc(t,e){let{onStoppedNotification:o}=Ct;o&&Eo.setTimeout(()=>o(t,e))}var FD={closed:!0,next:Vr,error:PD,complete:Vr};var So=typeof Symbol=="function"&&Symbol.observable||"@@observable";function Le(t){return t}function sc(...t){return ac(t)}function ac(t){return t.length===0?Le:t.length===1?t[0]:function(o){return t.reduce((n,r)=>r(n),o)}}var Q=(()=>{class t{constructor(o){o&&(this._subscribe=o)}lift(o){let n=new t;return n.source=this,n.operator=o,n}subscribe(o,n,r){let i=$D(o)?o:new Wt(o,n,r);return xo(()=>{let{operator:s,source:a}=this;i.add(s?s.call(i,a):a?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(o){try{return this._subscribe(o)}catch(n){o.error(n)}}forEach(o,n){return n=Qh(n),new n((r,i)=>{let s=new Wt({next:a=>{try{o(a)}catch(l){i(l),s.unsubscribe()}},error:i,complete:r});this.subscribe(s)})}_subscribe(o){var n;return(n=this.source)===null||n===void 0?void 0:n.subscribe(o)}[So](){return this}pipe(...o){return ac(o)(this)}toPromise(o){return o=Qh(o),new o((n,r)=>{let i;this.subscribe(s=>i=s,s=>r(s),()=>n(i))})}}return t.create=e=>new t(e),t})();function Qh(t){var e;return(e=t!=null?t:Ct.Promise)!==null&&e!==void 0?e:Promise}function LD(t){return t&&R(t.next)&&R(t.error)&&R(t.complete)}function $D(t){return t&&t instanceof Bn||LD(t)&&ns(t)}function lc(t){return R(t==null?void 0:t.lift)}function H(t){return e=>{if(lc(e))return e.lift(function(o){try{return t(o,this)}catch(n){this.error(n)}});throw new TypeError("Unable to lift unknown Observable type")}}function G(t,e,o,n,r){return new cc(t,e,o,n,r)}var cc=class extends Bn{constructor(e,o,n,r,i,s){super(e),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=o?function(a){try{o(a)}catch(l){e.error(l)}}:super._next,this._error=r?function(a){try{r(a)}catch(l){e.error(l)}finally{this.unsubscribe()}}:super._error,this._complete=n?function(){try{n()}catch(a){e.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var e;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:o}=this;super.unsubscribe(),!o&&((e=this.onFinalize)===null||e===void 0||e.call(this))}}};function To(){return H((t,e)=>{let o=null;t._refCount++;let n=G(e,void 0,void 0,void 0,()=>{if(!t||t._refCount<=0||0<--t._refCount){o=null;return}let r=t._connection,i=o;o=null,r&&(!i||r===i)&&r.unsubscribe(),e.unsubscribe()});t.subscribe(n),n.closed||(o=t.connect())})}var Mo=class extends Q{constructor(e,o){super(),this.source=e,this.subjectFactory=o,this._subject=null,this._refCount=0,this._connection=null,lc(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==null||e.unsubscribe()}connect(){let e=this._connection;if(!e){e=this._connection=new ve;let o=this.getSubject();e.add(this.source.subscribe(G(o,void 0,()=>{this._teardown(),o.complete()},n=>{this._teardown(),o.error(n)},()=>this._teardown()))),e.closed&&(this._connection=null,e=ve.EMPTY)}return e}refCount(){return To()(this)}};var Kh=Io(t=>function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var re=(()=>{class t extends Q{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(o){let n=new is(this,this);return n.operator=o,n}_throwIfClosed(){if(this.closed)throw new Kh}next(o){xo(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let n of this.currentObservers)n.next(o)}})}error(o){xo(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=o;let{observers:n}=this;for(;n.length;)n.shift().error(o)}})}complete(){xo(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:o}=this;for(;o.length;)o.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var o;return((o=this.observers)===null||o===void 0?void 0:o.length)>0}_trySubscribe(o){return this._throwIfClosed(),super._trySubscribe(o)}_subscribe(o){return this._throwIfClosed(),this._checkFinalizedStatuses(o),this._innerSubscribe(o)}_innerSubscribe(o){let{hasError:n,isStopped:r,observers:i}=this;return n||r?tc:(this.currentObservers=null,i.push(o),new ve(()=>{this.currentObservers=null,Br(i,o)}))}_checkFinalizedStatuses(o){let{hasError:n,thrownError:r,isStopped:i}=this;n?o.error(r):i&&o.complete()}asObservable(){let o=new Q;return o.source=this,o}}return t.create=(e,o)=>new is(e,o),t})(),is=class extends re{constructor(e,o){super(),this.destination=e,this.source=o}next(e){var o,n;(n=(o=this.destination)===null||o===void 0?void 0:o.next)===null||n===void 0||n.call(o,e)}error(e){var o,n;(n=(o=this.destination)===null||o===void 0?void 0:o.error)===null||n===void 0||n.call(o,e)}complete(){var e,o;(o=(e=this.destination)===null||e===void 0?void 0:e.complete)===null||o===void 0||o.call(e)}_subscribe(e){var o,n;return(n=(o=this.source)===null||o===void 0?void 0:o.subscribe(e))!==null&&n!==void 0?n:tc}};var fe=class extends re{constructor(e){super(),this._value=e}get value(){return this.getValue()}_subscribe(e){let o=super._subscribe(e);return!o.closed&&e.next(this._value),o}getValue(){let{hasError:e,thrownError:o,_value:n}=this;if(e)throw o;return this._throwIfClosed(),n}next(e){super.next(this._value=e)}};var uc={now(){return(uc.delegate||Date).now()},delegate:void 0};var ss=class extends re{constructor(e=1/0,o=1/0,n=uc){super(),this._bufferSize=e,this._windowTime=o,this._timestampProvider=n,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=o===1/0,this._bufferSize=Math.max(1,e),this._windowTime=Math.max(1,o)}next(e){let{isStopped:o,_buffer:n,_infiniteTimeWindow:r,_timestampProvider:i,_windowTime:s}=this;o||(n.push(e),!r&&n.push(i.now()+s)),this._trimBuffer(),super.next(e)}_subscribe(e){this._throwIfClosed(),this._trimBuffer();let o=this._innerSubscribe(e),{_infiniteTimeWindow:n,_buffer:r}=this,i=r.slice();for(let s=0;st.complete());function Xh(t){return t&&R(t.schedule)}function Jh(t){return t[t.length-1]}function as(t){return R(Jh(t))?t.pop():void 0}function yn(t){return Xh(Jh(t))?t.pop():void 0}function Oe(t,e,o,n){var r=arguments.length,i=r<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,o,n);else for(var a=t.length-1;a>=0;a--)(s=t[a])&&(i=(r<3?s(i):r>3?s(e,o,i):s(e,o))||i);return r>3&&i&&Object.defineProperty(e,o,i),i}function tp(t,e,o,n){function r(i){return i instanceof o?i:new o(function(s){s(i)})}return new(o||(o=Promise))(function(i,s){function a(u){try{c(n.next(u))}catch(d){s(d)}}function l(u){try{c(n.throw(u))}catch(d){s(d)}}function c(u){u.done?i(u.value):r(u.value).then(a,l)}c((n=n.apply(t,e||[])).next())})}function ep(t){var e=typeof Symbol=="function"&&Symbol.iterator,o=e&&t[e],n=0;if(o)return o.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function Vn(t){return this instanceof Vn?(this.v=t,this):new Vn(t)}function np(t,e,o){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=o.apply(t,e||[]),r,i=[];return r=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",s),r[Symbol.asyncIterator]=function(){return this},r;function s(f){return function(g){return Promise.resolve(g).then(f,d)}}function a(f,g){n[f]&&(r[f]=function(v){return new Promise(function(D,b){i.push([f,v,D,b])>1||l(f,v)})},g&&(r[f]=g(r[f])))}function l(f,g){try{c(n[f](g))}catch(v){p(i[0][3],v)}}function c(f){f.value instanceof Vn?Promise.resolve(f.value.v).then(u,d):p(i[0][2],f)}function u(f){l("next",f)}function d(f){l("throw",f)}function p(f,g){f(g),i.shift(),i.length&&l(i[0][0],i[0][1])}}function op(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e=t[Symbol.asyncIterator],o;return e?e.call(t):(t=typeof ep=="function"?ep(t):t[Symbol.iterator](),o={},n("next"),n("throw"),n("return"),o[Symbol.asyncIterator]=function(){return this},o);function n(i){o[i]=t[i]&&function(s){return new Promise(function(a,l){s=t[i](s),r(a,l,s.done,s.value)})}}function r(i,s,a,l){Promise.resolve(l).then(function(c){i({value:c,done:a})},s)}}var _o=t=>t&&typeof t.length=="number"&&typeof t!="function";function ls(t){return R(t==null?void 0:t.then)}function cs(t){return R(t[So])}function us(t){return Symbol.asyncIterator&&R(t==null?void 0:t[Symbol.asyncIterator])}function ds(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 jD(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var fs=jD();function hs(t){return R(t==null?void 0:t[fs])}function ps(t){return np(this,arguments,function*(){let o=t.getReader();try{for(;;){let{value:n,done:r}=yield Vn(o.read());if(r)return yield Vn(void 0);yield yield Vn(n)}}finally{o.releaseLock()}})}function ms(t){return R(t==null?void 0:t.getReader)}function ae(t){if(t instanceof Q)return t;if(t!=null){if(cs(t))return BD(t);if(_o(t))return VD(t);if(ls(t))return UD(t);if(us(t))return rp(t);if(hs(t))return zD(t);if(ms(t))return HD(t)}throw ds(t)}function BD(t){return new Q(e=>{let o=t[So]();if(R(o.subscribe))return o.subscribe(e);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function VD(t){return new Q(e=>{for(let o=0;o{t.then(o=>{e.closed||(e.next(o),e.complete())},o=>e.error(o)).then(null,os)})}function zD(t){return new Q(e=>{for(let o of t)if(e.next(o),e.closed)return;e.complete()})}function rp(t){return new Q(e=>{GD(t,e).catch(o=>e.error(o))})}function HD(t){return rp(ps(t))}function GD(t,e){var o,n,r,i;return tp(this,void 0,void 0,function*(){try{for(o=op(t);n=yield o.next(),!n.done;){let s=n.value;if(e.next(s),e.closed)return}}catch(s){r={error:s}}finally{try{n&&!n.done&&(i=o.return)&&(yield i.call(o))}finally{if(r)throw r.error}}e.complete()})}function Ze(t,e,o,n=0,r=!1){let i=e.schedule(function(){o(),r?t.add(this.schedule(null,n)):this.unsubscribe()},n);if(t.add(i),!r)return i}function gs(t,e=0){return H((o,n)=>{o.subscribe(G(n,r=>Ze(n,t,()=>n.next(r),e),()=>Ze(n,t,()=>n.complete(),e),r=>Ze(n,t,()=>n.error(r),e)))})}function vs(t,e=0){return H((o,n)=>{n.add(t.schedule(()=>o.subscribe(n),e))})}function ip(t,e){return ae(t).pipe(vs(e),gs(e))}function sp(t,e){return ae(t).pipe(vs(e),gs(e))}function ap(t,e){return new Q(o=>{let n=0;return e.schedule(function(){n===t.length?o.complete():(o.next(t[n++]),o.closed||this.schedule())})})}function lp(t,e){return new Q(o=>{let n;return Ze(o,e,()=>{n=t[fs](),Ze(o,e,()=>{let r,i;try{({value:r,done:i}=n.next())}catch(s){o.error(s);return}i?o.complete():o.next(r)},0,!0)}),()=>R(n==null?void 0:n.return)&&n.return()})}function ys(t,e){if(!t)throw new Error("Iterable cannot be null");return new Q(o=>{Ze(o,e,()=>{let n=t[Symbol.asyncIterator]();Ze(o,e,()=>{n.next().then(r=>{r.done?o.complete():o.next(r.value)})},0,!0)})})}function cp(t,e){return ys(ps(t),e)}function up(t,e){if(t!=null){if(cs(t))return ip(t,e);if(_o(t))return ap(t,e);if(ls(t))return sp(t,e);if(us(t))return ys(t,e);if(hs(t))return lp(t,e);if(ms(t))return cp(t,e)}throw ds(t)}function ue(t,e){return e?up(t,e):ae(t)}function k(...t){let e=yn(t);return ue(t,e)}function ko(t,e){let o=R(t)?t:()=>t,n=r=>r.error(o());return new Q(e?r=>e.schedule(n,0,r):n)}function bn(t){return!!t&&(t instanceof Q||R(t.lift)&&R(t.subscribe))}var qt=Io(t=>function(){t(this),this.name="EmptyError",this.message="no elements in sequence"});function $(t,e){return H((o,n)=>{let r=0;o.subscribe(G(n,i=>{n.next(t.call(e,i,r++))}))})}var{isArray:WD}=Array;function qD(t,e){return WD(e)?t(...e):t(e)}function Ao(t){return $(e=>qD(t,e))}var{isArray:ZD}=Array,{getPrototypeOf:YD,prototype:QD,keys:KD}=Object;function bs(t){if(t.length===1){let e=t[0];if(ZD(e))return{args:e,keys:null};if(XD(e)){let o=KD(e);return{args:o.map(n=>e[n]),keys:o}}}return{args:t,keys:null}}function XD(t){return t&&typeof t=="object"&&YD(t)===QD}function Ds(t,e){return t.reduce((o,n,r)=>(o[n]=e[r],o),{})}function Un(...t){let e=yn(t),o=as(t),{args:n,keys:r}=bs(t);if(n.length===0)return ue([],e);let i=new Q(JD(n,e,r?s=>Ds(r,s):Le));return o?i.pipe(Ao(o)):i}function JD(t,e,o=Le){return n=>{dp(e,()=>{let{length:r}=t,i=new Array(r),s=r,a=r;for(let l=0;l{let c=ue(t[l],e),u=!1;c.subscribe(G(n,d=>{i[l]=d,u||(u=!0,a--),a||n.next(o(i.slice()))},()=>{--s||n.complete()}))},n)},n)}}function dp(t,e,o){t?Ze(o,t,e):e()}function fp(t,e,o,n,r,i,s,a){let l=[],c=0,u=0,d=!1,p=()=>{d&&!l.length&&!c&&e.complete()},f=v=>c{i&&e.next(v),c++;let D=!1;ae(o(v,u++)).subscribe(G(e,b=>{r==null||r(b),i?f(b):e.next(b)},()=>{D=!0},void 0,()=>{if(D)try{for(c--;l.length&&cg(b)):g(b)}p()}catch(b){e.error(b)}}))};return t.subscribe(G(e,f,()=>{d=!0,p()})),()=>{a==null||a()}}function he(t,e,o=1/0){return R(e)?he((n,r)=>$((i,s)=>e(n,i,r,s))(ae(t(n,r))),o):(typeof e=="number"&&(o=e),H((n,r)=>fp(n,r,t,o)))}function Ro(t=1/0){return he(Le,t)}function hp(){return Ro(1)}function Zt(...t){return hp()(ue(t,yn(t)))}function zn(t){return new Q(e=>{ae(t()).subscribe(e)})}function Ur(...t){let e=as(t),{args:o,keys:n}=bs(t),r=new Q(i=>{let{length:s}=o;if(!s){i.complete();return}let a=new Array(s),l=s,c=s;for(let u=0;u{d||(d=!0,c--),a[u]=p},()=>l--,void 0,()=>{(!l||!d)&&(c||i.next(n?Ds(n,a):a),i.complete())}))}});return e?r.pipe(Ao(e)):r}var ew=["addListener","removeListener"],tw=["addEventListener","removeEventListener"],nw=["on","off"];function No(t,e,o,n){if(R(o)&&(n=o,o=void 0),n)return No(t,e,o).pipe(Ao(n));let[r,i]=iw(t)?tw.map(s=>a=>t[s](e,a,o)):ow(t)?ew.map(pp(t,e)):rw(t)?nw.map(pp(t,e)):[];if(!r&&_o(t))return he(s=>No(s,e,o))(ae(t));if(!r)throw new TypeError("Invalid event target");return new Q(s=>{let a=(...l)=>s.next(1i(a)})}function pp(t,e){return o=>n=>t[o](e,n)}function ow(t){return R(t.addListener)&&R(t.removeListener)}function rw(t){return R(t.on)&&R(t.off)}function iw(t){return R(t.addEventListener)&&R(t.removeEventListener)}function ke(t,e){return H((o,n)=>{let r=0;o.subscribe(G(n,i=>t.call(e,i,r++)&&n.next(i)))})}function Dn(t){return H((e,o)=>{let n=null,r=!1,i;n=e.subscribe(G(o,void 0,void 0,s=>{i=ae(t(s,Dn(t)(e))),n?(n.unsubscribe(),n=null,i.subscribe(o)):r=!0})),r&&(n.unsubscribe(),n=null,i.subscribe(o))})}function mp(t,e,o,n,r){return(i,s)=>{let a=o,l=e,c=0;i.subscribe(G(s,u=>{let d=c++;l=a?t(l,u,d):(a=!0,u),n&&s.next(l)},r&&(()=>{a&&s.next(l),s.complete()})))}}function It(t,e){return R(e)?he(t,e,1):he(t,1)}function wn(t){return H((e,o)=>{let n=!1;e.subscribe(G(o,r=>{n=!0,o.next(r)},()=>{n||o.next(t),o.complete()}))})}function Ye(t){return t<=0?()=>ot:H((e,o)=>{let n=0;e.subscribe(G(o,r=>{++n<=t&&(o.next(r),t<=n&&o.complete())}))})}function dc(t,e=Le){return t=t!=null?t:sw,H((o,n)=>{let r,i=!0;o.subscribe(G(n,s=>{let a=e(s);(i||!t(r,a))&&(i=!1,r=a,n.next(s))}))})}function sw(t,e){return t===e}function ws(t=aw){return H((e,o)=>{let n=!1;e.subscribe(G(o,r=>{n=!0,o.next(r)},()=>n?o.complete():o.error(t())))})}function aw(){return new qt}function Oo(t){return H((e,o)=>{try{e.subscribe(o)}finally{o.add(t)}})}function Yt(t,e){let o=arguments.length>=2;return n=>n.pipe(t?ke((r,i)=>t(r,i,n)):Le,Ye(1),o?wn(e):ws(()=>new qt))}function Po(t){return t<=0?()=>ot:H((e,o)=>{let n=[];e.subscribe(G(o,r=>{n.push(r),t{for(let r of n)o.next(r);o.complete()},void 0,()=>{n=null}))})}function fc(t,e){let o=arguments.length>=2;return n=>n.pipe(t?ke((r,i)=>t(r,i,n)):Le,Po(1),o?wn(e):ws(()=>new qt))}function hc(t,e){return H(mp(t,e,arguments.length>=2,!0))}function gp(t={}){let{connector:e=()=>new re,resetOnError:o=!0,resetOnComplete:n=!0,resetOnRefCountZero:r=!0}=t;return i=>{let s,a,l,c=0,u=!1,d=!1,p=()=>{a==null||a.unsubscribe(),a=void 0},f=()=>{p(),s=l=void 0,u=d=!1},g=()=>{let v=s;f(),v==null||v.unsubscribe()};return H((v,D)=>{c++,!d&&!u&&p();let b=l=l!=null?l:e();D.add(()=>{c--,c===0&&!d&&!u&&(a=pc(g,r))}),b.subscribe(D),!s&&c>0&&(s=new Wt({next:I=>b.next(I),error:I=>{d=!0,p(),a=pc(f,o,I),b.error(I)},complete:()=>{u=!0,p(),a=pc(f,n),b.complete()}}),ae(v).subscribe(s))})(i)}}function pc(t,e,...o){if(e===!0){t();return}if(e===!1)return;let n=new Wt({next:()=>{n.unsubscribe(),t()}});return ae(e(...o)).subscribe(n)}function Cs(t,e,o){let n,r=!1;return t&&typeof t=="object"?{bufferSize:n=1/0,windowTime:e=1/0,refCount:r=!1,scheduler:o}=t:n=t!=null?t:1/0,gp({connector:()=>new ss(n,e,o),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:r})}function mc(...t){let e=yn(t);return H((o,n)=>{(e?Zt(t,o,e):Zt(t,o)).subscribe(n)})}function ye(t,e){return H((o,n)=>{let r=null,i=0,s=!1,a=()=>s&&!r&&n.complete();o.subscribe(G(n,l=>{r==null||r.unsubscribe();let c=0,u=i++;ae(t(l,u)).subscribe(r=G(n,d=>n.next(e?e(l,d,u,c++):d),()=>{r=null,a()}))},()=>{s=!0,a()}))})}function gc(t){return H((e,o)=>{ae(t).subscribe(G(o,()=>o.complete(),Vr)),!o.closed&&e.subscribe(o)})}function Se(t,e,o){let n=R(t)||e||o?{next:t,error:e,complete:o}:t;return n?H((r,i)=>{var s;(s=n.subscribe)===null||s===void 0||s.call(n);let a=!0;r.subscribe(G(i,l=>{var c;(c=n.next)===null||c===void 0||c.call(n,l),i.next(l)},()=>{var l;a=!1,(l=n.complete)===null||l===void 0||l.call(n),i.complete()},l=>{var c;a=!1,(c=n.error)===null||c===void 0||c.call(n,l),i.error(l)},()=>{var l,c;a&&((l=n.unsubscribe)===null||l===void 0||l.call(n)),(c=n.finalize)===null||c===void 0||c.call(n)}))}):Le}var O=class extends Error{code;constructor(e,o){super(vu(e,o)),this.code=e}};function vu(t,e){return`${`NG0${Math.abs(t)}`}${e?": "+e:""}`}var Kp=Symbol("InputSignalNode#UNSET"),lw=J(w({},Hh),{transformFn:void 0,applyValueToInputSignal(t,e){zh(t,e)}});function Xp(t,e){let o=Object.create(lw);o.value=t,o.transformFn=e==null?void 0:e.transform;function n(){if(Oh(o),o.value===Kp)throw new O(-950,!1);return o.value}return n[Co]=o,n}function Jr(t){return{toString:t}.toString()}var Is="__parameters__";function cw(t){return function(...o){if(t){let n=t(...o);for(let r in n)this[r]=n[r]}}}function Jp(t,e,o){return Jr(()=>{let n=cw(e);function r(...i){if(this instanceof r)return n.apply(this,i),this;let s=new r(...i);return a.annotation=s,a;function a(l,c,u){let d=l.hasOwnProperty(Is)?l[Is]:Object.defineProperty(l,Is,{value:[]})[Is];for(;d.length<=u;)d.push(null);return(d[u]=d[u]||[]).push(s),l}}return o&&(r.prototype=Object.create(o.prototype)),r.prototype.ngMetadataName=t,r.annotationCls=r,r})}function ie(t){for(let e in t)if(t[e]===ie)return e;throw Error("Could not find renamed property on target object.")}function uw(t,e){for(let o in e)e.hasOwnProperty(o)&&!t.hasOwnProperty(o)&&(t[o]=e[o])}function Qe(t){if(typeof t=="string")return t;if(Array.isArray(t))return"["+t.map(Qe).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 o=e.indexOf(` +`);return o===-1?e:e.substring(0,o)}function vp(t,e){return t==null||t===""?e===null?"":e:e==null||e===""?t:t+" "+e}var dw=ie({__forward_ref__:ie});function ei(t){return t.__forward_ref__=ei,t.toString=function(){return Qe(this())},t}function $e(t){return em(t)?t():t}function em(t){return typeof t=="function"&&t.hasOwnProperty(dw)&&t.__forward_ref__===ei}function x(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function Te(t){return{providers:t.providers||[],imports:t.imports||[]}}function Xs(t){return yp(t,nm)||yp(t,om)}function tm(t){return Xs(t)!==null}function yp(t,e){return t.hasOwnProperty(e)?t[e]:null}function fw(t){let e=t&&(t[nm]||t[om]);return e||null}function bp(t){return t&&(t.hasOwnProperty(Dp)||t.hasOwnProperty(hw))?t[Dp]:null}var nm=ie({\u0275prov:ie}),Dp=ie({\u0275inj:ie}),om=ie({ngInjectableDef:ie}),hw=ie({ngInjectorDef:ie}),_=class{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(e,o){this._desc=e,this.\u0275prov=void 0,typeof o=="number"?this.__NG_ELEMENT_ID__=o:o!==void 0&&(this.\u0275prov=x({token:this,providedIn:o.providedIn||"root",factory:o.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function rm(t){return t&&!!t.\u0275providers}var pw=ie({\u0275cmp:ie}),mw=ie({\u0275dir:ie}),gw=ie({\u0275pipe:ie}),vw=ie({\u0275mod:ie}),As=ie({\u0275fac:ie}),Wr=ie({__NG_ELEMENT_ID__:ie}),wp=ie({__NG_ENV_ID__:ie});function yw(t){return typeof t=="string"?t:t==null?"":String(t)}function bw(t){return typeof t=="function"?t.name||t.toString():typeof t=="object"&&t!=null&&typeof t.type=="function"?t.type.name||t.type.toString():yw(t)}function Dw(t,e){let o=e?`. Dependency path: ${e.join(" > ")} > ${t}`:"";throw new O(-200,t)}function yu(t,e){throw new O(-201,!1)}var z=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}(z||{}),Sc;function im(){return Sc}function ht(t){let e=Sc;return Sc=t,e}function sm(t,e,o){let n=Xs(t);if(n&&n.providedIn=="root")return n.value===void 0?n.value=n.factory():n.value;if(o&z.Optional)return null;if(e!==void 0)return e;yu(t,"Injector")}var ww={},qr=ww,Tc="__NG_DI_FLAG__",Rs="ngTempTokenPath",Cw="ngTokenPath",Iw=/\n/gm,Ew="\u0275",Cp="__source",Bo;function xw(){return Bo}function Cn(t){let e=Bo;return Bo=t,e}function Sw(t,e=z.Default){if(Bo===void 0)throw new O(-203,!1);return Bo===null?sm(t,void 0,e):Bo.get(t,e&z.Optional?null:void 0,e)}function S(t,e=z.Default){return(im()||Sw)($e(t),e)}function y(t,e=z.Default){return S(t,Js(e))}function Js(t){return typeof t>"u"||typeof t=="number"?t:0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)}function Mc(t){let e=[];for(let o=0;o ");else if(typeof e=="object"){let i=[];for(let s in e)if(e.hasOwnProperty(s)){let a=e[s];i.push(s+":"+(typeof a=="string"?JSON.stringify(a):Qe(a)))}r=`{${i.join(", ")}}`}return`${o}${n?"("+n+")":""}[${r}]: ${t.replace(Iw,` + `)}`}var bu=am(Jp("Optional"),8);var lm=am(Jp("SkipSelf"),4);function zo(t,e){let o=t.hasOwnProperty(As);return o?t[As]:null}function kw(t,e,o){if(t.length!==e.length)return!1;for(let n=0;nArray.isArray(o)?Du(o,e):e(o))}function cm(t,e,o){e>=t.length?t.push(o):t.splice(e,0,o)}function Ns(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function Rw(t,e){let o=[];for(let n=0;n{o.push(s)};return Du(e,s=>{let a=s;_c(a,i,[],n)&&(r||(r=[]),r.push(a))}),r!==void 0&&vm(r,i),o}function vm(t,e){for(let o=0;o{e(i,n)})}}function _c(t,e,o,n){if(t=$e(t),!t)return!1;let r=null,i=bp(t),s=!i&&Qt(t);if(!i&&!s){let l=t.ngModule;if(i=bp(l),i)r=l;else return!1}else{if(s&&!s.standalone)return!1;r=t}let a=n.has(r);if(s){if(a)return!1;if(n.add(r),s.dependencies){let l=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let c of l)_c(c,e,o,n)}}else if(i){if(i.imports!=null&&!a){n.add(r);let c;try{Du(i.imports,u=>{_c(u,e,o,n)&&(c||(c=[]),c.push(u))})}finally{}c!==void 0&&vm(c,e)}if(!a){let c=zo(r)||(()=>new r);e({provide:r,useFactory:c,deps:xt},r),e({provide:dm,useValue:r,multi:!0},r),e({provide:Go,useValue:()=>S(r),multi:!0},r)}let l=i.providers;if(l!=null&&!a){let c=t;wu(l,u=>{e(u,c)})}}else return!1;return r!==t&&t.providers!==void 0}function wu(t,e){for(let o of t)rm(o)&&(o=o.\u0275providers),Array.isArray(o)?wu(o,e):e(o)}var Ow=ie({provide:String,useValue:ie});function ym(t){return t!==null&&typeof t=="object"&&Ow in t}function Pw(t){return!!(t&&t.useExisting)}function Fw(t){return!!(t&&t.useFactory)}function Wo(t){return typeof t=="function"}function Lw(t){return!!t.useClass}var ea=new _(""),xs={},$w={},vc;function ta(){return vc===void 0&&(vc=new Os),vc}var me=class{},Zr=class extends me{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(e,o,n,r){super(),this.parent=o,this.source=n,this.scopes=r,Ac(e,s=>this.processProvider(s)),this.records.set(um,Fo(void 0,this)),r.has("environment")&&this.records.set(me,Fo(void 0,this));let i=this.records.get(ea);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(dm,xt,z.Self))}destroy(){Hr(this),this._destroyed=!0;let e=ee(null);try{for(let n of this._ngOnDestroyHooks)n.ngOnDestroy();let o=this._onDestroyHooks;this._onDestroyHooks=[];for(let n of o)n()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),ee(e)}}onDestroy(e){return Hr(this),this._onDestroyHooks.push(e),()=>this.removeOnDestroy(e)}runInContext(e){Hr(this);let o=Cn(this),n=ht(void 0),r;try{return e()}finally{Cn(o),ht(n)}}get(e,o=qr,n=z.Default){if(Hr(this),e.hasOwnProperty(wp))return e[wp](this);n=Js(n);let r,i=Cn(this),s=ht(void 0);try{if(!(n&z.SkipSelf)){let l=this.records.get(e);if(l===void 0){let c=zw(e)&&Xs(e);c&&this.injectableDefInScope(c)?l=Fo(kc(e),xs):l=null,this.records.set(e,l)}if(l!=null)return this.hydrate(e,l)}let a=n&z.Self?ta():this.parent;return o=n&z.Optional&&o===qr?null:o,a.get(e,o)}catch(a){if(a.name==="NullInjectorError"){if((a[Rs]=a[Rs]||[]).unshift(Qe(e)),i)throw a;return Mw(a,e,"R3InjectorError",this.source)}else throw a}finally{ht(s),Cn(i)}}resolveInjectorInitializers(){let e=ee(null),o=Cn(this),n=ht(void 0),r;try{let i=this.get(Go,xt,z.Self);for(let s of i)s()}finally{Cn(o),ht(n),ee(e)}}toString(){let e=[],o=this.records;for(let n of o.keys())e.push(Qe(n));return`R3Injector[${e.join(", ")}]`}processProvider(e){e=$e(e);let o=Wo(e)?e:$e(e&&e.provide),n=Bw(e);if(!Wo(e)&&e.multi===!0){let r=this.records.get(o);r||(r=Fo(void 0,xs,!0),r.factory=()=>Mc(r.multi),this.records.set(o,r)),o=e,r.multi.push(e)}this.records.set(o,n)}hydrate(e,o){let n=ee(null);try{return o.value===xs&&(o.value=$w,o.value=o.factory()),typeof o.value=="object"&&o.value&&Uw(o.value)&&this._ngOnDestroyHooks.add(o.value),o.value}finally{ee(n)}}injectableDefInScope(e){if(!e.providedIn)return!1;let o=$e(e.providedIn);return typeof o=="string"?o==="any"||this.scopes.has(o):this.injectorDefTypes.has(o)}removeOnDestroy(e){let o=this._onDestroyHooks.indexOf(e);o!==-1&&this._onDestroyHooks.splice(o,1)}};function kc(t){let e=Xs(t),o=e!==null?e.factory:zo(t);if(o!==null)return o;if(t instanceof _)throw new O(204,!1);if(t instanceof Function)return jw(t);throw new O(204,!1)}function jw(t){if(t.length>0)throw new O(204,!1);let o=fw(t);return o!==null?()=>o.factory(t):()=>new t}function Bw(t){if(ym(t))return Fo(void 0,t.useValue);{let e=bm(t);return Fo(e,xs)}}function bm(t,e,o){let n;if(Wo(t)){let r=$e(t);return zo(r)||kc(r)}else if(ym(t))n=()=>$e(t.useValue);else if(Fw(t))n=()=>t.useFactory(...Mc(t.deps||[]));else if(Pw(t))n=()=>S($e(t.useExisting));else{let r=$e(t&&(t.useClass||t.provide));if(Vw(t))n=()=>new r(...Mc(t.deps));else return zo(r)||kc(r)}return n}function Hr(t){if(t.destroyed)throw new O(205,!1)}function Fo(t,e,o=!1){return{factory:t,value:e,multi:o?[]:void 0}}function Vw(t){return!!t.deps}function Uw(t){return t!==null&&typeof t=="object"&&typeof t.ngOnDestroy=="function"}function zw(t){return typeof t=="function"||typeof t=="object"&&t instanceof _}function Ac(t,e){for(let o of t)Array.isArray(o)?Ac(o,e):o&&rm(o)?Ac(o.\u0275providers,e):e(o)}function mt(t,e){t instanceof Zr&&Hr(t);let o,n=Cn(t),r=ht(void 0);try{return e()}finally{Cn(n),ht(r)}}function Dm(){return im()!==void 0||xw()!=null}function Hw(t){if(!Dm())throw new O(-203,!1)}function Gw(t){return typeof t=="function"}var Jt=0,V=1,P=2,Pe=3,St=4,Ke=5,Yr=6,Vo=7,Mt=8,qo=9,En=10,je=11,Qr=12,Ip=13,Ko=14,pt=15,Zn=16,Lo=17,Tt=18,na=19,wm=20,In=21,yc=22,Ps=23,rt=24,_t=25,Cm=1;var Yn=7,Fs=8,Zo=9,it=10,Ls=function(t){return t[t.None=0]="None",t[t.HasTransplantedViews=2]="HasTransplantedViews",t}(Ls||{});function Gn(t){return Array.isArray(t)&&typeof t[Cm]=="object"}function en(t){return Array.isArray(t)&&t[Cm]===!0}function Cu(t){return(t.flags&4)!==0}function oa(t){return t.componentOffset>-1}function ra(t){return(t.flags&1)===1}function xn(t){return!!t.template}function Rc(t){return(t[P]&512)!==0}var Nc=class{previousValue;currentValue;firstChange;constructor(e,o,n){this.previousValue=e,this.currentValue=o,this.firstChange=n}isFirstChange(){return this.firstChange}};function Im(t,e,o,n){e!==null?e.applyValueToInputSignal(e,n):t[o]=n}var ti=(()=>{let t=()=>Em;return t.ngInherit=!0,t})();function Em(t){return t.type.prototype.ngOnChanges&&(t.setInput=qw),Ww}function Ww(){let t=Sm(this),e=t==null?void 0:t.current;if(e){let o=t.previous;if(o===Ho)t.previous=e;else for(let n in e)o[n]=e[n];t.current=null,this.ngOnChanges(e)}}function qw(t,e,o,n,r){let i=this.declaredInputs[n],s=Sm(t)||Zw(t,{previous:Ho,current:null}),a=s.current||(s.current={}),l=s.previous,c=l[i];a[i]=new Nc(c&&c.currentValue,o,l===Ho),Im(t,e,r,o)}var xm="__ngSimpleChanges__";function Sm(t){return t[xm]||null}function Zw(t,e){return t[xm]=e}var Ep=null;var Lt=function(t,e,o){Ep!=null&&Ep(t,e,o)},Yw="svg",Qw="math";function Kt(t){for(;Array.isArray(t);)t=t[Jt];return t}function kt(t,e){return Kt(e[t.index])}function Tm(t,e){return t.data[e]}function io(t,e){let o=e[t];return Gn(o)?o:o[Jt]}function Kw(t){return(t[P]&4)===4}function Iu(t){return(t[P]&128)===128}function Xw(t){return en(t[Pe])}function Yo(t,e){return e==null?null:t[e]}function Mm(t){t[Lo]=0}function Eu(t){t[P]&1024||(t[P]|=1024,Iu(t)&&sa(t))}function Jw(t,e){for(;t>0;)e=e[Ko],t--;return e}function ia(t){var e;return!!(t[P]&9216||(e=t[rt])!=null&&e.dirty)}function Oc(t){var e;(e=t[En].changeDetectionScheduler)==null||e.notify(9),t[P]&64&&(t[P]|=1024),ia(t)&&sa(t)}function sa(t){var o;(o=t[En].changeDetectionScheduler)==null||o.notify(0);let e=Qn(t);for(;e!==null&&!(e[P]&8192||(e[P]|=8192,!Iu(e)));)e=Qn(e)}function _m(t,e){if((t[P]&256)===256)throw new O(911,!1);t[In]===null&&(t[In]=[]),t[In].push(e)}function eC(t,e){if(t[In]===null)return;let o=t[In].indexOf(e);o!==-1&&t[In].splice(o,1)}function Qn(t){let e=t[Pe];return en(e)?e[Pe]:e}var K={lFrame:Lm(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var Pc=!1;function tC(){return K.lFrame.elementDepthCount}function nC(){K.lFrame.elementDepthCount++}function oC(){K.lFrame.elementDepthCount--}function km(){return K.bindingsEnabled}function Am(){return K.skipHydrationRootTNode!==null}function rC(t){return K.skipHydrationRootTNode===t}function iC(){K.skipHydrationRootTNode=null}function ce(){return K.lFrame.lView}function Be(){return K.lFrame.tView}function xu(t){return K.lFrame.contextLView=t,t[Mt]}function Su(t){return K.lFrame.contextLView=null,t}function Ve(){let t=Rm();for(;t!==null&&t.type===64;)t=t.parent;return t}function Rm(){return K.lFrame.currentTNode}function sC(){let t=K.lFrame,e=t.currentTNode;return t.isParent?e:e.parent}function so(t,e){let o=K.lFrame;o.currentTNode=t,o.isParent=e}function Tu(){return K.lFrame.isParent}function Mu(){K.lFrame.isParent=!1}function Nm(){return Pc}function xp(t){let e=Pc;return Pc=t,e}function aC(t){return K.lFrame.bindingIndex=t}function lC(){return K.lFrame.bindingIndex++}function cC(){return K.lFrame.inI18n}function uC(t,e){let o=K.lFrame;o.bindingIndex=o.bindingRootIndex=t,Fc(e)}function dC(){return K.lFrame.currentDirectiveIndex}function Fc(t){K.lFrame.currentDirectiveIndex=t}function Om(){return K.lFrame.currentQueryIndex}function _u(t){K.lFrame.currentQueryIndex=t}function fC(t){let e=t[V];return e.type===2?e.declTNode:e.type===1?t[Ke]:null}function Pm(t,e,o){if(o&z.SkipSelf){let r=e,i=t;for(;r=r.parent,r===null&&!(o&z.Host);)if(r=fC(i),r===null||(i=i[Ko],r.type&10))break;if(r===null)return!1;e=r,t=i}let n=K.lFrame=Fm();return n.currentTNode=e,n.lView=t,!0}function ku(t){let e=Fm(),o=t[V];K.lFrame=e,e.currentTNode=o.firstChild,e.lView=t,e.tView=o,e.contextLView=t,e.bindingIndex=o.bindingStartIndex,e.inI18n=!1}function Fm(){let t=K.lFrame,e=t===null?null:t.child;return e===null?Lm(t):e}function Lm(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 $m(){let t=K.lFrame;return K.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}var jm=$m;function Au(){let t=$m();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 hC(t){return(K.lFrame.contextLView=Jw(t,K.lFrame.contextLView))[Mt]}function Bm(){return K.lFrame.selectedIndex}function Kn(t){K.lFrame.selectedIndex=t}function pC(){let t=K.lFrame;return Tm(t.tView,t.selectedIndex)}function mC(){return K.lFrame.currentNamespace}var Vm=!0;function aa(){return Vm}function la(t){Vm=t}function gC(t,e,o){var s,a,l,c,u;let{ngOnChanges:n,ngOnInit:r,ngDoCheck:i}=e.type.prototype;if(n){let d=Em(e);((s=o.preOrderHooks)!=null?s:o.preOrderHooks=[]).push(t,d),((a=o.preOrderCheckHooks)!=null?a:o.preOrderCheckHooks=[]).push(t,d)}r&&((l=o.preOrderHooks)!=null?l:o.preOrderHooks=[]).push(0-t,r),i&&(((c=o.preOrderHooks)!=null?c:o.preOrderHooks=[]).push(t,i),((u=o.preOrderCheckHooks)!=null?u:o.preOrderCheckHooks=[]).push(t,i))}function ca(t,e){var o,n,r,i,s,a,l;for(let c=e.directiveStart,u=e.directiveEnd;c=n)break}else e[l]<0&&(t[Lo]+=65536),(a>14>16&&(t[P]&3)===e&&(t[P]+=16384,Sp(a,i)):Sp(a,i)}var Uo=-1,Xn=class{factory;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(e,o,n){this.factory=e,this.canSeeViewProviders=o,this.injectImpl=n}};function yC(t){return t instanceof Xn}function bC(t){return(t.flags&8)!==0}function DC(t){return(t.flags&16)!==0}function Lc(t,e,o){let n=0;for(;ne){s=i-1;break}}}for(;i>16}function js(t,e){let o=CC(t),n=e;for(;o>0;)n=n[Ko],o--;return n}var jc=!0;function Mp(t){let e=jc;return jc=t,e}var IC=256,Gm=IC-1,Wm=5,EC=0,$t={};function xC(t,e,o){let n;typeof o=="string"?n=o.charCodeAt(0)||0:o.hasOwnProperty(Wr)&&(n=o[Wr]),n==null&&(n=o[Wr]=EC++);let r=n&Gm,i=1<>Wm)]|=i}function Bs(t,e){let o=qm(t,e);if(o!==-1)return o;let n=e[V];n.firstCreatePass&&(t.injectorIndex=e.length,wc(n.data,t),wc(e,null),wc(n.blueprint,null));let r=Ru(t,e),i=t.injectorIndex;if(Hm(r)){let s=$s(r),a=js(r,e),l=a[V].data;for(let c=0;c<8;c++)e[i+c]=a[s+c]|l[s+c]}return e[i+8]=r,i}function wc(t,e){t.push(0,0,0,0,0,0,0,0,e)}function qm(t,e){return t.injectorIndex===-1||t.parent&&t.parent.injectorIndex===t.injectorIndex||e[t.injectorIndex+8]===null?-1:t.injectorIndex}function Ru(t,e){if(t.parent&&t.parent.injectorIndex!==-1)return t.parent.injectorIndex;let o=0,n=null,r=e;for(;r!==null;){if(n=Xm(r),n===null)return Uo;if(o++,r=r[Ko],n.injectorIndex!==-1)return n.injectorIndex|o<<16}return Uo}function Bc(t,e,o){xC(t,e,o)}function SC(t,e){if(e==="class")return t.classes;if(e==="style")return t.styles;let o=t.attrs;if(o){let n=o.length,r=0;for(;r>20,d=n?a:a+u,p=r?a+u:c;for(let f=d;f=l&&g.type===o)return f}if(r){let f=s[l];if(f&&xn(f)&&f.type===o)return l}return null}function Jn(t,e,o,n){let r=t[o],i=e.data;if(yC(r)){let s=r;s.resolving&&Dw(bw(i[o]));let a=Mp(s.canSeeViewProviders);s.resolving=!0;let l,c=s.injectImpl?ht(s.injectImpl):null,u=Pm(t,n,z.Default);try{r=t[o]=s.factory(void 0,i,t,n),e.firstCreatePass&&o>=n.directiveStart&&gC(o,i[o],e)}finally{c!==null&&ht(c),Mp(a),s.resolving=!1,jm()}}return r}function MC(t){if(typeof t=="string")return t.charCodeAt(0)||0;let e=t.hasOwnProperty(Wr)?t[Wr]:void 0;return typeof e=="number"?e>=0?e&Gm:_C:e}function _p(t,e,o){let n=1<>Wm)]&n)}function kp(t,e){return!(t&z.Self)&&!(t&z.Host&&e)}var Wn=class{_tNode;_lView;constructor(e,o){this._tNode=e,this._lView=o}get(e,o,n){return Qm(this._tNode,this._lView,e,Js(n),o)}};function _C(){return new Wn(Ve(),ce())}function Vt(t){return Jr(()=>{let e=t.prototype.constructor,o=e[As]||Vc(e),n=Object.prototype,r=Object.getPrototypeOf(t.prototype).constructor;for(;r&&r!==n;){let i=r[As]||Vc(r);if(i&&i!==o)return i;r=Object.getPrototypeOf(r)}return i=>new i})}function Vc(t){return em(t)?()=>{let e=Vc($e(t));return e&&e()}:zo(t)}function kC(t,e,o,n,r){let i=t,s=e;for(;i!==null&&s!==null&&s[P]&2048&&!(s[P]&512);){let a=Km(i,s,o,n|z.Self,$t);if(a!==$t)return a;let l=i.parent;if(!l){let c=s[wm];if(c){let u=c.get(o,$t,n);if(u!==$t)return u}l=Xm(s),s=s[Ko]}i=l}return r}function Xm(t){let e=t[V],o=e.type;return o===2?e.declTNode:o===1?t[Ke]:null}function _n(t){return SC(Ve(),t)}function Ap(t,e=null,o=null,n){let r=Jm(t,e,o,n);return r.resolveInjectorInitializers(),r}function Jm(t,e=null,o=null,n,r=new Set){let i=[o||xt,Nw(t)];return n=n||(typeof t=="object"?void 0:Qe(t)),new Zr(i,e||ta(),n||null,r)}var Hn=class Hn{static create(e,o){var n;if(Array.isArray(e))return Ap({name:""},o,e,"");{let r=(n=e.name)!=null?n:"";return Ap({name:r},e.parent,e.providers,r)}}};m(Hn,"THROW_IF_NOT_FOUND",qr),m(Hn,"NULL",new Os),m(Hn,"\u0275prov",x({token:Hn,providedIn:"any",factory:()=>S(um)})),m(Hn,"__NG_ELEMENT_ID__",-1);var be=Hn;var AC=new _("");AC.__NG_ELEMENT_ID__=t=>{let e=Ve();if(e===null)throw new O(204,!1);if(e.type&2)return e.value;if(t&z.Optional)return null;throw new O(204,!1)};var eg=!1,Nu=(()=>{class t{}return m(t,"__NG_ELEMENT_ID__",RC),m(t,"__NG_ENV_ID__",o=>o),t})(),Uc=class extends Nu{_lView;constructor(e){super(),this._lView=e}onDestroy(e){return _m(this._lView,e),()=>eC(this._lView,e)}};function RC(){return new Uc(ce())}var eo=class{},ua=new _("",{providedIn:"root",factory:()=>!1});var tg=new _(""),Ou=new _(""),Xo=(()=>{let e=class e{taskId=0;pendingTasks=new Set;get _hasPendingTasks(){return this.hasPendingTasks.value}hasPendingTasks=new fe(!1);add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let n=this.taskId++;return this.pendingTasks.add(n),n}has(n){return this.pendingTasks.has(n)}remove(n){this.pendingTasks.delete(n),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}};m(e,"\u0275prov",x({token:e,providedIn:"root",factory:()=>new e}));let t=e;return t})();var zc=class extends re{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(e=!1){var o,n;super(),this.__isAsync=e,Dm()&&(this.destroyRef=(o=y(Nu,{optional:!0}))!=null?o:void 0,this.pendingTasks=(n=y(Xo,{optional:!0}))!=null?n:void 0)}emit(e){let o=ee(null);try{super.next(e)}finally{ee(o)}}subscribe(e,o,n){var l,c,u;let r=e,i=o||(()=>null),s=n;if(e&&typeof e=="object"){let d=e;r=(l=d.next)==null?void 0:l.bind(d),i=(c=d.error)==null?void 0:c.bind(d),s=(u=d.complete)==null?void 0:u.bind(d)}this.__isAsync&&(i=this.wrapInTimeout(i),r&&(r=this.wrapInTimeout(r)),s&&(s=this.wrapInTimeout(s)));let a=super.subscribe({next:r,error:i,complete:s});return e instanceof ve&&e.add(a),a}wrapInTimeout(e){return o=>{var r;let n=(r=this.pendingTasks)==null?void 0:r.add();setTimeout(()=>{var i;e(o),n!==void 0&&((i=this.pendingTasks)==null||i.remove(n))})}}},le=zc;function Vs(...t){}function ng(t){let e,o;function n(){t=Vs;try{o!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(o),e!==void 0&&clearTimeout(e)}catch{}}return e=setTimeout(()=>{t(),n()}),typeof requestAnimationFrame=="function"&&(o=requestAnimationFrame(()=>{t(),n()})),()=>n()}function Rp(t){return queueMicrotask(()=>t()),()=>{t=Vs}}var Pu="isAngularZone",Us=Pu+"_ID",NC=0,B=class t{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new le(!1);onMicrotaskEmpty=new le(!1);onStable=new le(!1);onError=new le(!1);constructor(e){let{enableLongStackTrace:o=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1,scheduleInRootZone:i=eg}=e;if(typeof Zone>"u")throw new O(908,!1);Zone.assertZonePatched();let s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),o&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!r&&n,s.shouldCoalesceRunChangeDetection=r,s.callbackScheduled=!1,s.scheduleInRootZone=i,FC(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(Pu)===!0}static assertInAngularZone(){if(!t.isInAngularZone())throw new O(909,!1)}static assertNotInAngularZone(){if(t.isInAngularZone())throw new O(909,!1)}run(e,o,n){return this._inner.run(e,o,n)}runTask(e,o,n,r){let i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+r,e,OC,Vs,Vs);try{return i.runTask(s,o,n)}finally{i.cancelTask(s)}}runGuarded(e,o,n){return this._inner.runGuarded(e,o,n)}runOutsideAngular(e){return this._outer.run(e)}},OC={};function Fu(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 PC(t){if(t.isCheckStableRunning||t.callbackScheduled)return;t.callbackScheduled=!0;function e(){ng(()=>{t.callbackScheduled=!1,Hc(t),t.isCheckStableRunning=!0,Fu(t),t.isCheckStableRunning=!1})}t.scheduleInRootZone?Zone.root.run(()=>{e()}):t._outer.run(()=>{e()}),Hc(t)}function FC(t){let e=()=>{PC(t)},o=NC++;t._inner=t._inner.fork({name:"angular",properties:{[Pu]:!0,[Us]:o,[Us+o]:!0},onInvokeTask:(n,r,i,s,a,l)=>{if(LC(l))return n.invokeTask(i,s,a,l);try{return Np(t),n.invokeTask(i,s,a,l)}finally{(t.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||t.shouldCoalesceRunChangeDetection)&&e(),Op(t)}},onInvoke:(n,r,i,s,a,l,c)=>{try{return Np(t),n.invoke(i,s,a,l,c)}finally{t.shouldCoalesceRunChangeDetection&&!t.callbackScheduled&&!$C(l)&&e(),Op(t)}},onHasTask:(n,r,i,s)=>{n.hasTask(i,s),r===i&&(s.change=="microTask"?(t._hasPendingMicrotasks=s.microTask,Hc(t),Fu(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 Hc(t){t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&t.callbackScheduled===!0?t.hasPendingMicrotasks=!0:t.hasPendingMicrotasks=!1}function Np(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function Op(t){t._nesting--,Fu(t)}var zs=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new le;onMicrotaskEmpty=new le;onStable=new le;onError=new le;run(e,o,n){return e.apply(o,n)}runGuarded(e,o,n){return e.apply(o,n)}runOutsideAngular(e){return e()}runTask(e,o,n,r){return e.apply(o,n)}};function LC(t){return og(t,"__ignore_ng_zone__")}function $C(t){return og(t,"__scheduler_tick__")}function og(t,e){var o,n;return!Array.isArray(t)||t.length!==1?!1:((n=(o=t[0])==null?void 0:o.data)==null?void 0:n[e])===!0}var Xt=class{_console=console;handleError(e){this._console.error("ERROR",e)}},jC=new _("",{providedIn:"root",factory:()=>{let t=y(B),e=y(Xt);return o=>t.runOutsideAngular(()=>e.handleError(o))}});function Pp(t,e){return Xp(t,e)}function BC(t){return Xp(Kp,t)}var rg=(Pp.required=BC,Pp);function VC(){return Jo(Ve(),ce())}function Jo(t,e){return new te(kt(t,e))}var te=(()=>{class t{nativeElement;constructor(o){this.nativeElement=o}}return m(t,"__NG_ELEMENT_ID__",VC),t})();function UC(t){return t instanceof te?t.nativeElement:t}function zC(){return this._results[Symbol.iterator]()}var Gc=class{_emitDistinctChangesOnly;dirty=!0;_onDirty=void 0;_results=[];_changesDetected=!1;_changes=void 0;length=0;first=void 0;last=void 0;get changes(){var e;return(e=this._changes)!=null?e:this._changes=new re}constructor(e=!1){this._emitDistinctChangesOnly=e}get(e){return this._results[e]}map(e){return this._results.map(e)}filter(e){return this._results.filter(e)}find(e){return this._results.find(e)}reduce(e,o){return this._results.reduce(e,o)}forEach(e){this._results.forEach(e)}some(e){return this._results.some(e)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(e,o){this.dirty=!1;let n=Aw(e);(this._changesDetected=!kw(this._results,n,o))&&(this._results=n,this.length=n.length,this.last=n[this.length-1],this.first=n[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.next(this)}onDirty(e){this._onDirty=e}setDirty(){var e;this.dirty=!0,(e=this._onDirty)==null||e.call(this)}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}[Symbol.iterator]=zC};function ig(t){return(t.flags&128)===128}var sg=function(t){return t[t.OnPush=0]="OnPush",t[t.Default=1]="Default",t}(sg||{}),ag=new Map,HC=0;function GC(){return HC++}function WC(t){ag.set(t[na],t)}function Wc(t){ag.delete(t[na])}var Fp="__ngContext__";function Sn(t,e){Gn(e)?(t[Fp]=e[na],WC(e)):t[Fp]=e}function lg(t){return ug(t[Qr])}function cg(t){return ug(t[St])}function ug(t){for(;t!==null&&!en(t);)t=t[St];return t}var qc;function dg(t){qc=t}function qC(){if(qc!==void 0)return qc;if(typeof document<"u")return document;throw new O(210,!1)}var Lu=new _("",{providedIn:"root",factory:()=>ZC}),ZC="ng",$u=new _(""),ao=new _("",{providedIn:"platform",factory:()=>"unknown"});var ju=new _("",{providedIn:"root",factory:()=>{var t,e;return((e=(t=qC().body)==null?void 0:t.querySelector("[ngCspNonce]"))==null?void 0:e.getAttribute("ngCspNonce"))||null}});var YC="h",QC="b";var fg=!1,KC=new _("",{providedIn:"root",factory:()=>fg});var Bu=function(t){return t[t.CHANGE_DETECTION=0]="CHANGE_DETECTION",t[t.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",t}(Bu||{}),da=new _(""),Lp=new Set;function fa(t){var e;Lp.has(t)||(Lp.add(t),(e=performance==null?void 0:performance.mark)==null||e.call(performance,"mark_feature_usage",{detail:{feature:t}}))}var $o=function(t){return t[t.EarlyRead=0]="EarlyRead",t[t.Write=1]="Write",t[t.MixedReadWrite=2]="MixedReadWrite",t[t.Read=3]="Read",t}($o||{}),hg=(()=>{let e=class e{impl=null;execute(){var n;(n=this.impl)==null||n.execute()}};m(e,"\u0275prov",x({token:e,providedIn:"root",factory:()=>new e}));let t=e;return t})(),XC=[$o.EarlyRead,$o.Write,$o.MixedReadWrite,$o.Read],JC=(()=>{let e=class e{ngZone=y(B);scheduler=y(eo);errorHandler=y(Xt,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){y(da,{optional:!0})}execute(){var n;this.executing=!0;for(let r of XC)for(let i of this.sequences)if(!(i.erroredOrDestroyed||!i.hooks[r]))try{i.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>i.hooks[r](i.pipelinedValue),i.snapshot))}catch(s){i.erroredOrDestroyed=!0,(n=this.errorHandler)==null||n.handleError(s)}this.executing=!1;for(let r of this.sequences)r.afterRun(),r.once&&(this.sequences.delete(r),r.destroy());for(let r of this.deferredRegistrations)this.sequences.add(r);this.deferredRegistrations.size>0&&this.scheduler.notify(8),this.deferredRegistrations.clear()}register(n){this.executing?this.deferredRegistrations.add(n):(this.sequences.add(n),this.scheduler.notify(7))}unregister(n){this.executing&&this.sequences.has(n)?(n.erroredOrDestroyed=!0,n.pipelinedValue=void 0,n.once=!0):(this.sequences.delete(n),this.deferredRegistrations.delete(n))}maybeTrace(n,r){return r?r.run(Bu.AFTER_NEXT_RENDER,n):n()}};m(e,"\u0275prov",x({token:e,providedIn:"root",factory:()=>new e}));let t=e;return t})(),Zc=class{impl;hooks;once;snapshot;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(e,o,n,r,i=null){this.impl=e,this.hooks=o,this.once=n,this.snapshot=i,this.unregisterOnDestroy=r==null?void 0:r.onDestroy(()=>this.destroy())}afterRun(){var e;this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,(e=this.snapshot)==null||e.dispose(),this.snapshot=null}destroy(){var e;this.impl.unregister(this),(e=this.unregisterOnDestroy)==null||e.call(this)}};function Vu(t,e){var n;!(e!=null&&e.injector)&&Hw(Vu);let o=(n=e==null?void 0:e.injector)!=null?n:y(be);return fa("NgAfterNextRender"),tI(t,o,e,!0)}function eI(t,e){if(t instanceof Function){let o=[void 0,void 0,void 0,void 0];return o[e]=t,o}else return[t.earlyRead,t.write,t.mixedReadWrite,t.read]}function tI(t,e,o,n){var c,u;let r=e.get(hg);(c=r.impl)!=null||(r.impl=e.get(JC));let i=e.get(da,null,{optional:!0}),s=(u=o==null?void 0:o.phase)!=null?u:$o.MixedReadWrite,a=(o==null?void 0:o.manualCleanup)!==!0?e.get(Nu):null,l=new Zc(r.impl,eI(t,s),n,a,i==null?void 0:i.snapshot(null));return r.impl.register(l),l}var nI=()=>null;function Uu(t,e,o=!1){return nI(t,e,o)}var jt=function(t){return t[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t}(jt||{});var oI=/^>|^->||--!>|)/g,iI="\u200B$1\u200B";function sI(t){return t.replace(oI,e=>e.replace(rI,iI))}function pg(t){return t instanceof Function?t():t}var Tn=function(t){return t[t.None=0]="None",t[t.SignalBased=1]="SignalBased",t[t.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",t}(Tn||{}),lo=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}(lo||{}),aI;function zu(t,e){return aI(t,e)}function jo(t,e,o,n,r){if(n!=null){let i,s=!1;en(n)?i=n:Gn(n)&&(s=!0,n=n[Jt]);let a=Kt(n);t===0&&o!==null?r==null?Dg(e,o,a):Hs(e,o,a,r||null,!0):t===1&&o!==null?Hs(e,o,a,r||null,!0):t===2?DI(e,a,s):t===3&&e.destroyNode(a),i!=null&&CI(e,t,i,o,r)}}function lI(t,e){return t.createText(e)}function cI(t,e){return t.createComment(sI(e))}function mg(t,e,o){return t.createElement(e,o)}function uI(t,e){gg(t,e),e[Jt]=null,e[Ke]=null}function dI(t,e,o,n,r,i){n[Jt]=r,n[Ke]=e,pa(t,n,o,1,r,i)}function gg(t,e){var o;(o=e[En].changeDetectionScheduler)==null||o.notify(10),pa(t,e,e[je],2,null,null)}function fI(t){let e=t[Qr];if(!e)return Cc(t[V],t);for(;e;){let o=null;if(Gn(e))o=e[Qr];else{let n=e[it];n&&(o=n)}if(!o){for(;e&&!e[St]&&e!==t;)Gn(e)&&Cc(e[V],e),e=e[Pe];e===null&&(e=t),Gn(e)&&Cc(e[V],e),o=e&&e[St]}e=o}}function hI(t,e,o,n){let r=it+n,i=o.length;n>0&&(o[r-1][St]=e),n0&&(t[o-1][St]=n[St]);let i=Ns(t,it+e);uI(n[V],n);let s=i[Tt];s!==null&&s.detachView(i[V]),n[Pe]=null,n[St]=null,n[P]&=-129}return n}function yg(t,e){if(!(e[P]&256)){let o=e[je];o.destroyNode&&pa(t,e,o,3,null,null),fI(e)}}function Cc(t,e){if(e[P]&256)return;let o=ee(null);try{e[P]&=-129,e[P]|=256,e[rt]&&ec(e[rt]),mI(t,e),pI(t,e),e[V].type===1&&e[je].destroy();let n=e[Zn];if(n!==null&&en(e[Pe])){n!==e[Pe]&&Hu(n,e);let r=e[Tt];r!==null&&r.detachView(t)}Wc(e)}finally{ee(o)}}function pI(t,e){let o=t.cleanup,n=e[Vo];if(o!==null)for(let s=0;s=0?n[a]():n[-a].unsubscribe(),s+=2}else{let a=n[o[s+1]];o[s].call(a)}n!==null&&(e[Vo]=null);let r=e[In];if(r!==null){e[In]=null;for(let s=0;s-1){let{encapsulation:i}=t.data[n.directiveStart+r];if(i===jt.None||i===jt.Emulated)return null}return kt(n,o)}}function Hs(t,e,o,n,r){t.insertBefore(e,o,n,r)}function Dg(t,e,o){t.appendChild(e,o)}function $p(t,e,o,n,r){n!==null?Hs(t,e,o,n,r):Dg(t,e,o)}function wg(t,e){return t.parentNode(e)}function vI(t,e){return t.nextSibling(e)}function Cg(t,e,o){return bI(t,e,o)}function yI(t,e,o){return t.type&40?kt(t,o):null}var bI=yI,jp;function ha(t,e,o,n){let r=bg(t,n,e),i=e[je],s=n.parent||e[Ke],a=Cg(s,n,e);if(r!=null)if(Array.isArray(o))for(let l=0;l-1){let i;for(;++ri?d="":d=r[u+1].toLowerCase(),n&2&&c!==d){if(Et(n))return!1;s=!0}}}}return Et(n)||s}function Et(t){return(t&1)===0}function MI(t,e,o,n){if(e===null)return-1;let r=0;if(n||!o){let i=!1;for(;r-1)for(o++;o0?'="'+a+'"':"")+"]"}else n&8?r+="."+s:n&4&&(r+=" "+s);else r!==""&&!Et(s)&&(e+=Bp(i,r),r=""),n=s,i=i||!Et(n);o++}return r!==""&&(e+=Bp(i,r)),e}function OI(t){return t.map(NI).join(",")}function PI(t){let e=[],o=[],n=1,r=2;for(;n_t&&kg(t,e,_t,!1),Lt(s?2:0,r),o(n,r)}finally{Kn(i),Lt(s?3:1,r)}}function Zu(t,e,o){if(Cu(e)){let n=ee(null);try{let r=e.directiveStart,i=e.directiveEnd;for(let s=r;snull;function UI(t,e,o,n){let r=Vg(e);r.push(o),t.firstCreatePass&&Ug(t).push(n,r.length-1)}function zI(t,e,o,n,r,i){let s=e?e.injectorIndex:-1,a=0;return Am()&&(a|=128),{type:o,index:n,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:r,attrs:i,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 Vp(t,e,o,n,r){for(let i in e){if(!e.hasOwnProperty(i))continue;let s=e[i];if(s===void 0)continue;n!=null||(n={});let a,l=Tn.None;Array.isArray(s)?(a=s[0],l=s[1]):a=s;let c=i;if(r!==null){if(!r.hasOwnProperty(i))continue;c=r[i]}t===0?Up(n,o,c,a,l):Up(n,o,c,a)}return n}function Up(t,e,o,n,r){let i;t.hasOwnProperty(o)?(i=t[o]).push(e,n):i=t[o]=[e,n],r!==void 0&&i.push(r)}function HI(t,e,o){let n=e.directiveStart,r=e.directiveEnd,i=t.data,s=e.attrs,a=[],l=null,c=null;for(let u=n;u0;){let o=t[--e];if(typeof o=="number"&&o<0)return o}return 0}function QI(t,e,o,n){let r=o.directiveStart,i=o.directiveEnd;oa(o)&&oE(e,o,t.data[r+o.componentOffset]),t.firstCreatePass||Bs(o,e),Sn(n,e);let s=o.initialInputs;for(let a=r;a{sa(t.lView)},consumerOnSignalRead(){this.lView[rt]=this}});function pE(t){var o;let e=(o=t[rt])!=null?o:Object.create(mE);return e.lView=t,e}var mE=J(w({},Xi),{consumerIsAlwaysLive:!0,consumerMarkedDirty:t=>{let e=Qn(t.lView);for(;e&&!qg(e[V]);)e=Qn(e);e&&Eu(e)},consumerOnSignalRead(){this.lView[rt]=this}});function qg(t){return t.type!==2}function Zg(t){if(t[Ps]===null)return;let e=!0;for(;e;){let o=!1;for(let n of t[Ps])n.dirty&&(o=!0,n.zone===null||Zone.current===n.zone?n.run():n.zone.run(()=>n.run()));e=o&&!!(t[P]&8192)}}var gE=100;function Yg(t,e=!0,o=0){var s,a;let r=t[En].rendererFactory,i=!1;i||(s=r.begin)==null||s.call(r);try{vE(t,o)}catch(l){throw e&&zg(t,l),l}finally{i||(a=r.end)==null||a.call(r)}}function vE(t,e){let o=Nm();try{xp(!0),eu(t,e);let n=0;for(;ia(t);){if(n===gE)throw new O(103,!1);n++,eu(t,1)}}finally{xp(o)}}function yE(t,e,o,n){let r=e[P];if((r&256)===256)return;let i=!1,s=!1;ku(e);let a=!0,l=null,c=null;i||(qg(t)?(c=uE(e),l=Xl(c)):Nh()===null?(a=!1,c=pE(e),l=Xl(c)):e[rt]&&(ec(e[rt]),e[rt]=null));try{Mm(e),aC(t.bindingStartIndex),o!==null&&Og(t,e,o,2,n);let u=(r&3)===3;if(!i)if(u){let f=t.preOrderCheckHooks;f!==null&&Ss(e,f,null)}else{let f=t.preOrderHooks;f!==null&&Ts(e,f,0,null),bc(e,0)}if(s||bE(e),Zg(e),Qg(e,0),t.contentQueries!==null&&Bg(t,e),!i)if(u){let f=t.contentCheckHooks;f!==null&&Ss(e,f)}else{let f=t.contentHooks;f!==null&&Ts(e,f,1),bc(e,1)}FI(t,e);let d=t.components;d!==null&&Xg(e,d,0);let p=t.viewQuery;if(p!==null&&Xc(2,p,n),!i)if(u){let f=t.viewCheckHooks;f!==null&&Ss(e,f)}else{let f=t.viewHooks;f!==null&&Ts(e,f,2),bc(e,2)}if(t.firstUpdatePass===!0&&(t.firstUpdatePass=!1),e[yc]){for(let f of e[yc])f();e[yc]=null}i||(e[P]&=-73)}catch(u){throw i||sa(e),u}finally{c!==null&&(Lh(c,l),a&&fE(c)),Au()}}function Qg(t,e){for(let o=lg(t);o!==null;o=cg(o))for(let n=it;n-1&&(Yc(e,n),Ns(o,n))}this._attachedToViewContainer=!1}yg(this._lView[V],this._lView)}onDestroy(e){_m(this._lView,e)}markForCheck(){td(this._cdRefInjectingView||this._lView,4)}markForRefresh(){Eu(this._cdRefInjectingView||this._lView)}detach(){this._lView[P]&=-129}reattach(){Oc(this._lView),this._lView[P]|=128}detectChanges(){this._lView[P]|=1024,Yg(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new O(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let e=Rc(this._lView),o=this._lView[Zn];o!==null&&!e&&Hu(o,this._lView),gg(this._lView[V],this._lView)}attachToAppRef(e){if(this._attachedToViewContainer)throw new O(902,!1);this._appRef=e;let o=Rc(this._lView),n=this._lView[Zn];n!==null&&!o&&vg(n,this._lView),Oc(this._lView)}},no=(()=>{class t{}return m(t,"__NG_ELEMENT_ID__",IE),t})(),wE=no,CE=class extends wE{_declarationLView;_declarationTContainer;elementRef;constructor(e,o,n){super(),this._declarationLView=e,this._declarationTContainer=o,this.elementRef=n}get ssrId(){var e;return((e=this._declarationTContainer.tView)==null?void 0:e.ssrId)||null}createEmbeddedView(e,o){return this.createEmbeddedViewImpl(e,o)}createEmbeddedViewImpl(e,o,n){let r=Hg(this._declarationLView,this._declarationTContainer,e,{embeddedViewInjector:o,dehydratedView:n});return new to(r)}};function IE(){return nd(Ve(),ce())}function nd(t,e){return t.type&4?new CE(e,t,Jo(t,e)):null}var U$=new RegExp(`^(\\d+)*(${QC}|${YC})*(.*)`);var EE=()=>null;function tu(t,e){return EE(t,e)}var nu=class{},Ws=class{},ou=class{resolveComponentFactory(e){throw Error(`No component factory found for ${Qe(e)}.`)}},qn=class{};m(qn,"NULL",new ou);var Qo=class{};var xE=(()=>{let e=class e{};m(e,"\u0275prov",x({token:e,providedIn:"root",factory:()=>null}));let t=e;return t})();function qs(t,e,o){let n=o?t.styles:null,r=o?t.classes:null,i=0;if(e!==null)for(let s=0;s0&&xg(t,o,i.join(" "))}}function RE(t,e,o){let n=t.projection=[];for(let r=0;r{class t{}return m(t,"__NG_ELEMENT_ID__",OE),t})();function OE(){let t=Ve();return ev(t,ce())}var PE=At,Jg=class extends PE{_lContainer;_hostTNode;_hostLView;constructor(e,o,n){super(),this._lContainer=e,this._hostTNode=o,this._hostLView=n}get element(){return Jo(this._hostTNode,this._hostLView)}get injector(){return new Wn(this._hostTNode,this._hostLView)}get parentInjector(){let e=Ru(this._hostTNode,this._hostLView);if(Hm(e)){let o=js(e,this._hostLView),n=$s(e),r=o[V].data[n+8];return new Wn(r,o)}else return new Wn(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(e){let o=Hp(this._lContainer);return o!==null&&o[e]||null}get length(){return this._lContainer.length-it}createEmbeddedView(e,o,n){let r,i;typeof n=="number"?r=n:n!=null&&(r=n.index,i=n.injector);let s=tu(this._lContainer,e.ssrId),a=e.createEmbeddedViewImpl(o||{},i,s);return this.insertImpl(a,r,Jc(this._hostTNode,s)),a}createComponent(e,o,n,r,i){var g,v,D;let s=e&&!Gw(e),a;if(s)a=o;else{let b=o||{};a=b.index,n=b.injector,r=b.projectableNodes,i=b.environmentInjector||b.ngModuleRef}let l=s?e:new oo(Qt(e)),c=n||this.parentInjector;if(!i&&l.ngModule==null){let I=(s?c:this.parentInjector).get(me,null);I&&(i=I)}let u=Qt((g=l.componentType)!=null?g:{}),d=tu(this._lContainer,(v=u==null?void 0:u.id)!=null?v:null),p=(D=d==null?void 0:d.firstChild)!=null?D:null,f=l.create(c,r,p,i);return this.insertImpl(f.hostView,a,Jc(this._hostTNode,d)),f}insert(e,o){return this.insertImpl(e,o,!0)}insertImpl(e,o,n){let r=e._lView;if(Xw(r)){let a=this.indexOf(e);if(a!==-1)this.detach(a);else{let l=r[Pe],c=new Jg(l,l[Ke],l[Pe]);c.detach(c.indexOf(e))}}let i=this._adjustIndex(o),s=this._lContainer;return Gg(s,r,i,n),e.attachToViewContainerRef(),cm(Ic(s),i,e),e}move(e,o){return this.insert(e,o)}indexOf(e){let o=Hp(this._lContainer);return o!==null?o.indexOf(e):-1}remove(e){let o=this._adjustIndex(e,-1),n=Yc(this._lContainer,o);n&&(Ns(Ic(this._lContainer),o),yg(n[V],n))}detach(e){let o=this._adjustIndex(e,-1),n=Yc(this._lContainer,o);return n&&Ns(Ic(this._lContainer),o)!=null?new to(n):null}_adjustIndex(e,o=0){return e==null?this.length+o:e}};function Hp(t){return t[Fs]}function Ic(t){return t[Fs]||(t[Fs]=[])}function ev(t,e){let o,n=e[t.index];return en(n)?o=n:(o=jg(n,e,null,t),e[t.index]=o,ga(e,o)),LE(o,e,t,n),new Jg(o,t,e)}function FE(t,e){let o=t[je],n=o.createComment(""),r=kt(e,t),i=wg(o,r);return Hs(o,i,n,vI(o,r),!1),n}var LE=BE,$E=()=>!1;function jE(t,e,o){return $E(t,e,o)}function BE(t,e,o,n){if(t[Yn])return;let r;o.type&8?r=Kt(n):r=FE(e,o),t[Yn]=r}var iu=class t{queryList;matches=null;constructor(e){this.queryList=e}clone(){return new t(this.queryList)}setDirty(){this.queryList.setDirty()}},su=class t{queries;constructor(e=[]){this.queries=e}createEmbeddedView(e){let o=e.queries;if(o!==null){let n=e.contentQueries!==null?e.contentQueries[0]:o.length,r=[];for(let i=0;i0)n.push(s[a/2]);else{let c=i[a+1],u=e[-l];for(let d=it;de.trim())}function ov(t,e,o){t.queries===null&&(t.queries=new au),t.queries.track(new lu(e,o))}function YE(t,e){let o=t.contentQueries||(t.contentQueries=[]),n=o.length?o[o.length-1]:-1;e!==n&&o.push(t.queries.length-1,e)}function od(t,e){return t.queries.getByIndex(e)}function QE(t,e){let o=t[V],n=od(o,e);return n.crossesNgTemplate?cu(o,t,e,[]):tv(o,t,n,e)}var Mn=class{},Xr=class{};var uu=class extends Mn{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new Zs(this);constructor(e,o,n,r=!0){super(),this.ngModuleType=e,this._parent=o;let i=fm(e);this._bootstrapComponents=pg(i.bootstrap),this._r3Injector=Jm(e,o,[{provide:Mn,useValue:this},{provide:qn,useValue:this.componentFactoryResolver},...n],Qe(e),new Set(["environment"])),r&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){let e=this._r3Injector;!e.destroyed&&e.destroy(),this.destroyCbs.forEach(o=>o()),this.destroyCbs=null}onDestroy(e){this.destroyCbs.push(e)}},du=class extends Xr{moduleType;constructor(e){super(),this.moduleType=e}create(e){return new uu(this.moduleType,e,[])}};var Qs=class extends Mn{injector;componentFactoryResolver=new Zs(this);instance=null;constructor(e){super();let o=new Zr([...e.providers,{provide:Mn,useValue:this},{provide:qn,useValue:this.componentFactoryResolver}],e.parent||ta(),e.debugName,new Set(["environment"]));this.injector=o,e.runEnvironmentInitializers&&o.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(e){this.injector.onDestroy(e)}};function va(t,e,o=null){return new Qs({providers:t,parent:e,debugName:o,runEnvironmentInitializers:!0}).injector}var KE=(()=>{let e=class e{_injector;cachedInjectors=new Map;constructor(n){this._injector=n}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){let r=gm(!1,n.type),i=r.length>0?va([r],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,i)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}};m(e,"\u0275prov",x({token:e,providedIn:"environment",factory:()=>new e(S(me))}));let t=e;return t})();function De(t){return Jr(()=>{var r;let e=rv(t),o=J(w({},e),{decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===sg.OnPush,directiveDefs:null,pipeDefs:null,dependencies:e.standalone&&t.dependencies||null,getStandaloneInjector:e.standalone?i=>i.get(KE).getOrCreateStandaloneInjector(o):null,getExternalStyles:null,signals:(r=t.signals)!=null?r:!1,data:t.data||{},encapsulation:t.encapsulation||jt.Emulated,styles:t.styles||xt,_:null,schemas:t.schemas||null,tView:null,id:""});e.standalone&&fa("NgStandalone"),iv(o);let n=t.dependencies;return o.directiveDefs=Wp(n,!1),o.pipeDefs=Wp(n,!0),o.id=ex(o),o})}function XE(t){return Qt(t)||hm(t)}function JE(t){return t!==null}function Me(t){return Jr(()=>({type:t.type,bootstrap:t.bootstrap||xt,declarations:t.declarations||xt,imports:t.imports||xt,exports:t.exports||xt,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null}))}function Gp(t,e){var n;if(t==null)return Ho;let o={};for(let r in t)if(t.hasOwnProperty(r)){let i=t[r],s,a,l=Tn.None;Array.isArray(i)?(l=i[0],s=i[1],a=(n=i[2])!=null?n:s):(s=i,a=i),e?(o[s]=l!==Tn.None?[r,l]:r,e[s]=a):o[s]=r}return o}function Rt(t){return Jr(()=>{let e=rv(t);return iv(e),e})}function rv(t){var o;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||Ho,exportAs:t.exportAs||null,standalone:(o=t.standalone)!=null?o:!0,signals:t.signals===!0,selectors:t.selectors||xt,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Gp(t.inputs,e),outputs:Gp(t.outputs),debugInfo:null}}function iv(t){var e;(e=t.features)==null||e.forEach(o=>o(t))}function Wp(t,e){if(!t)return null;let o=e?pm:XE;return()=>(typeof t=="function"?t():t).map(n=>o(n)).filter(JE)}function ex(t){let e=0,o=typeof t.consts=="function"?"":t.consts,n=[t.selectors,t.ngContentSelectors,t.hostVars,t.hostAttrs,o,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];for(let i of n.join("|"))e=Math.imul(31,e)+i.charCodeAt(0)<<0;return e+=2147483648,"c"+e}function tx(t){return Object.getPrototypeOf(t.prototype).constructor}function tr(t){let e=tx(t.type),o=!0,n=[t];for(;e;){let r;if(xn(t))r=e.\u0275cmp||e.\u0275dir;else{if(e.\u0275cmp)throw new O(903,!1);r=e.\u0275dir}if(r){if(o){n.push(r);let s=t;s.inputs=Es(t.inputs),s.inputTransforms=Es(t.inputTransforms),s.declaredInputs=Es(t.declaredInputs),s.outputs=Es(t.outputs);let a=r.hostBindings;a&&sx(t,a);let l=r.viewQuery,c=r.contentQueries;if(l&&rx(t,l),c&&ix(t,c),nx(t,r),uw(t.outputs,r.outputs),xn(r)&&r.data.animation){let u=t.data;u.animation=(u.animation||[]).concat(r.data.animation)}}let i=r.features;if(i)for(let s=0;s=0;n--){let r=t[n];r.hostVars=e+=r.hostVars,r.hostAttrs=Kr(r.hostAttrs,o=Kr(o,r.hostAttrs))}}function Es(t){return t===Ho?{}:t===xt?[]:t}function rx(t,e){let o=t.viewQuery;o?t.viewQuery=(n,r)=>{e(n,r),o(n,r)}:t.viewQuery=e}function ix(t,e){let o=t.contentQueries;o?t.contentQueries=(n,r,i)=>{e(n,r,i),o(n,r,i)}:t.contentQueries=e}function sx(t,e){let o=t.hostBindings;o?t.hostBindings=(n,r)=>{e(n,r),o(n,r)}:t.hostBindings=e}function ax(t,e,o){let n=t[e];return Object.is(n,o)?!1:(t[e]=o,!0)}function lx(t){return(t.flags&32)===32}function cx(t,e,o,n,r,i,s,a,l){let c=e.consts,u=er(e,t,4,s||null,a||null);Xu(e,o,u,Yo(c,l)),ca(e,u);let d=u.tView=Ku(2,u,n,r,i,e.directiveRegistry,e.pipeRegistry,null,e.schemas,c,null);return e.queries!==null&&(e.queries.template(e,u),d.queries=e.queries.embeddedTView(u)),u}function sv(t,e,o,n,r,i,s,a,l,c){let u=o+_t,d=e.firstCreatePass?cx(u,e,t,n,r,i,s,a,l):e.data[u];so(d,!1);let p=ux(e,t,d,o);aa()&&ha(e,t,p,d),Sn(p,t);let f=jg(p,t,p,d);return t[u]=f,ga(t,f),jE(f,d,t),ra(d)&&Yu(e,t,d),l!=null&&Qu(t,d,c),d}function rd(t,e,o,n,r,i,s,a){let l=ce(),c=Be(),u=Yo(c.consts,i);return sv(l,c,t,e,o,n,r,u,s,a),rd}var ux=dx;function dx(t,e,o,n){return la(!0),e[je].createComment("")}var ya=(()=>{let e=class e{log(n){console.log(n)}warn(n){console.warn(n)}};m(e,"\u0275fac",function(r){return new(r||e)}),m(e,"\u0275prov",x({token:e,factory:e.\u0275fac,providedIn:"platform"}));let t=e;return t})();var av=new _("");function co(t){return!!t&&typeof t.then=="function"}function lv(t){return!!t&&typeof t.subscribe=="function"}var nr=new _("");var cv=(()=>{var e;let o=class o{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((r,i)=>{this.resolve=r,this.reject=i});appInits=(e=y(nr,{optional:!0}))!=null?e:[];injector=y(be);constructor(){}runInitializers(){if(this.initialized)return;let r=[];for(let s of this.appInits){let a=mt(this.injector,s);if(co(a))r.push(a);else if(lv(a)){let l=new Promise((c,u)=>{a.subscribe({complete:c,error:u})});r.push(l)}}let i=()=>{this.done=!0,this.resolve()};Promise.all(r).then(()=>{i()}).catch(s=>{this.reject(s)}),r.length===0&&i(),this.initialized=!0}};m(o,"\u0275fac",function(i){return new(i||o)}),m(o,"\u0275prov",x({token:o,factory:o.\u0275fac,providedIn:"root"}));let t=o;return t})(),fx=(()=>{let e=class e{};m(e,"\u0275prov",x({token:e,providedIn:"root",factory:()=>new fu}));let t=e;return t})(),fu=class{queuedEffectCount=0;queues=new Map;schedule(e){this.enqueue(e)}remove(e){let o=e.zone,n=this.queues.get(o);n.has(e)&&(n.delete(e),this.queuedEffectCount--)}enqueue(e){let o=e.zone;this.queues.has(o)||this.queues.set(o,new Set);let n=this.queues.get(o);n.has(e)||(this.queuedEffectCount++,n.add(e))}flush(){for(;this.queuedEffectCount>0;)for(let[e,o]of this.queues)e===null?this.flushQueue(o):e.run(()=>this.flushQueue(o))}flushQueue(e){for(let o of e)e.delete(o),this.queuedEffectCount--,o.run()}},ba=new _("");function hx(){Uh(()=>{throw new O(600,!1)})}function px(t){return t.isBoundToModule}var mx=10;function gx(t,e,o){try{let n=o();return co(n)?n.catch(r=>{throw e.runOutsideAngular(()=>t.handleError(r)),r}):n}catch(n){throw e.runOutsideAngular(()=>t.handleError(n)),n}}var Bt=(()=>{let e=class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=y(jC);afterRenderManager=y(hg);zonelessEnabled=y(ua);rootEffectScheduler=y(fx);dirtyFlags=0;deferredDirtyFlags=0;tracingSnapshot=null;externalTestViews=new Set;afterTick=new re;get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];isStable=y(Xo).hasPendingTasks.pipe($(n=>!n));constructor(){y(da,{optional:!0})}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:i=>{i&&r()}})}).finally(()=>{n.unsubscribe()})}_injector=y(me);_rendererFactory=null;get injector(){return this._injector}bootstrap(n,r){let i=n instanceof Ws;if(!this._injector.get(cv).done){let f=!i&&mm(n),g=!1;throw new O(405,g)}let a;i?a=n:a=this._injector.get(qn).resolveComponentFactory(n),this.componentTypes.push(a.componentType);let l=px(a)?void 0:this._injector.get(Mn),c=r||a.selector,u=a.create(be.NULL,[],c,l),d=u.location.nativeElement,p=u.injector.get(av,null);return p==null||p.registerApplication(d),u.onDestroy(()=>{this.detachView(u.hostView),_s(this.components,u),p==null||p.unregisterApplication(d)}),this._loadComponent(u),u}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick=()=>{if(this.tracingSnapshot!==null){let r=this.tracingSnapshot;this.tracingSnapshot=null,r.run(Bu.CHANGE_DETECTION,this._tick),r.dispose();return}if(this._runningTick)throw new O(101,!1);let n=ee(null);try{this._runningTick=!0,this.synchronize()}catch(r){this.internalErrorHandler(r)}finally{this._runningTick=!1,ee(n),this.afterTick.next()}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(Qo,null,{optional:!0})),this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0;let n=0;for(;this.dirtyFlags!==0&&n++ia(n))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(n){let r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){let r=n;_s(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(ba,[]).forEach(i=>i(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>_s(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new O(406,!1);let n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}};m(e,"\u0275fac",function(r){return new(r||e)}),m(e,"\u0275prov",x({token:e,factory:e.\u0275fac,providedIn:"root"}));let t=e;return t})();function _s(t,e){let o=t.indexOf(e);o>-1&&t.splice(o,1)}function vx(t,e,o,n){if(!o&&!ia(t))return;Yg(t,e,o&&!n?0:1)}function Da(t,e,o){let n=ce(),r=lC();if(ax(n,r,e)){let i=Be(),s=pC();WI(i,s,n,t,e,n[je],o,!1)}return Da}function qp(t,e,o,n,r){let i=e.inputs,s=r?"class":"style";Ju(t,o,i[s],s,n)}function yx(t,e,o,n,r,i){let s=e.consts,a=Yo(s,r),l=er(e,t,2,n,a);return Xu(e,o,l,Yo(s,i)),l.attrs!==null&&qs(l,l.attrs,!1),l.mergedAttrs!==null&&qs(l,l.mergedAttrs,!0),e.queries!==null&&e.queries.elementStart(e,l),l}function ni(t,e,o,n){let r=ce(),i=Be(),s=_t+t,a=r[je],l=i.firstCreatePass?yx(s,i,r,e,o,n):i.data[s],c=bx(i,r,l,a,e,t);r[s]=c;let u=ra(l);return so(l,!0),Sg(a,c,l),!lx(l)&&aa()&&ha(i,r,c,l),tC()===0&&Sn(c,r),nC(),u&&(Yu(i,r,l),Zu(i,l,r)),n!==null&&Qu(r,l),ni}function oi(){let t=Ve();Tu()?Mu():(t=t.parent,so(t,!1));let e=t;rC(e)&&iC(),oC();let o=Be();return o.firstCreatePass&&(ca(o,t),Cu(t)&&o.queries.elementEnd(t)),e.classesWithoutHost!=null&&bC(e)&&qp(o,e,ce(),e.classesWithoutHost,!0),e.stylesWithoutHost!=null&&DC(e)&&qp(o,e,ce(),e.stylesWithoutHost,!1),oi}function id(t,e,o,n){return ni(t,e,o,n),oi(),id}var bx=(t,e,o,n,r,i)=>(la(!0),mg(n,r,mC()));function Dx(t,e,o,n,r){let i=e.consts,s=Yo(i,n),a=er(e,t,8,"ng-container",s);s!==null&&qs(a,s,!0);let l=Yo(i,r);return Xu(e,o,a,l),e.queries!==null&&e.queries.elementStart(e,a),a}function sd(t,e,o){let n=ce(),r=Be(),i=t+_t,s=r.firstCreatePass?Dx(i,r,n,e,o):r.data[i];so(s,!0);let a=wx(r,n,s,t);return n[i]=a,aa()&&ha(r,n,a,s),Sn(a,n),ra(s)&&(Yu(r,n,s),Zu(r,s,n)),o!=null&&Qu(n,s),sd}function ad(){let t=Ve(),e=Be();return Tu()?Mu():(t=t.parent,so(t,!1)),e.firstCreatePass&&(ca(e,t),Cu(t)&&e.queries.elementEnd(t)),ad}var wx=(t,e,o,n)=>(la(!0),cI(e[je],""));function uv(){return ce()}var Ks="en-US";var Cx=Ks;function Ix(t){typeof t=="string"&&(Cx=t.toLowerCase().replace(/_/g,"-"))}var Ex=(t,e,o)=>{};function tn(t,e,o,n){let r=ce(),i=Be(),s=Ve();return Sx(i,r,r[je],s,t,e,n),tn}function xx(t,e,o,n){let r=t.cleanup;if(r!=null)for(let i=0;il?a[l]:null}typeof s=="string"&&(i+=2)}return null}function Sx(t,e,o,n,r,i,s){let a=ra(n),c=t.firstCreatePass&&Ug(t),u=e[Mt],d=Vg(e),p=!0;if(n.type&3||s){let v=kt(n,e),D=s?s(v):v,b=d.length,I=s?N=>s(Kt(N[n.index])):n.index,E=null;if(!s&&a&&(E=xx(t,e,r,n.index)),E!==null){let N=E.__ngLastListenerFn__||E;N.__ngNextListenerFn__=i,E.__ngLastListenerFn__=i,p=!1}else{i=Yp(n,e,u,i),Ex(v,r,i);let N=o.listen(D,r,i);d.push(i,N),c&&c.push(r,I,b,b+1)}}else i=Yp(n,e,u,i);let f=n.outputs,g;if(p&&f!==null&&(g=f[r])){let v=g.length;if(v)for(let D=0;D-1?io(t.index,e):e;td(s,5);let a=Zp(e,o,n,i),l=r.__ngNextListenerFn__;for(;l;)a=Zp(e,o,l,i)&&a,l=l.__ngNextListenerFn__;return a}}function ld(t=1){return hC(t)}function Tx(t,e){let o=null,n=_I(t);for(let r=0;r(la(!0),lI(e[je],n));function kx(t,e,o){let n=Be();if(n.firstCreatePass){let r=xn(t);hu(o,n.data,n.blueprint,r,!0),hu(e,n.data,n.blueprint,r,!1)}}function hu(t,e,o,n,r){if(t=$e(t),Array.isArray(t))for(let i=0;i>20;if(Wo(t)||!t.multi){let f=new Xn(c,r,T),g=xc(l,e,r?u:u+p,d);g===-1?(Bc(Bs(a,s),i,l),Ec(i,t,e.length),e.push(l),a.directiveStart++,a.directiveEnd++,r&&(a.providerIndexes+=1048576),o.push(f),s.push(f)):(o[g]=f,s[g]=f)}else{let f=xc(l,e,u+p,d),g=xc(l,e,u,u+p),v=f>=0&&o[f],D=g>=0&&o[g];if(r&&!D||!r&&!v){Bc(Bs(a,s),i,l);let b=Nx(r?Rx:Ax,o.length,r,n,c);!r&&D&&(o[g].providerFactory=b),Ec(i,t,e.length,0),e.push(l),a.directiveStart++,a.directiveEnd++,r&&(a.providerIndexes+=1048576),o.push(b),s.push(b)}else{let b=dv(o[r?g:f],c,!r&&n);Ec(i,t,f>-1?f:g,b)}!r&&n&&D&&o[g].componentProviders++}}}function Ec(t,e,o,n){let r=Wo(e),i=Lw(e);if(r||i){let l=(i?$e(e.useClass):e).prototype.ngOnDestroy;if(l){let c=t.destroyHooks||(t.destroyHooks=[]);if(!r&&e.multi){let u=c.indexOf(o);u===-1?c.push(o,[n,l]):c[u+1].push(n,l)}else c.push(o,l)}}}function dv(t,e,o){return o&&t.componentProviders++,t.multi.push(e)-1}function xc(t,e,o,n){for(let r=o;r{o.providersResolver=(n,r)=>kx(n,r?r(t):t,e)}}var mu=class{ngModuleFactory;componentFactories;constructor(e,o){this.ngModuleFactory=e,this.componentFactories=o}},wa=(()=>{let e=class e{compileModuleSync(n){return new du(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){let r=this.compileModuleSync(n),i=fm(n),s=pg(i.declarations).reduce((a,l)=>{let c=Qt(l);return c&&a.push(new oo(c)),a},[]);return new mu(r,s)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}};m(e,"\u0275fac",function(r){return new(r||e)}),m(e,"\u0275prov",x({token:e,factory:e.\u0275fac,providedIn:"root"}));let t=e;return t})();var Ox=(()=>{let e=class e{zone=y(B);changeDetectionScheduler=y(eo);applicationRef=y(Bt);_onMicrotaskEmptySubscription;initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){var n;(n=this._onMicrotaskEmptySubscription)==null||n.unsubscribe()}};m(e,"\u0275fac",function(r){return new(r||e)}),m(e,"\u0275prov",x({token:e,factory:e.\u0275fac,providedIn:"root"}));let t=e;return t})();function Px({ngZoneFactory:t,ignoreChangesOutsideZone:e,scheduleInRootZone:o}){return t!=null||(t=()=>new B(J(w({},Fx()),{scheduleInRootZone:o}))),[{provide:B,useFactory:t},{provide:Go,multi:!0,useFactory:()=>{let n=y(Ox,{optional:!0});return()=>n.initialize()}},{provide:Go,multi:!0,useFactory:()=>{let n=y(Lx);return()=>{n.initialize()}}},e===!0?{provide:tg,useValue:!0}:[],{provide:Ou,useValue:o!=null?o:eg}]}function Fx(t){var e,o;return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:(e=t==null?void 0:t.eventCoalescing)!=null?e:!1,shouldCoalesceRunChangeDetection:(o=t==null?void 0:t.runCoalescing)!=null?o:!1}}var Lx=(()=>{let e=class e{subscription=new ve;initialized=!1;zone=y(B);pendingTasks=y(Xo);initialize(){if(this.initialized)return;this.initialized=!0;let n=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(n=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{B.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{B.assertInAngularZone(),n!=null||(n=this.pendingTasks.add())}))}ngOnDestroy(){this.subscription.unsubscribe()}};m(e,"\u0275fac",function(r){return new(r||e)}),m(e,"\u0275prov",x({token:e,factory:e.\u0275fac,providedIn:"root"}));let t=e;return t})();var fv=(()=>{var e,o,n;let r=class r{appRef=y(Bt);taskService=y(Xo);ngZone=y(B);zonelessEnabled=y(ua);tracing=y(da,{optional:!0});disableScheduling=(e=y(tg,{optional:!0}))!=null?e:!1;zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new ve;angularZoneId=this.zoneIsDefined?(o=this.ngZone._inner)==null?void 0:o.get(Us):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&((n=y(Ou,{optional:!0}))!=null?n:!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||(this.disableScheduling=!this.zonelessEnabled&&(this.ngZone instanceof zs||!this.zoneIsDefined))}notify(s){var c,u;if(!this.zonelessEnabled&&s===5)return;let a=!1;switch(s){case 0:{this.appRef.dirtyFlags|=2;break}case 3:case 2:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 8:{this.appRef.deferredDirtyFlags|=8;break}case 6:{this.appRef.dirtyFlags|=2,a=!0;break}case 13:{this.appRef.dirtyFlags|=16,a=!0;break}case 14:{this.appRef.dirtyFlags|=2,a=!0;break}case 12:{a=!0;break}case 10:case 9:case 7:case 11:default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=(u=(c=this.tracing)==null?void 0:c.snapshot(this.appRef.tracingSnapshot))!=null?u:null,!this.shouldScheduleTick(a))return;let l=this.useMicrotaskScheduler?Rp:ng;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>l(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>l(()=>this.tick()))}shouldScheduleTick(s){return!(this.disableScheduling&&!s||this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(Us+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(this.appRef.dirtyFlags===0){this.cleanup();return}!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let s=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(a){throw this.taskService.remove(s),a}finally{this.cleanup()}this.useMicrotaskScheduler=!0,Rp(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(s)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){var s;if(this.runningTick=!1,(s=this.cancelScheduledCallback)==null||s.call(this),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let a=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(a)}}};m(r,"\u0275fac",function(a){return new(a||r)}),m(r,"\u0275prov",x({token:r,factory:r.\u0275fac,providedIn:"root"}));let t=r;return t})();function G$(){return fa("NgZoneless"),ro([{provide:eo,useExisting:fv},{provide:B,useClass:zs},{provide:ua,useValue:!0},{provide:Ou,useValue:!1},[]])}function $x(){return typeof $localize<"u"&&$localize.locale||Ks}var ud=new _("",{providedIn:"root",factory:()=>y(ud,z.Optional|z.SkipSelf)||$x()});var gu=new _(""),jx=new _("");function zr(t){return!t.moduleRef}function Bx(t){let e=zr(t)?t.r3Injector:t.moduleRef.injector,o=e.get(B);return o.run(()=>{zr(t)?t.r3Injector.resolveInjectorInitializers():t.moduleRef.resolveInjectorInitializers();let n=e.get(Xt,null),r;if(o.runOutsideAngular(()=>{r=o.onError.subscribe({next:i=>{n.handleError(i)}})}),zr(t)){let i=()=>e.destroy(),s=t.platformInjector.get(gu);s.add(i),e.onDestroy(()=>{r.unsubscribe(),s.delete(i)})}else{let i=()=>t.moduleRef.destroy(),s=t.platformInjector.get(gu);s.add(i),t.moduleRef.onDestroy(()=>{_s(t.allPlatformModules,t.moduleRef),r.unsubscribe(),s.delete(i)})}return gx(n,o,()=>{let i=e.get(cv);return i.runInitializers(),i.donePromise.then(()=>{let s=e.get(ud,Ks);if(Ix(s||Ks),!e.get(jx,!0))return zr(t)?e.get(Bt):(t.allPlatformModules.push(t.moduleRef),t.moduleRef);if(zr(t)){let l=e.get(Bt);return t.rootComponent!==void 0&&l.bootstrap(t.rootComponent),l}else return Vx(t.moduleRef,t.allPlatformModules),t.moduleRef})})})}function Vx(t,e){let o=t.injector.get(Bt);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(n=>o.bootstrap(n));else if(t.instance.ngDoBootstrap)t.instance.ngDoBootstrap(o);else throw new O(-403,!1);e.push(t)}var ks=null;function Ux(t=[],e){return be.create({name:e,providers:[{provide:ea,useValue:"platform"},{provide:gu,useValue:new Set([()=>ks=null])},...t]})}function zx(t=[]){if(ks)return ks;let e=Ux(t);return ks=e,hx(),Hx(e),e}function Hx(t){let e=t.get($u,null);mt(t,()=>{e==null||e.forEach(o=>o())})}var de=(()=>{class t{}return m(t,"__NG_ELEMENT_ID__",Gx),t})();function Gx(t){return Wx(Ve(),ce(),(t&16)===16)}function Wx(t,e,o){if(oa(t)&&!o){let n=io(t.index,e);return new to(n,n)}else if(t.type&175){let n=e[pt];return new to(n,e)}return null}function hv(t){try{let{rootComponent:e,appProviders:o,platformProviders:n}=t,r=zx(n),i=[Px({}),{provide:eo,useExisting:fv},...o||[]],s=new Qs({providers:i,parent:r,debugName:"",runEnvironmentInitializers:!1});return Bx({r3Injector:s.injector,platformInjector:r,rootComponent:e})}catch(e){return Promise.reject(e)}}var Qp=class{[Co];constructor(e){this[Co]=e}destroy(){this[Co].destroy()}};function pv(t,e){let o=Qt(t),n=e.elementInjector||ta();return new oo(o).create(n,e.projectableNodes,e.hostElement,e.environmentInjector)}function Ca(t){let e=Qt(t);if(!e)return null;let o=new oo(e);return{get selector(){return o.selector},get type(){return o.componentType},get inputs(){return o.inputs},get outputs(){return o.outputs},get ngContentSelectors(){return o.ngContentSelectors},get isStandalone(){return e.standalone},get isSignal(){return e.signals}}}var Ia=null;function uo(){return Ia}function bv(t){Ia!=null||(Ia=t)}var Ea=class{};var Ce=new _(""),gd=(()=>{let e=class e{historyGo(n){throw new Error("")}};m(e,"\u0275fac",function(r){return new(r||e)}),m(e,"\u0275prov",x({token:e,factory:()=>y(Kx),providedIn:"platform"}));let t=e;return t})(),Dv=new _(""),Kx=(()=>{let e=class e extends gd{_location;_history;_doc=y(Ce);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return uo().getBaseHref(this._doc)}onPopState(n){let r=uo().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",n,!1),()=>r.removeEventListener("popstate",n)}onHashChange(n){let r=uo().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",n,!1),()=>r.removeEventListener("hashchange",n)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(n){this._location.pathname=n}pushState(n,r,i){this._history.pushState(n,r,i)}replaceState(n,r,i){this._history.replaceState(n,r,i)}forward(){this._history.forward()}back(){this._history.back()}historyGo(n=0){this._history.go(n)}getState(){return this._history.state}};m(e,"\u0275fac",function(r){return new(r||e)}),m(e,"\u0275prov",x({token:e,factory:()=>new e,providedIn:"platform"}));let t=e;return t})();function vd(t,e){if(t.length==0)return e;if(e.length==0)return t;let o=0;return t.endsWith("/")&&o++,e.startsWith("/")&&o++,o==2?t+e.substring(1):o==1?t+e:t+"/"+e}function mv(t){let e=t.match(/#|\?|$/),o=e&&e.index||t.length,n=o-(t[o-1]==="/"?1:0);return t.slice(0,n)+t.slice(o)}function rn(t){return t&&t[0]!=="?"?"?"+t:t}var sn=(()=>{let e=class e{historyGo(n){throw new Error("")}};m(e,"\u0275fac",function(r){return new(r||e)}),m(e,"\u0275prov",x({token:e,factory:()=>y(yd),providedIn:"root"}));let t=e;return t})(),wv=new _(""),yd=(()=>{let e=class e extends sn{_platformLocation;_baseHref;_removeListenerFns=[];constructor(n,r){var i,s,a;super(),this._platformLocation=n,this._baseHref=(a=(s=r!=null?r:this._platformLocation.getBaseHrefFromDOM())!=null?s:(i=y(Ce).location)==null?void 0:i.origin)!=null?a:""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}prepareExternalUrl(n){return vd(this._baseHref,n)}path(n=!1){let r=this._platformLocation.pathname+rn(this._platformLocation.search),i=this._platformLocation.hash;return i&&n?`${r}${i}`:r}pushState(n,r,i,s){let a=this.prepareExternalUrl(i+rn(s));this._platformLocation.pushState(n,r,a)}replaceState(n,r,i,s){let a=this.prepareExternalUrl(i+rn(s));this._platformLocation.replaceState(n,r,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){var r,i;(i=(r=this._platformLocation).historyGo)==null||i.call(r,n)}};m(e,"\u0275fac",function(r){return new(r||e)(S(gd),S(wv,8))}),m(e,"\u0275prov",x({token:e,factory:e.\u0275fac,providedIn:"root"}));let t=e;return t})(),bd=(()=>{let e=class e extends sn{_platformLocation;_baseHref="";_removeListenerFns=[];constructor(n,r){super(),this._platformLocation=n,r!=null&&(this._baseHref=r)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}path(n=!1){var i;let r=(i=this._platformLocation.hash)!=null?i:"#";return r.length>0?r.substring(1):r}prepareExternalUrl(n){let r=vd(this._baseHref,n);return r.length>0?"#"+r:r}pushState(n,r,i,s){let a=this.prepareExternalUrl(i+rn(s));a.length==0&&(a=this._platformLocation.pathname),this._platformLocation.pushState(n,r,a)}replaceState(n,r,i,s){let a=this.prepareExternalUrl(i+rn(s));a.length==0&&(a=this._platformLocation.pathname),this._platformLocation.replaceState(n,r,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){var r,i;(i=(r=this._platformLocation).historyGo)==null||i.call(r,n)}};m(e,"\u0275fac",function(r){return new(r||e)(S(gd),S(wv,8))}),m(e,"\u0275prov",x({token:e,factory:e.\u0275fac}));let t=e;return t})(),Nt=(()=>{let e=class e{_subject=new re;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(n){this._locationStrategy=n;let r=this._locationStrategy.getBaseHref();this._basePath=eS(mv(gv(r))),this._locationStrategy.onPopState(i=>{this._subject.next({url:this.path(!0),pop:!0,state:i.state,type:i.type})})}ngOnDestroy(){var n;(n=this._urlChangeSubscription)==null||n.unsubscribe(),this._urlChangeListeners=[]}path(n=!1){return this.normalize(this._locationStrategy.path(n))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(n,r=""){return this.path()==this.normalize(n+rn(r))}normalize(n){return e.stripTrailingSlash(Jx(this._basePath,gv(n)))}prepareExternalUrl(n){return n&&n[0]!=="/"&&(n="/"+n),this._locationStrategy.prepareExternalUrl(n)}go(n,r="",i=null){this._locationStrategy.pushState(i,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+rn(r)),i)}replaceState(n,r="",i=null){this._locationStrategy.replaceState(i,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+rn(r)),i)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(n=0){var r,i;(i=(r=this._locationStrategy).historyGo)==null||i.call(r,n)}onUrlChange(n){var r;return this._urlChangeListeners.push(n),(r=this._urlChangeSubscription)!=null||(this._urlChangeSubscription=this.subscribe(i=>{this._notifyUrlChangeListeners(i.url,i.state)})),()=>{var s;let i=this._urlChangeListeners.indexOf(n);this._urlChangeListeners.splice(i,1),this._urlChangeListeners.length===0&&((s=this._urlChangeSubscription)==null||s.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(n="",r){this._urlChangeListeners.forEach(i=>i(n,r))}subscribe(n,r,i){return this._subject.subscribe({next:n,error:r!=null?r:void 0,complete:i!=null?i:void 0})}};m(e,"normalizeQueryParams",rn),m(e,"joinWithSlash",vd),m(e,"stripTrailingSlash",mv),m(e,"\u0275fac",function(r){return new(r||e)(S(sn))}),m(e,"\u0275prov",x({token:e,factory:()=>Xx(),providedIn:"root"}));let t=e;return t})();function Xx(){return new Nt(S(sn))}function Jx(t,e){if(!t||!e.startsWith(t))return e;let o=e.substring(t.length);return o===""||["/",";","?","#"].includes(o[0])?o:e}function gv(t){return t.replace(/\/index.html$/,"")}function eS(t){if(new RegExp("^(https?:)?//").test(t)){let[,o]=t.split(/\/\/[^\/]+/);return o}return t}function Cv(t,e){e=encodeURIComponent(e);for(let o of t.split(";")){let n=o.indexOf("="),[r,i]=n==-1?[o,""]:[o.slice(0,n),o.slice(n+1)];if(r.trim()===e)return decodeURIComponent(i)}return null}var Dd=(()=>{let e=class e{_viewContainer;_context=new dd;_thenTemplateRef=null;_elseTemplateRef=null;_thenViewRef=null;_elseViewRef=null;constructor(n,r){this._viewContainer=n,this._thenTemplateRef=r}set ngIf(n){this._context.$implicit=this._context.ngIf=n,this._updateView()}set ngIfThen(n){vv("ngIfThen",n),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}set ngIfElse(n){vv("ngIfElse",n),this._elseTemplateRef=n,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(n,r){return!0}};m(e,"ngIfUseIfTypeGuard"),m(e,"ngTemplateGuard_ngIf"),m(e,"\u0275fac",function(r){return new(r||e)(T(At),T(no))}),m(e,"\u0275dir",Rt({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}));let t=e;return t})(),dd=class{$implicit=null;ngIf=null};function vv(t,e){if(!!!(!e||e.createEmbeddedView))throw new Error(`${t} must be a TemplateRef, but received '${Qe(e)}'.`)}var kn=(()=>{let e=class e{};m(e,"\u0275fac",function(r){return new(r||e)}),m(e,"\u0275mod",Me({type:e})),m(e,"\u0275inj",Te({}));let t=e;return t})(),wd="browser",tS="server";function nS(t){return t===wd}function Cd(t){return t===tS}var Iv=(()=>{let e=class e{};m(e,"\u0275prov",x({token:e,providedIn:"root",factory:()=>nS(y(ao))?new fd(y(Ce),window):new hd}));let t=e;return t})(),fd=class{document;window;offset=()=>[0,0];constructor(e,o){this.document=e,this.window=o}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 o=oS(this.document,e);o&&(this.scrollToElement(o),o.focus())}setHistoryScrollRestoration(e){this.window.history.scrollRestoration=e}scrollToElement(e){let o=e.getBoundingClientRect(),n=o.left+this.window.pageXOffset,r=o.top+this.window.pageYOffset,i=this.offset();this.window.scrollTo(n-i[0],r-i[1])}};function oS(t,e){let o=t.getElementById(e)||t.getElementsByName(e)[0];if(o)return o;if(typeof t.createTreeWalker=="function"&&t.body&&typeof t.body.attachShadow=="function"){let n=t.createTreeWalker(t.body,NodeFilter.SHOW_ELEMENT),r=n.currentNode;for(;r;){let i=r.shadowRoot;if(i){let s=i.getElementById(e)||i.querySelector(`[name="${e}"]`);if(s)return s}r=n.nextNode()}}return null}var hd=class{setOffset(e){}getScrollPosition(){return[0,0]}scrollToPosition(e){}scrollToAnchor(e){}setHistoryScrollRestoration(e){}},xa=class{};var xv={production:!0};var Ed=class{};var rr=class t{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(e){e?typeof e=="string"?this.lazyInit=()=>{this.headers=new Map,e.split(` +`).forEach(o=>{let n=o.indexOf(":");if(n>0){let r=o.slice(0,n),i=o.slice(n+1).trim();this.addHeaderEntry(r,i)}})}:typeof Headers<"u"&&e instanceof Headers?(this.headers=new Map,e.forEach((o,n)=>{this.addHeaderEntry(n,o)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(e).forEach(([o,n])=>{this.setHeaderEntries(o,n)})}:this.headers=new Map}has(e){return this.init(),this.headers.has(e.toLowerCase())}get(e){this.init();let o=this.headers.get(e.toLowerCase());return o&&o.length>0?o[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(e){return this.init(),this.headers.get(e.toLowerCase())||null}append(e,o){return this.clone({name:e,value:o,op:"a"})}set(e,o){return this.clone({name:e,value:o,op:"s"})}delete(e,o){return this.clone({name:e,value:o,op:"d"})}maybeSetNormalizedName(e,o){this.normalizedNames.has(o)||this.normalizedNames.set(o,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(o=>{this.headers.set(o,e.headers.get(o)),this.normalizedNames.set(o,e.normalizedNames.get(o))})}clone(e){let o=new t;return o.lazyInit=this.lazyInit&&this.lazyInit instanceof t?this.lazyInit:this,o.lazyUpdate=(this.lazyUpdate||[]).concat([e]),o}applyUpdate(e){let o=e.name.toLowerCase();switch(e.op){case"a":case"s":let n=e.value;if(typeof n=="string"&&(n=[n]),n.length===0)return;this.maybeSetNormalizedName(e.name,o);let r=(e.op==="a"?this.headers.get(o):void 0)||[];r.push(...n),this.headers.set(o,r);break;case"d":let i=e.value;if(!i)this.headers.delete(o),this.normalizedNames.delete(o);else{let s=this.headers.get(o);if(!s)return;s=s.filter(a=>i.indexOf(a)===-1),s.length===0?(this.headers.delete(o),this.normalizedNames.delete(o)):this.headers.set(o,s)}break}}addHeaderEntry(e,o){let n=e.toLowerCase();this.maybeSetNormalizedName(e,n),this.headers.has(n)?this.headers.get(n).push(o):this.headers.set(n,[o])}setHeaderEntries(e,o){let n=(Array.isArray(o)?o:[o]).map(i=>i.toString()),r=e.toLowerCase();this.headers.set(r,n),this.maybeSetNormalizedName(e,r)}forEach(e){this.init(),Array.from(this.normalizedNames.keys()).forEach(o=>e(this.normalizedNames.get(o),this.headers.get(o)))}};var xd=class{encodeKey(e){return Sv(e)}encodeValue(e){return Sv(e)}decodeKey(e){return decodeURIComponent(e)}decodeValue(e){return decodeURIComponent(e)}};function rS(t,e){let o=new Map;return t.length>0&&t.replace(/^\?/,"").split("&").forEach(r=>{let i=r.indexOf("="),[s,a]=i==-1?[e.decodeKey(r),""]:[e.decodeKey(r.slice(0,i)),e.decodeValue(r.slice(i+1))],l=o.get(s)||[];l.push(a),o.set(s,l)}),o}var iS=/%(\d[a-f0-9])/gi,sS={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Sv(t){return encodeURIComponent(t).replace(iS,(e,o)=>{var n;return(n=sS[o])!=null?n:e})}function Sa(t){return`${t}`}var An=class t{map;encoder;updates=null;cloneFrom=null;constructor(e={}){if(this.encoder=e.encoder||new xd,e.fromString){if(e.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=rS(e.fromString,this.encoder)}else e.fromObject?(this.map=new Map,Object.keys(e.fromObject).forEach(o=>{let n=e.fromObject[o],r=Array.isArray(n)?n.map(Sa):[Sa(n)];this.map.set(o,r)})):this.map=null}has(e){return this.init(),this.map.has(e)}get(e){this.init();let o=this.map.get(e);return o?o[0]:null}getAll(e){return this.init(),this.map.get(e)||null}keys(){return this.init(),Array.from(this.map.keys())}append(e,o){return this.clone({param:e,value:o,op:"a"})}appendAll(e){let o=[];return Object.keys(e).forEach(n=>{let r=e[n];Array.isArray(r)?r.forEach(i=>{o.push({param:n,value:i,op:"a"})}):o.push({param:n,value:r,op:"a"})}),this.clone(o)}set(e,o){return this.clone({param:e,value:o,op:"s"})}delete(e,o){return this.clone({param:e,value:o,op:"d"})}toString(){return this.init(),this.keys().map(e=>{let o=this.encoder.encodeKey(e);return this.map.get(e).map(n=>o+"="+this.encoder.encodeValue(n)).join("&")}).filter(e=>e!=="").join("&")}clone(e){let o=new t({encoder:this.encoder});return o.cloneFrom=this.cloneFrom||this,o.updates=(this.updates||[]).concat(e),o}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(e=>this.map.set(e,this.cloneFrom.map.get(e))),this.updates.forEach(e=>{switch(e.op){case"a":case"s":let o=(e.op==="a"?this.map.get(e.param):void 0)||[];o.push(Sa(e.value)),this.map.set(e.param,o);break;case"d":if(e.value!==void 0){let n=this.map.get(e.param)||[],r=n.indexOf(Sa(e.value));r!==-1&&n.splice(r,1),n.length>0?this.map.set(e.param,n):this.map.delete(e.param)}else{this.map.delete(e.param);break}}}),this.cloneFrom=this.updates=null)}};var Sd=class{map=new Map;set(e,o){return this.map.set(e,o),this}get(e){return this.map.has(e)||this.map.set(e,e.defaultValue()),this.map.get(e)}delete(e){return this.map.delete(e),this}has(e){return this.map.has(e)}keys(){return this.map.keys()}};function aS(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function Tv(t){return typeof ArrayBuffer<"u"&&t instanceof ArrayBuffer}function Mv(t){return typeof Blob<"u"&&t instanceof Blob}function _v(t){return typeof FormData<"u"&&t instanceof FormData}function lS(t){return typeof URLSearchParams<"u"&&t instanceof URLSearchParams}var ii=class t{url;body=null;headers;context;reportProgress=!1;withCredentials=!1;responseType="json";method;params;urlWithParams;transferCache;constructor(e,o,n,r){var s,a;this.url=o,this.method=e.toUpperCase();let i;if(aS(this.method)||r?(this.body=n!==void 0?n:null,i=r):i=n,i&&(this.reportProgress=!!i.reportProgress,this.withCredentials=!!i.withCredentials,i.responseType&&(this.responseType=i.responseType),i.headers&&(this.headers=i.headers),i.context&&(this.context=i.context),i.params&&(this.params=i.params),this.transferCache=i.transferCache),(s=this.headers)!=null||(this.headers=new rr),(a=this.context)!=null||(this.context=new Sd),!this.params)this.params=new An,this.urlWithParams=o;else{let l=this.params.toString();if(l.length===0)this.urlWithParams=o;else{let c=o.indexOf("?"),u=c===-1?"?":cD.set(b,e.setHeaders[b]),c)),e.setParams&&(u=Object.keys(e.setParams).reduce((D,b)=>D.set(b,e.setParams[b]),u)),new t(o,n,s,{params:u,headers:c,context:d,reportProgress:l,responseType:r,withCredentials:a,transferCache:i})}},kv=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}(kv||{}),Td=class{headers;status;statusText;url;ok;type;constructor(e,o=200,n="OK"){this.headers=e.headers||new rr,this.status=e.status!==void 0?e.status:o,this.statusText=e.statusText||n,this.url=e.url||null,this.ok=this.status>=200&&this.status<300}};var Md=class t extends Td{body;constructor(e={}){super(e),this.body=e.body!==void 0?e.body:null}type=kv.Response;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})}};function Id(t,e){return{body:e,headers:t.headers,context:t.context,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials,transferCache:t.transferCache}}var Av=(()=>{let e=class e{handler;constructor(n){this.handler=n}request(n,r,i={}){let s;if(n instanceof ii)s=n;else{let c;i.headers instanceof rr?c=i.headers:c=new rr(i.headers);let u;i.params&&(i.params instanceof An?u=i.params:u=new An({fromObject:i.params})),s=new ii(n,r,i.body!==void 0?i.body:null,{headers:c,context:i.context,params:u,reportProgress:i.reportProgress,responseType:i.responseType||"json",withCredentials:i.withCredentials,transferCache:i.transferCache})}let a=k(s).pipe(It(c=>this.handler.handle(c)));if(n instanceof ii||i.observe==="events")return a;let l=a.pipe(ke(c=>c instanceof Md));switch(i.observe||"body"){case"body":switch(s.responseType){case"arraybuffer":return l.pipe($(c=>{if(c.body!==null&&!(c.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return c.body}));case"blob":return l.pipe($(c=>{if(c.body!==null&&!(c.body instanceof Blob))throw new Error("Response is not a Blob.");return c.body}));case"text":return l.pipe($(c=>{if(c.body!==null&&typeof c.body!="string")throw new Error("Response is not a string.");return c.body}));case"json":default:return l.pipe($(c=>c.body))}case"response":return l;default:throw new Error(`Unreachable: unhandled observe type ${i.observe}}`)}}delete(n,r={}){return this.request("DELETE",n,r)}get(n,r={}){return this.request("GET",n,r)}head(n,r={}){return this.request("HEAD",n,r)}jsonp(n,r){return this.request("JSONP",n,{params:new An().append(r,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(n,r={}){return this.request("OPTIONS",n,r)}patch(n,r,i={}){return this.request("PATCH",n,Id(i,r))}post(n,r,i={}){return this.request("POST",n,Id(i,r))}put(n,r,i={}){return this.request("PUT",n,Id(i,r))}};m(e,"\u0275fac",function(r){return new(r||e)(S(Ed))}),m(e,"\u0275prov",x({token:e,factory:e.\u0275fac}));let t=e;return t})();var kd=class extends Ea{supportsDOMEvents=!0},Ad=class t extends kd{static makeCurrent(){bv(new t)}onAndCancel(e,o,n){return e.addEventListener(o,n),()=>{e.removeEventListener(o,n)}}dispatchEvent(e,o){e.dispatchEvent(o)}remove(e){e.remove()}createElement(e,o){return o=o||this.getDefaultDocument(),o.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,o){return o==="window"?window:o==="document"?e:o==="body"?e.body:null}getBaseHref(e){let o=uS();return o==null?null:dS(o)}resetBaseElement(){si=null}getUserAgent(){return window.navigator.userAgent}getCookie(e){return Cv(document.cookie,e)}},si=null;function uS(){return si=si||document.querySelector("base"),si?si.getAttribute("href"):null}function dS(t){return new URL(t,document.baseURI).pathname}var fS=(()=>{let e=class e{build(){return new XMLHttpRequest}};m(e,"\u0275fac",function(r){return new(r||e)}),m(e,"\u0275prov",x({token:e,factory:e.\u0275fac}));let t=e;return t})(),Rd=new _(""),Lv=(()=>{let e=class e{_zone;_plugins;_eventNameToPlugin=new Map;constructor(n,r){this._zone=r,n.forEach(i=>{i.manager=this}),this._plugins=n.slice().reverse()}addEventListener(n,r,i){return this._findPluginFor(r).addEventListener(n,r,i)}getZone(){return this._zone}_findPluginFor(n){let r=this._eventNameToPlugin.get(n);if(r)return r;if(r=this._plugins.find(s=>s.supports(n)),!r)throw new O(5101,!1);return this._eventNameToPlugin.set(n,r),r}};m(e,"\u0275fac",function(r){return new(r||e)(S(Rd),S(B))}),m(e,"\u0275prov",x({token:e,factory:e.\u0275fac}));let t=e;return t})(),Ma=class{_doc;constructor(e){this._doc=e}manager},Ta="ng-app-id";function Rv(t){for(let e of t)e.remove()}function Nv(t,e){let o=e.createElement("style");return o.textContent=t,o}function hS(t,e,o,n){var i;let r=(i=t.head)==null?void 0:i.querySelectorAll(`style[${Ta}="${e}"],link[${Ta}="${e}"]`);if(r)for(let s of r)s.removeAttribute(Ta),s instanceof HTMLLinkElement?n.set(s.href.slice(s.href.lastIndexOf("/")+1),{usage:0,elements:[s]}):s.textContent&&o.set(s.textContent,{usage:0,elements:[s]})}function Nd(t,e){let o=e.createElement("link");return o.setAttribute("rel","stylesheet"),o.setAttribute("href",t),o}var $v=(()=>{let e=class e{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;isServer;constructor(n,r,i,s={}){this.doc=n,this.appId=r,this.nonce=i,this.isServer=Cd(s),hS(n,r,this.inline,this.external),this.hosts.add(n.head)}addStyles(n,r){for(let i of n)this.addUsage(i,this.inline,Nv);r==null||r.forEach(i=>this.addUsage(i,this.external,Nd))}removeStyles(n,r){for(let i of n)this.removeUsage(i,this.inline);r==null||r.forEach(i=>this.removeUsage(i,this.external))}addUsage(n,r,i){let s=r.get(n);s?s.usage++:r.set(n,{usage:1,elements:[...this.hosts].map(a=>this.addElement(a,i(n,this.doc)))})}removeUsage(n,r){let i=r.get(n);i&&(i.usage--,i.usage<=0&&(Rv(i.elements),r.delete(n)))}ngOnDestroy(){for(let[,{elements:n}]of[...this.inline,...this.external])Rv(n);this.hosts.clear()}addHost(n){this.hosts.add(n);for(let[r,{elements:i}]of this.inline)i.push(this.addElement(n,Nv(r,this.doc)));for(let[r,{elements:i}]of this.external)i.push(this.addElement(n,Nd(r,this.doc)))}removeHost(n){this.hosts.delete(n)}addElement(n,r){return this.nonce&&r.setAttribute("nonce",this.nonce),this.isServer&&r.setAttribute(Ta,this.appId),n.appendChild(r)}};m(e,"\u0275fac",function(r){return new(r||e)(S(Ce),S(Lu),S(ju,8),S(ao))}),m(e,"\u0275prov",x({token:e,factory:e.\u0275fac}));let t=e;return t})(),_d={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/Math/MathML"},Pd=/%COMP%/g,jv="%COMP%",pS=`_nghost-${jv}`,mS=`_ngcontent-${jv}`,gS=!0,vS=new _("",{providedIn:"root",factory:()=>gS});function yS(t){return mS.replace(Pd,t)}function bS(t){return pS.replace(Pd,t)}function Bv(t,e){return e.map(o=>o.replace(Pd,t))}var Ov=(()=>{let e=class e{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;platformId;ngZone;nonce;rendererByCompId=new Map;defaultRenderer;platformIsServer;constructor(n,r,i,s,a,l,c,u=null){this.eventManager=n,this.sharedStylesHost=r,this.appId=i,this.removeStylesOnCompDestroy=s,this.doc=a,this.platformId=l,this.ngZone=c,this.nonce=u,this.platformIsServer=Cd(l),this.defaultRenderer=new ai(n,a,c,this.platformIsServer)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;this.platformIsServer&&r.encapsulation===jt.ShadowDom&&(r=J(w({},r),{encapsulation:jt.Emulated}));let i=this.getOrCreateRenderer(n,r);return i instanceof _a?i.applyToHost(n):i instanceof li&&i.applyStyles(),i}getOrCreateRenderer(n,r){let i=this.rendererByCompId,s=i.get(r.id);if(!s){let a=this.doc,l=this.ngZone,c=this.eventManager,u=this.sharedStylesHost,d=this.removeStylesOnCompDestroy,p=this.platformIsServer;switch(r.encapsulation){case jt.Emulated:s=new _a(c,u,r,this.appId,d,a,l,p);break;case jt.ShadowDom:return new Od(c,u,n,r,a,l,this.nonce,p);default:s=new li(c,u,r,d,a,l,p);break}i.set(r.id,s)}return s}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(n){this.rendererByCompId.delete(n)}};m(e,"\u0275fac",function(r){return new(r||e)(S(Lv),S($v),S(Lu),S(vS),S(Ce),S(ao),S(B),S(ju))}),m(e,"\u0275prov",x({token:e,factory:e.\u0275fac}));let t=e;return t})(),ai=class{eventManager;doc;ngZone;platformIsServer;data=Object.create(null);throwOnSyntheticProps=!0;constructor(e,o,n,r){this.eventManager=e,this.doc=o,this.ngZone=n,this.platformIsServer=r}destroy(){}destroyNode=null;createElement(e,o){return o?this.doc.createElementNS(_d[o]||o,e):this.doc.createElement(e)}createComment(e){return this.doc.createComment(e)}createText(e){return this.doc.createTextNode(e)}appendChild(e,o){(Pv(e)?e.content:e).appendChild(o)}insertBefore(e,o,n){e&&(Pv(e)?e.content:e).insertBefore(o,n)}removeChild(e,o){o.remove()}selectRootElement(e,o){let n=typeof e=="string"?this.doc.querySelector(e):e;if(!n)throw new O(-5104,!1);return o||(n.textContent=""),n}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,o,n,r){if(r){o=r+":"+o;let i=_d[r];i?e.setAttributeNS(i,o,n):e.setAttribute(o,n)}else e.setAttribute(o,n)}removeAttribute(e,o,n){if(n){let r=_d[n];r?e.removeAttributeNS(r,o):e.removeAttribute(`${n}:${o}`)}else e.removeAttribute(o)}addClass(e,o){e.classList.add(o)}removeClass(e,o){e.classList.remove(o)}setStyle(e,o,n,r){r&(lo.DashCase|lo.Important)?e.style.setProperty(o,n,r&lo.Important?"important":""):e.style[o]=n}removeStyle(e,o,n){n&lo.DashCase?e.style.removeProperty(o):e.style[o]=""}setProperty(e,o,n){e!=null&&(e[o]=n)}setValue(e,o){e.nodeValue=o}listen(e,o,n){if(typeof e=="string"&&(e=uo().getGlobalEventTarget(this.doc,e),!e))throw new Error(`Unsupported event target ${e} for event ${o}`);return this.eventManager.addEventListener(e,o,this.decoratePreventDefault(n))}decoratePreventDefault(e){return o=>{if(o==="__ngUnwrap__")return e;(this.platformIsServer?this.ngZone.runGuarded(()=>e(o)):e(o))===!1&&o.preventDefault()}}};function Pv(t){return t.tagName==="TEMPLATE"&&t.content!==void 0}var Od=class extends ai{sharedStylesHost;hostEl;shadowRoot;constructor(e,o,n,r,i,s,a,l){var d;super(e,i,s,l),this.sharedStylesHost=o,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let c=Bv(r.id,r.styles);for(let p of c){let f=document.createElement("style");a&&f.setAttribute("nonce",a),f.textContent=p,this.shadowRoot.appendChild(f)}let u=(d=r.getExternalStyles)==null?void 0:d.call(r);if(u)for(let p of u){let f=Nd(p,i);a&&f.setAttribute("nonce",a),this.shadowRoot.appendChild(f)}}nodeOrShadowRoot(e){return e===this.hostEl?this.shadowRoot:e}appendChild(e,o){return super.appendChild(this.nodeOrShadowRoot(e),o)}insertBefore(e,o,n){return super.insertBefore(this.nodeOrShadowRoot(e),o,n)}removeChild(e,o){return super.removeChild(null,o)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},li=class extends ai{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(e,o,n,r,i,s,a,l){var c;super(e,i,s,a),this.sharedStylesHost=o,this.removeStylesOnCompDestroy=r,this.styles=l?Bv(l,n.styles):n.styles,this.styleUrls=(c=n.getExternalStyles)==null?void 0:c.call(n,l)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},_a=class extends li{contentAttr;hostAttr;constructor(e,o,n,r,i,s,a,l){let c=r+"-"+n.id;super(e,o,n,i,s,a,l,c),this.contentAttr=yS(c),this.hostAttr=bS(c)}applyToHost(e){this.applyStyles(),this.setAttribute(e,this.hostAttr,"")}createElement(e,o){let n=super.createElement(e,o);return super.setAttribute(n,this.contentAttr,""),n}},DS=(()=>{let e=class e extends Ma{constructor(n){super(n)}supports(n){return!0}addEventListener(n,r,i){return n.addEventListener(r,i,!1),()=>this.removeEventListener(n,r,i)}removeEventListener(n,r,i){return n.removeEventListener(r,i)}};m(e,"\u0275fac",function(r){return new(r||e)(S(Ce))}),m(e,"\u0275prov",x({token:e,factory:e.\u0275fac}));let t=e;return t})(),Fv=["alt","control","meta","shift"],wS={"\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"},CS={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey},IS=(()=>{let e=class e extends Ma{constructor(n){super(n)}supports(n){return e.parseEventName(n)!=null}addEventListener(n,r,i){let s=e.parseEventName(r),a=e.eventCallback(s.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>uo().onAndCancel(n,s.domEventName,a))}static parseEventName(n){let r=n.toLowerCase().split("."),i=r.shift();if(r.length===0||!(i==="keydown"||i==="keyup"))return null;let s=e._normalizeKey(r.pop()),a="",l=r.indexOf("code");if(l>-1&&(r.splice(l,1),a="code."),Fv.forEach(u=>{let d=r.indexOf(u);d>-1&&(r.splice(d,1),a+=u+".")}),a+=s,r.length!=0||s.length===0)return null;let c={};return c.domEventName=i,c.fullKey=a,c}static matchEventFullKeyCode(n,r){let i=wS[n.key]||n.key,s="";return r.indexOf("code.")>-1&&(i=n.code,s="code."),i==null||!i?!1:(i=i.toLowerCase(),i===" "?i="space":i==="."&&(i="dot"),Fv.forEach(a=>{if(a!==i){let l=CS[a];l(n)&&(s+=a+".")}}),s+=i,s===r)}static eventCallback(n,r,i){return s=>{e.matchEventFullKeyCode(s,n)&&i.runGuarded(()=>r(s))}}static _normalizeKey(n){return n==="esc"?"escape":n}};m(e,"\u0275fac",function(r){return new(r||e)(S(Ce))}),m(e,"\u0275prov",x({token:e,factory:e.\u0275fac}));let t=e;return t})();function Kj(t,e){return hv(w({rootComponent:t},ES(e)))}function ES(t){var e;return{appProviders:[..._S,...(e=t==null?void 0:t.providers)!=null?e:[]],platformProviders:MS}}function xS(){Ad.makeCurrent()}function SS(){return new Xt}function TS(){return dg(document),document}var MS=[{provide:ao,useValue:wd},{provide:$u,useValue:xS,multi:!0},{provide:Ce,useFactory:TS,deps:[]}];var _S=[{provide:ea,useValue:"root"},{provide:Xt,useFactory:SS,deps:[]},{provide:Rd,useClass:DS,multi:!0,deps:[Ce,B,ao]},{provide:Rd,useClass:IS,multi:!0,deps:[Ce]},Ov,$v,Lv,{provide:Qo,useExisting:Ov},{provide:xa,useClass:fS,deps:[]},[]];var Vv=(()=>{let e=class e{_doc;_dom;constructor(n){this._doc=n,this._dom=uo()}addTag(n,r=!1){return n?this._getOrCreateElement(n,r):null}addTags(n,r=!1){return n?n.reduce((i,s)=>(s&&i.push(this._getOrCreateElement(s,r)),i),[]):[]}getTag(n){return n&&this._doc.querySelector(`meta[${n}]`)||null}getTags(n){if(!n)return[];let r=this._doc.querySelectorAll(`meta[${n}]`);return r?[].slice.call(r):[]}updateTag(n,r){if(!n)return null;r=r||this._parseSelector(n);let i=this.getTag(r);return i?this._setMetaElementAttributes(n,i):this._getOrCreateElement(n,!0)}removeTag(n){this.removeTagElement(this.getTag(n))}removeTagElement(n){n&&this._dom.remove(n)}_getOrCreateElement(n,r=!1){if(!r){let a=this._parseSelector(n),l=this.getTags(a).filter(c=>this._containsAttributes(n,c))[0];if(l!==void 0)return l}let i=this._dom.createElement("meta");return this._setMetaElementAttributes(n,i),this._doc.getElementsByTagName("head")[0].appendChild(i),i}_setMetaElementAttributes(n,r){return Object.keys(n).forEach(i=>r.setAttribute(this._getMetaKeyMap(i),n[i])),r}_parseSelector(n){let r=n.name?"name":"property";return`${r}="${n[r]}"`}_containsAttributes(n,r){return Object.keys(n).every(i=>r.getAttribute(this._getMetaKeyMap(i))===n[i])}_getMetaKeyMap(n){return kS[n]||n}};m(e,"\u0275fac",function(r){return new(r||e)(S(Ce))}),m(e,"\u0275prov",x({token:e,factory:e.\u0275fac,providedIn:"root"}));let t=e;return t})(),kS={httpEquiv:"http-equiv"},ka=(()=>{let e=class e{_doc;constructor(n){this._doc=n}getTitle(){return this._doc.title}setTitle(n){this._doc.title=n||""}};m(e,"\u0275fac",function(r){return new(r||e)(S(Ce))}),m(e,"\u0275prov",x({token:e,factory:e.\u0275fac,providedIn:"root"}));let t=e;return t})();var j="primary",Ei=Symbol("RouteTitle"),Bd=class{params;constructor(e){this.params=e||{}}has(e){return Object.prototype.hasOwnProperty.call(this.params,e)}get(e){if(this.has(e)){let o=this.params[e];return Array.isArray(o)?o[0]:o}return null}getAll(e){if(this.has(e)){let o=this.params[e];return Array.isArray(o)?o:[o]}return[]}get keys(){return Object.keys(this.params)}};function ur(t){return new Bd(t)}function RS(t,e,o){let n=o.path.split("/");if(n.length>t.length||o.pathMatch==="full"&&(e.hasChildren()||n.lengthn[i]===r)}else return t===e}function ey(t){return t.length>0?t[t.length-1]:null}function On(t){return bn(t)?t:co(t)?ue(Promise.resolve(t)):k(t)}var OS={exact:ny,subset:oy},ty={exact:PS,subset:FS,ignored:()=>!0};function zv(t,e,o){return OS[o.paths](t.root,e.root,o.matrixParams)&&ty[o.queryParams](t.queryParams,e.queryParams)&&!(o.fragment==="exact"&&t.fragment!==e.fragment)}function PS(t,e){return Ut(t,e)}function ny(t,e,o){if(!ho(t.segments,e.segments)||!Na(t.segments,e.segments,o)||t.numberOfChildren!==e.numberOfChildren)return!1;for(let n in e.children)if(!t.children[n]||!ny(t.children[n],e.children[n],o))return!1;return!0}function FS(t,e){return Object.keys(e).length<=Object.keys(t).length&&Object.keys(e).every(o=>Jv(t[o],e[o]))}function oy(t,e,o){return ry(t,e,e.segments,o)}function ry(t,e,o,n){if(t.segments.length>o.length){let r=t.segments.slice(0,o.length);return!(!ho(r,o)||e.hasChildren()||!Na(r,o,n))}else if(t.segments.length===o.length){if(!ho(t.segments,o)||!Na(t.segments,o,n))return!1;for(let r in e.children)if(!t.children[r]||!oy(t.children[r],e.children[r],n))return!1;return!0}else{let r=o.slice(0,t.segments.length),i=o.slice(t.segments.length);return!ho(t.segments,r)||!Na(t.segments,r,n)||!t.children[j]?!1:ry(t.children[j],e,i,n)}}function Na(t,e,o){return e.every((n,r)=>ty[o](t[r].parameters,n.parameters))}var ln=class{root;queryParams;fragment;_queryParamMap;constructor(e=new ne([],{}),o={},n=null){this.root=e,this.queryParams=o,this.fragment=n}get queryParamMap(){var e;return(e=this._queryParamMap)!=null||(this._queryParamMap=ur(this.queryParams)),this._queryParamMap}toString(){return jS.serialize(this)}},ne=class{segments;children;parent=null;constructor(e,o){this.segments=e,this.children=o,Object.values(o).forEach(n=>n.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Oa(this)}},fo=class{path;parameters;_parameterMap;constructor(e,o){this.path=e,this.parameters=o}get parameterMap(){var e;return(e=this._parameterMap)!=null||(this._parameterMap=ur(this.parameters)),this._parameterMap}toString(){return sy(this)}};function LS(t,e){return ho(t,e)&&t.every((o,n)=>Ut(o.parameters,e[n].parameters))}function ho(t,e){return t.length!==e.length?!1:t.every((o,n)=>o.path===e[n].path)}function $S(t,e){let o=[];return Object.entries(t.children).forEach(([n,r])=>{n===j&&(o=o.concat(e(r,n)))}),Object.entries(t.children).forEach(([n,r])=>{n!==j&&(o=o.concat(e(r,n)))}),o}var po=(()=>{let e=class e{};m(e,"\u0275fac",function(r){return new(r||e)}),m(e,"\u0275prov",x({token:e,factory:()=>new dr,providedIn:"root"}));let t=e;return t})(),dr=class{parse(e){let o=new zd(e);return new ln(o.parseRootSegment(),o.parseQueryParams(),o.parseFragment())}serialize(e){let o=`/${ci(e.root,!0)}`,n=US(e.queryParams),r=typeof e.fragment=="string"?`#${BS(e.fragment)}`:"";return`${o}${n}${r}`}},jS=new dr;function Oa(t){return t.segments.map(e=>sy(e)).join("/")}function ci(t,e){if(!t.hasChildren())return Oa(t);if(e){let o=t.children[j]?ci(t.children[j],!1):"",n=[];return Object.entries(t.children).forEach(([r,i])=>{r!==j&&n.push(`${r}:${ci(i,!1)}`)}),n.length>0?`${o}(${n.join("//")})`:o}else{let o=$S(t,(n,r)=>r===j?[ci(t.children[j],!1)]:[`${r}:${ci(n,!1)}`]);return Object.keys(t.children).length===1&&t.children[j]!=null?`${Oa(t)}/${o[0]}`:`${Oa(t)}/(${o.join("//")})`}}function iy(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Aa(t){return iy(t).replace(/%3B/gi,";")}function BS(t){return encodeURI(t)}function Ud(t){return iy(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Pa(t){return decodeURIComponent(t)}function Hv(t){return Pa(t.replace(/\+/g,"%20"))}function sy(t){return`${Ud(t.path)}${VS(t.parameters)}`}function VS(t){return Object.entries(t).map(([e,o])=>`;${Ud(e)}=${Ud(o)}`).join("")}function US(t){let e=Object.entries(t).map(([o,n])=>Array.isArray(n)?n.map(r=>`${Aa(o)}=${Aa(r)}`).join("&"):`${Aa(o)}=${Aa(n)}`).filter(o=>o);return e.length?`?${e.join("&")}`:""}var zS=/^[^\/()?;#]+/;function Fd(t){let e=t.match(zS);return e?e[0]:""}var HS=/^[^\/()?;=#]+/;function GS(t){let e=t.match(HS);return e?e[0]:""}var WS=/^[^=?&#]+/;function qS(t){let e=t.match(WS);return e?e[0]:""}var ZS=/^[^&#]+/;function YS(t){let e=t.match(ZS);return e?e[0]:""}var zd=class{url;remaining;constructor(e){this.url=e,this.remaining=e}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new ne([],{}):new ne([],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 o={};this.peekStartsWith("/(")&&(this.capture("/"),o=this.parseParens(!0));let n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(e.length>0||Object.keys(o).length>0)&&(n[j]=new ne(e,o)),n}parseSegment(){let e=Fd(this.remaining);if(e===""&&this.peekStartsWith(";"))throw new O(4009,!1);return this.capture(e),new fo(Pa(e),this.parseMatrixParams())}parseMatrixParams(){let e={};for(;this.consumeOptional(";");)this.parseParam(e);return e}parseParam(e){let o=GS(this.remaining);if(!o)return;this.capture(o);let n="";if(this.consumeOptional("=")){let r=Fd(this.remaining);r&&(n=r,this.capture(n))}e[Pa(o)]=Pa(n)}parseQueryParam(e){let o=qS(this.remaining);if(!o)return;this.capture(o);let n="";if(this.consumeOptional("=")){let s=YS(this.remaining);s&&(n=s,this.capture(n))}let r=Hv(o),i=Hv(n);if(e.hasOwnProperty(r)){let s=e[r];Array.isArray(s)||(s=[s],e[r]=s),s.push(i)}else e[r]=i}parseParens(e){let o={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let n=Fd(this.remaining),r=this.remaining[n.length];if(r!=="/"&&r!==")"&&r!==";")throw new O(4010,!1);let i;n.indexOf(":")>-1?(i=n.slice(0,n.indexOf(":")),this.capture(i),this.capture(":")):e&&(i=j);let s=this.parseChildren();o[i]=Object.keys(s).length===1?s[j]:new ne([],s),this.consumeOptional("//")}return o}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 O(4011,!1)}};function ay(t){return t.segments.length>0?new ne([],{[j]:t}):t}function ly(t){let e={};for(let[n,r]of Object.entries(t.children)){let i=ly(r);if(n===j&&i.segments.length===0&&i.hasChildren())for(let[s,a]of Object.entries(i.children))e[s]=a;else(i.segments.length>0||i.hasChildren())&&(e[n]=i)}let o=new ne(t.segments,e);return QS(o)}function QS(t){if(t.numberOfChildren===1&&t.children[j]){let e=t.children[j];return new ne(t.segments.concat(e.segments),e.children)}return t}function mi(t){return t instanceof ln}function KS(t,e,o=null,n=null){let r=cy(t);return uy(r,e,o,n)}function cy(t){let e;function o(i){let s={};for(let l of i.children){let c=o(l);s[l.outlet]=c}let a=new ne(i.url,s);return i===t&&(e=a),a}let n=o(t.root),r=ay(n);return e!=null?e:r}function uy(t,e,o,n){let r=t;for(;r.parent;)r=r.parent;if(e.length===0)return Ld(r,r,r,o,n);let i=XS(e);if(i.toRoot())return Ld(r,r,new ne([],{}),o,n);let s=JS(i,r,t),a=s.processChildren?fi(s.segmentGroup,s.index,i.commands):fy(s.segmentGroup,s.index,i.commands);return Ld(r,s.segmentGroup,a,o,n)}function Fa(t){return typeof t=="object"&&t!=null&&!t.outlets&&!t.segmentPath}function gi(t){return typeof t=="object"&&t!=null&&t.outlets}function Ld(t,e,o,n,r){let i={};n&&Object.entries(n).forEach(([l,c])=>{i[l]=Array.isArray(c)?c.map(u=>`${u}`):`${c}`});let s;t===e?s=o:s=dy(t,e,o);let a=ay(ly(s));return new ln(a,i,r)}function dy(t,e,o){let n={};return Object.entries(t.children).forEach(([r,i])=>{i===e?n[r]=o:n[r]=dy(i,e,o)}),new ne(t.segments,n)}var La=class{isAbsolute;numberOfDoubleDots;commands;constructor(e,o,n){if(this.isAbsolute=e,this.numberOfDoubleDots=o,this.commands=n,e&&n.length>0&&Fa(n[0]))throw new O(4003,!1);let r=n.find(gi);if(r&&r!==ey(n))throw new O(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function XS(t){if(typeof t[0]=="string"&&t.length===1&&t[0]==="/")return new La(!0,0,t);let e=0,o=!1,n=t.reduce((r,i,s)=>{if(typeof i=="object"&&i!=null){if(i.outlets){let a={};return Object.entries(i.outlets).forEach(([l,c])=>{a[l]=typeof c=="string"?c.split("/"):c}),[...r,{outlets:a}]}if(i.segmentPath)return[...r,i.segmentPath]}return typeof i!="string"?[...r,i]:s===0?(i.split("/").forEach((a,l)=>{l==0&&a==="."||(l==0&&a===""?o=!0:a===".."?e++:a!=""&&r.push(a))}),r):[...r,i]},[]);return new La(o,e,n)}var ar=class{segmentGroup;processChildren;index;constructor(e,o,n){this.segmentGroup=e,this.processChildren=o,this.index=n}};function JS(t,e,o){if(t.isAbsolute)return new ar(e,!0,0);if(!o)return new ar(e,!1,NaN);if(o.parent===null)return new ar(o,!0,0);let n=Fa(t.commands[0])?0:1,r=o.segments.length-1+n;return eT(o,r,t.numberOfDoubleDots)}function eT(t,e,o){let n=t,r=e,i=o;for(;i>r;){if(i-=r,n=n.parent,!n)throw new O(4005,!1);r=n.segments.length}return new ar(n,!1,r-i)}function tT(t){return gi(t[0])?t[0].outlets:{[j]:t}}function fy(t,e,o){if(t!=null||(t=new ne([],{})),t.segments.length===0&&t.hasChildren())return fi(t,e,o);let n=nT(t,e,o),r=o.slice(n.commandIndex);if(n.match&&n.pathIndexi!==j)&&t.children[j]&&t.numberOfChildren===1&&t.children[j].segments.length===0){let i=fi(t.children[j],e,o);return new ne(t.segments,i.children)}return Object.entries(n).forEach(([i,s])=>{typeof s=="string"&&(s=[s]),s!==null&&(r[i]=fy(t.children[i],e,s))}),Object.entries(t.children).forEach(([i,s])=>{n[i]===void 0&&(r[i]=s)}),new ne(t.segments,r)}}function nT(t,e,o){let n=0,r=e,i={match:!1,pathIndex:0,commandIndex:0};for(;r=o.length)return i;let s=t.segments[r],a=o[n];if(gi(a))break;let l=`${a}`,c=n0&&l===void 0)break;if(l&&c&&typeof c=="object"&&c.outlets===void 0){if(!Wv(l,c,s))return i;n+=2}else{if(!Wv(l,{},s))return i;n++}r++}return{match:!0,pathIndex:r,commandIndex:n}}function Hd(t,e,o){let n=t.segments.slice(0,e),r=0;for(;r{typeof n=="string"&&(n=[n]),n!==null&&(e[o]=Hd(new ne([],{}),0,n))}),e}function Gv(t){let e={};return Object.entries(t).forEach(([o,n])=>e[o]=`${n}`),e}function Wv(t,e,o){return t==o.path&&Ut(e,o.parameters)}var hi="imperative",_e=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}(_e||{}),gt=class{id;url;constructor(e,o){this.id=e,this.url=o}},Rn=class extends gt{type=_e.NavigationStart;navigationTrigger;restoredState;constructor(e,o,n="imperative",r=null){super(e,o),this.navigationTrigger=n,this.restoredState=r}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},cn=class extends gt{urlAfterRedirects;type=_e.NavigationEnd;constructor(e,o,n){super(e,o),this.urlAfterRedirects=n}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},lt=function(t){return t[t.Redirect=0]="Redirect",t[t.SupersededByNewNavigation=1]="SupersededByNewNavigation",t[t.NoDataFromResolver=2]="NoDataFromResolver",t[t.GuardRejected=3]="GuardRejected",t}(lt||{}),$a=function(t){return t[t.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",t[t.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",t}($a||{}),an=class extends gt{reason;code;type=_e.NavigationCancel;constructor(e,o,n,r){super(e,o),this.reason=n,this.code=r}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},Nn=class extends gt{reason;code;type=_e.NavigationSkipped;constructor(e,o,n,r){super(e,o),this.reason=n,this.code=r}},vi=class extends gt{error;target;type=_e.NavigationError;constructor(e,o,n,r){super(e,o),this.error=n,this.target=r}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},ja=class extends gt{urlAfterRedirects;state;type=_e.RoutesRecognized;constructor(e,o,n,r){super(e,o),this.urlAfterRedirects=n,this.state=r}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Gd=class extends gt{urlAfterRedirects;state;type=_e.GuardsCheckStart;constructor(e,o,n,r){super(e,o),this.urlAfterRedirects=n,this.state=r}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Wd=class extends gt{urlAfterRedirects;state;shouldActivate;type=_e.GuardsCheckEnd;constructor(e,o,n,r,i){super(e,o),this.urlAfterRedirects=n,this.state=r,this.shouldActivate=i}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},qd=class extends gt{urlAfterRedirects;state;type=_e.ResolveStart;constructor(e,o,n,r){super(e,o),this.urlAfterRedirects=n,this.state=r}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Zd=class extends gt{urlAfterRedirects;state;type=_e.ResolveEnd;constructor(e,o,n,r){super(e,o),this.urlAfterRedirects=n,this.state=r}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Yd=class{route;type=_e.RouteConfigLoadStart;constructor(e){this.route=e}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},Qd=class{route;type=_e.RouteConfigLoadEnd;constructor(e){this.route=e}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},Kd=class{snapshot;type=_e.ChildActivationStart;constructor(e){this.snapshot=e}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Xd=class{snapshot;type=_e.ChildActivationEnd;constructor(e){this.snapshot=e}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Jd=class{snapshot;type=_e.ActivationStart;constructor(e){this.snapshot=e}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},ef=class{snapshot;type=_e.ActivationEnd;constructor(e){this.snapshot=e}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Ba=class{routerEvent;position;anchor;type=_e.Scroll;constructor(e,o,n){this.routerEvent=e,this.position=o,this.anchor=n}toString(){let e=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${e}')`}},yi=class{},fr=class{url;navigationBehaviorOptions;constructor(e,o){this.url=e,this.navigationBehaviorOptions=o}};function rT(t,e){var o;return t.providers&&!t._injector&&(t._injector=va(t.providers,e,`Route: ${t.path}`)),(o=t._injector)!=null?o:e}function Ot(t){return t.outlet||j}function iT(t,e){let o=t.filter(n=>Ot(n)===e);return o.push(...t.filter(n=>Ot(n)!==e)),o}function xi(t){var e;if(!t)return null;if((e=t.routeConfig)!=null&&e._injector)return t.routeConfig._injector;for(let o=t.parent;o;o=o.parent){let n=o.routeConfig;if(n!=null&&n._loadedInjector)return n._loadedInjector;if(n!=null&&n._injector)return n._injector}return null}var tf=class{rootInjector;outlet=null;route=null;children;attachRef=null;get injector(){var e,o;return(o=xi((e=this.route)==null?void 0:e.snapshot))!=null?o:this.rootInjector}constructor(e){this.rootInjector=e,this.children=new Pn(this.rootInjector)}},Pn=(()=>{let e=class e{rootInjector;contexts=new Map;constructor(n){this.rootInjector=n}onChildOutletCreated(n,r){let i=this.getOrCreateContext(n);i.outlet=r,this.contexts.set(n,i)}onChildOutletDestroyed(n){let r=this.getContext(n);r&&(r.outlet=null,r.attachRef=null)}onOutletDeactivated(){let n=this.contexts;return this.contexts=new Map,n}onOutletReAttached(n){this.contexts=n}getOrCreateContext(n){let r=this.getContext(n);return r||(r=new tf(this.rootInjector),this.contexts.set(n,r)),r}getContext(n){return this.contexts.get(n)||null}};m(e,"\u0275fac",function(r){return new(r||e)(S(me))}),m(e,"\u0275prov",x({token:e,factory:e.\u0275fac,providedIn:"root"}));let t=e;return t})(),Va=class{_root;constructor(e){this._root=e}get root(){return this._root.value}parent(e){let o=this.pathFromRoot(e);return o.length>1?o[o.length-2]:null}children(e){let o=nf(e,this._root);return o?o.children.map(n=>n.value):[]}firstChild(e){let o=nf(e,this._root);return o&&o.children.length>0?o.children[0].value:null}siblings(e){let o=of(e,this._root);return o.length<2?[]:o[o.length-2].children.map(r=>r.value).filter(r=>r!==e)}pathFromRoot(e){return of(e,this._root).map(o=>o.value)}};function nf(t,e){if(t===e.value)return e;for(let o of e.children){let n=nf(t,o);if(n)return n}return null}function of(t,e){if(t===e.value)return[e];for(let o of e.children){let n=of(t,o);if(n.length)return n.unshift(e),n}return[]}var at=class{value;children;constructor(e,o){this.value=e,this.children=o}toString(){return`TreeNode(${this.value})`}};function sr(t){let e={};return t&&t.children.forEach(o=>e[o.value.outlet]=o),e}var Ua=class extends Va{snapshot;constructor(e,o){super(e),this.snapshot=o,hf(this,e)}toString(){return this.snapshot.toString()}};function hy(t){let e=sT(t),o=new fe([new fo("",{})]),n=new fe({}),r=new fe({}),i=new fe({}),s=new fe(""),a=new Xe(o,n,i,s,r,j,t,e.root);return a.snapshot=e.root,new Ua(new at(a,[]),e)}function sT(t){let e={},o={},n={},r="",i=new lr([],e,n,r,o,j,t,null,{});return new Ha("",new at(i,[]))}var Xe=class{urlSubject;paramsSubject;queryParamsSubject;fragmentSubject;dataSubject;outlet;component;snapshot;_futureSnapshot;_routerState;_paramMap;_queryParamMap;title;url;params;queryParams;fragment;data;constructor(e,o,n,r,i,s,a,l){var c,u;this.urlSubject=e,this.paramsSubject=o,this.queryParamsSubject=n,this.fragmentSubject=r,this.dataSubject=i,this.outlet=s,this.component=a,this._futureSnapshot=l,this.title=(u=(c=this.dataSubject)==null?void 0:c.pipe($(d=>d[Ei])))!=null?u:k(void 0),this.url=e,this.params=o,this.queryParams=n,this.fragment=r,this.data=i}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(){var e;return(e=this._paramMap)!=null||(this._paramMap=this.params.pipe($(o=>ur(o)))),this._paramMap}get queryParamMap(){var e;return(e=this._queryParamMap)!=null||(this._queryParamMap=this.queryParams.pipe($(o=>ur(o)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function za(t,e,o="emptyOnly"){var i,s;let n,{routeConfig:r}=t;return e!==null&&(o==="always"||(r==null?void 0:r.path)===""||!e.component&&!((i=e.routeConfig)!=null&&i.loadComponent))?n={params:w(w({},e.params),t.params),data:w(w({},e.data),t.data),resolve:w(w(w(w({},t.data),e.data),r==null?void 0:r.data),t._resolvedData)}:n={params:w({},t.params),data:w({},t.data),resolve:w(w({},t.data),(s=t._resolvedData)!=null?s:{})},r&&my(r)&&(n.resolve[Ei]=r.title),n}var lr=class{url;params;queryParams;fragment;data;outlet;component;routeConfig;_resolve;_resolvedData;_routerState;_paramMap;_queryParamMap;get title(){var e;return(e=this.data)==null?void 0:e[Ei]}constructor(e,o,n,r,i,s,a,l,c){this.url=e,this.params=o,this.queryParams=n,this.fragment=r,this.data=i,this.outlet=s,this.component=a,this.routeConfig=l,this._resolve=c}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){var e;return(e=this._paramMap)!=null||(this._paramMap=ur(this.params)),this._paramMap}get queryParamMap(){var e;return(e=this._queryParamMap)!=null||(this._queryParamMap=ur(this.queryParams)),this._queryParamMap}toString(){let e=this.url.map(n=>n.toString()).join("/"),o=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${e}', path:'${o}')`}},Ha=class extends Va{url;constructor(e,o){super(o),this.url=e,hf(this,o)}toString(){return py(this._root)}};function hf(t,e){e.value._routerState=t,e.children.forEach(o=>hf(t,o))}function py(t){let e=t.children.length>0?` { ${t.children.map(py).join(", ")} } `:"";return`${t.value}${e}`}function $d(t){if(t.snapshot){let e=t.snapshot,o=t._futureSnapshot;t.snapshot=o,Ut(e.queryParams,o.queryParams)||t.queryParamsSubject.next(o.queryParams),e.fragment!==o.fragment&&t.fragmentSubject.next(o.fragment),Ut(e.params,o.params)||t.paramsSubject.next(o.params),NS(e.url,o.url)||t.urlSubject.next(o.url),Ut(e.data,o.data)||t.dataSubject.next(o.data)}else t.snapshot=t._futureSnapshot,t.dataSubject.next(t._futureSnapshot.data)}function rf(t,e){let o=Ut(t.params,e.params)&&LS(t.url,e.url),n=!t.parent!=!e.parent;return o&&!n&&(!t.parent||rf(t.parent,e.parent))}function my(t){return typeof t.title=="string"||t.title===null}var aT=new _(""),lT=(()=>{let e=class e{activated=null;get activatedComponentRef(){return this.activated}_activatedRoute=null;name=j;activateEvents=new le;deactivateEvents=new le;attachEvents=new le;detachEvents=new le;routerOutletData=rg(void 0);parentContexts=y(Pn);location=y(At);changeDetector=y(de);inputBinder=y(Za,{optional:!0});supportsBindingToComponentInputs=!0;ngOnChanges(n){if(n.name){let{firstChange:r,previousValue:i}=n.name;if(r)return;this.isTrackedInParentContexts(i)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(i)),this.initializeOutletWithName()}}ngOnDestroy(){var n;this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),(n=this.inputBinder)==null||n.unsubscribeFromRouteData(this)}isTrackedInParentContexts(n){var r;return((r=this.parentContexts.getContext(n))==null?void 0:r.outlet)===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let n=this.parentContexts.getContext(this.name);n!=null&&n.route&&(n.attachRef?this.attach(n.attachRef,n.route):this.activateWith(n.route,n.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new O(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new O(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new O(4012,!1);this.location.detach();let n=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(n.instance),n}attach(n,r){var i;this.activated=n,this._activatedRoute=r,this.location.insert(n.hostView),(i=this.inputBinder)==null||i.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(n.instance)}deactivate(){if(this.activated){let n=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(n)}}activateWith(n,r){var u;if(this.isActivated)throw new O(4013,!1);this._activatedRoute=n;let i=this.location,a=n.snapshot.component,l=this.parentContexts.getOrCreateContext(this.name).children,c=new sf(n,l,i.injector,this.routerOutletData);this.activated=i.createComponent(a,{index:i.length,injector:c,environmentInjector:r}),this.changeDetector.markForCheck(),(u=this.inputBinder)==null||u.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}};m(e,"\u0275fac",function(r){return new(r||e)}),m(e,"\u0275dir",Rt({type:e,selectors:[["router-outlet"]],inputs:{name:"name",routerOutletData:[1,"routerOutletData"]},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],features:[ti]}));let t=e;return t})(),sf=class t{route;childContexts;parent;outletData;__ngOutletInjector(e){return new t(this.route,this.childContexts,e,this.outletData)}constructor(e,o,n,r){this.route=e,this.childContexts=o,this.parent=n,this.outletData=r}get(e,o){return e===Xe?this.route:e===Pn?this.childContexts:e===aT?this.outletData:this.parent.get(e,o)}},Za=new _(""),qv=(()=>{let e=class e{outletDataSubscriptions=new Map;bindActivatedRouteToOutletComponent(n){this.unsubscribeFromRouteData(n),this.subscribeToRouteData(n)}unsubscribeFromRouteData(n){var r;(r=this.outletDataSubscriptions.get(n))==null||r.unsubscribe(),this.outletDataSubscriptions.delete(n)}subscribeToRouteData(n){let{activatedRoute:r}=n,i=Un([r.queryParams,r.params,r.data]).pipe(ye(([s,a,l],c)=>(l=w(w(w({},s),a),l),c===0?k(l):Promise.resolve(l)))).subscribe(s=>{if(!n.isActivated||!n.activatedComponentRef||n.activatedRoute!==r||r.component===null){this.unsubscribeFromRouteData(n);return}let a=Ca(r.component);if(!a){this.unsubscribeFromRouteData(n);return}for(let{templateName:l}of a.inputs)n.activatedComponentRef.setInput(l,s[l])});this.outletDataSubscriptions.set(n,i)}};m(e,"\u0275fac",function(r){return new(r||e)}),m(e,"\u0275prov",x({token:e,factory:e.\u0275fac}));let t=e;return t})();function cT(t,e,o){let n=bi(t,e._root,o?o._root:void 0);return new Ua(n,e)}function bi(t,e,o){if(o&&t.shouldReuseRoute(e.value,o.value.snapshot)){let n=o.value;n._futureSnapshot=e.value;let r=uT(t,e,o);return new at(n,r)}else{if(t.shouldAttach(e.value)){let i=t.retrieve(e.value);if(i!==null){let s=i.route;return s.value._futureSnapshot=e.value,s.children=e.children.map(a=>bi(t,a)),s}}let n=dT(e.value),r=e.children.map(i=>bi(t,i));return new at(n,r)}}function uT(t,e,o){return e.children.map(n=>{for(let r of o.children)if(t.shouldReuseRoute(n.value,r.value.snapshot))return bi(t,n,r);return bi(t,n)})}function dT(t){return new Xe(new fe(t.url),new fe(t.params),new fe(t.queryParams),new fe(t.fragment),new fe(t.data),t.outlet,t.component,t)}var Di=class{redirectTo;navigationBehaviorOptions;constructor(e,o){this.redirectTo=e,this.navigationBehaviorOptions=o}},gy="ngNavigationCancelingError";function Ga(t,e){let{redirectTo:o,navigationBehaviorOptions:n}=mi(e)?{redirectTo:e,navigationBehaviorOptions:void 0}:e,r=vy(!1,lt.Redirect);return r.url=o,r.navigationBehaviorOptions=n,r}function vy(t,e){let o=new Error(`NavigationCancelingError: ${t||""}`);return o[gy]=!0,o.cancellationCode=e,o}function fT(t){return yy(t)&&mi(t.url)}function yy(t){return!!t&&t[gy]}var hT=(t,e,o,n)=>$(r=>(new af(e,r.targetRouterState,r.currentRouterState,o,n).activate(t),r)),af=class{routeReuseStrategy;futureState;currState;forwardEvent;inputBindingEnabled;constructor(e,o,n,r,i){this.routeReuseStrategy=e,this.futureState=o,this.currState=n,this.forwardEvent=r,this.inputBindingEnabled=i}activate(e){let o=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(o,n,e),$d(this.futureState.root),this.activateChildRoutes(o,n,e)}deactivateChildRoutes(e,o,n){let r=sr(o);e.children.forEach(i=>{let s=i.value.outlet;this.deactivateRoutes(i,r[s],n),delete r[s]}),Object.values(r).forEach(i=>{this.deactivateRouteAndItsChildren(i,n)})}deactivateRoutes(e,o,n){let r=e.value,i=o?o.value:null;if(r===i)if(r.component){let s=n.getContext(r.outlet);s&&this.deactivateChildRoutes(e,o,s.children)}else this.deactivateChildRoutes(e,o,n);else i&&this.deactivateRouteAndItsChildren(o,n)}deactivateRouteAndItsChildren(e,o){e.value.component&&this.routeReuseStrategy.shouldDetach(e.value.snapshot)?this.detachAndStoreRouteSubtree(e,o):this.deactivateRouteAndOutlet(e,o)}detachAndStoreRouteSubtree(e,o){let n=o.getContext(e.value.outlet),r=n&&e.value.component?n.children:o,i=sr(e);for(let s of Object.values(i))this.deactivateRouteAndItsChildren(s,r);if(n&&n.outlet){let s=n.outlet.detach(),a=n.children.onOutletDeactivated();this.routeReuseStrategy.store(e.value.snapshot,{componentRef:s,route:e,contexts:a})}}deactivateRouteAndOutlet(e,o){let n=o.getContext(e.value.outlet),r=n&&e.value.component?n.children:o,i=sr(e);for(let s of Object.values(i))this.deactivateRouteAndItsChildren(s,r);n&&(n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated()),n.attachRef=null,n.route=null)}activateChildRoutes(e,o,n){let r=sr(o);e.children.forEach(i=>{this.activateRoutes(i,r[i.value.outlet],n),this.forwardEvent(new ef(i.value.snapshot))}),e.children.length&&this.forwardEvent(new Xd(e.value.snapshot))}activateRoutes(e,o,n){let r=e.value,i=o?o.value:null;if($d(r),r===i)if(r.component){let s=n.getOrCreateContext(r.outlet);this.activateChildRoutes(e,o,s.children)}else this.activateChildRoutes(e,o,n);else if(r.component){let s=n.getOrCreateContext(r.outlet);if(this.routeReuseStrategy.shouldAttach(r.snapshot)){let a=this.routeReuseStrategy.retrieve(r.snapshot);this.routeReuseStrategy.store(r.snapshot,null),s.children.onOutletReAttached(a.contexts),s.attachRef=a.componentRef,s.route=a.route.value,s.outlet&&s.outlet.attach(a.componentRef,a.route.value),$d(a.route.value),this.activateChildRoutes(e,null,s.children)}else s.attachRef=null,s.route=r,s.outlet&&s.outlet.activateWith(r,s.injector),this.activateChildRoutes(e,null,s.children)}else this.activateChildRoutes(e,null,n)}},Wa=class{path;route;constructor(e){this.path=e,this.route=this.path[this.path.length-1]}},cr=class{component;route;constructor(e,o){this.component=e,this.route=o}};function pT(t,e,o){let n=t._root,r=e?e._root:null;return ui(n,r,o,[n.value])}function mT(t){let e=t.routeConfig?t.routeConfig.canActivateChild:null;return!e||e.length===0?null:{node:t,guards:e}}function pr(t,e){let o=Symbol(),n=e.get(t,o);return n===o?typeof t=="function"&&!tm(t)?t:e.get(t):n}function ui(t,e,o,n,r={canDeactivateChecks:[],canActivateChecks:[]}){let i=sr(e);return t.children.forEach(s=>{gT(s,i[s.value.outlet],o,n.concat([s.value]),r),delete i[s.value.outlet]}),Object.entries(i).forEach(([s,a])=>pi(a,o.getContext(s),r)),r}function gT(t,e,o,n,r={canDeactivateChecks:[],canActivateChecks:[]}){let i=t.value,s=e?e.value:null,a=o?o.getContext(t.value.outlet):null;if(s&&i.routeConfig===s.routeConfig){let l=vT(s,i,i.routeConfig.runGuardsAndResolvers);l?r.canActivateChecks.push(new Wa(n)):(i.data=s.data,i._resolvedData=s._resolvedData),i.component?ui(t,e,a?a.children:null,n,r):ui(t,e,o,n,r),l&&a&&a.outlet&&a.outlet.isActivated&&r.canDeactivateChecks.push(new cr(a.outlet.component,s))}else s&&pi(e,a,r),r.canActivateChecks.push(new Wa(n)),i.component?ui(t,null,a?a.children:null,n,r):ui(t,null,o,n,r);return r}function vT(t,e,o){if(typeof o=="function")return o(t,e);switch(o){case"pathParamsChange":return!ho(t.url,e.url);case"pathParamsOrQueryParamsChange":return!ho(t.url,e.url)||!Ut(t.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!rf(t,e)||!Ut(t.queryParams,e.queryParams);case"paramsChange":default:return!rf(t,e)}}function pi(t,e,o){let n=sr(t),r=t.value;Object.entries(n).forEach(([i,s])=>{r.component?e?pi(s,e.children.getContext(i),o):pi(s,null,o):pi(s,e,o)}),r.component?e&&e.outlet&&e.outlet.isActivated?o.canDeactivateChecks.push(new cr(e.outlet.component,r)):o.canDeactivateChecks.push(new cr(null,r)):o.canDeactivateChecks.push(new cr(null,r))}function Si(t){return typeof t=="function"}function yT(t){return typeof t=="boolean"}function bT(t){return t&&Si(t.canLoad)}function DT(t){return t&&Si(t.canActivate)}function wT(t){return t&&Si(t.canActivateChild)}function CT(t){return t&&Si(t.canDeactivate)}function IT(t){return t&&Si(t.canMatch)}function by(t){return t instanceof qt||(t==null?void 0:t.name)==="EmptyError"}var Ra=Symbol("INITIAL_VALUE");function hr(){return ye(t=>Un(t.map(e=>e.pipe(Ye(1),mc(Ra)))).pipe($(e=>{for(let o of e)if(o!==!0){if(o===Ra)return Ra;if(o===!1||ET(o))return o}return!0}),ke(e=>e!==Ra),Ye(1)))}function ET(t){return mi(t)||t instanceof Di}function xT(t,e){return he(o=>{let{targetSnapshot:n,currentSnapshot:r,guards:{canActivateChecks:i,canDeactivateChecks:s}}=o;return s.length===0&&i.length===0?k(J(w({},o),{guardsResult:!0})):ST(s,n,r,t).pipe(he(a=>a&&yT(a)?TT(n,i,t,e):k(a)),$(a=>J(w({},o),{guardsResult:a})))})}function ST(t,e,o,n){return ue(t).pipe(he(r=>RT(r.component,r.route,o,e,n)),Yt(r=>r!==!0,!0))}function TT(t,e,o,n){return ue(e).pipe(It(r=>Zt(_T(r.route.parent,n),MT(r.route,n),AT(t,r.path,o),kT(t,r.route,o))),Yt(r=>r!==!0,!0))}function MT(t,e){return t!==null&&e&&e(new Jd(t)),k(!0)}function _T(t,e){return t!==null&&e&&e(new Kd(t)),k(!0)}function kT(t,e,o){let n=e.routeConfig?e.routeConfig.canActivate:null;if(!n||n.length===0)return k(!0);let r=n.map(i=>zn(()=>{var c;let s=(c=xi(e))!=null?c:o,a=pr(i,s),l=DT(a)?a.canActivate(e,t):mt(s,()=>a(e,t));return On(l).pipe(Yt())}));return k(r).pipe(hr())}function AT(t,e,o){let n=e[e.length-1],i=e.slice(0,e.length-1).reverse().map(s=>mT(s)).filter(s=>s!==null).map(s=>zn(()=>{let a=s.guards.map(l=>{var p;let c=(p=xi(s.node))!=null?p:o,u=pr(l,c),d=wT(u)?u.canActivateChild(n,t):mt(c,()=>u(n,t));return On(d).pipe(Yt())});return k(a).pipe(hr())}));return k(i).pipe(hr())}function RT(t,e,o,n,r){let i=e&&e.routeConfig?e.routeConfig.canDeactivate:null;if(!i||i.length===0)return k(!0);let s=i.map(a=>{var d;let l=(d=xi(e))!=null?d:r,c=pr(a,l),u=CT(c)?c.canDeactivate(t,e,o,n):mt(l,()=>c(t,e,o,n));return On(u).pipe(Yt())});return k(s).pipe(hr())}function NT(t,e,o,n){let r=e.canLoad;if(r===void 0||r.length===0)return k(!0);let i=r.map(s=>{let a=pr(s,t),l=bT(a)?a.canLoad(e,o):mt(t,()=>a(e,o));return On(l)});return k(i).pipe(hr(),Dy(n))}function Dy(t){return sc(Se(e=>{if(typeof e!="boolean")throw Ga(t,e)}),$(e=>e===!0))}function OT(t,e,o,n){let r=e.canMatch;if(!r||r.length===0)return k(!0);let i=r.map(s=>{let a=pr(s,t),l=IT(a)?a.canMatch(e,o):mt(t,()=>a(e,o));return On(l)});return k(i).pipe(hr(),Dy(n))}var wi=class{segmentGroup;constructor(e){this.segmentGroup=e||null}},Ci=class extends Error{urlTree;constructor(e){super(),this.urlTree=e}};function ir(t){return ko(new wi(t))}function PT(t){return ko(new O(4e3,!1))}function FT(t){return ko(vy(!1,lt.GuardRejected))}var lf=class{urlSerializer;urlTree;constructor(e,o){this.urlSerializer=e,this.urlTree=o}lineralizeSegments(e,o){let n=[],r=o.root;for(;;){if(n=n.concat(r.segments),r.numberOfChildren===0)return k(n);if(r.numberOfChildren>1||!r.children[j])return PT(`${e.redirectTo}`);r=r.children[j]}}applyRedirectCommands(e,o,n,r,i){if(typeof o!="string"){let a=o,{queryParams:l,fragment:c,routeConfig:u,url:d,outlet:p,params:f,data:g,title:v}=r,D=mt(i,()=>a({params:f,data:g,queryParams:l,fragment:c,routeConfig:u,url:d,outlet:p,title:v}));if(D instanceof ln)throw new Ci(D);o=D}let s=this.applyRedirectCreateUrlTree(o,this.urlSerializer.parse(o),e,n);if(o[0]==="/")throw new Ci(s);return s}applyRedirectCreateUrlTree(e,o,n,r){let i=this.createSegmentGroup(e,o.root,n,r);return new ln(i,this.createQueryParams(o.queryParams,this.urlTree.queryParams),o.fragment)}createQueryParams(e,o){let n={};return Object.entries(e).forEach(([r,i])=>{if(typeof i=="string"&&i[0]===":"){let a=i.substring(1);n[r]=o[a]}else n[r]=i}),n}createSegmentGroup(e,o,n,r){let i=this.createSegments(e,o.segments,n,r),s={};return Object.entries(o.children).forEach(([a,l])=>{s[a]=this.createSegmentGroup(e,l,n,r)}),new ne(i,s)}createSegments(e,o,n,r){return o.map(i=>i.path[0]===":"?this.findPosParam(e,i,r):this.findOrReturn(i,n))}findPosParam(e,o,n){let r=n[o.path.substring(1)];if(!r)throw new O(4001,!1);return r}findOrReturn(e,o){let n=0;for(let r of o){if(r.path===e.path)return o.splice(n),r;n++}return e}},cf={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function LT(t,e,o,n,r){let i=wy(t,e,o);return i.matched?(n=rT(e,n),OT(n,e,o,r).pipe($(s=>s===!0?i:w({},cf)))):k(i)}function wy(t,e,o){var a,l;if(e.path==="**")return $T(o);if(e.path==="")return e.pathMatch==="full"&&(t.hasChildren()||o.length>0)?w({},cf):{matched:!0,consumedSegments:[],remainingSegments:o,parameters:{},positionalParamSegments:{}};let r=(e.matcher||RS)(o,t,e);if(!r)return w({},cf);let i={};Object.entries((a=r.posParams)!=null?a:{}).forEach(([c,u])=>{i[c]=u.path});let s=r.consumed.length>0?w(w({},i),r.consumed[r.consumed.length-1].parameters):i;return{matched:!0,consumedSegments:r.consumed,remainingSegments:o.slice(r.consumed.length),parameters:s,positionalParamSegments:(l=r.posParams)!=null?l:{}}}function $T(t){return{matched:!0,parameters:t.length>0?ey(t).parameters:{},consumedSegments:t,remainingSegments:[],positionalParamSegments:{}}}function Zv(t,e,o,n){return o.length>0&&VT(t,o,n)?{segmentGroup:new ne(e,BT(n,new ne(o,t.children))),slicedSegments:[]}:o.length===0&&UT(t,o,n)?{segmentGroup:new ne(t.segments,jT(t,o,n,t.children)),slicedSegments:o}:{segmentGroup:new ne(t.segments,t.children),slicedSegments:o}}function jT(t,e,o,n){let r={};for(let i of o)if(Ya(t,e,i)&&!n[Ot(i)]){let s=new ne([],{});r[Ot(i)]=s}return w(w({},n),r)}function BT(t,e){let o={};o[j]=e;for(let n of t)if(n.path===""&&Ot(n)!==j){let r=new ne([],{});o[Ot(n)]=r}return o}function VT(t,e,o){return o.some(n=>Ya(t,e,n)&&Ot(n)!==j)}function UT(t,e,o){return o.some(n=>Ya(t,e,n))}function Ya(t,e,o){return(t.hasChildren()||e.length>0)&&o.pathMatch==="full"?!1:o.path===""}function zT(t,e,o){return e.length===0&&!t.children[o]}var uf=class{};function HT(t,e,o,n,r,i,s="emptyOnly"){return new df(t,e,o,n,r,s,i).recognize()}var GT=31,df=class{injector;configLoader;rootComponentType;config;urlTree;paramsInheritanceStrategy;urlSerializer;applyRedirects;absoluteRedirectCount=0;allowRedirects=!0;constructor(e,o,n,r,i,s,a){this.injector=e,this.configLoader=o,this.rootComponentType=n,this.config=r,this.urlTree=i,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.applyRedirects=new lf(this.urlSerializer,this.urlTree)}noMatchError(e){return new O(4002,`'${e.segmentGroup}'`)}recognize(){let e=Zv(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(e).pipe($(({children:o,rootSnapshot:n})=>{let r=new at(n,o),i=new Ha("",r),s=KS(n,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,i.url=this.urlSerializer.serialize(s),{state:i,tree:s}}))}match(e){let o=new lr([],Object.freeze({}),Object.freeze(w({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),j,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,e,j,o).pipe($(n=>({children:n,rootSnapshot:o})),Dn(n=>{if(n instanceof Ci)return this.urlTree=n.urlTree,this.match(n.urlTree.root);throw n instanceof wi?this.noMatchError(n):n}))}processSegmentGroup(e,o,n,r,i){return n.segments.length===0&&n.hasChildren()?this.processChildren(e,o,n,i):this.processSegment(e,o,n,n.segments,r,!0,i).pipe($(s=>s instanceof at?[s]:[]))}processChildren(e,o,n,r){let i=[];for(let s of Object.keys(n.children))s==="primary"?i.unshift(s):i.push(s);return ue(i).pipe(It(s=>{let a=n.children[s],l=iT(o,s);return this.processSegmentGroup(e,l,a,s,r)}),hc((s,a)=>(s.push(...a),s)),wn(null),fc(),he(s=>{if(s===null)return ir(n);let a=Cy(s);return WT(a),k(a)}))}processSegment(e,o,n,r,i,s,a){return ue(o).pipe(It(l=>{var c;return this.processSegmentAgainstRoute((c=l._injector)!=null?c:e,o,l,n,r,i,s,a).pipe(Dn(u=>{if(u instanceof wi)return k(null);throw u}))}),Yt(l=>!!l),Dn(l=>{if(by(l))return zT(n,r,i)?k(new uf):ir(n);throw l}))}processSegmentAgainstRoute(e,o,n,r,i,s,a,l){return Ot(n)!==s&&(s===j||!Ya(r,i,n))?ir(r):n.redirectTo===void 0?this.matchSegmentAgainstRoute(e,r,n,i,s,l):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(e,r,o,n,i,s,l):ir(r)}expandSegmentAgainstRouteUsingRedirect(e,o,n,r,i,s,a){var D,b;let{matched:l,parameters:c,consumedSegments:u,positionalParamSegments:d,remainingSegments:p}=wy(o,r,i);if(!l)return ir(o);typeof r.redirectTo=="string"&&r.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>GT&&(this.allowRedirects=!1));let f=new lr(i,c,Object.freeze(w({},this.urlTree.queryParams)),this.urlTree.fragment,Yv(r),Ot(r),(b=(D=r.component)!=null?D:r._loadedComponent)!=null?b:null,r,Qv(r)),g=za(f,a,this.paramsInheritanceStrategy);f.params=Object.freeze(g.params),f.data=Object.freeze(g.data);let v=this.applyRedirects.applyRedirectCommands(u,r.redirectTo,d,f,e);return this.applyRedirects.lineralizeSegments(r,v).pipe(he(I=>this.processSegment(e,n,o,I.concat(p),s,!1,a)))}matchSegmentAgainstRoute(e,o,n,r,i,s){let a=LT(o,n,r,e,this.urlSerializer);return n.path==="**"&&(o.children={}),a.pipe(ye(l=>{var c;return l.matched?(e=(c=n._injector)!=null?c:e,this.getChildConfig(e,n,r).pipe(ye(({routes:u})=>{var N,A,M;let d=(N=n._loadedInjector)!=null?N:e,{parameters:p,consumedSegments:f,remainingSegments:g}=l,v=new lr(f,p,Object.freeze(w({},this.urlTree.queryParams)),this.urlTree.fragment,Yv(n),Ot(n),(M=(A=n.component)!=null?A:n._loadedComponent)!=null?M:null,n,Qv(n)),D=za(v,s,this.paramsInheritanceStrategy);v.params=Object.freeze(D.params),v.data=Object.freeze(D.data);let{segmentGroup:b,slicedSegments:I}=Zv(o,f,g,u);if(I.length===0&&b.hasChildren())return this.processChildren(d,u,b,v).pipe($(L=>new at(v,L)));if(u.length===0&&I.length===0)return k(new at(v,[]));let E=Ot(n)===i;return this.processSegment(d,u,b,I,E?j:i,!0,v).pipe($(L=>new at(v,L instanceof at?[L]:[])))}))):ir(o)}))}getChildConfig(e,o,n){return o.children?k({routes:o.children,injector:e}):o.loadChildren?o._loadedRoutes!==void 0?k({routes:o._loadedRoutes,injector:o._loadedInjector}):NT(e,o,n,this.urlSerializer).pipe(he(r=>r?this.configLoader.loadChildren(e,o).pipe(Se(i=>{o._loadedRoutes=i.routes,o._loadedInjector=i.injector})):FT(o))):k({routes:[],injector:e})}};function WT(t){t.sort((e,o)=>e.value.outlet===j?-1:o.value.outlet===j?1:e.value.outlet.localeCompare(o.value.outlet))}function qT(t){let e=t.value.routeConfig;return e&&e.path===""}function Cy(t){let e=[],o=new Set;for(let n of t){if(!qT(n)){e.push(n);continue}let r=e.find(i=>n.value.routeConfig===i.value.routeConfig);r!==void 0?(r.children.push(...n.children),o.add(r)):e.push(n)}for(let n of o){let r=Cy(n.children);e.push(new at(n.value,r))}return e.filter(n=>!o.has(n))}function Yv(t){return t.data||{}}function Qv(t){return t.resolve||{}}function ZT(t,e,o,n,r,i){return he(s=>HT(t,e,o,n,s.extractedUrl,r,i).pipe($(({state:a,tree:l})=>J(w({},s),{targetSnapshot:a,urlAfterRedirects:l}))))}function YT(t,e){return he(o=>{let{targetSnapshot:n,guards:{canActivateChecks:r}}=o;if(!r.length)return k(o);let i=new Set(r.map(l=>l.route)),s=new Set;for(let l of i)if(!s.has(l))for(let c of Iy(l))s.add(c);let a=0;return ue(s).pipe(It(l=>i.has(l)?QT(l,n,t,e):(l.data=za(l,l.parent,t).resolve,k(void 0))),Se(()=>a++),Po(1),he(l=>a===s.size?k(o):ot))})}function Iy(t){let e=t.children.map(o=>Iy(o)).flat();return[t,...e]}function QT(t,e,o,n){let r=t.routeConfig,i=t._resolve;return(r==null?void 0:r.title)!==void 0&&!my(r)&&(i[Ei]=r.title),KT(i,t,e,n).pipe($(s=>(t._resolvedData=s,t.data=za(t,t.parent,o).resolve,null)))}function KT(t,e,o,n){let r=Vd(t);if(r.length===0)return k({});let i={};return ue(r).pipe(he(s=>XT(t[s],e,o,n).pipe(Yt(),Se(a=>{if(a instanceof Di)throw Ga(new dr,a);i[s]=a}))),Po(1),$(()=>i),Dn(s=>by(s)?ot:ko(s)))}function XT(t,e,o,n){var a;let r=(a=xi(e))!=null?a:n,i=pr(t,r),s=i.resolve?i.resolve(e,o):mt(r,()=>i(e,o));return On(s)}function jd(t){return ye(e=>{let o=t(e);return o?ue(o).pipe($(()=>e)):k(e)})}var Ey=(()=>{let e=class e{buildTitle(n){var s;let r,i=n.root;for(;i!==void 0;)r=(s=this.getResolvedTitleForRoute(i))!=null?s:r,i=i.children.find(a=>a.outlet===j);return r}getResolvedTitleForRoute(n){return n.data[Ei]}};m(e,"\u0275fac",function(r){return new(r||e)}),m(e,"\u0275prov",x({token:e,factory:()=>y(JT),providedIn:"root"}));let t=e;return t})(),JT=(()=>{let e=class e extends Ey{title;constructor(n){super(),this.title=n}updateTitle(n){let r=this.buildTitle(n);r!==void 0&&this.title.setTitle(r)}};m(e,"\u0275fac",function(r){return new(r||e)(S(ka))}),m(e,"\u0275prov",x({token:e,factory:e.\u0275fac,providedIn:"root"}));let t=e;return t})(),Ti=new _("",{providedIn:"root",factory:()=>({})}),eM=(()=>{let e=class e{};m(e,"\u0275fac",function(r){return new(r||e)}),m(e,"\u0275cmp",De({type:e,selectors:[["ng-component"]],exportAs:["emptyRouterOutlet"],decls:1,vars:0,template:function(r,i){r&1&&id(0,"router-outlet")},dependencies:[lT],encapsulation:2}));let t=e;return t})();function pf(t){let e=t.children&&t.children.map(pf),o=e?J(w({},t),{children:e}):w({},t);return!o.component&&!o.loadComponent&&(e||o.loadChildren)&&o.outlet&&o.outlet!==j&&(o.component=eM),o}var Ii=new _(""),mf=(()=>{let e=class e{componentLoaders=new WeakMap;childrenLoaders=new WeakMap;onLoadStartListener;onLoadEndListener;compiler=y(wa);loadComponent(n){if(this.componentLoaders.get(n))return this.componentLoaders.get(n);if(n._loadedComponent)return k(n._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(n);let r=On(n.loadComponent()).pipe($(xy),Se(s=>{this.onLoadEndListener&&this.onLoadEndListener(n),n._loadedComponent=s}),Oo(()=>{this.componentLoaders.delete(n)})),i=new Mo(r,()=>new re).pipe(To());return this.componentLoaders.set(n,i),i}loadChildren(n,r){if(this.childrenLoaders.get(r))return this.childrenLoaders.get(r);if(r._loadedRoutes)return k({routes:r._loadedRoutes,injector:r._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(r);let s=tM(r,this.compiler,n,this.onLoadEndListener).pipe(Oo(()=>{this.childrenLoaders.delete(r)})),a=new Mo(s,()=>new re).pipe(To());return this.childrenLoaders.set(r,a),a}};m(e,"\u0275fac",function(r){return new(r||e)}),m(e,"\u0275prov",x({token:e,factory:e.\u0275fac,providedIn:"root"}));let t=e;return t})();function tM(t,e,o,n){return On(t.loadChildren()).pipe($(xy),he(r=>r instanceof Xr||Array.isArray(r)?k(r):ue(e.compileModuleAsync(r))),$(r=>{n&&n(t);let i,s,a=!1;return Array.isArray(r)?(s=r,a=!0):(i=r.create(o).injector,s=i.get(Ii,[],{optional:!0,self:!0}).flat()),{routes:s.map(pf),injector:i}}))}function nM(t){return t&&typeof t=="object"&&"default"in t}function xy(t){return nM(t)?t.default:t}var gf=(()=>{let e=class e{};m(e,"\u0275fac",function(r){return new(r||e)}),m(e,"\u0275prov",x({token:e,factory:()=>y(oM),providedIn:"root"}));let t=e;return t})(),oM=(()=>{let e=class e{shouldProcessUrl(n){return!0}extract(n){return n}merge(n,r){return n}};m(e,"\u0275fac",function(r){return new(r||e)}),m(e,"\u0275prov",x({token:e,factory:e.\u0275fac,providedIn:"root"}));let t=e;return t})(),Sy=new _(""),Ty=new _("");function rM(t,e,o){let n=t.get(Ty),r=t.get(Ce);return t.get(B).runOutsideAngular(()=>{if(!r.startViewTransition||n.skipNextTransition)return n.skipNextTransition=!1,new Promise(c=>setTimeout(c));let i,s=new Promise(c=>{i=c}),a=r.startViewTransition(()=>(i(),iM(t))),{onViewTransitionCreated:l}=n;return l&&mt(t,()=>l({transition:a,from:e,to:o})),s})}function iM(t){return new Promise(e=>{Vu({read:()=>setTimeout(e)},{injector:t})})}var My=new _(""),vf=(()=>{let e=class e{currentNavigation=null;currentTransition=null;lastSuccessfulNavigation=null;events=new re;transitionAbortSubject=new re;configLoader=y(mf);environmentInjector=y(me);urlSerializer=y(po);rootContexts=y(Pn);location=y(Nt);inputBindingEnabled=y(Za,{optional:!0})!==null;titleStrategy=y(Ey);options=y(Ti,{optional:!0})||{};paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly";urlHandlingStrategy=y(gf);createViewTransition=y(Sy,{optional:!0});navigationErrorHandler=y(My,{optional:!0});navigationId=0;get hasRequestedNavigation(){return this.navigationId!==0}transitions;afterPreactivation=()=>k(void 0);rootComponentType=null;constructor(){let n=i=>this.events.next(new Yd(i)),r=i=>this.events.next(new Qd(i));this.configLoader.onLoadEndListener=r,this.configLoader.onLoadStartListener=n}complete(){var n;(n=this.transitions)==null||n.complete()}handleNavigationRequest(n){var i;let r=++this.navigationId;(i=this.transitions)==null||i.next(J(w(w({},this.transitions.value),n),{id:r}))}setupNavigations(n,r,i){return this.transitions=new fe({id:0,currentUrlTree:r,currentRawUrl:r,extractedUrl:this.urlHandlingStrategy.extract(r),urlAfterRedirects:this.urlHandlingStrategy.extract(r),rawUrl:r,extras:{},resolve:()=>{},reject:()=>{},promise:Promise.resolve(!0),source:hi,restoredState:null,currentSnapshot:i.snapshot,targetSnapshot:null,currentRouterState:i,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(ke(s=>s.id!==0),$(s=>J(w({},s),{extractedUrl:this.urlHandlingStrategy.extract(s.rawUrl)})),ye(s=>{let a=!1,l=!1;return k(s).pipe(ye(c=>{var p;if(this.navigationId>s.id)return this.cancelNavigationTransition(s,"",lt.SupersededByNewNavigation),ot;this.currentTransition=s,this.currentNavigation={id:c.id,initialUrl:c.rawUrl,extractedUrl:c.extractedUrl,targetBrowserUrl:typeof c.extras.browserUrl=="string"?this.urlSerializer.parse(c.extras.browserUrl):c.extras.browserUrl,trigger:c.source,extras:c.extras,previousNavigation:this.lastSuccessfulNavigation?J(w({},this.lastSuccessfulNavigation),{previousNavigation:null}):null};let u=!n.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),d=(p=c.extras.onSameUrlNavigation)!=null?p:n.onSameUrlNavigation;if(!u&&d!=="reload"){let f="";return this.events.next(new Nn(c.id,this.urlSerializer.serialize(c.rawUrl),f,$a.IgnoredSameUrlNavigation)),c.resolve(!1),ot}if(this.urlHandlingStrategy.shouldProcessUrl(c.rawUrl))return k(c).pipe(ye(f=>{var v,D;let g=(v=this.transitions)==null?void 0:v.getValue();return this.events.next(new Rn(f.id,this.urlSerializer.serialize(f.extractedUrl),f.source,f.restoredState)),g!==((D=this.transitions)==null?void 0:D.getValue())?ot:Promise.resolve(f)}),ZT(this.environmentInjector,this.configLoader,this.rootComponentType,n.config,this.urlSerializer,this.paramsInheritanceStrategy),Se(f=>{s.targetSnapshot=f.targetSnapshot,s.urlAfterRedirects=f.urlAfterRedirects,this.currentNavigation=J(w({},this.currentNavigation),{finalUrl:f.urlAfterRedirects});let g=new ja(f.id,this.urlSerializer.serialize(f.extractedUrl),this.urlSerializer.serialize(f.urlAfterRedirects),f.targetSnapshot);this.events.next(g)}));if(u&&this.urlHandlingStrategy.shouldProcessUrl(c.currentRawUrl)){let{id:f,extractedUrl:g,source:v,restoredState:D,extras:b}=c,I=new Rn(f,this.urlSerializer.serialize(g),v,D);this.events.next(I);let E=hy(this.rootComponentType).snapshot;return this.currentTransition=s=J(w({},c),{targetSnapshot:E,urlAfterRedirects:g,extras:J(w({},b),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=g,k(s)}else{let f="";return this.events.next(new Nn(c.id,this.urlSerializer.serialize(c.extractedUrl),f,$a.IgnoredByUrlHandlingStrategy)),c.resolve(!1),ot}}),Se(c=>{let u=new Gd(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(u)}),$(c=>(this.currentTransition=s=J(w({},c),{guards:pT(c.targetSnapshot,c.currentSnapshot,this.rootContexts)}),s)),xT(this.environmentInjector,c=>this.events.next(c)),Se(c=>{if(s.guardsResult=c.guardsResult,c.guardsResult&&typeof c.guardsResult!="boolean")throw Ga(this.urlSerializer,c.guardsResult);let u=new Wd(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot,!!c.guardsResult);this.events.next(u)}),ke(c=>c.guardsResult?!0:(this.cancelNavigationTransition(c,"",lt.GuardRejected),!1)),jd(c=>{if(c.guards.canActivateChecks.length)return k(c).pipe(Se(u=>{let d=new qd(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot);this.events.next(d)}),ye(u=>{let d=!1;return k(u).pipe(YT(this.paramsInheritanceStrategy,this.environmentInjector),Se({next:()=>d=!0,complete:()=>{d||this.cancelNavigationTransition(u,"",lt.NoDataFromResolver)}}))}),Se(u=>{let d=new Zd(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot);this.events.next(d)}))}),jd(c=>{let u=d=>{var f;let p=[];(f=d.routeConfig)!=null&&f.loadComponent&&!d.routeConfig._loadedComponent&&p.push(this.configLoader.loadComponent(d.routeConfig).pipe(Se(g=>{d.component=g}),$(()=>{})));for(let g of d.children)p.push(...u(g));return p};return Un(u(c.targetSnapshot.root)).pipe(wn(null),Ye(1))}),jd(()=>this.afterPreactivation()),ye(()=>{var p;let{currentSnapshot:c,targetSnapshot:u}=s,d=(p=this.createViewTransition)==null?void 0:p.call(this,this.environmentInjector,c.root,u.root);return d?ue(d).pipe($(()=>s)):k(s)}),$(c=>{let u=cT(n.routeReuseStrategy,c.targetSnapshot,c.currentRouterState);return this.currentTransition=s=J(w({},c),{targetRouterState:u}),this.currentNavigation.targetRouterState=u,s}),Se(()=>{this.events.next(new yi)}),hT(this.rootContexts,n.routeReuseStrategy,c=>this.events.next(c),this.inputBindingEnabled),Ye(1),Se({next:c=>{var u;a=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new cn(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects))),(u=this.titleStrategy)==null||u.updateTitle(c.targetRouterState.snapshot),c.resolve(!0)},complete:()=>{a=!0}}),gc(this.transitionAbortSubject.pipe(Se(c=>{throw c}))),Oo(()=>{var c;!a&&!l&&this.cancelNavigationTransition(s,"",lt.SupersededByNewNavigation),((c=this.currentTransition)==null?void 0:c.id)===s.id&&(this.currentNavigation=null,this.currentTransition=null)}),Dn(c=>{var u;if(l=!0,yy(c))this.events.next(new an(s.id,this.urlSerializer.serialize(s.extractedUrl),c.message,c.cancellationCode)),fT(c)?this.events.next(new fr(c.url,c.navigationBehaviorOptions)):s.resolve(!1);else{let d=new vi(s.id,this.urlSerializer.serialize(s.extractedUrl),c,(u=s.targetSnapshot)!=null?u:void 0);try{let p=mt(this.environmentInjector,()=>{var f;return(f=this.navigationErrorHandler)==null?void 0:f.call(this,d)});if(p instanceof Di){let{message:f,cancellationCode:g}=Ga(this.urlSerializer,p);this.events.next(new an(s.id,this.urlSerializer.serialize(s.extractedUrl),f,g)),this.events.next(new fr(p.redirectTo,p.navigationBehaviorOptions))}else throw this.events.next(d),c}catch(p){this.options.resolveNavigationPromiseOnError?s.resolve(!1):s.reject(p)}}return ot}))}))}cancelNavigationTransition(n,r,i){let s=new an(n.id,this.urlSerializer.serialize(n.extractedUrl),r,i);this.events.next(s),n.resolve(!1)}isUpdatingInternalState(){var n,r;return((n=this.currentTransition)==null?void 0:n.extractedUrl.toString())!==((r=this.currentTransition)==null?void 0:r.currentUrlTree.toString())}isUpdatedBrowserUrl(){var i,s,a,l;let n=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),r=(a=(i=this.currentNavigation)==null?void 0:i.targetBrowserUrl)!=null?a:(s=this.currentNavigation)==null?void 0:s.extractedUrl;return n.toString()!==(r==null?void 0:r.toString())&&!((l=this.currentNavigation)!=null&&l.extras.skipLocationChange)}};m(e,"\u0275fac",function(r){return new(r||e)}),m(e,"\u0275prov",x({token:e,factory:e.\u0275fac,providedIn:"root"}));let t=e;return t})();function sM(t){return t!==hi}var aM=(()=>{let e=class e{};m(e,"\u0275fac",function(r){return new(r||e)}),m(e,"\u0275prov",x({token:e,factory:()=>y(lM),providedIn:"root"}));let t=e;return t})(),ff=class{shouldDetach(e){return!1}store(e,o){}shouldAttach(e){return!1}retrieve(e){return null}shouldReuseRoute(e,o){return e.routeConfig===o.routeConfig}},lM=(()=>{let e=class e extends ff{};m(e,"\u0275fac",(()=>{let n;return function(i){return(n||(n=Vt(e)))(i||e)}})()),m(e,"\u0275prov",x({token:e,factory:e.\u0275fac,providedIn:"root"}));let t=e;return t})(),_y=(()=>{let e=class e{};m(e,"\u0275fac",function(r){return new(r||e)}),m(e,"\u0275prov",x({token:e,factory:()=>y(cM),providedIn:"root"}));let t=e;return t})(),cM=(()=>{let e=class e extends _y{location=y(Nt);urlSerializer=y(po);options=y(Ti,{optional:!0})||{};canceledNavigationResolution=this.options.canceledNavigationResolution||"replace";urlHandlingStrategy=y(gf);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";currentUrlTree=new ln;getCurrentUrlTree(){return this.currentUrlTree}rawUrlTree=this.currentUrlTree;getRawUrlTree(){return this.rawUrlTree}currentPageId=0;lastSuccessfulId=-1;restoredState(){return this.location.getState()}get browserPageId(){var n,r;return this.canceledNavigationResolution!=="computed"?this.currentPageId:(r=(n=this.restoredState())==null?void 0:n.\u0275routerPageId)!=null?r:this.currentPageId}routerState=hy(null);getRouterState(){return this.routerState}stateMemento=this.createStateMemento();createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(n){return this.location.subscribe(r=>{r.type==="popstate"&&n(r.url,r.state)})}handleRouterEvent(n,r){var i,s;if(n instanceof Rn)this.stateMemento=this.createStateMemento();else if(n instanceof Nn)this.rawUrlTree=r.initialUrl;else if(n instanceof ja){if(this.urlUpdateStrategy==="eager"&&!r.extras.skipLocationChange){let a=this.urlHandlingStrategy.merge(r.finalUrl,r.initialUrl);this.setBrowserUrl((i=r.targetBrowserUrl)!=null?i:a,r)}}else n instanceof yi?(this.currentUrlTree=r.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(r.finalUrl,r.initialUrl),this.routerState=r.targetRouterState,this.urlUpdateStrategy==="deferred"&&!r.extras.skipLocationChange&&this.setBrowserUrl((s=r.targetBrowserUrl)!=null?s:this.rawUrlTree,r)):n instanceof an&&(n.code===lt.GuardRejected||n.code===lt.NoDataFromResolver)?this.restoreHistory(r):n instanceof vi?this.restoreHistory(r,!0):n instanceof cn&&(this.lastSuccessfulId=n.id,this.currentPageId=this.browserPageId)}setBrowserUrl(n,r){let i=n instanceof ln?this.urlSerializer.serialize(n):n;if(this.location.isCurrentPathEqualTo(i)||r.extras.replaceUrl){let s=this.browserPageId,a=w(w({},r.extras.state),this.generateNgRouterState(r.id,s));this.location.replaceState(i,"",a)}else{let s=w(w({},r.extras.state),this.generateNgRouterState(r.id,this.browserPageId+1));this.location.go(i,"",s)}}restoreHistory(n,r=!1){if(this.canceledNavigationResolution==="computed"){let i=this.browserPageId,s=this.currentPageId-i;s!==0?this.location.historyGo(s):this.currentUrlTree===n.finalUrl&&s===0&&(this.resetState(n),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(r&&this.resetState(n),this.resetUrlToCurrentUrlTree())}resetState(n){var r;this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,(r=n.finalUrl)!=null?r:this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(n,r){return this.canceledNavigationResolution==="computed"?{navigationId:n,\u0275routerPageId:r}:{navigationId:n}}};m(e,"\u0275fac",(()=>{let n;return function(i){return(n||(n=Vt(e)))(i||e)}})()),m(e,"\u0275prov",x({token:e,factory:e.\u0275fac,providedIn:"root"}));let t=e;return t})(),di=function(t){return t[t.COMPLETE=0]="COMPLETE",t[t.FAILED=1]="FAILED",t[t.REDIRECTING=2]="REDIRECTING",t}(di||{});function ky(t,e){t.events.pipe(ke(o=>o instanceof cn||o instanceof an||o instanceof vi||o instanceof Nn),$(o=>o instanceof cn||o instanceof Nn?di.COMPLETE:(o instanceof an?o.code===lt.Redirect||o.code===lt.SupersededByNewNavigation:!1)?di.REDIRECTING:di.FAILED),ke(o=>o!==di.REDIRECTING),Ye(1)).subscribe(()=>{e()})}var uM={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},dM={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},Ue=(()=>{var e,o;let n=class n{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}disposed=!1;nonRouterCurrentEntryChangeSubscription;console=y(ya);stateManager=y(_y);options=y(Ti,{optional:!0})||{};pendingTasks=y(Xo);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";navigationTransitions=y(vf);urlSerializer=y(po);location=y(Nt);urlHandlingStrategy=y(gf);_events=new re;get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}navigated=!1;routeReuseStrategy=y(aM);onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore";config=(o=(e=y(Ii,{optional:!0}))==null?void 0:e.flat())!=null?o:[];componentInputBindingEnabled=!!y(Za,{optional:!0});constructor(){this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:i=>{this.console.warn(i)}}),this.subscribeToNavigationEvents()}eventsSubscription=new ve;subscribeToNavigationEvents(){let i=this.navigationTransitions.events.subscribe(s=>{try{let a=this.navigationTransitions.currentTransition,l=this.navigationTransitions.currentNavigation;if(a!==null&&l!==null){if(this.stateManager.handleRouterEvent(s,l),s instanceof an&&s.code!==lt.Redirect&&s.code!==lt.SupersededByNewNavigation)this.navigated=!0;else if(s instanceof cn)this.navigated=!0;else if(s instanceof fr){let c=s.navigationBehaviorOptions,u=this.urlHandlingStrategy.merge(s.url,a.currentRawUrl),d=w({browserUrl:a.extras.browserUrl,info:a.extras.info,skipLocationChange:a.extras.skipLocationChange,replaceUrl:a.extras.replaceUrl||this.urlUpdateStrategy==="eager"||sM(a.source)},c);this.scheduleNavigation(u,hi,null,d,{resolve:a.resolve,reject:a.reject,promise:a.promise})}}hM(s)&&this._events.next(s)}catch(a){this.navigationTransitions.transitionAbortSubject.next(a)}});this.eventsSubscription.add(i)}resetRootComponentType(i){this.routerState.root.component=i,this.navigationTransitions.rootComponentType=i}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),hi,this.stateManager.restoredState())}setUpLocationChangeListener(){var i;(i=this.nonRouterCurrentEntryChangeSubscription)!=null||(this.nonRouterCurrentEntryChangeSubscription=this.stateManager.registerNonRouterCurrentEntryChangeListener((s,a)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(s,"popstate",a)},0)}))}navigateToSyncWithBrowser(i,s,a){let l={replaceUrl:!0},c=a!=null&&a.navigationId?a:null;if(a){let d=w({},a);delete d.navigationId,delete d.\u0275routerPageId,Object.keys(d).length!==0&&(l.state=d)}let u=this.parseUrl(i);this.scheduleNavigation(u,s,c,l)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(i){this.config=i.map(pf),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(i,s={}){let{relativeTo:a,queryParams:l,fragment:c,queryParamsHandling:u,preserveFragment:d}=s,p=d?this.currentUrlTree.fragment:c,f=null;switch(u!=null?u:this.options.defaultQueryParamsHandling){case"merge":f=w(w({},this.currentUrlTree.queryParams),l);break;case"preserve":f=this.currentUrlTree.queryParams;break;default:f=l||null}f!==null&&(f=this.removeEmptyProps(f));let g;try{let v=a?a.snapshot:this.routerState.snapshot.root;g=cy(v)}catch{(typeof i[0]!="string"||i[0][0]!=="/")&&(i=[]),g=this.currentUrlTree.root}return uy(g,i,f,p!=null?p:null)}navigateByUrl(i,s={skipLocationChange:!1}){let a=mi(i)?i:this.parseUrl(i),l=this.urlHandlingStrategy.merge(a,this.rawUrlTree);return this.scheduleNavigation(l,hi,null,s)}navigate(i,s={skipLocationChange:!1}){return fM(i),this.navigateByUrl(this.createUrlTree(i,s),s)}serializeUrl(i){return this.urlSerializer.serialize(i)}parseUrl(i){try{return this.urlSerializer.parse(i)}catch{return this.urlSerializer.parse("/")}}isActive(i,s){let a;if(s===!0?a=w({},uM):s===!1?a=w({},dM):a=s,mi(i))return zv(this.currentUrlTree,i,a);let l=this.parseUrl(i);return zv(this.currentUrlTree,l,a)}removeEmptyProps(i){return Object.entries(i).reduce((s,[a,l])=>(l!=null&&(s[a]=l),s),{})}scheduleNavigation(i,s,a,l,c){if(this.disposed)return Promise.resolve(!1);let u,d,p;c?(u=c.resolve,d=c.reject,p=c.promise):p=new Promise((g,v)=>{u=g,d=v});let f=this.pendingTasks.add();return ky(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(f))}),this.navigationTransitions.handleNavigationRequest({source:s,restoredState:a,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:i,extras:l,resolve:u,reject:d,promise:p,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),p.catch(g=>Promise.reject(g))}};m(n,"\u0275fac",function(s){return new(s||n)}),m(n,"\u0275prov",x({token:n,factory:n.\u0275fac,providedIn:"root"}));let t=n;return t})();function fM(t){for(let e=0;e{let e=class e{router;injector;preloadingStrategy;loader;subscription;constructor(n,r,i,s,a){this.router=n,this.injector=i,this.preloadingStrategy=s,this.loader=a}setUpPreloading(){this.subscription=this.router.events.pipe(ke(n=>n instanceof cn),It(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(n,r){var s,a,l;let i=[];for(let c of r){c.providers&&!c._injector&&(c._injector=va(c.providers,n,`Route: ${c.path}`));let u=(s=c._injector)!=null?s:n,d=(a=c._loadedInjector)!=null?a:u;(c.loadChildren&&!c._loadedRoutes&&c.canLoad===void 0||c.loadComponent&&!c._loadedComponent)&&i.push(this.preloadConfig(u,c)),(c.children||c._loadedRoutes)&&i.push(this.processRoutes(d,(l=c.children)!=null?l:c._loadedRoutes))}return ue(i).pipe(Ro())}preloadConfig(n,r){return this.preloadingStrategy.preload(r,()=>{let i;r.loadChildren&&r.canLoad===void 0?i=this.loader.loadChildren(n,r):i=k(null);let s=i.pipe(he(a=>{var l;return a===null?k(void 0):(r._loadedRoutes=a.routes,r._loadedInjector=a.injector,this.processRoutes((l=a.injector)!=null?l:n,a.routes))}));if(r.loadComponent&&!r._loadedComponent){let a=this.loader.loadComponent(r);return ue([s,a]).pipe(Ro())}else return s})}};m(e,"\u0275fac",function(r){return new(r||e)(S(Ue),S(wa),S(me),S(qa),S(mf))}),m(e,"\u0275prov",x({token:e,factory:e.\u0275fac,providedIn:"root"}));let t=e;return t})(),Ay=new _(""),mM=(()=>{let e=class e{urlSerializer;transitions;viewportScroller;zone;options;routerEventsSubscription;scrollEventsSubscription;lastId=0;lastSource="imperative";restoredId=0;store={};constructor(n,r,i,s,a={}){this.urlSerializer=n,this.transitions=r,this.viewportScroller=i,this.zone=s,this.options=a,a.scrollPositionRestoration||(a.scrollPositionRestoration="disabled"),a.anchorScrolling||(a.anchorScrolling="disabled")}init(){this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(n=>{n instanceof Rn?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=n.navigationTrigger,this.restoredId=n.restoredState?n.restoredState.navigationId:0):n instanceof cn?(this.lastId=n.id,this.scheduleScrollEvent(n,this.urlSerializer.parse(n.urlAfterRedirects).fragment)):n instanceof Nn&&n.code===$a.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(n,this.urlSerializer.parse(n.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(n=>{n instanceof Ba&&(n.position?this.options.scrollPositionRestoration==="top"?this.viewportScroller.scrollToPosition([0,0]):this.options.scrollPositionRestoration==="enabled"&&this.viewportScroller.scrollToPosition(n.position):n.anchor&&this.options.anchorScrolling==="enabled"?this.viewportScroller.scrollToAnchor(n.anchor):this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(n,r){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new Ba(n,this.lastSource==="popstate"?this.store[this.restoredId]:null,r))})},0)})}ngOnDestroy(){var n,r;(n=this.routerEventsSubscription)==null||n.unsubscribe(),(r=this.scrollEventsSubscription)==null||r.unsubscribe()}};m(e,"\u0275fac",function(r){Ag()}),m(e,"\u0275prov",x({token:e,factory:e.\u0275fac}));let t=e;return t})();function vB(t,...e){return ro([{provide:Ii,multi:!0,useValue:t},[],{provide:Xe,useFactory:Ry,deps:[Ue]},{provide:ba,multi:!0,useFactory:Ny},e.map(o=>o.\u0275providers)])}function Ry(t){return t.routerState.root}function mr(t,e){return{\u0275kind:t,\u0275providers:e}}function Ny(){let t=y(be);return e=>{var i,s;let o=t.get(Bt);if(e!==o.components[0])return;let n=t.get(Ue),r=t.get(Oy);t.get(yf)===1&&n.initialNavigation(),(i=t.get(Py,null,z.Optional))==null||i.setUpPreloading(),(s=t.get(Ay,null,z.Optional))==null||s.init(),n.resetRootComponentType(o.componentTypes[0]),r.closed||(r.next(),r.complete(),r.unsubscribe())}}var Oy=new _("",{factory:()=>new re}),yf=new _("",{providedIn:"root",factory:()=>1});function gM(){return mr(2,[{provide:yf,useValue:0},{provide:nr,multi:!0,deps:[be],useFactory:e=>{let o=e.get(Dv,Promise.resolve());return()=>o.then(()=>new Promise(n=>{let r=e.get(Ue),i=e.get(Oy);ky(r,()=>{n(!0)}),e.get(vf).afterPreactivation=()=>(n(!0),i.closed?k(void 0):i),r.initialNavigation()}))}}])}function vM(){return mr(3,[{provide:nr,multi:!0,useFactory:()=>{let e=y(Ue);return()=>{e.setUpLocationChangeListener()}}},{provide:yf,useValue:2}])}var Py=new _("");function yM(t){return mr(0,[{provide:Py,useExisting:pM},{provide:qa,useExisting:t}])}function yB(){return mr(6,[{provide:sn,useClass:bd}])}function bM(){return mr(8,[qv,{provide:Za,useExisting:qv}])}function DM(t){let e=[{provide:Sy,useValue:rM},{provide:Ty,useValue:w({skipNextTransition:!!(t!=null&&t.skipInitialTransition)},t)}];return mr(9,e)}var Kv=new _("ROUTER_FORROOT_GUARD"),wM=[Nt,{provide:po,useClass:dr},Ue,Pn,{provide:Xe,useFactory:Ry,deps:[Ue]},mf,[]],bf=(()=>{let e=class e{constructor(n){}static forRoot(n,r){return{ngModule:e,providers:[wM,[],{provide:Ii,multi:!0,useValue:n},{provide:Kv,useFactory:xM,deps:[[Ue,new bu,new lm]]},r!=null&&r.errorHandler?{provide:My,useValue:r.errorHandler}:[],{provide:Ti,useValue:r||{}},r!=null&&r.useHash?IM():EM(),CM(),r!=null&&r.preloadingStrategy?yM(r.preloadingStrategy).\u0275providers:[],r!=null&&r.initialNavigation?SM(r):[],r!=null&&r.bindToComponentInputs?bM().\u0275providers:[],r!=null&&r.enableViewTransitions?DM().\u0275providers:[],TM()]}}static forChild(n){return{ngModule:e,providers:[{provide:Ii,multi:!0,useValue:n}]}}};m(e,"\u0275fac",function(r){return new(r||e)(S(Kv,8))}),m(e,"\u0275mod",Me({type:e})),m(e,"\u0275inj",Te({}));let t=e;return t})();function CM(){return{provide:Ay,useFactory:()=>{let t=y(Iv),e=y(B),o=y(Ti),n=y(vf),r=y(po);return o.scrollOffset&&t.setOffset(o.scrollOffset),new mM(r,n,t,e,o)}}}function IM(){return{provide:sn,useClass:bd}}function EM(){return{provide:sn,useClass:yd}}function xM(t){return"guarded"}function SM(t){return[t.initialNavigation==="disabled"?vM().\u0275providers:[],t.initialNavigation==="enabledBlocking"?gM().\u0275providers:[]]}var Xv=new _("");function TM(){return[{provide:Xv,useFactory:Ny},{provide:ba,multi:!0,useExisting:Xv}]}var mo=(t,e,o,n,r)=>_M(t[1],e[1],o[1],n[1],r).map(i=>MM(t[0],e[0],o[0],n[0],i)),MM=(t,e,o,n,r)=>{let i=3*e*Math.pow(r-1,2),s=-3*o*r+3*o+n*r,a=t*Math.pow(r-1,3);return r*(i+r*s)-a},_M=(t,e,o,n,r)=>(t-=r,e-=r,o-=r,n-=r,AM(n-3*o+3*e-t,3*o-6*e+3*t,3*e-3*t,t).filter(s=>s>=0&&s<=1)),kM=(t,e,o)=>{let n=e*e-4*t*o;return n<0?[]:[(-e+Math.sqrt(n))/(2*t),(-e-Math.sqrt(n))/(2*t)]},AM=(t,e,o,n)=>{if(t===0)return kM(e,o,n);e/=t,o/=t,n/=t;let r=(3*o-e*e)/3,i=(2*e*e*e-9*e*o+27*n)/27;if(r===0)return[Math.pow(-i,.3333333333333333)];if(i===0)return[Math.sqrt(-r),-Math.sqrt(-r)];let s=Math.pow(i/2,2)+Math.pow(r/3,3);if(s===0)return[Math.pow(i/2,.5)-e/3];if(s>0)return[Math.pow(-(i/2)+Math.sqrt(s),.3333333333333333)-Math.pow(i/2+Math.sqrt(s),.3333333333333333)-e/3];let a=Math.sqrt(Math.pow(-(r/3),3)),l=Math.acos(-(i/(2*Math.sqrt(Math.pow(-(r/3),3))))),c=2*Math.pow(a,1/3);return[c*Math.cos(l/3)-e/3,c*Math.cos((l+2*Math.PI)/3)-e/3,c*Math.cos((l+4*Math.PI)/3)-e/3]};var ze=(t,e)=>e.closest(t)!==null,vt=(t,e)=>typeof t=="string"&&t.length>0?Object.assign({"ion-color":!0,[`ion-color-${t}`]:!0},e):e,RM=t=>t!==void 0?(Array.isArray(t)?t:t.split(" ")).filter(o=>o!=null).map(o=>o.trim()).filter(o=>o!==""):[],Qa=t=>{let e={};return RM(t).forEach(o=>e[o]=!0),e};var Fn=async(t,e,o,n,r,i)=>{var s;if(t)return t.attachViewToDom(e,o,r,n);if(!i&&typeof o!="string"&&!(o instanceof HTMLElement))throw new Error("framework delegate is missing");let a=typeof o=="string"?(s=e.ownerDocument)===null||s===void 0?void 0:s.createElement(o):o;return n&&n.forEach(l=>a.classList.add(l)),r&&Object.assign(a,r),e.appendChild(a),await new Promise(l=>Dt(a,l)),a},gr=(t,e)=>{if(e){if(t){let o=e.parentElement;return t.removeViewFromDom(o,e)}e.remove()}return Promise.resolve()},Ka=()=>{let t,e;return{attachViewToDom:async(r,i,s={},a=[])=>{var l,c;t=r;let u;if(i){let p=typeof i=="string"?(l=t.ownerDocument)===null||l===void 0?void 0:l.createElement(i):i;a.forEach(f=>p.classList.add(f)),Object.assign(p,s),t.appendChild(p),u=p,await new Promise(f=>Dt(p,f))}else if(t.children.length>0&&(t.tagName==="ION-MODAL"||t.tagName==="ION-POPOVER")&&!(u=t.children[0]).classList.contains("ion-delegate-host")){let f=(c=t.ownerDocument)===null||c===void 0?void 0:c.createElement("div");f.classList.add("ion-delegate-host"),a.forEach(g=>f.classList.add(g)),f.append(...t.children),t.appendChild(f),u=f}let d=document.querySelector("ion-app")||document.body;return e=document.createComment("ionic teleport"),t.parentNode.insertBefore(e,t),d.appendChild(t),u!=null?u:t},removeViewFromDom:()=>(t&&e&&(e.parentNode.insertBefore(t,e),e.remove()),Promise.resolve())}};var _i='[tabindex]:not([tabindex^="-"]):not([hidden]):not([disabled]), input:not([type=hidden]):not([tabindex^="-"]):not([hidden]):not([disabled]), textarea:not([tabindex^="-"]):not([hidden]):not([disabled]), button:not([tabindex^="-"]):not([hidden]):not([disabled]), select:not([tabindex^="-"]):not([hidden]):not([disabled]), ion-checkbox:not([tabindex^="-"]):not([hidden]):not([disabled]), ion-radio:not([tabindex^="-"]):not([hidden]):not([disabled]), .ion-focusable:not([tabindex^="-"]):not([hidden]):not([disabled]), .ion-focusable[disabled="false"]:not([tabindex^="-"]):not([hidden])',Xa=(t,e)=>{let o=t.querySelector(_i);jy(o,e!=null?e:t)},Ly=(t,e)=>{let o=Array.from(t.querySelectorAll(_i)),n=o.length>0?o[o.length-1]:null;jy(n,e!=null?e:t)},jy=(t,e)=>{let o=t,n=t==null?void 0:t.shadowRoot;if(n&&(o=n.querySelector(_i)||t),o){let r=o.closest("ion-radio-group");r?r.setFocus():$l(o)}else e.focus()},Df=0,NM=0,Ja=new WeakMap,By=t=>({create(e){return OM(t,e)},dismiss(e,o,n){return $M(document,e,o,t,n)},async getTop(){return Mi(document,t)}});var wf=By("ion-modal");var Cf=By("ion-popover");var el=t=>{typeof document<"u"&&LM(document);let e=Df++;t.overlayIndex=e},tl=t=>(t.hasAttribute("id")||(t.id=`ion-overlay-${++NM}`),t.id),OM=(t,e)=>typeof window<"u"&&typeof window.customElements<"u"?window.customElements.whenDefined(t).then(()=>{let o=document.createElement(t);return o.classList.add("overlay-hidden"),Object.assign(o,Object.assign(Object.assign({},e),{hasController:!0})),Uy(document).appendChild(o),new Promise(n=>Dt(o,n))}):Promise.resolve(),PM=t=>t.classList.contains("overlay-hidden"),$y=(t,e)=>{let o=t,n=t==null?void 0:t.shadowRoot;n&&(o=n.querySelector(_i)||t),o?$l(o):e.focus()},FM=(t,e)=>{let o=Mi(e,"ion-alert,ion-action-sheet,ion-loading,ion-modal,ion-picker-legacy,ion-popover"),n=t.target;if(!o||!n||o.classList.contains(go))return;let r=()=>{if(o===n)o.lastFocus=void 0;else if(n.tagName==="ION-TOAST")$y(o.lastFocus,o);else{let s=xe(o);if(!s.contains(n))return;let a=s.querySelector(".ion-overlay-wrapper");if(!a)return;if(a.contains(n)||n===s.querySelector("ion-backdrop"))o.lastFocus=n;else{let l=o.lastFocus;Xa(a,o),l===e.activeElement&&Ly(a,o),o.lastFocus=e.activeElement}}},i=()=>{if(o.contains(n))o.lastFocus=n;else if(n.tagName==="ION-TOAST")$y(o.lastFocus,o);else{let s=o.lastFocus;Xa(o),s===e.activeElement&&Ly(o),o.lastFocus=e.activeElement}};o.shadowRoot?i():r()},LM=t=>{Df===0&&(Df=1,t.addEventListener("focus",e=>{FM(e,t)},!0),t.addEventListener("ionBackButton",e=>{let o=Mi(t);o!=null&&o.backdropDismiss&&e.detail.register(Th,()=>{o.dismiss(void 0,vr)})}),Pr()||t.addEventListener("keydown",e=>{if(e.key==="Escape"){let o=Mi(t);o!=null&&o.backdropDismiss&&o.dismiss(void 0,vr)}}))},$M=(t,e,o,n,r)=>{let i=Mi(t,n,r);return i?i.dismiss(e,o):Promise.reject("overlay does not exist")},jM=(t,e)=>(e===void 0&&(e="ion-alert,ion-action-sheet,ion-loading,ion-modal,ion-picker-legacy,ion-popover,ion-toast"),Array.from(t.querySelectorAll(e)).filter(o=>o.overlayIndex>0)),nl=(t,e)=>jM(t,e).filter(o=>!PM(o)),Mi=(t,e,o)=>{let n=nl(t,e);return o===void 0?n[n.length-1]:n.find(r=>r.id===o)},Vy=(t=!1)=>{let o=Uy(document).querySelector("ion-router-outlet, ion-nav, #ion-view-container-root");o&&(t?o.setAttribute("aria-hidden","true"):o.removeAttribute("aria-hidden"))},ol=async(t,e,o,n,r)=>{var i,s;if(t.presented)return;t.el.tagName!=="ION-TOAST"&&Vy(!0),document.body.classList.add(Hl),UM(t.el),Wy(t.el),t.presented=!0,t.willPresent.emit(),(i=t.willPresentShorthand)===null||i===void 0||i.emit();let a=U(t),l=t.enterAnimation?t.enterAnimation:ge.get(e,a==="ios"?o:n);await zy(t,l,t.el,r)&&(t.didPresent.emit(),(s=t.didPresentShorthand)===null||s===void 0||s.emit()),t.el.tagName!=="ION-TOAST"&&BM(t.el),t.keyboardClose&&(document.activeElement===null||!t.el.contains(document.activeElement))&&t.el.focus(),t.el.removeAttribute("aria-hidden")},BM=async t=>{let e=document.activeElement;if(!e)return;let o=e==null?void 0:e.shadowRoot;o&&(e=o.querySelector(_i)||e),await t.onDidDismiss(),(document.activeElement===null||document.activeElement===document.body)&&e.focus()},rl=async(t,e,o,n,r,i,s)=>{var a,l;if(!t.presented)return!1;let c=ft!==void 0?nl(ft).filter(d=>d.tagName!=="ION-TOAST"):[];c.length===1&&c[0].id===t.el.id&&(Vy(!1),document.body.classList.remove(Hl)),t.presented=!1;try{Wy(t.el),t.el.style.setProperty("pointer-events","none"),t.willDismiss.emit({data:e,role:o}),(a=t.willDismissShorthand)===null||a===void 0||a.emit({data:e,role:o});let d=U(t),p=t.leaveAnimation?t.leaveAnimation:ge.get(n,d==="ios"?r:i);o!==br&&await zy(t,p,t.el,s),t.didDismiss.emit({data:e,role:o}),(l=t.didDismissShorthand)===null||l===void 0||l.emit({data:e,role:o}),(Ja.get(t)||[]).forEach(g=>g.destroy()),Ja.delete(t),t.el.classList.add("overlay-hidden"),t.el.style.removeProperty("pointer-events"),t.el.lastFocus!==void 0&&(t.el.lastFocus=void 0)}catch(d){console.error(d)}return t.el.remove(),zM(),!0},Uy=t=>t.querySelector("ion-app")||t.body,zy=async(t,e,o,n)=>{o.classList.remove("overlay-hidden");let r=t.el,i=e(r,n);(!t.animated||!ge.getBoolean("animated",!0))&&i.duration(0),t.keyboardClose&&i.beforeAddWrite(()=>{let a=o.ownerDocument.activeElement;a!=null&&a.matches("input,ion-input, ion-textarea")&&a.blur()});let s=Ja.get(t)||[];return Ja.set(t,[...s,i]),await i.play(),!0},yr=(t,e)=>{let o,n=new Promise(r=>o=r);return VM(t,e,r=>{o(r.detail)}),n},VM=(t,e,o)=>{let n=r=>{Or(t,e,n),o(r)};$n(t,e,n)};var vr="backdrop",br="gesture",Hy=39;var Gy=()=>{let t,e=()=>{t&&(t(),t=void 0)};return{addClickListener:(n,r)=>{e();let i=r!==void 0?document.getElementById(r):null;if(!i){Ft(`A trigger element with the ID "${r}" was not found in the DOM. The trigger element must be in the DOM when the "trigger" property is set on an overlay component.`,n);return}t=((a,l)=>{let c=()=>{l.present()};return a.addEventListener("click",c),()=>{a.removeEventListener("click",c)}})(i,n)},removeClickListener:e}},Wy=t=>{ft!==void 0&&Ne("android")&&t.setAttribute("aria-hidden","true")},UM=t=>{var e;if(ft===void 0)return;let o=nl(ft);for(let n=o.length-1;n>=0;n--){let r=o[n],i=(e=o[n+1])!==null&&e!==void 0?e:t;(i.hasAttribute("aria-hidden")||i.tagName!=="ION-TOAST")&&r.setAttribute("aria-hidden","true")}},zM=()=>{if(ft===void 0)return;let t=nl(ft);for(let e=t.length-1;e>=0;e--){let o=t[e];if(o.removeAttribute("aria-hidden"),o.tagName!=="ION-TOAST")break}},go="ion-disable-focus-trap";var qy=new _("");function Zy(t){return t!=null}function YM(t){return co(t)?ue(t):t}function Yy(t){let e={};return t.forEach(o=>{e=o!=null?w(w({},e),o):e}),Object.keys(e).length===0?null:e}function Qy(t,e){return e.map(o=>o(t))}function QM(t){return!t.validate}function Ky(t){return t.map(e=>QM(e)?e:o=>e.validate(o))}function KM(t){if(!t)return null;let e=t.filter(Zy);return e.length==0?null:function(o){return Yy(Qy(o,e))}}function XM(t){return t!=null?KM(Ky(t)):null}function JM(t){if(!t)return null;let e=t.filter(Zy);return e.length==0?null:function(o){let n=Qy(o,e).map(YM);return Ur(n).pipe($(Yy))}}function e_(t){return t!=null?JM(Ky(t)):null}var If=class{get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators=[];_rawAsyncValidators=[];_setValidators(e){this._rawValidators=e||[],this._composedValidatorFn=XM(this._rawValidators)}_setAsyncValidators(e){this._rawAsyncValidators=e||[],this._composedAsyncValidatorFn=e_(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_onDestroyCallbacks=[];_registerOnDestroy(e){this._onDestroyCallbacks.push(e)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(e=>e()),this._onDestroyCallbacks=[]}reset(e=void 0){this.control&&this.control.reset(e)}hasError(e,o){return this.control?this.control.hasError(e,o):!1}getError(e,o){return this.control?this.control.getError(e,o):null}};var il=class extends If{_parent=null;name=null;valueAccessor=null};var t_={"[class.ng-untouched]":"isUntouched","[class.ng-touched]":"isTouched","[class.ng-pristine]":"isPristine","[class.ng-dirty]":"isDirty","[class.ng-valid]":"isValid","[class.ng-invalid]":"isInvalid","[class.ng-pending]":"isPending"},e2=J(w({},t_),{"[class.ng-submitted]":"isSubmitted"});var Xy=new _("CallSetDisabledState",{providedIn:"root",factory:()=>Ef}),Ef="always";var n_=new _("");var Jy=(()=>{let e=class e{};m(e,"\u0275fac",function(r){return new(r||e)}),m(e,"\u0275mod",Me({type:e})),m(e,"\u0275inj",Te({}));let t=e;return t})();var xf=(()=>{let e=class e{static withConfig(n){var r;return{ngModule:e,providers:[{provide:Xy,useValue:(r=n.callSetDisabledState)!=null?r:Ef}]}}};m(e,"\u0275fac",function(r){return new(r||e)}),m(e,"\u0275mod",Me({type:e})),m(e,"\u0275inj",Te({imports:[Jy]}));let t=e;return t})(),Sf=(()=>{let e=class e{static withConfig(n){var r,i;return{ngModule:e,providers:[{provide:n_,useValue:(r=n.warnOnNgModelWithFormControl)!=null?r:"always"},{provide:Xy,useValue:(i=n.callSetDisabledState)!=null?i:Ef}]}}};m(e,"\u0275fac",function(r){return new(r||e)}),m(e,"\u0275mod",Me({type:e})),m(e,"\u0275inj",Te({imports:[Jy]}));let t=e;return t})();var o_=["tabsInner"];var sl=(()=>{let e=class e{doc;_readyPromise;win;backButton=new re;keyboardDidShow=new re;keyboardDidHide=new re;pause=new re;resume=new re;resize=new re;constructor(n,r){this.doc=n,r.run(()=>{var s;this.win=n.defaultView,this.backButton.subscribeWithPriority=function(a,l){return this.subscribe(c=>c.register(a,u=>r.run(()=>l(u))))},Dr(this.pause,n,"pause",r),Dr(this.resume,n,"resume",r),Dr(this.backButton,n,"ionBackButton",r),Dr(this.resize,this.win,"resize",r),Dr(this.keyboardDidShow,this.win,"ionKeyboardDidShow",r),Dr(this.keyboardDidHide,this.win,"ionKeyboardDidHide",r);let i;this._readyPromise=new Promise(a=>{i=a}),(s=this.win)!=null&&s.cordova?n.addEventListener("deviceready",()=>{i("cordova")},{once:!0}):i("dom")})}is(n){return Ne(this.win,n)}platforms(){return Fl(this.win)}ready(){return this._readyPromise}get isRTL(){return this.doc.dir==="rtl"}getQueryParam(n){return r_(this.win.location.href,n)}isLandscape(){return!this.isPortrait()}isPortrait(){var n,r;return(r=(n=this.win).matchMedia)==null?void 0:r.call(n,"(orientation: portrait)").matches}testUserAgent(n){let r=this.win.navigator;return!!(r!=null&&r.userAgent&&r.userAgent.indexOf(n)>=0)}url(){return this.win.location.href}width(){return this.win.innerWidth}height(){return this.win.innerHeight}};m(e,"\u0275fac",function(r){return new(r||e)(S(Ce),S(B))}),m(e,"\u0275prov",x({token:e,factory:e.\u0275fac,providedIn:"root"}));let t=e;return t})(),r_=(t,e)=>{e=e.replace(/[[\]\\]/g,"\\$&");let n=new RegExp("[\\?&]"+e+"=([^&#]*)").exec(t);return n?decodeURIComponent(n[1].replace(/\+/g," ")):null},Dr=(t,e,o,n)=>{e&&e.addEventListener(o,r=>{n.run(()=>{let i=r!=null?r.detail:void 0;t.next(i)})})},Of=(()=>{let e=class e{location;serializer;router;topOutlet;direction=eb;animated=tb;animationBuilder;guessDirection="forward";guessAnimation;lastNavId=-1;constructor(n,r,i,s){this.location=r,this.serializer=i,this.router=s,s&&s.events.subscribe(a=>{if(a instanceof Rn){let l=a.restoredState?a.restoredState.navigationId:a.id;this.guessDirection=this.guessAnimation=l{this.pop(),a()})}navigateForward(n,r={}){return this.setDirection("forward",r.animated,r.animationDirection,r.animation),this.navigate(n,r)}navigateBack(n,r={}){return this.setDirection("back",r.animated,r.animationDirection,r.animation),this.navigate(n,r)}navigateRoot(n,r={}){return this.setDirection("root",r.animated,r.animationDirection,r.animation),this.navigate(n,r)}back(n={animated:!0,animationDirection:"back"}){return this.setDirection("back",n.animated,n.animationDirection,n.animation),this.location.back()}async pop(){let n=this.topOutlet;for(;n;){if(await n.pop())return!0;n=n.parentOutlet}return!1}setDirection(n,r,i,s){this.direction=n,this.animated=i_(n,r,i),this.animationBuilder=s}setTopOutlet(n){this.topOutlet=n}consumeTransition(){let n="root",r,i=this.animationBuilder;return this.direction==="auto"?(n=this.guessDirection,r=this.guessAnimation):(r=this.animated,n=this.direction),this.direction=eb,this.animated=tb,this.animationBuilder=void 0,{direction:n,animation:r,animationBuilder:i}}navigate(n,r){if(Array.isArray(n))return this.router.navigate(n,r);{let i=this.serializer.parse(n.toString());return r.queryParams!==void 0&&(i.queryParams=w({},r.queryParams)),r.fragment!==void 0&&(i.fragment=r.fragment),this.router.navigateByUrl(i,r)}}};m(e,"\u0275fac",function(r){return new(r||e)(S(sl),S(Nt),S(po),S(Ue,8))}),m(e,"\u0275prov",x({token:e,factory:e.\u0275fac,providedIn:"root"}));let t=e;return t})(),i_=(t,e,o)=>{if(e!==!1){if(o!==void 0)return o;if(t==="forward"||t==="back")return t;if(t==="root"&&e===!0)return"forward"}},eb="auto",tb=void 0,ob=(()=>{let e=class e{get(n,r){let i=Tf();return i?i.get(n,r):null}getBoolean(n,r){let i=Tf();return i?i.getBoolean(n,r):!1}getNumber(n,r){let i=Tf();return i?i.getNumber(n,r):0}};m(e,"\u0275fac",function(r){return new(r||e)}),m(e,"\u0275prov",x({token:e,factory:e.\u0275fac,providedIn:"root"}));let t=e;return t})(),al=new _("USERCONFIG"),Tf=()=>{if(typeof window<"u"){let t=window.Ionic;if(t!=null&&t.config)return t.config}return null},ki=class{data;constructor(e={}){this.data=e,console.warn("[Ionic Warning]: NavParams has been deprecated in favor of using Angular's input API. Developers should migrate to either the @Input decorator or the Signals-based input API.")}get(e){return this.data[e]}},ll=(()=>{let e=class e{zone=y(B);applicationRef=y(Bt);config=y(al);create(n,r,i){var s;return new _f(n,r,this.applicationRef,this.zone,i,(s=this.config.useSetInputAPI)!=null?s:!1)}};m(e,"\u0275fac",function(r){return new(r||e)}),m(e,"\u0275prov",x({token:e,factory:e.\u0275fac}));let t=e;return t})(),_f=class{environmentInjector;injector;applicationRef;zone;elementReferenceKey;enableSignalsSupport;elRefMap=new WeakMap;elEventsMap=new WeakMap;constructor(e,o,n,r,i,s){this.environmentInjector=e,this.injector=o,this.applicationRef=n,this.zone=r,this.elementReferenceKey=i,this.enableSignalsSupport=s}attachViewToDom(e,o,n,r){return this.zone.run(()=>new Promise(i=>{let s=w({},n);this.elementReferenceKey!==void 0&&(s[this.elementReferenceKey]=e);let a=s_(this.zone,this.environmentInjector,this.injector,this.applicationRef,this.elRefMap,this.elEventsMap,e,o,s,r,this.elementReferenceKey,this.enableSignalsSupport);i(a)}))}removeViewFromDom(e,o){return this.zone.run(()=>new Promise(n=>{let r=this.elRefMap.get(o);if(r){r.destroy(),this.elRefMap.delete(o);let i=this.elEventsMap.get(o);i&&(i(),this.elEventsMap.delete(o))}n()}))}},s_=(t,e,o,n,r,i,s,a,l,c,u,d)=>{let p=be.create({providers:l_(l),parent:o}),f=pv(a,{environmentInjector:e,elementInjector:p}),g=f.instance,v=f.location.nativeElement;if(l)if(u&&g[u]!==void 0&&console.error(`[Ionic Error]: ${u} is a reserved property when using ${s.tagName.toLowerCase()}. Rename or remove the "${u}" property from ${a.name}.`),d===!0&&f.setInput!==void 0){let b=l,{modal:I,popover:E}=b,N=Pl(b,["modal","popover"]);for(let A in N)f.setInput(A,N[A]);I!==void 0&&Object.assign(g,{modal:I}),E!==void 0&&Object.assign(g,{popover:E})}else Object.assign(g,l);if(c)for(let I of c)v.classList.add(I);let D=rb(t,g,v);return s.appendChild(v),n.attachView(f.hostView),r.set(v,f),i.set(v,D),v},a_=[jl,Bl,Vl,Ul,zl],rb=(t,e,o)=>t.run(()=>{let n=a_.filter(r=>typeof e[r]=="function").map(r=>{let i=s=>e[r](s.detail);return o.addEventListener(r,i),()=>o.removeEventListener(r,i)});return()=>n.forEach(r=>r())}),nb=new _("NavParamsToken"),l_=t=>[{provide:nb,useValue:t},{provide:ki,useFactory:c_,deps:[nb]}],c_=t=>new ki(t),u_=(t,e)=>{let o=t.prototype;e.forEach(n=>{Object.defineProperty(o,n,{get(){return this.el[n]},set(r){this.z.runOutsideAngular(()=>this.el[n]=r)}})})},d_=(t,e)=>{let o=t.prototype;e.forEach(n=>{o[n]=function(){let r=arguments;return this.z.runOutsideAngular(()=>this.el[n].apply(this.el,r))}})};function ib(t){return function(o){let{defineCustomElementFn:n,inputs:r,methods:i}=t;return n!==void 0&&n(),r&&u_(o,r),i&&d_(o,i),o}}var f_=(t,e,o)=>o==="root"?sb(t,e):o==="forward"?h_(t,e):p_(t,e),sb=(t,e)=>(t=t.filter(o=>o.stackId!==e.stackId),t.push(e),t),h_=(t,e)=>(t.indexOf(e)>=0?t=t.filter(n=>n.stackId!==e.stackId||n.id<=e.id):t.push(e),t),p_=(t,e)=>t.indexOf(e)>=0?t.filter(n=>n.stackId!==e.stackId||n.id<=e.id):sb(t,e),kf=(t,e)=>{let o=t.createUrlTree(["."],{relativeTo:e});return t.serializeUrl(o)},ab=(t,e)=>e?t.stackId!==e.stackId:!0,m_=(t,e)=>{if(!t)return;let o=lb(e);for(let n=0;n=t.length)return o[n];if(o[n]!==t[n])return}},lb=t=>t.split("/").map(e=>e.trim()).filter(e=>e!==""),cb=t=>{t&&(t.ref.destroy(),t.unlistenEvents())},Af=class{containerEl;router;navCtrl;zone;location;views=[];runningTask;skipTransition=!1;tabsPrefix;activeView;nextId=0;constructor(e,o,n,r,i,s){this.containerEl=o,this.router=n,this.navCtrl=r,this.zone=i,this.location=s,this.tabsPrefix=e!==void 0?lb(e):void 0}createView(e,o){var s;let n=kf(this.router,o),r=(s=e==null?void 0:e.location)==null?void 0:s.nativeElement,i=rb(this.zone,e.instance,r);return{id:this.nextId++,stackId:m_(this.tabsPrefix,n),unlistenEvents:i,element:r,ref:e,url:n}}getExistingView(e){let o=kf(this.router,e),n=this.views.find(r=>r.url===o);return n&&n.ref.changeDetectorRef.reattach(),n}setActive(e){var g,v;let o=this.navCtrl.consumeTransition(),{direction:n,animation:r,animationBuilder:i}=o,s=this.activeView,a=ab(e,s);a&&(n="back",r=void 0);let l=this.views.slice(),c,u=this.router;u.getCurrentNavigation?c=u.getCurrentNavigation():(g=u.navigations)!=null&&g.value&&(c=u.navigations.value),(v=c==null?void 0:c.extras)!=null&&v.replaceUrl&&this.views.length>0&&this.views.splice(-1,1);let d=this.views.includes(e),p=this.insertView(e,n);d||e.ref.changeDetectorRef.detectChanges();let f=e.animationBuilder;return i===void 0&&n==="back"&&!a&&f!==void 0&&(i=f),s&&(s.animationBuilder=i),this.zone.runOutsideAngular(()=>this.wait(()=>(s&&s.ref.changeDetectorRef.detach(),e.ref.changeDetectorRef.reattach(),this.transition(e,s,r,this.canGoBack(1),!1,i).then(()=>g_(e,p,l,this.location,this.zone)).then(()=>({enteringView:e,direction:n,animation:r,tabSwitch:a})))))}canGoBack(e,o=this.getActiveStackId()){return this.getStack(o).length>e}pop(e,o=this.getActiveStackId()){return this.zone.run(()=>{var l,c;let n=this.getStack(o);if(n.length<=e)return Promise.resolve(!1);let r=n[n.length-e-1],i=r.url,s=r.savedData;if(s){let u=s.get("primary");(c=(l=u==null?void 0:u.route)==null?void 0:l._routerState)!=null&&c.snapshot.url&&(i=u.route._routerState.snapshot.url)}let{animationBuilder:a}=this.navCtrl.consumeTransition();return this.navCtrl.navigateBack(i,J(w({},r.savedExtras),{animation:a})).then(()=>!0)})}startBackTransition(){let e=this.activeView;if(e){let o=this.getStack(e.stackId),n=o[o.length-2],r=n.animationBuilder;return this.wait(()=>this.transition(n,e,"back",this.canGoBack(2),!0,r))}return Promise.resolve()}endBackTransition(e){e?(this.skipTransition=!0,this.pop(1)):this.activeView&&ub(this.activeView,this.views,this.views,this.location,this.zone)}getLastUrl(e){let o=this.getStack(e);return o.length>0?o[o.length-1]:void 0}getRootUrl(e){let o=this.getStack(e);return o.length>0?o[0]:void 0}getActiveStackId(){return this.activeView?this.activeView.stackId:void 0}getActiveView(){return this.activeView}hasRunningTask(){return this.runningTask!==void 0}destroy(){this.containerEl=void 0,this.views.forEach(cb),this.activeView=void 0,this.views=[]}getStack(e){return this.views.filter(o=>o.stackId===e)}insertView(e,o){return this.activeView=e,this.views=f_(this.views,e,o),this.views.slice()}transition(e,o,n,r,i,s){if(this.skipTransition)return this.skipTransition=!1,Promise.resolve(!1);if(o===e)return Promise.resolve(!1);let a=e?e.element:void 0,l=o?o.element:void 0,c=this.containerEl;return a&&a!==l&&(a.classList.add("ion-page"),a.classList.add("ion-page-invisible"),c.commit)?c.commit(a,l,{duration:n===void 0?0:void 0,direction:n,showGoBack:r,progressAnimation:i,animationBuilder:s}):Promise.resolve(!1)}async wait(e){this.runningTask!==void 0&&(await this.runningTask,this.runningTask=void 0);let o=this.runningTask=e();return o.finally(()=>this.runningTask=void 0),o}},g_=(t,e,o,n,r)=>typeof requestAnimationFrame=="function"?new Promise(i=>{requestAnimationFrame(()=>{ub(t,e,o,n,r),i()})}):Promise.resolve(),ub=(t,e,o,n,r)=>{r.run(()=>o.filter(i=>!e.includes(i)).forEach(cb)),e.forEach(i=>{let a=n.path().split("?")[0].split("#")[0];if(i!==t&&i.url!==a){let l=i.element;l.setAttribute("aria-hidden","true"),l.classList.add("ion-page-hidden"),i.ref.changeDetectorRef.detach()}})},db=(()=>{let e=class e{parentOutlet;nativeEl;activatedView=null;tabsPrefix;_swipeGesture;stackCtrl;proxyMap=new WeakMap;currentActivatedRoute$=new fe(null);activated=null;get activatedComponentRef(){return this.activated}_activatedRoute=null;name=j;stackWillChange=new le;stackDidChange=new le;activateEvents=new le;deactivateEvents=new le;parentContexts=y(Pn);location=y(At);environmentInjector=y(me);inputBinder=y(fb,{optional:!0});supportsBindingToComponentInputs=!0;config=y(ob);navCtrl=y(Of);set animation(n){this.nativeEl.animation=n}set animated(n){this.nativeEl.animated=n}set swipeGesture(n){this._swipeGesture=n,this.nativeEl.swipeHandler=n?{canStart:()=>this.stackCtrl.canGoBack(1)&&!this.stackCtrl.hasRunningTask(),onStart:()=>this.stackCtrl.startBackTransition(),onEnd:r=>this.stackCtrl.endBackTransition(r)}:void 0}constructor(n,r,i,s,a,l,c,u){this.parentOutlet=u,this.nativeEl=s.nativeElement,this.name=n||j,this.tabsPrefix=r==="true"?kf(a,c):void 0,this.stackCtrl=new Af(this.tabsPrefix,this.nativeEl,a,this.navCtrl,l,i),this.parentContexts.onChildOutletCreated(this.name,this)}ngOnDestroy(){var n;this.stackCtrl.destroy(),(n=this.inputBinder)==null||n.unsubscribeFromRouteData(this)}getContext(){return this.parentContexts.getContext(this.name)}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(!this.activated){let n=this.getContext();n!=null&&n.route&&this.activateWith(n.route,n.injector)}new Promise(n=>Dt(this.nativeEl,n)).then(()=>{this._swipeGesture===void 0&&(this.swipeGesture=this.config.getBoolean("swipeBackEnabled",this.nativeEl.mode==="ios"))})}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance}get activatedRoute(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){throw new Error("incompatible reuse strategy")}attach(n,r){throw new Error("incompatible reuse strategy")}deactivate(){if(this.activated){if(this.activatedView){let r=this.getContext();this.activatedView.savedData=new Map(r.children.contexts);let i=this.activatedView.savedData.get("primary");if(i&&r.route&&(i.route=w({},r.route)),this.activatedView.savedExtras={},r.route){let s=r.route.snapshot;this.activatedView.savedExtras.queryParams=s.queryParams,this.activatedView.savedExtras.fragment=s.fragment}}let n=this.component;this.activatedView=null,this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(n)}}activateWith(n,r){var l,c;if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=n;let i,s=this.stackCtrl.getExistingView(n);if(s){i=this.activated=s.ref;let u=s.savedData;if(u){let d=this.getContext();d.children.contexts=u}this.updateActivatedRouteProxy(i.instance,n)}else{let u=n._futureSnapshot,d=this.parentContexts.getOrCreateContext(this.name).children,p=new fe(null),f=this.createActivatedRouteProxy(p,n),g=new Rf(f,d,this.location.injector),v=(l=u.routeConfig.component)!=null?l:u.component;i=this.activated=this.outletContent.createComponent(v,{index:this.outletContent.length,injector:g,environmentInjector:r!=null?r:this.environmentInjector}),p.next(i.instance),s=this.stackCtrl.createView(this.activated,n),this.proxyMap.set(i.instance,f),this.currentActivatedRoute$.next({component:i.instance,activatedRoute:n})}(c=this.inputBinder)==null||c.bindActivatedRouteToOutletComponent(this),this.activatedView=s,this.navCtrl.setTopOutlet(this);let a=this.stackCtrl.getActiveView();this.stackWillChange.emit({enteringView:s,tabSwitch:ab(s,a)}),this.stackCtrl.setActive(s).then(u=>{this.activateEvents.emit(i.instance),this.stackDidChange.emit(u)})}canGoBack(n=1,r){return this.stackCtrl.canGoBack(n,r)}pop(n=1,r){return this.stackCtrl.pop(n,r)}getLastUrl(n){let r=this.stackCtrl.getLastUrl(n);return r?r.url:void 0}getLastRouteView(n){return this.stackCtrl.getLastUrl(n)}getRootView(n){return this.stackCtrl.getRootUrl(n)}getActiveStackId(){return this.stackCtrl.getActiveStackId()}createActivatedRouteProxy(n,r){let i=new Xe;return i._futureSnapshot=r._futureSnapshot,i._routerState=r._routerState,i.snapshot=r.snapshot,i.outlet=r.outlet,i.component=r.component,i._paramMap=this.proxyObservable(n,"paramMap"),i._queryParamMap=this.proxyObservable(n,"queryParamMap"),i.url=this.proxyObservable(n,"url"),i.params=this.proxyObservable(n,"params"),i.queryParams=this.proxyObservable(n,"queryParams"),i.fragment=this.proxyObservable(n,"fragment"),i.data=this.proxyObservable(n,"data"),i}proxyObservable(n,r){return n.pipe(ke(i=>!!i),ye(i=>this.currentActivatedRoute$.pipe(ke(s=>s!==null&&s.component===i),ye(s=>s&&s.activatedRoute[r]),dc())))}updateActivatedRouteProxy(n,r){let i=this.proxyMap.get(n);if(!i)throw new Error("Could not find activated route proxy for view");i._futureSnapshot=r._futureSnapshot,i._routerState=r._routerState,i.snapshot=r.snapshot,i.outlet=r.outlet,i.component=r.component,this.currentActivatedRoute$.next({component:n,activatedRoute:r})}};m(e,"\u0275fac",function(r){return new(r||e)(_n("name"),_n("tabs"),T(Nt),T(te),T(Ue),T(B),T(Xe),T(e,12))}),m(e,"\u0275dir",Rt({type:e,selectors:[["ion-router-outlet"]],inputs:{animated:"animated",animation:"animation",mode:"mode",swipeGesture:"swipeGesture",name:"name"},outputs:{stackWillChange:"stackWillChange",stackDidChange:"stackDidChange",activateEvents:"activate",deactivateEvents:"deactivate"},exportAs:["outlet"],standalone:!1}));let t=e;return t})(),Rf=class{route;childContexts;parent;constructor(e,o,n){this.route=e,this.childContexts=o,this.parent=n}get(e,o){return e===Xe?this.route:e===Pn?this.childContexts:this.parent.get(e,o)}},fb=new _(""),v_=(()=>{let e=class e{outletDataSubscriptions=new Map;bindActivatedRouteToOutletComponent(n){this.unsubscribeFromRouteData(n),this.subscribeToRouteData(n)}unsubscribeFromRouteData(n){var r;(r=this.outletDataSubscriptions.get(n))==null||r.unsubscribe(),this.outletDataSubscriptions.delete(n)}subscribeToRouteData(n){let{activatedRoute:r}=n,i=Un([r.queryParams,r.params,r.data]).pipe(ye(([s,a,l],c)=>(l=w(w(w({},s),a),l),c===0?k(l):Promise.resolve(l)))).subscribe(s=>{if(!n.isActivated||!n.activatedComponentRef||n.activatedRoute!==r||r.component===null){this.unsubscribeFromRouteData(n);return}let a=Ca(r.component);if(!a){this.unsubscribeFromRouteData(n);return}for(let{templateName:l}of a.inputs)n.activatedComponentRef.setInput(l,s[l])});this.outletDataSubscriptions.set(n,i)}};m(e,"\u0275fac",function(r){return new(r||e)}),m(e,"\u0275prov",x({token:e,factory:e.\u0275fac}));let t=e;return t})(),hb=()=>({provide:fb,useFactory:y_,deps:[Ue]});function y_(t){return t!=null&&t.componentInputBindingEnabled?new v_:null}var pb=(()=>{let e=class e{navCtrl;tabsInner;ionTabsWillChange=new le;ionTabsDidChange=new le;tabBarSlot="bottom";hasTab=!1;selectedTab;leavingTab;constructor(n){this.navCtrl=n}ngAfterViewInit(){let n=this.tabs.length>0?this.tabs.first:void 0;n&&(this.hasTab=!0,this.setActiveTab(n.tab),this.tabSwitch())}ngAfterContentInit(){this.detectSlotChanges()}ngAfterContentChecked(){this.detectSlotChanges()}onStackWillChange({enteringView:n,tabSwitch:r}){let i=n.stackId;r&&i!==void 0&&this.ionTabsWillChange.emit({tab:i})}onStackDidChange({enteringView:n,tabSwitch:r}){let i=n.stackId;r&&i!==void 0&&(this.tabBar&&(this.tabBar.selectedTab=i),this.ionTabsDidChange.emit({tab:i}))}select(n){let r=typeof n=="string",i=r?n:n.detail.tab;if(this.hasTab){this.setActiveTab(i),this.tabSwitch();return}let s=this.outlet.getActiveStackId()===i,a=`${this.outlet.tabsPrefix}/${i}`;if(r||n.stopPropagation(),s){let l=this.outlet.getActiveStackId(),c=this.outlet.getLastRouteView(l);if((c==null?void 0:c.url)===a)return;let u=this.outlet.getRootView(i),d=u&&a===u.url&&u.savedExtras;return this.navCtrl.navigateRoot(a,J(w({},d),{animated:!0,animationDirection:"back"}))}else{let l=this.outlet.getLastRouteView(i),c=(l==null?void 0:l.url)||a,u=l==null?void 0:l.savedExtras;return this.navCtrl.navigateRoot(c,J(w({},u),{animated:!0,animationDirection:"back"}))}}setActiveTab(n){let i=this.tabs.find(s=>s.tab===n);if(!i){console.error(`[Ionic Error]: Tab with id: "${n}" does not exist`);return}this.leavingTab=this.selectedTab,this.selectedTab=i,this.ionTabsWillChange.emit({tab:n}),i.el.active=!0}tabSwitch(){let{selectedTab:n,leavingTab:r}=this;this.tabBar&&n&&(this.tabBar.selectedTab=n.tab),(r==null?void 0:r.tab)!==(n==null?void 0:n.tab)&&r!=null&&r.el&&(r.el.active=!1),n&&this.ionTabsDidChange.emit({tab:n.tab})}getSelected(){var n;return this.hasTab?(n=this.selectedTab)==null?void 0:n.tab:this.outlet.getActiveStackId()}detectSlotChanges(){this.tabBars.forEach(n=>{let r=n.el.getAttribute("slot");r!==this.tabBarSlot&&(this.tabBarSlot=r,this.relocateTabBar())})}relocateTabBar(){let n=this.tabBar.el;this.tabBarSlot==="top"?this.tabsInner.nativeElement.before(n):this.tabsInner.nativeElement.after(n)}};m(e,"\u0275fac",function(r){return new(r||e)(T(Of))}),m(e,"\u0275dir",Rt({type:e,selectors:[["ion-tabs"]],viewQuery:function(r,i){if(r&1&&ri(o_,7,te),r&2){let s;nn(s=on())&&(i.tabsInner=s.first)}},hostBindings:function(r,i){r&1&&tn("ionTabButtonClick",function(a){return i.select(a)})},outputs:{ionTabsWillChange:"ionTabsWillChange",ionTabsDidChange:"ionTabsDidChange"},standalone:!1}));let t=e;return t})(),b_=t=>typeof __zone_symbol__requestAnimationFrame=="function"?__zone_symbol__requestAnimationFrame(t):typeof requestAnimationFrame=="function"?requestAnimationFrame(t):setTimeout(t),mb=(()=>{let e=class e{injector;elementRef;onChange=()=>{};onTouched=()=>{};lastValue;statusChanges;constructor(n,r){this.injector=n,this.elementRef=r}writeValue(n){this.elementRef.nativeElement.value=this.lastValue=n,wr(this.elementRef)}handleValueChange(n,r){n===this.elementRef.nativeElement&&(r!==this.lastValue&&(this.lastValue=r,this.onChange(r)),wr(this.elementRef))}_handleBlurEvent(n){n===this.elementRef.nativeElement&&(this.onTouched(),wr(this.elementRef))}registerOnChange(n){this.onChange=n}registerOnTouched(n){this.onTouched=n}setDisabledState(n){this.elementRef.nativeElement.disabled=n}ngOnDestroy(){this.statusChanges&&this.statusChanges.unsubscribe()}ngAfterViewInit(){let n;try{n=this.injector.get(il)}catch{}if(!n)return;n.statusChanges&&(this.statusChanges=n.statusChanges.subscribe(()=>wr(this.elementRef)));let r=n.control;r&&["markAsTouched","markAllAsTouched","markAsUntouched","markAsDirty","markAsPristine"].forEach(s=>{if(typeof r[s]<"u"){let a=r[s].bind(r);r[s]=(...l)=>{a(...l),wr(this.elementRef)}}})}};m(e,"\u0275fac",function(r){return new(r||e)(T(be),T(te))}),m(e,"\u0275dir",Rt({type:e,hostBindings:function(r,i){r&1&&tn("ionBlur",function(a){return i._handleBlurEvent(a.target)})},standalone:!1}));let t=e;return t})(),wr=t=>{b_(()=>{let e=t.nativeElement,o=e.value!=null&&e.value.toString().length>0,n=D_(e);Mf(e,n);let r=e.closest("ion-item");r&&(o?Mf(r,[...n,"item-has-value"]):Mf(r,n))})},D_=t=>{let e=t.classList,o=[];for(let n=0;n{let o=t.classList;o.remove("ion-valid","ion-invalid","ion-touched","ion-untouched","ion-dirty","ion-pristine"),o.add(...e)},w_=(t,e)=>t.substring(0,e.length)===e,Nf=class{shouldDetach(e){return!1}shouldAttach(e){return!1}store(e,o){}retrieve(e){return null}shouldReuseRoute(e,o){if(e.routeConfig!==o.routeConfig)return!1;let n=e.params,r=o.params,i=Object.keys(n),s=Object.keys(r);if(i.length!==s.length)return!1;for(let a of i)if(r[a]!==n[a])return!1;return!0}},Ai=class{ctrl;constructor(e){this.ctrl=e}create(e){return this.ctrl.create(e||{})}dismiss(e,o,n){return this.ctrl.dismiss(e,o,n)}getTop(){return this.ctrl.getTop()}};var C_=":host{left:0;right:0;top:0;bottom:0;position:absolute;contain:strict;pointer-events:none}:host(.unbounded){contain:layout size style}.ripple-effect{border-radius:50%;position:absolute;background-color:currentColor;color:inherit;contain:strict;opacity:0;-webkit-animation:225ms rippleAnimation forwards, 75ms fadeInAnimation forwards;animation:225ms rippleAnimation forwards, 75ms fadeInAnimation forwards;will-change:transform, opacity;pointer-events:none}.fade-out{-webkit-transform:translate(var(--translate-end)) scale(var(--final-scale, 1));transform:translate(var(--translate-end)) scale(var(--final-scale, 1));-webkit-animation:150ms fadeOutAnimation forwards;animation:150ms fadeOutAnimation forwards}@-webkit-keyframes rippleAnimation{from{-webkit-animation-timing-function:cubic-bezier(0.4, 0, 0.2, 1);animation-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transform:scale(1);transform:scale(1)}to{-webkit-transform:translate(var(--translate-end)) scale(var(--final-scale, 1));transform:translate(var(--translate-end)) scale(var(--final-scale, 1))}}@keyframes rippleAnimation{from{-webkit-animation-timing-function:cubic-bezier(0.4, 0, 0.2, 1);animation-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transform:scale(1);transform:scale(1)}to{-webkit-transform:translate(var(--translate-end)) scale(var(--final-scale, 1));transform:translate(var(--translate-end)) scale(var(--final-scale, 1))}}@-webkit-keyframes fadeInAnimation{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:0}to{opacity:0.16}}@keyframes fadeInAnimation{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:0}to{opacity:0.16}}@-webkit-keyframes fadeOutAnimation{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:0.16}to{opacity:0}}@keyframes fadeOutAnimation{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:0.16}to{opacity:0}}",I_=C_,E_=Y(class extends Z{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.type="bounded"}async addRipple(e,o){return new Promise(n=>{gn(()=>{let r=this.el.getBoundingClientRect(),i=r.width,s=r.height,a=Math.sqrt(i*i+s*s),l=Math.max(s,i),c=this.unbounded?l:a+S_,u=Math.floor(l*T_),d=c/u,p=e-r.left,f=o-r.top;this.unbounded&&(p=i*.5,f=s*.5);let g=p-u*.5,v=f-u*.5,D=i*.5-p,b=s*.5-f;nt(()=>{let I=document.createElement("div");I.classList.add("ripple-effect");let E=I.style;E.top=v+"px",E.left=g+"px",E.width=E.height=u+"px",E.setProperty("--final-scale",`${d}`),E.setProperty("--translate-end",`${D}px, ${b}px`),(this.el.shadowRoot||this.el).appendChild(I),setTimeout(()=>{n(()=>{x_(I)})},325)})})})}get unbounded(){return this.type==="unbounded"}render(){let e=U(this);return C(X,{key:"7ae559bda5d2c1856a45bfa150c2cb4f83373f8e",role:"presentation",class:{[e]:!0,unbounded:this.unbounded}})}get el(){return this}static get style(){return I_}},[1,"ion-ripple-effect",{type:[1],addRipple:[64]}]),x_=t=>{t.classList.add("fade-out"),setTimeout(()=>{t.remove()},200)},S_=10,T_=.5;function cl(){if(typeof customElements>"u")return;["ion-ripple-effect"].forEach(e=>{switch(e){case"ion-ripple-effect":customElements.get(e)||customElements.define(e,E_);break}})}var Cr=()=>{let t;return{lock:async()=>{let o=t,n;return t=new Promise(r=>n=r),o!==void 0&&await o,n}}};var M_=":host{left:0;right:0;top:0;bottom:0;position:absolute;contain:layout size style;z-index:0}",__=M_,k_=Y(class extends Z{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.ionNavWillLoad=F(this,"ionNavWillLoad",7),this.ionNavWillChange=F(this,"ionNavWillChange",3),this.ionNavDidChange=F(this,"ionNavDidChange",3),this.lockController=Cr(),this.gestureOrAnimationInProgress=!1,this.mode=U(this),this.delegate=void 0,this.animated=!0,this.animation=void 0,this.swipeHandler=void 0}swipeHandlerChanged(){this.gesture&&this.gesture.enable(this.swipeHandler!==void 0)}async connectedCallback(){let e=()=>{this.gestureOrAnimationInProgress=!0,this.swipeHandler&&this.swipeHandler.onStart()};this.gesture=(await import("./swipe-back-DO3GTPTD.js")).createSwipeBackGesture(this.el,()=>!this.gestureOrAnimationInProgress&&!!this.swipeHandler&&this.swipeHandler.canStart(),()=>e(),o=>{var n;return(n=this.ani)===null||n===void 0?void 0:n.progressStep(o)},(o,n,r)=>{if(this.ani){this.ani.onFinish(()=>{this.gestureOrAnimationInProgress=!1,this.swipeHandler&&this.swipeHandler.onEnd(o)},{oneTimeCallback:!0});let i=o?-.001:.001;o?i+=mo([0,0],[.32,.72],[0,1],[1,1],n)[0]:(this.ani.easing("cubic-bezier(1, 0, 0.68, 0.28)"),i+=mo([0,0],[1,0],[.68,.28],[1,1],n)[0]),this.ani.progressEnd(o?1:0,i,r)}else this.gestureOrAnimationInProgress=!1}),this.swipeHandlerChanged()}componentWillLoad(){this.ionNavWillLoad.emit()}disconnectedCallback(){this.gesture&&(this.gesture.destroy(),this.gesture=void 0)}async commit(e,o,n){let r=await this.lockController.lock(),i=!1;try{i=await this.transition(e,o,n)}catch(s){console.error(s)}return r(),i}async setRouteId(e,o,n,r){return{changed:await this.setRoot(e,o,{duration:n==="root"?0:void 0,direction:n==="back"?"back":"forward",animationBuilder:r}),element:this.activeEl}}async getRouteId(){let e=this.activeEl;return e?{id:e.tagName,element:e,params:this.activeParams}:void 0}async setRoot(e,o,n){if(this.activeComponent===e&&xh(o,this.activeParams))return!1;let r=this.activeEl,i=await Fn(this.delegate,this.el,e,["ion-page","ion-page-invisible"],o);return this.activeComponent=e,this.activeEl=i,this.activeParams=o,await this.commit(i,r,n),await gr(this.delegate,r),!0}async transition(e,o,n={}){if(o===e)return!1;this.ionNavWillChange.emit();let{el:r,mode:i}=this,s=this.animated&&ge.getBoolean("animated",!0),a=n.animationBuilder||this.animation||ge.get("navAnimation");return await Sh(Object.assign(Object.assign({mode:i,animated:s,enteringEl:e,leavingEl:o,baseEl:r,deepWait:Gt(r),progressCallback:n.progressAnimation?l=>{l!==void 0&&!this.gestureOrAnimationInProgress?(this.gestureOrAnimationInProgress=!0,l.onFinish(()=>{this.gestureOrAnimationInProgress=!1,this.swipeHandler&&this.swipeHandler.onEnd(!1)},{oneTimeCallback:!0}),l.progressEnd(0,0,0)):this.ani=l}:void 0},n),{animationBuilder:a})),this.ionNavDidChange.emit(),!0}render(){return C("slot",{key:"a70341f58d19df55de1dad00e3464388e446aa2a"})}get el(){return this}static get watchers(){return{swipeHandler:["swipeHandlerChanged"]}}static get style(){return __}},[1,"ion-router-outlet",{mode:[1025],delegate:[16],animated:[4],animation:[16],swipeHandler:[16],commit:[64],setRouteId:[64],getRouteId:[64]},void 0,{swipeHandler:["swipeHandlerChanged"]}]);function A_(){if(typeof customElements>"u")return;["ion-router-outlet"].forEach(e=>{switch(e){case"ion-router-outlet":customElements.get(e)||customElements.define(e,k_);break}})}var gb=A_;var R_=":host{left:0;right:0;top:0;bottom:0;display:block;position:absolute;-webkit-transform:translateZ(0);transform:translateZ(0);contain:strict;cursor:pointer;opacity:0.01;-ms-touch-action:none;touch-action:none;z-index:2}:host(.backdrop-hide){background:transparent}:host(.backdrop-no-tappable){cursor:auto}:host{background-color:var(--ion-backdrop-color, #000)}",N_=R_,O_=":host{left:0;right:0;top:0;bottom:0;display:block;position:absolute;-webkit-transform:translateZ(0);transform:translateZ(0);contain:strict;cursor:pointer;opacity:0.01;-ms-touch-action:none;touch-action:none;z-index:2}:host(.backdrop-hide){background:transparent}:host(.backdrop-no-tappable){cursor:auto}:host{background-color:var(--ion-backdrop-color, #000)}",P_=O_,F_=Y(class extends Z{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.ionBackdropTap=F(this,"ionBackdropTap",7),this.visible=!0,this.tappable=!0,this.stopPropagation=!0}onMouseDown(e){this.emitTap(e)}emitTap(e){this.stopPropagation&&(e.preventDefault(),e.stopPropagation()),this.tappable&&this.ionBackdropTap.emit()}render(){let e=U(this);return C(X,{key:"7abaf2c310aa399607451b14063265e8a5846938","aria-hidden":"true",class:{[e]:!0,"backdrop-hide":!this.visible,"backdrop-no-tappable":!this.tappable}})}static get style(){return{ios:N_,md:P_}}},[33,"ion-backdrop",{visible:[4],tappable:[4],stopPropagation:[4,"stop-propagation"]},[[2,"click","onMouseDown"]]]);function ul(){if(typeof customElements>"u")return;["ion-backdrop"].forEach(e=>{switch(e){case"ion-backdrop":customElements.get(e)||customElements.define(e,F_);break}})}var Ri=function(t){return t.Dark="DARK",t.Light="LIGHT",t.Default="DEFAULT",t}(Ri||{}),$f={getEngine(){let t=_h();if(t!=null&&t.isPluginAvailable("StatusBar"))return t.Plugins.StatusBar},setStyle(t){let e=this.getEngine();e&&e.setStyle(t)},getStyle:async function(){let t=this.getEngine();if(!t)return Ri.Default;let{style:e}=await t.getInfo();return e}},Pf=(t,e)=>{if(e===1)return 0;let o=1/(1-e),n=-(e*o);return t*o+n},Db=()=>{!Ee||Ee.innerWidth>=768||$f.setStyle({style:Ri.Dark})},Ff=(t=Ri.Default)=>{!Ee||Ee.innerWidth>=768||$f.setStyle({style:t})},wb=async(t,e)=>{typeof t.canDismiss!="function"||!await t.canDismiss(void 0,br)||(e.isRunning()?e.onFinish(()=>{t.dismiss(void 0,"handler")},{oneTimeCallback:!0}):t.dismiss(void 0,"handler"))},Lf=t=>.00255275*2.71828**(-14.9619*t)-1.00255*2.71828**(-.0380968*t)+1,dl={MIN_PRESENTING_SCALE:.915},L_=(t,e,o,n)=>{let i=t.offsetHeight,s=!1,a=!1,l=null,c=null,u=.2,d=!0,p=0,f=()=>l&&Qi(l)?l.scrollY:!0,I=Yi({el:t,gestureName:"modalSwipeToClose",gesturePriority:Hy,direction:"y",threshold:10,canStart:E=>{let N=E.event.target;return N===null||!N.closest?!0:(l=Wl(N),l?(Qi(l)?c=xe(l).querySelector(".inner-scroll"):c=l,!!!l.querySelector("ion-refresher")&&c.scrollTop===0):N.closest("ion-footer")===null)},onStart:E=>{let{deltaY:N}=E;d=f(),a=t.canDismiss!==void 0&&t.canDismiss!==!0,N>0&&l&&ql(l),e.progressStart(!0,s?1:0)},onMove:E=>{let{deltaY:N}=E;N>0&&l&&ql(l);let A=E.deltaY/i,M=A>=0&&a,L=M?u:.9999,q=M?Lf(A/L):A,se=vn(1e-4,q,L);e.progressStep(se),se>=.5&&p<.5?Ff(o):se<.5&&p>=.5&&Db(),p=se},onEnd:E=>{let N=E.velocityY,A=E.deltaY/i,M=A>=0&&a,L=M?u:.9999,q=M?Lf(A/L):A,se=vn(1e-4,q,L),ut=(E.deltaY+N*1e3)/i,Fe=!M&&ut>=.5,tt=Fe?-.001:.001;Fe?(e.easing("cubic-bezier(0.32, 0.72, 0, 1)"),tt+=mo([0,0],[.32,.72],[0,1],[1,1],se)[0]):(e.easing("cubic-bezier(1, 0, 0.68, 0.28)"),tt+=mo([0,0],[1,0],[.68,.28],[1,1],se)[0]);let Pt=vb(Fe?A*i:(1-se)*i,N);s=Fe,I.enable(!1),l&&Mh(l,d),e.onFinish(()=>{Fe||I.enable(!0)}).progressEnd(Fe?1:0,tt,Pt),M&&se>L/4?wb(t,e):Fe&&n()}});return I},vb=(t,e)=>vn(400,t/Math.abs(e*1.1),500),Cb=t=>{let{currentBreakpoint:e,backdropBreakpoint:o}=t,n=o===void 0||o{let{currentBreakpoint:e,backdropBreakpoint:o}=t,n=`calc(var(--backdrop-opacity) * ${Pf(e,o)})`,r=[{offset:0,opacity:n},{offset:1,opacity:0}],i=[{offset:0,opacity:n},{offset:o,opacity:0},{offset:1,opacity:0}],s=W("backdropAnimation").keyframes(o!==0?i:r);return{wrapperAnimation:W("wrapperAnimation").keyframes([{offset:0,opacity:1,transform:`translateY(${100-e*100}%)`},{offset:1,opacity:1,transform:"translateY(100%)"}]),backdropAnimation:s}},$_=()=>{let t=W().fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]),e=W().fromTo("transform","translateY(100vh)","translateY(0vh)");return{backdropAnimation:t,wrapperAnimation:e}},yb=(t,e)=>{let{presentingEl:o,currentBreakpoint:n}=e,r=xe(t),{wrapperAnimation:i,backdropAnimation:s}=n!==void 0?Cb(e):$_();s.addElement(r.querySelector("ion-backdrop")),i.addElement(r.querySelectorAll(".modal-wrapper, .modal-shadow")).beforeStyles({opacity:1});let a=W("entering-base").addElement(t).easing("cubic-bezier(0.32,0.72,0,1)").duration(500).addAnimation(i);if(o){let l=window.innerWidth<768,c=o.tagName==="ION-MODAL"&&o.presentingElement!==void 0,u=xe(o),d=W().beforeStyles({transform:"translateY(0)","transform-origin":"top center",overflow:"hidden"}),p=document.body;if(l){let f=CSS.supports("width","max(0px, 1px)")?"max(30px, var(--ion-safe-area-top))":"30px",g=c?"-10px":f,v=dl.MIN_PRESENTING_SCALE,D=`translateY(${g}) scale(${v})`;d.afterStyles({transform:D}).beforeAddWrite(()=>p.style.setProperty("background-color","black")).addElement(o).keyframes([{offset:0,filter:"contrast(1)",transform:"translateY(0px) scale(1)",borderRadius:"0px"},{offset:1,filter:"contrast(0.85)",transform:D,borderRadius:"10px 10px 0 0"}]),a.addAnimation(d)}else if(a.addAnimation(s),!c)i.fromTo("opacity","0","1");else{let g=`translateY(-10px) scale(${c?dl.MIN_PRESENTING_SCALE:1})`;d.afterStyles({transform:g}).addElement(u.querySelector(".modal-wrapper")).keyframes([{offset:0,filter:"contrast(1)",transform:"translateY(0) scale(1)"},{offset:1,filter:"contrast(0.85)",transform:g}]);let v=W().afterStyles({transform:g}).addElement(u.querySelector(".modal-shadow")).keyframes([{offset:0,opacity:"1",transform:"translateY(0) scale(1)"},{offset:1,opacity:"0",transform:g}]);a.addAnimation([d,v])}}else a.addAnimation(s);return a},j_=()=>{let t=W().fromTo("opacity","var(--backdrop-opacity)",0),e=W().fromTo("transform","translateY(0vh)","translateY(100vh)");return{backdropAnimation:t,wrapperAnimation:e}},bb=(t,e,o=500)=>{let{presentingEl:n,currentBreakpoint:r}=e,i=xe(t),{wrapperAnimation:s,backdropAnimation:a}=r!==void 0?Ib(e):j_();a.addElement(i.querySelector("ion-backdrop")),s.addElement(i.querySelectorAll(".modal-wrapper, .modal-shadow")).beforeStyles({opacity:1});let l=W("leaving-base").addElement(t).easing("cubic-bezier(0.32,0.72,0,1)").duration(o).addAnimation(s);if(n){let c=window.innerWidth<768,u=n.tagName==="ION-MODAL"&&n.presentingElement!==void 0,d=xe(n),p=W().beforeClearStyles(["transform"]).afterClearStyles(["transform"]).onFinish(g=>{if(g!==1)return;n.style.setProperty("overflow",""),Array.from(f.querySelectorAll("ion-modal:not(.overlay-hidden)")).filter(D=>D.presentingElement!==void 0).length<=1&&f.style.setProperty("background-color","")}),f=document.body;if(c){let g=CSS.supports("width","max(0px, 1px)")?"max(30px, var(--ion-safe-area-top))":"30px",v=u?"-10px":g,D=dl.MIN_PRESENTING_SCALE,b=`translateY(${v}) scale(${D})`;p.addElement(n).keyframes([{offset:0,filter:"contrast(0.85)",transform:b,borderRadius:"10px 10px 0 0"},{offset:1,filter:"contrast(1)",transform:"translateY(0px) scale(1)",borderRadius:"0px"}]),l.addAnimation(p)}else if(l.addAnimation(a),!u)s.fromTo("opacity","1","0");else{let v=`translateY(-10px) scale(${u?dl.MIN_PRESENTING_SCALE:1})`;p.addElement(d.querySelector(".modal-wrapper")).afterStyles({transform:"translate3d(0, 0, 0)"}).keyframes([{offset:0,filter:"contrast(0.85)",transform:v},{offset:1,filter:"contrast(1)",transform:"translateY(0) scale(1)"}]);let D=W().addElement(d.querySelector(".modal-shadow")).afterStyles({transform:"translateY(0) scale(1)"}).keyframes([{offset:0,opacity:"0",transform:v},{offset:1,opacity:"1",transform:"translateY(0) scale(1)"}]);l.addAnimation([p,D])}}else l.addAnimation(a);return l},B_=()=>{let t=W().fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]),e=W().keyframes([{offset:0,opacity:.01,transform:"translateY(40px)"},{offset:1,opacity:1,transform:"translateY(0px)"}]);return{backdropAnimation:t,wrapperAnimation:e}},V_=(t,e)=>{let{currentBreakpoint:o}=e,n=xe(t),{wrapperAnimation:r,backdropAnimation:i}=o!==void 0?Cb(e):B_();return i.addElement(n.querySelector("ion-backdrop")),r.addElement(n.querySelector(".modal-wrapper")),W().addElement(t).easing("cubic-bezier(0.36,0.66,0.04,1)").duration(280).addAnimation([i,r])},U_=()=>{let t=W().fromTo("opacity","var(--backdrop-opacity)",0),e=W().keyframes([{offset:0,opacity:.99,transform:"translateY(0px)"},{offset:1,opacity:0,transform:"translateY(40px)"}]);return{backdropAnimation:t,wrapperAnimation:e}},z_=(t,e)=>{let{currentBreakpoint:o}=e,n=xe(t),{wrapperAnimation:r,backdropAnimation:i}=o!==void 0?Ib(e):U_();return i.addElement(n.querySelector("ion-backdrop")),r.addElement(n.querySelector(".modal-wrapper")),W().easing("cubic-bezier(0.47,0,0.745,0.715)").duration(200).addAnimation([i,r])},H_=(t,e,o,n,r,i,s=[],a,l,c)=>{let u=[{offset:0,opacity:"var(--backdrop-opacity)"},{offset:1,opacity:.01}],d=[{offset:0,opacity:"var(--backdrop-opacity)"},{offset:1-r,opacity:0},{offset:1,opacity:0}],p={WRAPPER_KEYFRAMES:[{offset:0,transform:"translateY(0%)"},{offset:1,transform:"translateY(100%)"}],BACKDROP_KEYFRAMES:r!==0?d:u},f=t.querySelector("ion-content"),g=o.clientHeight,v=n,D=0,b=!1,I=.95,E=i.childAnimations.find(Ie=>Ie.id==="wrapperAnimation"),N=i.childAnimations.find(Ie=>Ie.id==="backdropAnimation"),A=s[s.length-1],M=s[0],L=()=>{t.style.setProperty("pointer-events","auto"),e.style.setProperty("pointer-events","auto"),t.classList.remove(go)},q=()=>{t.style.setProperty("pointer-events","none"),e.style.setProperty("pointer-events","none"),t.classList.add(go)};E&&N&&(E.keyframes([...p.WRAPPER_KEYFRAMES]),N.keyframes([...p.BACKDROP_KEYFRAMES]),i.progressStart(!0,1-v),v>r?L():q()),f&&v!==A&&(f.scrollY=!1);let se=Ie=>{let Ge=Wl(Ie.event.target);if(v=a(),v===1&&Ge){let We=Qi(Ge)?xe(Ge).querySelector(".inner-scroll"):Ge;return!!!Ge.querySelector("ion-refresher")&&We.scrollTop===0}return!0},ut=Ie=>{b=t.canDismiss!==void 0&&t.canDismiss!==!0&&M===0,Ie.deltaY>0&&f&&(f.scrollY=!1),wt(()=>{t.focus()}),i.progressStart(!0,1-v)},Fe=Ie=>{Ie.deltaY>0&&f&&(f.scrollY=!1);let Ge=1-v,We=s.length>1?1-s[1]:void 0,dt=Ge+Ie.deltaY/g,mn=We!==void 0&&dt>=We&&b,bt=mn?I:.9999,qe=mn&&We!==void 0?We+Lf((dt-We)/(bt-We)):dt;D=vn(1e-4,qe,bt),i.progressStep(D)},tt=Ie=>{let Ge=Ie.velocityY,We=(Ie.deltaY+Ge*350)/g,dt=v-We,mn=s.reduce((bt,qe)=>Math.abs(qe-dt){let{breakpoint:Ge,canDismiss:We,breakpointOffset:dt,animated:mn}=Ie,bt=We&&Ge===0,qe=bt?v:Ge,Hi=qe!==0;return v=0,E&&N&&(E.keyframes([{offset:0,transform:`translateY(${dt*100}%)`},{offset:1,transform:`translateY(${(1-qe)*100}%)`}]),N.keyframes([{offset:0,opacity:`calc(var(--backdrop-opacity) * ${Pf(1-dt,r)})`},{offset:1,opacity:`calc(var(--backdrop-opacity) * ${Pf(qe,r)})`}]),i.progressStep(0)),Ht.enable(!1),bt?wb(t,i):Hi||l(),f&&qe===s[s.length-1]&&(f.scrollY=!0),new Promise(Nr=>{i.onFinish(()=>{Hi?E&&N?wt(()=>{E.keyframes([...p.WRAPPER_KEYFRAMES]),N.keyframes([...p.BACKDROP_KEYFRAMES]),i.progressStart(!0,1-qe),v=qe,c(v),v>r?L():q(),Ht.enable(!0),Nr()}):(Ht.enable(!0),Nr()):Nr()},{oneTimeCallback:!0}).progressEnd(1,0,mn?500:0)})},Ht=Yi({el:o,gestureName:"modalSheet",gesturePriority:40,direction:"y",threshold:10,canStart:se,onStart:ut,onMove:Fe,onEnd:tt});return{gesture:Ht,moveSheetToBreakpoint:Pt}},G_=':host{--width:100%;--min-width:auto;--max-width:auto;--height:100%;--min-height:auto;--max-height:auto;--overflow:hidden;--border-radius:0;--border-width:0;--border-style:none;--border-color:transparent;--background:var(--ion-background-color, #fff);--box-shadow:none;--backdrop-opacity:0;left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:absolute;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;outline:none;color:var(--ion-text-color, #000);contain:strict}.modal-wrapper,ion-backdrop{pointer-events:auto}:host(.overlay-hidden){display:none}.modal-wrapper,.modal-shadow{border-radius:var(--border-radius);width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);overflow:var(--overflow);z-index:10}.modal-shadow{position:absolute;background:transparent}@media only screen and (min-width: 768px) and (min-height: 600px){:host{--width:600px;--height:500px;--ion-safe-area-top:0px;--ion-safe-area-bottom:0px;--ion-safe-area-right:0px;--ion-safe-area-left:0px}}@media only screen and (min-width: 768px) and (min-height: 768px){:host{--width:600px;--height:600px}}.modal-handle{left:0px;right:0px;top:5px;border-radius:8px;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;position:absolute;width:36px;height:5px;-webkit-transform:translateZ(0);transform:translateZ(0);border:0;background:var(--ion-color-step-350, var(--ion-background-color-step-350, #c0c0be));cursor:pointer;z-index:11}.modal-handle::before{-webkit-padding-start:4px;padding-inline-start:4px;-webkit-padding-end:4px;padding-inline-end:4px;padding-top:4px;padding-bottom:4px;position:absolute;width:36px;height:5px;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%);content:""}:host(.modal-sheet){--height:calc(100% - (var(--ion-safe-area-top) + 10px))}:host(.modal-sheet) .modal-wrapper,:host(.modal-sheet) .modal-shadow{position:absolute;bottom:0}:host{--backdrop-opacity:var(--ion-backdrop-opacity, 0.4)}:host(.modal-card),:host(.modal-sheet){--border-radius:10px}@media only screen and (min-width: 768px) and (min-height: 600px){:host{--border-radius:10px}}.modal-wrapper{-webkit-transform:translate3d(0, 100%, 0);transform:translate3d(0, 100%, 0)}@media screen and (max-width: 767px){@supports (width: max(0px, 1px)){:host(.modal-card){--height:calc(100% - max(30px, var(--ion-safe-area-top)) - 10px)}}@supports not (width: max(0px, 1px)){:host(.modal-card){--height:calc(100% - 40px)}}:host(.modal-card) .modal-wrapper{border-start-start-radius:var(--border-radius);border-start-end-radius:var(--border-radius);border-end-end-radius:0;border-end-start-radius:0}:host(.modal-card){--backdrop-opacity:0;--width:100%;-ms-flex-align:end;align-items:flex-end}:host(.modal-card) .modal-shadow{display:none}:host(.modal-card) ion-backdrop{pointer-events:none}}@media screen and (min-width: 768px){:host(.modal-card){--width:calc(100% - 120px);--height:calc(100% - (120px + var(--ion-safe-area-top) + var(--ion-safe-area-bottom)));--max-width:720px;--max-height:1000px;--backdrop-opacity:0;--box-shadow:0px 0px 30px 10px rgba(0, 0, 0, 0.1);-webkit-transition:all 0.5s ease-in-out;transition:all 0.5s ease-in-out}:host(.modal-card) .modal-wrapper{-webkit-box-shadow:none;box-shadow:none}:host(.modal-card) .modal-shadow{-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow)}}:host(.modal-sheet) .modal-wrapper{border-start-start-radius:var(--border-radius);border-start-end-radius:var(--border-radius);border-end-end-radius:0;border-end-start-radius:0}',W_=G_,q_=':host{--width:100%;--min-width:auto;--max-width:auto;--height:100%;--min-height:auto;--max-height:auto;--overflow:hidden;--border-radius:0;--border-width:0;--border-style:none;--border-color:transparent;--background:var(--ion-background-color, #fff);--box-shadow:none;--backdrop-opacity:0;left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:absolute;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;outline:none;color:var(--ion-text-color, #000);contain:strict}.modal-wrapper,ion-backdrop{pointer-events:auto}:host(.overlay-hidden){display:none}.modal-wrapper,.modal-shadow{border-radius:var(--border-radius);width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);overflow:var(--overflow);z-index:10}.modal-shadow{position:absolute;background:transparent}@media only screen and (min-width: 768px) and (min-height: 600px){:host{--width:600px;--height:500px;--ion-safe-area-top:0px;--ion-safe-area-bottom:0px;--ion-safe-area-right:0px;--ion-safe-area-left:0px}}@media only screen and (min-width: 768px) and (min-height: 768px){:host{--width:600px;--height:600px}}.modal-handle{left:0px;right:0px;top:5px;border-radius:8px;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;position:absolute;width:36px;height:5px;-webkit-transform:translateZ(0);transform:translateZ(0);border:0;background:var(--ion-color-step-350, var(--ion-background-color-step-350, #c0c0be));cursor:pointer;z-index:11}.modal-handle::before{-webkit-padding-start:4px;padding-inline-start:4px;-webkit-padding-end:4px;padding-inline-end:4px;padding-top:4px;padding-bottom:4px;position:absolute;width:36px;height:5px;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%);content:""}:host(.modal-sheet){--height:calc(100% - (var(--ion-safe-area-top) + 10px))}:host(.modal-sheet) .modal-wrapper,:host(.modal-sheet) .modal-shadow{position:absolute;bottom:0}:host{--backdrop-opacity:var(--ion-backdrop-opacity, 0.32)}@media only screen and (min-width: 768px) and (min-height: 600px){:host{--border-radius:2px;--box-shadow:0 28px 48px rgba(0, 0, 0, 0.4)}}.modal-wrapper{-webkit-transform:translate3d(0, 40px, 0);transform:translate3d(0, 40px, 0);opacity:0.01}',Z_=q_,Eb=Y(class extends Z{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.didPresent=F(this,"ionModalDidPresent",7),this.willPresent=F(this,"ionModalWillPresent",7),this.willDismiss=F(this,"ionModalWillDismiss",7),this.didDismiss=F(this,"ionModalDidDismiss",7),this.ionBreakpointDidChange=F(this,"ionBreakpointDidChange",7),this.didPresentShorthand=F(this,"didPresent",7),this.willPresentShorthand=F(this,"willPresent",7),this.willDismissShorthand=F(this,"willDismiss",7),this.didDismissShorthand=F(this,"didDismiss",7),this.ionMount=F(this,"ionMount",7),this.lockController=Cr(),this.triggerController=Gy(),this.coreDelegate=Ka(),this.isSheetModal=!1,this.inheritedAttributes={},this.inline=!1,this.gestureAnimationDismissing=!1,this.onHandleClick=()=>{let{sheetTransition:e,handleBehavior:o}=this;o!=="cycle"||e!==void 0||this.moveToNextBreakpoint()},this.onBackdropTap=()=>{let{sheetTransition:e}=this;e===void 0&&this.dismiss(void 0,vr)},this.onLifecycle=e=>{let o=this.usersElement,n=Y_[e.type];if(o&&n){let r=new CustomEvent(n,{bubbles:!1,cancelable:!1,detail:e.detail});o.dispatchEvent(r)}},this.presented=!1,this.hasController=!1,this.overlayIndex=void 0,this.delegate=void 0,this.keyboardClose=!0,this.enterAnimation=void 0,this.leaveAnimation=void 0,this.breakpoints=void 0,this.initialBreakpoint=void 0,this.backdropBreakpoint=0,this.handle=void 0,this.handleBehavior="none",this.component=void 0,this.componentProps=void 0,this.cssClass=void 0,this.backdropDismiss=!0,this.showBackdrop=!0,this.animated=!0,this.presentingElement=void 0,this.htmlAttributes=void 0,this.isOpen=!1,this.trigger=void 0,this.keepContentsMounted=!1,this.focusTrap=!0,this.canDismiss=!0}onIsOpenChange(e,o){e===!0&&o===!1?this.present():e===!1&&o===!0&&this.dismiss()}triggerChanged(){let{trigger:e,el:o,triggerController:n}=this;e&&n.addClickListener(o,e)}breakpointsChanged(e){e!==void 0&&(this.sortedBreakpoints=e.sort((o,n)=>o-n))}connectedCallback(){let{el:e}=this;el(e),this.triggerChanged()}disconnectedCallback(){this.triggerController.removeClickListener()}componentWillLoad(){var e;let{breakpoints:o,initialBreakpoint:n,el:r,htmlAttributes:i}=this,s=this.isSheetModal=o!==void 0&&n!==void 0,a=["aria-label","role"];this.inheritedAttributes=wo(r,a),i!==void 0&&a.forEach(l=>{i[l]&&(this.inheritedAttributes=Object.assign(Object.assign({},this.inheritedAttributes),{[l]:i[l]}),delete i[l])}),s&&(this.currentBreakpoint=this.initialBreakpoint),o!==void 0&&n!==void 0&&!o.includes(n)&&Ft("Your breakpoints array must include the initialBreakpoint value."),!((e=this.htmlAttributes)===null||e===void 0)&&e.id||tl(this.el)}componentDidLoad(){this.isOpen===!0&&wt(()=>this.present()),this.breakpointsChanged(this.breakpoints),this.triggerChanged()}getDelegate(e=!1){if(this.workingDelegate&&!e)return{delegate:this.workingDelegate,inline:this.inline};let o=this.el.parentNode,n=this.inline=o!==null&&!this.hasController,r=this.workingDelegate=n?this.delegate||this.coreDelegate:this.delegate;return{inline:n,delegate:r}}async checkCanDismiss(e,o){let{canDismiss:n}=this;return typeof n=="function"?n(e,o):n}async present(){let e=await this.lockController.lock();if(this.presented){e();return}let{presentingElement:o,el:n}=this;this.currentBreakpoint=this.initialBreakpoint;let{inline:r,delegate:i}=this.getDelegate(!0);this.ionMount.emit(),this.usersElement=await Fn(i,n,this.component,["ion-page"],this.componentProps,r),Gt(n)?await Zi(this.usersElement):this.keepContentsMounted||await qi(),nt(()=>this.el.classList.add("show-modal"));let s=o!==void 0;s&&U(this)==="ios"&&(this.statusBarStyle=await $f.getStyle(),Db()),await ol(this,"modalEnter",yb,V_,{presentingEl:o,currentBreakpoint:this.initialBreakpoint,backdropBreakpoint:this.backdropBreakpoint}),typeof window<"u"&&(this.keyboardOpenCallback=()=>{this.gesture&&(this.gesture.enable(!1),wt(()=>{this.gesture&&this.gesture.enable(!0)}))},window.addEventListener(Zl,this.keyboardOpenCallback)),this.isSheetModal?this.initSheetGesture():s&&this.initSwipeToClose(),e()}initSwipeToClose(){var e;if(U(this)!=="ios")return;let{el:o}=this,n=this.leaveAnimation||ge.get("modalLeave",bb),r=this.animation=n(o,{presentingEl:this.presentingElement});if(!Lr(o)){$r(o);return}let s=(e=this.statusBarStyle)!==null&&e!==void 0?e:Ri.Default;this.gesture=L_(o,r,s,()=>{this.gestureAnimationDismissing=!0,Ff(this.statusBarStyle),this.animation.onFinish(async()=>{await this.dismiss(void 0,br),this.gestureAnimationDismissing=!1})}),this.gesture.enable(!0)}initSheetGesture(){let{wrapperEl:e,initialBreakpoint:o,backdropBreakpoint:n}=this;if(!e||o===void 0)return;let r=this.enterAnimation||ge.get("modalEnter",yb),i=this.animation=r(this.el,{presentingEl:this.presentingElement,currentBreakpoint:o,backdropBreakpoint:n});i.progressStart(!0,1);let{gesture:s,moveSheetToBreakpoint:a}=H_(this.el,this.backdropEl,e,o,n,i,this.sortedBreakpoints,()=>{var l;return(l=this.currentBreakpoint)!==null&&l!==void 0?l:0},()=>this.sheetOnDismiss(),l=>{this.currentBreakpoint!==l&&(this.currentBreakpoint=l,this.ionBreakpointDidChange.emit({breakpoint:l}))});this.gesture=s,this.moveSheetToBreakpoint=a,this.gesture.enable(!0)}sheetOnDismiss(){this.gestureAnimationDismissing=!0,this.animation.onFinish(async()=>{this.currentBreakpoint=0,this.ionBreakpointDidChange.emit({breakpoint:this.currentBreakpoint}),await this.dismiss(void 0,br),this.gestureAnimationDismissing=!1})}async dismiss(e,o){var n;if(this.gestureAnimationDismissing&&o!==br)return!1;let r=await this.lockController.lock();if(o!=="handler"&&!await this.checkCanDismiss(e,o))return r(),!1;let{presentingElement:i}=this;i!==void 0&&U(this)==="ios"&&Ff(this.statusBarStyle),typeof window<"u"&&this.keyboardOpenCallback&&(window.removeEventListener(Zl,this.keyboardOpenCallback),this.keyboardOpenCallback=void 0);let a=await rl(this,e,o,"modalLeave",bb,z_,{presentingEl:i,currentBreakpoint:(n=this.currentBreakpoint)!==null&&n!==void 0?n:this.initialBreakpoint,backdropBreakpoint:this.backdropBreakpoint});if(a){let{delegate:l}=this.getDelegate();await gr(l,this.usersElement),nt(()=>this.el.classList.remove("show-modal")),this.animation&&this.animation.destroy(),this.gesture&&this.gesture.destroy()}return this.currentBreakpoint=void 0,this.animation=void 0,r(),a}onDidDismiss(){return yr(this.el,"ionModalDidDismiss")}onWillDismiss(){return yr(this.el,"ionModalWillDismiss")}async setCurrentBreakpoint(e){if(!this.isSheetModal){Ft("setCurrentBreakpoint is only supported on sheet modals.");return}if(!this.breakpoints.includes(e)){Ft(`Attempted to set invalid breakpoint value ${e}. Please double check that the breakpoint value is part of your defined breakpoints.`);return}let{currentBreakpoint:o,moveSheetToBreakpoint:n,canDismiss:r,breakpoints:i,animated:s}=this;o!==e&&n&&(this.sheetTransition=n({breakpoint:e,breakpointOffset:1-o,canDismiss:r!==void 0&&r!==!0&&i[0]===0,animated:s}),await this.sheetTransition,this.sheetTransition=void 0)}async getCurrentBreakpoint(){return this.currentBreakpoint}async moveToNextBreakpoint(){let{breakpoints:e,currentBreakpoint:o}=this;if(!e||o==null)return!1;let n=e.filter(a=>a!==0),i=(n.indexOf(o)+1)%n.length,s=n[i];return await this.setCurrentBreakpoint(s),!0}render(){let{handle:e,isSheetModal:o,presentingElement:n,htmlAttributes:r,handleBehavior:i,inheritedAttributes:s,focusTrap:a}=this,l=e!==!1&&o,c=U(this),u=n!==void 0&&c==="ios",d=i==="cycle";return C(X,Object.assign({key:"b4da5111fe4719fa450c39b2d4bd884a302a7924","no-router":!0,tabindex:"-1"},r,{style:{zIndex:`${2e4+this.overlayIndex}`},class:Object.assign({[c]:!0,"modal-default":!u&&!o,"modal-card":u,"modal-sheet":o,"overlay-hidden":!0,[go]:a===!1},Qa(this.cssClass)),onIonBackdropTap:this.onBackdropTap,onIonModalDidPresent:this.onLifecycle,onIonModalWillPresent:this.onLifecycle,onIonModalWillDismiss:this.onLifecycle,onIonModalDidDismiss:this.onLifecycle}),C("ion-backdrop",{key:"c12dbf747e0eb914eaf1331798548ffc7e147763",ref:p=>this.backdropEl=p,visible:this.showBackdrop,tappable:this.backdropDismiss,part:"backdrop"}),c==="ios"&&C("div",{key:"da546ee80c6576b5acc66e959fd5009e0b9a8160",class:"modal-shadow"}),C("div",Object.assign({key:"306ebe6427440ad5f7ed36d590e562d15a503b75",role:"dialog"},s,{"aria-modal":"true",class:"modal-wrapper ion-overlay-wrapper",part:"content",ref:p=>this.wrapperEl=p}),l&&C("button",{key:"c5d17e346fe255a7c0cacbbf15c0083f2d09c488",class:"modal-handle",tabIndex:d?0:-1,"aria-label":"Activate to adjust the size of the dialog overlaying the screen",onClick:d?this.onHandleClick:void 0,part:"handle"}),C("slot",{key:"5cc714170a00b67f3eda0cd1d6f37c1489a99c83"})))}get el(){return this}static get watchers(){return{isOpen:["onIsOpenChange"],trigger:["triggerChanged"]}}static get style(){return{ios:W_,md:Z_}}},[33,"ion-modal",{hasController:[4,"has-controller"],overlayIndex:[2,"overlay-index"],delegate:[16],keyboardClose:[4,"keyboard-close"],enterAnimation:[16],leaveAnimation:[16],breakpoints:[16],initialBreakpoint:[2,"initial-breakpoint"],backdropBreakpoint:[2,"backdrop-breakpoint"],handle:[4],handleBehavior:[1,"handle-behavior"],component:[1],componentProps:[16],cssClass:[1,"css-class"],backdropDismiss:[4,"backdrop-dismiss"],showBackdrop:[4,"show-backdrop"],animated:[4],presentingElement:[16],htmlAttributes:[16],isOpen:[4,"is-open"],trigger:[1],keepContentsMounted:[4,"keep-contents-mounted"],focusTrap:[4,"focus-trap"],canDismiss:[4,"can-dismiss"],presented:[32],present:[64],dismiss:[64],onDidDismiss:[64],onWillDismiss:[64],setCurrentBreakpoint:[64],getCurrentBreakpoint:[64]},void 0,{isOpen:["onIsOpenChange"],trigger:["triggerChanged"]}]),Y_={ionModalDidPresent:"ionViewDidEnter",ionModalWillPresent:"ionViewWillEnter",ionModalWillDismiss:"ionViewWillLeave",ionModalDidDismiss:"ionViewDidLeave"};function xb(){if(typeof customElements>"u")return;["ion-modal","ion-backdrop"].forEach(e=>{switch(e){case"ion-modal":customElements.get(e)||customElements.define(e,Eb);break;case"ion-backdrop":customElements.get(e)||ul();break}})}var Sb=xb;var Q_=t=>{if(!t)return{arrowWidth:0,arrowHeight:0};let{width:e,height:o}=t.getBoundingClientRect();return{arrowWidth:e,arrowHeight:o}},Mb=(t,e,o)=>{let n=e.getBoundingClientRect(),r=n.height,i=n.width;return t==="cover"&&o&&(i=o.getBoundingClientRect().width),{contentWidth:i,contentHeight:r}},K_=(t,e,o,n)=>{let r=[],s=xe(n).querySelector(".popover-content");switch(e){case"hover":r=[{eventName:"mouseenter",callback:a=>{document.elementFromPoint(a.clientX,a.clientY)!==t&&o.dismiss(void 0,void 0,!1)}}];break;case"context-menu":case"click":default:r=[{eventName:"click",callback:a=>{if(a.target.closest("[data-ion-popover-trigger]")===t){a.stopPropagation();return}o.dismiss(void 0,void 0,!1)}}];break}return r.forEach(({eventName:a,callback:l})=>s.addEventListener(a,l)),()=>{r.forEach(({eventName:a,callback:l})=>s.removeEventListener(a,l))}},X_=(t,e,o)=>{let n=[];switch(e){case"hover":let r;n=[{eventName:"mouseenter",callback:async i=>{i.stopPropagation(),r&&clearTimeout(r),r=setTimeout(()=>{wt(()=>{o.presentFromTrigger(i),r=void 0})},100)}},{eventName:"mouseleave",callback:i=>{r&&clearTimeout(r);let s=i.relatedTarget;s&&s.closest("ion-popover")!==o&&o.dismiss(void 0,void 0,!1)}},{eventName:"click",callback:i=>i.stopPropagation()},{eventName:"ionPopoverActivateTrigger",callback:i=>o.presentFromTrigger(i,!0)}];break;case"context-menu":n=[{eventName:"contextmenu",callback:i=>{i.preventDefault(),o.presentFromTrigger(i)}},{eventName:"click",callback:i=>i.stopPropagation()},{eventName:"ionPopoverActivateTrigger",callback:i=>o.presentFromTrigger(i,!0)}];break;case"click":default:n=[{eventName:"click",callback:i=>o.presentFromTrigger(i)},{eventName:"ionPopoverActivateTrigger",callback:i=>o.presentFromTrigger(i,!0)}];break}return n.forEach(({eventName:r,callback:i})=>t.addEventListener(r,i)),t.setAttribute("data-ion-popover-trigger","true"),()=>{n.forEach(({eventName:r,callback:i})=>t.removeEventListener(r,i)),t.removeAttribute("data-ion-popover-trigger")}},_b=(t,e)=>!e||e.tagName!=="ION-ITEM"?-1:t.findIndex(o=>o===e),J_=(t,e)=>{let o=_b(t,e);return t[o+1]},ek=(t,e)=>{let o=_b(t,e);return t[o-1]},fl=t=>{let o=xe(t).querySelector("button");o&&wt(()=>o.focus())},tk=t=>t.hasAttribute("data-ion-popover-trigger"),nk=t=>{let e=async o=>{var n;let r=document.activeElement,i=[],s=(n=o.target)===null||n===void 0?void 0:n.tagName;if(!(s!=="ION-POPOVER"&&s!=="ION-ITEM")){try{i=Array.from(t.querySelectorAll("ion-item:not(ion-popover ion-popover *):not([disabled])"))}catch{}switch(o.key){case"ArrowLeft":await t.getParentPopover()&&t.dismiss(void 0,void 0,!1);break;case"ArrowDown":o.preventDefault();let l=J_(i,r);l!==void 0&&fl(l);break;case"ArrowUp":o.preventDefault();let c=ek(i,r);c!==void 0&&fl(c);break;case"Home":o.preventDefault();let u=i[0];u!==void 0&&fl(u);break;case"End":o.preventDefault();let d=i[i.length-1];d!==void 0&&fl(d);break;case"ArrowRight":case" ":case"Enter":if(r&&tk(r)){let p=new CustomEvent("ionPopoverActivateTrigger");r.dispatchEvent(p)}break}}};return t.addEventListener("keydown",e),()=>t.removeEventListener("keydown",e)},kb=(t,e,o,n,r,i,s,a,l,c,u)=>{var d;let p={top:0,left:0,width:0,height:0};switch(i){case"event":if(!u)return l;let A=u;p={top:A.clientY,left:A.clientX,width:1,height:1};break;case"trigger":default:let M=u,L=c||((d=M==null?void 0:M.detail)===null||d===void 0?void 0:d.ionShadowTarget)||(M==null?void 0:M.target);if(!L)return l;let q=L.getBoundingClientRect();p={top:q.top,left:q.left,width:q.width,height:q.height};break}let f=ik(s,p,e,o,n,r,t),g=sk(a,s,p,e,o),v=f.top+g.top,D=f.left+g.left,{arrowTop:b,arrowLeft:I}=rk(s,n,r,v,D,e,o,t),{originX:E,originY:N}=ok(s,a,t);return{top:v,left:D,referenceCoordinates:p,arrowTop:b,arrowLeft:I,originX:E,originY:N}},ok=(t,e,o)=>{switch(t){case"top":return{originX:Tb(e),originY:"bottom"};case"bottom":return{originX:Tb(e),originY:"top"};case"left":return{originX:"right",originY:hl(e)};case"right":return{originX:"left",originY:hl(e)};case"start":return{originX:o?"left":"right",originY:hl(e)};case"end":return{originX:o?"right":"left",originY:hl(e)}}},Tb=t=>{switch(t){case"start":return"left";case"center":return"center";case"end":return"right"}},hl=t=>{switch(t){case"start":return"top";case"center":return"center";case"end":return"bottom"}},rk=(t,e,o,n,r,i,s,a)=>{let l={arrowTop:n+s/2-e/2,arrowLeft:r+i-e/2},c={arrowTop:n+s/2-e/2,arrowLeft:r-e*1.5};switch(t){case"top":return{arrowTop:n+s,arrowLeft:r+i/2-e/2};case"bottom":return{arrowTop:n-o,arrowLeft:r+i/2-e/2};case"left":return l;case"right":return c;case"start":return a?c:l;case"end":return a?l:c;default:return{arrowTop:0,arrowLeft:0}}},ik=(t,e,o,n,r,i,s)=>{let a={top:e.top,left:e.left-o-r},l={top:e.top,left:e.left+e.width+r};switch(t){case"top":return{top:e.top-n-i,left:e.left};case"right":return l;case"bottom":return{top:e.top+e.height+i,left:e.left};case"left":return a;case"start":return s?l:a;case"end":return s?a:l}},sk=(t,e,o,n,r)=>{switch(t){case"center":return lk(e,o,n,r);case"end":return ak(e,o,n,r);case"start":default:return{top:0,left:0}}},ak=(t,e,o,n)=>{switch(t){case"start":case"end":case"left":case"right":return{top:-(n-e.height),left:0};case"top":case"bottom":default:return{top:0,left:-(o-e.width)}}},lk=(t,e,o,n)=>{switch(t){case"start":case"end":case"left":case"right":return{top:-(n/2-e.height/2),left:0};case"top":case"bottom":default:return{top:0,left:-(o/2-e.width/2)}}},Ab=(t,e,o,n,r,i,s,a,l,c,u,d,p=0,f=0,g=0)=>{let v=p,D=f,b=o,I=e,E,N=c,A=u,M=!1,L=!1,q=d?d.top+d.height:i/2-a/2,se=d?d.height:0,ut=!1;return br&&(L=!0,b=r-s-n,N="right"),q+se+a>i&&(t==="top"||t==="bottom")&&(q-a>0?(I=Math.max(12,q-a-se-(g-1)),v=I+a,A="bottom",ut=!0):E=n),{top:I,left:b,bottom:E,originX:N,originY:A,checkSafeAreaLeft:M,checkSafeAreaRight:L,arrowTop:v,arrowLeft:D,addPopoverBottomClass:ut}},ck=(t,e=!1,o,n)=>!(!o&&!n||t!=="top"&&t!=="bottom"&&e),uk=5,dk=(t,e)=>{var o;let{event:n,size:r,trigger:i,reference:s,side:a,align:l}=e,c=t.ownerDocument,u=c.dir==="rtl",d=c.defaultView.innerWidth,p=c.defaultView.innerHeight,f=xe(t),g=f.querySelector(".popover-content"),v=f.querySelector(".popover-arrow"),D=i||((o=n==null?void 0:n.detail)===null||o===void 0?void 0:o.ionShadowTarget)||(n==null?void 0:n.target),{contentWidth:b,contentHeight:I}=Mb(r,g,D),{arrowWidth:E,arrowHeight:N}=Q_(v),A={top:p/2-I/2,left:d/2-b/2,originX:u?"right":"left",originY:"top"},M=kb(u,b,I,E,N,s,a,l,A,i,n),L=r==="cover"?0:uk,q=r==="cover"?0:25,{originX:se,originY:ut,top:Fe,left:tt,bottom:Pt,checkSafeAreaLeft:Ht,checkSafeAreaRight:Ie,arrowTop:Ge,arrowLeft:We,addPopoverBottomClass:dt}=Ab(a,M.top,M.left,L,d,p,b,I,q,M.originX,M.originY,M.referenceCoordinates,M.arrowTop,M.arrowLeft,N),mn=W(),bt=W(),qe=W();return bt.addElement(f.querySelector("ion-backdrop")).fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]),qe.addElement(f.querySelector(".popover-arrow")).addElement(f.querySelector(".popover-content")).fromTo("opacity",.01,1),mn.easing("ease").duration(100).beforeAddWrite(()=>{r==="cover"&&t.style.setProperty("--width",`${b}px`),dt&&t.classList.add("popover-bottom"),Pt!==void 0&&g.style.setProperty("bottom",`${Pt}px`);let Hi=" + var(--ion-safe-area-left, 0)",Nr=" - var(--ion-safe-area-right, 0)",Gi=`${tt}px`;if(Ht&&(Gi=`${tt}px${Hi}`),Ie&&(Gi=`${tt}px${Nr}`),g.style.setProperty("top",`calc(${Fe}px + var(--offset-y, 0))`),g.style.setProperty("left",`calc(${Gi} + var(--offset-x, 0))`),g.style.setProperty("transform-origin",`${ut} ${se}`),v!==null){let TD=M.top!==Fe||M.left!==tt;ck(a,TD,n,i)?(v.style.setProperty("top",`calc(${Ge}px + var(--offset-y, 0))`),v.style.setProperty("left",`calc(${We}px + var(--offset-x, 0))`)):v.style.setProperty("display","none")}}).addAnimation([bt,qe])},fk=t=>{let e=xe(t),o=e.querySelector(".popover-content"),n=e.querySelector(".popover-arrow"),r=W(),i=W(),s=W();return i.addElement(e.querySelector("ion-backdrop")).fromTo("opacity","var(--backdrop-opacity)",0),s.addElement(e.querySelector(".popover-arrow")).addElement(e.querySelector(".popover-content")).fromTo("opacity",.99,0),r.easing("ease").afterAddWrite(()=>{t.style.removeProperty("--width"),t.classList.remove("popover-bottom"),o.style.removeProperty("top"),o.style.removeProperty("left"),o.style.removeProperty("bottom"),o.style.removeProperty("transform-origin"),n&&(n.style.removeProperty("top"),n.style.removeProperty("left"),n.style.removeProperty("display"))}).duration(300).addAnimation([i,s])},hk=12,pk=(t,e)=>{var o;let{event:n,size:r,trigger:i,reference:s,side:a,align:l}=e,c=t.ownerDocument,u=c.dir==="rtl",d=c.defaultView.innerWidth,p=c.defaultView.innerHeight,f=xe(t),g=f.querySelector(".popover-content"),v=i||((o=n==null?void 0:n.detail)===null||o===void 0?void 0:o.ionShadowTarget)||(n==null?void 0:n.target),{contentWidth:D,contentHeight:b}=Mb(r,g,v),I={top:p/2-b/2,left:d/2-D/2,originX:u?"right":"left",originY:"top"},E=kb(u,D,b,0,0,s,a,l,I,i,n),N=r==="cover"?0:hk,{originX:A,originY:M,top:L,left:q,bottom:se}=Ab(a,E.top,E.left,N,d,p,D,b,0,E.originX,E.originY,E.referenceCoordinates),ut=W(),Fe=W(),tt=W(),Pt=W(),Ht=W();return Fe.addElement(f.querySelector("ion-backdrop")).fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]),tt.addElement(f.querySelector(".popover-wrapper")).duration(150).fromTo("opacity",.01,1),Pt.addElement(g).beforeStyles({top:`calc(${L}px + var(--offset-y, 0px))`,left:`calc(${q}px + var(--offset-x, 0px))`,"transform-origin":`${M} ${A}`}).beforeAddWrite(()=>{se!==void 0&&g.style.setProperty("bottom",`${se}px`)}).fromTo("transform","scale(0.8)","scale(1)"),Ht.addElement(f.querySelector(".popover-viewport")).fromTo("opacity",.01,1),ut.easing("cubic-bezier(0.36,0.66,0.04,1)").duration(300).beforeAddWrite(()=>{r==="cover"&&t.style.setProperty("--width",`${D}px`),M==="bottom"&&t.classList.add("popover-bottom")}).addAnimation([Fe,tt,Pt,Ht])},mk=t=>{let e=xe(t),o=e.querySelector(".popover-content"),n=W(),r=W(),i=W();return r.addElement(e.querySelector("ion-backdrop")).fromTo("opacity","var(--backdrop-opacity)",0),i.addElement(e.querySelector(".popover-wrapper")).fromTo("opacity",.99,0),n.easing("ease").afterAddWrite(()=>{t.style.removeProperty("--width"),t.classList.remove("popover-bottom"),o.style.removeProperty("top"),o.style.removeProperty("left"),o.style.removeProperty("bottom"),o.style.removeProperty("transform-origin")}).duration(150).addAnimation([r,i])},gk=':host{--background:var(--ion-background-color, #fff);--min-width:0;--min-height:0;--max-width:auto;--height:auto;--offset-x:0px;--offset-y:0px;left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:fixed;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;outline:none;color:var(--ion-text-color, #000);z-index:1001}:host(.popover-nested){pointer-events:none}:host(.popover-nested) .popover-wrapper{pointer-events:auto}:host(.overlay-hidden){display:none}.popover-wrapper{z-index:10}.popover-content{display:-ms-flexbox;display:flex;position:absolute;-ms-flex-direction:column;flex-direction:column;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);background:var(--background);-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);overflow:auto;z-index:10}::slotted(.popover-viewport){--ion-safe-area-top:0px;--ion-safe-area-right:0px;--ion-safe-area-bottom:0px;--ion-safe-area-left:0px;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}:host(.popover-nested.popover-side-left){--offset-x:5px}:host(.popover-nested.popover-side-right){--offset-x:-5px}:host(.popover-nested.popover-side-start){--offset-x:5px}:host-context([dir=rtl]):host(.popover-nested.popover-side-start),:host-context([dir=rtl]).popover-nested.popover-side-start{--offset-x:-5px}@supports selector(:dir(rtl)){:host(.popover-nested.popover-side-start:dir(rtl)){--offset-x:-5px}}:host(.popover-nested.popover-side-end){--offset-x:-5px}:host-context([dir=rtl]):host(.popover-nested.popover-side-end),:host-context([dir=rtl]).popover-nested.popover-side-end{--offset-x:5px}@supports selector(:dir(rtl)){:host(.popover-nested.popover-side-end:dir(rtl)){--offset-x:5px}}:host{--width:200px;--max-height:90%;--box-shadow:none;--backdrop-opacity:var(--ion-backdrop-opacity, 0.08)}:host(.popover-desktop){--box-shadow:0px 4px 16px 0px rgba(0, 0, 0, 0.12)}.popover-content{border-radius:10px}:host(.popover-desktop) .popover-content{border:0.5px solid var(--ion-color-step-100, var(--ion-background-color-step-100, #e6e6e6))}.popover-arrow{display:block;position:absolute;width:20px;height:10px;overflow:hidden;z-index:11}.popover-arrow::after{top:3px;border-radius:3px;position:absolute;width:14px;height:14px;-webkit-transform:rotate(45deg);transform:rotate(45deg);background:var(--background);content:"";z-index:10}.popover-arrow::after{inset-inline-start:3px}:host(.popover-bottom) .popover-arrow{top:auto;bottom:-10px}:host(.popover-bottom) .popover-arrow::after{top:-6px}:host(.popover-side-left) .popover-arrow{-webkit-transform:rotate(90deg);transform:rotate(90deg)}:host(.popover-side-right) .popover-arrow{-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}:host(.popover-side-top) .popover-arrow{-webkit-transform:rotate(180deg);transform:rotate(180deg)}:host(.popover-side-start) .popover-arrow{-webkit-transform:rotate(90deg);transform:rotate(90deg)}:host-context([dir=rtl]):host(.popover-side-start) .popover-arrow,:host-context([dir=rtl]).popover-side-start .popover-arrow{-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}@supports selector(:dir(rtl)){:host(.popover-side-start:dir(rtl)) .popover-arrow{-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}}:host(.popover-side-end) .popover-arrow{-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}:host-context([dir=rtl]):host(.popover-side-end) .popover-arrow,:host-context([dir=rtl]).popover-side-end .popover-arrow{-webkit-transform:rotate(90deg);transform:rotate(90deg)}@supports selector(:dir(rtl)){:host(.popover-side-end:dir(rtl)) .popover-arrow{-webkit-transform:rotate(90deg);transform:rotate(90deg)}}.popover-arrow,.popover-content{opacity:0}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){:host(.popover-translucent) .popover-content,:host(.popover-translucent) .popover-arrow::after{background:rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8);-webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px)}}',vk=gk,yk=":host{--background:var(--ion-background-color, #fff);--min-width:0;--min-height:0;--max-width:auto;--height:auto;--offset-x:0px;--offset-y:0px;left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:fixed;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;outline:none;color:var(--ion-text-color, #000);z-index:1001}:host(.popover-nested){pointer-events:none}:host(.popover-nested) .popover-wrapper{pointer-events:auto}:host(.overlay-hidden){display:none}.popover-wrapper{z-index:10}.popover-content{display:-ms-flexbox;display:flex;position:absolute;-ms-flex-direction:column;flex-direction:column;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);background:var(--background);-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);overflow:auto;z-index:10}::slotted(.popover-viewport){--ion-safe-area-top:0px;--ion-safe-area-right:0px;--ion-safe-area-bottom:0px;--ion-safe-area-left:0px;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}:host(.popover-nested.popover-side-left){--offset-x:5px}:host(.popover-nested.popover-side-right){--offset-x:-5px}:host(.popover-nested.popover-side-start){--offset-x:5px}:host-context([dir=rtl]):host(.popover-nested.popover-side-start),:host-context([dir=rtl]).popover-nested.popover-side-start{--offset-x:-5px}@supports selector(:dir(rtl)){:host(.popover-nested.popover-side-start:dir(rtl)){--offset-x:-5px}}:host(.popover-nested.popover-side-end){--offset-x:-5px}:host-context([dir=rtl]):host(.popover-nested.popover-side-end),:host-context([dir=rtl]).popover-nested.popover-side-end{--offset-x:5px}@supports selector(:dir(rtl)){:host(.popover-nested.popover-side-end:dir(rtl)){--offset-x:5px}}:host{--width:250px;--max-height:90%;--box-shadow:0 5px 5px -3px rgba(0, 0, 0, 0.2), 0 8px 10px 1px rgba(0, 0, 0, 0.14), 0 3px 14px 2px rgba(0, 0, 0, 0.12);--backdrop-opacity:var(--ion-backdrop-opacity, 0.32)}.popover-content{border-radius:4px;-webkit-transform-origin:left top;transform-origin:left top}:host-context([dir=rtl]) .popover-content{-webkit-transform-origin:right top;transform-origin:right top}[dir=rtl] .popover-content{-webkit-transform-origin:right top;transform-origin:right top}@supports selector(:dir(rtl)){.popover-content:dir(rtl){-webkit-transform-origin:right top;transform-origin:right top}}.popover-viewport{-webkit-transition-delay:100ms;transition-delay:100ms}.popover-wrapper{opacity:0}",bk=yk,Rb=Y(class extends Z{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.didPresent=F(this,"ionPopoverDidPresent",7),this.willPresent=F(this,"ionPopoverWillPresent",7),this.willDismiss=F(this,"ionPopoverWillDismiss",7),this.didDismiss=F(this,"ionPopoverDidDismiss",7),this.didPresentShorthand=F(this,"didPresent",7),this.willPresentShorthand=F(this,"willPresent",7),this.willDismissShorthand=F(this,"willDismiss",7),this.didDismissShorthand=F(this,"didDismiss",7),this.ionMount=F(this,"ionMount",7),this.parentPopover=null,this.coreDelegate=Ka(),this.lockController=Cr(),this.inline=!1,this.focusDescendantOnPresent=!1,this.onBackdropTap=()=>{this.dismiss(void 0,vr)},this.onLifecycle=e=>{let o=this.usersElement,n=Dk[e.type];if(o&&n){let r=new CustomEvent(n,{bubbles:!1,cancelable:!1,detail:e.detail});o.dispatchEvent(r)}},this.configureTriggerInteraction=()=>{let{trigger:e,triggerAction:o,el:n,destroyTriggerInteraction:r}=this;if(r&&r(),e===void 0)return;let i=this.triggerEl=e!==void 0?document.getElementById(e):null;if(!i){Ft(`A trigger element with the ID "${e}" was not found in the DOM. The trigger element must be in the DOM when the "trigger" property is set on ion-popover.`,this.el);return}this.destroyTriggerInteraction=X_(i,o,n)},this.configureKeyboardInteraction=()=>{let{destroyKeyboardInteraction:e,el:o}=this;e&&e(),this.destroyKeyboardInteraction=nk(o)},this.configureDismissInteraction=()=>{let{destroyDismissInteraction:e,parentPopover:o,triggerAction:n,triggerEl:r,el:i}=this;!o||!r||(e&&e(),this.destroyDismissInteraction=K_(r,n,i,o))},this.presented=!1,this.hasController=!1,this.delegate=void 0,this.overlayIndex=void 0,this.enterAnimation=void 0,this.leaveAnimation=void 0,this.component=void 0,this.componentProps=void 0,this.keyboardClose=!0,this.cssClass=void 0,this.backdropDismiss=!0,this.event=void 0,this.showBackdrop=!0,this.translucent=!1,this.animated=!0,this.htmlAttributes=void 0,this.triggerAction="click",this.trigger=void 0,this.size="auto",this.dismissOnSelect=!1,this.reference="trigger",this.side="bottom",this.alignment=void 0,this.arrow=!0,this.isOpen=!1,this.keyboardEvents=!1,this.focusTrap=!0,this.keepContentsMounted=!1}onTriggerChange(){this.configureTriggerInteraction()}onIsOpenChange(e,o){e===!0&&o===!1?this.present():e===!1&&o===!0&&this.dismiss()}connectedCallback(){let{configureTriggerInteraction:e,el:o}=this;el(o),e()}disconnectedCallback(){let{destroyTriggerInteraction:e}=this;e&&e()}componentWillLoad(){var e,o;let{el:n}=this,r=(o=(e=this.htmlAttributes)===null||e===void 0?void 0:e.id)!==null&&o!==void 0?o:tl(n);this.parentPopover=n.closest(`ion-popover:not(#${r})`),this.alignment===void 0&&(this.alignment=U(this)==="ios"?"center":"start")}componentDidLoad(){let{parentPopover:e,isOpen:o}=this;o===!0&&wt(()=>this.present()),e&&$n(e,"ionPopoverWillDismiss",()=>{this.dismiss(void 0,void 0,!1)}),this.configureTriggerInteraction()}async presentFromTrigger(e,o=!1){this.focusDescendantOnPresent=o,await this.present(e),this.focusDescendantOnPresent=!1}getDelegate(e=!1){if(this.workingDelegate&&!e)return{delegate:this.workingDelegate,inline:this.inline};let o=this.el.parentNode,n=this.inline=o!==null&&!this.hasController,r=this.workingDelegate=n?this.delegate||this.coreDelegate:this.delegate;return{inline:n,delegate:r}}async present(e){let o=await this.lockController.lock();if(this.presented){o();return}let{el:n}=this,{inline:r,delegate:i}=this.getDelegate(!0);this.ionMount.emit(),this.usersElement=await Fn(i,n,this.component,["popover-viewport"],this.componentProps,r),this.keyboardEvents||this.configureKeyboardInteraction(),this.configureDismissInteraction(),Gt(n)?await Zi(this.usersElement):this.keepContentsMounted||await qi(),await ol(this,"popoverEnter",dk,pk,{event:e||this.event,size:this.size,trigger:this.triggerEl,reference:this.reference,side:this.side,align:this.alignment}),this.focusDescendantOnPresent&&Xa(n),o()}async dismiss(e,o,n=!0){let r=await this.lockController.lock(),{destroyKeyboardInteraction:i,destroyDismissInteraction:s}=this;n&&this.parentPopover&&this.parentPopover.dismiss(e,o,n);let a=await rl(this,e,o,"popoverLeave",fk,mk,this.event);if(a){i&&(i(),this.destroyKeyboardInteraction=void 0),s&&(s(),this.destroyDismissInteraction=void 0);let{delegate:l}=this.getDelegate();await gr(l,this.usersElement)}return r(),a}async getParentPopover(){return this.parentPopover}onDidDismiss(){return yr(this.el,"ionPopoverDidDismiss")}onWillDismiss(){return yr(this.el,"ionPopoverWillDismiss")}render(){let e=U(this),{onLifecycle:o,parentPopover:n,dismissOnSelect:r,side:i,arrow:s,htmlAttributes:a,focusTrap:l}=this,c=Ne("desktop"),u=s&&!n;return C(X,Object.assign({key:"ffe8b37c9ffb5cac210a7307e6cdfcf78712905b","aria-modal":"true","no-router":!0,tabindex:"-1"},a,{style:{zIndex:`${2e4+this.overlayIndex}`},class:Object.assign(Object.assign({},Qa(this.cssClass)),{[e]:!0,"popover-translucent":this.translucent,"overlay-hidden":!0,"popover-desktop":c,[`popover-side-${i}`]:!0,[go]:l===!1,"popover-nested":!!n}),onIonPopoverDidPresent:o,onIonPopoverWillPresent:o,onIonPopoverWillDismiss:o,onIonPopoverDidDismiss:o,onIonBackdropTap:this.onBackdropTap}),!n&&C("ion-backdrop",{key:"12b3ffa3928b4d56a4f09c3d2f5d493d47b45255",tappable:this.backdropDismiss,visible:this.showBackdrop,part:"backdrop"}),C("div",{key:"2c2862d5c7e75b637973c712b4982bf4978c0cdf",class:"popover-wrapper ion-overlay-wrapper",onClick:r?()=>this.dismiss():void 0},u&&C("div",{key:"0cfacc52afaa7abc28c1b7742889d7a1c23a37ad",class:"popover-arrow",part:"arrow"}),C("div",{key:"3ef570c44d4fe7f063dd419008c92c8c40d3cd22",class:"popover-content",part:"content"},C("slot",{key:"6fc5dfdce20fee1642bc1f05d41b5bf7d1034457"}))))}get el(){return this}static get watchers(){return{trigger:["onTriggerChange"],triggerAction:["onTriggerChange"],isOpen:["onIsOpenChange"]}}static get style(){return{ios:vk,md:bk}}},[33,"ion-popover",{hasController:[4,"has-controller"],delegate:[16],overlayIndex:[2,"overlay-index"],enterAnimation:[16],leaveAnimation:[16],component:[1],componentProps:[16],keyboardClose:[4,"keyboard-close"],cssClass:[1,"css-class"],backdropDismiss:[4,"backdrop-dismiss"],event:[8],showBackdrop:[4,"show-backdrop"],translucent:[4],animated:[4],htmlAttributes:[16],triggerAction:[1,"trigger-action"],trigger:[1],size:[1],dismissOnSelect:[4,"dismiss-on-select"],reference:[1],side:[1],alignment:[1025],arrow:[4],isOpen:[4,"is-open"],keyboardEvents:[4,"keyboard-events"],focusTrap:[4,"focus-trap"],keepContentsMounted:[4,"keep-contents-mounted"],presented:[32],presentFromTrigger:[64],present:[64],dismiss:[64],getParentPopover:[64],onDidDismiss:[64],onWillDismiss:[64]},void 0,{trigger:["onTriggerChange"],triggerAction:["onTriggerChange"],isOpen:["onIsOpenChange"]}]),Dk={ionPopoverDidPresent:"ionViewDidEnter",ionPopoverWillPresent:"ionViewWillEnter",ionPopoverWillDismiss:"ionViewWillLeave",ionPopoverDidDismiss:"ionViewDidLeave"};function Nb(){if(typeof customElements>"u")return;["ion-popover","ion-backdrop"].forEach(e=>{switch(e){case"ion-popover":customElements.get(e)||customElements.define(e,Rb);break;case"ion-backdrop":customElements.get(e)||ul();break}})}var Ob=Nb;var wk="html.plt-mobile ion-app{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}html.plt-mobile ion-app [contenteditable]{-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}ion-app.force-statusbar-padding{--ion-safe-area-top:20px}",Ck=wk,Ik=Y(class extends Z{constructor(){super(),this.__registerHost()}componentDidLoad(){Do.isBrowser&&xk(async()=>{let e=Ne(window,"hybrid");if(ge.getBoolean("_testing")||import("./index9-WPIKX67G.js").then(r=>r.startTapClick(ge)),ge.getBoolean("statusTap",e)&&import("./status-tap-B5YZMDD6.js").then(r=>r.startStatusTap()),ge.getBoolean("inputShims",Ek())){let r=Ne(window,"ios")?"ios":"android";import("./input-shims-BPQGXCCG.js").then(i=>i.startInputShims(ge,r))}let o=await import("./hardware-back-button-U2GQDDAG.js"),n=e||Pr();ge.getBoolean("hardwareBackButton",n)?o.startHardwareBackButton():(Pr()&&Ft("experimentalCloseWatcher was set to `true`, but hardwareBackButton was set to `false`. Both config options must be `true` for the Close Watcher API to be used."),o.blockHardwareBackButton()),typeof window<"u"&&import("./keyboard2-MFAHWUFX.js").then(r=>r.startKeyboardAssist(window)),import("./focus-visible-RKAWZ4OE.js").then(r=>this.focusVisible=r.startFocusVisible())})}async setFocus(e){this.focusVisible&&this.focusVisible.setFocus(e)}render(){let e=U(this);return C(X,{key:"96715520fd05d6f0e6fa26a8ba78792cfccd4c0a",class:{[e]:!0,"ion-page":!0,"force-statusbar-padding":ge.getBoolean("_forceStatusbarPadding")}})}get el(){return this}static get style(){return Ck}},[0,"ion-app",{setFocus:[64]}]),Ek=()=>!!(Ne(window,"ios")&&Ne(window,"mobile")||Ne(window,"android")&&Ne(window,"mobileweb")),xk=t=>{"requestIdleCallback"in window?window.requestIdleCallback(t):setTimeout(t,32)};function Sk(){if(typeof customElements>"u")return;["ion-app"].forEach(e=>{switch(e){case"ion-app":customElements.get(e)||customElements.define(e,Ik);break}})}var Pb=Sk;var Tk=':host{--background:var(--ion-background-color, #fff);--color:var(--ion-text-color, #000);--padding-top:0px;--padding-bottom:0px;--padding-start:0px;--padding-end:0px;--keyboard-offset:0px;--offset-top:0px;--offset-bottom:0px;--overflow:auto;display:block;position:relative;-ms-flex:1;flex:1;width:100%;height:100%;margin:0 !important;padding:0 !important;font-family:var(--ion-font-family, inherit);contain:size style}:host(.ion-color) .inner-scroll{background:var(--ion-color-base);color:var(--ion-color-contrast)}#background-content{left:0px;right:0px;top:calc(var(--offset-top) * -1);bottom:calc(var(--offset-bottom) * -1);position:absolute;background:var(--background)}.inner-scroll{left:0px;right:0px;top:calc(var(--offset-top) * -1);bottom:calc(var(--offset-bottom) * -1);-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:calc(var(--padding-top) + var(--offset-top));padding-bottom:calc(var(--padding-bottom) + var(--keyboard-offset) + var(--offset-bottom));position:absolute;color:var(--color);-webkit-box-sizing:border-box;box-sizing:border-box;overflow:hidden;-ms-touch-action:pan-x pan-y pinch-zoom;touch-action:pan-x pan-y pinch-zoom}.scroll-y,.scroll-x{-webkit-overflow-scrolling:touch;z-index:0;will-change:scroll-position}.scroll-y{overflow-y:var(--overflow);overscroll-behavior-y:contain}.scroll-x{overflow-x:var(--overflow);overscroll-behavior-x:contain}.overscroll::before,.overscroll::after{position:absolute;width:1px;height:1px;content:""}.overscroll::before{bottom:-1px}.overscroll::after{top:-1px}:host(.content-sizing){display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;min-height:0;contain:none}:host(.content-sizing) .inner-scroll{position:relative;top:0;bottom:0;margin-top:calc(var(--offset-top) * -1);margin-bottom:calc(var(--offset-bottom) * -1)}.transition-effect{display:none;position:absolute;width:100%;height:100vh;opacity:0;pointer-events:none}:host(.content-ltr) .transition-effect{left:-100%;}:host(.content-rtl) .transition-effect{right:-100%;}.transition-cover{position:absolute;right:0;width:100%;height:100%;background:black;opacity:0.1}.transition-shadow{display:block;position:absolute;width:100%;height:100%;-webkit-box-shadow:inset -9px 0 9px 0 rgba(0, 0, 100, 0.03);box-shadow:inset -9px 0 9px 0 rgba(0, 0, 100, 0.03)}:host(.content-ltr) .transition-shadow{right:0;}:host(.content-rtl) .transition-shadow{left:0;-webkit-transform:scaleX(-1);transform:scaleX(-1)}::slotted([slot=fixed]){position:absolute;-webkit-transform:translateZ(0);transform:translateZ(0)}',Mk=Tk,Fb=Y(class extends Z{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.ionScrollStart=F(this,"ionScrollStart",7),this.ionScroll=F(this,"ionScroll",7),this.ionScrollEnd=F(this,"ionScrollEnd",7),this.watchDog=null,this.isScrolling=!1,this.lastScroll=0,this.queued=!1,this.cTop=-1,this.cBottom=-1,this.isMainContent=!0,this.resizeTimeout=null,this.inheritedAttributes={},this.tabsElement=null,this.detail={scrollTop:0,scrollLeft:0,type:"scroll",event:void 0,startX:0,startY:0,startTime:0,currentX:0,currentY:0,velocityX:0,velocityY:0,deltaX:0,deltaY:0,currentTime:0,data:void 0,isScrolling:!0},this.color=void 0,this.fullscreen=!1,this.fixedSlotPlacement="after",this.forceOverscroll=void 0,this.scrollX=!1,this.scrollY=!0,this.scrollEvents=!1}componentWillLoad(){this.inheritedAttributes=Wi(this.el)}connectedCallback(){if(this.isMainContent=this.el.closest("ion-menu, ion-popover, ion-modal")===null,Gt(this.el)){let e=this.tabsElement=this.el.closest("ion-tabs");e!==null&&(this.tabsLoadCallback=()=>this.resize(),e.addEventListener("ionTabBarLoaded",this.tabsLoadCallback))}}disconnectedCallback(){if(this.onScrollEnd(),Gt(this.el)){let{tabsElement:e,tabsLoadCallback:o}=this;e!==null&&o!==void 0&&e.removeEventListener("ionTabBarLoaded",o),this.tabsElement=null,this.tabsLoadCallback=void 0}}onResize(){this.resizeTimeout&&(clearTimeout(this.resizeTimeout),this.resizeTimeout=null),this.resizeTimeout=setTimeout(()=>{this.el.offsetParent!==null&&this.resize()},100)}shouldForceOverscroll(){let{forceOverscroll:e}=this,o=U(this);return e===void 0?o==="ios"&&Ne("ios"):e}resize(){Do.isBrowser&&(this.fullscreen?gn(()=>this.readDimensions()):(this.cTop!==0||this.cBottom!==0)&&(this.cTop=this.cBottom=0,Ln(this)))}readDimensions(){let e=kk(this.el),o=Math.max(this.el.offsetTop,0),n=Math.max(e.offsetHeight-o-this.el.offsetHeight,0);(o!==this.cTop||n!==this.cBottom)&&(this.cTop=o,this.cBottom=n,Ln(this))}onScroll(e){let o=Date.now(),n=!this.isScrolling;this.lastScroll=o,n&&this.onScrollStart(),!this.queued&&this.scrollEvents&&(this.queued=!0,gn(r=>{this.queued=!1,this.detail.event=e,Ak(this.detail,this.scrollEl,r,n),this.ionScroll.emit(this.detail)}))}async getScrollElement(){return this.scrollEl||await new Promise(e=>Dt(this.el,e)),Promise.resolve(this.scrollEl)}async getBackgroundElement(){return this.backgroundContentEl||await new Promise(e=>Dt(this.el,e)),Promise.resolve(this.backgroundContentEl)}scrollToTop(e=0){return this.scrollToPoint(void 0,0,e)}async scrollToBottom(e=0){let o=await this.getScrollElement(),n=o.scrollHeight-o.clientHeight;return this.scrollToPoint(void 0,n,e)}async scrollByPoint(e,o,n){let r=await this.getScrollElement();return this.scrollToPoint(e+r.scrollLeft,o+r.scrollTop,n)}async scrollToPoint(e,o,n=0){let r=await this.getScrollElement();if(n<32){o!=null&&(r.scrollTop=o),e!=null&&(r.scrollLeft=e);return}let i,s=0,a=new Promise(f=>i=f),l=r.scrollTop,c=r.scrollLeft,u=o!=null?o-l:0,d=e!=null?e-c:0,p=f=>{let g=Math.min(1,(f-s)/n)-1,v=Math.pow(g,3)+1;u!==0&&(r.scrollTop=Math.floor(v*u+l)),d!==0&&(r.scrollLeft=Math.floor(v*d+c)),v<1?requestAnimationFrame(p):i()};return requestAnimationFrame(f=>{s=f,p(f)}),a}onScrollStart(){this.isScrolling=!0,this.ionScrollStart.emit({isScrolling:!0}),this.watchDog&&clearInterval(this.watchDog),this.watchDog=setInterval(()=>{this.lastScrollthis.backgroundContentEl=d,id:"background-content",part:"background"}),e==="before"?C("slot",{name:"fixed"}):null,C("div",{key:"29a23b663f5f0215bb000820c01e1814c0d55985",class:{"inner-scroll":!0,"scroll-x":r,"scroll-y":i,overscroll:(r||i)&&c},ref:d=>this.scrollEl=d,onScroll:this.scrollEvents?d=>this.onScroll(d):void 0,part:"scroll"},C("slot",{key:"0fe1bd05609a4b88ae2ce9addf5d5dc5dc1806f0"})),u?C("div",{class:"transition-effect"},C("div",{class:"transition-cover"}),C("div",{class:"transition-shadow"})):null,e==="after"?C("slot",{name:"fixed"}):null)}get el(){return this}static get style(){return Mk}},[1,"ion-content",{color:[513],fullscreen:[4],fixedSlotPlacement:[1,"fixed-slot-placement"],forceOverscroll:[1028,"force-overscroll"],scrollX:[4,"scroll-x"],scrollY:[4,"scroll-y"],scrollEvents:[4,"scroll-events"],getScrollElement:[64],getBackgroundElement:[64],scrollToTop:[64],scrollToBottom:[64],scrollByPoint:[64],scrollToPoint:[64]},[[9,"resize","onResize"]]]),_k=t=>{var e;return t.parentElement?t.parentElement:!((e=t.parentNode)===null||e===void 0)&&e.host?t.parentNode.host:null},kk=t=>{let e=t.closest("ion-tabs");if(e)return e;let o=t.closest("ion-app, ion-page, .ion-page, page-inner, .popover-content");return o||_k(t)},Ak=(t,e,o,n)=>{let r=t.currentX,i=t.currentY,s=t.currentTime,a=e.scrollLeft,l=e.scrollTop,c=o-s;if(n&&(t.startTime=o,t.startX=a,t.startY=l,t.velocityX=t.velocityY=0),t.currentTime=o,t.currentX=t.scrollLeft=a,t.currentY=t.scrollTop=l,t.deltaX=a-t.startX,t.deltaY=l-t.startY,c>0&&c<100){let u=(a-r)/c,d=(l-i)/c;t.velocityX=u*.7+t.velocityX*.3,t.velocityY=d*.7+t.velocityY*.3}};function Lb(){if(typeof customElements>"u")return;["ion-content"].forEach(e=>{switch(e){case"ion-content":customElements.get(e)||customElements.define(e,Fb);break}})}var $b=Lb;var Bb=t=>{if(ft===void 0||t===kh.None||t===void 0)return null;let e=ft.querySelector("ion-app");return e!=null?e:ft.body},jb=t=>{let e=Bb(t);return e===null?0:e.clientHeight},Vb=async t=>{let e,o,n,r,i=async()=>{let u=await Ah.getResizeMode(),d=u===void 0?void 0:u.mode;e=()=>{r===void 0&&(r=jb(d)),n=!0,s(n,d)},o=()=>{n=!1,s(n,d)},Ee===null||Ee===void 0||Ee.addEventListener("keyboardWillShow",e),Ee===null||Ee===void 0||Ee.addEventListener("keyboardWillHide",o)},s=(u,d)=>{t&&t(u,a(d))},a=u=>{if(r===0||r===jb(u))return;let d=Bb(u);if(d!==null)return new Promise(p=>{let f=()=>{d.clientHeight===r&&(g.disconnect(),p())},g=new ResizeObserver(f);g.observe(d)})},l=()=>{Ee===null||Ee===void 0||Ee.removeEventListener("keyboardWillShow",e),Ee===null||Ee===void 0||Ee.removeEventListener("keyboardWillHide",o),e=o=void 0},c=()=>n;return await i(),{init:i,destroy:l,isKeyboardVisible:c}};var Rk="all 0.2s ease-in-out",Ub=t=>{let e=document.querySelector(`${t}.ion-cloned-element`);if(e!==null)return e;let o=document.createElement(t);return o.classList.add("ion-cloned-element"),o.style.setProperty("display","none"),document.body.appendChild(o),o},zb=t=>{if(!t)return;let e=t.querySelectorAll("ion-toolbar");return{el:t,toolbars:Array.from(e).map(o=>{let n=o.querySelector("ion-title");return{el:o,background:o.shadowRoot.querySelector(".toolbar-background"),ionTitleEl:n,innerTitleEl:n?n.shadowRoot.querySelector(".toolbar-title"):null,ionButtonsEl:Array.from(o.querySelectorAll("ion-buttons"))}})}},Nk=(t,e,o)=>{gn(()=>{let n=t.scrollTop,r=vn(1,1+-n/500,1.1);o.querySelector("ion-refresher.refresher-native")===null&&nt(()=>{Fk(e.toolbars,r)})})},jf=(t,e)=>{t.collapse!=="fade"&&(e===void 0?t.style.removeProperty("--opacity-scale"):t.style.setProperty("--opacity-scale",e.toString()))},Ok=(t,e,o)=>{if(!t[0].isIntersecting)return;let n=t[0].intersectionRatio>.9||o<=0?0:(1-t[0].intersectionRatio)*100/75;jf(e.el,n===1?void 0:n)},Pk=(t,e,o,n)=>{nt(()=>{let r=n.scrollTop;Ok(t,e,r);let i=t[0],s=i.intersectionRect,a=s.width*s.height,l=i.rootBounds.width*i.rootBounds.height,c=a===0&&l===0,u=Math.abs(s.left-i.boundingClientRect.left),d=Math.abs(s.right-i.boundingClientRect.right),p=a>0&&(u>=5||d>=5);c||p||(i.isIntersecting?(Ni(e,!1),Ni(o)):(s.x===0&&s.y===0||s.width!==0&&s.height!==0)&&r>0&&(Ni(e),Ni(o,!1),jf(e.el)))})},Ni=(t,e=!0)=>{let o=t.el,r=t.toolbars.map(i=>i.ionTitleEl);e?(o.classList.remove("header-collapse-condense-inactive"),r.forEach(i=>{i&&i.removeAttribute("aria-hidden")})):(o.classList.add("header-collapse-condense-inactive"),r.forEach(i=>{i&&i.setAttribute("aria-hidden","true")}))},Fk=(t=[],e=1,o=!1)=>{t.forEach(n=>{let r=n.ionTitleEl,i=n.innerTitleEl;!r||r.size!=="large"||(i.style.transition=o?Rk:"",i.style.transform=`scale3d(${e}, ${e}, 1)`)})},Hb=(t,e,o)=>{gn(()=>{let n=t.scrollTop,r=e.clientHeight,i=o?o.clientHeight:0;if(o!==null&&n{t.style.removeProperty("clip-path"),e.style.setProperty("--opacity-scale",l.toString())})})},Lk="ion-header{display:block;position:relative;-ms-flex-order:-1;order:-1;width:100%;z-index:10}ion-header ion-toolbar:first-of-type{padding-top:var(--ion-safe-area-top, 0)}.header-ios ion-toolbar:last-of-type{--border-width:0 0 0.55px}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){.header-background{left:0;right:0;top:0;bottom:0;position:absolute;-webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px)}.header-translucent-ios ion-toolbar{--opacity:.8}.header-collapse-condense-inactive .header-background{-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px)}}.header-ios.ion-no-border ion-toolbar:last-of-type{--border-width:0}.header-collapse-fade ion-toolbar{--opacity-scale:inherit}.header-collapse-condense{z-index:9}.header-collapse-condense ion-toolbar{position:-webkit-sticky;position:sticky;top:0}.header-collapse-condense ion-toolbar:first-of-type{padding-top:0px;z-index:1}.header-collapse-condense ion-toolbar{--background:var(--ion-background-color, #fff);z-index:0}.header-collapse-condense ion-toolbar:last-of-type{--border-width:0px}.header-collapse-condense ion-toolbar ion-searchbar{padding-top:0px;padding-bottom:13px}.header-collapse-main{--opacity-scale:1}.header-collapse-main ion-toolbar{--opacity-scale:inherit}.header-collapse-main ion-toolbar.in-toolbar ion-title,.header-collapse-main ion-toolbar.in-toolbar ion-buttons{-webkit-transition:all 0.2s ease-in-out;transition:all 0.2s ease-in-out}.header-collapse-condense-inactive:not(.header-collapse-condense) ion-toolbar.in-toolbar ion-title,.header-collapse-condense-inactive:not(.header-collapse-condense) ion-toolbar.in-toolbar ion-buttons.buttons-collapse{opacity:0;pointer-events:none}.header-collapse-condense-inactive.header-collapse-condense ion-toolbar.in-toolbar ion-title,.header-collapse-condense-inactive.header-collapse-condense ion-toolbar.in-toolbar ion-buttons.buttons-collapse{visibility:hidden}ion-header.header-ios:not(.header-collapse-main):has(~ion-content ion-header.header-ios[collapse=condense],~ion-content ion-header.header-ios.header-collapse-condense){opacity:0}",$k=Lk,jk="ion-header{display:block;position:relative;-ms-flex-order:-1;order:-1;width:100%;z-index:10}ion-header ion-toolbar:first-of-type{padding-top:var(--ion-safe-area-top, 0)}.header-md{-webkit-box-shadow:0 2px 4px -1px rgba(0, 0, 0, 0.2), 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 10px 0 rgba(0, 0, 0, 0.12);box-shadow:0 2px 4px -1px rgba(0, 0, 0, 0.2), 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 10px 0 rgba(0, 0, 0, 0.12)}.header-collapse-condense{display:none}.header-md.ion-no-border{-webkit-box-shadow:none;box-shadow:none}",Bk=jk,Gb=Y(class extends Z{constructor(){super(),this.__registerHost(),this.inheritedAttributes={},this.setupFadeHeader=async(e,o)=>{let n=this.scrollEl=await Gl(e);this.contentScrollCallback=()=>{Hb(this.scrollEl,this.el,o)},n.addEventListener("scroll",this.contentScrollCallback),Hb(this.scrollEl,this.el,o)},this.collapse=void 0,this.translucent=!1}componentWillLoad(){this.inheritedAttributes=Wi(this.el)}componentDidLoad(){this.checkCollapsibleHeader()}componentDidUpdate(){this.checkCollapsibleHeader()}disconnectedCallback(){this.destroyCollapsibleHeader()}async checkCollapsibleHeader(){if(U(this)!=="ios")return;let{collapse:o}=this,n=o==="condense",r=o==="fade";if(this.destroyCollapsibleHeader(),n){let i=this.el.closest("ion-app,ion-page,.ion-page,page-inner"),s=i?Lr(i):null;nt(()=>{let a=Ub("ion-title");a.size="large",Ub("ion-back-button")}),await this.setupCondenseHeader(s,i)}else if(r){let i=this.el.closest("ion-app,ion-page,.ion-page,page-inner"),s=i?Lr(i):null;if(!s){$r(this.el);return}let a=s.querySelector('ion-header[collapse="condense"]');await this.setupFadeHeader(s,a)}}destroyCollapsibleHeader(){this.intersectionObserver&&(this.intersectionObserver.disconnect(),this.intersectionObserver=void 0),this.scrollEl&&this.contentScrollCallback&&(this.scrollEl.removeEventListener("scroll",this.contentScrollCallback),this.contentScrollCallback=void 0),this.collapsibleMainHeader&&(this.collapsibleMainHeader.classList.remove("header-collapse-main"),this.collapsibleMainHeader=void 0)}async setupCondenseHeader(e,o){if(!e||!o){$r(this.el);return}if(typeof IntersectionObserver>"u")return;this.scrollEl=await Gl(e);let n=o.querySelectorAll("ion-header");if(this.collapsibleMainHeader=Array.from(n).find(a=>a.collapse!=="condense"),!this.collapsibleMainHeader)return;let r=zb(this.collapsibleMainHeader),i=zb(this.el);if(!r||!i)return;Ni(r,!1),jf(r.el,0);let s=a=>{Pk(a,r,i,this.scrollEl)};this.intersectionObserver=new IntersectionObserver(s,{root:e,threshold:[.25,.3,.4,.5,.6,.7,.8,.9,1]}),this.intersectionObserver.observe(i.toolbars[i.toolbars.length-1].el),this.contentScrollCallback=()=>{Nk(this.scrollEl,i,e)},this.scrollEl.addEventListener("scroll",this.contentScrollCallback),nt(()=>{this.collapsibleMainHeader!==void 0&&this.collapsibleMainHeader.classList.add("header-collapse-main")})}render(){let{translucent:e,inheritedAttributes:o}=this,n=U(this),r=this.collapse||"none",i=ze("ion-menu",this.el)?"none":"banner";return C(X,Object.assign({key:"b6cc27f0b08afc9fcc889683525da765d80ba672",role:i,class:{[n]:!0,[`header-${n}`]:!0,"header-translucent":this.translucent,[`header-collapse-${r}`]:!0,[`header-translucent-${n}`]:this.translucent}},o),n==="ios"&&e&&C("div",{key:"395766d4dcee3398bc91960db21f922095292f14",class:"header-background"}),C("slot",{key:"09a67ece27b258ff1248805d43d92a49b2c6859a"}))}get el(){return this}static get style(){return{ios:$k,md:Bk}}},[36,"ion-header",{collapse:[1],translucent:[4]}]);function Wb(){if(typeof customElements>"u")return;["ion-header"].forEach(e=>{switch(e){case"ion-header":customElements.get(e)||customElements.define(e,Gb);break}})}var qb=Wb;var Vk=".item.sc-ion-label-ios-h,.item .sc-ion-label-ios-h{--color:initial;display:block;color:var(--color);font-family:var(--ion-font-family, inherit);font-size:inherit;text-overflow:ellipsis;-webkit-box-sizing:border-box;box-sizing:border-box}.ion-color.sc-ion-label-ios-h{color:var(--ion-color-base)}.ion-text-nowrap.sc-ion-label-ios-h{overflow:hidden}.item-interactive-disabled.sc-ion-label-ios-h:not(.item-multiple-inputs),.item-interactive-disabled:not(.item-multiple-inputs) .sc-ion-label-ios-h{cursor:default;opacity:0.3;pointer-events:none}.item-input.sc-ion-label-ios-h,.item-input .sc-ion-label-ios-h{-ms-flex:initial;flex:initial;max-width:200px;pointer-events:none}.item-textarea.sc-ion-label-ios-h,.item-textarea .sc-ion-label-ios-h{-ms-flex-item-align:baseline;align-self:baseline}.item-skeleton-text.sc-ion-label-ios-h,.item-skeleton-text .sc-ion-label-ios-h{overflow:hidden}.label-fixed.sc-ion-label-ios-h{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px;max-width:200px}.label-stacked.sc-ion-label-ios-h,.label-floating.sc-ion-label-ios-h{margin-bottom:0;-ms-flex-item-align:stretch;align-self:stretch;width:auto;max-width:100%}.label-no-animate.label-floating.sc-ion-label-ios-h{-webkit-transition:none;transition:none}.sc-ion-label-ios-s h1,.sc-ion-label-ios-s h2,.sc-ion-label-ios-s h3,.sc-ion-label-ios-s h4,.sc-ion-label-ios-s h5,.sc-ion-label-ios-s h6{text-overflow:inherit;overflow:inherit}.ion-text-wrap.sc-ion-label-ios-h{font-size:0.875rem;line-height:1.5}.label-stacked.sc-ion-label-ios-h{margin-bottom:4px;font-size:0.875rem}.label-floating.sc-ion-label-ios-h{margin-bottom:0;-webkit-transform:translate(0, 29px);transform:translate(0, 29px);-webkit-transform-origin:left top;transform-origin:left top;-webkit-transition:-webkit-transform 150ms ease-in-out;transition:-webkit-transform 150ms ease-in-out;transition:transform 150ms ease-in-out;transition:transform 150ms ease-in-out, -webkit-transform 150ms ease-in-out}[dir=rtl].sc-ion-label-ios-h -no-combinator.label-floating.sc-ion-label-ios-h,[dir=rtl] .sc-ion-label-ios-h -no-combinator.label-floating.sc-ion-label-ios-h,[dir=rtl].label-floating.sc-ion-label-ios-h,[dir=rtl] .label-floating.sc-ion-label-ios-h{-webkit-transform-origin:right top;transform-origin:right top}@supports selector(:dir(rtl)){.label-floating.sc-ion-label-ios-h:dir(rtl){-webkit-transform-origin:right top;transform-origin:right top}}.item-textarea.label-floating.sc-ion-label-ios-h,.item-textarea .label-floating.sc-ion-label-ios-h{-webkit-transform:translate(0, 28px);transform:translate(0, 28px)}.item-has-focus.label-floating.sc-ion-label-ios-h,.item-has-focus .label-floating.sc-ion-label-ios-h,.item-has-placeholder.sc-ion-label-ios-h:not(.item-input).label-floating,.item-has-placeholder:not(.item-input) .label-floating.sc-ion-label-ios-h,.item-has-value.label-floating.sc-ion-label-ios-h,.item-has-value .label-floating.sc-ion-label-ios-h{-webkit-transform:scale(0.82);transform:scale(0.82)}.sc-ion-label-ios-s h1{margin-left:0;margin-right:0;margin-top:3px;margin-bottom:2px;font-size:1.375rem;font-weight:normal}.sc-ion-label-ios-s h2{margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;font-size:1.0625rem;font-weight:normal}.sc-ion-label-ios-s h3,.sc-ion-label-ios-s h4,.sc-ion-label-ios-s h5,.sc-ion-label-ios-s h6{margin-left:0;margin-right:0;margin-top:0;margin-bottom:3px;font-size:0.875rem;font-weight:normal;line-height:normal}.sc-ion-label-ios-s p{margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;font-size:0.875rem;line-height:normal;text-overflow:inherit;overflow:inherit}.sc-ion-label-ios-s>p{color:var(--ion-color-step-400, var(--ion-text-color-step-600, #999999))}.sc-ion-label-ios-h.in-item-color.sc-ion-label-ios-s>p{color:inherit}.sc-ion-label-ios-s h2:last-child,.sc-ion-label-ios-s h3:last-child,.sc-ion-label-ios-s h4:last-child,.sc-ion-label-ios-s h5:last-child,.sc-ion-label-ios-s h6:last-child,.sc-ion-label-ios-s p:last-child{margin-bottom:0}",Uk=Vk,zk=".item.sc-ion-label-md-h,.item .sc-ion-label-md-h{--color:initial;display:block;color:var(--color);font-family:var(--ion-font-family, inherit);font-size:inherit;text-overflow:ellipsis;-webkit-box-sizing:border-box;box-sizing:border-box}.ion-color.sc-ion-label-md-h{color:var(--ion-color-base)}.ion-text-nowrap.sc-ion-label-md-h{overflow:hidden}.item-interactive-disabled.sc-ion-label-md-h:not(.item-multiple-inputs),.item-interactive-disabled:not(.item-multiple-inputs) .sc-ion-label-md-h{cursor:default;opacity:0.3;pointer-events:none}.item-input.sc-ion-label-md-h,.item-input .sc-ion-label-md-h{-ms-flex:initial;flex:initial;max-width:200px;pointer-events:none}.item-textarea.sc-ion-label-md-h,.item-textarea .sc-ion-label-md-h{-ms-flex-item-align:baseline;align-self:baseline}.item-skeleton-text.sc-ion-label-md-h,.item-skeleton-text .sc-ion-label-md-h{overflow:hidden}.label-fixed.sc-ion-label-md-h{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px;max-width:200px}.label-stacked.sc-ion-label-md-h,.label-floating.sc-ion-label-md-h{margin-bottom:0;-ms-flex-item-align:stretch;align-self:stretch;width:auto;max-width:100%}.label-no-animate.label-floating.sc-ion-label-md-h{-webkit-transition:none;transition:none}.sc-ion-label-md-s h1,.sc-ion-label-md-s h2,.sc-ion-label-md-s h3,.sc-ion-label-md-s h4,.sc-ion-label-md-s h5,.sc-ion-label-md-s h6{text-overflow:inherit;overflow:inherit}.ion-text-wrap.sc-ion-label-md-h{line-height:1.5}.label-stacked.sc-ion-label-md-h,.label-floating.sc-ion-label-md-h{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-transform-origin:top left;transform-origin:top left}.label-stacked.label-rtl.sc-ion-label-md-h,.label-floating.label-rtl.sc-ion-label-md-h{-webkit-transform-origin:top right;transform-origin:top right}.label-stacked.sc-ion-label-md-h{-webkit-transform:translateY(50%) scale(0.75);transform:translateY(50%) scale(0.75);-webkit-transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1)}.label-floating.sc-ion-label-md-h{-webkit-transform:translateY(96%);transform:translateY(96%);-webkit-transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), transform 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1)}.ion-focused.label-floating.sc-ion-label-md-h,.ion-focused .label-floating.sc-ion-label-md-h,.item-has-focus.label-floating.sc-ion-label-md-h,.item-has-focus .label-floating.sc-ion-label-md-h,.item-has-placeholder.sc-ion-label-md-h:not(.item-input).label-floating,.item-has-placeholder:not(.item-input) .label-floating.sc-ion-label-md-h,.item-has-value.label-floating.sc-ion-label-md-h,.item-has-value .label-floating.sc-ion-label-md-h{-webkit-transform:translateY(50%) scale(0.75);transform:translateY(50%) scale(0.75)}.ion-focused.label-stacked.sc-ion-label-md-h:not(.ion-color),.ion-focused .label-stacked.sc-ion-label-md-h:not(.ion-color),.ion-focused.label-floating.sc-ion-label-md-h:not(.ion-color),.ion-focused .label-floating.sc-ion-label-md-h:not(.ion-color),.item-has-focus.label-stacked.sc-ion-label-md-h:not(.ion-color),.item-has-focus .label-stacked.sc-ion-label-md-h:not(.ion-color),.item-has-focus.label-floating.sc-ion-label-md-h:not(.ion-color),.item-has-focus .label-floating.sc-ion-label-md-h:not(.ion-color){color:var(--ion-color-primary, #0054e9)}.ion-focused.ion-color.label-stacked.sc-ion-label-md-h:not(.ion-color),.ion-focused.ion-color .label-stacked.sc-ion-label-md-h:not(.ion-color),.ion-focused.ion-color.label-floating.sc-ion-label-md-h:not(.ion-color),.ion-focused.ion-color .label-floating.sc-ion-label-md-h:not(.ion-color),.item-has-focus.ion-color.label-stacked.sc-ion-label-md-h:not(.ion-color),.item-has-focus.ion-color .label-stacked.sc-ion-label-md-h:not(.ion-color),.item-has-focus.ion-color.label-floating.sc-ion-label-md-h:not(.ion-color),.item-has-focus.ion-color .label-floating.sc-ion-label-md-h:not(.ion-color){color:var(--ion-color-contrast)}.ion-invalid.ion-touched.label-stacked.sc-ion-label-md-h:not(.ion-color),.ion-invalid.ion-touched .label-stacked.sc-ion-label-md-h:not(.ion-color),.ion-invalid.ion-touched.label-floating.sc-ion-label-md-h:not(.ion-color),.ion-invalid.ion-touched .label-floating.sc-ion-label-md-h:not(.ion-color){color:var(--highlight-color-invalid)}.sc-ion-label-md-s h1{margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;font-size:1.5rem;font-weight:normal}.sc-ion-label-md-s h2{margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px;font-size:1rem;font-weight:normal}.sc-ion-label-md-s h3,.sc-ion-label-md-s h4,.sc-ion-label-md-s h5,.sc-ion-label-md-s h6{margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px;font-size:0.875rem;font-weight:normal;line-height:normal}.sc-ion-label-md-s p{margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;font-size:0.875rem;line-height:1.25rem;text-overflow:inherit;overflow:inherit}.sc-ion-label-md-s>p{color:var(--ion-color-step-600, var(--ion-text-color-step-400, #666666))}.sc-ion-label-md-h.in-item-color.sc-ion-label-md-s>p{color:inherit}",Hk=zk,Zb=Y(class extends Z{constructor(){super(),this.__registerHost(),this.ionColor=F(this,"ionColor",7),this.ionStyle=F(this,"ionStyle",7),this.inRange=!1,this.color=void 0,this.position=void 0,this.noAnimate=!1}componentWillLoad(){this.inRange=!!this.el.closest("ion-range"),this.noAnimate=this.position==="floating",this.emitStyle(),this.emitColor()}componentDidLoad(){this.noAnimate&&setTimeout(()=>{this.noAnimate=!1},1e3)}colorChanged(){this.emitColor()}positionChanged(){this.emitStyle()}emitColor(){let{color:e}=this;this.ionColor.emit({"item-label-color":e!==void 0,[`ion-color-${e}`]:e!==void 0})}emitStyle(){let{inRange:e,position:o}=this;e||this.ionStyle.emit({label:!0,[`label-${o}`]:o!==void 0})}render(){let e=this.position,o=U(this);return C(X,{key:"6353a70565ef6fbbbf4042b000e536c61bcf99a9",class:vt(this.color,{[o]:!0,"in-item-color":ze("ion-item.ion-color",this.el),[`label-${e}`]:e!==void 0,"label-no-animate":this.noAnimate,"label-rtl":document.dir==="rtl"})},C("slot",{key:"6ef9c2758c0168442aa84941af0a6cec1ef1ec21"}))}get el(){return this}static get watchers(){return{color:["colorChanged"],position:["positionChanged"]}}static get style(){return{ios:Uk,md:Hk}}},[38,"ion-label",{color:[513],position:[1],noAnimate:[32]},void 0,{color:["colorChanged"],position:["positionChanged"]}]);function Yb(){if(typeof customElements>"u")return;["ion-label"].forEach(e=>{switch(e){case"ion-label":customElements.get(e)||customElements.define(e,Zb);break}})}var Qb=Yb;var Gk=':host{--color:initial;--color-hover:var(--color);--color-checked:var(--color);--color-disabled:var(--color);--padding-start:0;--padding-end:0;--padding-top:0;--padding-bottom:0;border-radius:var(--border-radius);display:-ms-flexbox;display:flex;position:relative;-ms-flex-direction:column;flex-direction:column;height:auto;background:var(--background);color:var(--color);text-decoration:none;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;grid-row:1;-webkit-font-kerning:none;font-kerning:none}.button-native{border-radius:0;font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;-webkit-margin-start:var(--margin-start);margin-inline-start:var(--margin-start);-webkit-margin-end:var(--margin-end);margin-inline-end:var(--margin-end);margin-top:var(--margin-top);margin-bottom:var(--margin-bottom);-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);display:-ms-flexbox;display:flex;position:relative;-ms-flex-direction:inherit;flex-direction:inherit;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;min-width:inherit;max-width:inherit;height:auto;min-height:inherit;max-height:inherit;-webkit-transition:var(--transition);transition:var(--transition);border:none;outline:none;background:transparent;contain:content;pointer-events:none;overflow:hidden;z-index:2}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}.button-inner{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:inherit;flex-flow:inherit;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;z-index:1}:host(.segment-button-checked){background:var(--background-checked);color:var(--color-checked)}:host(.segment-button-disabled){cursor:default;pointer-events:none}:host(.ion-focused) .button-native{color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}:host(:focus){outline:none}@media (any-hover: hover){:host(:hover) .button-native{color:var(--color-hover)}:host(:hover) .button-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity)}:host(.segment-button-checked:hover) .button-native{color:var(--color-checked)}}::slotted(ion-icon){-ms-flex-negative:0;flex-shrink:0;-ms-flex-order:-1;order:-1;pointer-events:none}::slotted(ion-label){display:block;-ms-flex-item-align:center;align-self:center;max-width:100%;line-height:22px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box;pointer-events:none}:host(.segment-button-layout-icon-top) .button-native{-ms-flex-direction:column;flex-direction:column}:host(.segment-button-layout-icon-start) .button-native{-ms-flex-direction:row;flex-direction:row}:host(.segment-button-layout-icon-end) .button-native{-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.segment-button-layout-icon-bottom) .button-native{-ms-flex-direction:column-reverse;flex-direction:column-reverse}:host(.segment-button-layout-icon-hide) ::slotted(ion-icon){display:none}:host(.segment-button-layout-label-hide) ::slotted(ion-label){display:none}ion-ripple-effect{color:var(--ripple-color, var(--color-checked))}.segment-button-indicator{-webkit-transform-origin:left;transform-origin:left;position:absolute;opacity:0;-webkit-box-sizing:border-box;box-sizing:border-box;will-change:transform, opacity;pointer-events:none}.segment-button-indicator-background{width:100%;height:var(--indicator-height);-webkit-transform:var(--indicator-transform);transform:var(--indicator-transform);-webkit-box-shadow:var(--indicator-box-shadow);box-shadow:var(--indicator-box-shadow);pointer-events:none}.segment-button-indicator-animated{-webkit-transition:var(--indicator-transition);transition:var(--indicator-transition)}:host(.segment-button-checked) .segment-button-indicator{opacity:1}@media (prefers-reduced-motion: reduce){.segment-button-indicator-background{-webkit-transform:none;transform:none}.segment-button-indicator-animated{-webkit-transition:none;transition:none}}:host{--background:none;--background-checked:none;--background-hover:none;--background-hover-opacity:0;--background-focused:none;--background-focused-opacity:0;--border-radius:7px;--border-width:1px;--border-color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.12);--border-style:solid;--indicator-box-shadow:0 0 5px rgba(0, 0, 0, 0.16);--indicator-color:var(--ion-color-step-350, var(--ion-background-color-step-350, var(--ion-background-color, #fff)));--indicator-height:100%;--indicator-transition:transform 260ms cubic-bezier(0.4, 0, 0.2, 1);--indicator-transform:none;--transition:100ms all linear;--padding-top:0;--padding-end:13px;--padding-bottom:0;--padding-start:13px;margin-top:2px;margin-bottom:2px;position:relative;-ms-flex-direction:row;flex-direction:row;min-width:70px;min-height:28px;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);font-size:13px;font-weight:450;line-height:37px}:host::before{margin-left:0;margin-right:0;margin-top:5px;margin-bottom:5px;-webkit-transition:160ms opacity ease-in-out;transition:160ms opacity ease-in-out;-webkit-transition-delay:100ms;transition-delay:100ms;border-left:var(--border-width) var(--border-style) var(--border-color);content:"";opacity:1;will-change:opacity}:host(:first-of-type)::before{border-left-color:transparent}:host(.segment-button-disabled){opacity:0.3}::slotted(ion-icon){font-size:24px}:host(.segment-button-layout-icon-start) ::slotted(ion-label){-webkit-margin-start:2px;margin-inline-start:2px;-webkit-margin-end:0;margin-inline-end:0}:host(.segment-button-layout-icon-end) ::slotted(ion-label){-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:2px;margin-inline-end:2px}.segment-button-indicator{-webkit-padding-start:2px;padding-inline-start:2px;-webkit-padding-end:2px;padding-inline-end:2px;left:0;right:0;top:0;bottom:0}.segment-button-indicator-background{border-radius:var(--border-radius);background:var(--indicator-color)}.segment-button-indicator-background{-webkit-transition:var(--indicator-transition);transition:var(--indicator-transition)}:host(.segment-button-checked)::before,:host(.segment-button-after-checked)::before{opacity:0}:host(.segment-button-checked){z-index:-1}:host(.segment-button-activated){--indicator-transform:scale(0.95)}:host(.ion-focused) .button-native{opacity:0.7}@media (any-hover: hover){:host(:hover) .button-native{opacity:0.5}:host(.segment-button-checked:hover) .button-native{opacity:1}}:host(.in-segment-color){background:none;color:var(--ion-text-color, #000)}:host(.in-segment-color) .segment-button-indicator-background{background:var(--ion-color-step-350, var(--ion-background-color-step-350, var(--ion-background-color, #fff)))}@media (any-hover: hover){:host(.in-segment-color:hover) .button-native,:host(.in-segment-color.segment-button-checked:hover) .button-native{color:var(--ion-text-color, #000)}}:host(.in-toolbar:not(.in-segment-color)){--background-checked:var(--ion-toolbar-segment-background-checked, none);--color:var(--ion-toolbar-segment-color, var(--ion-toolbar-color), initial);--color-checked:var(--ion-toolbar-segment-color-checked, var(--ion-toolbar-color), initial);--indicator-color:var(--ion-toolbar-segment-indicator-color, var(--ion-color-step-350, var(--ion-background-color-step-350, var(--ion-background-color, #fff))))}:host(.in-toolbar-color) .segment-button-indicator-background{background:var(--ion-color-contrast)}:host(.in-toolbar-color:not(.in-segment-color)) .button-native{color:var(--ion-color-contrast)}:host(.in-toolbar-color.segment-button-checked:not(.in-segment-color)) .button-native{color:var(--ion-color-base)}@media (any-hover: hover){:host(.in-toolbar-color:not(.in-segment-color):hover) .button-native{color:var(--ion-color-contrast)}:host(.in-toolbar-color.segment-button-checked:not(.in-segment-color):hover) .button-native{color:var(--ion-color-base)}}',Wk=Gk,qk=':host{--color:initial;--color-hover:var(--color);--color-checked:var(--color);--color-disabled:var(--color);--padding-start:0;--padding-end:0;--padding-top:0;--padding-bottom:0;border-radius:var(--border-radius);display:-ms-flexbox;display:flex;position:relative;-ms-flex-direction:column;flex-direction:column;height:auto;background:var(--background);color:var(--color);text-decoration:none;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;grid-row:1;-webkit-font-kerning:none;font-kerning:none}.button-native{border-radius:0;font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;-webkit-margin-start:var(--margin-start);margin-inline-start:var(--margin-start);-webkit-margin-end:var(--margin-end);margin-inline-end:var(--margin-end);margin-top:var(--margin-top);margin-bottom:var(--margin-bottom);-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);display:-ms-flexbox;display:flex;position:relative;-ms-flex-direction:inherit;flex-direction:inherit;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;min-width:inherit;max-width:inherit;height:auto;min-height:inherit;max-height:inherit;-webkit-transition:var(--transition);transition:var(--transition);border:none;outline:none;background:transparent;contain:content;pointer-events:none;overflow:hidden;z-index:2}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}.button-inner{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:inherit;flex-flow:inherit;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;z-index:1}:host(.segment-button-checked){background:var(--background-checked);color:var(--color-checked)}:host(.segment-button-disabled){cursor:default;pointer-events:none}:host(.ion-focused) .button-native{color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}:host(:focus){outline:none}@media (any-hover: hover){:host(:hover) .button-native{color:var(--color-hover)}:host(:hover) .button-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity)}:host(.segment-button-checked:hover) .button-native{color:var(--color-checked)}}::slotted(ion-icon){-ms-flex-negative:0;flex-shrink:0;-ms-flex-order:-1;order:-1;pointer-events:none}::slotted(ion-label){display:block;-ms-flex-item-align:center;align-self:center;max-width:100%;line-height:22px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box;pointer-events:none}:host(.segment-button-layout-icon-top) .button-native{-ms-flex-direction:column;flex-direction:column}:host(.segment-button-layout-icon-start) .button-native{-ms-flex-direction:row;flex-direction:row}:host(.segment-button-layout-icon-end) .button-native{-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.segment-button-layout-icon-bottom) .button-native{-ms-flex-direction:column-reverse;flex-direction:column-reverse}:host(.segment-button-layout-icon-hide) ::slotted(ion-icon){display:none}:host(.segment-button-layout-label-hide) ::slotted(ion-label){display:none}ion-ripple-effect{color:var(--ripple-color, var(--color-checked))}.segment-button-indicator{-webkit-transform-origin:left;transform-origin:left;position:absolute;opacity:0;-webkit-box-sizing:border-box;box-sizing:border-box;will-change:transform, opacity;pointer-events:none}.segment-button-indicator-background{width:100%;height:var(--indicator-height);-webkit-transform:var(--indicator-transform);transform:var(--indicator-transform);-webkit-box-shadow:var(--indicator-box-shadow);box-shadow:var(--indicator-box-shadow);pointer-events:none}.segment-button-indicator-animated{-webkit-transition:var(--indicator-transition);transition:var(--indicator-transition)}:host(.segment-button-checked) .segment-button-indicator{opacity:1}@media (prefers-reduced-motion: reduce){.segment-button-indicator-background{-webkit-transform:none;transform:none}.segment-button-indicator-animated{-webkit-transition:none;transition:none}}:host{--background:none;--background-checked:none;--background-hover:var(--color-checked);--background-focused:var(--color-checked);--background-activated-opacity:0;--background-focused-opacity:.12;--background-hover-opacity:.04;--color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.6);--color-checked:var(--ion-color-primary, #0054e9);--indicator-box-shadow:none;--indicator-color:var(--color-checked);--indicator-height:2px;--indicator-transition:transform 250ms cubic-bezier(0.4, 0, 0.2, 1);--indicator-transform:none;--padding-top:0;--padding-end:16px;--padding-bottom:0;--padding-start:16px;--transition:color 0.15s linear 0s, opacity 0.15s linear 0s;min-width:90px;min-height:48px;border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);font-size:14px;font-weight:500;letter-spacing:0.06em;line-height:40px;text-transform:uppercase}:host(.segment-button-disabled){opacity:0.3}:host(.in-segment-color){background:none;color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.6)}:host(.in-segment-color) ion-ripple-effect{color:var(--ion-color-base)}:host(.in-segment-color) .segment-button-indicator-background{background:var(--ion-color-base)}:host(.in-segment-color.segment-button-checked) .button-native{color:var(--ion-color-base)}:host(.in-segment-color.ion-focused) .button-native::after{background:var(--ion-color-base)}@media (any-hover: hover){:host(.in-segment-color:hover) .button-native{color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.6)}:host(.in-segment-color:hover) .button-native::after{background:var(--ion-color-base)}:host(.in-segment-color.segment-button-checked:hover) .button-native{color:var(--ion-color-base)}}:host(.in-toolbar:not(.in-segment-color)){--background:var(--ion-toolbar-segment-background, none);--background-checked:var(--ion-toolbar-segment-background-checked, none);--color:var(--ion-toolbar-segment-color, rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.6));--color-checked:var(--ion-toolbar-segment-color-checked, var(--ion-color-primary, #0054e9));--indicator-color:var(--ion-toolbar-segment-color-checked, var(--color-checked))}:host(.in-toolbar-color:not(.in-segment-color)) .button-native{color:rgba(var(--ion-color-contrast-rgb), 0.6)}:host(.in-toolbar-color.segment-button-checked:not(.in-segment-color)) .button-native{color:var(--ion-color-contrast)}@media (any-hover: hover){:host(.in-toolbar-color:not(.in-segment-color)) .button-native::after{background:var(--ion-color-contrast)}}::slotted(ion-icon){margin-top:12px;margin-bottom:12px;font-size:24px}::slotted(ion-label){margin-top:12px;margin-bottom:12px}:host(.segment-button-layout-icon-top) ::slotted(ion-label),:host(.segment-button-layout-icon-bottom) ::slotted(ion-icon){margin-top:0}:host(.segment-button-layout-icon-top) ::slotted(ion-icon),:host(.segment-button-layout-icon-bottom) ::slotted(ion-label){margin-bottom:0}:host(.segment-button-layout-icon-start) ::slotted(ion-label){-webkit-margin-start:8px;margin-inline-start:8px;-webkit-margin-end:0;margin-inline-end:0}:host(.segment-button-layout-icon-end) ::slotted(ion-label){-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:8px;margin-inline-end:8px}:host(.segment-button-has-icon-only) ::slotted(ion-icon){margin-top:12px;margin-bottom:12px}:host(.segment-button-has-label-only) ::slotted(ion-label){margin-top:12px;margin-bottom:12px}.segment-button-indicator{left:0;right:0;bottom:0}.segment-button-indicator-background{background:var(--indicator-color)}:host(.in-toolbar:not(.in-segment-color)) .segment-button-indicator-background{background:var(--ion-toolbar-segment-indicator-color, var(--indicator-color))}:host(.in-toolbar-color:not(.in-segment-color)) .segment-button-indicator-background{background:var(--ion-color-contrast)}',Zk=qk,Yk=0,Qk=Y(class extends Z{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.segmentEl=null,this.inheritedAttributes={},this.updateStyle=()=>{Ln(this)},this.updateState=()=>{let{segmentEl:e}=this;e&&(this.checked=e.value===this.value,e.disabled&&(this.disabled=!0))},this.checked=!1,this.contentId=void 0,this.disabled=!1,this.layout="icon-top",this.type="button",this.value="ion-sb-"+Yk++}valueChanged(){this.updateState()}connectedCallback(){let e=this.segmentEl=this.el.closest("ion-segment");if(e&&(this.updateState(),$n(e,"ionSelect",this.updateState),$n(e,"ionStyle",this.updateStyle)),!this.contentId)return;let o=document.getElementById(this.contentId);if(!o){console.error(`Segment Button: Unable to find Segment Content with id="${this.contentId}".`);return}if(o.tagName!=="ION-SEGMENT-CONTENT"){console.error(`Segment Button: Element with id="${this.contentId}" is not an element.`);return}this.disabled&&(console.warn("Segment Button: Segment buttons cannot be disabled when associated with an ."),this.disabled=!1)}disconnectedCallback(){let e=this.segmentEl;e&&(Or(e,"ionSelect",this.updateState),Or(e,"ionStyle",this.updateStyle),this.segmentEl=null)}componentWillLoad(){this.inheritedAttributes=Object.assign({},wo(this.el,["aria-label"]))}get hasLabel(){return!!this.el.querySelector("ion-label")}get hasIcon(){return!!this.el.querySelector("ion-icon")}async setFocus(){let{nativeEl:e}=this;e!==void 0&&e.focus()}render(){let{checked:e,type:o,disabled:n,hasIcon:r,hasLabel:i,layout:s,segmentEl:a}=this,l=U(this),c=()=>(a==null?void 0:a.color)!==void 0;return C(X,{key:"d50a5d5e2f6206e8523598f258d8217d2903f69b",class:{[l]:!0,"in-toolbar":ze("ion-toolbar",this.el),"in-toolbar-color":ze("ion-toolbar[color]",this.el),"in-segment":ze("ion-segment",this.el),"in-segment-color":c(),"segment-button-has-label":i,"segment-button-has-icon":r,"segment-button-has-label-only":i&&!r,"segment-button-has-icon-only":r&&!i,"segment-button-disabled":n,"segment-button-checked":e,[`segment-button-layout-${s}`]:!0,"ion-activatable":!0,"ion-activatable-instant":!0,"ion-focusable":!0}},C("button",Object.assign({key:"b4f6f145286ba8ab79669e11035b906daa85ae7e","aria-selected":e?"true":"false",role:"tab",ref:u=>this.nativeEl=u,type:o,class:"button-native",part:"native",disabled:n},this.inheritedAttributes),C("span",{key:"67965996c9ffe70553875e00d3da0ae5b2b1d814",class:"button-inner"},C("slot",{key:"5087988fe45a8fdf388ec44c395d0b745b207806"})),l==="md"&&C("ion-ripple-effect",{key:"b24858de0750bbc769b3183fac0077dfe817ba27"})),C("div",{key:"97b4359432acd1c9da0816360cd1df9472e183f7",part:"indicator",class:"segment-button-indicator segment-button-indicator-animated"},C("div",{key:"0561738ea15b0986f4ed3d8276d5e6f2d13f7e51",part:"indicator-background",class:"segment-button-indicator-background"})))}get el(){return this}static get watchers(){return{value:["valueChanged"]}}static get style(){return{ios:Wk,md:Zk}}},[33,"ion-segment-button",{contentId:[513,"content-id"],disabled:[1028],layout:[1],type:[1],value:[8],checked:[32],setFocus:[64]},void 0,{value:["valueChanged"]}]);function Kk(){if(typeof customElements>"u")return;["ion-segment-button","ion-ripple-effect"].forEach(e=>{switch(e){case"ion-segment-button":customElements.get(e)||customElements.define(e,Qk);break;case"ion-ripple-effect":customElements.get(e)||cl();break}})}var Kb=Kk;var Xk=":host{scroll-snap-align:center;scroll-snap-stop:always;-ms-flex-negative:0;flex-shrink:0;width:100%}",Jk=Xk,eA=Y(class extends Z{constructor(){super(),this.__registerHost(),this.__attachShadow()}render(){return C(X,{key:"03684b2999ac64fe13e376fd7e7f279976e9d4f2"},C("slot",{key:"143031075bf33ca19e7cfd76fc8a67b83ccaf11c"}))}static get style(){return Jk}},[1,"ion-segment-content"]);function tA(){if(typeof customElements>"u")return;["ion-segment-content"].forEach(e=>{switch(e){case"ion-segment-content":customElements.get(e)||customElements.define(e,eA);break}})}var Xb=tA;var nA=":host{display:-ms-flexbox;display:flex;height:100%;overflow-x:scroll;-webkit-scroll-snap-type:x mandatory;-ms-scroll-snap-type:x mandatory;scroll-snap-type:x mandatory;scrollbar-width:none;-ms-overflow-style:none}:host::-webkit-scrollbar{display:none}:host(.segment-view-disabled){-ms-touch-action:none;touch-action:none;overflow-x:hidden}:host(.segment-view-scroll-disabled){pointer-events:none}:host(.segment-view-disabled){opacity:0.3}",oA=nA,rA=":host{display:-ms-flexbox;display:flex;height:100%;overflow-x:scroll;-webkit-scroll-snap-type:x mandatory;-ms-scroll-snap-type:x mandatory;scroll-snap-type:x mandatory;scrollbar-width:none;-ms-overflow-style:none}:host::-webkit-scrollbar{display:none}:host(.segment-view-disabled){-ms-touch-action:none;touch-action:none;overflow-x:hidden}:host(.segment-view-scroll-disabled){pointer-events:none}:host(.segment-view-disabled){opacity:0.3}",iA=rA,sA=Y(class extends Z{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.ionSegmentViewScroll=F(this,"ionSegmentViewScroll",7),this.scrollEndTimeout=null,this.isTouching=!1,this.disabled=!1,this.isManualScroll=void 0}handleScroll(e){var o;let{scrollLeft:n,scrollWidth:r,clientWidth:i}=e.target,s=n/(r-i);this.ionSegmentViewScroll.emit({scrollRatio:s,isManualScroll:(o=this.isManualScroll)!==null&&o!==void 0?o:!0}),this.resetScrollEndTimeout()}handleScrollStart(){this.scrollEndTimeout&&(clearTimeout(this.scrollEndTimeout),this.scrollEndTimeout=null),this.isTouching=!0}handleTouchEnd(){this.isTouching=!1}resetScrollEndTimeout(){this.scrollEndTimeout&&(clearTimeout(this.scrollEndTimeout),this.scrollEndTimeout=null),this.scrollEndTimeout=setTimeout(()=>{this.checkForScrollEnd()},100)}checkForScrollEnd(){this.isTouching||(this.isManualScroll=void 0)}async setContent(e,o=!0){let r=this.getSegmentContents().findIndex(s=>s.id===e);if(r===-1)return;this.isManualScroll=!1,this.resetScrollEndTimeout();let i=this.el.offsetWidth;this.el.scrollTo({top:0,left:r*i,behavior:o?"smooth":"instant"})}getSegmentContents(){return Array.from(this.el.querySelectorAll("ion-segment-content"))}render(){let{disabled:e,isManualScroll:o}=this;return C(X,{key:"9f4f11d31c4db776f077e59ae895b35dd4454717",class:{"segment-view-disabled":e,"segment-view-scroll-disabled":o===!1}},C("slot",{key:"ea58b21f031cee2ab2b70580f336deaefa364538"}))}get el(){return this}static get style(){return{ios:oA,md:iA}}},[33,"ion-segment-view",{disabled:[4],isManualScroll:[32],setContent:[64]},[[1,"scroll","handleScroll"],[1,"touchstart","handleScrollStart"],[1,"touchend","handleTouchEnd"]]]);function aA(){if(typeof customElements>"u")return;["ion-segment-view"].forEach(e=>{switch(e){case"ion-segment-view":customElements.get(e)||customElements.define(e,sA);break}})}var Jb=aA;var lA=":host{--color:initial;display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-align:center;align-items:center;-webkit-transform:translateZ(0);transform:translateZ(0);color:var(--color)}:host(.ion-color){color:var(--ion-color-base)}.toolbar-title{display:block;width:100%;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;pointer-events:auto}:host(.title-small) .toolbar-title{white-space:normal}:host{top:0;-webkit-padding-start:90px;padding-inline-start:90px;-webkit-padding-end:90px;padding-inline-end:90px;padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);position:absolute;width:100%;height:100%;-webkit-transform:translateZ(0);transform:translateZ(0);font-size:min(1.0625rem, 20.4px);font-weight:600;text-align:center;-webkit-box-sizing:border-box;box-sizing:border-box;pointer-events:none}:host{inset-inline-start:0}:host(.title-small){-webkit-padding-start:9px;padding-inline-start:9px;-webkit-padding-end:9px;padding-inline-end:9px;padding-top:6px;padding-bottom:16px;position:relative;font-size:min(0.8125rem, 23.4px);font-weight:normal}:host(.title-large){-webkit-padding-start:12px;padding-inline-start:12px;-webkit-padding-end:12px;padding-inline-end:12px;padding-top:2px;padding-bottom:4px;-webkit-transform-origin:left center;transform-origin:left center;position:static;-ms-flex-align:end;align-items:flex-end;min-width:100%;font-size:min(2.125rem, 61.2px);font-weight:700;text-align:start}:host(.title-large.title-rtl){-webkit-transform-origin:right center;transform-origin:right center}:host(.title-large.ion-cloned-element){--color:var(--ion-text-color, #000);font-family:var(--ion-font-family)}:host(.title-large) .toolbar-title{-webkit-transform-origin:inherit;transform-origin:inherit;width:auto}:host-context([dir=rtl]):host(.title-large) .toolbar-title,:host-context([dir=rtl]).title-large .toolbar-title{-webkit-transform-origin:calc(100% - inherit);transform-origin:calc(100% - inherit)}@supports selector(:dir(rtl)){:host(.title-large:dir(rtl)) .toolbar-title{-webkit-transform-origin:calc(100% - inherit);transform-origin:calc(100% - inherit)}}",cA=lA,uA=":host{--color:initial;display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-align:center;align-items:center;-webkit-transform:translateZ(0);transform:translateZ(0);color:var(--color)}:host(.ion-color){color:var(--ion-color-base)}.toolbar-title{display:block;width:100%;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;pointer-events:auto}:host(.title-small) .toolbar-title{white-space:normal}:host{-webkit-padding-start:20px;padding-inline-start:20px;-webkit-padding-end:20px;padding-inline-end:20px;padding-top:0;padding-bottom:0;font-size:1.25rem;font-weight:500;letter-spacing:0.0125em}:host(.title-small){width:100%;height:100%;font-size:0.9375rem;font-weight:normal}",dA=uA,e0=Y(class extends Z{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.ionStyle=F(this,"ionStyle",7),this.color=void 0,this.size=void 0}sizeChanged(){this.emitStyle()}connectedCallback(){this.emitStyle()}emitStyle(){let e=this.getSize();this.ionStyle.emit({[`title-${e}`]:!0})}getSize(){return this.size!==void 0?this.size:"default"}render(){let e=U(this),o=this.getSize();return C(X,{key:"7293d2ecd6262feb0d8d769effbb208230baed89",class:vt(this.color,{[e]:!0,[`title-${o}`]:!0,"title-rtl":document.dir==="rtl"})},C("div",{key:"086ec3a361ebdf6506846a8704b457cda3a6f897",class:"toolbar-title"},C("slot",{key:"59add7eb92b82d6832a8f0894f897c51fdf4f214"})))}get el(){return this}static get watchers(){return{size:["sizeChanged"]}}static get style(){return{ios:cA,md:dA}}},[33,"ion-title",{color:[513],size:[1]},void 0,{size:["sizeChanged"]}]);function t0(){if(typeof customElements>"u")return;["ion-title"].forEach(e=>{switch(e){case"ion-title":customElements.get(e)||customElements.define(e,e0);break}})}var fA=":host{--border-width:0;--border-style:solid;--opacity:1;--opacity-scale:1;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:block;position:relative;width:100%;padding-right:var(--ion-safe-area-right);padding-left:var(--ion-safe-area-left);color:var(--color);font-family:var(--ion-font-family, inherit);contain:content;z-index:10;-webkit-box-sizing:border-box;box-sizing:border-box}:host(.ion-color){color:var(--ion-color-contrast)}:host(.ion-color) .toolbar-background{background:var(--ion-color-base)}.toolbar-container{-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);display:-ms-flexbox;display:flex;position:relative;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;width:100%;min-height:var(--min-height);contain:content;overflow:hidden;z-index:10;-webkit-box-sizing:border-box;box-sizing:border-box}.toolbar-background{left:0;right:0;top:0;bottom:0;position:absolute;-webkit-transform:translateZ(0);transform:translateZ(0);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);contain:strict;opacity:calc(var(--opacity) * var(--opacity-scale));z-index:-1;pointer-events:none}::slotted(ion-progress-bar){left:0;right:0;bottom:0;position:absolute}:host{--background:var(--ion-toolbar-background, var(--ion-color-step-50, var(--ion-background-color-step-50, #f7f7f7)));--color:var(--ion-toolbar-color, var(--ion-text-color, #000));--border-color:var(--ion-toolbar-border-color, var(--ion-border-color, var(--ion-color-step-150, var(--ion-background-color-step-150, rgba(0, 0, 0, 0.2)))));--padding-top:3px;--padding-bottom:3px;--padding-start:4px;--padding-end:4px;--min-height:44px}.toolbar-content{-ms-flex:1;flex:1;-ms-flex-order:4;order:4;min-width:0}:host(.toolbar-segment) .toolbar-content{display:-ms-inline-flexbox;display:inline-flex}:host(.toolbar-searchbar) .toolbar-container{padding-top:0;padding-bottom:0}:host(.toolbar-searchbar) ::slotted(*){-ms-flex-item-align:start;align-self:start}:host(.toolbar-searchbar) ::slotted(ion-chip){margin-top:3px}::slotted(ion-buttons){min-height:38px}::slotted([slot=start]){-ms-flex-order:2;order:2}::slotted([slot=secondary]){-ms-flex-order:3;order:3}::slotted([slot=primary]){-ms-flex-order:5;order:5;text-align:end}::slotted([slot=end]){-ms-flex-order:6;order:6;text-align:end}:host(.toolbar-title-large) .toolbar-container{-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-align:start;align-items:flex-start}:host(.toolbar-title-large) .toolbar-content ion-title{-ms-flex:1;flex:1;-ms-flex-order:8;order:8;min-width:100%}",hA=fA,pA=":host{--border-width:0;--border-style:solid;--opacity:1;--opacity-scale:1;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:block;position:relative;width:100%;padding-right:var(--ion-safe-area-right);padding-left:var(--ion-safe-area-left);color:var(--color);font-family:var(--ion-font-family, inherit);contain:content;z-index:10;-webkit-box-sizing:border-box;box-sizing:border-box}:host(.ion-color){color:var(--ion-color-contrast)}:host(.ion-color) .toolbar-background{background:var(--ion-color-base)}.toolbar-container{-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);display:-ms-flexbox;display:flex;position:relative;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;width:100%;min-height:var(--min-height);contain:content;overflow:hidden;z-index:10;-webkit-box-sizing:border-box;box-sizing:border-box}.toolbar-background{left:0;right:0;top:0;bottom:0;position:absolute;-webkit-transform:translateZ(0);transform:translateZ(0);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);contain:strict;opacity:calc(var(--opacity) * var(--opacity-scale));z-index:-1;pointer-events:none}::slotted(ion-progress-bar){left:0;right:0;bottom:0;position:absolute}:host{--background:var(--ion-toolbar-background, var(--ion-background-color, #fff));--color:var(--ion-toolbar-color, var(--ion-text-color, #424242));--border-color:var(--ion-toolbar-border-color, var(--ion-border-color, var(--ion-color-step-150, var(--ion-background-color-step-150, #c1c4cd))));--padding-top:0;--padding-bottom:0;--padding-start:0;--padding-end:0;--min-height:56px}.toolbar-content{-ms-flex:1;flex:1;-ms-flex-order:3;order:3;min-width:0;max-width:100%}::slotted(.buttons-first-slot){-webkit-margin-start:4px;margin-inline-start:4px}::slotted(.buttons-last-slot){-webkit-margin-end:4px;margin-inline-end:4px}::slotted([slot=start]){-ms-flex-order:2;order:2}::slotted([slot=secondary]){-ms-flex-order:4;order:4}::slotted([slot=primary]){-ms-flex-order:5;order:5;text-align:end}::slotted([slot=end]){-ms-flex-order:6;order:6;text-align:end}",mA=pA,n0=Y(class extends Z{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.childrenStyles=new Map,this.color=void 0}componentWillLoad(){let e=Array.from(this.el.querySelectorAll("ion-buttons")),o=e.find(i=>i.slot==="start");o&&o.classList.add("buttons-first-slot");let n=e.reverse(),r=n.find(i=>i.slot==="end")||n.find(i=>i.slot==="primary")||n.find(i=>i.slot==="secondary");r&&r.classList.add("buttons-last-slot")}childrenStyle(e){e.stopPropagation();let o=e.target.tagName,n=e.detail,r={},i=this.childrenStyles.get(o)||{},s=!1;Object.keys(n).forEach(a=>{let l=`toolbar-${a}`,c=n[a];c!==i[l]&&(s=!0),c&&(r[l]=!0)}),s&&(this.childrenStyles.set(o,r),Ln(this))}render(){let e=U(this),o={};return this.childrenStyles.forEach(n=>{Object.assign(o,n)}),C(X,{key:"462538a5ecd01baf3cde116c9f029aeda26c81be",class:Object.assign(Object.assign({},o),vt(this.color,{[e]:!0,"in-toolbar":ze("ion-toolbar",this.el)}))},C("div",{key:"c0b4415d3b2472de643a9be7cb3b13b3b628621b",class:"toolbar-background"}),C("div",{key:"0ccb8a2dbeaa28d8f9bed87629c0c097446690c2",class:"toolbar-container"},C("slot",{key:"3e726dac359e923df21d80301651f16063a3de20",name:"start"}),C("slot",{key:"cd799330b56a7f8833bc61bb2807aafb21846f71",name:"secondary"}),C("div",{key:"395282e6ac8c53576922dcdb5f08c25d34638c86",class:"toolbar-content"},C("slot",{key:"a437c60e4ba5aae65e55169ae82a6f379868ec1d"})),C("slot",{key:"711af9b9d321a7b31ede924c9bdcad767aa9a1ca",name:"primary"}),C("slot",{key:"ecc02edeaf80a837890bcb08d5096df1e22a0b9a",name:"end"})))}get el(){return this}static get style(){return{ios:hA,md:mA}}},[33,"ion-toolbar",{color:[513]},[[0,"ionStyle","childrenStyle"]]]);function o0(){if(typeof customElements>"u")return;["ion-toolbar"].forEach(e=>{switch(e){case"ion-toolbar":customElements.get(e)||customElements.define(e,n0);break}})}var gA=":host(.tab-hidden){display:none !important}",vA=gA,yA=Y(class extends Z{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.loaded=!1,this.active=!1,this.delegate=void 0,this.tab=void 0,this.component=void 0}async componentWillLoad(){Do.isDev&&this.component!==void 0&&this.el.childElementCount>0&&console.error(`You can not use a lazy-loaded component in a tab and inlined content at the same time.- Remove the component attribute in: or- Remove the embedded content inside the ion-tab: `),this.active&&await this.setActive()}async setActive(){await this.prepareLazyLoaded(),this.active=!0}changeActive(e){e&&this.prepareLazyLoaded()}prepareLazyLoaded(){if(!this.loaded&&this.component!=null){this.loaded=!0;try{return Fn(this.delegate,this.el,this.component,["ion-page"])}catch(e){console.error(e)}}return Promise.resolve(void 0)}render(){let{tab:e,active:o,component:n}=this;return C(X,{key:"cb75d0877979b3b8df8f7e1952bfa9677da1eaa5",role:"tabpanel","aria-hidden":o?null:"true","aria-labelledby":`tab-button-${e}`,class:{"ion-page":n===void 0,"tab-hidden":!o}},C("slot",{key:"37fbb7b7a6b03eb93b1dacd2dc1025b78eb2aa6b"}))}get el(){return this}static get watchers(){return{active:["changeActive"]}}static get style(){return vA}},[1,"ion-tab",{active:[1028],delegate:[16],tab:[1],component:[1],setActive:[64]},void 0,{active:["changeActive"]}]);function bA(){if(typeof customElements>"u")return;["ion-tab"].forEach(e=>{switch(e){case"ion-tab":customElements.get(e)||customElements.define(e,yA);break}})}var r0=bA;var DA=":host{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:auto;padding-right:var(--ion-safe-area-right);padding-bottom:var(--ion-safe-area-bottom, 0);padding-left:var(--ion-safe-area-left);border-top:var(--border);background:var(--background);color:var(--color);text-align:center;contain:strict;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:10;-webkit-box-sizing:content-box !important;box-sizing:content-box !important}:host(.ion-color) ::slotted(ion-tab-button){--background-focused:var(--ion-color-shade);--color-selected:var(--ion-color-contrast)}:host(.ion-color) ::slotted(.tab-selected){color:var(--ion-color-contrast)}:host(.ion-color),:host(.ion-color) ::slotted(ion-tab-button){color:rgba(var(--ion-color-contrast-rgb), 0.7)}:host(.ion-color),:host(.ion-color) ::slotted(ion-tab-button){background:var(--ion-color-base)}:host(.ion-color) ::slotted(ion-tab-button.ion-focused),:host(.tab-bar-translucent) ::slotted(ion-tab-button.ion-focused){background:var(--background-focused)}:host(.tab-bar-translucent) ::slotted(ion-tab-button){background:transparent}:host([slot=top]){padding-top:var(--ion-safe-area-top, 0);padding-bottom:0;border-top:0;border-bottom:var(--border)}:host(.tab-bar-hidden){display:none !important}:host{--background:var(--ion-tab-bar-background, var(--ion-color-step-50, var(--ion-background-color-step-50, #f7f7f7)));--background-focused:var(--ion-tab-bar-background-focused, #e0e0e0);--border:0.55px solid var(--ion-tab-bar-border-color, var(--ion-border-color, var(--ion-color-step-150, var(--ion-background-color-step-150, rgba(0, 0, 0, 0.2)))));--color:var(--ion-tab-bar-color, var(--ion-color-step-600, var(--ion-text-color-step-400, #666666)));--color-selected:var(--ion-tab-bar-color-selected, var(--ion-color-primary, #0054e9));height:50px}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){:host(.tab-bar-translucent){--background:rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8);-webkit-backdrop-filter:saturate(210%) blur(20px);backdrop-filter:saturate(210%) blur(20px)}:host(.ion-color.tab-bar-translucent){background:rgba(var(--ion-color-base-rgb), 0.8)}:host(.tab-bar-translucent) ::slotted(ion-tab-button.ion-focused){background:rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.6)}}",wA=DA,CA=":host{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:auto;padding-right:var(--ion-safe-area-right);padding-bottom:var(--ion-safe-area-bottom, 0);padding-left:var(--ion-safe-area-left);border-top:var(--border);background:var(--background);color:var(--color);text-align:center;contain:strict;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:10;-webkit-box-sizing:content-box !important;box-sizing:content-box !important}:host(.ion-color) ::slotted(ion-tab-button){--background-focused:var(--ion-color-shade);--color-selected:var(--ion-color-contrast)}:host(.ion-color) ::slotted(.tab-selected){color:var(--ion-color-contrast)}:host(.ion-color),:host(.ion-color) ::slotted(ion-tab-button){color:rgba(var(--ion-color-contrast-rgb), 0.7)}:host(.ion-color),:host(.ion-color) ::slotted(ion-tab-button){background:var(--ion-color-base)}:host(.ion-color) ::slotted(ion-tab-button.ion-focused),:host(.tab-bar-translucent) ::slotted(ion-tab-button.ion-focused){background:var(--background-focused)}:host(.tab-bar-translucent) ::slotted(ion-tab-button){background:transparent}:host([slot=top]){padding-top:var(--ion-safe-area-top, 0);padding-bottom:0;border-top:0;border-bottom:var(--border)}:host(.tab-bar-hidden){display:none !important}:host{--background:var(--ion-tab-bar-background, var(--ion-background-color, #fff));--background-focused:var(--ion-tab-bar-background-focused, #e0e0e0);--border:1px solid var(--ion-tab-bar-border-color, var(--ion-border-color, var(--ion-color-step-150, var(--ion-background-color-step-150, rgba(0, 0, 0, 0.07)))));--color:var(--ion-tab-bar-color, var(--ion-color-step-650, var(--ion-text-color-step-350, #595959)));--color-selected:var(--ion-tab-bar-color-selected, var(--ion-color-primary, #0054e9));height:56px}",IA=CA,EA=Y(class extends Z{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.ionTabBarChanged=F(this,"ionTabBarChanged",7),this.ionTabBarLoaded=F(this,"ionTabBarLoaded",7),this.keyboardCtrl=null,this.keyboardVisible=!1,this.color=void 0,this.selectedTab=void 0,this.translucent=!1}selectedTabChanged(){this.selectedTab!==void 0&&this.ionTabBarChanged.emit({tab:this.selectedTab})}componentWillLoad(){this.selectedTabChanged()}async connectedCallback(){this.keyboardCtrl=await Vb(async(e,o)=>{e===!1&&o!==void 0&&await o,this.keyboardVisible=e})}disconnectedCallback(){this.keyboardCtrl&&this.keyboardCtrl.destroy()}componentDidLoad(){this.ionTabBarLoaded.emit()}render(){let{color:e,translucent:o,keyboardVisible:n}=this,r=U(this),i=n&&this.el.getAttribute("slot")!=="top";return C(X,{key:"a87fd2ea5df053705a37ea7ffec043e75c4a9907",role:"tablist","aria-hidden":i?"true":null,class:vt(e,{[r]:!0,"tab-bar-translucent":o,"tab-bar-hidden":i})},C("slot",{key:"81a6223299b6cab29d7ddced590e9152e2b3ded0"}))}get el(){return this}static get watchers(){return{selectedTab:["selectedTabChanged"]}}static get style(){return{ios:wA,md:IA}}},[33,"ion-tab-bar",{color:[513],selectedTab:[1,"selected-tab"],translucent:[4],keyboardVisible:[32]},void 0,{selectedTab:["selectedTabChanged"]}]);function xA(){if(typeof customElements>"u")return;["ion-tab-bar"].forEach(e=>{switch(e){case"ion-tab-bar":customElements.get(e)||customElements.define(e,EA);break}})}var i0=xA;var SA=':host{--ripple-color:var(--color-selected);--background-focused-opacity:1;-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;height:100%;outline:none;background:var(--background);color:var(--color)}.button-native{border-radius:inherit;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;display:-ms-flexbox;display:flex;position:relative;-ms-flex-direction:inherit;flex-direction:inherit;-ms-flex-align:inherit;align-items:inherit;-ms-flex-pack:inherit;justify-content:inherit;width:100%;height:100%;border:0;outline:none;background:transparent;text-decoration:none;cursor:pointer;overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-user-drag:none}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}.button-inner{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:inherit;flex-flow:inherit;-ms-flex-align:inherit;align-items:inherit;-ms-flex-pack:inherit;justify-content:inherit;width:100%;height:100%;z-index:1}:host(.ion-focused) .button-native{color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}@media (any-hover: hover){a:hover{color:var(--color-selected)}}:host(.tab-selected){color:var(--color-selected)}:host(.tab-hidden){display:none !important}:host(.tab-disabled){pointer-events:none;opacity:0.4}::slotted(ion-label),::slotted(ion-icon){display:block;-ms-flex-item-align:center;align-self:center;max-width:100%;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box}::slotted(ion-label){-ms-flex-order:0;order:0}::slotted(ion-icon){-ms-flex-order:-1;order:-1;height:1em}:host(.tab-has-label-only) ::slotted(ion-label){white-space:normal}::slotted(ion-badge){-webkit-box-sizing:border-box;box-sizing:border-box;position:absolute;z-index:1}:host(.tab-layout-icon-start){-ms-flex-direction:row;flex-direction:row}:host(.tab-layout-icon-end){-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.tab-layout-icon-bottom){-ms-flex-direction:column-reverse;flex-direction:column-reverse}:host(.tab-layout-icon-hide) ::slotted(ion-icon){display:none}:host(.tab-layout-label-hide) ::slotted(ion-label){display:none}ion-ripple-effect{color:var(--ripple-color)}:host{--padding-top:0;--padding-end:2px;--padding-bottom:0;--padding-start:2px;max-width:240px;font-size:10px}::slotted(ion-badge){-webkit-padding-start:6px;padding-inline-start:6px;-webkit-padding-end:6px;padding-inline-end:6px;padding-top:1px;padding-bottom:1px;top:4px;height:auto;font-size:12px;line-height:16px}::slotted(ion-badge){inset-inline-start:calc(50% + 6px)}::slotted(ion-icon){margin-top:2px;margin-bottom:2px;font-size:24px}::slotted(ion-icon::before){vertical-align:top}::slotted(ion-label){margin-top:0;margin-bottom:1px;min-height:11px;font-weight:500}:host(.tab-has-label-only) ::slotted(ion-label){margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px;font-size:12px;font-size:14px;line-height:1.1}:host(.tab-layout-icon-end) ::slotted(ion-label),:host(.tab-layout-icon-start) ::slotted(ion-label),:host(.tab-layout-icon-hide) ::slotted(ion-label){margin-top:2px;margin-bottom:2px;font-size:14px;line-height:1.1}:host(.tab-layout-icon-end) ::slotted(ion-icon),:host(.tab-layout-icon-start) ::slotted(ion-icon){min-width:24px;height:26px;margin-top:2px;margin-bottom:1px;font-size:24px}:host(.tab-layout-icon-bottom) ::slotted(ion-badge){inset-inline-start:calc(50% + 12px)}:host(.tab-layout-icon-bottom) ::slotted(ion-icon){margin-top:0;margin-bottom:1px}:host(.tab-layout-icon-bottom) ::slotted(ion-label){margin-top:4px}:host(.tab-layout-icon-start) ::slotted(ion-badge),:host(.tab-layout-icon-end) ::slotted(ion-badge){top:10px}:host(.tab-layout-icon-start) ::slotted(ion-badge),:host(.tab-layout-icon-end) ::slotted(ion-badge){inset-inline-start:calc(50% + 35px)}:host(.tab-layout-icon-hide) ::slotted(ion-badge),:host(.tab-has-label-only) ::slotted(ion-badge){top:10px}:host(.tab-layout-icon-hide) ::slotted(ion-badge),:host(.tab-has-label-only) ::slotted(ion-badge){inset-inline-start:calc(50% + 30px)}:host(.tab-layout-label-hide) ::slotted(ion-badge),:host(.tab-has-icon-only) ::slotted(ion-badge){top:10px}:host(.tab-layout-label-hide) ::slotted(ion-icon){margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}:host(.tab-layout-label-hide) ::slotted(ion-icon),:host(.tab-has-icon-only) ::slotted(ion-icon){font-size:30px}',TA=SA,MA=':host{--ripple-color:var(--color-selected);--background-focused-opacity:1;-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;height:100%;outline:none;background:var(--background);color:var(--color)}.button-native{border-radius:inherit;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;display:-ms-flexbox;display:flex;position:relative;-ms-flex-direction:inherit;flex-direction:inherit;-ms-flex-align:inherit;align-items:inherit;-ms-flex-pack:inherit;justify-content:inherit;width:100%;height:100%;border:0;outline:none;background:transparent;text-decoration:none;cursor:pointer;overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-user-drag:none}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}.button-inner{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:inherit;flex-flow:inherit;-ms-flex-align:inherit;align-items:inherit;-ms-flex-pack:inherit;justify-content:inherit;width:100%;height:100%;z-index:1}:host(.ion-focused) .button-native{color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}@media (any-hover: hover){a:hover{color:var(--color-selected)}}:host(.tab-selected){color:var(--color-selected)}:host(.tab-hidden){display:none !important}:host(.tab-disabled){pointer-events:none;opacity:0.4}::slotted(ion-label),::slotted(ion-icon){display:block;-ms-flex-item-align:center;align-self:center;max-width:100%;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box}::slotted(ion-label){-ms-flex-order:0;order:0}::slotted(ion-icon){-ms-flex-order:-1;order:-1;height:1em}:host(.tab-has-label-only) ::slotted(ion-label){white-space:normal}::slotted(ion-badge){-webkit-box-sizing:border-box;box-sizing:border-box;position:absolute;z-index:1}:host(.tab-layout-icon-start){-ms-flex-direction:row;flex-direction:row}:host(.tab-layout-icon-end){-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.tab-layout-icon-bottom){-ms-flex-direction:column-reverse;flex-direction:column-reverse}:host(.tab-layout-icon-hide) ::slotted(ion-icon){display:none}:host(.tab-layout-label-hide) ::slotted(ion-label){display:none}ion-ripple-effect{color:var(--ripple-color)}:host{--padding-top:0;--padding-end:12px;--padding-bottom:0;--padding-start:12px;max-width:168px;font-size:12px;font-weight:normal;letter-spacing:0.03em}::slotted(ion-label){margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px;text-transform:none}::slotted(ion-icon){margin-left:0;margin-right:0;margin-top:16px;margin-bottom:16px;-webkit-transform-origin:center center;transform-origin:center center;font-size:22px}:host-context([dir=rtl]) ::slotted(ion-icon){-webkit-transform-origin:calc(100% - center) center;transform-origin:calc(100% - center) center}[dir=rtl] ::slotted(ion-icon){-webkit-transform-origin:calc(100% - center) center;transform-origin:calc(100% - center) center}@supports selector(:dir(rtl)){::slotted(ion-icon):dir(rtl){-webkit-transform-origin:calc(100% - center) center;transform-origin:calc(100% - center) center}}::slotted(ion-badge){border-radius:8px;-webkit-padding-start:2px;padding-inline-start:2px;-webkit-padding-end:2px;padding-inline-end:2px;padding-top:3px;padding-bottom:2px;top:8px;min-width:12px;font-size:8px;font-weight:normal}::slotted(ion-badge){inset-inline-start:calc(50% + 6px)}::slotted(ion-badge:empty){display:block;min-width:8px;height:8px}:host(.tab-layout-icon-top) ::slotted(ion-icon){margin-top:6px;margin-bottom:2px}:host(.tab-layout-icon-top) ::slotted(ion-label){margin-top:0;margin-bottom:6px}:host(.tab-layout-icon-bottom) ::slotted(ion-badge){top:8px}:host(.tab-layout-icon-bottom) ::slotted(ion-badge){inset-inline-start:70%}:host(.tab-layout-icon-bottom) ::slotted(ion-icon){margin-top:0;margin-bottom:6px}:host(.tab-layout-icon-bottom) ::slotted(ion-label){margin-top:6px;margin-bottom:0}:host(.tab-layout-icon-start) ::slotted(ion-badge),:host(.tab-layout-icon-end) ::slotted(ion-badge){top:16px}:host(.tab-layout-icon-start) ::slotted(ion-badge),:host(.tab-layout-icon-end) ::slotted(ion-badge){inset-inline-start:80%}:host(.tab-layout-icon-start) ::slotted(ion-icon){-webkit-margin-end:6px;margin-inline-end:6px}:host(.tab-layout-icon-end) ::slotted(ion-icon){-webkit-margin-start:6px;margin-inline-start:6px}:host(.tab-layout-icon-hide) ::slotted(ion-badge),:host(.tab-has-label-only) ::slotted(ion-badge){top:16px}:host(.tab-layout-icon-hide) ::slotted(ion-badge),:host(.tab-has-label-only) ::slotted(ion-badge){inset-inline-start:70%}:host(.tab-layout-icon-hide) ::slotted(ion-label),:host(.tab-has-label-only) ::slotted(ion-label){margin-top:0;margin-bottom:0}:host(.tab-layout-label-hide) ::slotted(ion-badge),:host(.tab-has-icon-only) ::slotted(ion-badge){top:16px}:host(.tab-layout-label-hide) ::slotted(ion-icon),:host(.tab-has-icon-only) ::slotted(ion-icon){margin-top:0;margin-bottom:0;font-size:24px}',_A=MA,kA=Y(class extends Z{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.ionTabButtonClick=F(this,"ionTabButtonClick",7),this.inheritedAttributes={},this.onKeyUp=e=>{(e.key==="Enter"||e.key===" ")&&this.selectTab(e)},this.onClick=e=>{this.selectTab(e)},this.disabled=!1,this.download=void 0,this.href=void 0,this.rel=void 0,this.layout=void 0,this.selected=!1,this.tab=void 0,this.target=void 0}onTabBarChanged(e){let o=e.target,n=this.el.parentElement;(e.composedPath().includes(n)||o!=null&&o.contains(this.el))&&(this.selected=this.tab===e.detail.tab)}componentWillLoad(){this.inheritedAttributes=Object.assign({},wo(this.el,["aria-label"])),this.layout===void 0&&(this.layout=ge.get("tabButtonLayout","icon-top"))}selectTab(e){this.tab!==void 0&&(this.disabled||this.ionTabButtonClick.emit({tab:this.tab,href:this.href,selected:this.selected}),e.preventDefault())}get hasLabel(){return!!this.el.querySelector("ion-label")}get hasIcon(){return!!this.el.querySelector("ion-icon")}render(){let{disabled:e,hasIcon:o,hasLabel:n,href:r,rel:i,target:s,layout:a,selected:l,tab:c,inheritedAttributes:u}=this,d=U(this),p={download:this.download,href:r,rel:i,target:s};return C(X,{key:"5976c45943ea7ea8e7c1a85fc9996de421439f08",onClick:this.onClick,onKeyup:this.onKeyUp,id:c!==void 0?`tab-button-${c}`:null,class:{[d]:!0,"tab-selected":l,"tab-disabled":e,"tab-has-label":n,"tab-has-icon":o,"tab-has-label-only":n&&!o,"tab-has-icon-only":o&&!n,[`tab-layout-${a}`]:!0,"ion-activatable":!0,"ion-selectable":!0,"ion-focusable":!0}},C("a",Object.assign({key:"1db09d861b67ff292018fb4b0dc7b85bd4677eb8"},p,{class:"button-native",part:"native",role:"tab","aria-selected":l?"true":null,"aria-disabled":e?"true":null,tabindex:e?"-1":void 0},u),C("span",{key:"4381eafcb27e8c7bb0d86d4f115ceb0caf03b9b4",class:"button-inner"},C("slot",{key:"1981135f6fbb88376c1bd923c55c70fe8b5c5159"})),d==="md"&&C("ion-ripple-effect",{key:"0509bc7155d055d1ed710600e9cf4df135881491",type:"unbounded"})))}get el(){return this}static get style(){return{ios:TA,md:_A}}},[33,"ion-tab-button",{disabled:[4],download:[1],href:[1],rel:[1],layout:[1025],selected:[1028],tab:[1],target:[1]},[[8,"ionTabBarChanged","onTabBarChanged"]]]);function AA(){if(typeof customElements>"u")return;["ion-tab-button","ion-ripple-effect"].forEach(e=>{switch(e){case"ion-tab-button":customElements.get(e)||customElements.define(e,kA);break;case"ion-ripple-effect":customElements.get(e)||cl();break}})}var s0=AA;var a0=t0;var l0=o0;var h={allRenderFn:!1,cmpDidLoad:!0,cmpDidUnload:!1,cmpDidUpdate:!0,cmpDidRender:!0,cmpWillLoad:!0,cmpWillUpdate:!0,cmpWillRender:!0,connectedCallback:!0,disconnectedCallback:!0,element:!0,event:!0,hasRenderFn:!0,lifecycle:!0,hostListener:!0,hostListenerTargetWindow:!0,hostListenerTargetDocument:!0,hostListenerTargetBody:!0,hostListenerTargetParent:!1,hostListenerTarget:!0,member:!0,method:!0,mode:!0,observeAttribute:!0,prop:!0,propMutable:!0,reflect:!0,scoped:!0,shadowDom:!0,slot:!0,cssAnnotations:!0,state:!0,style:!0,formAssociated:!1,svg:!0,updatable:!0,vdomAttribute:!0,vdomXlink:!0,vdomClass:!0,vdomFunctional:!0,vdomKey:!0,vdomListener:!0,vdomRef:!0,vdomPropOrAttr:!0,vdomRender:!0,vdomStyle:!0,vdomText:!0,watchCallback:!0,taskQueue:!0,hotModuleReplacement:!1,isDebug:!1,isDev:!1,isTesting:!1,hydrateServerSide:!1,hydrateClientSide:!1,lifecycleDOMEvents:!1,lazyLoad:!1,profile:!1,slotRelocation:!0,appendChildSlotFix:!1,cloneNodeFix:!1,hydratedAttribute:!1,hydratedClass:!0,scriptDataOpts:!1,scopedSlotTextContentFix:!1,shadowDomShim:!1,slotChildNodesFix:!1,invisiblePrehydration:!0,propBoolean:!0,propNumber:!0,propString:!0,constructableCSS:!0,cmpShouldUpdate:!0,devTools:!1,shadowDelegatesFocus:!0,initializeNextTick:!1,asyncLoading:!0,asyncQueue:!1,transformTagName:!1,attachStyles:!0,experimentalSlotFixes:!1};var pl="app";var RA=Eh({});var NA=Object.defineProperty,OA=(t,e)=>{for(var o in e)NA(t,o,{get:e[o],enumerable:!0})},$i={isDev:!!h.isDev,isBrowser:!0,isServer:!1,isTesting:!!h.isTesting},PA="http://www.w3.org/2000/svg",FA="http://www.w3.org/1999/xhtml",th=h.hotModuleReplacement?window.__STENCIL_HOSTREFS__||(window.__STENCIL_HOSTREFS__=new WeakMap):new WeakMap,LA=t=>th.delete(t),Je=t=>th.get(t);var $A=(t,e)=>{let o={$flags$:0,$hostElement$:t,$cmpMeta$:e,$instanceValues$:new Map};h.isDev&&(o.$renderCount$=0),h.method&&h.lazyLoad&&(o.$onInstancePromise$=new Promise(r=>o.$onInstanceResolve$=r)),h.asyncLoading&&(o.$onReadyPromise$=new Promise(r=>o.$onReadyResolve$=r),t["s-p"]=[],t["s-rc"]=[]);let n=th.set(t,o);return!h.lazyLoad&&h.modernPropertyDecls&&(h.state||h.prop)&&jA(t,o),n},c0=(t,e)=>e in t,jA=(t,e)=>{var o;let n=e.$cmpMeta$;Object.entries((o=n.$members$)!=null?o:{}).map(([i,[s]])=>{if(h.state&&h.prop&&!(s&2048)&&(s&31||s&32)){let a=t[i],l=Object.getOwnPropertyDescriptor(Object.getPrototypeOf(t),i);Object.defineProperty(t,i,{get(){return l.get.call(this)},set(c){l.set.call(this,c)},configurable:!0,enumerable:!0}),t[i]=e.$instanceValues$.has(i)?e.$instanceValues$.get(i):a}})},BA,pn=(t,e)=>(BA||console.error)(t,e),_0=h.isTesting?["STENCIL:"]:["%cstencil","color: white;background:#4c47ff;font-weight: bold; font-size:10px; padding:2px 6px; border-radius: 5px"],vl=(...t)=>console.error(..._0,...t),yl=(...t)=>console.warn(..._0,...t);var u0=new Map;var VA=(t,e,o)=>{let n=t.$tagName$.replace(/-/g,"_"),r=t.$lazyBundleId$;if(h.isDev&&typeof r!="string"){vl(`Trying to lazily load component <${t.$tagName$}> with style mode "${e.$modeName$}", but it does not exist.`);return}else if(!r)return;let i=h.hotModuleReplacement?!1:u0.get(r);if(i)return i[n];return RA(`./${r}.entry.js${h.hotModuleReplacement&&o?"?s-hmr="+o:""}`).then(s=>(h.hotModuleReplacement||u0.set(r,s),s[n]),pn)},bl=new Map,UA=[],zA="r",HA="o",GA="s",WA="t",qA="c",Pi="s-id",Bf="sty-id",d0="c-id";var ZA="slot-fb{display:contents}slot-fb[hidden]{display:none}",f0="http://www.w3.org/1999/xlink",YA=["formAssociatedCallback","formResetCallback","formDisabledCallback","formStateRestoreCallback"],Mr=typeof window<"u"?window:{},Re=Mr.document||{head:{}},k0=Mr.HTMLElement||class{},oe={$flags$:0,$resourcesUrl$:"",jmp:t=>t(),raf:t=>requestAnimationFrame(t),ael:(t,e,o,n)=>t.addEventListener(e,o,n),rel:(t,e,o,n)=>t.removeEventListener(e,o,n),ce:(t,e)=>new CustomEvent(t,e)};var Sr=h.shadowDom,QA=(()=>{let t=!1;try{Re.addEventListener("e",null,Object.defineProperty({},"passive",{get(){t=!0}}))}catch{}return t})(),KA=t=>Promise.resolve(t),A0=h.constructableCSS?(()=>{try{return new CSSStyleSheet,typeof new CSSStyleSheet().replaceSync=="function"}catch{}return!1})():!1,Vf=0,Dl=!1,Uf=[],vo=[],zf=[],XA=(t,e)=>o=>{t.push(o),Dl||(Dl=!0,e&&oe.$flags$&4?xl(wl):oe.raf(wl))},h0=t=>{for(let e=0;e{let o=0,n=0;for(;o{if(h.asyncQueue&&Vf++,h0(Uf),h.asyncQueue){let t=(oe.$flags$&6)===2?performance.now()+14*Math.ceil(Vf*.1):1/0;p0(vo,t),p0(zf,t),vo.length>0&&(zf.push(...vo),vo.length=0),(Dl=Uf.length+vo.length+zf.length>0)?oe.raf(wl):Vf=0}else h0(vo),(Dl=Uf.length>0)&&oe.raf(wl)},xl=t=>KA().then(t);var JA=XA(vo,!0),R0=t=>{let e=new URL(t,oe.$resourcesUrl$);return e.origin!==Mr.location.origin?e.href:e.pathname};var eR=t=>t!=null&&t!==void 0,nh=t=>(t=typeof t,t==="object"||t==="function");function tR(t){var e,o,n;return(n=(o=(e=t.head)==null?void 0:e.querySelector('meta[name="csp-nonce"]'))==null?void 0:o.getAttribute("content"))!=null?n:void 0}var nR={};OA(nR,{err:()=>N0,map:()=>oR,ok:()=>Wf,unwrap:()=>rR,unwrapErr:()=>iR});var Wf=t=>({isOk:!0,isErr:!1,value:t}),N0=t=>({isOk:!1,isErr:!0,value:t});function oR(t,e){if(t.isOk){let o=e(t.value);return o instanceof Promise?o.then(n=>Wf(n)):Wf(o)}if(t.isErr){let o=t.value;return N0(o)}throw"should never get here"}var rR=t=>{if(t.isOk)return t.value;throw t.value},iR=t=>{if(t.isErr)return t.value;throw t.value},Sl=t=>{let e=t.__childNodes||t.childNodes;t.tagName&&t.tagName.includes("-")&&t["s-cr"]&&t.tagName!=="SLOT-FB"&&ji(e,t.tagName).forEach(o=>{var n;o.nodeType===1&&o.tagName==="SLOT-FB"&&((n=oh(o,o["s-sn"],!1))!=null&&n.length?o.hidden=!0:o.hidden=!1)});for(let o of e)o.nodeType===1&&(o.__childNodes||o.childNodes).length&&Sl(o)},qf=t=>{let e=[];for(let o=0;o{let n=0,r=[],i;for(;n{let n=[];for((o&&t["s-sr"]||!t["s-sr"])&&n.push(t);(t=t.nextSibling)&&t["s-sn"]===e;)n.push(t);return n},m0=(t,e)=>t.nodeType===1?t.getAttribute("slot")===null&&e===""||t.getAttribute("slot")===e:t["s-sn"]===e?!0:e==="",rh=(t,e,o,n)=>{let r;if(t["s-ol"]&&t["s-ol"].isConnected?r=t["s-ol"]:(r=document.createTextNode(""),r["s-nr"]=t),!e["s-cr"]||!e["s-cr"].parentNode)return;let i=e["s-cr"].parentNode,s=o?i.__prepend||i.prepend:i.__appendChild||i.appendChild;if(typeof n<"u"){if(h.hydrateClientSide){r["s-oo"]=n;let a=i.__childNodes||i.childNodes,l=[r];a.forEach(c=>{c["s-nr"]&&l.push(c)}),l.sort((c,u)=>!c["s-oo"]||c["s-oo"]s.call(i,c))}}else s.call(i,r);t["s-ol"]=r,t["s-sh"]=e["s-hn"]},O0=t=>t["s-sn"]||t.nodeType===1&&t.getAttribute("slot")||"",_r=(t,e,...o)=>{let n=null,r=null,i=null,s=!1,a=!1,l=[],c=d=>{for(let p=0;pd[p]).join(" "))}if(h.isDev&&l.some(Zf)&&vl(`The must be the single root component. Make sure: +- You are NOT using hostData() and in the same component. +- is used once, and it's the single root component of the render() function.`),h.vdomFunctional&&typeof t=="function")return t(e===null?{}:e,l,sR);let u=Tr(t,null);return u.$attrs$=e,l.length>0&&(u.$children$=l),h.vdomKey&&(u.$key$=r),h.slotRelocation&&(u.$name$=i),u},Tr=(t,e)=>{let o={$flags$:0,$tag$:t,$text$:e,$elm$:null,$children$:null};return h.vdomAttribute&&(o.$attrs$=null),h.vdomKey&&(o.$key$=null),h.slotRelocation&&(o.$name$=null),o},ih={},Zf=t=>t&&t.$tag$===ih,sR={forEach:(t,e)=>t.map(g0).forEach(e),map:(t,e)=>t.map(g0).map(e).map(aR)},g0=t=>({vattrs:t.$attrs$,vchildren:t.$children$,vkey:t.$key$,vname:t.$name$,vtag:t.$tag$,vtext:t.$text$}),aR=t=>{if(typeof t.vtag=="function"){let o=w({},t.vattrs);return t.vkey&&(o.key=t.vkey),t.vname&&(o.name=t.vname),_r(t.vtag,o,...t.vchildren||[])}let e=Tr(t.vtag,t.vtext);return e.$attrs$=t.vattrs,e.$children$=t.vchildren,e.$key$=t.vkey,e.$name$=t.vname,e},lR=t=>{let e=Object.keys(t),o=e.indexOf("value");if(o===-1)return;let n=e.indexOf("type"),r=e.indexOf("min"),i=e.indexOf("max"),s=e.indexOf("step");(o should be set after "min", "max", "type" and "step"')},v0=(t,e,o,n,r,i)=>{if(o!==n){let s=c0(t,e),a=e.toLowerCase();if(h.vdomClass&&e==="class"){let l=t.classList,c=y0(o),u=y0(n);t["s-si"]?(u.push(t["s-si"]),c.forEach(d=>{d.startsWith(t["s-si"])&&u.push(d)}),u=[...new Set(u)],l.add(...u),delete t["s-si"]):(l.remove(...c.filter(d=>d&&!u.includes(d))),l.add(...u.filter(d=>d&&!c.includes(d))))}else if(h.vdomStyle&&e==="style"){if(h.updatable)for(let l in o)(!n||n[l]==null)&&(!h.hydrateServerSide&&l.includes("-")?t.style.removeProperty(l):t.style[l]="");for(let l in n)(!o||n[l]!==o[l])&&(!h.hydrateServerSide&&l.includes("-")?t.style.setProperty(l,n[l]):t.style[l]=n[l])}else if(!(h.vdomKey&&e==="key")){if(h.vdomRef&&e==="ref")n&&n(t);else if(h.vdomListener&&(h.lazyLoad?!s:!t.__lookupSetter__(e))&&e[0]==="o"&&e[1]==="n"){if(e[2]==="-"?e=e.slice(3):c0(Mr,a)?e=a.slice(2):e=a[2]+e.slice(3),o||n){let l=e.endsWith(P0);e=e.replace(uR,""),o&&oe.rel(t,e,o,l),n&&oe.ael(t,e,n,l)}}else if(h.vdomPropOrAttr){let l=nh(n);if((s||l&&n!==null)&&!r)try{if(t.tagName.includes("-"))t[e]=n;else{let u=n==null?"":n;e==="list"?s=!1:(o==null||t[e]!=u)&&(typeof t.__lookupSetter__(e)=="function"?t[e]=u:t.setAttribute(e,u))}}catch{}let c=!1;h.vdomXlink&&a!==(a=a.replace(/^xlink\:?/,""))&&(e=a,c=!0),n==null||n===!1?(n!==!1||t.getAttribute(e)==="")&&(h.vdomXlink&&c?t.removeAttributeNS(f0,e):t.removeAttribute(e)):(!s||i&4||r)&&!l&&(n=n===!0?"":n,h.vdomXlink&&c?t.setAttributeNS(f0,e,n):t.setAttribute(e,n))}}}},cR=/\s/,y0=t=>(typeof t=="object"&&"baseVal"in t&&(t=t.baseVal),t?t.split(cR):[]),P0="Capture",uR=new RegExp(P0+"$"),F0=(t,e,o)=>{let n=e.$elm$.nodeType===11&&e.$elm$.host?e.$elm$.host:e.$elm$,r=t&&t.$attrs$||{},i=e.$attrs$||{};if(h.updatable)for(let s of b0(Object.keys(r)))s in i||v0(n,s,r[s],void 0,o,e.$flags$);for(let s of b0(Object.keys(i)))v0(n,s,r[s],i[s],o,e.$flags$)};function b0(t){return t.includes("ref")?[...t.filter(e=>e!=="ref"),"ref"]:t}var gl,Cl,fn,Oi=!1,Il=!1,Tl=!1,ct=!1,El=(t,e,o)=>{var n;let r=e.$children$[o],i=0,s,a,l;if(h.slotRelocation&&!Oi&&(Tl=!0,r.$tag$==="slot"&&(r.$flags$|=r.$children$?2:1)),h.isDev&&r.$elm$&&vl(`The JSX ${r.$text$!==null?`"${r.$text$}" text`:`"${r.$tag$}" element`} node should not be shared within the same renderer. The renderer caches element lookups in order to improve performance. However, a side effect from this is that the exact same JSX node should not be reused. For more information please see https://stenciljs.com/docs/templating-jsx#avoid-shared-jsx-nodes`),h.vdomText&&r.$text$!==null)s=r.$elm$=Re.createTextNode(r.$text$);else if(h.slotRelocation&&r.$flags$&1)s=r.$elm$=h.isDebug||h.hydrateServerSide?fR(r):Re.createTextNode("");else{if(h.svg&&!ct&&(ct=r.$tag$==="svg"),s=r.$elm$=h.svg?Re.createElementNS(ct?PA:FA,!Oi&&h.slotRelocation&&r.$flags$&2?"slot-fb":r.$tag$):Re.createElement(!Oi&&h.slotRelocation&&r.$flags$&2?"slot-fb":r.$tag$),h.svg&&ct&&r.$tag$==="foreignObject"&&(ct=!1),h.vdomAttribute&&F0(null,r,ct),h.scoped&&eR(gl)&&s["s-si"]!==gl&&s.classList.add(s["s-si"]=gl),r.$children$)for(i=0;i{oe.$flags$|=1;let e=t.closest(fn.toLowerCase());if(e!=null){let o=Array.from(e.__childNodes||e.childNodes).find(r=>r["s-cr"]),n=Array.from(t.__childNodes||t.childNodes);for(let r of o?n.reverse():n)r["s-sh"]!=null&&(yt(e,r,o!=null?o:null),r["s-sh"]=void 0,Tl=!0)}oe.$flags$&=-2},Fi=(t,e)=>{oe.$flags$|=1;let o=Array.from(t.__childNodes||t.childNodes);if(t["s-sr"]&&h.experimentalSlotFixes){let n=t;for(;n=n.nextSibling;)n&&n["s-sn"]===t["s-sn"]&&n["s-sh"]===fn&&o.push(n)}for(let n=o.length-1;n>=0;n--){let r=o[n];r["s-hn"]!==fn&&r["s-ol"]&&(yt(Li(r).parentNode,r,Li(r)),r["s-ol"].remove(),r["s-ol"]=void 0,r["s-sh"]=void 0,Tl=!0),e&&Fi(r,e)}oe.$flags$&=-2},$0=(t,e,o,n,r,i)=>{let s=h.slotRelocation&&t["s-cr"]&&t["s-cr"].parentNode||t,a;for(h.shadowDom&&s.shadowRoot&&s.tagName===fn&&(s=s.shadowRoot);r<=i;++r)n[r]&&(a=El(null,o,r),a&&(n[r].$elm$=a,yt(s,a,h.slotRelocation?Li(e):e)))},j0=(t,e,o)=>{for(let n=e;n<=o;++n){let r=t[n];if(r){let i=r.$elm$;V0(r),i&&(h.slotRelocation&&(Il=!0,i["s-ol"]?i["s-ol"].remove():Fi(i,!0)),i.remove())}}},dR=(t,e,o,n,r=!1)=>{let i=0,s=0,a=0,l=0,c=e.length-1,u=e[0],d=e[c],p=n.length-1,f=n[0],g=n[p],v,D;for(;i<=c&&s<=p;)if(u==null)u=e[++i];else if(d==null)d=e[--c];else if(f==null)f=n[++s];else if(g==null)g=n[--p];else if(ml(u,f,r))Ir(u,f,r),u=e[++i],f=n[++s];else if(ml(d,g,r))Ir(d,g,r),d=e[--c],g=n[--p];else if(ml(u,g,r))h.slotRelocation&&(u.$tag$==="slot"||g.$tag$==="slot")&&Fi(u.$elm$.parentNode,!1),Ir(u,g,r),yt(t,u.$elm$,d.$elm$.nextSibling),u=e[++i],g=n[--p];else if(ml(d,f,r))h.slotRelocation&&(u.$tag$==="slot"||g.$tag$==="slot")&&Fi(d.$elm$.parentNode,!1),Ir(d,f,r),yt(t,d.$elm$,u.$elm$),d=e[--c],f=n[++s];else{if(a=-1,h.vdomKey){for(l=i;l<=c;++l)if(e[l]&&e[l].$key$!==null&&e[l].$key$===f.$key$){a=l;break}}h.vdomKey&&a>=0?(D=e[a],D.$tag$!==f.$tag$?v=El(e&&e[s],o,a):(Ir(D,f,r),e[a]=void 0,v=D.$elm$),f=n[++s]):(v=El(e&&e[s],o,s),f=n[++s]),v&&(h.slotRelocation?yt(Li(u.$elm$).parentNode,v,Li(u.$elm$)):yt(u.$elm$.parentNode,v,u.$elm$))}i>c?$0(t,n[p+1]==null?null:n[p+1].$elm$,o,n,s,p):h.updatable&&s>p&&j0(e,i,c)},ml=(t,e,o=!1)=>t.$tag$===e.$tag$?h.slotRelocation&&t.$tag$==="slot"?t.$name$===e.$name$:h.vdomKey&&!o?t.$key$===e.$key$:(o&&!t.$key$&&e.$key$&&(t.$key$=e.$key$),!0):!1,Li=t=>t&&t["s-ol"]||t,Ir=(t,e,o=!1)=>{let n=e.$elm$=t.$elm$,r=t.$children$,i=e.$children$,s=e.$tag$,a=e.$text$,l;!h.vdomText||a===null?(h.svg&&(ct=s==="svg"?!0:s==="foreignObject"?!1:ct),(h.vdomAttribute||h.reflect)&&(h.slot&&s==="slot"&&!Oi?h.experimentalSlotFixes&&t.$name$!==e.$name$&&(e.$elm$["s-sn"]=e.$name$||"",L0(e.$elm$.parentElement)):F0(t,e,ct)),h.updatable&&r!==null&&i!==null?dR(n,r,e,i,o):i!==null?(h.updatable&&h.vdomText&&t.$text$!==null&&(n.textContent=""),$0(n,null,e,i,0,i.length-1)):!o&&h.updatable&&r!==null&&j0(r,0,r.length-1),h.svg&&ct&&s==="svg"&&(ct=!1)):h.vdomText&&h.slotRelocation&&(l=n["s-cr"])?l.parentNode.textContent=a:h.vdomText&&t.$text$!==a&&(n.data=a)},un=[],B0=t=>{let e,o,n,r=t.__childNodes||t.childNodes;for(let i of r){if(i["s-sr"]&&(e=i["s-cr"])&&e.parentNode){o=e.parentNode.__childNodes||e.parentNode.childNodes;let s=i["s-sn"];for(n=o.length-1;n>=0;n--)if(e=o[n],!e["s-cn"]&&!e["s-nr"]&&e["s-hn"]!==i["s-hn"]&&(!h.experimentalSlotFixes||!e["s-sh"]||e["s-sh"]!==i["s-hn"]))if(m0(e,s)){let a=un.find(l=>l.$nodeToRelocate$===e);Il=!0,e["s-sn"]=e["s-sn"]||s,a?(a.$nodeToRelocate$["s-sh"]=i["s-hn"],a.$slotRefNode$=i):(e["s-sh"]=i["s-hn"],un.push({$slotRefNode$:i,$nodeToRelocate$:e})),e["s-sr"]&&un.map(l=>{m0(l.$nodeToRelocate$,e["s-sn"])&&(a=un.find(c=>c.$nodeToRelocate$===e),a&&!l.$slotRefNode$&&(l.$slotRefNode$=a.$slotRefNode$))})}else un.some(a=>a.$nodeToRelocate$===e)||un.push({$nodeToRelocate$:e})}i.nodeType===1&&B0(i)}},V0=t=>{h.vdomRef&&(t.$attrs$&&t.$attrs$.ref&&t.$attrs$.ref(null),t.$children$&&t.$children$.map(V0))},yt=(t,e,o)=>(h.scoped&&typeof e["s-sn"]=="string"&&e["s-sr"]&&e["s-cr"]&&U0(e["s-cr"],e,t,e.parentElement),t==null?void 0:t.insertBefore(e,o));function U0(t,e,o,n){var r;let i;if(t&&typeof e["s-sn"]=="string"&&e["s-sr"]&&t.parentNode&&t.parentNode["s-sc"]&&(i=e["s-si"]||t.parentNode["s-sc"])){let s=e["s-sn"],a=e["s-hn"];if((r=o.classList)==null||r.add(i+"-s"),n&&n.classList.contains(i+"-s")){let l=(n.__childNodes||n.childNodes)[0],c=!1;for(;l;){if(l["s-sn"]!==s&&l["s-hn"]===a&&l["s-sr"]){c=!0;break}l=l.nextSibling}c||n.classList.remove(i+"-s")}}}var D0=(t,e,o=!1)=>{var n,r,i,s,a;let l=t.$hostElement$,c=t.$cmpMeta$,u=t.$vnode$||Tr(null,null),d=Zf(e)?e:_r(null,null,e);if(fn=l.tagName,h.isDev&&Array.isArray(e)&&e.some(Zf))throw new Error(`The must be the single root component. +Looks like the render() function of "${fn.toLowerCase()}" is returning an array that contains the . + +The render() function should look like this instead: + +render() { + // Do not return an array + return ( + {content} + ); +} + `);if(h.reflect&&c.$attrsToReflect$&&(d.$attrs$=d.$attrs$||{},c.$attrsToReflect$.map(([p,f])=>d.$attrs$[f]=l[p])),o&&d.$attrs$)for(let p of Object.keys(d.$attrs$))l.hasAttribute(p)&&!["key","ref","style","class"].includes(p)&&(d.$attrs$[p]=l[p]);if(d.$tag$=null,d.$flags$|=4,t.$vnode$=d,d.$elm$=u.$elm$=h.shadowDom&&l.shadowRoot||l,(h.scoped||h.shadowDom)&&(gl=l["s-sc"]),Oi=Sr&&(c.$flags$&1)!==0,h.slotRelocation&&(Cl=l["s-cr"],Il=!1),Ir(u,d,o),h.slotRelocation){if(oe.$flags$|=1,Tl){B0(d.$elm$);for(let p of un){let f=p.$nodeToRelocate$;if(!f["s-ol"]){let g=h.isDebug||h.hydrateServerSide?hR(f):Re.createTextNode("");g["s-nr"]=f,yt(f.parentNode,f["s-ol"]=g,f)}}for(let p of un){let f=p.$nodeToRelocate$,g=p.$slotRefNode$;if(g){let v=g.parentNode,D=g.nextSibling;if(!h.hydrateServerSide&&(!h.experimentalSlotFixes||D&&D.nodeType===1)){let b=(n=f["s-ol"])==null?void 0:n.previousSibling;for(;b;){let I=(r=b["s-nr"])!=null?r:null;if(I&&I["s-sn"]===f["s-sn"]&&v===I.parentNode){for(I=I.nextSibling;I===f||I!=null&&I["s-sr"];)I=I==null?void 0:I.nextSibling;if(!I||!I["s-nr"]){D=I;break}}b=b.previousSibling}}(!D&&v!==f.parentNode||f.nextSibling!==D)&&f!==D&&(!h.experimentalSlotFixes&&!f["s-hn"]&&f["s-ol"]&&(f["s-hn"]=f["s-ol"].parentNode.nodeName),yt(v,f,D),f.nodeType===1&&f.tagName!=="SLOT-FB"&&(f.hidden=(i=f["s-ih"])!=null?i:!1)),f&&typeof g["s-rf"]=="function"&&g["s-rf"](f)}else f.nodeType===1&&(o&&(f["s-ih"]=(s=f.hidden)!=null?s:!1),f.hidden=!0)}}Il&&Sl(d.$elm$),oe.$flags$&=-2,un.length=0}if(h.experimentalScopedSlotChanges&&c.$flags$&2){let p=d.$elm$.__childNodes||d.$elm$.childNodes;for(let f of p)f["s-hn"]!==fn&&!f["s-sh"]&&(o&&f["s-ih"]==null&&(f["s-ih"]=(a=f.hidden)!=null?a:!1),f.hidden=!0)}Cl=void 0},fR=t=>Re.createComment(` (host=${fn.toLowerCase()})`),hR=t=>Re.createComment("org-location for "+(t.localName?`<${t.localName}> (host=${t["s-hn"]})`:`[${t.textContent}]`)),pR=t=>{z0(t),H0(t),vR(t),gR(t),DR(t),yR(t),bR(t),G0(t),W0(t),mR(t)},z0=t=>{let e=t.cloneNode;t.cloneNode=function(o){let n=this,r=h.shadowDom?n.shadowRoot&&Sr:!1,i=e.call(n,r?o:!1);if(h.slot&&!r&&o){let s=0,a,l,c=["s-id","s-cr","s-lr","s-rc","s-sc","s-p","s-cn","s-sr","s-sn","s-hn","s-ol","s-nr","s-si","s-rf","s-scs"],u=this.__childNodes||this.childNodes;for(;s!u[s][d]),a&&(h.appendChildSlotFix&&i.__appendChild?i.__appendChild(a.cloneNode(!0)):i.appendChild(a.cloneNode(!0))),l&&i.appendChild(u[s].cloneNode(!0))}return i}},H0=t=>{t.__appendChild=t.appendChild,t.appendChild=function(e){let o=e["s-sn"]=O0(e),n=ji(this.__childNodes||this.childNodes,this.tagName,o)[0];if(n){rh(e,n);let r=oh(n,o),i=r[r.length-1],s=yt(i.parentNode,e,i.nextSibling);return Sl(this),s}return this.__appendChild(e)}},mR=t=>{t.__removeChild=t.removeChild,t.removeChild=function(e){if(e&&typeof e["s-sn"]<"u"){let o=this.__childNodes||this.childNodes;if(ji(o,this.tagName,e["s-sn"])&&e.isConnected){e.remove(),Sl(this);return}}return this.__removeChild(e)}},gR=t=>{t.__prepend=t.prepend,t.prepend=function(...e){e.forEach(o=>{typeof o=="string"&&(o=this.ownerDocument.createTextNode(o));let n=o["s-sn"]=O0(o),r=this.__childNodes||this.childNodes,i=ji(r,this.tagName,n)[0];if(i){rh(o,i,!0);let a=oh(i,n)[0];return yt(a.parentNode,o,a.nextSibling)}return o.nodeType===1&&o.getAttribute("slot")&&(o.hidden=!0),t.__prepend(o)})}},vR=t=>{t.__append=t.append,t.append=function(...e){e.forEach(o=>{typeof o=="string"&&(o=this.ownerDocument.createTextNode(o)),this.appendChild(o)})}},yR=t=>{let e=t.insertAdjacentHTML;t.insertAdjacentHTML=function(o,n){if(o!=="afterbegin"&&o!=="beforeend")return e.call(this,o,n);let r=this.ownerDocument.createElement("_"),i;if(r.innerHTML=n,o==="afterbegin")for(;i=r.firstChild;)this.prepend(i);else if(o==="beforeend")for(;i=r.firstChild;)this.append(i)}},bR=t=>{t.insertAdjacentText=function(e,o){this.insertAdjacentHTML(e,o)}},DR=t=>{let e=t.insertAdjacentElement;t.insertAdjacentElement=function(o,n){return o!=="afterbegin"&&o!=="beforeend"?e.call(this,o,n):o==="afterbegin"?(this.prepend(n),n):(o==="beforeend"&&this.append(n),n)}},G0=t=>{dn("textContent",t),Object.defineProperty(t,"textContent",{get:function(){let e="";return(this.__childNodes?this.childNodes:qf(this.childNodes)).forEach(n=>e+=n.textContent||""),e},set:function(e){(this.__childNodes?this.childNodes:qf(this.childNodes)).forEach(n=>{n["s-ol"]&&n["s-ol"].remove(),n.remove()}),this.insertAdjacentHTML("beforeend",e)}})},W0=t=>{class e extends Array{item(n){return this[n]}}dn("children",t),Object.defineProperty(t,"children",{get(){return this.childNodes.filter(o=>o.nodeType===1)}}),Object.defineProperty(t,"childElementCount",{get(){return this.children.length}}),dn("firstChild",t),Object.defineProperty(t,"firstChild",{get(){return this.childNodes[0]}}),dn("lastChild",t),Object.defineProperty(t,"lastChild",{get(){return this.childNodes[this.childNodes.length-1]}}),dn("childNodes",t),Object.defineProperty(t,"childNodes",{get(){var o,n;if(!oe.$flags$||!((o=Je(this))!=null&&o.$flags$)||!(oe.$flags$&1)&&((n=Je(this))==null?void 0:n.$flags$)&2){let r=new e,i=qf(this.__childNodes);return r.push(...i),r}return e.from(this.__childNodes)}})},wR=t=>{!t||t.__nextSibling||!globalThis.Node||(CR(t),ER(t),t.nodeType===Node.ELEMENT_NODE&&(IR(t),xR(t)))},CR=t=>{!t||t.__nextSibling||(dn("nextSibling",t),Object.defineProperty(t,"nextSibling",{get:function(){var e;let o=(e=this["s-ol"])==null?void 0:e.parentNode.childNodes,n=o==null?void 0:o.indexOf(this);return o&&n>-1?o[n+1]:this.__nextSibling}}))},IR=t=>{!t||t.__nextElementSibling||(dn("nextElementSibling",t),Object.defineProperty(t,"nextElementSibling",{get:function(){var e;let o=(e=this["s-ol"])==null?void 0:e.parentNode.children,n=o==null?void 0:o.indexOf(this);return o&&n>-1?o[n+1]:this.__nextElementSibling}}))},ER=t=>{!t||t.__previousSibling||(dn("previousSibling",t),Object.defineProperty(t,"previousSibling",{get:function(){var e;let o=(e=this["s-ol"])==null?void 0:e.parentNode.childNodes,n=o==null?void 0:o.indexOf(this);return o&&n>-1?o[n-1]:this.__previousSibling}}))},xR=t=>{!t||t.__previousElementSibling||(dn("previousElementSibling",t),Object.defineProperty(t,"previousElementSibling",{get:function(){var e;let o=(e=this["s-ol"])==null?void 0:e.parentNode.children,n=o==null?void 0:o.indexOf(this);return o&&n>-1?o[n-1]:this.__previousElementSibling}}))},SR=["children","nextElementSibling","previousElementSibling"],TR=["childNodes","firstChild","lastChild","nextSibling","previousSibling","textContent"];function dn(t,e){let o;SR.includes(t)?o=Object.getOwnPropertyDescriptor(Element.prototype,t):TR.includes(t)&&(o=Object.getOwnPropertyDescriptor(Node.prototype,t)),o||(o=Object.getOwnPropertyDescriptor(e,t)),o&&Object.defineProperty(e,"__"+t,o)}var MR=0,hn=(t,e="")=>{if(h.profile&&performance.mark){let o=`st:${t}:${e}:${MR++}`;return performance.mark(o),()=>performance.measure(`[Stencil] ${t}() <${e}>`,o)}else return()=>{}},_R=(t,e)=>h.profile&&performance.mark?(performance.getEntriesByName(t,"mark").length===0&&performance.mark(t),()=>{performance.getEntriesByName(e,"measure").length===0&&performance.measure(e,t)}):()=>{};var kR=(t,e,o,n)=>{let r=hn("hydrateClient",e),i=t.shadowRoot,s=[],a=[],l=[],c=h.shadowDom&&i?[]:null,u=Tr(e,null);u.$elm$=t;let d;if(h.scoped){let M=n.$cmpMeta$;M&&M.$flags$&10&&t["s-sc"]?(d=t["s-sc"],t.classList.add(d+"-h")):t["s-sc"]&&delete t["s-sc"]}oe.$orgLocNodes$||Qf(Re.body,oe.$orgLocNodes$=new Map),t[Pi]=o,t.removeAttribute(Pi),n.$vnode$=Yf(u,s,a,c,t,t,o,l);let p=0,f=s.length,g;for(p;p{g.$elm$.appendChild(se.$elm$)})):g.$flags$|=1),L&&L.isConnected&&(i&&L["s-en"]===""&&L.parentNode.insertBefore(q,L.nextSibling),L.parentNode.removeChild(L),i||(q["s-oo"]=parseInt(g.$nodeId$))),oe.$orgLocNodes$.delete(M)}let v=[],D=l.length,b=0,I,E,N,A;for(b;b{M.$elm$.parentElement.classList.add(d+"-s")}),h.shadowDom&&i){let M=0,L=c.length;for(M;M{q.nodeType===8&&typeof q["s-sn"]!="string"&&q.parentNode.removeChild(q)})}n.$hostElement$=t,r()},Yf=(t,e,o,n,r,i,s,a=[])=>{let l,c,u,d,p=r["s-sc"];if(i.nodeType===1){if(l=i.getAttribute(d0),l&&(c=l.split("."),c[0]===s||c[0]==="0")){u=w0({$flags$:0,$hostId$:c[0],$nodeId$:c[1],$depth$:c[2],$index$:c[3],$tag$:i.tagName.toLowerCase(),$elm$:i,$attrs$:{class:i.className||""}}),e.push(u),i.removeAttribute(d0),t.$children$||(t.$children$=[]),h.scoped&&p&&(i["s-si"]=p,u.$attrs$.class+=" "+p);let g=u.$elm$.getAttribute("s-sn");typeof g=="string"&&(u.$tag$==="slot-fb"&&(C0(g,c[2],u,i,t,e,o,n,a),h.scoped&&p&&i.classList.add(p)),u.$elm$["s-sn"]=g,u.$elm$.removeAttribute("s-sn")),u.$index$!==void 0&&(t.$children$[u.$index$]=u),t=u,n&&u.$depth$==="0"&&(n[u.$index$]=u.$elm$)}if(i.shadowRoot)for(d=i.shadowRoot.childNodes.length-1;d>=0;d--)Yf(t,e,o,n,r,i.shadowRoot.childNodes[d],s,a);let f=i.__childNodes||i.childNodes;for(d=f.length-1;d>=0;d--)Yf(t,e,o,n,r,f[d],s,a)}else if(i.nodeType===8){if(c=i.nodeValue.split("."),c[1]===s||c[1]==="0"){if(l=c[0],u=w0({$hostId$:c[1],$nodeId$:c[2],$depth$:c[3],$index$:c[4]||"0",$elm$:i,$attrs$:null,$children$:null,$key$:null,$name$:null,$tag$:null,$text$:null}),l===WA)u.$elm$=i.nextSibling,u.$elm$&&u.$elm$.nodeType===3&&(u.$text$=u.$elm$.textContent,e.push(u),i.remove(),s===u.$hostId$&&(t.$children$||(t.$children$=[]),t.$children$[u.$index$]=u),n&&u.$depth$==="0"&&(n[u.$index$]=u.$elm$));else if(l===qA)u.$elm$=i.nextSibling,u.$elm$&&u.$elm$.nodeType===8&&(e.push(u),i.remove());else if(u.$hostId$===s)if(l===GA){let f=i["s-sn"]=c[5]||"";C0(f,c[2],u,i,t,e,o,n,a)}else l===zA&&(h.shadowDom&&n?i.remove():h.slotRelocation&&(r["s-cr"]=i,i["s-cn"]=!0))}}else if(t&&t.$tag$==="style"){let f=Tr(null,i.textContent);f.$elm$=i,f.$index$="0",t.$children$=[f]}return t},Qf=(t,e)=>{if(t.nodeType===1){let o=t[Pi]||t.getAttribute(Pi);o&&e.set(o,t);let n=0;if(t.shadowRoot)for(;nw(w({},{$flags$:0,$hostId$:null,$nodeId$:null,$depth$:null,$index$:"0",$elm$:null,$attrs$:null,$children$:null,$key$:null,$name$:null,$tag$:null,$text$:null}),t);function C0(t,e,o,n,r,i,s,a,l){n["s-sr"]=!0,o.$name$=t||null,o.$tag$="slot";let c=r!=null&&r.$elm$?r.$elm$["s-id"]||r.$elm$.getAttribute("s-id"):"";if(h.shadowDom&&a){let u=o.$elm$=Re.createElement(o.$tag$);o.$name$&&o.$elm$.setAttribute("name",t),c&&c!==o.$hostId$?r.$elm$.insertBefore(u,r.$elm$.children[0]):n.parentNode.insertBefore(o.$elm$,n),I0(l,e,t,n,o.$hostId$),n.remove(),o.$depth$==="0"&&(a[o.$index$]=o.$elm$)}else{let u=o.$elm$,d=c&&c!==o.$hostId$&&r.$elm$.shadowRoot;I0(l,e,t,n,d?c:o.$hostId$),d&&r.$elm$.insertBefore(u,r.$elm$.children[0]),i.push(o)}s.push(o),r.$children$||(r.$children$=[]),r.$children$[o.$index$]=o}var I0=(t,e,o,n,r)=>{let i=n.nextSibling;for(t[e]=t[e]||[];i&&((i.getAttribute&&i.getAttribute("slot")||i["s-sn"])===o||o===""&&!i["s-sn"]&&(i.nodeType===8&&i.nodeValue.indexOf(".")!==1||i.nodeType===3));)i["s-sn"]=o,t[e].push({slot:n,node:i,hostId:r}),i=i.nextSibling},AR=t=>UA.map(e=>e(t)).find(e=>!!e);var Kf=(t,e)=>t!=null&&!nh(t)?h.propBoolean&&e&4?t==="false"?!1:t===""||!!t:h.propNumber&&e&2?parseFloat(t):h.propString&&e&1?String(t):t:t;var q0=(t,e,o)=>{let n=oe.ce(e,o);return t.dispatchEvent(n),n},Er=new WeakMap,RR=(t,e,o)=>{let n=bl.get(t);A0&&o?(n=n||new CSSStyleSheet,typeof n=="string"?n=e:n.replaceSync(e)):n=e,bl.set(t,n)},Xf=(t,e,o)=>{var n;let r=sh(e,o),i=bl.get(r);if(!h.attachStyles)return r;if(t=t.nodeType===11?t:Re,i)if(typeof i=="string"){t=t.head||t;let s=Er.get(t),a;if(s||Er.set(t,s=new Set),!s.has(r)){if(h.hydrateClientSide&&t.host&&(a=t.querySelector(`[${Bf}="${r}"]`)))a.innerHTML=i;else{a=document.querySelector(`[${Bf}="${r}"]`)||Re.createElement("style"),a.innerHTML=i;let l=(n=oe.$nonce$)!=null?n:tR(Re);if(l!=null&&a.setAttribute("nonce",l),(h.hydrateServerSide||h.hotModuleReplacement)&&e.$flags$&2&&a.setAttribute(Bf,r),!(e.$flags$&1))if(t.nodeName==="HEAD"){let c=t.querySelectorAll("link[rel=preconnect]"),u=c.length>0?c[c.length-1].nextSibling:t.querySelector("style");t.insertBefore(a,u)}else if("host"in t)if(A0){let c=new CSSStyleSheet;c.replaceSync(i),t.adoptedStyleSheets=[c,...t.adoptedStyleSheets]}else{let c=t.querySelector("style");c?c.innerHTML=i+c.innerHTML:t.prepend(a)}else t.append(a);e.$flags$&1&&t.nodeName!=="HEAD"&&t.insertBefore(a,null)}e.$flags$&4&&(a.innerHTML+=ZA),s&&s.add(r)}}else h.constructableCSS&&!t.adoptedStyleSheets.includes(i)&&(t.adoptedStyleSheets=[...t.adoptedStyleSheets,i]);return r},NR=t=>{let e=t.$cmpMeta$,o=t.$hostElement$,n=e.$flags$,r=hn("attachStyles",e.$tagName$),i=Xf(h.shadowDom&&Sr&&o.shadowRoot?o.shadowRoot:o.getRootNode(),e,t.$modeName$);(h.shadowDom||h.scoped)&&h.cssAnnotations&&n&10&&n&2&&(o["s-sc"]=i,o.classList.add(i+"-h")),r()},sh=(t,e)=>"sc-"+(h.mode&&e&&t.$flags$&32?t.$tagName$+"-"+e:t.$tagName$),Z0=(t,e)=>{h.asyncLoading&&e&&!t.$onRenderResolve$&&e["s-p"]&&e["s-p"].push(new Promise(o=>t.$onRenderResolve$=o))},ah=(t,e)=>{if(h.taskQueue&&h.updatable&&(t.$flags$|=16),h.asyncLoading&&t.$flags$&4){t.$flags$|=512;return}Z0(t,t.$ancestorComponent$);let o=()=>OR(t,e);return h.taskQueue?JA(o):o()},OR=(t,e)=>{let o=t.$hostElement$,n=hn("scheduleUpdate",t.$cmpMeta$.$tagName$),r=h.lazyLoad?t.$lazyInstance$:o;if(!r)throw new Error(`Can't render component <${o.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let i;return e?(h.lazyLoad&&h.hostListener&&(t.$flags$|=256,t.$queuedListeners$&&(t.$queuedListeners$.map(([s,a])=>zt(r,s,a)),t.$queuedListeners$=void 0)),xr(o,"componentWillLoad"),h.cmpWillLoad&&(i=zt(r,"componentWillLoad"))):(xr(o,"componentWillUpdate"),h.cmpWillUpdate&&(i=zt(r,"componentWillUpdate"))),xr(o,"componentWillRender"),h.cmpWillRender&&(i=E0(i,()=>zt(r,"componentWillRender"))),n(),E0(i,()=>FR(t,r,e))},E0=(t,e)=>PR(t)?t.then(e).catch(o=>{console.error(o),e()}):e(),PR=t=>t instanceof Promise||t&&t.then&&typeof t.then=="function",FR=async(t,e,o)=>{var n;let r=t.$hostElement$,i=hn("update",t.$cmpMeta$.$tagName$),s=r["s-rc"];h.style&&o&&NR(t);let a=hn("render",t.$cmpMeta$.$tagName$);if(h.isDev&&(t.$flags$|=1024),h.hydrateServerSide?await S0(t,e,r,o):S0(t,e,r,o),h.isDev&&(t.$renderCount$=t.$renderCount$===void 0?1:t.$renderCount$+1,t.$flags$&=-1025),h.hydrateServerSide)try{Q0(r),o&&(t.$cmpMeta$.$flags$&1?r["s-en"]="":t.$cmpMeta$.$flags$&2&&(r["s-en"]="c"))}catch(l){pn(l,r)}if(h.asyncLoading&&s&&(s.map(l=>l()),r["s-rc"]=void 0),a(),i(),h.asyncLoading){let l=(n=r["s-p"])!=null?n:[],c=()=>T0(t);l.length===0?c():(Promise.all(l).then(c),t.$flags$|=4,l.length=0)}else T0(t)},x0=null,S0=(t,e,o,n)=>{let r=!!h.allRenderFn,i=!!h.lazyLoad,s=!!h.taskQueue,a=!!h.updatable;try{if(x0=e,e=(r||e.render)&&e.render(),a&&s&&(t.$flags$&=-17),(a||i)&&(t.$flags$|=2),h.hasRenderFn||h.reflect)if(h.vdomRender||h.reflect){if(h.hydrateServerSide)return Promise.resolve(e).then(l=>D0(t,l,n));D0(t,e,n)}else{let l=o.shadowRoot;t.$cmpMeta$.$flags$&1?l.textContent=e:o.textContent=e}}catch(l){pn(l,t.$hostElement$)}return x0=null,null};var T0=t=>{let e=t.$cmpMeta$.$tagName$,o=t.$hostElement$,n=hn("postUpdate",e),r=h.lazyLoad?t.$lazyInstance$:o,i=t.$ancestorComponent$;h.cmpDidRender&&(h.isDev&&(t.$flags$|=1024),zt(r,"componentDidRender"),h.isDev&&(t.$flags$&=-1025)),xr(o,"componentDidRender"),t.$flags$&64?(h.cmpDidUpdate&&(h.isDev&&(t.$flags$|=1024),zt(r,"componentDidUpdate"),h.isDev&&(t.$flags$&=-1025)),xr(o,"componentDidUpdate"),n()):(t.$flags$|=64,h.asyncLoading&&h.cssAnnotations&&Y0(o),h.cmpDidLoad&&(h.isDev&&(t.$flags$|=2048),zt(r,"componentDidLoad"),h.isDev&&(t.$flags$&=-2049)),xr(o,"componentDidLoad"),n(),h.asyncLoading&&(t.$onReadyResolve$(o),i||LR(e))),h.method&&h.lazyLoad&&t.$onInstanceResolve$(o),h.asyncLoading&&(t.$onRenderResolve$&&(t.$onRenderResolve$(),t.$onRenderResolve$=void 0),t.$flags$&512&&xl(()=>ah(t,!1)),t.$flags$&=-517)};var LR=t=>{h.cssAnnotations&&Y0(Re.documentElement),h.asyncQueue&&(oe.$flags$|=2),xl(()=>q0(Mr,"appload",{detail:{namespace:pl}})),h.profile&&performance.measure&&performance.measure(`[Stencil] ${pl} initial load (by ${t})`,"st:app:start")},zt=(t,e,o)=>{if(t&&t[e])try{return t[e](o)}catch(n){pn(n)}},xr=(t,e)=>{h.lifecycleDOMEvents&&q0(t,"stencil_"+e,{bubbles:!0,composed:!0,detail:{namespace:pl}})},Y0=t=>{var e,o;return h.hydratedClass?t.classList.add((e=h.hydratedSelectorName)!=null?e:"hydrated"):h.hydratedAttribute?t.setAttribute((o=h.hydratedSelectorName)!=null?o:"hydrated",""):void 0},Q0=t=>{let e=t.children;if(e!=null)for(let o=0,n=e.length;oJe(t).$instanceValues$.get(e),Hf=(t,e,o,n)=>{let r=Je(t);if(h.lazyLoad&&!r)throw new Error(`Couldn't find host element for "${n.$tagName$}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/ionic-team/stencil/issues/5457).`);let i=h.lazyLoad?r.$hostElement$:t,s=r.$instanceValues$.get(e),a=r.$flags$,l=h.lazyLoad?r.$lazyInstance$:i;o=Kf(o,n.$members$[e][0]);let c=Number.isNaN(s)&&Number.isNaN(o),u=o!==s&&!c;if((!h.lazyLoad||!(a&8)||s===void 0)&&u&&(r.$instanceValues$.set(e,o),h.isDev&&(r.$flags$&1024?yl(`The state/prop "${e}" changed during rendering. This can potentially lead to infinite-loops and other bugs.`,` +Element`,i,` +New value`,o,` +Old value`,s):r.$flags$&2048&&yl(`The state/prop "${e}" changed during "componentDidLoad()", this triggers extra re-renders, try to setup on "componentWillLoad()"`,` +Element`,i,` +New value`,o,` +Old value`,s)),!h.lazyLoad||l)){if(h.watchCallback&&n.$watchers$&&a&128){let d=n.$watchers$[e];d&&d.map(p=>{try{l[p](o,s,e)}catch(f){pn(f,i)}})}if(h.updatable&&(a&18)===2){if(h.cmpShouldUpdate&&l.componentShouldUpdate&&l.componentShouldUpdate(o,s,e)===!1)return;ah(r,!1)}}},K0=(t,e,o)=>{var n,r;let i=t.prototype;if(h.formAssociated&&e.$flags$&64&&o&1&&YA.forEach(s=>{let a=i[s];Object.defineProperty(i,s,{value(...l){let c=Je(this),u=h.lazyLoad?c.$lazyInstance$:this;if(!u)c.$onReadyPromise$.then(d=>{let p=d[s];typeof p=="function"&&p.call(d,...l)});else{let d=h.lazyLoad?u[s]:a;typeof d=="function"&&d.call(u,...l)}}})}),h.member&&e.$members$||h.watchCallback&&(e.$watchers$||t.watchers)){h.watchCallback&&t.watchers&&!e.$watchers$&&(e.$watchers$=t.watchers);let s=Object.entries((n=e.$members$)!=null?n:{});if(s.map(([a,[l]])=>{if((h.prop||h.state)&&(l&31||(!h.lazyLoad||o&2)&&l&32)){if(!(l&2048))Object.defineProperty(i,a,{get(){return $R(this,a)},set(c){if(h.isDev){let u=Je(this);!(o&1)&&(u&&u.$flags$&8)===0&&l&31&&!(l&1024)&&yl(`@Prop() "${a}" on <${e.$tagName$}> is immutable but was modified from within the component. +More information: https://stenciljs.com/docs/properties#prop-mutability`)}Hf(this,a,c,e)},configurable:!0,enumerable:!0});else if(o&1&&l&2048&&(h.lazyLoad&&Object.defineProperty(i,a,{get(){let c=Je(this),u=h.lazyLoad&&c?c.$lazyInstance$:i;if(u)return u[a]},configurable:!0,enumerable:!0}),l&4096)){let c=Object.getOwnPropertyDescriptor(i,a).set;Object.defineProperty(i,a,{set(u){let d=Je(this);if(c){let f=d.$hostElement$[a];!d.$instanceValues$.get(a)&&f&&d.$instanceValues$.set(a,f),c.apply(this,[Kf(u,e.$members$[a][0])]),Hf(this,a,d.$hostElement$[a],e);return}if(!d)return;let p=()=>{let f=d.$lazyInstance$[a];!d.$instanceValues$.get(a)&&f&&d.$instanceValues$.set(a,f),d.$lazyInstance$[a]=Kf(u,e.$members$[a][0]),Hf(this,a,d.$lazyInstance$[a],e)};d.$lazyInstance$?p():d.$onReadyPromise$.then(()=>p())}})}}else h.lazyLoad&&h.method&&o&1&&l&64&&Object.defineProperty(i,a,{value(...c){var u;let d=Je(this);return(u=d==null?void 0:d.$onInstancePromise$)==null?void 0:u.then(()=>{var p;return(p=d.$lazyInstance$)==null?void 0:p[a](...c)})}})}),h.observeAttribute&&(!h.lazyLoad||o&1)){let a=new Map;i.attributeChangedCallback=function(l,c,u){oe.jmp(()=>{var d;let p=a.get(l);if(this.hasOwnProperty(p)&&h.lazyLoad)u=this[p],delete this[p];else{if(i.hasOwnProperty(p)&&typeof this[p]=="number"&&this[p]==u)return;if(p==null){let g=Je(this),v=g==null?void 0:g.$flags$;if(v&&!(v&8)&&v&128&&u!==c){let D=h.lazyLoad?g.$hostElement$:this,b=h.lazyLoad?g.$lazyInstance$:D,I=(d=e.$watchers$)==null?void 0:d[l];I==null||I.forEach(E=>{b[E]!=null&&b[E].call(b,u,c,l)})}return}}let f=Object.getOwnPropertyDescriptor(i,p);(!f.get||f.set)&&(this[p]=u===null&&typeof this[p]=="boolean"?!1:u)})},t.observedAttributes=Array.from(new Set([...Object.keys((r=e.$watchers$)!=null?r:{}),...s.filter(([l,c])=>c[0]&15).map(([l,c])=>{var u;let d=c[1]||l;return a.set(d,l),h.reflect&&c[0]&512&&((u=e.$attrsToReflect$)==null||u.push([l,d])),d})]))}}return t},M0=async(t,e,o,n)=>{let r;if(!(e.$flags$&32)){e.$flags$|=32;let a=o.$lazyBundleId$;if((h.lazyLoad||h.hydrateClientSide)&&a){let l=VA(o,e,n);if(l&&"then"in l){let u=_R(`st:load:${o.$tagName$}:${e.$modeName$}`,`[Stencil] Load module for <${o.$tagName$}>`);r=await l,u()}else r=l;if(!r)throw new Error(`Constructor for "${o.$tagName$}#${e.$modeName$}" was not found`);h.member&&!r.isProxied&&(h.watchCallback&&(o.$watchers$=r.watchers),K0(r,o,2),r.isProxied=!0);let c=hn("createInstance",o.$tagName$);h.member&&(e.$flags$|=8);try{new r(e)}catch(u){pn(u)}h.member&&(e.$flags$&=-9),h.watchCallback&&(e.$flags$|=128),c(),Jf(e.$lazyInstance$)}else{r=t.constructor;let l=t.localName;customElements.whenDefined(l).then(()=>e.$flags$|=128)}if(h.style&&r&&r.style){let l;typeof r.style=="string"?l=r.style:h.mode&&typeof r.style!="string"&&(e.$modeName$=AR(t),e.$modeName$&&(l=r.style[e.$modeName$]),h.hydrateServerSide&&e.$modeName$&&t.setAttribute("s-mode",e.$modeName$));let c=sh(o,e.$modeName$);if(!bl.has(c)){let u=hn("registerStyles",o.$tagName$);!h.hydrateServerSide&&h.shadowDom&&h.shadowDomShim&&o.$flags$&8&&(l=await import("./shadow-css-N3OFT4QQ.js").then(d=>d.scopeCss(l,c))),RR(c,l,!!(o.$flags$&1)),u()}}}let i=e.$ancestorComponent$,s=()=>ah(e,!0);h.asyncLoading&&i&&i["s-rc"]?i["s-rc"].push(s):s()},Jf=t=>{h.lazyLoad&&h.connectedCallback&&zt(t,"connectedCallback")},jR=t=>{if(!(oe.$flags$&1)){let e=Je(t),o=e.$cmpMeta$,n=hn("connectedCallback",o.$tagName$);if(h.hostListenerTargetParent&&eh(t,e,o.$listeners$,!0),e.$flags$&1)eh(t,e,o.$listeners$,!1),e!=null&&e.$lazyInstance$?Jf(e.$lazyInstance$):e!=null&&e.$onReadyPromise$&&e.$onReadyPromise$.then(()=>Jf(e.$lazyInstance$));else{e.$flags$|=1;let r;if(h.hydrateClientSide&&(r=t.getAttribute(Pi),r)){if(h.shadowDom&&Sr&&o.$flags$&1){let i=h.mode?Xf(t.shadowRoot,o,t.getAttribute("s-mode")):Xf(t.shadowRoot,o);t.classList.remove(i+"-h",i+"-s")}else if(h.scoped&&o.$flags$&2){let i=sh(o,h.mode?t.getAttribute("s-mode"):void 0);t["s-sc"]=i}kR(t,o.$tagName$,r,e)}if(h.slotRelocation&&!r&&(h.hydrateServerSide||(h.slot||h.shadowDom)&&o.$flags$&12)&&BR(t),h.asyncLoading){let i=t;for(;i=i.parentNode||i.host;)if(h.hydrateClientSide&&i.nodeType===1&&i.hasAttribute("s-id")&&i["s-p"]||i["s-p"]){Z0(e,e.$ancestorComponent$=i);break}}h.prop&&!h.hydrateServerSide&&o.$members$&&Object.entries(o.$members$).map(([i,[s]])=>{if(s&31&&t.hasOwnProperty(i)){let a=t[i];delete t[i],t[i]=a}}),h.initializeNextTick?xl(()=>M0(t,e,o)):M0(t,e,o)}n()}},BR=t=>{let e=t["s-cr"]=Re.createComment(h.isDebug?`content-ref (host=${t.localName})`:"");e["s-cn"]=!0,yt(t,e,t.firstChild)},Gf=t=>{h.lazyLoad&&h.disconnectedCallback&&zt(t,"disconnectedCallback"),h.cmpDidUnload&&zt(t,"componentDidUnload")},VR=async t=>{if(!(oe.$flags$&1)){let e=Je(t);h.hostListener&&e.$rmListeners$&&(e.$rmListeners$.map(o=>o()),e.$rmListeners$=void 0),h.lazyLoad?e!=null&&e.$lazyInstance$?Gf(e.$lazyInstance$):e!=null&&e.$onReadyPromise$&&e.$onReadyPromise$.then(()=>Gf(e.$lazyInstance$)):Gf(t)}Er.has(t)&&Er.delete(t),t.shadowRoot&&Er.has(t.shadowRoot)&&Er.delete(t.shadowRoot)};var X0=(t,e)=>{let o={$flags$:e[0],$tagName$:e[1]};h.member&&(o.$members$=e[2]),h.hostListener&&(o.$listeners$=e[3]),h.watchCallback&&(o.$watchers$=t.$watchers$),h.reflect&&(o.$attrsToReflect$=[]),h.shadowDom&&!Sr&&o.$flags$&1&&(o.$flags$|=8),h.experimentalSlotFixes?h.scoped&&o.$flags$&2&&pR(t.prototype):(h.slotChildNodesFix&&W0(t.prototype),h.cloneNodeFix&&z0(t.prototype),h.appendChildSlotFix&&H0(t.prototype),h.scopedSlotTextContentFix&&o.$flags$&2&&G0(t.prototype));let n=t.prototype.connectedCallback,r=t.prototype.disconnectedCallback;return Object.assign(t.prototype,{__hasHostListenerAttached:!1,__registerHost(){$A(this,o)},connectedCallback(){if(!this.__hasHostListenerAttached){let i=Je(this);eh(this,i,o.$listeners$,!1),this.__hasHostListenerAttached=!0}jR(this),h.connectedCallback&&n&&n.call(this)},disconnectedCallback(){VR(this),h.disconnectedCallback&&r&&r.call(this),oe.raf(()=>{var i;let s=Je(this);((i=s==null?void 0:s.$vnode$)==null?void 0:i.$elm$)instanceof Node&&!s.$vnode$.$elm$.isConnected&&delete s.$vnode$,this instanceof Node&&!this.isConnected&&LA(this)})},__attachShadow(){if(Sr){if(!this.shadowRoot)h.shadowDelegatesFocus?this.attachShadow({mode:"open",delegatesFocus:!!(o.$flags$&16)}):this.attachShadow({mode:"open"});else if(this.shadowRoot.mode!=="open")throw new Error(`Unable to re-use existing shadow root for ${o.$tagName$}! Mode is set to ${this.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else this.shadowRoot=this}}),t.is=o.$tagName$,K0(t,o,3)};var eh=(t,e,o,n)=>{h.hostListener&&o&&(h.hostListenerTargetParent&&(n?o=o.filter(([r])=>r&32):o=o.filter(([r])=>!(r&32))),o.map(([r,i,s])=>{let a=h.hostListenerTarget?zR(t,r):t,l=UR(e,s),c=HR(r);oe.ael(a,i,l,c),(e.$rmListeners$=e.$rmListeners$||[]).push(()=>oe.rel(a,i,l,c))}))},UR=(t,e)=>o=>{var n;try{h.lazyLoad?t.$flags$&256?(n=t.$lazyInstance$)==null||n[e](o):(t.$queuedListeners$=t.$queuedListeners$||[]).push([e,o]):t.$hostElement$[e](o)}catch(r){pn(r)}},zR=(t,e)=>h.hostListenerTargetDocument&&e&4?Re:h.hostListenerTargetWindow&&e&8?Mr:h.hostListenerTargetBody&&e&16?Re.body:h.hostListenerTargetParent&&e&32&&t.parentElement?t.parentElement:t,HR=t=>QA?{passive:(t&1)!==0,capture:(t&2)!==0}:(t&2)!==0;var lh,GR=()=>{if(typeof window>"u")return new Map;if(!lh){let t=window;t.Ionicons=t.Ionicons||{},lh=t.Ionicons.map=t.Ionicons.map||new Map}return lh};var J0=t=>{let e=ch(t.src);return e||(e=uh(t.name,t.icon,t.mode,t.ios,t.md),e?WR(e,t):t.icon&&(e=ch(t.icon),e||(e=ch(t.icon[t.mode]),e))?e:null)},WR=(t,e)=>{let o=GR().get(t);if(o)return o;try{return R0(`svg/${t}.svg`)}catch{console.warn(`[Ionicons Warning]: Could not load icon with name "${t}". Ensure that the icon is registered using addIcons or that the icon SVG data is passed directly to the icon component.`,e)}},uh=(t,e,o,n,r)=>(o=(o&&Ml(o))==="ios"?"ios":"md",n&&o==="ios"?t=Ml(n):r&&o==="md"?t=Ml(r):(!t&&e&&!eD(e)&&(t=e),Bi(t)&&(t=Ml(t))),!Bi(t)||t.trim()===""||t.replace(/[a-z]|-|\d/gi,"")!==""?null:t),ch=t=>Bi(t)&&(t=t.trim(),eD(t))?t:null,eD=t=>t.length>0&&/(\/|\.)/.test(t),Bi=t=>typeof t=="string",Ml=t=>t.toLowerCase(),tD=(t,e=[])=>{let o={};return e.forEach(n=>{t.hasAttribute(n)&&(t.getAttribute(n)!==null&&(o[n]=t.getAttribute(n)),t.removeAttribute(n))}),o},nD=t=>t&&t.dir!==""?t.dir.toLowerCase()==="rtl":(document==null?void 0:document.dir.toLowerCase())==="rtl";var qR=t=>{let e=document.createElement("div");e.innerHTML=t;for(let n=e.childNodes.length-1;n>=0;n--)e.childNodes[n].nodeName.toLowerCase()!=="svg"&&e.removeChild(e.childNodes[n]);let o=e.firstElementChild;if(o&&o.nodeName.toLowerCase()==="svg"){let n=o.getAttribute("class")||"";if(o.setAttribute("class",(n+" s-ion-icon").trim()),rD(o))return e.innerHTML}return""},rD=t=>{if(t.nodeType===1){if(t.nodeName.toLowerCase()==="script")return!1;for(let e=0;et.startsWith("data:image/svg+xml"),YR=t=>t.indexOf(";utf8,")!==-1,yo=new Map,oD=new Map,dh,QR=(t,e)=>{let o=oD.get(t);if(!o)if(typeof fetch<"u"&&typeof document<"u")if(ZR(t)&&YR(t)){dh||(dh=new DOMParser);let r=dh.parseFromString(t,"text/html").querySelector("svg");return r&&yo.set(t,r.outerHTML),Promise.resolve()}else o=fetch(t).then(n=>{if(n.ok)return n.text().then(r=>{r&&e!==!1&&(r=qR(r)),yo.set(t,r||"")});yo.set(t,"")}),oD.set(t,o);else return yo.set(t,""),Promise.resolve();return o},KR=":host{display:inline-block;width:1em;height:1em;contain:strict;fill:currentColor;-webkit-box-sizing:content-box !important;box-sizing:content-box !important}:host .ionicon{stroke:currentColor}.ionicon-fill-none{fill:none}.ionicon-stroke-width{stroke-width:32px;stroke-width:var(--ionicon-stroke-width, 32px)}.icon-inner,.ionicon,svg{display:block;height:100%;width:100%}@supports (background: -webkit-named-image(i)){:host(.icon-rtl) .icon-inner{-webkit-transform:scaleX(-1);transform:scaleX(-1)}}@supports not selector(:dir(rtl)) and selector(:host-context([dir='rtl'])){:host(.icon-rtl) .icon-inner{-webkit-transform:scaleX(-1);transform:scaleX(-1)}}:host(.flip-rtl):host-context([dir='rtl']) .icon-inner{-webkit-transform:scaleX(-1);transform:scaleX(-1)}@supports selector(:dir(rtl)){:host(.flip-rtl:dir(rtl)) .icon-inner{-webkit-transform:scaleX(-1);transform:scaleX(-1)}:host(.flip-rtl:dir(ltr)) .icon-inner{-webkit-transform:scaleX(1);transform:scaleX(1)}}:host(.icon-small){font-size:1.125rem !important}:host(.icon-large){font-size:2rem !important}:host(.ion-color){color:var(--ion-color-base) !important}:host(.ion-color-primary){--ion-color-base:var(--ion-color-primary, #3880ff)}:host(.ion-color-secondary){--ion-color-base:var(--ion-color-secondary, #0cd1e8)}:host(.ion-color-tertiary){--ion-color-base:var(--ion-color-tertiary, #f4a942)}:host(.ion-color-success){--ion-color-base:var(--ion-color-success, #10dc60)}:host(.ion-color-warning){--ion-color-base:var(--ion-color-warning, #ffce00)}:host(.ion-color-danger){--ion-color-base:var(--ion-color-danger, #f14141)}:host(.ion-color-light){--ion-color-base:var(--ion-color-light, #f4f5f8)}:host(.ion-color-medium){--ion-color-base:var(--ion-color-medium, #989aa2)}:host(.ion-color-dark){--ion-color-base:var(--ion-color-dark, #222428)}",XR=X0(class extends k0{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.iconName=null,this.inheritedAttributes={},this.didLoadIcon=!1,this.svgContent=void 0,this.isVisible=!1,this.mode=JR(),this.color=void 0,this.ios=void 0,this.md=void 0,this.flipRtl=void 0,this.name=void 0,this.src=void 0,this.icon=void 0,this.size=void 0,this.lazy=!1,this.sanitize=!0}componentWillLoad(){this.inheritedAttributes=tD(this.el,["aria-label"])}connectedCallback(){this.waitUntilVisible(this.el,"50px",()=>{this.isVisible=!0,this.loadIcon()})}componentDidLoad(){this.didLoadIcon||this.loadIcon()}disconnectedCallback(){this.io&&(this.io.disconnect(),this.io=void 0)}waitUntilVisible(e,o,n){if($i.isBrowser&&this.lazy&&typeof window<"u"&&window.IntersectionObserver){let r=this.io=new window.IntersectionObserver(i=>{i[0].isIntersecting&&(r.disconnect(),this.io=void 0,n())},{rootMargin:o});r.observe(e)}else n()}loadIcon(){if($i.isBrowser&&this.isVisible){let e=J0(this);e&&(yo.has(e)?this.svgContent=yo.get(e):QR(e,this.sanitize).then(()=>this.svgContent=yo.get(e)),this.didLoadIcon=!0)}this.iconName=uh(this.name,this.icon,this.mode,this.ios,this.md)}render(){let{flipRtl:e,iconName:o,inheritedAttributes:n,el:r}=this,i=this.mode||"md",s=o?(o.includes("arrow")||o.includes("chevron"))&&e!==!1:!1,a=e||s;return _r(ih,Object.assign({role:"img",class:Object.assign(Object.assign({[i]:!0},e1(this.color)),{[`icon-${this.size}`]:!!this.size,"flip-rtl":a,"icon-rtl":a&&nD(r)})},n),$i.isBrowser&&this.svgContent?_r("div",{class:"icon-inner",innerHTML:this.svgContent}):_r("div",{class:"icon-inner"}))}static get assetsDirs(){return["svg"]}get el(){return this}static get watchers(){return{name:["loadIcon"],src:["loadIcon"],icon:["loadIcon"],ios:["loadIcon"],md:["loadIcon"]}}static get style(){return KR}},[1,"ion-icon",{mode:[1025],color:[1],ios:[1],md:[1],flipRtl:[4,"flip-rtl"],name:[513],src:[1],icon:[8],size:[1],lazy:[4],sanitize:[4],svgContent:[32],isVisible:[32]}]),JR=()=>$i.isBrowser&&typeof document<"u"&&document.documentElement.getAttribute("mode")||"md",e1=t=>t?{"ion-color":!0,[`ion-color-${t}`]:!0}:null;function t1(){if(typeof customElements>"u")return;["ion-icon"].forEach(e=>{switch(e){case"ion-icon":customElements.get(e)||customElements.define(e,XR);break}})}var iD=t1;var n1=":host{--ripple-color:currentColor;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:grid;grid-auto-columns:1fr;position:relative;-ms-flex-align:stretch;align-items:stretch;-ms-flex-pack:center;justify-content:center;width:100%;background:var(--background);font-family:var(--ion-font-family, inherit);text-align:center;contain:paint;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}:host(.segment-scrollable){-ms-flex-pack:start;justify-content:start;width:auto;overflow-x:auto;grid-auto-columns:minmax(-webkit-min-content, 1fr);grid-auto-columns:minmax(min-content, 1fr)}:host(.segment-scrollable::-webkit-scrollbar){display:none}:host{--background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.065);border-radius:8px;overflow:hidden;z-index:0}:host(.ion-color){background:rgba(var(--ion-color-base-rgb), 0.065)}:host(.in-toolbar){-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:0;margin-bottom:0;width:auto}:host(.in-toolbar:not(.ion-color)){background:var(--ion-toolbar-segment-background, var(--background))}:host(.in-toolbar-color:not(.ion-color)){background:rgba(var(--ion-color-contrast-rgb), 0.11)}",o1=n1,r1=":host{--ripple-color:currentColor;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:grid;grid-auto-columns:1fr;position:relative;-ms-flex-align:stretch;align-items:stretch;-ms-flex-pack:center;justify-content:center;width:100%;background:var(--background);font-family:var(--ion-font-family, inherit);text-align:center;contain:paint;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}:host(.segment-scrollable){-ms-flex-pack:start;justify-content:start;width:auto;overflow-x:auto;grid-auto-columns:minmax(-webkit-min-content, 1fr);grid-auto-columns:minmax(min-content, 1fr)}:host(.segment-scrollable::-webkit-scrollbar){display:none}:host{--background:transparent;grid-auto-columns:minmax(auto, 360px)}:host(.in-toolbar){min-height:var(--min-height)}:host(.segment-scrollable) ::slotted(ion-segment-button){min-width:auto}",i1=r1,s1=Y(class extends Z{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.ionChange=F(this,"ionChange",7),this.ionSelect=F(this,"ionSelect",7),this.ionStyle=F(this,"ionStyle",7),this.segmentViewEl=null,this.onClick=e=>{let o=e.target,n=this.checked;o.tagName!=="ION-SEGMENT"&&(this.value=o.value,o!==n&&this.emitValueChange(),this.segmentViewEl?(this.updateSegmentView(),this.scrollable&&n&&this.checkButton(n,o)):(this.scrollable||!this.swipeGesture)&&(n?this.checkButton(n,o):this.setCheckedClasses()))},this.onSlottedItemsChange=()=>{this.valueChanged(this.value)},this.getSegmentButton=e=>{var o,n;let r=this.getButtons().filter(s=>!s.disabled),i=r.findIndex(s=>s===document.activeElement);switch(e){case"first":return r[0];case"last":return r[r.length-1];case"next":return(o=r[i+1])!==null&&o!==void 0?o:r[0];case"previous":return(n=r[i-1])!==null&&n!==void 0?n:r[r.length-1];default:return null}},this.activated=!1,this.color=void 0,this.disabled=!1,this.scrollable=!1,this.swipeGesture=!0,this.value=void 0,this.selectOnFocus=!1}colorChanged(e,o){(o===void 0&&e!==void 0||o!==void 0&&e===void 0)&&this.emitStyle()}swipeGestureChanged(){this.gestureChanged()}valueChanged(e,o){if(this.segmentViewEl&&e===void 0){this.value=this.getButtons()[0].value;return}if(o!==void 0&&e!==void 0){let n=this.getButtons(),r=n.find(s=>s.value===o),i=n.find(s=>s.value===e);r&&i&&(this.segmentViewEl?this.triggerScrollOnValueChange!==!1&&this.updateSegmentView():this.checkButton(r,i))}else e!==void 0&&o===void 0&&this.segmentViewEl&&this.updateSegmentView();this.ionSelect.emit({value:e}),this.segmentViewEl||this.scrollActiveButtonIntoView(),this.triggerScrollOnValueChange=void 0}disabledChanged(){if(this.gestureChanged(),this.segmentViewEl)this.segmentViewEl.disabled=this.disabled;else{let e=this.getButtons();for(let o of e)o.disabled=this.disabled}}gestureChanged(){this.gesture&&this.gesture.enable(!this.scrollable&&!this.disabled&&this.swipeGesture)}connectedCallback(){this.emitStyle(),this.segmentViewEl=this.getSegmentView()}disconnectedCallback(){this.segmentViewEl=null}componentWillLoad(){this.emitStyle()}async componentDidLoad(){this.setCheckedClasses(),wt(()=>{this.scrollActiveButtonIntoView(!1)}),this.gesture=(await import("./index3-3XIL3Y7C.js")).createGesture({el:this.el,gestureName:"segment",gesturePriority:100,threshold:0,passive:!1,onStart:e=>this.onStart(e),onMove:e=>this.onMove(e),onEnd:e=>this.onEnd(e)}),this.gestureChanged(),this.disabled&&this.disabledChanged(),this.updateSegmentView(!1)}onStart(e){this.valueBeforeGesture=this.value,this.activate(e)}onMove(e){this.setNextIndex(e)}onEnd(e){this.setActivated(!1),this.setNextIndex(e,!0),e.event.stopImmediatePropagation();let o=this.value;o!==void 0&&this.valueBeforeGesture!==o&&(this.emitValueChange(),this.updateSegmentView()),this.valueBeforeGesture=void 0}emitValueChange(){let{value:e}=this;this.ionChange.emit({value:e})}getButtons(){return Array.from(this.el.querySelectorAll("ion-segment-button"))}get checked(){return this.getButtons().find(e=>e.value===this.value)}setActivated(e){this.getButtons().forEach(n=>{n.classList.toggle("segment-button-activated",e)}),this.activated=e}activate(e){let o=e.event.target,r=this.getButtons().find(i=>i.value===this.value);o.tagName==="ION-SEGMENT-BUTTON"&&(r||(this.value=o.value,this.setCheckedClasses()),this.value===o.value&&this.setActivated(!0))}getIndicator(e){return(e.shadowRoot||e).querySelector(".segment-button-indicator")}checkButton(e,o){let n=this.getIndicator(e),r=this.getIndicator(o);if(n===null||r===null)return;let i=n.getBoundingClientRect(),s=r.getBoundingClientRect(),a=i.width/s.width,c=`translate3d(${i.left-s.left}px, 0, 0) scaleX(${a})`;nt(()=>{r.classList.remove("segment-button-indicator-animated"),r.style.setProperty("transform",c),r.getBoundingClientRect(),r.classList.add("segment-button-indicator-animated"),r.style.setProperty("transform",""),this.scrollActiveButtonIntoView(!0)}),this.value=o.value,this.setCheckedClasses()}setCheckedClasses(){let e=this.getButtons(),n=e.findIndex(r=>r.value===this.value)+1;for(let r of e)r.classList.remove("segment-button-after-checked");nr.contentId),n=document.querySelector(`ion-segment-content[id="${o==null?void 0:o.contentId}"]`);return n==null?void 0:n.closest("ion-segment-view")}handleSegmentViewScroll(e){let{scrollRatio:o,isManualScroll:n}=e.detail;if(!n)return;let r=e.target,i=this.segmentViewEl,s=this.el;if(e.composedPath().includes(i)||r!=null&&r.contains(s)){let a=this.getButtons();if(!a.length)return;let l=a.findIndex(d=>d.value===this.value),c=a[l],u=Math.round(o*(a.length-1));(this.lastNextIndex===void 0||this.lastNextIndex!==u)&&(this.lastNextIndex=u,this.triggerScrollOnValueChange=!1,this.checkButton(c,a[u]),this.emitValueChange())}}updateSegmentView(e=!0){let n=this.getButtons().find(i=>i.value===this.value);if(!(n!=null&&n.contentId))return;let r=this.segmentViewEl;r&&r.setContent(n.contentId,e)}scrollActiveButtonIntoView(e=!0){let{scrollable:o,value:n,el:r}=this;if(o){let s=this.getButtons().find(a=>a.value===n);if(s!==void 0){let a=r.getBoundingClientRect(),l=s.getBoundingClientRect(),u=l.x-a.x-a.width/2+l.width/2,d=r.scrollLeft+u;r.scrollTo({top:0,left:d,behavior:e?"smooth":"instant"})}}}setNextIndex(e,o=!1){let n=Fr(this.el),r=this.activated,i=this.getButtons(),s=i.findIndex(E=>E.value===this.value),a=i[s],l,c;if(s===-1)return;let u=a.getBoundingClientRect(),d=u.left,p=u.width,f=e.currentX,g=u.top+u.height/2,D=this.el.getRootNode().elementFromPoint(f,g),b=n?f>d+p:fd+p;if(r&&!o){if(b){let E=s-1;E>=0&&(c=E)}else if(I&&r&&!o){let E=s+1;E"u")return;["ion-segment"].forEach(e=>{switch(e){case"ion-segment":customElements.get(e)||customElements.define(e,s1);break}})}var sD=a1;var l1=["outletContent"],He=["*"];var c1=["outlet"],u1=[[["","slot","top"]],"*",[["ion-tab"]]],d1=["[slot=top]","*","ion-tab"];function f1(t,e){if(t&1){let o=uv();ni(0,"ion-router-outlet",5,1),tn("stackWillChange",function(r){xu(o);let i=ld();return Su(i.onStackWillChange(r))})("stackDidChange",function(r){xu(o);let i=ld();return Su(i.onStackDidChange(r))}),oi()}}function h1(t,e){t&1&&we(0,2,["*ngIf","tabs.length > 0"])}var _l=(()=>{var e;let t=(e=class extends db{parentOutlet;outletContent;constructor(n,r,i,s,a,l,c,u){super(n,r,i,s,a,l,c,u),this.parentOutlet=u}},m(e,"\u0275fac",function(r){return new(r||e)(_n("name"),_n("tabs"),T(Nt),T(te),T(Ue),T(B),T(Xe),T(e,12))}),m(e,"\u0275cmp",De({type:e,selectors:[["ion-router-outlet"]],viewQuery:function(r,i){if(r&1&&ri(l1,7,At),r&2){let s;nn(s=on())&&(i.outletContent=s.first)}},features:[tr],ngContentSelectors:He,decls:3,vars:0,consts:[["outletContent",""]],template:function(r,i){r&1&&(Ae(),sd(0,null,0),we(2),ad())},encapsulation:2})),e);return t=Oe([ib({defineCustomElementFn:gb})],t),t})();var p1=(t,e)=>{let o=t.prototype;e.forEach(n=>{Object.defineProperty(o,n,{get(){return this.el[n]},set(r){this.z.runOutsideAngular(()=>this.el[n]=r)},configurable:!0})})},m1=(t,e)=>{let o=t.prototype;e.forEach(n=>{o[n]=function(){let r=arguments;return this.z.runOutsideAngular(()=>this.el[n].apply(this.el,r))}})},hh=(t,e,o)=>{o.forEach(n=>t[n]=No(e,n))};function et(t){return function(o){let{defineCustomElementFn:n,inputs:r,methods:i}=t;return n!==void 0&&n(),r&&p1(o,r),i&&m1(o,i),o}}var _H=(()=>{var e;let t=(e=class{z;el;constructor(n,r,i){this.z=i,n.detach(),this.el=r.nativeElement}},m(e,"\u0275fac",function(r){return new(r||e)(T(de),T(te),T(B))}),m(e,"\u0275cmp",De({type:e,selectors:[["ion-app"]],ngContentSelectors:He,decls:1,vars:0,template:function(r,i){r&1&&(Ae(),we(0))},encapsulation:2,changeDetection:0})),e);return t=Oe([et({defineCustomElementFn:Pb,methods:["setFocus"]})],t),t})();var aD=(()=>{var e;let t=(e=class{z;el;constructor(n,r,i){this.z=i,n.detach(),this.el=r.nativeElement,hh(this,this.el,["ionScrollStart","ionScroll","ionScrollEnd"])}},m(e,"\u0275fac",function(r){return new(r||e)(T(de),T(te),T(B))}),m(e,"\u0275cmp",De({type:e,selectors:[["ion-content"]],inputs:{color:"color",fixedSlotPlacement:"fixedSlotPlacement",forceOverscroll:"forceOverscroll",fullscreen:"fullscreen",scrollEvents:"scrollEvents",scrollX:"scrollX",scrollY:"scrollY"},ngContentSelectors:He,decls:1,vars:0,template:function(r,i){r&1&&(Ae(),we(0))},encapsulation:2,changeDetection:0})),e);return t=Oe([et({defineCustomElementFn:$b,inputs:["color","fixedSlotPlacement","forceOverscroll","fullscreen","scrollEvents","scrollX","scrollY"],methods:["getScrollElement","scrollToTop","scrollToBottom","scrollByPoint","scrollToPoint"]})],t),t})();var lD=(()=>{var e;let t=(e=class{z;el;constructor(n,r,i){this.z=i,n.detach(),this.el=r.nativeElement}},m(e,"\u0275fac",function(r){return new(r||e)(T(de),T(te),T(B))}),m(e,"\u0275cmp",De({type:e,selectors:[["ion-header"]],inputs:{collapse:"collapse",mode:"mode",translucent:"translucent"},ngContentSelectors:He,decls:1,vars:0,template:function(r,i){r&1&&(Ae(),we(0))},encapsulation:2,changeDetection:0})),e);return t=Oe([et({defineCustomElementFn:qb,inputs:["collapse","mode","translucent"]})],t),t})();var cD=(()=>{var e;let t=(e=class{z;el;constructor(n,r,i){this.z=i,n.detach(),this.el=r.nativeElement}},m(e,"\u0275fac",function(r){return new(r||e)(T(de),T(te),T(B))}),m(e,"\u0275cmp",De({type:e,selectors:[["ion-label"]],inputs:{color:"color",mode:"mode",position:"position"},ngContentSelectors:He,decls:1,vars:0,template:function(r,i){r&1&&(Ae(),we(0))},encapsulation:2,changeDetection:0})),e);return t=Oe([et({defineCustomElementFn:Qb,inputs:["color","mode","position"]})],t),t})();var uD=(()=>{var e;let t=(e=class{z;el;constructor(n,r,i){this.z=i,n.detach(),this.el=r.nativeElement}},m(e,"\u0275fac",function(r){return new(r||e)(T(de),T(te),T(B))}),m(e,"\u0275cmp",De({type:e,selectors:[["ion-segment-button"]],inputs:{contentId:"contentId",disabled:"disabled",layout:"layout",mode:"mode",type:"type",value:"value"},ngContentSelectors:He,decls:1,vars:0,template:function(r,i){r&1&&(Ae(),we(0))},encapsulation:2,changeDetection:0})),e);return t=Oe([et({defineCustomElementFn:Kb,inputs:["contentId","disabled","layout","mode","type","value"]})],t),t})(),dD=(()=>{var e;let t=(e=class{z;el;constructor(n,r,i){this.z=i,n.detach(),this.el=r.nativeElement}},m(e,"\u0275fac",function(r){return new(r||e)(T(de),T(te),T(B))}),m(e,"\u0275cmp",De({type:e,selectors:[["ion-segment-content"]],ngContentSelectors:He,decls:1,vars:0,template:function(r,i){r&1&&(Ae(),we(0))},encapsulation:2,changeDetection:0})),e);return t=Oe([et({defineCustomElementFn:Xb})],t),t})(),fD=(()=>{var e;let t=(e=class{z;el;constructor(n,r,i){this.z=i,n.detach(),this.el=r.nativeElement,hh(this,this.el,["ionSegmentViewScroll"])}},m(e,"\u0275fac",function(r){return new(r||e)(T(de),T(te),T(B))}),m(e,"\u0275cmp",De({type:e,selectors:[["ion-segment-view"]],inputs:{disabled:"disabled"},ngContentSelectors:He,decls:1,vars:0,template:function(r,i){r&1&&(Ae(),we(0))},encapsulation:2,changeDetection:0})),e);return t=Oe([et({defineCustomElementFn:Jb,inputs:["disabled"]})],t),t})();var g1=(()=>{var e;let t=(e=class{z;el;constructor(n,r,i){this.z=i,n.detach(),this.el=r.nativeElement}},m(e,"\u0275fac",function(r){return new(r||e)(T(de),T(te),T(B))}),m(e,"\u0275cmp",De({type:e,selectors:[["ion-tab"]],inputs:{component:"component",tab:"tab"},ngContentSelectors:He,decls:1,vars:0,template:function(r,i){r&1&&(Ae(),we(0))},encapsulation:2,changeDetection:0})),e);return t=Oe([et({defineCustomElementFn:r0,inputs:["component","tab"],methods:["setActive"]})],t),t})(),kl=(()=>{var e;let t=(e=class{z;el;constructor(n,r,i){this.z=i,n.detach(),this.el=r.nativeElement}},m(e,"\u0275fac",function(r){return new(r||e)(T(de),T(te),T(B))}),m(e,"\u0275cmp",De({type:e,selectors:[["ion-tab-bar"]],inputs:{color:"color",mode:"mode",selectedTab:"selectedTab",translucent:"translucent"},ngContentSelectors:He,decls:1,vars:0,template:function(r,i){r&1&&(Ae(),we(0))},encapsulation:2,changeDetection:0})),e);return t=Oe([et({defineCustomElementFn:i0,inputs:["color","mode","selectedTab","translucent"]})],t),t})(),hD=(()=>{var e;let t=(e=class{z;el;constructor(n,r,i){this.z=i,n.detach(),this.el=r.nativeElement}},m(e,"\u0275fac",function(r){return new(r||e)(T(de),T(te),T(B))}),m(e,"\u0275cmp",De({type:e,selectors:[["ion-tab-button"]],inputs:{disabled:"disabled",download:"download",href:"href",layout:"layout",mode:"mode",rel:"rel",selected:"selected",tab:"tab",target:"target"},ngContentSelectors:He,decls:1,vars:0,template:function(r,i){r&1&&(Ae(),we(0))},encapsulation:2,changeDetection:0})),e);return t=Oe([et({defineCustomElementFn:s0,inputs:["disabled","download","href","layout","mode","rel","selected","tab","target"]})],t),t})();var pD=(()=>{var e;let t=(e=class{z;el;constructor(n,r,i){this.z=i,n.detach(),this.el=r.nativeElement}},m(e,"\u0275fac",function(r){return new(r||e)(T(de),T(te),T(B))}),m(e,"\u0275cmp",De({type:e,selectors:[["ion-title"]],inputs:{color:"color",size:"size"},ngContentSelectors:He,decls:1,vars:0,template:function(r,i){r&1&&(Ae(),we(0))},encapsulation:2,changeDetection:0})),e);return t=Oe([et({defineCustomElementFn:a0,inputs:["color","size"]})],t),t})();var mD=(()=>{var e;let t=(e=class{z;el;constructor(n,r,i){this.z=i,n.detach(),this.el=r.nativeElement}},m(e,"\u0275fac",function(r){return new(r||e)(T(de),T(te),T(B))}),m(e,"\u0275cmp",De({type:e,selectors:[["ion-toolbar"]],inputs:{color:"color",mode:"mode"},ngContentSelectors:He,decls:1,vars:0,template:function(r,i){r&1&&(Ae(),we(0))},encapsulation:2,changeDetection:0})),e);return t=Oe([et({defineCustomElementFn:l0,inputs:["color","mode"]})],t),t})(),gD=(()=>{let e=class e extends pb{outlet;tabBar;tabBars;tabs};m(e,"\u0275fac",(()=>{let n;return function(i){return(n||(n=Vt(e)))(i||e)}})()),m(e,"\u0275cmp",De({type:e,selectors:[["ion-tabs"]],contentQueries:function(r,i,s){if(r&1&&(or(s,kl,5),or(s,kl,4),or(s,g1,4)),r&2){let a;nn(a=on())&&(i.tabBar=a.first),nn(a=on())&&(i.tabBars=a),nn(a=on())&&(i.tabs=a)}},viewQuery:function(r,i){if(r&1&&ri(c1,5,_l),r&2){let s;nn(s=on())&&(i.outlet=s.first)}},features:[tr],ngContentSelectors:d1,decls:6,vars:2,consts:[["tabsInner",""],["outlet",""],[1,"tabs-inner"],["tabs","true",3,"stackWillChange","stackDidChange",4,"ngIf"],[4,"ngIf"],["tabs","true",3,"stackWillChange","stackDidChange"]],template:function(r,i){r&1&&(Ae(u1),we(0),ni(1,"div",2,0),rd(3,f1,2,0,"ion-router-outlet",3)(4,h1,1,0,"ng-content",4),oi(),we(5,1)),r&2&&(qu(3),Da("ngIf",i.tabs.length===0),qu(),Da("ngIf",i.tabs.length>0))},dependencies:[_l,Dd],styles:["[_nghost-%COMP%]{display:flex;position:absolute;inset:0;flex-direction:column;width:100%;height:100%;contain:layout size style}.tabs-inner[_ngcontent-%COMP%]{position:relative;flex:1;contain:layout size style}"]}));let t=e;return t})(),v1=(()=>{let e=class e extends Ai{angularDelegate=y(ll);injector=y(be);environmentInjector=y(me);constructor(){super(wf),Sb()}create(n){return super.create(J(w({},n),{delegate:this.angularDelegate.create(this.environmentInjector,this.injector,"modal")}))}};m(e,"\u0275fac",function(r){return new(r||e)}),m(e,"\u0275prov",x({token:e,factory:e.\u0275fac}));let t=e;return t})(),fh=class extends Ai{angularDelegate=y(ll);injector=y(be);environmentInjector=y(me);constructor(){super(Cf),Ob()}create(e){return super.create(J(w({},e),{delegate:this.angularDelegate.create(this.environmentInjector,this.injector,"popover")}))}},kH=(t={})=>ro([{provide:al,useValue:t},{provide:nr,useFactory:y1,multi:!0,deps:[al,Ce]},hb(),ll,v1,fh]),y1=(t,e)=>()=>{e.documentElement.classList.add("ion-ce"),Ll(t)};var Al=(()=>{var e;let t=(e=class{z;el;constructor(n,r,i){this.z=i,n.detach(),this.el=r.nativeElement}},m(e,"\u0275fac",function(r){return new(r||e)(T(de),T(te),T(B))}),m(e,"\u0275cmp",De({type:e,selectors:[["ion-icon"]],inputs:{color:"color",flipRtl:"flipRtl",icon:"icon",ios:"ios",lazy:"lazy",md:"md",mode:"mode",name:"name",sanitize:"sanitize",size:"size",src:"src"},ngContentSelectors:He,decls:1,vars:0,template:function(r,i){r&1&&(Ae(),we(0))},encapsulation:2,changeDetection:0})),e);return t=Oe([et({defineCustomElementFn:iD,inputs:["color","flipRtl","icon","ios","lazy","md","mode","name","sanitize","size","src"]})],t),t})();var b1=["color","disabled","mode","scrollable","selectOnFocus","swipeGesture","value"],D1={provide:qy,useExisting:ei(()=>ph),multi:!0},ph=(()=>{var e;let t=(e=class extends mb{z;el;constructor(n,r,i,s){super(s,r),this.z=i,n.detach(),this.el=r.nativeElement,hh(this,this.el,["ionChange"])}handleIonChange(n){this.handleValueChange(n,n.value)}},m(e,"\u0275fac",function(r){return new(r||e)(T(de),T(te),T(B),T(be))}),m(e,"\u0275cmp",De({type:e,selectors:[["ion-segment"]],hostBindings:function(r,i){r&1&&tn("ionChange",function(a){return i.handleIonChange(a.target)})},inputs:{color:"color",disabled:"disabled",mode:"mode",scrollable:"scrollable",selectOnFocus:"selectOnFocus",swipeGesture:"swipeGesture",value:"value"},features:[cd([D1]),tr],ngContentSelectors:He,decls:1,vars:0,template:function(r,i){r&1&&(Ae(),we(0))},encapsulation:2,changeDetection:0})),e);return t=Oe([et({defineCustomElementFn:sD,inputs:b1})],t),t})();var vD=(()=>{let e=class e{constructor(n){this.http=n}get(n,r={},i={}){return this.http.get(n,{headers:i,params:r})}getText(n,r={},i={}){return this.http.get(n,{headers:i,params:r,responseType:"text"})}getBlob(n,r={},i={}){return this.http.get(n,{headers:i,params:r,responseType:"blob"})}};e.\u0275fac=function(r){return new(r||e)(S(Av))},e.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var yD=xv;var Rl=class{static debug(e){yD.production||console.log(e)}};var bD=(()=>{let e=class e{constructor(n,r,i){this.platform=n,this.metaService=r,this.titleService=i,this.initialized=!1,this.readySubject=new fe(!1)}ready(){return this.initialized?new Q(n=>{n.next(!0)}):this.readySubject.asObservable()}async init(){return Promise.all([this.initPlatform()]).then(()=>{Rl.debug("CoreService.init.finished."),this.readySubject.next(this.initialized=!0)})}async initPlatform(){return this.platform.ready().then(()=>{let n=window.navigator.userAgent;console.log(`'Cur ua - ${n}`)})}async setHtmlMeta(){let n=await this.setHtmlTitle();this.metaService.addTag({property:"og:type",content:"website"}),this.metaService.addTag({property:"og:title",content:n}),this.metaService.addTag({property:"og:description",content:""}),this.metaService.addTag({property:"og:site_name",content:n})}async setHtmlTitle(n=""){return new Promise(r=>{this.titleService.setTitle(n),r(n)})}};e.\u0275fac=function(r){return new(r||e)(S(sl),S(Vv),S(ka))},e.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var kr=class{},DD=(()=>{let e=class e extends kr{getTranslation(n){return k({})}};m(e,"\u0275fac",(()=>{let n;return function(i){return(n||(n=Vt(e)))(i||e)}})()),m(e,"\u0275prov",x({token:e,factory:e.\u0275fac}));let t=e;return t})(),Ui=class{},wD=(()=>{let e=class e{handle(n){return n.key}};m(e,"\u0275fac",function(r){return new(r||e)}),m(e,"\u0275prov",x({token:e,factory:e.\u0275fac}));let t=e;return t})();function bo(t){return typeof t<"u"&&t!==null}function Ol(t){return Nl(t)&&!wh(t)&&t!==null}function Nl(t){return typeof t=="object"}function wh(t){return Array.isArray(t)}function xD(t){return typeof t=="string"}function C1(t){return typeof t=="function"}function mh(t,e){let o=Object.assign({},t);return Nl(t)?(Nl(t)&&Nl(e)&&Object.keys(e).forEach(n=>{Ol(e[n])?n in t?o[n]=mh(t[n],e[n]):Object.assign(o,{[n]:e[n]}):Object.assign(o,{[n]:e[n]})}),o):mh({},e)}function gh(t,e){let o=e.split(".");e="";do e+=o.shift(),bo(t)&&bo(t[e])&&(Ol(t[e])||wh(t[e])||!o.length)?(t=t[e],e=""):o.length?e+=".":t=void 0;while(o.length);return t}function I1(t,e,o){let n=e.split("."),r=t;for(let i=0;i{let e=class e extends Ar{templateMatcher=/{{\s?([^{}\s]*)\s?}}/g;interpolate(n,r){if(xD(n))return this.interpolateString(n,r);if(C1(n))return this.interpolateFunction(n,r)}interpolateFunction(n,r){return n(r)}interpolateString(n,r){return r?n.replace(this.templateMatcher,(i,s)=>{let a=gh(r,s);return bo(a)?a:i}):n}};m(e,"\u0275fac",(()=>{let n;return function(i){return(n||(n=Vt(e)))(i||e)}})()),m(e,"\u0275prov",x({token:e,factory:e.\u0275fac}));let t=e;return t})(),Rr=class{},ID=(()=>{let e=class e extends Rr{compile(n,r){return n}compileTranslations(n,r){return n}};m(e,"\u0275fac",(()=>{let n;return function(i){return(n||(n=Vt(e)))(i||e)}})()),m(e,"\u0275prov",x({token:e,factory:e.\u0275fac}));let t=e;return t})(),zi=class{defaultLang;currentLang=this.defaultLang;translations={};langs=[];onTranslationChange=new le;onLangChange=new le;onDefaultLangChange=new le},vh=new _("ISOLATE_TRANSLATE_SERVICE"),yh=new _("USE_DEFAULT_LANG"),bh=new _("DEFAULT_LANGUAGE"),Dh=new _("USE_EXTEND"),Vi=t=>bn(t)?t:k(t),ED=(()=>{let e=class e{store;currentLoader;compiler;parser;missingTranslationHandler;useDefaultLang;extend;loadingTranslations;pending=!1;_translationRequests={};lastUseLanguage=null;get onTranslationChange(){return this.store.onTranslationChange}get onLangChange(){return this.store.onLangChange}get onDefaultLangChange(){return this.store.onDefaultLangChange}get defaultLang(){return this.store.defaultLang}set defaultLang(n){this.store.defaultLang=n}get currentLang(){return this.store.currentLang}set currentLang(n){this.store.currentLang=n}get langs(){return this.store.langs}set langs(n){this.store.langs=n}get translations(){return this.store.translations}set translations(n){this.store.translations=n}constructor(n,r,i,s,a,l=!0,c=!1,u=!1,d){this.store=n,this.currentLoader=r,this.compiler=i,this.parser=s,this.missingTranslationHandler=a,this.useDefaultLang=l,this.extend=u,c&&(this.store=new zi),d&&this.setDefaultLang(d)}setDefaultLang(n){if(n===this.defaultLang)return;let r=this.retrieveTranslations(n);typeof r<"u"?(this.defaultLang==null&&(this.defaultLang=n),r.pipe(Ye(1)).subscribe(()=>{this.changeDefaultLang(n)})):this.changeDefaultLang(n)}getDefaultLang(){return this.defaultLang}use(n){if(this.lastUseLanguage=n,n===this.currentLang)return k(this.translations[n]);this.currentLang||(this.currentLang=n);let r=this.retrieveTranslations(n);return bn(r)?(r.pipe(Ye(1)).subscribe(()=>{this.changeLang(n)}),r):(this.changeLang(n),k(this.translations[n]))}changeLang(n){n===this.lastUseLanguage&&(this.currentLang=n,this.onLangChange.emit({lang:n,translations:this.translations[n]}),this.defaultLang==null&&this.changeDefaultLang(n))}retrieveTranslations(n){if(typeof this.translations[n]>"u"||this.extend)return this._translationRequests[n]=this._translationRequests[n]||this.loadAndCompileTranslations(n),this._translationRequests[n]}getTranslation(n){return this.loadAndCompileTranslations(n)}loadAndCompileTranslations(n){this.pending=!0;let r=this.currentLoader.getTranslation(n).pipe(Cs(1),Ye(1));return this.loadingTranslations=r.pipe($(i=>this.compiler.compileTranslations(i,n)),Cs(1),Ye(1)),this.loadingTranslations.subscribe({next:i=>{this.translations[n]=this.extend&&this.translations[n]?w(w({},i),this.translations[n]):i,this.updateLangs(),this.pending=!1},error:i=>{this.pending=!1}}),r}setTranslation(n,r,i=!1){let s=this.compiler.compileTranslations(r,n);(i||this.extend)&&this.translations[n]?this.translations[n]=mh(this.translations[n],s):this.translations[n]=s,this.updateLangs(),this.onTranslationChange.emit({lang:n,translations:this.translations[n]})}getLangs(){return this.langs}addLangs(n){let r=n.filter(i=>!this.langs.includes(i));r.length>0&&(this.langs=[...this.langs,...r])}updateLangs(){this.addLangs(Object.keys(this.translations))}getParsedResultForKey(n,r,i){let s;if(n&&(s=this.runInterpolation(gh(n,r),i)),s===void 0&&this.defaultLang!=null&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(s=this.runInterpolation(gh(this.translations[this.defaultLang],r),i)),s===void 0){let a={key:r,translateService:this};typeof i<"u"&&(a.interpolateParams=i),s=this.missingTranslationHandler.handle(a)}return s!==void 0?s:r}runInterpolation(n,r){if(wh(n))return n.map(i=>this.runInterpolation(i,r));if(Ol(n)){let i={};for(let s in n){let a=this.runInterpolation(n[s],r);a!==void 0&&(i[s]=a)}return i}else return this.parser.interpolate(n,r)}getParsedResult(n,r,i){if(r instanceof Array){let s={},a=!1;for(let c of r)s[c]=this.getParsedResultForKey(n,c,i),a=a||bn(s[c]);if(!a)return s;let l=r.map(c=>Vi(s[c]));return Ur(l).pipe($(c=>{let u={};return c.forEach((d,p)=>{u[r[p]]=d}),u}))}return this.getParsedResultForKey(n,r,i)}get(n,r){if(!bo(n)||!n.length)throw new Error('Parameter "key" is required and cannot be empty');return this.pending?this.loadingTranslations.pipe(It(i=>Vi(this.getParsedResult(i,n,r)))):Vi(this.getParsedResult(this.translations[this.currentLang],n,r))}getStreamOnTranslationChange(n,r){if(!bo(n)||!n.length)throw new Error('Parameter "key" is required and cannot be empty');return Zt(zn(()=>this.get(n,r)),this.onTranslationChange.pipe(ye(i=>{let s=this.getParsedResult(i.translations,n,r);return Vi(s)})))}stream(n,r){if(!bo(n)||!n.length)throw new Error('Parameter "key" required');return Zt(zn(()=>this.get(n,r)),this.onLangChange.pipe(ye(i=>{let s=this.getParsedResult(i.translations,n,r);return Vi(s)})))}instant(n,r){if(!bo(n)||n.length===0)throw new Error('Parameter "key" is required and cannot be empty');let i=this.getParsedResult(this.translations[this.currentLang],n,r);return bn(i)?Array.isArray(n)?n.reduce((s,a)=>(s[a]=a,s),{}):n:i}set(n,r,i=this.currentLang){I1(this.translations[i],n,xD(r)?this.compiler.compile(r,i):this.compiler.compileTranslations(r,i)),this.updateLangs(),this.onTranslationChange.emit({lang:i,translations:this.translations[i]})}changeDefaultLang(n){this.defaultLang=n,this.onDefaultLangChange.emit({lang:n,translations:this.translations[n]})}reloadLang(n){return this.resetLang(n),this.loadAndCompileTranslations(n)}resetLang(n){delete this._translationRequests[n],delete this.translations[n]}getBrowserLang(){if(typeof window>"u"||!window.navigator)return;let n=this.getBrowserCultureLang();return n?n.split(/[-_]/)[0]:void 0}getBrowserCultureLang(){if(!(typeof window>"u"||typeof window.navigator>"u"))return window.navigator.languages?window.navigator.languages[0]:window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage}};m(e,"\u0275fac",function(r){return new(r||e)(S(zi),S(kr),S(Rr),S(Ar),S(Ui),S(yh),S(vh),S(Dh),S(bh))}),m(e,"\u0275prov",x({token:e,factory:e.\u0275fac,providedIn:"root"}));let t=e;return t})();var Ch=(()=>{let e=class e{static forRoot(n={}){return{ngModule:e,providers:[n.loader||{provide:kr,useClass:DD},n.compiler||{provide:Rr,useClass:ID},n.parser||{provide:Ar,useClass:CD},n.missingTranslationHandler||{provide:Ui,useClass:wD},zi,{provide:vh,useValue:n.isolate},{provide:yh,useValue:n.useDefaultLang},{provide:Dh,useValue:n.extend},{provide:bh,useValue:n.defaultLanguage},ED]}}static forChild(n={}){return{ngModule:e,providers:[n.loader||{provide:kr,useClass:DD},n.compiler||{provide:Rr,useClass:ID},n.parser||{provide:Ar,useClass:CD},n.missingTranslationHandler||{provide:Ui,useClass:wD},{provide:vh,useValue:n.isolate},{provide:yh,useValue:n.useDefaultLang},{provide:Dh,useValue:n.extend},{provide:bh,useValue:n.defaultLanguage},ED]}}};m(e,"\u0275fac",function(r){return new(r||e)}),m(e,"\u0275mod",Me({type:e})),m(e,"\u0275inj",Te({}));let t=e;return t})();var SD=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=Me({type:e}),e.\u0275inj=Te({imports:[kn,xf,Sf,bf,Ch,Al,kn,xf,Sf,bf,Ch]});let t=e;return t})();var E1=[Al,cD,mD,_l,gD,kl,hD,pD,lD,aD,ph,uD,dD,fD],Ih=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=Me({type:e}),e.\u0275inj=Te({imports:[E1]});let t=e;return t})();var d3=(()=>{let e=class e{static forRoot(){return{ngModule:e}}};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=Me({type:e}),e.\u0275inj=Te({providers:[bD,vD],imports:[kn,SD,Ih,kn,Ih]});let t=e;return t})();export{y as a,Nw as b,me as c,T as d,De as e,Da as f,ni as g,oi as h,id as i,ri as j,nn as k,on as l,H$ as m,G$ as n,kn as o,xv as p,Kj as q,aM as r,vB as s,yB as t,Nf as u,_l as v,_H as w,aD as x,lD as y,cD as z,kl as A,hD as B,pD as C,mD as D,gD as E,kH as F,Al as G,bD as H,d3 as I}; diff --git a/chunk-DVT4HBMF.js b/chunk-DVT4HBMF.js deleted file mode 100644 index 1ea2313..0000000 --- a/chunk-DVT4HBMF.js +++ /dev/null @@ -1,30 +0,0 @@ -import{a as qi,b as Bl,c as Lr,d as Vl,g as $r,h as Ul,i as wh}from"./chunk-FEUIMOZZ.js";import{a as H,b as Ol,c as Pl,d as Fl,e as Ll,f as $l,g as bh,h as Hi,i as Gi}from"./chunk-GRPEAL5M.js";import{a as Pt}from"./chunk-QUVJQTVU.js";import{a as Pr,d as Dh}from"./chunk-VQ6ZTHLF.js";import{a as ge,b as Al,c as Ne,d as B,e as Rl}from"./chunk-IVVGDSQR.js";import{a as Do,b as W,d as mn,e as nt,f as C,g as K,j as O,k as Fn,l as q}from"./chunk-FTZB27S6.js";import{a as Fr}from"./chunk-AV3I3L5K.js";import{a as bt,b as Gt,c as wo,d as zi,e as Ln,f as Or,g as xe,h as Dt,i as Nl,j as gn,l as yh}from"./chunk-ZG6JN4PA.js";import{a as jl,c as Wi}from"./chunk-YLG257PB.js";import{a as zl}from"./chunk-6LXZMIVO.js";import{a as Ch,b as Ih,c as Eh}from"./chunk-MU5PIDDE.js";import{a as Ee,b as ft}from"./chunk-CXMYARCQ.js";import{a as w,b as X,c as vh,d as _l,e as m}from"./chunk-Z2YQ4JHV.js";function xh(t,e){return Object.is(t,e)}var pe=null,Zi=!1,Wl=1,Co=Symbol("SIGNAL");function J(t){let e=pe;return pe=t,e}function Sh(){return pe}var Yi={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function Th(t){if(Zi)throw new Error("");if(pe===null)return;pe.consumerOnSignalRead(t);let e=pe.nextProducerIndex++;if(Ki(pe),et.nextProducerIndex;)t.producerNode.pop(),t.producerLastReadVersion.pop(),t.producerIndexOfThis.pop()}}function Zl(t){Ki(t);for(let e=0;e0}function Ki(t){var e,o,n;(e=t.producerNode)!=null||(t.producerNode=[]),(o=t.producerIndexOfThis)!=null||(t.producerIndexOfThis=[]),(n=t.producerLastReadVersion)!=null||(t.producerLastReadVersion=[])}function Rh(t){var e,o;(e=t.liveConsumerNode)!=null||(t.liveConsumerNode=[]),(o=t.liveConsumerIndexOfThis)!=null||(t.liveConsumerIndexOfThis=[])}function Nh(t){return t.producerNode!==void 0}function TD(){throw new Error}var Oh=TD;function MD(){Oh()}function Ph(t){Oh=t}var Hl=null;function Fh(t,e){xD()||MD(),t.equal(t.value,e)||(t.value=e,kD(t))}var Lh=X(w({},Yi),{equal:xh,value:void 0});function kD(t){t.version++,ED(),kh(t),Hl==null||Hl()}function _(t){return typeof t=="function"}function Io(t){let o=t(n=>{Error.call(n),n.stack=new Error().stack});return o.prototype=Object.create(Error.prototype),o.prototype.constructor=o,o}var Xi=Io(t=>function(o){t(this),this.message=o?`${o.length} errors occurred during unsubscription: -${o.map((n,r)=>`${r+1}) ${n.toString()}`).join(` - `)}`:"",this.name="UnsubscriptionError",this.errors=o});function Br(t,e){if(t){let o=t.indexOf(e);0<=o&&t.splice(o,1)}}var ve=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:o}=this;if(o)if(this._parentage=null,Array.isArray(o))for(let i of o)i.remove(this);else o.remove(this);let{initialTeardown:n}=this;if(_(n))try{n()}catch(i){e=i instanceof Xi?i.errors:[i]}let{_finalizers:r}=this;if(r){this._finalizers=null;for(let i of r)try{$h(i)}catch(s){e=e!=null?e:[],s instanceof Xi?e=[...e,...s.errors]:e.push(s)}}if(e)throw new Xi(e)}}add(e){var o;if(e&&e!==this)if(this.closed)$h(e);else{if(e instanceof t){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=(o=this._finalizers)!==null&&o!==void 0?o:[]).push(e)}}_hasParent(e){let{_parentage:o}=this;return o===e||Array.isArray(o)&&o.includes(e)}_addParent(e){let{_parentage:o}=this;this._parentage=Array.isArray(o)?(o.push(e),o):o?[o,e]:e}_removeParent(e){let{_parentage:o}=this;o===e?this._parentage=null:Array.isArray(o)&&Br(o,e)}remove(e){let{_finalizers:o}=this;o&&Br(o,e),e instanceof t&&e._removeParent(this)}};ve.EMPTY=(()=>{let t=new ve;return t.closed=!0,t})();var Ql=ve.EMPTY;function Ji(t){return t instanceof ve||t&&"closed"in t&&_(t.remove)&&_(t.add)&&_(t.unsubscribe)}function $h(t){_(t)?t():t.unsubscribe()}var wt={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var Eo={setTimeout(t,e,...o){let{delegate:n}=Eo;return n!=null&&n.setTimeout?n.setTimeout(t,e,...o):setTimeout(t,e,...o)},clearTimeout(t){let{delegate:e}=Eo;return((e==null?void 0:e.clearTimeout)||clearTimeout)(t)},delegate:void 0};function es(t){Eo.setTimeout(()=>{let{onUnhandledError:e}=wt;if(e)e(t);else throw t})}function Vr(){}var jh=Kl("C",void 0,void 0);function Bh(t){return Kl("E",void 0,t)}function Vh(t){return Kl("N",t,void 0)}function Kl(t,e,o){return{kind:t,value:e,error:o}}var $n=null;function xo(t){if(wt.useDeprecatedSynchronousErrorHandling){let e=!$n;if(e&&($n={errorThrown:!1,error:null}),t(),e){let{errorThrown:o,error:n}=$n;if($n=null,o)throw n}}else t()}function Uh(t){wt.useDeprecatedSynchronousErrorHandling&&$n&&($n.errorThrown=!0,$n.error=t)}var jn=class extends ve{constructor(e){super(),this.isStopped=!1,e?(this.destination=e,Ji(e)&&e.add(this)):this.destination=RD}static create(e,o,n){return new Wt(e,o,n)}next(e){this.isStopped?Jl(Vh(e),this):this._next(e)}error(e){this.isStopped?Jl(Bh(e),this):(this.isStopped=!0,this._error(e))}complete(){this.isStopped?Jl(jh,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()}}},_D=Function.prototype.bind;function Xl(t,e){return _D.call(t,e)}var ec=class{constructor(e){this.partialObserver=e}next(e){let{partialObserver:o}=this;if(o.next)try{o.next(e)}catch(n){ts(n)}}error(e){let{partialObserver:o}=this;if(o.error)try{o.error(e)}catch(n){ts(n)}else ts(e)}complete(){let{partialObserver:e}=this;if(e.complete)try{e.complete()}catch(o){ts(o)}}},Wt=class extends jn{constructor(e,o,n){super();let r;if(_(e)||!e)r={next:e!=null?e:void 0,error:o!=null?o:void 0,complete:n!=null?n:void 0};else{let i;this&&wt.useDeprecatedNextContext?(i=Object.create(e),i.unsubscribe=()=>this.unsubscribe(),r={next:e.next&&Xl(e.next,i),error:e.error&&Xl(e.error,i),complete:e.complete&&Xl(e.complete,i)}):r=e}this.destination=new ec(r)}};function ts(t){wt.useDeprecatedSynchronousErrorHandling?Uh(t):es(t)}function AD(t){throw t}function Jl(t,e){let{onStoppedNotification:o}=wt;o&&Eo.setTimeout(()=>o(t,e))}var RD={closed:!0,next:Vr,error:AD,complete:Vr};var So=typeof Symbol=="function"&&Symbol.observable||"@@observable";function Le(t){return t}function tc(...t){return nc(t)}function nc(t){return t.length===0?Le:t.length===1?t[0]:function(o){return t.reduce((n,r)=>r(n),o)}}var Z=(()=>{class t{constructor(o){o&&(this._subscribe=o)}lift(o){let n=new t;return n.source=this,n.operator=o,n}subscribe(o,n,r){let i=OD(o)?o:new Wt(o,n,r);return xo(()=>{let{operator:s,source:a}=this;i.add(s?s.call(i,a):a?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(o){try{return this._subscribe(o)}catch(n){o.error(n)}}forEach(o,n){return n=zh(n),new n((r,i)=>{let s=new Wt({next:a=>{try{o(a)}catch(l){i(l),s.unsubscribe()}},error:i,complete:r});this.subscribe(s)})}_subscribe(o){var n;return(n=this.source)===null||n===void 0?void 0:n.subscribe(o)}[So](){return this}pipe(...o){return nc(o)(this)}toPromise(o){return o=zh(o),new o((n,r)=>{let i;this.subscribe(s=>i=s,s=>r(s),()=>n(i))})}}return t.create=e=>new t(e),t})();function zh(t){var e;return(e=t!=null?t:wt.Promise)!==null&&e!==void 0?e:Promise}function ND(t){return t&&_(t.next)&&_(t.error)&&_(t.complete)}function OD(t){return t&&t instanceof jn||ND(t)&&Ji(t)}function oc(t){return _(t==null?void 0:t.lift)}function U(t){return e=>{if(oc(e))return e.lift(function(o){try{return t(o,this)}catch(n){this.error(n)}});throw new TypeError("Unable to lift unknown Observable type")}}function z(t,e,o,n,r){return new rc(t,e,o,n,r)}var rc=class extends jn{constructor(e,o,n,r,i,s){super(e),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=o?function(a){try{o(a)}catch(l){e.error(l)}}:super._next,this._error=r?function(a){try{r(a)}catch(l){e.error(l)}finally{this.unsubscribe()}}:super._error,this._complete=n?function(){try{n()}catch(a){e.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var e;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:o}=this;super.unsubscribe(),!o&&((e=this.onFinalize)===null||e===void 0||e.call(this))}}};function To(){return U((t,e)=>{let o=null;t._refCount++;let n=z(e,void 0,void 0,void 0,()=>{if(!t||t._refCount<=0||0<--t._refCount){o=null;return}let r=t._connection,i=o;o=null,r&&(!i||r===i)&&r.unsubscribe(),e.unsubscribe()});t.subscribe(n),n.closed||(o=t.connect())})}var Mo=class extends Z{constructor(e,o){super(),this.source=e,this.subjectFactory=o,this._subject=null,this._refCount=0,this._connection=null,oc(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==null||e.unsubscribe()}connect(){let e=this._connection;if(!e){e=this._connection=new ve;let o=this.getSubject();e.add(this.source.subscribe(z(o,void 0,()=>{this._teardown(),o.complete()},n=>{this._teardown(),o.error(n)},()=>this._teardown()))),e.closed&&(this._connection=null,e=ve.EMPTY)}return e}refCount(){return To()(this)}};var Hh=Io(t=>function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var ne=(()=>{class t extends Z{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(o){let n=new ns(this,this);return n.operator=o,n}_throwIfClosed(){if(this.closed)throw new Hh}next(o){xo(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let n of this.currentObservers)n.next(o)}})}error(o){xo(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=o;let{observers:n}=this;for(;n.length;)n.shift().error(o)}})}complete(){xo(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:o}=this;for(;o.length;)o.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var o;return((o=this.observers)===null||o===void 0?void 0:o.length)>0}_trySubscribe(o){return this._throwIfClosed(),super._trySubscribe(o)}_subscribe(o){return this._throwIfClosed(),this._checkFinalizedStatuses(o),this._innerSubscribe(o)}_innerSubscribe(o){let{hasError:n,isStopped:r,observers:i}=this;return n||r?Ql:(this.currentObservers=null,i.push(o),new ve(()=>{this.currentObservers=null,Br(i,o)}))}_checkFinalizedStatuses(o){let{hasError:n,thrownError:r,isStopped:i}=this;n?o.error(r):i&&o.complete()}asObservable(){let o=new Z;return o.source=this,o}}return t.create=(e,o)=>new ns(e,o),t})(),ns=class extends ne{constructor(e,o){super(),this.destination=e,this.source=o}next(e){var o,n;(n=(o=this.destination)===null||o===void 0?void 0:o.next)===null||n===void 0||n.call(o,e)}error(e){var o,n;(n=(o=this.destination)===null||o===void 0?void 0:o.error)===null||n===void 0||n.call(o,e)}complete(){var e,o;(o=(e=this.destination)===null||e===void 0?void 0:e.complete)===null||o===void 0||o.call(e)}_subscribe(e){var o,n;return(n=(o=this.source)===null||o===void 0?void 0:o.subscribe(e))!==null&&n!==void 0?n:Ql}};var fe=class extends ne{constructor(e){super(),this._value=e}get value(){return this.getValue()}_subscribe(e){let o=super._subscribe(e);return!o.closed&&e.next(this._value),o}getValue(){let{hasError:e,thrownError:o,_value:n}=this;if(e)throw o;return this._throwIfClosed(),n}next(e){super.next(this._value=e)}};var ic={now(){return(ic.delegate||Date).now()},delegate:void 0};var os=class extends ne{constructor(e=1/0,o=1/0,n=ic){super(),this._bufferSize=e,this._windowTime=o,this._timestampProvider=n,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=o===1/0,this._bufferSize=Math.max(1,e),this._windowTime=Math.max(1,o)}next(e){let{isStopped:o,_buffer:n,_infiniteTimeWindow:r,_timestampProvider:i,_windowTime:s}=this;o||(n.push(e),!r&&n.push(i.now()+s)),this._trimBuffer(),super.next(e)}_subscribe(e){this._throwIfClosed(),this._trimBuffer();let o=this._innerSubscribe(e),{_infiniteTimeWindow:n,_buffer:r}=this,i=r.slice();for(let s=0;st.complete());function Gh(t){return t&&_(t.schedule)}function Wh(t){return t[t.length-1]}function rs(t){return _(Wh(t))?t.pop():void 0}function vn(t){return Gh(Wh(t))?t.pop():void 0}function Oe(t,e,o,n){var r=arguments.length,i=r<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,o,n);else for(var a=t.length-1;a>=0;a--)(s=t[a])&&(i=(r<3?s(i):r>3?s(e,o,i):s(e,o))||i);return r>3&&i&&Object.defineProperty(e,o,i),i}function Zh(t,e,o,n){function r(i){return i instanceof o?i:new o(function(s){s(i)})}return new(o||(o=Promise))(function(i,s){function a(u){try{c(n.next(u))}catch(d){s(d)}}function l(u){try{c(n.throw(u))}catch(d){s(d)}}function c(u){u.done?i(u.value):r(u.value).then(a,l)}c((n=n.apply(t,e||[])).next())})}function qh(t){var e=typeof Symbol=="function"&&Symbol.iterator,o=e&&t[e],n=0;if(o)return o.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function Bn(t){return this instanceof Bn?(this.v=t,this):new Bn(t)}function Yh(t,e,o){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=o.apply(t,e||[]),r,i=[];return r=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",s),r[Symbol.asyncIterator]=function(){return this},r;function s(f){return function(g){return Promise.resolve(g).then(f,d)}}function a(f,g){n[f]&&(r[f]=function(v){return new Promise(function(b,D){i.push([f,v,b,D])>1||l(f,v)})},g&&(r[f]=g(r[f])))}function l(f,g){try{c(n[f](g))}catch(v){p(i[0][3],v)}}function c(f){f.value instanceof Bn?Promise.resolve(f.value.v).then(u,d):p(i[0][2],f)}function u(f){l("next",f)}function d(f){l("throw",f)}function p(f,g){f(g),i.shift(),i.length&&l(i[0][0],i[0][1])}}function Qh(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e=t[Symbol.asyncIterator],o;return e?e.call(t):(t=typeof qh=="function"?qh(t):t[Symbol.iterator](),o={},n("next"),n("throw"),n("return"),o[Symbol.asyncIterator]=function(){return this},o);function n(i){o[i]=t[i]&&function(s){return new Promise(function(a,l){s=t[i](s),r(a,l,s.done,s.value)})}}function r(i,s,a,l){Promise.resolve(l).then(function(c){i({value:c,done:a})},s)}}var ko=t=>t&&typeof t.length=="number"&&typeof t!="function";function is(t){return _(t==null?void 0:t.then)}function ss(t){return _(t[So])}function as(t){return Symbol.asyncIterator&&_(t==null?void 0:t[Symbol.asyncIterator])}function ls(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 PD(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var cs=PD();function us(t){return _(t==null?void 0:t[cs])}function ds(t){return Yh(this,arguments,function*(){let o=t.getReader();try{for(;;){let{value:n,done:r}=yield Bn(o.read());if(r)return yield Bn(void 0);yield yield Bn(n)}}finally{o.releaseLock()}})}function fs(t){return _(t==null?void 0:t.getReader)}function se(t){if(t instanceof Z)return t;if(t!=null){if(ss(t))return FD(t);if(ko(t))return LD(t);if(is(t))return $D(t);if(as(t))return Kh(t);if(us(t))return jD(t);if(fs(t))return BD(t)}throw ls(t)}function FD(t){return new Z(e=>{let o=t[So]();if(_(o.subscribe))return o.subscribe(e);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function LD(t){return new Z(e=>{for(let o=0;o{t.then(o=>{e.closed||(e.next(o),e.complete())},o=>e.error(o)).then(null,es)})}function jD(t){return new Z(e=>{for(let o of t)if(e.next(o),e.closed)return;e.complete()})}function Kh(t){return new Z(e=>{VD(t,e).catch(o=>e.error(o))})}function BD(t){return Kh(ds(t))}function VD(t,e){var o,n,r,i;return Zh(this,void 0,void 0,function*(){try{for(o=Qh(t);n=yield o.next(),!n.done;){let s=n.value;if(e.next(s),e.closed)return}}catch(s){r={error:s}}finally{try{n&&!n.done&&(i=o.return)&&(yield i.call(o))}finally{if(r)throw r.error}}e.complete()})}function Ze(t,e,o,n=0,r=!1){let i=e.schedule(function(){o(),r?t.add(this.schedule(null,n)):this.unsubscribe()},n);if(t.add(i),!r)return i}function hs(t,e=0){return U((o,n)=>{o.subscribe(z(n,r=>Ze(n,t,()=>n.next(r),e),()=>Ze(n,t,()=>n.complete(),e),r=>Ze(n,t,()=>n.error(r),e)))})}function ps(t,e=0){return U((o,n)=>{n.add(t.schedule(()=>o.subscribe(n),e))})}function Xh(t,e){return se(t).pipe(ps(e),hs(e))}function Jh(t,e){return se(t).pipe(ps(e),hs(e))}function ep(t,e){return new Z(o=>{let n=0;return e.schedule(function(){n===t.length?o.complete():(o.next(t[n++]),o.closed||this.schedule())})})}function tp(t,e){return new Z(o=>{let n;return Ze(o,e,()=>{n=t[cs](),Ze(o,e,()=>{let r,i;try{({value:r,done:i}=n.next())}catch(s){o.error(s);return}i?o.complete():o.next(r)},0,!0)}),()=>_(n==null?void 0:n.return)&&n.return()})}function ms(t,e){if(!t)throw new Error("Iterable cannot be null");return new Z(o=>{Ze(o,e,()=>{let n=t[Symbol.asyncIterator]();Ze(o,e,()=>{n.next().then(r=>{r.done?o.complete():o.next(r.value)})},0,!0)})})}function np(t,e){return ms(ds(t),e)}function op(t,e){if(t!=null){if(ss(t))return Xh(t,e);if(ko(t))return ep(t,e);if(is(t))return Jh(t,e);if(as(t))return ms(t,e);if(us(t))return tp(t,e);if(fs(t))return np(t,e)}throw ls(t)}function ce(t,e){return e?op(t,e):se(t)}function k(...t){let e=vn(t);return ce(t,e)}function _o(t,e){let o=_(t)?t:()=>t,n=r=>r.error(o());return new Z(e?r=>e.schedule(n,0,r):n)}function yn(t){return!!t&&(t instanceof Z||_(t.lift)&&_(t.subscribe))}var qt=Io(t=>function(){t(this),this.name="EmptyError",this.message="no elements in sequence"});function F(t,e){return U((o,n)=>{let r=0;o.subscribe(z(n,i=>{n.next(t.call(e,i,r++))}))})}var{isArray:UD}=Array;function zD(t,e){return UD(e)?t(...e):t(e)}function Ao(t){return F(e=>zD(t,e))}var{isArray:HD}=Array,{getPrototypeOf:GD,prototype:WD,keys:qD}=Object;function gs(t){if(t.length===1){let e=t[0];if(HD(e))return{args:e,keys:null};if(ZD(e)){let o=qD(e);return{args:o.map(n=>e[n]),keys:o}}}return{args:t,keys:null}}function ZD(t){return t&&typeof t=="object"&&GD(t)===WD}function vs(t,e){return t.reduce((o,n,r)=>(o[n]=e[r],o),{})}function Vn(...t){let e=vn(t),o=rs(t),{args:n,keys:r}=gs(t);if(n.length===0)return ce([],e);let i=new Z(YD(n,e,r?s=>vs(r,s):Le));return o?i.pipe(Ao(o)):i}function YD(t,e,o=Le){return n=>{rp(e,()=>{let{length:r}=t,i=new Array(r),s=r,a=r;for(let l=0;l{let c=ce(t[l],e),u=!1;c.subscribe(z(n,d=>{i[l]=d,u||(u=!0,a--),a||n.next(o(i.slice()))},()=>{--s||n.complete()}))},n)},n)}}function rp(t,e,o){t?Ze(o,t,e):e()}function ip(t,e,o,n,r,i,s,a){let l=[],c=0,u=0,d=!1,p=()=>{d&&!l.length&&!c&&e.complete()},f=v=>c{i&&e.next(v),c++;let b=!1;se(o(v,u++)).subscribe(z(e,D=>{r==null||r(D),i?f(D):e.next(D)},()=>{b=!0},void 0,()=>{if(b)try{for(c--;l.length&&cg(D)):g(D)}p()}catch(D){e.error(D)}}))};return t.subscribe(z(e,f,()=>{d=!0,p()})),()=>{a==null||a()}}function he(t,e,o=1/0){return _(e)?he((n,r)=>F((i,s)=>e(n,i,r,s))(se(t(n,r))),o):(typeof e=="number"&&(o=e),U((n,r)=>ip(n,r,t,o)))}function Ro(t=1/0){return he(Le,t)}function sp(){return Ro(1)}function Zt(...t){return sp()(ce(t,vn(t)))}function Un(t){return new Z(e=>{se(t()).subscribe(e)})}function Ur(...t){let e=rs(t),{args:o,keys:n}=gs(t),r=new Z(i=>{let{length:s}=o;if(!s){i.complete();return}let a=new Array(s),l=s,c=s;for(let u=0;u{d||(d=!0,c--),a[u]=p},()=>l--,void 0,()=>{(!l||!d)&&(c||i.next(n?vs(n,a):a),i.complete())}))}});return e?r.pipe(Ao(e)):r}var QD=["addListener","removeListener"],KD=["addEventListener","removeEventListener"],XD=["on","off"];function No(t,e,o,n){if(_(o)&&(n=o,o=void 0),n)return No(t,e,o).pipe(Ao(n));let[r,i]=tw(t)?KD.map(s=>a=>t[s](e,a,o)):JD(t)?QD.map(ap(t,e)):ew(t)?XD.map(ap(t,e)):[];if(!r&&ko(t))return he(s=>No(s,e,o))(se(t));if(!r)throw new TypeError("Invalid event target");return new Z(s=>{let a=(...l)=>s.next(1i(a)})}function ap(t,e){return o=>n=>t[o](e,n)}function JD(t){return _(t.addListener)&&_(t.removeListener)}function ew(t){return _(t.on)&&_(t.off)}function tw(t){return _(t.addEventListener)&&_(t.removeEventListener)}function _e(t,e){return U((o,n)=>{let r=0;o.subscribe(z(n,i=>t.call(e,i,r++)&&n.next(i)))})}function bn(t){return U((e,o)=>{let n=null,r=!1,i;n=e.subscribe(z(o,void 0,void 0,s=>{i=se(t(s,bn(t)(e))),n?(n.unsubscribe(),n=null,i.subscribe(o)):r=!0})),r&&(n.unsubscribe(),n=null,i.subscribe(o))})}function lp(t,e,o,n,r){return(i,s)=>{let a=o,l=e,c=0;i.subscribe(z(s,u=>{let d=c++;l=a?t(l,u,d):(a=!0,u),n&&s.next(l)},r&&(()=>{a&&s.next(l),s.complete()})))}}function Ct(t,e){return _(e)?he(t,e,1):he(t,1)}function Dn(t){return U((e,o)=>{let n=!1;e.subscribe(z(o,r=>{n=!0,o.next(r)},()=>{n||o.next(t),o.complete()}))})}function Ye(t){return t<=0?()=>ot:U((e,o)=>{let n=0;e.subscribe(z(o,r=>{++n<=t&&(o.next(r),t<=n&&o.complete())}))})}function sc(t,e=Le){return t=t!=null?t:nw,U((o,n)=>{let r,i=!0;o.subscribe(z(n,s=>{let a=e(s);(i||!t(r,a))&&(i=!1,r=a,n.next(s))}))})}function nw(t,e){return t===e}function ys(t=ow){return U((e,o)=>{let n=!1;e.subscribe(z(o,r=>{n=!0,o.next(r)},()=>n?o.complete():o.error(t())))})}function ow(){return new qt}function Oo(t){return U((e,o)=>{try{e.subscribe(o)}finally{o.add(t)}})}function Yt(t,e){let o=arguments.length>=2;return n=>n.pipe(t?_e((r,i)=>t(r,i,n)):Le,Ye(1),o?Dn(e):ys(()=>new qt))}function Po(t){return t<=0?()=>ot:U((e,o)=>{let n=[];e.subscribe(z(o,r=>{n.push(r),t{for(let r of n)o.next(r);o.complete()},void 0,()=>{n=null}))})}function ac(t,e){let o=arguments.length>=2;return n=>n.pipe(t?_e((r,i)=>t(r,i,n)):Le,Po(1),o?Dn(e):ys(()=>new qt))}function lc(t,e){return U(lp(t,e,arguments.length>=2,!0))}function cp(t={}){let{connector:e=()=>new ne,resetOnError:o=!0,resetOnComplete:n=!0,resetOnRefCountZero:r=!0}=t;return i=>{let s,a,l,c=0,u=!1,d=!1,p=()=>{a==null||a.unsubscribe(),a=void 0},f=()=>{p(),s=l=void 0,u=d=!1},g=()=>{let v=s;f(),v==null||v.unsubscribe()};return U((v,b)=>{c++,!d&&!u&&p();let D=l=l!=null?l:e();b.add(()=>{c--,c===0&&!d&&!u&&(a=cc(g,r))}),D.subscribe(b),!s&&c>0&&(s=new Wt({next:I=>D.next(I),error:I=>{d=!0,p(),a=cc(f,o,I),D.error(I)},complete:()=>{u=!0,p(),a=cc(f,n),D.complete()}}),se(v).subscribe(s))})(i)}}function cc(t,e,...o){if(e===!0){t();return}if(e===!1)return;let n=new Wt({next:()=>{n.unsubscribe(),t()}});return se(e(...o)).subscribe(n)}function bs(t,e,o){let n,r=!1;return t&&typeof t=="object"?{bufferSize:n=1/0,windowTime:e=1/0,refCount:r=!1,scheduler:o}=t:n=t!=null?t:1/0,cp({connector:()=>new os(n,e,o),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:r})}function uc(...t){let e=vn(t);return U((o,n)=>{(e?Zt(t,o,e):Zt(t,o)).subscribe(n)})}function ye(t,e){return U((o,n)=>{let r=null,i=0,s=!1,a=()=>s&&!r&&n.complete();o.subscribe(z(n,l=>{r==null||r.unsubscribe();let c=0,u=i++;se(t(l,u)).subscribe(r=z(n,d=>n.next(e?e(l,d,u,c++):d),()=>{r=null,a()}))},()=>{s=!0,a()}))})}function dc(t){return U((e,o)=>{se(t).subscribe(z(o,()=>o.complete(),Vr)),!o.closed&&e.subscribe(o)})}function Se(t,e,o){let n=_(t)||e||o?{next:t,error:e,complete:o}:t;return n?U((r,i)=>{var s;(s=n.subscribe)===null||s===void 0||s.call(n);let a=!0;r.subscribe(z(i,l=>{var c;(c=n.next)===null||c===void 0||c.call(n,l),i.next(l)},()=>{var l;a=!1,(l=n.complete)===null||l===void 0||l.call(n),i.complete()},l=>{var c;a=!1,(c=n.error)===null||c===void 0||c.call(n,l),i.error(l)},()=>{var l,c;a&&((l=n.unsubscribe)===null||l===void 0||l.call(n)),(c=n.finalize)===null||c===void 0||c.call(n)}))}):Le}var A=class extends Error{code;constructor(e,o){super(fu(e,o)),this.code=e}};function fu(t,e){return`${`NG0${Math.abs(t)}`}${e?": "+e:""}`}var Hp=Symbol("InputSignalNode#UNSET"),rw=X(w({},Lh),{transformFn:void 0,applyValueToInputSignal(t,e){Fh(t,e)}});function Gp(t,e){let o=Object.create(rw);o.value=t,o.transformFn=e==null?void 0:e.transform;function n(){if(Th(o),o.value===Hp)throw new A(-950,!1);return o.value}return n[Co]=o,n}function Jr(t){return{toString:t}.toString()}var Ds="__parameters__";function iw(t){return function(...o){if(t){let n=t(...o);for(let r in n)this[r]=n[r]}}}function Wp(t,e,o){return Jr(()=>{let n=iw(e);function r(...i){if(this instanceof r)return n.apply(this,i),this;let s=new r(...i);return a.annotation=s,a;function a(l,c,u){let d=l.hasOwnProperty(Ds)?l[Ds]:Object.defineProperty(l,Ds,{value:[]})[Ds];for(;d.length<=u;)d.push(null);return(d[u]=d[u]||[]).push(s),l}}return o&&(r.prototype=Object.create(o.prototype)),r.prototype.ngMetadataName=t,r.annotationCls=r,r})}function oe(t){for(let e in t)if(t[e]===oe)return e;throw Error("Could not find renamed property on target object.")}function sw(t,e){for(let o in e)e.hasOwnProperty(o)&&!t.hasOwnProperty(o)&&(t[o]=e[o])}function Qe(t){if(typeof t=="string")return t;if(Array.isArray(t))return"["+t.map(Qe).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 o=e.indexOf(` -`);return o===-1?e:e.substring(0,o)}function up(t,e){return t==null||t===""?e===null?"":e:e==null||e===""?t:t+" "+e}var aw=oe({__forward_ref__:oe});function ei(t){return t.__forward_ref__=ei,t.toString=function(){return Qe(this())},t}function $e(t){return qp(t)?t():t}function qp(t){return typeof t=="function"&&t.hasOwnProperty(aw)&&t.__forward_ref__===ei}function E(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function Te(t){return{providers:t.providers||[],imports:t.imports||[]}}function Ys(t){return dp(t,Yp)||dp(t,Qp)}function Zp(t){return Ys(t)!==null}function dp(t,e){return t.hasOwnProperty(e)?t[e]:null}function lw(t){let e=t&&(t[Yp]||t[Qp]);return e||null}function fp(t){return t&&(t.hasOwnProperty(hp)||t.hasOwnProperty(cw))?t[hp]:null}var Yp=oe({\u0275prov:oe}),hp=oe({\u0275inj:oe}),Qp=oe({ngInjectableDef:oe}),cw=oe({ngInjectorDef:oe}),M=class{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(e,o){this._desc=e,this.\u0275prov=void 0,typeof o=="number"?this.__NG_ELEMENT_ID__=o:o!==void 0&&(this.\u0275prov=E({token:this,providedIn:o.providedIn||"root",factory:o.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function Kp(t){return t&&!!t.\u0275providers}var uw=oe({\u0275cmp:oe}),dw=oe({\u0275dir:oe}),fw=oe({\u0275pipe:oe}),hw=oe({\u0275mod:oe}),Ms=oe({\u0275fac:oe}),Wr=oe({__NG_ELEMENT_ID__:oe}),pp=oe({__NG_ENV_ID__:oe});function pw(t){return typeof t=="string"?t:t==null?"":String(t)}function mw(t){return typeof t=="function"?t.name||t.toString():typeof t=="object"&&t!=null&&typeof t.type=="function"?t.type.name||t.type.toString():pw(t)}function gw(t,e){let o=e?`. Dependency path: ${e.join(" > ")} > ${t}`:"";throw new A(-200,t)}function hu(t,e){throw new A(-201,!1)}var V=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}(V||{}),wc;function Xp(){return wc}function ht(t){let e=wc;return wc=t,e}function Jp(t,e,o){let n=Ys(t);if(n&&n.providedIn=="root")return n.value===void 0?n.value=n.factory():n.value;if(o&V.Optional)return null;if(e!==void 0)return e;hu(t,"Injector")}var vw={},qr=vw,Cc="__NG_DI_FLAG__",ks="ngTempTokenPath",yw="ngTokenPath",bw=/\n/gm,Dw="\u0275",mp="__source",Bo;function ww(){return Bo}function wn(t){let e=Bo;return Bo=t,e}function Cw(t,e=V.Default){if(Bo===void 0)throw new A(-203,!1);return Bo===null?Jp(t,void 0,e):Bo.get(t,e&V.Optional?null:void 0,e)}function x(t,e=V.Default){return(Xp()||Cw)($e(t),e)}function y(t,e=V.Default){return x(t,Qs(e))}function Qs(t){return typeof t>"u"||typeof t=="number"?t:0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)}function Ic(t){let e=[];for(let o=0;o ");else if(typeof e=="object"){let i=[];for(let s in e)if(e.hasOwnProperty(s)){let a=e[s];i.push(s+":"+(typeof a=="string"?JSON.stringify(a):Qe(a)))}r=`{${i.join(", ")}}`}return`${o}${n?"("+n+")":""}[${r}]: ${t.replace(bw,` - `)}`}var pu=em(Wp("Optional"),8);var tm=em(Wp("SkipSelf"),4);function zo(t,e){let o=t.hasOwnProperty(Ms);return o?t[Ms]:null}function Sw(t,e,o){if(t.length!==e.length)return!1;for(let n=0;nArray.isArray(o)?mu(o,e):e(o))}function nm(t,e,o){e>=t.length?t.push(o):t.splice(e,0,o)}function _s(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function Mw(t,e){let o=[];for(let n=0;n{o.push(s)};return mu(e,s=>{let a=s;Ec(a,i,[],n)&&(r||(r=[]),r.push(a))}),r!==void 0&&um(r,i),o}function um(t,e){for(let o=0;o{e(i,n)})}}function Ec(t,e,o,n){if(t=$e(t),!t)return!1;let r=null,i=fp(t),s=!i&&Qt(t);if(!i&&!s){let l=t.ngModule;if(i=fp(l),i)r=l;else return!1}else{if(s&&!s.standalone)return!1;r=t}let a=n.has(r);if(s){if(a)return!1;if(n.add(r),s.dependencies){let l=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let c of l)Ec(c,e,o,n)}}else if(i){if(i.imports!=null&&!a){n.add(r);let c;try{mu(i.imports,u=>{Ec(u,e,o,n)&&(c||(c=[]),c.push(u))})}finally{}c!==void 0&&um(c,e)}if(!a){let c=zo(r)||(()=>new r);e({provide:r,useFactory:c,deps:Et},r),e({provide:rm,useValue:r,multi:!0},r),e({provide:Go,useValue:()=>x(r),multi:!0},r)}let l=i.providers;if(l!=null&&!a){let c=t;gu(l,u=>{e(u,c)})}}else return!1;return r!==t&&t.providers!==void 0}function gu(t,e){for(let o of t)Kp(o)&&(o=o.\u0275providers),Array.isArray(o)?gu(o,e):e(o)}var _w=oe({provide:String,useValue:oe});function dm(t){return t!==null&&typeof t=="object"&&_w in t}function Aw(t){return!!(t&&t.useExisting)}function Rw(t){return!!(t&&t.useFactory)}function Wo(t){return typeof t=="function"}function Nw(t){return!!t.useClass}var Ks=new M(""),Cs={},Ow={},fc;function Xs(){return fc===void 0&&(fc=new As),fc}var me=class{},Zr=class extends me{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(e,o,n,r){super(),this.parent=o,this.source=n,this.scopes=r,Sc(e,s=>this.processProvider(s)),this.records.set(om,Fo(void 0,this)),r.has("environment")&&this.records.set(me,Fo(void 0,this));let i=this.records.get(Ks);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(rm,Et,V.Self))}destroy(){Hr(this),this._destroyed=!0;let e=J(null);try{for(let n of this._ngOnDestroyHooks)n.ngOnDestroy();let o=this._onDestroyHooks;this._onDestroyHooks=[];for(let n of o)n()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),J(e)}}onDestroy(e){return Hr(this),this._onDestroyHooks.push(e),()=>this.removeOnDestroy(e)}runInContext(e){Hr(this);let o=wn(this),n=ht(void 0),r;try{return e()}finally{wn(o),ht(n)}}get(e,o=qr,n=V.Default){if(Hr(this),e.hasOwnProperty(pp))return e[pp](this);n=Qs(n);let r,i=wn(this),s=ht(void 0);try{if(!(n&V.SkipSelf)){let l=this.records.get(e);if(l===void 0){let c=jw(e)&&Ys(e);c&&this.injectableDefInScope(c)?l=Fo(xc(e),Cs):l=null,this.records.set(e,l)}if(l!=null)return this.hydrate(e,l)}let a=n&V.Self?Xs():this.parent;return o=n&V.Optional&&o===qr?null:o,a.get(e,o)}catch(a){if(a.name==="NullInjectorError"){if((a[ks]=a[ks]||[]).unshift(Qe(e)),i)throw a;return Ew(a,e,"R3InjectorError",this.source)}else throw a}finally{ht(s),wn(i)}}resolveInjectorInitializers(){let e=J(null),o=wn(this),n=ht(void 0),r;try{let i=this.get(Go,Et,V.Self);for(let s of i)s()}finally{wn(o),ht(n),J(e)}}toString(){let e=[],o=this.records;for(let n of o.keys())e.push(Qe(n));return`R3Injector[${e.join(", ")}]`}processProvider(e){e=$e(e);let o=Wo(e)?e:$e(e&&e.provide),n=Fw(e);if(!Wo(e)&&e.multi===!0){let r=this.records.get(o);r||(r=Fo(void 0,Cs,!0),r.factory=()=>Ic(r.multi),this.records.set(o,r)),o=e,r.multi.push(e)}this.records.set(o,n)}hydrate(e,o){let n=J(null);try{return o.value===Cs&&(o.value=Ow,o.value=o.factory()),typeof o.value=="object"&&o.value&&$w(o.value)&&this._ngOnDestroyHooks.add(o.value),o.value}finally{J(n)}}injectableDefInScope(e){if(!e.providedIn)return!1;let o=$e(e.providedIn);return typeof o=="string"?o==="any"||this.scopes.has(o):this.injectorDefTypes.has(o)}removeOnDestroy(e){let o=this._onDestroyHooks.indexOf(e);o!==-1&&this._onDestroyHooks.splice(o,1)}};function xc(t){let e=Ys(t),o=e!==null?e.factory:zo(t);if(o!==null)return o;if(t instanceof M)throw new A(204,!1);if(t instanceof Function)return Pw(t);throw new A(204,!1)}function Pw(t){if(t.length>0)throw new A(204,!1);let o=lw(t);return o!==null?()=>o.factory(t):()=>new t}function Fw(t){if(dm(t))return Fo(void 0,t.useValue);{let e=fm(t);return Fo(e,Cs)}}function fm(t,e,o){let n;if(Wo(t)){let r=$e(t);return zo(r)||xc(r)}else if(dm(t))n=()=>$e(t.useValue);else if(Rw(t))n=()=>t.useFactory(...Ic(t.deps||[]));else if(Aw(t))n=()=>x($e(t.useExisting));else{let r=$e(t&&(t.useClass||t.provide));if(Lw(t))n=()=>new r(...Ic(t.deps));else return zo(r)||xc(r)}return n}function Hr(t){if(t.destroyed)throw new A(205,!1)}function Fo(t,e,o=!1){return{factory:t,value:e,multi:o?[]:void 0}}function Lw(t){return!!t.deps}function $w(t){return t!==null&&typeof t=="object"&&typeof t.ngOnDestroy=="function"}function jw(t){return typeof t=="function"||typeof t=="object"&&t instanceof M}function Sc(t,e){for(let o of t)Array.isArray(o)?Sc(o,e):o&&Kp(o)?Sc(o.\u0275providers,e):e(o)}function mt(t,e){t instanceof Zr&&Hr(t);let o,n=wn(t),r=ht(void 0);try{return e()}finally{wn(n),ht(r)}}function hm(){return Xp()!==void 0||ww()!=null}function Bw(t){if(!hm())throw new A(-203,!1)}function Vw(t){return typeof t=="function"}var Jt=0,j=1,R=2,Pe=3,xt=4,Ke=5,Yr=6,Vo=7,Tt=8,qo=9,In=10,je=11,Qr=12,gp=13,Ko=14,pt=15,qn=16,Lo=17,St=18,Js=19,pm=20,Cn=21,hc=22,Rs=23,rt=24,Mt=25,mm=1;var Zn=7,Ns=8,Zo=9,it=10,Os=function(t){return t[t.None=0]="None",t[t.HasTransplantedViews=2]="HasTransplantedViews",t}(Os||{});function Hn(t){return Array.isArray(t)&&typeof t[mm]=="object"}function en(t){return Array.isArray(t)&&t[mm]===!0}function vu(t){return(t.flags&4)!==0}function ea(t){return t.componentOffset>-1}function ta(t){return(t.flags&1)===1}function En(t){return!!t.template}function Tc(t){return(t[R]&512)!==0}var Mc=class{previousValue;currentValue;firstChange;constructor(e,o,n){this.previousValue=e,this.currentValue=o,this.firstChange=n}isFirstChange(){return this.firstChange}};function gm(t,e,o,n){e!==null?e.applyValueToInputSignal(e,n):t[o]=n}var ti=(()=>{let t=()=>vm;return t.ngInherit=!0,t})();function vm(t){return t.type.prototype.ngOnChanges&&(t.setInput=zw),Uw}function Uw(){let t=bm(this),e=t==null?void 0:t.current;if(e){let o=t.previous;if(o===Ho)t.previous=e;else for(let n in e)o[n]=e[n];t.current=null,this.ngOnChanges(e)}}function zw(t,e,o,n,r){let i=this.declaredInputs[n],s=bm(t)||Hw(t,{previous:Ho,current:null}),a=s.current||(s.current={}),l=s.previous,c=l[i];a[i]=new Mc(c&&c.currentValue,o,l===Ho),gm(t,e,r,o)}var ym="__ngSimpleChanges__";function bm(t){return t[ym]||null}function Hw(t,e){return t[ym]=e}var vp=null;var Ft=function(t,e,o){vp!=null&&vp(t,e,o)},Gw="svg",Ww="math";function Kt(t){for(;Array.isArray(t);)t=t[Jt];return t}function kt(t,e){return Kt(e[t.index])}function Dm(t,e){return t.data[e]}function ro(t,e){let o=e[t];return Hn(o)?o:o[Jt]}function qw(t){return(t[R]&4)===4}function yu(t){return(t[R]&128)===128}function Zw(t){return en(t[Pe])}function Yo(t,e){return e==null?null:t[e]}function wm(t){t[Lo]=0}function bu(t){t[R]&1024||(t[R]|=1024,yu(t)&&oa(t))}function Yw(t,e){for(;t>0;)e=e[Ko],t--;return e}function na(t){var e;return!!(t[R]&9216||(e=t[rt])!=null&&e.dirty)}function kc(t){var e;(e=t[In].changeDetectionScheduler)==null||e.notify(9),t[R]&64&&(t[R]|=1024),na(t)&&oa(t)}function oa(t){var o;(o=t[In].changeDetectionScheduler)==null||o.notify(0);let e=Yn(t);for(;e!==null&&!(e[R]&8192||(e[R]|=8192,!yu(e)));)e=Yn(e)}function Cm(t,e){if((t[R]&256)===256)throw new A(911,!1);t[Cn]===null&&(t[Cn]=[]),t[Cn].push(e)}function Qw(t,e){if(t[Cn]===null)return;let o=t[Cn].indexOf(e);o!==-1&&t[Cn].splice(o,1)}function Yn(t){let e=t[Pe];return en(e)?e[Pe]:e}var Y={lFrame:_m(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var _c=!1;function Kw(){return Y.lFrame.elementDepthCount}function Xw(){Y.lFrame.elementDepthCount++}function Jw(){Y.lFrame.elementDepthCount--}function Im(){return Y.bindingsEnabled}function Em(){return Y.skipHydrationRootTNode!==null}function eC(t){return Y.skipHydrationRootTNode===t}function tC(){Y.skipHydrationRootTNode=null}function le(){return Y.lFrame.lView}function Be(){return Y.lFrame.tView}function Du(t){return Y.lFrame.contextLView=t,t[Tt]}function wu(t){return Y.lFrame.contextLView=null,t}function Ve(){let t=xm();for(;t!==null&&t.type===64;)t=t.parent;return t}function xm(){return Y.lFrame.currentTNode}function nC(){let t=Y.lFrame,e=t.currentTNode;return t.isParent?e:e.parent}function io(t,e){let o=Y.lFrame;o.currentTNode=t,o.isParent=e}function Cu(){return Y.lFrame.isParent}function Iu(){Y.lFrame.isParent=!1}function Sm(){return _c}function yp(t){let e=_c;return _c=t,e}function oC(t){return Y.lFrame.bindingIndex=t}function rC(){return Y.lFrame.bindingIndex++}function iC(){return Y.lFrame.inI18n}function sC(t,e){let o=Y.lFrame;o.bindingIndex=o.bindingRootIndex=t,Ac(e)}function aC(){return Y.lFrame.currentDirectiveIndex}function Ac(t){Y.lFrame.currentDirectiveIndex=t}function Tm(){return Y.lFrame.currentQueryIndex}function Eu(t){Y.lFrame.currentQueryIndex=t}function lC(t){let e=t[j];return e.type===2?e.declTNode:e.type===1?t[Ke]:null}function Mm(t,e,o){if(o&V.SkipSelf){let r=e,i=t;for(;r=r.parent,r===null&&!(o&V.Host);)if(r=lC(i),r===null||(i=i[Ko],r.type&10))break;if(r===null)return!1;e=r,t=i}let n=Y.lFrame=km();return n.currentTNode=e,n.lView=t,!0}function xu(t){let e=km(),o=t[j];Y.lFrame=e,e.currentTNode=o.firstChild,e.lView=t,e.tView=o,e.contextLView=t,e.bindingIndex=o.bindingStartIndex,e.inI18n=!1}function km(){let t=Y.lFrame,e=t===null?null:t.child;return e===null?_m(t):e}function _m(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 Am(){let t=Y.lFrame;return Y.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}var Rm=Am;function Su(){let t=Am();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 cC(t){return(Y.lFrame.contextLView=Yw(t,Y.lFrame.contextLView))[Tt]}function Nm(){return Y.lFrame.selectedIndex}function Qn(t){Y.lFrame.selectedIndex=t}function uC(){let t=Y.lFrame;return Dm(t.tView,t.selectedIndex)}function dC(){return Y.lFrame.currentNamespace}var Om=!0;function ra(){return Om}function ia(t){Om=t}function fC(t,e,o){var s,a,l,c,u;let{ngOnChanges:n,ngOnInit:r,ngDoCheck:i}=e.type.prototype;if(n){let d=vm(e);((s=o.preOrderHooks)!=null?s:o.preOrderHooks=[]).push(t,d),((a=o.preOrderCheckHooks)!=null?a:o.preOrderCheckHooks=[]).push(t,d)}r&&((l=o.preOrderHooks)!=null?l:o.preOrderHooks=[]).push(0-t,r),i&&(((c=o.preOrderHooks)!=null?c:o.preOrderHooks=[]).push(t,i),((u=o.preOrderCheckHooks)!=null?u:o.preOrderCheckHooks=[]).push(t,i))}function sa(t,e){var o,n,r,i,s,a,l;for(let c=e.directiveStart,u=e.directiveEnd;c=n)break}else e[l]<0&&(t[Lo]+=65536),(a>14>16&&(t[R]&3)===e&&(t[R]+=16384,bp(a,i)):bp(a,i)}var Uo=-1,Kn=class{factory;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(e,o,n){this.factory=e,this.canSeeViewProviders=o,this.injectImpl=n}};function pC(t){return t instanceof Kn}function mC(t){return(t.flags&8)!==0}function gC(t){return(t.flags&16)!==0}function Rc(t,e,o){let n=0;for(;ne){s=i-1;break}}}for(;i>16}function Fs(t,e){let o=yC(t),n=e;for(;o>0;)n=n[Ko],o--;return n}var Oc=!0;function wp(t){let e=Oc;return Oc=t,e}var bC=256,$m=bC-1,jm=5,DC=0,Lt={};function wC(t,e,o){let n;typeof o=="string"?n=o.charCodeAt(0)||0:o.hasOwnProperty(Wr)&&(n=o[Wr]),n==null&&(n=o[Wr]=DC++);let r=n&$m,i=1<>jm)]|=i}function Ls(t,e){let o=Bm(t,e);if(o!==-1)return o;let n=e[j];n.firstCreatePass&&(t.injectorIndex=e.length,gc(n.data,t),gc(e,null),gc(n.blueprint,null));let r=Tu(t,e),i=t.injectorIndex;if(Lm(r)){let s=Ps(r),a=Fs(r,e),l=a[j].data;for(let c=0;c<8;c++)e[i+c]=a[s+c]|l[s+c]}return e[i+8]=r,i}function gc(t,e){t.push(0,0,0,0,0,0,0,0,e)}function Bm(t,e){return t.injectorIndex===-1||t.parent&&t.parent.injectorIndex===t.injectorIndex||e[t.injectorIndex+8]===null?-1:t.injectorIndex}function Tu(t,e){if(t.parent&&t.parent.injectorIndex!==-1)return t.parent.injectorIndex;let o=0,n=null,r=e;for(;r!==null;){if(n=Gm(r),n===null)return Uo;if(o++,r=r[Ko],n.injectorIndex!==-1)return n.injectorIndex|o<<16}return Uo}function Pc(t,e,o){wC(t,e,o)}function CC(t,e){if(e==="class")return t.classes;if(e==="style")return t.styles;let o=t.attrs;if(o){let n=o.length,r=0;for(;r>20,d=n?a:a+u,p=r?a+u:c;for(let f=d;f=l&&g.type===o)return f}if(r){let f=s[l];if(f&&En(f)&&f.type===o)return l}return null}function Xn(t,e,o,n){let r=t[o],i=e.data;if(pC(r)){let s=r;s.resolving&&gw(mw(i[o]));let a=wp(s.canSeeViewProviders);s.resolving=!0;let l,c=s.injectImpl?ht(s.injectImpl):null,u=Mm(t,n,V.Default);try{r=t[o]=s.factory(void 0,i,t,n),e.firstCreatePass&&o>=n.directiveStart&&fC(o,i[o],e)}finally{c!==null&&ht(c),wp(a),s.resolving=!1,Rm()}}return r}function EC(t){if(typeof t=="string")return t.charCodeAt(0)||0;let e=t.hasOwnProperty(Wr)?t[Wr]:void 0;return typeof e=="number"?e>=0?e&$m:xC:e}function Cp(t,e,o){let n=1<>jm)]&n)}function Ip(t,e){return!(t&V.Self)&&!(t&V.Host&&e)}var Gn=class{_tNode;_lView;constructor(e,o){this._tNode=e,this._lView=o}get(e,o,n){return zm(this._tNode,this._lView,e,Qs(n),o)}};function xC(){return new Gn(Ve(),le())}function Bt(t){return Jr(()=>{let e=t.prototype.constructor,o=e[Ms]||Fc(e),n=Object.prototype,r=Object.getPrototypeOf(t.prototype).constructor;for(;r&&r!==n;){let i=r[Ms]||Fc(r);if(i&&i!==o)return i;r=Object.getPrototypeOf(r)}return i=>new i})}function Fc(t){return qp(t)?()=>{let e=Fc($e(t));return e&&e()}:zo(t)}function SC(t,e,o,n,r){let i=t,s=e;for(;i!==null&&s!==null&&s[R]&2048&&!(s[R]&512);){let a=Hm(i,s,o,n|V.Self,Lt);if(a!==Lt)return a;let l=i.parent;if(!l){let c=s[pm];if(c){let u=c.get(o,Lt,n);if(u!==Lt)return u}l=Gm(s),s=s[Ko]}i=l}return r}function Gm(t){let e=t[j],o=e.type;return o===2?e.declTNode:o===1?t[Ke]:null}function Mn(t){return CC(Ve(),t)}function Ep(t,e=null,o=null,n){let r=Wm(t,e,o,n);return r.resolveInjectorInitializers(),r}function Wm(t,e=null,o=null,n,r=new Set){let i=[o||Et,kw(t)];return n=n||(typeof t=="object"?void 0:Qe(t)),new Zr(i,e||Xs(),n||null,r)}var zn=class zn{static create(e,o){var n;if(Array.isArray(e))return Ep({name:""},o,e,"");{let r=(n=e.name)!=null?n:"";return Ep({name:r},e.parent,e.providers,r)}}};m(zn,"THROW_IF_NOT_FOUND",qr),m(zn,"NULL",new As),m(zn,"\u0275prov",E({token:zn,providedIn:"any",factory:()=>x(om)})),m(zn,"__NG_ELEMENT_ID__",-1);var be=zn;var TC=new M("");TC.__NG_ELEMENT_ID__=t=>{let e=Ve();if(e===null)throw new A(204,!1);if(e.type&2)return e.value;if(t&V.Optional)return null;throw new A(204,!1)};var qm=!1,Mu=(()=>{class t{}return m(t,"__NG_ELEMENT_ID__",MC),m(t,"__NG_ENV_ID__",o=>o),t})(),Lc=class extends Mu{_lView;constructor(e){super(),this._lView=e}onDestroy(e){return Cm(this._lView,e),()=>Qw(this._lView,e)}};function MC(){return new Lc(le())}var Jn=class{},aa=new M("",{providedIn:"root",factory:()=>!1});var Zm=new M(""),ku=new M(""),Xo=(()=>{let e=class e{taskId=0;pendingTasks=new Set;get _hasPendingTasks(){return this.hasPendingTasks.value}hasPendingTasks=new fe(!1);add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let n=this.taskId++;return this.pendingTasks.add(n),n}has(n){return this.pendingTasks.has(n)}remove(n){this.pendingTasks.delete(n),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}};m(e,"\u0275prov",E({token:e,providedIn:"root",factory:()=>new e}));let t=e;return t})();var $c=class extends ne{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(e=!1){var o,n;super(),this.__isAsync=e,hm()&&(this.destroyRef=(o=y(Mu,{optional:!0}))!=null?o:void 0,this.pendingTasks=(n=y(Xo,{optional:!0}))!=null?n:void 0)}emit(e){let o=J(null);try{super.next(e)}finally{J(o)}}subscribe(e,o,n){var l,c,u;let r=e,i=o||(()=>null),s=n;if(e&&typeof e=="object"){let d=e;r=(l=d.next)==null?void 0:l.bind(d),i=(c=d.error)==null?void 0:c.bind(d),s=(u=d.complete)==null?void 0:u.bind(d)}this.__isAsync&&(i=this.wrapInTimeout(i),r&&(r=this.wrapInTimeout(r)),s&&(s=this.wrapInTimeout(s)));let a=super.subscribe({next:r,error:i,complete:s});return e instanceof ve&&e.add(a),a}wrapInTimeout(e){return o=>{var r;let n=(r=this.pendingTasks)==null?void 0:r.add();setTimeout(()=>{var i;e(o),n!==void 0&&((i=this.pendingTasks)==null||i.remove(n))})}}},ae=$c;function $s(...t){}function Ym(t){let e,o;function n(){t=$s;try{o!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(o),e!==void 0&&clearTimeout(e)}catch{}}return e=setTimeout(()=>{t(),n()}),typeof requestAnimationFrame=="function"&&(o=requestAnimationFrame(()=>{t(),n()})),()=>n()}function xp(t){return queueMicrotask(()=>t()),()=>{t=$s}}var _u="isAngularZone",js=_u+"_ID",kC=0,$=class t{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new ae(!1);onMicrotaskEmpty=new ae(!1);onStable=new ae(!1);onError=new ae(!1);constructor(e){let{enableLongStackTrace:o=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1,scheduleInRootZone:i=qm}=e;if(typeof Zone>"u")throw new A(908,!1);Zone.assertZonePatched();let s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),o&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!r&&n,s.shouldCoalesceRunChangeDetection=r,s.callbackScheduled=!1,s.scheduleInRootZone=i,RC(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(_u)===!0}static assertInAngularZone(){if(!t.isInAngularZone())throw new A(909,!1)}static assertNotInAngularZone(){if(t.isInAngularZone())throw new A(909,!1)}run(e,o,n){return this._inner.run(e,o,n)}runTask(e,o,n,r){let i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+r,e,_C,$s,$s);try{return i.runTask(s,o,n)}finally{i.cancelTask(s)}}runGuarded(e,o,n){return this._inner.runGuarded(e,o,n)}runOutsideAngular(e){return this._outer.run(e)}},_C={};function Au(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 AC(t){if(t.isCheckStableRunning||t.callbackScheduled)return;t.callbackScheduled=!0;function e(){Ym(()=>{t.callbackScheduled=!1,jc(t),t.isCheckStableRunning=!0,Au(t),t.isCheckStableRunning=!1})}t.scheduleInRootZone?Zone.root.run(()=>{e()}):t._outer.run(()=>{e()}),jc(t)}function RC(t){let e=()=>{AC(t)},o=kC++;t._inner=t._inner.fork({name:"angular",properties:{[_u]:!0,[js]:o,[js+o]:!0},onInvokeTask:(n,r,i,s,a,l)=>{if(NC(l))return n.invokeTask(i,s,a,l);try{return Sp(t),n.invokeTask(i,s,a,l)}finally{(t.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||t.shouldCoalesceRunChangeDetection)&&e(),Tp(t)}},onInvoke:(n,r,i,s,a,l,c)=>{try{return Sp(t),n.invoke(i,s,a,l,c)}finally{t.shouldCoalesceRunChangeDetection&&!t.callbackScheduled&&!OC(l)&&e(),Tp(t)}},onHasTask:(n,r,i,s)=>{n.hasTask(i,s),r===i&&(s.change=="microTask"?(t._hasPendingMicrotasks=s.microTask,jc(t),Au(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 jc(t){t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&t.callbackScheduled===!0?t.hasPendingMicrotasks=!0:t.hasPendingMicrotasks=!1}function Sp(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function Tp(t){t._nesting--,Au(t)}var Bs=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new ae;onMicrotaskEmpty=new ae;onStable=new ae;onError=new ae;run(e,o,n){return e.apply(o,n)}runGuarded(e,o,n){return e.apply(o,n)}runOutsideAngular(e){return e()}runTask(e,o,n,r){return e.apply(o,n)}};function NC(t){return Qm(t,"__ignore_ng_zone__")}function OC(t){return Qm(t,"__scheduler_tick__")}function Qm(t,e){var o,n;return!Array.isArray(t)||t.length!==1?!1:((n=(o=t[0])==null?void 0:o.data)==null?void 0:n[e])===!0}var Xt=class{_console=console;handleError(e){this._console.error("ERROR",e)}},PC=new M("",{providedIn:"root",factory:()=>{let t=y($),e=y(Xt);return o=>t.runOutsideAngular(()=>e.handleError(o))}});function Mp(t,e){return Gp(t,e)}function FC(t){return Gp(Hp,t)}var Km=(Mp.required=FC,Mp);function LC(){return Jo(Ve(),le())}function Jo(t,e){return new ee(kt(t,e))}var ee=(()=>{class t{nativeElement;constructor(o){this.nativeElement=o}}return m(t,"__NG_ELEMENT_ID__",LC),t})();function $C(t){return t instanceof ee?t.nativeElement:t}function jC(){return this._results[Symbol.iterator]()}var Bc=class{_emitDistinctChangesOnly;dirty=!0;_onDirty=void 0;_results=[];_changesDetected=!1;_changes=void 0;length=0;first=void 0;last=void 0;get changes(){var e;return(e=this._changes)!=null?e:this._changes=new ne}constructor(e=!1){this._emitDistinctChangesOnly=e}get(e){return this._results[e]}map(e){return this._results.map(e)}filter(e){return this._results.filter(e)}find(e){return this._results.find(e)}reduce(e,o){return this._results.reduce(e,o)}forEach(e){this._results.forEach(e)}some(e){return this._results.some(e)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(e,o){this.dirty=!1;let n=Tw(e);(this._changesDetected=!Sw(this._results,n,o))&&(this._results=n,this.length=n.length,this.last=n[this.length-1],this.first=n[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.next(this)}onDirty(e){this._onDirty=e}setDirty(){var e;this.dirty=!0,(e=this._onDirty)==null||e.call(this)}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}[Symbol.iterator]=jC};function Xm(t){return(t.flags&128)===128}var Jm=function(t){return t[t.OnPush=0]="OnPush",t[t.Default=1]="Default",t}(Jm||{}),eg=new Map,BC=0;function VC(){return BC++}function UC(t){eg.set(t[Js],t)}function Vc(t){eg.delete(t[Js])}var kp="__ngContext__";function xn(t,e){Hn(e)?(t[kp]=e[Js],UC(e)):t[kp]=e}function tg(t){return og(t[Qr])}function ng(t){return og(t[xt])}function og(t){for(;t!==null&&!en(t);)t=t[xt];return t}var Uc;function rg(t){Uc=t}function zC(){if(Uc!==void 0)return Uc;if(typeof document<"u")return document;throw new A(210,!1)}var Ru=new M("",{providedIn:"root",factory:()=>HC}),HC="ng",Nu=new M(""),so=new M("",{providedIn:"platform",factory:()=>"unknown"});var Ou=new M("",{providedIn:"root",factory:()=>{var t,e;return((e=(t=zC().body)==null?void 0:t.querySelector("[ngCspNonce]"))==null?void 0:e.getAttribute("ngCspNonce"))||null}});var GC="h",WC="b";var ig=!1,qC=new M("",{providedIn:"root",factory:()=>ig});var Pu=function(t){return t[t.CHANGE_DETECTION=0]="CHANGE_DETECTION",t[t.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",t}(Pu||{}),la=new M(""),_p=new Set;function ca(t){var e;_p.has(t)||(_p.add(t),(e=performance==null?void 0:performance.mark)==null||e.call(performance,"mark_feature_usage",{detail:{feature:t}}))}var $o=function(t){return t[t.EarlyRead=0]="EarlyRead",t[t.Write=1]="Write",t[t.MixedReadWrite=2]="MixedReadWrite",t[t.Read=3]="Read",t}($o||{}),sg=(()=>{let e=class e{impl=null;execute(){var n;(n=this.impl)==null||n.execute()}};m(e,"\u0275prov",E({token:e,providedIn:"root",factory:()=>new e}));let t=e;return t})(),ZC=[$o.EarlyRead,$o.Write,$o.MixedReadWrite,$o.Read],YC=(()=>{let e=class e{ngZone=y($);scheduler=y(Jn);errorHandler=y(Xt,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){y(la,{optional:!0})}execute(){var n;this.executing=!0;for(let r of ZC)for(let i of this.sequences)if(!(i.erroredOrDestroyed||!i.hooks[r]))try{i.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>i.hooks[r](i.pipelinedValue),i.snapshot))}catch(s){i.erroredOrDestroyed=!0,(n=this.errorHandler)==null||n.handleError(s)}this.executing=!1;for(let r of this.sequences)r.afterRun(),r.once&&(this.sequences.delete(r),r.destroy());for(let r of this.deferredRegistrations)this.sequences.add(r);this.deferredRegistrations.size>0&&this.scheduler.notify(8),this.deferredRegistrations.clear()}register(n){this.executing?this.deferredRegistrations.add(n):(this.sequences.add(n),this.scheduler.notify(7))}unregister(n){this.executing&&this.sequences.has(n)?(n.erroredOrDestroyed=!0,n.pipelinedValue=void 0,n.once=!0):(this.sequences.delete(n),this.deferredRegistrations.delete(n))}maybeTrace(n,r){return r?r.run(Pu.AFTER_NEXT_RENDER,n):n()}};m(e,"\u0275prov",E({token:e,providedIn:"root",factory:()=>new e}));let t=e;return t})(),zc=class{impl;hooks;once;snapshot;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(e,o,n,r,i=null){this.impl=e,this.hooks=o,this.once=n,this.snapshot=i,this.unregisterOnDestroy=r==null?void 0:r.onDestroy(()=>this.destroy())}afterRun(){var e;this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,(e=this.snapshot)==null||e.dispose(),this.snapshot=null}destroy(){var e;this.impl.unregister(this),(e=this.unregisterOnDestroy)==null||e.call(this)}};function Fu(t,e){var n;!(e!=null&&e.injector)&&Bw(Fu);let o=(n=e==null?void 0:e.injector)!=null?n:y(be);return ca("NgAfterNextRender"),KC(t,o,e,!0)}function QC(t,e){if(t instanceof Function){let o=[void 0,void 0,void 0,void 0];return o[e]=t,o}else return[t.earlyRead,t.write,t.mixedReadWrite,t.read]}function KC(t,e,o,n){var c,u;let r=e.get(sg);(c=r.impl)!=null||(r.impl=e.get(YC));let i=e.get(la,null,{optional:!0}),s=(u=o==null?void 0:o.phase)!=null?u:$o.MixedReadWrite,a=(o==null?void 0:o.manualCleanup)!==!0?e.get(Mu):null,l=new zc(r.impl,QC(t,s),n,a,i==null?void 0:i.snapshot(null));return r.impl.register(l),l}var XC=()=>null;function Lu(t,e,o=!1){return XC(t,e,o)}var $t=function(t){return t[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t}($t||{});var JC=/^>|^->||--!>|)/g,tI="\u200B$1\u200B";function nI(t){return t.replace(JC,e=>e.replace(eI,tI))}function ag(t){return t instanceof Function?t():t}var Sn=function(t){return t[t.None=0]="None",t[t.SignalBased=1]="SignalBased",t[t.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",t}(Sn||{}),ao=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}(ao||{}),oI;function $u(t,e){return oI(t,e)}function jo(t,e,o,n,r){if(n!=null){let i,s=!1;en(n)?i=n:Hn(n)&&(s=!0,n=n[Jt]);let a=Kt(n);t===0&&o!==null?r==null?hg(e,o,a):Vs(e,o,a,r||null,!0):t===1&&o!==null?Vs(e,o,a,r||null,!0):t===2?gI(e,a,s):t===3&&e.destroyNode(a),i!=null&&yI(e,t,i,o,r)}}function rI(t,e){return t.createText(e)}function iI(t,e){return t.createComment(nI(e))}function lg(t,e,o){return t.createElement(e,o)}function sI(t,e){cg(t,e),e[Jt]=null,e[Ke]=null}function aI(t,e,o,n,r,i){n[Jt]=r,n[Ke]=e,da(t,n,o,1,r,i)}function cg(t,e){var o;(o=e[In].changeDetectionScheduler)==null||o.notify(10),da(t,e,e[je],2,null,null)}function lI(t){let e=t[Qr];if(!e)return vc(t[j],t);for(;e;){let o=null;if(Hn(e))o=e[Qr];else{let n=e[it];n&&(o=n)}if(!o){for(;e&&!e[xt]&&e!==t;)Hn(e)&&vc(e[j],e),e=e[Pe];e===null&&(e=t),Hn(e)&&vc(e[j],e),o=e&&e[xt]}e=o}}function cI(t,e,o,n){let r=it+n,i=o.length;n>0&&(o[r-1][xt]=e),n0&&(t[o-1][xt]=n[xt]);let i=_s(t,it+e);sI(n[j],n);let s=i[St];s!==null&&s.detachView(i[j]),n[Pe]=null,n[xt]=null,n[R]&=-129}return n}function dg(t,e){if(!(e[R]&256)){let o=e[je];o.destroyNode&&da(t,e,o,3,null,null),lI(e)}}function vc(t,e){if(e[R]&256)return;let o=J(null);try{e[R]&=-129,e[R]|=256,e[rt]&&Yl(e[rt]),dI(t,e),uI(t,e),e[j].type===1&&e[je].destroy();let n=e[qn];if(n!==null&&en(e[Pe])){n!==e[Pe]&&ju(n,e);let r=e[St];r!==null&&r.detachView(t)}Vc(e)}finally{J(o)}}function uI(t,e){let o=t.cleanup,n=e[Vo];if(o!==null)for(let s=0;s=0?n[a]():n[-a].unsubscribe(),s+=2}else{let a=n[o[s+1]];o[s].call(a)}n!==null&&(e[Vo]=null);let r=e[Cn];if(r!==null){e[Cn]=null;for(let s=0;s-1){let{encapsulation:i}=t.data[n.directiveStart+r];if(i===$t.None||i===$t.Emulated)return null}return kt(n,o)}}function Vs(t,e,o,n,r){t.insertBefore(e,o,n,r)}function hg(t,e,o){t.appendChild(e,o)}function Ap(t,e,o,n,r){n!==null?Vs(t,e,o,n,r):hg(t,e,o)}function pg(t,e){return t.parentNode(e)}function hI(t,e){return t.nextSibling(e)}function mg(t,e,o){return mI(t,e,o)}function pI(t,e,o){return t.type&40?kt(t,o):null}var mI=pI,Rp;function ua(t,e,o,n){let r=fg(t,n,e),i=e[je],s=n.parent||e[Ke],a=mg(s,n,e);if(r!=null)if(Array.isArray(o))for(let l=0;l-1){let i;for(;++ri?d="":d=r[u+1].toLowerCase(),n&2&&c!==d){if(It(n))return!1;s=!0}}}}return It(n)||s}function It(t){return(t&1)===0}function EI(t,e,o,n){if(e===null)return-1;let r=0;if(n||!o){let i=!1;for(;r-1)for(o++;o0?'="'+a+'"':"")+"]"}else n&8?r+="."+s:n&4&&(r+=" "+s);else r!==""&&!It(s)&&(e+=Np(i,r),r=""),n=s,i=i||!It(n);o++}return r!==""&&(e+=Np(i,r)),e}function _I(t){return t.map(kI).join(",")}function AI(t){let e=[],o=[],n=1,r=2;for(;nMt&&Ig(t,e,Mt,!1),Ft(s?2:0,r),o(n,r)}finally{Qn(i),Ft(s?3:1,r)}}function zu(t,e,o){if(vu(e)){let n=J(null);try{let r=e.directiveStart,i=e.directiveEnd;for(let s=r;snull;function $I(t,e,o,n){let r=Og(e);r.push(o),t.firstCreatePass&&Pg(t).push(n,r.length-1)}function jI(t,e,o,n,r,i){let s=e?e.injectorIndex:-1,a=0;return Em()&&(a|=128),{type:o,index:n,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:r,attrs:i,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 Op(t,e,o,n,r){for(let i in e){if(!e.hasOwnProperty(i))continue;let s=e[i];if(s===void 0)continue;n!=null||(n={});let a,l=Sn.None;Array.isArray(s)?(a=s[0],l=s[1]):a=s;let c=i;if(r!==null){if(!r.hasOwnProperty(i))continue;c=r[i]}t===0?Pp(n,o,c,a,l):Pp(n,o,c,a)}return n}function Pp(t,e,o,n,r){let i;t.hasOwnProperty(o)?(i=t[o]).push(e,n):i=t[o]=[e,n],r!==void 0&&i.push(r)}function BI(t,e,o){let n=e.directiveStart,r=e.directiveEnd,i=t.data,s=e.attrs,a=[],l=null,c=null;for(let u=n;u0;){let o=t[--e];if(typeof o=="number"&&o<0)return o}return 0}function WI(t,e,o,n){let r=o.directiveStart,i=o.directiveEnd;ea(o)&&JI(e,o,t.data[r+o.componentOffset]),t.firstCreatePass||Ls(o,e),xn(n,e);let s=o.initialInputs;for(let a=r;a{oa(t.lView)},consumerOnSignalRead(){this.lView[rt]=this}});function uE(t){var o;let e=(o=t[rt])!=null?o:Object.create(dE);return e.lView=t,e}var dE=X(w({},Yi),{consumerIsAlwaysLive:!0,consumerMarkedDirty:t=>{let e=Yn(t.lView);for(;e&&!Bg(e[j]);)e=Yn(e);e&&bu(e)},consumerOnSignalRead(){this.lView[rt]=this}});function Bg(t){return t.type!==2}function Vg(t){if(t[Rs]===null)return;let e=!0;for(;e;){let o=!1;for(let n of t[Rs])n.dirty&&(o=!0,n.zone===null||Zone.current===n.zone?n.run():n.zone.run(()=>n.run()));e=o&&!!(t[R]&8192)}}var fE=100;function Ug(t,e=!0,o=0){var s,a;let r=t[In].rendererFactory,i=!1;i||(s=r.begin)==null||s.call(r);try{hE(t,o)}catch(l){throw e&&Fg(t,l),l}finally{i||(a=r.end)==null||a.call(r)}}function hE(t,e){let o=Sm();try{yp(!0),Yc(t,e);let n=0;for(;na(t);){if(n===fE)throw new A(103,!1);n++,Yc(t,1)}}finally{yp(o)}}function pE(t,e,o,n){let r=e[R];if((r&256)===256)return;let i=!1,s=!1;xu(e);let a=!0,l=null,c=null;i||(Bg(t)?(c=sE(e),l=ql(c)):Sh()===null?(a=!1,c=uE(e),l=ql(c)):e[rt]&&(Yl(e[rt]),e[rt]=null));try{wm(e),oC(t.bindingStartIndex),o!==null&&Tg(t,e,o,2,n);let u=(r&3)===3;if(!i)if(u){let f=t.preOrderCheckHooks;f!==null&&Is(e,f,null)}else{let f=t.preOrderHooks;f!==null&&Es(e,f,0,null),pc(e,0)}if(s||mE(e),Vg(e),zg(e,0),t.contentQueries!==null&&Ng(t,e),!i)if(u){let f=t.contentCheckHooks;f!==null&&Is(e,f)}else{let f=t.contentHooks;f!==null&&Es(e,f,1),pc(e,1)}RI(t,e);let d=t.components;d!==null&&Gg(e,d,0);let p=t.viewQuery;if(p!==null&&qc(2,p,n),!i)if(u){let f=t.viewCheckHooks;f!==null&&Is(e,f)}else{let f=t.viewHooks;f!==null&&Es(e,f,2),pc(e,2)}if(t.firstUpdatePass===!0&&(t.firstUpdatePass=!1),e[hc]){for(let f of e[hc])f();e[hc]=null}i||(e[R]&=-73)}catch(u){throw i||oa(e),u}finally{c!==null&&(_h(c,l),a&&lE(c)),Su()}}function zg(t,e){for(let o=tg(t);o!==null;o=ng(o))for(let n=it;n-1&&(Hc(e,n),_s(o,n))}this._attachedToViewContainer=!1}dg(this._lView[j],this._lView)}onDestroy(e){Cm(this._lView,e)}markForCheck(){Qu(this._cdRefInjectingView||this._lView,4)}markForRefresh(){bu(this._cdRefInjectingView||this._lView)}detach(){this._lView[R]&=-129}reattach(){kc(this._lView),this._lView[R]|=128}detectChanges(){this._lView[R]|=1024,Ug(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new A(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let e=Tc(this._lView),o=this._lView[qn];o!==null&&!e&&ju(o,this._lView),cg(this._lView[j],this._lView)}attachToAppRef(e){if(this._attachedToViewContainer)throw new A(902,!1);this._appRef=e;let o=Tc(this._lView),n=this._lView[qn];n!==null&&!o&&ug(n,this._lView),kc(this._lView)}},to=(()=>{class t{}return m(t,"__NG_ELEMENT_ID__",bE),t})(),vE=to,yE=class extends vE{_declarationLView;_declarationTContainer;elementRef;constructor(e,o,n){super(),this._declarationLView=e,this._declarationTContainer=o,this.elementRef=n}get ssrId(){var e;return((e=this._declarationTContainer.tView)==null?void 0:e.ssrId)||null}createEmbeddedView(e,o){return this.createEmbeddedViewImpl(e,o)}createEmbeddedViewImpl(e,o,n){let r=Lg(this._declarationLView,this._declarationTContainer,e,{embeddedViewInjector:o,dehydratedView:n});return new eo(r)}};function bE(){return Ku(Ve(),le())}function Ku(t,e){return t.type&4?new yE(e,t,Jo(t,e)):null}var _$=new RegExp(`^(\\d+)*(${WC}|${GC})*(.*)`);var DE=()=>null;function Qc(t,e){return DE(t,e)}var Kc=class{},zs=class{},Xc=class{resolveComponentFactory(e){throw Error(`No component factory found for ${Qe(e)}.`)}},Wn=class{};m(Wn,"NULL",new Xc);var Qo=class{};var wE=(()=>{let e=class e{};m(e,"\u0275prov",E({token:e,providedIn:"root",factory:()=>null}));let t=e;return t})();function Hs(t,e,o){let n=o?t.styles:null,r=o?t.classes:null,i=0;if(e!==null)for(let s=0;s0&&yg(t,o,i.join(" "))}}function ME(t,e,o){let n=t.projection=[];for(let r=0;r{class t{}return m(t,"__NG_ELEMENT_ID__",_E),t})();function _E(){let t=Ve();return qg(t,le())}var AE=_t,Wg=class extends AE{_lContainer;_hostTNode;_hostLView;constructor(e,o,n){super(),this._lContainer=e,this._hostTNode=o,this._hostLView=n}get element(){return Jo(this._hostTNode,this._hostLView)}get injector(){return new Gn(this._hostTNode,this._hostLView)}get parentInjector(){let e=Tu(this._hostTNode,this._hostLView);if(Lm(e)){let o=Fs(e,this._hostLView),n=Ps(e),r=o[j].data[n+8];return new Gn(r,o)}else return new Gn(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(e){let o=Lp(this._lContainer);return o!==null&&o[e]||null}get length(){return this._lContainer.length-it}createEmbeddedView(e,o,n){let r,i;typeof n=="number"?r=n:n!=null&&(r=n.index,i=n.injector);let s=Qc(this._lContainer,e.ssrId),a=e.createEmbeddedViewImpl(o||{},i,s);return this.insertImpl(a,r,Zc(this._hostTNode,s)),a}createComponent(e,o,n,r,i){var g,v,b;let s=e&&!Vw(e),a;if(s)a=o;else{let D=o||{};a=D.index,n=D.injector,r=D.projectableNodes,i=D.environmentInjector||D.ngModuleRef}let l=s?e:new no(Qt(e)),c=n||this.parentInjector;if(!i&&l.ngModule==null){let I=(s?c:this.parentInjector).get(me,null);I&&(i=I)}let u=Qt((g=l.componentType)!=null?g:{}),d=Qc(this._lContainer,(v=u==null?void 0:u.id)!=null?v:null),p=(b=d==null?void 0:d.firstChild)!=null?b:null,f=l.create(c,r,p,i);return this.insertImpl(f.hostView,a,Zc(this._hostTNode,d)),f}insert(e,o){return this.insertImpl(e,o,!0)}insertImpl(e,o,n){let r=e._lView;if(Zw(r)){let a=this.indexOf(e);if(a!==-1)this.detach(a);else{let l=r[Pe],c=new Wg(l,l[Ke],l[Pe]);c.detach(c.indexOf(e))}}let i=this._adjustIndex(o),s=this._lContainer;return $g(s,r,i,n),e.attachToViewContainerRef(),nm(yc(s),i,e),e}move(e,o){return this.insert(e,o)}indexOf(e){let o=Lp(this._lContainer);return o!==null?o.indexOf(e):-1}remove(e){let o=this._adjustIndex(e,-1),n=Hc(this._lContainer,o);n&&(_s(yc(this._lContainer),o),dg(n[j],n))}detach(e){let o=this._adjustIndex(e,-1),n=Hc(this._lContainer,o);return n&&_s(yc(this._lContainer),o)!=null?new eo(n):null}_adjustIndex(e,o=0){return e==null?this.length+o:e}};function Lp(t){return t[Ns]}function yc(t){return t[Ns]||(t[Ns]=[])}function qg(t,e){let o,n=e[t.index];return en(n)?o=n:(o=Rg(n,e,null,t),e[t.index]=o,ha(e,o)),NE(o,e,t,n),new Wg(o,t,e)}function RE(t,e){let o=t[je],n=o.createComment(""),r=kt(e,t),i=pg(o,r);return Vs(o,i,n,hI(o,r),!1),n}var NE=FE,OE=()=>!1;function PE(t,e,o){return OE(t,e,o)}function FE(t,e,o,n){if(t[Zn])return;let r;o.type&8?r=Kt(n):r=RE(e,o),t[Zn]=r}var eu=class t{queryList;matches=null;constructor(e){this.queryList=e}clone(){return new t(this.queryList)}setDirty(){this.queryList.setDirty()}},tu=class t{queries;constructor(e=[]){this.queries=e}createEmbeddedView(e){let o=e.queries;if(o!==null){let n=e.contentQueries!==null?e.contentQueries[0]:o.length,r=[];for(let i=0;i0)n.push(s[a/2]);else{let c=i[a+1],u=e[-l];for(let d=it;de.trim())}function Qg(t,e,o){t.queries===null&&(t.queries=new nu),t.queries.track(new ou(e,o))}function GE(t,e){let o=t.contentQueries||(t.contentQueries=[]),n=o.length?o[o.length-1]:-1;e!==n&&o.push(t.queries.length-1,e)}function Xu(t,e){return t.queries.getByIndex(e)}function WE(t,e){let o=t[j],n=Xu(o,e);return n.crossesNgTemplate?ru(o,t,e,[]):Zg(o,t,n,e)}var Tn=class{},Xr=class{};var iu=class extends Tn{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new Gs(this);constructor(e,o,n,r=!0){super(),this.ngModuleType=e,this._parent=o;let i=im(e);this._bootstrapComponents=ag(i.bootstrap),this._r3Injector=Wm(e,o,[{provide:Tn,useValue:this},{provide:Wn,useValue:this.componentFactoryResolver},...n],Qe(e),new Set(["environment"])),r&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){let e=this._r3Injector;!e.destroyed&&e.destroy(),this.destroyCbs.forEach(o=>o()),this.destroyCbs=null}onDestroy(e){this.destroyCbs.push(e)}},su=class extends Xr{moduleType;constructor(e){super(),this.moduleType=e}create(e){return new iu(this.moduleType,e,[])}};var qs=class extends Tn{injector;componentFactoryResolver=new Gs(this);instance=null;constructor(e){super();let o=new Zr([...e.providers,{provide:Tn,useValue:this},{provide:Wn,useValue:this.componentFactoryResolver}],e.parent||Xs(),e.debugName,new Set(["environment"]));this.injector=o,e.runEnvironmentInitializers&&o.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(e){this.injector.onDestroy(e)}};function pa(t,e,o=null){return new qs({providers:t,parent:e,debugName:o,runEnvironmentInitializers:!0}).injector}var qE=(()=>{let e=class e{_injector;cachedInjectors=new Map;constructor(n){this._injector=n}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){let r=cm(!1,n.type),i=r.length>0?pa([r],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,i)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}};m(e,"\u0275prov",E({token:e,providedIn:"environment",factory:()=>new e(x(me))}));let t=e;return t})();function De(t){return Jr(()=>{var r;let e=Kg(t),o=X(w({},e),{decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===Jm.OnPush,directiveDefs:null,pipeDefs:null,dependencies:e.standalone&&t.dependencies||null,getStandaloneInjector:e.standalone?i=>i.get(qE).getOrCreateStandaloneInjector(o):null,getExternalStyles:null,signals:(r=t.signals)!=null?r:!1,data:t.data||{},encapsulation:t.encapsulation||$t.Emulated,styles:t.styles||Et,_:null,schemas:t.schemas||null,tView:null,id:""});e.standalone&&ca("NgStandalone"),Xg(o);let n=t.dependencies;return o.directiveDefs=jp(n,!1),o.pipeDefs=jp(n,!0),o.id=QE(o),o})}function ZE(t){return Qt(t)||sm(t)}function YE(t){return t!==null}function Me(t){return Jr(()=>({type:t.type,bootstrap:t.bootstrap||Et,declarations:t.declarations||Et,imports:t.imports||Et,exports:t.exports||Et,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null}))}function $p(t,e){var n;if(t==null)return Ho;let o={};for(let r in t)if(t.hasOwnProperty(r)){let i=t[r],s,a,l=Sn.None;Array.isArray(i)?(l=i[0],s=i[1],a=(n=i[2])!=null?n:s):(s=i,a=i),e?(o[s]=l!==Sn.None?[r,l]:r,e[s]=a):o[s]=r}return o}function At(t){return Jr(()=>{let e=Kg(t);return Xg(e),e})}function Kg(t){var o;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||Ho,exportAs:t.exportAs||null,standalone:(o=t.standalone)!=null?o:!0,signals:t.signals===!0,selectors:t.selectors||Et,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:$p(t.inputs,e),outputs:$p(t.outputs),debugInfo:null}}function Xg(t){var e;(e=t.features)==null||e.forEach(o=>o(t))}function jp(t,e){if(!t)return null;let o=e?am:ZE;return()=>(typeof t=="function"?t():t).map(n=>o(n)).filter(YE)}function QE(t){let e=0,o=typeof t.consts=="function"?"":t.consts,n=[t.selectors,t.ngContentSelectors,t.hostVars,t.hostAttrs,o,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];for(let i of n.join("|"))e=Math.imul(31,e)+i.charCodeAt(0)<<0;return e+=2147483648,"c"+e}function KE(t){return Object.getPrototypeOf(t.prototype).constructor}function tr(t){let e=KE(t.type),o=!0,n=[t];for(;e;){let r;if(En(t))r=e.\u0275cmp||e.\u0275dir;else{if(e.\u0275cmp)throw new A(903,!1);r=e.\u0275dir}if(r){if(o){n.push(r);let s=t;s.inputs=ws(t.inputs),s.inputTransforms=ws(t.inputTransforms),s.declaredInputs=ws(t.declaredInputs),s.outputs=ws(t.outputs);let a=r.hostBindings;a&&nx(t,a);let l=r.viewQuery,c=r.contentQueries;if(l&&ex(t,l),c&&tx(t,c),XE(t,r),sw(t.outputs,r.outputs),En(r)&&r.data.animation){let u=t.data;u.animation=(u.animation||[]).concat(r.data.animation)}}let i=r.features;if(i)for(let s=0;s=0;n--){let r=t[n];r.hostVars=e+=r.hostVars,r.hostAttrs=Kr(r.hostAttrs,o=Kr(o,r.hostAttrs))}}function ws(t){return t===Ho?{}:t===Et?[]:t}function ex(t,e){let o=t.viewQuery;o?t.viewQuery=(n,r)=>{e(n,r),o(n,r)}:t.viewQuery=e}function tx(t,e){let o=t.contentQueries;o?t.contentQueries=(n,r,i)=>{e(n,r,i),o(n,r,i)}:t.contentQueries=e}function nx(t,e){let o=t.hostBindings;o?t.hostBindings=(n,r)=>{e(n,r),o(n,r)}:t.hostBindings=e}function ox(t,e,o){let n=t[e];return Object.is(n,o)?!1:(t[e]=o,!0)}function rx(t){return(t.flags&32)===32}function ix(t,e,o,n,r,i,s,a,l){let c=e.consts,u=er(e,t,4,s||null,a||null);qu(e,o,u,Yo(c,l)),sa(e,u);let d=u.tView=Wu(2,u,n,r,i,e.directiveRegistry,e.pipeRegistry,null,e.schemas,c,null);return e.queries!==null&&(e.queries.template(e,u),d.queries=e.queries.embeddedTView(u)),u}function Jg(t,e,o,n,r,i,s,a,l,c){let u=o+Mt,d=e.firstCreatePass?ix(u,e,t,n,r,i,s,a,l):e.data[u];io(d,!1);let p=sx(e,t,d,o);ra()&&ua(e,t,p,d),xn(p,t);let f=Rg(p,t,p,d);return t[u]=f,ha(t,f),PE(f,d,t),ta(d)&&Hu(e,t,d),l!=null&&Gu(t,d,c),d}function Ju(t,e,o,n,r,i,s,a){let l=le(),c=Be(),u=Yo(c.consts,i);return Jg(l,c,t,e,o,n,r,u,s,a),Ju}var sx=ax;function ax(t,e,o,n){return ia(!0),e[je].createComment("")}var ma=(()=>{let e=class e{log(n){console.log(n)}warn(n){console.warn(n)}};m(e,"\u0275fac",function(r){return new(r||e)}),m(e,"\u0275prov",E({token:e,factory:e.\u0275fac,providedIn:"platform"}));let t=e;return t})();var ev=new M("");function lo(t){return!!t&&typeof t.then=="function"}function tv(t){return!!t&&typeof t.subscribe=="function"}var nr=new M("");var nv=(()=>{var e;let o=class o{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((r,i)=>{this.resolve=r,this.reject=i});appInits=(e=y(nr,{optional:!0}))!=null?e:[];injector=y(be);constructor(){}runInitializers(){if(this.initialized)return;let r=[];for(let s of this.appInits){let a=mt(this.injector,s);if(lo(a))r.push(a);else if(tv(a)){let l=new Promise((c,u)=>{a.subscribe({complete:c,error:u})});r.push(l)}}let i=()=>{this.done=!0,this.resolve()};Promise.all(r).then(()=>{i()}).catch(s=>{this.reject(s)}),r.length===0&&i(),this.initialized=!0}};m(o,"\u0275fac",function(i){return new(i||o)}),m(o,"\u0275prov",E({token:o,factory:o.\u0275fac,providedIn:"root"}));let t=o;return t})(),lx=(()=>{let e=class e{};m(e,"\u0275prov",E({token:e,providedIn:"root",factory:()=>new au}));let t=e;return t})(),au=class{queuedEffectCount=0;queues=new Map;schedule(e){this.enqueue(e)}remove(e){let o=e.zone,n=this.queues.get(o);n.has(e)&&(n.delete(e),this.queuedEffectCount--)}enqueue(e){let o=e.zone;this.queues.has(o)||this.queues.set(o,new Set);let n=this.queues.get(o);n.has(e)||(this.queuedEffectCount++,n.add(e))}flush(){for(;this.queuedEffectCount>0;)for(let[e,o]of this.queues)e===null?this.flushQueue(o):e.run(()=>this.flushQueue(o))}flushQueue(e){for(let o of e)e.delete(o),this.queuedEffectCount--,o.run()}},ga=new M("");function cx(){Ph(()=>{throw new A(600,!1)})}function ux(t){return t.isBoundToModule}var dx=10;function fx(t,e,o){try{let n=o();return lo(n)?n.catch(r=>{throw e.runOutsideAngular(()=>t.handleError(r)),r}):n}catch(n){throw e.runOutsideAngular(()=>t.handleError(n)),n}}var jt=(()=>{let e=class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=y(PC);afterRenderManager=y(sg);zonelessEnabled=y(aa);rootEffectScheduler=y(lx);dirtyFlags=0;deferredDirtyFlags=0;tracingSnapshot=null;externalTestViews=new Set;afterTick=new ne;get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];isStable=y(Xo).hasPendingTasks.pipe(F(n=>!n));constructor(){y(la,{optional:!0})}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:i=>{i&&r()}})}).finally(()=>{n.unsubscribe()})}_injector=y(me);_rendererFactory=null;get injector(){return this._injector}bootstrap(n,r){let i=n instanceof zs;if(!this._injector.get(nv).done){let f=!i&&lm(n),g=!1;throw new A(405,g)}let a;i?a=n:a=this._injector.get(Wn).resolveComponentFactory(n),this.componentTypes.push(a.componentType);let l=ux(a)?void 0:this._injector.get(Tn),c=r||a.selector,u=a.create(be.NULL,[],c,l),d=u.location.nativeElement,p=u.injector.get(ev,null);return p==null||p.registerApplication(d),u.onDestroy(()=>{this.detachView(u.hostView),Ss(this.components,u),p==null||p.unregisterApplication(d)}),this._loadComponent(u),u}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick=()=>{if(this.tracingSnapshot!==null){let r=this.tracingSnapshot;this.tracingSnapshot=null,r.run(Pu.CHANGE_DETECTION,this._tick),r.dispose();return}if(this._runningTick)throw new A(101,!1);let n=J(null);try{this._runningTick=!0,this.synchronize()}catch(r){this.internalErrorHandler(r)}finally{this._runningTick=!1,J(n),this.afterTick.next()}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(Qo,null,{optional:!0})),this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0;let n=0;for(;this.dirtyFlags!==0&&n++na(n))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(n){let r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){let r=n;Ss(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(ga,[]).forEach(i=>i(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>Ss(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new A(406,!1);let n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}};m(e,"\u0275fac",function(r){return new(r||e)}),m(e,"\u0275prov",E({token:e,factory:e.\u0275fac,providedIn:"root"}));let t=e;return t})();function Ss(t,e){let o=t.indexOf(e);o>-1&&t.splice(o,1)}function hx(t,e,o,n){if(!o&&!na(t))return;Ug(t,e,o&&!n?0:1)}function va(t,e,o){let n=le(),r=rC();if(ox(n,r,e)){let i=Be(),s=uC();UI(i,s,n,t,e,n[je],o,!1)}return va}function Bp(t,e,o,n,r){let i=e.inputs,s=r?"class":"style";Zu(t,o,i[s],s,n)}function px(t,e,o,n,r,i){let s=e.consts,a=Yo(s,r),l=er(e,t,2,n,a);return qu(e,o,l,Yo(s,i)),l.attrs!==null&&Hs(l,l.attrs,!1),l.mergedAttrs!==null&&Hs(l,l.mergedAttrs,!0),e.queries!==null&&e.queries.elementStart(e,l),l}function ni(t,e,o,n){let r=le(),i=Be(),s=Mt+t,a=r[je],l=i.firstCreatePass?px(s,i,r,e,o,n):i.data[s],c=mx(i,r,l,a,e,t);r[s]=c;let u=ta(l);return io(l,!0),bg(a,c,l),!rx(l)&&ra()&&ua(i,r,c,l),Kw()===0&&xn(c,r),Xw(),u&&(Hu(i,r,l),zu(i,l,r)),n!==null&&Gu(r,l),ni}function oi(){let t=Ve();Cu()?Iu():(t=t.parent,io(t,!1));let e=t;eC(e)&&tC(),Jw();let o=Be();return o.firstCreatePass&&(sa(o,t),vu(t)&&o.queries.elementEnd(t)),e.classesWithoutHost!=null&&mC(e)&&Bp(o,e,le(),e.classesWithoutHost,!0),e.stylesWithoutHost!=null&&gC(e)&&Bp(o,e,le(),e.stylesWithoutHost,!1),oi}function ed(t,e,o,n){return ni(t,e,o,n),oi(),ed}var mx=(t,e,o,n,r,i)=>(ia(!0),lg(n,r,dC()));function gx(t,e,o,n,r){let i=e.consts,s=Yo(i,n),a=er(e,t,8,"ng-container",s);s!==null&&Hs(a,s,!0);let l=Yo(i,r);return qu(e,o,a,l),e.queries!==null&&e.queries.elementStart(e,a),a}function td(t,e,o){let n=le(),r=Be(),i=t+Mt,s=r.firstCreatePass?gx(i,r,n,e,o):r.data[i];io(s,!0);let a=vx(r,n,s,t);return n[i]=a,ra()&&ua(r,n,a,s),xn(a,n),ta(s)&&(Hu(r,n,s),zu(r,s,n)),o!=null&&Gu(n,s),td}function nd(){let t=Ve(),e=Be();return Cu()?Iu():(t=t.parent,io(t,!1)),e.firstCreatePass&&(sa(e,t),vu(t)&&e.queries.elementEnd(t)),nd}var vx=(t,e,o,n)=>(ia(!0),iI(e[je],""));function ov(){return le()}var Zs="en-US";var yx=Zs;function bx(t){typeof t=="string"&&(yx=t.toLowerCase().replace(/_/g,"-"))}var Dx=(t,e,o)=>{};function tn(t,e,o,n){let r=le(),i=Be(),s=Ve();return Cx(i,r,r[je],s,t,e,n),tn}function wx(t,e,o,n){let r=t.cleanup;if(r!=null)for(let i=0;il?a[l]:null}typeof s=="string"&&(i+=2)}return null}function Cx(t,e,o,n,r,i,s){let a=ta(n),c=t.firstCreatePass&&Pg(t),u=e[Tt],d=Og(e),p=!0;if(n.type&3||s){let v=kt(n,e),b=s?s(v):v,D=d.length,I=s?N=>s(Kt(N[n.index])):n.index,T=null;if(!s&&a&&(T=wx(t,e,r,n.index)),T!==null){let N=T.__ngLastListenerFn__||T;N.__ngNextListenerFn__=i,T.__ngLastListenerFn__=i,p=!1}else{i=Up(n,e,u,i),Dx(v,r,i);let N=o.listen(b,r,i);d.push(i,N),c&&c.push(r,I,D,D+1)}}else i=Up(n,e,u,i);let f=n.outputs,g;if(p&&f!==null&&(g=f[r])){let v=g.length;if(v)for(let b=0;b-1?ro(t.index,e):e;Qu(s,5);let a=Vp(e,o,n,i),l=r.__ngNextListenerFn__;for(;l;)a=Vp(e,o,l,i)&&a,l=l.__ngNextListenerFn__;return a}}function od(t=1){return cC(t)}function Ix(t,e){let o=null,n=xI(t);for(let r=0;r(ia(!0),rI(e[je],n));function Sx(t,e,o){let n=Be();if(n.firstCreatePass){let r=En(t);lu(o,n.data,n.blueprint,r,!0),lu(e,n.data,n.blueprint,r,!1)}}function lu(t,e,o,n,r){if(t=$e(t),Array.isArray(t))for(let i=0;i>20;if(Wo(t)||!t.multi){let f=new Kn(c,r,S),g=Dc(l,e,r?u:u+p,d);g===-1?(Pc(Ls(a,s),i,l),bc(i,t,e.length),e.push(l),a.directiveStart++,a.directiveEnd++,r&&(a.providerIndexes+=1048576),o.push(f),s.push(f)):(o[g]=f,s[g]=f)}else{let f=Dc(l,e,u+p,d),g=Dc(l,e,u,u+p),v=f>=0&&o[f],b=g>=0&&o[g];if(r&&!b||!r&&!v){Pc(Ls(a,s),i,l);let D=kx(r?Mx:Tx,o.length,r,n,c);!r&&b&&(o[g].providerFactory=D),bc(i,t,e.length,0),e.push(l),a.directiveStart++,a.directiveEnd++,r&&(a.providerIndexes+=1048576),o.push(D),s.push(D)}else{let D=rv(o[r?g:f],c,!r&&n);bc(i,t,f>-1?f:g,D)}!r&&n&&b&&o[g].componentProviders++}}}function bc(t,e,o,n){let r=Wo(e),i=Nw(e);if(r||i){let l=(i?$e(e.useClass):e).prototype.ngOnDestroy;if(l){let c=t.destroyHooks||(t.destroyHooks=[]);if(!r&&e.multi){let u=c.indexOf(o);u===-1?c.push(o,[n,l]):c[u+1].push(n,l)}else c.push(o,l)}}}function rv(t,e,o){return o&&t.componentProviders++,t.multi.push(e)-1}function Dc(t,e,o,n){for(let r=o;r{o.providersResolver=(n,r)=>Sx(n,r?r(t):t,e)}}var uu=class{ngModuleFactory;componentFactories;constructor(e,o){this.ngModuleFactory=e,this.componentFactories=o}},ya=(()=>{let e=class e{compileModuleSync(n){return new su(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){let r=this.compileModuleSync(n),i=im(n),s=ag(i.declarations).reduce((a,l)=>{let c=Qt(l);return c&&a.push(new no(c)),a},[]);return new uu(r,s)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}};m(e,"\u0275fac",function(r){return new(r||e)}),m(e,"\u0275prov",E({token:e,factory:e.\u0275fac,providedIn:"root"}));let t=e;return t})();var _x=(()=>{let e=class e{zone=y($);changeDetectionScheduler=y(Jn);applicationRef=y(jt);_onMicrotaskEmptySubscription;initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){var n;(n=this._onMicrotaskEmptySubscription)==null||n.unsubscribe()}};m(e,"\u0275fac",function(r){return new(r||e)}),m(e,"\u0275prov",E({token:e,factory:e.\u0275fac,providedIn:"root"}));let t=e;return t})();function Ax({ngZoneFactory:t,ignoreChangesOutsideZone:e,scheduleInRootZone:o}){return t!=null||(t=()=>new $(X(w({},Rx()),{scheduleInRootZone:o}))),[{provide:$,useFactory:t},{provide:Go,multi:!0,useFactory:()=>{let n=y(_x,{optional:!0});return()=>n.initialize()}},{provide:Go,multi:!0,useFactory:()=>{let n=y(Nx);return()=>{n.initialize()}}},e===!0?{provide:Zm,useValue:!0}:[],{provide:ku,useValue:o!=null?o:qm}]}function Rx(t){var e,o;return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:(e=t==null?void 0:t.eventCoalescing)!=null?e:!1,shouldCoalesceRunChangeDetection:(o=t==null?void 0:t.runCoalescing)!=null?o:!1}}var Nx=(()=>{let e=class e{subscription=new ve;initialized=!1;zone=y($);pendingTasks=y(Xo);initialize(){if(this.initialized)return;this.initialized=!0;let n=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(n=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{$.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{$.assertInAngularZone(),n!=null||(n=this.pendingTasks.add())}))}ngOnDestroy(){this.subscription.unsubscribe()}};m(e,"\u0275fac",function(r){return new(r||e)}),m(e,"\u0275prov",E({token:e,factory:e.\u0275fac,providedIn:"root"}));let t=e;return t})();var iv=(()=>{var e,o,n;let r=class r{appRef=y(jt);taskService=y(Xo);ngZone=y($);zonelessEnabled=y(aa);tracing=y(la,{optional:!0});disableScheduling=(e=y(Zm,{optional:!0}))!=null?e:!1;zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new ve;angularZoneId=this.zoneIsDefined?(o=this.ngZone._inner)==null?void 0:o.get(js):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&((n=y(ku,{optional:!0}))!=null?n:!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||(this.disableScheduling=!this.zonelessEnabled&&(this.ngZone instanceof Bs||!this.zoneIsDefined))}notify(s){var c,u;if(!this.zonelessEnabled&&s===5)return;let a=!1;switch(s){case 0:{this.appRef.dirtyFlags|=2;break}case 3:case 2:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 8:{this.appRef.deferredDirtyFlags|=8;break}case 6:{this.appRef.dirtyFlags|=2,a=!0;break}case 13:{this.appRef.dirtyFlags|=16,a=!0;break}case 14:{this.appRef.dirtyFlags|=2,a=!0;break}case 12:{a=!0;break}case 10:case 9:case 7:case 11:default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=(u=(c=this.tracing)==null?void 0:c.snapshot(this.appRef.tracingSnapshot))!=null?u:null,!this.shouldScheduleTick(a))return;let l=this.useMicrotaskScheduler?xp:Ym;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>l(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>l(()=>this.tick()))}shouldScheduleTick(s){return!(this.disableScheduling&&!s||this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(js+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(this.appRef.dirtyFlags===0){this.cleanup();return}!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let s=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(a){throw this.taskService.remove(s),a}finally{this.cleanup()}this.useMicrotaskScheduler=!0,xp(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(s)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){var s;if(this.runningTick=!1,(s=this.cancelScheduledCallback)==null||s.call(this),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let a=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(a)}}};m(r,"\u0275fac",function(a){return new(a||r)}),m(r,"\u0275prov",E({token:r,factory:r.\u0275fac,providedIn:"root"}));let t=r;return t})();function N$(){return ca("NgZoneless"),oo([{provide:Jn,useExisting:iv},{provide:$,useClass:Bs},{provide:aa,useValue:!0},{provide:ku,useValue:!1},[]])}function Ox(){return typeof $localize<"u"&&$localize.locale||Zs}var id=new M("",{providedIn:"root",factory:()=>y(id,V.Optional|V.SkipSelf)||Ox()});var du=new M(""),Px=new M("");function zr(t){return!t.moduleRef}function Fx(t){let e=zr(t)?t.r3Injector:t.moduleRef.injector,o=e.get($);return o.run(()=>{zr(t)?t.r3Injector.resolveInjectorInitializers():t.moduleRef.resolveInjectorInitializers();let n=e.get(Xt,null),r;if(o.runOutsideAngular(()=>{r=o.onError.subscribe({next:i=>{n.handleError(i)}})}),zr(t)){let i=()=>e.destroy(),s=t.platformInjector.get(du);s.add(i),e.onDestroy(()=>{r.unsubscribe(),s.delete(i)})}else{let i=()=>t.moduleRef.destroy(),s=t.platformInjector.get(du);s.add(i),t.moduleRef.onDestroy(()=>{Ss(t.allPlatformModules,t.moduleRef),r.unsubscribe(),s.delete(i)})}return fx(n,o,()=>{let i=e.get(nv);return i.runInitializers(),i.donePromise.then(()=>{let s=e.get(id,Zs);if(bx(s||Zs),!e.get(Px,!0))return zr(t)?e.get(jt):(t.allPlatformModules.push(t.moduleRef),t.moduleRef);if(zr(t)){let l=e.get(jt);return t.rootComponent!==void 0&&l.bootstrap(t.rootComponent),l}else return Lx(t.moduleRef,t.allPlatformModules),t.moduleRef})})})}function Lx(t,e){let o=t.injector.get(jt);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(n=>o.bootstrap(n));else if(t.instance.ngDoBootstrap)t.instance.ngDoBootstrap(o);else throw new A(-403,!1);e.push(t)}var Ts=null;function $x(t=[],e){return be.create({name:e,providers:[{provide:Ks,useValue:"platform"},{provide:du,useValue:new Set([()=>Ts=null])},...t]})}function jx(t=[]){if(Ts)return Ts;let e=$x(t);return Ts=e,cx(),Bx(e),e}function Bx(t){let e=t.get(Nu,null);mt(t,()=>{e==null||e.forEach(o=>o())})}var de=(()=>{class t{}return m(t,"__NG_ELEMENT_ID__",Vx),t})();function Vx(t){return Ux(Ve(),le(),(t&16)===16)}function Ux(t,e,o){if(ea(t)&&!o){let n=ro(t.index,e);return new eo(n,n)}else if(t.type&175){let n=e[pt];return new eo(n,e)}return null}function sv(t){try{let{rootComponent:e,appProviders:o,platformProviders:n}=t,r=jx(n),i=[Ax({}),{provide:Jn,useExisting:iv},...o||[]],s=new qs({providers:i,parent:r,debugName:"",runEnvironmentInitializers:!1});return Fx({r3Injector:s.injector,platformInjector:r,rootComponent:e})}catch(e){return Promise.reject(e)}}var zp=class{[Co];constructor(e){this[Co]=e}destroy(){this[Co].destroy()}};function av(t,e){let o=Qt(t),n=e.elementInjector||Xs();return new no(o).create(n,e.projectableNodes,e.hostElement,e.environmentInjector)}function ba(t){let e=Qt(t);if(!e)return null;let o=new no(e);return{get selector(){return o.selector},get type(){return o.componentType},get inputs(){return o.inputs},get outputs(){return o.outputs},get ngContentSelectors(){return o.ngContentSelectors},get isStandalone(){return e.standalone},get isSignal(){return e.signals}}}var Da=null;function co(){return Da}function fv(t){Da!=null||(Da=t)}var wa=class{};var Ce=new M(""),dd=(()=>{let e=class e{historyGo(n){throw new Error("")}};m(e,"\u0275fac",function(r){return new(r||e)}),m(e,"\u0275prov",E({token:e,factory:()=>y(qx),providedIn:"platform"}));let t=e;return t})(),hv=new M(""),qx=(()=>{let e=class e extends dd{_location;_history;_doc=y(Ce);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return co().getBaseHref(this._doc)}onPopState(n){let r=co().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",n,!1),()=>r.removeEventListener("popstate",n)}onHashChange(n){let r=co().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",n,!1),()=>r.removeEventListener("hashchange",n)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(n){this._location.pathname=n}pushState(n,r,i){this._history.pushState(n,r,i)}replaceState(n,r,i){this._history.replaceState(n,r,i)}forward(){this._history.forward()}back(){this._history.back()}historyGo(n=0){this._history.go(n)}getState(){return this._history.state}};m(e,"\u0275fac",function(r){return new(r||e)}),m(e,"\u0275prov",E({token:e,factory:()=>new e,providedIn:"platform"}));let t=e;return t})();function fd(t,e){if(t.length==0)return e;if(e.length==0)return t;let o=0;return t.endsWith("/")&&o++,e.startsWith("/")&&o++,o==2?t+e.substring(1):o==1?t+e:t+"/"+e}function lv(t){let e=t.match(/#|\?|$/),o=e&&e.index||t.length,n=o-(t[o-1]==="/"?1:0);return t.slice(0,n)+t.slice(o)}function rn(t){return t&&t[0]!=="?"?"?"+t:t}var sn=(()=>{let e=class e{historyGo(n){throw new Error("")}};m(e,"\u0275fac",function(r){return new(r||e)}),m(e,"\u0275prov",E({token:e,factory:()=>y(hd),providedIn:"root"}));let t=e;return t})(),pv=new M(""),hd=(()=>{let e=class e extends sn{_platformLocation;_baseHref;_removeListenerFns=[];constructor(n,r){var i,s,a;super(),this._platformLocation=n,this._baseHref=(a=(s=r!=null?r:this._platformLocation.getBaseHrefFromDOM())!=null?s:(i=y(Ce).location)==null?void 0:i.origin)!=null?a:""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}prepareExternalUrl(n){return fd(this._baseHref,n)}path(n=!1){let r=this._platformLocation.pathname+rn(this._platformLocation.search),i=this._platformLocation.hash;return i&&n?`${r}${i}`:r}pushState(n,r,i,s){let a=this.prepareExternalUrl(i+rn(s));this._platformLocation.pushState(n,r,a)}replaceState(n,r,i,s){let a=this.prepareExternalUrl(i+rn(s));this._platformLocation.replaceState(n,r,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){var r,i;(i=(r=this._platformLocation).historyGo)==null||i.call(r,n)}};m(e,"\u0275fac",function(r){return new(r||e)(x(dd),x(pv,8))}),m(e,"\u0275prov",E({token:e,factory:e.\u0275fac,providedIn:"root"}));let t=e;return t})(),pd=(()=>{let e=class e extends sn{_platformLocation;_baseHref="";_removeListenerFns=[];constructor(n,r){super(),this._platformLocation=n,r!=null&&(this._baseHref=r)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}path(n=!1){var i;let r=(i=this._platformLocation.hash)!=null?i:"#";return r.length>0?r.substring(1):r}prepareExternalUrl(n){let r=fd(this._baseHref,n);return r.length>0?"#"+r:r}pushState(n,r,i,s){let a=this.prepareExternalUrl(i+rn(s));a.length==0&&(a=this._platformLocation.pathname),this._platformLocation.pushState(n,r,a)}replaceState(n,r,i,s){let a=this.prepareExternalUrl(i+rn(s));a.length==0&&(a=this._platformLocation.pathname),this._platformLocation.replaceState(n,r,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){var r,i;(i=(r=this._platformLocation).historyGo)==null||i.call(r,n)}};m(e,"\u0275fac",function(r){return new(r||e)(x(dd),x(pv,8))}),m(e,"\u0275prov",E({token:e,factory:e.\u0275fac}));let t=e;return t})(),Rt=(()=>{let e=class e{_subject=new ne;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(n){this._locationStrategy=n;let r=this._locationStrategy.getBaseHref();this._basePath=Qx(lv(cv(r))),this._locationStrategy.onPopState(i=>{this._subject.next({url:this.path(!0),pop:!0,state:i.state,type:i.type})})}ngOnDestroy(){var n;(n=this._urlChangeSubscription)==null||n.unsubscribe(),this._urlChangeListeners=[]}path(n=!1){return this.normalize(this._locationStrategy.path(n))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(n,r=""){return this.path()==this.normalize(n+rn(r))}normalize(n){return e.stripTrailingSlash(Yx(this._basePath,cv(n)))}prepareExternalUrl(n){return n&&n[0]!=="/"&&(n="/"+n),this._locationStrategy.prepareExternalUrl(n)}go(n,r="",i=null){this._locationStrategy.pushState(i,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+rn(r)),i)}replaceState(n,r="",i=null){this._locationStrategy.replaceState(i,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+rn(r)),i)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(n=0){var r,i;(i=(r=this._locationStrategy).historyGo)==null||i.call(r,n)}onUrlChange(n){var r;return this._urlChangeListeners.push(n),(r=this._urlChangeSubscription)!=null||(this._urlChangeSubscription=this.subscribe(i=>{this._notifyUrlChangeListeners(i.url,i.state)})),()=>{var s;let i=this._urlChangeListeners.indexOf(n);this._urlChangeListeners.splice(i,1),this._urlChangeListeners.length===0&&((s=this._urlChangeSubscription)==null||s.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(n="",r){this._urlChangeListeners.forEach(i=>i(n,r))}subscribe(n,r,i){return this._subject.subscribe({next:n,error:r!=null?r:void 0,complete:i!=null?i:void 0})}};m(e,"normalizeQueryParams",rn),m(e,"joinWithSlash",fd),m(e,"stripTrailingSlash",lv),m(e,"\u0275fac",function(r){return new(r||e)(x(sn))}),m(e,"\u0275prov",E({token:e,factory:()=>Zx(),providedIn:"root"}));let t=e;return t})();function Zx(){return new Rt(x(sn))}function Yx(t,e){if(!t||!e.startsWith(t))return e;let o=e.substring(t.length);return o===""||["/",";","?","#"].includes(o[0])?o:e}function cv(t){return t.replace(/\/index.html$/,"")}function Qx(t){if(new RegExp("^(https?:)?//").test(t)){let[,o]=t.split(/\/\/[^\/]+/);return o}return t}function mv(t,e){e=encodeURIComponent(e);for(let o of t.split(";")){let n=o.indexOf("="),[r,i]=n==-1?[o,""]:[o.slice(0,n),o.slice(n+1)];if(r.trim()===e)return decodeURIComponent(i)}return null}var md=(()=>{let e=class e{_viewContainer;_context=new sd;_thenTemplateRef=null;_elseTemplateRef=null;_thenViewRef=null;_elseViewRef=null;constructor(n,r){this._viewContainer=n,this._thenTemplateRef=r}set ngIf(n){this._context.$implicit=this._context.ngIf=n,this._updateView()}set ngIfThen(n){uv("ngIfThen",n),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}set ngIfElse(n){uv("ngIfElse",n),this._elseTemplateRef=n,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(n,r){return!0}};m(e,"ngIfUseIfTypeGuard"),m(e,"ngTemplateGuard_ngIf"),m(e,"\u0275fac",function(r){return new(r||e)(S(_t),S(to))}),m(e,"\u0275dir",At({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}));let t=e;return t})(),sd=class{$implicit=null;ngIf=null};function uv(t,e){if(!!!(!e||e.createEmbeddedView))throw new Error(`${t} must be a TemplateRef, but received '${Qe(e)}'.`)}var kn=(()=>{let e=class e{};m(e,"\u0275fac",function(r){return new(r||e)}),m(e,"\u0275mod",Me({type:e})),m(e,"\u0275inj",Te({}));let t=e;return t})(),gd="browser",Kx="server";function Xx(t){return t===gd}function vd(t){return t===Kx}var gv=(()=>{let e=class e{};m(e,"\u0275prov",E({token:e,providedIn:"root",factory:()=>Xx(y(so))?new ad(y(Ce),window):new ld}));let t=e;return t})(),ad=class{document;window;offset=()=>[0,0];constructor(e,o){this.document=e,this.window=o}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 o=Jx(this.document,e);o&&(this.scrollToElement(o),o.focus())}setHistoryScrollRestoration(e){this.window.history.scrollRestoration=e}scrollToElement(e){let o=e.getBoundingClientRect(),n=o.left+this.window.pageXOffset,r=o.top+this.window.pageYOffset,i=this.offset();this.window.scrollTo(n-i[0],r-i[1])}};function Jx(t,e){let o=t.getElementById(e)||t.getElementsByName(e)[0];if(o)return o;if(typeof t.createTreeWalker=="function"&&t.body&&typeof t.body.attachShadow=="function"){let n=t.createTreeWalker(t.body,NodeFilter.SHOW_ELEMENT),r=n.currentNode;for(;r;){let i=r.shadowRoot;if(i){let s=i.getElementById(e)||i.querySelector(`[name="${e}"]`);if(s)return s}r=n.nextNode()}}return null}var ld=class{setOffset(e){}getScrollPosition(){return[0,0]}scrollToPosition(e){}scrollToAnchor(e){}setHistoryScrollRestoration(e){}},Ca=class{};var yv={production:!0};var bd=class{};var rr=class t{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(e){e?typeof e=="string"?this.lazyInit=()=>{this.headers=new Map,e.split(` -`).forEach(o=>{let n=o.indexOf(":");if(n>0){let r=o.slice(0,n),i=o.slice(n+1).trim();this.addHeaderEntry(r,i)}})}:typeof Headers<"u"&&e instanceof Headers?(this.headers=new Map,e.forEach((o,n)=>{this.addHeaderEntry(n,o)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(e).forEach(([o,n])=>{this.setHeaderEntries(o,n)})}:this.headers=new Map}has(e){return this.init(),this.headers.has(e.toLowerCase())}get(e){this.init();let o=this.headers.get(e.toLowerCase());return o&&o.length>0?o[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(e){return this.init(),this.headers.get(e.toLowerCase())||null}append(e,o){return this.clone({name:e,value:o,op:"a"})}set(e,o){return this.clone({name:e,value:o,op:"s"})}delete(e,o){return this.clone({name:e,value:o,op:"d"})}maybeSetNormalizedName(e,o){this.normalizedNames.has(o)||this.normalizedNames.set(o,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(o=>{this.headers.set(o,e.headers.get(o)),this.normalizedNames.set(o,e.normalizedNames.get(o))})}clone(e){let o=new t;return o.lazyInit=this.lazyInit&&this.lazyInit instanceof t?this.lazyInit:this,o.lazyUpdate=(this.lazyUpdate||[]).concat([e]),o}applyUpdate(e){let o=e.name.toLowerCase();switch(e.op){case"a":case"s":let n=e.value;if(typeof n=="string"&&(n=[n]),n.length===0)return;this.maybeSetNormalizedName(e.name,o);let r=(e.op==="a"?this.headers.get(o):void 0)||[];r.push(...n),this.headers.set(o,r);break;case"d":let i=e.value;if(!i)this.headers.delete(o),this.normalizedNames.delete(o);else{let s=this.headers.get(o);if(!s)return;s=s.filter(a=>i.indexOf(a)===-1),s.length===0?(this.headers.delete(o),this.normalizedNames.delete(o)):this.headers.set(o,s)}break}}addHeaderEntry(e,o){let n=e.toLowerCase();this.maybeSetNormalizedName(e,n),this.headers.has(n)?this.headers.get(n).push(o):this.headers.set(n,[o])}setHeaderEntries(e,o){let n=(Array.isArray(o)?o:[o]).map(i=>i.toString()),r=e.toLowerCase();this.headers.set(r,n),this.maybeSetNormalizedName(e,r)}forEach(e){this.init(),Array.from(this.normalizedNames.keys()).forEach(o=>e(this.normalizedNames.get(o),this.headers.get(o)))}};var Dd=class{encodeKey(e){return bv(e)}encodeValue(e){return bv(e)}decodeKey(e){return decodeURIComponent(e)}decodeValue(e){return decodeURIComponent(e)}};function eS(t,e){let o=new Map;return t.length>0&&t.replace(/^\?/,"").split("&").forEach(r=>{let i=r.indexOf("="),[s,a]=i==-1?[e.decodeKey(r),""]:[e.decodeKey(r.slice(0,i)),e.decodeValue(r.slice(i+1))],l=o.get(s)||[];l.push(a),o.set(s,l)}),o}var tS=/%(\d[a-f0-9])/gi,nS={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function bv(t){return encodeURIComponent(t).replace(tS,(e,o)=>{var n;return(n=nS[o])!=null?n:e})}function Ia(t){return`${t}`}var _n=class t{map;encoder;updates=null;cloneFrom=null;constructor(e={}){if(this.encoder=e.encoder||new Dd,e.fromString){if(e.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=eS(e.fromString,this.encoder)}else e.fromObject?(this.map=new Map,Object.keys(e.fromObject).forEach(o=>{let n=e.fromObject[o],r=Array.isArray(n)?n.map(Ia):[Ia(n)];this.map.set(o,r)})):this.map=null}has(e){return this.init(),this.map.has(e)}get(e){this.init();let o=this.map.get(e);return o?o[0]:null}getAll(e){return this.init(),this.map.get(e)||null}keys(){return this.init(),Array.from(this.map.keys())}append(e,o){return this.clone({param:e,value:o,op:"a"})}appendAll(e){let o=[];return Object.keys(e).forEach(n=>{let r=e[n];Array.isArray(r)?r.forEach(i=>{o.push({param:n,value:i,op:"a"})}):o.push({param:n,value:r,op:"a"})}),this.clone(o)}set(e,o){return this.clone({param:e,value:o,op:"s"})}delete(e,o){return this.clone({param:e,value:o,op:"d"})}toString(){return this.init(),this.keys().map(e=>{let o=this.encoder.encodeKey(e);return this.map.get(e).map(n=>o+"="+this.encoder.encodeValue(n)).join("&")}).filter(e=>e!=="").join("&")}clone(e){let o=new t({encoder:this.encoder});return o.cloneFrom=this.cloneFrom||this,o.updates=(this.updates||[]).concat(e),o}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(e=>this.map.set(e,this.cloneFrom.map.get(e))),this.updates.forEach(e=>{switch(e.op){case"a":case"s":let o=(e.op==="a"?this.map.get(e.param):void 0)||[];o.push(Ia(e.value)),this.map.set(e.param,o);break;case"d":if(e.value!==void 0){let n=this.map.get(e.param)||[],r=n.indexOf(Ia(e.value));r!==-1&&n.splice(r,1),n.length>0?this.map.set(e.param,n):this.map.delete(e.param)}else{this.map.delete(e.param);break}}}),this.cloneFrom=this.updates=null)}};var wd=class{map=new Map;set(e,o){return this.map.set(e,o),this}get(e){return this.map.has(e)||this.map.set(e,e.defaultValue()),this.map.get(e)}delete(e){return this.map.delete(e),this}has(e){return this.map.has(e)}keys(){return this.map.keys()}};function oS(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function Dv(t){return typeof ArrayBuffer<"u"&&t instanceof ArrayBuffer}function wv(t){return typeof Blob<"u"&&t instanceof Blob}function Cv(t){return typeof FormData<"u"&&t instanceof FormData}function rS(t){return typeof URLSearchParams<"u"&&t instanceof URLSearchParams}var ii=class t{url;body=null;headers;context;reportProgress=!1;withCredentials=!1;responseType="json";method;params;urlWithParams;transferCache;constructor(e,o,n,r){var s,a;this.url=o,this.method=e.toUpperCase();let i;if(oS(this.method)||r?(this.body=n!==void 0?n:null,i=r):i=n,i&&(this.reportProgress=!!i.reportProgress,this.withCredentials=!!i.withCredentials,i.responseType&&(this.responseType=i.responseType),i.headers&&(this.headers=i.headers),i.context&&(this.context=i.context),i.params&&(this.params=i.params),this.transferCache=i.transferCache),(s=this.headers)!=null||(this.headers=new rr),(a=this.context)!=null||(this.context=new wd),!this.params)this.params=new _n,this.urlWithParams=o;else{let l=this.params.toString();if(l.length===0)this.urlWithParams=o;else{let c=o.indexOf("?"),u=c===-1?"?":cb.set(D,e.setHeaders[D]),c)),e.setParams&&(u=Object.keys(e.setParams).reduce((b,D)=>b.set(D,e.setParams[D]),u)),new t(o,n,s,{params:u,headers:c,context:d,reportProgress:l,responseType:r,withCredentials:a,transferCache:i})}},Iv=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}(Iv||{}),Cd=class{headers;status;statusText;url;ok;type;constructor(e,o=200,n="OK"){this.headers=e.headers||new rr,this.status=e.status!==void 0?e.status:o,this.statusText=e.statusText||n,this.url=e.url||null,this.ok=this.status>=200&&this.status<300}};var Id=class t extends Cd{body;constructor(e={}){super(e),this.body=e.body!==void 0?e.body:null}type=Iv.Response;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})}};function yd(t,e){return{body:e,headers:t.headers,context:t.context,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials,transferCache:t.transferCache}}var Ev=(()=>{let e=class e{handler;constructor(n){this.handler=n}request(n,r,i={}){let s;if(n instanceof ii)s=n;else{let c;i.headers instanceof rr?c=i.headers:c=new rr(i.headers);let u;i.params&&(i.params instanceof _n?u=i.params:u=new _n({fromObject:i.params})),s=new ii(n,r,i.body!==void 0?i.body:null,{headers:c,context:i.context,params:u,reportProgress:i.reportProgress,responseType:i.responseType||"json",withCredentials:i.withCredentials,transferCache:i.transferCache})}let a=k(s).pipe(Ct(c=>this.handler.handle(c)));if(n instanceof ii||i.observe==="events")return a;let l=a.pipe(_e(c=>c instanceof Id));switch(i.observe||"body"){case"body":switch(s.responseType){case"arraybuffer":return l.pipe(F(c=>{if(c.body!==null&&!(c.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return c.body}));case"blob":return l.pipe(F(c=>{if(c.body!==null&&!(c.body instanceof Blob))throw new Error("Response is not a Blob.");return c.body}));case"text":return l.pipe(F(c=>{if(c.body!==null&&typeof c.body!="string")throw new Error("Response is not a string.");return c.body}));case"json":default:return l.pipe(F(c=>c.body))}case"response":return l;default:throw new Error(`Unreachable: unhandled observe type ${i.observe}}`)}}delete(n,r={}){return this.request("DELETE",n,r)}get(n,r={}){return this.request("GET",n,r)}head(n,r={}){return this.request("HEAD",n,r)}jsonp(n,r){return this.request("JSONP",n,{params:new _n().append(r,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(n,r={}){return this.request("OPTIONS",n,r)}patch(n,r,i={}){return this.request("PATCH",n,yd(i,r))}post(n,r,i={}){return this.request("POST",n,yd(i,r))}put(n,r,i={}){return this.request("PUT",n,yd(i,r))}};m(e,"\u0275fac",function(r){return new(r||e)(x(bd))}),m(e,"\u0275prov",E({token:e,factory:e.\u0275fac}));let t=e;return t})();var xd=class extends wa{supportsDOMEvents=!0},Sd=class t extends xd{static makeCurrent(){fv(new t)}onAndCancel(e,o,n){return e.addEventListener(o,n),()=>{e.removeEventListener(o,n)}}dispatchEvent(e,o){e.dispatchEvent(o)}remove(e){e.remove()}createElement(e,o){return o=o||this.getDefaultDocument(),o.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,o){return o==="window"?window:o==="document"?e:o==="body"?e.body:null}getBaseHref(e){let o=sS();return o==null?null:aS(o)}resetBaseElement(){si=null}getUserAgent(){return window.navigator.userAgent}getCookie(e){return mv(document.cookie,e)}},si=null;function sS(){return si=si||document.querySelector("base"),si?si.getAttribute("href"):null}function aS(t){return new URL(t,document.baseURI).pathname}var lS=(()=>{let e=class e{build(){return new XMLHttpRequest}};m(e,"\u0275fac",function(r){return new(r||e)}),m(e,"\u0275prov",E({token:e,factory:e.\u0275fac}));let t=e;return t})(),Td=new M(""),_v=(()=>{let e=class e{_zone;_plugins;_eventNameToPlugin=new Map;constructor(n,r){this._zone=r,n.forEach(i=>{i.manager=this}),this._plugins=n.slice().reverse()}addEventListener(n,r,i){return this._findPluginFor(r).addEventListener(n,r,i)}getZone(){return this._zone}_findPluginFor(n){let r=this._eventNameToPlugin.get(n);if(r)return r;if(r=this._plugins.find(s=>s.supports(n)),!r)throw new A(5101,!1);return this._eventNameToPlugin.set(n,r),r}};m(e,"\u0275fac",function(r){return new(r||e)(x(Td),x($))}),m(e,"\u0275prov",E({token:e,factory:e.\u0275fac}));let t=e;return t})(),xa=class{_doc;constructor(e){this._doc=e}manager},Ea="ng-app-id";function xv(t){for(let e of t)e.remove()}function Sv(t,e){let o=e.createElement("style");return o.textContent=t,o}function cS(t,e,o,n){var i;let r=(i=t.head)==null?void 0:i.querySelectorAll(`style[${Ea}="${e}"],link[${Ea}="${e}"]`);if(r)for(let s of r)s.removeAttribute(Ea),s instanceof HTMLLinkElement?n.set(s.href.slice(s.href.lastIndexOf("/")+1),{usage:0,elements:[s]}):s.textContent&&o.set(s.textContent,{usage:0,elements:[s]})}function Md(t,e){let o=e.createElement("link");return o.setAttribute("rel","stylesheet"),o.setAttribute("href",t),o}var Av=(()=>{let e=class e{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;isServer;constructor(n,r,i,s={}){this.doc=n,this.appId=r,this.nonce=i,this.isServer=vd(s),cS(n,r,this.inline,this.external),this.hosts.add(n.head)}addStyles(n,r){for(let i of n)this.addUsage(i,this.inline,Sv);r==null||r.forEach(i=>this.addUsage(i,this.external,Md))}removeStyles(n,r){for(let i of n)this.removeUsage(i,this.inline);r==null||r.forEach(i=>this.removeUsage(i,this.external))}addUsage(n,r,i){let s=r.get(n);s?s.usage++:r.set(n,{usage:1,elements:[...this.hosts].map(a=>this.addElement(a,i(n,this.doc)))})}removeUsage(n,r){let i=r.get(n);i&&(i.usage--,i.usage<=0&&(xv(i.elements),r.delete(n)))}ngOnDestroy(){for(let[,{elements:n}]of[...this.inline,...this.external])xv(n);this.hosts.clear()}addHost(n){this.hosts.add(n);for(let[r,{elements:i}]of this.inline)i.push(this.addElement(n,Sv(r,this.doc)));for(let[r,{elements:i}]of this.external)i.push(this.addElement(n,Md(r,this.doc)))}removeHost(n){this.hosts.delete(n)}addElement(n,r){return this.nonce&&r.setAttribute("nonce",this.nonce),this.isServer&&r.setAttribute(Ea,this.appId),n.appendChild(r)}};m(e,"\u0275fac",function(r){return new(r||e)(x(Ce),x(Ru),x(Ou,8),x(so))}),m(e,"\u0275prov",E({token:e,factory:e.\u0275fac}));let t=e;return t})(),Ed={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/Math/MathML"},_d=/%COMP%/g,Rv="%COMP%",uS=`_nghost-${Rv}`,dS=`_ngcontent-${Rv}`,fS=!0,hS=new M("",{providedIn:"root",factory:()=>fS});function pS(t){return dS.replace(_d,t)}function mS(t){return uS.replace(_d,t)}function Nv(t,e){return e.map(o=>o.replace(_d,t))}var Tv=(()=>{let e=class e{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;platformId;ngZone;nonce;rendererByCompId=new Map;defaultRenderer;platformIsServer;constructor(n,r,i,s,a,l,c,u=null){this.eventManager=n,this.sharedStylesHost=r,this.appId=i,this.removeStylesOnCompDestroy=s,this.doc=a,this.platformId=l,this.ngZone=c,this.nonce=u,this.platformIsServer=vd(l),this.defaultRenderer=new ai(n,a,c,this.platformIsServer)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;this.platformIsServer&&r.encapsulation===$t.ShadowDom&&(r=X(w({},r),{encapsulation:$t.Emulated}));let i=this.getOrCreateRenderer(n,r);return i instanceof Sa?i.applyToHost(n):i instanceof li&&i.applyStyles(),i}getOrCreateRenderer(n,r){let i=this.rendererByCompId,s=i.get(r.id);if(!s){let a=this.doc,l=this.ngZone,c=this.eventManager,u=this.sharedStylesHost,d=this.removeStylesOnCompDestroy,p=this.platformIsServer;switch(r.encapsulation){case $t.Emulated:s=new Sa(c,u,r,this.appId,d,a,l,p);break;case $t.ShadowDom:return new kd(c,u,n,r,a,l,this.nonce,p);default:s=new li(c,u,r,d,a,l,p);break}i.set(r.id,s)}return s}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(n){this.rendererByCompId.delete(n)}};m(e,"\u0275fac",function(r){return new(r||e)(x(_v),x(Av),x(Ru),x(hS),x(Ce),x(so),x($),x(Ou))}),m(e,"\u0275prov",E({token:e,factory:e.\u0275fac}));let t=e;return t})(),ai=class{eventManager;doc;ngZone;platformIsServer;data=Object.create(null);throwOnSyntheticProps=!0;constructor(e,o,n,r){this.eventManager=e,this.doc=o,this.ngZone=n,this.platformIsServer=r}destroy(){}destroyNode=null;createElement(e,o){return o?this.doc.createElementNS(Ed[o]||o,e):this.doc.createElement(e)}createComment(e){return this.doc.createComment(e)}createText(e){return this.doc.createTextNode(e)}appendChild(e,o){(Mv(e)?e.content:e).appendChild(o)}insertBefore(e,o,n){e&&(Mv(e)?e.content:e).insertBefore(o,n)}removeChild(e,o){o.remove()}selectRootElement(e,o){let n=typeof e=="string"?this.doc.querySelector(e):e;if(!n)throw new A(-5104,!1);return o||(n.textContent=""),n}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,o,n,r){if(r){o=r+":"+o;let i=Ed[r];i?e.setAttributeNS(i,o,n):e.setAttribute(o,n)}else e.setAttribute(o,n)}removeAttribute(e,o,n){if(n){let r=Ed[n];r?e.removeAttributeNS(r,o):e.removeAttribute(`${n}:${o}`)}else e.removeAttribute(o)}addClass(e,o){e.classList.add(o)}removeClass(e,o){e.classList.remove(o)}setStyle(e,o,n,r){r&(ao.DashCase|ao.Important)?e.style.setProperty(o,n,r&ao.Important?"important":""):e.style[o]=n}removeStyle(e,o,n){n&ao.DashCase?e.style.removeProperty(o):e.style[o]=""}setProperty(e,o,n){e!=null&&(e[o]=n)}setValue(e,o){e.nodeValue=o}listen(e,o,n){if(typeof e=="string"&&(e=co().getGlobalEventTarget(this.doc,e),!e))throw new Error(`Unsupported event target ${e} for event ${o}`);return this.eventManager.addEventListener(e,o,this.decoratePreventDefault(n))}decoratePreventDefault(e){return o=>{if(o==="__ngUnwrap__")return e;(this.platformIsServer?this.ngZone.runGuarded(()=>e(o)):e(o))===!1&&o.preventDefault()}}};function Mv(t){return t.tagName==="TEMPLATE"&&t.content!==void 0}var kd=class extends ai{sharedStylesHost;hostEl;shadowRoot;constructor(e,o,n,r,i,s,a,l){var d;super(e,i,s,l),this.sharedStylesHost=o,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let c=Nv(r.id,r.styles);for(let p of c){let f=document.createElement("style");a&&f.setAttribute("nonce",a),f.textContent=p,this.shadowRoot.appendChild(f)}let u=(d=r.getExternalStyles)==null?void 0:d.call(r);if(u)for(let p of u){let f=Md(p,i);a&&f.setAttribute("nonce",a),this.shadowRoot.appendChild(f)}}nodeOrShadowRoot(e){return e===this.hostEl?this.shadowRoot:e}appendChild(e,o){return super.appendChild(this.nodeOrShadowRoot(e),o)}insertBefore(e,o,n){return super.insertBefore(this.nodeOrShadowRoot(e),o,n)}removeChild(e,o){return super.removeChild(null,o)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},li=class extends ai{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(e,o,n,r,i,s,a,l){var c;super(e,i,s,a),this.sharedStylesHost=o,this.removeStylesOnCompDestroy=r,this.styles=l?Nv(l,n.styles):n.styles,this.styleUrls=(c=n.getExternalStyles)==null?void 0:c.call(n,l)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},Sa=class extends li{contentAttr;hostAttr;constructor(e,o,n,r,i,s,a,l){let c=r+"-"+n.id;super(e,o,n,i,s,a,l,c),this.contentAttr=pS(c),this.hostAttr=mS(c)}applyToHost(e){this.applyStyles(),this.setAttribute(e,this.hostAttr,"")}createElement(e,o){let n=super.createElement(e,o);return super.setAttribute(n,this.contentAttr,""),n}},gS=(()=>{let e=class e extends xa{constructor(n){super(n)}supports(n){return!0}addEventListener(n,r,i){return n.addEventListener(r,i,!1),()=>this.removeEventListener(n,r,i)}removeEventListener(n,r,i){return n.removeEventListener(r,i)}};m(e,"\u0275fac",function(r){return new(r||e)(x(Ce))}),m(e,"\u0275prov",E({token:e,factory:e.\u0275fac}));let t=e;return t})(),kv=["alt","control","meta","shift"],vS={"\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"},yS={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey},bS=(()=>{let e=class e extends xa{constructor(n){super(n)}supports(n){return e.parseEventName(n)!=null}addEventListener(n,r,i){let s=e.parseEventName(r),a=e.eventCallback(s.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>co().onAndCancel(n,s.domEventName,a))}static parseEventName(n){let r=n.toLowerCase().split("."),i=r.shift();if(r.length===0||!(i==="keydown"||i==="keyup"))return null;let s=e._normalizeKey(r.pop()),a="",l=r.indexOf("code");if(l>-1&&(r.splice(l,1),a="code."),kv.forEach(u=>{let d=r.indexOf(u);d>-1&&(r.splice(d,1),a+=u+".")}),a+=s,r.length!=0||s.length===0)return null;let c={};return c.domEventName=i,c.fullKey=a,c}static matchEventFullKeyCode(n,r){let i=vS[n.key]||n.key,s="";return r.indexOf("code.")>-1&&(i=n.code,s="code."),i==null||!i?!1:(i=i.toLowerCase(),i===" "?i="space":i==="."&&(i="dot"),kv.forEach(a=>{if(a!==i){let l=yS[a];l(n)&&(s+=a+".")}}),s+=i,s===r)}static eventCallback(n,r,i){return s=>{e.matchEventFullKeyCode(s,n)&&i.runGuarded(()=>r(s))}}static _normalizeKey(n){return n==="esc"?"escape":n}};m(e,"\u0275fac",function(r){return new(r||e)(x(Ce))}),m(e,"\u0275prov",E({token:e,factory:e.\u0275fac}));let t=e;return t})();function jj(t,e){return sv(w({rootComponent:t},DS(e)))}function DS(t){var e;return{appProviders:[...xS,...(e=t==null?void 0:t.providers)!=null?e:[]],platformProviders:ES}}function wS(){Sd.makeCurrent()}function CS(){return new Xt}function IS(){return rg(document),document}var ES=[{provide:so,useValue:gd},{provide:Nu,useValue:wS,multi:!0},{provide:Ce,useFactory:IS,deps:[]}];var xS=[{provide:Ks,useValue:"root"},{provide:Xt,useFactory:CS,deps:[]},{provide:Td,useClass:gS,multi:!0,deps:[Ce,$,so]},{provide:Td,useClass:bS,multi:!0,deps:[Ce]},Tv,Av,_v,{provide:Qo,useExisting:Tv},{provide:Ca,useClass:lS,deps:[]},[]];var Ov=(()=>{let e=class e{_doc;_dom;constructor(n){this._doc=n,this._dom=co()}addTag(n,r=!1){return n?this._getOrCreateElement(n,r):null}addTags(n,r=!1){return n?n.reduce((i,s)=>(s&&i.push(this._getOrCreateElement(s,r)),i),[]):[]}getTag(n){return n&&this._doc.querySelector(`meta[${n}]`)||null}getTags(n){if(!n)return[];let r=this._doc.querySelectorAll(`meta[${n}]`);return r?[].slice.call(r):[]}updateTag(n,r){if(!n)return null;r=r||this._parseSelector(n);let i=this.getTag(r);return i?this._setMetaElementAttributes(n,i):this._getOrCreateElement(n,!0)}removeTag(n){this.removeTagElement(this.getTag(n))}removeTagElement(n){n&&this._dom.remove(n)}_getOrCreateElement(n,r=!1){if(!r){let a=this._parseSelector(n),l=this.getTags(a).filter(c=>this._containsAttributes(n,c))[0];if(l!==void 0)return l}let i=this._dom.createElement("meta");return this._setMetaElementAttributes(n,i),this._doc.getElementsByTagName("head")[0].appendChild(i),i}_setMetaElementAttributes(n,r){return Object.keys(n).forEach(i=>r.setAttribute(this._getMetaKeyMap(i),n[i])),r}_parseSelector(n){let r=n.name?"name":"property";return`${r}="${n[r]}"`}_containsAttributes(n,r){return Object.keys(n).every(i=>r.getAttribute(this._getMetaKeyMap(i))===n[i])}_getMetaKeyMap(n){return SS[n]||n}};m(e,"\u0275fac",function(r){return new(r||e)(x(Ce))}),m(e,"\u0275prov",E({token:e,factory:e.\u0275fac,providedIn:"root"}));let t=e;return t})(),SS={httpEquiv:"http-equiv"},Ta=(()=>{let e=class e{_doc;constructor(n){this._doc=n}getTitle(){return this._doc.title}setTitle(n){this._doc.title=n||""}};m(e,"\u0275fac",function(r){return new(r||e)(x(Ce))}),m(e,"\u0275prov",E({token:e,factory:e.\u0275fac,providedIn:"root"}));let t=e;return t})();var L="primary",Ei=Symbol("RouteTitle"),Pd=class{params;constructor(e){this.params=e||{}}has(e){return Object.prototype.hasOwnProperty.call(this.params,e)}get(e){if(this.has(e)){let o=this.params[e];return Array.isArray(o)?o[0]:o}return null}getAll(e){if(this.has(e)){let o=this.params[e];return Array.isArray(o)?o:[o]}return[]}get keys(){return Object.keys(this.params)}};function ur(t){return new Pd(t)}function MS(t,e,o){let n=o.path.split("/");if(n.length>t.length||o.pathMatch==="full"&&(e.hasChildren()||n.lengthn[i]===r)}else return t===e}function qv(t){return t.length>0?t[t.length-1]:null}function Nn(t){return yn(t)?t:lo(t)?ce(Promise.resolve(t)):k(t)}var _S={exact:Yv,subset:Qv},Zv={exact:AS,subset:RS,ignored:()=>!0};function Fv(t,e,o){return _S[o.paths](t.root,e.root,o.matrixParams)&&Zv[o.queryParams](t.queryParams,e.queryParams)&&!(o.fragment==="exact"&&t.fragment!==e.fragment)}function AS(t,e){return Vt(t,e)}function Yv(t,e,o){if(!fo(t.segments,e.segments)||!_a(t.segments,e.segments,o)||t.numberOfChildren!==e.numberOfChildren)return!1;for(let n in e.children)if(!t.children[n]||!Yv(t.children[n],e.children[n],o))return!1;return!0}function RS(t,e){return Object.keys(e).length<=Object.keys(t).length&&Object.keys(e).every(o=>Wv(t[o],e[o]))}function Qv(t,e,o){return Kv(t,e,e.segments,o)}function Kv(t,e,o,n){if(t.segments.length>o.length){let r=t.segments.slice(0,o.length);return!(!fo(r,o)||e.hasChildren()||!_a(r,o,n))}else if(t.segments.length===o.length){if(!fo(t.segments,o)||!_a(t.segments,o,n))return!1;for(let r in e.children)if(!t.children[r]||!Qv(t.children[r],e.children[r],n))return!1;return!0}else{let r=o.slice(0,t.segments.length),i=o.slice(t.segments.length);return!fo(t.segments,r)||!_a(t.segments,r,n)||!t.children[L]?!1:Kv(t.children[L],e,i,n)}}function _a(t,e,o){return e.every((n,r)=>Zv[o](t[r].parameters,n.parameters))}var ln=class{root;queryParams;fragment;_queryParamMap;constructor(e=new te([],{}),o={},n=null){this.root=e,this.queryParams=o,this.fragment=n}get queryParamMap(){var e;return(e=this._queryParamMap)!=null||(this._queryParamMap=ur(this.queryParams)),this._queryParamMap}toString(){return PS.serialize(this)}},te=class{segments;children;parent=null;constructor(e,o){this.segments=e,this.children=o,Object.values(o).forEach(n=>n.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Aa(this)}},uo=class{path;parameters;_parameterMap;constructor(e,o){this.path=e,this.parameters=o}get parameterMap(){var e;return(e=this._parameterMap)!=null||(this._parameterMap=ur(this.parameters)),this._parameterMap}toString(){return Jv(this)}};function NS(t,e){return fo(t,e)&&t.every((o,n)=>Vt(o.parameters,e[n].parameters))}function fo(t,e){return t.length!==e.length?!1:t.every((o,n)=>o.path===e[n].path)}function OS(t,e){let o=[];return Object.entries(t.children).forEach(([n,r])=>{n===L&&(o=o.concat(e(r,n)))}),Object.entries(t.children).forEach(([n,r])=>{n!==L&&(o=o.concat(e(r,n)))}),o}var ho=(()=>{let e=class e{};m(e,"\u0275fac",function(r){return new(r||e)}),m(e,"\u0275prov",E({token:e,factory:()=>new dr,providedIn:"root"}));let t=e;return t})(),dr=class{parse(e){let o=new $d(e);return new ln(o.parseRootSegment(),o.parseQueryParams(),o.parseFragment())}serialize(e){let o=`/${ci(e.root,!0)}`,n=$S(e.queryParams),r=typeof e.fragment=="string"?`#${FS(e.fragment)}`:"";return`${o}${n}${r}`}},PS=new dr;function Aa(t){return t.segments.map(e=>Jv(e)).join("/")}function ci(t,e){if(!t.hasChildren())return Aa(t);if(e){let o=t.children[L]?ci(t.children[L],!1):"",n=[];return Object.entries(t.children).forEach(([r,i])=>{r!==L&&n.push(`${r}:${ci(i,!1)}`)}),n.length>0?`${o}(${n.join("//")})`:o}else{let o=OS(t,(n,r)=>r===L?[ci(t.children[L],!1)]:[`${r}:${ci(n,!1)}`]);return Object.keys(t.children).length===1&&t.children[L]!=null?`${Aa(t)}/${o[0]}`:`${Aa(t)}/(${o.join("//")})`}}function Xv(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Ma(t){return Xv(t).replace(/%3B/gi,";")}function FS(t){return encodeURI(t)}function Ld(t){return Xv(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Ra(t){return decodeURIComponent(t)}function Lv(t){return Ra(t.replace(/\+/g,"%20"))}function Jv(t){return`${Ld(t.path)}${LS(t.parameters)}`}function LS(t){return Object.entries(t).map(([e,o])=>`;${Ld(e)}=${Ld(o)}`).join("")}function $S(t){let e=Object.entries(t).map(([o,n])=>Array.isArray(n)?n.map(r=>`${Ma(o)}=${Ma(r)}`).join("&"):`${Ma(o)}=${Ma(n)}`).filter(o=>o);return e.length?`?${e.join("&")}`:""}var jS=/^[^\/()?;#]+/;function Ad(t){let e=t.match(jS);return e?e[0]:""}var BS=/^[^\/()?;=#]+/;function VS(t){let e=t.match(BS);return e?e[0]:""}var US=/^[^=?&#]+/;function zS(t){let e=t.match(US);return e?e[0]:""}var HS=/^[^&#]+/;function GS(t){let e=t.match(HS);return e?e[0]:""}var $d=class{url;remaining;constructor(e){this.url=e,this.remaining=e}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new te([],{}):new te([],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 o={};this.peekStartsWith("/(")&&(this.capture("/"),o=this.parseParens(!0));let n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(e.length>0||Object.keys(o).length>0)&&(n[L]=new te(e,o)),n}parseSegment(){let e=Ad(this.remaining);if(e===""&&this.peekStartsWith(";"))throw new A(4009,!1);return this.capture(e),new uo(Ra(e),this.parseMatrixParams())}parseMatrixParams(){let e={};for(;this.consumeOptional(";");)this.parseParam(e);return e}parseParam(e){let o=VS(this.remaining);if(!o)return;this.capture(o);let n="";if(this.consumeOptional("=")){let r=Ad(this.remaining);r&&(n=r,this.capture(n))}e[Ra(o)]=Ra(n)}parseQueryParam(e){let o=zS(this.remaining);if(!o)return;this.capture(o);let n="";if(this.consumeOptional("=")){let s=GS(this.remaining);s&&(n=s,this.capture(n))}let r=Lv(o),i=Lv(n);if(e.hasOwnProperty(r)){let s=e[r];Array.isArray(s)||(s=[s],e[r]=s),s.push(i)}else e[r]=i}parseParens(e){let o={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let n=Ad(this.remaining),r=this.remaining[n.length];if(r!=="/"&&r!==")"&&r!==";")throw new A(4010,!1);let i;n.indexOf(":")>-1?(i=n.slice(0,n.indexOf(":")),this.capture(i),this.capture(":")):e&&(i=L);let s=this.parseChildren();o[i]=Object.keys(s).length===1?s[L]:new te([],s),this.consumeOptional("//")}return o}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 A(4011,!1)}};function ey(t){return t.segments.length>0?new te([],{[L]:t}):t}function ty(t){let e={};for(let[n,r]of Object.entries(t.children)){let i=ty(r);if(n===L&&i.segments.length===0&&i.hasChildren())for(let[s,a]of Object.entries(i.children))e[s]=a;else(i.segments.length>0||i.hasChildren())&&(e[n]=i)}let o=new te(t.segments,e);return WS(o)}function WS(t){if(t.numberOfChildren===1&&t.children[L]){let e=t.children[L];return new te(t.segments.concat(e.segments),e.children)}return t}function mi(t){return t instanceof ln}function qS(t,e,o=null,n=null){let r=ny(t);return oy(r,e,o,n)}function ny(t){let e;function o(i){let s={};for(let l of i.children){let c=o(l);s[l.outlet]=c}let a=new te(i.url,s);return i===t&&(e=a),a}let n=o(t.root),r=ey(n);return e!=null?e:r}function oy(t,e,o,n){let r=t;for(;r.parent;)r=r.parent;if(e.length===0)return Rd(r,r,r,o,n);let i=ZS(e);if(i.toRoot())return Rd(r,r,new te([],{}),o,n);let s=YS(i,r,t),a=s.processChildren?fi(s.segmentGroup,s.index,i.commands):iy(s.segmentGroup,s.index,i.commands);return Rd(r,s.segmentGroup,a,o,n)}function Na(t){return typeof t=="object"&&t!=null&&!t.outlets&&!t.segmentPath}function gi(t){return typeof t=="object"&&t!=null&&t.outlets}function Rd(t,e,o,n,r){let i={};n&&Object.entries(n).forEach(([l,c])=>{i[l]=Array.isArray(c)?c.map(u=>`${u}`):`${c}`});let s;t===e?s=o:s=ry(t,e,o);let a=ey(ty(s));return new ln(a,i,r)}function ry(t,e,o){let n={};return Object.entries(t.children).forEach(([r,i])=>{i===e?n[r]=o:n[r]=ry(i,e,o)}),new te(t.segments,n)}var Oa=class{isAbsolute;numberOfDoubleDots;commands;constructor(e,o,n){if(this.isAbsolute=e,this.numberOfDoubleDots=o,this.commands=n,e&&n.length>0&&Na(n[0]))throw new A(4003,!1);let r=n.find(gi);if(r&&r!==qv(n))throw new A(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function ZS(t){if(typeof t[0]=="string"&&t.length===1&&t[0]==="/")return new Oa(!0,0,t);let e=0,o=!1,n=t.reduce((r,i,s)=>{if(typeof i=="object"&&i!=null){if(i.outlets){let a={};return Object.entries(i.outlets).forEach(([l,c])=>{a[l]=typeof c=="string"?c.split("/"):c}),[...r,{outlets:a}]}if(i.segmentPath)return[...r,i.segmentPath]}return typeof i!="string"?[...r,i]:s===0?(i.split("/").forEach((a,l)=>{l==0&&a==="."||(l==0&&a===""?o=!0:a===".."?e++:a!=""&&r.push(a))}),r):[...r,i]},[]);return new Oa(o,e,n)}var ar=class{segmentGroup;processChildren;index;constructor(e,o,n){this.segmentGroup=e,this.processChildren=o,this.index=n}};function YS(t,e,o){if(t.isAbsolute)return new ar(e,!0,0);if(!o)return new ar(e,!1,NaN);if(o.parent===null)return new ar(o,!0,0);let n=Na(t.commands[0])?0:1,r=o.segments.length-1+n;return QS(o,r,t.numberOfDoubleDots)}function QS(t,e,o){let n=t,r=e,i=o;for(;i>r;){if(i-=r,n=n.parent,!n)throw new A(4005,!1);r=n.segments.length}return new ar(n,!1,r-i)}function KS(t){return gi(t[0])?t[0].outlets:{[L]:t}}function iy(t,e,o){if(t!=null||(t=new te([],{})),t.segments.length===0&&t.hasChildren())return fi(t,e,o);let n=XS(t,e,o),r=o.slice(n.commandIndex);if(n.match&&n.pathIndexi!==L)&&t.children[L]&&t.numberOfChildren===1&&t.children[L].segments.length===0){let i=fi(t.children[L],e,o);return new te(t.segments,i.children)}return Object.entries(n).forEach(([i,s])=>{typeof s=="string"&&(s=[s]),s!==null&&(r[i]=iy(t.children[i],e,s))}),Object.entries(t.children).forEach(([i,s])=>{n[i]===void 0&&(r[i]=s)}),new te(t.segments,r)}}function XS(t,e,o){let n=0,r=e,i={match:!1,pathIndex:0,commandIndex:0};for(;r=o.length)return i;let s=t.segments[r],a=o[n];if(gi(a))break;let l=`${a}`,c=n0&&l===void 0)break;if(l&&c&&typeof c=="object"&&c.outlets===void 0){if(!jv(l,c,s))return i;n+=2}else{if(!jv(l,{},s))return i;n++}r++}return{match:!0,pathIndex:r,commandIndex:n}}function jd(t,e,o){let n=t.segments.slice(0,e),r=0;for(;r{typeof n=="string"&&(n=[n]),n!==null&&(e[o]=jd(new te([],{}),0,n))}),e}function $v(t){let e={};return Object.entries(t).forEach(([o,n])=>e[o]=`${n}`),e}function jv(t,e,o){return t==o.path&&Vt(e,o.parameters)}var hi="imperative",ke=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}(ke||{}),gt=class{id;url;constructor(e,o){this.id=e,this.url=o}},An=class extends gt{type=ke.NavigationStart;navigationTrigger;restoredState;constructor(e,o,n="imperative",r=null){super(e,o),this.navigationTrigger=n,this.restoredState=r}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},cn=class extends gt{urlAfterRedirects;type=ke.NavigationEnd;constructor(e,o,n){super(e,o),this.urlAfterRedirects=n}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},lt=function(t){return t[t.Redirect=0]="Redirect",t[t.SupersededByNewNavigation=1]="SupersededByNewNavigation",t[t.NoDataFromResolver=2]="NoDataFromResolver",t[t.GuardRejected=3]="GuardRejected",t}(lt||{}),Pa=function(t){return t[t.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",t[t.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",t}(Pa||{}),an=class extends gt{reason;code;type=ke.NavigationCancel;constructor(e,o,n,r){super(e,o),this.reason=n,this.code=r}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},Rn=class extends gt{reason;code;type=ke.NavigationSkipped;constructor(e,o,n,r){super(e,o),this.reason=n,this.code=r}},vi=class extends gt{error;target;type=ke.NavigationError;constructor(e,o,n,r){super(e,o),this.error=n,this.target=r}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},Fa=class extends gt{urlAfterRedirects;state;type=ke.RoutesRecognized;constructor(e,o,n,r){super(e,o),this.urlAfterRedirects=n,this.state=r}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Bd=class extends gt{urlAfterRedirects;state;type=ke.GuardsCheckStart;constructor(e,o,n,r){super(e,o),this.urlAfterRedirects=n,this.state=r}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Vd=class extends gt{urlAfterRedirects;state;shouldActivate;type=ke.GuardsCheckEnd;constructor(e,o,n,r,i){super(e,o),this.urlAfterRedirects=n,this.state=r,this.shouldActivate=i}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},Ud=class extends gt{urlAfterRedirects;state;type=ke.ResolveStart;constructor(e,o,n,r){super(e,o),this.urlAfterRedirects=n,this.state=r}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},zd=class extends gt{urlAfterRedirects;state;type=ke.ResolveEnd;constructor(e,o,n,r){super(e,o),this.urlAfterRedirects=n,this.state=r}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Hd=class{route;type=ke.RouteConfigLoadStart;constructor(e){this.route=e}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},Gd=class{route;type=ke.RouteConfigLoadEnd;constructor(e){this.route=e}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},Wd=class{snapshot;type=ke.ChildActivationStart;constructor(e){this.snapshot=e}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},qd=class{snapshot;type=ke.ChildActivationEnd;constructor(e){this.snapshot=e}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Zd=class{snapshot;type=ke.ActivationStart;constructor(e){this.snapshot=e}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Yd=class{snapshot;type=ke.ActivationEnd;constructor(e){this.snapshot=e}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},La=class{routerEvent;position;anchor;type=ke.Scroll;constructor(e,o,n){this.routerEvent=e,this.position=o,this.anchor=n}toString(){let e=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${e}')`}},yi=class{},fr=class{url;navigationBehaviorOptions;constructor(e,o){this.url=e,this.navigationBehaviorOptions=o}};function eT(t,e){var o;return t.providers&&!t._injector&&(t._injector=pa(t.providers,e,`Route: ${t.path}`)),(o=t._injector)!=null?o:e}function Nt(t){return t.outlet||L}function tT(t,e){let o=t.filter(n=>Nt(n)===e);return o.push(...t.filter(n=>Nt(n)!==e)),o}function xi(t){var e;if(!t)return null;if((e=t.routeConfig)!=null&&e._injector)return t.routeConfig._injector;for(let o=t.parent;o;o=o.parent){let n=o.routeConfig;if(n!=null&&n._loadedInjector)return n._loadedInjector;if(n!=null&&n._injector)return n._injector}return null}var Qd=class{rootInjector;outlet=null;route=null;children;attachRef=null;get injector(){var e,o;return(o=xi((e=this.route)==null?void 0:e.snapshot))!=null?o:this.rootInjector}constructor(e){this.rootInjector=e,this.children=new On(this.rootInjector)}},On=(()=>{let e=class e{rootInjector;contexts=new Map;constructor(n){this.rootInjector=n}onChildOutletCreated(n,r){let i=this.getOrCreateContext(n);i.outlet=r,this.contexts.set(n,i)}onChildOutletDestroyed(n){let r=this.getContext(n);r&&(r.outlet=null,r.attachRef=null)}onOutletDeactivated(){let n=this.contexts;return this.contexts=new Map,n}onOutletReAttached(n){this.contexts=n}getOrCreateContext(n){let r=this.getContext(n);return r||(r=new Qd(this.rootInjector),this.contexts.set(n,r)),r}getContext(n){return this.contexts.get(n)||null}};m(e,"\u0275fac",function(r){return new(r||e)(x(me))}),m(e,"\u0275prov",E({token:e,factory:e.\u0275fac,providedIn:"root"}));let t=e;return t})(),$a=class{_root;constructor(e){this._root=e}get root(){return this._root.value}parent(e){let o=this.pathFromRoot(e);return o.length>1?o[o.length-2]:null}children(e){let o=Kd(e,this._root);return o?o.children.map(n=>n.value):[]}firstChild(e){let o=Kd(e,this._root);return o&&o.children.length>0?o.children[0].value:null}siblings(e){let o=Xd(e,this._root);return o.length<2?[]:o[o.length-2].children.map(r=>r.value).filter(r=>r!==e)}pathFromRoot(e){return Xd(e,this._root).map(o=>o.value)}};function Kd(t,e){if(t===e.value)return e;for(let o of e.children){let n=Kd(t,o);if(n)return n}return null}function Xd(t,e){if(t===e.value)return[e];for(let o of e.children){let n=Xd(t,o);if(n.length)return n.unshift(e),n}return[]}var at=class{value;children;constructor(e,o){this.value=e,this.children=o}toString(){return`TreeNode(${this.value})`}};function sr(t){let e={};return t&&t.children.forEach(o=>e[o.value.outlet]=o),e}var ja=class extends $a{snapshot;constructor(e,o){super(e),this.snapshot=o,lf(this,e)}toString(){return this.snapshot.toString()}};function sy(t){let e=nT(t),o=new fe([new uo("",{})]),n=new fe({}),r=new fe({}),i=new fe({}),s=new fe(""),a=new Xe(o,n,i,s,r,L,t,e.root);return a.snapshot=e.root,new ja(new at(a,[]),e)}function nT(t){let e={},o={},n={},r="",i=new lr([],e,n,r,o,L,t,null,{});return new Va("",new at(i,[]))}var Xe=class{urlSubject;paramsSubject;queryParamsSubject;fragmentSubject;dataSubject;outlet;component;snapshot;_futureSnapshot;_routerState;_paramMap;_queryParamMap;title;url;params;queryParams;fragment;data;constructor(e,o,n,r,i,s,a,l){var c,u;this.urlSubject=e,this.paramsSubject=o,this.queryParamsSubject=n,this.fragmentSubject=r,this.dataSubject=i,this.outlet=s,this.component=a,this._futureSnapshot=l,this.title=(u=(c=this.dataSubject)==null?void 0:c.pipe(F(d=>d[Ei])))!=null?u:k(void 0),this.url=e,this.params=o,this.queryParams=n,this.fragment=r,this.data=i}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(){var e;return(e=this._paramMap)!=null||(this._paramMap=this.params.pipe(F(o=>ur(o)))),this._paramMap}get queryParamMap(){var e;return(e=this._queryParamMap)!=null||(this._queryParamMap=this.queryParams.pipe(F(o=>ur(o)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function Ba(t,e,o="emptyOnly"){var i,s;let n,{routeConfig:r}=t;return e!==null&&(o==="always"||(r==null?void 0:r.path)===""||!e.component&&!((i=e.routeConfig)!=null&&i.loadComponent))?n={params:w(w({},e.params),t.params),data:w(w({},e.data),t.data),resolve:w(w(w(w({},t.data),e.data),r==null?void 0:r.data),t._resolvedData)}:n={params:w({},t.params),data:w({},t.data),resolve:w(w({},t.data),(s=t._resolvedData)!=null?s:{})},r&&ly(r)&&(n.resolve[Ei]=r.title),n}var lr=class{url;params;queryParams;fragment;data;outlet;component;routeConfig;_resolve;_resolvedData;_routerState;_paramMap;_queryParamMap;get title(){var e;return(e=this.data)==null?void 0:e[Ei]}constructor(e,o,n,r,i,s,a,l,c){this.url=e,this.params=o,this.queryParams=n,this.fragment=r,this.data=i,this.outlet=s,this.component=a,this.routeConfig=l,this._resolve=c}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){var e;return(e=this._paramMap)!=null||(this._paramMap=ur(this.params)),this._paramMap}get queryParamMap(){var e;return(e=this._queryParamMap)!=null||(this._queryParamMap=ur(this.queryParams)),this._queryParamMap}toString(){let e=this.url.map(n=>n.toString()).join("/"),o=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${e}', path:'${o}')`}},Va=class extends $a{url;constructor(e,o){super(o),this.url=e,lf(this,o)}toString(){return ay(this._root)}};function lf(t,e){e.value._routerState=t,e.children.forEach(o=>lf(t,o))}function ay(t){let e=t.children.length>0?` { ${t.children.map(ay).join(", ")} } `:"";return`${t.value}${e}`}function Nd(t){if(t.snapshot){let e=t.snapshot,o=t._futureSnapshot;t.snapshot=o,Vt(e.queryParams,o.queryParams)||t.queryParamsSubject.next(o.queryParams),e.fragment!==o.fragment&&t.fragmentSubject.next(o.fragment),Vt(e.params,o.params)||t.paramsSubject.next(o.params),kS(e.url,o.url)||t.urlSubject.next(o.url),Vt(e.data,o.data)||t.dataSubject.next(o.data)}else t.snapshot=t._futureSnapshot,t.dataSubject.next(t._futureSnapshot.data)}function Jd(t,e){let o=Vt(t.params,e.params)&&NS(t.url,e.url),n=!t.parent!=!e.parent;return o&&!n&&(!t.parent||Jd(t.parent,e.parent))}function ly(t){return typeof t.title=="string"||t.title===null}var oT=new M(""),rT=(()=>{let e=class e{activated=null;get activatedComponentRef(){return this.activated}_activatedRoute=null;name=L;activateEvents=new ae;deactivateEvents=new ae;attachEvents=new ae;detachEvents=new ae;routerOutletData=Km(void 0);parentContexts=y(On);location=y(_t);changeDetector=y(de);inputBinder=y(Ga,{optional:!0});supportsBindingToComponentInputs=!0;ngOnChanges(n){if(n.name){let{firstChange:r,previousValue:i}=n.name;if(r)return;this.isTrackedInParentContexts(i)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(i)),this.initializeOutletWithName()}}ngOnDestroy(){var n;this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),(n=this.inputBinder)==null||n.unsubscribeFromRouteData(this)}isTrackedInParentContexts(n){var r;return((r=this.parentContexts.getContext(n))==null?void 0:r.outlet)===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let n=this.parentContexts.getContext(this.name);n!=null&&n.route&&(n.attachRef?this.attach(n.attachRef,n.route):this.activateWith(n.route,n.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new A(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new A(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new A(4012,!1);this.location.detach();let n=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(n.instance),n}attach(n,r){var i;this.activated=n,this._activatedRoute=r,this.location.insert(n.hostView),(i=this.inputBinder)==null||i.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(n.instance)}deactivate(){if(this.activated){let n=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(n)}}activateWith(n,r){var u;if(this.isActivated)throw new A(4013,!1);this._activatedRoute=n;let i=this.location,a=n.snapshot.component,l=this.parentContexts.getOrCreateContext(this.name).children,c=new ef(n,l,i.injector,this.routerOutletData);this.activated=i.createComponent(a,{index:i.length,injector:c,environmentInjector:r}),this.changeDetector.markForCheck(),(u=this.inputBinder)==null||u.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}};m(e,"\u0275fac",function(r){return new(r||e)}),m(e,"\u0275dir",At({type:e,selectors:[["router-outlet"]],inputs:{name:"name",routerOutletData:[1,"routerOutletData"]},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],features:[ti]}));let t=e;return t})(),ef=class t{route;childContexts;parent;outletData;__ngOutletInjector(e){return new t(this.route,this.childContexts,e,this.outletData)}constructor(e,o,n,r){this.route=e,this.childContexts=o,this.parent=n,this.outletData=r}get(e,o){return e===Xe?this.route:e===On?this.childContexts:e===oT?this.outletData:this.parent.get(e,o)}},Ga=new M(""),Bv=(()=>{let e=class e{outletDataSubscriptions=new Map;bindActivatedRouteToOutletComponent(n){this.unsubscribeFromRouteData(n),this.subscribeToRouteData(n)}unsubscribeFromRouteData(n){var r;(r=this.outletDataSubscriptions.get(n))==null||r.unsubscribe(),this.outletDataSubscriptions.delete(n)}subscribeToRouteData(n){let{activatedRoute:r}=n,i=Vn([r.queryParams,r.params,r.data]).pipe(ye(([s,a,l],c)=>(l=w(w(w({},s),a),l),c===0?k(l):Promise.resolve(l)))).subscribe(s=>{if(!n.isActivated||!n.activatedComponentRef||n.activatedRoute!==r||r.component===null){this.unsubscribeFromRouteData(n);return}let a=ba(r.component);if(!a){this.unsubscribeFromRouteData(n);return}for(let{templateName:l}of a.inputs)n.activatedComponentRef.setInput(l,s[l])});this.outletDataSubscriptions.set(n,i)}};m(e,"\u0275fac",function(r){return new(r||e)}),m(e,"\u0275prov",E({token:e,factory:e.\u0275fac}));let t=e;return t})();function iT(t,e,o){let n=bi(t,e._root,o?o._root:void 0);return new ja(n,e)}function bi(t,e,o){if(o&&t.shouldReuseRoute(e.value,o.value.snapshot)){let n=o.value;n._futureSnapshot=e.value;let r=sT(t,e,o);return new at(n,r)}else{if(t.shouldAttach(e.value)){let i=t.retrieve(e.value);if(i!==null){let s=i.route;return s.value._futureSnapshot=e.value,s.children=e.children.map(a=>bi(t,a)),s}}let n=aT(e.value),r=e.children.map(i=>bi(t,i));return new at(n,r)}}function sT(t,e,o){return e.children.map(n=>{for(let r of o.children)if(t.shouldReuseRoute(n.value,r.value.snapshot))return bi(t,n,r);return bi(t,n)})}function aT(t){return new Xe(new fe(t.url),new fe(t.params),new fe(t.queryParams),new fe(t.fragment),new fe(t.data),t.outlet,t.component,t)}var Di=class{redirectTo;navigationBehaviorOptions;constructor(e,o){this.redirectTo=e,this.navigationBehaviorOptions=o}},cy="ngNavigationCancelingError";function Ua(t,e){let{redirectTo:o,navigationBehaviorOptions:n}=mi(e)?{redirectTo:e,navigationBehaviorOptions:void 0}:e,r=uy(!1,lt.Redirect);return r.url=o,r.navigationBehaviorOptions=n,r}function uy(t,e){let o=new Error(`NavigationCancelingError: ${t||""}`);return o[cy]=!0,o.cancellationCode=e,o}function lT(t){return dy(t)&&mi(t.url)}function dy(t){return!!t&&t[cy]}var cT=(t,e,o,n)=>F(r=>(new tf(e,r.targetRouterState,r.currentRouterState,o,n).activate(t),r)),tf=class{routeReuseStrategy;futureState;currState;forwardEvent;inputBindingEnabled;constructor(e,o,n,r,i){this.routeReuseStrategy=e,this.futureState=o,this.currState=n,this.forwardEvent=r,this.inputBindingEnabled=i}activate(e){let o=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(o,n,e),Nd(this.futureState.root),this.activateChildRoutes(o,n,e)}deactivateChildRoutes(e,o,n){let r=sr(o);e.children.forEach(i=>{let s=i.value.outlet;this.deactivateRoutes(i,r[s],n),delete r[s]}),Object.values(r).forEach(i=>{this.deactivateRouteAndItsChildren(i,n)})}deactivateRoutes(e,o,n){let r=e.value,i=o?o.value:null;if(r===i)if(r.component){let s=n.getContext(r.outlet);s&&this.deactivateChildRoutes(e,o,s.children)}else this.deactivateChildRoutes(e,o,n);else i&&this.deactivateRouteAndItsChildren(o,n)}deactivateRouteAndItsChildren(e,o){e.value.component&&this.routeReuseStrategy.shouldDetach(e.value.snapshot)?this.detachAndStoreRouteSubtree(e,o):this.deactivateRouteAndOutlet(e,o)}detachAndStoreRouteSubtree(e,o){let n=o.getContext(e.value.outlet),r=n&&e.value.component?n.children:o,i=sr(e);for(let s of Object.values(i))this.deactivateRouteAndItsChildren(s,r);if(n&&n.outlet){let s=n.outlet.detach(),a=n.children.onOutletDeactivated();this.routeReuseStrategy.store(e.value.snapshot,{componentRef:s,route:e,contexts:a})}}deactivateRouteAndOutlet(e,o){let n=o.getContext(e.value.outlet),r=n&&e.value.component?n.children:o,i=sr(e);for(let s of Object.values(i))this.deactivateRouteAndItsChildren(s,r);n&&(n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated()),n.attachRef=null,n.route=null)}activateChildRoutes(e,o,n){let r=sr(o);e.children.forEach(i=>{this.activateRoutes(i,r[i.value.outlet],n),this.forwardEvent(new Yd(i.value.snapshot))}),e.children.length&&this.forwardEvent(new qd(e.value.snapshot))}activateRoutes(e,o,n){let r=e.value,i=o?o.value:null;if(Nd(r),r===i)if(r.component){let s=n.getOrCreateContext(r.outlet);this.activateChildRoutes(e,o,s.children)}else this.activateChildRoutes(e,o,n);else if(r.component){let s=n.getOrCreateContext(r.outlet);if(this.routeReuseStrategy.shouldAttach(r.snapshot)){let a=this.routeReuseStrategy.retrieve(r.snapshot);this.routeReuseStrategy.store(r.snapshot,null),s.children.onOutletReAttached(a.contexts),s.attachRef=a.componentRef,s.route=a.route.value,s.outlet&&s.outlet.attach(a.componentRef,a.route.value),Nd(a.route.value),this.activateChildRoutes(e,null,s.children)}else s.attachRef=null,s.route=r,s.outlet&&s.outlet.activateWith(r,s.injector),this.activateChildRoutes(e,null,s.children)}else this.activateChildRoutes(e,null,n)}},za=class{path;route;constructor(e){this.path=e,this.route=this.path[this.path.length-1]}},cr=class{component;route;constructor(e,o){this.component=e,this.route=o}};function uT(t,e,o){let n=t._root,r=e?e._root:null;return ui(n,r,o,[n.value])}function dT(t){let e=t.routeConfig?t.routeConfig.canActivateChild:null;return!e||e.length===0?null:{node:t,guards:e}}function pr(t,e){let o=Symbol(),n=e.get(t,o);return n===o?typeof t=="function"&&!Zp(t)?t:e.get(t):n}function ui(t,e,o,n,r={canDeactivateChecks:[],canActivateChecks:[]}){let i=sr(e);return t.children.forEach(s=>{fT(s,i[s.value.outlet],o,n.concat([s.value]),r),delete i[s.value.outlet]}),Object.entries(i).forEach(([s,a])=>pi(a,o.getContext(s),r)),r}function fT(t,e,o,n,r={canDeactivateChecks:[],canActivateChecks:[]}){let i=t.value,s=e?e.value:null,a=o?o.getContext(t.value.outlet):null;if(s&&i.routeConfig===s.routeConfig){let l=hT(s,i,i.routeConfig.runGuardsAndResolvers);l?r.canActivateChecks.push(new za(n)):(i.data=s.data,i._resolvedData=s._resolvedData),i.component?ui(t,e,a?a.children:null,n,r):ui(t,e,o,n,r),l&&a&&a.outlet&&a.outlet.isActivated&&r.canDeactivateChecks.push(new cr(a.outlet.component,s))}else s&&pi(e,a,r),r.canActivateChecks.push(new za(n)),i.component?ui(t,null,a?a.children:null,n,r):ui(t,null,o,n,r);return r}function hT(t,e,o){if(typeof o=="function")return o(t,e);switch(o){case"pathParamsChange":return!fo(t.url,e.url);case"pathParamsOrQueryParamsChange":return!fo(t.url,e.url)||!Vt(t.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Jd(t,e)||!Vt(t.queryParams,e.queryParams);case"paramsChange":default:return!Jd(t,e)}}function pi(t,e,o){let n=sr(t),r=t.value;Object.entries(n).forEach(([i,s])=>{r.component?e?pi(s,e.children.getContext(i),o):pi(s,null,o):pi(s,e,o)}),r.component?e&&e.outlet&&e.outlet.isActivated?o.canDeactivateChecks.push(new cr(e.outlet.component,r)):o.canDeactivateChecks.push(new cr(null,r)):o.canDeactivateChecks.push(new cr(null,r))}function Si(t){return typeof t=="function"}function pT(t){return typeof t=="boolean"}function mT(t){return t&&Si(t.canLoad)}function gT(t){return t&&Si(t.canActivate)}function vT(t){return t&&Si(t.canActivateChild)}function yT(t){return t&&Si(t.canDeactivate)}function bT(t){return t&&Si(t.canMatch)}function fy(t){return t instanceof qt||(t==null?void 0:t.name)==="EmptyError"}var ka=Symbol("INITIAL_VALUE");function hr(){return ye(t=>Vn(t.map(e=>e.pipe(Ye(1),uc(ka)))).pipe(F(e=>{for(let o of e)if(o!==!0){if(o===ka)return ka;if(o===!1||DT(o))return o}return!0}),_e(e=>e!==ka),Ye(1)))}function DT(t){return mi(t)||t instanceof Di}function wT(t,e){return he(o=>{let{targetSnapshot:n,currentSnapshot:r,guards:{canActivateChecks:i,canDeactivateChecks:s}}=o;return s.length===0&&i.length===0?k(X(w({},o),{guardsResult:!0})):CT(s,n,r,t).pipe(he(a=>a&&pT(a)?IT(n,i,t,e):k(a)),F(a=>X(w({},o),{guardsResult:a})))})}function CT(t,e,o,n){return ce(t).pipe(he(r=>MT(r.component,r.route,o,e,n)),Yt(r=>r!==!0,!0))}function IT(t,e,o,n){return ce(e).pipe(Ct(r=>Zt(xT(r.route.parent,n),ET(r.route,n),TT(t,r.path,o),ST(t,r.route,o))),Yt(r=>r!==!0,!0))}function ET(t,e){return t!==null&&e&&e(new Zd(t)),k(!0)}function xT(t,e){return t!==null&&e&&e(new Wd(t)),k(!0)}function ST(t,e,o){let n=e.routeConfig?e.routeConfig.canActivate:null;if(!n||n.length===0)return k(!0);let r=n.map(i=>Un(()=>{var c;let s=(c=xi(e))!=null?c:o,a=pr(i,s),l=gT(a)?a.canActivate(e,t):mt(s,()=>a(e,t));return Nn(l).pipe(Yt())}));return k(r).pipe(hr())}function TT(t,e,o){let n=e[e.length-1],i=e.slice(0,e.length-1).reverse().map(s=>dT(s)).filter(s=>s!==null).map(s=>Un(()=>{let a=s.guards.map(l=>{var p;let c=(p=xi(s.node))!=null?p:o,u=pr(l,c),d=vT(u)?u.canActivateChild(n,t):mt(c,()=>u(n,t));return Nn(d).pipe(Yt())});return k(a).pipe(hr())}));return k(i).pipe(hr())}function MT(t,e,o,n,r){let i=e&&e.routeConfig?e.routeConfig.canDeactivate:null;if(!i||i.length===0)return k(!0);let s=i.map(a=>{var d;let l=(d=xi(e))!=null?d:r,c=pr(a,l),u=yT(c)?c.canDeactivate(t,e,o,n):mt(l,()=>c(t,e,o,n));return Nn(u).pipe(Yt())});return k(s).pipe(hr())}function kT(t,e,o,n){let r=e.canLoad;if(r===void 0||r.length===0)return k(!0);let i=r.map(s=>{let a=pr(s,t),l=mT(a)?a.canLoad(e,o):mt(t,()=>a(e,o));return Nn(l)});return k(i).pipe(hr(),hy(n))}function hy(t){return tc(Se(e=>{if(typeof e!="boolean")throw Ua(t,e)}),F(e=>e===!0))}function _T(t,e,o,n){let r=e.canMatch;if(!r||r.length===0)return k(!0);let i=r.map(s=>{let a=pr(s,t),l=bT(a)?a.canMatch(e,o):mt(t,()=>a(e,o));return Nn(l)});return k(i).pipe(hr(),hy(n))}var wi=class{segmentGroup;constructor(e){this.segmentGroup=e||null}},Ci=class extends Error{urlTree;constructor(e){super(),this.urlTree=e}};function ir(t){return _o(new wi(t))}function AT(t){return _o(new A(4e3,!1))}function RT(t){return _o(uy(!1,lt.GuardRejected))}var nf=class{urlSerializer;urlTree;constructor(e,o){this.urlSerializer=e,this.urlTree=o}lineralizeSegments(e,o){let n=[],r=o.root;for(;;){if(n=n.concat(r.segments),r.numberOfChildren===0)return k(n);if(r.numberOfChildren>1||!r.children[L])return AT(`${e.redirectTo}`);r=r.children[L]}}applyRedirectCommands(e,o,n,r,i){if(typeof o!="string"){let a=o,{queryParams:l,fragment:c,routeConfig:u,url:d,outlet:p,params:f,data:g,title:v}=r,b=mt(i,()=>a({params:f,data:g,queryParams:l,fragment:c,routeConfig:u,url:d,outlet:p,title:v}));if(b instanceof ln)throw new Ci(b);o=b}let s=this.applyRedirectCreateUrlTree(o,this.urlSerializer.parse(o),e,n);if(o[0]==="/")throw new Ci(s);return s}applyRedirectCreateUrlTree(e,o,n,r){let i=this.createSegmentGroup(e,o.root,n,r);return new ln(i,this.createQueryParams(o.queryParams,this.urlTree.queryParams),o.fragment)}createQueryParams(e,o){let n={};return Object.entries(e).forEach(([r,i])=>{if(typeof i=="string"&&i[0]===":"){let a=i.substring(1);n[r]=o[a]}else n[r]=i}),n}createSegmentGroup(e,o,n,r){let i=this.createSegments(e,o.segments,n,r),s={};return Object.entries(o.children).forEach(([a,l])=>{s[a]=this.createSegmentGroup(e,l,n,r)}),new te(i,s)}createSegments(e,o,n,r){return o.map(i=>i.path[0]===":"?this.findPosParam(e,i,r):this.findOrReturn(i,n))}findPosParam(e,o,n){let r=n[o.path.substring(1)];if(!r)throw new A(4001,!1);return r}findOrReturn(e,o){let n=0;for(let r of o){if(r.path===e.path)return o.splice(n),r;n++}return e}},of={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function NT(t,e,o,n,r){let i=py(t,e,o);return i.matched?(n=eT(e,n),_T(n,e,o,r).pipe(F(s=>s===!0?i:w({},of)))):k(i)}function py(t,e,o){var a,l;if(e.path==="**")return OT(o);if(e.path==="")return e.pathMatch==="full"&&(t.hasChildren()||o.length>0)?w({},of):{matched:!0,consumedSegments:[],remainingSegments:o,parameters:{},positionalParamSegments:{}};let r=(e.matcher||MS)(o,t,e);if(!r)return w({},of);let i={};Object.entries((a=r.posParams)!=null?a:{}).forEach(([c,u])=>{i[c]=u.path});let s=r.consumed.length>0?w(w({},i),r.consumed[r.consumed.length-1].parameters):i;return{matched:!0,consumedSegments:r.consumed,remainingSegments:o.slice(r.consumed.length),parameters:s,positionalParamSegments:(l=r.posParams)!=null?l:{}}}function OT(t){return{matched:!0,parameters:t.length>0?qv(t).parameters:{},consumedSegments:t,remainingSegments:[],positionalParamSegments:{}}}function Vv(t,e,o,n){return o.length>0&<(t,o,n)?{segmentGroup:new te(e,FT(n,new te(o,t.children))),slicedSegments:[]}:o.length===0&&$T(t,o,n)?{segmentGroup:new te(t.segments,PT(t,o,n,t.children)),slicedSegments:o}:{segmentGroup:new te(t.segments,t.children),slicedSegments:o}}function PT(t,e,o,n){let r={};for(let i of o)if(Wa(t,e,i)&&!n[Nt(i)]){let s=new te([],{});r[Nt(i)]=s}return w(w({},n),r)}function FT(t,e){let o={};o[L]=e;for(let n of t)if(n.path===""&&Nt(n)!==L){let r=new te([],{});o[Nt(n)]=r}return o}function LT(t,e,o){return o.some(n=>Wa(t,e,n)&&Nt(n)!==L)}function $T(t,e,o){return o.some(n=>Wa(t,e,n))}function Wa(t,e,o){return(t.hasChildren()||e.length>0)&&o.pathMatch==="full"?!1:o.path===""}function jT(t,e,o){return e.length===0&&!t.children[o]}var rf=class{};function BT(t,e,o,n,r,i,s="emptyOnly"){return new sf(t,e,o,n,r,s,i).recognize()}var VT=31,sf=class{injector;configLoader;rootComponentType;config;urlTree;paramsInheritanceStrategy;urlSerializer;applyRedirects;absoluteRedirectCount=0;allowRedirects=!0;constructor(e,o,n,r,i,s,a){this.injector=e,this.configLoader=o,this.rootComponentType=n,this.config=r,this.urlTree=i,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.applyRedirects=new nf(this.urlSerializer,this.urlTree)}noMatchError(e){return new A(4002,`'${e.segmentGroup}'`)}recognize(){let e=Vv(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(e).pipe(F(({children:o,rootSnapshot:n})=>{let r=new at(n,o),i=new Va("",r),s=qS(n,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,i.url=this.urlSerializer.serialize(s),{state:i,tree:s}}))}match(e){let o=new lr([],Object.freeze({}),Object.freeze(w({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),L,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,e,L,o).pipe(F(n=>({children:n,rootSnapshot:o})),bn(n=>{if(n instanceof Ci)return this.urlTree=n.urlTree,this.match(n.urlTree.root);throw n instanceof wi?this.noMatchError(n):n}))}processSegmentGroup(e,o,n,r,i){return n.segments.length===0&&n.hasChildren()?this.processChildren(e,o,n,i):this.processSegment(e,o,n,n.segments,r,!0,i).pipe(F(s=>s instanceof at?[s]:[]))}processChildren(e,o,n,r){let i=[];for(let s of Object.keys(n.children))s==="primary"?i.unshift(s):i.push(s);return ce(i).pipe(Ct(s=>{let a=n.children[s],l=tT(o,s);return this.processSegmentGroup(e,l,a,s,r)}),lc((s,a)=>(s.push(...a),s)),Dn(null),ac(),he(s=>{if(s===null)return ir(n);let a=my(s);return UT(a),k(a)}))}processSegment(e,o,n,r,i,s,a){return ce(o).pipe(Ct(l=>{var c;return this.processSegmentAgainstRoute((c=l._injector)!=null?c:e,o,l,n,r,i,s,a).pipe(bn(u=>{if(u instanceof wi)return k(null);throw u}))}),Yt(l=>!!l),bn(l=>{if(fy(l))return jT(n,r,i)?k(new rf):ir(n);throw l}))}processSegmentAgainstRoute(e,o,n,r,i,s,a,l){return Nt(n)!==s&&(s===L||!Wa(r,i,n))?ir(r):n.redirectTo===void 0?this.matchSegmentAgainstRoute(e,r,n,i,s,l):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(e,r,o,n,i,s,l):ir(r)}expandSegmentAgainstRouteUsingRedirect(e,o,n,r,i,s,a){var b,D;let{matched:l,parameters:c,consumedSegments:u,positionalParamSegments:d,remainingSegments:p}=py(o,r,i);if(!l)return ir(o);typeof r.redirectTo=="string"&&r.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>VT&&(this.allowRedirects=!1));let f=new lr(i,c,Object.freeze(w({},this.urlTree.queryParams)),this.urlTree.fragment,Uv(r),Nt(r),(D=(b=r.component)!=null?b:r._loadedComponent)!=null?D:null,r,zv(r)),g=Ba(f,a,this.paramsInheritanceStrategy);f.params=Object.freeze(g.params),f.data=Object.freeze(g.data);let v=this.applyRedirects.applyRedirectCommands(u,r.redirectTo,d,f,e);return this.applyRedirects.lineralizeSegments(r,v).pipe(he(I=>this.processSegment(e,n,o,I.concat(p),s,!1,a)))}matchSegmentAgainstRoute(e,o,n,r,i,s){let a=NT(o,n,r,e,this.urlSerializer);return n.path==="**"&&(o.children={}),a.pipe(ye(l=>{var c;return l.matched?(e=(c=n._injector)!=null?c:e,this.getChildConfig(e,n,r).pipe(ye(({routes:u})=>{var N,Q,P;let d=(N=n._loadedInjector)!=null?N:e,{parameters:p,consumedSegments:f,remainingSegments:g}=l,v=new lr(f,p,Object.freeze(w({},this.urlTree.queryParams)),this.urlTree.fragment,Uv(n),Nt(n),(P=(Q=n.component)!=null?Q:n._loadedComponent)!=null?P:null,n,zv(n)),b=Ba(v,s,this.paramsInheritanceStrategy);v.params=Object.freeze(b.params),v.data=Object.freeze(b.data);let{segmentGroup:D,slicedSegments:I}=Vv(o,f,g,u);if(I.length===0&&D.hasChildren())return this.processChildren(d,u,D,v).pipe(F(G=>new at(v,G)));if(u.length===0&&I.length===0)return k(new at(v,[]));let T=Nt(n)===i;return this.processSegment(d,u,D,I,T?L:i,!0,v).pipe(F(G=>new at(v,G instanceof at?[G]:[])))}))):ir(o)}))}getChildConfig(e,o,n){return o.children?k({routes:o.children,injector:e}):o.loadChildren?o._loadedRoutes!==void 0?k({routes:o._loadedRoutes,injector:o._loadedInjector}):kT(e,o,n,this.urlSerializer).pipe(he(r=>r?this.configLoader.loadChildren(e,o).pipe(Se(i=>{o._loadedRoutes=i.routes,o._loadedInjector=i.injector})):RT(o))):k({routes:[],injector:e})}};function UT(t){t.sort((e,o)=>e.value.outlet===L?-1:o.value.outlet===L?1:e.value.outlet.localeCompare(o.value.outlet))}function zT(t){let e=t.value.routeConfig;return e&&e.path===""}function my(t){let e=[],o=new Set;for(let n of t){if(!zT(n)){e.push(n);continue}let r=e.find(i=>n.value.routeConfig===i.value.routeConfig);r!==void 0?(r.children.push(...n.children),o.add(r)):e.push(n)}for(let n of o){let r=my(n.children);e.push(new at(n.value,r))}return e.filter(n=>!o.has(n))}function Uv(t){return t.data||{}}function zv(t){return t.resolve||{}}function HT(t,e,o,n,r,i){return he(s=>BT(t,e,o,n,s.extractedUrl,r,i).pipe(F(({state:a,tree:l})=>X(w({},s),{targetSnapshot:a,urlAfterRedirects:l}))))}function GT(t,e){return he(o=>{let{targetSnapshot:n,guards:{canActivateChecks:r}}=o;if(!r.length)return k(o);let i=new Set(r.map(l=>l.route)),s=new Set;for(let l of i)if(!s.has(l))for(let c of gy(l))s.add(c);let a=0;return ce(s).pipe(Ct(l=>i.has(l)?WT(l,n,t,e):(l.data=Ba(l,l.parent,t).resolve,k(void 0))),Se(()=>a++),Po(1),he(l=>a===s.size?k(o):ot))})}function gy(t){let e=t.children.map(o=>gy(o)).flat();return[t,...e]}function WT(t,e,o,n){let r=t.routeConfig,i=t._resolve;return(r==null?void 0:r.title)!==void 0&&!ly(r)&&(i[Ei]=r.title),qT(i,t,e,n).pipe(F(s=>(t._resolvedData=s,t.data=Ba(t,t.parent,o).resolve,null)))}function qT(t,e,o,n){let r=Fd(t);if(r.length===0)return k({});let i={};return ce(r).pipe(he(s=>ZT(t[s],e,o,n).pipe(Yt(),Se(a=>{if(a instanceof Di)throw Ua(new dr,a);i[s]=a}))),Po(1),F(()=>i),bn(s=>fy(s)?ot:_o(s)))}function ZT(t,e,o,n){var a;let r=(a=xi(e))!=null?a:n,i=pr(t,r),s=i.resolve?i.resolve(e,o):mt(r,()=>i(e,o));return Nn(s)}function Od(t){return ye(e=>{let o=t(e);return o?ce(o).pipe(F(()=>e)):k(e)})}var vy=(()=>{let e=class e{buildTitle(n){var s;let r,i=n.root;for(;i!==void 0;)r=(s=this.getResolvedTitleForRoute(i))!=null?s:r,i=i.children.find(a=>a.outlet===L);return r}getResolvedTitleForRoute(n){return n.data[Ei]}};m(e,"\u0275fac",function(r){return new(r||e)}),m(e,"\u0275prov",E({token:e,factory:()=>y(YT),providedIn:"root"}));let t=e;return t})(),YT=(()=>{let e=class e extends vy{title;constructor(n){super(),this.title=n}updateTitle(n){let r=this.buildTitle(n);r!==void 0&&this.title.setTitle(r)}};m(e,"\u0275fac",function(r){return new(r||e)(x(Ta))}),m(e,"\u0275prov",E({token:e,factory:e.\u0275fac,providedIn:"root"}));let t=e;return t})(),Ti=new M("",{providedIn:"root",factory:()=>({})}),QT=(()=>{let e=class e{};m(e,"\u0275fac",function(r){return new(r||e)}),m(e,"\u0275cmp",De({type:e,selectors:[["ng-component"]],exportAs:["emptyRouterOutlet"],decls:1,vars:0,template:function(r,i){r&1&&ed(0,"router-outlet")},dependencies:[rT],encapsulation:2}));let t=e;return t})();function cf(t){let e=t.children&&t.children.map(cf),o=e?X(w({},t),{children:e}):w({},t);return!o.component&&!o.loadComponent&&(e||o.loadChildren)&&o.outlet&&o.outlet!==L&&(o.component=QT),o}var Ii=new M(""),uf=(()=>{let e=class e{componentLoaders=new WeakMap;childrenLoaders=new WeakMap;onLoadStartListener;onLoadEndListener;compiler=y(ya);loadComponent(n){if(this.componentLoaders.get(n))return this.componentLoaders.get(n);if(n._loadedComponent)return k(n._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(n);let r=Nn(n.loadComponent()).pipe(F(yy),Se(s=>{this.onLoadEndListener&&this.onLoadEndListener(n),n._loadedComponent=s}),Oo(()=>{this.componentLoaders.delete(n)})),i=new Mo(r,()=>new ne).pipe(To());return this.componentLoaders.set(n,i),i}loadChildren(n,r){if(this.childrenLoaders.get(r))return this.childrenLoaders.get(r);if(r._loadedRoutes)return k({routes:r._loadedRoutes,injector:r._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(r);let s=KT(r,this.compiler,n,this.onLoadEndListener).pipe(Oo(()=>{this.childrenLoaders.delete(r)})),a=new Mo(s,()=>new ne).pipe(To());return this.childrenLoaders.set(r,a),a}};m(e,"\u0275fac",function(r){return new(r||e)}),m(e,"\u0275prov",E({token:e,factory:e.\u0275fac,providedIn:"root"}));let t=e;return t})();function KT(t,e,o,n){return Nn(t.loadChildren()).pipe(F(yy),he(r=>r instanceof Xr||Array.isArray(r)?k(r):ce(e.compileModuleAsync(r))),F(r=>{n&&n(t);let i,s,a=!1;return Array.isArray(r)?(s=r,a=!0):(i=r.create(o).injector,s=i.get(Ii,[],{optional:!0,self:!0}).flat()),{routes:s.map(cf),injector:i}}))}function XT(t){return t&&typeof t=="object"&&"default"in t}function yy(t){return XT(t)?t.default:t}var df=(()=>{let e=class e{};m(e,"\u0275fac",function(r){return new(r||e)}),m(e,"\u0275prov",E({token:e,factory:()=>y(JT),providedIn:"root"}));let t=e;return t})(),JT=(()=>{let e=class e{shouldProcessUrl(n){return!0}extract(n){return n}merge(n,r){return n}};m(e,"\u0275fac",function(r){return new(r||e)}),m(e,"\u0275prov",E({token:e,factory:e.\u0275fac,providedIn:"root"}));let t=e;return t})(),by=new M(""),Dy=new M("");function eM(t,e,o){let n=t.get(Dy),r=t.get(Ce);return t.get($).runOutsideAngular(()=>{if(!r.startViewTransition||n.skipNextTransition)return n.skipNextTransition=!1,new Promise(c=>setTimeout(c));let i,s=new Promise(c=>{i=c}),a=r.startViewTransition(()=>(i(),tM(t))),{onViewTransitionCreated:l}=n;return l&&mt(t,()=>l({transition:a,from:e,to:o})),s})}function tM(t){return new Promise(e=>{Fu({read:()=>setTimeout(e)},{injector:t})})}var wy=new M(""),ff=(()=>{let e=class e{currentNavigation=null;currentTransition=null;lastSuccessfulNavigation=null;events=new ne;transitionAbortSubject=new ne;configLoader=y(uf);environmentInjector=y(me);urlSerializer=y(ho);rootContexts=y(On);location=y(Rt);inputBindingEnabled=y(Ga,{optional:!0})!==null;titleStrategy=y(vy);options=y(Ti,{optional:!0})||{};paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly";urlHandlingStrategy=y(df);createViewTransition=y(by,{optional:!0});navigationErrorHandler=y(wy,{optional:!0});navigationId=0;get hasRequestedNavigation(){return this.navigationId!==0}transitions;afterPreactivation=()=>k(void 0);rootComponentType=null;constructor(){let n=i=>this.events.next(new Hd(i)),r=i=>this.events.next(new Gd(i));this.configLoader.onLoadEndListener=r,this.configLoader.onLoadStartListener=n}complete(){var n;(n=this.transitions)==null||n.complete()}handleNavigationRequest(n){var i;let r=++this.navigationId;(i=this.transitions)==null||i.next(X(w(w({},this.transitions.value),n),{id:r}))}setupNavigations(n,r,i){return this.transitions=new fe({id:0,currentUrlTree:r,currentRawUrl:r,extractedUrl:this.urlHandlingStrategy.extract(r),urlAfterRedirects:this.urlHandlingStrategy.extract(r),rawUrl:r,extras:{},resolve:()=>{},reject:()=>{},promise:Promise.resolve(!0),source:hi,restoredState:null,currentSnapshot:i.snapshot,targetSnapshot:null,currentRouterState:i,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(_e(s=>s.id!==0),F(s=>X(w({},s),{extractedUrl:this.urlHandlingStrategy.extract(s.rawUrl)})),ye(s=>{let a=!1,l=!1;return k(s).pipe(ye(c=>{var p;if(this.navigationId>s.id)return this.cancelNavigationTransition(s,"",lt.SupersededByNewNavigation),ot;this.currentTransition=s,this.currentNavigation={id:c.id,initialUrl:c.rawUrl,extractedUrl:c.extractedUrl,targetBrowserUrl:typeof c.extras.browserUrl=="string"?this.urlSerializer.parse(c.extras.browserUrl):c.extras.browserUrl,trigger:c.source,extras:c.extras,previousNavigation:this.lastSuccessfulNavigation?X(w({},this.lastSuccessfulNavigation),{previousNavigation:null}):null};let u=!n.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),d=(p=c.extras.onSameUrlNavigation)!=null?p:n.onSameUrlNavigation;if(!u&&d!=="reload"){let f="";return this.events.next(new Rn(c.id,this.urlSerializer.serialize(c.rawUrl),f,Pa.IgnoredSameUrlNavigation)),c.resolve(!1),ot}if(this.urlHandlingStrategy.shouldProcessUrl(c.rawUrl))return k(c).pipe(ye(f=>{var v,b;let g=(v=this.transitions)==null?void 0:v.getValue();return this.events.next(new An(f.id,this.urlSerializer.serialize(f.extractedUrl),f.source,f.restoredState)),g!==((b=this.transitions)==null?void 0:b.getValue())?ot:Promise.resolve(f)}),HT(this.environmentInjector,this.configLoader,this.rootComponentType,n.config,this.urlSerializer,this.paramsInheritanceStrategy),Se(f=>{s.targetSnapshot=f.targetSnapshot,s.urlAfterRedirects=f.urlAfterRedirects,this.currentNavigation=X(w({},this.currentNavigation),{finalUrl:f.urlAfterRedirects});let g=new Fa(f.id,this.urlSerializer.serialize(f.extractedUrl),this.urlSerializer.serialize(f.urlAfterRedirects),f.targetSnapshot);this.events.next(g)}));if(u&&this.urlHandlingStrategy.shouldProcessUrl(c.currentRawUrl)){let{id:f,extractedUrl:g,source:v,restoredState:b,extras:D}=c,I=new An(f,this.urlSerializer.serialize(g),v,b);this.events.next(I);let T=sy(this.rootComponentType).snapshot;return this.currentTransition=s=X(w({},c),{targetSnapshot:T,urlAfterRedirects:g,extras:X(w({},D),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=g,k(s)}else{let f="";return this.events.next(new Rn(c.id,this.urlSerializer.serialize(c.extractedUrl),f,Pa.IgnoredByUrlHandlingStrategy)),c.resolve(!1),ot}}),Se(c=>{let u=new Bd(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(u)}),F(c=>(this.currentTransition=s=X(w({},c),{guards:uT(c.targetSnapshot,c.currentSnapshot,this.rootContexts)}),s)),wT(this.environmentInjector,c=>this.events.next(c)),Se(c=>{if(s.guardsResult=c.guardsResult,c.guardsResult&&typeof c.guardsResult!="boolean")throw Ua(this.urlSerializer,c.guardsResult);let u=new Vd(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot,!!c.guardsResult);this.events.next(u)}),_e(c=>c.guardsResult?!0:(this.cancelNavigationTransition(c,"",lt.GuardRejected),!1)),Od(c=>{if(c.guards.canActivateChecks.length)return k(c).pipe(Se(u=>{let d=new Ud(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot);this.events.next(d)}),ye(u=>{let d=!1;return k(u).pipe(GT(this.paramsInheritanceStrategy,this.environmentInjector),Se({next:()=>d=!0,complete:()=>{d||this.cancelNavigationTransition(u,"",lt.NoDataFromResolver)}}))}),Se(u=>{let d=new zd(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot);this.events.next(d)}))}),Od(c=>{let u=d=>{var f;let p=[];(f=d.routeConfig)!=null&&f.loadComponent&&!d.routeConfig._loadedComponent&&p.push(this.configLoader.loadComponent(d.routeConfig).pipe(Se(g=>{d.component=g}),F(()=>{})));for(let g of d.children)p.push(...u(g));return p};return Vn(u(c.targetSnapshot.root)).pipe(Dn(null),Ye(1))}),Od(()=>this.afterPreactivation()),ye(()=>{var p;let{currentSnapshot:c,targetSnapshot:u}=s,d=(p=this.createViewTransition)==null?void 0:p.call(this,this.environmentInjector,c.root,u.root);return d?ce(d).pipe(F(()=>s)):k(s)}),F(c=>{let u=iT(n.routeReuseStrategy,c.targetSnapshot,c.currentRouterState);return this.currentTransition=s=X(w({},c),{targetRouterState:u}),this.currentNavigation.targetRouterState=u,s}),Se(()=>{this.events.next(new yi)}),cT(this.rootContexts,n.routeReuseStrategy,c=>this.events.next(c),this.inputBindingEnabled),Ye(1),Se({next:c=>{var u;a=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new cn(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects))),(u=this.titleStrategy)==null||u.updateTitle(c.targetRouterState.snapshot),c.resolve(!0)},complete:()=>{a=!0}}),dc(this.transitionAbortSubject.pipe(Se(c=>{throw c}))),Oo(()=>{var c;!a&&!l&&this.cancelNavigationTransition(s,"",lt.SupersededByNewNavigation),((c=this.currentTransition)==null?void 0:c.id)===s.id&&(this.currentNavigation=null,this.currentTransition=null)}),bn(c=>{var u;if(l=!0,dy(c))this.events.next(new an(s.id,this.urlSerializer.serialize(s.extractedUrl),c.message,c.cancellationCode)),lT(c)?this.events.next(new fr(c.url,c.navigationBehaviorOptions)):s.resolve(!1);else{let d=new vi(s.id,this.urlSerializer.serialize(s.extractedUrl),c,(u=s.targetSnapshot)!=null?u:void 0);try{let p=mt(this.environmentInjector,()=>{var f;return(f=this.navigationErrorHandler)==null?void 0:f.call(this,d)});if(p instanceof Di){let{message:f,cancellationCode:g}=Ua(this.urlSerializer,p);this.events.next(new an(s.id,this.urlSerializer.serialize(s.extractedUrl),f,g)),this.events.next(new fr(p.redirectTo,p.navigationBehaviorOptions))}else throw this.events.next(d),c}catch(p){this.options.resolveNavigationPromiseOnError?s.resolve(!1):s.reject(p)}}return ot}))}))}cancelNavigationTransition(n,r,i){let s=new an(n.id,this.urlSerializer.serialize(n.extractedUrl),r,i);this.events.next(s),n.resolve(!1)}isUpdatingInternalState(){var n,r;return((n=this.currentTransition)==null?void 0:n.extractedUrl.toString())!==((r=this.currentTransition)==null?void 0:r.currentUrlTree.toString())}isUpdatedBrowserUrl(){var i,s,a,l;let n=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),r=(a=(i=this.currentNavigation)==null?void 0:i.targetBrowserUrl)!=null?a:(s=this.currentNavigation)==null?void 0:s.extractedUrl;return n.toString()!==(r==null?void 0:r.toString())&&!((l=this.currentNavigation)!=null&&l.extras.skipLocationChange)}};m(e,"\u0275fac",function(r){return new(r||e)}),m(e,"\u0275prov",E({token:e,factory:e.\u0275fac,providedIn:"root"}));let t=e;return t})();function nM(t){return t!==hi}var oM=(()=>{let e=class e{};m(e,"\u0275fac",function(r){return new(r||e)}),m(e,"\u0275prov",E({token:e,factory:()=>y(rM),providedIn:"root"}));let t=e;return t})(),af=class{shouldDetach(e){return!1}store(e,o){}shouldAttach(e){return!1}retrieve(e){return null}shouldReuseRoute(e,o){return e.routeConfig===o.routeConfig}},rM=(()=>{let e=class e extends af{};m(e,"\u0275fac",(()=>{let n;return function(i){return(n||(n=Bt(e)))(i||e)}})()),m(e,"\u0275prov",E({token:e,factory:e.\u0275fac,providedIn:"root"}));let t=e;return t})(),Cy=(()=>{let e=class e{};m(e,"\u0275fac",function(r){return new(r||e)}),m(e,"\u0275prov",E({token:e,factory:()=>y(iM),providedIn:"root"}));let t=e;return t})(),iM=(()=>{let e=class e extends Cy{location=y(Rt);urlSerializer=y(ho);options=y(Ti,{optional:!0})||{};canceledNavigationResolution=this.options.canceledNavigationResolution||"replace";urlHandlingStrategy=y(df);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";currentUrlTree=new ln;getCurrentUrlTree(){return this.currentUrlTree}rawUrlTree=this.currentUrlTree;getRawUrlTree(){return this.rawUrlTree}currentPageId=0;lastSuccessfulId=-1;restoredState(){return this.location.getState()}get browserPageId(){var n,r;return this.canceledNavigationResolution!=="computed"?this.currentPageId:(r=(n=this.restoredState())==null?void 0:n.\u0275routerPageId)!=null?r:this.currentPageId}routerState=sy(null);getRouterState(){return this.routerState}stateMemento=this.createStateMemento();createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(n){return this.location.subscribe(r=>{r.type==="popstate"&&n(r.url,r.state)})}handleRouterEvent(n,r){var i,s;if(n instanceof An)this.stateMemento=this.createStateMemento();else if(n instanceof Rn)this.rawUrlTree=r.initialUrl;else if(n instanceof Fa){if(this.urlUpdateStrategy==="eager"&&!r.extras.skipLocationChange){let a=this.urlHandlingStrategy.merge(r.finalUrl,r.initialUrl);this.setBrowserUrl((i=r.targetBrowserUrl)!=null?i:a,r)}}else n instanceof yi?(this.currentUrlTree=r.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(r.finalUrl,r.initialUrl),this.routerState=r.targetRouterState,this.urlUpdateStrategy==="deferred"&&!r.extras.skipLocationChange&&this.setBrowserUrl((s=r.targetBrowserUrl)!=null?s:this.rawUrlTree,r)):n instanceof an&&(n.code===lt.GuardRejected||n.code===lt.NoDataFromResolver)?this.restoreHistory(r):n instanceof vi?this.restoreHistory(r,!0):n instanceof cn&&(this.lastSuccessfulId=n.id,this.currentPageId=this.browserPageId)}setBrowserUrl(n,r){let i=n instanceof ln?this.urlSerializer.serialize(n):n;if(this.location.isCurrentPathEqualTo(i)||r.extras.replaceUrl){let s=this.browserPageId,a=w(w({},r.extras.state),this.generateNgRouterState(r.id,s));this.location.replaceState(i,"",a)}else{let s=w(w({},r.extras.state),this.generateNgRouterState(r.id,this.browserPageId+1));this.location.go(i,"",s)}}restoreHistory(n,r=!1){if(this.canceledNavigationResolution==="computed"){let i=this.browserPageId,s=this.currentPageId-i;s!==0?this.location.historyGo(s):this.currentUrlTree===n.finalUrl&&s===0&&(this.resetState(n),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(r&&this.resetState(n),this.resetUrlToCurrentUrlTree())}resetState(n){var r;this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,(r=n.finalUrl)!=null?r:this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(n,r){return this.canceledNavigationResolution==="computed"?{navigationId:n,\u0275routerPageId:r}:{navigationId:n}}};m(e,"\u0275fac",(()=>{let n;return function(i){return(n||(n=Bt(e)))(i||e)}})()),m(e,"\u0275prov",E({token:e,factory:e.\u0275fac,providedIn:"root"}));let t=e;return t})(),di=function(t){return t[t.COMPLETE=0]="COMPLETE",t[t.FAILED=1]="FAILED",t[t.REDIRECTING=2]="REDIRECTING",t}(di||{});function Iy(t,e){t.events.pipe(_e(o=>o instanceof cn||o instanceof an||o instanceof vi||o instanceof Rn),F(o=>o instanceof cn||o instanceof Rn?di.COMPLETE:(o instanceof an?o.code===lt.Redirect||o.code===lt.SupersededByNewNavigation:!1)?di.REDIRECTING:di.FAILED),_e(o=>o!==di.REDIRECTING),Ye(1)).subscribe(()=>{e()})}var sM={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},aM={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},Ue=(()=>{var e,o;let n=class n{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}disposed=!1;nonRouterCurrentEntryChangeSubscription;console=y(ma);stateManager=y(Cy);options=y(Ti,{optional:!0})||{};pendingTasks=y(Xo);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";navigationTransitions=y(ff);urlSerializer=y(ho);location=y(Rt);urlHandlingStrategy=y(df);_events=new ne;get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}navigated=!1;routeReuseStrategy=y(oM);onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore";config=(o=(e=y(Ii,{optional:!0}))==null?void 0:e.flat())!=null?o:[];componentInputBindingEnabled=!!y(Ga,{optional:!0});constructor(){this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:i=>{this.console.warn(i)}}),this.subscribeToNavigationEvents()}eventsSubscription=new ve;subscribeToNavigationEvents(){let i=this.navigationTransitions.events.subscribe(s=>{try{let a=this.navigationTransitions.currentTransition,l=this.navigationTransitions.currentNavigation;if(a!==null&&l!==null){if(this.stateManager.handleRouterEvent(s,l),s instanceof an&&s.code!==lt.Redirect&&s.code!==lt.SupersededByNewNavigation)this.navigated=!0;else if(s instanceof cn)this.navigated=!0;else if(s instanceof fr){let c=s.navigationBehaviorOptions,u=this.urlHandlingStrategy.merge(s.url,a.currentRawUrl),d=w({browserUrl:a.extras.browserUrl,info:a.extras.info,skipLocationChange:a.extras.skipLocationChange,replaceUrl:a.extras.replaceUrl||this.urlUpdateStrategy==="eager"||nM(a.source)},c);this.scheduleNavigation(u,hi,null,d,{resolve:a.resolve,reject:a.reject,promise:a.promise})}}cM(s)&&this._events.next(s)}catch(a){this.navigationTransitions.transitionAbortSubject.next(a)}});this.eventsSubscription.add(i)}resetRootComponentType(i){this.routerState.root.component=i,this.navigationTransitions.rootComponentType=i}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),hi,this.stateManager.restoredState())}setUpLocationChangeListener(){var i;(i=this.nonRouterCurrentEntryChangeSubscription)!=null||(this.nonRouterCurrentEntryChangeSubscription=this.stateManager.registerNonRouterCurrentEntryChangeListener((s,a)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(s,"popstate",a)},0)}))}navigateToSyncWithBrowser(i,s,a){let l={replaceUrl:!0},c=a!=null&&a.navigationId?a:null;if(a){let d=w({},a);delete d.navigationId,delete d.\u0275routerPageId,Object.keys(d).length!==0&&(l.state=d)}let u=this.parseUrl(i);this.scheduleNavigation(u,s,c,l)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(i){this.config=i.map(cf),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(i,s={}){let{relativeTo:a,queryParams:l,fragment:c,queryParamsHandling:u,preserveFragment:d}=s,p=d?this.currentUrlTree.fragment:c,f=null;switch(u!=null?u:this.options.defaultQueryParamsHandling){case"merge":f=w(w({},this.currentUrlTree.queryParams),l);break;case"preserve":f=this.currentUrlTree.queryParams;break;default:f=l||null}f!==null&&(f=this.removeEmptyProps(f));let g;try{let v=a?a.snapshot:this.routerState.snapshot.root;g=ny(v)}catch{(typeof i[0]!="string"||i[0][0]!=="/")&&(i=[]),g=this.currentUrlTree.root}return oy(g,i,f,p!=null?p:null)}navigateByUrl(i,s={skipLocationChange:!1}){let a=mi(i)?i:this.parseUrl(i),l=this.urlHandlingStrategy.merge(a,this.rawUrlTree);return this.scheduleNavigation(l,hi,null,s)}navigate(i,s={skipLocationChange:!1}){return lM(i),this.navigateByUrl(this.createUrlTree(i,s),s)}serializeUrl(i){return this.urlSerializer.serialize(i)}parseUrl(i){try{return this.urlSerializer.parse(i)}catch{return this.urlSerializer.parse("/")}}isActive(i,s){let a;if(s===!0?a=w({},sM):s===!1?a=w({},aM):a=s,mi(i))return Fv(this.currentUrlTree,i,a);let l=this.parseUrl(i);return Fv(this.currentUrlTree,l,a)}removeEmptyProps(i){return Object.entries(i).reduce((s,[a,l])=>(l!=null&&(s[a]=l),s),{})}scheduleNavigation(i,s,a,l,c){if(this.disposed)return Promise.resolve(!1);let u,d,p;c?(u=c.resolve,d=c.reject,p=c.promise):p=new Promise((g,v)=>{u=g,d=v});let f=this.pendingTasks.add();return Iy(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(f))}),this.navigationTransitions.handleNavigationRequest({source:s,restoredState:a,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:i,extras:l,resolve:u,reject:d,promise:p,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),p.catch(g=>Promise.reject(g))}};m(n,"\u0275fac",function(s){return new(s||n)}),m(n,"\u0275prov",E({token:n,factory:n.\u0275fac,providedIn:"root"}));let t=n;return t})();function lM(t){for(let e=0;e{let e=class e{router;injector;preloadingStrategy;loader;subscription;constructor(n,r,i,s,a){this.router=n,this.injector=i,this.preloadingStrategy=s,this.loader=a}setUpPreloading(){this.subscription=this.router.events.pipe(_e(n=>n instanceof cn),Ct(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(n,r){var s,a,l;let i=[];for(let c of r){c.providers&&!c._injector&&(c._injector=pa(c.providers,n,`Route: ${c.path}`));let u=(s=c._injector)!=null?s:n,d=(a=c._loadedInjector)!=null?a:u;(c.loadChildren&&!c._loadedRoutes&&c.canLoad===void 0||c.loadComponent&&!c._loadedComponent)&&i.push(this.preloadConfig(u,c)),(c.children||c._loadedRoutes)&&i.push(this.processRoutes(d,(l=c.children)!=null?l:c._loadedRoutes))}return ce(i).pipe(Ro())}preloadConfig(n,r){return this.preloadingStrategy.preload(r,()=>{let i;r.loadChildren&&r.canLoad===void 0?i=this.loader.loadChildren(n,r):i=k(null);let s=i.pipe(he(a=>{var l;return a===null?k(void 0):(r._loadedRoutes=a.routes,r._loadedInjector=a.injector,this.processRoutes((l=a.injector)!=null?l:n,a.routes))}));if(r.loadComponent&&!r._loadedComponent){let a=this.loader.loadComponent(r);return ce([s,a]).pipe(Ro())}else return s})}};m(e,"\u0275fac",function(r){return new(r||e)(x(Ue),x(ya),x(me),x(Ha),x(uf))}),m(e,"\u0275prov",E({token:e,factory:e.\u0275fac,providedIn:"root"}));let t=e;return t})(),Ey=new M(""),dM=(()=>{let e=class e{urlSerializer;transitions;viewportScroller;zone;options;routerEventsSubscription;scrollEventsSubscription;lastId=0;lastSource="imperative";restoredId=0;store={};constructor(n,r,i,s,a={}){this.urlSerializer=n,this.transitions=r,this.viewportScroller=i,this.zone=s,this.options=a,a.scrollPositionRestoration||(a.scrollPositionRestoration="disabled"),a.anchorScrolling||(a.anchorScrolling="disabled")}init(){this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(n=>{n instanceof An?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=n.navigationTrigger,this.restoredId=n.restoredState?n.restoredState.navigationId:0):n instanceof cn?(this.lastId=n.id,this.scheduleScrollEvent(n,this.urlSerializer.parse(n.urlAfterRedirects).fragment)):n instanceof Rn&&n.code===Pa.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(n,this.urlSerializer.parse(n.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(n=>{n instanceof La&&(n.position?this.options.scrollPositionRestoration==="top"?this.viewportScroller.scrollToPosition([0,0]):this.options.scrollPositionRestoration==="enabled"&&this.viewportScroller.scrollToPosition(n.position):n.anchor&&this.options.anchorScrolling==="enabled"?this.viewportScroller.scrollToAnchor(n.anchor):this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(n,r){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new La(n,this.lastSource==="popstate"?this.store[this.restoredId]:null,r))})},0)})}ngOnDestroy(){var n,r;(n=this.routerEventsSubscription)==null||n.unsubscribe(),(r=this.scrollEventsSubscription)==null||r.unsubscribe()}};m(e,"\u0275fac",function(r){Eg()}),m(e,"\u0275prov",E({token:e,factory:e.\u0275fac}));let t=e;return t})();function iB(t,...e){return oo([{provide:Ii,multi:!0,useValue:t},[],{provide:Xe,useFactory:xy,deps:[Ue]},{provide:ga,multi:!0,useFactory:Sy},e.map(o=>o.\u0275providers)])}function xy(t){return t.routerState.root}function mr(t,e){return{\u0275kind:t,\u0275providers:e}}function Sy(){let t=y(be);return e=>{var i,s;let o=t.get(jt);if(e!==o.components[0])return;let n=t.get(Ue),r=t.get(Ty);t.get(hf)===1&&n.initialNavigation(),(i=t.get(My,null,V.Optional))==null||i.setUpPreloading(),(s=t.get(Ey,null,V.Optional))==null||s.init(),n.resetRootComponentType(o.componentTypes[0]),r.closed||(r.next(),r.complete(),r.unsubscribe())}}var Ty=new M("",{factory:()=>new ne}),hf=new M("",{providedIn:"root",factory:()=>1});function fM(){return mr(2,[{provide:hf,useValue:0},{provide:nr,multi:!0,deps:[be],useFactory:e=>{let o=e.get(hv,Promise.resolve());return()=>o.then(()=>new Promise(n=>{let r=e.get(Ue),i=e.get(Ty);Iy(r,()=>{n(!0)}),e.get(ff).afterPreactivation=()=>(n(!0),i.closed?k(void 0):i),r.initialNavigation()}))}}])}function hM(){return mr(3,[{provide:nr,multi:!0,useFactory:()=>{let e=y(Ue);return()=>{e.setUpLocationChangeListener()}}},{provide:hf,useValue:2}])}var My=new M("");function pM(t){return mr(0,[{provide:My,useExisting:uM},{provide:Ha,useExisting:t}])}function sB(){return mr(6,[{provide:sn,useClass:pd}])}function mM(){return mr(8,[Bv,{provide:Ga,useExisting:Bv}])}function gM(t){let e=[{provide:by,useValue:eM},{provide:Dy,useValue:w({skipNextTransition:!!(t!=null&&t.skipInitialTransition)},t)}];return mr(9,e)}var Hv=new M("ROUTER_FORROOT_GUARD"),vM=[Rt,{provide:ho,useClass:dr},Ue,On,{provide:Xe,useFactory:xy,deps:[Ue]},uf,[]],pf=(()=>{let e=class e{constructor(n){}static forRoot(n,r){return{ngModule:e,providers:[vM,[],{provide:Ii,multi:!0,useValue:n},{provide:Hv,useFactory:wM,deps:[[Ue,new pu,new tm]]},r!=null&&r.errorHandler?{provide:wy,useValue:r.errorHandler}:[],{provide:Ti,useValue:r||{}},r!=null&&r.useHash?bM():DM(),yM(),r!=null&&r.preloadingStrategy?pM(r.preloadingStrategy).\u0275providers:[],r!=null&&r.initialNavigation?CM(r):[],r!=null&&r.bindToComponentInputs?mM().\u0275providers:[],r!=null&&r.enableViewTransitions?gM().\u0275providers:[],IM()]}}static forChild(n){return{ngModule:e,providers:[{provide:Ii,multi:!0,useValue:n}]}}};m(e,"\u0275fac",function(r){return new(r||e)(x(Hv,8))}),m(e,"\u0275mod",Me({type:e})),m(e,"\u0275inj",Te({}));let t=e;return t})();function yM(){return{provide:Ey,useFactory:()=>{let t=y(gv),e=y($),o=y(Ti),n=y(ff),r=y(ho);return o.scrollOffset&&t.setOffset(o.scrollOffset),new dM(r,n,t,e,o)}}}function bM(){return{provide:sn,useClass:pd}}function DM(){return{provide:sn,useClass:hd}}function wM(t){return"guarded"}function CM(t){return[t.initialNavigation==="disabled"?hM().\u0275providers:[],t.initialNavigation==="enabledBlocking"?fM().\u0275providers:[]]}var Gv=new M("");function IM(){return[{provide:Gv,useFactory:Sy},{provide:ga,multi:!0,useExisting:Gv}]}var po=(t,e,o,n,r)=>xM(t[1],e[1],o[1],n[1],r).map(i=>EM(t[0],e[0],o[0],n[0],i)),EM=(t,e,o,n,r)=>{let i=3*e*Math.pow(r-1,2),s=-3*o*r+3*o+n*r,a=t*Math.pow(r-1,3);return r*(i+r*s)-a},xM=(t,e,o,n,r)=>(t-=r,e-=r,o-=r,n-=r,TM(n-3*o+3*e-t,3*o-6*e+3*t,3*e-3*t,t).filter(s=>s>=0&&s<=1)),SM=(t,e,o)=>{let n=e*e-4*t*o;return n<0?[]:[(-e+Math.sqrt(n))/(2*t),(-e-Math.sqrt(n))/(2*t)]},TM=(t,e,o,n)=>{if(t===0)return SM(e,o,n);e/=t,o/=t,n/=t;let r=(3*o-e*e)/3,i=(2*e*e*e-9*e*o+27*n)/27;if(r===0)return[Math.pow(-i,.3333333333333333)];if(i===0)return[Math.sqrt(-r),-Math.sqrt(-r)];let s=Math.pow(i/2,2)+Math.pow(r/3,3);if(s===0)return[Math.pow(i/2,.5)-e/3];if(s>0)return[Math.pow(-(i/2)+Math.sqrt(s),.3333333333333333)-Math.pow(i/2+Math.sqrt(s),.3333333333333333)-e/3];let a=Math.sqrt(Math.pow(-(r/3),3)),l=Math.acos(-(i/(2*Math.sqrt(Math.pow(-(r/3),3))))),c=2*Math.pow(a,1/3);return[c*Math.cos(l/3)-e/3,c*Math.cos((l+2*Math.PI)/3)-e/3,c*Math.cos((l+4*Math.PI)/3)-e/3]};var ze=(t,e)=>e.closest(t)!==null,vt=(t,e)=>typeof t=="string"&&t.length>0?Object.assign({"ion-color":!0,[`ion-color-${t}`]:!0},e):e,MM=t=>t!==void 0?(Array.isArray(t)?t:t.split(" ")).filter(o=>o!=null).map(o=>o.trim()).filter(o=>o!==""):[],qa=t=>{let e={};return MM(t).forEach(o=>e[o]=!0),e};var Pn=async(t,e,o,n,r,i)=>{var s;if(t)return t.attachViewToDom(e,o,r,n);if(!i&&typeof o!="string"&&!(o instanceof HTMLElement))throw new Error("framework delegate is missing");let a=typeof o=="string"?(s=e.ownerDocument)===null||s===void 0?void 0:s.createElement(o):o;return n&&n.forEach(l=>a.classList.add(l)),r&&Object.assign(a,r),e.appendChild(a),await new Promise(l=>bt(a,l)),a},gr=(t,e)=>{if(e){if(t){let o=e.parentElement;return t.removeViewFromDom(o,e)}e.remove()}return Promise.resolve()},Za=()=>{let t,e;return{attachViewToDom:async(r,i,s={},a=[])=>{var l,c;t=r;let u;if(i){let p=typeof i=="string"?(l=t.ownerDocument)===null||l===void 0?void 0:l.createElement(i):i;a.forEach(f=>p.classList.add(f)),Object.assign(p,s),t.appendChild(p),u=p,await new Promise(f=>bt(p,f))}else if(t.children.length>0&&(t.tagName==="ION-MODAL"||t.tagName==="ION-POPOVER")&&!(u=t.children[0]).classList.contains("ion-delegate-host")){let f=(c=t.ownerDocument)===null||c===void 0?void 0:c.createElement("div");f.classList.add("ion-delegate-host"),a.forEach(g=>f.classList.add(g)),f.append(...t.children),t.appendChild(f),u=f}let d=document.querySelector("ion-app")||document.body;return e=document.createComment("ionic teleport"),t.parentNode.insertBefore(e,t),d.appendChild(t),u!=null?u:t},removeViewFromDom:()=>(t&&e&&(e.parentNode.insertBefore(t,e),e.remove()),Promise.resolve())}};var ki='[tabindex]:not([tabindex^="-"]):not([hidden]):not([disabled]), input:not([type=hidden]):not([tabindex^="-"]):not([hidden]):not([disabled]), textarea:not([tabindex^="-"]):not([hidden]):not([disabled]), button:not([tabindex^="-"]):not([hidden]):not([disabled]), select:not([tabindex^="-"]):not([hidden]):not([disabled]), ion-checkbox:not([tabindex^="-"]):not([hidden]):not([disabled]), ion-radio:not([tabindex^="-"]):not([hidden]):not([disabled]), .ion-focusable:not([tabindex^="-"]):not([hidden]):not([disabled]), .ion-focusable[disabled="false"]:not([tabindex^="-"]):not([hidden])',Ya=(t,e)=>{let o=t.querySelector(ki);Ry(o,e!=null?e:t)},_y=(t,e)=>{let o=Array.from(t.querySelectorAll(ki)),n=o.length>0?o[o.length-1]:null;Ry(n,e!=null?e:t)},Ry=(t,e)=>{let o=t,n=t==null?void 0:t.shadowRoot;if(n&&(o=n.querySelector(ki)||t),o){let r=o.closest("ion-radio-group");r?r.setFocus():Nl(o)}else e.focus()},mf=0,kM=0,Qa=new WeakMap,Ny=t=>({create(e){return _M(t,e)},dismiss(e,o,n){return OM(document,e,o,t,n)},async getTop(){return Mi(document,t)}});var gf=Ny("ion-modal");var vf=Ny("ion-popover");var Ka=t=>{typeof document<"u"&&NM(document);let e=mf++;t.overlayIndex=e},Xa=t=>(t.hasAttribute("id")||(t.id=`ion-overlay-${++kM}`),t.id),_M=(t,e)=>typeof window<"u"&&typeof window.customElements<"u"?window.customElements.whenDefined(t).then(()=>{let o=document.createElement(t);return o.classList.add("overlay-hidden"),Object.assign(o,Object.assign(Object.assign({},e),{hasController:!0})),Py(document).appendChild(o),new Promise(n=>bt(o,n))}):Promise.resolve(),AM=t=>t.classList.contains("overlay-hidden"),Ay=(t,e)=>{let o=t,n=t==null?void 0:t.shadowRoot;n&&(o=n.querySelector(ki)||t),o?Nl(o):e.focus()},RM=(t,e)=>{let o=Mi(e,"ion-alert,ion-action-sheet,ion-loading,ion-modal,ion-picker-legacy,ion-popover"),n=t.target;if(!o||!n||o.classList.contains(mo))return;let r=()=>{if(o===n)o.lastFocus=void 0;else if(n.tagName==="ION-TOAST")Ay(o.lastFocus,o);else{let s=xe(o);if(!s.contains(n))return;let a=s.querySelector(".ion-overlay-wrapper");if(!a)return;if(a.contains(n)||n===s.querySelector("ion-backdrop"))o.lastFocus=n;else{let l=o.lastFocus;Ya(a,o),l===e.activeElement&&_y(a,o),o.lastFocus=e.activeElement}}},i=()=>{if(o.contains(n))o.lastFocus=n;else if(n.tagName==="ION-TOAST")Ay(o.lastFocus,o);else{let s=o.lastFocus;Ya(o),s===e.activeElement&&_y(o),o.lastFocus=e.activeElement}};o.shadowRoot?i():r()},NM=t=>{mf===0&&(mf=1,t.addEventListener("focus",e=>{RM(e,t)},!0),t.addEventListener("ionBackButton",e=>{let o=Mi(t);o!=null&&o.backdropDismiss&&e.detail.register(Dh,()=>{o.dismiss(void 0,vr)})}),Pr()||t.addEventListener("keydown",e=>{if(e.key==="Escape"){let o=Mi(t);o!=null&&o.backdropDismiss&&o.dismiss(void 0,vr)}}))},OM=(t,e,o,n,r)=>{let i=Mi(t,n,r);return i?i.dismiss(e,o):Promise.reject("overlay does not exist")},PM=(t,e)=>(e===void 0&&(e="ion-alert,ion-action-sheet,ion-loading,ion-modal,ion-picker-legacy,ion-popover,ion-toast"),Array.from(t.querySelectorAll(e)).filter(o=>o.overlayIndex>0)),Ja=(t,e)=>PM(t,e).filter(o=>!AM(o)),Mi=(t,e,o)=>{let n=Ja(t,e);return o===void 0?n[n.length-1]:n.find(r=>r.id===o)},Oy=(t=!1)=>{let o=Py(document).querySelector("ion-router-outlet, ion-nav, #ion-view-container-root");o&&(t?o.setAttribute("aria-hidden","true"):o.removeAttribute("aria-hidden"))},el=async(t,e,o,n,r)=>{var i,s;if(t.presented)return;t.el.tagName!=="ION-TOAST"&&Oy(!0),document.body.classList.add(jl),$M(t.el),jy(t.el),t.presented=!0,t.willPresent.emit(),(i=t.willPresentShorthand)===null||i===void 0||i.emit();let a=B(t),l=t.enterAnimation?t.enterAnimation:ge.get(e,a==="ios"?o:n);await Fy(t,l,t.el,r)&&(t.didPresent.emit(),(s=t.didPresentShorthand)===null||s===void 0||s.emit()),t.el.tagName!=="ION-TOAST"&&FM(t.el),t.keyboardClose&&(document.activeElement===null||!t.el.contains(document.activeElement))&&t.el.focus(),t.el.removeAttribute("aria-hidden")},FM=async t=>{let e=document.activeElement;if(!e)return;let o=e==null?void 0:e.shadowRoot;o&&(e=o.querySelector(ki)||e),await t.onDidDismiss(),(document.activeElement===null||document.activeElement===document.body)&&e.focus()},tl=async(t,e,o,n,r,i,s)=>{var a,l;if(!t.presented)return!1;let c=ft!==void 0?Ja(ft).filter(d=>d.tagName!=="ION-TOAST"):[];c.length===1&&c[0].id===t.el.id&&(Oy(!1),document.body.classList.remove(jl)),t.presented=!1;try{jy(t.el),t.el.style.setProperty("pointer-events","none"),t.willDismiss.emit({data:e,role:o}),(a=t.willDismissShorthand)===null||a===void 0||a.emit({data:e,role:o});let d=B(t),p=t.leaveAnimation?t.leaveAnimation:ge.get(n,d==="ios"?r:i);o!==br&&await Fy(t,p,t.el,s),t.didDismiss.emit({data:e,role:o}),(l=t.didDismissShorthand)===null||l===void 0||l.emit({data:e,role:o}),(Qa.get(t)||[]).forEach(g=>g.destroy()),Qa.delete(t),t.el.classList.add("overlay-hidden"),t.el.style.removeProperty("pointer-events"),t.el.lastFocus!==void 0&&(t.el.lastFocus=void 0)}catch(d){console.error(d)}return t.el.remove(),jM(),!0},Py=t=>t.querySelector("ion-app")||t.body,Fy=async(t,e,o,n)=>{o.classList.remove("overlay-hidden");let r=t.el,i=e(r,n);(!t.animated||!ge.getBoolean("animated",!0))&&i.duration(0),t.keyboardClose&&i.beforeAddWrite(()=>{let a=o.ownerDocument.activeElement;a!=null&&a.matches("input,ion-input, ion-textarea")&&a.blur()});let s=Qa.get(t)||[];return Qa.set(t,[...s,i]),await i.play(),!0},yr=(t,e)=>{let o,n=new Promise(r=>o=r);return LM(t,e,r=>{o(r.detail)}),n},LM=(t,e,o)=>{let n=r=>{Or(t,e,n),o(r)};Ln(t,e,n)};var vr="backdrop",br="gesture",Ly=39;var $y=()=>{let t,e=()=>{t&&(t(),t=void 0)};return{addClickListener:(n,r)=>{e();let i=r!==void 0?document.getElementById(r):null;if(!i){Pt(`A trigger element with the ID "${r}" was not found in the DOM. The trigger element must be in the DOM when the "trigger" property is set on an overlay component.`,n);return}t=((a,l)=>{let c=()=>{l.present()};return a.addEventListener("click",c),()=>{a.removeEventListener("click",c)}})(i,n)},removeClickListener:e}},jy=t=>{ft!==void 0&&Ne("android")&&t.setAttribute("aria-hidden","true")},$M=t=>{var e;if(ft===void 0)return;let o=Ja(ft);for(let n=o.length-1;n>=0;n--){let r=o[n],i=(e=o[n+1])!==null&&e!==void 0?e:t;(i.hasAttribute("aria-hidden")||i.tagName!=="ION-TOAST")&&r.setAttribute("aria-hidden","true")}},jM=()=>{if(ft===void 0)return;let t=Ja(ft);for(let e=t.length-1;e>=0;e--){let o=t[e];if(o.removeAttribute("aria-hidden"),o.tagName!=="ION-TOAST")break}},mo="ion-disable-focus-trap";var By=new M("");function Vy(t){return t!=null}function GM(t){return lo(t)?ce(t):t}function Uy(t){let e={};return t.forEach(o=>{e=o!=null?w(w({},e),o):e}),Object.keys(e).length===0?null:e}function zy(t,e){return e.map(o=>o(t))}function WM(t){return!t.validate}function Hy(t){return t.map(e=>WM(e)?e:o=>e.validate(o))}function qM(t){if(!t)return null;let e=t.filter(Vy);return e.length==0?null:function(o){return Uy(zy(o,e))}}function ZM(t){return t!=null?qM(Hy(t)):null}function YM(t){if(!t)return null;let e=t.filter(Vy);return e.length==0?null:function(o){let n=zy(o,e).map(GM);return Ur(n).pipe(F(Uy))}}function QM(t){return t!=null?YM(Hy(t)):null}var yf=class{get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators=[];_rawAsyncValidators=[];_setValidators(e){this._rawValidators=e||[],this._composedValidatorFn=ZM(this._rawValidators)}_setAsyncValidators(e){this._rawAsyncValidators=e||[],this._composedAsyncValidatorFn=QM(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_onDestroyCallbacks=[];_registerOnDestroy(e){this._onDestroyCallbacks.push(e)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(e=>e()),this._onDestroyCallbacks=[]}reset(e=void 0){this.control&&this.control.reset(e)}hasError(e,o){return this.control?this.control.hasError(e,o):!1}getError(e,o){return this.control?this.control.getError(e,o):null}};var nl=class extends yf{_parent=null;name=null;valueAccessor=null};var KM={"[class.ng-untouched]":"isUntouched","[class.ng-touched]":"isTouched","[class.ng-pristine]":"isPristine","[class.ng-dirty]":"isDirty","[class.ng-valid]":"isValid","[class.ng-invalid]":"isInvalid","[class.ng-pending]":"isPending"},UB=X(w({},KM),{"[class.ng-submitted]":"isSubmitted"});var Gy=new M("CallSetDisabledState",{providedIn:"root",factory:()=>bf}),bf="always";var XM=new M("");var Wy=(()=>{let e=class e{};m(e,"\u0275fac",function(r){return new(r||e)}),m(e,"\u0275mod",Me({type:e})),m(e,"\u0275inj",Te({}));let t=e;return t})();var Df=(()=>{let e=class e{static withConfig(n){var r;return{ngModule:e,providers:[{provide:Gy,useValue:(r=n.callSetDisabledState)!=null?r:bf}]}}};m(e,"\u0275fac",function(r){return new(r||e)}),m(e,"\u0275mod",Me({type:e})),m(e,"\u0275inj",Te({imports:[Wy]}));let t=e;return t})(),wf=(()=>{let e=class e{static withConfig(n){var r,i;return{ngModule:e,providers:[{provide:XM,useValue:(r=n.warnOnNgModelWithFormControl)!=null?r:"always"},{provide:Gy,useValue:(i=n.callSetDisabledState)!=null?i:bf}]}}};m(e,"\u0275fac",function(r){return new(r||e)}),m(e,"\u0275mod",Me({type:e})),m(e,"\u0275inj",Te({imports:[Wy]}));let t=e;return t})();var JM=["tabsInner"];var ol=(()=>{let e=class e{doc;_readyPromise;win;backButton=new ne;keyboardDidShow=new ne;keyboardDidHide=new ne;pause=new ne;resume=new ne;resize=new ne;constructor(n,r){this.doc=n,r.run(()=>{var s;this.win=n.defaultView,this.backButton.subscribeWithPriority=function(a,l){return this.subscribe(c=>c.register(a,u=>r.run(()=>l(u))))},Dr(this.pause,n,"pause",r),Dr(this.resume,n,"resume",r),Dr(this.backButton,n,"ionBackButton",r),Dr(this.resize,this.win,"resize",r),Dr(this.keyboardDidShow,this.win,"ionKeyboardDidShow",r),Dr(this.keyboardDidHide,this.win,"ionKeyboardDidHide",r);let i;this._readyPromise=new Promise(a=>{i=a}),(s=this.win)!=null&&s.cordova?n.addEventListener("deviceready",()=>{i("cordova")},{once:!0}):i("dom")})}is(n){return Ne(this.win,n)}platforms(){return Al(this.win)}ready(){return this._readyPromise}get isRTL(){return this.doc.dir==="rtl"}getQueryParam(n){return ek(this.win.location.href,n)}isLandscape(){return!this.isPortrait()}isPortrait(){var n,r;return(r=(n=this.win).matchMedia)==null?void 0:r.call(n,"(orientation: portrait)").matches}testUserAgent(n){let r=this.win.navigator;return!!(r!=null&&r.userAgent&&r.userAgent.indexOf(n)>=0)}url(){return this.win.location.href}width(){return this.win.innerWidth}height(){return this.win.innerHeight}};m(e,"\u0275fac",function(r){return new(r||e)(x(Ce),x($))}),m(e,"\u0275prov",E({token:e,factory:e.\u0275fac,providedIn:"root"}));let t=e;return t})(),ek=(t,e)=>{e=e.replace(/[[\]\\]/g,"\\$&");let n=new RegExp("[\\?&]"+e+"=([^&#]*)").exec(t);return n?decodeURIComponent(n[1].replace(/\+/g," ")):null},Dr=(t,e,o,n)=>{e&&e.addEventListener(o,r=>{n.run(()=>{let i=r!=null?r.detail:void 0;t.next(i)})})},kf=(()=>{let e=class e{location;serializer;router;topOutlet;direction=qy;animated=Zy;animationBuilder;guessDirection="forward";guessAnimation;lastNavId=-1;constructor(n,r,i,s){this.location=r,this.serializer=i,this.router=s,s&&s.events.subscribe(a=>{if(a instanceof An){let l=a.restoredState?a.restoredState.navigationId:a.id;this.guessDirection=this.guessAnimation=l{this.pop(),a()})}navigateForward(n,r={}){return this.setDirection("forward",r.animated,r.animationDirection,r.animation),this.navigate(n,r)}navigateBack(n,r={}){return this.setDirection("back",r.animated,r.animationDirection,r.animation),this.navigate(n,r)}navigateRoot(n,r={}){return this.setDirection("root",r.animated,r.animationDirection,r.animation),this.navigate(n,r)}back(n={animated:!0,animationDirection:"back"}){return this.setDirection("back",n.animated,n.animationDirection,n.animation),this.location.back()}async pop(){let n=this.topOutlet;for(;n;){if(await n.pop())return!0;n=n.parentOutlet}return!1}setDirection(n,r,i,s){this.direction=n,this.animated=tk(n,r,i),this.animationBuilder=s}setTopOutlet(n){this.topOutlet=n}consumeTransition(){let n="root",r,i=this.animationBuilder;return this.direction==="auto"?(n=this.guessDirection,r=this.guessAnimation):(r=this.animated,n=this.direction),this.direction=qy,this.animated=Zy,this.animationBuilder=void 0,{direction:n,animation:r,animationBuilder:i}}navigate(n,r){if(Array.isArray(n))return this.router.navigate(n,r);{let i=this.serializer.parse(n.toString());return r.queryParams!==void 0&&(i.queryParams=w({},r.queryParams)),r.fragment!==void 0&&(i.fragment=r.fragment),this.router.navigateByUrl(i,r)}}};m(e,"\u0275fac",function(r){return new(r||e)(x(ol),x(Rt),x(ho),x(Ue,8))}),m(e,"\u0275prov",E({token:e,factory:e.\u0275fac,providedIn:"root"}));let t=e;return t})(),tk=(t,e,o)=>{if(e!==!1){if(o!==void 0)return o;if(t==="forward"||t==="back")return t;if(t==="root"&&e===!0)return"forward"}},qy="auto",Zy=void 0,Qy=(()=>{let e=class e{get(n,r){let i=Cf();return i?i.get(n,r):null}getBoolean(n,r){let i=Cf();return i?i.getBoolean(n,r):!1}getNumber(n,r){let i=Cf();return i?i.getNumber(n,r):0}};m(e,"\u0275fac",function(r){return new(r||e)}),m(e,"\u0275prov",E({token:e,factory:e.\u0275fac,providedIn:"root"}));let t=e;return t})(),rl=new M("USERCONFIG"),Cf=()=>{if(typeof window<"u"){let t=window.Ionic;if(t!=null&&t.config)return t.config}return null},_i=class{data;constructor(e={}){this.data=e,console.warn("[Ionic Warning]: NavParams has been deprecated in favor of using Angular's input API. Developers should migrate to either the @Input decorator or the Signals-based input API.")}get(e){return this.data[e]}},il=(()=>{let e=class e{zone=y($);applicationRef=y(jt);config=y(rl);create(n,r,i){var s;return new Ef(n,r,this.applicationRef,this.zone,i,(s=this.config.useSetInputAPI)!=null?s:!1)}};m(e,"\u0275fac",function(r){return new(r||e)}),m(e,"\u0275prov",E({token:e,factory:e.\u0275fac}));let t=e;return t})(),Ef=class{environmentInjector;injector;applicationRef;zone;elementReferenceKey;enableSignalsSupport;elRefMap=new WeakMap;elEventsMap=new WeakMap;constructor(e,o,n,r,i,s){this.environmentInjector=e,this.injector=o,this.applicationRef=n,this.zone=r,this.elementReferenceKey=i,this.enableSignalsSupport=s}attachViewToDom(e,o,n,r){return this.zone.run(()=>new Promise(i=>{let s=w({},n);this.elementReferenceKey!==void 0&&(s[this.elementReferenceKey]=e);let a=nk(this.zone,this.environmentInjector,this.injector,this.applicationRef,this.elRefMap,this.elEventsMap,e,o,s,r,this.elementReferenceKey,this.enableSignalsSupport);i(a)}))}removeViewFromDom(e,o){return this.zone.run(()=>new Promise(n=>{let r=this.elRefMap.get(o);if(r){r.destroy(),this.elRefMap.delete(o);let i=this.elEventsMap.get(o);i&&(i(),this.elEventsMap.delete(o))}n()}))}},nk=(t,e,o,n,r,i,s,a,l,c,u,d)=>{let p=be.create({providers:rk(l),parent:o}),f=av(a,{environmentInjector:e,elementInjector:p}),g=f.instance,v=f.location.nativeElement;if(l)if(u&&g[u]!==void 0&&console.error(`[Ionic Error]: ${u} is a reserved property when using ${s.tagName.toLowerCase()}. Rename or remove the "${u}" property from ${a.name}.`),d===!0&&f.setInput!==void 0){let D=l,{modal:I,popover:T}=D,N=_l(D,["modal","popover"]);for(let Q in N)f.setInput(Q,N[Q]);I!==void 0&&Object.assign(g,{modal:I}),T!==void 0&&Object.assign(g,{popover:T})}else Object.assign(g,l);if(c)for(let I of c)v.classList.add(I);let b=Ky(t,g,v);return s.appendChild(v),n.attachView(f.hostView),r.set(v,f),i.set(v,b),v},ok=[Ol,Pl,Fl,Ll,$l],Ky=(t,e,o)=>t.run(()=>{let n=ok.filter(r=>typeof e[r]=="function").map(r=>{let i=s=>e[r](s.detail);return o.addEventListener(r,i),()=>o.removeEventListener(r,i)});return()=>n.forEach(r=>r())}),Yy=new M("NavParamsToken"),rk=t=>[{provide:Yy,useValue:t},{provide:_i,useFactory:ik,deps:[Yy]}],ik=t=>new _i(t),sk=(t,e)=>{let o=t.prototype;e.forEach(n=>{Object.defineProperty(o,n,{get(){return this.el[n]},set(r){this.z.runOutsideAngular(()=>this.el[n]=r)}})})},ak=(t,e)=>{let o=t.prototype;e.forEach(n=>{o[n]=function(){let r=arguments;return this.z.runOutsideAngular(()=>this.el[n].apply(this.el,r))}})};function Xy(t){return function(o){let{defineCustomElementFn:n,inputs:r,methods:i}=t;return n!==void 0&&n(),r&&sk(o,r),i&&ak(o,i),o}}var lk=(t,e,o)=>o==="root"?Jy(t,e):o==="forward"?ck(t,e):uk(t,e),Jy=(t,e)=>(t=t.filter(o=>o.stackId!==e.stackId),t.push(e),t),ck=(t,e)=>(t.indexOf(e)>=0?t=t.filter(n=>n.stackId!==e.stackId||n.id<=e.id):t.push(e),t),uk=(t,e)=>t.indexOf(e)>=0?t.filter(n=>n.stackId!==e.stackId||n.id<=e.id):Jy(t,e),xf=(t,e)=>{let o=t.createUrlTree(["."],{relativeTo:e});return t.serializeUrl(o)},eb=(t,e)=>e?t.stackId!==e.stackId:!0,dk=(t,e)=>{if(!t)return;let o=tb(e);for(let n=0;n=t.length)return o[n];if(o[n]!==t[n])return}},tb=t=>t.split("/").map(e=>e.trim()).filter(e=>e!==""),nb=t=>{t&&(t.ref.destroy(),t.unlistenEvents())},Sf=class{containerEl;router;navCtrl;zone;location;views=[];runningTask;skipTransition=!1;tabsPrefix;activeView;nextId=0;constructor(e,o,n,r,i,s){this.containerEl=o,this.router=n,this.navCtrl=r,this.zone=i,this.location=s,this.tabsPrefix=e!==void 0?tb(e):void 0}createView(e,o){var s;let n=xf(this.router,o),r=(s=e==null?void 0:e.location)==null?void 0:s.nativeElement,i=Ky(this.zone,e.instance,r);return{id:this.nextId++,stackId:dk(this.tabsPrefix,n),unlistenEvents:i,element:r,ref:e,url:n}}getExistingView(e){let o=xf(this.router,e),n=this.views.find(r=>r.url===o);return n&&n.ref.changeDetectorRef.reattach(),n}setActive(e){var g,v;let o=this.navCtrl.consumeTransition(),{direction:n,animation:r,animationBuilder:i}=o,s=this.activeView,a=eb(e,s);a&&(n="back",r=void 0);let l=this.views.slice(),c,u=this.router;u.getCurrentNavigation?c=u.getCurrentNavigation():(g=u.navigations)!=null&&g.value&&(c=u.navigations.value),(v=c==null?void 0:c.extras)!=null&&v.replaceUrl&&this.views.length>0&&this.views.splice(-1,1);let d=this.views.includes(e),p=this.insertView(e,n);d||e.ref.changeDetectorRef.detectChanges();let f=e.animationBuilder;return i===void 0&&n==="back"&&!a&&f!==void 0&&(i=f),s&&(s.animationBuilder=i),this.zone.runOutsideAngular(()=>this.wait(()=>(s&&s.ref.changeDetectorRef.detach(),e.ref.changeDetectorRef.reattach(),this.transition(e,s,r,this.canGoBack(1),!1,i).then(()=>fk(e,p,l,this.location,this.zone)).then(()=>({enteringView:e,direction:n,animation:r,tabSwitch:a})))))}canGoBack(e,o=this.getActiveStackId()){return this.getStack(o).length>e}pop(e,o=this.getActiveStackId()){return this.zone.run(()=>{var l,c;let n=this.getStack(o);if(n.length<=e)return Promise.resolve(!1);let r=n[n.length-e-1],i=r.url,s=r.savedData;if(s){let u=s.get("primary");(c=(l=u==null?void 0:u.route)==null?void 0:l._routerState)!=null&&c.snapshot.url&&(i=u.route._routerState.snapshot.url)}let{animationBuilder:a}=this.navCtrl.consumeTransition();return this.navCtrl.navigateBack(i,X(w({},r.savedExtras),{animation:a})).then(()=>!0)})}startBackTransition(){let e=this.activeView;if(e){let o=this.getStack(e.stackId),n=o[o.length-2],r=n.animationBuilder;return this.wait(()=>this.transition(n,e,"back",this.canGoBack(2),!0,r))}return Promise.resolve()}endBackTransition(e){e?(this.skipTransition=!0,this.pop(1)):this.activeView&&ob(this.activeView,this.views,this.views,this.location,this.zone)}getLastUrl(e){let o=this.getStack(e);return o.length>0?o[o.length-1]:void 0}getRootUrl(e){let o=this.getStack(e);return o.length>0?o[0]:void 0}getActiveStackId(){return this.activeView?this.activeView.stackId:void 0}getActiveView(){return this.activeView}hasRunningTask(){return this.runningTask!==void 0}destroy(){this.containerEl=void 0,this.views.forEach(nb),this.activeView=void 0,this.views=[]}getStack(e){return this.views.filter(o=>o.stackId===e)}insertView(e,o){return this.activeView=e,this.views=lk(this.views,e,o),this.views.slice()}transition(e,o,n,r,i,s){if(this.skipTransition)return this.skipTransition=!1,Promise.resolve(!1);if(o===e)return Promise.resolve(!1);let a=e?e.element:void 0,l=o?o.element:void 0,c=this.containerEl;return a&&a!==l&&(a.classList.add("ion-page"),a.classList.add("ion-page-invisible"),c.commit)?c.commit(a,l,{duration:n===void 0?0:void 0,direction:n,showGoBack:r,progressAnimation:i,animationBuilder:s}):Promise.resolve(!1)}async wait(e){this.runningTask!==void 0&&(await this.runningTask,this.runningTask=void 0);let o=this.runningTask=e();return o.finally(()=>this.runningTask=void 0),o}},fk=(t,e,o,n,r)=>typeof requestAnimationFrame=="function"?new Promise(i=>{requestAnimationFrame(()=>{ob(t,e,o,n,r),i()})}):Promise.resolve(),ob=(t,e,o,n,r)=>{r.run(()=>o.filter(i=>!e.includes(i)).forEach(nb)),e.forEach(i=>{let a=n.path().split("?")[0].split("#")[0];if(i!==t&&i.url!==a){let l=i.element;l.setAttribute("aria-hidden","true"),l.classList.add("ion-page-hidden"),i.ref.changeDetectorRef.detach()}})},rb=(()=>{let e=class e{parentOutlet;nativeEl;activatedView=null;tabsPrefix;_swipeGesture;stackCtrl;proxyMap=new WeakMap;currentActivatedRoute$=new fe(null);activated=null;get activatedComponentRef(){return this.activated}_activatedRoute=null;name=L;stackWillChange=new ae;stackDidChange=new ae;activateEvents=new ae;deactivateEvents=new ae;parentContexts=y(On);location=y(_t);environmentInjector=y(me);inputBinder=y(ib,{optional:!0});supportsBindingToComponentInputs=!0;config=y(Qy);navCtrl=y(kf);set animation(n){this.nativeEl.animation=n}set animated(n){this.nativeEl.animated=n}set swipeGesture(n){this._swipeGesture=n,this.nativeEl.swipeHandler=n?{canStart:()=>this.stackCtrl.canGoBack(1)&&!this.stackCtrl.hasRunningTask(),onStart:()=>this.stackCtrl.startBackTransition(),onEnd:r=>this.stackCtrl.endBackTransition(r)}:void 0}constructor(n,r,i,s,a,l,c,u){this.parentOutlet=u,this.nativeEl=s.nativeElement,this.name=n||L,this.tabsPrefix=r==="true"?xf(a,c):void 0,this.stackCtrl=new Sf(this.tabsPrefix,this.nativeEl,a,this.navCtrl,l,i),this.parentContexts.onChildOutletCreated(this.name,this)}ngOnDestroy(){var n;this.stackCtrl.destroy(),(n=this.inputBinder)==null||n.unsubscribeFromRouteData(this)}getContext(){return this.parentContexts.getContext(this.name)}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(!this.activated){let n=this.getContext();n!=null&&n.route&&this.activateWith(n.route,n.injector)}new Promise(n=>bt(this.nativeEl,n)).then(()=>{this._swipeGesture===void 0&&(this.swipeGesture=this.config.getBoolean("swipeBackEnabled",this.nativeEl.mode==="ios"))})}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance}get activatedRoute(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){throw new Error("incompatible reuse strategy")}attach(n,r){throw new Error("incompatible reuse strategy")}deactivate(){if(this.activated){if(this.activatedView){let r=this.getContext();this.activatedView.savedData=new Map(r.children.contexts);let i=this.activatedView.savedData.get("primary");if(i&&r.route&&(i.route=w({},r.route)),this.activatedView.savedExtras={},r.route){let s=r.route.snapshot;this.activatedView.savedExtras.queryParams=s.queryParams,this.activatedView.savedExtras.fragment=s.fragment}}let n=this.component;this.activatedView=null,this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(n)}}activateWith(n,r){var l,c;if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=n;let i,s=this.stackCtrl.getExistingView(n);if(s){i=this.activated=s.ref;let u=s.savedData;if(u){let d=this.getContext();d.children.contexts=u}this.updateActivatedRouteProxy(i.instance,n)}else{let u=n._futureSnapshot,d=this.parentContexts.getOrCreateContext(this.name).children,p=new fe(null),f=this.createActivatedRouteProxy(p,n),g=new Tf(f,d,this.location.injector),v=(l=u.routeConfig.component)!=null?l:u.component;i=this.activated=this.outletContent.createComponent(v,{index:this.outletContent.length,injector:g,environmentInjector:r!=null?r:this.environmentInjector}),p.next(i.instance),s=this.stackCtrl.createView(this.activated,n),this.proxyMap.set(i.instance,f),this.currentActivatedRoute$.next({component:i.instance,activatedRoute:n})}(c=this.inputBinder)==null||c.bindActivatedRouteToOutletComponent(this),this.activatedView=s,this.navCtrl.setTopOutlet(this);let a=this.stackCtrl.getActiveView();this.stackWillChange.emit({enteringView:s,tabSwitch:eb(s,a)}),this.stackCtrl.setActive(s).then(u=>{this.activateEvents.emit(i.instance),this.stackDidChange.emit(u)})}canGoBack(n=1,r){return this.stackCtrl.canGoBack(n,r)}pop(n=1,r){return this.stackCtrl.pop(n,r)}getLastUrl(n){let r=this.stackCtrl.getLastUrl(n);return r?r.url:void 0}getLastRouteView(n){return this.stackCtrl.getLastUrl(n)}getRootView(n){return this.stackCtrl.getRootUrl(n)}getActiveStackId(){return this.stackCtrl.getActiveStackId()}createActivatedRouteProxy(n,r){let i=new Xe;return i._futureSnapshot=r._futureSnapshot,i._routerState=r._routerState,i.snapshot=r.snapshot,i.outlet=r.outlet,i.component=r.component,i._paramMap=this.proxyObservable(n,"paramMap"),i._queryParamMap=this.proxyObservable(n,"queryParamMap"),i.url=this.proxyObservable(n,"url"),i.params=this.proxyObservable(n,"params"),i.queryParams=this.proxyObservable(n,"queryParams"),i.fragment=this.proxyObservable(n,"fragment"),i.data=this.proxyObservable(n,"data"),i}proxyObservable(n,r){return n.pipe(_e(i=>!!i),ye(i=>this.currentActivatedRoute$.pipe(_e(s=>s!==null&&s.component===i),ye(s=>s&&s.activatedRoute[r]),sc())))}updateActivatedRouteProxy(n,r){let i=this.proxyMap.get(n);if(!i)throw new Error("Could not find activated route proxy for view");i._futureSnapshot=r._futureSnapshot,i._routerState=r._routerState,i.snapshot=r.snapshot,i.outlet=r.outlet,i.component=r.component,this.currentActivatedRoute$.next({component:n,activatedRoute:r})}};m(e,"\u0275fac",function(r){return new(r||e)(Mn("name"),Mn("tabs"),S(Rt),S(ee),S(Ue),S($),S(Xe),S(e,12))}),m(e,"\u0275dir",At({type:e,selectors:[["ion-router-outlet"]],inputs:{animated:"animated",animation:"animation",mode:"mode",swipeGesture:"swipeGesture",name:"name"},outputs:{stackWillChange:"stackWillChange",stackDidChange:"stackDidChange",activateEvents:"activate",deactivateEvents:"deactivate"},exportAs:["outlet"],standalone:!1}));let t=e;return t})(),Tf=class{route;childContexts;parent;constructor(e,o,n){this.route=e,this.childContexts=o,this.parent=n}get(e,o){return e===Xe?this.route:e===On?this.childContexts:this.parent.get(e,o)}},ib=new M(""),hk=(()=>{let e=class e{outletDataSubscriptions=new Map;bindActivatedRouteToOutletComponent(n){this.unsubscribeFromRouteData(n),this.subscribeToRouteData(n)}unsubscribeFromRouteData(n){var r;(r=this.outletDataSubscriptions.get(n))==null||r.unsubscribe(),this.outletDataSubscriptions.delete(n)}subscribeToRouteData(n){let{activatedRoute:r}=n,i=Vn([r.queryParams,r.params,r.data]).pipe(ye(([s,a,l],c)=>(l=w(w(w({},s),a),l),c===0?k(l):Promise.resolve(l)))).subscribe(s=>{if(!n.isActivated||!n.activatedComponentRef||n.activatedRoute!==r||r.component===null){this.unsubscribeFromRouteData(n);return}let a=ba(r.component);if(!a){this.unsubscribeFromRouteData(n);return}for(let{templateName:l}of a.inputs)n.activatedComponentRef.setInput(l,s[l])});this.outletDataSubscriptions.set(n,i)}};m(e,"\u0275fac",function(r){return new(r||e)}),m(e,"\u0275prov",E({token:e,factory:e.\u0275fac}));let t=e;return t})(),sb=()=>({provide:ib,useFactory:pk,deps:[Ue]});function pk(t){return t!=null&&t.componentInputBindingEnabled?new hk:null}var ab=(()=>{let e=class e{navCtrl;tabsInner;ionTabsWillChange=new ae;ionTabsDidChange=new ae;tabBarSlot="bottom";hasTab=!1;selectedTab;leavingTab;constructor(n){this.navCtrl=n}ngAfterViewInit(){let n=this.tabs.length>0?this.tabs.first:void 0;n&&(this.hasTab=!0,this.setActiveTab(n.tab),this.tabSwitch())}ngAfterContentInit(){this.detectSlotChanges()}ngAfterContentChecked(){this.detectSlotChanges()}onStackWillChange({enteringView:n,tabSwitch:r}){let i=n.stackId;r&&i!==void 0&&this.ionTabsWillChange.emit({tab:i})}onStackDidChange({enteringView:n,tabSwitch:r}){let i=n.stackId;r&&i!==void 0&&(this.tabBar&&(this.tabBar.selectedTab=i),this.ionTabsDidChange.emit({tab:i}))}select(n){let r=typeof n=="string",i=r?n:n.detail.tab;if(this.hasTab){this.setActiveTab(i),this.tabSwitch();return}let s=this.outlet.getActiveStackId()===i,a=`${this.outlet.tabsPrefix}/${i}`;if(r||n.stopPropagation(),s){let l=this.outlet.getActiveStackId(),c=this.outlet.getLastRouteView(l);if((c==null?void 0:c.url)===a)return;let u=this.outlet.getRootView(i),d=u&&a===u.url&&u.savedExtras;return this.navCtrl.navigateRoot(a,X(w({},d),{animated:!0,animationDirection:"back"}))}else{let l=this.outlet.getLastRouteView(i),c=(l==null?void 0:l.url)||a,u=l==null?void 0:l.savedExtras;return this.navCtrl.navigateRoot(c,X(w({},u),{animated:!0,animationDirection:"back"}))}}setActiveTab(n){let i=this.tabs.find(s=>s.tab===n);if(!i){console.error(`[Ionic Error]: Tab with id: "${n}" does not exist`);return}this.leavingTab=this.selectedTab,this.selectedTab=i,this.ionTabsWillChange.emit({tab:n}),i.el.active=!0}tabSwitch(){let{selectedTab:n,leavingTab:r}=this;this.tabBar&&n&&(this.tabBar.selectedTab=n.tab),(r==null?void 0:r.tab)!==(n==null?void 0:n.tab)&&r!=null&&r.el&&(r.el.active=!1),n&&this.ionTabsDidChange.emit({tab:n.tab})}getSelected(){var n;return this.hasTab?(n=this.selectedTab)==null?void 0:n.tab:this.outlet.getActiveStackId()}detectSlotChanges(){this.tabBars.forEach(n=>{let r=n.el.getAttribute("slot");r!==this.tabBarSlot&&(this.tabBarSlot=r,this.relocateTabBar())})}relocateTabBar(){let n=this.tabBar.el;this.tabBarSlot==="top"?this.tabsInner.nativeElement.before(n):this.tabsInner.nativeElement.after(n)}};m(e,"\u0275fac",function(r){return new(r||e)(S(kf))}),m(e,"\u0275dir",At({type:e,selectors:[["ion-tabs"]],viewQuery:function(r,i){if(r&1&&ri(JM,7,ee),r&2){let s;nn(s=on())&&(i.tabsInner=s.first)}},hostBindings:function(r,i){r&1&&tn("ionTabButtonClick",function(a){return i.select(a)})},outputs:{ionTabsWillChange:"ionTabsWillChange",ionTabsDidChange:"ionTabsDidChange"},standalone:!1}));let t=e;return t})(),mk=t=>typeof __zone_symbol__requestAnimationFrame=="function"?__zone_symbol__requestAnimationFrame(t):typeof requestAnimationFrame=="function"?requestAnimationFrame(t):setTimeout(t),lb=(()=>{let e=class e{injector;elementRef;onChange=()=>{};onTouched=()=>{};lastValue;statusChanges;constructor(n,r){this.injector=n,this.elementRef=r}writeValue(n){this.elementRef.nativeElement.value=this.lastValue=n,wr(this.elementRef)}handleValueChange(n,r){n===this.elementRef.nativeElement&&(r!==this.lastValue&&(this.lastValue=r,this.onChange(r)),wr(this.elementRef))}_handleBlurEvent(n){n===this.elementRef.nativeElement&&(this.onTouched(),wr(this.elementRef))}registerOnChange(n){this.onChange=n}registerOnTouched(n){this.onTouched=n}setDisabledState(n){this.elementRef.nativeElement.disabled=n}ngOnDestroy(){this.statusChanges&&this.statusChanges.unsubscribe()}ngAfterViewInit(){let n;try{n=this.injector.get(nl)}catch{}if(!n)return;n.statusChanges&&(this.statusChanges=n.statusChanges.subscribe(()=>wr(this.elementRef)));let r=n.control;r&&["markAsTouched","markAllAsTouched","markAsUntouched","markAsDirty","markAsPristine"].forEach(s=>{if(typeof r[s]<"u"){let a=r[s].bind(r);r[s]=(...l)=>{a(...l),wr(this.elementRef)}}})}};m(e,"\u0275fac",function(r){return new(r||e)(S(be),S(ee))}),m(e,"\u0275dir",At({type:e,hostBindings:function(r,i){r&1&&tn("ionBlur",function(a){return i._handleBlurEvent(a.target)})},standalone:!1}));let t=e;return t})(),wr=t=>{mk(()=>{let e=t.nativeElement,o=e.value!=null&&e.value.toString().length>0,n=gk(e);If(e,n);let r=e.closest("ion-item");r&&(o?If(r,[...n,"item-has-value"]):If(r,n))})},gk=t=>{let e=t.classList,o=[];for(let n=0;n{let o=t.classList;o.remove("ion-valid","ion-invalid","ion-touched","ion-untouched","ion-dirty","ion-pristine"),o.add(...e)},vk=(t,e)=>t.substring(0,e.length)===e,Mf=class{shouldDetach(e){return!1}shouldAttach(e){return!1}store(e,o){}retrieve(e){return null}shouldReuseRoute(e,o){if(e.routeConfig!==o.routeConfig)return!1;let n=e.params,r=o.params,i=Object.keys(n),s=Object.keys(r);if(i.length!==s.length)return!1;for(let a of i)if(r[a]!==n[a])return!1;return!0}},Ai=class{ctrl;constructor(e){this.ctrl=e}create(e){return this.ctrl.create(e||{})}dismiss(e,o,n){return this.ctrl.dismiss(e,o,n)}getTop(){return this.ctrl.getTop()}};var yk=":host{left:0;right:0;top:0;bottom:0;position:absolute;contain:strict;pointer-events:none}:host(.unbounded){contain:layout size style}.ripple-effect{border-radius:50%;position:absolute;background-color:currentColor;color:inherit;contain:strict;opacity:0;-webkit-animation:225ms rippleAnimation forwards, 75ms fadeInAnimation forwards;animation:225ms rippleAnimation forwards, 75ms fadeInAnimation forwards;will-change:transform, opacity;pointer-events:none}.fade-out{-webkit-transform:translate(var(--translate-end)) scale(var(--final-scale, 1));transform:translate(var(--translate-end)) scale(var(--final-scale, 1));-webkit-animation:150ms fadeOutAnimation forwards;animation:150ms fadeOutAnimation forwards}@-webkit-keyframes rippleAnimation{from{-webkit-animation-timing-function:cubic-bezier(0.4, 0, 0.2, 1);animation-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transform:scale(1);transform:scale(1)}to{-webkit-transform:translate(var(--translate-end)) scale(var(--final-scale, 1));transform:translate(var(--translate-end)) scale(var(--final-scale, 1))}}@keyframes rippleAnimation{from{-webkit-animation-timing-function:cubic-bezier(0.4, 0, 0.2, 1);animation-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transform:scale(1);transform:scale(1)}to{-webkit-transform:translate(var(--translate-end)) scale(var(--final-scale, 1));transform:translate(var(--translate-end)) scale(var(--final-scale, 1))}}@-webkit-keyframes fadeInAnimation{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:0}to{opacity:0.16}}@keyframes fadeInAnimation{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:0}to{opacity:0.16}}@-webkit-keyframes fadeOutAnimation{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:0.16}to{opacity:0}}@keyframes fadeOutAnimation{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:0.16}to{opacity:0}}",bk=yk,Dk=q(class extends W{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.type="bounded"}async addRipple(e,o){return new Promise(n=>{mn(()=>{let r=this.el.getBoundingClientRect(),i=r.width,s=r.height,a=Math.sqrt(i*i+s*s),l=Math.max(s,i),c=this.unbounded?l:a+Ck,u=Math.floor(l*Ik),d=c/u,p=e-r.left,f=o-r.top;this.unbounded&&(p=i*.5,f=s*.5);let g=p-u*.5,v=f-u*.5,b=i*.5-p,D=s*.5-f;nt(()=>{let I=document.createElement("div");I.classList.add("ripple-effect");let T=I.style;T.top=v+"px",T.left=g+"px",T.width=T.height=u+"px",T.setProperty("--final-scale",`${d}`),T.setProperty("--translate-end",`${b}px, ${D}px`),(this.el.shadowRoot||this.el).appendChild(I),setTimeout(()=>{n(()=>{wk(I)})},325)})})})}get unbounded(){return this.type==="unbounded"}render(){let e=B(this);return C(K,{key:"7ae559bda5d2c1856a45bfa150c2cb4f83373f8e",role:"presentation",class:{[e]:!0,unbounded:this.unbounded}})}get el(){return this}static get style(){return bk}},[1,"ion-ripple-effect",{type:[1],addRipple:[64]}]),wk=t=>{t.classList.add("fade-out"),setTimeout(()=>{t.remove()},200)},Ck=10,Ik=.5;function sl(){if(typeof customElements>"u")return;["ion-ripple-effect"].forEach(e=>{switch(e){case"ion-ripple-effect":customElements.get(e)||customElements.define(e,Dk);break}})}var Cr=()=>{let t;return{lock:async()=>{let o=t,n;return t=new Promise(r=>n=r),o!==void 0&&await o,n}}};var Ek=":host{left:0;right:0;top:0;bottom:0;position:absolute;contain:layout size style;z-index:0}",xk=Ek,Sk=q(class extends W{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.ionNavWillLoad=O(this,"ionNavWillLoad",7),this.ionNavWillChange=O(this,"ionNavWillChange",3),this.ionNavDidChange=O(this,"ionNavDidChange",3),this.lockController=Cr(),this.gestureOrAnimationInProgress=!1,this.mode=B(this),this.delegate=void 0,this.animated=!0,this.animation=void 0,this.swipeHandler=void 0}swipeHandlerChanged(){this.gesture&&this.gesture.enable(this.swipeHandler!==void 0)}async connectedCallback(){let e=()=>{this.gestureOrAnimationInProgress=!0,this.swipeHandler&&this.swipeHandler.onStart()};this.gesture=(await import("./swipe-back-DO3GTPTD.js")).createSwipeBackGesture(this.el,()=>!this.gestureOrAnimationInProgress&&!!this.swipeHandler&&this.swipeHandler.canStart(),()=>e(),o=>{var n;return(n=this.ani)===null||n===void 0?void 0:n.progressStep(o)},(o,n,r)=>{if(this.ani){this.ani.onFinish(()=>{this.gestureOrAnimationInProgress=!1,this.swipeHandler&&this.swipeHandler.onEnd(o)},{oneTimeCallback:!0});let i=o?-.001:.001;o?i+=po([0,0],[.32,.72],[0,1],[1,1],n)[0]:(this.ani.easing("cubic-bezier(1, 0, 0.68, 0.28)"),i+=po([0,0],[1,0],[.68,.28],[1,1],n)[0]),this.ani.progressEnd(o?1:0,i,r)}else this.gestureOrAnimationInProgress=!1}),this.swipeHandlerChanged()}componentWillLoad(){this.ionNavWillLoad.emit()}disconnectedCallback(){this.gesture&&(this.gesture.destroy(),this.gesture=void 0)}async commit(e,o,n){let r=await this.lockController.lock(),i=!1;try{i=await this.transition(e,o,n)}catch(s){console.error(s)}return r(),i}async setRouteId(e,o,n,r){return{changed:await this.setRoot(e,o,{duration:n==="root"?0:void 0,direction:n==="back"?"back":"forward",animationBuilder:r}),element:this.activeEl}}async getRouteId(){let e=this.activeEl;return e?{id:e.tagName,element:e,params:this.activeParams}:void 0}async setRoot(e,o,n){if(this.activeComponent===e&&yh(o,this.activeParams))return!1;let r=this.activeEl,i=await Pn(this.delegate,this.el,e,["ion-page","ion-page-invisible"],o);return this.activeComponent=e,this.activeEl=i,this.activeParams=o,await this.commit(i,r,n),await gr(this.delegate,r),!0}async transition(e,o,n={}){if(o===e)return!1;this.ionNavWillChange.emit();let{el:r,mode:i}=this,s=this.animated&&ge.getBoolean("animated",!0),a=n.animationBuilder||this.animation||ge.get("navAnimation");return await bh(Object.assign(Object.assign({mode:i,animated:s,enteringEl:e,leavingEl:o,baseEl:r,deepWait:Gt(r),progressCallback:n.progressAnimation?l=>{l!==void 0&&!this.gestureOrAnimationInProgress?(this.gestureOrAnimationInProgress=!0,l.onFinish(()=>{this.gestureOrAnimationInProgress=!1,this.swipeHandler&&this.swipeHandler.onEnd(!1)},{oneTimeCallback:!0}),l.progressEnd(0,0,0)):this.ani=l}:void 0},n),{animationBuilder:a})),this.ionNavDidChange.emit(),!0}render(){return C("slot",{key:"a70341f58d19df55de1dad00e3464388e446aa2a"})}get el(){return this}static get watchers(){return{swipeHandler:["swipeHandlerChanged"]}}static get style(){return xk}},[1,"ion-router-outlet",{mode:[1025],delegate:[16],animated:[4],animation:[16],swipeHandler:[16],commit:[64],setRouteId:[64],getRouteId:[64]},void 0,{swipeHandler:["swipeHandlerChanged"]}]);function Tk(){if(typeof customElements>"u")return;["ion-router-outlet"].forEach(e=>{switch(e){case"ion-router-outlet":customElements.get(e)||customElements.define(e,Sk);break}})}var cb=Tk;var Mk=":host{left:0;right:0;top:0;bottom:0;display:block;position:absolute;-webkit-transform:translateZ(0);transform:translateZ(0);contain:strict;cursor:pointer;opacity:0.01;-ms-touch-action:none;touch-action:none;z-index:2}:host(.backdrop-hide){background:transparent}:host(.backdrop-no-tappable){cursor:auto}:host{background-color:var(--ion-backdrop-color, #000)}",kk=Mk,_k=":host{left:0;right:0;top:0;bottom:0;display:block;position:absolute;-webkit-transform:translateZ(0);transform:translateZ(0);contain:strict;cursor:pointer;opacity:0.01;-ms-touch-action:none;touch-action:none;z-index:2}:host(.backdrop-hide){background:transparent}:host(.backdrop-no-tappable){cursor:auto}:host{background-color:var(--ion-backdrop-color, #000)}",Ak=_k,Rk=q(class extends W{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.ionBackdropTap=O(this,"ionBackdropTap",7),this.visible=!0,this.tappable=!0,this.stopPropagation=!0}onMouseDown(e){this.emitTap(e)}emitTap(e){this.stopPropagation&&(e.preventDefault(),e.stopPropagation()),this.tappable&&this.ionBackdropTap.emit()}render(){let e=B(this);return C(K,{key:"7abaf2c310aa399607451b14063265e8a5846938","aria-hidden":"true",class:{[e]:!0,"backdrop-hide":!this.visible,"backdrop-no-tappable":!this.tappable}})}static get style(){return{ios:kk,md:Ak}}},[33,"ion-backdrop",{visible:[4],tappable:[4],stopPropagation:[4,"stop-propagation"]},[[2,"click","onMouseDown"]]]);function al(){if(typeof customElements>"u")return;["ion-backdrop"].forEach(e=>{switch(e){case"ion-backdrop":customElements.get(e)||customElements.define(e,Rk);break}})}var Ri=function(t){return t.Dark="DARK",t.Light="LIGHT",t.Default="DEFAULT",t}(Ri||{}),Nf={getEngine(){let t=Ch();if(t!=null&&t.isPluginAvailable("StatusBar"))return t.Plugins.StatusBar},setStyle(t){let e=this.getEngine();e&&e.setStyle(t)},getStyle:async function(){let t=this.getEngine();if(!t)return Ri.Default;let{style:e}=await t.getInfo();return e}},_f=(t,e)=>{if(e===1)return 0;let o=1/(1-e),n=-(e*o);return t*o+n},hb=()=>{!Ee||Ee.innerWidth>=768||Nf.setStyle({style:Ri.Dark})},Af=(t=Ri.Default)=>{!Ee||Ee.innerWidth>=768||Nf.setStyle({style:t})},pb=async(t,e)=>{typeof t.canDismiss!="function"||!await t.canDismiss(void 0,br)||(e.isRunning()?e.onFinish(()=>{t.dismiss(void 0,"handler")},{oneTimeCallback:!0}):t.dismiss(void 0,"handler"))},Rf=t=>.00255275*2.71828**(-14.9619*t)-1.00255*2.71828**(-.0380968*t)+1,ll={MIN_PRESENTING_SCALE:.915},Nk=(t,e,o,n)=>{let i=t.offsetHeight,s=!1,a=!1,l=null,c=null,u=.2,d=!0,p=0,f=()=>l&&qi(l)?l.scrollY:!0,I=Wi({el:t,gestureName:"modalSwipeToClose",gesturePriority:Ly,direction:"y",threshold:10,canStart:T=>{let N=T.event.target;return N===null||!N.closest?!0:(l=Vl(N),l?(qi(l)?c=xe(l).querySelector(".inner-scroll"):c=l,!!!l.querySelector("ion-refresher")&&c.scrollTop===0):N.closest("ion-footer")===null)},onStart:T=>{let{deltaY:N}=T;d=f(),a=t.canDismiss!==void 0&&t.canDismiss!==!0,N>0&&l&&Ul(l),e.progressStart(!0,s?1:0)},onMove:T=>{let{deltaY:N}=T;N>0&&l&&Ul(l);let Q=T.deltaY/i,P=Q>=0&&a,G=P?u:.9999,ie=P?Rf(Q/G):Q,ue=gn(1e-4,ie,G);e.progressStep(ue),ue>=.5&&p<.5?Af(o):ue<.5&&p>=.5&&hb(),p=ue},onEnd:T=>{let N=T.velocityY,Q=T.deltaY/i,P=Q>=0&&a,G=P?u:.9999,ie=P?Rf(Q/G):Q,ue=gn(1e-4,ie,G),ut=(T.deltaY+N*1e3)/i,Fe=!P&&ut>=.5,tt=Fe?-.001:.001;Fe?(e.easing("cubic-bezier(0.32, 0.72, 0, 1)"),tt+=po([0,0],[.32,.72],[0,1],[1,1],ue)[0]):(e.easing("cubic-bezier(1, 0, 0.68, 0.28)"),tt+=po([0,0],[1,0],[.68,.28],[1,1],ue)[0]);let Ot=ub(Fe?Q*i:(1-ue)*i,N);s=Fe,I.enable(!1),l&&wh(l,d),e.onFinish(()=>{Fe||I.enable(!0)}).progressEnd(Fe?1:0,tt,Ot),P&&ue>G/4?pb(t,e):Fe&&n()}});return I},ub=(t,e)=>gn(400,t/Math.abs(e*1.1),500),mb=t=>{let{currentBreakpoint:e,backdropBreakpoint:o}=t,n=o===void 0||o{let{currentBreakpoint:e,backdropBreakpoint:o}=t,n=`calc(var(--backdrop-opacity) * ${_f(e,o)})`,r=[{offset:0,opacity:n},{offset:1,opacity:0}],i=[{offset:0,opacity:n},{offset:o,opacity:0},{offset:1,opacity:0}],s=H("backdropAnimation").keyframes(o!==0?i:r);return{wrapperAnimation:H("wrapperAnimation").keyframes([{offset:0,opacity:1,transform:`translateY(${100-e*100}%)`},{offset:1,opacity:1,transform:"translateY(100%)"}]),backdropAnimation:s}},Ok=()=>{let t=H().fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]),e=H().fromTo("transform","translateY(100vh)","translateY(0vh)");return{backdropAnimation:t,wrapperAnimation:e}},db=(t,e)=>{let{presentingEl:o,currentBreakpoint:n}=e,r=xe(t),{wrapperAnimation:i,backdropAnimation:s}=n!==void 0?mb(e):Ok();s.addElement(r.querySelector("ion-backdrop")),i.addElement(r.querySelectorAll(".modal-wrapper, .modal-shadow")).beforeStyles({opacity:1});let a=H("entering-base").addElement(t).easing("cubic-bezier(0.32,0.72,0,1)").duration(500).addAnimation(i);if(o){let l=window.innerWidth<768,c=o.tagName==="ION-MODAL"&&o.presentingElement!==void 0,u=xe(o),d=H().beforeStyles({transform:"translateY(0)","transform-origin":"top center",overflow:"hidden"}),p=document.body;if(l){let f=CSS.supports("width","max(0px, 1px)")?"max(30px, var(--ion-safe-area-top))":"30px",g=c?"-10px":f,v=ll.MIN_PRESENTING_SCALE,b=`translateY(${g}) scale(${v})`;d.afterStyles({transform:b}).beforeAddWrite(()=>p.style.setProperty("background-color","black")).addElement(o).keyframes([{offset:0,filter:"contrast(1)",transform:"translateY(0px) scale(1)",borderRadius:"0px"},{offset:1,filter:"contrast(0.85)",transform:b,borderRadius:"10px 10px 0 0"}]),a.addAnimation(d)}else if(a.addAnimation(s),!c)i.fromTo("opacity","0","1");else{let g=`translateY(-10px) scale(${c?ll.MIN_PRESENTING_SCALE:1})`;d.afterStyles({transform:g}).addElement(u.querySelector(".modal-wrapper")).keyframes([{offset:0,filter:"contrast(1)",transform:"translateY(0) scale(1)"},{offset:1,filter:"contrast(0.85)",transform:g}]);let v=H().afterStyles({transform:g}).addElement(u.querySelector(".modal-shadow")).keyframes([{offset:0,opacity:"1",transform:"translateY(0) scale(1)"},{offset:1,opacity:"0",transform:g}]);a.addAnimation([d,v])}}else a.addAnimation(s);return a},Pk=()=>{let t=H().fromTo("opacity","var(--backdrop-opacity)",0),e=H().fromTo("transform","translateY(0vh)","translateY(100vh)");return{backdropAnimation:t,wrapperAnimation:e}},fb=(t,e,o=500)=>{let{presentingEl:n,currentBreakpoint:r}=e,i=xe(t),{wrapperAnimation:s,backdropAnimation:a}=r!==void 0?gb(e):Pk();a.addElement(i.querySelector("ion-backdrop")),s.addElement(i.querySelectorAll(".modal-wrapper, .modal-shadow")).beforeStyles({opacity:1});let l=H("leaving-base").addElement(t).easing("cubic-bezier(0.32,0.72,0,1)").duration(o).addAnimation(s);if(n){let c=window.innerWidth<768,u=n.tagName==="ION-MODAL"&&n.presentingElement!==void 0,d=xe(n),p=H().beforeClearStyles(["transform"]).afterClearStyles(["transform"]).onFinish(g=>{if(g!==1)return;n.style.setProperty("overflow",""),Array.from(f.querySelectorAll("ion-modal:not(.overlay-hidden)")).filter(b=>b.presentingElement!==void 0).length<=1&&f.style.setProperty("background-color","")}),f=document.body;if(c){let g=CSS.supports("width","max(0px, 1px)")?"max(30px, var(--ion-safe-area-top))":"30px",v=u?"-10px":g,b=ll.MIN_PRESENTING_SCALE,D=`translateY(${v}) scale(${b})`;p.addElement(n).keyframes([{offset:0,filter:"contrast(0.85)",transform:D,borderRadius:"10px 10px 0 0"},{offset:1,filter:"contrast(1)",transform:"translateY(0px) scale(1)",borderRadius:"0px"}]),l.addAnimation(p)}else if(l.addAnimation(a),!u)s.fromTo("opacity","1","0");else{let v=`translateY(-10px) scale(${u?ll.MIN_PRESENTING_SCALE:1})`;p.addElement(d.querySelector(".modal-wrapper")).afterStyles({transform:"translate3d(0, 0, 0)"}).keyframes([{offset:0,filter:"contrast(0.85)",transform:v},{offset:1,filter:"contrast(1)",transform:"translateY(0) scale(1)"}]);let b=H().addElement(d.querySelector(".modal-shadow")).afterStyles({transform:"translateY(0) scale(1)"}).keyframes([{offset:0,opacity:"0",transform:v},{offset:1,opacity:"1",transform:"translateY(0) scale(1)"}]);l.addAnimation([p,b])}}else l.addAnimation(a);return l},Fk=()=>{let t=H().fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]),e=H().keyframes([{offset:0,opacity:.01,transform:"translateY(40px)"},{offset:1,opacity:1,transform:"translateY(0px)"}]);return{backdropAnimation:t,wrapperAnimation:e}},Lk=(t,e)=>{let{currentBreakpoint:o}=e,n=xe(t),{wrapperAnimation:r,backdropAnimation:i}=o!==void 0?mb(e):Fk();return i.addElement(n.querySelector("ion-backdrop")),r.addElement(n.querySelector(".modal-wrapper")),H().addElement(t).easing("cubic-bezier(0.36,0.66,0.04,1)").duration(280).addAnimation([i,r])},$k=()=>{let t=H().fromTo("opacity","var(--backdrop-opacity)",0),e=H().keyframes([{offset:0,opacity:.99,transform:"translateY(0px)"},{offset:1,opacity:0,transform:"translateY(40px)"}]);return{backdropAnimation:t,wrapperAnimation:e}},jk=(t,e)=>{let{currentBreakpoint:o}=e,n=xe(t),{wrapperAnimation:r,backdropAnimation:i}=o!==void 0?gb(e):$k();return i.addElement(n.querySelector("ion-backdrop")),r.addElement(n.querySelector(".modal-wrapper")),H().easing("cubic-bezier(0.47,0,0.745,0.715)").duration(200).addAnimation([i,r])},Bk=(t,e,o,n,r,i,s=[],a,l,c)=>{let u=[{offset:0,opacity:"var(--backdrop-opacity)"},{offset:1,opacity:.01}],d=[{offset:0,opacity:"var(--backdrop-opacity)"},{offset:1-r,opacity:0},{offset:1,opacity:0}],p={WRAPPER_KEYFRAMES:[{offset:0,transform:"translateY(0%)"},{offset:1,transform:"translateY(100%)"}],BACKDROP_KEYFRAMES:r!==0?d:u},f=t.querySelector("ion-content"),g=o.clientHeight,v=n,b=0,D=!1,I=.95,T=i.childAnimations.find(Ie=>Ie.id==="wrapperAnimation"),N=i.childAnimations.find(Ie=>Ie.id==="backdropAnimation"),Q=s[s.length-1],P=s[0],G=()=>{t.style.setProperty("pointer-events","auto"),e.style.setProperty("pointer-events","auto"),t.classList.remove(mo)},ie=()=>{t.style.setProperty("pointer-events","none"),e.style.setProperty("pointer-events","none"),t.classList.add(mo)};T&&N&&(T.keyframes([...p.WRAPPER_KEYFRAMES]),N.keyframes([...p.BACKDROP_KEYFRAMES]),i.progressStart(!0,1-v),v>r?G():ie()),f&&v!==Q&&(f.scrollY=!1);let ue=Ie=>{let Ge=Vl(Ie.event.target);if(v=a(),v===1&&Ge){let We=qi(Ge)?xe(Ge).querySelector(".inner-scroll"):Ge;return!!!Ge.querySelector("ion-refresher")&&We.scrollTop===0}return!0},ut=Ie=>{D=t.canDismiss!==void 0&&t.canDismiss!==!0&&P===0,Ie.deltaY>0&&f&&(f.scrollY=!1),Dt(()=>{t.focus()}),i.progressStart(!0,1-v)},Fe=Ie=>{Ie.deltaY>0&&f&&(f.scrollY=!1);let Ge=1-v,We=s.length>1?1-s[1]:void 0,dt=Ge+Ie.deltaY/g,pn=We!==void 0&&dt>=We&&D,yt=pn?I:.9999,qe=pn&&We!==void 0?We+Rf((dt-We)/(yt-We)):dt;b=gn(1e-4,qe,yt),i.progressStep(b)},tt=Ie=>{let Ge=Ie.velocityY,We=(Ie.deltaY+Ge*350)/g,dt=v-We,pn=s.reduce((yt,qe)=>Math.abs(qe-dt){let{breakpoint:Ge,canDismiss:We,breakpointOffset:dt,animated:pn}=Ie,yt=We&&Ge===0,qe=yt?v:Ge,Vi=qe!==0;return v=0,T&&N&&(T.keyframes([{offset:0,transform:`translateY(${dt*100}%)`},{offset:1,transform:`translateY(${(1-qe)*100}%)`}]),N.keyframes([{offset:0,opacity:`calc(var(--backdrop-opacity) * ${_f(1-dt,r)})`},{offset:1,opacity:`calc(var(--backdrop-opacity) * ${_f(qe,r)})`}]),i.progressStep(0)),Ht.enable(!1),yt?pb(t,i):Vi||l(),f&&qe===s[s.length-1]&&(f.scrollY=!0),new Promise(Nr=>{i.onFinish(()=>{Vi?T&&N?Dt(()=>{T.keyframes([...p.WRAPPER_KEYFRAMES]),N.keyframes([...p.BACKDROP_KEYFRAMES]),i.progressStart(!0,1-qe),v=qe,c(v),v>r?G():ie(),Ht.enable(!0),Nr()}):(Ht.enable(!0),Nr()):Nr()},{oneTimeCallback:!0}).progressEnd(1,0,pn?500:0)})},Ht=Wi({el:o,gestureName:"modalSheet",gesturePriority:40,direction:"y",threshold:10,canStart:ue,onStart:ut,onMove:Fe,onEnd:tt});return{gesture:Ht,moveSheetToBreakpoint:Ot}},Vk=':host{--width:100%;--min-width:auto;--max-width:auto;--height:100%;--min-height:auto;--max-height:auto;--overflow:hidden;--border-radius:0;--border-width:0;--border-style:none;--border-color:transparent;--background:var(--ion-background-color, #fff);--box-shadow:none;--backdrop-opacity:0;left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:absolute;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;outline:none;color:var(--ion-text-color, #000);contain:strict}.modal-wrapper,ion-backdrop{pointer-events:auto}:host(.overlay-hidden){display:none}.modal-wrapper,.modal-shadow{border-radius:var(--border-radius);width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);overflow:var(--overflow);z-index:10}.modal-shadow{position:absolute;background:transparent}@media only screen and (min-width: 768px) and (min-height: 600px){:host{--width:600px;--height:500px;--ion-safe-area-top:0px;--ion-safe-area-bottom:0px;--ion-safe-area-right:0px;--ion-safe-area-left:0px}}@media only screen and (min-width: 768px) and (min-height: 768px){:host{--width:600px;--height:600px}}.modal-handle{left:0px;right:0px;top:5px;border-radius:8px;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;position:absolute;width:36px;height:5px;-webkit-transform:translateZ(0);transform:translateZ(0);border:0;background:var(--ion-color-step-350, var(--ion-background-color-step-350, #c0c0be));cursor:pointer;z-index:11}.modal-handle::before{-webkit-padding-start:4px;padding-inline-start:4px;-webkit-padding-end:4px;padding-inline-end:4px;padding-top:4px;padding-bottom:4px;position:absolute;width:36px;height:5px;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%);content:""}:host(.modal-sheet){--height:calc(100% - (var(--ion-safe-area-top) + 10px))}:host(.modal-sheet) .modal-wrapper,:host(.modal-sheet) .modal-shadow{position:absolute;bottom:0}:host{--backdrop-opacity:var(--ion-backdrop-opacity, 0.4)}:host(.modal-card),:host(.modal-sheet){--border-radius:10px}@media only screen and (min-width: 768px) and (min-height: 600px){:host{--border-radius:10px}}.modal-wrapper{-webkit-transform:translate3d(0, 100%, 0);transform:translate3d(0, 100%, 0)}@media screen and (max-width: 767px){@supports (width: max(0px, 1px)){:host(.modal-card){--height:calc(100% - max(30px, var(--ion-safe-area-top)) - 10px)}}@supports not (width: max(0px, 1px)){:host(.modal-card){--height:calc(100% - 40px)}}:host(.modal-card) .modal-wrapper{border-start-start-radius:var(--border-radius);border-start-end-radius:var(--border-radius);border-end-end-radius:0;border-end-start-radius:0}:host(.modal-card){--backdrop-opacity:0;--width:100%;-ms-flex-align:end;align-items:flex-end}:host(.modal-card) .modal-shadow{display:none}:host(.modal-card) ion-backdrop{pointer-events:none}}@media screen and (min-width: 768px){:host(.modal-card){--width:calc(100% - 120px);--height:calc(100% - (120px + var(--ion-safe-area-top) + var(--ion-safe-area-bottom)));--max-width:720px;--max-height:1000px;--backdrop-opacity:0;--box-shadow:0px 0px 30px 10px rgba(0, 0, 0, 0.1);-webkit-transition:all 0.5s ease-in-out;transition:all 0.5s ease-in-out}:host(.modal-card) .modal-wrapper{-webkit-box-shadow:none;box-shadow:none}:host(.modal-card) .modal-shadow{-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow)}}:host(.modal-sheet) .modal-wrapper{border-start-start-radius:var(--border-radius);border-start-end-radius:var(--border-radius);border-end-end-radius:0;border-end-start-radius:0}',Uk=Vk,zk=':host{--width:100%;--min-width:auto;--max-width:auto;--height:100%;--min-height:auto;--max-height:auto;--overflow:hidden;--border-radius:0;--border-width:0;--border-style:none;--border-color:transparent;--background:var(--ion-background-color, #fff);--box-shadow:none;--backdrop-opacity:0;left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:absolute;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;outline:none;color:var(--ion-text-color, #000);contain:strict}.modal-wrapper,ion-backdrop{pointer-events:auto}:host(.overlay-hidden){display:none}.modal-wrapper,.modal-shadow{border-radius:var(--border-radius);width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);overflow:var(--overflow);z-index:10}.modal-shadow{position:absolute;background:transparent}@media only screen and (min-width: 768px) and (min-height: 600px){:host{--width:600px;--height:500px;--ion-safe-area-top:0px;--ion-safe-area-bottom:0px;--ion-safe-area-right:0px;--ion-safe-area-left:0px}}@media only screen and (min-width: 768px) and (min-height: 768px){:host{--width:600px;--height:600px}}.modal-handle{left:0px;right:0px;top:5px;border-radius:8px;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;position:absolute;width:36px;height:5px;-webkit-transform:translateZ(0);transform:translateZ(0);border:0;background:var(--ion-color-step-350, var(--ion-background-color-step-350, #c0c0be));cursor:pointer;z-index:11}.modal-handle::before{-webkit-padding-start:4px;padding-inline-start:4px;-webkit-padding-end:4px;padding-inline-end:4px;padding-top:4px;padding-bottom:4px;position:absolute;width:36px;height:5px;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%);content:""}:host(.modal-sheet){--height:calc(100% - (var(--ion-safe-area-top) + 10px))}:host(.modal-sheet) .modal-wrapper,:host(.modal-sheet) .modal-shadow{position:absolute;bottom:0}:host{--backdrop-opacity:var(--ion-backdrop-opacity, 0.32)}@media only screen and (min-width: 768px) and (min-height: 600px){:host{--border-radius:2px;--box-shadow:0 28px 48px rgba(0, 0, 0, 0.4)}}.modal-wrapper{-webkit-transform:translate3d(0, 40px, 0);transform:translate3d(0, 40px, 0);opacity:0.01}',Hk=zk,vb=q(class extends W{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.didPresent=O(this,"ionModalDidPresent",7),this.willPresent=O(this,"ionModalWillPresent",7),this.willDismiss=O(this,"ionModalWillDismiss",7),this.didDismiss=O(this,"ionModalDidDismiss",7),this.ionBreakpointDidChange=O(this,"ionBreakpointDidChange",7),this.didPresentShorthand=O(this,"didPresent",7),this.willPresentShorthand=O(this,"willPresent",7),this.willDismissShorthand=O(this,"willDismiss",7),this.didDismissShorthand=O(this,"didDismiss",7),this.ionMount=O(this,"ionMount",7),this.lockController=Cr(),this.triggerController=$y(),this.coreDelegate=Za(),this.isSheetModal=!1,this.inheritedAttributes={},this.inline=!1,this.gestureAnimationDismissing=!1,this.onHandleClick=()=>{let{sheetTransition:e,handleBehavior:o}=this;o!=="cycle"||e!==void 0||this.moveToNextBreakpoint()},this.onBackdropTap=()=>{let{sheetTransition:e}=this;e===void 0&&this.dismiss(void 0,vr)},this.onLifecycle=e=>{let o=this.usersElement,n=Gk[e.type];if(o&&n){let r=new CustomEvent(n,{bubbles:!1,cancelable:!1,detail:e.detail});o.dispatchEvent(r)}},this.presented=!1,this.hasController=!1,this.overlayIndex=void 0,this.delegate=void 0,this.keyboardClose=!0,this.enterAnimation=void 0,this.leaveAnimation=void 0,this.breakpoints=void 0,this.initialBreakpoint=void 0,this.backdropBreakpoint=0,this.handle=void 0,this.handleBehavior="none",this.component=void 0,this.componentProps=void 0,this.cssClass=void 0,this.backdropDismiss=!0,this.showBackdrop=!0,this.animated=!0,this.presentingElement=void 0,this.htmlAttributes=void 0,this.isOpen=!1,this.trigger=void 0,this.keepContentsMounted=!1,this.focusTrap=!0,this.canDismiss=!0}onIsOpenChange(e,o){e===!0&&o===!1?this.present():e===!1&&o===!0&&this.dismiss()}triggerChanged(){let{trigger:e,el:o,triggerController:n}=this;e&&n.addClickListener(o,e)}breakpointsChanged(e){e!==void 0&&(this.sortedBreakpoints=e.sort((o,n)=>o-n))}connectedCallback(){let{el:e}=this;Ka(e),this.triggerChanged()}disconnectedCallback(){this.triggerController.removeClickListener()}componentWillLoad(){var e;let{breakpoints:o,initialBreakpoint:n,el:r,htmlAttributes:i}=this,s=this.isSheetModal=o!==void 0&&n!==void 0,a=["aria-label","role"];this.inheritedAttributes=wo(r,a),i!==void 0&&a.forEach(l=>{i[l]&&(this.inheritedAttributes=Object.assign(Object.assign({},this.inheritedAttributes),{[l]:i[l]}),delete i[l])}),s&&(this.currentBreakpoint=this.initialBreakpoint),o!==void 0&&n!==void 0&&!o.includes(n)&&Pt("Your breakpoints array must include the initialBreakpoint value."),!((e=this.htmlAttributes)===null||e===void 0)&&e.id||Xa(this.el)}componentDidLoad(){this.isOpen===!0&&Dt(()=>this.present()),this.breakpointsChanged(this.breakpoints),this.triggerChanged()}getDelegate(e=!1){if(this.workingDelegate&&!e)return{delegate:this.workingDelegate,inline:this.inline};let o=this.el.parentNode,n=this.inline=o!==null&&!this.hasController,r=this.workingDelegate=n?this.delegate||this.coreDelegate:this.delegate;return{inline:n,delegate:r}}async checkCanDismiss(e,o){let{canDismiss:n}=this;return typeof n=="function"?n(e,o):n}async present(){let e=await this.lockController.lock();if(this.presented){e();return}let{presentingElement:o,el:n}=this;this.currentBreakpoint=this.initialBreakpoint;let{inline:r,delegate:i}=this.getDelegate(!0);this.ionMount.emit(),this.usersElement=await Pn(i,n,this.component,["ion-page"],this.componentProps,r),Gt(n)?await Gi(this.usersElement):this.keepContentsMounted||await Hi(),nt(()=>this.el.classList.add("show-modal"));let s=o!==void 0;s&&B(this)==="ios"&&(this.statusBarStyle=await Nf.getStyle(),hb()),await el(this,"modalEnter",db,Lk,{presentingEl:o,currentBreakpoint:this.initialBreakpoint,backdropBreakpoint:this.backdropBreakpoint}),typeof window<"u"&&(this.keyboardOpenCallback=()=>{this.gesture&&(this.gesture.enable(!1),Dt(()=>{this.gesture&&this.gesture.enable(!0)}))},window.addEventListener(zl,this.keyboardOpenCallback)),this.isSheetModal?this.initSheetGesture():s&&this.initSwipeToClose(),e()}initSwipeToClose(){var e;if(B(this)!=="ios")return;let{el:o}=this,n=this.leaveAnimation||ge.get("modalLeave",fb),r=this.animation=n(o,{presentingEl:this.presentingElement});if(!Lr(o)){$r(o);return}let s=(e=this.statusBarStyle)!==null&&e!==void 0?e:Ri.Default;this.gesture=Nk(o,r,s,()=>{this.gestureAnimationDismissing=!0,Af(this.statusBarStyle),this.animation.onFinish(async()=>{await this.dismiss(void 0,br),this.gestureAnimationDismissing=!1})}),this.gesture.enable(!0)}initSheetGesture(){let{wrapperEl:e,initialBreakpoint:o,backdropBreakpoint:n}=this;if(!e||o===void 0)return;let r=this.enterAnimation||ge.get("modalEnter",db),i=this.animation=r(this.el,{presentingEl:this.presentingElement,currentBreakpoint:o,backdropBreakpoint:n});i.progressStart(!0,1);let{gesture:s,moveSheetToBreakpoint:a}=Bk(this.el,this.backdropEl,e,o,n,i,this.sortedBreakpoints,()=>{var l;return(l=this.currentBreakpoint)!==null&&l!==void 0?l:0},()=>this.sheetOnDismiss(),l=>{this.currentBreakpoint!==l&&(this.currentBreakpoint=l,this.ionBreakpointDidChange.emit({breakpoint:l}))});this.gesture=s,this.moveSheetToBreakpoint=a,this.gesture.enable(!0)}sheetOnDismiss(){this.gestureAnimationDismissing=!0,this.animation.onFinish(async()=>{this.currentBreakpoint=0,this.ionBreakpointDidChange.emit({breakpoint:this.currentBreakpoint}),await this.dismiss(void 0,br),this.gestureAnimationDismissing=!1})}async dismiss(e,o){var n;if(this.gestureAnimationDismissing&&o!==br)return!1;let r=await this.lockController.lock();if(o!=="handler"&&!await this.checkCanDismiss(e,o))return r(),!1;let{presentingElement:i}=this;i!==void 0&&B(this)==="ios"&&Af(this.statusBarStyle),typeof window<"u"&&this.keyboardOpenCallback&&(window.removeEventListener(zl,this.keyboardOpenCallback),this.keyboardOpenCallback=void 0);let a=await tl(this,e,o,"modalLeave",fb,jk,{presentingEl:i,currentBreakpoint:(n=this.currentBreakpoint)!==null&&n!==void 0?n:this.initialBreakpoint,backdropBreakpoint:this.backdropBreakpoint});if(a){let{delegate:l}=this.getDelegate();await gr(l,this.usersElement),nt(()=>this.el.classList.remove("show-modal")),this.animation&&this.animation.destroy(),this.gesture&&this.gesture.destroy()}return this.currentBreakpoint=void 0,this.animation=void 0,r(),a}onDidDismiss(){return yr(this.el,"ionModalDidDismiss")}onWillDismiss(){return yr(this.el,"ionModalWillDismiss")}async setCurrentBreakpoint(e){if(!this.isSheetModal){Pt("setCurrentBreakpoint is only supported on sheet modals.");return}if(!this.breakpoints.includes(e)){Pt(`Attempted to set invalid breakpoint value ${e}. Please double check that the breakpoint value is part of your defined breakpoints.`);return}let{currentBreakpoint:o,moveSheetToBreakpoint:n,canDismiss:r,breakpoints:i,animated:s}=this;o!==e&&n&&(this.sheetTransition=n({breakpoint:e,breakpointOffset:1-o,canDismiss:r!==void 0&&r!==!0&&i[0]===0,animated:s}),await this.sheetTransition,this.sheetTransition=void 0)}async getCurrentBreakpoint(){return this.currentBreakpoint}async moveToNextBreakpoint(){let{breakpoints:e,currentBreakpoint:o}=this;if(!e||o==null)return!1;let n=e.filter(a=>a!==0),i=(n.indexOf(o)+1)%n.length,s=n[i];return await this.setCurrentBreakpoint(s),!0}render(){let{handle:e,isSheetModal:o,presentingElement:n,htmlAttributes:r,handleBehavior:i,inheritedAttributes:s,focusTrap:a}=this,l=e!==!1&&o,c=B(this),u=n!==void 0&&c==="ios",d=i==="cycle";return C(K,Object.assign({key:"b4da5111fe4719fa450c39b2d4bd884a302a7924","no-router":!0,tabindex:"-1"},r,{style:{zIndex:`${2e4+this.overlayIndex}`},class:Object.assign({[c]:!0,"modal-default":!u&&!o,"modal-card":u,"modal-sheet":o,"overlay-hidden":!0,[mo]:a===!1},qa(this.cssClass)),onIonBackdropTap:this.onBackdropTap,onIonModalDidPresent:this.onLifecycle,onIonModalWillPresent:this.onLifecycle,onIonModalWillDismiss:this.onLifecycle,onIonModalDidDismiss:this.onLifecycle}),C("ion-backdrop",{key:"c12dbf747e0eb914eaf1331798548ffc7e147763",ref:p=>this.backdropEl=p,visible:this.showBackdrop,tappable:this.backdropDismiss,part:"backdrop"}),c==="ios"&&C("div",{key:"da546ee80c6576b5acc66e959fd5009e0b9a8160",class:"modal-shadow"}),C("div",Object.assign({key:"306ebe6427440ad5f7ed36d590e562d15a503b75",role:"dialog"},s,{"aria-modal":"true",class:"modal-wrapper ion-overlay-wrapper",part:"content",ref:p=>this.wrapperEl=p}),l&&C("button",{key:"c5d17e346fe255a7c0cacbbf15c0083f2d09c488",class:"modal-handle",tabIndex:d?0:-1,"aria-label":"Activate to adjust the size of the dialog overlaying the screen",onClick:d?this.onHandleClick:void 0,part:"handle"}),C("slot",{key:"5cc714170a00b67f3eda0cd1d6f37c1489a99c83"})))}get el(){return this}static get watchers(){return{isOpen:["onIsOpenChange"],trigger:["triggerChanged"]}}static get style(){return{ios:Uk,md:Hk}}},[33,"ion-modal",{hasController:[4,"has-controller"],overlayIndex:[2,"overlay-index"],delegate:[16],keyboardClose:[4,"keyboard-close"],enterAnimation:[16],leaveAnimation:[16],breakpoints:[16],initialBreakpoint:[2,"initial-breakpoint"],backdropBreakpoint:[2,"backdrop-breakpoint"],handle:[4],handleBehavior:[1,"handle-behavior"],component:[1],componentProps:[16],cssClass:[1,"css-class"],backdropDismiss:[4,"backdrop-dismiss"],showBackdrop:[4,"show-backdrop"],animated:[4],presentingElement:[16],htmlAttributes:[16],isOpen:[4,"is-open"],trigger:[1],keepContentsMounted:[4,"keep-contents-mounted"],focusTrap:[4,"focus-trap"],canDismiss:[4,"can-dismiss"],presented:[32],present:[64],dismiss:[64],onDidDismiss:[64],onWillDismiss:[64],setCurrentBreakpoint:[64],getCurrentBreakpoint:[64]},void 0,{isOpen:["onIsOpenChange"],trigger:["triggerChanged"]}]),Gk={ionModalDidPresent:"ionViewDidEnter",ionModalWillPresent:"ionViewWillEnter",ionModalWillDismiss:"ionViewWillLeave",ionModalDidDismiss:"ionViewDidLeave"};function yb(){if(typeof customElements>"u")return;["ion-modal","ion-backdrop"].forEach(e=>{switch(e){case"ion-modal":customElements.get(e)||customElements.define(e,vb);break;case"ion-backdrop":customElements.get(e)||al();break}})}var bb=yb;var Wk=t=>{if(!t)return{arrowWidth:0,arrowHeight:0};let{width:e,height:o}=t.getBoundingClientRect();return{arrowWidth:e,arrowHeight:o}},wb=(t,e,o)=>{let n=e.getBoundingClientRect(),r=n.height,i=n.width;return t==="cover"&&o&&(i=o.getBoundingClientRect().width),{contentWidth:i,contentHeight:r}},qk=(t,e,o,n)=>{let r=[],s=xe(n).querySelector(".popover-content");switch(e){case"hover":r=[{eventName:"mouseenter",callback:a=>{document.elementFromPoint(a.clientX,a.clientY)!==t&&o.dismiss(void 0,void 0,!1)}}];break;case"context-menu":case"click":default:r=[{eventName:"click",callback:a=>{if(a.target.closest("[data-ion-popover-trigger]")===t){a.stopPropagation();return}o.dismiss(void 0,void 0,!1)}}];break}return r.forEach(({eventName:a,callback:l})=>s.addEventListener(a,l)),()=>{r.forEach(({eventName:a,callback:l})=>s.removeEventListener(a,l))}},Zk=(t,e,o)=>{let n=[];switch(e){case"hover":let r;n=[{eventName:"mouseenter",callback:async i=>{i.stopPropagation(),r&&clearTimeout(r),r=setTimeout(()=>{Dt(()=>{o.presentFromTrigger(i),r=void 0})},100)}},{eventName:"mouseleave",callback:i=>{r&&clearTimeout(r);let s=i.relatedTarget;s&&s.closest("ion-popover")!==o&&o.dismiss(void 0,void 0,!1)}},{eventName:"click",callback:i=>i.stopPropagation()},{eventName:"ionPopoverActivateTrigger",callback:i=>o.presentFromTrigger(i,!0)}];break;case"context-menu":n=[{eventName:"contextmenu",callback:i=>{i.preventDefault(),o.presentFromTrigger(i)}},{eventName:"click",callback:i=>i.stopPropagation()},{eventName:"ionPopoverActivateTrigger",callback:i=>o.presentFromTrigger(i,!0)}];break;case"click":default:n=[{eventName:"click",callback:i=>o.presentFromTrigger(i)},{eventName:"ionPopoverActivateTrigger",callback:i=>o.presentFromTrigger(i,!0)}];break}return n.forEach(({eventName:r,callback:i})=>t.addEventListener(r,i)),t.setAttribute("data-ion-popover-trigger","true"),()=>{n.forEach(({eventName:r,callback:i})=>t.removeEventListener(r,i)),t.removeAttribute("data-ion-popover-trigger")}},Cb=(t,e)=>!e||e.tagName!=="ION-ITEM"?-1:t.findIndex(o=>o===e),Yk=(t,e)=>{let o=Cb(t,e);return t[o+1]},Qk=(t,e)=>{let o=Cb(t,e);return t[o-1]},cl=t=>{let o=xe(t).querySelector("button");o&&Dt(()=>o.focus())},Kk=t=>t.hasAttribute("data-ion-popover-trigger"),Xk=t=>{let e=async o=>{var n;let r=document.activeElement,i=[],s=(n=o.target)===null||n===void 0?void 0:n.tagName;if(!(s!=="ION-POPOVER"&&s!=="ION-ITEM")){try{i=Array.from(t.querySelectorAll("ion-item:not(ion-popover ion-popover *):not([disabled])"))}catch{}switch(o.key){case"ArrowLeft":await t.getParentPopover()&&t.dismiss(void 0,void 0,!1);break;case"ArrowDown":o.preventDefault();let l=Yk(i,r);l!==void 0&&cl(l);break;case"ArrowUp":o.preventDefault();let c=Qk(i,r);c!==void 0&&cl(c);break;case"Home":o.preventDefault();let u=i[0];u!==void 0&&cl(u);break;case"End":o.preventDefault();let d=i[i.length-1];d!==void 0&&cl(d);break;case"ArrowRight":case" ":case"Enter":if(r&&Kk(r)){let p=new CustomEvent("ionPopoverActivateTrigger");r.dispatchEvent(p)}break}}};return t.addEventListener("keydown",e),()=>t.removeEventListener("keydown",e)},Ib=(t,e,o,n,r,i,s,a,l,c,u)=>{var d;let p={top:0,left:0,width:0,height:0};switch(i){case"event":if(!u)return l;let Q=u;p={top:Q.clientY,left:Q.clientX,width:1,height:1};break;case"trigger":default:let P=u,G=c||((d=P==null?void 0:P.detail)===null||d===void 0?void 0:d.ionShadowTarget)||(P==null?void 0:P.target);if(!G)return l;let ie=G.getBoundingClientRect();p={top:ie.top,left:ie.left,width:ie.width,height:ie.height};break}let f=t_(s,p,e,o,n,r,t),g=n_(a,s,p,e,o),v=f.top+g.top,b=f.left+g.left,{arrowTop:D,arrowLeft:I}=e_(s,n,r,v,b,e,o,t),{originX:T,originY:N}=Jk(s,a,t);return{top:v,left:b,referenceCoordinates:p,arrowTop:D,arrowLeft:I,originX:T,originY:N}},Jk=(t,e,o)=>{switch(t){case"top":return{originX:Db(e),originY:"bottom"};case"bottom":return{originX:Db(e),originY:"top"};case"left":return{originX:"right",originY:ul(e)};case"right":return{originX:"left",originY:ul(e)};case"start":return{originX:o?"left":"right",originY:ul(e)};case"end":return{originX:o?"right":"left",originY:ul(e)}}},Db=t=>{switch(t){case"start":return"left";case"center":return"center";case"end":return"right"}},ul=t=>{switch(t){case"start":return"top";case"center":return"center";case"end":return"bottom"}},e_=(t,e,o,n,r,i,s,a)=>{let l={arrowTop:n+s/2-e/2,arrowLeft:r+i-e/2},c={arrowTop:n+s/2-e/2,arrowLeft:r-e*1.5};switch(t){case"top":return{arrowTop:n+s,arrowLeft:r+i/2-e/2};case"bottom":return{arrowTop:n-o,arrowLeft:r+i/2-e/2};case"left":return l;case"right":return c;case"start":return a?c:l;case"end":return a?l:c;default:return{arrowTop:0,arrowLeft:0}}},t_=(t,e,o,n,r,i,s)=>{let a={top:e.top,left:e.left-o-r},l={top:e.top,left:e.left+e.width+r};switch(t){case"top":return{top:e.top-n-i,left:e.left};case"right":return l;case"bottom":return{top:e.top+e.height+i,left:e.left};case"left":return a;case"start":return s?l:a;case"end":return s?a:l}},n_=(t,e,o,n,r)=>{switch(t){case"center":return r_(e,o,n,r);case"end":return o_(e,o,n,r);case"start":default:return{top:0,left:0}}},o_=(t,e,o,n)=>{switch(t){case"start":case"end":case"left":case"right":return{top:-(n-e.height),left:0};case"top":case"bottom":default:return{top:0,left:-(o-e.width)}}},r_=(t,e,o,n)=>{switch(t){case"start":case"end":case"left":case"right":return{top:-(n/2-e.height/2),left:0};case"top":case"bottom":default:return{top:0,left:-(o/2-e.width/2)}}},Eb=(t,e,o,n,r,i,s,a,l,c,u,d,p=0,f=0,g=0)=>{let v=p,b=f,D=o,I=e,T,N=c,Q=u,P=!1,G=!1,ie=d?d.top+d.height:i/2-a/2,ue=d?d.height:0,ut=!1;return Dr&&(G=!0,D=r-s-n,N="right"),ie+ue+a>i&&(t==="top"||t==="bottom")&&(ie-a>0?(I=Math.max(12,ie-a-ue-(g-1)),v=I+a,Q="bottom",ut=!0):T=n),{top:I,left:D,bottom:T,originX:N,originY:Q,checkSafeAreaLeft:P,checkSafeAreaRight:G,arrowTop:v,arrowLeft:b,addPopoverBottomClass:ut}},i_=(t,e=!1,o,n)=>!(!o&&!n||t!=="top"&&t!=="bottom"&&e),s_=5,a_=(t,e)=>{var o;let{event:n,size:r,trigger:i,reference:s,side:a,align:l}=e,c=t.ownerDocument,u=c.dir==="rtl",d=c.defaultView.innerWidth,p=c.defaultView.innerHeight,f=xe(t),g=f.querySelector(".popover-content"),v=f.querySelector(".popover-arrow"),b=i||((o=n==null?void 0:n.detail)===null||o===void 0?void 0:o.ionShadowTarget)||(n==null?void 0:n.target),{contentWidth:D,contentHeight:I}=wb(r,g,b),{arrowWidth:T,arrowHeight:N}=Wk(v),Q={top:p/2-I/2,left:d/2-D/2,originX:u?"right":"left",originY:"top"},P=Ib(u,D,I,T,N,s,a,l,Q,i,n),G=r==="cover"?0:s_,ie=r==="cover"?0:25,{originX:ue,originY:ut,top:Fe,left:tt,bottom:Ot,checkSafeAreaLeft:Ht,checkSafeAreaRight:Ie,arrowTop:Ge,arrowLeft:We,addPopoverBottomClass:dt}=Eb(a,P.top,P.left,G,d,p,D,I,ie,P.originX,P.originY,P.referenceCoordinates,P.arrowTop,P.arrowLeft,N),pn=H(),yt=H(),qe=H();return yt.addElement(f.querySelector("ion-backdrop")).fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]),qe.addElement(f.querySelector(".popover-arrow")).addElement(f.querySelector(".popover-content")).fromTo("opacity",.01,1),pn.easing("ease").duration(100).beforeAddWrite(()=>{r==="cover"&&t.style.setProperty("--width",`${D}px`),dt&&t.classList.add("popover-bottom"),Ot!==void 0&&g.style.setProperty("bottom",`${Ot}px`);let Vi=" + var(--ion-safe-area-left, 0)",Nr=" - var(--ion-safe-area-right, 0)",Ui=`${tt}px`;if(Ht&&(Ui=`${tt}px${Vi}`),Ie&&(Ui=`${tt}px${Nr}`),g.style.setProperty("top",`calc(${Fe}px + var(--offset-y, 0))`),g.style.setProperty("left",`calc(${Ui} + var(--offset-x, 0))`),g.style.setProperty("transform-origin",`${ut} ${ue}`),v!==null){let ID=P.top!==Fe||P.left!==tt;i_(a,ID,n,i)?(v.style.setProperty("top",`calc(${Ge}px + var(--offset-y, 0))`),v.style.setProperty("left",`calc(${We}px + var(--offset-x, 0))`)):v.style.setProperty("display","none")}}).addAnimation([yt,qe])},l_=t=>{let e=xe(t),o=e.querySelector(".popover-content"),n=e.querySelector(".popover-arrow"),r=H(),i=H(),s=H();return i.addElement(e.querySelector("ion-backdrop")).fromTo("opacity","var(--backdrop-opacity)",0),s.addElement(e.querySelector(".popover-arrow")).addElement(e.querySelector(".popover-content")).fromTo("opacity",.99,0),r.easing("ease").afterAddWrite(()=>{t.style.removeProperty("--width"),t.classList.remove("popover-bottom"),o.style.removeProperty("top"),o.style.removeProperty("left"),o.style.removeProperty("bottom"),o.style.removeProperty("transform-origin"),n&&(n.style.removeProperty("top"),n.style.removeProperty("left"),n.style.removeProperty("display"))}).duration(300).addAnimation([i,s])},c_=12,u_=(t,e)=>{var o;let{event:n,size:r,trigger:i,reference:s,side:a,align:l}=e,c=t.ownerDocument,u=c.dir==="rtl",d=c.defaultView.innerWidth,p=c.defaultView.innerHeight,f=xe(t),g=f.querySelector(".popover-content"),v=i||((o=n==null?void 0:n.detail)===null||o===void 0?void 0:o.ionShadowTarget)||(n==null?void 0:n.target),{contentWidth:b,contentHeight:D}=wb(r,g,v),I={top:p/2-D/2,left:d/2-b/2,originX:u?"right":"left",originY:"top"},T=Ib(u,b,D,0,0,s,a,l,I,i,n),N=r==="cover"?0:c_,{originX:Q,originY:P,top:G,left:ie,bottom:ue}=Eb(a,T.top,T.left,N,d,p,b,D,0,T.originX,T.originY,T.referenceCoordinates),ut=H(),Fe=H(),tt=H(),Ot=H(),Ht=H();return Fe.addElement(f.querySelector("ion-backdrop")).fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]),tt.addElement(f.querySelector(".popover-wrapper")).duration(150).fromTo("opacity",.01,1),Ot.addElement(g).beforeStyles({top:`calc(${G}px + var(--offset-y, 0px))`,left:`calc(${ie}px + var(--offset-x, 0px))`,"transform-origin":`${P} ${Q}`}).beforeAddWrite(()=>{ue!==void 0&&g.style.setProperty("bottom",`${ue}px`)}).fromTo("transform","scale(0.8)","scale(1)"),Ht.addElement(f.querySelector(".popover-viewport")).fromTo("opacity",.01,1),ut.easing("cubic-bezier(0.36,0.66,0.04,1)").duration(300).beforeAddWrite(()=>{r==="cover"&&t.style.setProperty("--width",`${b}px`),P==="bottom"&&t.classList.add("popover-bottom")}).addAnimation([Fe,tt,Ot,Ht])},d_=t=>{let e=xe(t),o=e.querySelector(".popover-content"),n=H(),r=H(),i=H();return r.addElement(e.querySelector("ion-backdrop")).fromTo("opacity","var(--backdrop-opacity)",0),i.addElement(e.querySelector(".popover-wrapper")).fromTo("opacity",.99,0),n.easing("ease").afterAddWrite(()=>{t.style.removeProperty("--width"),t.classList.remove("popover-bottom"),o.style.removeProperty("top"),o.style.removeProperty("left"),o.style.removeProperty("bottom"),o.style.removeProperty("transform-origin")}).duration(150).addAnimation([r,i])},f_=':host{--background:var(--ion-background-color, #fff);--min-width:0;--min-height:0;--max-width:auto;--height:auto;--offset-x:0px;--offset-y:0px;left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:fixed;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;outline:none;color:var(--ion-text-color, #000);z-index:1001}:host(.popover-nested){pointer-events:none}:host(.popover-nested) .popover-wrapper{pointer-events:auto}:host(.overlay-hidden){display:none}.popover-wrapper{z-index:10}.popover-content{display:-ms-flexbox;display:flex;position:absolute;-ms-flex-direction:column;flex-direction:column;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);background:var(--background);-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);overflow:auto;z-index:10}::slotted(.popover-viewport){--ion-safe-area-top:0px;--ion-safe-area-right:0px;--ion-safe-area-bottom:0px;--ion-safe-area-left:0px;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}:host(.popover-nested.popover-side-left){--offset-x:5px}:host(.popover-nested.popover-side-right){--offset-x:-5px}:host(.popover-nested.popover-side-start){--offset-x:5px}:host-context([dir=rtl]):host(.popover-nested.popover-side-start),:host-context([dir=rtl]).popover-nested.popover-side-start{--offset-x:-5px}@supports selector(:dir(rtl)){:host(.popover-nested.popover-side-start:dir(rtl)){--offset-x:-5px}}:host(.popover-nested.popover-side-end){--offset-x:-5px}:host-context([dir=rtl]):host(.popover-nested.popover-side-end),:host-context([dir=rtl]).popover-nested.popover-side-end{--offset-x:5px}@supports selector(:dir(rtl)){:host(.popover-nested.popover-side-end:dir(rtl)){--offset-x:5px}}:host{--width:200px;--max-height:90%;--box-shadow:none;--backdrop-opacity:var(--ion-backdrop-opacity, 0.08)}:host(.popover-desktop){--box-shadow:0px 4px 16px 0px rgba(0, 0, 0, 0.12)}.popover-content{border-radius:10px}:host(.popover-desktop) .popover-content{border:0.5px solid var(--ion-color-step-100, var(--ion-background-color-step-100, #e6e6e6))}.popover-arrow{display:block;position:absolute;width:20px;height:10px;overflow:hidden;z-index:11}.popover-arrow::after{top:3px;border-radius:3px;position:absolute;width:14px;height:14px;-webkit-transform:rotate(45deg);transform:rotate(45deg);background:var(--background);content:"";z-index:10}.popover-arrow::after{inset-inline-start:3px}:host(.popover-bottom) .popover-arrow{top:auto;bottom:-10px}:host(.popover-bottom) .popover-arrow::after{top:-6px}:host(.popover-side-left) .popover-arrow{-webkit-transform:rotate(90deg);transform:rotate(90deg)}:host(.popover-side-right) .popover-arrow{-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}:host(.popover-side-top) .popover-arrow{-webkit-transform:rotate(180deg);transform:rotate(180deg)}:host(.popover-side-start) .popover-arrow{-webkit-transform:rotate(90deg);transform:rotate(90deg)}:host-context([dir=rtl]):host(.popover-side-start) .popover-arrow,:host-context([dir=rtl]).popover-side-start .popover-arrow{-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}@supports selector(:dir(rtl)){:host(.popover-side-start:dir(rtl)) .popover-arrow{-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}}:host(.popover-side-end) .popover-arrow{-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}:host-context([dir=rtl]):host(.popover-side-end) .popover-arrow,:host-context([dir=rtl]).popover-side-end .popover-arrow{-webkit-transform:rotate(90deg);transform:rotate(90deg)}@supports selector(:dir(rtl)){:host(.popover-side-end:dir(rtl)) .popover-arrow{-webkit-transform:rotate(90deg);transform:rotate(90deg)}}.popover-arrow,.popover-content{opacity:0}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){:host(.popover-translucent) .popover-content,:host(.popover-translucent) .popover-arrow::after{background:rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8);-webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px)}}',h_=f_,p_=":host{--background:var(--ion-background-color, #fff);--min-width:0;--min-height:0;--max-width:auto;--height:auto;--offset-x:0px;--offset-y:0px;left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:fixed;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;outline:none;color:var(--ion-text-color, #000);z-index:1001}:host(.popover-nested){pointer-events:none}:host(.popover-nested) .popover-wrapper{pointer-events:auto}:host(.overlay-hidden){display:none}.popover-wrapper{z-index:10}.popover-content{display:-ms-flexbox;display:flex;position:absolute;-ms-flex-direction:column;flex-direction:column;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);background:var(--background);-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);overflow:auto;z-index:10}::slotted(.popover-viewport){--ion-safe-area-top:0px;--ion-safe-area-right:0px;--ion-safe-area-bottom:0px;--ion-safe-area-left:0px;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}:host(.popover-nested.popover-side-left){--offset-x:5px}:host(.popover-nested.popover-side-right){--offset-x:-5px}:host(.popover-nested.popover-side-start){--offset-x:5px}:host-context([dir=rtl]):host(.popover-nested.popover-side-start),:host-context([dir=rtl]).popover-nested.popover-side-start{--offset-x:-5px}@supports selector(:dir(rtl)){:host(.popover-nested.popover-side-start:dir(rtl)){--offset-x:-5px}}:host(.popover-nested.popover-side-end){--offset-x:-5px}:host-context([dir=rtl]):host(.popover-nested.popover-side-end),:host-context([dir=rtl]).popover-nested.popover-side-end{--offset-x:5px}@supports selector(:dir(rtl)){:host(.popover-nested.popover-side-end:dir(rtl)){--offset-x:5px}}:host{--width:250px;--max-height:90%;--box-shadow:0 5px 5px -3px rgba(0, 0, 0, 0.2), 0 8px 10px 1px rgba(0, 0, 0, 0.14), 0 3px 14px 2px rgba(0, 0, 0, 0.12);--backdrop-opacity:var(--ion-backdrop-opacity, 0.32)}.popover-content{border-radius:4px;-webkit-transform-origin:left top;transform-origin:left top}:host-context([dir=rtl]) .popover-content{-webkit-transform-origin:right top;transform-origin:right top}[dir=rtl] .popover-content{-webkit-transform-origin:right top;transform-origin:right top}@supports selector(:dir(rtl)){.popover-content:dir(rtl){-webkit-transform-origin:right top;transform-origin:right top}}.popover-viewport{-webkit-transition-delay:100ms;transition-delay:100ms}.popover-wrapper{opacity:0}",m_=p_,xb=q(class extends W{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.didPresent=O(this,"ionPopoverDidPresent",7),this.willPresent=O(this,"ionPopoverWillPresent",7),this.willDismiss=O(this,"ionPopoverWillDismiss",7),this.didDismiss=O(this,"ionPopoverDidDismiss",7),this.didPresentShorthand=O(this,"didPresent",7),this.willPresentShorthand=O(this,"willPresent",7),this.willDismissShorthand=O(this,"willDismiss",7),this.didDismissShorthand=O(this,"didDismiss",7),this.ionMount=O(this,"ionMount",7),this.parentPopover=null,this.coreDelegate=Za(),this.lockController=Cr(),this.inline=!1,this.focusDescendantOnPresent=!1,this.onBackdropTap=()=>{this.dismiss(void 0,vr)},this.onLifecycle=e=>{let o=this.usersElement,n=g_[e.type];if(o&&n){let r=new CustomEvent(n,{bubbles:!1,cancelable:!1,detail:e.detail});o.dispatchEvent(r)}},this.configureTriggerInteraction=()=>{let{trigger:e,triggerAction:o,el:n,destroyTriggerInteraction:r}=this;if(r&&r(),e===void 0)return;let i=this.triggerEl=e!==void 0?document.getElementById(e):null;if(!i){Pt(`A trigger element with the ID "${e}" was not found in the DOM. The trigger element must be in the DOM when the "trigger" property is set on ion-popover.`,this.el);return}this.destroyTriggerInteraction=Zk(i,o,n)},this.configureKeyboardInteraction=()=>{let{destroyKeyboardInteraction:e,el:o}=this;e&&e(),this.destroyKeyboardInteraction=Xk(o)},this.configureDismissInteraction=()=>{let{destroyDismissInteraction:e,parentPopover:o,triggerAction:n,triggerEl:r,el:i}=this;!o||!r||(e&&e(),this.destroyDismissInteraction=qk(r,n,i,o))},this.presented=!1,this.hasController=!1,this.delegate=void 0,this.overlayIndex=void 0,this.enterAnimation=void 0,this.leaveAnimation=void 0,this.component=void 0,this.componentProps=void 0,this.keyboardClose=!0,this.cssClass=void 0,this.backdropDismiss=!0,this.event=void 0,this.showBackdrop=!0,this.translucent=!1,this.animated=!0,this.htmlAttributes=void 0,this.triggerAction="click",this.trigger=void 0,this.size="auto",this.dismissOnSelect=!1,this.reference="trigger",this.side="bottom",this.alignment=void 0,this.arrow=!0,this.isOpen=!1,this.keyboardEvents=!1,this.focusTrap=!0,this.keepContentsMounted=!1}onTriggerChange(){this.configureTriggerInteraction()}onIsOpenChange(e,o){e===!0&&o===!1?this.present():e===!1&&o===!0&&this.dismiss()}connectedCallback(){let{configureTriggerInteraction:e,el:o}=this;Ka(o),e()}disconnectedCallback(){let{destroyTriggerInteraction:e}=this;e&&e()}componentWillLoad(){var e,o;let{el:n}=this,r=(o=(e=this.htmlAttributes)===null||e===void 0?void 0:e.id)!==null&&o!==void 0?o:Xa(n);this.parentPopover=n.closest(`ion-popover:not(#${r})`),this.alignment===void 0&&(this.alignment=B(this)==="ios"?"center":"start")}componentDidLoad(){let{parentPopover:e,isOpen:o}=this;o===!0&&Dt(()=>this.present()),e&&Ln(e,"ionPopoverWillDismiss",()=>{this.dismiss(void 0,void 0,!1)}),this.configureTriggerInteraction()}async presentFromTrigger(e,o=!1){this.focusDescendantOnPresent=o,await this.present(e),this.focusDescendantOnPresent=!1}getDelegate(e=!1){if(this.workingDelegate&&!e)return{delegate:this.workingDelegate,inline:this.inline};let o=this.el.parentNode,n=this.inline=o!==null&&!this.hasController,r=this.workingDelegate=n?this.delegate||this.coreDelegate:this.delegate;return{inline:n,delegate:r}}async present(e){let o=await this.lockController.lock();if(this.presented){o();return}let{el:n}=this,{inline:r,delegate:i}=this.getDelegate(!0);this.ionMount.emit(),this.usersElement=await Pn(i,n,this.component,["popover-viewport"],this.componentProps,r),this.keyboardEvents||this.configureKeyboardInteraction(),this.configureDismissInteraction(),Gt(n)?await Gi(this.usersElement):this.keepContentsMounted||await Hi(),await el(this,"popoverEnter",a_,u_,{event:e||this.event,size:this.size,trigger:this.triggerEl,reference:this.reference,side:this.side,align:this.alignment}),this.focusDescendantOnPresent&&Ya(n),o()}async dismiss(e,o,n=!0){let r=await this.lockController.lock(),{destroyKeyboardInteraction:i,destroyDismissInteraction:s}=this;n&&this.parentPopover&&this.parentPopover.dismiss(e,o,n);let a=await tl(this,e,o,"popoverLeave",l_,d_,this.event);if(a){i&&(i(),this.destroyKeyboardInteraction=void 0),s&&(s(),this.destroyDismissInteraction=void 0);let{delegate:l}=this.getDelegate();await gr(l,this.usersElement)}return r(),a}async getParentPopover(){return this.parentPopover}onDidDismiss(){return yr(this.el,"ionPopoverDidDismiss")}onWillDismiss(){return yr(this.el,"ionPopoverWillDismiss")}render(){let e=B(this),{onLifecycle:o,parentPopover:n,dismissOnSelect:r,side:i,arrow:s,htmlAttributes:a,focusTrap:l}=this,c=Ne("desktop"),u=s&&!n;return C(K,Object.assign({key:"ffe8b37c9ffb5cac210a7307e6cdfcf78712905b","aria-modal":"true","no-router":!0,tabindex:"-1"},a,{style:{zIndex:`${2e4+this.overlayIndex}`},class:Object.assign(Object.assign({},qa(this.cssClass)),{[e]:!0,"popover-translucent":this.translucent,"overlay-hidden":!0,"popover-desktop":c,[`popover-side-${i}`]:!0,[mo]:l===!1,"popover-nested":!!n}),onIonPopoverDidPresent:o,onIonPopoverWillPresent:o,onIonPopoverWillDismiss:o,onIonPopoverDidDismiss:o,onIonBackdropTap:this.onBackdropTap}),!n&&C("ion-backdrop",{key:"12b3ffa3928b4d56a4f09c3d2f5d493d47b45255",tappable:this.backdropDismiss,visible:this.showBackdrop,part:"backdrop"}),C("div",{key:"2c2862d5c7e75b637973c712b4982bf4978c0cdf",class:"popover-wrapper ion-overlay-wrapper",onClick:r?()=>this.dismiss():void 0},u&&C("div",{key:"0cfacc52afaa7abc28c1b7742889d7a1c23a37ad",class:"popover-arrow",part:"arrow"}),C("div",{key:"3ef570c44d4fe7f063dd419008c92c8c40d3cd22",class:"popover-content",part:"content"},C("slot",{key:"6fc5dfdce20fee1642bc1f05d41b5bf7d1034457"}))))}get el(){return this}static get watchers(){return{trigger:["onTriggerChange"],triggerAction:["onTriggerChange"],isOpen:["onIsOpenChange"]}}static get style(){return{ios:h_,md:m_}}},[33,"ion-popover",{hasController:[4,"has-controller"],delegate:[16],overlayIndex:[2,"overlay-index"],enterAnimation:[16],leaveAnimation:[16],component:[1],componentProps:[16],keyboardClose:[4,"keyboard-close"],cssClass:[1,"css-class"],backdropDismiss:[4,"backdrop-dismiss"],event:[8],showBackdrop:[4,"show-backdrop"],translucent:[4],animated:[4],htmlAttributes:[16],triggerAction:[1,"trigger-action"],trigger:[1],size:[1],dismissOnSelect:[4,"dismiss-on-select"],reference:[1],side:[1],alignment:[1025],arrow:[4],isOpen:[4,"is-open"],keyboardEvents:[4,"keyboard-events"],focusTrap:[4,"focus-trap"],keepContentsMounted:[4,"keep-contents-mounted"],presented:[32],presentFromTrigger:[64],present:[64],dismiss:[64],getParentPopover:[64],onDidDismiss:[64],onWillDismiss:[64]},void 0,{trigger:["onTriggerChange"],triggerAction:["onTriggerChange"],isOpen:["onIsOpenChange"]}]),g_={ionPopoverDidPresent:"ionViewDidEnter",ionPopoverWillPresent:"ionViewWillEnter",ionPopoverWillDismiss:"ionViewWillLeave",ionPopoverDidDismiss:"ionViewDidLeave"};function Sb(){if(typeof customElements>"u")return;["ion-popover","ion-backdrop"].forEach(e=>{switch(e){case"ion-popover":customElements.get(e)||customElements.define(e,xb);break;case"ion-backdrop":customElements.get(e)||al();break}})}var Tb=Sb;var v_="html.plt-mobile ion-app{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}html.plt-mobile ion-app [contenteditable]{-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}ion-app.force-statusbar-padding{--ion-safe-area-top:20px}",y_=v_,b_=q(class extends W{constructor(){super(),this.__registerHost()}componentDidLoad(){Do.isBrowser&&w_(async()=>{let e=Ne(window,"hybrid");if(ge.getBoolean("_testing")||import("./index9-WPIKX67G.js").then(r=>r.startTapClick(ge)),ge.getBoolean("statusTap",e)&&import("./status-tap-B5YZMDD6.js").then(r=>r.startStatusTap()),ge.getBoolean("inputShims",D_())){let r=Ne(window,"ios")?"ios":"android";import("./input-shims-BPQGXCCG.js").then(i=>i.startInputShims(ge,r))}let o=await import("./hardware-back-button-U2GQDDAG.js"),n=e||Pr();ge.getBoolean("hardwareBackButton",n)?o.startHardwareBackButton():(Pr()&&Pt("experimentalCloseWatcher was set to `true`, but hardwareBackButton was set to `false`. Both config options must be `true` for the Close Watcher API to be used."),o.blockHardwareBackButton()),typeof window<"u"&&import("./keyboard2-MFAHWUFX.js").then(r=>r.startKeyboardAssist(window)),import("./focus-visible-RKAWZ4OE.js").then(r=>this.focusVisible=r.startFocusVisible())})}async setFocus(e){this.focusVisible&&this.focusVisible.setFocus(e)}render(){let e=B(this);return C(K,{key:"96715520fd05d6f0e6fa26a8ba78792cfccd4c0a",class:{[e]:!0,"ion-page":!0,"force-statusbar-padding":ge.getBoolean("_forceStatusbarPadding")}})}get el(){return this}static get style(){return y_}},[0,"ion-app",{setFocus:[64]}]),D_=()=>!!(Ne(window,"ios")&&Ne(window,"mobile")||Ne(window,"android")&&Ne(window,"mobileweb")),w_=t=>{"requestIdleCallback"in window?window.requestIdleCallback(t):setTimeout(t,32)};function C_(){if(typeof customElements>"u")return;["ion-app"].forEach(e=>{switch(e){case"ion-app":customElements.get(e)||customElements.define(e,b_);break}})}var Mb=C_;var I_=':host{--background:var(--ion-background-color, #fff);--color:var(--ion-text-color, #000);--padding-top:0px;--padding-bottom:0px;--padding-start:0px;--padding-end:0px;--keyboard-offset:0px;--offset-top:0px;--offset-bottom:0px;--overflow:auto;display:block;position:relative;-ms-flex:1;flex:1;width:100%;height:100%;margin:0 !important;padding:0 !important;font-family:var(--ion-font-family, inherit);contain:size style}:host(.ion-color) .inner-scroll{background:var(--ion-color-base);color:var(--ion-color-contrast)}#background-content{left:0px;right:0px;top:calc(var(--offset-top) * -1);bottom:calc(var(--offset-bottom) * -1);position:absolute;background:var(--background)}.inner-scroll{left:0px;right:0px;top:calc(var(--offset-top) * -1);bottom:calc(var(--offset-bottom) * -1);-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:calc(var(--padding-top) + var(--offset-top));padding-bottom:calc(var(--padding-bottom) + var(--keyboard-offset) + var(--offset-bottom));position:absolute;color:var(--color);-webkit-box-sizing:border-box;box-sizing:border-box;overflow:hidden;-ms-touch-action:pan-x pan-y pinch-zoom;touch-action:pan-x pan-y pinch-zoom}.scroll-y,.scroll-x{-webkit-overflow-scrolling:touch;z-index:0;will-change:scroll-position}.scroll-y{overflow-y:var(--overflow);overscroll-behavior-y:contain}.scroll-x{overflow-x:var(--overflow);overscroll-behavior-x:contain}.overscroll::before,.overscroll::after{position:absolute;width:1px;height:1px;content:""}.overscroll::before{bottom:-1px}.overscroll::after{top:-1px}:host(.content-sizing){display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;min-height:0;contain:none}:host(.content-sizing) .inner-scroll{position:relative;top:0;bottom:0;margin-top:calc(var(--offset-top) * -1);margin-bottom:calc(var(--offset-bottom) * -1)}.transition-effect{display:none;position:absolute;width:100%;height:100vh;opacity:0;pointer-events:none}:host(.content-ltr) .transition-effect{left:-100%;}:host(.content-rtl) .transition-effect{right:-100%;}.transition-cover{position:absolute;right:0;width:100%;height:100%;background:black;opacity:0.1}.transition-shadow{display:block;position:absolute;width:100%;height:100%;-webkit-box-shadow:inset -9px 0 9px 0 rgba(0, 0, 100, 0.03);box-shadow:inset -9px 0 9px 0 rgba(0, 0, 100, 0.03)}:host(.content-ltr) .transition-shadow{right:0;}:host(.content-rtl) .transition-shadow{left:0;-webkit-transform:scaleX(-1);transform:scaleX(-1)}::slotted([slot=fixed]){position:absolute;-webkit-transform:translateZ(0);transform:translateZ(0)}',E_=I_,kb=q(class extends W{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.ionScrollStart=O(this,"ionScrollStart",7),this.ionScroll=O(this,"ionScroll",7),this.ionScrollEnd=O(this,"ionScrollEnd",7),this.watchDog=null,this.isScrolling=!1,this.lastScroll=0,this.queued=!1,this.cTop=-1,this.cBottom=-1,this.isMainContent=!0,this.resizeTimeout=null,this.inheritedAttributes={},this.tabsElement=null,this.detail={scrollTop:0,scrollLeft:0,type:"scroll",event:void 0,startX:0,startY:0,startTime:0,currentX:0,currentY:0,velocityX:0,velocityY:0,deltaX:0,deltaY:0,currentTime:0,data:void 0,isScrolling:!0},this.color=void 0,this.fullscreen=!1,this.fixedSlotPlacement="after",this.forceOverscroll=void 0,this.scrollX=!1,this.scrollY=!0,this.scrollEvents=!1}componentWillLoad(){this.inheritedAttributes=zi(this.el)}connectedCallback(){if(this.isMainContent=this.el.closest("ion-menu, ion-popover, ion-modal")===null,Gt(this.el)){let e=this.tabsElement=this.el.closest("ion-tabs");e!==null&&(this.tabsLoadCallback=()=>this.resize(),e.addEventListener("ionTabBarLoaded",this.tabsLoadCallback))}}disconnectedCallback(){if(this.onScrollEnd(),Gt(this.el)){let{tabsElement:e,tabsLoadCallback:o}=this;e!==null&&o!==void 0&&e.removeEventListener("ionTabBarLoaded",o),this.tabsElement=null,this.tabsLoadCallback=void 0}}onResize(){this.resizeTimeout&&(clearTimeout(this.resizeTimeout),this.resizeTimeout=null),this.resizeTimeout=setTimeout(()=>{this.el.offsetParent!==null&&this.resize()},100)}shouldForceOverscroll(){let{forceOverscroll:e}=this,o=B(this);return e===void 0?o==="ios"&&Ne("ios"):e}resize(){Do.isBrowser&&(this.fullscreen?mn(()=>this.readDimensions()):(this.cTop!==0||this.cBottom!==0)&&(this.cTop=this.cBottom=0,Fn(this)))}readDimensions(){let e=S_(this.el),o=Math.max(this.el.offsetTop,0),n=Math.max(e.offsetHeight-o-this.el.offsetHeight,0);(o!==this.cTop||n!==this.cBottom)&&(this.cTop=o,this.cBottom=n,Fn(this))}onScroll(e){let o=Date.now(),n=!this.isScrolling;this.lastScroll=o,n&&this.onScrollStart(),!this.queued&&this.scrollEvents&&(this.queued=!0,mn(r=>{this.queued=!1,this.detail.event=e,T_(this.detail,this.scrollEl,r,n),this.ionScroll.emit(this.detail)}))}async getScrollElement(){return this.scrollEl||await new Promise(e=>bt(this.el,e)),Promise.resolve(this.scrollEl)}async getBackgroundElement(){return this.backgroundContentEl||await new Promise(e=>bt(this.el,e)),Promise.resolve(this.backgroundContentEl)}scrollToTop(e=0){return this.scrollToPoint(void 0,0,e)}async scrollToBottom(e=0){let o=await this.getScrollElement(),n=o.scrollHeight-o.clientHeight;return this.scrollToPoint(void 0,n,e)}async scrollByPoint(e,o,n){let r=await this.getScrollElement();return this.scrollToPoint(e+r.scrollLeft,o+r.scrollTop,n)}async scrollToPoint(e,o,n=0){let r=await this.getScrollElement();if(n<32){o!=null&&(r.scrollTop=o),e!=null&&(r.scrollLeft=e);return}let i,s=0,a=new Promise(f=>i=f),l=r.scrollTop,c=r.scrollLeft,u=o!=null?o-l:0,d=e!=null?e-c:0,p=f=>{let g=Math.min(1,(f-s)/n)-1,v=Math.pow(g,3)+1;u!==0&&(r.scrollTop=Math.floor(v*u+l)),d!==0&&(r.scrollLeft=Math.floor(v*d+c)),v<1?requestAnimationFrame(p):i()};return requestAnimationFrame(f=>{s=f,p(f)}),a}onScrollStart(){this.isScrolling=!0,this.ionScrollStart.emit({isScrolling:!0}),this.watchDog&&clearInterval(this.watchDog),this.watchDog=setInterval(()=>{this.lastScrollthis.backgroundContentEl=d,id:"background-content",part:"background"}),e==="before"?C("slot",{name:"fixed"}):null,C("div",{key:"29a23b663f5f0215bb000820c01e1814c0d55985",class:{"inner-scroll":!0,"scroll-x":r,"scroll-y":i,overscroll:(r||i)&&c},ref:d=>this.scrollEl=d,onScroll:this.scrollEvents?d=>this.onScroll(d):void 0,part:"scroll"},C("slot",{key:"0fe1bd05609a4b88ae2ce9addf5d5dc5dc1806f0"})),u?C("div",{class:"transition-effect"},C("div",{class:"transition-cover"}),C("div",{class:"transition-shadow"})):null,e==="after"?C("slot",{name:"fixed"}):null)}get el(){return this}static get style(){return E_}},[1,"ion-content",{color:[513],fullscreen:[4],fixedSlotPlacement:[1,"fixed-slot-placement"],forceOverscroll:[1028,"force-overscroll"],scrollX:[4,"scroll-x"],scrollY:[4,"scroll-y"],scrollEvents:[4,"scroll-events"],getScrollElement:[64],getBackgroundElement:[64],scrollToTop:[64],scrollToBottom:[64],scrollByPoint:[64],scrollToPoint:[64]},[[9,"resize","onResize"]]]),x_=t=>{var e;return t.parentElement?t.parentElement:!((e=t.parentNode)===null||e===void 0)&&e.host?t.parentNode.host:null},S_=t=>{let e=t.closest("ion-tabs");if(e)return e;let o=t.closest("ion-app, ion-page, .ion-page, page-inner, .popover-content");return o||x_(t)},T_=(t,e,o,n)=>{let r=t.currentX,i=t.currentY,s=t.currentTime,a=e.scrollLeft,l=e.scrollTop,c=o-s;if(n&&(t.startTime=o,t.startX=a,t.startY=l,t.velocityX=t.velocityY=0),t.currentTime=o,t.currentX=t.scrollLeft=a,t.currentY=t.scrollTop=l,t.deltaX=a-t.startX,t.deltaY=l-t.startY,c>0&&c<100){let u=(a-r)/c,d=(l-i)/c;t.velocityX=u*.7+t.velocityX*.3,t.velocityY=d*.7+t.velocityY*.3}};function _b(){if(typeof customElements>"u")return;["ion-content"].forEach(e=>{switch(e){case"ion-content":customElements.get(e)||customElements.define(e,kb);break}})}var Ab=_b;var Nb=t=>{if(ft===void 0||t===Ih.None||t===void 0)return null;let e=ft.querySelector("ion-app");return e!=null?e:ft.body},Rb=t=>{let e=Nb(t);return e===null?0:e.clientHeight},Ob=async t=>{let e,o,n,r,i=async()=>{let u=await Eh.getResizeMode(),d=u===void 0?void 0:u.mode;e=()=>{r===void 0&&(r=Rb(d)),n=!0,s(n,d)},o=()=>{n=!1,s(n,d)},Ee===null||Ee===void 0||Ee.addEventListener("keyboardWillShow",e),Ee===null||Ee===void 0||Ee.addEventListener("keyboardWillHide",o)},s=(u,d)=>{t&&t(u,a(d))},a=u=>{if(r===0||r===Rb(u))return;let d=Nb(u);if(d!==null)return new Promise(p=>{let f=()=>{d.clientHeight===r&&(g.disconnect(),p())},g=new ResizeObserver(f);g.observe(d)})},l=()=>{Ee===null||Ee===void 0||Ee.removeEventListener("keyboardWillShow",e),Ee===null||Ee===void 0||Ee.removeEventListener("keyboardWillHide",o),e=o=void 0},c=()=>n;return await i(),{init:i,destroy:l,isKeyboardVisible:c}};var M_="all 0.2s ease-in-out",Pb=t=>{let e=document.querySelector(`${t}.ion-cloned-element`);if(e!==null)return e;let o=document.createElement(t);return o.classList.add("ion-cloned-element"),o.style.setProperty("display","none"),document.body.appendChild(o),o},Fb=t=>{if(!t)return;let e=t.querySelectorAll("ion-toolbar");return{el:t,toolbars:Array.from(e).map(o=>{let n=o.querySelector("ion-title");return{el:o,background:o.shadowRoot.querySelector(".toolbar-background"),ionTitleEl:n,innerTitleEl:n?n.shadowRoot.querySelector(".toolbar-title"):null,ionButtonsEl:Array.from(o.querySelectorAll("ion-buttons"))}})}},k_=(t,e,o)=>{mn(()=>{let n=t.scrollTop,r=gn(1,1+-n/500,1.1);o.querySelector("ion-refresher.refresher-native")===null&&nt(()=>{R_(e.toolbars,r)})})},Of=(t,e)=>{t.collapse!=="fade"&&(e===void 0?t.style.removeProperty("--opacity-scale"):t.style.setProperty("--opacity-scale",e.toString()))},__=(t,e,o)=>{if(!t[0].isIntersecting)return;let n=t[0].intersectionRatio>.9||o<=0?0:(1-t[0].intersectionRatio)*100/75;Of(e.el,n===1?void 0:n)},A_=(t,e,o,n)=>{nt(()=>{let r=n.scrollTop;__(t,e,r);let i=t[0],s=i.intersectionRect,a=s.width*s.height,l=i.rootBounds.width*i.rootBounds.height,c=a===0&&l===0,u=Math.abs(s.left-i.boundingClientRect.left),d=Math.abs(s.right-i.boundingClientRect.right),p=a>0&&(u>=5||d>=5);c||p||(i.isIntersecting?(Ni(e,!1),Ni(o)):(s.x===0&&s.y===0||s.width!==0&&s.height!==0)&&r>0&&(Ni(e),Ni(o,!1),Of(e.el)))})},Ni=(t,e=!0)=>{let o=t.el,r=t.toolbars.map(i=>i.ionTitleEl);e?(o.classList.remove("header-collapse-condense-inactive"),r.forEach(i=>{i&&i.removeAttribute("aria-hidden")})):(o.classList.add("header-collapse-condense-inactive"),r.forEach(i=>{i&&i.setAttribute("aria-hidden","true")}))},R_=(t=[],e=1,o=!1)=>{t.forEach(n=>{let r=n.ionTitleEl,i=n.innerTitleEl;!r||r.size!=="large"||(i.style.transition=o?M_:"",i.style.transform=`scale3d(${e}, ${e}, 1)`)})},Lb=(t,e,o)=>{mn(()=>{let n=t.scrollTop,r=e.clientHeight,i=o?o.clientHeight:0;if(o!==null&&n{t.style.removeProperty("clip-path"),e.style.setProperty("--opacity-scale",l.toString())})})},N_="ion-header{display:block;position:relative;-ms-flex-order:-1;order:-1;width:100%;z-index:10}ion-header ion-toolbar:first-of-type{padding-top:var(--ion-safe-area-top, 0)}.header-ios ion-toolbar:last-of-type{--border-width:0 0 0.55px}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){.header-background{left:0;right:0;top:0;bottom:0;position:absolute;-webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px)}.header-translucent-ios ion-toolbar{--opacity:.8}.header-collapse-condense-inactive .header-background{-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px)}}.header-ios.ion-no-border ion-toolbar:last-of-type{--border-width:0}.header-collapse-fade ion-toolbar{--opacity-scale:inherit}.header-collapse-condense{z-index:9}.header-collapse-condense ion-toolbar{position:-webkit-sticky;position:sticky;top:0}.header-collapse-condense ion-toolbar:first-of-type{padding-top:0px;z-index:1}.header-collapse-condense ion-toolbar{--background:var(--ion-background-color, #fff);z-index:0}.header-collapse-condense ion-toolbar:last-of-type{--border-width:0px}.header-collapse-condense ion-toolbar ion-searchbar{padding-top:0px;padding-bottom:13px}.header-collapse-main{--opacity-scale:1}.header-collapse-main ion-toolbar{--opacity-scale:inherit}.header-collapse-main ion-toolbar.in-toolbar ion-title,.header-collapse-main ion-toolbar.in-toolbar ion-buttons{-webkit-transition:all 0.2s ease-in-out;transition:all 0.2s ease-in-out}.header-collapse-condense-inactive:not(.header-collapse-condense) ion-toolbar.in-toolbar ion-title,.header-collapse-condense-inactive:not(.header-collapse-condense) ion-toolbar.in-toolbar ion-buttons.buttons-collapse{opacity:0;pointer-events:none}.header-collapse-condense-inactive.header-collapse-condense ion-toolbar.in-toolbar ion-title,.header-collapse-condense-inactive.header-collapse-condense ion-toolbar.in-toolbar ion-buttons.buttons-collapse{visibility:hidden}ion-header.header-ios:not(.header-collapse-main):has(~ion-content ion-header.header-ios[collapse=condense],~ion-content ion-header.header-ios.header-collapse-condense){opacity:0}",O_=N_,P_="ion-header{display:block;position:relative;-ms-flex-order:-1;order:-1;width:100%;z-index:10}ion-header ion-toolbar:first-of-type{padding-top:var(--ion-safe-area-top, 0)}.header-md{-webkit-box-shadow:0 2px 4px -1px rgba(0, 0, 0, 0.2), 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 10px 0 rgba(0, 0, 0, 0.12);box-shadow:0 2px 4px -1px rgba(0, 0, 0, 0.2), 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 10px 0 rgba(0, 0, 0, 0.12)}.header-collapse-condense{display:none}.header-md.ion-no-border{-webkit-box-shadow:none;box-shadow:none}",F_=P_,$b=q(class extends W{constructor(){super(),this.__registerHost(),this.inheritedAttributes={},this.setupFadeHeader=async(e,o)=>{let n=this.scrollEl=await Bl(e);this.contentScrollCallback=()=>{Lb(this.scrollEl,this.el,o)},n.addEventListener("scroll",this.contentScrollCallback),Lb(this.scrollEl,this.el,o)},this.collapse=void 0,this.translucent=!1}componentWillLoad(){this.inheritedAttributes=zi(this.el)}componentDidLoad(){this.checkCollapsibleHeader()}componentDidUpdate(){this.checkCollapsibleHeader()}disconnectedCallback(){this.destroyCollapsibleHeader()}async checkCollapsibleHeader(){if(B(this)!=="ios")return;let{collapse:o}=this,n=o==="condense",r=o==="fade";if(this.destroyCollapsibleHeader(),n){let i=this.el.closest("ion-app,ion-page,.ion-page,page-inner"),s=i?Lr(i):null;nt(()=>{let a=Pb("ion-title");a.size="large",Pb("ion-back-button")}),await this.setupCondenseHeader(s,i)}else if(r){let i=this.el.closest("ion-app,ion-page,.ion-page,page-inner"),s=i?Lr(i):null;if(!s){$r(this.el);return}let a=s.querySelector('ion-header[collapse="condense"]');await this.setupFadeHeader(s,a)}}destroyCollapsibleHeader(){this.intersectionObserver&&(this.intersectionObserver.disconnect(),this.intersectionObserver=void 0),this.scrollEl&&this.contentScrollCallback&&(this.scrollEl.removeEventListener("scroll",this.contentScrollCallback),this.contentScrollCallback=void 0),this.collapsibleMainHeader&&(this.collapsibleMainHeader.classList.remove("header-collapse-main"),this.collapsibleMainHeader=void 0)}async setupCondenseHeader(e,o){if(!e||!o){$r(this.el);return}if(typeof IntersectionObserver>"u")return;this.scrollEl=await Bl(e);let n=o.querySelectorAll("ion-header");if(this.collapsibleMainHeader=Array.from(n).find(a=>a.collapse!=="condense"),!this.collapsibleMainHeader)return;let r=Fb(this.collapsibleMainHeader),i=Fb(this.el);if(!r||!i)return;Ni(r,!1),Of(r.el,0);let s=a=>{A_(a,r,i,this.scrollEl)};this.intersectionObserver=new IntersectionObserver(s,{root:e,threshold:[.25,.3,.4,.5,.6,.7,.8,.9,1]}),this.intersectionObserver.observe(i.toolbars[i.toolbars.length-1].el),this.contentScrollCallback=()=>{k_(this.scrollEl,i,e)},this.scrollEl.addEventListener("scroll",this.contentScrollCallback),nt(()=>{this.collapsibleMainHeader!==void 0&&this.collapsibleMainHeader.classList.add("header-collapse-main")})}render(){let{translucent:e,inheritedAttributes:o}=this,n=B(this),r=this.collapse||"none",i=ze("ion-menu",this.el)?"none":"banner";return C(K,Object.assign({key:"b6cc27f0b08afc9fcc889683525da765d80ba672",role:i,class:{[n]:!0,[`header-${n}`]:!0,"header-translucent":this.translucent,[`header-collapse-${r}`]:!0,[`header-translucent-${n}`]:this.translucent}},o),n==="ios"&&e&&C("div",{key:"395766d4dcee3398bc91960db21f922095292f14",class:"header-background"}),C("slot",{key:"09a67ece27b258ff1248805d43d92a49b2c6859a"}))}get el(){return this}static get style(){return{ios:O_,md:F_}}},[36,"ion-header",{collapse:[1],translucent:[4]}]);function jb(){if(typeof customElements>"u")return;["ion-header"].forEach(e=>{switch(e){case"ion-header":customElements.get(e)||customElements.define(e,$b);break}})}var Bb=jb;var L_=".item.sc-ion-label-ios-h,.item .sc-ion-label-ios-h{--color:initial;display:block;color:var(--color);font-family:var(--ion-font-family, inherit);font-size:inherit;text-overflow:ellipsis;-webkit-box-sizing:border-box;box-sizing:border-box}.ion-color.sc-ion-label-ios-h{color:var(--ion-color-base)}.ion-text-nowrap.sc-ion-label-ios-h{overflow:hidden}.item-interactive-disabled.sc-ion-label-ios-h:not(.item-multiple-inputs),.item-interactive-disabled:not(.item-multiple-inputs) .sc-ion-label-ios-h{cursor:default;opacity:0.3;pointer-events:none}.item-input.sc-ion-label-ios-h,.item-input .sc-ion-label-ios-h{-ms-flex:initial;flex:initial;max-width:200px;pointer-events:none}.item-textarea.sc-ion-label-ios-h,.item-textarea .sc-ion-label-ios-h{-ms-flex-item-align:baseline;align-self:baseline}.item-skeleton-text.sc-ion-label-ios-h,.item-skeleton-text .sc-ion-label-ios-h{overflow:hidden}.label-fixed.sc-ion-label-ios-h{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px;max-width:200px}.label-stacked.sc-ion-label-ios-h,.label-floating.sc-ion-label-ios-h{margin-bottom:0;-ms-flex-item-align:stretch;align-self:stretch;width:auto;max-width:100%}.label-no-animate.label-floating.sc-ion-label-ios-h{-webkit-transition:none;transition:none}.sc-ion-label-ios-s h1,.sc-ion-label-ios-s h2,.sc-ion-label-ios-s h3,.sc-ion-label-ios-s h4,.sc-ion-label-ios-s h5,.sc-ion-label-ios-s h6{text-overflow:inherit;overflow:inherit}.ion-text-wrap.sc-ion-label-ios-h{font-size:0.875rem;line-height:1.5}.label-stacked.sc-ion-label-ios-h{margin-bottom:4px;font-size:0.875rem}.label-floating.sc-ion-label-ios-h{margin-bottom:0;-webkit-transform:translate(0, 29px);transform:translate(0, 29px);-webkit-transform-origin:left top;transform-origin:left top;-webkit-transition:-webkit-transform 150ms ease-in-out;transition:-webkit-transform 150ms ease-in-out;transition:transform 150ms ease-in-out;transition:transform 150ms ease-in-out, -webkit-transform 150ms ease-in-out}[dir=rtl].sc-ion-label-ios-h -no-combinator.label-floating.sc-ion-label-ios-h,[dir=rtl] .sc-ion-label-ios-h -no-combinator.label-floating.sc-ion-label-ios-h,[dir=rtl].label-floating.sc-ion-label-ios-h,[dir=rtl] .label-floating.sc-ion-label-ios-h{-webkit-transform-origin:right top;transform-origin:right top}@supports selector(:dir(rtl)){.label-floating.sc-ion-label-ios-h:dir(rtl){-webkit-transform-origin:right top;transform-origin:right top}}.item-textarea.label-floating.sc-ion-label-ios-h,.item-textarea .label-floating.sc-ion-label-ios-h{-webkit-transform:translate(0, 28px);transform:translate(0, 28px)}.item-has-focus.label-floating.sc-ion-label-ios-h,.item-has-focus .label-floating.sc-ion-label-ios-h,.item-has-placeholder.sc-ion-label-ios-h:not(.item-input).label-floating,.item-has-placeholder:not(.item-input) .label-floating.sc-ion-label-ios-h,.item-has-value.label-floating.sc-ion-label-ios-h,.item-has-value .label-floating.sc-ion-label-ios-h{-webkit-transform:scale(0.82);transform:scale(0.82)}.sc-ion-label-ios-s h1{margin-left:0;margin-right:0;margin-top:3px;margin-bottom:2px;font-size:1.375rem;font-weight:normal}.sc-ion-label-ios-s h2{margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;font-size:1.0625rem;font-weight:normal}.sc-ion-label-ios-s h3,.sc-ion-label-ios-s h4,.sc-ion-label-ios-s h5,.sc-ion-label-ios-s h6{margin-left:0;margin-right:0;margin-top:0;margin-bottom:3px;font-size:0.875rem;font-weight:normal;line-height:normal}.sc-ion-label-ios-s p{margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;font-size:0.875rem;line-height:normal;text-overflow:inherit;overflow:inherit}.sc-ion-label-ios-s>p{color:var(--ion-color-step-400, var(--ion-text-color-step-600, #999999))}.sc-ion-label-ios-h.in-item-color.sc-ion-label-ios-s>p{color:inherit}.sc-ion-label-ios-s h2:last-child,.sc-ion-label-ios-s h3:last-child,.sc-ion-label-ios-s h4:last-child,.sc-ion-label-ios-s h5:last-child,.sc-ion-label-ios-s h6:last-child,.sc-ion-label-ios-s p:last-child{margin-bottom:0}",$_=L_,j_=".item.sc-ion-label-md-h,.item .sc-ion-label-md-h{--color:initial;display:block;color:var(--color);font-family:var(--ion-font-family, inherit);font-size:inherit;text-overflow:ellipsis;-webkit-box-sizing:border-box;box-sizing:border-box}.ion-color.sc-ion-label-md-h{color:var(--ion-color-base)}.ion-text-nowrap.sc-ion-label-md-h{overflow:hidden}.item-interactive-disabled.sc-ion-label-md-h:not(.item-multiple-inputs),.item-interactive-disabled:not(.item-multiple-inputs) .sc-ion-label-md-h{cursor:default;opacity:0.3;pointer-events:none}.item-input.sc-ion-label-md-h,.item-input .sc-ion-label-md-h{-ms-flex:initial;flex:initial;max-width:200px;pointer-events:none}.item-textarea.sc-ion-label-md-h,.item-textarea .sc-ion-label-md-h{-ms-flex-item-align:baseline;align-self:baseline}.item-skeleton-text.sc-ion-label-md-h,.item-skeleton-text .sc-ion-label-md-h{overflow:hidden}.label-fixed.sc-ion-label-md-h{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px;max-width:200px}.label-stacked.sc-ion-label-md-h,.label-floating.sc-ion-label-md-h{margin-bottom:0;-ms-flex-item-align:stretch;align-self:stretch;width:auto;max-width:100%}.label-no-animate.label-floating.sc-ion-label-md-h{-webkit-transition:none;transition:none}.sc-ion-label-md-s h1,.sc-ion-label-md-s h2,.sc-ion-label-md-s h3,.sc-ion-label-md-s h4,.sc-ion-label-md-s h5,.sc-ion-label-md-s h6{text-overflow:inherit;overflow:inherit}.ion-text-wrap.sc-ion-label-md-h{line-height:1.5}.label-stacked.sc-ion-label-md-h,.label-floating.sc-ion-label-md-h{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-transform-origin:top left;transform-origin:top left}.label-stacked.label-rtl.sc-ion-label-md-h,.label-floating.label-rtl.sc-ion-label-md-h{-webkit-transform-origin:top right;transform-origin:top right}.label-stacked.sc-ion-label-md-h{-webkit-transform:translateY(50%) scale(0.75);transform:translateY(50%) scale(0.75);-webkit-transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1)}.label-floating.sc-ion-label-md-h{-webkit-transform:translateY(96%);transform:translateY(96%);-webkit-transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), transform 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1)}.ion-focused.label-floating.sc-ion-label-md-h,.ion-focused .label-floating.sc-ion-label-md-h,.item-has-focus.label-floating.sc-ion-label-md-h,.item-has-focus .label-floating.sc-ion-label-md-h,.item-has-placeholder.sc-ion-label-md-h:not(.item-input).label-floating,.item-has-placeholder:not(.item-input) .label-floating.sc-ion-label-md-h,.item-has-value.label-floating.sc-ion-label-md-h,.item-has-value .label-floating.sc-ion-label-md-h{-webkit-transform:translateY(50%) scale(0.75);transform:translateY(50%) scale(0.75)}.ion-focused.label-stacked.sc-ion-label-md-h:not(.ion-color),.ion-focused .label-stacked.sc-ion-label-md-h:not(.ion-color),.ion-focused.label-floating.sc-ion-label-md-h:not(.ion-color),.ion-focused .label-floating.sc-ion-label-md-h:not(.ion-color),.item-has-focus.label-stacked.sc-ion-label-md-h:not(.ion-color),.item-has-focus .label-stacked.sc-ion-label-md-h:not(.ion-color),.item-has-focus.label-floating.sc-ion-label-md-h:not(.ion-color),.item-has-focus .label-floating.sc-ion-label-md-h:not(.ion-color){color:var(--ion-color-primary, #0054e9)}.ion-focused.ion-color.label-stacked.sc-ion-label-md-h:not(.ion-color),.ion-focused.ion-color .label-stacked.sc-ion-label-md-h:not(.ion-color),.ion-focused.ion-color.label-floating.sc-ion-label-md-h:not(.ion-color),.ion-focused.ion-color .label-floating.sc-ion-label-md-h:not(.ion-color),.item-has-focus.ion-color.label-stacked.sc-ion-label-md-h:not(.ion-color),.item-has-focus.ion-color .label-stacked.sc-ion-label-md-h:not(.ion-color),.item-has-focus.ion-color.label-floating.sc-ion-label-md-h:not(.ion-color),.item-has-focus.ion-color .label-floating.sc-ion-label-md-h:not(.ion-color){color:var(--ion-color-contrast)}.ion-invalid.ion-touched.label-stacked.sc-ion-label-md-h:not(.ion-color),.ion-invalid.ion-touched .label-stacked.sc-ion-label-md-h:not(.ion-color),.ion-invalid.ion-touched.label-floating.sc-ion-label-md-h:not(.ion-color),.ion-invalid.ion-touched .label-floating.sc-ion-label-md-h:not(.ion-color){color:var(--highlight-color-invalid)}.sc-ion-label-md-s h1{margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;font-size:1.5rem;font-weight:normal}.sc-ion-label-md-s h2{margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px;font-size:1rem;font-weight:normal}.sc-ion-label-md-s h3,.sc-ion-label-md-s h4,.sc-ion-label-md-s h5,.sc-ion-label-md-s h6{margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px;font-size:0.875rem;font-weight:normal;line-height:normal}.sc-ion-label-md-s p{margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;font-size:0.875rem;line-height:1.25rem;text-overflow:inherit;overflow:inherit}.sc-ion-label-md-s>p{color:var(--ion-color-step-600, var(--ion-text-color-step-400, #666666))}.sc-ion-label-md-h.in-item-color.sc-ion-label-md-s>p{color:inherit}",B_=j_,Vb=q(class extends W{constructor(){super(),this.__registerHost(),this.ionColor=O(this,"ionColor",7),this.ionStyle=O(this,"ionStyle",7),this.inRange=!1,this.color=void 0,this.position=void 0,this.noAnimate=!1}componentWillLoad(){this.inRange=!!this.el.closest("ion-range"),this.noAnimate=this.position==="floating",this.emitStyle(),this.emitColor()}componentDidLoad(){this.noAnimate&&setTimeout(()=>{this.noAnimate=!1},1e3)}colorChanged(){this.emitColor()}positionChanged(){this.emitStyle()}emitColor(){let{color:e}=this;this.ionColor.emit({"item-label-color":e!==void 0,[`ion-color-${e}`]:e!==void 0})}emitStyle(){let{inRange:e,position:o}=this;e||this.ionStyle.emit({label:!0,[`label-${o}`]:o!==void 0})}render(){let e=this.position,o=B(this);return C(K,{key:"6353a70565ef6fbbbf4042b000e536c61bcf99a9",class:vt(this.color,{[o]:!0,"in-item-color":ze("ion-item.ion-color",this.el),[`label-${e}`]:e!==void 0,"label-no-animate":this.noAnimate,"label-rtl":document.dir==="rtl"})},C("slot",{key:"6ef9c2758c0168442aa84941af0a6cec1ef1ec21"}))}get el(){return this}static get watchers(){return{color:["colorChanged"],position:["positionChanged"]}}static get style(){return{ios:$_,md:B_}}},[38,"ion-label",{color:[513],position:[1],noAnimate:[32]},void 0,{color:["colorChanged"],position:["positionChanged"]}]);function Ub(){if(typeof customElements>"u")return;["ion-label"].forEach(e=>{switch(e){case"ion-label":customElements.get(e)||customElements.define(e,Vb);break}})}var zb=Ub;var V_=':host{--color:initial;--color-hover:var(--color);--color-checked:var(--color);--color-disabled:var(--color);--padding-start:0;--padding-end:0;--padding-top:0;--padding-bottom:0;border-radius:var(--border-radius);display:-ms-flexbox;display:flex;position:relative;-ms-flex-direction:column;flex-direction:column;height:auto;background:var(--background);color:var(--color);text-decoration:none;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;grid-row:1;-webkit-font-kerning:none;font-kerning:none}.button-native{border-radius:0;font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;-webkit-margin-start:var(--margin-start);margin-inline-start:var(--margin-start);-webkit-margin-end:var(--margin-end);margin-inline-end:var(--margin-end);margin-top:var(--margin-top);margin-bottom:var(--margin-bottom);-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);display:-ms-flexbox;display:flex;position:relative;-ms-flex-direction:inherit;flex-direction:inherit;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;min-width:inherit;max-width:inherit;height:auto;min-height:inherit;max-height:inherit;-webkit-transition:var(--transition);transition:var(--transition);border:none;outline:none;background:transparent;contain:content;pointer-events:none;overflow:hidden;z-index:2}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}.button-inner{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:inherit;flex-flow:inherit;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;z-index:1}:host(.segment-button-checked){background:var(--background-checked);color:var(--color-checked)}:host(.segment-button-disabled){cursor:default;pointer-events:none}:host(.ion-focused) .button-native{color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}:host(:focus){outline:none}@media (any-hover: hover){:host(:hover) .button-native{color:var(--color-hover)}:host(:hover) .button-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity)}:host(.segment-button-checked:hover) .button-native{color:var(--color-checked)}}::slotted(ion-icon){-ms-flex-negative:0;flex-shrink:0;-ms-flex-order:-1;order:-1;pointer-events:none}::slotted(ion-label){display:block;-ms-flex-item-align:center;align-self:center;max-width:100%;line-height:22px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box;pointer-events:none}:host(.segment-button-layout-icon-top) .button-native{-ms-flex-direction:column;flex-direction:column}:host(.segment-button-layout-icon-start) .button-native{-ms-flex-direction:row;flex-direction:row}:host(.segment-button-layout-icon-end) .button-native{-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.segment-button-layout-icon-bottom) .button-native{-ms-flex-direction:column-reverse;flex-direction:column-reverse}:host(.segment-button-layout-icon-hide) ::slotted(ion-icon){display:none}:host(.segment-button-layout-label-hide) ::slotted(ion-label){display:none}ion-ripple-effect{color:var(--ripple-color, var(--color-checked))}.segment-button-indicator{-webkit-transform-origin:left;transform-origin:left;position:absolute;opacity:0;-webkit-box-sizing:border-box;box-sizing:border-box;will-change:transform, opacity;pointer-events:none}.segment-button-indicator-background{width:100%;height:var(--indicator-height);-webkit-transform:var(--indicator-transform);transform:var(--indicator-transform);-webkit-box-shadow:var(--indicator-box-shadow);box-shadow:var(--indicator-box-shadow);pointer-events:none}.segment-button-indicator-animated{-webkit-transition:var(--indicator-transition);transition:var(--indicator-transition)}:host(.segment-button-checked) .segment-button-indicator{opacity:1}@media (prefers-reduced-motion: reduce){.segment-button-indicator-background{-webkit-transform:none;transform:none}.segment-button-indicator-animated{-webkit-transition:none;transition:none}}:host{--background:none;--background-checked:none;--background-hover:none;--background-hover-opacity:0;--background-focused:none;--background-focused-opacity:0;--border-radius:7px;--border-width:1px;--border-color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.12);--border-style:solid;--indicator-box-shadow:0 0 5px rgba(0, 0, 0, 0.16);--indicator-color:var(--ion-color-step-350, var(--ion-background-color-step-350, var(--ion-background-color, #fff)));--indicator-height:100%;--indicator-transition:transform 260ms cubic-bezier(0.4, 0, 0.2, 1);--indicator-transform:none;--transition:100ms all linear;--padding-top:0;--padding-end:13px;--padding-bottom:0;--padding-start:13px;margin-top:2px;margin-bottom:2px;position:relative;-ms-flex-direction:row;flex-direction:row;min-width:70px;min-height:28px;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);font-size:13px;font-weight:450;line-height:37px}:host::before{margin-left:0;margin-right:0;margin-top:5px;margin-bottom:5px;-webkit-transition:160ms opacity ease-in-out;transition:160ms opacity ease-in-out;-webkit-transition-delay:100ms;transition-delay:100ms;border-left:var(--border-width) var(--border-style) var(--border-color);content:"";opacity:1;will-change:opacity}:host(:first-of-type)::before{border-left-color:transparent}:host(.segment-button-disabled){opacity:0.3}::slotted(ion-icon){font-size:24px}:host(.segment-button-layout-icon-start) ::slotted(ion-label){-webkit-margin-start:2px;margin-inline-start:2px;-webkit-margin-end:0;margin-inline-end:0}:host(.segment-button-layout-icon-end) ::slotted(ion-label){-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:2px;margin-inline-end:2px}.segment-button-indicator{-webkit-padding-start:2px;padding-inline-start:2px;-webkit-padding-end:2px;padding-inline-end:2px;left:0;right:0;top:0;bottom:0}.segment-button-indicator-background{border-radius:var(--border-radius);background:var(--indicator-color)}.segment-button-indicator-background{-webkit-transition:var(--indicator-transition);transition:var(--indicator-transition)}:host(.segment-button-checked)::before,:host(.segment-button-after-checked)::before{opacity:0}:host(.segment-button-checked){z-index:-1}:host(.segment-button-activated){--indicator-transform:scale(0.95)}:host(.ion-focused) .button-native{opacity:0.7}@media (any-hover: hover){:host(:hover) .button-native{opacity:0.5}:host(.segment-button-checked:hover) .button-native{opacity:1}}:host(.in-segment-color){background:none;color:var(--ion-text-color, #000)}:host(.in-segment-color) .segment-button-indicator-background{background:var(--ion-color-step-350, var(--ion-background-color-step-350, var(--ion-background-color, #fff)))}@media (any-hover: hover){:host(.in-segment-color:hover) .button-native,:host(.in-segment-color.segment-button-checked:hover) .button-native{color:var(--ion-text-color, #000)}}:host(.in-toolbar:not(.in-segment-color)){--background-checked:var(--ion-toolbar-segment-background-checked, none);--color:var(--ion-toolbar-segment-color, var(--ion-toolbar-color), initial);--color-checked:var(--ion-toolbar-segment-color-checked, var(--ion-toolbar-color), initial);--indicator-color:var(--ion-toolbar-segment-indicator-color, var(--ion-color-step-350, var(--ion-background-color-step-350, var(--ion-background-color, #fff))))}:host(.in-toolbar-color) .segment-button-indicator-background{background:var(--ion-color-contrast)}:host(.in-toolbar-color:not(.in-segment-color)) .button-native{color:var(--ion-color-contrast)}:host(.in-toolbar-color.segment-button-checked:not(.in-segment-color)) .button-native{color:var(--ion-color-base)}@media (any-hover: hover){:host(.in-toolbar-color:not(.in-segment-color):hover) .button-native{color:var(--ion-color-contrast)}:host(.in-toolbar-color.segment-button-checked:not(.in-segment-color):hover) .button-native{color:var(--ion-color-base)}}',U_=V_,z_=':host{--color:initial;--color-hover:var(--color);--color-checked:var(--color);--color-disabled:var(--color);--padding-start:0;--padding-end:0;--padding-top:0;--padding-bottom:0;border-radius:var(--border-radius);display:-ms-flexbox;display:flex;position:relative;-ms-flex-direction:column;flex-direction:column;height:auto;background:var(--background);color:var(--color);text-decoration:none;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;grid-row:1;-webkit-font-kerning:none;font-kerning:none}.button-native{border-radius:0;font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;-webkit-margin-start:var(--margin-start);margin-inline-start:var(--margin-start);-webkit-margin-end:var(--margin-end);margin-inline-end:var(--margin-end);margin-top:var(--margin-top);margin-bottom:var(--margin-bottom);-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);display:-ms-flexbox;display:flex;position:relative;-ms-flex-direction:inherit;flex-direction:inherit;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;min-width:inherit;max-width:inherit;height:auto;min-height:inherit;max-height:inherit;-webkit-transition:var(--transition);transition:var(--transition);border:none;outline:none;background:transparent;contain:content;pointer-events:none;overflow:hidden;z-index:2}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}.button-inner{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:inherit;flex-flow:inherit;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;z-index:1}:host(.segment-button-checked){background:var(--background-checked);color:var(--color-checked)}:host(.segment-button-disabled){cursor:default;pointer-events:none}:host(.ion-focused) .button-native{color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}:host(:focus){outline:none}@media (any-hover: hover){:host(:hover) .button-native{color:var(--color-hover)}:host(:hover) .button-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity)}:host(.segment-button-checked:hover) .button-native{color:var(--color-checked)}}::slotted(ion-icon){-ms-flex-negative:0;flex-shrink:0;-ms-flex-order:-1;order:-1;pointer-events:none}::slotted(ion-label){display:block;-ms-flex-item-align:center;align-self:center;max-width:100%;line-height:22px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box;pointer-events:none}:host(.segment-button-layout-icon-top) .button-native{-ms-flex-direction:column;flex-direction:column}:host(.segment-button-layout-icon-start) .button-native{-ms-flex-direction:row;flex-direction:row}:host(.segment-button-layout-icon-end) .button-native{-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.segment-button-layout-icon-bottom) .button-native{-ms-flex-direction:column-reverse;flex-direction:column-reverse}:host(.segment-button-layout-icon-hide) ::slotted(ion-icon){display:none}:host(.segment-button-layout-label-hide) ::slotted(ion-label){display:none}ion-ripple-effect{color:var(--ripple-color, var(--color-checked))}.segment-button-indicator{-webkit-transform-origin:left;transform-origin:left;position:absolute;opacity:0;-webkit-box-sizing:border-box;box-sizing:border-box;will-change:transform, opacity;pointer-events:none}.segment-button-indicator-background{width:100%;height:var(--indicator-height);-webkit-transform:var(--indicator-transform);transform:var(--indicator-transform);-webkit-box-shadow:var(--indicator-box-shadow);box-shadow:var(--indicator-box-shadow);pointer-events:none}.segment-button-indicator-animated{-webkit-transition:var(--indicator-transition);transition:var(--indicator-transition)}:host(.segment-button-checked) .segment-button-indicator{opacity:1}@media (prefers-reduced-motion: reduce){.segment-button-indicator-background{-webkit-transform:none;transform:none}.segment-button-indicator-animated{-webkit-transition:none;transition:none}}:host{--background:none;--background-checked:none;--background-hover:var(--color-checked);--background-focused:var(--color-checked);--background-activated-opacity:0;--background-focused-opacity:.12;--background-hover-opacity:.04;--color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.6);--color-checked:var(--ion-color-primary, #0054e9);--indicator-box-shadow:none;--indicator-color:var(--color-checked);--indicator-height:2px;--indicator-transition:transform 250ms cubic-bezier(0.4, 0, 0.2, 1);--indicator-transform:none;--padding-top:0;--padding-end:16px;--padding-bottom:0;--padding-start:16px;--transition:color 0.15s linear 0s, opacity 0.15s linear 0s;min-width:90px;min-height:48px;border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);font-size:14px;font-weight:500;letter-spacing:0.06em;line-height:40px;text-transform:uppercase}:host(.segment-button-disabled){opacity:0.3}:host(.in-segment-color){background:none;color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.6)}:host(.in-segment-color) ion-ripple-effect{color:var(--ion-color-base)}:host(.in-segment-color) .segment-button-indicator-background{background:var(--ion-color-base)}:host(.in-segment-color.segment-button-checked) .button-native{color:var(--ion-color-base)}:host(.in-segment-color.ion-focused) .button-native::after{background:var(--ion-color-base)}@media (any-hover: hover){:host(.in-segment-color:hover) .button-native{color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.6)}:host(.in-segment-color:hover) .button-native::after{background:var(--ion-color-base)}:host(.in-segment-color.segment-button-checked:hover) .button-native{color:var(--ion-color-base)}}:host(.in-toolbar:not(.in-segment-color)){--background:var(--ion-toolbar-segment-background, none);--background-checked:var(--ion-toolbar-segment-background-checked, none);--color:var(--ion-toolbar-segment-color, rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.6));--color-checked:var(--ion-toolbar-segment-color-checked, var(--ion-color-primary, #0054e9));--indicator-color:var(--ion-toolbar-segment-color-checked, var(--color-checked))}:host(.in-toolbar-color:not(.in-segment-color)) .button-native{color:rgba(var(--ion-color-contrast-rgb), 0.6)}:host(.in-toolbar-color.segment-button-checked:not(.in-segment-color)) .button-native{color:var(--ion-color-contrast)}@media (any-hover: hover){:host(.in-toolbar-color:not(.in-segment-color)) .button-native::after{background:var(--ion-color-contrast)}}::slotted(ion-icon){margin-top:12px;margin-bottom:12px;font-size:24px}::slotted(ion-label){margin-top:12px;margin-bottom:12px}:host(.segment-button-layout-icon-top) ::slotted(ion-label),:host(.segment-button-layout-icon-bottom) ::slotted(ion-icon){margin-top:0}:host(.segment-button-layout-icon-top) ::slotted(ion-icon),:host(.segment-button-layout-icon-bottom) ::slotted(ion-label){margin-bottom:0}:host(.segment-button-layout-icon-start) ::slotted(ion-label){-webkit-margin-start:8px;margin-inline-start:8px;-webkit-margin-end:0;margin-inline-end:0}:host(.segment-button-layout-icon-end) ::slotted(ion-label){-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:8px;margin-inline-end:8px}:host(.segment-button-has-icon-only) ::slotted(ion-icon){margin-top:12px;margin-bottom:12px}:host(.segment-button-has-label-only) ::slotted(ion-label){margin-top:12px;margin-bottom:12px}.segment-button-indicator{left:0;right:0;bottom:0}.segment-button-indicator-background{background:var(--indicator-color)}:host(.in-toolbar:not(.in-segment-color)) .segment-button-indicator-background{background:var(--ion-toolbar-segment-indicator-color, var(--indicator-color))}:host(.in-toolbar-color:not(.in-segment-color)) .segment-button-indicator-background{background:var(--ion-color-contrast)}',H_=z_,G_=0,W_=q(class extends W{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.segmentEl=null,this.inheritedAttributes={},this.updateStyle=()=>{Fn(this)},this.updateState=()=>{let{segmentEl:e}=this;e&&(this.checked=e.value===this.value,e.disabled&&(this.disabled=!0))},this.checked=!1,this.contentId=void 0,this.disabled=!1,this.layout="icon-top",this.type="button",this.value="ion-sb-"+G_++}valueChanged(){this.updateState()}connectedCallback(){let e=this.segmentEl=this.el.closest("ion-segment");if(e&&(this.updateState(),Ln(e,"ionSelect",this.updateState),Ln(e,"ionStyle",this.updateStyle)),!this.contentId)return;let o=document.getElementById(this.contentId);if(!o){console.error(`Segment Button: Unable to find Segment Content with id="${this.contentId}".`);return}if(o.tagName!=="ION-SEGMENT-CONTENT"){console.error(`Segment Button: Element with id="${this.contentId}" is not an element.`);return}this.disabled&&(console.warn("Segment Button: Segment buttons cannot be disabled when associated with an ."),this.disabled=!1)}disconnectedCallback(){let e=this.segmentEl;e&&(Or(e,"ionSelect",this.updateState),Or(e,"ionStyle",this.updateStyle),this.segmentEl=null)}componentWillLoad(){this.inheritedAttributes=Object.assign({},wo(this.el,["aria-label"]))}get hasLabel(){return!!this.el.querySelector("ion-label")}get hasIcon(){return!!this.el.querySelector("ion-icon")}async setFocus(){let{nativeEl:e}=this;e!==void 0&&e.focus()}render(){let{checked:e,type:o,disabled:n,hasIcon:r,hasLabel:i,layout:s,segmentEl:a}=this,l=B(this),c=()=>(a==null?void 0:a.color)!==void 0;return C(K,{key:"d50a5d5e2f6206e8523598f258d8217d2903f69b",class:{[l]:!0,"in-toolbar":ze("ion-toolbar",this.el),"in-toolbar-color":ze("ion-toolbar[color]",this.el),"in-segment":ze("ion-segment",this.el),"in-segment-color":c(),"segment-button-has-label":i,"segment-button-has-icon":r,"segment-button-has-label-only":i&&!r,"segment-button-has-icon-only":r&&!i,"segment-button-disabled":n,"segment-button-checked":e,[`segment-button-layout-${s}`]:!0,"ion-activatable":!0,"ion-activatable-instant":!0,"ion-focusable":!0}},C("button",Object.assign({key:"b4f6f145286ba8ab79669e11035b906daa85ae7e","aria-selected":e?"true":"false",role:"tab",ref:u=>this.nativeEl=u,type:o,class:"button-native",part:"native",disabled:n},this.inheritedAttributes),C("span",{key:"67965996c9ffe70553875e00d3da0ae5b2b1d814",class:"button-inner"},C("slot",{key:"5087988fe45a8fdf388ec44c395d0b745b207806"})),l==="md"&&C("ion-ripple-effect",{key:"b24858de0750bbc769b3183fac0077dfe817ba27"})),C("div",{key:"97b4359432acd1c9da0816360cd1df9472e183f7",part:"indicator",class:"segment-button-indicator segment-button-indicator-animated"},C("div",{key:"0561738ea15b0986f4ed3d8276d5e6f2d13f7e51",part:"indicator-background",class:"segment-button-indicator-background"})))}get el(){return this}static get watchers(){return{value:["valueChanged"]}}static get style(){return{ios:U_,md:H_}}},[33,"ion-segment-button",{contentId:[513,"content-id"],disabled:[1028],layout:[1],type:[1],value:[8],checked:[32],setFocus:[64]},void 0,{value:["valueChanged"]}]);function q_(){if(typeof customElements>"u")return;["ion-segment-button","ion-ripple-effect"].forEach(e=>{switch(e){case"ion-segment-button":customElements.get(e)||customElements.define(e,W_);break;case"ion-ripple-effect":customElements.get(e)||sl();break}})}var Hb=q_;var Z_=":host{scroll-snap-align:center;scroll-snap-stop:always;-ms-flex-negative:0;flex-shrink:0;width:100%}",Y_=Z_,Q_=q(class extends W{constructor(){super(),this.__registerHost(),this.__attachShadow()}render(){return C(K,{key:"03684b2999ac64fe13e376fd7e7f279976e9d4f2"},C("slot",{key:"143031075bf33ca19e7cfd76fc8a67b83ccaf11c"}))}static get style(){return Y_}},[1,"ion-segment-content"]);function K_(){if(typeof customElements>"u")return;["ion-segment-content"].forEach(e=>{switch(e){case"ion-segment-content":customElements.get(e)||customElements.define(e,Q_);break}})}var Gb=K_;var X_=":host{display:-ms-flexbox;display:flex;height:100%;overflow-x:scroll;-webkit-scroll-snap-type:x mandatory;-ms-scroll-snap-type:x mandatory;scroll-snap-type:x mandatory;scrollbar-width:none;-ms-overflow-style:none}:host::-webkit-scrollbar{display:none}:host(.segment-view-disabled){-ms-touch-action:none;touch-action:none;overflow-x:hidden}:host(.segment-view-scroll-disabled){pointer-events:none}:host(.segment-view-disabled){opacity:0.3}",J_=X_,eA=":host{display:-ms-flexbox;display:flex;height:100%;overflow-x:scroll;-webkit-scroll-snap-type:x mandatory;-ms-scroll-snap-type:x mandatory;scroll-snap-type:x mandatory;scrollbar-width:none;-ms-overflow-style:none}:host::-webkit-scrollbar{display:none}:host(.segment-view-disabled){-ms-touch-action:none;touch-action:none;overflow-x:hidden}:host(.segment-view-scroll-disabled){pointer-events:none}:host(.segment-view-disabled){opacity:0.3}",tA=eA,nA=q(class extends W{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.ionSegmentViewScroll=O(this,"ionSegmentViewScroll",7),this.scrollEndTimeout=null,this.isTouching=!1,this.disabled=!1,this.isManualScroll=void 0}handleScroll(e){var o;let{scrollLeft:n,scrollWidth:r,clientWidth:i}=e.target,s=n/(r-i);this.ionSegmentViewScroll.emit({scrollRatio:s,isManualScroll:(o=this.isManualScroll)!==null&&o!==void 0?o:!0}),this.resetScrollEndTimeout()}handleScrollStart(){this.scrollEndTimeout&&(clearTimeout(this.scrollEndTimeout),this.scrollEndTimeout=null),this.isTouching=!0}handleTouchEnd(){this.isTouching=!1}resetScrollEndTimeout(){this.scrollEndTimeout&&(clearTimeout(this.scrollEndTimeout),this.scrollEndTimeout=null),this.scrollEndTimeout=setTimeout(()=>{this.checkForScrollEnd()},100)}checkForScrollEnd(){this.isTouching||(this.isManualScroll=void 0)}async setContent(e,o=!0){let r=this.getSegmentContents().findIndex(s=>s.id===e);if(r===-1)return;this.isManualScroll=!1,this.resetScrollEndTimeout();let i=this.el.offsetWidth;this.el.scrollTo({top:0,left:r*i,behavior:o?"smooth":"instant"})}getSegmentContents(){return Array.from(this.el.querySelectorAll("ion-segment-content"))}render(){let{disabled:e,isManualScroll:o}=this;return C(K,{key:"9f4f11d31c4db776f077e59ae895b35dd4454717",class:{"segment-view-disabled":e,"segment-view-scroll-disabled":o===!1}},C("slot",{key:"ea58b21f031cee2ab2b70580f336deaefa364538"}))}get el(){return this}static get style(){return{ios:J_,md:tA}}},[33,"ion-segment-view",{disabled:[4],isManualScroll:[32],setContent:[64]},[[1,"scroll","handleScroll"],[1,"touchstart","handleScrollStart"],[1,"touchend","handleTouchEnd"]]]);function oA(){if(typeof customElements>"u")return;["ion-segment-view"].forEach(e=>{switch(e){case"ion-segment-view":customElements.get(e)||customElements.define(e,nA);break}})}var Wb=oA;var rA=":host{--color:initial;display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-align:center;align-items:center;-webkit-transform:translateZ(0);transform:translateZ(0);color:var(--color)}:host(.ion-color){color:var(--ion-color-base)}.toolbar-title{display:block;width:100%;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;pointer-events:auto}:host(.title-small) .toolbar-title{white-space:normal}:host{top:0;-webkit-padding-start:90px;padding-inline-start:90px;-webkit-padding-end:90px;padding-inline-end:90px;padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);position:absolute;width:100%;height:100%;-webkit-transform:translateZ(0);transform:translateZ(0);font-size:min(1.0625rem, 20.4px);font-weight:600;text-align:center;-webkit-box-sizing:border-box;box-sizing:border-box;pointer-events:none}:host{inset-inline-start:0}:host(.title-small){-webkit-padding-start:9px;padding-inline-start:9px;-webkit-padding-end:9px;padding-inline-end:9px;padding-top:6px;padding-bottom:16px;position:relative;font-size:min(0.8125rem, 23.4px);font-weight:normal}:host(.title-large){-webkit-padding-start:12px;padding-inline-start:12px;-webkit-padding-end:12px;padding-inline-end:12px;padding-top:2px;padding-bottom:4px;-webkit-transform-origin:left center;transform-origin:left center;position:static;-ms-flex-align:end;align-items:flex-end;min-width:100%;font-size:min(2.125rem, 61.2px);font-weight:700;text-align:start}:host(.title-large.title-rtl){-webkit-transform-origin:right center;transform-origin:right center}:host(.title-large.ion-cloned-element){--color:var(--ion-text-color, #000);font-family:var(--ion-font-family)}:host(.title-large) .toolbar-title{-webkit-transform-origin:inherit;transform-origin:inherit;width:auto}:host-context([dir=rtl]):host(.title-large) .toolbar-title,:host-context([dir=rtl]).title-large .toolbar-title{-webkit-transform-origin:calc(100% - inherit);transform-origin:calc(100% - inherit)}@supports selector(:dir(rtl)){:host(.title-large:dir(rtl)) .toolbar-title{-webkit-transform-origin:calc(100% - inherit);transform-origin:calc(100% - inherit)}}",iA=rA,sA=":host{--color:initial;display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-align:center;align-items:center;-webkit-transform:translateZ(0);transform:translateZ(0);color:var(--color)}:host(.ion-color){color:var(--ion-color-base)}.toolbar-title{display:block;width:100%;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;pointer-events:auto}:host(.title-small) .toolbar-title{white-space:normal}:host{-webkit-padding-start:20px;padding-inline-start:20px;-webkit-padding-end:20px;padding-inline-end:20px;padding-top:0;padding-bottom:0;font-size:1.25rem;font-weight:500;letter-spacing:0.0125em}:host(.title-small){width:100%;height:100%;font-size:0.9375rem;font-weight:normal}",aA=sA,qb=q(class extends W{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.ionStyle=O(this,"ionStyle",7),this.color=void 0,this.size=void 0}sizeChanged(){this.emitStyle()}connectedCallback(){this.emitStyle()}emitStyle(){let e=this.getSize();this.ionStyle.emit({[`title-${e}`]:!0})}getSize(){return this.size!==void 0?this.size:"default"}render(){let e=B(this),o=this.getSize();return C(K,{key:"7293d2ecd6262feb0d8d769effbb208230baed89",class:vt(this.color,{[e]:!0,[`title-${o}`]:!0,"title-rtl":document.dir==="rtl"})},C("div",{key:"086ec3a361ebdf6506846a8704b457cda3a6f897",class:"toolbar-title"},C("slot",{key:"59add7eb92b82d6832a8f0894f897c51fdf4f214"})))}get el(){return this}static get watchers(){return{size:["sizeChanged"]}}static get style(){return{ios:iA,md:aA}}},[33,"ion-title",{color:[513],size:[1]},void 0,{size:["sizeChanged"]}]);function Zb(){if(typeof customElements>"u")return;["ion-title"].forEach(e=>{switch(e){case"ion-title":customElements.get(e)||customElements.define(e,qb);break}})}var lA=":host{--border-width:0;--border-style:solid;--opacity:1;--opacity-scale:1;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:block;position:relative;width:100%;padding-right:var(--ion-safe-area-right);padding-left:var(--ion-safe-area-left);color:var(--color);font-family:var(--ion-font-family, inherit);contain:content;z-index:10;-webkit-box-sizing:border-box;box-sizing:border-box}:host(.ion-color){color:var(--ion-color-contrast)}:host(.ion-color) .toolbar-background{background:var(--ion-color-base)}.toolbar-container{-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);display:-ms-flexbox;display:flex;position:relative;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;width:100%;min-height:var(--min-height);contain:content;overflow:hidden;z-index:10;-webkit-box-sizing:border-box;box-sizing:border-box}.toolbar-background{left:0;right:0;top:0;bottom:0;position:absolute;-webkit-transform:translateZ(0);transform:translateZ(0);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);contain:strict;opacity:calc(var(--opacity) * var(--opacity-scale));z-index:-1;pointer-events:none}::slotted(ion-progress-bar){left:0;right:0;bottom:0;position:absolute}:host{--background:var(--ion-toolbar-background, var(--ion-color-step-50, var(--ion-background-color-step-50, #f7f7f7)));--color:var(--ion-toolbar-color, var(--ion-text-color, #000));--border-color:var(--ion-toolbar-border-color, var(--ion-border-color, var(--ion-color-step-150, var(--ion-background-color-step-150, rgba(0, 0, 0, 0.2)))));--padding-top:3px;--padding-bottom:3px;--padding-start:4px;--padding-end:4px;--min-height:44px}.toolbar-content{-ms-flex:1;flex:1;-ms-flex-order:4;order:4;min-width:0}:host(.toolbar-segment) .toolbar-content{display:-ms-inline-flexbox;display:inline-flex}:host(.toolbar-searchbar) .toolbar-container{padding-top:0;padding-bottom:0}:host(.toolbar-searchbar) ::slotted(*){-ms-flex-item-align:start;align-self:start}:host(.toolbar-searchbar) ::slotted(ion-chip){margin-top:3px}::slotted(ion-buttons){min-height:38px}::slotted([slot=start]){-ms-flex-order:2;order:2}::slotted([slot=secondary]){-ms-flex-order:3;order:3}::slotted([slot=primary]){-ms-flex-order:5;order:5;text-align:end}::slotted([slot=end]){-ms-flex-order:6;order:6;text-align:end}:host(.toolbar-title-large) .toolbar-container{-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-align:start;align-items:flex-start}:host(.toolbar-title-large) .toolbar-content ion-title{-ms-flex:1;flex:1;-ms-flex-order:8;order:8;min-width:100%}",cA=lA,uA=":host{--border-width:0;--border-style:solid;--opacity:1;--opacity-scale:1;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:block;position:relative;width:100%;padding-right:var(--ion-safe-area-right);padding-left:var(--ion-safe-area-left);color:var(--color);font-family:var(--ion-font-family, inherit);contain:content;z-index:10;-webkit-box-sizing:border-box;box-sizing:border-box}:host(.ion-color){color:var(--ion-color-contrast)}:host(.ion-color) .toolbar-background{background:var(--ion-color-base)}.toolbar-container{-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);display:-ms-flexbox;display:flex;position:relative;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;width:100%;min-height:var(--min-height);contain:content;overflow:hidden;z-index:10;-webkit-box-sizing:border-box;box-sizing:border-box}.toolbar-background{left:0;right:0;top:0;bottom:0;position:absolute;-webkit-transform:translateZ(0);transform:translateZ(0);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);contain:strict;opacity:calc(var(--opacity) * var(--opacity-scale));z-index:-1;pointer-events:none}::slotted(ion-progress-bar){left:0;right:0;bottom:0;position:absolute}:host{--background:var(--ion-toolbar-background, var(--ion-background-color, #fff));--color:var(--ion-toolbar-color, var(--ion-text-color, #424242));--border-color:var(--ion-toolbar-border-color, var(--ion-border-color, var(--ion-color-step-150, var(--ion-background-color-step-150, #c1c4cd))));--padding-top:0;--padding-bottom:0;--padding-start:0;--padding-end:0;--min-height:56px}.toolbar-content{-ms-flex:1;flex:1;-ms-flex-order:3;order:3;min-width:0;max-width:100%}::slotted(.buttons-first-slot){-webkit-margin-start:4px;margin-inline-start:4px}::slotted(.buttons-last-slot){-webkit-margin-end:4px;margin-inline-end:4px}::slotted([slot=start]){-ms-flex-order:2;order:2}::slotted([slot=secondary]){-ms-flex-order:4;order:4}::slotted([slot=primary]){-ms-flex-order:5;order:5;text-align:end}::slotted([slot=end]){-ms-flex-order:6;order:6;text-align:end}",dA=uA,Yb=q(class extends W{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.childrenStyles=new Map,this.color=void 0}componentWillLoad(){let e=Array.from(this.el.querySelectorAll("ion-buttons")),o=e.find(i=>i.slot==="start");o&&o.classList.add("buttons-first-slot");let n=e.reverse(),r=n.find(i=>i.slot==="end")||n.find(i=>i.slot==="primary")||n.find(i=>i.slot==="secondary");r&&r.classList.add("buttons-last-slot")}childrenStyle(e){e.stopPropagation();let o=e.target.tagName,n=e.detail,r={},i=this.childrenStyles.get(o)||{},s=!1;Object.keys(n).forEach(a=>{let l=`toolbar-${a}`,c=n[a];c!==i[l]&&(s=!0),c&&(r[l]=!0)}),s&&(this.childrenStyles.set(o,r),Fn(this))}render(){let e=B(this),o={};return this.childrenStyles.forEach(n=>{Object.assign(o,n)}),C(K,{key:"462538a5ecd01baf3cde116c9f029aeda26c81be",class:Object.assign(Object.assign({},o),vt(this.color,{[e]:!0,"in-toolbar":ze("ion-toolbar",this.el)}))},C("div",{key:"c0b4415d3b2472de643a9be7cb3b13b3b628621b",class:"toolbar-background"}),C("div",{key:"0ccb8a2dbeaa28d8f9bed87629c0c097446690c2",class:"toolbar-container"},C("slot",{key:"3e726dac359e923df21d80301651f16063a3de20",name:"start"}),C("slot",{key:"cd799330b56a7f8833bc61bb2807aafb21846f71",name:"secondary"}),C("div",{key:"395282e6ac8c53576922dcdb5f08c25d34638c86",class:"toolbar-content"},C("slot",{key:"a437c60e4ba5aae65e55169ae82a6f379868ec1d"})),C("slot",{key:"711af9b9d321a7b31ede924c9bdcad767aa9a1ca",name:"primary"}),C("slot",{key:"ecc02edeaf80a837890bcb08d5096df1e22a0b9a",name:"end"})))}get el(){return this}static get style(){return{ios:cA,md:dA}}},[33,"ion-toolbar",{color:[513]},[[0,"ionStyle","childrenStyle"]]]);function Qb(){if(typeof customElements>"u")return;["ion-toolbar"].forEach(e=>{switch(e){case"ion-toolbar":customElements.get(e)||customElements.define(e,Yb);break}})}var fA=":host(.tab-hidden){display:none !important}",hA=fA,pA=q(class extends W{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.loaded=!1,this.active=!1,this.delegate=void 0,this.tab=void 0,this.component=void 0}async componentWillLoad(){Do.isDev&&this.component!==void 0&&this.el.childElementCount>0&&console.error(`You can not use a lazy-loaded component in a tab and inlined content at the same time.- Remove the component attribute in: or- Remove the embedded content inside the ion-tab: `),this.active&&await this.setActive()}async setActive(){await this.prepareLazyLoaded(),this.active=!0}changeActive(e){e&&this.prepareLazyLoaded()}prepareLazyLoaded(){if(!this.loaded&&this.component!=null){this.loaded=!0;try{return Pn(this.delegate,this.el,this.component,["ion-page"])}catch(e){console.error(e)}}return Promise.resolve(void 0)}render(){let{tab:e,active:o,component:n}=this;return C(K,{key:"cb75d0877979b3b8df8f7e1952bfa9677da1eaa5",role:"tabpanel","aria-hidden":o?null:"true","aria-labelledby":`tab-button-${e}`,class:{"ion-page":n===void 0,"tab-hidden":!o}},C("slot",{key:"37fbb7b7a6b03eb93b1dacd2dc1025b78eb2aa6b"}))}get el(){return this}static get watchers(){return{active:["changeActive"]}}static get style(){return hA}},[1,"ion-tab",{active:[1028],delegate:[16],tab:[1],component:[1],setActive:[64]},void 0,{active:["changeActive"]}]);function mA(){if(typeof customElements>"u")return;["ion-tab"].forEach(e=>{switch(e){case"ion-tab":customElements.get(e)||customElements.define(e,pA);break}})}var Kb=mA;var gA=":host{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:auto;padding-right:var(--ion-safe-area-right);padding-bottom:var(--ion-safe-area-bottom, 0);padding-left:var(--ion-safe-area-left);border-top:var(--border);background:var(--background);color:var(--color);text-align:center;contain:strict;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:10;-webkit-box-sizing:content-box !important;box-sizing:content-box !important}:host(.ion-color) ::slotted(ion-tab-button){--background-focused:var(--ion-color-shade);--color-selected:var(--ion-color-contrast)}:host(.ion-color) ::slotted(.tab-selected){color:var(--ion-color-contrast)}:host(.ion-color),:host(.ion-color) ::slotted(ion-tab-button){color:rgba(var(--ion-color-contrast-rgb), 0.7)}:host(.ion-color),:host(.ion-color) ::slotted(ion-tab-button){background:var(--ion-color-base)}:host(.ion-color) ::slotted(ion-tab-button.ion-focused),:host(.tab-bar-translucent) ::slotted(ion-tab-button.ion-focused){background:var(--background-focused)}:host(.tab-bar-translucent) ::slotted(ion-tab-button){background:transparent}:host([slot=top]){padding-top:var(--ion-safe-area-top, 0);padding-bottom:0;border-top:0;border-bottom:var(--border)}:host(.tab-bar-hidden){display:none !important}:host{--background:var(--ion-tab-bar-background, var(--ion-color-step-50, var(--ion-background-color-step-50, #f7f7f7)));--background-focused:var(--ion-tab-bar-background-focused, #e0e0e0);--border:0.55px solid var(--ion-tab-bar-border-color, var(--ion-border-color, var(--ion-color-step-150, var(--ion-background-color-step-150, rgba(0, 0, 0, 0.2)))));--color:var(--ion-tab-bar-color, var(--ion-color-step-600, var(--ion-text-color-step-400, #666666)));--color-selected:var(--ion-tab-bar-color-selected, var(--ion-color-primary, #0054e9));height:50px}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){:host(.tab-bar-translucent){--background:rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8);-webkit-backdrop-filter:saturate(210%) blur(20px);backdrop-filter:saturate(210%) blur(20px)}:host(.ion-color.tab-bar-translucent){background:rgba(var(--ion-color-base-rgb), 0.8)}:host(.tab-bar-translucent) ::slotted(ion-tab-button.ion-focused){background:rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.6)}}",vA=gA,yA=":host{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:auto;padding-right:var(--ion-safe-area-right);padding-bottom:var(--ion-safe-area-bottom, 0);padding-left:var(--ion-safe-area-left);border-top:var(--border);background:var(--background);color:var(--color);text-align:center;contain:strict;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:10;-webkit-box-sizing:content-box !important;box-sizing:content-box !important}:host(.ion-color) ::slotted(ion-tab-button){--background-focused:var(--ion-color-shade);--color-selected:var(--ion-color-contrast)}:host(.ion-color) ::slotted(.tab-selected){color:var(--ion-color-contrast)}:host(.ion-color),:host(.ion-color) ::slotted(ion-tab-button){color:rgba(var(--ion-color-contrast-rgb), 0.7)}:host(.ion-color),:host(.ion-color) ::slotted(ion-tab-button){background:var(--ion-color-base)}:host(.ion-color) ::slotted(ion-tab-button.ion-focused),:host(.tab-bar-translucent) ::slotted(ion-tab-button.ion-focused){background:var(--background-focused)}:host(.tab-bar-translucent) ::slotted(ion-tab-button){background:transparent}:host([slot=top]){padding-top:var(--ion-safe-area-top, 0);padding-bottom:0;border-top:0;border-bottom:var(--border)}:host(.tab-bar-hidden){display:none !important}:host{--background:var(--ion-tab-bar-background, var(--ion-background-color, #fff));--background-focused:var(--ion-tab-bar-background-focused, #e0e0e0);--border:1px solid var(--ion-tab-bar-border-color, var(--ion-border-color, var(--ion-color-step-150, var(--ion-background-color-step-150, rgba(0, 0, 0, 0.07)))));--color:var(--ion-tab-bar-color, var(--ion-color-step-650, var(--ion-text-color-step-350, #595959)));--color-selected:var(--ion-tab-bar-color-selected, var(--ion-color-primary, #0054e9));height:56px}",bA=yA,DA=q(class extends W{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.ionTabBarChanged=O(this,"ionTabBarChanged",7),this.ionTabBarLoaded=O(this,"ionTabBarLoaded",7),this.keyboardCtrl=null,this.keyboardVisible=!1,this.color=void 0,this.selectedTab=void 0,this.translucent=!1}selectedTabChanged(){this.selectedTab!==void 0&&this.ionTabBarChanged.emit({tab:this.selectedTab})}componentWillLoad(){this.selectedTabChanged()}async connectedCallback(){this.keyboardCtrl=await Ob(async(e,o)=>{e===!1&&o!==void 0&&await o,this.keyboardVisible=e})}disconnectedCallback(){this.keyboardCtrl&&this.keyboardCtrl.destroy()}componentDidLoad(){this.ionTabBarLoaded.emit()}render(){let{color:e,translucent:o,keyboardVisible:n}=this,r=B(this),i=n&&this.el.getAttribute("slot")!=="top";return C(K,{key:"a87fd2ea5df053705a37ea7ffec043e75c4a9907",role:"tablist","aria-hidden":i?"true":null,class:vt(e,{[r]:!0,"tab-bar-translucent":o,"tab-bar-hidden":i})},C("slot",{key:"81a6223299b6cab29d7ddced590e9152e2b3ded0"}))}get el(){return this}static get watchers(){return{selectedTab:["selectedTabChanged"]}}static get style(){return{ios:vA,md:bA}}},[33,"ion-tab-bar",{color:[513],selectedTab:[1,"selected-tab"],translucent:[4],keyboardVisible:[32]},void 0,{selectedTab:["selectedTabChanged"]}]);function wA(){if(typeof customElements>"u")return;["ion-tab-bar"].forEach(e=>{switch(e){case"ion-tab-bar":customElements.get(e)||customElements.define(e,DA);break}})}var Xb=wA;var CA=':host{--ripple-color:var(--color-selected);--background-focused-opacity:1;-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;height:100%;outline:none;background:var(--background);color:var(--color)}.button-native{border-radius:inherit;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;display:-ms-flexbox;display:flex;position:relative;-ms-flex-direction:inherit;flex-direction:inherit;-ms-flex-align:inherit;align-items:inherit;-ms-flex-pack:inherit;justify-content:inherit;width:100%;height:100%;border:0;outline:none;background:transparent;text-decoration:none;cursor:pointer;overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-user-drag:none}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}.button-inner{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:inherit;flex-flow:inherit;-ms-flex-align:inherit;align-items:inherit;-ms-flex-pack:inherit;justify-content:inherit;width:100%;height:100%;z-index:1}:host(.ion-focused) .button-native{color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}@media (any-hover: hover){a:hover{color:var(--color-selected)}}:host(.tab-selected){color:var(--color-selected)}:host(.tab-hidden){display:none !important}:host(.tab-disabled){pointer-events:none;opacity:0.4}::slotted(ion-label),::slotted(ion-icon){display:block;-ms-flex-item-align:center;align-self:center;max-width:100%;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box}::slotted(ion-label){-ms-flex-order:0;order:0}::slotted(ion-icon){-ms-flex-order:-1;order:-1;height:1em}:host(.tab-has-label-only) ::slotted(ion-label){white-space:normal}::slotted(ion-badge){-webkit-box-sizing:border-box;box-sizing:border-box;position:absolute;z-index:1}:host(.tab-layout-icon-start){-ms-flex-direction:row;flex-direction:row}:host(.tab-layout-icon-end){-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.tab-layout-icon-bottom){-ms-flex-direction:column-reverse;flex-direction:column-reverse}:host(.tab-layout-icon-hide) ::slotted(ion-icon){display:none}:host(.tab-layout-label-hide) ::slotted(ion-label){display:none}ion-ripple-effect{color:var(--ripple-color)}:host{--padding-top:0;--padding-end:2px;--padding-bottom:0;--padding-start:2px;max-width:240px;font-size:10px}::slotted(ion-badge){-webkit-padding-start:6px;padding-inline-start:6px;-webkit-padding-end:6px;padding-inline-end:6px;padding-top:1px;padding-bottom:1px;top:4px;height:auto;font-size:12px;line-height:16px}::slotted(ion-badge){inset-inline-start:calc(50% + 6px)}::slotted(ion-icon){margin-top:2px;margin-bottom:2px;font-size:24px}::slotted(ion-icon::before){vertical-align:top}::slotted(ion-label){margin-top:0;margin-bottom:1px;min-height:11px;font-weight:500}:host(.tab-has-label-only) ::slotted(ion-label){margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px;font-size:12px;font-size:14px;line-height:1.1}:host(.tab-layout-icon-end) ::slotted(ion-label),:host(.tab-layout-icon-start) ::slotted(ion-label),:host(.tab-layout-icon-hide) ::slotted(ion-label){margin-top:2px;margin-bottom:2px;font-size:14px;line-height:1.1}:host(.tab-layout-icon-end) ::slotted(ion-icon),:host(.tab-layout-icon-start) ::slotted(ion-icon){min-width:24px;height:26px;margin-top:2px;margin-bottom:1px;font-size:24px}:host(.tab-layout-icon-bottom) ::slotted(ion-badge){inset-inline-start:calc(50% + 12px)}:host(.tab-layout-icon-bottom) ::slotted(ion-icon){margin-top:0;margin-bottom:1px}:host(.tab-layout-icon-bottom) ::slotted(ion-label){margin-top:4px}:host(.tab-layout-icon-start) ::slotted(ion-badge),:host(.tab-layout-icon-end) ::slotted(ion-badge){top:10px}:host(.tab-layout-icon-start) ::slotted(ion-badge),:host(.tab-layout-icon-end) ::slotted(ion-badge){inset-inline-start:calc(50% + 35px)}:host(.tab-layout-icon-hide) ::slotted(ion-badge),:host(.tab-has-label-only) ::slotted(ion-badge){top:10px}:host(.tab-layout-icon-hide) ::slotted(ion-badge),:host(.tab-has-label-only) ::slotted(ion-badge){inset-inline-start:calc(50% + 30px)}:host(.tab-layout-label-hide) ::slotted(ion-badge),:host(.tab-has-icon-only) ::slotted(ion-badge){top:10px}:host(.tab-layout-label-hide) ::slotted(ion-icon){margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}:host(.tab-layout-label-hide) ::slotted(ion-icon),:host(.tab-has-icon-only) ::slotted(ion-icon){font-size:30px}',IA=CA,EA=':host{--ripple-color:var(--color-selected);--background-focused-opacity:1;-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;height:100%;outline:none;background:var(--background);color:var(--color)}.button-native{border-radius:inherit;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;display:-ms-flexbox;display:flex;position:relative;-ms-flex-direction:inherit;flex-direction:inherit;-ms-flex-align:inherit;align-items:inherit;-ms-flex-pack:inherit;justify-content:inherit;width:100%;height:100%;border:0;outline:none;background:transparent;text-decoration:none;cursor:pointer;overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-user-drag:none}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}.button-inner{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:inherit;flex-flow:inherit;-ms-flex-align:inherit;align-items:inherit;-ms-flex-pack:inherit;justify-content:inherit;width:100%;height:100%;z-index:1}:host(.ion-focused) .button-native{color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}@media (any-hover: hover){a:hover{color:var(--color-selected)}}:host(.tab-selected){color:var(--color-selected)}:host(.tab-hidden){display:none !important}:host(.tab-disabled){pointer-events:none;opacity:0.4}::slotted(ion-label),::slotted(ion-icon){display:block;-ms-flex-item-align:center;align-self:center;max-width:100%;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box}::slotted(ion-label){-ms-flex-order:0;order:0}::slotted(ion-icon){-ms-flex-order:-1;order:-1;height:1em}:host(.tab-has-label-only) ::slotted(ion-label){white-space:normal}::slotted(ion-badge){-webkit-box-sizing:border-box;box-sizing:border-box;position:absolute;z-index:1}:host(.tab-layout-icon-start){-ms-flex-direction:row;flex-direction:row}:host(.tab-layout-icon-end){-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.tab-layout-icon-bottom){-ms-flex-direction:column-reverse;flex-direction:column-reverse}:host(.tab-layout-icon-hide) ::slotted(ion-icon){display:none}:host(.tab-layout-label-hide) ::slotted(ion-label){display:none}ion-ripple-effect{color:var(--ripple-color)}:host{--padding-top:0;--padding-end:12px;--padding-bottom:0;--padding-start:12px;max-width:168px;font-size:12px;font-weight:normal;letter-spacing:0.03em}::slotted(ion-label){margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px;text-transform:none}::slotted(ion-icon){margin-left:0;margin-right:0;margin-top:16px;margin-bottom:16px;-webkit-transform-origin:center center;transform-origin:center center;font-size:22px}:host-context([dir=rtl]) ::slotted(ion-icon){-webkit-transform-origin:calc(100% - center) center;transform-origin:calc(100% - center) center}[dir=rtl] ::slotted(ion-icon){-webkit-transform-origin:calc(100% - center) center;transform-origin:calc(100% - center) center}@supports selector(:dir(rtl)){::slotted(ion-icon):dir(rtl){-webkit-transform-origin:calc(100% - center) center;transform-origin:calc(100% - center) center}}::slotted(ion-badge){border-radius:8px;-webkit-padding-start:2px;padding-inline-start:2px;-webkit-padding-end:2px;padding-inline-end:2px;padding-top:3px;padding-bottom:2px;top:8px;min-width:12px;font-size:8px;font-weight:normal}::slotted(ion-badge){inset-inline-start:calc(50% + 6px)}::slotted(ion-badge:empty){display:block;min-width:8px;height:8px}:host(.tab-layout-icon-top) ::slotted(ion-icon){margin-top:6px;margin-bottom:2px}:host(.tab-layout-icon-top) ::slotted(ion-label){margin-top:0;margin-bottom:6px}:host(.tab-layout-icon-bottom) ::slotted(ion-badge){top:8px}:host(.tab-layout-icon-bottom) ::slotted(ion-badge){inset-inline-start:70%}:host(.tab-layout-icon-bottom) ::slotted(ion-icon){margin-top:0;margin-bottom:6px}:host(.tab-layout-icon-bottom) ::slotted(ion-label){margin-top:6px;margin-bottom:0}:host(.tab-layout-icon-start) ::slotted(ion-badge),:host(.tab-layout-icon-end) ::slotted(ion-badge){top:16px}:host(.tab-layout-icon-start) ::slotted(ion-badge),:host(.tab-layout-icon-end) ::slotted(ion-badge){inset-inline-start:80%}:host(.tab-layout-icon-start) ::slotted(ion-icon){-webkit-margin-end:6px;margin-inline-end:6px}:host(.tab-layout-icon-end) ::slotted(ion-icon){-webkit-margin-start:6px;margin-inline-start:6px}:host(.tab-layout-icon-hide) ::slotted(ion-badge),:host(.tab-has-label-only) ::slotted(ion-badge){top:16px}:host(.tab-layout-icon-hide) ::slotted(ion-badge),:host(.tab-has-label-only) ::slotted(ion-badge){inset-inline-start:70%}:host(.tab-layout-icon-hide) ::slotted(ion-label),:host(.tab-has-label-only) ::slotted(ion-label){margin-top:0;margin-bottom:0}:host(.tab-layout-label-hide) ::slotted(ion-badge),:host(.tab-has-icon-only) ::slotted(ion-badge){top:16px}:host(.tab-layout-label-hide) ::slotted(ion-icon),:host(.tab-has-icon-only) ::slotted(ion-icon){margin-top:0;margin-bottom:0;font-size:24px}',xA=EA,SA=q(class extends W{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.ionTabButtonClick=O(this,"ionTabButtonClick",7),this.inheritedAttributes={},this.onKeyUp=e=>{(e.key==="Enter"||e.key===" ")&&this.selectTab(e)},this.onClick=e=>{this.selectTab(e)},this.disabled=!1,this.download=void 0,this.href=void 0,this.rel=void 0,this.layout=void 0,this.selected=!1,this.tab=void 0,this.target=void 0}onTabBarChanged(e){let o=e.target,n=this.el.parentElement;(e.composedPath().includes(n)||o!=null&&o.contains(this.el))&&(this.selected=this.tab===e.detail.tab)}componentWillLoad(){this.inheritedAttributes=Object.assign({},wo(this.el,["aria-label"])),this.layout===void 0&&(this.layout=ge.get("tabButtonLayout","icon-top"))}selectTab(e){this.tab!==void 0&&(this.disabled||this.ionTabButtonClick.emit({tab:this.tab,href:this.href,selected:this.selected}),e.preventDefault())}get hasLabel(){return!!this.el.querySelector("ion-label")}get hasIcon(){return!!this.el.querySelector("ion-icon")}render(){let{disabled:e,hasIcon:o,hasLabel:n,href:r,rel:i,target:s,layout:a,selected:l,tab:c,inheritedAttributes:u}=this,d=B(this),p={download:this.download,href:r,rel:i,target:s};return C(K,{key:"5976c45943ea7ea8e7c1a85fc9996de421439f08",onClick:this.onClick,onKeyup:this.onKeyUp,id:c!==void 0?`tab-button-${c}`:null,class:{[d]:!0,"tab-selected":l,"tab-disabled":e,"tab-has-label":n,"tab-has-icon":o,"tab-has-label-only":n&&!o,"tab-has-icon-only":o&&!n,[`tab-layout-${a}`]:!0,"ion-activatable":!0,"ion-selectable":!0,"ion-focusable":!0}},C("a",Object.assign({key:"1db09d861b67ff292018fb4b0dc7b85bd4677eb8"},p,{class:"button-native",part:"native",role:"tab","aria-selected":l?"true":null,"aria-disabled":e?"true":null,tabindex:e?"-1":void 0},u),C("span",{key:"4381eafcb27e8c7bb0d86d4f115ceb0caf03b9b4",class:"button-inner"},C("slot",{key:"1981135f6fbb88376c1bd923c55c70fe8b5c5159"})),d==="md"&&C("ion-ripple-effect",{key:"0509bc7155d055d1ed710600e9cf4df135881491",type:"unbounded"})))}get el(){return this}static get style(){return{ios:IA,md:xA}}},[33,"ion-tab-button",{disabled:[4],download:[1],href:[1],rel:[1],layout:[1025],selected:[1028],tab:[1],target:[1]},[[8,"ionTabBarChanged","onTabBarChanged"]]]);function TA(){if(typeof customElements>"u")return;["ion-tab-button","ion-ripple-effect"].forEach(e=>{switch(e){case"ion-tab-button":customElements.get(e)||customElements.define(e,SA);break;case"ion-ripple-effect":customElements.get(e)||sl();break}})}var Jb=TA;var e0=Zb;var t0=Qb;var h={allRenderFn:!1,cmpDidLoad:!0,cmpDidUnload:!1,cmpDidUpdate:!0,cmpDidRender:!0,cmpWillLoad:!0,cmpWillUpdate:!0,cmpWillRender:!0,connectedCallback:!0,disconnectedCallback:!0,element:!0,event:!0,hasRenderFn:!0,lifecycle:!0,hostListener:!0,hostListenerTargetWindow:!0,hostListenerTargetDocument:!0,hostListenerTargetBody:!0,hostListenerTargetParent:!1,hostListenerTarget:!0,member:!0,method:!0,mode:!0,observeAttribute:!0,prop:!0,propMutable:!0,reflect:!0,scoped:!0,shadowDom:!0,slot:!0,cssAnnotations:!0,state:!0,style:!0,formAssociated:!1,svg:!0,updatable:!0,vdomAttribute:!0,vdomXlink:!0,vdomClass:!0,vdomFunctional:!0,vdomKey:!0,vdomListener:!0,vdomRef:!0,vdomPropOrAttr:!0,vdomRender:!0,vdomStyle:!0,vdomText:!0,watchCallback:!0,taskQueue:!0,hotModuleReplacement:!1,isDebug:!1,isDev:!1,isTesting:!1,hydrateServerSide:!1,hydrateClientSide:!1,lifecycleDOMEvents:!1,lazyLoad:!1,profile:!1,slotRelocation:!0,appendChildSlotFix:!1,cloneNodeFix:!1,hydratedAttribute:!1,hydratedClass:!0,scriptDataOpts:!1,scopedSlotTextContentFix:!1,shadowDomShim:!1,slotChildNodesFix:!1,invisiblePrehydration:!0,propBoolean:!0,propNumber:!0,propString:!0,constructableCSS:!0,cmpShouldUpdate:!0,devTools:!1,shadowDelegatesFocus:!0,initializeNextTick:!1,asyncLoading:!0,asyncQueue:!1,transformTagName:!1,attachStyles:!0,experimentalSlotFixes:!1};var dl="app";var MA=vh({});var kA=Object.defineProperty,_A=(t,e)=>{for(var o in e)kA(t,o,{get:e[o],enumerable:!0})},Fi={isDev:!!h.isDev,isBrowser:!0,isServer:!1,isTesting:!!h.isTesting},C0=h.hotModuleReplacement?window.__STENCIL_HOSTREFS__||(window.__STENCIL_HOSTREFS__=new WeakMap):new WeakMap,Ut=t=>C0.get(t);var AA=(t,e)=>{let o={$flags$:0,$hostElement$:t,$cmpMeta$:e,$instanceValues$:new Map};return h.isDev&&(o.$renderCount$=0),h.method&&h.lazyLoad&&(o.$onInstancePromise$=new Promise(n=>o.$onInstanceResolve$=n)),h.asyncLoading&&(o.$onReadyPromise$=new Promise(n=>o.$onReadyResolve$=n),t["s-p"]=[],t["s-rc"]=[]),C0.set(t,o)},n0=(t,e)=>e in t,RA,hn=(t,e)=>(RA||console.error)(t,e),I0=h.isTesting?["STENCIL:"]:["%cstencil","color: white;background:#4c47ff;font-weight: bold; font-size:10px; padding:2px 6px; border-radius: 5px"],hl=(...t)=>console.error(...I0,...t),pl=(...t)=>console.warn(...I0,...t);var o0=new Map;var NA=(t,e,o)=>{let n=t.$tagName$.replace(/-/g,"_"),r=t.$lazyBundleId$;if(h.isDev&&typeof r!="string"){hl(`Trying to lazily load component <${t.$tagName$}> with style mode "${e.$modeName$}", but it does not exist.`);return}else if(!r)return;let i=h.hotModuleReplacement?!1:o0.get(r);if(i)return i[n];return MA(`./${r}.entry.js${h.hotModuleReplacement&&o?"?s-hmr="+o:""}`).then(s=>(h.hotModuleReplacement||o0.set(r,s),s[n]),hn)},ml=new Map,OA=[],PA="r",FA="o",LA="s",$A="t",jf="s-id",r0="sty-id",i0="c-id";var jA="slot-fb{display:contents}slot-fb[hidden]{display:none}",s0="http://www.w3.org/1999/xlink",BA=["formAssociatedCallback","formResetCallback","formDisabledCallback","formStateRestoreCallback"],Mr=typeof window<"u"?window:{},Re=Mr.document||{head:{}},E0=Mr.HTMLElement||class{},re={$flags$:0,$resourcesUrl$:"",jmp:t=>t(),raf:t=>requestAnimationFrame(t),ael:(t,e,o,n)=>t.addEventListener(e,o,n),rel:(t,e,o,n)=>t.removeEventListener(e,o,n),ce:(t,e)=>new CustomEvent(t,e)};var vo=h.shadowDom,VA=(()=>{let t=!1;try{Re.addEventListener("e",null,Object.defineProperty({},"passive",{get(){t=!0}}))}catch{}return t})(),UA=t=>Promise.resolve(t),x0=h.constructableCSS?(()=>{try{return new CSSStyleSheet,typeof new CSSStyleSheet().replaceSync=="function"}catch{}return!1})():!1,Pf=0,gl=!1,Ff=[],go=[],Lf=[],zA=(t,e)=>o=>{t.push(o),gl||(gl=!0,e&&re.$flags$&4?Dl(vl):re.raf(vl))},a0=t=>{for(let e=0;e{let o=0,n=0;for(;o{if(h.asyncQueue&&Pf++,a0(Ff),h.asyncQueue){let t=(re.$flags$&6)===2?performance.now()+14*Math.ceil(Pf*.1):1/0;l0(go,t),l0(Lf,t),go.length>0&&(Lf.push(...go),go.length=0),(gl=Ff.length+go.length+Lf.length>0)?re.raf(vl):Pf=0}else a0(go),(gl=Ff.length>0)&&re.raf(vl)},Dl=t=>UA().then(t);var HA=zA(go,!0),S0=t=>{let e=new URL(t,re.$resourcesUrl$);return e.origin!==Mr.location.origin?e.href:e.pathname};var c0={},GA="http://www.w3.org/2000/svg",WA="http://www.w3.org/1999/xhtml",qA=t=>t!=null,Yf=t=>(t=typeof t,t==="object"||t==="function");function ZA(t){var e,o,n;return(n=(o=(e=t.head)==null?void 0:e.querySelector('meta[name="csp-nonce"]'))==null?void 0:o.getAttribute("content"))!=null?n:void 0}var YA={};_A(YA,{err:()=>T0,map:()=>QA,ok:()=>Bf,unwrap:()=>KA,unwrapErr:()=>XA});var Bf=t=>({isOk:!0,isErr:!1,value:t}),T0=t=>({isOk:!1,isErr:!0,value:t});function QA(t,e){if(t.isOk){let o=e(t.value);return o instanceof Promise?o.then(n=>Bf(n)):Bf(o)}if(t.isErr){let o=t.value;return T0(o)}throw"should never get here"}var KA=t=>{if(t.isOk)return t.value;throw t.value},XA=t=>{if(t.isErr)return t.value;throw t.value},JA=0,fn=(t,e="")=>{if(h.profile&&performance.mark){let o=`st:${t}:${e}:${JA++}`;return performance.mark(o),()=>performance.measure(`[Stencil] ${t}() <${e}>`,o)}else return()=>{}},eR=(t,e)=>h.profile&&performance.mark?(performance.getEntriesByName(t,"mark").length===0&&performance.mark(t),()=>{performance.getEntriesByName(e,"measure").length===0&&performance.measure(e,t)}):()=>{};var kr=(t,e,...o)=>{let n=null,r=null,i=null,s=!1,a=!1,l=[],c=d=>{for(let p=0;pd[p]).join(" "))}if(h.isDev&&l.some(Vf)&&hl(`The must be the single root component. Make sure: -- You are NOT using hostData() and in the same component. -- is used once, and it's the single root component of the render() function.`),h.vdomFunctional&&typeof t=="function")return t(e===null?{}:e,l,tR);let u=Sr(t,null);return u.$attrs$=e,l.length>0&&(u.$children$=l),h.vdomKey&&(u.$key$=r),h.slotRelocation&&(u.$name$=i),u},Sr=(t,e)=>{let o={$flags$:0,$tag$:t,$text$:e,$elm$:null,$children$:null};return h.vdomAttribute&&(o.$attrs$=null),h.vdomKey&&(o.$key$=null),h.slotRelocation&&(o.$name$=null),o},Qf={},Vf=t=>t&&t.$tag$===Qf,tR={forEach:(t,e)=>t.map(u0).forEach(e),map:(t,e)=>t.map(u0).map(e).map(nR)},u0=t=>({vattrs:t.$attrs$,vchildren:t.$children$,vkey:t.$key$,vname:t.$name$,vtag:t.$tag$,vtext:t.$text$}),nR=t=>{if(typeof t.vtag=="function"){let o=w({},t.vattrs);return t.vkey&&(o.key=t.vkey),t.vname&&(o.name=t.vname),kr(t.vtag,o,...t.vchildren||[])}let e=Sr(t.vtag,t.vtext);return e.$attrs$=t.vattrs,e.$children$=t.vchildren,e.$key$=t.vkey,e.$name$=t.vname,e},oR=t=>{let e=Object.keys(t),o=e.indexOf("value");if(o===-1)return;let n=e.indexOf("type"),r=e.indexOf("min"),i=e.indexOf("max"),s=e.indexOf("step");(o should be set after "min", "max", "type" and "step"')},rR=(t,e,o,n)=>{let r=fn("hydrateClient",e),i=t.shadowRoot,s=[],a=[],l=h.shadowDom&&i?[]:null,c=n.$vnode$=Sr(e,null);re.$orgLocNodes$||zf(Re.body,re.$orgLocNodes$=new Map),t[jf]=o,t.removeAttribute(jf),Uf(c,s,a,l,t,t,o),s.map(u=>{let d=u.$hostId$+"."+u.$nodeId$,p=re.$orgLocNodes$.get(d),f=u.$elm$;p&&vo&&p["s-en"]===""&&p.parentNode.insertBefore(f,p.nextSibling),i||(f["s-hn"]=e,p&&(f["s-ol"]=p,f["s-ol"]["s-nr"]=f)),re.$orgLocNodes$.delete(d)}),h.shadowDom&&i&&l.map(u=>{u&&i.appendChild(u)}),r()},Uf=(t,e,o,n,r,i,s)=>{let a,l,c,u;if(i.nodeType===1){if(a=i.getAttribute(i0),a&&(l=a.split("."),(l[0]===s||l[0]==="0")&&(c={$flags$:0,$hostId$:l[0],$nodeId$:l[1],$depth$:l[2],$index$:l[3],$tag$:i.tagName.toLowerCase(),$elm$:i,$attrs$:null,$children$:null,$key$:null,$name$:null,$text$:null},e.push(c),i.removeAttribute(i0),t.$children$||(t.$children$=[]),t.$children$[c.$index$]=c,t=c,n&&c.$depth$==="0"&&(n[c.$index$]=c.$elm$))),i.shadowRoot)for(u=i.shadowRoot.childNodes.length-1;u>=0;u--)Uf(t,e,o,n,r,i.shadowRoot.childNodes[u],s);for(u=i.childNodes.length-1;u>=0;u--)Uf(t,e,o,n,r,i.childNodes[u],s)}else if(i.nodeType===8)l=i.nodeValue.split("."),(l[1]===s||l[1]==="0")&&(a=l[0],c={$flags$:0,$hostId$:l[1],$nodeId$:l[2],$depth$:l[3],$index$:l[4],$elm$:i,$attrs$:null,$children$:null,$key$:null,$name$:null,$tag$:null,$text$:null},a===$A?(c.$elm$=i.nextSibling,c.$elm$&&c.$elm$.nodeType===3&&(c.$text$=c.$elm$.textContent,e.push(c),i.remove(),t.$children$||(t.$children$=[]),t.$children$[c.$index$]=c,n&&c.$depth$==="0"&&(n[c.$index$]=c.$elm$))):c.$hostId$===s&&(a===LA?(c.$tag$="slot",l[5]?i["s-sn"]=c.$name$=l[5]:i["s-sn"]="",i["s-sr"]=!0,h.shadowDom&&n&&(c.$elm$=Re.createElement(c.$tag$),c.$name$&&c.$elm$.setAttribute("name",c.$name$),i.parentNode.insertBefore(c.$elm$,i),i.remove(),c.$depth$==="0"&&(n[c.$index$]=c.$elm$)),o.push(c),t.$children$||(t.$children$=[]),t.$children$[c.$index$]=c):a===PA&&(h.shadowDom&&n?i.remove():h.slotRelocation&&(r["s-cr"]=i,i["s-cn"]=!0))));else if(t&&t.$tag$==="style"){let d=Sr(null,i.textContent);d.$elm$=i,d.$index$="0",t.$children$=[d]}},zf=(t,e)=>{if(t.nodeType===1){let o=0;if(t.shadowRoot)for(;oOA.map(e=>e(t)).find(e=>!!e);var sR=(t,e)=>t!=null&&!Yf(t)?h.propBoolean&&e&4?t==="false"?!1:t===""||!!t:h.propNumber&&e&2?parseFloat(t):h.propString&&e&1?String(t):t:t;var M0=(t,e,o)=>{let n=re.ce(e,o);return t.dispatchEvent(n),n},d0=new WeakMap,aR=(t,e,o)=>{let n=ml.get(t);x0&&o?(n=n||new CSSStyleSheet,typeof n=="string"?n=e:n.replaceSync(e)):n=e,ml.set(t,n)},Hf=(t,e,o)=>{var n;let r=k0(e,o),i=ml.get(r);if(!h.attachStyles)return r;if(t=t.nodeType===11?t:Re,i)if(typeof i=="string"){t=t.head||t;let s=d0.get(t),a;if(s||d0.set(t,s=new Set),!s.has(r)){if(h.hydrateClientSide&&t.host&&(a=t.querySelector(`[${r0}="${r}"]`)))a.innerHTML=i;else{a=Re.createElement("style"),a.innerHTML=i;let l=(n=re.$nonce$)!=null?n:ZA(Re);if(l!=null&&a.setAttribute("nonce",l),(h.hydrateServerSide||h.hotModuleReplacement)&&e.$flags$&2&&a.setAttribute(r0,r),!(e.$flags$&1))if(t.nodeName==="HEAD"){let c=t.querySelectorAll("link[rel=preconnect]"),u=c.length>0?c[c.length-1].nextSibling:t.querySelector("style");t.insertBefore(a,u)}else if("host"in t)if(x0){let c=new CSSStyleSheet;c.replaceSync(i),t.adoptedStyleSheets=[c,...t.adoptedStyleSheets]}else{let c=t.querySelector("style");c?c.innerHTML=i+c.innerHTML:t.prepend(a)}else t.append(a);e.$flags$&1&&t.nodeName!=="HEAD"&&t.insertBefore(a,null)}e.$flags$&4&&(a.innerHTML+=jA),s&&s.add(r)}}else h.constructableCSS&&!t.adoptedStyleSheets.includes(i)&&(t.adoptedStyleSheets=[...t.adoptedStyleSheets,i]);return r},lR=t=>{let e=t.$cmpMeta$,o=t.$hostElement$,n=e.$flags$,r=fn("attachStyles",e.$tagName$),i=Hf(h.shadowDom&&vo&&o.shadowRoot?o.shadowRoot:o.getRootNode(),e,t.$modeName$);(h.shadowDom||h.scoped)&&h.cssAnnotations&&n&10&&n&2&&(o["s-sc"]=i,o.classList.add(i+"-h"),h.scoped&&n&2&&o.classList.add(i+"-s")),r()},k0=(t,e)=>"sc-"+(h.mode&&e&&t.$flags$&32?t.$tagName$+"-"+e:t.$tagName$),f0=(t,e,o,n,r,i)=>{if(o!==n){let s=n0(t,e),a=e.toLowerCase();if(h.vdomClass&&e==="class"){let l=t.classList,c=h0(o),u=h0(n);l.remove(...c.filter(d=>d&&!u.includes(d))),l.add(...u.filter(d=>d&&!c.includes(d)))}else if(h.vdomStyle&&e==="style"){if(h.updatable)for(let l in o)(!n||n[l]==null)&&(!h.hydrateServerSide&&l.includes("-")?t.style.removeProperty(l):t.style[l]="");for(let l in n)(!o||n[l]!==o[l])&&(!h.hydrateServerSide&&l.includes("-")?t.style.setProperty(l,n[l]):t.style[l]=n[l])}else if(!(h.vdomKey&&e==="key")){if(h.vdomRef&&e==="ref")n&&n(t);else if(h.vdomListener&&(h.lazyLoad?!s:!t.__lookupSetter__(e))&&e[0]==="o"&&e[1]==="n"){if(e[2]==="-"?e=e.slice(3):n0(Mr,a)?e=a.slice(2):e=a[2]+e.slice(3),o||n){let l=e.endsWith(_0);e=e.replace(uR,""),o&&re.rel(t,e,o,l),n&&re.ael(t,e,n,l)}}else if(h.vdomPropOrAttr){let l=Yf(n);if((s||l&&n!==null)&&!r)try{if(t.tagName.includes("-"))t[e]=n;else{let u=n==null?"":n;e==="list"?s=!1:(o==null||t[e]!=u)&&(typeof t.__lookupSetter__(e)=="function"?t[e]=u:t.setAttribute(e,u))}}catch{}let c=!1;h.vdomXlink&&a!==(a=a.replace(/^xlink\:?/,""))&&(e=a,c=!0),n==null||n===!1?(n!==!1||t.getAttribute(e)==="")&&(h.vdomXlink&&c?t.removeAttributeNS(s0,e):t.removeAttribute(e)):(!s||i&4||r)&&!l&&(n=n===!0?"":n,h.vdomXlink&&c?t.setAttributeNS(s0,e,n):t.setAttribute(e,n))}}}},cR=/\s/,h0=t=>t?t.split(cR):[],_0="Capture",uR=new RegExp(_0+"$"),A0=(t,e,o)=>{let n=e.$elm$.nodeType===11&&e.$elm$.host?e.$elm$.host:e.$elm$,r=t&&t.$attrs$||c0,i=e.$attrs$||c0;if(h.updatable)for(let s of p0(Object.keys(r)))s in i||f0(n,s,r[s],void 0,o,e.$flags$);for(let s of p0(Object.keys(i)))f0(n,s,r[s],i[s],o,e.$flags$)};function p0(t){return t.includes("ref")?[...t.filter(e=>e!=="ref"),"ref"]:t}var Ir,Gf,dn,Oi=!1,yl=!1,wl=!1,ct=!1,bl=(t,e,o,n)=>{var r;let i=e.$children$[o],s=0,a,l,c;if(h.slotRelocation&&!Oi&&(wl=!0,i.$tag$==="slot"&&(Ir&&n.classList.add(Ir+"-s"),i.$flags$|=i.$children$?2:1)),h.isDev&&i.$elm$&&hl(`The JSX ${i.$text$!==null?`"${i.$text$}" text`:`"${i.$tag$}" element`} node should not be shared within the same renderer. The renderer caches element lookups in order to improve performance. However, a side effect from this is that the exact same JSX node should not be reused. For more information please see https://stenciljs.com/docs/templating-jsx#avoid-shared-jsx-nodes`),h.vdomText&&i.$text$!==null)a=i.$elm$=Re.createTextNode(i.$text$);else if(h.slotRelocation&&i.$flags$&1)a=i.$elm$=h.isDebug||h.hydrateServerSide?fR(i):Re.createTextNode("");else{if(h.svg&&!ct&&(ct=i.$tag$==="svg"),a=i.$elm$=h.svg?Re.createElementNS(ct?GA:WA,!Oi&&h.slotRelocation&&i.$flags$&2?"slot-fb":i.$tag$):Re.createElement(!Oi&&h.slotRelocation&&i.$flags$&2?"slot-fb":i.$tag$),h.svg&&ct&&i.$tag$==="foreignObject"&&(ct=!1),h.vdomAttribute&&A0(null,i,ct),!!a.getRootNode().querySelector("body")&&h.scoped&&qA(Ir)&&a["s-si"]!==Ir&&a.classList.add(a["s-si"]=Ir),h.scoped&&Xf(a,n),i.$children$)for(s=0;s{re.$flags$|=1;let e=t.closest(dn.toLowerCase());if(e!=null){let o=Array.from(e.childNodes).find(r=>r["s-cr"]),n=Array.from(t.childNodes);for(let r of o?n.reverse():n)r["s-sh"]!=null&&(Je(e,r,o!=null?o:null),r["s-sh"]=void 0,wl=!0)}re.$flags$&=-2},Pi=(t,e)=>{re.$flags$|=1;let o=Array.from(t.childNodes);if(t["s-sr"]&&h.experimentalSlotFixes){let n=t;for(;n=n.nextSibling;)n&&n["s-sn"]===t["s-sn"]&&n["s-sh"]===dn&&o.push(n)}for(let n=o.length-1;n>=0;n--){let r=o[n];r["s-hn"]!==dn&&r["s-ol"]&&(Je(P0(r),r,Kf(r)),r["s-ol"].remove(),r["s-ol"]=void 0,r["s-sh"]=void 0,wl=!0),e&&Pi(r,e)}re.$flags$&=-2},N0=(t,e,o,n,r,i)=>{let s=h.slotRelocation&&t["s-cr"]&&t["s-cr"].parentNode||t,a;for(h.shadowDom&&s.shadowRoot&&s.tagName===dn&&(s=s.shadowRoot);r<=i;++r)n[r]&&(a=bl(null,o,r,t),a&&(n[r].$elm$=a,Je(s,a,h.slotRelocation?Kf(e):e)))},O0=(t,e,o)=>{for(let n=e;n<=o;++n){let r=t[n];if(r){let i=r.$elm$;L0(r),i&&(h.slotRelocation&&(yl=!0,i["s-ol"]?i["s-ol"].remove():Pi(i,!0)),i.remove())}}},dR=(t,e,o,n,r=!1)=>{let i=0,s=0,a=0,l=0,c=e.length-1,u=e[0],d=e[c],p=n.length-1,f=n[0],g=n[p],v,b;for(;i<=c&&s<=p;)if(u==null)u=e[++i];else if(d==null)d=e[--c];else if(f==null)f=n[++s];else if(g==null)g=n[--p];else if(fl(u,f,r))Er(u,f,r),u=e[++i],f=n[++s];else if(fl(d,g,r))Er(d,g,r),d=e[--c],g=n[--p];else if(fl(u,g,r))h.slotRelocation&&(u.$tag$==="slot"||g.$tag$==="slot")&&Pi(u.$elm$.parentNode,!1),Er(u,g,r),Je(t,u.$elm$,d.$elm$.nextSibling),u=e[++i],g=n[--p];else if(fl(d,f,r))h.slotRelocation&&(u.$tag$==="slot"||g.$tag$==="slot")&&Pi(d.$elm$.parentNode,!1),Er(d,f,r),Je(t,d.$elm$,u.$elm$),d=e[--c],f=n[++s];else{if(a=-1,h.vdomKey){for(l=i;l<=c;++l)if(e[l]&&e[l].$key$!==null&&e[l].$key$===f.$key$){a=l;break}}h.vdomKey&&a>=0?(b=e[a],b.$tag$!==f.$tag$?v=bl(e&&e[s],o,a,t):(Er(b,f,r),e[a]=void 0,v=b.$elm$),f=n[++s]):(v=bl(e&&e[s],o,s,t),f=n[++s]),v&&(h.slotRelocation?Je(P0(u.$elm$),v,Kf(u.$elm$)):Je(u.$elm$.parentNode,v,u.$elm$))}i>c?N0(t,n[p+1]==null?null:n[p+1].$elm$,o,n,s,p):h.updatable&&s>p&&O0(e,i,c)},fl=(t,e,o=!1)=>t.$tag$===e.$tag$?h.slotRelocation&&t.$tag$==="slot"?"$nodeId$"in t&&o&&t.$elm$.nodeType!==8?!1:t.$name$===e.$name$:h.vdomKey&&!o?t.$key$===e.$key$:!0:!1,Kf=t=>t&&t["s-ol"]||t,P0=t=>(t["s-ol"]?t["s-ol"]:t).parentNode,Er=(t,e,o=!1)=>{let n=e.$elm$=t.$elm$,r=t.$children$,i=e.$children$,s=e.$tag$,a=e.$text$,l;!h.vdomText||a===null?(h.svg&&(ct=s==="svg"?!0:s==="foreignObject"?!1:ct),(h.vdomAttribute||h.reflect)&&(h.slot&&s==="slot"&&!Oi?h.experimentalSlotFixes&&t.$name$!==e.$name$&&(e.$elm$["s-sn"]=e.$name$||"",R0(e.$elm$.parentElement)):A0(t,e,ct)),h.updatable&&r!==null&&i!==null?dR(n,r,e,i,o):i!==null?(h.updatable&&h.vdomText&&t.$text$!==null&&(n.textContent=""),N0(n,null,e,i,0,i.length-1)):!o&&h.updatable&&r!==null&&O0(r,0,r.length-1),h.svg&&ct&&s==="svg"&&(ct=!1)):h.vdomText&&h.slotRelocation&&(l=n["s-cr"])?l.parentNode.textContent=a:h.vdomText&&t.$text$!==a&&(n.data=a)},Cl=t=>{let e=t.childNodes;for(let o of e)if(o.nodeType===1){if(o["s-sr"]){let n=o["s-sn"];o.hidden=!1;for(let r of e)if(r!==o){if(r["s-hn"]!==o["s-hn"]||n!==""){if(r.nodeType===1&&(n===r.getAttribute("slot")||n===r["s-sn"])||r.nodeType===3&&n===r["s-sn"]){o.hidden=!0;break}}else if(r.nodeType===1||r.nodeType===3&&r.textContent.trim()!==""){o.hidden=!0;break}}}Cl(o)}},un=[],F0=t=>{let e,o,n;for(let r of t.childNodes){if(r["s-sr"]&&(e=r["s-cr"])&&e.parentNode){o=e.parentNode.childNodes;let i=r["s-sn"];for(n=o.length-1;n>=0;n--)if(e=o[n],!e["s-cn"]&&!e["s-nr"]&&e["s-hn"]!==r["s-hn"]&&(!h.experimentalSlotFixes||!e["s-sh"]||e["s-sh"]!==r["s-hn"]))if(m0(e,i)){let s=un.find(a=>a.$nodeToRelocate$===e);yl=!0,e["s-sn"]=e["s-sn"]||i,s?(s.$nodeToRelocate$["s-sh"]=r["s-hn"],s.$slotRefNode$=r):(e["s-sh"]=r["s-hn"],un.push({$slotRefNode$:r,$nodeToRelocate$:e})),e["s-sr"]&&un.map(a=>{m0(a.$nodeToRelocate$,e["s-sn"])&&(s=un.find(l=>l.$nodeToRelocate$===e),s&&!a.$slotRefNode$&&(a.$slotRefNode$=s.$slotRefNode$))})}else un.some(s=>s.$nodeToRelocate$===e)||un.push({$nodeToRelocate$:e})}r.nodeType===1&&F0(r)}},m0=(t,e)=>t.nodeType===1?t.getAttribute("slot")===null&&e===""||t.getAttribute("slot")===e:t["s-sn"]===e?!0:e==="",L0=t=>{h.vdomRef&&(t.$attrs$&&t.$attrs$.ref&&t.$attrs$.ref(null),t.$children$&&t.$children$.map(L0))},Je=(t,e,o)=>{let n=t==null?void 0:t.insertBefore(e,o);return h.scoped&&Xf(e,t),n},$0=t=>{let e=[];return t&&e.push(...t["s-scs"]||[],t["s-si"],t["s-sc"],...$0(t.parentElement)),e},Xf=(t,e,o=!1)=>{var n;if(t&&e&&t.nodeType===1){let r=new Set($0(e).filter(Boolean));if(r.size&&((n=t.classList)==null||n.add(...t["s-scs"]=[...r]),t["s-ol"]||o))for(let i of Array.from(t.childNodes))Xf(i,t,!0)}},g0=(t,e,o=!1)=>{var n,r,i,s,a;let l=t.$hostElement$,c=t.$cmpMeta$,u=t.$vnode$||Sr(null,null),d=Vf(e)?e:kr(null,null,e);if(dn=l.tagName,h.isDev&&Array.isArray(e)&&e.some(Vf))throw new Error(`The must be the single root component. -Looks like the render() function of "${dn.toLowerCase()}" is returning an array that contains the . - -The render() function should look like this instead: - -render() { - // Do not return an array - return ( - {content} - ); -} - `);if(h.reflect&&c.$attrsToReflect$&&(d.$attrs$=d.$attrs$||{},c.$attrsToReflect$.map(([p,f])=>d.$attrs$[f]=l[p])),o&&d.$attrs$)for(let p of Object.keys(d.$attrs$))l.hasAttribute(p)&&!["key","ref","style","class"].includes(p)&&(d.$attrs$[p]=l[p]);if(d.$tag$=null,d.$flags$|=4,t.$vnode$=d,d.$elm$=u.$elm$=h.shadowDom&&l.shadowRoot||l,(h.scoped||h.shadowDom)&&(Ir=l["s-sc"]),Oi=vo&&(c.$flags$&1)!==0,h.slotRelocation&&(Gf=l["s-cr"],yl=!1),Er(u,d,o),h.slotRelocation){if(re.$flags$|=1,wl){F0(d.$elm$);for(let p of un){let f=p.$nodeToRelocate$;if(!f["s-ol"]){let g=h.isDebug||h.hydrateServerSide?hR(f):Re.createTextNode("");g["s-nr"]=f,Je(f.parentNode,f["s-ol"]=g,f)}}for(let p of un){let f=p.$nodeToRelocate$,g=p.$slotRefNode$;if(g){let v=g.parentNode,b=g.nextSibling;if(!h.experimentalSlotFixes||b&&b.nodeType===1){let D=(n=f["s-ol"])==null?void 0:n.previousSibling;for(;D;){let I=(r=D["s-nr"])!=null?r:null;if(I&&I["s-sn"]===f["s-sn"]&&v===I.parentNode){for(I=I.nextSibling;I===f||I!=null&&I["s-sr"];)I=I==null?void 0:I.nextSibling;if(!I||!I["s-nr"]){b=I;break}}D=D.previousSibling}}(!b&&v!==f.parentNode||f.nextSibling!==b)&&f!==b&&(!h.experimentalSlotFixes&&!f["s-hn"]&&f["s-ol"]&&(f["s-hn"]=f["s-ol"].parentNode.nodeName),Je(v,f,b),f.nodeType===1&&(f.hidden=(i=f["s-ih"])!=null?i:!1)),f&&typeof g["s-rf"]=="function"&&g["s-rf"](f)}else f.nodeType===1&&(o&&(f["s-ih"]=(s=f.hidden)!=null?s:!1),f.hidden=!0)}}yl&&Cl(d.$elm$),re.$flags$&=-2,un.length=0}if(h.experimentalScopedSlotChanges&&c.$flags$&2)for(let p of d.$elm$.childNodes)p["s-hn"]!==dn&&!p["s-sh"]&&(o&&p["s-ih"]==null&&(p["s-ih"]=(a=p.hidden)!=null?a:!1),p.hidden=!0);Gf=void 0},fR=t=>Re.createComment(` (host=${dn.toLowerCase()})`),hR=t=>Re.createComment("org-location for "+(t.localName?`<${t.localName}> (host=${t["s-hn"]})`:`[${t.textContent}]`)),j0=(t,e)=>{h.asyncLoading&&e&&!t.$onRenderResolve$&&e["s-p"]&&e["s-p"].push(new Promise(o=>t.$onRenderResolve$=o))},Jf=(t,e)=>{if(h.taskQueue&&h.updatable&&(t.$flags$|=16),h.asyncLoading&&t.$flags$&4){t.$flags$|=512;return}j0(t,t.$ancestorComponent$);let o=()=>pR(t,e);return h.taskQueue?HA(o):o()},pR=(t,e)=>{let o=t.$hostElement$,n=fn("scheduleUpdate",t.$cmpMeta$.$tagName$),r=h.lazyLoad?t.$lazyInstance$:o;if(!r)throw new Error(`Can't render component <${o.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let i;return e?(h.lazyLoad&&h.hostListener&&(t.$flags$|=256,t.$queuedListeners$&&(t.$queuedListeners$.map(([s,a])=>zt(r,s,a)),t.$queuedListeners$=void 0)),xr(o,"componentWillLoad"),h.cmpWillLoad&&(i=zt(r,"componentWillLoad"))):(xr(o,"componentWillUpdate"),h.cmpWillUpdate&&(i=zt(r,"componentWillUpdate"))),xr(o,"componentWillRender"),h.cmpWillRender&&(i=v0(i,()=>zt(r,"componentWillRender"))),n(),v0(i,()=>gR(t,r,e))},v0=(t,e)=>mR(t)?t.then(e).catch(o=>{console.error(o),e()}):e(),mR=t=>t instanceof Promise||t&&t.then&&typeof t.then=="function",gR=async(t,e,o)=>{var n;let r=t.$hostElement$,i=fn("update",t.$cmpMeta$.$tagName$),s=r["s-rc"];h.style&&o&&lR(t);let a=fn("render",t.$cmpMeta$.$tagName$);if(h.isDev&&(t.$flags$|=1024),h.hydrateServerSide?await b0(t,e,r,o):b0(t,e,r,o),h.isDev&&(t.$renderCount$=t.$renderCount$===void 0?1:t.$renderCount$+1,t.$flags$&=-1025),h.hydrateServerSide)try{V0(r),o&&(t.$cmpMeta$.$flags$&1?r["s-en"]="":t.$cmpMeta$.$flags$&2&&(r["s-en"]="c"))}catch(l){hn(l,r)}if(h.asyncLoading&&s&&(s.map(l=>l()),r["s-rc"]=void 0),a(),i(),h.asyncLoading){let l=(n=r["s-p"])!=null?n:[],c=()=>D0(t);l.length===0?c():(Promise.all(l).then(c),t.$flags$|=4,l.length=0)}else D0(t)},y0=null,b0=(t,e,o,n)=>{let r=!!h.allRenderFn,i=!!h.lazyLoad,s=!!h.taskQueue,a=!!h.updatable;try{if(y0=e,e=(r||e.render)&&e.render(),a&&s&&(t.$flags$&=-17),(a||i)&&(t.$flags$|=2),h.hasRenderFn||h.reflect)if(h.vdomRender||h.reflect){if(h.hydrateServerSide)return Promise.resolve(e).then(l=>g0(t,l,n));g0(t,e,n)}else{let l=o.shadowRoot;t.$cmpMeta$.$flags$&1?l.textContent=e:o.textContent=e}}catch(l){hn(l,t.$hostElement$)}return y0=null,null};var D0=t=>{let e=t.$cmpMeta$.$tagName$,o=t.$hostElement$,n=fn("postUpdate",e),r=h.lazyLoad?t.$lazyInstance$:o,i=t.$ancestorComponent$;h.cmpDidRender&&(h.isDev&&(t.$flags$|=1024),zt(r,"componentDidRender"),h.isDev&&(t.$flags$&=-1025)),xr(o,"componentDidRender"),t.$flags$&64?(h.cmpDidUpdate&&(h.isDev&&(t.$flags$|=1024),zt(r,"componentDidUpdate"),h.isDev&&(t.$flags$&=-1025)),xr(o,"componentDidUpdate"),n()):(t.$flags$|=64,h.asyncLoading&&h.cssAnnotations&&B0(o),h.cmpDidLoad&&(h.isDev&&(t.$flags$|=2048),zt(r,"componentDidLoad"),h.isDev&&(t.$flags$&=-2049)),xr(o,"componentDidLoad"),n(),h.asyncLoading&&(t.$onReadyResolve$(o),i||vR(e))),h.method&&h.lazyLoad&&t.$onInstanceResolve$(o),h.asyncLoading&&(t.$onRenderResolve$&&(t.$onRenderResolve$(),t.$onRenderResolve$=void 0),t.$flags$&512&&Dl(()=>Jf(t,!1)),t.$flags$&=-517)};var vR=t=>{h.cssAnnotations&&B0(Re.documentElement),h.asyncQueue&&(re.$flags$|=2),Dl(()=>M0(Mr,"appload",{detail:{namespace:dl}})),h.profile&&performance.measure&&performance.measure(`[Stencil] ${dl} initial load (by ${t})`,"st:app:start")},zt=(t,e,o)=>{if(t&&t[e])try{return t[e](o)}catch(n){hn(n)}},xr=(t,e)=>{h.lifecycleDOMEvents&&M0(t,"stencil_"+e,{bubbles:!0,composed:!0,detail:{namespace:dl}})},B0=t=>{var e,o;return h.hydratedClass?t.classList.add((e=h.hydratedSelectorName)!=null?e:"hydrated"):h.hydratedAttribute?t.setAttribute((o=h.hydratedSelectorName)!=null?o:"hydrated",""):void 0},V0=t=>{let e=t.children;if(e!=null)for(let o=0,n=e.length;oUt(t).$instanceValues$.get(e),bR=(t,e,o,n)=>{let r=Ut(t);if(h.lazyLoad&&!r)throw new Error(`Couldn't find host element for "${n.$tagName$}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/ionic-team/stencil/issues/5457).`);let i=h.lazyLoad?r.$hostElement$:t,s=r.$instanceValues$.get(e),a=r.$flags$,l=h.lazyLoad?r.$lazyInstance$:i;o=sR(o,n.$members$[e][0]);let c=Number.isNaN(s)&&Number.isNaN(o),u=o!==s&&!c;if((!h.lazyLoad||!(a&8)||s===void 0)&&u&&(r.$instanceValues$.set(e,o),h.isDev&&(r.$flags$&1024?pl(`The state/prop "${e}" changed during rendering. This can potentially lead to infinite-loops and other bugs.`,` -Element`,i,` -New value`,o,` -Old value`,s):r.$flags$&2048&&pl(`The state/prop "${e}" changed during "componentDidLoad()", this triggers extra re-renders, try to setup on "componentWillLoad()"`,` -Element`,i,` -New value`,o,` -Old value`,s)),!h.lazyLoad||l)){if(h.watchCallback&&n.$watchers$&&a&128){let d=n.$watchers$[e];d&&d.map(p=>{try{l[p](o,s,e)}catch(f){hn(f,i)}})}if(h.updatable&&(a&18)===2){if(h.cmpShouldUpdate&&l.componentShouldUpdate&&l.componentShouldUpdate(o,s,e)===!1)return;Jf(r,!1)}}},U0=(t,e,o)=>{var n,r;let i=t.prototype;if(h.formAssociated&&e.$flags$&64&&o&1&&BA.forEach(s=>Object.defineProperty(i,s,{value(...a){let l=Ut(this),c=h.lazyLoad?l.$hostElement$:this,u=h.lazyLoad?l.$lazyInstance$:c;if(!u)l.$onReadyPromise$.then(d=>{let p=d[s];typeof p=="function"&&p.call(d,...a)});else{let d=u[s];typeof d=="function"&&d.call(u,...a)}}})),h.member&&e.$members$||h.watchCallback&&(e.$watchers$||t.watchers)){h.watchCallback&&t.watchers&&!e.$watchers$&&(e.$watchers$=t.watchers);let s=Object.entries((n=e.$members$)!=null?n:{});if(s.map(([a,[l]])=>{(h.prop||h.state)&&(l&31||(!h.lazyLoad||o&2)&&l&32)?Object.defineProperty(i,a,{get(){return yR(this,a)},set(c){if(h.isDev){let u=Ut(this);!(o&1)&&(u&&u.$flags$&8)===0&&l&31&&!(l&1024)&&pl(`@Prop() "${a}" on <${e.$tagName$}> is immutable but was modified from within the component. -More information: https://stenciljs.com/docs/properties#prop-mutability`)}bR(this,a,c,e)},configurable:!0,enumerable:!0}):h.lazyLoad&&h.method&&o&1&&l&64&&Object.defineProperty(i,a,{value(...c){var u;let d=Ut(this);return(u=d==null?void 0:d.$onInstancePromise$)==null?void 0:u.then(()=>{var p;return(p=d.$lazyInstance$)==null?void 0:p[a](...c)})}})}),h.observeAttribute&&(!h.lazyLoad||o&1)){let a=new Map;i.attributeChangedCallback=function(l,c,u){re.jmp(()=>{var d;let p=a.get(l);if(this.hasOwnProperty(p))u=this[p],delete this[p];else{if(i.hasOwnProperty(p)&&typeof this[p]=="number"&&this[p]==u)return;if(p==null){let f=Ut(this),g=f==null?void 0:f.$flags$;if(g&&!(g&8)&&g&128&&u!==c){let v=h.lazyLoad?f.$hostElement$:this,b=h.lazyLoad?f.$lazyInstance$:v,D=(d=e.$watchers$)==null?void 0:d[l];D==null||D.forEach(I=>{b[I]!=null&&b[I].call(b,u,c,l)})}return}}this[p]=u===null&&typeof this[p]=="boolean"?!1:u})},t.observedAttributes=Array.from(new Set([...Object.keys((r=e.$watchers$)!=null?r:{}),...s.filter(([l,c])=>c[0]&15).map(([l,c])=>{var u;let d=c[1]||l;return a.set(d,l),h.reflect&&c[0]&512&&((u=e.$attrsToReflect$)==null||u.push([l,d])),d})]))}}return t},w0=async(t,e,o,n)=>{let r;if(!(e.$flags$&32)){e.$flags$|=32;let a=o.$lazyBundleId$;if((h.lazyLoad||h.hydrateClientSide)&&a){let l=NA(o,e,n);if(l&&"then"in l){let u=eR(`st:load:${o.$tagName$}:${e.$modeName$}`,`[Stencil] Load module for <${o.$tagName$}>`);r=await l,u()}else r=l;if(!r)throw new Error(`Constructor for "${o.$tagName$}#${e.$modeName$}" was not found`);h.member&&!r.isProxied&&(h.watchCallback&&(o.$watchers$=r.watchers),U0(r,o,2),r.isProxied=!0);let c=fn("createInstance",o.$tagName$);h.member&&(e.$flags$|=8);try{new r(e)}catch(u){hn(u)}h.member&&(e.$flags$&=-9),h.watchCallback&&(e.$flags$|=128),c(),Wf(e.$lazyInstance$)}else{r=t.constructor;let l=t.localName;customElements.whenDefined(l).then(()=>e.$flags$|=128)}if(h.style&&r&&r.style){let l;typeof r.style=="string"?l=r.style:h.mode&&typeof r.style!="string"&&(e.$modeName$=iR(t),e.$modeName$&&(l=r.style[e.$modeName$]),h.hydrateServerSide&&e.$modeName$&&t.setAttribute("s-mode",e.$modeName$));let c=k0(o,e.$modeName$);if(!ml.has(c)){let u=fn("registerStyles",o.$tagName$);!h.hydrateServerSide&&h.shadowDom&&h.shadowDomShim&&o.$flags$&8&&(l=await import("./shadow-css-BCWX7JCL.js").then(d=>d.scopeCss(l,c))),aR(c,l,!!(o.$flags$&1)),u()}}}let i=e.$ancestorComponent$,s=()=>Jf(e,!0);h.asyncLoading&&i&&i["s-rc"]?i["s-rc"].push(s):s()},Wf=t=>{h.lazyLoad&&h.connectedCallback&&zt(t,"connectedCallback")},DR=t=>{if(!(re.$flags$&1)){let e=Ut(t),o=e.$cmpMeta$,n=fn("connectedCallback",o.$tagName$);if(h.hostListenerTargetParent&&Zf(t,e,o.$listeners$,!0),e.$flags$&1)Zf(t,e,o.$listeners$,!1),e!=null&&e.$lazyInstance$?Wf(e.$lazyInstance$):e!=null&&e.$onReadyPromise$&&e.$onReadyPromise$.then(()=>Wf(e.$lazyInstance$));else{e.$flags$|=1;let r;if(h.hydrateClientSide&&(r=t.getAttribute(jf),r)){if(h.shadowDom&&vo&&o.$flags$&1){let i=h.mode?Hf(t.shadowRoot,o,t.getAttribute("s-mode")):Hf(t.shadowRoot,o);t.classList.remove(i+"-h",i+"-s")}rR(t,o.$tagName$,r,e)}if(h.slotRelocation&&!r&&(h.hydrateServerSide||(h.slot||h.shadowDom)&&o.$flags$&12)&&wR(t),h.asyncLoading){let i=t;for(;i=i.parentNode||i.host;)if(h.hydrateClientSide&&i.nodeType===1&&i.hasAttribute("s-id")&&i["s-p"]||i["s-p"]){j0(e,e.$ancestorComponent$=i);break}}h.prop&&!h.hydrateServerSide&&o.$members$&&Object.entries(o.$members$).map(([i,[s]])=>{if(s&31&&t.hasOwnProperty(i)){let a=t[i];delete t[i],t[i]=a}}),h.initializeNextTick?Dl(()=>w0(t,e,o)):w0(t,e,o)}n()}},wR=t=>{let e=t["s-cr"]=Re.createComment(h.isDebug?`content-ref (host=${t.localName})`:"");e["s-cn"]=!0,Je(t,e,t.firstChild)},$f=t=>{h.lazyLoad&&h.disconnectedCallback&&zt(t,"disconnectedCallback"),h.cmpDidUnload&&zt(t,"componentDidUnload")},CR=async t=>{if(!(re.$flags$&1)){let e=Ut(t);h.hostListener&&e.$rmListeners$&&(e.$rmListeners$.map(o=>o()),e.$rmListeners$=void 0),h.lazyLoad?e!=null&&e.$lazyInstance$?$f(e.$lazyInstance$):e!=null&&e.$onReadyPromise$&&e.$onReadyPromise$.then(()=>$f(e.$lazyInstance$)):$f(t)}},IR=(t,e)=>{z0(t),H0(t),SR(t),xR(t),kR(t),TR(t),MR(t),G0(t),W0(t,e),ER(t)},z0=t=>{let e=t.cloneNode;t.cloneNode=function(o){let n=this,r=h.shadowDom?n.shadowRoot&&vo:!1,i=e.call(n,r?o:!1);if(h.slot&&!r&&o){let s=0,a,l,c=["s-id","s-cr","s-lr","s-rc","s-sc","s-p","s-cn","s-sr","s-sn","s-hn","s-ol","s-nr","s-si","s-rf","s-scs"];for(;s!n.childNodes[s][u]),a&&(h.appendChildSlotFix&&i.__appendChild?i.__appendChild(a.cloneNode(!0)):i.appendChild(a.cloneNode(!0))),l&&i.appendChild(n.childNodes[s].cloneNode(!0))}return i}},H0=t=>{t.__appendChild=t.appendChild,t.appendChild=function(e){let o=e["s-sn"]=q0(e),n=Tr(this.childNodes,o,this.tagName);if(n){let r=document.createTextNode("");r["s-nr"]=e,n["s-cr"].parentNode.__appendChild(r),e["s-ol"]=r,e["s-sh"]=n["s-hn"];let i=eh(n,o),s=i[i.length-1],a=Je(s.parentNode,e,s.nextSibling);return Cl(this),a}return this.__appendChild(e)}},ER=t=>{t.__removeChild=t.removeChild,t.removeChild=function(e){if(e&&typeof e["s-sn"]<"u"){let o=Tr(this.childNodes,e["s-sn"],this.tagName);if(o){let r=eh(o,e["s-sn"]).find(i=>i===e);if(r){r.remove(),Cl(this);return}}}return this.__removeChild(e)}},xR=t=>{let e=t.prepend;t.prepend=function(...o){o.forEach(n=>{typeof n=="string"&&(n=this.ownerDocument.createTextNode(n));let r=n["s-sn"]=q0(n),i=Tr(this.childNodes,r,this.tagName);if(i){let s=document.createTextNode("");s["s-nr"]=n,i["s-cr"].parentNode.__appendChild(s),n["s-ol"]=s,n["s-sh"]=i["s-hn"];let l=eh(i,r)[0];return Je(l.parentNode,n,l.nextSibling)}return n.nodeType===1&&n.getAttribute("slot")&&(n.hidden=!0),e.call(this,n)})}},SR=t=>{t.append=function(...e){e.forEach(o=>{typeof o=="string"&&(o=this.ownerDocument.createTextNode(o)),this.appendChild(o)})}},TR=t=>{let e=t.insertAdjacentHTML;t.insertAdjacentHTML=function(o,n){if(o!=="afterbegin"&&o!=="beforeend")return e.call(this,o,n);let r=this.ownerDocument.createElement("_"),i;if(r.innerHTML=n,o==="afterbegin")for(;i=r.firstChild;)this.prepend(i);else if(o==="beforeend")for(;i=r.firstChild;)this.append(i)}},MR=t=>{t.insertAdjacentText=function(e,o){this.insertAdjacentHTML(e,o)}},kR=t=>{let e=t.insertAdjacentElement;t.insertAdjacentElement=function(o,n){return o!=="afterbegin"&&o!=="beforeend"?e.call(this,o,n):o==="afterbegin"?(this.prepend(n),n):(o==="beforeend"&&this.append(n),n)}},G0=t=>{let e=Object.getOwnPropertyDescriptor(Node.prototype,"textContent");Object.defineProperty(t,"__textContent",e),h.experimentalScopedSlotChanges?Object.defineProperty(t,"textContent",{get(){return" "+qf(this.childNodes).map(r=>{var i,s;let a=[],l=r.nextSibling;for(;l&&l["s-sn"]===r["s-sn"];)(l.nodeType===3||l.nodeType===1)&&a.push((s=(i=l.textContent)==null?void 0:i.trim())!=null?s:""),l=l.nextSibling;return a.filter(c=>c!=="").join(" ")}).filter(r=>r!=="").join(" ")+" "},set(o){qf(this.childNodes).forEach(r=>{let i=r.nextSibling;for(;i&&i["s-sn"]===r["s-sn"];){let s=i;i=i.nextSibling,s.remove()}if(r["s-sn"]===""){let s=this.ownerDocument.createTextNode(o);s["s-sn"]="",Je(r.parentElement,s,r.nextSibling)}else r.remove()})}}):Object.defineProperty(t,"textContent",{get(){var o;let n=Tr(this.childNodes,"",this.tagName);return((o=n==null?void 0:n.nextSibling)==null?void 0:o.nodeType)===3?n.nextSibling.textContent:n?n.textContent:this.__textContent},set(o){var n;let r=Tr(this.childNodes,"",this.tagName);if(((n=r==null?void 0:r.nextSibling)==null?void 0:n.nodeType)===3)r.nextSibling.textContent=o;else if(r)r.textContent=o;else{this.__textContent=o;let i=this["s-cr"];i&&Je(this,i,this.firstChild)}}})},W0=(t,e)=>{class o extends Array{item(r){return this[r]}}if(e.$flags$&8){let n=t.__lookupGetter__("childNodes");Object.defineProperty(t,"children",{get(){return this.childNodes.map(r=>r.nodeType===1)}}),Object.defineProperty(t,"childElementCount",{get(){return t.children.length}}),Object.defineProperty(t,"childNodes",{get(){let r=n.call(this);if(!(re.$flags$&1)&&Ut(this).$flags$&2){let i=new o;for(let s=0;s{let e=[];for(let o of Array.from(t))o["s-sr"]&&e.push(o),e.push(...qf(o.childNodes));return e},q0=t=>t["s-sn"]||t.nodeType===1&&t.getAttribute("slot")||"",Tr=(t,e,o)=>{let n=0,r;for(;n{let o=[t];for(;(t=t.nextSibling)&&t["s-sn"]===e;)o.push(t);return o};var Z0=(t,e)=>{let o={$flags$:e[0],$tagName$:e[1]};h.member&&(o.$members$=e[2]),h.hostListener&&(o.$listeners$=e[3]),h.watchCallback&&(o.$watchers$=t.$watchers$),h.reflect&&(o.$attrsToReflect$=[]),h.shadowDom&&!vo&&o.$flags$&1&&(o.$flags$|=8),h.experimentalSlotFixes?h.scoped&&o.$flags$&2&&IR(t.prototype,o):(h.slotChildNodesFix&&W0(t.prototype,o),h.cloneNodeFix&&z0(t.prototype),h.appendChildSlotFix&&H0(t.prototype),h.scopedSlotTextContentFix&&o.$flags$&2&&G0(t.prototype));let n=t.prototype.connectedCallback,r=t.prototype.disconnectedCallback;return Object.assign(t.prototype,{__registerHost(){AA(this,o)},connectedCallback(){let i=Ut(this);Zf(this,i,o.$listeners$,!1),DR(this),h.connectedCallback&&n&&n.call(this)},disconnectedCallback(){CR(this),h.disconnectedCallback&&r&&r.call(this)},__attachShadow(){if(vo){if(!this.shadowRoot)h.shadowDelegatesFocus?this.attachShadow({mode:"open",delegatesFocus:!!(o.$flags$&16)}):this.attachShadow({mode:"open"});else if(this.shadowRoot.mode!=="open")throw new Error(`Unable to re-use existing shadow root for ${o.$tagName$}! Mode is set to ${this.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else this.shadowRoot=this}}),t.is=o.$tagName$,U0(t,o,3)};var Zf=(t,e,o,n)=>{h.hostListener&&o&&(h.hostListenerTargetParent&&(n?o=o.filter(([r])=>r&32):o=o.filter(([r])=>!(r&32))),o.map(([r,i,s])=>{let a=h.hostListenerTarget?AR(t,r):t,l=_R(e,s),c=RR(r);re.ael(a,i,l,c),(e.$rmListeners$=e.$rmListeners$||[]).push(()=>re.rel(a,i,l,c))}))},_R=(t,e)=>o=>{var n;try{h.lazyLoad?t.$flags$&256?(n=t.$lazyInstance$)==null||n[e](o):(t.$queuedListeners$=t.$queuedListeners$||[]).push([e,o]):t.$hostElement$[e](o)}catch(r){hn(r)}},AR=(t,e)=>h.hostListenerTargetDocument&&e&4?Re:h.hostListenerTargetWindow&&e&8?Mr:h.hostListenerTargetBody&&e&16?Re.body:h.hostListenerTargetParent&&e&32&&t.parentElement?t.parentElement:t,RR=t=>VA?{passive:(t&1)!==0,capture:(t&2)!==0}:(t&2)!==0;var th,NR=()=>{if(typeof window>"u")return new Map;if(!th){let t=window;t.Ionicons=t.Ionicons||{},th=t.Ionicons.map=t.Ionicons.map||new Map}return th};var Y0=t=>{let e=nh(t.src);return e||(e=oh(t.name,t.icon,t.mode,t.ios,t.md),e?OR(e,t):t.icon&&(e=nh(t.icon),e||(e=nh(t.icon[t.mode]),e))?e:null)},OR=(t,e)=>{let o=NR().get(t);if(o)return o;try{return S0(`svg/${t}.svg`)}catch{console.warn(`[Ionicons Warning]: Could not load icon with name "${t}". Ensure that the icon is registered using addIcons or that the icon SVG data is passed directly to the icon component.`,e)}},oh=(t,e,o,n,r)=>(o=(o&&Il(o))==="ios"?"ios":"md",n&&o==="ios"?t=Il(n):r&&o==="md"?t=Il(r):(!t&&e&&!Q0(e)&&(t=e),Li(t)&&(t=Il(t))),!Li(t)||t.trim()===""||t.replace(/[a-z]|-|\d/gi,"")!==""?null:t),nh=t=>Li(t)&&(t=t.trim(),Q0(t))?t:null,Q0=t=>t.length>0&&/(\/|\.)/.test(t),Li=t=>typeof t=="string",Il=t=>t.toLowerCase(),K0=(t,e=[])=>{let o={};return e.forEach(n=>{t.hasAttribute(n)&&(t.getAttribute(n)!==null&&(o[n]=t.getAttribute(n)),t.removeAttribute(n))}),o},X0=t=>t&&t.dir!==""?t.dir.toLowerCase()==="rtl":(document==null?void 0:document.dir.toLowerCase())==="rtl";var PR=t=>{let e=document.createElement("div");e.innerHTML=t;for(let n=e.childNodes.length-1;n>=0;n--)e.childNodes[n].nodeName.toLowerCase()!=="svg"&&e.removeChild(e.childNodes[n]);let o=e.firstElementChild;if(o&&o.nodeName.toLowerCase()==="svg"){let n=o.getAttribute("class")||"";if(o.setAttribute("class",(n+" s-ion-icon").trim()),eD(o))return e.innerHTML}return""},eD=t=>{if(t.nodeType===1){if(t.nodeName.toLowerCase()==="script")return!1;for(let e=0;et.startsWith("data:image/svg+xml"),LR=t=>t.indexOf(";utf8,")!==-1,yo=new Map,J0=new Map,rh,$R=(t,e)=>{let o=J0.get(t);if(!o)if(typeof fetch<"u"&&typeof document<"u")if(FR(t)&&LR(t)){rh||(rh=new DOMParser);let r=rh.parseFromString(t,"text/html").querySelector("svg");return r&&yo.set(t,r.outerHTML),Promise.resolve()}else o=fetch(t).then(n=>{if(n.ok)return n.text().then(r=>{r&&e!==!1&&(r=PR(r)),yo.set(t,r||"")});yo.set(t,"")}),J0.set(t,o);else return yo.set(t,""),Promise.resolve();return o},jR=":host{display:inline-block;width:1em;height:1em;contain:strict;fill:currentColor;-webkit-box-sizing:content-box !important;box-sizing:content-box !important}:host .ionicon{stroke:currentColor}.ionicon-fill-none{fill:none}.ionicon-stroke-width{stroke-width:32px;stroke-width:var(--ionicon-stroke-width, 32px)}.icon-inner,.ionicon,svg{display:block;height:100%;width:100%}@supports (background: -webkit-named-image(i)){:host(.icon-rtl) .icon-inner{-webkit-transform:scaleX(-1);transform:scaleX(-1)}}@supports not selector(:dir(rtl)) and selector(:host-context([dir='rtl'])){:host(.icon-rtl) .icon-inner{-webkit-transform:scaleX(-1);transform:scaleX(-1)}}:host(.flip-rtl):host-context([dir='rtl']) .icon-inner{-webkit-transform:scaleX(-1);transform:scaleX(-1)}@supports selector(:dir(rtl)){:host(.flip-rtl:dir(rtl)) .icon-inner{-webkit-transform:scaleX(-1);transform:scaleX(-1)}:host(.flip-rtl:dir(ltr)) .icon-inner{-webkit-transform:scaleX(1);transform:scaleX(1)}}:host(.icon-small){font-size:1.125rem !important}:host(.icon-large){font-size:2rem !important}:host(.ion-color){color:var(--ion-color-base) !important}:host(.ion-color-primary){--ion-color-base:var(--ion-color-primary, #3880ff)}:host(.ion-color-secondary){--ion-color-base:var(--ion-color-secondary, #0cd1e8)}:host(.ion-color-tertiary){--ion-color-base:var(--ion-color-tertiary, #f4a942)}:host(.ion-color-success){--ion-color-base:var(--ion-color-success, #10dc60)}:host(.ion-color-warning){--ion-color-base:var(--ion-color-warning, #ffce00)}:host(.ion-color-danger){--ion-color-base:var(--ion-color-danger, #f14141)}:host(.ion-color-light){--ion-color-base:var(--ion-color-light, #f4f5f8)}:host(.ion-color-medium){--ion-color-base:var(--ion-color-medium, #989aa2)}:host(.ion-color-dark){--ion-color-base:var(--ion-color-dark, #222428)}",BR=Z0(class extends E0{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.iconName=null,this.inheritedAttributes={},this.didLoadIcon=!1,this.svgContent=void 0,this.isVisible=!1,this.mode=VR(),this.color=void 0,this.ios=void 0,this.md=void 0,this.flipRtl=void 0,this.name=void 0,this.src=void 0,this.icon=void 0,this.size=void 0,this.lazy=!1,this.sanitize=!0}componentWillLoad(){this.inheritedAttributes=K0(this.el,["aria-label"])}connectedCallback(){this.waitUntilVisible(this.el,"50px",()=>{this.isVisible=!0,this.loadIcon()})}componentDidLoad(){this.didLoadIcon||this.loadIcon()}disconnectedCallback(){this.io&&(this.io.disconnect(),this.io=void 0)}waitUntilVisible(e,o,n){if(Fi.isBrowser&&this.lazy&&typeof window<"u"&&window.IntersectionObserver){let r=this.io=new window.IntersectionObserver(i=>{i[0].isIntersecting&&(r.disconnect(),this.io=void 0,n())},{rootMargin:o});r.observe(e)}else n()}loadIcon(){if(Fi.isBrowser&&this.isVisible){let e=Y0(this);e&&(yo.has(e)?this.svgContent=yo.get(e):$R(e,this.sanitize).then(()=>this.svgContent=yo.get(e)),this.didLoadIcon=!0)}this.iconName=oh(this.name,this.icon,this.mode,this.ios,this.md)}render(){let{flipRtl:e,iconName:o,inheritedAttributes:n,el:r}=this,i=this.mode||"md",s=o?(o.includes("arrow")||o.includes("chevron"))&&e!==!1:!1,a=e||s;return kr(Qf,Object.assign({role:"img",class:Object.assign(Object.assign({[i]:!0},UR(this.color)),{[`icon-${this.size}`]:!!this.size,"flip-rtl":a,"icon-rtl":a&&X0(r)})},n),Fi.isBrowser&&this.svgContent?kr("div",{class:"icon-inner",innerHTML:this.svgContent}):kr("div",{class:"icon-inner"}))}static get assetsDirs(){return["svg"]}get el(){return this}static get watchers(){return{name:["loadIcon"],src:["loadIcon"],icon:["loadIcon"],ios:["loadIcon"],md:["loadIcon"]}}static get style(){return jR}},[1,"ion-icon",{mode:[1025],color:[1],ios:[1],md:[1],flipRtl:[4,"flip-rtl"],name:[513],src:[1],icon:[8],size:[1],lazy:[4],sanitize:[4],svgContent:[32],isVisible:[32]}]),VR=()=>Fi.isBrowser&&typeof document<"u"&&document.documentElement.getAttribute("mode")||"md",UR=t=>t?{"ion-color":!0,[`ion-color-${t}`]:!0}:null;function zR(){if(typeof customElements>"u")return;["ion-icon"].forEach(e=>{switch(e){case"ion-icon":customElements.get(e)||customElements.define(e,BR);break}})}var tD=zR;var HR=":host{--ripple-color:currentColor;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:grid;grid-auto-columns:1fr;position:relative;-ms-flex-align:stretch;align-items:stretch;-ms-flex-pack:center;justify-content:center;width:100%;background:var(--background);font-family:var(--ion-font-family, inherit);text-align:center;contain:paint;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}:host(.segment-scrollable){-ms-flex-pack:start;justify-content:start;width:auto;overflow-x:auto;grid-auto-columns:minmax(-webkit-min-content, 1fr);grid-auto-columns:minmax(min-content, 1fr)}:host(.segment-scrollable::-webkit-scrollbar){display:none}:host{--background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.065);border-radius:8px;overflow:hidden;z-index:0}:host(.ion-color){background:rgba(var(--ion-color-base-rgb), 0.065)}:host(.in-toolbar){-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:0;margin-bottom:0;width:auto}:host(.in-toolbar:not(.ion-color)){background:var(--ion-toolbar-segment-background, var(--background))}:host(.in-toolbar-color:not(.ion-color)){background:rgba(var(--ion-color-contrast-rgb), 0.11)}",GR=HR,WR=":host{--ripple-color:currentColor;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:grid;grid-auto-columns:1fr;position:relative;-ms-flex-align:stretch;align-items:stretch;-ms-flex-pack:center;justify-content:center;width:100%;background:var(--background);font-family:var(--ion-font-family, inherit);text-align:center;contain:paint;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}:host(.segment-scrollable){-ms-flex-pack:start;justify-content:start;width:auto;overflow-x:auto;grid-auto-columns:minmax(-webkit-min-content, 1fr);grid-auto-columns:minmax(min-content, 1fr)}:host(.segment-scrollable::-webkit-scrollbar){display:none}:host{--background:transparent;grid-auto-columns:minmax(auto, 360px)}:host(.in-toolbar){min-height:var(--min-height)}:host(.segment-scrollable) ::slotted(ion-segment-button){min-width:auto}",qR=WR,ZR=q(class extends W{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.ionChange=O(this,"ionChange",7),this.ionSelect=O(this,"ionSelect",7),this.ionStyle=O(this,"ionStyle",7),this.segmentViewEl=null,this.onClick=e=>{let o=e.target,n=this.checked;o.tagName!=="ION-SEGMENT"&&(this.value=o.value,o!==n&&this.emitValueChange(),this.segmentViewEl?(this.updateSegmentView(),this.scrollable&&n&&this.checkButton(n,o)):(this.scrollable||!this.swipeGesture)&&(n?this.checkButton(n,o):this.setCheckedClasses()))},this.onSlottedItemsChange=()=>{this.valueChanged(this.value)},this.getSegmentButton=e=>{var o,n;let r=this.getButtons().filter(s=>!s.disabled),i=r.findIndex(s=>s===document.activeElement);switch(e){case"first":return r[0];case"last":return r[r.length-1];case"next":return(o=r[i+1])!==null&&o!==void 0?o:r[0];case"previous":return(n=r[i-1])!==null&&n!==void 0?n:r[r.length-1];default:return null}},this.activated=!1,this.color=void 0,this.disabled=!1,this.scrollable=!1,this.swipeGesture=!0,this.value=void 0,this.selectOnFocus=!1}colorChanged(e,o){(o===void 0&&e!==void 0||o!==void 0&&e===void 0)&&this.emitStyle()}swipeGestureChanged(){this.gestureChanged()}valueChanged(e,o){if(this.segmentViewEl&&e===void 0){this.value=this.getButtons()[0].value;return}if(o!==void 0&&e!==void 0){let n=this.getButtons(),r=n.find(s=>s.value===o),i=n.find(s=>s.value===e);r&&i&&(this.segmentViewEl?this.triggerScrollOnValueChange!==!1&&this.updateSegmentView():this.checkButton(r,i))}else e!==void 0&&o===void 0&&this.segmentViewEl&&this.updateSegmentView();this.ionSelect.emit({value:e}),this.segmentViewEl||this.scrollActiveButtonIntoView(),this.triggerScrollOnValueChange=void 0}disabledChanged(){if(this.gestureChanged(),this.segmentViewEl)this.segmentViewEl.disabled=this.disabled;else{let e=this.getButtons();for(let o of e)o.disabled=this.disabled}}gestureChanged(){this.gesture&&this.gesture.enable(!this.scrollable&&!this.disabled&&this.swipeGesture)}connectedCallback(){this.emitStyle(),this.segmentViewEl=this.getSegmentView()}disconnectedCallback(){this.segmentViewEl=null}componentWillLoad(){this.emitStyle()}async componentDidLoad(){this.setCheckedClasses(),Dt(()=>{this.scrollActiveButtonIntoView(!1)}),this.gesture=(await import("./index3-3XIL3Y7C.js")).createGesture({el:this.el,gestureName:"segment",gesturePriority:100,threshold:0,passive:!1,onStart:e=>this.onStart(e),onMove:e=>this.onMove(e),onEnd:e=>this.onEnd(e)}),this.gestureChanged(),this.disabled&&this.disabledChanged(),this.updateSegmentView(!1)}onStart(e){this.valueBeforeGesture=this.value,this.activate(e)}onMove(e){this.setNextIndex(e)}onEnd(e){this.setActivated(!1),this.setNextIndex(e,!0),e.event.stopImmediatePropagation();let o=this.value;o!==void 0&&this.valueBeforeGesture!==o&&(this.emitValueChange(),this.updateSegmentView()),this.valueBeforeGesture=void 0}emitValueChange(){let{value:e}=this;this.ionChange.emit({value:e})}getButtons(){return Array.from(this.el.querySelectorAll("ion-segment-button"))}get checked(){return this.getButtons().find(e=>e.value===this.value)}setActivated(e){this.getButtons().forEach(n=>{n.classList.toggle("segment-button-activated",e)}),this.activated=e}activate(e){let o=e.event.target,r=this.getButtons().find(i=>i.value===this.value);o.tagName==="ION-SEGMENT-BUTTON"&&(r||(this.value=o.value,this.setCheckedClasses()),this.value===o.value&&this.setActivated(!0))}getIndicator(e){return(e.shadowRoot||e).querySelector(".segment-button-indicator")}checkButton(e,o){let n=this.getIndicator(e),r=this.getIndicator(o);if(n===null||r===null)return;let i=n.getBoundingClientRect(),s=r.getBoundingClientRect(),a=i.width/s.width,c=`translate3d(${i.left-s.left}px, 0, 0) scaleX(${a})`;nt(()=>{r.classList.remove("segment-button-indicator-animated"),r.style.setProperty("transform",c),r.getBoundingClientRect(),r.classList.add("segment-button-indicator-animated"),r.style.setProperty("transform",""),this.scrollActiveButtonIntoView(!0)}),this.value=o.value,this.setCheckedClasses()}setCheckedClasses(){let e=this.getButtons(),n=e.findIndex(r=>r.value===this.value)+1;for(let r of e)r.classList.remove("segment-button-after-checked");nr.contentId),n=document.querySelector(`ion-segment-content[id="${o==null?void 0:o.contentId}"]`);return n==null?void 0:n.closest("ion-segment-view")}handleSegmentViewScroll(e){let{scrollRatio:o,isManualScroll:n}=e.detail;if(!n)return;let r=e.target,i=this.segmentViewEl,s=this.el;if(e.composedPath().includes(i)||r!=null&&r.contains(s)){let a=this.getButtons();if(!a.length)return;let l=a.findIndex(d=>d.value===this.value),c=a[l],u=Math.round(o*(a.length-1));(this.lastNextIndex===void 0||this.lastNextIndex!==u)&&(this.lastNextIndex=u,this.triggerScrollOnValueChange=!1,this.checkButton(c,a[u]),this.emitValueChange())}}updateSegmentView(e=!0){let n=this.getButtons().find(i=>i.value===this.value);if(!(n!=null&&n.contentId))return;let r=this.segmentViewEl;r&&r.setContent(n.contentId,e)}scrollActiveButtonIntoView(e=!0){let{scrollable:o,value:n,el:r}=this;if(o){let s=this.getButtons().find(a=>a.value===n);if(s!==void 0){let a=r.getBoundingClientRect(),l=s.getBoundingClientRect(),u=l.x-a.x-a.width/2+l.width/2,d=r.scrollLeft+u;r.scrollTo({top:0,left:d,behavior:e?"smooth":"instant"})}}}setNextIndex(e,o=!1){let n=Fr(this.el),r=this.activated,i=this.getButtons(),s=i.findIndex(T=>T.value===this.value),a=i[s],l,c;if(s===-1)return;let u=a.getBoundingClientRect(),d=u.left,p=u.width,f=e.currentX,g=u.top+u.height/2,b=this.el.getRootNode().elementFromPoint(f,g),D=n?f>d+p:fd+p;if(r&&!o){if(D){let T=s-1;T>=0&&(c=T)}else if(I&&r&&!o){let T=s+1;T"u")return;["ion-segment"].forEach(e=>{switch(e){case"ion-segment":customElements.get(e)||customElements.define(e,ZR);break}})}var nD=YR;var QR=["outletContent"],He=["*"];var KR=["outlet"],XR=[[["","slot","top"]],"*",[["ion-tab"]]],JR=["[slot=top]","*","ion-tab"];function eN(t,e){if(t&1){let o=ov();ni(0,"ion-router-outlet",5,1),tn("stackWillChange",function(r){Du(o);let i=od();return wu(i.onStackWillChange(r))})("stackDidChange",function(r){Du(o);let i=od();return wu(i.onStackDidChange(r))}),oi()}}function tN(t,e){t&1&&we(0,2,["*ngIf","tabs.length > 0"])}var El=(()=>{var e;let t=(e=class extends rb{parentOutlet;outletContent;constructor(n,r,i,s,a,l,c,u){super(n,r,i,s,a,l,c,u),this.parentOutlet=u}},m(e,"\u0275fac",function(r){return new(r||e)(Mn("name"),Mn("tabs"),S(Rt),S(ee),S(Ue),S($),S(Xe),S(e,12))}),m(e,"\u0275cmp",De({type:e,selectors:[["ion-router-outlet"]],viewQuery:function(r,i){if(r&1&&ri(QR,7,_t),r&2){let s;nn(s=on())&&(i.outletContent=s.first)}},features:[tr],ngContentSelectors:He,decls:3,vars:0,consts:[["outletContent",""]],template:function(r,i){r&1&&(Ae(),td(0,null,0),we(2),nd())},encapsulation:2})),e);return t=Oe([Xy({defineCustomElementFn:cb})],t),t})();var nN=(t,e)=>{let o=t.prototype;e.forEach(n=>{Object.defineProperty(o,n,{get(){return this.el[n]},set(r){this.z.runOutsideAngular(()=>this.el[n]=r)},configurable:!0})})},oN=(t,e)=>{let o=t.prototype;e.forEach(n=>{o[n]=function(){let r=arguments;return this.z.runOutsideAngular(()=>this.el[n].apply(this.el,r))}})},sh=(t,e,o)=>{o.forEach(n=>t[n]=No(e,n))};function et(t){return function(o){let{defineCustomElementFn:n,inputs:r,methods:i}=t;return n!==void 0&&n(),r&&nN(o,r),i&&oN(o,i),o}}var gH=(()=>{var e;let t=(e=class{z;el;constructor(n,r,i){this.z=i,n.detach(),this.el=r.nativeElement}},m(e,"\u0275fac",function(r){return new(r||e)(S(de),S(ee),S($))}),m(e,"\u0275cmp",De({type:e,selectors:[["ion-app"]],ngContentSelectors:He,decls:1,vars:0,template:function(r,i){r&1&&(Ae(),we(0))},encapsulation:2,changeDetection:0})),e);return t=Oe([et({defineCustomElementFn:Mb,methods:["setFocus"]})],t),t})();var oD=(()=>{var e;let t=(e=class{z;el;constructor(n,r,i){this.z=i,n.detach(),this.el=r.nativeElement,sh(this,this.el,["ionScrollStart","ionScroll","ionScrollEnd"])}},m(e,"\u0275fac",function(r){return new(r||e)(S(de),S(ee),S($))}),m(e,"\u0275cmp",De({type:e,selectors:[["ion-content"]],inputs:{color:"color",fixedSlotPlacement:"fixedSlotPlacement",forceOverscroll:"forceOverscroll",fullscreen:"fullscreen",scrollEvents:"scrollEvents",scrollX:"scrollX",scrollY:"scrollY"},ngContentSelectors:He,decls:1,vars:0,template:function(r,i){r&1&&(Ae(),we(0))},encapsulation:2,changeDetection:0})),e);return t=Oe([et({defineCustomElementFn:Ab,inputs:["color","fixedSlotPlacement","forceOverscroll","fullscreen","scrollEvents","scrollX","scrollY"],methods:["getScrollElement","scrollToTop","scrollToBottom","scrollByPoint","scrollToPoint"]})],t),t})();var rD=(()=>{var e;let t=(e=class{z;el;constructor(n,r,i){this.z=i,n.detach(),this.el=r.nativeElement}},m(e,"\u0275fac",function(r){return new(r||e)(S(de),S(ee),S($))}),m(e,"\u0275cmp",De({type:e,selectors:[["ion-header"]],inputs:{collapse:"collapse",mode:"mode",translucent:"translucent"},ngContentSelectors:He,decls:1,vars:0,template:function(r,i){r&1&&(Ae(),we(0))},encapsulation:2,changeDetection:0})),e);return t=Oe([et({defineCustomElementFn:Bb,inputs:["collapse","mode","translucent"]})],t),t})();var iD=(()=>{var e;let t=(e=class{z;el;constructor(n,r,i){this.z=i,n.detach(),this.el=r.nativeElement}},m(e,"\u0275fac",function(r){return new(r||e)(S(de),S(ee),S($))}),m(e,"\u0275cmp",De({type:e,selectors:[["ion-label"]],inputs:{color:"color",mode:"mode",position:"position"},ngContentSelectors:He,decls:1,vars:0,template:function(r,i){r&1&&(Ae(),we(0))},encapsulation:2,changeDetection:0})),e);return t=Oe([et({defineCustomElementFn:zb,inputs:["color","mode","position"]})],t),t})();var sD=(()=>{var e;let t=(e=class{z;el;constructor(n,r,i){this.z=i,n.detach(),this.el=r.nativeElement}},m(e,"\u0275fac",function(r){return new(r||e)(S(de),S(ee),S($))}),m(e,"\u0275cmp",De({type:e,selectors:[["ion-segment-button"]],inputs:{contentId:"contentId",disabled:"disabled",layout:"layout",mode:"mode",type:"type",value:"value"},ngContentSelectors:He,decls:1,vars:0,template:function(r,i){r&1&&(Ae(),we(0))},encapsulation:2,changeDetection:0})),e);return t=Oe([et({defineCustomElementFn:Hb,inputs:["contentId","disabled","layout","mode","type","value"]})],t),t})(),aD=(()=>{var e;let t=(e=class{z;el;constructor(n,r,i){this.z=i,n.detach(),this.el=r.nativeElement}},m(e,"\u0275fac",function(r){return new(r||e)(S(de),S(ee),S($))}),m(e,"\u0275cmp",De({type:e,selectors:[["ion-segment-content"]],ngContentSelectors:He,decls:1,vars:0,template:function(r,i){r&1&&(Ae(),we(0))},encapsulation:2,changeDetection:0})),e);return t=Oe([et({defineCustomElementFn:Gb})],t),t})(),lD=(()=>{var e;let t=(e=class{z;el;constructor(n,r,i){this.z=i,n.detach(),this.el=r.nativeElement,sh(this,this.el,["ionSegmentViewScroll"])}},m(e,"\u0275fac",function(r){return new(r||e)(S(de),S(ee),S($))}),m(e,"\u0275cmp",De({type:e,selectors:[["ion-segment-view"]],inputs:{disabled:"disabled"},ngContentSelectors:He,decls:1,vars:0,template:function(r,i){r&1&&(Ae(),we(0))},encapsulation:2,changeDetection:0})),e);return t=Oe([et({defineCustomElementFn:Wb,inputs:["disabled"]})],t),t})();var rN=(()=>{var e;let t=(e=class{z;el;constructor(n,r,i){this.z=i,n.detach(),this.el=r.nativeElement}},m(e,"\u0275fac",function(r){return new(r||e)(S(de),S(ee),S($))}),m(e,"\u0275cmp",De({type:e,selectors:[["ion-tab"]],inputs:{component:"component",tab:"tab"},ngContentSelectors:He,decls:1,vars:0,template:function(r,i){r&1&&(Ae(),we(0))},encapsulation:2,changeDetection:0})),e);return t=Oe([et({defineCustomElementFn:Kb,inputs:["component","tab"],methods:["setActive"]})],t),t})(),xl=(()=>{var e;let t=(e=class{z;el;constructor(n,r,i){this.z=i,n.detach(),this.el=r.nativeElement}},m(e,"\u0275fac",function(r){return new(r||e)(S(de),S(ee),S($))}),m(e,"\u0275cmp",De({type:e,selectors:[["ion-tab-bar"]],inputs:{color:"color",mode:"mode",selectedTab:"selectedTab",translucent:"translucent"},ngContentSelectors:He,decls:1,vars:0,template:function(r,i){r&1&&(Ae(),we(0))},encapsulation:2,changeDetection:0})),e);return t=Oe([et({defineCustomElementFn:Xb,inputs:["color","mode","selectedTab","translucent"]})],t),t})(),cD=(()=>{var e;let t=(e=class{z;el;constructor(n,r,i){this.z=i,n.detach(),this.el=r.nativeElement}},m(e,"\u0275fac",function(r){return new(r||e)(S(de),S(ee),S($))}),m(e,"\u0275cmp",De({type:e,selectors:[["ion-tab-button"]],inputs:{disabled:"disabled",download:"download",href:"href",layout:"layout",mode:"mode",rel:"rel",selected:"selected",tab:"tab",target:"target"},ngContentSelectors:He,decls:1,vars:0,template:function(r,i){r&1&&(Ae(),we(0))},encapsulation:2,changeDetection:0})),e);return t=Oe([et({defineCustomElementFn:Jb,inputs:["disabled","download","href","layout","mode","rel","selected","tab","target"]})],t),t})();var uD=(()=>{var e;let t=(e=class{z;el;constructor(n,r,i){this.z=i,n.detach(),this.el=r.nativeElement}},m(e,"\u0275fac",function(r){return new(r||e)(S(de),S(ee),S($))}),m(e,"\u0275cmp",De({type:e,selectors:[["ion-title"]],inputs:{color:"color",size:"size"},ngContentSelectors:He,decls:1,vars:0,template:function(r,i){r&1&&(Ae(),we(0))},encapsulation:2,changeDetection:0})),e);return t=Oe([et({defineCustomElementFn:e0,inputs:["color","size"]})],t),t})();var dD=(()=>{var e;let t=(e=class{z;el;constructor(n,r,i){this.z=i,n.detach(),this.el=r.nativeElement}},m(e,"\u0275fac",function(r){return new(r||e)(S(de),S(ee),S($))}),m(e,"\u0275cmp",De({type:e,selectors:[["ion-toolbar"]],inputs:{color:"color",mode:"mode"},ngContentSelectors:He,decls:1,vars:0,template:function(r,i){r&1&&(Ae(),we(0))},encapsulation:2,changeDetection:0})),e);return t=Oe([et({defineCustomElementFn:t0,inputs:["color","mode"]})],t),t})(),fD=(()=>{let e=class e extends ab{outlet;tabBar;tabBars;tabs};m(e,"\u0275fac",(()=>{let n;return function(i){return(n||(n=Bt(e)))(i||e)}})()),m(e,"\u0275cmp",De({type:e,selectors:[["ion-tabs"]],contentQueries:function(r,i,s){if(r&1&&(or(s,xl,5),or(s,xl,4),or(s,rN,4)),r&2){let a;nn(a=on())&&(i.tabBar=a.first),nn(a=on())&&(i.tabBars=a),nn(a=on())&&(i.tabs=a)}},viewQuery:function(r,i){if(r&1&&ri(KR,5,El),r&2){let s;nn(s=on())&&(i.outlet=s.first)}},features:[tr],ngContentSelectors:JR,decls:6,vars:2,consts:[["tabsInner",""],["outlet",""],[1,"tabs-inner"],["tabs","true",3,"stackWillChange","stackDidChange",4,"ngIf"],[4,"ngIf"],["tabs","true",3,"stackWillChange","stackDidChange"]],template:function(r,i){r&1&&(Ae(XR),we(0),ni(1,"div",2,0),Ju(3,eN,2,0,"ion-router-outlet",3)(4,tN,1,0,"ng-content",4),oi(),we(5,1)),r&2&&(Uu(3),va("ngIf",i.tabs.length===0),Uu(),va("ngIf",i.tabs.length>0))},dependencies:[El,md],styles:["[_nghost-%COMP%]{display:flex;position:absolute;inset:0;flex-direction:column;width:100%;height:100%;contain:layout size style}.tabs-inner[_ngcontent-%COMP%]{position:relative;flex:1;contain:layout size style}"]}));let t=e;return t})(),iN=(()=>{let e=class e extends Ai{angularDelegate=y(il);injector=y(be);environmentInjector=y(me);constructor(){super(gf),bb()}create(n){return super.create(X(w({},n),{delegate:this.angularDelegate.create(this.environmentInjector,this.injector,"modal")}))}};m(e,"\u0275fac",function(r){return new(r||e)}),m(e,"\u0275prov",E({token:e,factory:e.\u0275fac}));let t=e;return t})(),ih=class extends Ai{angularDelegate=y(il);injector=y(be);environmentInjector=y(me);constructor(){super(vf),Tb()}create(e){return super.create(X(w({},e),{delegate:this.angularDelegate.create(this.environmentInjector,this.injector,"popover")}))}},vH=(t={})=>oo([{provide:rl,useValue:t},{provide:nr,useFactory:sN,multi:!0,deps:[rl,Ce]},sb(),il,iN,ih]),sN=(t,e)=>()=>{e.documentElement.classList.add("ion-ce"),Rl(t)};var Sl=(()=>{var e;let t=(e=class{z;el;constructor(n,r,i){this.z=i,n.detach(),this.el=r.nativeElement}},m(e,"\u0275fac",function(r){return new(r||e)(S(de),S(ee),S($))}),m(e,"\u0275cmp",De({type:e,selectors:[["ion-icon"]],inputs:{color:"color",flipRtl:"flipRtl",icon:"icon",ios:"ios",lazy:"lazy",md:"md",mode:"mode",name:"name",sanitize:"sanitize",size:"size",src:"src"},ngContentSelectors:He,decls:1,vars:0,template:function(r,i){r&1&&(Ae(),we(0))},encapsulation:2,changeDetection:0})),e);return t=Oe([et({defineCustomElementFn:tD,inputs:["color","flipRtl","icon","ios","lazy","md","mode","name","sanitize","size","src"]})],t),t})();var aN=["color","disabled","mode","scrollable","selectOnFocus","swipeGesture","value"],lN={provide:By,useExisting:ei(()=>ah),multi:!0},ah=(()=>{var e;let t=(e=class extends lb{z;el;constructor(n,r,i,s){super(s,r),this.z=i,n.detach(),this.el=r.nativeElement,sh(this,this.el,["ionChange"])}handleIonChange(n){this.handleValueChange(n,n.value)}},m(e,"\u0275fac",function(r){return new(r||e)(S(de),S(ee),S($),S(be))}),m(e,"\u0275cmp",De({type:e,selectors:[["ion-segment"]],hostBindings:function(r,i){r&1&&tn("ionChange",function(a){return i.handleIonChange(a.target)})},inputs:{color:"color",disabled:"disabled",mode:"mode",scrollable:"scrollable",selectOnFocus:"selectOnFocus",swipeGesture:"swipeGesture",value:"value"},features:[rd([lN]),tr],ngContentSelectors:He,decls:1,vars:0,template:function(r,i){r&1&&(Ae(),we(0))},encapsulation:2,changeDetection:0})),e);return t=Oe([et({defineCustomElementFn:nD,inputs:aN})],t),t})();var hD=(()=>{let e=class e{constructor(n){this.http=n}get(n,r={},i={}){return this.http.get(n,{headers:i,params:r})}getText(n,r={},i={}){return this.http.get(n,{headers:i,params:r,responseType:"text"})}getBlob(n,r={},i={}){return this.http.get(n,{headers:i,params:r,responseType:"blob"})}};e.\u0275fac=function(r){return new(r||e)(x(Ev))},e.\u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var pD=yv;var Tl=class{static debug(e){pD.production||console.log(e)}};var mD=(()=>{let e=class e{constructor(n,r,i){this.platform=n,this.metaService=r,this.titleService=i,this.initialized=!1,this.readySubject=new fe(!1)}ready(){return this.initialized?new Z(n=>{n.next(!0)}):this.readySubject.asObservable()}async init(){return Promise.all([this.initPlatform()]).then(()=>{Tl.debug("CoreService.init.finished."),this.readySubject.next(this.initialized=!0)})}async initPlatform(){return this.platform.ready().then(()=>{let n=window.navigator.userAgent;console.log(`'Cur ua - ${n}`)})}async setHtmlMeta(){let n=await this.setHtmlTitle();this.metaService.addTag({property:"og:type",content:"website"}),this.metaService.addTag({property:"og:title",content:n}),this.metaService.addTag({property:"og:description",content:""}),this.metaService.addTag({property:"og:site_name",content:n})}async setHtmlTitle(n=""){return new Promise(r=>{this.titleService.setTitle(n),r(n)})}};e.\u0275fac=function(r){return new(r||e)(x(ol),x(Ov),x(Ta))},e.\u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var _r=class{},gD=(()=>{let e=class e extends _r{getTranslation(n){return k({})}};m(e,"\u0275fac",(()=>{let n;return function(i){return(n||(n=Bt(e)))(i||e)}})()),m(e,"\u0275prov",E({token:e,factory:e.\u0275fac}));let t=e;return t})(),ji=class{},vD=(()=>{let e=class e{handle(n){return n.key}};m(e,"\u0275fac",function(r){return new(r||e)}),m(e,"\u0275prov",E({token:e,factory:e.\u0275fac}));let t=e;return t})();function bo(t){return typeof t<"u"&&t!==null}function kl(t){return Ml(t)&&!ph(t)&&t!==null}function Ml(t){return typeof t=="object"}function ph(t){return Array.isArray(t)}function wD(t){return typeof t=="string"}function uN(t){return typeof t=="function"}function lh(t,e){let o=Object.assign({},t);return Ml(t)?(Ml(t)&&Ml(e)&&Object.keys(e).forEach(n=>{kl(e[n])?n in t?o[n]=lh(t[n],e[n]):Object.assign(o,{[n]:e[n]}):Object.assign(o,{[n]:e[n]})}),o):lh({},e)}function ch(t,e){let o=e.split(".");e="";do e+=o.shift(),bo(t)&&bo(t[e])&&(kl(t[e])||ph(t[e])||!o.length)?(t=t[e],e=""):o.length?e+=".":t=void 0;while(o.length);return t}function dN(t,e,o){let n=e.split("."),r=t;for(let i=0;i{let e=class e extends Ar{templateMatcher=/{{\s?([^{}\s]*)\s?}}/g;interpolate(n,r){if(wD(n))return this.interpolateString(n,r);if(uN(n))return this.interpolateFunction(n,r)}interpolateFunction(n,r){return n(r)}interpolateString(n,r){return r?n.replace(this.templateMatcher,(i,s)=>{let a=ch(r,s);return bo(a)?a:i}):n}};m(e,"\u0275fac",(()=>{let n;return function(i){return(n||(n=Bt(e)))(i||e)}})()),m(e,"\u0275prov",E({token:e,factory:e.\u0275fac}));let t=e;return t})(),Rr=class{},bD=(()=>{let e=class e extends Rr{compile(n,r){return n}compileTranslations(n,r){return n}};m(e,"\u0275fac",(()=>{let n;return function(i){return(n||(n=Bt(e)))(i||e)}})()),m(e,"\u0275prov",E({token:e,factory:e.\u0275fac}));let t=e;return t})(),Bi=class{defaultLang;currentLang=this.defaultLang;translations={};langs=[];onTranslationChange=new ae;onLangChange=new ae;onDefaultLangChange=new ae},uh=new M("ISOLATE_TRANSLATE_SERVICE"),dh=new M("USE_DEFAULT_LANG"),fh=new M("DEFAULT_LANGUAGE"),hh=new M("USE_EXTEND"),$i=t=>yn(t)?t:k(t),DD=(()=>{let e=class e{store;currentLoader;compiler;parser;missingTranslationHandler;useDefaultLang;extend;loadingTranslations;pending=!1;_translationRequests={};lastUseLanguage=null;get onTranslationChange(){return this.store.onTranslationChange}get onLangChange(){return this.store.onLangChange}get onDefaultLangChange(){return this.store.onDefaultLangChange}get defaultLang(){return this.store.defaultLang}set defaultLang(n){this.store.defaultLang=n}get currentLang(){return this.store.currentLang}set currentLang(n){this.store.currentLang=n}get langs(){return this.store.langs}set langs(n){this.store.langs=n}get translations(){return this.store.translations}set translations(n){this.store.translations=n}constructor(n,r,i,s,a,l=!0,c=!1,u=!1,d){this.store=n,this.currentLoader=r,this.compiler=i,this.parser=s,this.missingTranslationHandler=a,this.useDefaultLang=l,this.extend=u,c&&(this.store=new Bi),d&&this.setDefaultLang(d)}setDefaultLang(n){if(n===this.defaultLang)return;let r=this.retrieveTranslations(n);typeof r<"u"?(this.defaultLang==null&&(this.defaultLang=n),r.pipe(Ye(1)).subscribe(()=>{this.changeDefaultLang(n)})):this.changeDefaultLang(n)}getDefaultLang(){return this.defaultLang}use(n){if(this.lastUseLanguage=n,n===this.currentLang)return k(this.translations[n]);this.currentLang||(this.currentLang=n);let r=this.retrieveTranslations(n);return yn(r)?(r.pipe(Ye(1)).subscribe(()=>{this.changeLang(n)}),r):(this.changeLang(n),k(this.translations[n]))}changeLang(n){n===this.lastUseLanguage&&(this.currentLang=n,this.onLangChange.emit({lang:n,translations:this.translations[n]}),this.defaultLang==null&&this.changeDefaultLang(n))}retrieveTranslations(n){if(typeof this.translations[n]>"u"||this.extend)return this._translationRequests[n]=this._translationRequests[n]||this.loadAndCompileTranslations(n),this._translationRequests[n]}getTranslation(n){return this.loadAndCompileTranslations(n)}loadAndCompileTranslations(n){this.pending=!0;let r=this.currentLoader.getTranslation(n).pipe(bs(1),Ye(1));return this.loadingTranslations=r.pipe(F(i=>this.compiler.compileTranslations(i,n)),bs(1),Ye(1)),this.loadingTranslations.subscribe({next:i=>{this.translations[n]=this.extend&&this.translations[n]?w(w({},i),this.translations[n]):i,this.updateLangs(),this.pending=!1},error:i=>{this.pending=!1}}),r}setTranslation(n,r,i=!1){let s=this.compiler.compileTranslations(r,n);(i||this.extend)&&this.translations[n]?this.translations[n]=lh(this.translations[n],s):this.translations[n]=s,this.updateLangs(),this.onTranslationChange.emit({lang:n,translations:this.translations[n]})}getLangs(){return this.langs}addLangs(n){let r=n.filter(i=>!this.langs.includes(i));r.length>0&&(this.langs=[...this.langs,...r])}updateLangs(){this.addLangs(Object.keys(this.translations))}getParsedResultForKey(n,r,i){let s;if(n&&(s=this.runInterpolation(ch(n,r),i)),s===void 0&&this.defaultLang!=null&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(s=this.runInterpolation(ch(this.translations[this.defaultLang],r),i)),s===void 0){let a={key:r,translateService:this};typeof i<"u"&&(a.interpolateParams=i),s=this.missingTranslationHandler.handle(a)}return s!==void 0?s:r}runInterpolation(n,r){if(ph(n))return n.map(i=>this.runInterpolation(i,r));if(kl(n)){let i={};for(let s in n){let a=this.runInterpolation(n[s],r);a!==void 0&&(i[s]=a)}return i}else return this.parser.interpolate(n,r)}getParsedResult(n,r,i){if(r instanceof Array){let s={},a=!1;for(let c of r)s[c]=this.getParsedResultForKey(n,c,i),a=a||yn(s[c]);if(!a)return s;let l=r.map(c=>$i(s[c]));return Ur(l).pipe(F(c=>{let u={};return c.forEach((d,p)=>{u[r[p]]=d}),u}))}return this.getParsedResultForKey(n,r,i)}get(n,r){if(!bo(n)||!n.length)throw new Error('Parameter "key" is required and cannot be empty');return this.pending?this.loadingTranslations.pipe(Ct(i=>$i(this.getParsedResult(i,n,r)))):$i(this.getParsedResult(this.translations[this.currentLang],n,r))}getStreamOnTranslationChange(n,r){if(!bo(n)||!n.length)throw new Error('Parameter "key" is required and cannot be empty');return Zt(Un(()=>this.get(n,r)),this.onTranslationChange.pipe(ye(i=>{let s=this.getParsedResult(i.translations,n,r);return $i(s)})))}stream(n,r){if(!bo(n)||!n.length)throw new Error('Parameter "key" required');return Zt(Un(()=>this.get(n,r)),this.onLangChange.pipe(ye(i=>{let s=this.getParsedResult(i.translations,n,r);return $i(s)})))}instant(n,r){if(!bo(n)||n.length===0)throw new Error('Parameter "key" is required and cannot be empty');let i=this.getParsedResult(this.translations[this.currentLang],n,r);return yn(i)?Array.isArray(n)?n.reduce((s,a)=>(s[a]=a,s),{}):n:i}set(n,r,i=this.currentLang){dN(this.translations[i],n,wD(r)?this.compiler.compile(r,i):this.compiler.compileTranslations(r,i)),this.updateLangs(),this.onTranslationChange.emit({lang:i,translations:this.translations[i]})}changeDefaultLang(n){this.defaultLang=n,this.onDefaultLangChange.emit({lang:n,translations:this.translations[n]})}reloadLang(n){return this.resetLang(n),this.loadAndCompileTranslations(n)}resetLang(n){delete this._translationRequests[n],delete this.translations[n]}getBrowserLang(){if(typeof window>"u"||!window.navigator)return;let n=this.getBrowserCultureLang();return n?n.split(/[-_]/)[0]:void 0}getBrowserCultureLang(){if(!(typeof window>"u"||typeof window.navigator>"u"))return window.navigator.languages?window.navigator.languages[0]:window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage}};m(e,"\u0275fac",function(r){return new(r||e)(x(Bi),x(_r),x(Rr),x(Ar),x(ji),x(dh),x(uh),x(hh),x(fh))}),m(e,"\u0275prov",E({token:e,factory:e.\u0275fac,providedIn:"root"}));let t=e;return t})();var mh=(()=>{let e=class e{static forRoot(n={}){return{ngModule:e,providers:[n.loader||{provide:_r,useClass:gD},n.compiler||{provide:Rr,useClass:bD},n.parser||{provide:Ar,useClass:yD},n.missingTranslationHandler||{provide:ji,useClass:vD},Bi,{provide:uh,useValue:n.isolate},{provide:dh,useValue:n.useDefaultLang},{provide:hh,useValue:n.extend},{provide:fh,useValue:n.defaultLanguage},DD]}}static forChild(n={}){return{ngModule:e,providers:[n.loader||{provide:_r,useClass:gD},n.compiler||{provide:Rr,useClass:bD},n.parser||{provide:Ar,useClass:yD},n.missingTranslationHandler||{provide:ji,useClass:vD},{provide:uh,useValue:n.isolate},{provide:dh,useValue:n.useDefaultLang},{provide:hh,useValue:n.extend},{provide:fh,useValue:n.defaultLanguage},DD]}}};m(e,"\u0275fac",function(r){return new(r||e)}),m(e,"\u0275mod",Me({type:e})),m(e,"\u0275inj",Te({}));let t=e;return t})();var CD=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=Me({type:e}),e.\u0275inj=Te({imports:[kn,Df,wf,pf,mh,Sl,kn,Df,wf,pf,mh]});let t=e;return t})();var fN=[Sl,iD,dD,El,fD,xl,cD,uD,rD,oD,ah,sD,aD,lD],gh=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=Me({type:e}),e.\u0275inj=Te({imports:[fN]});let t=e;return t})();var XH=(()=>{let e=class e{static forRoot(){return{ngModule:e}}};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=Me({type:e}),e.\u0275inj=Te({providers:[mD,hD],imports:[kn,CD,gh,kn,gh]});let t=e;return t})();export{y as a,kw as b,me as c,S as d,De as e,va as f,ni as g,oi as h,ed as i,ri as j,nn as k,on as l,R$ as m,N$ as n,kn as o,yv as p,jj as q,oM as r,iB as s,sB as t,Mf as u,El as v,gH as w,oD as x,rD as y,iD as z,xl as A,cD as B,uD as C,dD as D,fD as E,vH as F,Sl as G,mD as H,XH as I}; diff --git a/discover.page-AFYNLD2L.js b/discover.page-W62QQ3WQ.js similarity index 92% rename from discover.page-AFYNLD2L.js rename to discover.page-W62QQ3WQ.js index 796d599..7e83336 100644 --- a/discover.page-AFYNLD2L.js +++ b/discover.page-W62QQ3WQ.js @@ -1 +1 @@ -import{C as p,D as s,I as d,e as m,g as i,h as n,m as r,o as a,x as c,y as l}from"./chunk-DVT4HBMF.js";import"./chunk-FEUIMOZZ.js";import"./chunk-JZHKZBGN.js";import"./chunk-RODZQFI5.js";import"./chunk-GRPEAL5M.js";import"./chunk-QUVJQTVU.js";import"./chunk-VQ6ZTHLF.js";import"./chunk-IVVGDSQR.js";import"./chunk-FTZB27S6.js";import"./chunk-AV3I3L5K.js";import"./chunk-ZG6JN4PA.js";import"./chunk-YLG257PB.js";import"./chunk-6LXZMIVO.js";import"./chunk-MU5PIDDE.js";import"./chunk-CXMYARCQ.js";import"./chunk-Z2YQ4JHV.js";var I=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275cmp=m({type:e,selectors:[["app-discover"]],decls:6,vars:0,template:function(o,u){o&1&&(i(0,"ion-header")(1,"ion-toolbar")(2,"ion-title"),r(3,"Discover"),n()()(),i(4,"ion-content"),r(5,"Discover"),n())},dependencies:[a,d,s,p,l,c],encapsulation:2});let t=e;return t})();export{I as DiscoverPage}; +import{C as p,D as s,I as d,e as m,g as i,h as n,m as r,o as a,x as c,y as l}from"./chunk-A6JDCJ37.js";import"./chunk-FEUIMOZZ.js";import"./chunk-JZHKZBGN.js";import"./chunk-RODZQFI5.js";import"./chunk-GRPEAL5M.js";import"./chunk-QUVJQTVU.js";import"./chunk-VQ6ZTHLF.js";import"./chunk-IVVGDSQR.js";import"./chunk-FTZB27S6.js";import"./chunk-AV3I3L5K.js";import"./chunk-ZG6JN4PA.js";import"./chunk-YLG257PB.js";import"./chunk-6LXZMIVO.js";import"./chunk-MU5PIDDE.js";import"./chunk-CXMYARCQ.js";import"./chunk-Z2YQ4JHV.js";var I=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275cmp=m({type:e,selectors:[["app-discover"]],decls:6,vars:0,template:function(o,u){o&1&&(i(0,"ion-header")(1,"ion-toolbar")(2,"ion-title"),r(3,"Discover"),n()()(),i(4,"ion-content"),r(5,"Discover"),n())},dependencies:[a,d,s,p,l,c],encapsulation:2});let t=e;return t})();export{I as DiscoverPage}; diff --git a/home.page-DRLTU3XQ.js b/home.page-3GFVJXZ4.js similarity index 95% rename from home.page-DRLTU3XQ.js rename to home.page-3GFVJXZ4.js index 0f5551a..166051a 100644 --- a/home.page-DRLTU3XQ.js +++ b/home.page-3GFVJXZ4.js @@ -1 +1 @@ -import{C as s,D as p,I as d,e as c,g as o,h as i,m as r,o as a,x as m,y as l}from"./chunk-DVT4HBMF.js";import"./chunk-FEUIMOZZ.js";import"./chunk-JZHKZBGN.js";import"./chunk-RODZQFI5.js";import"./chunk-GRPEAL5M.js";import"./chunk-QUVJQTVU.js";import"./chunk-VQ6ZTHLF.js";import"./chunk-IVVGDSQR.js";import"./chunk-FTZB27S6.js";import"./chunk-AV3I3L5K.js";import"./chunk-ZG6JN4PA.js";import"./chunk-YLG257PB.js";import"./chunk-6LXZMIVO.js";import"./chunk-MU5PIDDE.js";import"./chunk-CXMYARCQ.js";import"./chunk-Z2YQ4JHV.js";var u=(()=>{let t=class t{};t.\u0275fac=function(n){return new(n||t)},t.\u0275cmp=c({type:t,selectors:[["app-home"]],decls:7,vars:0,consts:[[1,"text-center"]],template:function(n,g){n&1&&(o(0,"ion-header")(1,"ion-toolbar")(2,"ion-title"),r(3,"Home"),i()()(),o(4,"ion-content")(5,"div",0),r(6,"Home"),i()())},dependencies:[a,d,p,s,l,m],styles:["#container[_ngcontent-%COMP%]{text-align:center;position:absolute;left:0;right:0;top:50%;transform:translateY(-50%)}#container[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{font-size:20px;line-height:26px}#container[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:16px;line-height:22px;color:#8c8c8c;margin:0}#container[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{text-decoration:none}"]});let e=t;return e})();export{u as HomePage}; +import{C as s,D as p,I as d,e as c,g as o,h as i,m as r,o as a,x as m,y as l}from"./chunk-A6JDCJ37.js";import"./chunk-FEUIMOZZ.js";import"./chunk-JZHKZBGN.js";import"./chunk-RODZQFI5.js";import"./chunk-GRPEAL5M.js";import"./chunk-QUVJQTVU.js";import"./chunk-VQ6ZTHLF.js";import"./chunk-IVVGDSQR.js";import"./chunk-FTZB27S6.js";import"./chunk-AV3I3L5K.js";import"./chunk-ZG6JN4PA.js";import"./chunk-YLG257PB.js";import"./chunk-6LXZMIVO.js";import"./chunk-MU5PIDDE.js";import"./chunk-CXMYARCQ.js";import"./chunk-Z2YQ4JHV.js";var u=(()=>{let t=class t{};t.\u0275fac=function(n){return new(n||t)},t.\u0275cmp=c({type:t,selectors:[["app-home"]],decls:7,vars:0,consts:[[1,"text-center"]],template:function(n,g){n&1&&(o(0,"ion-header")(1,"ion-toolbar")(2,"ion-title"),r(3,"Home"),i()()(),o(4,"ion-content")(5,"div",0),r(6,"Home"),i()())},dependencies:[a,d,p,s,l,m],styles:["#container[_ngcontent-%COMP%]{text-align:center;position:absolute;left:0;right:0;top:50%;transform:translateY(-50%)}#container[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{font-size:20px;line-height:26px}#container[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:16px;line-height:22px;color:#8c8c8c;margin:0}#container[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{text-decoration:none}"]});let e=t;return e})();export{u as HomePage}; diff --git a/index.html b/index.html index 1bedf7c..55cc0f0 100644 --- a/index.html +++ b/index.html @@ -12,5 +12,5 @@ - + diff --git a/index.page-46EDG3CH.js b/index.page-VHZALQR4.js similarity index 92% rename from index.page-46EDG3CH.js rename to index.page-VHZALQR4.js index 2978e97..a611365 100644 --- a/index.page-46EDG3CH.js +++ b/index.page-VHZALQR4.js @@ -1 +1 @@ -import{C as d,D as c,I as s,e as m,g as n,h as i,m as r,o as a,x as l,y as p}from"./chunk-DVT4HBMF.js";import"./chunk-FEUIMOZZ.js";import"./chunk-JZHKZBGN.js";import"./chunk-RODZQFI5.js";import"./chunk-GRPEAL5M.js";import"./chunk-QUVJQTVU.js";import"./chunk-VQ6ZTHLF.js";import"./chunk-IVVGDSQR.js";import"./chunk-FTZB27S6.js";import"./chunk-AV3I3L5K.js";import"./chunk-ZG6JN4PA.js";import"./chunk-YLG257PB.js";import"./chunk-6LXZMIVO.js";import"./chunk-MU5PIDDE.js";import"./chunk-CXMYARCQ.js";import"./chunk-Z2YQ4JHV.js";var I=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275cmp=m({type:e,selectors:[["app-index"]],decls:6,vars:0,template:function(o,u){o&1&&(n(0,"ion-header")(1,"ion-toolbar")(2,"ion-title"),r(3,"Demo"),i()()(),n(4,"ion-content"),r(5,"Demo"),i())},dependencies:[a,s,c,d,p,l],encapsulation:2});let t=e;return t})();export{I as IndexPage}; +import{C as d,D as c,I as s,e as m,g as n,h as i,m as r,o as a,x as l,y as p}from"./chunk-A6JDCJ37.js";import"./chunk-FEUIMOZZ.js";import"./chunk-JZHKZBGN.js";import"./chunk-RODZQFI5.js";import"./chunk-GRPEAL5M.js";import"./chunk-QUVJQTVU.js";import"./chunk-VQ6ZTHLF.js";import"./chunk-IVVGDSQR.js";import"./chunk-FTZB27S6.js";import"./chunk-AV3I3L5K.js";import"./chunk-ZG6JN4PA.js";import"./chunk-YLG257PB.js";import"./chunk-6LXZMIVO.js";import"./chunk-MU5PIDDE.js";import"./chunk-CXMYARCQ.js";import"./chunk-Z2YQ4JHV.js";var I=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275cmp=m({type:e,selectors:[["app-index"]],decls:6,vars:0,template:function(o,u){o&1&&(n(0,"ion-header")(1,"ion-toolbar")(2,"ion-title"),r(3,"Demo"),i()()(),n(4,"ion-content"),r(5,"Demo"),i())},dependencies:[a,s,c,d,p,l],encapsulation:2});let t=e;return t})();export{I as IndexPage}; diff --git a/main-7HFAELRB.js b/main-GYFNH3TZ.js similarity index 85% rename from main-7HFAELRB.js rename to main-GYFNH3TZ.js index 0fcf6f9..dddd8ea 100644 --- a/main-7HFAELRB.js +++ b/main-GYFNH3TZ.js @@ -1 +1 @@ -import{a as x}from"./chunk-WTSC7VZG.js";import{a as D,b as d}from"./chunk-FPHB277E.js";import{A as y,B as j,E as O,F as b,G as q,H as p,I as c,a as M,b as z,c as v,d as r,e as g,g as t,h as l,i as n,m as w,n as k,p as f,q as B,r as L,s as H,t as V,u as C,v as h,w as A,z as S}from"./chunk-DVT4HBMF.js";import"./chunk-FEUIMOZZ.js";import"./chunk-JZHKZBGN.js";import"./chunk-RODZQFI5.js";import"./chunk-GRPEAL5M.js";import"./chunk-QUVJQTVU.js";import"./chunk-VQ6ZTHLF.js";import"./chunk-IVVGDSQR.js";import"./chunk-FTZB27S6.js";import"./chunk-AV3I3L5K.js";import"./chunk-ZG6JN4PA.js";import"./chunk-YLG257PB.js";import"./chunk-6LXZMIVO.js";import"./chunk-MU5PIDDE.js";import"./chunk-CXMYARCQ.js";import"./chunk-Z2YQ4JHV.js";var F=d("SplashScreen",{web:()=>import("./web-C6TLW7FC.js").then(o=>new o.SplashScreenWeb)});var U=d("StatusBar");var P=(()=>{let a=class a{constructor(s){this.coreService=s,this.injector=M(v),x(),this.coreService.init().then()}async ngOnInit(){this.coreService.init().then(),this.coreService.ready().subscribe(s=>{console.log(`ready...${s}`)}),D.isNativePlatform()&&(await U.setOverlaysWebView({overlay:!1}).then(),setTimeout(async()=>{await F.hide().then()},5e3))}};a.\u0275fac=function(i){return new(i||a)(r(p))},a.\u0275cmp=g({type:a,selectors:[["app-root"]],decls:2,vars:0,template:function(i,G){i&1&&(t(0,"ion-app"),n(1,"ion-router-outlet"),l())},dependencies:[A,h,c],encapsulation:2});let o=a;return o})();var m,Y=function(){if(typeof window>"u")return new Map;if(!m){var o=window;o.Ionicons=o.Ionicons||{},m=o.Ionicons.map=o.Ionicons.map||new Map}return m},u=function(o){Object.keys(o).forEach(function(a){T(a,o[a]);var e=a.replace(/([a-z0-9]|(?=[A-Z]))([A-Z0-9])/g,"$1-$2").toLowerCase();a!==e&&T(e,o[a])})},T=function(o,a){var e=Y(),s=e.get(o);s===void 0?e.set(o,a):s!==a&&console.warn('[Ionicons Warning]: Multiple icons were mapped to name "'.concat(o,'". Ensure that multiple icons are not mapped to the same icon name.'))};var I="data:image/svg+xml;utf8,";var R="data:image/svg+xml;utf8,";var E="data:image/svg+xml;utf8,";var N=(()=>{let a=class a{constructor(s,i){this.environmentInjector=s,this.coreService=i,u({triangle:E,ellipse:I,square:R}),this.coreService.init().then()}};a.\u0275fac=function(i){return new(i||a)(r(v),r(p))},a.\u0275cmp=g({type:a,selectors:[["app-tabs"]],decls:15,vars:0,consts:[["slot","bottom"],["tab","home"],["aria-hidden","true","name","triangle"],["tab","discover"],["tab","me"]],template:function(i,G){i&1&&(t(0,"ion-tabs"),n(1,"ion-router-outlet"),t(2,"ion-tab-bar",0)(3,"ion-tab-button",1),n(4,"ion-icon",2),t(5,"ion-label"),w(6,"Home"),l()(),t(7,"ion-tab-button",3),n(8,"ion-icon",2),t(9,"ion-label"),w(10,"Discover"),l()(),t(11,"ion-tab-button",4),n(12,"ion-icon",2),t(13,"ion-label"),w(14,"Me"),l()()()())},dependencies:[c,q,S,h,O,y,j],encapsulation:2});let o=a;return o})();var W=[{path:"tabs",component:N,children:[{path:"home",loadComponent:()=>import("./home.page-DRLTU3XQ.js").then(o=>o.HomePage)},{path:"discover",loadComponent:()=>import("./discover.page-AFYNLD2L.js").then(o=>o.DiscoverPage)},{path:"me",loadComponent:()=>import("./me.page-FJ4X3L7R.js").then(o=>o.MePage)},{path:"",redirectTo:"/tabs/home",pathMatch:"full"}]},{path:"demo",children:[{path:"index",loadComponent:()=>import("./index.page-46EDG3CH.js").then(o=>o.IndexPage)},{path:"swiper",loadComponent:()=>import("./swiper.page-TLQ3VE26.js").then(o=>o.SwiperPage)},{path:"virtual-scroller",loadComponent:()=>import("./virtual-scroller.page-UTMM4GYM.js").then(o=>o.VirtualScrollerPage)},{path:"",redirectTo:"/demo/index",pathMatch:"full"}]},{path:"",redirectTo:"/tabs/home",pathMatch:"full"},{path:"settings",loadComponent:()=>import("./settings.page-W62BEFWU.js").then(o=>o.SettingsPage)},{path:"about",loadComponent:()=>import("./about.page-JRHM5HGX.js").then(o=>o.AboutPage)}];f.production&&void 0;x();B(P,{providers:[k(),{provide:L,useClass:C},b(),H(W,V()),z(c.forRoot())]}).catch(o=>console.error(o)); +import{a as x}from"./chunk-WTSC7VZG.js";import{a as D,b as d}from"./chunk-FPHB277E.js";import{A as y,B as j,E as O,F as b,G as q,H as p,I as c,a as M,b as z,c as v,d as r,e as g,g as t,h as l,i as n,m as w,n as k,p as f,q as B,r as L,s as H,t as V,u as C,v as h,w as A,z as S}from"./chunk-A6JDCJ37.js";import"./chunk-FEUIMOZZ.js";import"./chunk-JZHKZBGN.js";import"./chunk-RODZQFI5.js";import"./chunk-GRPEAL5M.js";import"./chunk-QUVJQTVU.js";import"./chunk-VQ6ZTHLF.js";import"./chunk-IVVGDSQR.js";import"./chunk-FTZB27S6.js";import"./chunk-AV3I3L5K.js";import"./chunk-ZG6JN4PA.js";import"./chunk-YLG257PB.js";import"./chunk-6LXZMIVO.js";import"./chunk-MU5PIDDE.js";import"./chunk-CXMYARCQ.js";import"./chunk-Z2YQ4JHV.js";var F=d("SplashScreen",{web:()=>import("./web-C6TLW7FC.js").then(o=>new o.SplashScreenWeb)});var U=d("StatusBar");var P=(()=>{let a=class a{constructor(s){this.coreService=s,this.injector=M(v),x(),this.coreService.init().then()}async ngOnInit(){this.coreService.init().then(),this.coreService.ready().subscribe(s=>{console.log(`ready...${s}`)}),D.isNativePlatform()&&(await U.setOverlaysWebView({overlay:!1}).then(),setTimeout(async()=>{await F.hide().then()},5e3))}};a.\u0275fac=function(i){return new(i||a)(r(p))},a.\u0275cmp=g({type:a,selectors:[["app-root"]],decls:2,vars:0,template:function(i,G){i&1&&(t(0,"ion-app"),n(1,"ion-router-outlet"),l())},dependencies:[A,h,c],encapsulation:2});let o=a;return o})();var m,Y=function(){if(typeof window>"u")return new Map;if(!m){var o=window;o.Ionicons=o.Ionicons||{},m=o.Ionicons.map=o.Ionicons.map||new Map}return m},u=function(o){Object.keys(o).forEach(function(a){T(a,o[a]);var e=a.replace(/([a-z0-9]|(?=[A-Z]))([A-Z0-9])/g,"$1-$2").toLowerCase();a!==e&&T(e,o[a])})},T=function(o,a){var e=Y(),s=e.get(o);s===void 0?e.set(o,a):s!==a&&console.warn('[Ionicons Warning]: Multiple icons were mapped to name "'.concat(o,'". Ensure that multiple icons are not mapped to the same icon name.'))};var I="data:image/svg+xml;utf8,";var R="data:image/svg+xml;utf8,";var E="data:image/svg+xml;utf8,";var N=(()=>{let a=class a{constructor(s,i){this.environmentInjector=s,this.coreService=i,u({triangle:E,ellipse:I,square:R}),this.coreService.init().then()}};a.\u0275fac=function(i){return new(i||a)(r(v),r(p))},a.\u0275cmp=g({type:a,selectors:[["app-tabs"]],decls:15,vars:0,consts:[["slot","bottom"],["tab","home"],["aria-hidden","true","name","triangle"],["tab","discover"],["tab","me"]],template:function(i,G){i&1&&(t(0,"ion-tabs"),n(1,"ion-router-outlet"),t(2,"ion-tab-bar",0)(3,"ion-tab-button",1),n(4,"ion-icon",2),t(5,"ion-label"),w(6,"Home"),l()(),t(7,"ion-tab-button",3),n(8,"ion-icon",2),t(9,"ion-label"),w(10,"Discover"),l()(),t(11,"ion-tab-button",4),n(12,"ion-icon",2),t(13,"ion-label"),w(14,"Me"),l()()()())},dependencies:[c,q,S,h,O,y,j],encapsulation:2});let o=a;return o})();var W=[{path:"tabs",component:N,children:[{path:"home",loadComponent:()=>import("./home.page-3GFVJXZ4.js").then(o=>o.HomePage)},{path:"discover",loadComponent:()=>import("./discover.page-W62QQ3WQ.js").then(o=>o.DiscoverPage)},{path:"me",loadComponent:()=>import("./me.page-H2Z5WKXK.js").then(o=>o.MePage)},{path:"",redirectTo:"/tabs/home",pathMatch:"full"}]},{path:"demo",children:[{path:"index",loadComponent:()=>import("./index.page-VHZALQR4.js").then(o=>o.IndexPage)},{path:"swiper",loadComponent:()=>import("./swiper.page-66PQZU3B.js").then(o=>o.SwiperPage)},{path:"virtual-scroller",loadComponent:()=>import("./virtual-scroller.page-4T4SKGAY.js").then(o=>o.VirtualScrollerPage)},{path:"",redirectTo:"/demo/index",pathMatch:"full"}]},{path:"",redirectTo:"/tabs/home",pathMatch:"full"},{path:"settings",loadComponent:()=>import("./settings.page-AZS7UUZR.js").then(o=>o.SettingsPage)},{path:"about",loadComponent:()=>import("./about.page-WAYCMM46.js").then(o=>o.AboutPage)}];f.production&&void 0;x();B(P,{providers:[k(),{provide:L,useClass:C},b(),H(W,V()),z(c.forRoot())]}).catch(o=>console.error(o)); diff --git a/me.page-FJ4X3L7R.js b/me.page-H2Z5WKXK.js similarity index 93% rename from me.page-FJ4X3L7R.js rename to me.page-H2Z5WKXK.js index a5d8d65..0366923 100644 --- a/me.page-FJ4X3L7R.js +++ b/me.page-H2Z5WKXK.js @@ -1 +1 @@ -import{C as c,D as d,I as f,e as m,f as a,g as n,h as i,m as r,o as l,x as p,y as s}from"./chunk-DVT4HBMF.js";import"./chunk-FEUIMOZZ.js";import"./chunk-JZHKZBGN.js";import"./chunk-RODZQFI5.js";import"./chunk-GRPEAL5M.js";import"./chunk-QUVJQTVU.js";import"./chunk-VQ6ZTHLF.js";import"./chunk-IVVGDSQR.js";import"./chunk-FTZB27S6.js";import"./chunk-AV3I3L5K.js";import"./chunk-ZG6JN4PA.js";import"./chunk-YLG257PB.js";import"./chunk-6LXZMIVO.js";import"./chunk-MU5PIDDE.js";import"./chunk-CXMYARCQ.js";import"./chunk-Z2YQ4JHV.js";var I=(()=>{let e=class e{};e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=m({type:e,selectors:[["app-me"]],decls:6,vars:1,consts:[[3,"translucent"]],template:function(t,M){t&1&&(n(0,"ion-header",0)(1,"ion-toolbar")(2,"ion-title"),r(3,"Me"),i()()(),n(4,"ion-content"),r(5,"Me"),i()),t&2&&a("translucent",!0)},dependencies:[l,f,d,c,s,p],encapsulation:2});let o=e;return o})();export{I as MePage}; +import{C as c,D as d,I as f,e as m,f as a,g as n,h as i,m as r,o as l,x as p,y as s}from"./chunk-A6JDCJ37.js";import"./chunk-FEUIMOZZ.js";import"./chunk-JZHKZBGN.js";import"./chunk-RODZQFI5.js";import"./chunk-GRPEAL5M.js";import"./chunk-QUVJQTVU.js";import"./chunk-VQ6ZTHLF.js";import"./chunk-IVVGDSQR.js";import"./chunk-FTZB27S6.js";import"./chunk-AV3I3L5K.js";import"./chunk-ZG6JN4PA.js";import"./chunk-YLG257PB.js";import"./chunk-6LXZMIVO.js";import"./chunk-MU5PIDDE.js";import"./chunk-CXMYARCQ.js";import"./chunk-Z2YQ4JHV.js";var I=(()=>{let e=class e{};e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=m({type:e,selectors:[["app-me"]],decls:6,vars:1,consts:[[3,"translucent"]],template:function(t,M){t&1&&(n(0,"ion-header",0)(1,"ion-toolbar")(2,"ion-title"),r(3,"Me"),i()()(),n(4,"ion-content"),r(5,"Me"),i()),t&2&&a("translucent",!0)},dependencies:[l,f,d,c,s,p],encapsulation:2});let o=e;return o})();export{I as MePage}; diff --git a/settings.page-W62BEFWU.js b/settings.page-AZS7UUZR.js similarity index 92% rename from settings.page-W62BEFWU.js rename to settings.page-AZS7UUZR.js index 1d65314..11f410d 100644 --- a/settings.page-W62BEFWU.js +++ b/settings.page-AZS7UUZR.js @@ -1 +1 @@ -import{C as c,D as d,I as f,e as n,g as i,h as r,i as m,m as a,o as s,x as p,y as l}from"./chunk-DVT4HBMF.js";import"./chunk-FEUIMOZZ.js";import"./chunk-JZHKZBGN.js";import"./chunk-RODZQFI5.js";import"./chunk-GRPEAL5M.js";import"./chunk-QUVJQTVU.js";import"./chunk-VQ6ZTHLF.js";import"./chunk-IVVGDSQR.js";import"./chunk-FTZB27S6.js";import"./chunk-AV3I3L5K.js";import"./chunk-ZG6JN4PA.js";import"./chunk-YLG257PB.js";import"./chunk-6LXZMIVO.js";import"./chunk-MU5PIDDE.js";import"./chunk-CXMYARCQ.js";import"./chunk-Z2YQ4JHV.js";var h=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275cmp=n({type:e,selectors:[["app-settings"]],decls:5,vars:0,template:function(o,C){o&1&&(i(0,"ion-header")(1,"ion-toolbar")(2,"ion-title"),a(3,"settings"),r()()(),m(4,"ion-content"))},dependencies:[s,f,d,c,l,p],encapsulation:2});let t=e;return t})();export{h as SettingsPage}; +import{C as c,D as d,I as f,e as n,g as i,h as r,i as m,m as a,o as s,x as p,y as l}from"./chunk-A6JDCJ37.js";import"./chunk-FEUIMOZZ.js";import"./chunk-JZHKZBGN.js";import"./chunk-RODZQFI5.js";import"./chunk-GRPEAL5M.js";import"./chunk-QUVJQTVU.js";import"./chunk-VQ6ZTHLF.js";import"./chunk-IVVGDSQR.js";import"./chunk-FTZB27S6.js";import"./chunk-AV3I3L5K.js";import"./chunk-ZG6JN4PA.js";import"./chunk-YLG257PB.js";import"./chunk-6LXZMIVO.js";import"./chunk-MU5PIDDE.js";import"./chunk-CXMYARCQ.js";import"./chunk-Z2YQ4JHV.js";var h=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275cmp=n({type:e,selectors:[["app-settings"]],decls:5,vars:0,template:function(o,C){o&1&&(i(0,"ion-header")(1,"ion-toolbar")(2,"ion-title"),a(3,"settings"),r()()(),m(4,"ion-content"))},dependencies:[s,f,d,c,l,p],encapsulation:2});let t=e;return t})();export{h as SettingsPage}; diff --git a/shadow-css-BCWX7JCL.js b/shadow-css-N3OFT4QQ.js similarity index 100% rename from shadow-css-BCWX7JCL.js rename to shadow-css-N3OFT4QQ.js diff --git a/swiper.page-TLQ3VE26.js b/swiper.page-66PQZU3B.js similarity index 99% rename from swiper.page-TLQ3VE26.js rename to swiper.page-66PQZU3B.js index 978d446..46b4b67 100644 --- a/swiper.page-TLQ3VE26.js +++ b/swiper.page-66PQZU3B.js @@ -1 +1 @@ -import{a as _}from"./chunk-WTSC7VZG.js";import{C,D as P,I as O,e as c,g as n,h as e,j as g,k as l,l as w,m as t,o as d,x as M,y as A}from"./chunk-DVT4HBMF.js";import"./chunk-FEUIMOZZ.js";import"./chunk-JZHKZBGN.js";import"./chunk-RODZQFI5.js";import"./chunk-GRPEAL5M.js";import"./chunk-QUVJQTVU.js";import"./chunk-VQ6ZTHLF.js";import"./chunk-IVVGDSQR.js";import"./chunk-FTZB27S6.js";import"./chunk-AV3I3L5K.js";import"./chunk-ZG6JN4PA.js";import"./chunk-YLG257PB.js";import"./chunk-6LXZMIVO.js";import"./chunk-MU5PIDDE.js";import"./chunk-CXMYARCQ.js";import"./chunk-Z2YQ4JHV.js";var b=["swiperRef"],x=(()=>{let i=class i{ngAfterViewInit(){_()}onSlideChange(o){console.log("changed: ",o)}setupSwiper(){}};i.\u0275fac=function(r){return new(r||i)},i.\u0275cmp=c({type:i,selectors:[["app-swiper"]],viewQuery:function(r,a){if(r&1&&g(b,5),r&2){let p;l(p=w())&&(a.swiperRef=p.first)}},decls:25,vars:0,consts:[["swiperRef",""],[1,"swiper","app-swiper"]],template:function(r,a){r&1&&(n(0,"ion-header")(1,"ion-toolbar")(2,"ion-title"),t(3,"Swiper"),e()()(),n(4,"ion-content")(5,"swiper-container",1,0)(7,"swiper-slide"),t(8,"Slide 1"),e(),n(9,"swiper-slide"),t(10,"Slide 2"),e(),n(11,"swiper-slide"),t(12,"Slide 3"),e(),n(13,"swiper-slide"),t(14,"Slide 3"),e(),n(15,"swiper-slide"),t(16,"Slide 3"),e(),n(17,"swiper-slide"),t(18,"Slide 3"),e(),n(19,"swiper-slide"),t(20,"Slide 3"),e(),n(21,"swiper-slide"),t(22,"Slide 3"),e(),n(23,"swiper-slide"),t(24,"Slide 3"),e()()())},dependencies:[d,O,P,C,A,M],styles:['@font-face{font-family:swiper-icons;src:url(data:application/font-woff;charset=utf-8;base64,\\ d09GRgABAAAAAAZgABAAAAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABGRlRNAAAGRAAAABoAAAAci6qHkUdERUYAAAWgAAAAIwAAACQAYABXR1BPUwAABhQAAAAuAAAANuAY7+xHU1VCAAAFxAAAAFAAAABm2fPczU9TLzIAAAHcAAAASgAAAGBP9V5RY21hcAAAAkQAAACIAAABYt6F0cBjdnQgAAACzAAAAAQAAAAEABEBRGdhc3AAAAWYAAAACAAAAAj//wADZ2x5ZgAAAywAAADMAAAD2MHtryVoZWFkAAABbAAAADAAAAA2E2+eoWhoZWEAAAGcAAAAHwAAACQC9gDzaG10eAAAAigAAAAZAAAArgJkABFsb2NhAAAC0AAAAFoAAABaFQAUGG1heHAAAAG8AAAAHwAAACAAcABAbmFtZQAAA/gAAAE5AAACXvFdBwlwb3N0AAAFNAAAAGIAAACE5s74hXjaY2BkYGAAYpf5Hu/j+W2+MnAzMYDAzaX6QjD6/4//Bxj5GA8AuRwMYGkAPywL13jaY2BkYGA88P8Agx4j+/8fQDYfA1AEBWgDAIB2BOoAeNpjYGRgYNBh4GdgYgABEMnIABJzYNADCQAACWgAsQB42mNgYfzCOIGBlYGB0YcxjYGBwR1Kf2WQZGhhYGBiYGVmgAFGBiQQkOaawtDAoMBQxXjg/wEGPcYDDA4wNUA2CCgwsAAAO4EL6gAAeNpj2M0gyAACqxgGNWBkZ2D4/wMA+xkDdgAAAHjaY2BgYGaAYBkGRgYQiAHyGMF8FgYHIM3DwMHABGQrMOgyWDLEM1T9/w8UBfEMgLzE////P/5//f/V/xv+r4eaAAeMbAxwIUYmIMHEgKYAYjUcsDAwsLKxc3BycfPw8jEQA/gZBASFhEVExcQlJKWkZWTl5BUUlZRVVNXUNTQZBgMAAMR+E+gAEQFEAAAAKgAqACoANAA+AEgAUgBcAGYAcAB6AIQAjgCYAKIArAC2AMAAygDUAN4A6ADyAPwBBgEQARoBJAEuATgBQgFMAVYBYAFqAXQBfgGIAZIBnAGmAbIBzgHsAAB42u2NMQ6CUAyGW568x9AneYYgm4MJbhKFaExIOAVX8ApewSt4Bic4AfeAid3VOBixDxfPYEza5O+Xfi04YADggiUIULCuEJK8VhO4bSvpdnktHI5QCYtdi2sl8ZnXaHlqUrNKzdKcT8cjlq+rwZSvIVczNiezsfnP/uznmfPFBNODM2K7MTQ45YEAZqGP81AmGGcF3iPqOop0r1SPTaTbVkfUe4HXj97wYE+yNwWYxwWu4v1ugWHgo3S1XdZEVqWM7ET0cfnLGxWfkgR42o2PvWrDMBSFj/IHLaF0zKjRgdiVMwScNRAoWUoH78Y2icB/yIY09An6AH2Bdu/UB+yxopYshQiEvnvu0dURgDt8QeC8PDw7Fpji3fEA4z/PEJ6YOB5hKh4dj3EvXhxPqH/SKUY3rJ7srZ4FZnh1PMAtPhwP6fl2PMJMPDgeQ4rY8YT6Gzao0eAEA409DuggmTnFnOcSCiEiLMgxCiTI6Cq5DZUd3Qmp10vO0LaLTd2cjN4fOumlc7lUYbSQcZFkutRG7g6JKZKy0RmdLY680CDnEJ+UMkpFFe1RN7nxdVpXrC4aTtnaurOnYercZg2YVmLN/d/gczfEimrE/fs/bOuq29Zmn8tloORaXgZgGa78yO9/cnXm2BpaGvq25Dv9S4E9+5SIc9PqupJKhYFSSl47+Qcr1mYNAAAAeNptw0cKwkAAAMDZJA8Q7OUJvkLsPfZ6zFVERPy8qHh2YER+3i/BP83vIBLLySsoKimrqKqpa2hp6+jq6RsYGhmbmJqZSy0sraxtbO3sHRydnEMU4uR6yx7JJXveP7WrDycAAAAAAAH//wACeNpjYGRgYOABYhkgZgJCZgZNBkYGLQZtIJsFLMYAAAw3ALgAeNolizEKgDAQBCchRbC2sFER0YD6qVQiBCv/H9ezGI6Z5XBAw8CBK/m5iQQVauVbXLnOrMZv2oLdKFa8Pjuru2hJzGabmOSLzNMzvutpB3N42mNgZGBg4GKQYzBhYMxJLMlj4GBgAYow/P/PAJJhLM6sSoWKfWCAAwDAjgbRAAB42mNgYGBkAIIbCZo5IPrmUn0hGA0AO8EFTQAA);font-weight:400;font-style:normal}[_ngcontent-%COMP%]:root{--swiper-theme-color: #007aff}[_nghost-%COMP%]{position:relative;display:block;margin-left:auto;margin-right:auto;z-index:1}.swiper[_ngcontent-%COMP%]{margin-left:auto;margin-right:auto;position:relative;overflow:hidden;list-style:none;padding:0;z-index:1;display:block}.swiper-vertical[_ngcontent-%COMP%] > .swiper-wrapper[_ngcontent-%COMP%]{flex-direction:column}.swiper-wrapper[_ngcontent-%COMP%]{position:relative;width:100%;height:100%;z-index:1;display:flex;transition-property:transform;transition-timing-function:var(--swiper-wrapper-transition-timing-function, initial);box-sizing:content-box}.swiper-android[_ngcontent-%COMP%] .swiper-slide[_ngcontent-%COMP%], .swiper-ios[_ngcontent-%COMP%] .swiper-slide[_ngcontent-%COMP%], .swiper-wrapper[_ngcontent-%COMP%]{transform:translateZ(0)}.swiper-horizontal[_ngcontent-%COMP%]{touch-action:pan-y}.swiper-vertical[_ngcontent-%COMP%]{touch-action:pan-x}.swiper-slide[_ngcontent-%COMP%]{flex-shrink:0;width:100%;height:100%;position:relative;transition-property:transform;display:block}.swiper-slide-invisible-blank[_ngcontent-%COMP%]{visibility:hidden}.swiper-autoheight[_ngcontent-%COMP%], .swiper-autoheight[_ngcontent-%COMP%] .swiper-slide[_ngcontent-%COMP%]{height:auto}.swiper-autoheight[_ngcontent-%COMP%] .swiper-wrapper[_ngcontent-%COMP%]{align-items:flex-start;transition-property:transform,height}.swiper-backface-hidden[_ngcontent-%COMP%] .swiper-slide[_ngcontent-%COMP%]{transform:translateZ(0);-webkit-backface-visibility:hidden;backface-visibility:hidden}.swiper-3d.swiper-css-mode[_ngcontent-%COMP%] .swiper-wrapper[_ngcontent-%COMP%]{perspective:1200px}.swiper-3d[_ngcontent-%COMP%] .swiper-wrapper[_ngcontent-%COMP%]{transform-style:preserve-3d}.swiper-3d[_ngcontent-%COMP%]{perspective:1200px}.swiper-3d[_ngcontent-%COMP%] .swiper-slide[_ngcontent-%COMP%], .swiper-3d[_ngcontent-%COMP%] .swiper-cube-shadow[_ngcontent-%COMP%]{transform-style:preserve-3d}.swiper-css-mode[_ngcontent-%COMP%] > .swiper-wrapper[_ngcontent-%COMP%]{overflow:auto;scrollbar-width:none;-ms-overflow-style:none}.swiper-css-mode[_ngcontent-%COMP%] > .swiper-wrapper[_ngcontent-%COMP%]::-webkit-scrollbar{display:none}.swiper-css-mode[_ngcontent-%COMP%] > .swiper-wrapper[_ngcontent-%COMP%] > .swiper-slide[_ngcontent-%COMP%]{scroll-snap-align:start start}.swiper-css-mode.swiper-horizontal[_ngcontent-%COMP%] > .swiper-wrapper[_ngcontent-%COMP%]{scroll-snap-type:x mandatory}.swiper-css-mode.swiper-vertical[_ngcontent-%COMP%] > .swiper-wrapper[_ngcontent-%COMP%]{scroll-snap-type:y mandatory}.swiper-css-mode.swiper-free-mode[_ngcontent-%COMP%] > .swiper-wrapper[_ngcontent-%COMP%]{scroll-snap-type:none}.swiper-css-mode.swiper-free-mode[_ngcontent-%COMP%] > .swiper-wrapper[_ngcontent-%COMP%] > .swiper-slide[_ngcontent-%COMP%]{scroll-snap-align:none}.swiper-css-mode.swiper-centered[_ngcontent-%COMP%] > .swiper-wrapper[_ngcontent-%COMP%]:before{content:"";flex-shrink:0;order:9999}.swiper-css-mode.swiper-centered[_ngcontent-%COMP%] > .swiper-wrapper[_ngcontent-%COMP%] > .swiper-slide[_ngcontent-%COMP%]{scroll-snap-align:center center;scroll-snap-stop:always}.swiper-css-mode.swiper-centered.swiper-horizontal[_ngcontent-%COMP%] > .swiper-wrapper[_ngcontent-%COMP%] > .swiper-slide[_ngcontent-%COMP%]:first-child{margin-inline-start:var(--swiper-centered-offset-before)}.swiper-css-mode.swiper-centered.swiper-horizontal[_ngcontent-%COMP%] > .swiper-wrapper[_ngcontent-%COMP%]:before{height:100%;min-height:1px;width:var(--swiper-centered-offset-after)}.swiper-css-mode.swiper-centered.swiper-vertical[_ngcontent-%COMP%] > .swiper-wrapper[_ngcontent-%COMP%] > .swiper-slide[_ngcontent-%COMP%]:first-child{margin-block-start:var(--swiper-centered-offset-before)}.swiper-css-mode.swiper-centered.swiper-vertical[_ngcontent-%COMP%] > .swiper-wrapper[_ngcontent-%COMP%]:before{width:100%;min-width:1px;height:var(--swiper-centered-offset-after)}.swiper-3d[_ngcontent-%COMP%] .swiper-slide-shadow[_ngcontent-%COMP%], .swiper-3d[_ngcontent-%COMP%] .swiper-slide-shadow-left[_ngcontent-%COMP%], .swiper-3d[_ngcontent-%COMP%] .swiper-slide-shadow-right[_ngcontent-%COMP%], .swiper-3d[_ngcontent-%COMP%] .swiper-slide-shadow-top[_ngcontent-%COMP%], .swiper-3d[_ngcontent-%COMP%] .swiper-slide-shadow-bottom[_ngcontent-%COMP%]{position:absolute;left:0;top:0;width:100%;height:100%;pointer-events:none;z-index:10}.swiper-3d[_ngcontent-%COMP%] .swiper-slide-shadow[_ngcontent-%COMP%]{background:#00000026}.swiper-3d[_ngcontent-%COMP%] .swiper-slide-shadow-left[_ngcontent-%COMP%]{background-image:linear-gradient(to left,#00000080,#0000)}.swiper-3d[_ngcontent-%COMP%] .swiper-slide-shadow-right[_ngcontent-%COMP%]{background-image:linear-gradient(to right,#00000080,#0000)}.swiper-3d[_ngcontent-%COMP%] .swiper-slide-shadow-top[_ngcontent-%COMP%]{background-image:linear-gradient(to top,#00000080,#0000)}.swiper-3d[_ngcontent-%COMP%] .swiper-slide-shadow-bottom[_ngcontent-%COMP%]{background-image:linear-gradient(to bottom,#00000080,#0000)}.swiper-lazy-preloader[_ngcontent-%COMP%]{width:42px;height:42px;position:absolute;left:50%;top:50%;margin-left:-21px;margin-top:-21px;z-index:10;transform-origin:50%;box-sizing:border-box;border:4px solid var(--swiper-preloader-color, var(--swiper-theme-color));border-radius:50%;border-top-color:transparent}.swiper[_ngcontent-%COMP%]:not(.swiper-watch-progress) .swiper-lazy-preloader[_ngcontent-%COMP%], .swiper-watch-progress[_ngcontent-%COMP%] .swiper-slide-visible[_ngcontent-%COMP%] .swiper-lazy-preloader[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_swiper-preloader-spin 1s infinite linear}.swiper-lazy-preloader-white[_ngcontent-%COMP%]{--swiper-preloader-color: #fff}.swiper-lazy-preloader-black[_ngcontent-%COMP%]{--swiper-preloader-color: #000}@keyframes _ngcontent-%COMP%_swiper-preloader-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.swiper-virtual[_ngcontent-%COMP%] .swiper-slide[_ngcontent-%COMP%]{-webkit-backface-visibility:hidden;transform:translateZ(0)}.swiper-virtual.swiper-css-mode[_ngcontent-%COMP%] .swiper-wrapper[_ngcontent-%COMP%]:after{content:"";position:absolute;left:0;top:0;pointer-events:none}.swiper-virtual.swiper-css-mode.swiper-horizontal[_ngcontent-%COMP%] .swiper-wrapper[_ngcontent-%COMP%]:after{height:1px;width:var(--swiper-virtual-size)}.swiper-virtual.swiper-css-mode.swiper-vertical[_ngcontent-%COMP%] .swiper-wrapper[_ngcontent-%COMP%]:after{width:1px;height:var(--swiper-virtual-size)}[_ngcontent-%COMP%]:root{--swiper-navigation-size: 44px}.swiper-button-prev[_ngcontent-%COMP%], .swiper-button-next[_ngcontent-%COMP%]{position:absolute;top:var(--swiper-navigation-top-offset, 50%);width:calc(var(--swiper-navigation-size) / 44 * 27);height:var(--swiper-navigation-size);margin-top:calc(0px - var(--swiper-navigation-size) / 2);z-index:10;cursor:pointer;display:flex;align-items:center;justify-content:center;color:var(--swiper-navigation-color, var(--swiper-theme-color))}.swiper-button-prev.swiper-button-disabled[_ngcontent-%COMP%], .swiper-button-next.swiper-button-disabled[_ngcontent-%COMP%]{opacity:.35;cursor:auto;pointer-events:none}.swiper-button-prev.swiper-button-hidden[_ngcontent-%COMP%], .swiper-button-next.swiper-button-hidden[_ngcontent-%COMP%]{opacity:0;cursor:auto;pointer-events:none}.swiper-navigation-disabled[_ngcontent-%COMP%] .swiper-button-prev[_ngcontent-%COMP%], .swiper-navigation-disabled[_ngcontent-%COMP%] .swiper-button-next[_ngcontent-%COMP%]{display:none!important}.swiper-button-prev[_ngcontent-%COMP%] svg[_ngcontent-%COMP%], .swiper-button-next[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{width:100%;height:100%;object-fit:contain;transform-origin:center}.swiper-rtl[_ngcontent-%COMP%] .swiper-button-prev[_ngcontent-%COMP%] svg[_ngcontent-%COMP%], .swiper-rtl[_ngcontent-%COMP%] .swiper-button-next[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{transform:rotate(180deg)}.swiper-button-prev[_ngcontent-%COMP%], .swiper-rtl[_ngcontent-%COMP%] .swiper-button-next[_ngcontent-%COMP%]{left:var(--swiper-navigation-sides-offset, 10px);right:auto}.swiper-button-lock[_ngcontent-%COMP%]{display:none}.swiper-button-prev[_ngcontent-%COMP%]:after, .swiper-button-next[_ngcontent-%COMP%]:after{font-family:swiper-icons;font-size:var(--swiper-navigation-size);text-transform:none!important;letter-spacing:0;font-variant:initial;line-height:1}.swiper-button-prev[_ngcontent-%COMP%]:after, .swiper-rtl[_ngcontent-%COMP%] .swiper-button-next[_ngcontent-%COMP%]:after{content:"prev"}.swiper-button-next[_ngcontent-%COMP%], .swiper-rtl[_ngcontent-%COMP%] .swiper-button-prev[_ngcontent-%COMP%]{right:var(--swiper-navigation-sides-offset, 10px);left:auto}.swiper-button-next[_ngcontent-%COMP%]:after, .swiper-rtl[_ngcontent-%COMP%] .swiper-button-prev[_ngcontent-%COMP%]:after{content:"next"}.swiper-pagination[_ngcontent-%COMP%]{position:absolute;text-align:center;transition:.3s opacity;transform:translateZ(0);z-index:10}.swiper-pagination.swiper-pagination-hidden[_ngcontent-%COMP%]{opacity:0}.swiper-pagination-disabled[_ngcontent-%COMP%] > .swiper-pagination[_ngcontent-%COMP%], .swiper-pagination.swiper-pagination-disabled[_ngcontent-%COMP%]{display:none!important}.swiper-pagination-fraction[_ngcontent-%COMP%], .swiper-pagination-custom[_ngcontent-%COMP%], .swiper-horizontal[_ngcontent-%COMP%] > .swiper-pagination-bullets[_ngcontent-%COMP%], .swiper-pagination-bullets.swiper-pagination-horizontal[_ngcontent-%COMP%]{bottom:var(--swiper-pagination-bottom, 8px);top:var(--swiper-pagination-top, auto);left:0;width:100%}.swiper-pagination-bullets-dynamic[_ngcontent-%COMP%]{overflow:hidden;font-size:0}.swiper-pagination-bullets-dynamic[_ngcontent-%COMP%] .swiper-pagination-bullet[_ngcontent-%COMP%]{transform:scale(.33);position:relative}.swiper-pagination-bullets-dynamic[_ngcontent-%COMP%] .swiper-pagination-bullet-active[_ngcontent-%COMP%], .swiper-pagination-bullets-dynamic[_ngcontent-%COMP%] .swiper-pagination-bullet-active-main[_ngcontent-%COMP%]{transform:scale(1)}.swiper-pagination-bullets-dynamic[_ngcontent-%COMP%] .swiper-pagination-bullet-active-prev[_ngcontent-%COMP%]{transform:scale(.66)}.swiper-pagination-bullets-dynamic[_ngcontent-%COMP%] .swiper-pagination-bullet-active-prev-prev[_ngcontent-%COMP%]{transform:scale(.33)}.swiper-pagination-bullets-dynamic[_ngcontent-%COMP%] .swiper-pagination-bullet-active-next[_ngcontent-%COMP%]{transform:scale(.66)}.swiper-pagination-bullets-dynamic[_ngcontent-%COMP%] .swiper-pagination-bullet-active-next-next[_ngcontent-%COMP%]{transform:scale(.33)}.swiper-pagination-bullet[_ngcontent-%COMP%]{width:var(--swiper-pagination-bullet-width, var(--swiper-pagination-bullet-size, 8px));height:var(--swiper-pagination-bullet-height, var(--swiper-pagination-bullet-size, 8px));display:inline-block;border-radius:var(--swiper-pagination-bullet-border-radius, 50%);background:var(--swiper-pagination-bullet-inactive-color, #000);opacity:var(--swiper-pagination-bullet-inactive-opacity, .2)}button.swiper-pagination-bullet[_ngcontent-%COMP%]{border:none;margin:0;padding:0;box-shadow:none;-webkit-appearance:none;-moz-appearance:none;appearance:none}.swiper-pagination-clickable[_ngcontent-%COMP%] .swiper-pagination-bullet[_ngcontent-%COMP%]{cursor:pointer}.swiper-pagination-bullet[_ngcontent-%COMP%]:only-child{display:none!important}.swiper-pagination-bullet-active[_ngcontent-%COMP%]{opacity:var(--swiper-pagination-bullet-opacity, 1);background:var(--swiper-pagination-color, var(--swiper-theme-color))}.swiper-vertical[_ngcontent-%COMP%] > .swiper-pagination-bullets[_ngcontent-%COMP%], .swiper-pagination-vertical.swiper-pagination-bullets[_ngcontent-%COMP%]{right:var(--swiper-pagination-right, 8px);left:var(--swiper-pagination-left, auto);top:50%;transform:translate3d(0,-50%,0)}.swiper-vertical[_ngcontent-%COMP%] > .swiper-pagination-bullets[_ngcontent-%COMP%] .swiper-pagination-bullet[_ngcontent-%COMP%], .swiper-pagination-vertical.swiper-pagination-bullets[_ngcontent-%COMP%] .swiper-pagination-bullet[_ngcontent-%COMP%]{margin:var(--swiper-pagination-bullet-vertical-gap, 6px) 0;display:block}.swiper-vertical[_ngcontent-%COMP%] > .swiper-pagination-bullets.swiper-pagination-bullets-dynamic[_ngcontent-%COMP%], .swiper-pagination-vertical.swiper-pagination-bullets.swiper-pagination-bullets-dynamic[_ngcontent-%COMP%]{top:50%;transform:translateY(-50%);width:8px}.swiper-vertical[_ngcontent-%COMP%] > .swiper-pagination-bullets.swiper-pagination-bullets-dynamic[_ngcontent-%COMP%] .swiper-pagination-bullet[_ngcontent-%COMP%], .swiper-pagination-vertical.swiper-pagination-bullets.swiper-pagination-bullets-dynamic[_ngcontent-%COMP%] .swiper-pagination-bullet[_ngcontent-%COMP%]{display:inline-block;transition:.2s transform,.2s top}.swiper-horizontal[_ngcontent-%COMP%] > .swiper-pagination-bullets[_ngcontent-%COMP%] .swiper-pagination-bullet[_ngcontent-%COMP%], .swiper-pagination-horizontal.swiper-pagination-bullets[_ngcontent-%COMP%] .swiper-pagination-bullet[_ngcontent-%COMP%]{margin:0 var(--swiper-pagination-bullet-horizontal-gap, 4px)}.swiper-horizontal[_ngcontent-%COMP%] > .swiper-pagination-bullets.swiper-pagination-bullets-dynamic[_ngcontent-%COMP%], .swiper-pagination-horizontal.swiper-pagination-bullets.swiper-pagination-bullets-dynamic[_ngcontent-%COMP%]{left:50%;transform:translate(-50%);white-space:nowrap}.swiper-horizontal[_ngcontent-%COMP%] > .swiper-pagination-bullets.swiper-pagination-bullets-dynamic[_ngcontent-%COMP%] .swiper-pagination-bullet[_ngcontent-%COMP%], .swiper-pagination-horizontal.swiper-pagination-bullets.swiper-pagination-bullets-dynamic[_ngcontent-%COMP%] .swiper-pagination-bullet[_ngcontent-%COMP%]{transition:.2s transform,.2s left}.swiper-horizontal.swiper-rtl[_ngcontent-%COMP%] > .swiper-pagination-bullets-dynamic[_ngcontent-%COMP%] .swiper-pagination-bullet[_ngcontent-%COMP%]{transition:.2s transform,.2s right}.swiper-pagination-fraction[_ngcontent-%COMP%]{color:var(--swiper-pagination-fraction-color, inherit)}.swiper-pagination-progressbar[_ngcontent-%COMP%]{background:var(--swiper-pagination-progressbar-bg-color, rgba(0, 0, 0, .25));position:absolute}.swiper-pagination-progressbar[_ngcontent-%COMP%] .swiper-pagination-progressbar-fill[_ngcontent-%COMP%]{background:var(--swiper-pagination-color, var(--swiper-theme-color));position:absolute;left:0;top:0;width:100%;height:100%;transform:scale(0);transform-origin:left top}.swiper-rtl[_ngcontent-%COMP%] .swiper-pagination-progressbar[_ngcontent-%COMP%] .swiper-pagination-progressbar-fill[_ngcontent-%COMP%]{transform-origin:right top}.swiper-horizontal[_ngcontent-%COMP%] > .swiper-pagination-progressbar[_ngcontent-%COMP%], .swiper-pagination-progressbar.swiper-pagination-horizontal[_ngcontent-%COMP%], .swiper-vertical[_ngcontent-%COMP%] > .swiper-pagination-progressbar.swiper-pagination-progressbar-opposite[_ngcontent-%COMP%], .swiper-pagination-progressbar.swiper-pagination-vertical.swiper-pagination-progressbar-opposite[_ngcontent-%COMP%]{width:100%;height:var(--swiper-pagination-progressbar-size, 4px);left:0;top:0}.swiper-vertical[_ngcontent-%COMP%] > .swiper-pagination-progressbar[_ngcontent-%COMP%], .swiper-pagination-progressbar.swiper-pagination-vertical[_ngcontent-%COMP%], .swiper-horizontal[_ngcontent-%COMP%] > .swiper-pagination-progressbar.swiper-pagination-progressbar-opposite[_ngcontent-%COMP%], .swiper-pagination-progressbar.swiper-pagination-horizontal.swiper-pagination-progressbar-opposite[_ngcontent-%COMP%]{width:var(--swiper-pagination-progressbar-size, 4px);height:100%;left:0;top:0}.swiper-pagination-lock[_ngcontent-%COMP%]{display:none}.swiper-scrollbar[_ngcontent-%COMP%]{border-radius:var(--swiper-scrollbar-border-radius, 10px);position:relative;touch-action:none;background:var(--swiper-scrollbar-bg-color, rgba(0, 0, 0, .1))}.swiper-scrollbar-disabled[_ngcontent-%COMP%] > .swiper-scrollbar[_ngcontent-%COMP%], .swiper-scrollbar.swiper-scrollbar-disabled[_ngcontent-%COMP%]{display:none!important}.swiper-horizontal[_ngcontent-%COMP%] > .swiper-scrollbar[_ngcontent-%COMP%], .swiper-scrollbar.swiper-scrollbar-horizontal[_ngcontent-%COMP%]{position:absolute;left:var(--swiper-scrollbar-sides-offset, 1%);bottom:var(--swiper-scrollbar-bottom, 4px);top:var(--swiper-scrollbar-top, auto);z-index:50;height:var(--swiper-scrollbar-size, 4px);width:calc(100% - 2 * var(--swiper-scrollbar-sides-offset, 1%))}.swiper-vertical[_ngcontent-%COMP%] > .swiper-scrollbar[_ngcontent-%COMP%], .swiper-scrollbar.swiper-scrollbar-vertical[_ngcontent-%COMP%]{position:absolute;left:var(--swiper-scrollbar-left, auto);right:var(--swiper-scrollbar-right, 4px);top:var(--swiper-scrollbar-sides-offset, 1%);z-index:50;width:var(--swiper-scrollbar-size, 4px);height:calc(100% - 2 * var(--swiper-scrollbar-sides-offset, 1%))}.swiper-scrollbar-drag[_ngcontent-%COMP%]{height:100%;width:100%;position:relative;background:var(--swiper-scrollbar-drag-bg-color, rgba(0, 0, 0, .5));border-radius:var(--swiper-scrollbar-border-radius, 10px);left:0;top:0}.swiper-scrollbar-cursor-drag[_ngcontent-%COMP%]{cursor:move}.swiper-scrollbar-lock[_ngcontent-%COMP%]{display:none}.swiper-zoom-container[_ngcontent-%COMP%]{width:100%;height:100%;display:flex;justify-content:center;align-items:center;text-align:center}.swiper-zoom-container[_ngcontent-%COMP%] > img[_ngcontent-%COMP%], .swiper-zoom-container[_ngcontent-%COMP%] > svg[_ngcontent-%COMP%], .swiper-zoom-container[_ngcontent-%COMP%] > canvas[_ngcontent-%COMP%]{max-width:100%;max-height:100%;object-fit:contain}.swiper-slide-zoomed[_ngcontent-%COMP%]{cursor:move;touch-action:none}.swiper[_ngcontent-%COMP%] .swiper-notification[_ngcontent-%COMP%]{position:absolute;left:0;top:0;pointer-events:none;opacity:0;z-index:-1000}.swiper-free-mode[_ngcontent-%COMP%] > .swiper-wrapper[_ngcontent-%COMP%]{transition-timing-function:ease-out;margin:0 auto}.swiper-grid[_ngcontent-%COMP%] > .swiper-wrapper[_ngcontent-%COMP%]{flex-wrap:wrap}.swiper-grid-column[_ngcontent-%COMP%] > .swiper-wrapper[_ngcontent-%COMP%]{flex-wrap:wrap;flex-direction:column}.swiper-fade.swiper-free-mode[_ngcontent-%COMP%] .swiper-slide[_ngcontent-%COMP%]{transition-timing-function:ease-out}.swiper-fade[_ngcontent-%COMP%] .swiper-slide[_ngcontent-%COMP%]{pointer-events:none;transition-property:opacity}.swiper-fade[_ngcontent-%COMP%] .swiper-slide[_ngcontent-%COMP%] .swiper-slide[_ngcontent-%COMP%]{pointer-events:none}.swiper-fade[_ngcontent-%COMP%] .swiper-slide-active[_ngcontent-%COMP%], .swiper-fade[_ngcontent-%COMP%] .swiper-slide-active[_ngcontent-%COMP%] .swiper-slide-active[_ngcontent-%COMP%]{pointer-events:auto}.swiper.swiper-cube[_ngcontent-%COMP%]{overflow:visible}.swiper-cube[_ngcontent-%COMP%] .swiper-slide[_ngcontent-%COMP%]{pointer-events:none;-webkit-backface-visibility:hidden;backface-visibility:hidden;z-index:1;visibility:hidden;transform-origin:0 0;width:100%;height:100%}.swiper-cube[_ngcontent-%COMP%] .swiper-slide[_ngcontent-%COMP%] .swiper-slide[_ngcontent-%COMP%]{pointer-events:none}.swiper-cube.swiper-rtl[_ngcontent-%COMP%] .swiper-slide[_ngcontent-%COMP%]{transform-origin:100% 0}.swiper-cube[_ngcontent-%COMP%] .swiper-slide-active[_ngcontent-%COMP%], .swiper-cube[_ngcontent-%COMP%] .swiper-slide-active[_ngcontent-%COMP%] .swiper-slide-active[_ngcontent-%COMP%]{pointer-events:auto}.swiper-cube[_ngcontent-%COMP%] .swiper-slide-active[_ngcontent-%COMP%], .swiper-cube[_ngcontent-%COMP%] .swiper-slide-next[_ngcontent-%COMP%], .swiper-cube[_ngcontent-%COMP%] .swiper-slide-prev[_ngcontent-%COMP%]{pointer-events:auto;visibility:visible}.swiper-cube[_ngcontent-%COMP%] .swiper-cube-shadow[_ngcontent-%COMP%]{position:absolute;left:0;bottom:0;width:100%;height:100%;opacity:.6;z-index:0}.swiper-cube[_ngcontent-%COMP%] .swiper-cube-shadow[_ngcontent-%COMP%]:before{content:"";background:#000;position:absolute;left:0;top:0;bottom:0;right:0;filter:blur(50px)}.swiper-cube[_ngcontent-%COMP%] .swiper-slide-next[_ngcontent-%COMP%] + .swiper-slide[_ngcontent-%COMP%]{pointer-events:auto;visibility:visible}.swiper-cube[_ngcontent-%COMP%] .swiper-slide-shadow-cube.swiper-slide-shadow-top[_ngcontent-%COMP%], .swiper-cube[_ngcontent-%COMP%] .swiper-slide-shadow-cube.swiper-slide-shadow-bottom[_ngcontent-%COMP%], .swiper-cube[_ngcontent-%COMP%] .swiper-slide-shadow-cube.swiper-slide-shadow-left[_ngcontent-%COMP%], .swiper-cube[_ngcontent-%COMP%] .swiper-slide-shadow-cube.swiper-slide-shadow-right[_ngcontent-%COMP%]{z-index:0;-webkit-backface-visibility:hidden;backface-visibility:hidden}.swiper.swiper-flip[_ngcontent-%COMP%]{overflow:visible}.swiper-flip[_ngcontent-%COMP%] .swiper-slide[_ngcontent-%COMP%]{pointer-events:none;-webkit-backface-visibility:hidden;backface-visibility:hidden;z-index:1}.swiper-flip[_ngcontent-%COMP%] .swiper-slide[_ngcontent-%COMP%] .swiper-slide[_ngcontent-%COMP%]{pointer-events:none}.swiper-flip[_ngcontent-%COMP%] .swiper-slide-active[_ngcontent-%COMP%], .swiper-flip[_ngcontent-%COMP%] .swiper-slide-active[_ngcontent-%COMP%] .swiper-slide-active[_ngcontent-%COMP%]{pointer-events:auto}.swiper-flip[_ngcontent-%COMP%] .swiper-slide-shadow-flip.swiper-slide-shadow-top[_ngcontent-%COMP%], .swiper-flip[_ngcontent-%COMP%] .swiper-slide-shadow-flip.swiper-slide-shadow-bottom[_ngcontent-%COMP%], .swiper-flip[_ngcontent-%COMP%] .swiper-slide-shadow-flip.swiper-slide-shadow-left[_ngcontent-%COMP%], .swiper-flip[_ngcontent-%COMP%] .swiper-slide-shadow-flip.swiper-slide-shadow-right[_ngcontent-%COMP%]{z-index:0;-webkit-backface-visibility:hidden;backface-visibility:hidden}.swiper-creative[_ngcontent-%COMP%] .swiper-slide[_ngcontent-%COMP%]{-webkit-backface-visibility:hidden;backface-visibility:hidden;overflow:hidden;transition-property:transform,opacity,height}.swiper.swiper-cards[_ngcontent-%COMP%]{overflow:visible}.swiper-cards[_ngcontent-%COMP%] .swiper-slide[_ngcontent-%COMP%]{transform-origin:center bottom;-webkit-backface-visibility:hidden;backface-visibility:hidden;overflow:hidden}.app-swiper[_ngcontent-%COMP%]{width:100%;height:300px}']});let s=i;return s})();export{x as SwiperPage}; +import{a as _}from"./chunk-WTSC7VZG.js";import{C,D as P,I as O,e as c,g as n,h as e,j as g,k as l,l as w,m as t,o as d,x as M,y as A}from"./chunk-A6JDCJ37.js";import"./chunk-FEUIMOZZ.js";import"./chunk-JZHKZBGN.js";import"./chunk-RODZQFI5.js";import"./chunk-GRPEAL5M.js";import"./chunk-QUVJQTVU.js";import"./chunk-VQ6ZTHLF.js";import"./chunk-IVVGDSQR.js";import"./chunk-FTZB27S6.js";import"./chunk-AV3I3L5K.js";import"./chunk-ZG6JN4PA.js";import"./chunk-YLG257PB.js";import"./chunk-6LXZMIVO.js";import"./chunk-MU5PIDDE.js";import"./chunk-CXMYARCQ.js";import"./chunk-Z2YQ4JHV.js";var b=["swiperRef"],x=(()=>{let i=class i{ngAfterViewInit(){_()}onSlideChange(o){console.log("changed: ",o)}setupSwiper(){}};i.\u0275fac=function(r){return new(r||i)},i.\u0275cmp=c({type:i,selectors:[["app-swiper"]],viewQuery:function(r,a){if(r&1&&g(b,5),r&2){let p;l(p=w())&&(a.swiperRef=p.first)}},decls:25,vars:0,consts:[["swiperRef",""],[1,"swiper","app-swiper"]],template:function(r,a){r&1&&(n(0,"ion-header")(1,"ion-toolbar")(2,"ion-title"),t(3,"Swiper"),e()()(),n(4,"ion-content")(5,"swiper-container",1,0)(7,"swiper-slide"),t(8,"Slide 1"),e(),n(9,"swiper-slide"),t(10,"Slide 2"),e(),n(11,"swiper-slide"),t(12,"Slide 3"),e(),n(13,"swiper-slide"),t(14,"Slide 3"),e(),n(15,"swiper-slide"),t(16,"Slide 3"),e(),n(17,"swiper-slide"),t(18,"Slide 3"),e(),n(19,"swiper-slide"),t(20,"Slide 3"),e(),n(21,"swiper-slide"),t(22,"Slide 3"),e(),n(23,"swiper-slide"),t(24,"Slide 3"),e()()())},dependencies:[d,O,P,C,A,M],styles:['@font-face{font-family:swiper-icons;src:url(data:application/font-woff;charset=utf-8;base64,\\ d09GRgABAAAAAAZgABAAAAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABGRlRNAAAGRAAAABoAAAAci6qHkUdERUYAAAWgAAAAIwAAACQAYABXR1BPUwAABhQAAAAuAAAANuAY7+xHU1VCAAAFxAAAAFAAAABm2fPczU9TLzIAAAHcAAAASgAAAGBP9V5RY21hcAAAAkQAAACIAAABYt6F0cBjdnQgAAACzAAAAAQAAAAEABEBRGdhc3AAAAWYAAAACAAAAAj//wADZ2x5ZgAAAywAAADMAAAD2MHtryVoZWFkAAABbAAAADAAAAA2E2+eoWhoZWEAAAGcAAAAHwAAACQC9gDzaG10eAAAAigAAAAZAAAArgJkABFsb2NhAAAC0AAAAFoAAABaFQAUGG1heHAAAAG8AAAAHwAAACAAcABAbmFtZQAAA/gAAAE5AAACXvFdBwlwb3N0AAAFNAAAAGIAAACE5s74hXjaY2BkYGAAYpf5Hu/j+W2+MnAzMYDAzaX6QjD6/4//Bxj5GA8AuRwMYGkAPywL13jaY2BkYGA88P8Agx4j+/8fQDYfA1AEBWgDAIB2BOoAeNpjYGRgYNBh4GdgYgABEMnIABJzYNADCQAACWgAsQB42mNgYfzCOIGBlYGB0YcxjYGBwR1Kf2WQZGhhYGBiYGVmgAFGBiQQkOaawtDAoMBQxXjg/wEGPcYDDA4wNUA2CCgwsAAAO4EL6gAAeNpj2M0gyAACqxgGNWBkZ2D4/wMA+xkDdgAAAHjaY2BgYGaAYBkGRgYQiAHyGMF8FgYHIM3DwMHABGQrMOgyWDLEM1T9/w8UBfEMgLzE////P/5//f/V/xv+r4eaAAeMbAxwIUYmIMHEgKYAYjUcsDAwsLKxc3BycfPw8jEQA/gZBASFhEVExcQlJKWkZWTl5BUUlZRVVNXUNTQZBgMAAMR+E+gAEQFEAAAAKgAqACoANAA+AEgAUgBcAGYAcAB6AIQAjgCYAKIArAC2AMAAygDUAN4A6ADyAPwBBgEQARoBJAEuATgBQgFMAVYBYAFqAXQBfgGIAZIBnAGmAbIBzgHsAAB42u2NMQ6CUAyGW568x9AneYYgm4MJbhKFaExIOAVX8ApewSt4Bic4AfeAid3VOBixDxfPYEza5O+Xfi04YADggiUIULCuEJK8VhO4bSvpdnktHI5QCYtdi2sl8ZnXaHlqUrNKzdKcT8cjlq+rwZSvIVczNiezsfnP/uznmfPFBNODM2K7MTQ45YEAZqGP81AmGGcF3iPqOop0r1SPTaTbVkfUe4HXj97wYE+yNwWYxwWu4v1ugWHgo3S1XdZEVqWM7ET0cfnLGxWfkgR42o2PvWrDMBSFj/IHLaF0zKjRgdiVMwScNRAoWUoH78Y2icB/yIY09An6AH2Bdu/UB+yxopYshQiEvnvu0dURgDt8QeC8PDw7Fpji3fEA4z/PEJ6YOB5hKh4dj3EvXhxPqH/SKUY3rJ7srZ4FZnh1PMAtPhwP6fl2PMJMPDgeQ4rY8YT6Gzao0eAEA409DuggmTnFnOcSCiEiLMgxCiTI6Cq5DZUd3Qmp10vO0LaLTd2cjN4fOumlc7lUYbSQcZFkutRG7g6JKZKy0RmdLY680CDnEJ+UMkpFFe1RN7nxdVpXrC4aTtnaurOnYercZg2YVmLN/d/gczfEimrE/fs/bOuq29Zmn8tloORaXgZgGa78yO9/cnXm2BpaGvq25Dv9S4E9+5SIc9PqupJKhYFSSl47+Qcr1mYNAAAAeNptw0cKwkAAAMDZJA8Q7OUJvkLsPfZ6zFVERPy8qHh2YER+3i/BP83vIBLLySsoKimrqKqpa2hp6+jq6RsYGhmbmJqZSy0sraxtbO3sHRydnEMU4uR6yx7JJXveP7WrDycAAAAAAAH//wACeNpjYGRgYOABYhkgZgJCZgZNBkYGLQZtIJsFLMYAAAw3ALgAeNolizEKgDAQBCchRbC2sFER0YD6qVQiBCv/H9ezGI6Z5XBAw8CBK/m5iQQVauVbXLnOrMZv2oLdKFa8Pjuru2hJzGabmOSLzNMzvutpB3N42mNgZGBg4GKQYzBhYMxJLMlj4GBgAYow/P/PAJJhLM6sSoWKfWCAAwDAjgbRAAB42mNgYGBkAIIbCZo5IPrmUn0hGA0AO8EFTQAA);font-weight:400;font-style:normal}[_ngcontent-%COMP%]:root{--swiper-theme-color: #007aff}[_nghost-%COMP%]{position:relative;display:block;margin-left:auto;margin-right:auto;z-index:1}.swiper[_ngcontent-%COMP%]{margin-left:auto;margin-right:auto;position:relative;overflow:hidden;list-style:none;padding:0;z-index:1;display:block}.swiper-vertical[_ngcontent-%COMP%] > .swiper-wrapper[_ngcontent-%COMP%]{flex-direction:column}.swiper-wrapper[_ngcontent-%COMP%]{position:relative;width:100%;height:100%;z-index:1;display:flex;transition-property:transform;transition-timing-function:var(--swiper-wrapper-transition-timing-function, initial);box-sizing:content-box}.swiper-android[_ngcontent-%COMP%] .swiper-slide[_ngcontent-%COMP%], .swiper-ios[_ngcontent-%COMP%] .swiper-slide[_ngcontent-%COMP%], .swiper-wrapper[_ngcontent-%COMP%]{transform:translateZ(0)}.swiper-horizontal[_ngcontent-%COMP%]{touch-action:pan-y}.swiper-vertical[_ngcontent-%COMP%]{touch-action:pan-x}.swiper-slide[_ngcontent-%COMP%]{flex-shrink:0;width:100%;height:100%;position:relative;transition-property:transform;display:block}.swiper-slide-invisible-blank[_ngcontent-%COMP%]{visibility:hidden}.swiper-autoheight[_ngcontent-%COMP%], .swiper-autoheight[_ngcontent-%COMP%] .swiper-slide[_ngcontent-%COMP%]{height:auto}.swiper-autoheight[_ngcontent-%COMP%] .swiper-wrapper[_ngcontent-%COMP%]{align-items:flex-start;transition-property:transform,height}.swiper-backface-hidden[_ngcontent-%COMP%] .swiper-slide[_ngcontent-%COMP%]{transform:translateZ(0);-webkit-backface-visibility:hidden;backface-visibility:hidden}.swiper-3d.swiper-css-mode[_ngcontent-%COMP%] .swiper-wrapper[_ngcontent-%COMP%]{perspective:1200px}.swiper-3d[_ngcontent-%COMP%] .swiper-wrapper[_ngcontent-%COMP%]{transform-style:preserve-3d}.swiper-3d[_ngcontent-%COMP%]{perspective:1200px}.swiper-3d[_ngcontent-%COMP%] .swiper-slide[_ngcontent-%COMP%], .swiper-3d[_ngcontent-%COMP%] .swiper-cube-shadow[_ngcontent-%COMP%]{transform-style:preserve-3d}.swiper-css-mode[_ngcontent-%COMP%] > .swiper-wrapper[_ngcontent-%COMP%]{overflow:auto;scrollbar-width:none;-ms-overflow-style:none}.swiper-css-mode[_ngcontent-%COMP%] > .swiper-wrapper[_ngcontent-%COMP%]::-webkit-scrollbar{display:none}.swiper-css-mode[_ngcontent-%COMP%] > .swiper-wrapper[_ngcontent-%COMP%] > .swiper-slide[_ngcontent-%COMP%]{scroll-snap-align:start start}.swiper-css-mode.swiper-horizontal[_ngcontent-%COMP%] > .swiper-wrapper[_ngcontent-%COMP%]{scroll-snap-type:x mandatory}.swiper-css-mode.swiper-vertical[_ngcontent-%COMP%] > .swiper-wrapper[_ngcontent-%COMP%]{scroll-snap-type:y mandatory}.swiper-css-mode.swiper-free-mode[_ngcontent-%COMP%] > .swiper-wrapper[_ngcontent-%COMP%]{scroll-snap-type:none}.swiper-css-mode.swiper-free-mode[_ngcontent-%COMP%] > .swiper-wrapper[_ngcontent-%COMP%] > .swiper-slide[_ngcontent-%COMP%]{scroll-snap-align:none}.swiper-css-mode.swiper-centered[_ngcontent-%COMP%] > .swiper-wrapper[_ngcontent-%COMP%]:before{content:"";flex-shrink:0;order:9999}.swiper-css-mode.swiper-centered[_ngcontent-%COMP%] > .swiper-wrapper[_ngcontent-%COMP%] > .swiper-slide[_ngcontent-%COMP%]{scroll-snap-align:center center;scroll-snap-stop:always}.swiper-css-mode.swiper-centered.swiper-horizontal[_ngcontent-%COMP%] > .swiper-wrapper[_ngcontent-%COMP%] > .swiper-slide[_ngcontent-%COMP%]:first-child{margin-inline-start:var(--swiper-centered-offset-before)}.swiper-css-mode.swiper-centered.swiper-horizontal[_ngcontent-%COMP%] > .swiper-wrapper[_ngcontent-%COMP%]:before{height:100%;min-height:1px;width:var(--swiper-centered-offset-after)}.swiper-css-mode.swiper-centered.swiper-vertical[_ngcontent-%COMP%] > .swiper-wrapper[_ngcontent-%COMP%] > .swiper-slide[_ngcontent-%COMP%]:first-child{margin-block-start:var(--swiper-centered-offset-before)}.swiper-css-mode.swiper-centered.swiper-vertical[_ngcontent-%COMP%] > .swiper-wrapper[_ngcontent-%COMP%]:before{width:100%;min-width:1px;height:var(--swiper-centered-offset-after)}.swiper-3d[_ngcontent-%COMP%] .swiper-slide-shadow[_ngcontent-%COMP%], .swiper-3d[_ngcontent-%COMP%] .swiper-slide-shadow-left[_ngcontent-%COMP%], .swiper-3d[_ngcontent-%COMP%] .swiper-slide-shadow-right[_ngcontent-%COMP%], .swiper-3d[_ngcontent-%COMP%] .swiper-slide-shadow-top[_ngcontent-%COMP%], .swiper-3d[_ngcontent-%COMP%] .swiper-slide-shadow-bottom[_ngcontent-%COMP%]{position:absolute;left:0;top:0;width:100%;height:100%;pointer-events:none;z-index:10}.swiper-3d[_ngcontent-%COMP%] .swiper-slide-shadow[_ngcontent-%COMP%]{background:#00000026}.swiper-3d[_ngcontent-%COMP%] .swiper-slide-shadow-left[_ngcontent-%COMP%]{background-image:linear-gradient(to left,#00000080,#0000)}.swiper-3d[_ngcontent-%COMP%] .swiper-slide-shadow-right[_ngcontent-%COMP%]{background-image:linear-gradient(to right,#00000080,#0000)}.swiper-3d[_ngcontent-%COMP%] .swiper-slide-shadow-top[_ngcontent-%COMP%]{background-image:linear-gradient(to top,#00000080,#0000)}.swiper-3d[_ngcontent-%COMP%] .swiper-slide-shadow-bottom[_ngcontent-%COMP%]{background-image:linear-gradient(to bottom,#00000080,#0000)}.swiper-lazy-preloader[_ngcontent-%COMP%]{width:42px;height:42px;position:absolute;left:50%;top:50%;margin-left:-21px;margin-top:-21px;z-index:10;transform-origin:50%;box-sizing:border-box;border:4px solid var(--swiper-preloader-color, var(--swiper-theme-color));border-radius:50%;border-top-color:transparent}.swiper[_ngcontent-%COMP%]:not(.swiper-watch-progress) .swiper-lazy-preloader[_ngcontent-%COMP%], .swiper-watch-progress[_ngcontent-%COMP%] .swiper-slide-visible[_ngcontent-%COMP%] .swiper-lazy-preloader[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_swiper-preloader-spin 1s infinite linear}.swiper-lazy-preloader-white[_ngcontent-%COMP%]{--swiper-preloader-color: #fff}.swiper-lazy-preloader-black[_ngcontent-%COMP%]{--swiper-preloader-color: #000}@keyframes _ngcontent-%COMP%_swiper-preloader-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.swiper-virtual[_ngcontent-%COMP%] .swiper-slide[_ngcontent-%COMP%]{-webkit-backface-visibility:hidden;transform:translateZ(0)}.swiper-virtual.swiper-css-mode[_ngcontent-%COMP%] .swiper-wrapper[_ngcontent-%COMP%]:after{content:"";position:absolute;left:0;top:0;pointer-events:none}.swiper-virtual.swiper-css-mode.swiper-horizontal[_ngcontent-%COMP%] .swiper-wrapper[_ngcontent-%COMP%]:after{height:1px;width:var(--swiper-virtual-size)}.swiper-virtual.swiper-css-mode.swiper-vertical[_ngcontent-%COMP%] .swiper-wrapper[_ngcontent-%COMP%]:after{width:1px;height:var(--swiper-virtual-size)}[_ngcontent-%COMP%]:root{--swiper-navigation-size: 44px}.swiper-button-prev[_ngcontent-%COMP%], .swiper-button-next[_ngcontent-%COMP%]{position:absolute;top:var(--swiper-navigation-top-offset, 50%);width:calc(var(--swiper-navigation-size) / 44 * 27);height:var(--swiper-navigation-size);margin-top:calc(0px - var(--swiper-navigation-size) / 2);z-index:10;cursor:pointer;display:flex;align-items:center;justify-content:center;color:var(--swiper-navigation-color, var(--swiper-theme-color))}.swiper-button-prev.swiper-button-disabled[_ngcontent-%COMP%], .swiper-button-next.swiper-button-disabled[_ngcontent-%COMP%]{opacity:.35;cursor:auto;pointer-events:none}.swiper-button-prev.swiper-button-hidden[_ngcontent-%COMP%], .swiper-button-next.swiper-button-hidden[_ngcontent-%COMP%]{opacity:0;cursor:auto;pointer-events:none}.swiper-navigation-disabled[_ngcontent-%COMP%] .swiper-button-prev[_ngcontent-%COMP%], .swiper-navigation-disabled[_ngcontent-%COMP%] .swiper-button-next[_ngcontent-%COMP%]{display:none!important}.swiper-button-prev[_ngcontent-%COMP%] svg[_ngcontent-%COMP%], .swiper-button-next[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{width:100%;height:100%;object-fit:contain;transform-origin:center}.swiper-rtl[_ngcontent-%COMP%] .swiper-button-prev[_ngcontent-%COMP%] svg[_ngcontent-%COMP%], .swiper-rtl[_ngcontent-%COMP%] .swiper-button-next[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{transform:rotate(180deg)}.swiper-button-prev[_ngcontent-%COMP%], .swiper-rtl[_ngcontent-%COMP%] .swiper-button-next[_ngcontent-%COMP%]{left:var(--swiper-navigation-sides-offset, 10px);right:auto}.swiper-button-lock[_ngcontent-%COMP%]{display:none}.swiper-button-prev[_ngcontent-%COMP%]:after, .swiper-button-next[_ngcontent-%COMP%]:after{font-family:swiper-icons;font-size:var(--swiper-navigation-size);text-transform:none!important;letter-spacing:0;font-variant:initial;line-height:1}.swiper-button-prev[_ngcontent-%COMP%]:after, .swiper-rtl[_ngcontent-%COMP%] .swiper-button-next[_ngcontent-%COMP%]:after{content:"prev"}.swiper-button-next[_ngcontent-%COMP%], .swiper-rtl[_ngcontent-%COMP%] .swiper-button-prev[_ngcontent-%COMP%]{right:var(--swiper-navigation-sides-offset, 10px);left:auto}.swiper-button-next[_ngcontent-%COMP%]:after, .swiper-rtl[_ngcontent-%COMP%] .swiper-button-prev[_ngcontent-%COMP%]:after{content:"next"}.swiper-pagination[_ngcontent-%COMP%]{position:absolute;text-align:center;transition:.3s opacity;transform:translateZ(0);z-index:10}.swiper-pagination.swiper-pagination-hidden[_ngcontent-%COMP%]{opacity:0}.swiper-pagination-disabled[_ngcontent-%COMP%] > .swiper-pagination[_ngcontent-%COMP%], .swiper-pagination.swiper-pagination-disabled[_ngcontent-%COMP%]{display:none!important}.swiper-pagination-fraction[_ngcontent-%COMP%], .swiper-pagination-custom[_ngcontent-%COMP%], .swiper-horizontal[_ngcontent-%COMP%] > .swiper-pagination-bullets[_ngcontent-%COMP%], .swiper-pagination-bullets.swiper-pagination-horizontal[_ngcontent-%COMP%]{bottom:var(--swiper-pagination-bottom, 8px);top:var(--swiper-pagination-top, auto);left:0;width:100%}.swiper-pagination-bullets-dynamic[_ngcontent-%COMP%]{overflow:hidden;font-size:0}.swiper-pagination-bullets-dynamic[_ngcontent-%COMP%] .swiper-pagination-bullet[_ngcontent-%COMP%]{transform:scale(.33);position:relative}.swiper-pagination-bullets-dynamic[_ngcontent-%COMP%] .swiper-pagination-bullet-active[_ngcontent-%COMP%], .swiper-pagination-bullets-dynamic[_ngcontent-%COMP%] .swiper-pagination-bullet-active-main[_ngcontent-%COMP%]{transform:scale(1)}.swiper-pagination-bullets-dynamic[_ngcontent-%COMP%] .swiper-pagination-bullet-active-prev[_ngcontent-%COMP%]{transform:scale(.66)}.swiper-pagination-bullets-dynamic[_ngcontent-%COMP%] .swiper-pagination-bullet-active-prev-prev[_ngcontent-%COMP%]{transform:scale(.33)}.swiper-pagination-bullets-dynamic[_ngcontent-%COMP%] .swiper-pagination-bullet-active-next[_ngcontent-%COMP%]{transform:scale(.66)}.swiper-pagination-bullets-dynamic[_ngcontent-%COMP%] .swiper-pagination-bullet-active-next-next[_ngcontent-%COMP%]{transform:scale(.33)}.swiper-pagination-bullet[_ngcontent-%COMP%]{width:var(--swiper-pagination-bullet-width, var(--swiper-pagination-bullet-size, 8px));height:var(--swiper-pagination-bullet-height, var(--swiper-pagination-bullet-size, 8px));display:inline-block;border-radius:var(--swiper-pagination-bullet-border-radius, 50%);background:var(--swiper-pagination-bullet-inactive-color, #000);opacity:var(--swiper-pagination-bullet-inactive-opacity, .2)}button.swiper-pagination-bullet[_ngcontent-%COMP%]{border:none;margin:0;padding:0;box-shadow:none;-webkit-appearance:none;-moz-appearance:none;appearance:none}.swiper-pagination-clickable[_ngcontent-%COMP%] .swiper-pagination-bullet[_ngcontent-%COMP%]{cursor:pointer}.swiper-pagination-bullet[_ngcontent-%COMP%]:only-child{display:none!important}.swiper-pagination-bullet-active[_ngcontent-%COMP%]{opacity:var(--swiper-pagination-bullet-opacity, 1);background:var(--swiper-pagination-color, var(--swiper-theme-color))}.swiper-vertical[_ngcontent-%COMP%] > .swiper-pagination-bullets[_ngcontent-%COMP%], .swiper-pagination-vertical.swiper-pagination-bullets[_ngcontent-%COMP%]{right:var(--swiper-pagination-right, 8px);left:var(--swiper-pagination-left, auto);top:50%;transform:translate3d(0,-50%,0)}.swiper-vertical[_ngcontent-%COMP%] > .swiper-pagination-bullets[_ngcontent-%COMP%] .swiper-pagination-bullet[_ngcontent-%COMP%], .swiper-pagination-vertical.swiper-pagination-bullets[_ngcontent-%COMP%] .swiper-pagination-bullet[_ngcontent-%COMP%]{margin:var(--swiper-pagination-bullet-vertical-gap, 6px) 0;display:block}.swiper-vertical[_ngcontent-%COMP%] > .swiper-pagination-bullets.swiper-pagination-bullets-dynamic[_ngcontent-%COMP%], .swiper-pagination-vertical.swiper-pagination-bullets.swiper-pagination-bullets-dynamic[_ngcontent-%COMP%]{top:50%;transform:translateY(-50%);width:8px}.swiper-vertical[_ngcontent-%COMP%] > .swiper-pagination-bullets.swiper-pagination-bullets-dynamic[_ngcontent-%COMP%] .swiper-pagination-bullet[_ngcontent-%COMP%], .swiper-pagination-vertical.swiper-pagination-bullets.swiper-pagination-bullets-dynamic[_ngcontent-%COMP%] .swiper-pagination-bullet[_ngcontent-%COMP%]{display:inline-block;transition:.2s transform,.2s top}.swiper-horizontal[_ngcontent-%COMP%] > .swiper-pagination-bullets[_ngcontent-%COMP%] .swiper-pagination-bullet[_ngcontent-%COMP%], .swiper-pagination-horizontal.swiper-pagination-bullets[_ngcontent-%COMP%] .swiper-pagination-bullet[_ngcontent-%COMP%]{margin:0 var(--swiper-pagination-bullet-horizontal-gap, 4px)}.swiper-horizontal[_ngcontent-%COMP%] > .swiper-pagination-bullets.swiper-pagination-bullets-dynamic[_ngcontent-%COMP%], .swiper-pagination-horizontal.swiper-pagination-bullets.swiper-pagination-bullets-dynamic[_ngcontent-%COMP%]{left:50%;transform:translate(-50%);white-space:nowrap}.swiper-horizontal[_ngcontent-%COMP%] > .swiper-pagination-bullets.swiper-pagination-bullets-dynamic[_ngcontent-%COMP%] .swiper-pagination-bullet[_ngcontent-%COMP%], .swiper-pagination-horizontal.swiper-pagination-bullets.swiper-pagination-bullets-dynamic[_ngcontent-%COMP%] .swiper-pagination-bullet[_ngcontent-%COMP%]{transition:.2s transform,.2s left}.swiper-horizontal.swiper-rtl[_ngcontent-%COMP%] > .swiper-pagination-bullets-dynamic[_ngcontent-%COMP%] .swiper-pagination-bullet[_ngcontent-%COMP%]{transition:.2s transform,.2s right}.swiper-pagination-fraction[_ngcontent-%COMP%]{color:var(--swiper-pagination-fraction-color, inherit)}.swiper-pagination-progressbar[_ngcontent-%COMP%]{background:var(--swiper-pagination-progressbar-bg-color, rgba(0, 0, 0, .25));position:absolute}.swiper-pagination-progressbar[_ngcontent-%COMP%] .swiper-pagination-progressbar-fill[_ngcontent-%COMP%]{background:var(--swiper-pagination-color, var(--swiper-theme-color));position:absolute;left:0;top:0;width:100%;height:100%;transform:scale(0);transform-origin:left top}.swiper-rtl[_ngcontent-%COMP%] .swiper-pagination-progressbar[_ngcontent-%COMP%] .swiper-pagination-progressbar-fill[_ngcontent-%COMP%]{transform-origin:right top}.swiper-horizontal[_ngcontent-%COMP%] > .swiper-pagination-progressbar[_ngcontent-%COMP%], .swiper-pagination-progressbar.swiper-pagination-horizontal[_ngcontent-%COMP%], .swiper-vertical[_ngcontent-%COMP%] > .swiper-pagination-progressbar.swiper-pagination-progressbar-opposite[_ngcontent-%COMP%], .swiper-pagination-progressbar.swiper-pagination-vertical.swiper-pagination-progressbar-opposite[_ngcontent-%COMP%]{width:100%;height:var(--swiper-pagination-progressbar-size, 4px);left:0;top:0}.swiper-vertical[_ngcontent-%COMP%] > .swiper-pagination-progressbar[_ngcontent-%COMP%], .swiper-pagination-progressbar.swiper-pagination-vertical[_ngcontent-%COMP%], .swiper-horizontal[_ngcontent-%COMP%] > .swiper-pagination-progressbar.swiper-pagination-progressbar-opposite[_ngcontent-%COMP%], .swiper-pagination-progressbar.swiper-pagination-horizontal.swiper-pagination-progressbar-opposite[_ngcontent-%COMP%]{width:var(--swiper-pagination-progressbar-size, 4px);height:100%;left:0;top:0}.swiper-pagination-lock[_ngcontent-%COMP%]{display:none}.swiper-scrollbar[_ngcontent-%COMP%]{border-radius:var(--swiper-scrollbar-border-radius, 10px);position:relative;touch-action:none;background:var(--swiper-scrollbar-bg-color, rgba(0, 0, 0, .1))}.swiper-scrollbar-disabled[_ngcontent-%COMP%] > .swiper-scrollbar[_ngcontent-%COMP%], .swiper-scrollbar.swiper-scrollbar-disabled[_ngcontent-%COMP%]{display:none!important}.swiper-horizontal[_ngcontent-%COMP%] > .swiper-scrollbar[_ngcontent-%COMP%], .swiper-scrollbar.swiper-scrollbar-horizontal[_ngcontent-%COMP%]{position:absolute;left:var(--swiper-scrollbar-sides-offset, 1%);bottom:var(--swiper-scrollbar-bottom, 4px);top:var(--swiper-scrollbar-top, auto);z-index:50;height:var(--swiper-scrollbar-size, 4px);width:calc(100% - 2 * var(--swiper-scrollbar-sides-offset, 1%))}.swiper-vertical[_ngcontent-%COMP%] > .swiper-scrollbar[_ngcontent-%COMP%], .swiper-scrollbar.swiper-scrollbar-vertical[_ngcontent-%COMP%]{position:absolute;left:var(--swiper-scrollbar-left, auto);right:var(--swiper-scrollbar-right, 4px);top:var(--swiper-scrollbar-sides-offset, 1%);z-index:50;width:var(--swiper-scrollbar-size, 4px);height:calc(100% - 2 * var(--swiper-scrollbar-sides-offset, 1%))}.swiper-scrollbar-drag[_ngcontent-%COMP%]{height:100%;width:100%;position:relative;background:var(--swiper-scrollbar-drag-bg-color, rgba(0, 0, 0, .5));border-radius:var(--swiper-scrollbar-border-radius, 10px);left:0;top:0}.swiper-scrollbar-cursor-drag[_ngcontent-%COMP%]{cursor:move}.swiper-scrollbar-lock[_ngcontent-%COMP%]{display:none}.swiper-zoom-container[_ngcontent-%COMP%]{width:100%;height:100%;display:flex;justify-content:center;align-items:center;text-align:center}.swiper-zoom-container[_ngcontent-%COMP%] > img[_ngcontent-%COMP%], .swiper-zoom-container[_ngcontent-%COMP%] > svg[_ngcontent-%COMP%], .swiper-zoom-container[_ngcontent-%COMP%] > canvas[_ngcontent-%COMP%]{max-width:100%;max-height:100%;object-fit:contain}.swiper-slide-zoomed[_ngcontent-%COMP%]{cursor:move;touch-action:none}.swiper[_ngcontent-%COMP%] .swiper-notification[_ngcontent-%COMP%]{position:absolute;left:0;top:0;pointer-events:none;opacity:0;z-index:-1000}.swiper-free-mode[_ngcontent-%COMP%] > .swiper-wrapper[_ngcontent-%COMP%]{transition-timing-function:ease-out;margin:0 auto}.swiper-grid[_ngcontent-%COMP%] > .swiper-wrapper[_ngcontent-%COMP%]{flex-wrap:wrap}.swiper-grid-column[_ngcontent-%COMP%] > .swiper-wrapper[_ngcontent-%COMP%]{flex-wrap:wrap;flex-direction:column}.swiper-fade.swiper-free-mode[_ngcontent-%COMP%] .swiper-slide[_ngcontent-%COMP%]{transition-timing-function:ease-out}.swiper-fade[_ngcontent-%COMP%] .swiper-slide[_ngcontent-%COMP%]{pointer-events:none;transition-property:opacity}.swiper-fade[_ngcontent-%COMP%] .swiper-slide[_ngcontent-%COMP%] .swiper-slide[_ngcontent-%COMP%]{pointer-events:none}.swiper-fade[_ngcontent-%COMP%] .swiper-slide-active[_ngcontent-%COMP%], .swiper-fade[_ngcontent-%COMP%] .swiper-slide-active[_ngcontent-%COMP%] .swiper-slide-active[_ngcontent-%COMP%]{pointer-events:auto}.swiper.swiper-cube[_ngcontent-%COMP%]{overflow:visible}.swiper-cube[_ngcontent-%COMP%] .swiper-slide[_ngcontent-%COMP%]{pointer-events:none;-webkit-backface-visibility:hidden;backface-visibility:hidden;z-index:1;visibility:hidden;transform-origin:0 0;width:100%;height:100%}.swiper-cube[_ngcontent-%COMP%] .swiper-slide[_ngcontent-%COMP%] .swiper-slide[_ngcontent-%COMP%]{pointer-events:none}.swiper-cube.swiper-rtl[_ngcontent-%COMP%] .swiper-slide[_ngcontent-%COMP%]{transform-origin:100% 0}.swiper-cube[_ngcontent-%COMP%] .swiper-slide-active[_ngcontent-%COMP%], .swiper-cube[_ngcontent-%COMP%] .swiper-slide-active[_ngcontent-%COMP%] .swiper-slide-active[_ngcontent-%COMP%]{pointer-events:auto}.swiper-cube[_ngcontent-%COMP%] .swiper-slide-active[_ngcontent-%COMP%], .swiper-cube[_ngcontent-%COMP%] .swiper-slide-next[_ngcontent-%COMP%], .swiper-cube[_ngcontent-%COMP%] .swiper-slide-prev[_ngcontent-%COMP%]{pointer-events:auto;visibility:visible}.swiper-cube[_ngcontent-%COMP%] .swiper-cube-shadow[_ngcontent-%COMP%]{position:absolute;left:0;bottom:0;width:100%;height:100%;opacity:.6;z-index:0}.swiper-cube[_ngcontent-%COMP%] .swiper-cube-shadow[_ngcontent-%COMP%]:before{content:"";background:#000;position:absolute;left:0;top:0;bottom:0;right:0;filter:blur(50px)}.swiper-cube[_ngcontent-%COMP%] .swiper-slide-next[_ngcontent-%COMP%] + .swiper-slide[_ngcontent-%COMP%]{pointer-events:auto;visibility:visible}.swiper-cube[_ngcontent-%COMP%] .swiper-slide-shadow-cube.swiper-slide-shadow-top[_ngcontent-%COMP%], .swiper-cube[_ngcontent-%COMP%] .swiper-slide-shadow-cube.swiper-slide-shadow-bottom[_ngcontent-%COMP%], .swiper-cube[_ngcontent-%COMP%] .swiper-slide-shadow-cube.swiper-slide-shadow-left[_ngcontent-%COMP%], .swiper-cube[_ngcontent-%COMP%] .swiper-slide-shadow-cube.swiper-slide-shadow-right[_ngcontent-%COMP%]{z-index:0;-webkit-backface-visibility:hidden;backface-visibility:hidden}.swiper.swiper-flip[_ngcontent-%COMP%]{overflow:visible}.swiper-flip[_ngcontent-%COMP%] .swiper-slide[_ngcontent-%COMP%]{pointer-events:none;-webkit-backface-visibility:hidden;backface-visibility:hidden;z-index:1}.swiper-flip[_ngcontent-%COMP%] .swiper-slide[_ngcontent-%COMP%] .swiper-slide[_ngcontent-%COMP%]{pointer-events:none}.swiper-flip[_ngcontent-%COMP%] .swiper-slide-active[_ngcontent-%COMP%], .swiper-flip[_ngcontent-%COMP%] .swiper-slide-active[_ngcontent-%COMP%] .swiper-slide-active[_ngcontent-%COMP%]{pointer-events:auto}.swiper-flip[_ngcontent-%COMP%] .swiper-slide-shadow-flip.swiper-slide-shadow-top[_ngcontent-%COMP%], .swiper-flip[_ngcontent-%COMP%] .swiper-slide-shadow-flip.swiper-slide-shadow-bottom[_ngcontent-%COMP%], .swiper-flip[_ngcontent-%COMP%] .swiper-slide-shadow-flip.swiper-slide-shadow-left[_ngcontent-%COMP%], .swiper-flip[_ngcontent-%COMP%] .swiper-slide-shadow-flip.swiper-slide-shadow-right[_ngcontent-%COMP%]{z-index:0;-webkit-backface-visibility:hidden;backface-visibility:hidden}.swiper-creative[_ngcontent-%COMP%] .swiper-slide[_ngcontent-%COMP%]{-webkit-backface-visibility:hidden;backface-visibility:hidden;overflow:hidden;transition-property:transform,opacity,height}.swiper.swiper-cards[_ngcontent-%COMP%]{overflow:visible}.swiper-cards[_ngcontent-%COMP%] .swiper-slide[_ngcontent-%COMP%]{transform-origin:center bottom;-webkit-backface-visibility:hidden;backface-visibility:hidden;overflow:hidden}.app-swiper[_ngcontent-%COMP%]{width:100%;height:300px}']});let s=i;return s})();export{x as SwiperPage}; diff --git a/virtual-scroller.page-UTMM4GYM.js b/virtual-scroller.page-4T4SKGAY.js similarity index 93% rename from virtual-scroller.page-UTMM4GYM.js rename to virtual-scroller.page-4T4SKGAY.js index 6a61a54..36838a9 100644 --- a/virtual-scroller.page-UTMM4GYM.js +++ b/virtual-scroller.page-4T4SKGAY.js @@ -1 +1 @@ -import{a as u}from"./chunk-WTSC7VZG.js";import{C as c,D as d,I as f,e as i,g as n,h as r,i as m,m as a,o as l,x as p,y as s}from"./chunk-DVT4HBMF.js";import"./chunk-FEUIMOZZ.js";import"./chunk-JZHKZBGN.js";import"./chunk-RODZQFI5.js";import"./chunk-GRPEAL5M.js";import"./chunk-QUVJQTVU.js";import"./chunk-VQ6ZTHLF.js";import"./chunk-IVVGDSQR.js";import"./chunk-FTZB27S6.js";import"./chunk-AV3I3L5K.js";import"./chunk-ZG6JN4PA.js";import"./chunk-YLG257PB.js";import"./chunk-6LXZMIVO.js";import"./chunk-MU5PIDDE.js";import"./chunk-CXMYARCQ.js";import"./chunk-Z2YQ4JHV.js";u();var y=(()=>{let e=class e{};e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i({type:e,selectors:[["app-virtual-scroller"]],decls:5,vars:0,template:function(t,C){t&1&&(n(0,"ion-header")(1,"ion-toolbar")(2,"ion-title"),a(3,"Swiper"),r()()(),m(4,"ion-content"))},dependencies:[l,f,d,c,s,p],encapsulation:2});let o=e;return o})();export{y as VirtualScrollerPage}; +import{a as u}from"./chunk-WTSC7VZG.js";import{C as c,D as d,I as f,e as i,g as n,h as r,i as m,m as a,o as l,x as p,y as s}from"./chunk-A6JDCJ37.js";import"./chunk-FEUIMOZZ.js";import"./chunk-JZHKZBGN.js";import"./chunk-RODZQFI5.js";import"./chunk-GRPEAL5M.js";import"./chunk-QUVJQTVU.js";import"./chunk-VQ6ZTHLF.js";import"./chunk-IVVGDSQR.js";import"./chunk-FTZB27S6.js";import"./chunk-AV3I3L5K.js";import"./chunk-ZG6JN4PA.js";import"./chunk-YLG257PB.js";import"./chunk-6LXZMIVO.js";import"./chunk-MU5PIDDE.js";import"./chunk-CXMYARCQ.js";import"./chunk-Z2YQ4JHV.js";u();var y=(()=>{let e=class e{};e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i({type:e,selectors:[["app-virtual-scroller"]],decls:5,vars:0,template:function(t,C){t&1&&(n(0,"ion-header")(1,"ion-toolbar")(2,"ion-title"),a(3,"Swiper"),r()()(),m(4,"ion-content"))},dependencies:[l,f,d,c,s,p],encapsulation:2});let o=e;return o})();export{y as VirtualScrollerPage};