@htmlbricks/hb-sidenav-link 0.61.58 → 0.62.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(Jt){"use strict";typeof window<"u"&&((window.__svelte??={}).v??=new Set).add("5");const rm=1,tm=2,em=16,mm=1,om=2,Zt="[",lt="[!",Et="]",Yr={},T=Symbol(),Qt=!1;var re=Array.isArray,nm=Array.prototype.indexOf,At=Array.from,dt=Object.keys,pt=Object.defineProperty,Lr=Object.getOwnPropertyDescriptor,am=Object.prototype,im=Array.prototype,sm=Object.getPrototypeOf,te=Object.isExtensible;function lm(r){for(var t=0;t<r.length;t++)r[t]()}function ee(){var r,t,e=new Promise((m,n)=>{r=m,t=n});return{promise:e,resolve:r,reject:t}}const C=2,bt=4,zt=8,ur=16,hr=32,Ar=64,vt=128,or=512,B=1024,L=2048,xr=4096,U=8192,zr=16384,Rt=32768,qr=65536,me=1<<17,Tt=1<<18,Nr=1<<19,dm=1<<20,Zr=32768,Ct=1<<21,Bt=1<<22,Rr=1<<23,Nt=Symbol("$state"),pm=Symbol("legacy props"),Xr=new class extends Error{name="StaleReactionError";message="The reaction that called `getAbortSignal()` was re-run or destroyed"},St=3,Sr=8;function bm(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function vm(r){throw new Error("https://svelte.dev/e/effect_in_teardown")}function fm(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function cm(r){throw new Error("https://svelte.dev/e/effect_orphan")}function gm(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function um(){throw new Error("https://svelte.dev/e/hydration_failed")}function hm(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function xm(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function ym(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function wm(){throw new Error("https://svelte.dev/e/svelte_boundary_reset_onerror")}function ft(r){console.warn("https://svelte.dev/e/hydration_mismatch")}function _m(){console.warn("https://svelte.dev/e/svelte_boundary_reset_noop")}let h=!1;function nr(r){h=r}let x;function N(r){if(r===null)throw ft(),Yr;return x=r}function ct(){return N(tr(x))}function Z(r){if(h){if(tr(x)!==null)throw ft(),Yr;x=r}}function km(r=1){if(h){for(var t=r,e=x;t--;)e=tr(e);x=e}}function gt(r=!0){for(var t=0,e=x;;){if(e.nodeType===Sr){var m=e.data;if(m===Et){if(t===0)return e;t-=1}else(m===Zt||m===lt)&&(t+=1)}var n=tr(e);r&&e.remove(),e=n}}function oe(r){if(!r||r.nodeType!==Sr)throw ft(),Yr;return r.data}function ne(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 jm=!1,Q=null;function Ur(r){Q=r}function ie(r,t=!1,e){Q={p:Q,i:!1,c:null,e:null,s:r,x:null,l:null}}function se(r){var t=Q,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,Q=t.p,r??{}}function le(){return!0}let Gr=[];function de(){var r=Gr;Gr=[],lm(r)}function Gt(r){if(Gr.length===0&&!Qr){var t=Gr;queueMicrotask(()=>{t===Gr&&de()})}Gr.push(r)}function Em(){for(;Gr.length>0;)de()}function pe(r){var t=y;if(t===null)return g.f|=Rr,r;if((t.f&Rt)===0){if((t.f&vt)===0)throw r;t.b.error(r)}else Hr(r,t)}function Hr(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 E=null,H=null,pr=[],ht=null,Ot=!1,Qr=!1;class ar{committed=!1;current=new Map;previous=new Map;#t=new Set;#r=new Set;#e=0;#m=0;#s=null;#a=[];#i=[];skipped_effects=new Set;is_fork=!1;process(t){pr=[],this.apply();var e={parent:null,effect:null,effects:[],render_effects:[],block_effects:[]};for(const m of t)this.#o(m,e);this.is_fork||this.#l(),this.#m>0||this.is_fork?(this.#n(e.effects),this.#n(e.render_effects),this.#n(e.block_effects)):(E=null,ve(e.render_effects),ve(e.effects),this.#s?.resolve()),H=null}#o(t,e){t.f^=B;for(var m=t.first;m!==null;){var n=m.f,o=(n&(hr|Ar))!==0,a=o&&(n&B)!==0,i=a||(n&U)!==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:[]}),!i&&m.fn!==null){o?m.f^=B:(n&bt)!==0?e.effects.push(m):nt(m)&&((m.f&ur)!==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.#n(e.effects),this.#n(e.render_effects),this.#n(e.block_effects),e=e.parent),m=l.next,l=l.parent}}#n(t){for(const e of t)((e.f&L)!==0?this.#a:this.#i).push(e),G(e,B)}capture(t,e){this.previous.has(t)||this.previous.set(t,e),(t.f&Rr)===0&&(this.current.set(t,t.v),H?.set(t,t.v))}activate(){E=this,this.apply()}deactivate(){E=null,H=null}flush(){if(this.activate(),pr.length>0){if(be(),E!==null&&E!==this)return}else this.#e===0&&this.process([]);this.deactivate()}discard(){for(const t of this.#r)t(this);this.#r.clear()}#l(){if(this.#m===0){for(const t of this.#t)t();this.#t.clear()}this.#e===0&&this.#d()}#d(){if(ut.size>1){this.previous.clear();var t=H,e=!0,m={parent:null,effect:null,effects:[],render_effects:[],block_effects:[]};for(const n of ut){if(n===this){e=!1;continue}const o=[];for(const[i,s]of this.current){if(n.current.has(i))if(e&&s!==n.current.get(i))n.current.set(i,s);else continue;o.push(i)}if(o.length===0)continue;const a=[...n.current.keys()].filter(i=>!this.current.has(i));if(a.length>0){const i=new Set,s=new Map;for(const l of o)fe(l,a,i,s);if(pr.length>0){E=n,n.apply();for(const l of pr)n.#o(l,m);pr=[],n.deactivate()}}}E=null,H=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.#a)G(t,L),Or(t);for(const t of this.#i)G(t,xr),Or(t);this.#a=[],this.#i=[],this.flush()}oncommit(t){this.#t.add(t)}ondiscard(t){this.#r.add(t)}settled(){return(this.#s??=ee()).promise}static ensure(){if(E===null){const t=E=new ar;ut.add(E),Qr||ar.enqueue(()=>{E===t&&t.flush()})}return E}static enqueue(t){Gt(t)}apply(){}}function rt(r){var t=Qr;Qr=!0;try{for(var e;;){if(Em(),pr.length===0&&(E?.flush(),pr.length===0))return ht=null,e;be()}}finally{Qr=t}}function be(){var r=Dr;Ot=!0;try{var t=0;for(Oe(!0);pr.length>0;){var e=ar.ensure();if(t++>1e3){var m,n;Am()}e.process(pr),Tr.clear()}}finally{Ot=!1,Oe(r),ht=null}}function Am(){try{gm()}catch(r){Hr(r,ht)}}let yr=null;function ve(r){var t=r.length;if(t!==0){for(var e=0;e<t;){var m=r[e++];if((m.f&(zr|U))===0&&nt(m)&&(yr=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),yr?.size>0)){Tr.clear();for(const n of yr){if((n.f&(zr|U))!==0)continue;const o=[n];let a=n.parent;for(;a!==null;)yr.has(a)&&(yr.delete(a),o.push(a)),a=a.parent;for(let i=o.length-1;i>=0;i--){const s=o[i];(s.f&(zr|U))===0&&at(s)}}yr.clear()}}yr=null}}function fe(r,t,e,m){if(!e.has(r)&&(e.add(r),r.reactions!==null))for(const n of r.reactions){const o=n.f;(o&C)!==0?fe(n,t,e,m):(o&(Bt|ur))!==0&&(o&L)===0&&ce(n,t,m)&&(G(n,L),Or(n))}}function ce(r,t,e){const m=e.get(r);if(m!==void 0)return m;if(r.deps!==null)for(const n of r.deps){if(t.includes(n))return!0;if((n.f&C)!==0&&ce(n,t,e))return e.set(n,!0),!0}return e.set(r,!1),!1}function Or(r){for(var t=ht=r;t.parent!==null;){t=t.parent;var e=t.f;if(Ot&&t===y&&(e&ur)!==0&&(e&Tt)===0)return;if((e&(Ar|hr))!==0){if((e&B)===0)return;t.f^=B}}pr.push(t)}function zm(r){let t=0,e=Mr(0),m;return()=>{yt()&&(w(e),Re(()=>(t===0&&(m=Jm(()=>r(()=>et(e)))),t+=1,()=>{Gt(()=>{t-=1,t===0&&(m?.(),m=void 0,et(e))})})))}}var Rm=qr|Nr|vt;function Tm(r,t,e){new Cm(r,t,e)}class Cm{parent;#t=!1;#r;#e=h?x:null;#m;#s;#a;#i=null;#o=null;#n=null;#l=null;#d=null;#v=0;#p=0;#f=!1;#b=null;#x=zm(()=>(this.#b=Mr(this.#v),()=>{this.#b=null}));constructor(t,e,m){this.#r=t,this.#m=e,this.#s=m,this.parent=y.b,this.#t=!!this.#m.pending,this.#a=wt(()=>{if(y.b=this,h){const o=this.#e;ct(),o.nodeType===Sr&&o.data===lt?this.#w():this.#y()}else{var n=this.#u();try{this.#i=er(()=>m(n))}catch(o){this.error(o)}this.#p>0?this.#g():this.#t=!1}return()=>{this.#d?.remove()}},Rm),h&&(this.#r=x)}#y(){try{this.#i=er(()=>this.#s(this.#r))}catch(t){this.error(t)}this.#t=!1}#w(){const t=this.#m.pending;t&&(this.#o=er(()=>t(this.#r)),ar.enqueue(()=>{var e=this.#u();this.#i=this.#c(()=>(ar.ensure(),er(()=>this.#s(e)))),this.#p>0?this.#g():(Vr(this.#o,()=>{this.#o=null}),this.#t=!1)}))}#u(){var t=this.#r;return this.#t&&(this.#d=rr(),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=y,m=g,n=Q;fr(this.#a),q(this.#a),Ur(this.#a.ctx);try{return t()}catch(o){return pe(o),null}finally{fr(e),q(m),Ur(n)}}#g(){const t=this.#m.pending;this.#i!==null&&(this.#l=document.createDocumentFragment(),this.#l.append(this.#d),Ge(this.#i,this.#l)),this.#o===null&&(this.#o=er(()=>t(this.#r)))}#h(t){if(!this.has_pending_snippet()){this.parent&&this.parent.#h(t);return}this.#p+=t,this.#p===0&&(this.#t=!1,this.#o&&Vr(this.#o,()=>{this.#o=null}),this.#l&&(this.#r.before(this.#l),this.#l=null))}update_pending_count(t){this.#h(t),this.#v+=t,this.#b&&tt(this.#b,this.#v)}get_effect_pending(){return this.#x(),w(this.#b)}error(t){var e=this.#m.onerror;let m=this.#m.failed;if(this.#f||!e&&!m)throw t;this.#i&&(S(this.#i),this.#i=null),this.#o&&(S(this.#o),this.#o=null),this.#n&&(S(this.#n),this.#n=null),h&&(N(this.#e),km(),N(gt()));var n=!1,o=!1;const a=()=>{if(n){_m();return}n=!0,o&&wm(),ar.ensure(),this.#v=0,this.#n!==null&&Vr(this.#n,()=>{this.#n=null}),this.#t=this.has_pending_snippet(),this.#i=this.#c(()=>(this.#f=!1,er(()=>this.#s(this.#r)))),this.#p>0?this.#g():this.#t=!1};var i=g;try{q(null),o=!0,e?.(t,a),o=!1}catch(s){Hr(s,this.#a&&this.#a.parent)}finally{q(i)}m&&Gt(()=>{this.#n=this.#c(()=>{ar.ensure(),this.#f=!0;try{return er(()=>{m(this.#r,()=>t,()=>a)})}catch(s){return Hr(s,this.#a.parent),null}finally{this.#f=!1}})})}}function Bm(r,t,e,m){const n=Mt;if(e.length===0&&r.length===0){m(t.map(n));return}var o=E,a=y,i=Nm();function s(){Promise.all(e.map(l=>Sm(l))).then(l=>{i();try{m([...t.map(n),...l])}catch(v){(a.f&zr)===0&&Hr(v,a)}o?.deactivate(),xt()}).catch(l=>{Hr(l,a)})}r.length>0?Promise.all(r).then(()=>{i();try{return s()}finally{o?.deactivate(),xt()}}):s()}function Nm(){var r=y,t=g,e=Q,m=E;return function(o=!0){fr(r),q(t),Ur(e),o&&m?.activate()}}function xt(){fr(null),q(null),Ur(null)}function Mt(r){var t=C|L,e=g!==null&&(g.f&C)!==0?g:null;return y!==null&&(y.f|=Nr),{ctx:Q,deps:null,effects:null,equals:ne,f:t,fn:r,reactions:null,rv:0,v:T,wv:0,parent:e??y,ac:null}}function Sm(r,t){let e=y;e===null&&bm();var m=e.b,n=void 0,o=Mr(T),a=!g,i=new Map;return Xm(()=>{var s=ee();n=s.promise;try{Promise.resolve(r()).then(s.resolve,s.reject).then(()=>{l===E&&l.committed&&l.deactivate(),xt()})}catch(d){s.reject(d),xt()}var l=E;if(a){var v=!m.is_pending();m.update_pending_count(1),l.increment(v),i.get(l)?.reject(Xr),i.delete(l),i.set(l,s)}const f=(d,p=void 0)=>{if(l.activate(),p)p!==Xr&&(o.f|=Rr,tt(o,p));else{(o.f&Rr)!==0&&(o.f^=Rr),tt(o,d);for(const[b,c]of i){if(i.delete(b),b===l)break;c.reject(Xr)}}a&&(m.update_pending_count(-1),l.decrement(v))};s.promise.then(f,d=>f(null,d||"unknown"))}),Pm(()=>{for(const s of i.values())s.reject(Xr)}),new Promise(s=>{function l(v){function f(){v===n?s(o):l(n)}v.then(f,f)}l(n)})}function Gm(r){const t=Mt(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 Om(r){for(var t=r.parent;t!==null;){if((t.f&C)===0)return t;t=t.parent}return null}function Dt(r){var t,e=y;fr(Om(r));try{r.f&=~Zr,ge(r),t=Ye(r)}finally{fr(e)}return t}function ue(r){var t=Dt(r);if(r.equals(t)||(r.v=t,r.wv=Pe()),!Ir)if(H!==null)yt()&&H.set(r,r.v);else{var e=(r.f&or)===0?xr:B;G(r,e)}}let It=new Set;const Tr=new Map;let he=!1;function Mr(r,t){var e={f:0,v:r,reactions:null,equals:ne,rv:0,wv:0};return e}function wr(r,t){const e=Mr(r);return Vm(e),e}function xe(r,t=!1,e=!0){const m=Mr(r);return t||(m.equals=ae),m}function ir(r,t,e=!1){g!==null&&(!vr||(g.f&me)!==0)&&le()&&(g.f&(C|ur|Bt|me))!==0&&!kr?.includes(r)&&ym();let m=e?mt(t):t;return tt(r,m)}function tt(r,t){if(!r.equals(t)){var e=r.v;Ir?Tr.set(r,t):Tr.set(r,e),r.v=t;var m=ar.ensure();m.capture(r,e),(r.f&C)!==0&&((r.f&L)!==0&&Dt(r),G(r,(r.f&or)!==0?B:xr)),r.wv=Pe(),ye(r,L),y!==null&&(y.f&B)!==0&&(y.f&(hr|Ar))===0&&(mr===null?Km([r]):mr.push(r)),!m.is_fork&&It.size>0&&!he&&Mm()}return t}function Mm(){he=!1;const r=Array.from(It);for(const t of r)(t.f&B)!==0&&G(t,xr),nt(t)&&at(t);It.clear()}function et(r){ir(r,r.v+1)}function ye(r,t){var e=r.reactions;if(e!==null)for(var m=e.length,n=0;n<m;n++){var o=e[n],a=o.f,i=(a&L)===0;if(i&&G(o,t),(a&C)!==0){var s=o;H?.delete(s),(a&Zr)===0&&(a&or&&(o.f|=Zr),ye(s,xr))}else i&&((a&ur)!==0&&yr!==null&&yr.add(o),Or(o))}}function mt(r){if(typeof r!="object"||r===null||Nt in r)return r;const t=sm(r);if(t!==am&&t!==im)return r;var e=new Map,m=re(r),n=wr(0),o=Pr,a=i=>{if(Pr===o)return i();var s=g,l=Pr;q(null),Ie(o);var v=i();return q(s),Ie(l),v};return m&&e.set("length",wr(r.length)),new Proxy(r,{defineProperty(i,s,l){(!("value"in l)||l.configurable===!1||l.enumerable===!1||l.writable===!1)&&hm();var v=e.get(s);return v===void 0?v=a(()=>{var f=wr(l.value);return e.set(s,f),f}):ir(v,l.value,!0),!0},deleteProperty(i,s){var l=e.get(s);if(l===void 0){if(s in i){const v=a(()=>wr(T));e.set(s,v),et(n)}}else ir(l,T),et(n);return!0},get(i,s,l){if(s===Nt)return r;var v=e.get(s),f=s in i;if(v===void 0&&(!f||Lr(i,s)?.writable)&&(v=a(()=>{var p=mt(f?i[s]:T),b=wr(p);return b}),e.set(s,v)),v!==void 0){var d=w(v);return d===T?void 0:d}return Reflect.get(i,s,l)},getOwnPropertyDescriptor(i,s){var l=Reflect.getOwnPropertyDescriptor(i,s);if(l&&"value"in l){var v=e.get(s);v&&(l.value=w(v))}else if(l===void 0){var f=e.get(s),d=f?.v;if(f!==void 0&&d!==T)return{enumerable:!0,configurable:!0,value:d,writable:!0}}return l},has(i,s){if(s===Nt)return!0;var l=e.get(s),v=l!==void 0&&l.v!==T||Reflect.has(i,s);if(l!==void 0||y!==null&&(!v||Lr(i,s)?.writable)){l===void 0&&(l=a(()=>{var d=v?mt(i[s]):T,p=wr(d);return p}),e.set(s,l));var f=w(l);if(f===T)return!1}return v},set(i,s,l,v){var f=e.get(s),d=s in i;if(m&&s==="length")for(var p=l;p<f.v;p+=1){var b=e.get(p+"");b!==void 0?ir(b,T):p in i&&(b=a(()=>wr(T)),e.set(p+"",b))}if(f===void 0)(!d||Lr(i,s)?.writable)&&(f=a(()=>wr(void 0)),ir(f,mt(l)),e.set(s,f));else{d=f.v!==T;var c=a(()=>mt(l));ir(f,c)}var u=Reflect.getOwnPropertyDescriptor(i,s);if(u?.set&&u.set.call(v,l),!d){if(m&&typeof s=="string"){var K=e.get("length"),O=Number(s);Number.isInteger(O)&&O>=K.v&&ir(K,O+1)}et(n)}return!0},ownKeys(i){w(n);var s=Reflect.ownKeys(i).filter(f=>{var d=e.get(f);return d===void 0||d.v!==T});for(var[l,v]of e)v.v!==T&&!(l in i)&&s.push(l);return s},setPrototypeOf(){xm()}})}var we,_e,ke,$e;function Pt(){if(we===void 0){we=window,_e=/Firefox/.test(navigator.userAgent);var r=Element.prototype,t=Node.prototype,e=Text.prototype;ke=Lr(t,"firstChild").get,$e=Lr(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 rr(r=""){return document.createTextNode(r)}function Cr(r){return ke.call(r)}function tr(r){return $e.call(r)}function sr(r,t){if(!h)return Cr(r);var e=Cr(x);if(e===null)e=x.appendChild(rr());else if(t&&e.nodeType!==St){var m=rr();return e?.before(m),N(m),m}return N(e),e}function Ft(r,t=!1){if(!h){var e=Cr(r);return e instanceof Comment&&e.data===""?tr(e):e}if(t&&x?.nodeType!==St){var m=rr();return x?.before(m),N(m),m}return x}function lr(r,t=1,e=!1){let m=h?x:r;for(var n;t--;)n=m,m=tr(m);if(!h)return m;if(e&&m?.nodeType!==St){var o=rr();return m===null?n?.after(o):m.before(o),N(o),o}return N(m),m}function je(r){r.textContent=""}function Ee(){return!1}function Ae(r){var t=g,e=y;q(null),fr(null);try{return r()}finally{q(t),fr(e)}}function Dm(r){y===null&&(g===null&&cm(),fm()),Ir&&vm()}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 br(r,t,e,m=!0){var n=y;n!==null&&(n.f&U)!==0&&(r|=U);var o={ctx:Q,deps:null,nodes_start:null,nodes_end:null,f:r|L|or,first:null,fn:t,last:null,next:null,parent:n,b:n&&n.b,prev:null,teardown:null,transitions:null,wv:0,ac:null};if(e)try{at(o),o.f|=Rt}catch(s){throw S(o),s}else t!==null&&Or(o);if(m){var a=o;if(e&&a.deps===null&&a.teardown===null&&a.nodes_start===null&&a.first===a.last&&(a.f&Nr)===0&&(a=a.first,(r&ur)!==0&&(r&qr)!==0&&a!==null&&(a.f|=qr)),a!==null&&(a.parent=n,n!==null&&Im(a,n),g!==null&&(g.f&C)!==0&&(r&Ar)===0)){var i=g;(i.effects??=[]).push(a)}}return o}function yt(){return g!==null&&!vr}function Pm(r){const t=br(zt,null,!1);return G(t,B),t.teardown=r,t}function Fm(r){Dm();var t=y.f,e=!g&&(t&hr)!==0&&(t&Rt)===0;if(e){var m=Q;(m.e??=[]).push(r)}else return ze(r)}function ze(r){return br(bt|dm,r,!1)}function Ym(r){ar.ensure();const t=br(Ar|Nr,r,!0);return()=>{S(t)}}function Lm(r){ar.ensure();const t=br(Ar|Nr,r,!0);return(e={})=>new Promise(m=>{e.outro?Vr(t,()=>{S(t),m(void 0)}):(S(t),m(void 0))})}function qm(r){return br(bt,r,!1)}function Xm(r){return br(Bt|Nr,r,!0)}function Re(r,t=0){return br(zt|t,r,!0)}function _r(r,t=[],e=[],m=[],n=!1){Bm(m,t,e,o=>{br(n?bt:zt,()=>r(...o.map(w)),!0)})}function wt(r,t=0){var e=br(ur|t,r,!0);return e}function er(r,t=!0){return br(hr|Nr,r,!0,t)}function Te(r){var t=r.teardown;if(t!==null){const e=Ir,m=g;Me(!0),q(null);try{t.call(null)}finally{Me(e),q(m)}}}function Ce(r,t=!1){var e=r.first;for(r.first=r.last=null;e!==null;){const n=e.ac;n!==null&&Ae(()=>{n.abort(Xr)});var m=e.next;(e.f&Ar)!==0?e.parent=null:S(e,t),e=m}}function Um(r){for(var t=r.first;t!==null;){var e=t.next;(t.f&hr)===0&&S(t),t=e}}function S(r,t=!0){var e=!1;(t||(r.f&Tt)!==0)&&r.nodes_start!==null&&r.nodes_end!==null&&(Hm(r.nodes_start,r.nodes_end),e=!0),Ce(r,t&&!e),_t(r,0),G(r,zr);var m=r.transitions;if(m!==null)for(const o of m)o.stop();Te(r);var n=r.parent;n!==null&&n.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 Hm(r,t){for(;r!==null;){var e=r===t?null:tr(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 Vr(r,t,e=!0){var m=[];Yt(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 n of r)n.out(m)}else t()}function Yt(r,t,e){if((r.f&U)===0){if(r.f^=U,r.transitions!==null)for(const a of r.transitions)(a.is_global||e)&&t.push(a);for(var m=r.first;m!==null;){var n=m.next,o=(m.f&qr)!==0||(m.f&hr)!==0&&(r.f&ur)!==0;Yt(m,t,o?e:!1),m=n}}}function Lt(r){Se(r,!0)}function Se(r,t){if((r.f&U)!==0){r.f^=U,(r.f&B)===0&&(G(r,L),Or(r));for(var e=r.first;e!==null;){var m=e.next,n=(e.f&qr)!==0||(e.f&hr)!==0;Se(e,n?t:!1),e=m}if(r.transitions!==null)for(const o of r.transitions)(o.is_global||t)&&o.in()}}function Ge(r,t){for(var e=r.nodes_start,m=r.nodes_end;e!==null;){var n=e===m?null:tr(e);t.append(e),e=n}}let Dr=!1;function Oe(r){Dr=r}let Ir=!1;function Me(r){Ir=r}let g=null,vr=!1;function q(r){g=r}let y=null;function fr(r){y=r}let kr=null;function Vm(r){g!==null&&(kr===null?kr=[r]:kr.push(r))}let I=null,V=0,mr=null;function Km(r){mr=r}let De=1,ot=0,Pr=ot;function Ie(r){Pr=r}function Pe(){return++De}function nt(r){var t=r.f;if((t&L)!==0)return!0;if(t&C&&(r.f&=~Zr),(t&xr)!==0){var e=r.deps;if(e!==null)for(var m=e.length,n=0;n<m;n++){var o=e[n];if(nt(o)&&ue(o),o.wv>r.wv)return!0}(t&or)!==0&&H===null&&G(r,B)}return!1}function Fe(r,t,e=!0){var m=r.reactions;if(m!==null&&!kr?.includes(r))for(var n=0;n<m.length;n++){var o=m[n];(o.f&C)!==0?Fe(o,t,!1):t===o&&(e?G(o,L):(o.f&B)!==0&&G(o,xr),Or(o))}}function Ye(r){var t=I,e=V,m=mr,n=g,o=kr,a=Q,i=vr,s=Pr,l=r.f;I=null,V=0,mr=null,g=(l&(hr|Ar))===0?r:null,kr=null,Ur(r.ctx),vr=!1,Pr=++ot,r.ac!==null&&(Ae(()=>{r.ac.abort(Xr)}),r.ac=null);try{r.f|=Ct;var v=r.fn,f=v(),d=r.deps;if(I!==null){var p;if(_t(r,V),d!==null&&V>0)for(d.length=V+I.length,p=0;p<I.length;p++)d[V+p]=I[p];else r.deps=d=I;if(Dr&&yt()&&(r.f&or)!==0)for(p=V;p<d.length;p++)(d[p].reactions??=[]).push(r)}else d!==null&&V<d.length&&(_t(r,V),d.length=V);if(le()&&mr!==null&&!vr&&d!==null&&(r.f&(C|xr|L))===0)for(p=0;p<mr.length;p++)Fe(mr[p],r);return n!==null&&n!==r&&(ot++,mr!==null&&(m===null?m=mr:m.push(...mr))),(r.f&Rr)!==0&&(r.f^=Rr),f}catch(b){return pe(b)}finally{r.f^=Ct,I=t,V=e,mr=m,g=n,kr=o,Ur(a),vr=i,Pr=s}}function Wm(r,t){let e=t.reactions;if(e!==null){var m=nm.call(e,r);if(m!==-1){var n=e.length-1;n===0?e=t.reactions=null:(e[m]=e[n],e.pop())}}e===null&&(t.f&C)!==0&&(I===null||!I.includes(t))&&(G(t,xr),(t.f&or)!==0&&(t.f^=or,t.f&=~Zr),ge(t),_t(t,0))}function _t(r,t){var e=r.deps;if(e!==null)for(var m=t;m<e.length;m++)Wm(r,e[m])}function at(r){var t=r.f;if((t&zr)===0){G(r,B);var e=y,m=Dr;y=r,Dr=!0;try{(t&ur)!==0?Um(r):Ce(r),Te(r);var n=Ye(r);r.teardown=typeof n=="function"?n:null,r.wv=De;var o;Qt&&jm&&(r.f&L)!==0&&r.deps}finally{Dr=m,y=e}}}function w(r){var t=r.f,e=(t&C)!==0;if(g!==null&&!vr){var m=y!==null&&(y.f&zr)!==0;if(!m&&!kr?.includes(r)){var n=g.deps;if((g.f&Ct)!==0)r.rv<ot&&(r.rv=ot,I===null&&n!==null&&n[V]===r?V++:I===null?I=[r]:I.includes(r)||I.push(r));else{(g.deps??=[]).push(r);var o=r.reactions;o===null?r.reactions=[g]:o.includes(g)||o.push(g)}}}if(Ir){if(Tr.has(r))return Tr.get(r);if(e){var a=r,i=a.v;return((a.f&B)===0&&a.reactions!==null||qe(a))&&(i=Dt(a)),Tr.set(a,i),i}}else if(e){if(a=r,H?.has(a))return H.get(a);nt(a)&&ue(a),Dr&&yt()&&(a.f&or)===0&&Le(a)}else if(H?.has(r))return H.get(r);if((r.f&Rr)!==0)throw r.v;return r.v}function Le(r){if(r.deps!==null){r.f^=or;for(const t of r.deps)(t.reactions??=[]).push(r),(t.f&C)!==0&&(t.f&or)===0&&Le(t)}}function qe(r){if(r.v===T)return!0;if(r.deps===null)return!1;for(const t of r.deps)if(Tr.has(t)||(t.f&C)!==0&&qe(t))return!0;return!1}function Jm(r){var t=vr;try{return vr=!0,r()}finally{vr=t}}const Zm=-7169;function G(r,t){r.f=r.f&Zm|t}const Xe=new Set,qt=new Set;function Qm(r){for(var t=0;t<r.length;t++)Xe.add(r[t]);for(var e of qt)e(r)}let Ue=null;function kt(r){var t=this,e=t.ownerDocument,m=r.type,n=r.composedPath?.()||[],o=n[0]||r.target;Ue=r;var a=0,i=Ue===r&&r.__root;if(i){var s=n.indexOf(i);if(s!==-1&&(t===document||t===window)){r.__root=t;return}var l=n.indexOf(t);if(l===-1)return;s<=l&&(a=s)}if(o=n[a]||r.target,o!==t){pt(r,"currentTarget",{configurable:!0,get(){return o||e}});var v=g,f=y;q(null),fr(null);try{for(var d,p=[];o!==null;){var b=o.assignedSlot||o.parentNode||o.host||null;try{var c=o["__"+m];c!=null&&(!o.disabled||r.target===o)&&c.call(o,r)}catch(u){d?p.push(u):d=u}if(r.cancelBubble||b===t||b===null)break;o=b}if(d){for(let u of p)queueMicrotask(()=>{throw u});throw d}}finally{r.__root=t,delete r.currentTarget,q(v),fr(f)}}}function ro(r){var t=document.createElement("template");return t.innerHTML=r.replaceAll("<!>","<!---->"),t.content}function Kr(r,t){var e=y;e.nodes_start===null&&(e.nodes_start=r,e.nodes_end=t)}function P(r,t){var e=(t&mm)!==0,m=(t&om)!==0,n,o=!r.startsWith("<!>");return()=>{if(h)return Kr(x,null),x;n===void 0&&(n=ro(o?r:"<!>"+r),e||(n=Cr(n)));var a=m||_e?document.importNode(n,!0):n.cloneNode(!0);if(e){var i=Cr(a),s=a.lastChild;Kr(i,s)}else Kr(a,a);return a}}function He(){if(h)return Kr(x,null),x;var r=document.createDocumentFragment(),t=document.createComment(""),e=rr();return r.append(t,e),Kr(t,e),r}function z(r,t){if(h){y.nodes_end=x,ct();return}r!==null&&r.before(t)}const to=["touchstart","touchmove"];function eo(r){return to.includes(r)}function $r(r,t){var e=t==null?"":typeof t=="object"?t+"":t;e!==(r.__t??=r.nodeValue)&&(r.__t=e,r.nodeValue=e+"")}function Ve(r,t){return Ke(r,t)}function mo(r,t){Pt(),t.intro=t.intro??!1;const e=t.target,m=h,n=x;try{for(var o=Cr(e);o&&(o.nodeType!==Sr||o.data!==Zt);)o=tr(o);if(!o)throw Yr;nr(!0),N(o);const a=Ke(r,{...t,anchor:o});return nr(!1),a}catch(a){if(a instanceof Error&&a.message.split(`
2
- `).some(i=>i.startsWith("https://svelte.dev/e/")))throw a;return a!==Yr&&console.warn("Failed to hydrate: ",a),t.recover===!1&&um(),Pt(),je(e),nr(!1),Ve(r,t)}finally{nr(m),N(n)}}const Wr=new Map;function Ke(r,{target:t,anchor:e,props:m={},events:n,context:o,intro:a=!0}){Pt();var i=new Set,s=f=>{for(var d=0;d<f.length;d++){var p=f[d];if(!i.has(p)){i.add(p);var b=eo(p);t.addEventListener(p,kt,{passive:b});var c=Wr.get(p);c===void 0?(document.addEventListener(p,kt,{passive:b}),Wr.set(p,1)):Wr.set(p,c+1)}}};s(At(Xe)),qt.add(s);var l=void 0,v=Lm(()=>{var f=e??t.appendChild(rr());return Tm(f,{pending:()=>{}},d=>{if(o){ie({});var p=Q;p.c=o}if(n&&(m.$$events=n),h&&Kr(d,null),l=r(d,m)||{},h&&(y.nodes_end=x,x===null||x.nodeType!==Sr||x.data!==Et))throw ft(),Yr;o&&se()}),()=>{for(var d of i){t.removeEventListener(d,kt);var p=Wr.get(d);--p===0?(document.removeEventListener(d,kt),Wr.delete(d)):Wr.set(d,p)}qt.delete(s),f!==e&&f.parentNode?.removeChild(f)}});return Xt.set(l,v),l}let Xt=new WeakMap;function oo(r,t){const e=Xt.get(r);return e?(Xt.delete(r),e(t)):Promise.resolve()}class no{anchor;#t=new Map;#r=new Map;#e=new Map;#m=!0;constructor(t,e=!0){this.anchor=t,this.#m=e}#s=()=>{var t=E;if(this.#t.has(t)){var e=this.#t.get(t),m=this.#r.get(e);if(m)Lt(m);else{var n=this.#e.get(e);n&&(this.#r.set(e,n.effect),this.#e.delete(e),n.fragment.lastChild.remove(),this.anchor.before(n.fragment),m=n.effect)}for(const[o,a]of this.#t){if(this.#t.delete(o),o===t)break;const i=this.#e.get(a);i&&(S(i.effect),this.#e.delete(a))}for(const[o,a]of this.#r){if(o===e)continue;const i=()=>{if(Array.from(this.#t.values()).includes(o)){var l=document.createDocumentFragment();Ge(a,l),l.append(rr()),this.#e.set(o,{effect:a,fragment:l})}else S(a);this.#r.delete(o)};this.#m||!m?Vr(a,i,!1):i()}}};#a=t=>{this.#t.delete(t);const e=Array.from(this.#t.values());for(const[m,n]of this.#e)e.includes(m)||(S(n.effect),this.#e.delete(m))};ensure(t,e){var m=E,n=Ee();if(e&&!this.#r.has(t)&&!this.#e.has(t))if(n){var o=document.createDocumentFragment(),a=rr();o.append(a),this.#e.set(t,{effect:er(()=>e(a)),fragment:o})}else this.#r.set(t,er(()=>e(this.anchor)));if(this.#t.set(m,t),n){for(const[i,s]of this.#r)i===t?m.skipped_effects.delete(s):m.skipped_effects.add(s);for(const[i,s]of this.#e)i===t?m.skipped_effects.delete(s.effect):m.skipped_effects.add(s.effect);m.oncommit(this.#s),m.ondiscard(this.#a)}else h&&(this.anchor=x),this.#s()}}function cr(r,t,e=!1){h&&ct();var m=new no(r),n=e?qr:0;function o(a,i){if(h){const l=oe(r)===lt;if(a===l){var s=gt();N(s),m.anchor=s,nr(!1),m.ensure(a,i),nr(!0);return}}m.ensure(a,i)}wt(()=>{var a=!1;t((i,s=!0)=>{a=!0,o(s,i)}),a||o(!1,null)},n)}function ao(r,t,e){for(var m=r.items,n=[],o=t.length,a=0;a<o;a++)Yt(t[a].e,n,!0);var i=o>0&&n.length===0&&e!==null;if(i){var s=e.parentNode;je(s),s.append(e),m.clear(),gr(r,t[0].prev,t[o-1].next)}Ne(n,()=>{for(var l=0;l<o;l++){var v=t[l];i||(m.delete(v.k),gr(r,v.prev,v.next)),S(v.e,!i)}})}function io(r,t,e,m,n,o=null){var a=r,i={flags:t,items:new Map,first:null};{var s=r;a=h?N(Cr(s)):s.appendChild(rr())}h&&ct();var l=null,v=!1,f=new Map,d=Gm(()=>{var u=e();return re(u)?u:u==null?[]:At(u)}),p,b;function c(){so(b,p,i,f,a,n,t,m,e),o!==null&&(p.length===0?l?Lt(l):l=er(()=>o(a)):l!==null&&Vr(l,()=>{l=null}))}wt(()=>{b??=y,p=w(d);var u=p.length;if(v&&u===0)return;v=u===0;let K=!1;if(h){var O=oe(a)===lt;O!==(u===0)&&(a=gt(),N(a),nr(!1),K=!0)}if(h){for(var _=null,A,k=0;k<u;k++){if(x.nodeType===Sr&&x.data===Et){a=x,K=!0,nr(!1);break}var X=p[k],F=m(X,k);A=Ut(x,i,_,null,X,F,k,n,t,e),i.items.set(F,A),_=A}u>0&&N(gt())}if(h)u===0&&o&&(l=er(()=>o(a)));else if(Ee()){var M=new Set,$=E;for(k=0;k<u;k+=1){X=p[k],F=m(X,k);var W=i.items.get(F)??f.get(F);W?We(W,X,k):(A=Ut(null,i,null,null,X,F,k,n,t,e,!0),f.set(F,A)),M.add(F)}for(const[J,dr]of i.items)M.has(J)||$.skipped_effects.add(dr.e);$.oncommit(c)}else c();K&&nr(!0),w(d)}),h&&(a=x)}function so(r,t,e,m,n,o,a,i,s){var l=t.length,v=e.items,f=e.first,d=f,p,b=null,c=[],u=[],K,O,_,A;for(A=0;A<l;A+=1){if(K=t[A],O=i(K,A),_=v.get(O),_===void 0){var k=m.get(O);if(k!==void 0){m.delete(O),v.set(O,k);var X=b?b.next:d;gr(e,b,k),gr(e,k,X),Ht(k,X,n),b=k}else{var F=d?d.e.nodes_start:n;b=Ut(F,e,b,b===null?e.first:b.next,K,O,A,o,a,s)}v.set(O,b),c=[],u=[],d=b.next;continue}if(We(_,K,A),(_.e.f&U)!==0&&Lt(_.e),_!==d){if(p!==void 0&&p.has(_)){if(c.length<u.length){var M=u[0],$;b=M.prev;var W=c[0],J=c[c.length-1];for($=0;$<c.length;$+=1)Ht(c[$],M,n);for($=0;$<u.length;$+=1)p.delete(u[$]);gr(e,W.prev,J.next),gr(e,b,W),gr(e,J,M),d=M,b=J,A-=1,c=[],u=[]}else p.delete(_),Ht(_,d,n),gr(e,_.prev,_.next),gr(e,_,b===null?e.first:b.next),gr(e,b,_),b=_;continue}for(c=[],u=[];d!==null&&d.k!==O;)(d.e.f&U)===0&&(p??=new Set).add(d),u.push(d),d=d.next;if(d===null)continue;_=d}c.push(_),b=_,d=_.next}if(d!==null||p!==void 0){for(var dr=p===void 0?[]:At(p);d!==null;)(d.e.f&U)===0&&dr.push(d),d=d.next;var D=dr.length;if(D>0){var j=l===0?n:null;ao(e,dr,j)}}r.first=e.first&&e.first.e,r.last=b&&b.e;for(var Y of m.values())S(Y.e);m.clear()}function We(r,t,e,m){tt(r.v,t),r.i=e}function Ut(r,t,e,m,n,o,a,i,s,l,v){var f=(s&rm)!==0,d=(s&em)===0,p=f?d?xe(n,!1,!1):Mr(n):n,b=(s&tm)===0?a:Mr(a),c={i:b,v:p,k:o,a:null,e:null,prev:e,next:m};try{if(r===null){var u=document.createDocumentFragment();u.append(r=rr())}return c.e=er(()=>i(r,p,b,l),h),c.e.prev=e&&e.e,c.e.next=m&&m.e,e===null?v||(t.first=c):(e.next=c,e.e.next=c.e),m!==null&&(m.prev=c,m.e.prev=c.e),c}finally{}}function Ht(r,t,e){for(var m=r.next?r.next.e.nodes_start:e,n=t?t.e.nodes_start:e,o=r.e.nodes_start;o!==null&&o!==m;){var a=tr(o);n.before(o),o=a}}function gr(r,t,e){t===null?r.first=e:(t.next=e,t.e.next=e&&e.e),e!==null&&(e.prev=t,e.e.prev=t&&t.e)}function lo(r,t){let e=null,m=h;var n;if(h){e=x;for(var o=Cr(document.head);o!==null&&(o.nodeType!==Sr||o.data!==r);)o=tr(o);if(o===null)nr(!1);else{var a=tr(o);o.remove(),N(a)}}h||(n=document.head.appendChild(rr()));try{wt(()=>t(n),Tt)}finally{m&&(nr(!0),N(e))}}function po(r,t){qm(()=>{var e=r.getRootNode(),m=e.host?e:e.head??e.ownerDocument.head;if(!m.querySelector("#"+t.hash)){const n=document.createElement("style");n.id=t.hash,n.textContent=t.code,m.appendChild(n)}})}function bo(r,t,e){var m=r==null?"":""+r;return m=m?m+" "+t:t,m===""?null:m}function jr(r,t,e,m,n,o){var a=r.__className;if(h||a!==e||a===void 0){var i=bo(e,m);(!h||i!==r.getAttribute("class"))&&(i==null?r.removeAttribute("class"):r.className=i),r.__className=e}return o}function $t(r,t,e,m){var n=m,o=!0,a=()=>(o&&(o=!1,n=m),n),i;i=r[t],i===void 0&&m!==void 0&&(i=a());var s;s=()=>{var d=r[t];return d===void 0?a():(o=!0,d)};var l=!1,v=Mt(()=>(l=!1,s())),f=y;return(function(d,p){if(arguments.length>0){const b=p?w(v):d;return ir(v,b),l=!0,n!==void 0&&(n=b),d}return Ir&&l||(f.f&zr)!==0?v.v:w(v)})}function vo(r){return new fo(r)}class fo{#t;#r;constructor(t){var e=new Map,m=(o,a)=>{var i=xe(a,!1,!1);return e.set(o,i),i};const n=new Proxy({...t.props||{},$$events:{}},{get(o,a){return w(e.get(a)??m(a,Reflect.get(o,a)))},has(o,a){return a===pm?!0:(w(e.get(a)??m(a,Reflect.get(o,a))),Reflect.has(o,a))},set(o,a,i){return ir(e.get(a)??m(a,i),i),Reflect.set(o,a,i)}});this.#r=(t.hydrate?mo:Ve)(t.component,{target:t.target,anchor:t.anchor,props:n,context:t.context,intro:t.intro??!1,recover:t.recover}),(!t?.props?.$$host||t.sync===!1)&&rt(),this.#t=n.$$events;for(const o of Object.keys(this.#r))o==="$set"||o==="$destroy"||o==="$on"||pt(this,o,{get(){return this.#r[o]},set(a){this.#r[o]=a},enumerable:!0});this.#r.$set=o=>{Object.assign(n,o)},this.#r.$destroy=()=>{oo(this.#r)}}$set(t){this.#r.$set(t)}$on(t,e){this.#t[t]=this.#t[t]||[];const m=(...n)=>e.call(this,...n);return this.#t[t].push(m),()=>{this.#t[t]=this.#t[t].filter(n=>n!==m)}}$destroy(){this.#r.$destroy()}}let Je;typeof HTMLElement=="function"&&(Je=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 n=>{const o=document.createElement("slot");m!=="default"&&(o.name=m),z(n,o)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const t={},e=co(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 n=this.$$g_p(m.name);n in this.$$d||(this.$$d[n]=jt(n,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=vo({component:this.$$ctor,target:this.shadowRoot||this,props:{...this.$$d,$$slots:t,$$host:this}}),this.$$me=Ym(()=>{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 n=jt(m,this.$$d[m],this.$$p_d,"toAttribute");n==null?this.removeAttribute(this.$$p_d[m].attribute||m):this.setAttribute(this.$$p_d[m].attribute||m,n)}this.$$r=!1})});for(const m in this.$$l)for(const n of this.$$l[m]){const o=this.$$c.$on(m,n);this.$$l_u.set(n,o)}this.$$l={}}}attributeChangedCallback(r,t,e){this.$$r||(r=this.$$g_p(r),this.$$d[r]=jt(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 jt(r,t,e,m){const n=e[r]?.type;if(t=n==="Boolean"&&typeof t!="boolean"?t!=null:t,!m||!e[r])return t;if(m==="toAttribute")switch(n){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(n){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function co(r){const t={};return r.childNodes.forEach(e=>{t[e.slot||"default"]=!0}),t}function go(r,t,e,m,n,o){let a=class extends Je{constructor(){super(r,e,n),this.$$p_d=t}static get observedAttributes(){return dt(t).map(i=>(t[i].attribute||i).toLowerCase())}};return dt(t).forEach(i=>{pt(a.prototype,i,{get(){return this.$$c&&i in this.$$c?this.$$c[i]:this.$$d[i]},set(s){s=jt(i,s,t),this.$$d[i]=s;var l=this.$$c;if(l){var v=Lr(l,i)?.get;v?l[i]=s:l.$set({[i]:s})}}})}),m.forEach(i=>{pt(a.prototype,i,{get(){return this.$$c?.[i]}})}),r.element=a,a}var uo=P('<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@latest/font/bootstrap-icons.css" class="svelte-pdmrmr"/>'),ho=P('<span style="float:right" class="svelte-pdmrmr">▼</span>'),xo=P('<span style="float:right" class="svelte-pdmrmr">►</span>'),yo=P('<span style="float:right"> </span>'),wo=P('<button style="" class="custom-button btn btn-outline-primary nav-link active svelte-pdmrmr" aria-current="page"><i></i> <!></button>'),_o=P('<span style="float:right"> </span>'),ko=P('<button style="color:black;" class="custom-button btn nav-link svelte-pdmrmr"><i></i> <!></button>'),$o=P('<div style="padding-left:0.8em" class="svelte-pdmrmr"></div>'),jo=P('<button style="color:black;line-height: 100%;" class="custom-button btn nav-link svelte-pdmrmr"><i></i> <!></button> <!>',1),Eo=P('<span style="float:right"> </span>'),Ao=P('<button style="" class="custom-button btn btn-outline-primary nav-link active svelte-pdmrmr" aria-current="page"><i></i> <!></button>'),zo=P('<span style="float:right"> </span>'),Ro=P('<button style="color:black;" class="custom-button btn nav-link svelte-pdmrmr"><i></i> <!></button>'),To=P('<li part="li" class="nav-item svelte-pdmrmr"><!></li>'),Co=P('<span class="svelte-pdmrmr"><!></span>');const Bo={hash:"svelte-pdmrmr",code:`@charset "UTF-8";
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";
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 Ze(r,t){ie(t,!0),po(r,Bo);function e(b,c){t.$$host.dispatchEvent(new CustomEvent(b,{detail:c}))}function m(b){e("pageChange",{page:b})}let n=$t(t,"id",7,""),o=$t(t,"navlink"),a=$t(t,"navpage"),i=$t(t,"selected"),s=wr(!1);Fm(()=>{if(typeof o()=="string")try{o(JSON.parse(o())),ir(s,o().open===!0,!0)}catch{}i()===""||typeof i()=="string"&&(i()==="yes"||i()==="true")?i(!0):i()!==!0&&i(!1),console.log(o(),"navlink")});function l(){ir(s,w(s)!==!0,!0),console.log(w(s),"open")}var v={get id(){return n()},set id(b=""){n(b),rt()},get navlink(){return o()},set navlink(b){o(b),rt()},get navpage(){return a()},set navpage(b){a(b),rt()},get selected(){return i()},set selected(b){i(b),rt()}},f=Co();lo("pdmrmr",b=>{var c=uo();z(b,c)});var d=sr(f);{var p=b=>{var c=To(),u=sr(c);{var K=_=>{var A=jo(),k=Ft(A);k.__click=()=>{l()};var X=sr(k),F=lr(X),M=lr(F);{var $=D=>{var j=ho();z(D,j)},W=D=>{var j=xo();z(D,j)};cr(M,D=>{w(s)||o().subLinks&&o().subLinks.find(j=>j.key===a())?D($):D(W,!1)})}Z(k);var J=lr(k,2);{var dr=D=>{var j=$o();io(j,21,()=>o().subLinks,Y=>Y.key,(Y,R)=>{var Qe=He(),No=Ft(Qe);{var So=Jr=>{var Br=wo(),it=sr(Br),st=lr(it),Vt=lr(st);{var Kt=Fr=>{var Er=yo(),Wt=sr(Er,!0);Z(Er),_r(()=>{jr(Er,1,`${w(R).badge.class||"badge rounded-pill"} ${w(R).badge.classcolor||"bg-secondary"}`,"svelte-pdmrmr"),$r(Wt,w(R).badge.text)}),z(Fr,Er)};cr(Vt,Fr=>{w(R).badge&&Fr(Kt)})}Z(Br),_r(()=>{jr(it,1,`bi me-2 bi-${w(R).icon??""}`,"svelte-pdmrmr"),$r(st,` ${w(R).label??""} `)}),z(Jr,Br)},Go=Jr=>{var Br=ko();Br.__click=()=>{m(w(R).key)};var it=sr(Br),st=lr(it),Vt=lr(st);{var Kt=Fr=>{var Er=_o(),Wt=sr(Er,!0);Z(Er),_r(()=>{jr(Er,1,`${w(R).badge.class||"badge rounded-pill"} ${w(R).badge.classcolor||"bg-secondary"}`,"svelte-pdmrmr"),$r(Wt,w(R).badge.text)}),z(Fr,Er)};cr(Vt,Fr=>{w(R).badge&&Fr(Kt)})}Z(Br),_r(()=>{jr(it,1,`bi me-2 bi-${w(R).icon??""}`,"svelte-pdmrmr"),$r(st,` ${w(R).label??""} `)}),z(Jr,Br)};cr(No,Jr=>{w(R).key===a()||i()?Jr(So):Jr(Go,!1)})}z(Y,Qe)}),Z(j),z(D,j)};cr(J,D=>{(w(s)||o().subLinks&&o().subLinks.find(j=>j.key===a()))&&D(dr)})}_r(()=>{jr(X,1,`bi me-2 bi-${o().icon??""}`,"svelte-pdmrmr"),$r(F,` ${o().label??""} `)}),z(_,A)},O=_=>{var A=He(),k=Ft(A);{var X=M=>{var $=Ao(),W=sr($),J=lr(W),dr=lr(J);{var D=j=>{var Y=Eo(),R=sr(Y,!0);Z(Y),_r(()=>{jr(Y,1,`${o().badge.class||"badge rounded-pill"} ${o().badge.classcolor||"bg-secondary"}`,"svelte-pdmrmr"),$r(R,o().badge.text)}),z(j,Y)};cr(dr,j=>{o().badge&&j(D)})}Z($),_r(()=>{jr(W,1,`bi me-2 bi-${o().icon??""}`,"svelte-pdmrmr"),$r(J,` ${o().label??""} `)}),z(M,$)},F=M=>{var $=Ro();$.__click=()=>{m(o().key)};var W=sr($),J=lr(W),dr=lr(J);{var D=j=>{var Y=zo(),R=sr(Y,!0);Z(Y),_r(()=>{jr(Y,1,`${o().badge.class||"badge rounded-pill"} ${o().badge.classcolor||"bg-secondary"}`,"svelte-pdmrmr"),$r(R,o().badge.text)}),z(j,Y)};cr(dr,j=>{o().badge&&j(D)})}Z($),_r(()=>{jr(W,1,`bi me-2 bi-${o().icon??""}`,"svelte-pdmrmr"),$r(J,` ${o().label??""} `)}),z(M,$)};cr(k,M=>{o().key===a()||i()?M(X):M(F,!1)},!0)}z(_,A)};cr(u,_=>{o().subLinks?.length?_(K):_(O,!1)})}Z(c),z(b,c)};cr(d,b=>{o()&&b(p)})}return Z(f),z(r,f),se(v)}Qm(["click"]),customElements.define("hb-sidenav-link",go(Ze,{id:{},navlink:{},navpage:{},selected:{}},[],[],!0)),Jt.Component=Ze,Object.defineProperty(Jt,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 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"]||{});
149
149
  //# sourceMappingURL=main.iife.js.map