@htmlbricks/hb-sidenav-link 0.66.0 → 0.66.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/main.iife.js CHANGED
@@ -1,5 +1,5 @@
1
- (function(Zt){"use strict";typeof window<"u"&&((window.__svelte??={}).v??=new Set).add("5");const Ze=1,Qe=2,rm=16,tm=1,em=2,Qt="[",lt="[!",zt="]",Lr={},T=Symbol(),At=!1;var re=Array.isArray,mm=Array.prototype.indexOf,Rt=Array.from,dt=Object.keys,pt=Object.defineProperty,qr=Object.getOwnPropertyDescriptor,nm=Object.prototype,om=Array.prototype,am=Object.getPrototypeOf,te=Object.isExtensible;function im(r){for(var t=0;t<r.length;t++)r[t]()}function ee(){var r,t,e=new Promise((m,o)=>{r=m,t=o});return{promise:e,resolve:r,reject:t}}const A=2,Tt=4,Bt=8,cr=16,gr=32,zr=64,vt=128,er=512,B=1024,F=2048,ur=4096,q=8192,hr=16384,bt=32768,Xr=65536,me=1<<17,Ct=1<<18,Gr=1<<19,sm=1<<20,Or=32768,Nt=1<<21,Gt=1<<22,Ar=1<<23,Ot=Symbol("$state"),lm=Symbol("legacy props"),Vr=new class extends Error{name="StaleReactionError";message="The reaction that called `getAbortSignal()` was re-run or destroyed"},St=3,Sr=8;function dm(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function pm(r){throw new Error("https://svelte.dev/e/effect_in_teardown")}function vm(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function bm(r){throw new Error("https://svelte.dev/e/effect_orphan")}function fm(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function cm(){throw new Error("https://svelte.dev/e/hydration_failed")}function gm(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function um(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function hm(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function xm(){throw new Error("https://svelte.dev/e/svelte_boundary_reset_onerror")}function ft(r){console.warn("https://svelte.dev/e/hydration_mismatch")}function ym(){console.warn("https://svelte.dev/e/svelte_boundary_reset_noop")}let g=!1;function mr(r){g=r}let u;function C(r){if(r===null)throw ft(),Lr;return u=r}function ct(){return C(J(u))}function H(r){if(g){if(J(u)!==null)throw ft(),Lr;u=r}}function wm(r=1){if(g){for(var t=r,e=u;t--;)e=J(e);u=e}}function gt(r=!0){for(var t=0,e=u;;){if(e.nodeType===Sr){var m=e.data;if(m===zt){if(t===0)return e;t-=1}else(m===Qt||m===lt)&&(t+=1)}var o=J(e);r&&e.remove(),e=o}}function ne(r){if(!r||r.nodeType!==Sr)throw ft(),Lr;return r.data}function oe(r){return r===this.v}function _m(r,t){return r!=r?t==t:r!==t||r!==null&&typeof r=="object"||typeof r=="function"}function ae(r){return!_m(r,this.v)}let km=!1,U=null;function Hr(r){U=r}function ie(r,t=!1,e){U={p:U,i:!1,c:null,e:null,s:r,x:null,l:null}}function se(r){var t=U,e=t.e;if(e!==null){t.e=null;for(var m of e)Ae(m)}return r!==void 0&&(t.x=r),t.i=!0,U=t.p,r??{}}function le(){return!0}let Dr=[];function de(){var r=Dr;Dr=[],im(r)}function Dt(r){if(Dr.length===0&&!Qr){var t=Dr;queueMicrotask(()=>{t===Dr&&de()})}Dr.push(r)}function $m(){for(;Dr.length>0;)de()}function pe(r){var t=h;if(t===null)return c.f|=Ar,r;if((t.f&bt)===0){if((t.f&vt)===0)throw r;t.b.error(r)}else Ur(r,t)}function Ur(r,t){for(;t!==null;){if((t.f&vt)!==0)try{t.b.error(r);return}catch(e){r=e}t=t.parent}throw r}const ut=new Set;let w=null,K=null,W=[],ht=null,Mt=!1,Qr=!1;class nr{committed=!1;current=new Map;previous=new Map;#t=new Set;#r=new Set;#e=0;#m=0;#s=null;#o=[];#n=[];skipped_effects=new Set;is_fork=!1;is_deferred(){return this.is_fork||this.#m>0}process(t){W=[],this.apply();var e={parent:null,effect:null,effects:[],render_effects:[],block_effects:[]};for(const m of t)this.#a(m,e);this.is_fork||this.#d(),this.is_deferred()?(this.#i(e.effects),this.#i(e.render_effects),this.#i(e.block_effects)):(w=null,be(e.render_effects),be(e.effects),this.#s?.resolve()),K=null}#a(t,e){t.f^=B;for(var m=t.first;m!==null;){var o=m.f,n=(o&(gr|zr))!==0,i=n&&(o&B)!==0,a=i||(o&q)!==0||this.skipped_effects.has(m);if((m.f&vt)!==0&&m.b?.is_pending()&&(e={parent:e,effect:m,effects:[],render_effects:[],block_effects:[]}),!a&&m.fn!==null){n?m.f^=B:(o&Tt)!==0?e.effects.push(m):ot(m)&&((m.f&cr)!==0&&e.block_effects.push(m),at(m));var s=m.first;if(s!==null){m=s;continue}}var l=m.parent;for(m=m.next;m===null&&l!==null;)l===e.effect&&(this.#i(e.effects),this.#i(e.render_effects),this.#i(e.block_effects),e=e.parent),m=l.next,l=l.parent}}#i(t){for(const e of t)((e.f&F)!==0?this.#o:this.#n).push(e),this.#l(e.deps),N(e,B)}#l(t){if(t!==null)for(const e of t)(e.f&A)===0||(e.f&Or)===0||(e.f^=Or,this.#l(e.deps))}capture(t,e){this.previous.has(t)||this.previous.set(t,e),(t.f&Ar)===0&&(this.current.set(t,t.v),K?.set(t,t.v))}activate(){w=this,this.apply()}deactivate(){w===this&&(w=null,K=null)}flush(){if(this.activate(),W.length>0){if(ve(),w!==null&&w!==this)return}else this.#e===0&&this.process([]);this.deactivate()}discard(){for(const t of this.#r)t(this);this.#r.clear()}#d(){if(this.#m===0){for(const t of this.#t)t();this.#t.clear()}this.#e===0&&this.#p()}#p(){if(ut.size>1){this.previous.clear();var t=K,e=!0,m={parent:null,effect:null,effects:[],render_effects:[],block_effects:[]};for(const n of ut){if(n===this){e=!1;continue}const i=[];for(const[s,l]of this.current){if(n.current.has(s))if(e&&l!==n.current.get(s))n.current.set(s,l);else continue;i.push(s)}if(i.length===0)continue;const a=[...n.current.keys()].filter(s=>!this.current.has(s));if(a.length>0){var o=W;W=[];const s=new Set,l=new Map;for(const d of i)fe(d,a,s,l);if(W.length>0){w=n,n.apply();for(const d of W)n.#a(d,m);n.deactivate()}W=o}}w=null,K=t}this.committed=!0,ut.delete(this)}increment(t){this.#e+=1,t&&(this.#m+=1)}decrement(t){this.#e-=1,t&&(this.#m-=1),this.revive()}revive(){for(const t of this.#o)N(t,F),Mr(t);for(const t of this.#n)N(t,ur),Mr(t);this.#o=[],this.#n=[],this.flush()}oncommit(t){this.#t.add(t)}ondiscard(t){this.#r.add(t)}settled(){return(this.#s??=ee()).promise}static ensure(){if(w===null){const t=w=new nr;ut.add(w),Qr||nr.enqueue(()=>{w===t&&t.flush()})}return w}static enqueue(t){Dt(t)}apply(){}}function rt(r){var t=Qr;Qr=!0;try{for(var e;;){if($m(),W.length===0&&(w?.flush(),W.length===0))return ht=null,e;ve()}}finally{Qr=t}}function ve(){var r=Br;Mt=!0;var t=null;try{var e=0;for(_t(!0);W.length>0;){var m=nr.ensure();if(e++>1e3){var o,n;jm()}m.process(W),Rr.clear()}}finally{Mt=!1,_t(r),ht=null}}function jm(){try{fm()}catch(r){Ur(r,ht)}}let xr=null;function be(r){var t=r.length;if(t!==0){for(var e=0;e<t;){var m=r[e++];if((m.f&(hr|q))===0&&ot(m)&&(xr=new Set,at(m),m.deps===null&&m.first===null&&m.nodes_start===null&&(m.teardown===null&&m.ac===null?Ce(m):m.fn=null),xr?.size>0)){Rr.clear();for(const o of xr){if((o.f&(hr|q))!==0)continue;const n=[o];let i=o.parent;for(;i!==null;)xr.has(i)&&(xr.delete(i),n.push(i)),i=i.parent;for(let a=n.length-1;a>=0;a--){const s=n[a];(s.f&(hr|q))===0&&at(s)}}xr.clear()}}xr=null}}function fe(r,t,e,m){if(!e.has(r)&&(e.add(r),r.reactions!==null))for(const o of r.reactions){const n=o.f;(n&A)!==0?fe(o,t,e,m):(n&(Gt|cr))!==0&&(n&F)===0&&ce(o,t,m)&&(N(o,F),Mr(o))}}function ce(r,t,e){const m=e.get(r);if(m!==void 0)return m;if(r.deps!==null)for(const o of r.deps){if(t.includes(o))return!0;if((o.f&A)!==0&&ce(o,t,e))return e.set(o,!0),!0}return e.set(r,!1),!1}function Mr(r){for(var t=ht=r;t.parent!==null;){t=t.parent;var e=t.f;if(Mt&&t===h&&(e&cr)!==0&&(e&Ct)===0)return;if((e&(zr|gr))!==0){if((e&B)===0)return;t.f^=B}}W.push(t)}function Em(r){let t=0,e=Pr(0),m;return()=>{yt()&&(x(e),Re(()=>(t===0&&(m=Qm(()=>r(()=>et(e)))),t+=1,()=>{Dt(()=>{t-=1,t===0&&(m?.(),m=void 0,et(e))})})))}}var zm=Xr|Gr|vt;function Am(r,t,e){new Rm(r,t,e)}class Rm{parent;#t=!1;#r;#e=g?u:null;#m;#s;#o;#n=null;#a=null;#i=null;#l=null;#d=null;#p=0;#v=0;#f=!1;#b=null;#x=Em(()=>(this.#b=Pr(this.#p),()=>{this.#b=null}));constructor(t,e,m){this.#r=t,this.#m=e,this.#s=m,this.parent=h.b,this.#t=!!this.#m.pending,this.#o=wt(()=>{if(h.b=this,g){const n=this.#e;ct(),n.nodeType===Sr&&n.data===lt?this.#w():this.#y()}else{var o=this.#u();try{this.#n=Z(()=>m(o))}catch(n){this.error(n)}this.#v>0?this.#g():this.#t=!1}return()=>{this.#d?.remove()}},zm),g&&(this.#r=u)}#y(){try{this.#n=Z(()=>this.#s(this.#r))}catch(t){this.error(t)}this.#t=!1}#w(){const t=this.#m.pending;t&&(this.#a=Z(()=>t(this.#r)),nr.enqueue(()=>{var e=this.#u();this.#n=this.#c(()=>(nr.ensure(),Z(()=>this.#s(e)))),this.#v>0?this.#g():(Kr(this.#a,()=>{this.#a=null}),this.#t=!1)}))}#u(){var t=this.#r;return this.#t&&(this.#d=X(),this.#r.before(this.#d),t=this.#d),t}is_pending(){return this.#t||!!this.parent&&this.parent.is_pending()}has_pending_snippet(){return!!this.#m.pending}#c(t){var e=h,m=c,o=U;br(this.#o),I(this.#o),Hr(this.#o.ctx);try{return t()}catch(n){return pe(n),null}finally{br(e),I(m),Hr(o)}}#g(){const t=this.#m.pending;this.#n!==null&&(this.#l=document.createDocumentFragment(),this.#l.append(this.#d),Oe(this.#n,this.#l)),this.#a===null&&(this.#a=Z(()=>t(this.#r)))}#h(t){if(!this.has_pending_snippet()){this.parent&&this.parent.#h(t);return}this.#v+=t,this.#v===0&&(this.#t=!1,this.#a&&Kr(this.#a,()=>{this.#a=null}),this.#l&&(this.#r.before(this.#l),this.#l=null))}update_pending_count(t){this.#h(t),this.#p+=t,this.#b&&tt(this.#b,this.#p)}get_effect_pending(){return this.#x(),x(this.#b)}error(t){var e=this.#m.onerror;let m=this.#m.failed;if(this.#f||!e&&!m)throw t;this.#n&&(G(this.#n),this.#n=null),this.#a&&(G(this.#a),this.#a=null),this.#i&&(G(this.#i),this.#i=null),g&&(C(this.#e),wm(),C(gt()));var o=!1,n=!1;const i=()=>{if(o){ym();return}o=!0,n&&xm(),nr.ensure(),this.#p=0,this.#i!==null&&Kr(this.#i,()=>{this.#i=null}),this.#t=this.has_pending_snippet(),this.#n=this.#c(()=>(this.#f=!1,Z(()=>this.#s(this.#r)))),this.#v>0?this.#g():this.#t=!1};var a=c;try{I(null),n=!0,e?.(t,i),n=!1}catch(s){Ur(s,this.#o&&this.#o.parent)}finally{I(a)}m&&Dt(()=>{this.#i=this.#c(()=>{nr.ensure(),this.#f=!0;try{return Z(()=>{m(this.#r,()=>t,()=>i)})}catch(s){return Ur(s,this.#o.parent),null}finally{this.#f=!1}})})}}function Tm(r,t,e){for(var m=[],o=t.length,n=0;n<o;n++)Xt(t[n].e,m,!0);Ne(m,()=>{var i=m.length===0&&e!==null;if(i){var a=e,s=a.parentNode;je(s),s.append(a),r.items.clear(),dr(r,t[0].prev,t[o-1].next)}for(var l=0;l<o;l++){var d=t[l];i||(r.items.delete(d.k),dr(r,d.prev,d.next)),G(d.e,!i)}r.first===t[0]&&(r.first=t[0].prev)})}function Bm(r,t,e,m,o,n=null){var i=r,a=new Map,s=null;{var l=r;i=g?C(Tr(l)):l.appendChild(X())}g&&ct();var d=null,f=Dm(()=>{var k=e();return re(k)?k:k==null?[]:Rt(k)}),p,b=!0;function v(){Cm(Y,p,i,t,m),d!==null&&(p.length===0?(d.fragment?(i.before(d.fragment),d.fragment=null):Vt(d.effect),y.first=d.effect):Kr(d.effect,()=>{d=null}))}var y=wt(()=>{p=x(f);var k=p.length;let j=!1;if(g){var sr=ne(i)===lt;sr!==(k===0)&&(i=gt(),C(i),mr(!1),j=!0)}for(var rr=new Set,D=w,lr=null,jr=Ee(),M=0;M<k;M+=1){g&&u.nodeType===Sr&&u.data===zt&&(i=u,j=!0,mr(!1));var L=p[M],tr=m(L,M),E=b?null:a.get(tr);E?(tt(E.v,L),E.i=M,jr&&D.skipped_effects.delete(E.e)):(E=Nm(b?i:null,lr,L,tr,M,o,t,e),b&&(E.o=!0,lr===null?s=E:lr.next=E,lr=E),a.set(tr,E)),rr.add(tr)}if(k===0&&n&&!d)if(b)d={fragment:null,effect:Z(()=>n(i))};else{var Cr=document.createDocumentFragment(),R=X();Cr.append(R),d={fragment:Cr,effect:Z(()=>n(R))}}if(g&&k>0&&C(gt()),!b)if(jr){for(const[_,P]of a)rr.has(_)||D.skipped_effects.add(P.e);D.oncommit(v),D.ondiscard(()=>{})}else v();j&&mr(!0),x(f)}),Y={effect:y,items:a,first:s};b=!1,g&&(i=u)}function Cm(r,t,e,m,o){var n=t.length,i=r.items,a=r.first,s,l=null,d=[],f=[],p,b,v,y;for(y=0;y<n;y+=1){if(p=t[y],b=o(p,y),v=i.get(b),r.first??=v,!v.o){v.o=!0;var Y=l?l.next:a;dr(r,l,v),dr(r,v,Y),Pt(v,Y,e),l=v,d=[],f=[],a=l.next;continue}if((v.e.f&q)!==0&&Vt(v.e),v!==a){if(s!==void 0&&s.has(v)){if(d.length<f.length){var k=f[0],j;l=k.prev;var sr=d[0],rr=d[d.length-1];for(j=0;j<d.length;j+=1)Pt(d[j],k,e);for(j=0;j<f.length;j+=1)s.delete(f[j]);dr(r,sr.prev,rr.next),dr(r,l,sr),dr(r,rr,k),a=k,l=rr,y-=1,d=[],f=[]}else s.delete(v),Pt(v,a,e),dr(r,v.prev,v.next),dr(r,v,l===null?r.first:l.next),dr(r,l,v),l=v;continue}for(d=[],f=[];a!==null&&a.k!==b;)(a.e.f&q)===0&&(s??=new Set).add(a),f.push(a),a=a.next;if(a===null)continue;v=a}d.push(v),l=v,a=v.next}if(a!==null||s!==void 0){for(var D=s===void 0?[]:Rt(s);a!==null;)(a.e.f&q)===0&&D.push(a),a=a.next;var lr=D.length;if(lr>0){var jr=n===0?e:null;Tm(r,D,jr)}}}function Nm(r,t,e,m,o,n,i,a){var s=(i&Ze)!==0,l=(i&rm)===0,d=s?l?xe(e,!1,!1):Pr(e):e,f=(i&Qe)===0?o:Pr(o),p={i:f,v:d,k:m,a:null,e:null,o:!1,prev:t,next:null};try{if(r===null){var b=document.createDocumentFragment();b.append(r=X())}return p.e=Z(()=>n(r,d,f,a)),t!==null&&(t.next=p),p}finally{}}function Pt(r,t,e){for(var m=r.next?r.next.e.nodes_start:e,o=t?t.e.nodes_start:e,n=r.e.nodes_start;n!==null&&n!==m;){var i=J(n);o.before(n),n=i}}function dr(r,t,e){t===null?(r.first=e,r.effect.first=e&&e.e):(t.e.next&&(t.e.next.prev=null),t.next=e,t.e.next=e&&e.e),e===null?r.effect.last=t&&t.e:(e.e.prev&&(e.e.prev.next=null),e.prev=t,e.e.prev=t&&t.e)}function Gm(r,t,e,m){const o=Ft;if(e.length===0&&r.length===0){m(t.map(o));return}var n=w,i=h,a=Om();function s(){Promise.all(e.map(l=>Sm(l))).then(l=>{a();try{m([...t.map(o),...l])}catch(d){(i.f&hr)===0&&Ur(d,i)}n?.deactivate(),xt()}).catch(l=>{Ur(l,i)})}r.length>0?Promise.all(r).then(()=>{a();try{return s()}finally{n?.deactivate(),xt()}}):s()}function Om(){var r=h,t=c,e=U,m=w;return function(n=!0){br(r),I(t),Hr(e),n&&m?.activate()}}function xt(){br(null),I(null),Hr(null)}function Ft(r){var t=A|F,e=c!==null&&(c.f&A)!==0?c:null;return h!==null&&(h.f|=Gr),{ctx:U,deps:null,effects:null,equals:oe,f:t,fn:r,reactions:null,rv:0,v:T,wv:0,parent:e??h,ac:null}}function Sm(r,t){let e=h;e===null&&dm();var m=e.b,o=void 0,n=Pr(T),i=!c,a=new Map;return Hm(()=>{var s=ee();o=s.promise;try{Promise.resolve(r()).then(s.resolve,s.reject).then(()=>{l===w&&l.committed&&l.deactivate(),xt()})}catch(p){s.reject(p),xt()}var l=w;if(i){var d=!m.is_pending();m.update_pending_count(1),l.increment(d),a.get(l)?.reject(Vr),a.delete(l),a.set(l,s)}const f=(p,b=void 0)=>{if(l.activate(),b)b!==Vr&&(n.f|=Ar,tt(n,b));else{(n.f&Ar)!==0&&(n.f^=Ar),tt(n,p);for(const[v,y]of a){if(a.delete(v),v===l)break;y.reject(Vr)}}i&&(m.update_pending_count(-1),l.decrement(d))};s.promise.then(f,p=>f(null,p||"unknown"))}),Ym(()=>{for(const s of a.values())s.reject(Vr)}),new Promise(s=>{function l(d){function f(){d===o?s(n):l(o)}d.then(f,f)}l(o)})}function Dm(r){const t=Ft(r);return t.equals=ae,t}function ge(r){var t=r.effects;if(t!==null){r.effects=null;for(var e=0;e<t.length;e+=1)G(t[e])}}function Mm(r){for(var t=r.parent;t!==null;){if((t.f&A)===0)return(t.f&hr)===0?t:null;t=t.parent}return null}function It(r){var t,e=h;br(Mm(r));try{r.f&=~Or,ge(r),t=Ie(r)}finally{br(e)}return t}function ue(r){var t=It(r);if(r.equals(t)||(w?.is_fork||(r.v=t),r.wv=Pe()),!Fr)if(K!==null)yt()&&K.set(r,t);else{var e=(r.f&er)===0?ur:B;N(r,e)}}let Yt=new Set;const Rr=new Map;let he=!1;function Pr(r,t){var e={f:0,v:r,reactions:null,equals:oe,rv:0,wv:0};return e}function yr(r,t){const e=Pr(r);return Wm(e),e}function xe(r,t=!1,e=!0){const m=Pr(r);return t||(m.equals=ae),m}function or(r,t,e=!1){c!==null&&(!vr||(c.f&me)!==0)&&le()&&(c.f&(A|cr|Gt|me))!==0&&!_r?.includes(r)&&hm();let m=e?mt(t):t;return tt(r,m)}function tt(r,t){if(!r.equals(t)){var e=r.v;Fr?Rr.set(r,t):Rr.set(r,e),r.v=t;var m=nr.ensure();m.capture(r,e),(r.f&A)!==0&&((r.f&F)!==0&&It(r),N(r,(r.f&er)!==0?B:ur)),r.wv=Pe(),ye(r,F),h!==null&&(h.f&B)!==0&&(h.f&(gr|zr))===0&&(Q===null?Jm([r]):Q.push(r)),!m.is_fork&&Yt.size>0&&!he&&Pm()}return t}function Pm(){he=!1;var r=Br;_t(!0);const t=Array.from(Yt);try{for(const e of t)(e.f&B)!==0&&N(e,ur),ot(e)&&at(e)}finally{_t(r)}Yt.clear()}function et(r){or(r,r.v+1)}function ye(r,t){var e=r.reactions;if(e!==null)for(var m=e.length,o=0;o<m;o++){var n=e[o],i=n.f,a=(i&F)===0;if(a&&N(n,t),(i&A)!==0){var s=n;K?.delete(s),(i&Or)===0&&(i&er&&(n.f|=Or),ye(s,ur))}else a&&((i&cr)!==0&&xr!==null&&xr.add(n),Mr(n))}}function mt(r){if(typeof r!="object"||r===null||Ot in r)return r;const t=am(r);if(t!==nm&&t!==om)return r;var e=new Map,m=re(r),o=yr(0),n=Ir,i=a=>{if(Ir===n)return a();var s=c,l=Ir;I(null),Me(n);var d=a();return I(s),Me(l),d};return m&&e.set("length",yr(r.length)),new Proxy(r,{defineProperty(a,s,l){(!("value"in l)||l.configurable===!1||l.enumerable===!1||l.writable===!1)&&gm();var d=e.get(s);return d===void 0?d=i(()=>{var f=yr(l.value);return e.set(s,f),f}):or(d,l.value,!0),!0},deleteProperty(a,s){var l=e.get(s);if(l===void 0){if(s in a){const d=i(()=>yr(T));e.set(s,d),et(o)}}else or(l,T),et(o);return!0},get(a,s,l){if(s===Ot)return r;var d=e.get(s),f=s in a;if(d===void 0&&(!f||qr(a,s)?.writable)&&(d=i(()=>{var b=mt(f?a[s]:T),v=yr(b);return v}),e.set(s,d)),d!==void 0){var p=x(d);return p===T?void 0:p}return Reflect.get(a,s,l)},getOwnPropertyDescriptor(a,s){var l=Reflect.getOwnPropertyDescriptor(a,s);if(l&&"value"in l){var d=e.get(s);d&&(l.value=x(d))}else if(l===void 0){var f=e.get(s),p=f?.v;if(f!==void 0&&p!==T)return{enumerable:!0,configurable:!0,value:p,writable:!0}}return l},has(a,s){if(s===Ot)return!0;var l=e.get(s),d=l!==void 0&&l.v!==T||Reflect.has(a,s);if(l!==void 0||h!==null&&(!d||qr(a,s)?.writable)){l===void 0&&(l=i(()=>{var p=d?mt(a[s]):T,b=yr(p);return b}),e.set(s,l));var f=x(l);if(f===T)return!1}return d},set(a,s,l,d){var f=e.get(s),p=s in a;if(m&&s==="length")for(var b=l;b<f.v;b+=1){var v=e.get(b+"");v!==void 0?or(v,T):b in a&&(v=i(()=>yr(T)),e.set(b+"",v))}if(f===void 0)(!p||qr(a,s)?.writable)&&(f=i(()=>yr(void 0)),or(f,mt(l)),e.set(s,f));else{p=f.v!==T;var y=i(()=>mt(l));or(f,y)}var Y=Reflect.getOwnPropertyDescriptor(a,s);if(Y?.set&&Y.set.call(d,l),!p){if(m&&typeof s=="string"){var k=e.get("length"),j=Number(s);Number.isInteger(j)&&j>=k.v&&or(k,j+1)}et(o)}return!0},ownKeys(a){x(o);var s=Reflect.ownKeys(a).filter(f=>{var p=e.get(f);return p===void 0||p.v!==T});for(var[l,d]of e)d.v!==T&&!(l in a)&&s.push(l);return s},setPrototypeOf(){um()}})}var we,_e,ke,$e;function Lt(){if(we===void 0){we=window,_e=/Firefox/.test(navigator.userAgent);var r=Element.prototype,t=Node.prototype,e=Text.prototype;ke=qr(t,"firstChild").get,$e=qr(t,"nextSibling").get,te(r)&&(r.__click=void 0,r.__className=void 0,r.__attributes=null,r.__style=void 0,r.__e=void 0),te(e)&&(e.__t=void 0)}}function X(r=""){return document.createTextNode(r)}function Tr(r){return ke.call(r)}function J(r){return $e.call(r)}function ar(r,t){if(!g)return Tr(r);var e=Tr(u);if(e===null)e=u.appendChild(X());else if(t&&e.nodeType!==St){var m=X();return e?.before(m),C(m),m}return C(e),e}function qt(r,t=!1){if(!g){var e=Tr(r);return e instanceof Comment&&e.data===""?J(e):e}if(t&&u?.nodeType!==St){var m=X();return u?.before(m),C(m),m}return u}function ir(r,t=1,e=!1){let m=g?u:r;for(var o;t--;)o=m,m=J(m);if(!g)return m;if(e&&m?.nodeType!==St){var n=X();return m===null?o?.after(n):m.before(n),C(n),n}return C(m),m}function je(r){r.textContent=""}function Ee(){return!1}function ze(r){var t=c,e=h;I(null),br(null);try{return r()}finally{I(t),br(e)}}function Fm(r){h===null&&(c===null&&bm(),vm()),Fr&&pm()}function Im(r,t){var e=t.last;e===null?t.last=t.first=r:(e.next=r,r.prev=e,t.last=r)}function pr(r,t,e){var m=h;m!==null&&(m.f&q)!==0&&(r|=q);var o={ctx:U,deps:null,nodes_start:null,nodes_end:null,f:r|F|er,first:null,fn:t,last:null,next:null,parent:m,b:m&&m.b,prev:null,teardown:null,transitions:null,wv:0,ac:null};if(e)try{at(o),o.f|=bt}catch(a){throw G(o),a}else t!==null&&Mr(o);var n=o;if(e&&n.deps===null&&n.teardown===null&&n.nodes_start===null&&n.first===n.last&&(n.f&Gr)===0&&(n=n.first,(r&cr)!==0&&(r&Xr)!==0&&n!==null&&(n.f|=Xr)),n!==null&&(n.parent=m,m!==null&&Im(n,m),c!==null&&(c.f&A)!==0&&(r&zr)===0)){var i=c;(i.effects??=[]).push(n)}return o}function yt(){return c!==null&&!vr}function Ym(r){const t=pr(Bt,null,!1);return N(t,B),t.teardown=r,t}function Lm(r){Fm();var t=h.f,e=!c&&(t&gr)!==0&&(t&bt)===0;if(e){var m=U;(m.e??=[]).push(r)}else return Ae(r)}function Ae(r){return pr(Tt|sm,r,!1)}function qm(r){nr.ensure();const t=pr(zr|Gr,r,!0);return()=>{G(t)}}function Xm(r){nr.ensure();const t=pr(zr|Gr,r,!0);return(e={})=>new Promise(m=>{e.outro?Kr(t,()=>{G(t),m(void 0)}):(G(t),m(void 0))})}function Vm(r){return pr(Tt,r,!1)}function Hm(r){return pr(Gt|Gr,r,!0)}function Re(r,t=0){return pr(Bt|t,r,!0)}function wr(r,t=[],e=[],m=[]){Gm(m,t,e,o=>{pr(Bt,()=>r(...o.map(x)),!0)})}function wt(r,t=0){var e=pr(cr|t,r,!0);return e}function Z(r){return pr(gr|Gr,r,!0)}function Te(r){var t=r.teardown;if(t!==null){const e=Fr,m=c;Se(!0),I(null);try{t.call(null)}finally{Se(e),I(m)}}}function Be(r,t=!1){var e=r.first;for(r.first=r.last=null;e!==null;){const o=e.ac;o!==null&&ze(()=>{o.abort(Vr)});var m=e.next;(e.f&zr)!==0?e.parent=null:G(e,t),e=m}}function Um(r){for(var t=r.first;t!==null;){var e=t.next;(t.f&gr)===0&&G(t),t=e}}function G(r,t=!0){var e=!1;(t||(r.f&Ct)!==0)&&r.nodes_start!==null&&r.nodes_end!==null&&(Km(r.nodes_start,r.nodes_end),e=!0),Be(r,t&&!e),kt(r,0),N(r,hr);var m=r.transitions;if(m!==null)for(const n of m)n.stop();Te(r);var o=r.parent;o!==null&&o.first!==null&&Ce(r),r.next=r.prev=r.teardown=r.ctx=r.deps=r.fn=r.nodes_start=r.nodes_end=r.ac=null}function Km(r,t){for(;r!==null;){var e=r===t?null:J(r);r.remove(),r=e}}function Ce(r){var t=r.parent,e=r.prev,m=r.next;e!==null&&(e.next=m),m!==null&&(m.prev=e),t!==null&&(t.first===r&&(t.first=m),t.last===r&&(t.last=e))}function Kr(r,t,e=!0){var m=[];Xt(r,m,!0),Ne(m,()=>{e&&G(r),t&&t()})}function Ne(r,t){var e=r.length;if(e>0){var m=()=>--e||t();for(var o of r)o.out(m)}else t()}function Xt(r,t,e){if((r.f&q)===0){if(r.f^=q,r.transitions!==null)for(const i of r.transitions)(i.is_global||e)&&t.push(i);for(var m=r.first;m!==null;){var o=m.next,n=(m.f&Xr)!==0||(m.f&gr)!==0&&(r.f&cr)!==0;Xt(m,t,n?e:!1),m=o}}}function Vt(r){Ge(r,!0)}function Ge(r,t){if((r.f&q)!==0){r.f^=q,(r.f&B)===0&&(N(r,F),Mr(r));for(var e=r.first;e!==null;){var m=e.next,o=(e.f&Xr)!==0||(e.f&gr)!==0;Ge(e,o?t:!1),e=m}if(r.transitions!==null)for(const n of r.transitions)(n.is_global||t)&&n.in()}}function Oe(r,t){for(var e=r.nodes_start,m=r.nodes_end;e!==null;){var o=e===m?null:J(e);t.append(e),e=o}}let Br=!1;function _t(r){Br=r}let Fr=!1;function Se(r){Fr=r}let c=null,vr=!1;function I(r){c=r}let h=null;function br(r){h=r}let _r=null;function Wm(r){c!==null&&(_r===null?_r=[r]:_r.push(r))}let O=null,V=0,Q=null;function Jm(r){Q=r}let De=1,nt=0,Ir=nt;function Me(r){Ir=r}function Pe(){return++De}function ot(r){var t=r.f;if((t&F)!==0)return!0;if(t&A&&(r.f&=~Or),(t&ur)!==0){var e=r.deps;if(e!==null)for(var m=e.length,o=0;o<m;o++){var n=e[o];if(ot(n)&&ue(n),n.wv>r.wv)return!0}(t&er)!==0&&K===null&&N(r,B)}return!1}function Fe(r,t,e=!0){var m=r.reactions;if(m!==null&&!_r?.includes(r))for(var o=0;o<m.length;o++){var n=m[o];(n.f&A)!==0?Fe(n,t,!1):t===n&&(e?N(n,F):(n.f&B)!==0&&N(n,ur),Mr(n))}}function Ie(r){var t=O,e=V,m=Q,o=c,n=_r,i=U,a=vr,s=Ir,l=r.f;O=null,V=0,Q=null,c=(l&(gr|zr))===0?r:null,_r=null,Hr(r.ctx),vr=!1,Ir=++nt,r.ac!==null&&(ze(()=>{r.ac.abort(Vr)}),r.ac=null);try{r.f|=Nt;var d=r.fn,f=d(),p=r.deps;if(O!==null){var b;if(kt(r,V),p!==null&&V>0)for(p.length=V+O.length,b=0;b<O.length;b++)p[V+b]=O[b];else r.deps=p=O;if(Br&&yt()&&(r.f&er)!==0)for(b=V;b<p.length;b++)(p[b].reactions??=[]).push(r)}else p!==null&&V<p.length&&(kt(r,V),p.length=V);if(le()&&Q!==null&&!vr&&p!==null&&(r.f&(A|ur|F))===0)for(b=0;b<Q.length;b++)Fe(Q[b],r);return o!==null&&o!==r&&(nt++,Q!==null&&(m===null?m=Q:m.push(...Q))),(r.f&Ar)!==0&&(r.f^=Ar),f}catch(v){return pe(v)}finally{r.f^=Nt,O=t,V=e,Q=m,c=o,_r=n,Hr(i),vr=a,Ir=s}}function Zm(r,t){let e=t.reactions;if(e!==null){var m=mm.call(e,r);if(m!==-1){var o=e.length-1;o===0?e=t.reactions=null:(e[m]=e[o],e.pop())}}e===null&&(t.f&A)!==0&&(O===null||!O.includes(t))&&(N(t,ur),(t.f&er)!==0&&(t.f^=er,t.f&=~Or),ge(t),kt(t,0))}function kt(r,t){var e=r.deps;if(e!==null)for(var m=t;m<e.length;m++)Zm(r,e[m])}function at(r){var t=r.f;if((t&hr)===0){N(r,B);var e=h,m=Br;h=r,Br=!0;try{(t&cr)!==0?Um(r):Be(r),Te(r);var o=Ie(r);r.teardown=typeof o=="function"?o:null,r.wv=De;var n;At&&km&&(r.f&F)!==0&&r.deps}finally{Br=m,h=e}}}function x(r){var t=r.f,e=(t&A)!==0;if(c!==null&&!vr){var m=h!==null&&(h.f&hr)!==0;if(!m&&!_r?.includes(r)){var o=c.deps;if((c.f&Nt)!==0)r.rv<nt&&(r.rv=nt,O===null&&o!==null&&o[V]===r?V++:O===null?O=[r]:O.includes(r)||O.push(r));else{(c.deps??=[]).push(r);var n=r.reactions;n===null?r.reactions=[c]:n.includes(c)||n.push(c)}}}if(Fr){if(Rr.has(r))return Rr.get(r);if(e){var i=r,a=i.v;return((i.f&B)===0&&i.reactions!==null||Le(i))&&(a=It(i)),Rr.set(i,a),a}}else e&&!K?.has(r)&&(i=r,ot(i)&&ue(i),Br&&yt()&&(i.f&er)===0&&Ye(i));if(K?.has(r))return K.get(r);if((r.f&Ar)!==0)throw r.v;return r.v}function Ye(r){if(r.deps!==null){r.f^=er;for(const t of r.deps)(t.reactions??=[]).push(r),(t.f&A)!==0&&(t.f&er)===0&&Ye(t)}}function Le(r){if(r.v===T)return!0;if(r.deps===null)return!1;for(const t of r.deps)if(Rr.has(t)||(t.f&A)!==0&&Le(t))return!0;return!1}function Qm(r){var t=vr;try{return vr=!0,r()}finally{vr=t}}const rn=-7169;function N(r,t){r.f=r.f&rn|t}const qe=new Set,Ht=new Set;function tn(r){for(var t=0;t<r.length;t++)qe.add(r[t]);for(var e of Ht)e(r)}let Xe=null;function $t(r){var t=this,e=t.ownerDocument,m=r.type,o=r.composedPath?.()||[],n=o[0]||r.target;Xe=r;var i=0,a=Xe===r&&r.__root;if(a){var s=o.indexOf(a);if(s!==-1&&(t===document||t===window)){r.__root=t;return}var l=o.indexOf(t);if(l===-1)return;s<=l&&(i=s)}if(n=o[i]||r.target,n!==t){pt(r,"currentTarget",{configurable:!0,get(){return n||e}});var d=c,f=h;I(null),br(null);try{for(var p,b=[];n!==null;){var v=n.assignedSlot||n.parentNode||n.host||null;try{var y=n["__"+m];y!=null&&(!n.disabled||r.target===n)&&y.call(n,r)}catch(Y){p?b.push(Y):p=Y}if(r.cancelBubble||v===t||v===null)break;n=v}if(p){for(let Y of b)queueMicrotask(()=>{throw Y});throw p}}finally{r.__root=t,delete r.currentTarget,I(d),br(f)}}}function en(r){var t=document.createElement("template");return t.innerHTML=r.replaceAll("<!>","<!---->"),t.content}function Wr(r,t){var e=h;e.nodes_start===null&&(e.nodes_start=r,e.nodes_end=t)}function S(r,t){var e=(t&tm)!==0,m=(t&em)!==0,o,n=!r.startsWith("<!>");return()=>{if(g)return Wr(u,null),u;o===void 0&&(o=en(n?r:"<!>"+r),e||(o=Tr(o)));var i=m||_e?document.importNode(o,!0):o.cloneNode(!0);if(e){var a=Tr(i),s=i.lastChild;Wr(a,s)}else Wr(i,i);return i}}function Ve(){if(g)return Wr(u,null),u;var r=document.createDocumentFragment(),t=document.createComment(""),e=X();return r.append(t,e),Wr(t,e),r}function $(r,t){if(g){var e=h;((e.f&bt)===0||e.nodes_end===null)&&(e.nodes_end=u),ct();return}r!==null&&r.before(t)}const mn=["touchstart","touchmove"];function nn(r){return mn.includes(r)}function kr(r,t){var e=t==null?"":typeof t=="object"?t+"":t;e!==(r.__t??=r.nodeValue)&&(r.__t=e,r.nodeValue=e+"")}function He(r,t){return Ue(r,t)}function on(r,t){Lt(),t.intro=t.intro??!1;const e=t.target,m=g,o=u;try{for(var n=Tr(e);n&&(n.nodeType!==Sr||n.data!==Qt);)n=J(n);if(!n)throw Lr;mr(!0),C(n);const i=Ue(r,{...t,anchor:n});return mr(!1),i}catch(i){if(i instanceof Error&&i.message.split(`
2
- `).some(a=>a.startsWith("https://svelte.dev/e/")))throw i;return i!==Lr&&console.warn("Failed to hydrate: ",i),t.recover===!1&&cm(),Lt(),je(e),mr(!1),He(r,t)}finally{mr(m),C(o)}}const Jr=new Map;function Ue(r,{target:t,anchor:e,props:m={},events:o,context:n,intro:i=!0}){Lt();var a=new Set,s=f=>{for(var p=0;p<f.length;p++){var b=f[p];if(!a.has(b)){a.add(b);var v=nn(b);t.addEventListener(b,$t,{passive:v});var y=Jr.get(b);y===void 0?(document.addEventListener(b,$t,{passive:v}),Jr.set(b,1)):Jr.set(b,y+1)}}};s(Rt(qe)),Ht.add(s);var l=void 0,d=Xm(()=>{var f=e??t.appendChild(X());return Am(f,{pending:()=>{}},p=>{if(n){ie({});var b=U;b.c=n}if(o&&(m.$$events=o),g&&Wr(p,null),l=r(p,m)||{},g&&(h.nodes_end=u,u===null||u.nodeType!==Sr||u.data!==zt))throw ft(),Lr;n&&se()}),()=>{for(var p of a){t.removeEventListener(p,$t);var b=Jr.get(p);--b===0?(document.removeEventListener(p,$t),Jr.delete(p)):Jr.set(p,b)}Ht.delete(s),f!==e&&f.parentNode?.removeChild(f)}});return Ut.set(l,d),l}let Ut=new WeakMap;function an(r,t){const e=Ut.get(r);return e?(Ut.delete(r),e(t)):Promise.resolve()}class sn{anchor;#t=new Map;#r=new Map;#e=new Map;#m=new Set;#s=!0;constructor(t,e=!0){this.anchor=t,this.#s=e}#o=()=>{var t=w;if(this.#t.has(t)){var e=this.#t.get(t),m=this.#r.get(e);if(m)Vt(m),this.#m.delete(e);else{var o=this.#e.get(e);o&&(this.#r.set(e,o.effect),this.#e.delete(e),o.fragment.lastChild.remove(),this.anchor.before(o.fragment),m=o.effect)}for(const[n,i]of this.#t){if(this.#t.delete(n),n===t)break;const a=this.#e.get(i);a&&(G(a.effect),this.#e.delete(i))}for(const[n,i]of this.#r){if(n===e||this.#m.has(n))continue;const a=()=>{if(Array.from(this.#t.values()).includes(n)){var l=document.createDocumentFragment();Oe(i,l),l.append(X()),this.#e.set(n,{effect:i,fragment:l})}else G(i);this.#m.delete(n),this.#r.delete(n)};this.#s||!m?(this.#m.add(n),Kr(i,a,!1)):a()}}};#n=t=>{this.#t.delete(t);const e=Array.from(this.#t.values());for(const[m,o]of this.#e)e.includes(m)||(G(o.effect),this.#e.delete(m))};ensure(t,e){var m=w,o=Ee();if(e&&!this.#r.has(t)&&!this.#e.has(t))if(o){var n=document.createDocumentFragment(),i=X();n.append(i),this.#e.set(t,{effect:Z(()=>e(i)),fragment:n})}else this.#r.set(t,Z(()=>e(this.anchor)));if(this.#t.set(m,t),o){for(const[a,s]of this.#r)a===t?m.skipped_effects.delete(s):m.skipped_effects.add(s);for(const[a,s]of this.#e)a===t?m.skipped_effects.delete(s.effect):m.skipped_effects.add(s.effect);m.oncommit(this.#o),m.ondiscard(this.#n)}else g&&(this.anchor=u),this.#o()}}function fr(r,t,e=!1){g&&ct();var m=new sn(r),o=e?Xr:0;function n(i,a){if(g){const l=ne(r)===lt;if(i===l){var s=gt();C(s),m.anchor=s,mr(!1),m.ensure(i,a),mr(!0);return}}m.ensure(i,a)}wt(()=>{var i=!1;t((a,s=!0)=>{i=!0,n(s,a)}),i||n(!1,null)},o)}function ln(r,t){let e=null,m=g;var o;if(g){e=u;for(var n=Tr(document.head);n!==null&&(n.nodeType!==Sr||n.data!==r);)n=J(n);if(n===null)mr(!1);else{var i=J(n);n.remove(),C(i)}}g||(o=document.head.appendChild(X()));try{wt(()=>t(o),Ct)}finally{m&&(mr(!0),C(e))}}function dn(r,t){Vm(()=>{var e=r.getRootNode(),m=e.host?e:e.head??e.ownerDocument.head;if(!m.querySelector("#"+t.hash)){const o=document.createElement("style");o.id=t.hash,o.textContent=t.code,m.appendChild(o)}})}function pn(r,t,e){var m=r==null?"":""+r;return m=m?m+" "+t:t,m===""?null:m}function $r(r,t,e,m,o,n){var i=r.__className;if(g||i!==e||i===void 0){var a=pn(e,m);(!g||a!==r.getAttribute("class"))&&(a==null?r.removeAttribute("class"):r.className=a),r.__className=e}return n}function jt(r,t,e,m){var o=m,n=!0,i=()=>(n&&(n=!1,o=m),o),a;a=r[t],a===void 0&&m!==void 0&&(a=i());var s;s=()=>{var p=r[t];return p===void 0?i():(n=!0,p)};var l=!1,d=Ft(()=>(l=!1,s())),f=h;return(function(p,b){if(arguments.length>0){const v=b?x(d):p;return or(d,v),l=!0,o!==void 0&&(o=v),p}return Fr&&l||(f.f&hr)!==0?d.v:x(d)})}function vn(r){return new bn(r)}class bn{#t;#r;constructor(t){var e=new Map,m=(n,i)=>{var a=xe(i,!1,!1);return e.set(n,a),a};const o=new Proxy({...t.props||{},$$events:{}},{get(n,i){return x(e.get(i)??m(i,Reflect.get(n,i)))},has(n,i){return i===lm?!0:(x(e.get(i)??m(i,Reflect.get(n,i))),Reflect.has(n,i))},set(n,i,a){return or(e.get(i)??m(i,a),a),Reflect.set(n,i,a)}});this.#r=(t.hydrate?on:He)(t.component,{target:t.target,anchor:t.anchor,props:o,context:t.context,intro:t.intro??!1,recover:t.recover}),(!t?.props?.$$host||t.sync===!1)&&rt(),this.#t=o.$$events;for(const n of Object.keys(this.#r))n==="$set"||n==="$destroy"||n==="$on"||pt(this,n,{get(){return this.#r[n]},set(i){this.#r[n]=i},enumerable:!0});this.#r.$set=n=>{Object.assign(o,n)},this.#r.$destroy=()=>{an(this.#r)}}$set(t){this.#r.$set(t)}$on(t,e){this.#t[t]=this.#t[t]||[];const m=(...o)=>e.call(this,...o);return this.#t[t].push(m),()=>{this.#t[t]=this.#t[t].filter(o=>o!==m)}}$destroy(){this.#r.$destroy()}}let Ke;typeof HTMLElement=="function"&&(Ke=class extends HTMLElement{$$ctor;$$s;$$c;$$cn=!1;$$d={};$$r=!1;$$p_d={};$$l={};$$l_u=new Map;$$me;constructor(r,t,e){super(),this.$$ctor=r,this.$$s=t,e&&this.attachShadow({mode:"open"})}addEventListener(r,t,e){if(this.$$l[r]=this.$$l[r]||[],this.$$l[r].push(t),this.$$c){const m=this.$$c.$on(r,t);this.$$l_u.set(t,m)}super.addEventListener(r,t,e)}removeEventListener(r,t,e){if(super.removeEventListener(r,t,e),this.$$c){const m=this.$$l_u.get(t);m&&(m(),this.$$l_u.delete(t))}}async connectedCallback(){if(this.$$cn=!0,!this.$$c){let r=function(m){return o=>{const n=document.createElement("slot");m!=="default"&&(n.name=m),$(o,n)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const t={},e=fn(this);for(const m of this.$$s)m in e&&(m==="default"&&!this.$$d.children?(this.$$d.children=r(m),t.default=!0):t[m]=r(m));for(const m of this.attributes){const o=this.$$g_p(m.name);o in this.$$d||(this.$$d[o]=Et(o,m.value,this.$$p_d,"toProp"))}for(const m in this.$$p_d)!(m in this.$$d)&&this[m]!==void 0&&(this.$$d[m]=this[m],delete this[m]);this.$$c=vn({component:this.$$ctor,target:this.shadowRoot||this,props:{...this.$$d,$$slots:t,$$host:this}}),this.$$me=qm(()=>{Re(()=>{this.$$r=!0;for(const m of dt(this.$$c)){if(!this.$$p_d[m]?.reflect)continue;this.$$d[m]=this.$$c[m];const o=Et(m,this.$$d[m],this.$$p_d,"toAttribute");o==null?this.removeAttribute(this.$$p_d[m].attribute||m):this.setAttribute(this.$$p_d[m].attribute||m,o)}this.$$r=!1})});for(const m in this.$$l)for(const o of this.$$l[m]){const n=this.$$c.$on(m,o);this.$$l_u.set(o,n)}this.$$l={}}}attributeChangedCallback(r,t,e){this.$$r||(r=this.$$g_p(r),this.$$d[r]=Et(r,e,this.$$p_d,"toProp"),this.$$c?.$set({[r]:this.$$d[r]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$me(),this.$$c=void 0)})}$$g_p(r){return dt(this.$$p_d).find(t=>this.$$p_d[t].attribute===r||!this.$$p_d[t].attribute&&t.toLowerCase()===r)||r}});function Et(r,t,e,m){const o=e[r]?.type;if(t=o==="Boolean"&&typeof t!="boolean"?t!=null:t,!m||!e[r])return t;if(m==="toAttribute")switch(o){case"Object":case"Array":return t==null?null:JSON.stringify(t);case"Boolean":return t?"":null;case"Number":return t??null;default:return t}else switch(o){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function fn(r){const t={};return r.childNodes.forEach(e=>{t[e.slot||"default"]=!0}),t}function cn(r,t,e,m,o,n){let i=class extends Ke{constructor(){super(r,e,o),this.$$p_d=t}static get observedAttributes(){return dt(t).map(a=>(t[a].attribute||a).toLowerCase())}};return dt(t).forEach(a=>{pt(i.prototype,a,{get(){return this.$$c&&a in this.$$c?this.$$c[a]:this.$$d[a]},set(s){s=Et(a,s,t),this.$$d[a]=s;var l=this.$$c;if(l){var d=qr(l,a)?.get;d?l[a]=s:l.$set({[a]:s})}}})}),m.forEach(a=>{pt(i.prototype,a,{get(){return this.$$c?.[a]}})}),r.element=i,i}var gn=S('<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@latest/font/bootstrap-icons.css" class="svelte-pdmrmr"/>'),un=S('<span style="float:right" class="svelte-pdmrmr">▼</span>'),hn=S('<span style="float:right" class="svelte-pdmrmr">►</span>'),xn=S('<span style="float:right"> </span>'),yn=S('<button style="" class="custom-button btn btn-outline-primary nav-link active svelte-pdmrmr" aria-current="page"><i></i> <!></button>'),wn=S('<span style="float:right"> </span>'),_n=S('<button style="color:black;" class="custom-button btn nav-link svelte-pdmrmr"><i></i> <!></button>'),kn=S('<div style="padding-left:0.8em" class="svelte-pdmrmr"></div>'),$n=S('<button style="color:black;line-height: 100%;" class="custom-button btn nav-link svelte-pdmrmr"><i></i> <!></button> <!>',1),jn=S('<span style="float:right"> </span>'),En=S('<button style="" class="custom-button btn btn-outline-primary nav-link active svelte-pdmrmr" aria-current="page"><i></i> <!></button>'),zn=S('<span style="float:right"> </span>'),An=S('<button style="color:black;" class="custom-button btn nav-link svelte-pdmrmr"><i></i> <!></button>'),Rn=S('<li part="li" class="nav-item svelte-pdmrmr"><!></li>'),Tn=S('<span class="svelte-pdmrmr"><!></span>');const Bn={hash:"svelte-pdmrmr",code:`@charset "UTF-8";
1
+ (function(oe){"use strict";typeof window<"u"&&((window.__svelte??={}).v??=new Set).add("5");const gm=1,um=2,hm=16,xm=1,ym=2,ae="[",Ct="[!",ie="[?",Nt="]",Hr={},N=Symbol(),wm="http://www.w3.org/1999/xhtml",_m=!1;var se=Array.isArray,km=Array.prototype.indexOf,Vr=Array.prototype.includes,ct=Array.from,gt=Object.keys,ut=Object.defineProperty,Xr=Object.getOwnPropertyDescriptor,$m=Object.prototype,jm=Array.prototype,Em=Object.getPrototypeOf,le=Object.isExtensible;const zm=()=>{};function Am(r){for(var t=0;t<r.length;t++)r[t]()}function de(){var r,t,e=new Promise((m,o)=>{r=m,t=o});return{promise:e,resolve:r,reject:t}}const C=2,Ur=4,ht=8,pe=1<<24,$r=16,mr=32,jr=64,St=128,X=512,R=1024,B=2048,dr=4096,L=8192,U=16384,Er=32768,ve=1<<25,Kr=65536,be=1<<17,fe=1<<18,zr=1<<19,Rm=1<<20,br=1<<25,Gr=65536,Bt=1<<21,Ot=1<<22,Ar=1<<23,Gt=Symbol("$state"),Tm=Symbol("legacy props"),fr=new class extends Error{name="StaleReactionError";message="The reaction that called `getAbortSignal()` was re-run or destroyed"},xt=3,Wr=8;function Cm(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function Nm(r,t,e){throw new Error("https://svelte.dev/e/each_key_duplicate")}function Sm(r){throw new Error("https://svelte.dev/e/effect_in_teardown")}function Bm(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function Om(r){throw new Error("https://svelte.dev/e/effect_orphan")}function Gm(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function Mm(){throw new Error("https://svelte.dev/e/hydration_failed")}function Dm(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function Fm(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function Im(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function Pm(){throw new Error("https://svelte.dev/e/svelte_boundary_reset_onerror")}function yt(r){console.warn("https://svelte.dev/e/hydration_mismatch")}function Ym(){console.warn("https://svelte.dev/e/svelte_boundary_reset_noop")}let w=!1;function nr(r){w=r}let h;function O(r){if(r===null)throw yt(),Hr;return h=r}function wt(){return O(J(h))}function K(r){if(w){if(J(h)!==null)throw yt(),Hr;h=r}}function Lm(r=1){if(w){for(var t=r,e=h;t--;)e=J(e);h=e}}function _t(r=!0){for(var t=0,e=h;;){if(e.nodeType===Wr){var m=e.data;if(m===Nt){if(t===0)return e;t-=1}else(m===ae||m===Ct||m[0]==="["&&!isNaN(Number(m.slice(1))))&&(t+=1)}var o=J(e);r&&e.remove(),e=o}}function ce(r){if(!r||r.nodeType!==Wr)throw yt(),Hr;return r.data}function ge(r){return r===this.v}function qm(r,t){return r!=r?t==t:r!==t||r!==null&&typeof r=="object"||typeof r=="function"}function ue(r){return!qm(r,this.v)}let Hm=!1,W=null;function Jr(r){W=r}function he(r,t=!1,e){W={p:W,i:!1,c:null,e:null,s:r,x:null,r:u,l:null}}function xe(r){var t=W,e=t.e;if(e!==null){t.e=null;for(var m of e)Ve(m)}return r!==void 0&&(t.x=r),t.i=!0,W=t.p,r??{}}function ye(){return!0}let Mr=[];function we(){var r=Mr;Mr=[],Am(r)}function Zr(r){if(Mr.length===0&&!nt){var t=Mr;queueMicrotask(()=>{t===Mr&&we()})}Mr.push(r)}function Vm(){for(;Mr.length>0;)we()}function _e(r){var t=u;if(t===null)return g.f|=Ar,r;if((t.f&Er)===0&&(t.f&Ur)===0)throw r;Rr(r,t)}function Rr(r,t){for(;t!==null;){if((t.f&St)!==0){if((t.f&Er)===0)throw r;try{t.b.error(r);return}catch(e){r=e}}t=t.parent}throw r}const Xm=-7169;function z(r,t){r.f=r.f&Xm|t}function Mt(r){(r.f&X)!==0||r.deps===null?z(r,R):z(r,dr)}function ke(r){if(r!==null)for(const t of r)(t.f&C)===0||(t.f&Gr)===0||(t.f^=Gr,ke(t.deps))}function $e(r,t,e){(r.f&B)!==0?t.add(r):(r.f&dr)!==0&&e.add(r),ke(r.deps),z(r,R)}const Tr=new Set;let _=null,or=null,Dt=null,nt=!1,Ft=!1,Qr=null,kt=null;var je=0;let Um=1;class cr{id=Um++;current=new Map;previous=new Map;#r=new Set;#e=new Set;#t=new Map;#n=new Map;#o=null;#m=[];#a=new Set;#i=new Set;#s=new Map;is_fork=!1;#p=!1;#l=new Set;#v(){return this.is_fork||this.#n.size>0}#f(){for(const m of this.#l)for(const o of m.#n.keys()){for(var t=!1,e=o;e.parent!==null;){if(this.#s.has(e)){t=!0;break}e=e.parent}if(!t)return!0}return!1}skip_effect(t){this.#s.has(t)||this.#s.set(t,{d:[],m:[]})}unskip_effect(t){var e=this.#s.get(t);if(e){this.#s.delete(t);for(var m of e.d)z(m,B),this.schedule(m);for(m of e.m)z(m,dr),this.schedule(m)}}#b(){if(je++>1e3&&(Tr.delete(this),Km()),!this.#v()){for(const a of this.#a)this.#i.delete(a),z(a,B),this.schedule(a);for(const a of this.#i)z(a,dr),this.schedule(a)}const t=this.#m;this.#m=[],this.apply();var e=Qr=[],m=[],o=kt=[];for(const a of t)try{this.#d(a,e,m)}catch(l){throw Te(a),l}if(_=null,o.length>0){var n=cr.ensure();for(const a of o)n.schedule(a)}if(Qr=null,kt=null,this.#v()||this.#f()){this.#c(m),this.#c(e);for(const[a,l]of this.#s)Re(a,l)}else{this.#t.size===0&&Tr.delete(this),this.#a.clear(),this.#i.clear();for(const a of this.#r)a(this);this.#r.clear(),Ee(m),Ee(e),this.#o?.resolve()}var i=_;if(this.#m.length>0){const a=i??=this;a.#m.push(...this.#m.filter(l=>!a.#m.includes(l)))}i!==null&&(Tr.add(i),i.#b()),Tr.has(this)||this.#g()}#d(t,e,m){t.f^=R;for(var o=t.first;o!==null;){var n=o.f,i=(n&(mr|jr))!==0,a=i&&(n&R)!==0,l=a||(n&L)!==0||this.#s.has(o);if(!l&&o.fn!==null){i?o.f^=R:(n&Ur)!==0?e.push(o):st(o)&&((n&$r)!==0&&this.#i.add(o),tt(o));var s=o.first;if(s!==null){o=s;continue}}for(;o!==null;){var p=o.next;if(p!==null){o=p;break}o=o.parent}}}#c(t){for(var e=0;e<t.length;e+=1)$e(t[e],this.#a,this.#i)}capture(t,e,m=!1){e!==N&&!this.previous.has(t)&&this.previous.set(t,e),(t.f&Ar)===0&&(this.current.set(t,[t.v,m]),or?.set(t,t.v))}activate(){_=this}deactivate(){_=null,or=null}flush(){try{Ft=!0,_=this,this.#b()}finally{je=0,Dt=null,Qr=null,kt=null,Ft=!1,_=null,or=null,Cr.clear()}}discard(){for(const t of this.#e)t(this);this.#e.clear(),Tr.delete(this)}#g(){for(const s of Tr){var t=s.id<this.id,e=[];for(const[p,[b,v]]of this.current){if(s.current.has(p)){var m=s.current.get(p)[0];if(t&&b!==m)s.current.set(p,[b,v]);else continue}e.push(p)}var o=[...s.current.keys()].filter(p=>!this.current.has(p));if(o.length===0)t&&s.discard();else if(e.length>0){s.activate();var n=new Set,i=new Map;for(var a of e)ze(a,o,n,i);if(s.#m.length>0){s.apply();for(var l of s.#m)s.#d(l,[],[]);s.#m=[]}s.deactivate()}}for(const s of Tr)s.#l.has(this)&&(s.#l.delete(this),s.#l.size===0&&!s.#v()&&(s.activate(),s.#b()))}increment(t,e){let m=this.#t.get(e)??0;if(this.#t.set(e,m+1),t){let o=this.#n.get(e)??0;this.#n.set(e,o+1)}}decrement(t,e,m){let o=this.#t.get(e)??0;if(o===1?this.#t.delete(e):this.#t.set(e,o-1),t){let n=this.#n.get(e)??0;n===1?this.#n.delete(e):this.#n.set(e,n-1)}this.#p||m||(this.#p=!0,Zr(()=>{this.#p=!1,this.flush()}))}transfer_effects(t,e){for(const m of t)this.#a.add(m);for(const m of e)this.#i.add(m);t.clear(),e.clear()}oncommit(t){this.#r.add(t)}ondiscard(t){this.#e.add(t)}settled(){return(this.#o??=de()).promise}static ensure(){if(_===null){const t=_=new cr;Ft||(Tr.add(_),nt||Zr(()=>{_===t&&t.flush()}))}return _}apply(){{or=null;return}}schedule(t){if(Dt=t,t.b?.is_pending&&(t.f&(Ur|ht|pe))!==0&&(t.f&Er)===0){t.b.defer_effect(t);return}for(var e=t;e.parent!==null;){e=e.parent;var m=e.f;if(Qr!==null&&e===u&&(g===null||(g.f&C)===0))return;if((m&(jr|mr))!==0){if((m&R)===0)return;e.f^=R}}this.#m.push(e)}}function ot(r){var t=nt;nt=!0;try{for(var e;;){if(Vm(),_===null)return e;_.flush()}}finally{nt=t}}function Km(){try{Gm()}catch(r){Rr(r,Dt)}}let gr=null;function Ee(r){var t=r.length;if(t!==0){for(var e=0;e<t;){var m=r[e++];if((m.f&(U|L))===0&&st(m)&&(gr=new Set,tt(m),m.deps===null&&m.first===null&&m.nodes===null&&m.teardown===null&&m.ac===null&&Ke(m),gr?.size>0)){Cr.clear();for(const o of gr){if((o.f&(U|L))!==0)continue;const n=[o];let i=o.parent;for(;i!==null;)gr.has(i)&&(gr.delete(i),n.push(i)),i=i.parent;for(let a=n.length-1;a>=0;a--){const l=n[a];(l.f&(U|L))===0&&tt(l)}}gr.clear()}}gr=null}}function ze(r,t,e,m){if(!e.has(r)&&(e.add(r),r.reactions!==null))for(const o of r.reactions){const n=o.f;(n&C)!==0?ze(o,t,e,m):(n&(Ot|$r))!==0&&(n&B)===0&&Ae(o,t,m)&&(z(o,B),It(o))}}function Ae(r,t,e){const m=e.get(r);if(m!==void 0)return m;if(r.deps!==null)for(const o of r.deps){if(Vr.call(t,o))return!0;if((o.f&C)!==0&&Ae(o,t,e))return e.set(o,!0),!0}return e.set(r,!1),!1}function It(r){_.schedule(r)}function Re(r,t){if(!((r.f&mr)!==0&&(r.f&R)!==0)){(r.f&B)!==0?t.d.push(r):(r.f&dr)!==0&&t.m.push(r),z(r,R);for(var e=r.first;e!==null;)Re(e,t),e=e.next}}function Te(r){z(r,R);for(var t=r.first;t!==null;)Te(t),t=t.next}function Wm(r){let t=0,e=Dr(0),m;return()=>{Vt()&&(x(e),Xe(()=>(t===0&&(m=wn(()=>r(()=>at(e)))),t+=1,()=>{Zr(()=>{t-=1,t===0&&(m?.(),m=void 0,at(e))})})))}}var Jm=Kr|zr;function Zm(r,t,e,m){new Qm(r,t,e,m)}class Qm{parent;is_pending=!1;transform_error;#r;#e=w?h:null;#t;#n;#o;#m=null;#a=null;#i=null;#s=null;#p=0;#l=0;#v=!1;#f=new Set;#b=new Set;#d=null;#c=Wm(()=>(this.#d=Dr(this.#p),()=>{this.#d=null}));constructor(t,e,m,o){this.#r=t,this.#t=e,this.#n=n=>{var i=u;i.b=this,i.f|=St,m(n)},this.parent=u.b,this.transform_error=o??this.parent?.transform_error??(n=>n),this.#o=Et(()=>{if(w){const n=this.#e;wt();const i=n.data===Ct;if(n.data.startsWith(ie)){const l=JSON.parse(n.data.slice(ie.length));this.#w(l)}else i?this.#_():this.#g()}else this.#x()},Jm),w&&(this.#r=h)}#g(){try{this.#m=Z(()=>this.#n(this.#r))}catch(t){this.error(t)}}#w(t){const e=this.#t.failed;e&&(this.#i=Z(()=>{e(this.#r,()=>t,()=>()=>{})}))}#_(){const t=this.#t.pending;t&&(this.is_pending=!0,this.#a=Z(()=>t(this.#r)),Zr(()=>{var e=this.#s=document.createDocumentFragment(),m=q();e.append(m),this.#m=this.#h(()=>Z(()=>this.#n(m))),this.#l===0&&(this.#r.before(e),this.#s=null,Fr(this.#a,()=>{this.#a=null}),this.#u(_))}))}#x(){try{if(this.is_pending=this.has_pending_snippet(),this.#l=0,this.#p=0,this.#m=Z(()=>{this.#n(this.#r)}),this.#l>0){var t=this.#s=document.createDocumentFragment();Kt(this.#m,t);const e=this.#t.pending;this.#a=Z(()=>e(this.#r))}else this.#u(_)}catch(e){this.error(e)}}#u(t){this.is_pending=!1,t.transfer_effects(this.#f,this.#b)}defer_effect(t){$e(t,this.#f,this.#b)}is_rendered(){return!this.is_pending&&(!this.parent||this.parent.is_rendered())}has_pending_snippet(){return!!this.#t.pending}#h(t){var e=u,m=g,o=W;vr(this.#o),Q(this.#o),Jr(this.#o.ctx);try{return cr.ensure(),t()}catch(n){return _e(n),null}finally{vr(e),Q(m),Jr(o)}}#y(t,e){if(!this.has_pending_snippet()){this.parent&&this.parent.#y(t,e);return}this.#l+=t,this.#l===0&&(this.#u(e),this.#a&&Fr(this.#a,()=>{this.#a=null}),this.#s&&(this.#r.before(this.#s),this.#s=null))}update_pending_count(t,e){this.#y(t,e),this.#p+=t,!(!this.#d||this.#v)&&(this.#v=!0,Zr(()=>{this.#v=!1,this.#d&&rt(this.#d,this.#p)}))}get_effect_pending(){return this.#c(),x(this.#d)}error(t){var e=this.#t.onerror;let m=this.#t.failed;if(!e&&!m)throw t;this.#m&&(G(this.#m),this.#m=null),this.#a&&(G(this.#a),this.#a=null),this.#i&&(G(this.#i),this.#i=null),w&&(O(this.#e),Lm(),O(_t()));var o=!1,n=!1;const i=()=>{if(o){Ym();return}o=!0,n&&Pm(),this.#i!==null&&Fr(this.#i,()=>{this.#i=null}),this.#h(()=>{this.#x()})},a=l=>{try{n=!0,e?.(l,i),n=!1}catch(s){Rr(s,this.#o&&this.#o.parent)}m&&(this.#i=this.#h(()=>{try{return Z(()=>{var s=u;s.b=this,s.f|=St,m(this.#r,()=>l,()=>i)})}catch(s){return Rr(s,this.#o.parent),null}}))};Zr(()=>{var l;try{l=this.transform_error(t)}catch(s){Rr(s,this.#o&&this.#o.parent);return}l!==null&&typeof l=="object"&&typeof l.then=="function"?l.then(a,s=>Rr(s,this.#o&&this.#o.parent)):a(l)})}}function rn(r,t,e,m){const o=jt;var n=r.filter(v=>!v.settled);if(e.length===0&&n.length===0){m(t.map(o));return}var i=u,a=tn(),l=n.length===1?n[0].promise:n.length>1?Promise.all(n.map(v=>v.promise)):null;function s(v){a();try{m(v)}catch(f){(i.f&U)===0&&Rr(f,i)}$t()}if(e.length===0){l.then(()=>s(t.map(o)));return}var p=Ce();function b(){Promise.all(e.map(v=>en(v))).then(v=>s([...t.map(o),...v])).catch(v=>Rr(v,i)).finally(()=>p())}l?l.then(()=>{a(),b(),$t()}):b()}function tn(){var r=u,t=g,e=W,m=_;return function(n=!0){vr(r),Q(t),Jr(e),n&&(r.f&U)===0&&(m?.activate(),m?.apply())}}function $t(r=!0){vr(null),Q(null),Jr(null),r&&_?.deactivate()}function Ce(){var r=u,t=r.b,e=_,m=t.is_rendered();return t.update_pending_count(1,e),e.increment(m,r),(o=!1)=>{t.update_pending_count(-1,e),e.decrement(m,r,o)}}function jt(r){var t=C|B,e=g!==null&&(g.f&C)!==0?g:null;return u!==null&&(u.f|=zr),{ctx:W,deps:null,effects:null,equals:ge,f:t,fn:r,reactions:null,rv:0,v:N,wv:0,parent:e??u,ac:null}}function en(r,t,e){let m=u;m===null&&Cm();var o=void 0,n=Dr(N),i=!g,a=new Map;return gn(()=>{var l=u,s=de();o=s.promise;try{Promise.resolve(r()).then(s.resolve,s.reject).finally($t)}catch(f){s.reject(f),$t()}var p=_;if(i){if((l.f&Er)!==0)var b=Ce();if(m.b.is_rendered())a.get(p)?.reject(fr),a.delete(p);else{for(const f of a.values())f.reject(fr);a.clear()}a.set(p,s)}const v=(f,d=void 0)=>{if(b){var c=d===fr;b(c)}if(!(d===fr||(l.f&U)!==0)){if(p.activate(),d)n.f|=Ar,rt(n,d);else{(n.f&Ar)!==0&&(n.f^=Ar),rt(n,f);for(const[$,k]of a){if(a.delete($),$===p)break;k.reject(fr)}}p.deactivate()}};s.promise.then(v,f=>v(null,f||"unknown"))}),pn(()=>{for(const l of a.values())l.reject(fr)}),new Promise(l=>{function s(p){function b(){p===o?l(n):s(o)}p.then(b,b)}s(o)})}function Ne(r){const t=jt(r);return Qe(t),t}function mn(r){const t=jt(r);return t.equals=ue,t}function nn(r){var t=r.effects;if(t!==null){r.effects=null;for(var e=0;e<t.length;e+=1)G(t[e])}}function on(r){for(var t=r.parent;t!==null;){if((t.f&C)===0)return(t.f&U)===0?t:null;t=t.parent}return null}function Pt(r){var t,e=u;vr(on(r));try{r.f&=~Gr,nn(r),t=nm(r)}finally{vr(e)}return t}function Se(r){var t=r.v,e=Pt(r);if(!r.equals(e)&&(r.wv=em(),(!_?.is_fork||r.deps===null)&&(r.v=e,_?.capture(r,t,!0),r.deps===null))){z(r,R);return}Sr||(or!==null?(Vt()||_?.is_fork)&&or.set(r,e):Mt(r))}function an(r){if(r.effects!==null)for(const t of r.effects)(t.teardown||t.ac)&&(t.teardown?.(),t.ac?.abort(fr),t.teardown=zm,t.ac=null,lt(t,0),Xt(t))}function Be(r){if(r.effects!==null)for(const t of r.effects)t.teardown&&tt(t)}let Yt=new Set;const Cr=new Map;let Oe=!1;function Dr(r,t){var e={f:0,v:r,reactions:null,equals:ge,rv:0,wv:0};return e}function ur(r,t){const e=Dr(r);return Qe(e),e}function Ge(r,t=!1,e=!0){const m=Dr(r);return t||(m.equals=ue),m}function ar(r,t,e=!1){g!==null&&(!lr||(g.f&be)!==0)&&ye()&&(g.f&(C|$r|Ot|be))!==0&&(rr===null||!Vr.call(rr,r))&&Im();let m=e?it(t):t;return rt(r,m,kt)}function rt(r,t,e=null){if(!r.equals(t)){var m=r.v;Sr?Cr.set(r,t):Cr.set(r,m),r.v=t;var o=cr.ensure();if(o.capture(r,m),(r.f&C)!==0){const n=r;(r.f&B)!==0&&Pt(n),or===null&&Mt(n)}r.wv=em(),Me(r,B,e),u!==null&&(u.f&R)!==0&&(u.f&(mr|jr))===0&&(tr===null?xn([r]):tr.push(r)),!o.is_fork&&Yt.size>0&&!Oe&&sn()}return t}function sn(){Oe=!1;for(const r of Yt)(r.f&R)!==0&&z(r,dr),st(r)&&tt(r);Yt.clear()}function at(r){ar(r,r.v+1)}function Me(r,t,e){var m=r.reactions;if(m!==null)for(var o=m.length,n=0;n<o;n++){var i=m[n],a=i.f,l=(a&B)===0;if(l&&z(i,t),(a&C)!==0){var s=i;or?.delete(s),(a&Gr)===0&&(a&X&&(i.f|=Gr),Me(s,dr,e))}else if(l){var p=i;(a&$r)!==0&&gr!==null&&gr.add(p),e!==null?e.push(p):It(p)}}}function it(r){if(typeof r!="object"||r===null||Gt in r)return r;const t=Em(r);if(t!==$m&&t!==jm)return r;var e=new Map,m=se(r),o=ur(0),n=Pr,i=a=>{if(Pr===n)return a();var l=g,s=Pr;Q(null),tm(n);var p=a();return Q(l),tm(s),p};return m&&e.set("length",ur(r.length)),new Proxy(r,{defineProperty(a,l,s){(!("value"in s)||s.configurable===!1||s.enumerable===!1||s.writable===!1)&&Dm();var p=e.get(l);return p===void 0?i(()=>{var b=ur(s.value);return e.set(l,b),b}):ar(p,s.value,!0),!0},deleteProperty(a,l){var s=e.get(l);if(s===void 0){if(l in a){const p=i(()=>ur(N));e.set(l,p),at(o)}}else ar(s,N),at(o);return!0},get(a,l,s){if(l===Gt)return r;var p=e.get(l),b=l in a;if(p===void 0&&(!b||Xr(a,l)?.writable)&&(p=i(()=>{var f=it(b?a[l]:N),d=ur(f);return d}),e.set(l,p)),p!==void 0){var v=x(p);return v===N?void 0:v}return Reflect.get(a,l,s)},getOwnPropertyDescriptor(a,l){var s=Reflect.getOwnPropertyDescriptor(a,l);if(s&&"value"in s){var p=e.get(l);p&&(s.value=x(p))}else if(s===void 0){var b=e.get(l),v=b?.v;if(b!==void 0&&v!==N)return{enumerable:!0,configurable:!0,value:v,writable:!0}}return s},has(a,l){if(l===Gt)return!0;var s=e.get(l),p=s!==void 0&&s.v!==N||Reflect.has(a,l);if(s!==void 0||u!==null&&(!p||Xr(a,l)?.writable)){s===void 0&&(s=i(()=>{var v=p?it(a[l]):N,f=ur(v);return f}),e.set(l,s));var b=x(s);if(b===N)return!1}return p},set(a,l,s,p){var b=e.get(l),v=l in a;if(m&&l==="length")for(var f=s;f<b.v;f+=1){var d=e.get(f+"");d!==void 0?ar(d,N):f in a&&(d=i(()=>ur(N)),e.set(f+"",d))}if(b===void 0)(!v||Xr(a,l)?.writable)&&(b=i(()=>ur(void 0)),ar(b,it(s)),e.set(l,b));else{v=b.v!==N;var c=i(()=>it(s));ar(b,c)}var $=Reflect.getOwnPropertyDescriptor(a,l);if($?.set&&$.set.call(p,s),!v){if(m&&typeof l=="string"){var k=e.get("length"),y=Number(l);Number.isInteger(y)&&y>=k.v&&ar(k,y+1)}at(o)}return!0},ownKeys(a){x(o);var l=Reflect.ownKeys(a).filter(b=>{var v=e.get(b);return v===void 0||v.v!==N});for(var[s,p]of e)p.v!==N&&!(s in a)&&l.push(s);return l},setPrototypeOf(){Fm()}})}var De,Fe,Ie,Pe;function Lt(){if(De===void 0){De=window,Fe=/Firefox/.test(navigator.userAgent);var r=Element.prototype,t=Node.prototype,e=Text.prototype;Ie=Xr(t,"firstChild").get,Pe=Xr(t,"nextSibling").get,le(r)&&(r.__click=void 0,r.__className=void 0,r.__attributes=null,r.__style=void 0,r.__e=void 0),le(e)&&(e.__t=void 0)}}function q(r=""){return document.createTextNode(r)}function Nr(r){return Ie.call(r)}function J(r){return Pe.call(r)}function ir(r,t){if(!w)return Nr(r);var e=Nr(h);if(e===null)e=h.appendChild(q());else if(t&&e.nodeType!==xt){var m=q();return e?.before(m),O(m),m}return t&&Ht(e),O(e),e}function Ye(r,t=!1){if(!w){var e=Nr(r);return e instanceof Comment&&e.data===""?J(e):e}if(t){if(h?.nodeType!==xt){var m=q();return h?.before(m),O(m),m}Ht(h)}return h}function sr(r,t=1,e=!1){let m=w?h:r;for(var o;t--;)o=m,m=J(m);if(!w)return m;if(e){if(m?.nodeType!==xt){var n=q();return m===null?o?.after(n):m.before(n),O(n),n}Ht(m)}return O(m),m}function Le(r){r.textContent=""}function qe(){return!1}function qt(r,t,e){return document.createElementNS(wm,r,void 0)}function Ht(r){if(r.nodeValue.length<65536)return;let t=r.nextSibling;for(;t!==null&&t.nodeType===xt;)t.remove(),r.nodeValue+=t.nodeValue,t=r.nextSibling}function He(r){var t=g,e=u;Q(null),vr(null);try{return r()}finally{Q(t),vr(e)}}function ln(r){u===null&&(g===null&&Om(),Bm()),Sr&&Sm()}function dn(r,t){var e=t.last;e===null?t.last=t.first=r:(e.next=r,r.prev=e,t.last=r)}function pr(r,t){var e=u;e!==null&&(e.f&L)!==0&&(r|=L);var m={ctx:W,deps:null,nodes:null,f:r|B|X,first:null,fn:t,last:null,next:null,parent:e,b:e&&e.b,prev:null,teardown:null,wv:0,ac:null},o=m;if((r&Ur)!==0)Qr!==null?Qr.push(m):cr.ensure().schedule(m);else if(t!==null){try{tt(m)}catch(i){throw G(m),i}o.deps===null&&o.teardown===null&&o.nodes===null&&o.first===o.last&&(o.f&zr)===0&&(o=o.first,(r&$r)!==0&&(r&Kr)!==0&&o!==null&&(o.f|=Kr))}if(o!==null&&(o.parent=e,e!==null&&dn(o,e),g!==null&&(g.f&C)!==0&&(r&jr)===0)){var n=g;(n.effects??=[]).push(o)}return m}function Vt(){return g!==null&&!lr}function pn(r){const t=pr(ht,null);return z(t,R),t.teardown=r,t}function vn(r){ln();var t=u.f,e=!g&&(t&mr)!==0&&(t&Er)===0;if(e){var m=W;(m.e??=[]).push(r)}else return Ve(r)}function Ve(r){return pr(Ur|Rm,r)}function bn(r){cr.ensure();const t=pr(jr|zr,r);return()=>{G(t)}}function fn(r){cr.ensure();const t=pr(jr|zr,r);return(e={})=>new Promise(m=>{e.outro?Fr(t,()=>{G(t),m(void 0)}):(G(t),m(void 0))})}function cn(r){return pr(Ur,r)}function gn(r){return pr(Ot|zr,r)}function Xe(r,t=0){return pr(ht|t,r)}function hr(r,t=[],e=[],m=[]){rn(m,t,e,o=>{pr(ht,()=>r(...o.map(x)))})}function Et(r,t=0){var e=pr($r|t,r);return e}function Z(r){return pr(mr|zr,r)}function Ue(r){var t=r.teardown;if(t!==null){const e=Sr,m=g;Ze(!0),Q(null);try{t.call(null)}finally{Ze(e),Q(m)}}}function Xt(r,t=!1){var e=r.first;for(r.first=r.last=null;e!==null;){const o=e.ac;o!==null&&He(()=>{o.abort(fr)});var m=e.next;(e.f&jr)!==0?e.parent=null:G(e,t),e=m}}function un(r){for(var t=r.first;t!==null;){var e=t.next;(t.f&mr)===0&&G(t),t=e}}function G(r,t=!0){var e=!1;(t||(r.f&fe)!==0)&&r.nodes!==null&&r.nodes.end!==null&&(hn(r.nodes.start,r.nodes.end),e=!0),z(r,ve),Xt(r,t&&!e),lt(r,0);var m=r.nodes&&r.nodes.t;if(m!==null)for(const n of m)n.stop();Ue(r),r.f^=ve,r.f|=U;var o=r.parent;o!==null&&o.first!==null&&Ke(r),r.next=r.prev=r.teardown=r.ctx=r.deps=r.fn=r.nodes=r.ac=r.b=null}function hn(r,t){for(;r!==null;){var e=r===t?null:J(r);r.remove(),r=e}}function Ke(r){var t=r.parent,e=r.prev,m=r.next;e!==null&&(e.next=m),m!==null&&(m.prev=e),t!==null&&(t.first===r&&(t.first=m),t.last===r&&(t.last=e))}function Fr(r,t,e=!0){var m=[];We(r,m,!0);var o=()=>{e&&G(r),t&&t()},n=m.length;if(n>0){var i=()=>--n||o();for(var a of m)a.out(i)}else o()}function We(r,t,e){if((r.f&L)===0){r.f^=L;var m=r.nodes&&r.nodes.t;if(m!==null)for(const a of m)(a.is_global||e)&&t.push(a);for(var o=r.first;o!==null;){var n=o.next,i=(o.f&Kr)!==0||(o.f&mr)!==0&&(r.f&$r)!==0;We(o,t,i?e:!1),o=n}}}function Ut(r){Je(r,!0)}function Je(r,t){if((r.f&L)!==0){r.f^=L,(r.f&R)===0&&(z(r,B),cr.ensure().schedule(r));for(var e=r.first;e!==null;){var m=e.next,o=(e.f&Kr)!==0||(e.f&mr)!==0;Je(e,o?t:!1),e=m}var n=r.nodes&&r.nodes.t;if(n!==null)for(const i of n)(i.is_global||t)&&i.in()}}function Kt(r,t){if(r.nodes)for(var e=r.nodes.start,m=r.nodes.end;e!==null;){var o=e===m?null:J(e);t.append(e),e=o}}let zt=!1,Sr=!1;function Ze(r){Sr=r}let g=null,lr=!1;function Q(r){g=r}let u=null;function vr(r){u=r}let rr=null;function Qe(r){g!==null&&(rr===null?rr=[r]:rr.push(r))}let F=null,H=0,tr=null;function xn(r){tr=r}let rm=1,Ir=0,Pr=Ir;function tm(r){Pr=r}function em(){return++rm}function st(r){var t=r.f;if((t&B)!==0)return!0;if(t&C&&(r.f&=~Gr),(t&dr)!==0){for(var e=r.deps,m=e.length,o=0;o<m;o++){var n=e[o];if(st(n)&&Se(n),n.wv>r.wv)return!0}(t&X)!==0&&or===null&&z(r,R)}return!1}function mm(r,t,e=!0){var m=r.reactions;if(m!==null&&!(rr!==null&&Vr.call(rr,r)))for(var o=0;o<m.length;o++){var n=m[o];(n.f&C)!==0?mm(n,t,!1):t===n&&(e?z(n,B):(n.f&R)!==0&&z(n,dr),It(n))}}function nm(r){var t=F,e=H,m=tr,o=g,n=rr,i=W,a=lr,l=Pr,s=r.f;F=null,H=0,tr=null,g=(s&(mr|jr))===0?r:null,rr=null,Jr(r.ctx),lr=!1,Pr=++Ir,r.ac!==null&&(He(()=>{r.ac.abort(fr)}),r.ac=null);try{r.f|=Bt;var p=r.fn,b=p();r.f|=Er;var v=r.deps,f=_?.is_fork;if(F!==null){var d;if(f||lt(r,H),v!==null&&H>0)for(v.length=H+F.length,d=0;d<F.length;d++)v[H+d]=F[d];else r.deps=v=F;if(Vt()&&(r.f&X)!==0)for(d=H;d<v.length;d++)(v[d].reactions??=[]).push(r)}else!f&&v!==null&&H<v.length&&(lt(r,H),v.length=H);if(ye()&&tr!==null&&!lr&&v!==null&&(r.f&(C|dr|B))===0)for(d=0;d<tr.length;d++)mm(tr[d],r);if(o!==null&&o!==r){if(Ir++,o.deps!==null)for(let c=0;c<e;c+=1)o.deps[c].rv=Ir;if(t!==null)for(const c of t)c.rv=Ir;tr!==null&&(m===null?m=tr:m.push(...tr))}return(r.f&Ar)!==0&&(r.f^=Ar),b}catch(c){return _e(c)}finally{r.f^=Bt,F=t,H=e,tr=m,g=o,rr=n,Jr(i),lr=a,Pr=l}}function yn(r,t){let e=t.reactions;if(e!==null){var m=km.call(e,r);if(m!==-1){var o=e.length-1;o===0?e=t.reactions=null:(e[m]=e[o],e.pop())}}if(e===null&&(t.f&C)!==0&&(F===null||!Vr.call(F,t))){var n=t;(n.f&X)!==0&&(n.f^=X,n.f&=~Gr),Mt(n),an(n),lt(n,0)}}function lt(r,t){var e=r.deps;if(e!==null)for(var m=t;m<e.length;m++)yn(r,e[m])}function tt(r){var t=r.f;if((t&U)===0){z(r,R);var e=u,m=zt;u=r,zt=!0;try{(t&($r|pe))!==0?un(r):Xt(r),Ue(r);var o=nm(r);r.teardown=typeof o=="function"?o:null,r.wv=rm;var n;_m&&Hm&&(r.f&B)!==0&&r.deps}finally{zt=m,u=e}}}function x(r){var t=r.f,e=(t&C)!==0;if(g!==null&&!lr){var m=u!==null&&(u.f&U)!==0;if(!m&&(rr===null||!Vr.call(rr,r))){var o=g.deps;if((g.f&Bt)!==0)r.rv<Ir&&(r.rv=Ir,F===null&&o!==null&&o[H]===r?H++:F===null?F=[r]:F.push(r));else{(g.deps??=[]).push(r);var n=r.reactions;n===null?r.reactions=[g]:Vr.call(n,g)||n.push(g)}}}if(Sr&&Cr.has(r))return Cr.get(r);if(e){var i=r;if(Sr){var a=i.v;return((i.f&R)===0&&i.reactions!==null||am(i))&&(a=Pt(i)),Cr.set(i,a),a}var l=(i.f&X)===0&&!lr&&g!==null&&(zt||(g.f&X)!==0),s=(i.f&Er)===0;st(i)&&(l&&(i.f|=X),Se(i)),l&&!s&&(Be(i),om(i))}if(or?.has(r))return or.get(r);if((r.f&Ar)!==0)throw r.v;return r.v}function om(r){if(r.f|=X,r.deps!==null)for(const t of r.deps)(t.reactions??=[]).push(r),(t.f&C)!==0&&(t.f&X)===0&&(Be(t),om(t))}function am(r){if(r.v===N)return!0;if(r.deps===null)return!1;for(const t of r.deps)if(Cr.has(t)||(t.f&C)!==0&&am(t))return!0;return!1}function wn(r){var t=lr;try{return lr=!0,r()}finally{lr=t}}const dt=Symbol("events"),im=new Set,Wt=new Set;function Jt(r,t,e){(t[dt]??={})[r]=e}function _n(r){for(var t=0;t<r.length;t++)im.add(r[t]);for(var e of Wt)e(r)}let sm=null;function lm(r){var t=this,e=t.ownerDocument,m=r.type,o=r.composedPath?.()||[],n=o[0]||r.target;sm=r;var i=0,a=sm===r&&r[dt];if(a){var l=o.indexOf(a);if(l!==-1&&(t===document||t===window)){r[dt]=t;return}var s=o.indexOf(t);if(s===-1)return;l<=s&&(i=l)}if(n=o[i]||r.target,n!==t){ut(r,"currentTarget",{configurable:!0,get(){return n||e}});var p=g,b=u;Q(null),vr(null);try{for(var v,f=[];n!==null;){var d=n.assignedSlot||n.parentNode||n.host||null;try{var c=n[dt]?.[m];c!=null&&(!n.disabled||r.target===n)&&c.call(n,r)}catch($){v?f.push($):v=$}if(r.cancelBubble||d===t||d===null)break;n=d}if(v){for(let $ of f)queueMicrotask(()=>{throw $});throw v}}finally{r[dt]=t,delete r.currentTarget,Q(p),vr(b)}}}const kn=globalThis?.window?.trustedTypes&&globalThis.window.trustedTypes.createPolicy("svelte-trusted-html",{createHTML:r=>r});function $n(r){return kn?.createHTML(r)??r}function jn(r){var t=qt("template");return t.innerHTML=$n(r.replaceAll("<!>","<!---->")),t.content}function et(r,t){var e=u;e.nodes===null&&(e.nodes={start:r,end:t,a:null,t:null})}function M(r,t){var e=(t&xm)!==0,m=(t&ym)!==0,o,n=!r.startsWith("<!>");return()=>{if(w)return et(h,null),h;o===void 0&&(o=jn(n?r:"<!>"+r),e||(o=Nr(o)));var i=m||Fe?document.importNode(o,!0):o.cloneNode(!0);if(e){var a=Nr(i),l=i.lastChild;et(a,l)}else et(i,i);return i}}function En(){if(w)return et(h,null),h;var r=document.createDocumentFragment(),t=document.createComment(""),e=q();return r.append(t,e),et(t,e),r}function S(r,t){if(w){var e=u;((e.f&Er)===0||e.nodes.end===null)&&(e.nodes.end=h),wt();return}r!==null&&r.before(t)}const zn=["touchstart","touchmove"];function An(r){return zn.includes(r)}function xr(r,t){var e=t==null?"":typeof t=="object"?`${t}`:t;e!==(r.__t??=r.nodeValue)&&(r.__t=e,r.nodeValue=`${e}`)}function dm(r,t){return pm(r,t)}function Rn(r,t){Lt(),t.intro=t.intro??!1;const e=t.target,m=w,o=h;try{for(var n=Nr(e);n&&(n.nodeType!==Wr||n.data!==ae);)n=J(n);if(!n)throw Hr;nr(!0),O(n);const i=pm(r,{...t,anchor:n});return nr(!1),i}catch(i){if(i instanceof Error&&i.message.split(`
2
+ `).some(a=>a.startsWith("https://svelte.dev/e/")))throw i;return i!==Hr&&console.warn("Failed to hydrate: ",i),t.recover===!1&&Mm(),Lt(),Le(e),nr(!1),dm(r,t)}finally{nr(m),O(o)}}const At=new Map;function pm(r,{target:t,anchor:e,props:m={},events:o,context:n,intro:i=!0,transformError:a}){Lt();var l=void 0,s=fn(()=>{var p=e??t.appendChild(q());Zm(p,{pending:()=>{}},f=>{he({});var d=W;if(n&&(d.c=n),o&&(m.$$events=o),w&&et(f,null),l=r(f,m)||{},w&&(u.nodes.end=h,h===null||h.nodeType!==Wr||h.data!==Nt))throw yt(),Hr;xe()},a);var b=new Set,v=f=>{for(var d=0;d<f.length;d++){var c=f[d];if(!b.has(c)){b.add(c);var $=An(c);for(const er of[t,document]){var k=At.get(er);k===void 0&&(k=new Map,At.set(er,k));var y=k.get(c);y===void 0?(er.addEventListener(c,lm,{passive:$}),k.set(c,1)):k.set(c,y+1)}}}};return v(ct(im)),Wt.add(v),()=>{for(var f of b)for(const $ of[t,document]){var d=At.get($),c=d.get(f);--c==0?($.removeEventListener(f,lm),d.delete(f),d.size===0&&At.delete($)):d.set(f,c)}Wt.delete(v),p!==e&&p.parentNode?.removeChild(p)}});return Zt.set(l,s),l}let Zt=new WeakMap;function Tn(r,t){const e=Zt.get(r);return e?(Zt.delete(r),e(t)):Promise.resolve()}class Cn{anchor;#r=new Map;#e=new Map;#t=new Map;#n=new Set;#o=!0;constructor(t,e=!0){this.anchor=t,this.#o=e}#m=t=>{if(this.#r.has(t)){var e=this.#r.get(t),m=this.#e.get(e);if(m)Ut(m),this.#n.delete(e);else{var o=this.#t.get(e);o&&(this.#e.set(e,o.effect),this.#t.delete(e),o.fragment.lastChild.remove(),this.anchor.before(o.fragment),m=o.effect)}for(const[n,i]of this.#r){if(this.#r.delete(n),n===t)break;const a=this.#t.get(i);a&&(G(a.effect),this.#t.delete(i))}for(const[n,i]of this.#e){if(n===e||this.#n.has(n))continue;const a=()=>{if(Array.from(this.#r.values()).includes(n)){var s=document.createDocumentFragment();Kt(i,s),s.append(q()),this.#t.set(n,{effect:i,fragment:s})}else G(i);this.#n.delete(n),this.#e.delete(n)};this.#o||!m?(this.#n.add(n),Fr(i,a,!1)):a()}}};#a=t=>{this.#r.delete(t);const e=Array.from(this.#r.values());for(const[m,o]of this.#t)e.includes(m)||(G(o.effect),this.#t.delete(m))};ensure(t,e){var m=_,o=qe();if(e&&!this.#e.has(t)&&!this.#t.has(t))if(o){var n=document.createDocumentFragment(),i=q();n.append(i),this.#t.set(t,{effect:Z(()=>e(i)),fragment:n})}else this.#e.set(t,Z(()=>e(this.anchor)));if(this.#r.set(m,t),o){for(const[a,l]of this.#e)a===t?m.unskip_effect(l):m.skip_effect(l);for(const[a,l]of this.#t)a===t?m.unskip_effect(l.effect):m.skip_effect(l.effect);m.oncommit(this.#m),m.ondiscard(this.#a)}else w&&(this.anchor=h),this.#m(m)}}function yr(r,t,e=!1){var m;w&&(m=h,wt());var o=new Cn(r),n=e?Kr:0;function i(a,l){if(w){var s=ce(m);if(a!==parseInt(s.substring(1))){var p=_t();O(p),o.anchor=p,nr(!1),o.ensure(a,l),nr(!0);return}}o.ensure(a,l)}Et(()=>{var a=!1;t((l,s=0)=>{a=!0,i(s,l)}),a||i(-1,null)},n)}function Nn(r,t,e){for(var m=[],o=t.length,n,i=t.length,a=0;a<o;a++){let b=t[a];Fr(b,()=>{if(n){if(n.pending.delete(b),n.done.add(b),n.pending.size===0){var v=r.outrogroups;Qt(r,ct(n.done)),v.delete(n),v.size===0&&(r.outrogroups=null)}}else i-=1},!1)}if(i===0){var l=m.length===0&&e!==null;if(l){var s=e,p=s.parentNode;Le(p),p.append(s),r.items.clear()}Qt(r,t,!l)}else n={pending:new Set(t),done:new Set},(r.outrogroups??=new Set).add(n)}function Qt(r,t,e=!0){var m;if(r.pending.size>0){m=new Set;for(const i of r.pending.values())for(const a of i)m.add(r.items.get(a).e)}for(var o=0;o<t.length;o++){var n=t[o];if(m?.has(n)){n.f|=br;const i=document.createDocumentFragment();Kt(n,i)}else G(t[o],e)}}var vm;function Sn(r,t,e,m,o,n=null){var i=r,a=new Map;{var l=r;i=w?O(Nr(l)):l.appendChild(q())}w&&wt();var s=null,p=mn(()=>{var y=e();return se(y)?y:y==null?[]:ct(y)}),b,v=new Map,f=!0;function d(y){(k.effect.f&U)===0&&(k.pending.delete(y),k.fallback=s,Bn(k,b,i,t,m),s!==null&&(b.length===0?(s.f&br)===0?Ut(s):(s.f^=br,vt(s,null,i)):Fr(s,()=>{s=null})))}function c(y){k.pending.delete(y)}var $=Et(()=>{b=x(p);var y=b.length;let er=!1;if(w){var D=ce(i)===Ct;D!==(y===0)&&(i=_t(),O(i),nr(!1),er=!0)}for(var j=new Set,T=_,V=qe(),A=0;A<y;A+=1){w&&h.nodeType===Wr&&h.data===Nt&&(i=h,er=!0,nr(!1));var _r=b[A],I=m(_r,A),E=f?null:a.get(I);E?(E.v&&rt(E.v,_r),E.i&&rt(E.i,A),V&&T.unskip_effect(E.e)):(E=On(a,f?i:vm??=q(),_r,I,A,o,t,e),f||(E.e.f|=br),a.set(I,E)),j.add(I)}if(y===0&&n&&!s&&(f?s=Z(()=>n(i)):(s=Z(()=>n(vm??=q())),s.f|=br)),y>j.size&&Nm(),w&&y>0&&O(_t()),!f)if(v.set(T,j),V){for(const[Yr,re]of a)j.has(Yr)||T.skip_effect(re.e);T.oncommit(d),T.ondiscard(c)}else d(T);er&&nr(!0),x(p)}),k={effect:$,items:a,pending:v,outrogroups:null,fallback:s};f=!1,w&&(i=h)}function pt(r){for(;r!==null&&(r.f&mr)===0;)r=r.next;return r}function Bn(r,t,e,m,o){var n=t.length,i=r.items,a=pt(r.effect.first),l,s=null,p=[],b=[],v,f,d,c;for(c=0;c<n;c+=1){if(v=t[c],f=o(v,c),d=i.get(f).e,r.outrogroups!==null)for(const A of r.outrogroups)A.pending.delete(d),A.done.delete(d);if((d.f&L)!==0&&Ut(d),(d.f&br)!==0)if(d.f^=br,d===a)vt(d,null,e);else{var $=s?s.next:a;d===r.effect.last&&(r.effect.last=d.prev),d.prev&&(d.prev.next=d.next),d.next&&(d.next.prev=d.prev),Br(r,s,d),Br(r,d,$),vt(d,$,e),s=d,p=[],b=[],a=pt(s.next);continue}if(d!==a){if(l!==void 0&&l.has(d)){if(p.length<b.length){var k=b[0],y;s=k.prev;var er=p[0],D=p[p.length-1];for(y=0;y<p.length;y+=1)vt(p[y],k,e);for(y=0;y<b.length;y+=1)l.delete(b[y]);Br(r,er.prev,D.next),Br(r,s,er),Br(r,D,k),a=k,s=D,c-=1,p=[],b=[]}else l.delete(d),vt(d,a,e),Br(r,d.prev,d.next),Br(r,d,s===null?r.effect.first:s.next),Br(r,s,d),s=d;continue}for(p=[],b=[];a!==null&&a!==d;)(l??=new Set).add(a),b.push(a),a=pt(a.next);if(a===null)continue}(d.f&br)===0&&p.push(d),s=d,a=pt(d.next)}if(r.outrogroups!==null){for(const A of r.outrogroups)A.pending.size===0&&(Qt(r,ct(A.done)),r.outrogroups?.delete(A));r.outrogroups.size===0&&(r.outrogroups=null)}if(a!==null||l!==void 0){var j=[];if(l!==void 0)for(d of l)(d.f&L)===0&&j.push(d);for(;a!==null;)(a.f&L)===0&&a!==r.fallback&&j.push(a),a=pt(a.next);var T=j.length;if(T>0){var V=n===0?e:null;Nn(r,j,V)}}}function On(r,t,e,m,o,n,i,a){var l=(i&gm)!==0?(i&hm)===0?Ge(e,!1,!1):Dr(e):null,s=(i&um)!==0?Dr(o):null;return{v:l,i:s,e:Z(()=>(n(t,l??e,s??o,a),()=>{r.delete(m)}))}}function vt(r,t,e){if(r.nodes)for(var m=r.nodes.start,o=r.nodes.end,n=t&&(t.f&br)===0?t.nodes.start:e;m!==null;){var i=J(m);if(n.before(m),m===o)return;m=i}}function Br(r,t,e){t===null?r.effect.first=e:t.next=e,e===null?r.effect.last=t:e.prev=t}function Gn(r,t){let e=null,m=w;var o;if(w){e=h;for(var n=Nr(document.head);n!==null&&(n.nodeType!==Wr||n.data!==r);)n=J(n);if(n===null)nr(!1);else{var i=J(n);n.remove(),O(i)}}w||(o=document.head.appendChild(q()));try{Et(()=>t(o),fe|zr)}finally{m&&(nr(!0),O(e))}}function Mn(r,t){cn(()=>{var e=r.getRootNode(),m=e.host?e:e.head??e.ownerDocument.head;if(!m.querySelector("#"+t.hash)){const o=qt("style");o.id=t.hash,o.textContent=t.code,m.appendChild(o)}})}function Dn(r,t,e){var m=r==null?"":""+r;return m=m?m+" "+t:t,m===""?null:m}function wr(r,t,e,m,o,n){var i=r.__className;if(w||i!==e||i===void 0){var a=Dn(e,m);(!w||a!==r.getAttribute("class"))&&(a==null?r.removeAttribute("class"):r.className=a),r.__className=e}return n}function Rt(r,t,e,m){var o=m,n=!0,i=()=>(n&&(n=!1,o=m),o),a;a=r[t],a===void 0&&m!==void 0&&(a=i());var l;l=()=>{var v=r[t];return v===void 0?i():(n=!0,v)};var s=!1,p=jt(()=>(s=!1,l())),b=u;return(function(v,f){if(arguments.length>0){const d=f?x(p):v;return ar(p,d),s=!0,o!==void 0&&(o=d),v}return Sr&&s||(b.f&U)!==0?p.v:x(p)})}function Fn(r){return new In(r)}class In{#r;#e;constructor(t){var e=new Map,m=(n,i)=>{var a=Ge(i,!1,!1);return e.set(n,a),a};const o=new Proxy({...t.props||{},$$events:{}},{get(n,i){return x(e.get(i)??m(i,Reflect.get(n,i)))},has(n,i){return i===Tm?!0:(x(e.get(i)??m(i,Reflect.get(n,i))),Reflect.has(n,i))},set(n,i,a){return ar(e.get(i)??m(i,a),a),Reflect.set(n,i,a)}});this.#e=(t.hydrate?Rn:dm)(t.component,{target:t.target,anchor:t.anchor,props:o,context:t.context,intro:t.intro??!1,recover:t.recover,transformError:t.transformError}),(!t?.props?.$$host||t.sync===!1)&&ot(),this.#r=o.$$events;for(const n of Object.keys(this.#e))n==="$set"||n==="$destroy"||n==="$on"||ut(this,n,{get(){return this.#e[n]},set(i){this.#e[n]=i},enumerable:!0});this.#e.$set=n=>{Object.assign(o,n)},this.#e.$destroy=()=>{Tn(this.#e)}}$set(t){this.#e.$set(t)}$on(t,e){this.#r[t]=this.#r[t]||[];const m=(...o)=>e.call(this,...o);return this.#r[t].push(m),()=>{this.#r[t]=this.#r[t].filter(o=>o!==m)}}$destroy(){this.#e.$destroy()}}let bm;typeof HTMLElement=="function"&&(bm=class extends HTMLElement{$$ctor;$$s;$$c;$$cn=!1;$$d={};$$r=!1;$$p_d={};$$l={};$$l_u=new Map;$$me;$$shadowRoot=null;constructor(r,t,e){super(),this.$$ctor=r,this.$$s=t,e&&(this.$$shadowRoot=this.attachShadow(e))}addEventListener(r,t,e){if(this.$$l[r]=this.$$l[r]||[],this.$$l[r].push(t),this.$$c){const m=this.$$c.$on(r,t);this.$$l_u.set(t,m)}super.addEventListener(r,t,e)}removeEventListener(r,t,e){if(super.removeEventListener(r,t,e),this.$$c){const m=this.$$l_u.get(t);m&&(m(),this.$$l_u.delete(t))}}async connectedCallback(){if(this.$$cn=!0,!this.$$c){let r=function(m){return o=>{const n=qt("slot");m!=="default"&&(n.name=m),S(o,n)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const t={},e=Pn(this);for(const m of this.$$s)m in e&&(m==="default"&&!this.$$d.children?(this.$$d.children=r(m),t.default=!0):t[m]=r(m));for(const m of this.attributes){const o=this.$$g_p(m.name);o in this.$$d||(this.$$d[o]=Tt(o,m.value,this.$$p_d,"toProp"))}for(const m in this.$$p_d)!(m in this.$$d)&&this[m]!==void 0&&(this.$$d[m]=this[m],delete this[m]);this.$$c=Fn({component:this.$$ctor,target:this.$$shadowRoot||this,props:{...this.$$d,$$slots:t,$$host:this}}),this.$$me=bn(()=>{Xe(()=>{this.$$r=!0;for(const m of gt(this.$$c)){if(!this.$$p_d[m]?.reflect)continue;this.$$d[m]=this.$$c[m];const o=Tt(m,this.$$d[m],this.$$p_d,"toAttribute");o==null?this.removeAttribute(this.$$p_d[m].attribute||m):this.setAttribute(this.$$p_d[m].attribute||m,o)}this.$$r=!1})});for(const m in this.$$l)for(const o of this.$$l[m]){const n=this.$$c.$on(m,o);this.$$l_u.set(o,n)}this.$$l={}}}attributeChangedCallback(r,t,e){this.$$r||(r=this.$$g_p(r),this.$$d[r]=Tt(r,e,this.$$p_d,"toProp"),this.$$c?.$set({[r]:this.$$d[r]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$me(),this.$$c=void 0)})}$$g_p(r){return gt(this.$$p_d).find(t=>this.$$p_d[t].attribute===r||!this.$$p_d[t].attribute&&t.toLowerCase()===r)||r}});function Tt(r,t,e,m){const o=e[r]?.type;if(t=o==="Boolean"&&typeof t!="boolean"?t!=null:t,!m||!e[r])return t;if(m==="toAttribute")switch(o){case"Object":case"Array":return t==null?null:JSON.stringify(t);case"Boolean":return t?"":null;case"Number":return t??null;default:return t}else switch(o){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function Pn(r){const t={};return r.childNodes.forEach(e=>{t[e.slot||"default"]=!0}),t}function Yn(r,t,e,m,o,n){let i=class extends bm{constructor(){super(r,e,o),this.$$p_d=t}static get observedAttributes(){return gt(t).map(a=>(t[a].attribute||a).toLowerCase())}};return gt(t).forEach(a=>{ut(i.prototype,a,{get(){return this.$$c&&a in this.$$c?this.$$c[a]:this.$$d[a]},set(l){l=Tt(a,l,t),this.$$d[a]=l;var s=this.$$c;if(s){var p=Xr(s,a)?.get;p?s[a]=l:s.$set({[a]:l})}}})}),m.forEach(a=>{ut(i.prototype,a,{get(){return this.$$c?.[a]}})}),r.element=i,i}var Ln=M('<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@latest/font/bootstrap-icons.css" class="svelte-pdmrmr"/>'),qn=M('<span style="float:right" class="svelte-pdmrmr">▼</span>'),Hn=M('<span style="float:right" class="svelte-pdmrmr">►</span>'),Vn=M('<span style="float:right"> </span>'),Xn=M('<button style="" class="custom-button btn btn-outline-primary nav-link active svelte-pdmrmr" aria-current="page"><i></i> <!></button>'),Un=M('<span style="float:right"> </span>'),Kn=M('<button style="color:black;" class="custom-button btn nav-link svelte-pdmrmr"><i></i> <!></button>'),Wn=M('<div style="padding-left:0.8em" class="svelte-pdmrmr"></div>'),Jn=M('<button style="color:black;line-height: 100%;" class="custom-button btn nav-link svelte-pdmrmr"><i></i> <!></button> <!>',1),Zn=M('<span style="float:right"> </span>'),Qn=M('<button style="" class="custom-button btn btn-outline-primary nav-link active svelte-pdmrmr" aria-current="page"><i></i> <!></button>'),ro=M('<span style="float:right"> </span>'),to=M('<button style="color:black;" class="custom-button btn nav-link svelte-pdmrmr"><i></i> <!></button>'),eo=M('<li part="li" class="nav-item svelte-pdmrmr"><!></li>'),mo=M('<span class="svelte-pdmrmr"><!></span>');const no={hash:"svelte-pdmrmr",code:`@charset "UTF-8";
3
3
  @import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");
4
4
  @import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@latest/font/bootstrap-icons.css");
5
5
  /*!
@@ -145,5 +145,5 @@ button.svelte-pdmrmr {margin:0;font-family:inherit;font-size:inherit;line-height
145
145
  @media print {.d-print-inline.svelte-pdmrmr {display:inline !important;}.d-print-inline-block.svelte-pdmrmr {display:inline-block !important;}.d-print-block.svelte-pdmrmr {display:block !important;}.d-print-grid.svelte-pdmrmr {display:grid !important;}.d-print-inline-grid.svelte-pdmrmr {display:inline-grid !important;}.d-print-table.svelte-pdmrmr {display:table !important;}.d-print-table-row.svelte-pdmrmr {display:table-row !important;}.d-print-table-cell.svelte-pdmrmr {display:table-cell !important;}.d-print-flex.svelte-pdmrmr {display:flex !important;}.d-print-inline-flex.svelte-pdmrmr {display:inline-flex !important;}.d-print-none.svelte-pdmrmr {display:none !important;}
146
146
  }:host {font-family:"Roboto", sans-serif;}.bd-placeholder-img.svelte-pdmrmr {font-size:1.125rem;text-anchor:middle;-webkit-user-select:none;-moz-user-select:none;user-select:none;}
147
147
  @media (min-width: 768px) {.bd-placeholder-img-lg.svelte-pdmrmr {font-size:3.5rem;}
148
- }.nav-item.svelte-pdmrmr:hover {background-color:#f8f9fa;border-radius:10px;}.custom-button.svelte-pdmrmr {width:100%;text-align:left;box-shadow:none !important;line-height:100%;}i.svelte-pdmrmr {min-width:16px;display:inline-block;}.nav-link.svelte-pdmrmr {padding:0.5rem 0.2rem 0.5rem 0.2rem;}.nav-item.svelte-pdmrmr {list-style:none;}`};function We(r,t){ie(t,!0),dn(r,Bn);function e(v,y){t.$$host.dispatchEvent(new CustomEvent(v,{detail:y}))}function m(v){e("pageChange",{page:v})}let o=jt(t,"id",7,""),n=jt(t,"navlink"),i=jt(t,"navpage"),a=jt(t,"selected"),s=yr(!1);Lm(()=>{if(typeof n()=="string")try{n(JSON.parse(n())),or(s,n().open===!0,!0)}catch{}a()===""||typeof a()=="string"&&(a()==="yes"||a()==="true")?a(!0):a()!==!0&&a(!1),console.log(n(),"navlink")});function l(){or(s,x(s)!==!0,!0),console.log(x(s),"open")}var d={get id(){return o()},set id(v=""){o(v),rt()},get navlink(){return n()},set navlink(v){n(v),rt()},get navpage(){return i()},set navpage(v){i(v),rt()},get selected(){return a()},set selected(v){a(v),rt()}},f=Tn();ln("pdmrmr",v=>{var y=gn();$(v,y)});var p=ar(f);{var b=v=>{var y=Rn(),Y=ar(y);{var k=sr=>{var rr=$n(),D=qt(rr);D.__click=()=>{l()};var lr=ar(D),jr=ir(lr),M=ir(jr);{var L=R=>{var _=un();$(R,_)},tr=R=>{var _=hn();$(R,_)};fr(M,R=>{x(s)||n().subLinks&&n().subLinks.find(_=>_.key===i())?R(L):R(tr,!1)})}H(D);var E=ir(D,2);{var Cr=R=>{var _=kn();Bm(_,21,()=>n().subLinks,P=>P.key,(P,z)=>{var Je=Ve(),Cn=qt(Je);{var Nn=Zr=>{var Nr=yn(),it=ar(Nr),st=ir(it),Kt=ir(st);{var Wt=Yr=>{var Er=xn(),Jt=ar(Er,!0);H(Er),wr(()=>{$r(Er,1,`${x(z).badge.class||"badge rounded-pill"} ${x(z).badge.classcolor||"bg-secondary"}`,"svelte-pdmrmr"),kr(Jt,x(z).badge.text)}),$(Yr,Er)};fr(Kt,Yr=>{x(z).badge&&Yr(Wt)})}H(Nr),wr(()=>{$r(it,1,`bi me-2 bi-${x(z).icon??""}`,"svelte-pdmrmr"),kr(st,` ${x(z).label??""} `)}),$(Zr,Nr)},Gn=Zr=>{var Nr=_n();Nr.__click=()=>{m(x(z).key)};var it=ar(Nr),st=ir(it),Kt=ir(st);{var Wt=Yr=>{var Er=wn(),Jt=ar(Er,!0);H(Er),wr(()=>{$r(Er,1,`${x(z).badge.class||"badge rounded-pill"} ${x(z).badge.classcolor||"bg-secondary"}`,"svelte-pdmrmr"),kr(Jt,x(z).badge.text)}),$(Yr,Er)};fr(Kt,Yr=>{x(z).badge&&Yr(Wt)})}H(Nr),wr(()=>{$r(it,1,`bi me-2 bi-${x(z).icon??""}`,"svelte-pdmrmr"),kr(st,` ${x(z).label??""} `)}),$(Zr,Nr)};fr(Cn,Zr=>{x(z).key===i()||a()?Zr(Nn):Zr(Gn,!1)})}$(P,Je)}),H(_),$(R,_)};fr(E,R=>{(x(s)||n().subLinks&&n().subLinks.find(_=>_.key===i()))&&R(Cr)})}wr(()=>{$r(lr,1,`bi me-2 bi-${n().icon??""}`,"svelte-pdmrmr"),kr(jr,` ${n().label??""} `)}),$(sr,rr)},j=sr=>{var rr=Ve(),D=qt(rr);{var lr=M=>{var L=En(),tr=ar(L),E=ir(tr),Cr=ir(E);{var R=_=>{var P=jn(),z=ar(P,!0);H(P),wr(()=>{$r(P,1,`${n().badge.class||"badge rounded-pill"} ${n().badge.classcolor||"bg-secondary"}`,"svelte-pdmrmr"),kr(z,n().badge.text)}),$(_,P)};fr(Cr,_=>{n().badge&&_(R)})}H(L),wr(()=>{$r(tr,1,`bi me-2 bi-${n().icon??""}`,"svelte-pdmrmr"),kr(E,` ${n().label??""} `)}),$(M,L)},jr=M=>{var L=An();L.__click=()=>{m(n().key)};var tr=ar(L),E=ir(tr),Cr=ir(E);{var R=_=>{var P=zn(),z=ar(P,!0);H(P),wr(()=>{$r(P,1,`${n().badge.class||"badge rounded-pill"} ${n().badge.classcolor||"bg-secondary"}`,"svelte-pdmrmr"),kr(z,n().badge.text)}),$(_,P)};fr(Cr,_=>{n().badge&&_(R)})}H(L),wr(()=>{$r(tr,1,`bi me-2 bi-${n().icon??""}`,"svelte-pdmrmr"),kr(E,` ${n().label??""} `)}),$(M,L)};fr(D,M=>{n().key===i()||a()?M(lr):M(jr,!1)},!0)}$(sr,rr)};fr(Y,sr=>{n().subLinks?.length?sr(k):sr(j,!1)})}H(y),$(v,y)};fr(p,v=>{n()&&v(b)})}return H(f),$(r,f),se(d)}tn(["click"]),customElements.define("hb-sidenav-link",cn(We,{id:{},navlink:{},navpage:{},selected:{}},[],[],!0)),Zt.Component=We,Object.defineProperty(Zt,Symbol.toStringTag,{value:"Module"})})(this["sidenav-link"]=this["sidenav-link"]||{});
148
+ }.nav-item.svelte-pdmrmr:hover {background-color:#f8f9fa;border-radius:10px;}.custom-button.svelte-pdmrmr {width:100%;text-align:left;box-shadow:none !important;line-height:100%;}i.svelte-pdmrmr {min-width:16px;display:inline-block;}.nav-link.svelte-pdmrmr {padding:0.5rem 0.2rem 0.5rem 0.2rem;}.nav-item.svelte-pdmrmr {list-style:none;}`};function fm(r,t){he(t,!0),Mn(r,no);function e(d,c){t.$$host.dispatchEvent(new CustomEvent(d,{detail:c}))}function m(d){e("pageChange",{page:d})}let o=Rt(t,"id",7,""),n=Rt(t,"navlink"),i=Rt(t,"navpage"),a=Rt(t,"selected"),l=ur(!1);vn(()=>{if(typeof n()=="string")try{n(JSON.parse(n())),ar(l,n().open===!0,!0)}catch{}a()===""||typeof a()=="string"&&(a()==="yes"||a()==="true")?a(!0):a()!==!0&&a(!1),console.log(n(),"navlink")});function s(){ar(l,x(l)!==!0,!0),console.log(x(l),"open")}var p={get id(){return o()},set id(d=""){o(d),ot()},get navlink(){return n()},set navlink(d){n(d),ot()},get navpage(){return i()},set navpage(d){i(d),ot()},get selected(){return a()},set selected(d){a(d),ot()}},b=mo();Gn("pdmrmr",d=>{var c=Ln();S(d,c)});var v=ir(b);{var f=d=>{var c=eo(),$=ir(c);{var k=D=>{var j=Jn(),T=Ye(j),V=ir(T),A=sr(V),_r=sr(A);{var I=P=>{var Lr=qn();S(P,Lr)},E=Ne(()=>x(l)||n().subLinks&&n().subLinks.find(P=>P.key===i())),Yr=P=>{var Lr=Hn();S(P,Lr)};yr(_r,P=>{x(E)?P(I):P(Yr,-1)})}K(T);var re=sr(T,2);{var oo=P=>{var Lr=Wn();Sn(Lr,21,()=>n().subLinks,te=>te.key,(te,Y)=>{var cm=En(),io=Ye(cm);{var so=mt=>{var Or=Xn(),bt=ir(Or),ft=sr(bt),ee=sr(ft);{var me=qr=>{var kr=Vn(),ne=ir(kr,!0);K(kr),hr(()=>{wr(kr,1,`${(x(Y).badge.class||"badge rounded-pill")??""} ${(x(Y).badge.classcolor||"bg-secondary")??""}`,"svelte-pdmrmr"),xr(ne,x(Y).badge.text)}),S(qr,kr)};yr(ee,qr=>{x(Y).badge&&qr(me)})}K(Or),hr(()=>{wr(bt,1,`bi me-2 bi-${x(Y).icon??""}`,"svelte-pdmrmr"),xr(ft,` ${x(Y).label??""} `)}),S(mt,Or)},lo=mt=>{var Or=Kn(),bt=ir(Or),ft=sr(bt),ee=sr(ft);{var me=qr=>{var kr=Un(),ne=ir(kr,!0);K(kr),hr(()=>{wr(kr,1,`${(x(Y).badge.class||"badge rounded-pill")??""} ${(x(Y).badge.classcolor||"bg-secondary")??""}`,"svelte-pdmrmr"),xr(ne,x(Y).badge.text)}),S(qr,kr)};yr(ee,qr=>{x(Y).badge&&qr(me)})}K(Or),hr(()=>{wr(bt,1,`bi me-2 bi-${x(Y).icon??""}`,"svelte-pdmrmr"),xr(ft,` ${x(Y).label??""} `)}),Jt("click",Or,()=>{m(x(Y).key)}),S(mt,Or)};yr(io,mt=>{x(Y).key===i()||a()?mt(so):mt(lo,-1)})}S(te,cm)}),K(Lr),S(P,Lr)},ao=Ne(()=>x(l)||n().subLinks&&n().subLinks.find(P=>P.key===i()));yr(re,P=>{x(ao)&&P(oo)})}hr(()=>{wr(V,1,`bi me-2 bi-${n().icon??""}`,"svelte-pdmrmr"),xr(A,` ${n().label??""} `)}),Jt("click",T,()=>{s()}),S(D,j)},y=D=>{var j=Qn(),T=ir(j),V=sr(T),A=sr(V);{var _r=I=>{var E=Zn(),Yr=ir(E,!0);K(E),hr(()=>{wr(E,1,`${(n().badge.class||"badge rounded-pill")??""} ${(n().badge.classcolor||"bg-secondary")??""}`,"svelte-pdmrmr"),xr(Yr,n().badge.text)}),S(I,E)};yr(A,I=>{n().badge&&I(_r)})}K(j),hr(()=>{wr(T,1,`bi me-2 bi-${n().icon??""}`,"svelte-pdmrmr"),xr(V,` ${n().label??""} `)}),S(D,j)},er=D=>{var j=to(),T=ir(j),V=sr(T),A=sr(V);{var _r=I=>{var E=ro(),Yr=ir(E,!0);K(E),hr(()=>{wr(E,1,`${(n().badge.class||"badge rounded-pill")??""} ${(n().badge.classcolor||"bg-secondary")??""}`,"svelte-pdmrmr"),xr(Yr,n().badge.text)}),S(I,E)};yr(A,I=>{n().badge&&I(_r)})}K(j),hr(()=>{wr(T,1,`bi me-2 bi-${n().icon??""}`,"svelte-pdmrmr"),xr(V,` ${n().label??""} `)}),Jt("click",j,()=>{m(n().key)}),S(D,j)};yr($,D=>{n().subLinks?.length?D(k):n().key===i()||a()?D(y,1):D(er,-1)})}K(c),S(d,c)};yr(v,d=>{n()&&d(f)})}return K(b),S(r,b),xe(p)}_n(["click"]),customElements.define("hb-sidenav-link",Yn(fm,{id:{},navlink:{},navpage:{},selected:{}},[],[],{mode:"open"})),oe.Component=fm,Object.defineProperty(oe,Symbol.toStringTag,{value:"Module"})})(this["sidenav-link"]=this["sidenav-link"]||{});
149
149
  //# sourceMappingURL=main.iife.js.map