@htmlbricks/hb-dashboard-card1 0.66.0 → 0.66.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/main.iife.js CHANGED
@@ -1,5 +1,5 @@
1
- (function(_e){"use strict";typeof window<"u"&&((window.__svelte??={}).v??=new Set).add("5");const $i=1,ji=4,Ei=8,Ti=16,Si=1,Ai=2,ke="[",ie="[!",$e="]",bt={},_=Symbol(),re=!1;var zi=Array.isArray,Ri=Array.prototype.indexOf,Ni=Array.from,Pt=Object.keys,Dt=Object.defineProperty,lt=Object.getOwnPropertyDescriptor,Oi=Object.prototype,Ci=Array.prototype,Pi=Object.getPrototypeOf,je=Object.isExtensible;function Di(t){for(var e=0;e<t.length;e++)t[e]()}function Ee(){var t,e,i=new Promise((r,m)=>{t=r,e=m});return{promise:i,resolve:t,reject:e}}const w=2,ne=4,me=8,H=16,K=32,it=64,It=128,F=512,k=1024,S=2048,G=4096,B=8192,J=16384,Mt=32768,ht=65536,Te=1<<17,ae=1<<18,st=1<<19,Ii=1<<20,ft=32768,oe=1<<21,le=1<<22,rt=1<<23,Ft=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 Mi(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function Fi(t){throw new Error("https://svelte.dev/e/effect_in_teardown")}function Li(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function qi(t){throw new Error("https://svelte.dev/e/effect_orphan")}function Bi(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function Yi(){throw new Error("https://svelte.dev/e/hydration_failed")}function Ui(t){throw new Error("https://svelte.dev/e/props_invalid_value")}function Vi(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function Hi(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function Ki(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function Gi(){throw new Error("https://svelte.dev/e/svelte_boundary_reset_onerror")}function Lt(t){console.warn("https://svelte.dev/e/hydration_mismatch")}function Ji(){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 Lt(),bt;return b=t}function qt(){return R(q(b))}function Et(t){if(c){if(q(b)!==null)throw Lt(),bt;b=t}}function Wi(t=1){if(c){for(var e=t,i=b;e--;)i=q(i);b=i}}function Ae(t=!0){for(var e=0,i=b;;){if(i.nodeType===yt){var r=i.data;if(r===$e){if(e===0)return i;e-=1}else(r===ke||r===ie)&&(e+=1)}var m=q(i);t&&i.remove(),i=m}}function Xi(t){if(!t||t.nodeType!==yt)throw Lt(),bt;return t.data}function ze(t){return t===this.v}function Zi(t,e){return t!=t?e==e:t!==e||t!==null&&typeof t=="object"||typeof t=="function"}function Re(t){return!Zi(t,this.v)}let Qi=!1,O=null;function wt(t){O=t}function Ne(t,e=!1,i){O={p:O,i:!1,c:null,e:null,s:t,x:null,l:null}}function Oe(t){var e=O,i=e.e;if(i!==null){e.e=null;for(var r of i)Xe(r)}return t!==void 0&&(e.x=t),e.i=!0,O=e.p,t??{}}function Ce(){return!0}let pt=[];function Pe(){var t=pt;pt=[],Di(t)}function fe(t){if(pt.length===0&&!Tt){var e=pt;queueMicrotask(()=>{e===pt&&Pe()})}pt.push(t)}function tr(){for(;pt.length>0;)Pe()}function De(t){var e=g;if(e===null)return v.f|=rt,t;if((e.f&Mt)===0){if((e.f&It)===0)throw t;e.b.error(t)}else _t(t,e)}function _t(t,e){for(;e!==null;){if((e.f&It)!==0)try{e.b.error(t);return}catch(i){t=i}e=e.parent}throw t}const Bt=new Set;let y=null,C=null,P=[],Yt=null,pe=!1,Tt=!1;class L{committed=!1;current=new Map;previous=new Map;#e=new Set;#t=new Set;#i=0;#r=0;#l=null;#m=[];#n=[];skipped_effects=new Set;is_fork=!1;is_deferred(){return this.is_fork||this.#r>0}process(e){P=[],this.apply();var i={parent:null,effect:null,effects:[],render_effects:[],block_effects:[]};for(const r of e)this.#a(r,i);this.is_fork||this.#f(),this.is_deferred()?(this.#o(i.effects),this.#o(i.render_effects),this.#o(i.block_effects)):(y=null,Me(i.render_effects),Me(i.effects),this.#l?.resolve()),C=null}#a(e,i){e.f^=k;for(var r=e.first;r!==null;){var m=r.f,n=(m&(K|it))!==0,a=n&&(m&k)!==0,o=a||(m&B)!==0||this.skipped_effects.has(r);if((r.f&It)!==0&&r.b?.is_pending()&&(i={parent:i,effect:r,effects:[],render_effects:[],block_effects:[]}),!o&&r.fn!==null){n?r.f^=k:(m&ne)!==0?i.effects.push(r):Ot(r)&&((r.f&H)!==0&&i.block_effects.push(r),Ct(r));var l=r.first;if(l!==null){r=l;continue}}var s=r.parent;for(r=r.next;r===null&&s!==null;)s===i.effect&&(this.#o(i.effects),this.#o(i.render_effects),this.#o(i.block_effects),i=i.parent),r=s.next,s=s.parent}}#o(e){for(const i of e)((i.f&S)!==0?this.#m:this.#n).push(i),this.#s(i.deps),$(i,k)}#s(e){if(e!==null)for(const i of e)(i.f&w)===0||(i.f&ft)===0||(i.f^=ft,this.#s(i.deps))}capture(e,i){this.previous.has(e)||this.previous.set(e,i),(e.f&rt)===0&&(this.current.set(e,e.v),C?.set(e,e.v))}activate(){y=this,this.apply()}deactivate(){y===this&&(y=null,C=null)}flush(){if(this.activate(),P.length>0){if(Ie(),y!==null&&y!==this)return}else this.#i===0&&this.process([]);this.deactivate()}discard(){for(const e of this.#t)e(this);this.#t.clear()}#f(){if(this.#r===0){for(const e of this.#e)e();this.#e.clear()}this.#i===0&&this.#p()}#p(){if(Bt.size>1){this.previous.clear();var e=C,i=!0,r={parent:null,effect:null,effects:[],render_effects:[],block_effects:[]};for(const n of Bt){if(n===this){i=!1;continue}const a=[];for(const[l,s]of this.current){if(n.current.has(l))if(i&&s!==n.current.get(l))n.current.set(l,s);else continue;a.push(l)}if(a.length===0)continue;const o=[...n.current.keys()].filter(l=>!this.current.has(l));if(o.length>0){var m=P;P=[];const l=new Set,s=new Map;for(const d of a)Fe(d,o,l,s);if(P.length>0){y=n,n.apply();for(const d of P)n.#a(d,r);n.deactivate()}P=m}}y=null,C=e}this.committed=!0,Bt.delete(this)}increment(e){this.#i+=1,e&&(this.#r+=1)}decrement(e){this.#i-=1,e&&(this.#r-=1),this.revive()}revive(){for(const e of this.#m)$(e,S),ut(e);for(const e of this.#n)$(e,G),ut(e);this.#m=[],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 L;Bt.add(y),Tt||L.enqueue(()=>{y===e&&e.flush()})}return y}static enqueue(e){fe(e)}apply(){}}function Ut(t){var e=Tt;Tt=!0;try{for(var i;;){if(tr(),P.length===0&&(y?.flush(),P.length===0))return Yt=null,i;Ie()}}finally{Tt=e}}function Ie(){var t=ot;pe=!0;var e=null;try{var i=0;for(Jt(!0);P.length>0;){var r=L.ensure();if(i++>1e3){var m,n;er()}r.process(P),mt.clear()}}finally{pe=!1,Jt(t),Yt=null}}function er(){try{Bi()}catch(t){_t(t,Yt)}}let W=null;function Me(t){var e=t.length;if(e!==0){for(var i=0;i<e;){var r=t[i++];if((r.f&(J|B))===0&&Ot(r)&&(W=new Set,Ct(r),r.deps===null&&r.first===null&&r.nodes_start===null&&(r.teardown===null&&r.ac===null?ei(r):r.fn=null),W?.size>0)){mt.clear();for(const m of W){if((m.f&(J|B))!==0)continue;const n=[m];let a=m.parent;for(;a!==null;)W.has(a)&&(W.delete(a),n.push(a)),a=a.parent;for(let o=n.length-1;o>=0;o--){const l=n[o];(l.f&(J|B))===0&&Ct(l)}}W.clear()}}W=null}}function Fe(t,e,i,r){if(!i.has(t)&&(i.add(t),t.reactions!==null))for(const m of t.reactions){const n=m.f;(n&w)!==0?Fe(m,e,i,r):(n&(le|H))!==0&&(n&S)===0&&Le(m,e,r)&&($(m,S),ut(m))}}function Le(t,e,i){const r=i.get(t);if(r!==void 0)return r;if(t.deps!==null)for(const m of t.deps){if(e.includes(m))return!0;if((m.f&w)!==0&&Le(m,e,i))return i.set(m,!0),!0}return i.set(t,!1),!1}function ut(t){for(var e=Yt=t;e.parent!==null;){e=e.parent;var i=e.f;if(pe&&e===g&&(i&H)!==0&&(i&ae)===0)return;if((i&(it|K))!==0){if((i&k)===0)return;e.f^=k}}P.push(e)}function ir(t){let e=0,i=St(0),r;return()=>{Kt()&&(I(i),Ze(()=>(e===0&&(r=di(()=>t(()=>At(i)))),e+=1,()=>{fe(()=>{e-=1,e===0&&(r?.(),r=void 0,At(i))})})))}}var rr=ht|st|It;function nr(t,e,i){new mr(t,e,i)}class mr{parent;#e=!1;#t;#i=c?b:null;#r;#l;#m;#n=null;#a=null;#o=null;#s=null;#f=null;#p=0;#u=0;#v=!1;#d=null;#x=ir(()=>(this.#d=St(this.#p),()=>{this.#d=null}));constructor(e,i,r){this.#t=e,this.#r=i,this.#l=r,this.parent=g.b,this.#e=!!this.#r.pending,this.#m=be(()=>{if(g.b=this,c){const n=this.#i;qt(),n.nodeType===yt&&n.data===ie?this.#w():this.#y()}else{var m=this.#b();try{this.#n=Q(()=>r(m))}catch(n){this.error(n)}this.#u>0?this.#c():this.#e=!1}return()=>{this.#f?.remove()}},rr),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.#r.pending;e&&(this.#a=Q(()=>e(this.#t)),L.enqueue(()=>{var i=this.#b();this.#n=this.#g(()=>(L.ensure(),Q(()=>this.#l(i)))),this.#u>0?this.#c():(Rt(this.#a,()=>{this.#a=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.#r.pending}#g(e){var i=g,r=v,m=O;V(this.#m),z(this.#m),wt(this.#m.ctx);try{return e()}catch(n){return De(n),null}finally{V(i),z(r),wt(m)}}#c(){const e=this.#r.pending;this.#n!==null&&(this.#s=document.createDocumentFragment(),this.#s.append(this.#f),ni(this.#n,this.#s)),this.#a===null&&(this.#a=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.#a&&Rt(this.#a,()=>{this.#a=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(),I(this.#d)}error(e){var i=this.#r.onerror;let r=this.#r.failed;if(this.#v||!i&&!r)throw e;this.#n&&(A(this.#n),this.#n=null),this.#a&&(A(this.#a),this.#a=null),this.#o&&(A(this.#o),this.#o=null),c&&(R(this.#i),Wi(),R(Ae()));var m=!1,n=!1;const a=()=>{if(m){Ji();return}m=!0,n&&Gi(),L.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,i?.(e,a),n=!1}catch(l){_t(l,this.#m&&this.#m.parent)}finally{z(o)}r&&fe(()=>{this.#o=this.#g(()=>{L.ensure(),this.#v=!0;try{return Q(()=>{r(this.#t,()=>e,()=>a)})}catch(l){return _t(l,this.#m.parent),null}finally{this.#v=!1}})})}}function ar(t,e,i,r){const m=ue;if(i.length===0&&t.length===0){r(e.map(m));return}var n=y,a=g,o=or();function l(){Promise.all(i.map(s=>lr(s))).then(s=>{o();try{r([...e.map(m),...s])}catch(d){(a.f&J)===0&&_t(d,a)}n?.deactivate(),Vt()}).catch(s=>{_t(s,a)})}t.length>0?Promise.all(t).then(()=>{o();try{return l()}finally{n?.deactivate(),Vt()}}):l()}function or(){var t=g,e=v,i=O,r=y;return function(n=!0){V(t),z(e),wt(i),n&&r?.activate()}}function Vt(){V(null),z(null),wt(null)}function ue(t){var e=w|S,i=v!==null&&(v.f&w)!==0?v:null;return g!==null&&(g.f|=st),{ctx:O,deps:null,effects:null,equals:ze,f:e,fn:t,reactions:null,rv:0,v:_,wv:0,parent:i??g,ac:null}}function lr(t,e){let i=g;i===null&&Mi();var r=i.b,m=void 0,n=St(_),a=!v,o=new Map;return _r(()=>{var l=Ee();m=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(a){var d=!r.is_pending();r.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|=rt,Ht(n,u));else{(n.f&rt)!==0&&(n.f^=rt),Ht(n,f);for(const[h,E]of o){if(o.delete(h),h===s)break;E.reject(xt)}}a&&(r.update_pending_count(-1),s.decrement(d))};l.promise.then(p,f=>p(null,f||"unknown"))}),br(()=>{for(const l of o.values())l.reject(xt)}),new Promise(l=>{function s(d){function p(){d===m?l(n):s(m)}d.then(p,p)}s(m)})}function sr(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 i=0;i<e.length;i+=1)A(e[i])}}function fr(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,i=g;V(fr(t));try{t.f&=~ft,qe(t),e=fi(t)}finally{V(i)}return e}function Be(t){var e=de(t);if(t.equals(e)||(y?.is_fork||(t.v=e),t.wv=li()),!vt)if(C!==null)Kt()&&C.set(t,e);else{var i=(t.f&F)===0?G:k;$(t,i)}}let ve=new Set;const mt=new Map;let Ye=!1;function St(t,e){var i={f:0,v:t,reactions:null,equals:ze,rv:0,wv:0};return i}function at(t,e){const i=St(t);return Tr(i),i}function pr(t,e=!1,i=!0){const r=St(t);return e||(r.equals=Re),r}function X(t,e,i=!1){v!==null&&(!U||(v.f&Te)!==0)&&Ce()&&(v.f&(w|H|le|Te))!==0&&!tt?.includes(t)&&Ki();let r=i?kt(e):e;return Ht(t,r)}function Ht(t,e){if(!t.equals(e)){var i=t.v;vt?mt.set(t,e):mt.set(t,i),t.v=e;var r=L.ensure();r.capture(t,i),(t.f&w)!==0&&((t.f&S)!==0&&de(t),$(t,(t.f&F)!==0?k:G)),t.wv=li(),Ue(t,S),g!==null&&(g.f&k)!==0&&(g.f&(K|it))===0&&(D===null?Sr([t]):D.push(t)),!r.is_fork&&ve.size>0&&!Ye&&ur()}return e}function ur(){Ye=!1;var t=ot;Jt(!0);const e=Array.from(ve);try{for(const i of e)(i.f&k)!==0&&$(i,G),Ot(i)&&Ct(i)}finally{Jt(t)}ve.clear()}function At(t){X(t,t.v+1)}function Ue(t,e){var i=t.reactions;if(i!==null)for(var r=i.length,m=0;m<r;m++){var n=i[m],a=n.f,o=(a&S)===0;if(o&&$(n,e),(a&w)!==0){var l=n;C?.delete(l),(a&ft)===0&&(a&F&&(n.f|=ft),Ue(l,G))}else o&&((a&H)!==0&&W!==null&&W.add(n),ut(n))}}function kt(t){if(typeof t!="object"||t===null||Ft in t)return t;const e=Pi(t);if(e!==Oi&&e!==Ci)return t;var i=new Map,r=zi(t),m=at(0),n=gt,a=o=>{if(gt===n)return o();var l=v,s=gt;z(null),oi(n);var d=o();return z(l),oi(s),d};return r&&i.set("length",at(t.length)),new Proxy(t,{defineProperty(o,l,s){(!("value"in s)||s.configurable===!1||s.enumerable===!1||s.writable===!1)&&Vi();var d=i.get(l);return d===void 0?d=a(()=>{var p=at(s.value);return i.set(l,p),p}):X(d,s.value,!0),!0},deleteProperty(o,l){var s=i.get(l);if(s===void 0){if(l in o){const d=a(()=>at(_));i.set(l,d),At(m)}}else X(s,_),At(m);return!0},get(o,l,s){if(l===Ft)return t;var d=i.get(l),p=l in o;if(d===void 0&&(!p||lt(o,l)?.writable)&&(d=a(()=>{var u=kt(p?o[l]:_),h=at(u);return h}),i.set(l,d)),d!==void 0){var f=I(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=i.get(l);d&&(s.value=I(d))}else if(s===void 0){var p=i.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===Ft)return!0;var s=i.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=a(()=>{var f=d?kt(o[l]):_,u=at(f);return u}),i.set(l,s));var p=I(s);if(p===_)return!1}return d},set(o,l,s,d){var p=i.get(l),f=l in o;if(r&&l==="length")for(var u=s;u<p.v;u+=1){var h=i.get(u+"");h!==void 0?X(h,_):u in o&&(h=a(()=>at(_)),i.set(u+"",h))}if(p===void 0)(!f||lt(o,l)?.writable)&&(p=a(()=>at(void 0)),X(p,kt(s)),i.set(l,p));else{f=p.v!==_;var E=a(()=>kt(s));X(p,E)}var T=Reflect.getOwnPropertyDescriptor(o,l);if(T?.set&&T.set.call(d,s),!f){if(r&&typeof l=="string"){var M=i.get("length"),x=Number(l);Number.isInteger(x)&&x>=M.v&&X(M,x+1)}At(m)}return!0},ownKeys(o){I(m);var l=Reflect.ownKeys(o).filter(p=>{var f=i.get(p);return f===void 0||f.v!==_});for(var[s,d]of i)d.v!==_&&!(s in o)&&l.push(s);return l},setPrototypeOf(){Hi()}})}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,i=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(i)&&(i.__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 i=dt(b);if(i===null)i=b.appendChild(Z());else if(e&&i.nodeType!==se){var r=Z();return i?.before(r),R(r),r}return R(i),i}function Je(t,e=!1){if(!c){var i=dt(t);return i instanceof Comment&&i.data===""?q(i):i}if(e&&b?.nodeType!==se){var r=Z();return b?.before(r),R(r),r}return b}function ce(t,e=1,i=!1){let r=c?b:t;for(var m;e--;)m=r,r=q(r);if(!c)return r;if(i&&r?.nodeType!==se){var n=Z();return r===null?m?.after(n):r.before(n),R(n),n}return R(r),r}function dr(t){t.textContent=""}function vr(){return!1}function We(t){var e=v,i=g;z(null),V(null);try{return t()}finally{z(e),V(i)}}function gr(t){g===null&&(v===null&&qi(),Li()),vt&&Fi()}function cr(t,e){var i=e.last;i===null?e.last=e.first=t:(i.next=t,t.prev=i,e.last=t)}function Y(t,e,i){var r=g;r!==null&&(r.f&B)!==0&&(t|=B);var m={ctx:O,deps:null,nodes_start:null,nodes_end:null,f:t|S|F,first:null,fn:e,last:null,next:null,parent:r,b:r&&r.b,prev:null,teardown:null,transitions:null,wv:0,ac:null};if(i)try{Ct(m),m.f|=Mt}catch(o){throw A(m),o}else e!==null&&ut(m);var n=m;if(i&&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=r,r!==null&&cr(n,r),v!==null&&(v.f&w)!==0&&(t&it)===0)){var a=v;(a.effects??=[]).push(n)}return m}function Kt(){return v!==null&&!U}function br(t){const e=Y(me,null,!1);return $(e,k),e.teardown=t,e}function hr(t){gr();var e=g.f,i=!v&&(e&K)!==0&&(e&Mt)===0;if(i){var r=O;(r.e??=[]).push(t)}else return Xe(t)}function Xe(t){return Y(ne|Ii,t,!1)}function xr(t){L.ensure();const e=Y(it|st,t,!0);return()=>{A(e)}}function yr(t){L.ensure();const e=Y(it|st,t,!0);return(i={})=>new Promise(r=>{i.outro?Rt(e,()=>{A(e),r(void 0)}):(A(e),r(void 0))})}function wr(t){return Y(ne,t,!1)}function _r(t){return Y(le|st,t,!0)}function Ze(t,e=0){return Y(me|e,t,!0)}function Gt(t,e=[],i=[],r=[]){ar(r,e,i,m=>{Y(me,()=>t(...m.map(I)),!0)})}function be(t,e=0){var i=Y(H|e,t,!0);return i}function Q(t){return Y(K|st,t,!0)}function Qe(t){var e=t.teardown;if(e!==null){const i=vt,r=v;mi(!0),z(null);try{e.call(null)}finally{mi(i),z(r)}}}function ti(t,e=!1){var i=t.first;for(t.first=t.last=null;i!==null;){const m=i.ac;m!==null&&We(()=>{m.abort(xt)});var r=i.next;(i.f&it)!==0?i.parent=null:A(i,e),i=r}}function kr(t){for(var e=t.first;e!==null;){var i=e.next;(e.f&K)===0&&A(e),e=i}}function A(t,e=!0){var i=!1;(e||(t.f&ae)!==0)&&t.nodes_start!==null&&t.nodes_end!==null&&($r(t.nodes_start,t.nodes_end),i=!0),ti(t,e&&!i),Wt(t,0),$(t,J);var r=t.transitions;if(r!==null)for(const n of r)n.stop();Qe(t);var m=t.parent;m!==null&&m.first!==null&&ei(t),t.next=t.prev=t.teardown=t.ctx=t.deps=t.fn=t.nodes_start=t.nodes_end=t.ac=null}function $r(t,e){for(;t!==null;){var i=t===e?null:q(t);t.remove(),t=i}}function ei(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 Rt(t,e,i=!0){var r=[];ii(t,r,!0),jr(r,()=>{i&&A(t),e&&e()})}function jr(t,e){var i=t.length;if(i>0){var r=()=>--i||e();for(var m of t)m.out(r)}else e()}function ii(t,e,i){if((t.f&B)===0){if(t.f^=B,t.transitions!==null)for(const a of t.transitions)(a.is_global||i)&&e.push(a);for(var r=t.first;r!==null;){var m=r.next,n=(r.f&ht)!==0||(r.f&K)!==0&&(t.f&H)!==0;ii(r,e,n?i:!1),r=m}}}function Er(t){ri(t,!0)}function ri(t,e){if((t.f&B)!==0){t.f^=B,(t.f&k)===0&&($(t,S),ut(t));for(var i=t.first;i!==null;){var r=i.next,m=(i.f&ht)!==0||(i.f&K)!==0;ri(i,m?e:!1),i=r}if(t.transitions!==null)for(const n of t.transitions)(n.is_global||e)&&n.in()}}function ni(t,e){for(var i=t.nodes_start,r=t.nodes_end;i!==null;){var m=i===r?null:q(i);e.append(i),i=m}}let ot=!1;function Jt(t){ot=t}let vt=!1;function mi(t){vt=t}let v=null,U=!1;function z(t){v=t}let g=null;function V(t){g=t}let tt=null;function Tr(t){v!==null&&(tt===null?tt=[t]:tt.push(t))}let j=null,N=0,D=null;function Sr(t){D=t}let ai=1,Nt=0,gt=Nt;function oi(t){gt=t}function li(){return++ai}function Ot(t){var e=t.f;if((e&S)!==0)return!0;if(e&w&&(t.f&=~ft),(e&G)!==0){var i=t.deps;if(i!==null)for(var r=i.length,m=0;m<r;m++){var n=i[m];if(Ot(n)&&Be(n),n.wv>t.wv)return!0}(e&F)!==0&&C===null&&$(t,k)}return!1}function si(t,e,i=!0){var r=t.reactions;if(r!==null&&!tt?.includes(t))for(var m=0;m<r.length;m++){var n=r[m];(n.f&w)!==0?si(n,e,!1):e===n&&(i?$(n,S):(n.f&k)!==0&&$(n,G),ut(n))}}function fi(t){var e=j,i=N,r=D,m=v,n=tt,a=O,o=U,l=gt,s=t.f;j=null,N=0,D=null,v=(s&(K|it))===0?t:null,tt=null,wt(t.ctx),U=!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&F)!==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(Ce()&&D!==null&&!U&&f!==null&&(t.f&(w|G|S))===0)for(u=0;u<D.length;u++)si(D[u],t);return m!==null&&m!==t&&(Nt++,D!==null&&(r===null?r=D:r.push(...D))),(t.f&rt)!==0&&(t.f^=rt),p}catch(h){return De(h)}finally{t.f^=oe,j=e,N=i,D=r,v=m,tt=n,wt(a),U=o,gt=l}}function Ar(t,e){let i=e.reactions;if(i!==null){var r=Ri.call(i,t);if(r!==-1){var m=i.length-1;m===0?i=e.reactions=null:(i[r]=i[m],i.pop())}}i===null&&(e.f&w)!==0&&(j===null||!j.includes(e))&&($(e,G),(e.f&F)!==0&&(e.f^=F,e.f&=~ft),qe(e),Wt(e,0))}function Wt(t,e){var i=t.deps;if(i!==null)for(var r=e;r<i.length;r++)Ar(t,i[r])}function Ct(t){var e=t.f;if((e&J)===0){$(t,k);var i=g,r=ot;g=t,ot=!0;try{(e&H)!==0?kr(t):ti(t),Qe(t);var m=fi(t);t.teardown=typeof m=="function"?m:null,t.wv=ai;var n;re&&Qi&&(t.f&S)!==0&&t.deps}finally{ot=r,g=i}}}function I(t){var e=t.f,i=(e&w)!==0;if(v!==null&&!U){var r=g!==null&&(g.f&J)!==0;if(!r&&!tt?.includes(t)){var m=v.deps;if((v.f&oe)!==0)t.rv<Nt&&(t.rv=Nt,j===null&&m!==null&&m[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(mt.has(t))return mt.get(t);if(i){var a=t,o=a.v;return((a.f&k)===0&&a.reactions!==null||ui(a))&&(o=de(a)),mt.set(a,o),o}}else i&&!C?.has(t)&&(a=t,Ot(a)&&Be(a),ot&&Kt()&&(a.f&F)===0&&pi(a));if(C?.has(t))return C.get(t);if((t.f&rt)!==0)throw t.v;return t.v}function pi(t){if(t.deps!==null){t.f^=F;for(const e of t.deps)(e.reactions??=[]).push(t),(e.f&w)!==0&&(e.f&F)===0&&pi(e)}}function ui(t){if(t.v===_)return!0;if(t.deps===null)return!1;for(const e of t.deps)if(mt.has(e)||(e.f&w)!==0&&ui(e))return!0;return!1}function di(t){var e=U;try{return U=!0,t()}finally{U=e}}const zr=-7169;function $(t,e){t.f=t.f&zr|e}const Rr=new Set,vi=new Set;let gi=null;function Xt(t){var e=this,i=e.ownerDocument,r=t.type,m=t.composedPath?.()||[],n=m[0]||t.target;gi=t;var a=0,o=gi===t&&t.__root;if(o){var l=m.indexOf(o);if(l!==-1&&(e===document||e===window)){t.__root=e;return}var s=m.indexOf(e);if(s===-1)return;l<=s&&(a=l)}if(n=m[a]||t.target,n!==e){Dt(t,"currentTarget",{configurable:!0,get(){return n||i}});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["__"+r];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 Nr(t){var e=document.createElement("template");return e.innerHTML=t.replaceAll("<!>","<!---->"),e.content}function Zt(t,e){var i=g;i.nodes_start===null&&(i.nodes_start=t,i.nodes_end=e)}function $t(t,e){var i=(e&Si)!==0,r=(e&Ai)!==0,m,n=!t.startsWith("<!>");return()=>{if(c)return Zt(b,null),b;m===void 0&&(m=Nr(n?t:"<!>"+t),i||(m=dt(m)));var a=r||He?document.importNode(m,!0):m.cloneNode(!0);if(i){var o=dt(a),l=a.lastChild;Zt(o,l)}else Zt(a,a);return a}}function ct(t,e){if(c){var i=g;((i.f&Mt)===0||i.nodes_end===null)&&(i.nodes_end=b),qt();return}t!==null&&t.before(e)}const Or=["touchstart","touchmove"];function Cr(t){return Or.includes(t)}function ci(t,e){var i=e==null?"":typeof e=="object"?e+"":e;i!==(t.__t??=t.nodeValue)&&(t.__t=i,t.nodeValue=i+"")}function bi(t,e){return hi(t,e)}function Pr(t,e){ge(),e.intro=e.intro??!1;const i=e.target,r=c,m=b;try{for(var n=dt(i);n&&(n.nodeType!==yt||n.data!==ke);)n=q(n);if(!n)throw bt;nt(!0),R(n);const a=hi(t,{...e,anchor:n});return nt(!1),a}catch(a){if(a instanceof Error&&a.message.split(`
2
- `).some(o=>o.startsWith("https://svelte.dev/e/")))throw a;return a!==bt&&console.warn("Failed to hydrate: ",a),e.recover===!1&&Yi(),ge(),dr(i),nt(!1),bi(t,e)}finally{nt(r),R(m)}}const jt=new Map;function hi(t,{target:e,anchor:i,props:r={},events:m,context:n,intro:a=!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=Cr(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(Ni(Rr)),vi.add(l);var s=void 0,d=yr(()=>{var p=i??e.appendChild(Z());return nr(p,{pending:()=>{}},f=>{if(n){Ne({});var u=O;u.c=n}if(m&&(r.$$events=m),c&&Zt(f,null),s=t(f,r)||{},c&&(g.nodes_end=b,b===null||b.nodeType!==yt||b.data!==$e))throw Lt(),bt;n&&Oe()}),()=>{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)}vi.delete(l),p!==i&&p.parentNode?.removeChild(p)}});return he.set(s,d),s}let he=new WeakMap;function Dr(t,e){const i=he.get(t);return i?(he.delete(t),i(e)):Promise.resolve()}class Ir{anchor;#e=new Map;#t=new Map;#i=new Map;#r=new Set;#l=!0;constructor(e,i=!0){this.anchor=e,this.#l=i}#m=()=>{var e=y;if(this.#e.has(e)){var i=this.#e.get(e),r=this.#t.get(i);if(r)Er(r),this.#r.delete(i);else{var m=this.#i.get(i);m&&(this.#t.set(i,m.effect),this.#i.delete(i),m.fragment.lastChild.remove(),this.anchor.before(m.fragment),r=m.effect)}for(const[n,a]of this.#e){if(this.#e.delete(n),n===e)break;const o=this.#i.get(a);o&&(A(o.effect),this.#i.delete(a))}for(const[n,a]of this.#t){if(n===i||this.#r.has(n))continue;const o=()=>{if(Array.from(this.#e.values()).includes(n)){var s=document.createDocumentFragment();ni(a,s),s.append(Z()),this.#i.set(n,{effect:a,fragment:s})}else A(a);this.#r.delete(n),this.#t.delete(n)};this.#l||!r?(this.#r.add(n),Rt(a,o,!1)):o()}}};#n=e=>{this.#e.delete(e);const i=Array.from(this.#e.values());for(const[r,m]of this.#i)i.includes(r)||(A(m.effect),this.#i.delete(r))};ensure(e,i){var r=y,m=vr();if(i&&!this.#t.has(e)&&!this.#i.has(e))if(m){var n=document.createDocumentFragment(),a=Z();n.append(a),this.#i.set(e,{effect:Q(()=>i(a)),fragment:n})}else this.#t.set(e,Q(()=>i(this.anchor)));if(this.#e.set(r,e),m){for(const[o,l]of this.#t)o===e?r.skipped_effects.delete(l):r.skipped_effects.add(l);for(const[o,l]of this.#i)o===e?r.skipped_effects.delete(l.effect):r.skipped_effects.add(l.effect);r.oncommit(this.#m),r.ondiscard(this.#n)}else c&&(this.anchor=b),this.#m()}}function xe(t,e,i=!1){c&&qt();var r=new Ir(t),m=i?ht:0;function n(a,o){if(c){const s=Xi(t)===ie;if(a===s){var l=Ae();R(l),r.anchor=l,nt(!1),r.ensure(a,o),nt(!0);return}}r.ensure(a,o)}be(()=>{var a=!1;e((o,l=!0)=>{a=!0,n(l,o)}),a||n(!1,null)},m)}function xi(t,e,i,r,m){c&&qt();var n=e.$$slots?.[i],a=!1;n===!0&&(n=e[i==="default"?"children":i],a=!0),n===void 0?m!==null&&m(t):n(t,a?()=>r:r)}function Mr(t,e){let i=null,r=c;var m;if(c){i=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 a=q(n);n.remove(),R(a)}}c||(m=document.head.appendChild(Z()));try{be(()=>e(m),ae)}finally{r&&(nt(!0),R(i))}}function Fr(t,e){wr(()=>{var i=t.getRootNode(),r=i.host?i:i.head??i.ownerDocument.head;if(!r.querySelector("#"+e.hash)){const m=document.createElement("style");m.id=e.hash,m.textContent=e.code,r.appendChild(m)}})}function Lr(t,e,i){var r=t==null?"":""+t;return r=r?r+" "+e:e,r===""?null:r}function qr(t,e){return t==null?null:String(t)}function Br(t,e,i,r,m,n){var a=t.__className;if(c||a!==i||a===void 0){var o=Lr(i,r);(!c||o!==t.getAttribute("class"))&&(o==null?t.removeAttribute("class"):t.className=o),t.__className=i}return n}function Yr(t,e,i,r){var m=t.__style;if(c||m!==e){var n=qr(e);(!c||n!==t.getAttribute("style"))&&(n==null?t.removeAttribute("style"):t.style.cssText=n),t.__style=e}return r}let Qt=!1;function Ur(t){var e=Qt;try{return Qt=!1,[t(),Qt]}finally{Qt=e}}function ye(t,e,i,r){var m=(i&Ei)!==0,n=(i&Ti)!==0,a=r,o=!0,l=()=>(o&&(o=!1,a=n?di(r):r),a),s;if(m){var d=Ft in t||Se in t;s=lt(t,e)?.set??(d&&e in t?x=>t[e]=x:void 0)}var p,f=!1;m?[p,f]=Ur(()=>t[e]):p=t[e],p===void 0&&r!==void 0&&(p=l(),s&&(Ui(),s(p)));var u;if(u=()=>{var x=t[e];return x===void 0?l():(o=!0,x)},(i&ji)===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=((i&$i)!==0?ue:sr)(()=>(E=!1,u()));m&&I(T);var M=g;return(function(x,et){if(arguments.length>0){const ee=et?I(T):m?kt(x):x;return X(T,ee),E=!0,a!==void 0&&(a=ee),x}return vt&&E||(M.f&J)!==0?T.v:I(T)})}function Vr(t){return new Hr(t)}class Hr{#e;#t;constructor(e){var i=new Map,r=(n,a)=>{var o=pr(a,!1,!1);return i.set(n,o),o};const m=new Proxy({...e.props||{},$$events:{}},{get(n,a){return I(i.get(a)??r(a,Reflect.get(n,a)))},has(n,a){return a===Se?!0:(I(i.get(a)??r(a,Reflect.get(n,a))),Reflect.has(n,a))},set(n,a,o){return X(i.get(a)??r(a,o),o),Reflect.set(n,a,o)}});this.#t=(e.hydrate?Pr:bi)(e.component,{target:e.target,anchor:e.anchor,props:m,context:e.context,intro:e.intro??!1,recover:e.recover}),(!e?.props?.$$host||e.sync===!1)&&Ut(),this.#e=m.$$events;for(const n of Object.keys(this.#t))n==="$set"||n==="$destroy"||n==="$on"||Dt(this,n,{get(){return this.#t[n]},set(a){this.#t[n]=a},enumerable:!0});this.#t.$set=n=>{Object.assign(m,n)},this.#t.$destroy=()=>{Dr(this.#t)}}$set(e){this.#t.$set(e)}$on(e,i){this.#e[e]=this.#e[e]||[];const r=(...m)=>i.call(this,...m);return this.#e[e].push(r),()=>{this.#e[e]=this.#e[e].filter(m=>m!==r)}}$destroy(){this.#t.$destroy()}}let yi;typeof HTMLElement=="function"&&(yi=class extends HTMLElement{$$ctor;$$s;$$c;$$cn=!1;$$d={};$$r=!1;$$p_d={};$$l={};$$l_u=new Map;$$me;constructor(t,e,i){super(),this.$$ctor=t,this.$$s=e,i&&this.attachShadow({mode:"open"})}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 m=>{const n=document.createElement("slot");r!=="default"&&(n.name=r),ct(m,n)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const e={},i=Kr(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 m=this.$$g_p(r.name);m in this.$$d||(this.$$d[m]=te(m,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=Vr({component:this.$$ctor,target:this.shadowRoot||this,props:{...this.$$d,$$slots:e,$$host:this}}),this.$$me=xr(()=>{Ze(()=>{this.$$r=!0;for(const r of Pt(this.$$c)){if(!this.$$p_d[r]?.reflect)continue;this.$$d[r]=this.$$c[r];const m=te(r,this.$$d[r],this.$$p_d,"toAttribute");m==null?this.removeAttribute(this.$$p_d[r].attribute||r):this.setAttribute(this.$$p_d[r].attribute||r,m)}this.$$r=!1})});for(const r in this.$$l)for(const m of this.$$l[r]){const n=this.$$c.$on(r,m);this.$$l_u.set(m,n)}this.$$l={}}}attributeChangedCallback(t,e,i){this.$$r||(t=this.$$g_p(t),this.$$d[t]=te(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 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,i,r){const m=i[t]?.type;if(e=m==="Boolean"&&typeof e!="boolean"?e!=null:e,!r||!i[t])return e;if(r==="toAttribute")switch(m){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(m){case"Object":case"Array":return e&&JSON.parse(e);case"Boolean":return e;case"Number":return e!=null?+e:e;default:return e}}function Kr(t){const e={};return t.childNodes.forEach(i=>{e[i.slot||"default"]=!0}),e}function Gr(t,e,i,r,m,n){let a=class extends yi{constructor(){super(t,i,m),this.$$p_d=e}static get observedAttributes(){return Pt(e).map(o=>(e[o].attribute||o).toLowerCase())}};return Pt(e).forEach(o=>{Dt(a.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})}}})}),r.forEach(o=>{Dt(a.prototype,o,{get(){return this.$$c?.[o]}})}),t.element=a,a}var Jr=$t('<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@latest/font/bootstrap-icons.css" class="svelte-1uf1mti"/>'),Wr=$t("<i></i>"),Xr=$t('<!> <span class="svelte-1uf1mti"> </span>',1),Zr=$t('<span style="float:right;margin-right:10px" class="badge bg-secondary svelte-1uf1mti"> </span>'),Qr=$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
  /*!
@@ -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 wi(t,e){Ne(e,!0),Fr(t,en);let i=ye(e,"id",7,""),r=ye(e,"body",23,()=>({noborder:!1})),m=ye(e,"header",7);hr(()=>{typeof m()=="string"&&m(JSON.parse(m())),typeof r()=="string"&&r(JSON.parse(r())),r()&&!r()?.noborder&&(r().noborder=!1)});var n={get id(){return i()},set id(p=""){i(p),Ut()},get body(){return r()},set body(p={noborder:!1}){r(p),Ut()},get header(){return m()},set header(p){m(p),Ut()}},a=tn();Mr("1uf1mti",p=>{var f=Jr();ct(p,f)});var o=zt(a),l=zt(o);xi(l,e,"header_content",{},p=>{var f=Qr(),u=Je(f);{var h=M=>{var x=Xr(),et=Je(x);{var ee=we=>{var ki=Wr();Gt(()=>Br(ki,1,`bi bi-${m().icon??""}`,"svelte-1uf1mti")),ct(we,ki)};xe(et,we=>{m().icon&&we(ee)})}var _i=ce(et,2),rn=zt(_i,!0);Et(_i),Gt(()=>ci(rn,m().label)),ct(M,x)};xe(u,M=>{m()?.label&&M(h)})}var E=ce(u,2);{var T=M=>{var x=Zr(),et=zt(x,!0);Et(x),Gt(()=>ci(et,m().badge)),ct(M,x)};xe(E,M=>{m()?.badge&&M(T)})}ct(p,f)}),Et(o);var s=ce(o,2),d=zt(s);return xi(d,e,"content",{},p=>{}),Et(s),Et(a),Gt(()=>Yr(s,r()?.noborder?"padding:0px":"")),ct(t,a),Oe(n)}customElements.define("hb-dashboard-card1",Gr(wi,{id:{},body:{},header:{}},["header_content","content"],[],!0)),_e.Component=wi,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