@htmlbricks/hb-dashboard-card1 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(_e){"use strict";typeof window<"u"&&((window.__svelte??={}).v??=new Set).add("5");const $r=1,jr=4,Er=8,Tr=16,Sr=1,Ar=2,ke="[",re="[!",$e="]",bt={},_=Symbol(),ie=!1;var zr=Array.isArray,Rr=Array.prototype.indexOf,Nr=Array.from,Pt=Object.keys,It=Object.defineProperty,lt=Object.getOwnPropertyDescriptor,Cr=Object.prototype,Or=Array.prototype,Pr=Object.getPrototypeOf,je=Object.isExtensible;function Ir(t){for(var e=0;e<t.length;e++)t[e]()}function Ee(){var t,e,r=new Promise((i,a)=>{t=i,e=a});return{promise:r,resolve:t,reject:e}}const w=2,ne=4,ae=8,H=16,K=32,rt=64,Mt=128,L=512,k=1024,S=2048,G=4096,B=8192,J=16384,Dt=32768,ht=65536,Te=1<<17,me=1<<18,st=1<<19,Mr=1<<20,ft=32768,oe=1<<21,le=1<<22,it=1<<23,Lt=Symbol("$state"),Se=Symbol("legacy props"),xt=new class extends Error{name="StaleReactionError";message="The reaction that called `getAbortSignal()` was re-run or destroyed"},se=3,yt=8;function Dr(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function Lr(t){throw new Error("https://svelte.dev/e/effect_in_teardown")}function Fr(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function qr(t){throw new Error("https://svelte.dev/e/effect_orphan")}function Br(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function Ur(){throw new Error("https://svelte.dev/e/hydration_failed")}function Yr(t){throw new Error("https://svelte.dev/e/props_invalid_value")}function Vr(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function Hr(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function Kr(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function Gr(){throw new Error("https://svelte.dev/e/svelte_boundary_reset_onerror")}function Ft(t){console.warn("https://svelte.dev/e/hydration_mismatch")}function Jr(){console.warn("https://svelte.dev/e/svelte_boundary_reset_noop")}let c=!1;function nt(t){c=t}let b;function R(t){if(t===null)throw Ft(),bt;return b=t}function qt(){return R(q(b))}function Et(t){if(c){if(q(b)!==null)throw Ft(),bt;b=t}}function Wr(t=1){if(c){for(var e=t,r=b;e--;)r=q(r);b=r}}function Ae(t=!0){for(var e=0,r=b;;){if(r.nodeType===yt){var i=r.data;if(i===$e){if(e===0)return r;e-=1}else(i===ke||i===re)&&(e+=1)}var a=q(r);t&&r.remove(),r=a}}function Xr(t){if(!t||t.nodeType!==yt)throw Ft(),bt;return t.data}function ze(t){return t===this.v}function Zr(t,e){return t!=t?e==e:t!==e||t!==null&&typeof t=="object"||typeof t=="function"}function Re(t){return!Zr(t,this.v)}let Qr=!1,C=null;function wt(t){C=t}function Ne(t,e=!1,r){C={p:C,i:!1,c:null,e:null,s:t,x:null,l:null}}function Ce(t){var e=C,r=e.e;if(r!==null){e.e=null;for(var i of r)Xe(i)}return t!==void 0&&(e.x=t),e.i=!0,C=e.p,t??{}}function Oe(){return!0}let pt=[];function Pe(){var t=pt;pt=[],Ir(t)}function fe(t){if(pt.length===0&&!Tt){var e=pt;queueMicrotask(()=>{e===pt&&Pe()})}pt.push(t)}function ti(){for(;pt.length>0;)Pe()}function Ie(t){var e=g;if(e===null)return v.f|=it,t;if((e.f&Dt)===0){if((e.f&Mt)===0)throw t;e.b.error(t)}else _t(t,e)}function _t(t,e){for(;e!==null;){if((e.f&Mt)!==0)try{e.b.error(t);return}catch(r){t=r}e=e.parent}throw t}const Bt=new Set;let y=null,O=null,P=[],Ut=null,pe=!1,Tt=!1;class F{committed=!1;current=new Map;previous=new Map;#e=new Set;#t=new Set;#r=0;#i=0;#l=null;#a=[];#n=[];skipped_effects=new Set;is_fork=!1;is_deferred(){return this.is_fork||this.#i>0}process(e){P=[],this.apply();var r={parent:null,effect:null,effects:[],render_effects:[],block_effects:[]};for(const i of e)this.#m(i,r);this.is_fork||this.#f(),this.is_deferred()?(this.#o(r.effects),this.#o(r.render_effects),this.#o(r.block_effects)):(y=null,De(r.render_effects),De(r.effects),this.#l?.resolve()),O=null}#m(e,r){e.f^=k;for(var i=e.first;i!==null;){var a=i.f,n=(a&(K|rt))!==0,m=n&&(a&k)!==0,o=m||(a&B)!==0||this.skipped_effects.has(i);if((i.f&Mt)!==0&&i.b?.is_pending()&&(r={parent:r,effect:i,effects:[],render_effects:[],block_effects:[]}),!o&&i.fn!==null){n?i.f^=k:(a&ne)!==0?r.effects.push(i):Ct(i)&&((i.f&H)!==0&&r.block_effects.push(i),Ot(i));var l=i.first;if(l!==null){i=l;continue}}var s=i.parent;for(i=i.next;i===null&&s!==null;)s===r.effect&&(this.#o(r.effects),this.#o(r.render_effects),this.#o(r.block_effects),r=r.parent),i=s.next,s=s.parent}}#o(e){for(const r of e)((r.f&S)!==0?this.#a:this.#n).push(r),this.#s(r.deps),$(r,k)}#s(e){if(e!==null)for(const r of e)(r.f&w)===0||(r.f&ft)===0||(r.f^=ft,this.#s(r.deps))}capture(e,r){this.previous.has(e)||this.previous.set(e,r),(e.f&it)===0&&(this.current.set(e,e.v),O?.set(e,e.v))}activate(){y=this,this.apply()}deactivate(){y===this&&(y=null,O=null)}flush(){if(this.activate(),P.length>0){if(Me(),y!==null&&y!==this)return}else this.#r===0&&this.process([]);this.deactivate()}discard(){for(const e of this.#t)e(this);this.#t.clear()}#f(){if(this.#i===0){for(const e of this.#e)e();this.#e.clear()}this.#r===0&&this.#p()}#p(){if(Bt.size>1){this.previous.clear();var e=O,r=!0,i={parent:null,effect:null,effects:[],render_effects:[],block_effects:[]};for(const n of Bt){if(n===this){r=!1;continue}const m=[];for(const[l,s]of this.current){if(n.current.has(l))if(r&&s!==n.current.get(l))n.current.set(l,s);else continue;m.push(l)}if(m.length===0)continue;const o=[...n.current.keys()].filter(l=>!this.current.has(l));if(o.length>0){var a=P;P=[];const l=new Set,s=new Map;for(const d of m)Le(d,o,l,s);if(P.length>0){y=n,n.apply();for(const d of P)n.#m(d,i);n.deactivate()}P=a}}y=null,O=e}this.committed=!0,Bt.delete(this)}increment(e){this.#r+=1,e&&(this.#i+=1)}decrement(e){this.#r-=1,e&&(this.#i-=1),this.revive()}revive(){for(const e of this.#a)$(e,S),ut(e);for(const e of this.#n)$(e,G),ut(e);this.#a=[],this.#n=[],this.flush()}oncommit(e){this.#e.add(e)}ondiscard(e){this.#t.add(e)}settled(){return(this.#l??=Ee()).promise}static ensure(){if(y===null){const e=y=new F;Bt.add(y),Tt||F.enqueue(()=>{y===e&&e.flush()})}return y}static enqueue(e){fe(e)}apply(){}}function Yt(t){var e=Tt;Tt=!0;try{for(var r;;){if(ti(),P.length===0&&(y?.flush(),P.length===0))return Ut=null,r;Me()}}finally{Tt=e}}function Me(){var t=ot;pe=!0;var e=null;try{var r=0;for(Jt(!0);P.length>0;){var i=F.ensure();if(r++>1e3){var a,n;ei()}i.process(P),at.clear()}}finally{pe=!1,Jt(t),Ut=null}}function ei(){try{Br()}catch(t){_t(t,Ut)}}let W=null;function De(t){var e=t.length;if(e!==0){for(var r=0;r<e;){var i=t[r++];if((i.f&(J|B))===0&&Ct(i)&&(W=new Set,Ot(i),i.deps===null&&i.first===null&&i.nodes_start===null&&(i.teardown===null&&i.ac===null?er(i):i.fn=null),W?.size>0)){at.clear();for(const a of W){if((a.f&(J|B))!==0)continue;const n=[a];let m=a.parent;for(;m!==null;)W.has(m)&&(W.delete(m),n.push(m)),m=m.parent;for(let o=n.length-1;o>=0;o--){const l=n[o];(l.f&(J|B))===0&&Ot(l)}}W.clear()}}W=null}}function Le(t,e,r,i){if(!r.has(t)&&(r.add(t),t.reactions!==null))for(const a of t.reactions){const n=a.f;(n&w)!==0?Le(a,e,r,i):(n&(le|H))!==0&&(n&S)===0&&Fe(a,e,i)&&($(a,S),ut(a))}}function Fe(t,e,r){const i=r.get(t);if(i!==void 0)return i;if(t.deps!==null)for(const a of t.deps){if(e.includes(a))return!0;if((a.f&w)!==0&&Fe(a,e,r))return r.set(a,!0),!0}return r.set(t,!1),!1}function ut(t){for(var e=Ut=t;e.parent!==null;){e=e.parent;var r=e.f;if(pe&&e===g&&(r&H)!==0&&(r&me)===0)return;if((r&(rt|K))!==0){if((r&k)===0)return;e.f^=k}}P.push(e)}function ri(t){let e=0,r=St(0),i;return()=>{Kt()&&(M(r),Ze(()=>(e===0&&(i=dr(()=>t(()=>At(r)))),e+=1,()=>{fe(()=>{e-=1,e===0&&(i?.(),i=void 0,At(r))})})))}}var ii=ht|st|Mt;function ni(t,e,r){new ai(t,e,r)}class ai{parent;#e=!1;#t;#r=c?b:null;#i;#l;#a;#n=null;#m=null;#o=null;#s=null;#f=null;#p=0;#u=0;#v=!1;#d=null;#x=ri(()=>(this.#d=St(this.#p),()=>{this.#d=null}));constructor(e,r,i){this.#t=e,this.#i=r,this.#l=i,this.parent=g.b,this.#e=!!this.#i.pending,this.#a=be(()=>{if(g.b=this,c){const n=this.#r;qt(),n.nodeType===yt&&n.data===re?this.#w():this.#y()}else{var a=this.#b();try{this.#n=Q(()=>i(a))}catch(n){this.error(n)}this.#u>0?this.#c():this.#e=!1}return()=>{this.#f?.remove()}},ii),c&&(this.#t=b)}#y(){try{this.#n=Q(()=>this.#l(this.#t))}catch(e){this.error(e)}this.#e=!1}#w(){const e=this.#i.pending;e&&(this.#m=Q(()=>e(this.#t)),F.enqueue(()=>{var r=this.#b();this.#n=this.#g(()=>(F.ensure(),Q(()=>this.#l(r)))),this.#u>0?this.#c():(Rt(this.#m,()=>{this.#m=null}),this.#e=!1)}))}#b(){var e=this.#t;return this.#e&&(this.#f=Z(),this.#t.before(this.#f),e=this.#f),e}is_pending(){return this.#e||!!this.parent&&this.parent.is_pending()}has_pending_snippet(){return!!this.#i.pending}#g(e){var r=g,i=v,a=C;V(this.#a),z(this.#a),wt(this.#a.ctx);try{return e()}catch(n){return Ie(n),null}finally{V(r),z(i),wt(a)}}#c(){const e=this.#i.pending;this.#n!==null&&(this.#s=document.createDocumentFragment(),this.#s.append(this.#f),nr(this.#n,this.#s)),this.#m===null&&(this.#m=Q(()=>e(this.#t)))}#h(e){if(!this.has_pending_snippet()){this.parent&&this.parent.#h(e);return}this.#u+=e,this.#u===0&&(this.#e=!1,this.#m&&Rt(this.#m,()=>{this.#m=null}),this.#s&&(this.#t.before(this.#s),this.#s=null))}update_pending_count(e){this.#h(e),this.#p+=e,this.#d&&Ht(this.#d,this.#p)}get_effect_pending(){return this.#x(),M(this.#d)}error(e){var r=this.#i.onerror;let i=this.#i.failed;if(this.#v||!r&&!i)throw e;this.#n&&(A(this.#n),this.#n=null),this.#m&&(A(this.#m),this.#m=null),this.#o&&(A(this.#o),this.#o=null),c&&(R(this.#r),Wr(),R(Ae()));var a=!1,n=!1;const m=()=>{if(a){Jr();return}a=!0,n&&Gr(),F.ensure(),this.#p=0,this.#o!==null&&Rt(this.#o,()=>{this.#o=null}),this.#e=this.has_pending_snippet(),this.#n=this.#g(()=>(this.#v=!1,Q(()=>this.#l(this.#t)))),this.#u>0?this.#c():this.#e=!1};var o=v;try{z(null),n=!0,r?.(e,m),n=!1}catch(l){_t(l,this.#a&&this.#a.parent)}finally{z(o)}i&&fe(()=>{this.#o=this.#g(()=>{F.ensure(),this.#v=!0;try{return Q(()=>{i(this.#t,()=>e,()=>m)})}catch(l){return _t(l,this.#a.parent),null}finally{this.#v=!1}})})}}function mi(t,e,r,i){const a=ue;if(r.length===0&&t.length===0){i(e.map(a));return}var n=y,m=g,o=oi();function l(){Promise.all(r.map(s=>li(s))).then(s=>{o();try{i([...e.map(a),...s])}catch(d){(m.f&J)===0&&_t(d,m)}n?.deactivate(),Vt()}).catch(s=>{_t(s,m)})}t.length>0?Promise.all(t).then(()=>{o();try{return l()}finally{n?.deactivate(),Vt()}}):l()}function oi(){var t=g,e=v,r=C,i=y;return function(n=!0){V(t),z(e),wt(r),n&&i?.activate()}}function Vt(){V(null),z(null),wt(null)}function ue(t){var e=w|S,r=v!==null&&(v.f&w)!==0?v:null;return g!==null&&(g.f|=st),{ctx:C,deps:null,effects:null,equals:ze,f:e,fn:t,reactions:null,rv:0,v:_,wv:0,parent:r??g,ac:null}}function li(t,e){let r=g;r===null&&Dr();var i=r.b,a=void 0,n=St(_),m=!v,o=new Map;return _i(()=>{var l=Ee();a=l.promise;try{Promise.resolve(t()).then(l.resolve,l.reject).then(()=>{s===y&&s.committed&&s.deactivate(),Vt()})}catch(f){l.reject(f),Vt()}var s=y;if(m){var d=!i.is_pending();i.update_pending_count(1),s.increment(d),o.get(s)?.reject(xt),o.delete(s),o.set(s,l)}const p=(f,u=void 0)=>{if(s.activate(),u)u!==xt&&(n.f|=it,Ht(n,u));else{(n.f&it)!==0&&(n.f^=it),Ht(n,f);for(const[h,E]of o){if(o.delete(h),h===s)break;E.reject(xt)}}m&&(i.update_pending_count(-1),s.decrement(d))};l.promise.then(p,f=>p(null,f||"unknown"))}),bi(()=>{for(const l of o.values())l.reject(xt)}),new Promise(l=>{function s(d){function p(){d===a?l(n):s(a)}d.then(p,p)}s(a)})}function si(t){const e=ue(t);return e.equals=Re,e}function qe(t){var e=t.effects;if(e!==null){t.effects=null;for(var r=0;r<e.length;r+=1)A(e[r])}}function fi(t){for(var e=t.parent;e!==null;){if((e.f&w)===0)return(e.f&J)===0?e:null;e=e.parent}return null}function de(t){var e,r=g;V(fi(t));try{t.f&=~ft,qe(t),e=fr(t)}finally{V(r)}return e}function Be(t){var e=de(t);if(t.equals(e)||(y?.is_fork||(t.v=e),t.wv=lr()),!vt)if(O!==null)Kt()&&O.set(t,e);else{var r=(t.f&L)===0?G:k;$(t,r)}}let ve=new Set;const at=new Map;let Ue=!1;function St(t,e){var r={f:0,v:t,reactions:null,equals:ze,rv:0,wv:0};return r}function mt(t,e){const r=St(t);return Ti(r),r}function pi(t,e=!1,r=!0){const i=St(t);return e||(i.equals=Re),i}function X(t,e,r=!1){v!==null&&(!Y||(v.f&Te)!==0)&&Oe()&&(v.f&(w|H|le|Te))!==0&&!tt?.includes(t)&&Kr();let i=r?kt(e):e;return Ht(t,i)}function Ht(t,e){if(!t.equals(e)){var r=t.v;vt?at.set(t,e):at.set(t,r),t.v=e;var i=F.ensure();i.capture(t,r),(t.f&w)!==0&&((t.f&S)!==0&&de(t),$(t,(t.f&L)!==0?k:G)),t.wv=lr(),Ye(t,S),g!==null&&(g.f&k)!==0&&(g.f&(K|rt))===0&&(I===null?Si([t]):I.push(t)),!i.is_fork&&ve.size>0&&!Ue&&ui()}return e}function ui(){Ue=!1;var t=ot;Jt(!0);const e=Array.from(ve);try{for(const r of e)(r.f&k)!==0&&$(r,G),Ct(r)&&Ot(r)}finally{Jt(t)}ve.clear()}function At(t){X(t,t.v+1)}function Ye(t,e){var r=t.reactions;if(r!==null)for(var i=r.length,a=0;a<i;a++){var n=r[a],m=n.f,o=(m&S)===0;if(o&&$(n,e),(m&w)!==0){var l=n;O?.delete(l),(m&ft)===0&&(m&L&&(n.f|=ft),Ye(l,G))}else o&&((m&H)!==0&&W!==null&&W.add(n),ut(n))}}function kt(t){if(typeof t!="object"||t===null||Lt in t)return t;const e=Pr(t);if(e!==Cr&&e!==Or)return t;var r=new Map,i=zr(t),a=mt(0),n=gt,m=o=>{if(gt===n)return o();var l=v,s=gt;z(null),or(n);var d=o();return z(l),or(s),d};return i&&r.set("length",mt(t.length)),new Proxy(t,{defineProperty(o,l,s){(!("value"in s)||s.configurable===!1||s.enumerable===!1||s.writable===!1)&&Vr();var d=r.get(l);return d===void 0?d=m(()=>{var p=mt(s.value);return r.set(l,p),p}):X(d,s.value,!0),!0},deleteProperty(o,l){var s=r.get(l);if(s===void 0){if(l in o){const d=m(()=>mt(_));r.set(l,d),At(a)}}else X(s,_),At(a);return!0},get(o,l,s){if(l===Lt)return t;var d=r.get(l),p=l in o;if(d===void 0&&(!p||lt(o,l)?.writable)&&(d=m(()=>{var u=kt(p?o[l]:_),h=mt(u);return h}),r.set(l,d)),d!==void 0){var f=M(d);return f===_?void 0:f}return Reflect.get(o,l,s)},getOwnPropertyDescriptor(o,l){var s=Reflect.getOwnPropertyDescriptor(o,l);if(s&&"value"in s){var d=r.get(l);d&&(s.value=M(d))}else if(s===void 0){var p=r.get(l),f=p?.v;if(p!==void 0&&f!==_)return{enumerable:!0,configurable:!0,value:f,writable:!0}}return s},has(o,l){if(l===Lt)return!0;var s=r.get(l),d=s!==void 0&&s.v!==_||Reflect.has(o,l);if(s!==void 0||g!==null&&(!d||lt(o,l)?.writable)){s===void 0&&(s=m(()=>{var f=d?kt(o[l]):_,u=mt(f);return u}),r.set(l,s));var p=M(s);if(p===_)return!1}return d},set(o,l,s,d){var p=r.get(l),f=l in o;if(i&&l==="length")for(var u=s;u<p.v;u+=1){var h=r.get(u+"");h!==void 0?X(h,_):u in o&&(h=m(()=>mt(_)),r.set(u+"",h))}if(p===void 0)(!f||lt(o,l)?.writable)&&(p=m(()=>mt(void 0)),X(p,kt(s)),r.set(l,p));else{f=p.v!==_;var E=m(()=>kt(s));X(p,E)}var T=Reflect.getOwnPropertyDescriptor(o,l);if(T?.set&&T.set.call(d,s),!f){if(i&&typeof l=="string"){var D=r.get("length"),x=Number(l);Number.isInteger(x)&&x>=D.v&&X(D,x+1)}At(a)}return!0},ownKeys(o){M(a);var l=Reflect.ownKeys(o).filter(p=>{var f=r.get(p);return f===void 0||f.v!==_});for(var[s,d]of r)d.v!==_&&!(s in o)&&l.push(s);return l},setPrototypeOf(){Hr()}})}var Ve,He,Ke,Ge;function ge(){if(Ve===void 0){Ve=window,He=/Firefox/.test(navigator.userAgent);var t=Element.prototype,e=Node.prototype,r=Text.prototype;Ke=lt(e,"firstChild").get,Ge=lt(e,"nextSibling").get,je(t)&&(t.__click=void 0,t.__className=void 0,t.__attributes=null,t.__style=void 0,t.__e=void 0),je(r)&&(r.__t=void 0)}}function Z(t=""){return document.createTextNode(t)}function dt(t){return Ke.call(t)}function q(t){return Ge.call(t)}function zt(t,e){if(!c)return dt(t);var r=dt(b);if(r===null)r=b.appendChild(Z());else if(e&&r.nodeType!==se){var i=Z();return r?.before(i),R(i),i}return R(r),r}function Je(t,e=!1){if(!c){var r=dt(t);return r instanceof Comment&&r.data===""?q(r):r}if(e&&b?.nodeType!==se){var i=Z();return b?.before(i),R(i),i}return b}function ce(t,e=1,r=!1){let i=c?b:t;for(var a;e--;)a=i,i=q(i);if(!c)return i;if(r&&i?.nodeType!==se){var n=Z();return i===null?a?.after(n):i.before(n),R(n),n}return R(i),i}function di(t){t.textContent=""}function vi(){return!1}function We(t){var e=v,r=g;z(null),V(null);try{return t()}finally{z(e),V(r)}}function gi(t){g===null&&(v===null&&qr(),Fr()),vt&&Lr()}function ci(t,e){var r=e.last;r===null?e.last=e.first=t:(r.next=t,t.prev=r,e.last=t)}function U(t,e,r){var i=g;i!==null&&(i.f&B)!==0&&(t|=B);var a={ctx:C,deps:null,nodes_start:null,nodes_end:null,f:t|S|L,first:null,fn:e,last:null,next:null,parent:i,b:i&&i.b,prev:null,teardown:null,transitions:null,wv:0,ac:null};if(r)try{Ot(a),a.f|=Dt}catch(o){throw A(a),o}else e!==null&&ut(a);var n=a;if(r&&n.deps===null&&n.teardown===null&&n.nodes_start===null&&n.first===n.last&&(n.f&st)===0&&(n=n.first,(t&H)!==0&&(t&ht)!==0&&n!==null&&(n.f|=ht)),n!==null&&(n.parent=i,i!==null&&ci(n,i),v!==null&&(v.f&w)!==0&&(t&rt)===0)){var m=v;(m.effects??=[]).push(n)}return a}function Kt(){return v!==null&&!Y}function bi(t){const e=U(ae,null,!1);return $(e,k),e.teardown=t,e}function hi(t){gi();var e=g.f,r=!v&&(e&K)!==0&&(e&Dt)===0;if(r){var i=C;(i.e??=[]).push(t)}else return Xe(t)}function Xe(t){return U(ne|Mr,t,!1)}function xi(t){F.ensure();const e=U(rt|st,t,!0);return()=>{A(e)}}function yi(t){F.ensure();const e=U(rt|st,t,!0);return(r={})=>new Promise(i=>{r.outro?Rt(e,()=>{A(e),i(void 0)}):(A(e),i(void 0))})}function wi(t){return U(ne,t,!1)}function _i(t){return U(le|st,t,!0)}function Ze(t,e=0){return U(ae|e,t,!0)}function Gt(t,e=[],r=[],i=[]){mi(i,e,r,a=>{U(ae,()=>t(...a.map(M)),!0)})}function be(t,e=0){var r=U(H|e,t,!0);return r}function Q(t){return U(K|st,t,!0)}function Qe(t){var e=t.teardown;if(e!==null){const r=vt,i=v;ar(!0),z(null);try{e.call(null)}finally{ar(r),z(i)}}}function tr(t,e=!1){var r=t.first;for(t.first=t.last=null;r!==null;){const a=r.ac;a!==null&&We(()=>{a.abort(xt)});var i=r.next;(r.f&rt)!==0?r.parent=null:A(r,e),r=i}}function ki(t){for(var e=t.first;e!==null;){var r=e.next;(e.f&K)===0&&A(e),e=r}}function A(t,e=!0){var r=!1;(e||(t.f&me)!==0)&&t.nodes_start!==null&&t.nodes_end!==null&&($i(t.nodes_start,t.nodes_end),r=!0),tr(t,e&&!r),Wt(t,0),$(t,J);var i=t.transitions;if(i!==null)for(const n of i)n.stop();Qe(t);var a=t.parent;a!==null&&a.first!==null&&er(t),t.next=t.prev=t.teardown=t.ctx=t.deps=t.fn=t.nodes_start=t.nodes_end=t.ac=null}function $i(t,e){for(;t!==null;){var r=t===e?null:q(t);t.remove(),t=r}}function er(t){var e=t.parent,r=t.prev,i=t.next;r!==null&&(r.next=i),i!==null&&(i.prev=r),e!==null&&(e.first===t&&(e.first=i),e.last===t&&(e.last=r))}function Rt(t,e,r=!0){var i=[];rr(t,i,!0),ji(i,()=>{r&&A(t),e&&e()})}function ji(t,e){var r=t.length;if(r>0){var i=()=>--r||e();for(var a of t)a.out(i)}else e()}function rr(t,e,r){if((t.f&B)===0){if(t.f^=B,t.transitions!==null)for(const m of t.transitions)(m.is_global||r)&&e.push(m);for(var i=t.first;i!==null;){var a=i.next,n=(i.f&ht)!==0||(i.f&K)!==0&&(t.f&H)!==0;rr(i,e,n?r:!1),i=a}}}function Ei(t){ir(t,!0)}function ir(t,e){if((t.f&B)!==0){t.f^=B,(t.f&k)===0&&($(t,S),ut(t));for(var r=t.first;r!==null;){var i=r.next,a=(r.f&ht)!==0||(r.f&K)!==0;ir(r,a?e:!1),r=i}if(t.transitions!==null)for(const n of t.transitions)(n.is_global||e)&&n.in()}}function nr(t,e){for(var r=t.nodes_start,i=t.nodes_end;r!==null;){var a=r===i?null:q(r);e.append(r),r=a}}let ot=!1;function Jt(t){ot=t}let vt=!1;function ar(t){vt=t}let v=null,Y=!1;function z(t){v=t}let g=null;function V(t){g=t}let tt=null;function Ti(t){v!==null&&(tt===null?tt=[t]:tt.push(t))}let j=null,N=0,I=null;function Si(t){I=t}let mr=1,Nt=0,gt=Nt;function or(t){gt=t}function lr(){return++mr}function Ct(t){var e=t.f;if((e&S)!==0)return!0;if(e&w&&(t.f&=~ft),(e&G)!==0){var r=t.deps;if(r!==null)for(var i=r.length,a=0;a<i;a++){var n=r[a];if(Ct(n)&&Be(n),n.wv>t.wv)return!0}(e&L)!==0&&O===null&&$(t,k)}return!1}function sr(t,e,r=!0){var i=t.reactions;if(i!==null&&!tt?.includes(t))for(var a=0;a<i.length;a++){var n=i[a];(n.f&w)!==0?sr(n,e,!1):e===n&&(r?$(n,S):(n.f&k)!==0&&$(n,G),ut(n))}}function fr(t){var e=j,r=N,i=I,a=v,n=tt,m=C,o=Y,l=gt,s=t.f;j=null,N=0,I=null,v=(s&(K|rt))===0?t:null,tt=null,wt(t.ctx),Y=!1,gt=++Nt,t.ac!==null&&(We(()=>{t.ac.abort(xt)}),t.ac=null);try{t.f|=oe;var d=t.fn,p=d(),f=t.deps;if(j!==null){var u;if(Wt(t,N),f!==null&&N>0)for(f.length=N+j.length,u=0;u<j.length;u++)f[N+u]=j[u];else t.deps=f=j;if(ot&&Kt()&&(t.f&L)!==0)for(u=N;u<f.length;u++)(f[u].reactions??=[]).push(t)}else f!==null&&N<f.length&&(Wt(t,N),f.length=N);if(Oe()&&I!==null&&!Y&&f!==null&&(t.f&(w|G|S))===0)for(u=0;u<I.length;u++)sr(I[u],t);return a!==null&&a!==t&&(Nt++,I!==null&&(i===null?i=I:i.push(...I))),(t.f&it)!==0&&(t.f^=it),p}catch(h){return Ie(h)}finally{t.f^=oe,j=e,N=r,I=i,v=a,tt=n,wt(m),Y=o,gt=l}}function Ai(t,e){let r=e.reactions;if(r!==null){var i=Rr.call(r,t);if(i!==-1){var a=r.length-1;a===0?r=e.reactions=null:(r[i]=r[a],r.pop())}}r===null&&(e.f&w)!==0&&(j===null||!j.includes(e))&&($(e,G),(e.f&L)!==0&&(e.f^=L,e.f&=~ft),qe(e),Wt(e,0))}function Wt(t,e){var r=t.deps;if(r!==null)for(var i=e;i<r.length;i++)Ai(t,r[i])}function Ot(t){var e=t.f;if((e&J)===0){$(t,k);var r=g,i=ot;g=t,ot=!0;try{(e&H)!==0?ki(t):tr(t),Qe(t);var a=fr(t);t.teardown=typeof a=="function"?a:null,t.wv=mr;var n;ie&&Qr&&(t.f&S)!==0&&t.deps}finally{ot=i,g=r}}}function M(t){var e=t.f,r=(e&w)!==0;if(v!==null&&!Y){var i=g!==null&&(g.f&J)!==0;if(!i&&!tt?.includes(t)){var a=v.deps;if((v.f&oe)!==0)t.rv<Nt&&(t.rv=Nt,j===null&&a!==null&&a[N]===t?N++:j===null?j=[t]:j.includes(t)||j.push(t));else{(v.deps??=[]).push(t);var n=t.reactions;n===null?t.reactions=[v]:n.includes(v)||n.push(v)}}}if(vt){if(at.has(t))return at.get(t);if(r){var m=t,o=m.v;return((m.f&k)===0&&m.reactions!==null||ur(m))&&(o=de(m)),at.set(m,o),o}}else r&&!O?.has(t)&&(m=t,Ct(m)&&Be(m),ot&&Kt()&&(m.f&L)===0&&pr(m));if(O?.has(t))return O.get(t);if((t.f&it)!==0)throw t.v;return t.v}function pr(t){if(t.deps!==null){t.f^=L;for(const e of t.deps)(e.reactions??=[]).push(t),(e.f&w)!==0&&(e.f&L)===0&&pr(e)}}function ur(t){if(t.v===_)return!0;if(t.deps===null)return!1;for(const e of t.deps)if(at.has(e)||(e.f&w)!==0&&ur(e))return!0;return!1}function dr(t){var e=Y;try{return Y=!0,t()}finally{Y=e}}const zi=-7169;function $(t,e){t.f=t.f&zi|e}const Ri=new Set,vr=new Set;let gr=null;function Xt(t){var e=this,r=e.ownerDocument,i=t.type,a=t.composedPath?.()||[],n=a[0]||t.target;gr=t;var m=0,o=gr===t&&t.__root;if(o){var l=a.indexOf(o);if(l!==-1&&(e===document||e===window)){t.__root=e;return}var s=a.indexOf(e);if(s===-1)return;l<=s&&(m=l)}if(n=a[m]||t.target,n!==e){It(t,"currentTarget",{configurable:!0,get(){return n||r}});var d=v,p=g;z(null),V(null);try{for(var f,u=[];n!==null;){var h=n.assignedSlot||n.parentNode||n.host||null;try{var E=n["__"+i];E!=null&&(!n.disabled||t.target===n)&&E.call(n,t)}catch(T){f?u.push(T):f=T}if(t.cancelBubble||h===e||h===null)break;n=h}if(f){for(let T of u)queueMicrotask(()=>{throw T});throw f}}finally{t.__root=e,delete t.currentTarget,z(d),V(p)}}}function Ni(t){var e=document.createElement("template");return e.innerHTML=t.replaceAll("<!>","<!---->"),e.content}function Zt(t,e){var r=g;r.nodes_start===null&&(r.nodes_start=t,r.nodes_end=e)}function $t(t,e){var r=(e&Sr)!==0,i=(e&Ar)!==0,a,n=!t.startsWith("<!>");return()=>{if(c)return Zt(b,null),b;a===void 0&&(a=Ni(n?t:"<!>"+t),r||(a=dt(a)));var m=i||He?document.importNode(a,!0):a.cloneNode(!0);if(r){var o=dt(m),l=m.lastChild;Zt(o,l)}else Zt(m,m);return m}}function ct(t,e){if(c){var r=g;((r.f&Dt)===0||r.nodes_end===null)&&(r.nodes_end=b),qt();return}t!==null&&t.before(e)}const Ci=["touchstart","touchmove"];function Oi(t){return Ci.includes(t)}function cr(t,e){var r=e==null?"":typeof e=="object"?e+"":e;r!==(t.__t??=t.nodeValue)&&(t.__t=r,t.nodeValue=r+"")}function br(t,e){return hr(t,e)}function Pi(t,e){ge(),e.intro=e.intro??!1;const r=e.target,i=c,a=b;try{for(var n=dt(r);n&&(n.nodeType!==yt||n.data!==ke);)n=q(n);if(!n)throw bt;nt(!0),R(n);const m=hr(t,{...e,anchor:n});return nt(!1),m}catch(m){if(m instanceof Error&&m.message.split(`
2
- `).some(o=>o.startsWith("https://svelte.dev/e/")))throw m;return m!==bt&&console.warn("Failed to hydrate: ",m),e.recover===!1&&Ur(),ge(),di(r),nt(!1),br(t,e)}finally{nt(i),R(a)}}const jt=new Map;function hr(t,{target:e,anchor:r,props:i={},events:a,context:n,intro:m=!0}){ge();var o=new Set,l=p=>{for(var f=0;f<p.length;f++){var u=p[f];if(!o.has(u)){o.add(u);var h=Oi(u);e.addEventListener(u,Xt,{passive:h});var E=jt.get(u);E===void 0?(document.addEventListener(u,Xt,{passive:h}),jt.set(u,1)):jt.set(u,E+1)}}};l(Nr(Ri)),vr.add(l);var s=void 0,d=yi(()=>{var p=r??e.appendChild(Z());return ni(p,{pending:()=>{}},f=>{if(n){Ne({});var u=C;u.c=n}if(a&&(i.$$events=a),c&&Zt(f,null),s=t(f,i)||{},c&&(g.nodes_end=b,b===null||b.nodeType!==yt||b.data!==$e))throw Ft(),bt;n&&Ce()}),()=>{for(var f of o){e.removeEventListener(f,Xt);var u=jt.get(f);--u===0?(document.removeEventListener(f,Xt),jt.delete(f)):jt.set(f,u)}vr.delete(l),p!==r&&p.parentNode?.removeChild(p)}});return he.set(s,d),s}let he=new WeakMap;function Ii(t,e){const r=he.get(t);return r?(he.delete(t),r(e)):Promise.resolve()}class Mi{anchor;#e=new Map;#t=new Map;#r=new Map;#i=new Set;#l=!0;constructor(e,r=!0){this.anchor=e,this.#l=r}#a=()=>{var e=y;if(this.#e.has(e)){var r=this.#e.get(e),i=this.#t.get(r);if(i)Ei(i),this.#i.delete(r);else{var a=this.#r.get(r);a&&(this.#t.set(r,a.effect),this.#r.delete(r),a.fragment.lastChild.remove(),this.anchor.before(a.fragment),i=a.effect)}for(const[n,m]of this.#e){if(this.#e.delete(n),n===e)break;const o=this.#r.get(m);o&&(A(o.effect),this.#r.delete(m))}for(const[n,m]of this.#t){if(n===r||this.#i.has(n))continue;const o=()=>{if(Array.from(this.#e.values()).includes(n)){var s=document.createDocumentFragment();nr(m,s),s.append(Z()),this.#r.set(n,{effect:m,fragment:s})}else A(m);this.#i.delete(n),this.#t.delete(n)};this.#l||!i?(this.#i.add(n),Rt(m,o,!1)):o()}}};#n=e=>{this.#e.delete(e);const r=Array.from(this.#e.values());for(const[i,a]of this.#r)r.includes(i)||(A(a.effect),this.#r.delete(i))};ensure(e,r){var i=y,a=vi();if(r&&!this.#t.has(e)&&!this.#r.has(e))if(a){var n=document.createDocumentFragment(),m=Z();n.append(m),this.#r.set(e,{effect:Q(()=>r(m)),fragment:n})}else this.#t.set(e,Q(()=>r(this.anchor)));if(this.#e.set(i,e),a){for(const[o,l]of this.#t)o===e?i.skipped_effects.delete(l):i.skipped_effects.add(l);for(const[o,l]of this.#r)o===e?i.skipped_effects.delete(l.effect):i.skipped_effects.add(l.effect);i.oncommit(this.#a),i.ondiscard(this.#n)}else c&&(this.anchor=b),this.#a()}}function xe(t,e,r=!1){c&&qt();var i=new Mi(t),a=r?ht:0;function n(m,o){if(c){const s=Xr(t)===re;if(m===s){var l=Ae();R(l),i.anchor=l,nt(!1),i.ensure(m,o),nt(!0);return}}i.ensure(m,o)}be(()=>{var m=!1;e((o,l=!0)=>{m=!0,n(l,o)}),m||n(!1,null)},a)}function xr(t,e,r,i,a){c&&qt();var n=e.$$slots?.[r],m=!1;n===!0&&(n=e[r==="default"?"children":r],m=!0),n===void 0?a!==null&&a(t):n(t,m?()=>i:i)}function Di(t,e){let r=null,i=c;var a;if(c){r=b;for(var n=dt(document.head);n!==null&&(n.nodeType!==yt||n.data!==t);)n=q(n);if(n===null)nt(!1);else{var m=q(n);n.remove(),R(m)}}c||(a=document.head.appendChild(Z()));try{be(()=>e(a),me)}finally{i&&(nt(!0),R(r))}}function Li(t,e){wi(()=>{var r=t.getRootNode(),i=r.host?r:r.head??r.ownerDocument.head;if(!i.querySelector("#"+e.hash)){const a=document.createElement("style");a.id=e.hash,a.textContent=e.code,i.appendChild(a)}})}function Fi(t,e,r){var i=t==null?"":""+t;return i=i?i+" "+e:e,i===""?null:i}function qi(t,e){return t==null?null:String(t)}function Bi(t,e,r,i,a,n){var m=t.__className;if(c||m!==r||m===void 0){var o=Fi(r,i);(!c||o!==t.getAttribute("class"))&&(o==null?t.removeAttribute("class"):t.className=o),t.__className=r}return n}function Ui(t,e,r,i){var a=t.__style;if(c||a!==e){var n=qi(e);(!c||n!==t.getAttribute("style"))&&(n==null?t.removeAttribute("style"):t.style.cssText=n),t.__style=e}return i}let Qt=!1;function Yi(t){var e=Qt;try{return Qt=!1,[t(),Qt]}finally{Qt=e}}function ye(t,e,r,i){var a=(r&Er)!==0,n=(r&Tr)!==0,m=i,o=!0,l=()=>(o&&(o=!1,m=n?dr(i):i),m),s;if(a){var d=Lt in t||Se in t;s=lt(t,e)?.set??(d&&e in t?x=>t[e]=x:void 0)}var p,f=!1;a?[p,f]=Yi(()=>t[e]):p=t[e],p===void 0&&i!==void 0&&(p=l(),s&&(Yr(),s(p)));var u;if(u=()=>{var x=t[e];return x===void 0?l():(o=!0,x)},(r&jr)===0)return u;if(s){var h=t.$$legacy;return(function(x,et){return arguments.length>0?((!et||h||f)&&s(et?u():x),x):u()})}var E=!1,T=((r&$r)!==0?ue:si)(()=>(E=!1,u()));a&&M(T);var D=g;return(function(x,et){if(arguments.length>0){const ee=et?M(T):a?kt(x):x;return X(T,ee),E=!0,m!==void 0&&(m=ee),x}return vt&&E||(D.f&J)!==0?T.v:M(T)})}function Vi(t){return new Hi(t)}class Hi{#e;#t;constructor(e){var r=new Map,i=(n,m)=>{var o=pi(m,!1,!1);return r.set(n,o),o};const a=new Proxy({...e.props||{},$$events:{}},{get(n,m){return M(r.get(m)??i(m,Reflect.get(n,m)))},has(n,m){return m===Se?!0:(M(r.get(m)??i(m,Reflect.get(n,m))),Reflect.has(n,m))},set(n,m,o){return X(r.get(m)??i(m,o),o),Reflect.set(n,m,o)}});this.#t=(e.hydrate?Pi:br)(e.component,{target:e.target,anchor:e.anchor,props:a,context:e.context,intro:e.intro??!1,recover:e.recover}),(!e?.props?.$$host||e.sync===!1)&&Yt(),this.#e=a.$$events;for(const n of Object.keys(this.#t))n==="$set"||n==="$destroy"||n==="$on"||It(this,n,{get(){return this.#t[n]},set(m){this.#t[n]=m},enumerable:!0});this.#t.$set=n=>{Object.assign(a,n)},this.#t.$destroy=()=>{Ii(this.#t)}}$set(e){this.#t.$set(e)}$on(e,r){this.#e[e]=this.#e[e]||[];const i=(...a)=>r.call(this,...a);return this.#e[e].push(i),()=>{this.#e[e]=this.#e[e].filter(a=>a!==i)}}$destroy(){this.#t.$destroy()}}let yr;typeof HTMLElement=="function"&&(yr=class extends HTMLElement{$$ctor;$$s;$$c;$$cn=!1;$$d={};$$r=!1;$$p_d={};$$l={};$$l_u=new Map;$$me;constructor(t,e,r){super(),this.$$ctor=t,this.$$s=e,r&&this.attachShadow({mode:"open"})}addEventListener(t,e,r){if(this.$$l[t]=this.$$l[t]||[],this.$$l[t].push(e),this.$$c){const i=this.$$c.$on(t,e);this.$$l_u.set(e,i)}super.addEventListener(t,e,r)}removeEventListener(t,e,r){if(super.removeEventListener(t,e,r),this.$$c){const i=this.$$l_u.get(e);i&&(i(),this.$$l_u.delete(e))}}async connectedCallback(){if(this.$$cn=!0,!this.$$c){let t=function(i){return a=>{const n=document.createElement("slot");i!=="default"&&(n.name=i),ct(a,n)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const e={},r=Ki(this);for(const i of this.$$s)i in r&&(i==="default"&&!this.$$d.children?(this.$$d.children=t(i),e.default=!0):e[i]=t(i));for(const i of this.attributes){const a=this.$$g_p(i.name);a in this.$$d||(this.$$d[a]=te(a,i.value,this.$$p_d,"toProp"))}for(const i in this.$$p_d)!(i in this.$$d)&&this[i]!==void 0&&(this.$$d[i]=this[i],delete this[i]);this.$$c=Vi({component:this.$$ctor,target:this.shadowRoot||this,props:{...this.$$d,$$slots:e,$$host:this}}),this.$$me=xi(()=>{Ze(()=>{this.$$r=!0;for(const i of Pt(this.$$c)){if(!this.$$p_d[i]?.reflect)continue;this.$$d[i]=this.$$c[i];const a=te(i,this.$$d[i],this.$$p_d,"toAttribute");a==null?this.removeAttribute(this.$$p_d[i].attribute||i):this.setAttribute(this.$$p_d[i].attribute||i,a)}this.$$r=!1})});for(const i in this.$$l)for(const a of this.$$l[i]){const n=this.$$c.$on(i,a);this.$$l_u.set(a,n)}this.$$l={}}}attributeChangedCallback(t,e,r){this.$$r||(t=this.$$g_p(t),this.$$d[t]=te(t,r,this.$$p_d,"toProp"),this.$$c?.$set({[t]:this.$$d[t]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$me(),this.$$c=void 0)})}$$g_p(t){return Pt(this.$$p_d).find(e=>this.$$p_d[e].attribute===t||!this.$$p_d[e].attribute&&e.toLowerCase()===t)||t}});function te(t,e,r,i){const a=r[t]?.type;if(e=a==="Boolean"&&typeof e!="boolean"?e!=null:e,!i||!r[t])return e;if(i==="toAttribute")switch(a){case"Object":case"Array":return e==null?null:JSON.stringify(e);case"Boolean":return e?"":null;case"Number":return e??null;default:return e}else switch(a){case"Object":case"Array":return e&&JSON.parse(e);case"Boolean":return e;case"Number":return e!=null?+e:e;default:return e}}function Ki(t){const e={};return t.childNodes.forEach(r=>{e[r.slot||"default"]=!0}),e}function Gi(t,e,r,i,a,n){let m=class extends yr{constructor(){super(t,r,a),this.$$p_d=e}static get observedAttributes(){return Pt(e).map(o=>(e[o].attribute||o).toLowerCase())}};return Pt(e).forEach(o=>{It(m.prototype,o,{get(){return this.$$c&&o in this.$$c?this.$$c[o]:this.$$d[o]},set(l){l=te(o,l,e),this.$$d[o]=l;var s=this.$$c;if(s){var d=lt(s,o)?.get;d?s[o]=l:s.$set({[o]:l})}}})}),i.forEach(o=>{It(m.prototype,o,{get(){return this.$$c?.[o]}})}),t.element=m,m}var Ji=$t('<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@latest/font/bootstrap-icons.css" class="svelte-1uf1mti"/>'),Wi=$t("<i></i>"),Xi=$t('<!> <span class="svelte-1uf1mti"> </span>',1),Zi=$t('<span style="float:right;margin-right:10px" class="badge bg-secondary svelte-1uf1mti"> </span>'),Qi=$t("<!> <!>",1),tn=$t('<div part="card" class="card svelte-1uf1mti"><div class="card-header svelte-1uf1mti"><!></div> <div class="card-body svelte-1uf1mti"><!></div></div>');const en={hash:"svelte-1uf1mti",code:`@charset "UTF-8";
1
+ (function($e){"use strict";typeof window<"u"&&((window.__svelte??={}).v??=new Set).add("5");const Mi=1,Di=4,Ii=8,Fi=16,Li=1,qi=2,je="[",Ee="[!",Te="[?",Se="]",xt={},T=Symbol(),Bi="http://www.w3.org/1999/xhtml",Yi=!1;var Vi=Array.isArray,Hi=Array.prototype.indexOf,yt=Array.prototype.includes,Ui=Array.from,It=Object.keys,Ft=Object.defineProperty,ut=Object.getOwnPropertyDescriptor,Gi=Object.prototype,Ji=Array.prototype,Ki=Object.getPrototypeOf,Ae=Object.isExtensible;const Wi=()=>{};function Xi(t){for(var e=0;e<t.length;e++)t[e]()}function ze(){var t,e,i=new Promise((r,n)=>{t=r,e=n});return{promise:i,resolve:t,reject:e}}const E=2,wt=4,Lt=8,Ne=1<<24,et=16,V=32,it=64,re=128,C=512,j=1024,S=2048,H=4096,U=8192,L=16384,rt=32768,Re=1<<25,_t=65536,Oe=1<<17,Ce=1<<18,nt=1<<19,Zi=1<<20,dt=65536,ne=1<<21,ae=1<<22,at=1<<23,qt=Symbol("$state"),Pe=Symbol("legacy props"),K=new class extends Error{name="StaleReactionError";message="The reaction that called `getAbortSignal()` was re-run or destroyed"},Bt=3,At=8;function Qi(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function tr(t){throw new Error("https://svelte.dev/e/effect_in_teardown")}function er(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function ir(t){throw new Error("https://svelte.dev/e/effect_orphan")}function rr(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function nr(){throw new Error("https://svelte.dev/e/hydration_failed")}function ar(t){throw new Error("https://svelte.dev/e/props_invalid_value")}function mr(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function or(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function lr(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function sr(){throw new Error("https://svelte.dev/e/svelte_boundary_reset_onerror")}function Yt(t){console.warn("https://svelte.dev/e/hydration_mismatch")}function fr(){console.warn("https://svelte.dev/e/svelte_boundary_reset_noop")}let h=!1;function mt(t){h=t}let x;function N(t){if(t===null)throw Yt(),xt;return x=t}function Vt(){return N(B(x))}function zt(t){if(h){if(B(x)!==null)throw Yt(),xt;x=t}}function pr(t=1){if(h){for(var e=t,i=x;e--;)i=B(i);x=i}}function Me(t=!0){for(var e=0,i=x;;){if(i.nodeType===At){var r=i.data;if(r===Se){if(e===0)return i;e-=1}else(r===je||r===Ee||r[0]==="["&&!isNaN(Number(r.slice(1))))&&(e+=1)}var n=B(i);t&&i.remove(),i=n}}function ur(t){if(!t||t.nodeType!==At)throw Yt(),xt;return t.data}function De(t){return t===this.v}function dr(t,e){return t!=t?e==e:t!==e||t!==null&&typeof t=="object"||typeof t=="function"}function Ie(t){return!dr(t,this.v)}let vr=!1,P=null;function kt(t){P=t}function Fe(t,e=!1,i){P={p:P,i:!1,c:null,e:null,s:t,x:null,r:c,l:null}}function Le(t){var e=P,i=e.e;if(i!==null){e.e=null;for(var r of i)si(r)}return t!==void 0&&(e.x=t),e.i=!0,P=e.p,t??{}}function qe(){return!0}let vt=[];function Be(){var t=vt;vt=[],Xi(t)}function $t(t){if(vt.length===0&&!Nt){var e=vt;queueMicrotask(()=>{e===vt&&Be()})}vt.push(t)}function gr(){for(;vt.length>0;)Be()}function Ye(t){var e=c;if(e===null)return g.f|=at,t;if((e.f&rt)===0&&(e.f&wt)===0)throw t;ot(t,e)}function ot(t,e){for(;e!==null;){if((e.f&re)!==0){if((e.f&rt)===0)throw t;try{e.b.error(t);return}catch(i){t=i}}e=e.parent}throw t}const cr=-7169;function $(t,e){t.f=t.f&cr|e}function me(t){(t.f&C)!==0||t.deps===null?$(t,j):$(t,H)}function Ve(t){if(t!==null)for(const e of t)(e.f&E)===0||(e.f&dt)===0||(e.f^=dt,Ve(e.deps))}function He(t,e,i){(t.f&S)!==0?e.add(t):(t.f&H)!==0&&i.add(t),Ve(t.deps),$(t,j)}let Ht=!1;function br(t){var e=Ht;try{return Ht=!1,[t(),Ht]}finally{Ht=e}}const lt=new Set;let y=null,q=null,oe=null,Nt=!1,le=!1,jt=null,Ut=null;var Ue=0;let hr=1;class W{id=hr++;current=new Map;previous=new Map;#t=new Set;#i=new Set;#e=new Map;#n=new Map;#a=null;#r=[];#m=new Set;#o=new Set;#l=new Map;is_fork=!1;#p=!1;#s=new Set;#u(){return this.is_fork||this.#n.size>0}#v(){for(const r of this.#s)for(const n of r.#n.keys()){for(var e=!1,i=n;i.parent!==null;){if(this.#l.has(i)){e=!0;break}i=i.parent}if(!e)return!0}return!1}skip_effect(e){this.#l.has(e)||this.#l.set(e,{d:[],m:[]})}unskip_effect(e){var i=this.#l.get(e);if(i){this.#l.delete(e);for(var r of i.d)$(r,S),this.schedule(r);for(r of i.m)$(r,H),this.schedule(r)}}#d(){if(Ue++>1e3&&(lt.delete(this),xr()),!this.#u()){for(const m of this.#m)this.#o.delete(m),$(m,S),this.schedule(m);for(const m of this.#o)$(m,H),this.schedule(m)}const e=this.#r;this.#r=[],this.apply();var i=jt=[],r=[],n=Ut=[];for(const m of e)try{this.#f(m,i,r)}catch(s){throw Xe(m),s}if(y=null,n.length>0){var a=W.ensure();for(const m of n)a.schedule(m)}if(jt=null,Ut=null,this.#u()||this.#v()){this.#g(r),this.#g(i);for(const[m,s]of this.#l)We(m,s)}else{this.#e.size===0&&lt.delete(this),this.#m.clear(),this.#o.clear();for(const m of this.#t)m(this);this.#t.clear(),Ge(r),Ge(i),this.#a?.resolve()}var o=y;if(this.#r.length>0){const m=o??=this;m.#r.push(...this.#r.filter(s=>!m.#r.includes(s)))}o!==null&&(lt.add(o),o.#d()),lt.has(this)||this.#c()}#f(e,i,r){e.f^=j;for(var n=e.first;n!==null;){var a=n.f,o=(a&(V|it))!==0,m=o&&(a&j)!==0,s=m||(a&U)!==0||this.#l.has(n);if(!s&&n.fn!==null){o?n.f^=j:(a&wt)!==0?i.push(n):Mt(n)&&((a&et)!==0&&this.#o.add(n),Tt(n));var l=n.first;if(l!==null){n=l;continue}}for(;n!==null;){var f=n.next;if(f!==null){n=f;break}n=n.parent}}}#g(e){for(var i=0;i<e.length;i+=1)He(e[i],this.#m,this.#o)}capture(e,i,r=!1){i!==T&&!this.previous.has(e)&&this.previous.set(e,i),(e.f&at)===0&&(this.current.set(e,[e.v,r]),q?.set(e,e.v))}activate(){y=this}deactivate(){y=null,q=null}flush(){try{le=!0,y=this,this.#d()}finally{Ue=0,oe=null,jt=null,Ut=null,le=!1,y=null,q=null,st.clear()}}discard(){for(const e of this.#i)e(this);this.#i.clear(),lt.delete(this)}#c(){for(const l of lt){var e=l.id<this.id,i=[];for(const[f,[u,p]]of this.current){if(l.current.has(f)){var r=l.current.get(f)[0];if(e&&u!==r)l.current.set(f,[u,p]);else continue}i.push(f)}var n=[...l.current.keys()].filter(f=>!this.current.has(f));if(n.length===0)e&&l.discard();else if(i.length>0){l.activate();var a=new Set,o=new Map;for(var m of i)Je(m,n,a,o);if(l.#r.length>0){l.apply();for(var s of l.#r)l.#f(s,[],[]);l.#r=[]}l.deactivate()}}for(const l of lt)l.#s.has(this)&&(l.#s.delete(this),l.#s.size===0&&!l.#u()&&(l.activate(),l.#d()))}increment(e,i){let r=this.#e.get(i)??0;if(this.#e.set(i,r+1),e){let n=this.#n.get(i)??0;this.#n.set(i,n+1)}}decrement(e,i,r){let n=this.#e.get(i)??0;if(n===1?this.#e.delete(i):this.#e.set(i,n-1),e){let a=this.#n.get(i)??0;a===1?this.#n.delete(i):this.#n.set(i,a-1)}this.#p||r||(this.#p=!0,$t(()=>{this.#p=!1,this.flush()}))}transfer_effects(e,i){for(const r of e)this.#m.add(r);for(const r of i)this.#o.add(r);e.clear(),i.clear()}oncommit(e){this.#t.add(e)}ondiscard(e){this.#i.add(e)}settled(){return(this.#a??=ze()).promise}static ensure(){if(y===null){const e=y=new W;le||(lt.add(y),Nt||$t(()=>{y===e&&e.flush()}))}return y}apply(){{q=null;return}}schedule(e){if(oe=e,e.b?.is_pending&&(e.f&(wt|Lt|Ne))!==0&&(e.f&rt)===0){e.b.defer_effect(e);return}for(var i=e;i.parent!==null;){i=i.parent;var r=i.f;if(jt!==null&&i===c&&(g===null||(g.f&E)===0))return;if((r&(it|V))!==0){if((r&j)===0)return;i.f^=j}}this.#r.push(i)}}function Gt(t){var e=Nt;Nt=!0;try{for(var i;;){if(gr(),y===null)return i;y.flush()}}finally{Nt=e}}function xr(){try{rr()}catch(t){ot(t,oe)}}let X=null;function Ge(t){var e=t.length;if(e!==0){for(var i=0;i<e;){var r=t[i++];if((r.f&(L|U))===0&&Mt(r)&&(X=new Set,Tt(r),r.deps===null&&r.first===null&&r.nodes===null&&r.teardown===null&&r.ac===null&&ui(r),X?.size>0)){st.clear();for(const n of X){if((n.f&(L|U))!==0)continue;const a=[n];let o=n.parent;for(;o!==null;)X.has(o)&&(X.delete(o),a.push(o)),o=o.parent;for(let m=a.length-1;m>=0;m--){const s=a[m];(s.f&(L|U))===0&&Tt(s)}}X.clear()}}X=null}}function Je(t,e,i,r){if(!i.has(t)&&(i.add(t),t.reactions!==null))for(const n of t.reactions){const a=n.f;(a&E)!==0?Je(n,e,i,r):(a&(ae|et))!==0&&(a&S)===0&&Ke(n,e,r)&&($(n,S),se(n))}}function Ke(t,e,i){const r=i.get(t);if(r!==void 0)return r;if(t.deps!==null)for(const n of t.deps){if(yt.call(e,n))return!0;if((n.f&E)!==0&&Ke(n,e,i))return i.set(n,!0),!0}return i.set(t,!1),!1}function se(t){y.schedule(t)}function We(t,e){if(!((t.f&V)!==0&&(t.f&j)!==0)){(t.f&S)!==0?e.d.push(t):(t.f&H)!==0&&e.m.push(t),$(t,j);for(var i=t.first;i!==null;)We(i,e),i=i.next}}function Xe(t){$(t,j);for(var e=t.first;e!==null;)Xe(e),e=e.next}function yr(t){let e=0,i=Rt(0),r;return()=>{be()&&(F(i),fi(()=>(e===0&&(r=$i(()=>t(()=>Ot(i)))),e+=1,()=>{$t(()=>{e-=1,e===0&&(r?.(),r=void 0,Ot(i))})})))}}var wr=_t|nt;function _r(t,e,i,r){new kr(t,e,i,r)}class kr{parent;is_pending=!1;transform_error;#t;#i=h?x:null;#e;#n;#a;#r=null;#m=null;#o=null;#l=null;#p=0;#s=0;#u=!1;#v=new Set;#d=new Set;#f=null;#g=yr(()=>(this.#f=Rt(this.#p),()=>{this.#f=null}));constructor(e,i,r,n){this.#t=e,this.#e=i,this.#n=a=>{var o=c;o.b=this,o.f|=re,r(a)},this.parent=c.b,this.transform_error=n??this.parent?.transform_error??(a=>a),this.#a=he(()=>{if(h){const a=this.#i;Vt();const o=a.data===Ee;if(a.data.startsWith(Te)){const s=JSON.parse(a.data.slice(Te.length));this.#w(s)}else o?this.#_():this.#c()}else this.#x()},wr),h&&(this.#t=x)}#c(){try{this.#r=tt(()=>this.#n(this.#t))}catch(e){this.error(e)}}#w(e){const i=this.#e.failed;i&&(this.#o=tt(()=>{i(this.#t,()=>e,()=>()=>{})}))}#_(){const e=this.#e.pending;e&&(this.is_pending=!0,this.#m=tt(()=>e(this.#t)),$t(()=>{var i=this.#l=document.createDocumentFragment(),r=Q();i.append(r),this.#r=this.#h(()=>tt(()=>this.#n(r))),this.#s===0&&(this.#t.before(i),this.#l=null,Pt(this.#m,()=>{this.#m=null}),this.#b(y))}))}#x(){try{if(this.is_pending=this.has_pending_snippet(),this.#s=0,this.#p=0,this.#r=tt(()=>{this.#n(this.#t)}),this.#s>0){var e=this.#l=document.createDocumentFragment();gi(this.#r,e);const i=this.#e.pending;this.#m=tt(()=>i(this.#t))}else this.#b(y)}catch(i){this.error(i)}}#b(e){this.is_pending=!1,e.transfer_effects(this.#v,this.#d)}defer_effect(e){He(e,this.#v,this.#d)}is_rendered(){return!this.is_pending&&(!this.parent||this.parent.is_rendered())}has_pending_snippet(){return!!this.#e.pending}#h(e){var i=c,r=g,n=P;J(this.#a),M(this.#a),kt(this.#a.ctx);try{return W.ensure(),e()}catch(a){return Ye(a),null}finally{J(i),M(r),kt(n)}}#y(e,i){if(!this.has_pending_snippet()){this.parent&&this.parent.#y(e,i);return}this.#s+=e,this.#s===0&&(this.#b(i),this.#m&&Pt(this.#m,()=>{this.#m=null}),this.#l&&(this.#t.before(this.#l),this.#l=null))}update_pending_count(e,i){this.#y(e,i),this.#p+=e,!(!this.#f||this.#u)&&(this.#u=!0,$t(()=>{this.#u=!1,this.#f&&Kt(this.#f,this.#p)}))}get_effect_pending(){return this.#g(),F(this.#f)}error(e){var i=this.#e.onerror;let r=this.#e.failed;if(!i&&!r)throw e;this.#r&&(A(this.#r),this.#r=null),this.#m&&(A(this.#m),this.#m=null),this.#o&&(A(this.#o),this.#o=null),h&&(N(this.#i),pr(),N(Me()));var n=!1,a=!1;const o=()=>{if(n){fr();return}n=!0,a&&sr(),this.#o!==null&&Pt(this.#o,()=>{this.#o=null}),this.#h(()=>{this.#x()})},m=s=>{try{a=!0,i?.(s,o),a=!1}catch(l){ot(l,this.#a&&this.#a.parent)}r&&(this.#o=this.#h(()=>{try{return tt(()=>{var l=c;l.b=this,l.f|=re,r(this.#t,()=>s,()=>o)})}catch(l){return ot(l,this.#a.parent),null}}))};$t(()=>{var s;try{s=this.transform_error(e)}catch(l){ot(l,this.#a&&this.#a.parent);return}s!==null&&typeof s=="object"&&typeof s.then=="function"?s.then(m,l=>ot(l,this.#a&&this.#a.parent)):m(s)})}}function $r(t,e,i,r){const n=fe;var a=t.filter(p=>!p.settled);if(i.length===0&&a.length===0){r(e.map(n));return}var o=c,m=jr(),s=a.length===1?a[0].promise:a.length>1?Promise.all(a.map(p=>p.promise)):null;function l(p){m();try{r(p)}catch(d){(o.f&L)===0&&ot(d,o)}Jt()}if(i.length===0){s.then(()=>l(e.map(n)));return}var f=Ze();function u(){Promise.all(i.map(p=>Er(p))).then(p=>l([...e.map(n),...p])).catch(p=>ot(p,o)).finally(()=>f())}s?s.then(()=>{m(),u(),Jt()}):u()}function jr(){var t=c,e=g,i=P,r=y;return function(a=!0){J(t),M(e),kt(i),a&&(t.f&L)===0&&(r?.activate(),r?.apply())}}function Jt(t=!0){J(null),M(null),kt(null),t&&y?.deactivate()}function Ze(){var t=c,e=t.b,i=y,r=e.is_rendered();return e.update_pending_count(1,i),i.increment(r,t),(n=!1)=>{e.update_pending_count(-1,i),i.decrement(r,t,n)}}function fe(t){var e=E|S,i=g!==null&&(g.f&E)!==0?g:null;return c!==null&&(c.f|=nt),{ctx:P,deps:null,effects:null,equals:De,f:e,fn:t,reactions:null,rv:0,v:T,wv:0,parent:i??c,ac:null}}function Er(t,e,i){let r=c;r===null&&Qi();var n=void 0,a=Rt(T),o=!g,m=new Map;return Br(()=>{var s=c,l=ze();n=l.promise;try{Promise.resolve(t()).then(l.resolve,l.reject).finally(Jt)}catch(d){l.reject(d),Jt()}var f=y;if(o){if((s.f&rt)!==0)var u=Ze();if(r.b.is_rendered())m.get(f)?.reject(K),m.delete(f);else{for(const d of m.values())d.reject(K);m.clear()}m.set(f,l)}const p=(d,v=void 0)=>{if(u){var b=v===K;u(b)}if(!(v===K||(s.f&L)!==0)){if(f.activate(),v)a.f|=at,Kt(a,v);else{(a.f&at)!==0&&(a.f^=at),Kt(a,d);for(const[_,k]of m){if(m.delete(_),_===f)break;k.reject(K)}}f.deactivate()}};l.promise.then(p,d=>p(null,d||"unknown"))}),Dr(()=>{for(const s of m.values())s.reject(K)}),new Promise(s=>{function l(f){function u(){f===n?s(a):l(n)}f.then(u,u)}l(n)})}function Tr(t){const e=fe(t);return e.equals=Ie,e}function Sr(t){var e=t.effects;if(e!==null){t.effects=null;for(var i=0;i<e.length;i+=1)A(e[i])}}function Ar(t){for(var e=t.parent;e!==null;){if((e.f&E)===0)return(e.f&L)===0?e:null;e=e.parent}return null}function pe(t){var e,i=c;J(Ar(t));try{t.f&=~dt,Sr(t),e=wi(t)}finally{J(i)}return e}function Qe(t){var e=t.v,i=pe(t);if(!t.equals(i)&&(t.wv=xi(),(!y?.is_fork||t.deps===null)&&(t.v=i,y?.capture(t,e,!0),t.deps===null))){$(t,j);return}pt||(q!==null?(be()||y?.is_fork)&&q.set(t,i):me(t))}function zr(t){if(t.effects!==null)for(const e of t.effects)(e.teardown||e.ac)&&(e.teardown?.(),e.ac?.abort(K),e.teardown=Wi,e.ac=null,Dt(e,0),xe(e))}function ti(t){if(t.effects!==null)for(const e of t.effects)e.teardown&&Tt(e)}let ue=new Set;const st=new Map;let ei=!1;function Rt(t,e){var i={f:0,v:t,reactions:null,equals:De,rv:0,wv:0};return i}function ft(t,e){const i=Rt(t);return Ur(i),i}function Nr(t,e=!1,i=!0){const r=Rt(t);return e||(r.equals=Ie),r}function Z(t,e,i=!1){g!==null&&(!Y||(g.f&Oe)!==0)&&qe()&&(g.f&(E|et|ae|Oe))!==0&&(D===null||!yt.call(D,t))&&lr();let r=i?Et(e):e;return Kt(t,r,Ut)}function Kt(t,e,i=null){if(!t.equals(e)){var r=t.v;pt?st.set(t,e):st.set(t,r),t.v=e;var n=W.ensure();if(n.capture(t,r),(t.f&E)!==0){const a=t;(t.f&S)!==0&&pe(a),q===null&&me(a)}t.wv=xi(),ii(t,S,i),c!==null&&(c.f&j)!==0&&(c.f&(V|it))===0&&(I===null?Gr([t]):I.push(t)),!n.is_fork&&ue.size>0&&!ei&&Rr()}return e}function Rr(){ei=!1;for(const t of ue)(t.f&j)!==0&&$(t,H),Mt(t)&&Tt(t);ue.clear()}function Ot(t){Z(t,t.v+1)}function ii(t,e,i){var r=t.reactions;if(r!==null)for(var n=r.length,a=0;a<n;a++){var o=r[a],m=o.f,s=(m&S)===0;if(s&&$(o,e),(m&E)!==0){var l=o;q?.delete(l),(m&dt)===0&&(m&C&&(o.f|=dt),ii(l,H,i))}else if(s){var f=o;(m&et)!==0&&X!==null&&X.add(f),i!==null?i.push(f):se(f)}}}function Et(t){if(typeof t!="object"||t===null||qt in t)return t;const e=Ki(t);if(e!==Gi&&e!==Ji)return t;var i=new Map,r=Vi(t),n=ft(0),a=bt,o=m=>{if(bt===a)return m();var s=g,l=bt;M(null),hi(a);var f=m();return M(s),hi(l),f};return r&&i.set("length",ft(t.length)),new Proxy(t,{defineProperty(m,s,l){(!("value"in l)||l.configurable===!1||l.enumerable===!1||l.writable===!1)&&mr();var f=i.get(s);return f===void 0?o(()=>{var u=ft(l.value);return i.set(s,u),u}):Z(f,l.value,!0),!0},deleteProperty(m,s){var l=i.get(s);if(l===void 0){if(s in m){const f=o(()=>ft(T));i.set(s,f),Ot(n)}}else Z(l,T),Ot(n);return!0},get(m,s,l){if(s===qt)return t;var f=i.get(s),u=s in m;if(f===void 0&&(!u||ut(m,s)?.writable)&&(f=o(()=>{var d=Et(u?m[s]:T),v=ft(d);return v}),i.set(s,f)),f!==void 0){var p=F(f);return p===T?void 0:p}return Reflect.get(m,s,l)},getOwnPropertyDescriptor(m,s){var l=Reflect.getOwnPropertyDescriptor(m,s);if(l&&"value"in l){var f=i.get(s);f&&(l.value=F(f))}else if(l===void 0){var u=i.get(s),p=u?.v;if(u!==void 0&&p!==T)return{enumerable:!0,configurable:!0,value:p,writable:!0}}return l},has(m,s){if(s===qt)return!0;var l=i.get(s),f=l!==void 0&&l.v!==T||Reflect.has(m,s);if(l!==void 0||c!==null&&(!f||ut(m,s)?.writable)){l===void 0&&(l=o(()=>{var p=f?Et(m[s]):T,d=ft(p);return d}),i.set(s,l));var u=F(l);if(u===T)return!1}return f},set(m,s,l,f){var u=i.get(s),p=s in m;if(r&&s==="length")for(var d=l;d<u.v;d+=1){var v=i.get(d+"");v!==void 0?Z(v,T):d in m&&(v=o(()=>ft(T)),i.set(d+"",v))}if(u===void 0)(!p||ut(m,s)?.writable)&&(u=o(()=>ft(void 0)),Z(u,Et(l)),i.set(s,u));else{p=u.v!==T;var b=o(()=>Et(l));Z(u,b)}var _=Reflect.getOwnPropertyDescriptor(m,s);if(_?.set&&_.set.call(f,l),!p){if(r&&typeof s=="string"){var k=i.get("length"),w=Number(s);Number.isInteger(w)&&w>=k.v&&Z(k,w+1)}Ot(n)}return!0},ownKeys(m){F(n);var s=Reflect.ownKeys(m).filter(u=>{var p=i.get(u);return p===void 0||p.v!==T});for(var[l,f]of i)f.v!==T&&!(l in m)&&s.push(l);return s},setPrototypeOf(){or()}})}var ri,ni,ai,mi;function de(){if(ri===void 0){ri=window,ni=/Firefox/.test(navigator.userAgent);var t=Element.prototype,e=Node.prototype,i=Text.prototype;ai=ut(e,"firstChild").get,mi=ut(e,"nextSibling").get,Ae(t)&&(t.__click=void 0,t.__className=void 0,t.__attributes=null,t.__style=void 0,t.__e=void 0),Ae(i)&&(i.__t=void 0)}}function Q(t=""){return document.createTextNode(t)}function gt(t){return ai.call(t)}function B(t){return mi.call(t)}function Ct(t,e){if(!h)return gt(t);var i=gt(x);if(i===null)i=x.appendChild(Q());else if(e&&i.nodeType!==Bt){var r=Q();return i?.before(r),N(r),r}return e&&ce(i),N(i),i}function oi(t,e=!1){if(!h){var i=gt(t);return i instanceof Comment&&i.data===""?B(i):i}if(e){if(x?.nodeType!==Bt){var r=Q();return x?.before(r),N(r),r}ce(x)}return x}function ve(t,e=1,i=!1){let r=h?x:t;for(var n;e--;)n=r,r=B(r);if(!h)return r;if(i){if(r?.nodeType!==Bt){var a=Q();return r===null?n?.after(a):r.before(a),N(a),a}ce(r)}return N(r),r}function Or(t){t.textContent=""}function Cr(){return!1}function ge(t,e,i){return document.createElementNS(Bi,t,void 0)}function ce(t){if(t.nodeValue.length<65536)return;let e=t.nextSibling;for(;e!==null&&e.nodeType===Bt;)e.remove(),t.nodeValue+=e.nodeValue,e=t.nextSibling}function li(t){var e=g,i=c;M(null),J(null);try{return t()}finally{M(e),J(i)}}function Pr(t){c===null&&(g===null&&ir(),er()),pt&&tr()}function Mr(t,e){var i=e.last;i===null?e.last=e.first=t:(i.next=t,t.prev=i,e.last=t)}function G(t,e){var i=c;i!==null&&(i.f&U)!==0&&(t|=U);var r={ctx:P,deps:null,nodes:null,f:t|S|C,first:null,fn:e,last:null,next:null,parent:i,b:i&&i.b,prev:null,teardown:null,wv:0,ac:null},n=r;if((t&wt)!==0)jt!==null?jt.push(r):W.ensure().schedule(r);else if(e!==null){try{Tt(r)}catch(o){throw A(r),o}n.deps===null&&n.teardown===null&&n.nodes===null&&n.first===n.last&&(n.f&nt)===0&&(n=n.first,(t&et)!==0&&(t&_t)!==0&&n!==null&&(n.f|=_t))}if(n!==null&&(n.parent=i,i!==null&&Mr(n,i),g!==null&&(g.f&E)!==0&&(t&it)===0)){var a=g;(a.effects??=[]).push(n)}return r}function be(){return g!==null&&!Y}function Dr(t){const e=G(Lt,null);return $(e,j),e.teardown=t,e}function Ir(t){Pr();var e=c.f,i=!g&&(e&V)!==0&&(e&rt)===0;if(i){var r=P;(r.e??=[]).push(t)}else return si(t)}function si(t){return G(wt|Zi,t)}function Fr(t){W.ensure();const e=G(it|nt,t);return()=>{A(e)}}function Lr(t){W.ensure();const e=G(it|nt,t);return(i={})=>new Promise(r=>{i.outro?Pt(e,()=>{A(e),r(void 0)}):(A(e),r(void 0))})}function qr(t){return G(wt,t)}function Br(t){return G(ae|nt,t)}function fi(t,e=0){return G(Lt|e,t)}function Wt(t,e=[],i=[],r=[]){$r(r,e,i,n=>{G(Lt,()=>t(...n.map(F)))})}function he(t,e=0){var i=G(et|e,t);return i}function tt(t){return G(V|nt,t)}function pi(t){var e=t.teardown;if(e!==null){const i=pt,r=g;ci(!0),M(null);try{e.call(null)}finally{ci(i),M(r)}}}function xe(t,e=!1){var i=t.first;for(t.first=t.last=null;i!==null;){const n=i.ac;n!==null&&li(()=>{n.abort(K)});var r=i.next;(i.f&it)!==0?i.parent=null:A(i,e),i=r}}function Yr(t){for(var e=t.first;e!==null;){var i=e.next;(e.f&V)===0&&A(e),e=i}}function A(t,e=!0){var i=!1;(e||(t.f&Ce)!==0)&&t.nodes!==null&&t.nodes.end!==null&&(Vr(t.nodes.start,t.nodes.end),i=!0),$(t,Re),xe(t,e&&!i),Dt(t,0);var r=t.nodes&&t.nodes.t;if(r!==null)for(const a of r)a.stop();pi(t),t.f^=Re,t.f|=L;var n=t.parent;n!==null&&n.first!==null&&ui(t),t.next=t.prev=t.teardown=t.ctx=t.deps=t.fn=t.nodes=t.ac=t.b=null}function Vr(t,e){for(;t!==null;){var i=t===e?null:B(t);t.remove(),t=i}}function ui(t){var e=t.parent,i=t.prev,r=t.next;i!==null&&(i.next=r),r!==null&&(r.prev=i),e!==null&&(e.first===t&&(e.first=r),e.last===t&&(e.last=i))}function Pt(t,e,i=!0){var r=[];di(t,r,!0);var n=()=>{i&&A(t),e&&e()},a=r.length;if(a>0){var o=()=>--a||n();for(var m of r)m.out(o)}else n()}function di(t,e,i){if((t.f&U)===0){t.f^=U;var r=t.nodes&&t.nodes.t;if(r!==null)for(const m of r)(m.is_global||i)&&e.push(m);for(var n=t.first;n!==null;){var a=n.next,o=(n.f&_t)!==0||(n.f&V)!==0&&(t.f&et)!==0;di(n,e,o?i:!1),n=a}}}function Hr(t){vi(t,!0)}function vi(t,e){if((t.f&U)!==0){t.f^=U,(t.f&j)===0&&($(t,S),W.ensure().schedule(t));for(var i=t.first;i!==null;){var r=i.next,n=(i.f&_t)!==0||(i.f&V)!==0;vi(i,n?e:!1),i=r}var a=t.nodes&&t.nodes.t;if(a!==null)for(const o of a)(o.is_global||e)&&o.in()}}function gi(t,e){if(t.nodes)for(var i=t.nodes.start,r=t.nodes.end;i!==null;){var n=i===r?null:B(i);e.append(i),i=n}}let Xt=!1,pt=!1;function ci(t){pt=t}let g=null,Y=!1;function M(t){g=t}let c=null;function J(t){c=t}let D=null;function Ur(t){g!==null&&(D===null?D=[t]:D.push(t))}let z=null,R=0,I=null;function Gr(t){I=t}let bi=1,ct=0,bt=ct;function hi(t){bt=t}function xi(){return++bi}function Mt(t){var e=t.f;if((e&S)!==0)return!0;if(e&E&&(t.f&=~dt),(e&H)!==0){for(var i=t.deps,r=i.length,n=0;n<r;n++){var a=i[n];if(Mt(a)&&Qe(a),a.wv>t.wv)return!0}(e&C)!==0&&q===null&&$(t,j)}return!1}function yi(t,e,i=!0){var r=t.reactions;if(r!==null&&!(D!==null&&yt.call(D,t)))for(var n=0;n<r.length;n++){var a=r[n];(a.f&E)!==0?yi(a,e,!1):e===a&&(i?$(a,S):(a.f&j)!==0&&$(a,H),se(a))}}function wi(t){var e=z,i=R,r=I,n=g,a=D,o=P,m=Y,s=bt,l=t.f;z=null,R=0,I=null,g=(l&(V|it))===0?t:null,D=null,kt(t.ctx),Y=!1,bt=++ct,t.ac!==null&&(li(()=>{t.ac.abort(K)}),t.ac=null);try{t.f|=ne;var f=t.fn,u=f();t.f|=rt;var p=t.deps,d=y?.is_fork;if(z!==null){var v;if(d||Dt(t,R),p!==null&&R>0)for(p.length=R+z.length,v=0;v<z.length;v++)p[R+v]=z[v];else t.deps=p=z;if(be()&&(t.f&C)!==0)for(v=R;v<p.length;v++)(p[v].reactions??=[]).push(t)}else!d&&p!==null&&R<p.length&&(Dt(t,R),p.length=R);if(qe()&&I!==null&&!Y&&p!==null&&(t.f&(E|H|S))===0)for(v=0;v<I.length;v++)yi(I[v],t);if(n!==null&&n!==t){if(ct++,n.deps!==null)for(let b=0;b<i;b+=1)n.deps[b].rv=ct;if(e!==null)for(const b of e)b.rv=ct;I!==null&&(r===null?r=I:r.push(...I))}return(t.f&at)!==0&&(t.f^=at),u}catch(b){return Ye(b)}finally{t.f^=ne,z=e,R=i,I=r,g=n,D=a,kt(o),Y=m,bt=s}}function Jr(t,e){let i=e.reactions;if(i!==null){var r=Hi.call(i,t);if(r!==-1){var n=i.length-1;n===0?i=e.reactions=null:(i[r]=i[n],i.pop())}}if(i===null&&(e.f&E)!==0&&(z===null||!yt.call(z,e))){var a=e;(a.f&C)!==0&&(a.f^=C,a.f&=~dt),me(a),zr(a),Dt(a,0)}}function Dt(t,e){var i=t.deps;if(i!==null)for(var r=e;r<i.length;r++)Jr(t,i[r])}function Tt(t){var e=t.f;if((e&L)===0){$(t,j);var i=c,r=Xt;c=t,Xt=!0;try{(e&(et|Ne))!==0?Yr(t):xe(t),pi(t);var n=wi(t);t.teardown=typeof n=="function"?n:null,t.wv=bi;var a;Yi&&vr&&(t.f&S)!==0&&t.deps}finally{Xt=r,c=i}}}function F(t){var e=t.f,i=(e&E)!==0;if(g!==null&&!Y){var r=c!==null&&(c.f&L)!==0;if(!r&&(D===null||!yt.call(D,t))){var n=g.deps;if((g.f&ne)!==0)t.rv<ct&&(t.rv=ct,z===null&&n!==null&&n[R]===t?R++:z===null?z=[t]:z.push(t));else{(g.deps??=[]).push(t);var a=t.reactions;a===null?t.reactions=[g]:yt.call(a,g)||a.push(g)}}}if(pt&&st.has(t))return st.get(t);if(i){var o=t;if(pt){var m=o.v;return((o.f&j)===0&&o.reactions!==null||ki(o))&&(m=pe(o)),st.set(o,m),m}var s=(o.f&C)===0&&!Y&&g!==null&&(Xt||(g.f&C)!==0),l=(o.f&rt)===0;Mt(o)&&(s&&(o.f|=C),Qe(o)),s&&!l&&(ti(o),_i(o))}if(q?.has(t))return q.get(t);if((t.f&at)!==0)throw t.v;return t.v}function _i(t){if(t.f|=C,t.deps!==null)for(const e of t.deps)(e.reactions??=[]).push(t),(e.f&E)!==0&&(e.f&C)===0&&(ti(e),_i(e))}function ki(t){if(t.v===T)return!0;if(t.deps===null)return!1;for(const e of t.deps)if(st.has(e)||(e.f&E)!==0&&ki(e))return!0;return!1}function $i(t){var e=Y;try{return Y=!0,t()}finally{Y=e}}const Zt=Symbol("events"),Kr=new Set,ji=new Set;let Ei=null;function Ti(t){var e=this,i=e.ownerDocument,r=t.type,n=t.composedPath?.()||[],a=n[0]||t.target;Ei=t;var o=0,m=Ei===t&&t[Zt];if(m){var s=n.indexOf(m);if(s!==-1&&(e===document||e===window)){t[Zt]=e;return}var l=n.indexOf(e);if(l===-1)return;s<=l&&(o=s)}if(a=n[o]||t.target,a!==e){Ft(t,"currentTarget",{configurable:!0,get(){return a||i}});var f=g,u=c;M(null),J(null);try{for(var p,d=[];a!==null;){var v=a.assignedSlot||a.parentNode||a.host||null;try{var b=a[Zt]?.[r];b!=null&&(!a.disabled||t.target===a)&&b.call(a,t)}catch(_){p?d.push(_):p=_}if(t.cancelBubble||v===e||v===null)break;a=v}if(p){for(let _ of d)queueMicrotask(()=>{throw _});throw p}}finally{t[Zt]=e,delete t.currentTarget,M(f),J(u)}}}const Wr=globalThis?.window?.trustedTypes&&globalThis.window.trustedTypes.createPolicy("svelte-trusted-html",{createHTML:t=>t});function Xr(t){return Wr?.createHTML(t)??t}function Zr(t){var e=ge("template");return e.innerHTML=Xr(t.replaceAll("<!>","<!---->")),e.content}function Qt(t,e){var i=c;i.nodes===null&&(i.nodes={start:t,end:e,a:null,t:null})}function St(t,e){var i=(e&Li)!==0,r=(e&qi)!==0,n,a=!t.startsWith("<!>");return()=>{if(h)return Qt(x,null),x;n===void 0&&(n=Zr(a?t:"<!>"+t),i||(n=gt(n)));var o=r||ni?document.importNode(n,!0):n.cloneNode(!0);if(i){var m=gt(o),s=o.lastChild;Qt(m,s)}else Qt(o,o);return o}}function ht(t,e){if(h){var i=c;((i.f&rt)===0||i.nodes.end===null)&&(i.nodes.end=x),Vt();return}t!==null&&t.before(e)}const Qr=["touchstart","touchmove"];function tn(t){return Qr.includes(t)}function Si(t,e){var i=e==null?"":typeof e=="object"?`${e}`:e;i!==(t.__t??=t.nodeValue)&&(t.__t=i,t.nodeValue=`${i}`)}function Ai(t,e){return zi(t,e)}function en(t,e){de(),e.intro=e.intro??!1;const i=e.target,r=h,n=x;try{for(var a=gt(i);a&&(a.nodeType!==At||a.data!==je);)a=B(a);if(!a)throw xt;mt(!0),N(a);const o=zi(t,{...e,anchor:a});return mt(!1),o}catch(o){if(o instanceof Error&&o.message.split(`
2
+ `).some(m=>m.startsWith("https://svelte.dev/e/")))throw o;return o!==xt&&console.warn("Failed to hydrate: ",o),e.recover===!1&&nr(),de(),Or(i),mt(!1),Ai(t,e)}finally{mt(r),N(n)}}const te=new Map;function zi(t,{target:e,anchor:i,props:r={},events:n,context:a,intro:o=!0,transformError:m}){de();var s=void 0,l=Lr(()=>{var f=i??e.appendChild(Q());_r(f,{pending:()=>{}},d=>{Fe({});var v=P;if(a&&(v.c=a),n&&(r.$$events=n),h&&Qt(d,null),s=t(d,r)||{},h&&(c.nodes.end=x,x===null||x.nodeType!==At||x.data!==Se))throw Yt(),xt;Le()},m);var u=new Set,p=d=>{for(var v=0;v<d.length;v++){var b=d[v];if(!u.has(b)){u.add(b);var _=tn(b);for(const O of[e,document]){var k=te.get(O);k===void 0&&(k=new Map,te.set(O,k));var w=k.get(b);w===void 0?(O.addEventListener(b,Ti,{passive:_}),k.set(b,1)):k.set(b,w+1)}}}};return p(Ui(Kr)),ji.add(p),()=>{for(var d of u)for(const _ of[e,document]){var v=te.get(_),b=v.get(d);--b==0?(_.removeEventListener(d,Ti),v.delete(d),v.size===0&&te.delete(_)):v.set(d,b)}ji.delete(p),f!==i&&f.parentNode?.removeChild(f)}});return ye.set(s,l),s}let ye=new WeakMap;function rn(t,e){const i=ye.get(t);return i?(ye.delete(t),i(e)):Promise.resolve()}class nn{anchor;#t=new Map;#i=new Map;#e=new Map;#n=new Set;#a=!0;constructor(e,i=!0){this.anchor=e,this.#a=i}#r=e=>{if(this.#t.has(e)){var i=this.#t.get(e),r=this.#i.get(i);if(r)Hr(r),this.#n.delete(i);else{var n=this.#e.get(i);n&&(this.#i.set(i,n.effect),this.#e.delete(i),n.fragment.lastChild.remove(),this.anchor.before(n.fragment),r=n.effect)}for(const[a,o]of this.#t){if(this.#t.delete(a),a===e)break;const m=this.#e.get(o);m&&(A(m.effect),this.#e.delete(o))}for(const[a,o]of this.#i){if(a===i||this.#n.has(a))continue;const m=()=>{if(Array.from(this.#t.values()).includes(a)){var l=document.createDocumentFragment();gi(o,l),l.append(Q()),this.#e.set(a,{effect:o,fragment:l})}else A(o);this.#n.delete(a),this.#i.delete(a)};this.#a||!r?(this.#n.add(a),Pt(o,m,!1)):m()}}};#m=e=>{this.#t.delete(e);const i=Array.from(this.#t.values());for(const[r,n]of this.#e)i.includes(r)||(A(n.effect),this.#e.delete(r))};ensure(e,i){var r=y,n=Cr();if(i&&!this.#i.has(e)&&!this.#e.has(e))if(n){var a=document.createDocumentFragment(),o=Q();a.append(o),this.#e.set(e,{effect:tt(()=>i(o)),fragment:a})}else this.#i.set(e,tt(()=>i(this.anchor)));if(this.#t.set(r,e),n){for(const[m,s]of this.#i)m===e?r.unskip_effect(s):r.skip_effect(s);for(const[m,s]of this.#e)m===e?r.unskip_effect(s.effect):r.skip_effect(s.effect);r.oncommit(this.#r),r.ondiscard(this.#m)}else h&&(this.anchor=x),this.#r(r)}}function we(t,e,i=!1){var r;h&&(r=x,Vt());var n=new nn(t),a=i?_t:0;function o(m,s){if(h){var l=ur(r);if(m!==parseInt(l.substring(1))){var f=Me();N(f),n.anchor=f,mt(!1),n.ensure(m,s),mt(!0);return}}n.ensure(m,s)}he(()=>{var m=!1;e((s,l=0)=>{m=!0,o(l,s)}),m||o(-1,null)},a)}function Ni(t,e,i,r,n){h&&Vt();var a=e.$$slots?.[i],o=!1;a===!0&&(a=e[i==="default"?"children":i],o=!0),a===void 0?n!==null&&n(t):a(t,o?()=>r:r)}function an(t,e){let i=null,r=h;var n;if(h){i=x;for(var a=gt(document.head);a!==null&&(a.nodeType!==At||a.data!==t);)a=B(a);if(a===null)mt(!1);else{var o=B(a);a.remove(),N(o)}}h||(n=document.head.appendChild(Q()));try{he(()=>e(n),Ce|nt)}finally{r&&(mt(!0),N(i))}}function mn(t,e){qr(()=>{var i=t.getRootNode(),r=i.host?i:i.head??i.ownerDocument.head;if(!r.querySelector("#"+e.hash)){const n=ge("style");n.id=e.hash,n.textContent=e.code,r.appendChild(n)}})}function on(t,e,i){var r=t==null?"":""+t;return r=r?r+" "+e:e,r===""?null:r}function ln(t,e){return t==null?null:String(t)}function sn(t,e,i,r,n,a){var o=t.__className;if(h||o!==i||o===void 0){var m=on(i,r);(!h||m!==t.getAttribute("class"))&&(m==null?t.removeAttribute("class"):t.className=m),t.__className=i}return a}function fn(t,e,i,r){var n=t.__style;if(h||n!==e){var a=ln(e);(!h||a!==t.getAttribute("style"))&&(a==null?t.removeAttribute("style"):t.style.cssText=a),t.__style=e}return r}function _e(t,e,i,r){var n=(i&Ii)!==0,a=(i&Fi)!==0,o=r,m=!0,s=()=>(m&&(m=!1,o=a?$i(r):r),o);let l;if(n){var f=qt in t||Pe in t;l=ut(t,e)?.set??(f&&e in t?w=>t[e]=w:void 0)}var u,p=!1;n?[u,p]=br(()=>t[e]):u=t[e],u===void 0&&r!==void 0&&(u=s(),l&&(ar(),l(u)));var d;if(d=()=>{var w=t[e];return w===void 0?s():(m=!0,w)},(i&Di)===0)return d;if(l){var v=t.$$legacy;return(function(w,O){return arguments.length>0?((!O||v||p)&&l(O?d():w),w):d()})}var b=!1,_=((i&Mi)!==0?fe:Tr)(()=>(b=!1,d()));n&&F(_);var k=c;return(function(w,O){if(arguments.length>0){const ie=O?F(_):n?Et(w):w;return Z(_,ie),b=!0,o!==void 0&&(o=ie),w}return pt&&b||(k.f&L)!==0?_.v:F(_)})}function pn(t){return new un(t)}class un{#t;#i;constructor(e){var i=new Map,r=(a,o)=>{var m=Nr(o,!1,!1);return i.set(a,m),m};const n=new Proxy({...e.props||{},$$events:{}},{get(a,o){return F(i.get(o)??r(o,Reflect.get(a,o)))},has(a,o){return o===Pe?!0:(F(i.get(o)??r(o,Reflect.get(a,o))),Reflect.has(a,o))},set(a,o,m){return Z(i.get(o)??r(o,m),m),Reflect.set(a,o,m)}});this.#i=(e.hydrate?en:Ai)(e.component,{target:e.target,anchor:e.anchor,props:n,context:e.context,intro:e.intro??!1,recover:e.recover,transformError:e.transformError}),(!e?.props?.$$host||e.sync===!1)&&Gt(),this.#t=n.$$events;for(const a of Object.keys(this.#i))a==="$set"||a==="$destroy"||a==="$on"||Ft(this,a,{get(){return this.#i[a]},set(o){this.#i[a]=o},enumerable:!0});this.#i.$set=a=>{Object.assign(n,a)},this.#i.$destroy=()=>{rn(this.#i)}}$set(e){this.#i.$set(e)}$on(e,i){this.#t[e]=this.#t[e]||[];const r=(...n)=>i.call(this,...n);return this.#t[e].push(r),()=>{this.#t[e]=this.#t[e].filter(n=>n!==r)}}$destroy(){this.#i.$destroy()}}let Ri;typeof HTMLElement=="function"&&(Ri=class extends HTMLElement{$$ctor;$$s;$$c;$$cn=!1;$$d={};$$r=!1;$$p_d={};$$l={};$$l_u=new Map;$$me;$$shadowRoot=null;constructor(t,e,i){super(),this.$$ctor=t,this.$$s=e,i&&(this.$$shadowRoot=this.attachShadow(i))}addEventListener(t,e,i){if(this.$$l[t]=this.$$l[t]||[],this.$$l[t].push(e),this.$$c){const r=this.$$c.$on(t,e);this.$$l_u.set(e,r)}super.addEventListener(t,e,i)}removeEventListener(t,e,i){if(super.removeEventListener(t,e,i),this.$$c){const r=this.$$l_u.get(e);r&&(r(),this.$$l_u.delete(e))}}async connectedCallback(){if(this.$$cn=!0,!this.$$c){let t=function(r){return n=>{const a=ge("slot");r!=="default"&&(a.name=r),ht(n,a)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const e={},i=dn(this);for(const r of this.$$s)r in i&&(r==="default"&&!this.$$d.children?(this.$$d.children=t(r),e.default=!0):e[r]=t(r));for(const r of this.attributes){const n=this.$$g_p(r.name);n in this.$$d||(this.$$d[n]=ee(n,r.value,this.$$p_d,"toProp"))}for(const r in this.$$p_d)!(r in this.$$d)&&this[r]!==void 0&&(this.$$d[r]=this[r],delete this[r]);this.$$c=pn({component:this.$$ctor,target:this.$$shadowRoot||this,props:{...this.$$d,$$slots:e,$$host:this}}),this.$$me=Fr(()=>{fi(()=>{this.$$r=!0;for(const r of It(this.$$c)){if(!this.$$p_d[r]?.reflect)continue;this.$$d[r]=this.$$c[r];const n=ee(r,this.$$d[r],this.$$p_d,"toAttribute");n==null?this.removeAttribute(this.$$p_d[r].attribute||r):this.setAttribute(this.$$p_d[r].attribute||r,n)}this.$$r=!1})});for(const r in this.$$l)for(const n of this.$$l[r]){const a=this.$$c.$on(r,n);this.$$l_u.set(n,a)}this.$$l={}}}attributeChangedCallback(t,e,i){this.$$r||(t=this.$$g_p(t),this.$$d[t]=ee(t,i,this.$$p_d,"toProp"),this.$$c?.$set({[t]:this.$$d[t]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$me(),this.$$c=void 0)})}$$g_p(t){return It(this.$$p_d).find(e=>this.$$p_d[e].attribute===t||!this.$$p_d[e].attribute&&e.toLowerCase()===t)||t}});function ee(t,e,i,r){const n=i[t]?.type;if(e=n==="Boolean"&&typeof e!="boolean"?e!=null:e,!r||!i[t])return e;if(r==="toAttribute")switch(n){case"Object":case"Array":return e==null?null:JSON.stringify(e);case"Boolean":return e?"":null;case"Number":return e??null;default:return e}else switch(n){case"Object":case"Array":return e&&JSON.parse(e);case"Boolean":return e;case"Number":return e!=null?+e:e;default:return e}}function dn(t){const e={};return t.childNodes.forEach(i=>{e[i.slot||"default"]=!0}),e}function vn(t,e,i,r,n,a){let o=class extends Ri{constructor(){super(t,i,n),this.$$p_d=e}static get observedAttributes(){return It(e).map(m=>(e[m].attribute||m).toLowerCase())}};return It(e).forEach(m=>{Ft(o.prototype,m,{get(){return this.$$c&&m in this.$$c?this.$$c[m]:this.$$d[m]},set(s){s=ee(m,s,e),this.$$d[m]=s;var l=this.$$c;if(l){var f=ut(l,m)?.get;f?l[m]=s:l.$set({[m]:s})}}})}),r.forEach(m=>{Ft(o.prototype,m,{get(){return this.$$c?.[m]}})}),t.element=o,o}var gn=St('<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@latest/font/bootstrap-icons.css" class="svelte-1uf1mti"/>'),cn=St("<i></i>"),bn=St('<!> <span class="svelte-1uf1mti"> </span>',1),hn=St('<span style="float:right;margin-right:10px" class="badge bg-secondary svelte-1uf1mti"> </span>'),xn=St("<!> <!>",1),yn=St('<div part="card" class="card svelte-1uf1mti"><div class="card-header svelte-1uf1mti"><!></div> <div class="card-body svelte-1uf1mti"><!></div></div>');const wn={hash:"svelte-1uf1mti",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-1uf1mti,
10
+ */.svelte-1uf1mti,
11
11
  .svelte-1uf1mti::before,
12
12
  .svelte-1uf1mti::after {box-sizing:border-box;}
13
13
  @media (prefers-reduced-motion: no-preference) {:host {scroll-behavior:smooth;}
@@ -69,5 +69,5 @@
69
69
  @media (min-width: 1200px) {.fs-1.svelte-1uf1mti {font-size:2.5rem !important;}.fs-2.svelte-1uf1mti {font-size:2rem !important;}.fs-3.svelte-1uf1mti {font-size:1.75rem !important;}.fs-4.svelte-1uf1mti {font-size:1.5rem !important;}
70
70
  }
71
71
  @media print {.d-print-inline.svelte-1uf1mti {display:inline !important;}.d-print-inline-block.svelte-1uf1mti {display:inline-block !important;}.d-print-block.svelte-1uf1mti {display:block !important;}.d-print-grid.svelte-1uf1mti {display:grid !important;}.d-print-inline-grid.svelte-1uf1mti {display:inline-grid !important;}.d-print-table.svelte-1uf1mti {display:table !important;}.d-print-table-row.svelte-1uf1mti {display:table-row !important;}.d-print-table-cell.svelte-1uf1mti {display:table-cell !important;}.d-print-flex.svelte-1uf1mti {display:flex !important;}.d-print-inline-flex.svelte-1uf1mti {display:inline-flex !important;}.d-print-none.svelte-1uf1mti {display:none !important;}
72
- }:host {font-family:"Roboto", sans-serif;}`};function wr(t,e){Ne(e,!0),Li(t,en);let r=ye(e,"id",7,""),i=ye(e,"body",23,()=>({noborder:!1})),a=ye(e,"header",7);hi(()=>{typeof a()=="string"&&a(JSON.parse(a())),typeof i()=="string"&&i(JSON.parse(i())),i()&&!i()?.noborder&&(i().noborder=!1)});var n={get id(){return r()},set id(p=""){r(p),Yt()},get body(){return i()},set body(p={noborder:!1}){i(p),Yt()},get header(){return a()},set header(p){a(p),Yt()}},m=tn();Di("1uf1mti",p=>{var f=Ji();ct(p,f)});var o=zt(m),l=zt(o);xr(l,e,"header_content",{},p=>{var f=Qi(),u=Je(f);{var h=D=>{var x=Xi(),et=Je(x);{var ee=we=>{var kr=Wi();Gt(()=>Bi(kr,1,`bi bi-${a().icon??""}`,"svelte-1uf1mti")),ct(we,kr)};xe(et,we=>{a().icon&&we(ee)})}var _r=ce(et,2),rn=zt(_r,!0);Et(_r),Gt(()=>cr(rn,a().label)),ct(D,x)};xe(u,D=>{a()?.label&&D(h)})}var E=ce(u,2);{var T=D=>{var x=Zi(),et=zt(x,!0);Et(x),Gt(()=>cr(et,a().badge)),ct(D,x)};xe(E,D=>{a()?.badge&&D(T)})}ct(p,f)}),Et(o);var s=ce(o,2),d=zt(s);return xr(d,e,"content",{},p=>{}),Et(s),Et(m),Gt(()=>Ui(s,i()?.noborder?"padding:0px":"")),ct(t,m),Ce(n)}customElements.define("hb-dashboard-card1",Gi(wr,{id:{},body:{},header:{}},["header_content","content"],[],!0)),_e.Component=wr,Object.defineProperty(_e,Symbol.toStringTag,{value:"Module"})})(this["dashboard-card1"]=this["dashboard-card1"]||{});
72
+ }:host {font-family:"Roboto", sans-serif;}`};function Oi(t,e){Fe(e,!0),mn(t,wn);let i=_e(e,"id",7,""),r=_e(e,"body",23,()=>({noborder:!1})),n=_e(e,"header",7);Ir(()=>{typeof n()=="string"&&n(JSON.parse(n())),typeof r()=="string"&&r(JSON.parse(r())),r()&&!r()?.noborder&&(r().noborder=!1)});var a={get id(){return i()},set id(u=""){i(u),Gt()},get body(){return r()},set body(u={noborder:!1}){r(u),Gt()},get header(){return n()},set header(u){n(u),Gt()}},o=yn();an("1uf1mti",u=>{var p=gn();ht(u,p)});var m=Ct(o),s=Ct(m);Ni(s,e,"header_content",{},u=>{var p=xn(),d=oi(p);{var v=k=>{var w=bn(),O=oi(w);{var ie=ke=>{var Pi=cn();Wt(()=>sn(Pi,1,`bi bi-${n().icon??""}`,"svelte-1uf1mti")),ht(ke,Pi)};we(O,ke=>{n().icon&&ke(ie)})}var Ci=ve(O,2),_n=Ct(Ci,!0);zt(Ci),Wt(()=>Si(_n,n().label)),ht(k,w)};we(d,k=>{n()?.label&&k(v)})}var b=ve(d,2);{var _=k=>{var w=hn(),O=Ct(w,!0);zt(w),Wt(()=>Si(O,n().badge)),ht(k,w)};we(b,k=>{n()?.badge&&k(_)})}ht(u,p)}),zt(m);var l=ve(m,2),f=Ct(l);return Ni(f,e,"content",{},u=>{}),zt(l),zt(o),Wt(()=>fn(l,r()?.noborder?"padding:0px":"")),ht(t,o),Le(a)}customElements.define("hb-dashboard-card1",vn(Oi,{id:{},body:{},header:{}},["header_content","content"],[],{mode:"open"})),$e.Component=Oi,Object.defineProperty($e,Symbol.toStringTag,{value:"Module"})})(this["dashboard-card1"]=this["dashboard-card1"]||{});
73
73
  //# sourceMappingURL=main.iife.js.map