@htmlbricks/hb-sidenav-link 0.65.23 → 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="[!",At="]",Lr={},T=Symbol(),zt=!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 z=2,Tt=4,Ct=8,cr=16,gr=32,Ar=64,bt=128,er=512,C=1024,I=2048,ur=4096,q=8192,hr=16384,vt=32768,Xr=65536,me=1<<17,Bt=1<<18,Sr=1<<19,sm=1<<20,Gr=32768,Nt=1<<21,St=1<<22,zr=1<<23,Gt=Symbol("$state"),lm=Symbol("legacy props"),Ur=new class extends Error{name="StaleReactionError";message="The reaction that called `getAbortSignal()` was re-run or destroyed"},Ot=3,Or=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 bm(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function vm(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 B(r){if(r===null)throw ft(),Lr;return u=r}function ct(){return B(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===Or){var m=e.data;if(m===At){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!==Or)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,V=null;function Hr(r){V=r}function ie(r,t=!1,e){V={p:V,i:!1,c:null,e:null,s:r,x:null,l:null}}function se(r){var t=V,e=t.e;if(e!==null){t.e=null;for(var m of e)ze(m)}return r!==void 0&&(t.x=r),t.i=!0,V=t.p,r??{}}function le(){return!0}let Mr=[];function de(){var r=Mr;Mr=[],im(r)}function Mt(r){if(Mr.length===0&&!Qr){var t=Mr;queueMicrotask(()=>{t===Mr&&de()})}Mr.push(r)}function $m(){for(;Mr.length>0;)de()}function pe(r){var t=h;if(t===null)return c.f|=zr,r;if((t.f&vt)===0){if((t.f&bt)===0)throw r;t.b.error(r)}else Vr(r,t)}function Vr(r,t){for(;t!==null;){if((t.f&bt)!==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,Dt=!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,ve(e.render_effects),ve(e.effects),this.#s?.resolve()),K=null}#a(t,e){t.f^=C;for(var m=t.first;m!==null;){var o=m.f,n=(o&(gr|Ar))!==0,i=n&&(o&C)!==0,a=i||(o&q)!==0||this.skipped_effects.has(m);if((m.f&bt)!==0&&m.b?.is_pending()&&(e={parent:e,effect:m,effects:[],render_effects:[],block_effects:[]}),!a&&m.fn!==null){n?m.f^=C:(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&I)!==0?this.#o:this.#n).push(e),this.#l(e.deps),N(e,C)}#l(t){if(t!==null)for(const e of t)(e.f&z)===0||(e.f&Gr)===0||(e.f^=Gr,this.#l(e.deps))}capture(t,e){this.previous.has(t)||this.previous.set(t,e),(t.f&zr)===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(be(),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,I),Dr(t);for(const t of this.#n)N(t,ur),Dr(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){Mt(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;be()}}finally{Qr=t}}function be(){var r=Cr;Dt=!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{Dt=!1,_t(r),ht=null}}function jm(){try{fm()}catch(r){Vr(r,ht)}}let xr=null;function ve(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?Be(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&z)!==0?fe(o,t,e,m):(n&(St|cr))!==0&&(n&I)===0&&ce(o,t,m)&&(N(o,I),Dr(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&z)!==0&&ce(o,t,e))return e.set(o,!0),!0}return e.set(r,!1),!1}function Dr(r){for(var t=ht=r;t.parent!==null;){t=t.parent;var e=t.f;if(Dt&&t===h&&(e&cr)!==0&&(e&Bt)===0)return;if((e&(Ar|gr))!==0){if((e&C)===0)return;t.f^=C}}W.push(t)}function Em(r){let t=0,e=Fr(0),m;return()=>{yt()&&(x(e),Re(()=>(t===0&&(m=Qm(()=>r(()=>et(e)))),t+=1,()=>{Mt(()=>{t-=1,t===0&&(m?.(),m=void 0,et(e))})})))}}var Am=Xr|Sr|bt;function zm(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;#b=0;#f=!1;#v=null;#x=Em(()=>(this.#v=Fr(this.#p),()=>{this.#v=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===Or&&n.data===lt?this.#w():this.#y()}else{var o=this.#u();try{this.#n=Z(()=>m(o))}catch(n){this.error(n)}this.#b>0?this.#g():this.#t=!1}return()=>{this.#d?.remove()}},Am),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.#b>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=V;vr(this.#o),P(this.#o),Hr(this.#o.ctx);try{return t()}catch(n){return pe(n),null}finally{vr(e),P(m),Hr(o)}}#g(){const t=this.#m.pending;this.#n!==null&&(this.#l=document.createDocumentFragment(),this.#l.append(this.#d),Ge(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.#b+=t,this.#b===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.#v&&tt(this.#v,this.#p)}get_effect_pending(){return this.#x(),x(this.#v)}error(t){var e=this.#m.onerror;let m=this.#m.failed;if(this.#f||!e&&!m)throw t;this.#n&&(S(this.#n),this.#n=null),this.#a&&(S(this.#a),this.#a=null),this.#i&&(S(this.#i),this.#i=null),g&&(B(this.#e),wm(),B(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.#b>0?this.#g():this.#t=!1};var a=c;try{P(null),n=!0,e?.(t,i),n=!1}catch(s){Vr(s,this.#o&&this.#o.parent)}finally{P(a)}m&&Mt(()=>{this.#i=this.#c(()=>{nr.ensure(),this.#f=!0;try{return Z(()=>{m(this.#r,()=>t,()=>i)})}catch(s){return Vr(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)),S(d.e,!i)}r.first===t[0]&&(r.first=t[0].prev)})}function Cm(r,t,e,m,o,n=null){var i=r,a=new Map,s=null;{var l=r;i=g?B(Tr(l)):l.appendChild(X())}g&&ct();var d=null,f=Mm(()=>{var k=e();return re(k)?k:k==null?[]:Rt(k)}),p,v=!0;function b(){Bm(Y,p,i,t,m),d!==null&&(p.length===0?(d.fragment?(i.before(d.fragment),d.fragment=null):Ut(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(),B(i),mr(!1),j=!0)}for(var rr=new Set,M=w,lr=null,jr=Ee(),D=0;D<k;D+=1){g&&u.nodeType===Or&&u.data===At&&(i=u,j=!0,mr(!1));var L=p[D],tr=m(L,D),E=v?null:a.get(tr);E?(tt(E.v,L),E.i=D,jr&&M.skipped_effects.delete(E.e)):(E=Nm(v?i:null,lr,L,tr,D,o,t,e),v&&(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(v)d={fragment:null,effect:Z(()=>n(i))};else{var Br=document.createDocumentFragment(),R=X();Br.append(R),d={fragment:Br,effect:Z(()=>n(R))}}if(g&&k>0&&B(gt()),!v)if(jr){for(const[_,F]of a)rr.has(_)||M.skipped_effects.add(F.e);M.oncommit(b),M.ondiscard(()=>{})}else b();j&&mr(!0),x(f)}),Y={effect:y,items:a,first:s};v=!1,g&&(i=u)}function Bm(r,t,e,m,o){var n=t.length,i=r.items,a=r.first,s,l=null,d=[],f=[],p,v,b,y;for(y=0;y<n;y+=1){if(p=t[y],v=o(p,y),b=i.get(v),r.first??=b,!b.o){b.o=!0;var Y=l?l.next:a;dr(r,l,b),dr(r,b,Y),Ft(b,Y,e),l=b,d=[],f=[],a=l.next;continue}if((b.e.f&q)!==0&&Ut(b.e),b!==a){if(s!==void 0&&s.has(b)){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)Ft(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(b),Ft(b,a,e),dr(r,b.prev,b.next),dr(r,b,l===null?r.first:l.next),dr(r,l,b),l=b;continue}for(d=[],f=[];a!==null&&a.k!==v;)(a.e.f&q)===0&&(s??=new Set).add(a),f.push(a),a=a.next;if(a===null)continue;b=a}d.push(b),l=b,a=b.next}if(a!==null||s!==void 0){for(var M=s===void 0?[]:Rt(s);a!==null;)(a.e.f&q)===0&&M.push(a),a=a.next;var lr=M.length;if(lr>0){var jr=n===0?e:null;Tm(r,M,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):Fr(e):e,f=(i&Qe)===0?o:Fr(o),p={i:f,v:d,k:m,a:null,e:null,o:!1,prev:t,next:null};try{if(r===null){var v=document.createDocumentFragment();v.append(r=X())}return p.e=Z(()=>n(r,d,f,a)),t!==null&&(t.next=p),p}finally{}}function Ft(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 Sm(r,t,e,m){const o=It;if(e.length===0&&r.length===0){m(t.map(o));return}var n=w,i=h,a=Gm();function s(){Promise.all(e.map(l=>Om(l))).then(l=>{a();try{m([...t.map(o),...l])}catch(d){(i.f&hr)===0&&Vr(d,i)}n?.deactivate(),xt()}).catch(l=>{Vr(l,i)})}r.length>0?Promise.all(r).then(()=>{a();try{return s()}finally{n?.deactivate(),xt()}}):s()}function Gm(){var r=h,t=c,e=V,m=w;return function(n=!0){vr(r),P(t),Hr(e),n&&m?.activate()}}function xt(){vr(null),P(null),Hr(null)}function It(r){var t=z|I,e=c!==null&&(c.f&z)!==0?c:null;return h!==null&&(h.f|=Sr),{ctx:V,deps:null,effects:null,equals:oe,f:t,fn:r,reactions:null,rv:0,v:T,wv:0,parent:e??h,ac:null}}function Om(r,t){let e=h;e===null&&dm();var m=e.b,o=void 0,n=Fr(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(Ur),a.delete(l),a.set(l,s)}const f=(p,v=void 0)=>{if(l.activate(),v)v!==Ur&&(n.f|=zr,tt(n,v));else{(n.f&zr)!==0&&(n.f^=zr),tt(n,p);for(const[b,y]of a){if(a.delete(b),b===l)break;y.reject(Ur)}}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(Ur)}),new Promise(s=>{function l(d){function f(){d===o?s(n):l(o)}d.then(f,f)}l(o)})}function Mm(r){const t=It(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)S(t[e])}}function Dm(r){for(var t=r.parent;t!==null;){if((t.f&z)===0)return(t.f&hr)===0?t:null;t=t.parent}return null}function Pt(r){var t,e=h;vr(Dm(r));try{r.f&=~Gr,ge(r),t=Pe(r)}finally{vr(e)}return t}function ue(r){var t=Pt(r);if(r.equals(t)||(w?.is_fork||(r.v=t),r.wv=Fe()),!Ir)if(K!==null)yt()&&K.set(r,t);else{var e=(r.f&er)===0?ur:C;N(r,e)}}let Yt=new Set;const Rr=new Map;let he=!1;function Fr(r,t){var e={f:0,v:r,reactions:null,equals:oe,rv:0,wv:0};return e}function yr(r,t){const e=Fr(r);return Wm(e),e}function xe(r,t=!1,e=!0){const m=Fr(r);return t||(m.equals=ae),m}function or(r,t,e=!1){c!==null&&(!br||(c.f&me)!==0)&&le()&&(c.f&(z|cr|St|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;Ir?Rr.set(r,t):Rr.set(r,e),r.v=t;var m=nr.ensure();m.capture(r,e),(r.f&z)!==0&&((r.f&I)!==0&&Pt(r),N(r,(r.f&er)!==0?C:ur)),r.wv=Fe(),ye(r,I),h!==null&&(h.f&C)!==0&&(h.f&(gr|Ar))===0&&(Q===null?Jm([r]):Q.push(r)),!m.is_fork&&Yt.size>0&&!he&&Fm()}return t}function Fm(){he=!1;var r=Cr;_t(!0);const t=Array.from(Yt);try{for(const e of t)(e.f&C)!==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&I)===0;if(a&&N(n,t),(i&z)!==0){var s=n;K?.delete(s),(i&Gr)===0&&(i&er&&(n.f|=Gr),ye(s,ur))}else a&&((i&cr)!==0&&xr!==null&&xr.add(n),Dr(n))}}function mt(r){if(typeof r!="object"||r===null||Gt 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=Pr,i=a=>{if(Pr===n)return a();var s=c,l=Pr;P(null),De(n);var d=a();return P(s),De(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===Gt)return r;var d=e.get(s),f=s in a;if(d===void 0&&(!f||qr(a,s)?.writable)&&(d=i(()=>{var v=mt(f?a[s]:T),b=yr(v);return b}),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===Gt)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,v=yr(p);return v}),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 v=l;v<f.v;v+=1){var b=e.get(v+"");b!==void 0?or(b,T):v in a&&(b=i(()=>yr(T)),e.set(v+"",b))}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!==Ot){var m=X();return e?.before(m),B(m),m}return B(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!==Ot){var m=X();return u?.before(m),B(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!==Ot){var n=X();return m===null?o?.after(n):m.before(n),B(n),n}return B(m),m}function je(r){r.textContent=""}function Ee(){return!1}function Ae(r){var t=c,e=h;P(null),vr(null);try{return r()}finally{P(t),vr(e)}}function Im(r){h===null&&(c===null&&vm(),bm()),Ir&&pm()}function Pm(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:V,deps:null,nodes_start:null,nodes_end:null,f:r|I|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|=vt}catch(a){throw S(o),a}else t!==null&&Dr(o);var n=o;if(e&&n.deps===null&&n.teardown===null&&n.nodes_start===null&&n.first===n.last&&(n.f&Sr)===0&&(n=n.first,(r&cr)!==0&&(r&Xr)!==0&&n!==null&&(n.f|=Xr)),n!==null&&(n.parent=m,m!==null&&Pm(n,m),c!==null&&(c.f&z)!==0&&(r&Ar)===0)){var i=c;(i.effects??=[]).push(n)}return o}function yt(){return c!==null&&!br}function Ym(r){const t=pr(Ct,null,!1);return N(t,C),t.teardown=r,t}function Lm(r){Im();var t=h.f,e=!c&&(t&gr)!==0&&(t&vt)===0;if(e){var m=V;(m.e??=[]).push(r)}else return ze(r)}function ze(r){return pr(Tt|sm,r,!1)}function qm(r){nr.ensure();const t=pr(Ar|Sr,r,!0);return()=>{S(t)}}function Xm(r){nr.ensure();const t=pr(Ar|Sr,r,!0);return(e={})=>new Promise(m=>{e.outro?Kr(t,()=>{S(t),m(void 0)}):(S(t),m(void 0))})}function Um(r){return pr(Tt,r,!1)}function Hm(r){return pr(St|Sr,r,!0)}function Re(r,t=0){return pr(Ct|t,r,!0)}function wr(r,t=[],e=[],m=[]){Sm(m,t,e,o=>{pr(Ct,()=>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|Sr,r,!0)}function Te(r){var t=r.teardown;if(t!==null){const e=Ir,m=c;Oe(!0),P(null);try{t.call(null)}finally{Oe(e),P(m)}}}function Ce(r,t=!1){var e=r.first;for(r.first=r.last=null;e!==null;){const o=e.ac;o!==null&&Ae(()=>{o.abort(Ur)});var m=e.next;(e.f&Ar)!==0?e.parent=null:S(e,t),e=m}}function Vm(r){for(var t=r.first;t!==null;){var e=t.next;(t.f&gr)===0&&S(t),t=e}}function S(r,t=!0){var e=!1;(t||(r.f&Bt)!==0)&&r.nodes_start!==null&&r.nodes_end!==null&&(Km(r.nodes_start,r.nodes_end),e=!0),Ce(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&&Be(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 Be(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&&S(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 Ut(r){Se(r,!0)}function Se(r,t){if((r.f&q)!==0){r.f^=q,(r.f&C)===0&&(N(r,I),Dr(r));for(var e=r.first;e!==null;){var m=e.next,o=(e.f&Xr)!==0||(e.f&gr)!==0;Se(e,o?t:!1),e=m}if(r.transitions!==null)for(const n of r.transitions)(n.is_global||t)&&n.in()}}function Ge(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 Cr=!1;function _t(r){Cr=r}let Ir=!1;function Oe(r){Ir=r}let c=null,br=!1;function P(r){c=r}let h=null;function vr(r){h=r}let _r=null;function Wm(r){c!==null&&(_r===null?_r=[r]:_r.push(r))}let G=null,U=0,Q=null;function Jm(r){Q=r}let Me=1,nt=0,Pr=nt;function De(r){Pr=r}function Fe(){return++Me}function ot(r){var t=r.f;if((t&I)!==0)return!0;if(t&z&&(r.f&=~Gr),(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,C)}return!1}function Ie(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&z)!==0?Ie(n,t,!1):t===n&&(e?N(n,I):(n.f&C)!==0&&N(n,ur),Dr(n))}}function Pe(r){var t=G,e=U,m=Q,o=c,n=_r,i=V,a=br,s=Pr,l=r.f;G=null,U=0,Q=null,c=(l&(gr|Ar))===0?r:null,_r=null,Hr(r.ctx),br=!1,Pr=++nt,r.ac!==null&&(Ae(()=>{r.ac.abort(Ur)}),r.ac=null);try{r.f|=Nt;var d=r.fn,f=d(),p=r.deps;if(G!==null){var v;if(kt(r,U),p!==null&&U>0)for(p.length=U+G.length,v=0;v<G.length;v++)p[U+v]=G[v];else r.deps=p=G;if(Cr&&yt()&&(r.f&er)!==0)for(v=U;v<p.length;v++)(p[v].reactions??=[]).push(r)}else p!==null&&U<p.length&&(kt(r,U),p.length=U);if(le()&&Q!==null&&!br&&p!==null&&(r.f&(z|ur|I))===0)for(v=0;v<Q.length;v++)Ie(Q[v],r);return o!==null&&o!==r&&(nt++,Q!==null&&(m===null?m=Q:m.push(...Q))),(r.f&zr)!==0&&(r.f^=zr),f}catch(b){return pe(b)}finally{r.f^=Nt,G=t,U=e,Q=m,c=o,_r=n,Hr(i),br=a,Pr=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&z)!==0&&(G===null||!G.includes(t))&&(N(t,ur),(t.f&er)!==0&&(t.f^=er,t.f&=~Gr),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,C);var e=h,m=Cr;h=r,Cr=!0;try{(t&cr)!==0?Vm(r):Ce(r),Te(r);var o=Pe(r);r.teardown=typeof o=="function"?o:null,r.wv=Me;var n;zt&&km&&(r.f&I)!==0&&r.deps}finally{Cr=m,h=e}}}function x(r){var t=r.f,e=(t&z)!==0;if(c!==null&&!br){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,G===null&&o!==null&&o[U]===r?U++:G===null?G=[r]:G.includes(r)||G.push(r));else{(c.deps??=[]).push(r);var n=r.reactions;n===null?r.reactions=[c]:n.includes(c)||n.push(c)}}}if(Ir){if(Rr.has(r))return Rr.get(r);if(e){var i=r,a=i.v;return((i.f&C)===0&&i.reactions!==null||Le(i))&&(a=Pt(i)),Rr.set(i,a),a}}else e&&!K?.has(r)&&(i=r,ot(i)&&ue(i),Cr&&yt()&&(i.f&er)===0&&Ye(i));if(K?.has(r))return K.get(r);if((r.f&zr)!==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&z)!==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&z)!==0&&Le(t))return!0;return!1}function Qm(r){var t=br;try{return br=!0,r()}finally{br=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;P(null),vr(null);try{for(var p,v=[];n!==null;){var b=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?v.push(Y):p=Y}if(r.cancelBubble||b===t||b===null)break;n=b}if(p){for(let Y of v)queueMicrotask(()=>{throw Y});throw p}}finally{r.__root=t,delete r.currentTarget,P(d),vr(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 O(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 Ue(){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&vt)===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 Ve(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!==Or||n.data!==Qt);)n=J(n);if(!n)throw Lr;mr(!0),B(n);const i=Ve(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),B(o)}}const Jr=new Map;function Ve(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 v=f[p];if(!a.has(v)){a.add(v);var b=nn(v);t.addEventListener(v,$t,{passive:b});var y=Jr.get(v);y===void 0?(document.addEventListener(v,$t,{passive:b}),Jr.set(v,1)):Jr.set(v,y+1)}}};s(Rt(qe)),Ht.add(s);var l=void 0,d=Xm(()=>{var f=e??t.appendChild(X());return zm(f,{pending:()=>{}},p=>{if(n){ie({});var v=V;v.c=n}if(o&&(m.$$events=o),g&&Wr(p,null),l=r(p,m)||{},g&&(h.nodes_end=u,u===null||u.nodeType!==Or||u.data!==At))throw ft(),Lr;n&&se()}),()=>{for(var p of a){t.removeEventListener(p,$t);var v=Jr.get(p);--v===0?(document.removeEventListener(p,$t),Jr.delete(p)):Jr.set(p,v)}Ht.delete(s),f!==e&&f.parentNode?.removeChild(f)}});return Vt.set(l,d),l}let Vt=new WeakMap;function an(r,t){const e=Vt.get(r);return e?(Vt.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)Ut(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&&(S(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();Ge(i,l),l.append(X()),this.#e.set(n,{effect:i,fragment:l})}else S(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)||(S(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();B(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!==Or||n.data!==r);)n=J(n);if(n===null)mr(!1);else{var i=J(n);n.remove(),B(i)}}g||(o=document.head.appendChild(X()));try{wt(()=>t(o),Bt)}finally{m&&(mr(!0),B(e))}}function dn(r,t){Um(()=>{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=It(()=>(l=!1,s())),f=h;return(function(p,v){if(arguments.length>0){const b=v?x(d):p;return or(d,b),l=!0,o!==void 0&&(o=b),p}return Ir&&l||(f.f&hr)!==0?d.v:x(d)})}function bn(r){return new vn(r)}class vn{#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=bn({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=O('<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@latest/font/bootstrap-icons.css" class="svelte-pdmrmr"/>'),un=O('<span style="float:right" class="svelte-pdmrmr">▼</span>'),hn=O('<span style="float:right" class="svelte-pdmrmr">►</span>'),xn=O('<span style="float:right"> </span>'),yn=O('<button style="" class="custom-button btn btn-outline-primary nav-link active svelte-pdmrmr" aria-current="page"><i></i> <!></button>'),wn=O('<span style="float:right"> </span>'),_n=O('<button style="color:black;" class="custom-button btn nav-link svelte-pdmrmr"><i></i> <!></button>'),kn=O('<div style="padding-left:0.8em" class="svelte-pdmrmr"></div>'),$n=O('<button style="color:black;line-height: 100%;" class="custom-button btn nav-link svelte-pdmrmr"><i></i> <!></button> <!>',1),jn=O('<span style="float:right"> </span>'),En=O('<button style="" class="custom-button btn btn-outline-primary nav-link active svelte-pdmrmr" aria-current="page"><i></i> <!></button>'),An=O('<span style="float:right"> </span>'),zn=O('<button style="color:black;" class="custom-button btn nav-link svelte-pdmrmr"><i></i> <!></button>'),Rn=O('<li part="li" class="nav-item svelte-pdmrmr"><!></li>'),Tn=O('<span class="svelte-pdmrmr"><!></span>');const Cn={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
  /*!
@@ -7,7 +7,7 @@
7
7
  * Copyright 2011-2021 The Bootstrap Authors
8
8
  * Copyright 2011-2021 Twitter, Inc.
9
9
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
10
- */:host {--bs-blue: #0d6efd;--bs-indigo: #6610f2;--bs-purple: #6f42c1;--bs-pink: #d63384;--bs-red: #dc3545;--bs-orange: #fd7e14;--bs-yellow: #ffc107;--bs-green: #198754;--bs-teal: #20c997;--bs-cyan: #0dcaf0;--bs-black: #000;--bs-white: #fff;--bs-gray: #6c757d;--bs-gray-dark: #343a40;--bs-gray-100: #f8f9fa;--bs-gray-200: #e9ecef;--bs-gray-300: #dee2e6;--bs-gray-400: #ced4da;--bs-gray-500: #adb5bd;--bs-gray-600: #6c757d;--bs-gray-700: #495057;--bs-gray-800: #343a40;--bs-gray-900: #212529;--bs-primary: #0d6efd;--bs-secondary: #6c757d;--bs-success: #198754;--bs-info: #0dcaf0;--bs-warning: #ffc107;--bs-danger: #dc3545;--bs-light: #f8f9fa;--bs-dark: #212529;--bs-primary-rgb: 13, 110, 253;--bs-secondary-rgb: 108, 117, 125;--bs-success-rgb: 25, 135, 84;--bs-info-rgb: 13, 202, 240;--bs-warning-rgb: 255, 193, 7;--bs-danger-rgb: 220, 53, 69;--bs-light-rgb: 248, 249, 250;--bs-dark-rgb: 33, 37, 41;--bs-primary-text-emphasis: rgb(5.2, 44, 101.2);--bs-secondary-text-emphasis: rgb(43.2, 46.8, 50);--bs-success-text-emphasis: rgb(10, 54, 33.6);--bs-info-text-emphasis: rgb(5.2, 80.8, 96);--bs-warning-text-emphasis: rgb(102, 77.2, 2.8);--bs-danger-text-emphasis: rgb(88, 21.2, 27.6);--bs-light-text-emphasis: #495057;--bs-dark-text-emphasis: #495057;--bs-primary-bg-subtle: rgb(206.6, 226, 254.6);--bs-secondary-bg-subtle: rgb(225.6, 227.4, 229);--bs-success-bg-subtle: rgb(209, 231, 220.8);--bs-info-bg-subtle: rgb(206.6, 244.4, 252);--bs-warning-bg-subtle: rgb(255, 242.6, 205.4);--bs-danger-bg-subtle: rgb(248, 214.6, 217.8);--bs-light-bg-subtle: rgb(251.5, 252, 252.5);--bs-dark-bg-subtle: #ced4da;--bs-primary-border-subtle: rgb(158.2, 197, 254.2);--bs-secondary-border-subtle: rgb(196.2, 199.8, 203);--bs-success-border-subtle: rgb(163, 207, 186.6);--bs-info-border-subtle: rgb(158.2, 233.8, 249);--bs-warning-border-subtle: rgb(255, 230.2, 155.8);--bs-danger-border-subtle: rgb(241, 174.2, 180.6);--bs-light-border-subtle: #e9ecef;--bs-dark-border-subtle: #adb5bd;--bs-white-rgb: 255, 255, 255;--bs-black-rgb: 0, 0, 0;--bs-font-sans-serif: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--bs-font-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--bs-gradient: linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));--bs-body-font-family: var(--bs-font-sans-serif);--bs-body-font-size: 1rem;--bs-body-font-weight: 400;--bs-body-line-height: 1.5;--bs-body-color: #212529;--bs-body-color-rgb: 33, 37, 41;--bs-body-bg: #fff;--bs-body-bg-rgb: 255, 255, 255;--bs-emphasis-color: #000;--bs-emphasis-color-rgb: 0, 0, 0;--bs-secondary-color: rgba(33, 37, 41, 0.75);--bs-secondary-color-rgb: 33, 37, 41;--bs-secondary-bg: #e9ecef;--bs-secondary-bg-rgb: 233, 236, 239;--bs-tertiary-color: rgba(33, 37, 41, 0.5);--bs-tertiary-color-rgb: 33, 37, 41;--bs-tertiary-bg: #f8f9fa;--bs-tertiary-bg-rgb: 248, 249, 250;--bs-heading-color: inherit;--bs-link-color: #0d6efd;--bs-link-color-rgb: 13, 110, 253;--bs-link-decoration: underline;--bs-link-hover-color: rgb(10.4, 88, 202.4);--bs-link-hover-color-rgb: 10, 88, 202;--bs-code-color: #d63384;--bs-highlight-color: #212529;--bs-highlight-bg: rgb(255, 242.6, 205.4);--bs-border-width: 1px;--bs-border-style: solid;--bs-border-color: #dee2e6;--bs-border-color-translucent: rgba(0, 0, 0, 0.175);--bs-border-radius: 0.375rem;--bs-border-radius-sm: 0.25rem;--bs-border-radius-lg: 0.5rem;--bs-border-radius-xl: 1rem;--bs-border-radius-xxl: 2rem;--bs-border-radius-2xl: var(--bs-border-radius-xxl);--bs-border-radius-pill: 50rem;--bs-box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);--bs-box-shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);--bs-box-shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);--bs-box-shadow-inset: inset 0 1px 2px rgba(0, 0, 0, 0.075);--bs-focus-ring-width: 0.25rem;--bs-focus-ring-opacity: 0.25;--bs-focus-ring-color: rgba(13, 110, 253, 0.25);--bs-form-valid-color: #198754;--bs-form-valid-border-color: #198754;--bs-form-invalid-color: #dc3545;--bs-form-invalid-border-color: #dc3545;}.svelte-pdmrmr,
10
+ */.svelte-pdmrmr,
11
11
  .svelte-pdmrmr::before,
12
12
  .svelte-pdmrmr::after {box-sizing:border-box;}
13
13
  @media (prefers-reduced-motion: no-preference) {:host {scroll-behavior:smooth;}
@@ -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,Cn);function e(b,y){t.$$host.dispatchEvent(new CustomEvent(b,{detail:y}))}function m(b){e("pageChange",{page:b})}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(b=""){o(b),rt()},get navlink(){return n()},set navlink(b){n(b),rt()},get navpage(){return i()},set navpage(b){i(b),rt()},get selected(){return a()},set selected(b){a(b),rt()}},f=Tn();ln("pdmrmr",b=>{var y=gn();$(b,y)});var p=ar(f);{var v=b=>{var y=Rn(),Y=ar(y);{var k=sr=>{var rr=$n(),M=qt(rr);M.__click=()=>{l()};var lr=ar(M),jr=ir(lr),D=ir(jr);{var L=R=>{var _=un();$(R,_)},tr=R=>{var _=hn();$(R,_)};fr(D,R=>{x(s)||n().subLinks&&n().subLinks.find(_=>_.key===i())?R(L):R(tr,!1)})}H(M);var E=ir(M,2);{var Br=R=>{var _=kn();Cm(_,21,()=>n().subLinks,F=>F.key,(F,A)=>{var Je=Ue(),Bn=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(A).badge.class||"badge rounded-pill"} ${x(A).badge.classcolor||"bg-secondary"}`,"svelte-pdmrmr"),kr(Jt,x(A).badge.text)}),$(Yr,Er)};fr(Kt,Yr=>{x(A).badge&&Yr(Wt)})}H(Nr),wr(()=>{$r(it,1,`bi me-2 bi-${x(A).icon??""}`,"svelte-pdmrmr"),kr(st,` ${x(A).label??""} `)}),$(Zr,Nr)},Sn=Zr=>{var Nr=_n();Nr.__click=()=>{m(x(A).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(A).badge.class||"badge rounded-pill"} ${x(A).badge.classcolor||"bg-secondary"}`,"svelte-pdmrmr"),kr(Jt,x(A).badge.text)}),$(Yr,Er)};fr(Kt,Yr=>{x(A).badge&&Yr(Wt)})}H(Nr),wr(()=>{$r(it,1,`bi me-2 bi-${x(A).icon??""}`,"svelte-pdmrmr"),kr(st,` ${x(A).label??""} `)}),$(Zr,Nr)};fr(Bn,Zr=>{x(A).key===i()||a()?Zr(Nn):Zr(Sn,!1)})}$(F,Je)}),H(_),$(R,_)};fr(E,R=>{(x(s)||n().subLinks&&n().subLinks.find(_=>_.key===i()))&&R(Br)})}wr(()=>{$r(lr,1,`bi me-2 bi-${n().icon??""}`,"svelte-pdmrmr"),kr(jr,` ${n().label??""} `)}),$(sr,rr)},j=sr=>{var rr=Ue(),M=qt(rr);{var lr=D=>{var L=En(),tr=ar(L),E=ir(tr),Br=ir(E);{var R=_=>{var F=jn(),A=ar(F,!0);H(F),wr(()=>{$r(F,1,`${n().badge.class||"badge rounded-pill"} ${n().badge.classcolor||"bg-secondary"}`,"svelte-pdmrmr"),kr(A,n().badge.text)}),$(_,F)};fr(Br,_=>{n().badge&&_(R)})}H(L),wr(()=>{$r(tr,1,`bi me-2 bi-${n().icon??""}`,"svelte-pdmrmr"),kr(E,` ${n().label??""} `)}),$(D,L)},jr=D=>{var L=zn();L.__click=()=>{m(n().key)};var tr=ar(L),E=ir(tr),Br=ir(E);{var R=_=>{var F=An(),A=ar(F,!0);H(F),wr(()=>{$r(F,1,`${n().badge.class||"badge rounded-pill"} ${n().badge.classcolor||"bg-secondary"}`,"svelte-pdmrmr"),kr(A,n().badge.text)}),$(_,F)};fr(Br,_=>{n().badge&&_(R)})}H(L),wr(()=>{$r(tr,1,`bi me-2 bi-${n().icon??""}`,"svelte-pdmrmr"),kr(E,` ${n().label??""} `)}),$(D,L)};fr(M,D=>{n().key===i()||a()?D(lr):D(jr,!1)},!0)}$(sr,rr)};fr(Y,sr=>{n().subLinks?.length?sr(k):sr(j,!1)})}H(y),$(b,y)};fr(p,b=>{n()&&b(v)})}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