@htmlbricks/hb-dashboard-indicator 0.61.58 → 0.62.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/main.iife.js +3 -3
- package/main.iife.js.map +1 -1
- package/manifest.json +1 -1
- package/package.json +1 -1
package/main.iife.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
(function(vt){"use strict";typeof window<"u"&&((window.__svelte??={}).v??=new Set).add("5");const bn=2,pt="[",Je="[!",bt="]",de={},y=Symbol(),gt=!1;var gn=Array.isArray,$n=Array.prototype.indexOf,mn=Array.from,Me=Object.keys,je=Object.defineProperty,_e=Object.getOwnPropertyDescriptor,yn=Object.prototype,wn=Array.prototype,En=Object.getPrototypeOf,$t=Object.isExtensible;function xn(e){for(var t=0;t<e.length;t++)e[t]()}function mt(){var e,t,n=new Promise((r,s)=>{e=r,t=s});return{promise:n,resolve:e,reject:t}}const w=2,Ie=4,Xe=8,H=16,Q=32,ee=64,Le=128,D=512,E=1024,T=2048,U=4096,I=8192,te=16384,yt=32768,ve=65536,wt=1<<17,Ze=1<<18,ae=1<<19,kn=1<<20,Ee=32768,Qe=1<<21,et=1<<22,ne=1<<23,tt=Symbol("$state"),Tn=Symbol("legacy props"),pe=new class extends Error{name="StaleReactionError";message="The reaction that called `getAbortSignal()` was re-run or destroyed"},Et=3,be=8;function Sn(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function Rn(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function An(){throw new Error("https://svelte.dev/e/hydration_failed")}function Cn(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function Nn(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function On(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function Pn(){throw new Error("https://svelte.dev/e/svelte_boundary_reset_onerror")}function qe(e){console.warn("https://svelte.dev/e/hydration_mismatch")}function Dn(){console.warn("https://svelte.dev/e/svelte_boundary_reset_noop")}let b=!1;function re(e){b=e}let g;function O(e){if(e===null)throw qe(),de;return g=e}function nt(){return O(q(g))}function z(e){if(b){if(q(g)!==null)throw qe(),de;g=e}}function xt(e=1){if(b){for(var t=e,n=g;t--;)n=q(n);g=n}}function kt(e=!0){for(var t=0,n=g;;){if(n.nodeType===be){var r=n.data;if(r===bt){if(t===0)return n;t-=1}else(r===pt||r===Je)&&(t+=1)}var s=q(n);e&&n.remove(),n=s}}function Fn(e){if(!e||e.nodeType!==be)throw qe(),de;return e.data}function Tt(e){return e===this.v}function Mn(e,t){return e!=e?t==t:e!==t||e!==null&&typeof e=="object"||typeof e=="function"}function jn(e){return!Mn(e,this.v)}let In=!1,F=null;function ge(e){F=e}function St(e,t=!1,n){F={p:F,i:!1,c:null,e:null,s:e,x:null,l:null}}function Rt(e){var t=F,n=t.e;if(n!==null){t.e=null;for(var r of n)tr(r)}return e!==void 0&&(t.x=e),t.i=!0,F=t.p,e??{}}function At(){return!0}let oe=[];function Ct(){var e=oe;oe=[],xn(e)}function rt(e){if(oe.length===0&&!xe){var t=oe;queueMicrotask(()=>{t===oe&&Ct()})}oe.push(e)}function Ln(){for(;oe.length>0;)Ct()}function Nt(e){var t=v;if(t===null)return _.f|=ne,e;if((t.f&yt)===0){if((t.f&Le)===0)throw e;t.b.error(e)}else $e(e,t)}function $e(e,t){for(;t!==null;){if((t.f&Le)!==0)try{t.b.error(e);return}catch(n){e=n}t=t.parent}throw e}const Be=new Set;let $=null,A=null,L=[],Ye=null,st=!1,xe=!1;class M{committed=!1;current=new Map;previous=new Map;#t=new Set;#e=new Set;#n=0;#r=0;#a=null;#l=[];#f=[];skipped_effects=new Set;is_fork=!1;process(t){L=[],this.apply();var n={parent:null,effect:null,effects:[],render_effects:[],block_effects:[]};for(const r of t)this.#s(r,n);this.is_fork||this.#o(),this.#r>0||this.is_fork?(this.#i(n.effects),this.#i(n.render_effects),this.#i(n.block_effects)):($=null,Pt(n.render_effects),Pt(n.effects),this.#a?.resolve()),A=null}#s(t,n){t.f^=E;for(var r=t.first;r!==null;){var s=r.f,i=(s&(Q|ee))!==0,l=i&&(s&E)!==0,f=l||(s&I)!==0||this.skipped_effects.has(r);if((r.f&Le)!==0&&r.b?.is_pending()&&(n={parent:n,effect:r,effects:[],render_effects:[],block_effects:[]}),!f&&r.fn!==null){i?r.f^=E:(s&Ie)!==0?n.effects.push(r):Ne(r)&&((r.f&H)!==0&&n.block_effects.push(r),Oe(r));var a=r.first;if(a!==null){r=a;continue}}var o=r.parent;for(r=r.next;r===null&&o!==null;)o===n.effect&&(this.#i(n.effects),this.#i(n.render_effects),this.#i(n.block_effects),n=n.parent),r=o.next,o=o.parent}}#i(t){for(const n of t)((n.f&T)!==0?this.#l:this.#f).push(n),x(n,E)}capture(t,n){this.previous.has(t)||this.previous.set(t,n),(t.f&ne)===0&&(this.current.set(t,t.v),A?.set(t,t.v))}activate(){$=this,this.apply()}deactivate(){$=null,A=null}flush(){if(this.activate(),L.length>0){if(Ot(),$!==null&&$!==this)return}else this.#n===0&&this.process([]);this.deactivate()}discard(){for(const t of this.#e)t(this);this.#e.clear()}#o(){if(this.#r===0){for(const t of this.#t)t();this.#t.clear()}this.#n===0&&this.#u()}#u(){if(Be.size>1){this.previous.clear();var t=A,n=!0,r={parent:null,effect:null,effects:[],render_effects:[],block_effects:[]};for(const s of Be){if(s===this){n=!1;continue}const i=[];for(const[f,a]of this.current){if(s.current.has(f))if(n&&a!==s.current.get(f))s.current.set(f,a);else continue;i.push(f)}if(i.length===0)continue;const l=[...s.current.keys()].filter(f=>!this.current.has(f));if(l.length>0){const f=new Set,a=new Map;for(const o of i)Dt(o,l,f,a);if(L.length>0){$=s,s.apply();for(const o of L)s.#s(o,r);L=[],s.deactivate()}}}$=null,A=t}this.committed=!0,Be.delete(this)}increment(t){this.#n+=1,t&&(this.#r+=1)}decrement(t){this.#n-=1,t&&(this.#r-=1),this.revive()}revive(){for(const t of this.#l)x(t,T),ue(t);for(const t of this.#f)x(t,U),ue(t);this.#l=[],this.#f=[],this.flush()}oncommit(t){this.#t.add(t)}ondiscard(t){this.#e.add(t)}settled(){return(this.#a??=mt()).promise}static ensure(){if($===null){const t=$=new M;Be.add($),xe||M.enqueue(()=>{$===t&&t.flush()})}return $}static enqueue(t){rt(t)}apply(){}}function me(e){var t=xe;xe=!0;try{for(var n;;){if(Ln(),L.length===0&&($?.flush(),L.length===0))return Ye=null,n;Ot()}}finally{xe=t}}function Ot(){var e=ce;st=!0;try{var t=0;for(en(!0);L.length>0;){var n=M.ensure();if(t++>1e3){var r,s;qn()}n.process(L),se.clear()}}finally{st=!1,en(e),Ye=null}}function qn(){try{Rn()}catch(e){$e(e,Ye)}}let K=null;function Pt(e){var t=e.length;if(t!==0){for(var n=0;n<t;){var r=e[n++];if((r.f&(te|I))===0&&Ne(r)&&(K=new Set,Oe(r),r.deps===null&&r.first===null&&r.nodes_start===null&&(r.teardown===null&&r.ac===null?Jt(r):r.fn=null),K?.size>0)){se.clear();for(const s of K){if((s.f&(te|I))!==0)continue;const i=[s];let l=s.parent;for(;l!==null;)K.has(l)&&(K.delete(l),i.push(l)),l=l.parent;for(let f=i.length-1;f>=0;f--){const a=i[f];(a.f&(te|I))===0&&Oe(a)}}K.clear()}}K=null}}function Dt(e,t,n,r){if(!n.has(e)&&(n.add(e),e.reactions!==null))for(const s of e.reactions){const i=s.f;(i&w)!==0?Dt(s,t,n,r):(i&(et|H))!==0&&(i&T)===0&&Ft(s,t,r)&&(x(s,T),ue(s))}}function Ft(e,t,n){const r=n.get(e);if(r!==void 0)return r;if(e.deps!==null)for(const s of e.deps){if(t.includes(s))return!0;if((s.f&w)!==0&&Ft(s,t,n))return n.set(s,!0),!0}return n.set(e,!1),!1}function ue(e){for(var t=Ye=e;t.parent!==null;){t=t.parent;var n=t.f;if(st&&t===v&&(n&H)!==0&&(n&Ze)===0)return;if((n&(ee|Q))!==0){if((n&E)===0)return;t.f^=E}}L.push(t)}function Bn(e){let t=0,n=ke(0),r;return()=>{Ue()&&(j(n),zt(()=>(t===0&&(r=dr(()=>e(()=>Te(n)))),t+=1,()=>{rt(()=>{t-=1,t===0&&(r?.(),r=void 0,Te(n))})})))}}var Yn=ve|ae|Le;function Vn(e,t,n){new Hn(e,t,n)}class Hn{parent;#t=!1;#e;#n=b?g:null;#r;#a;#l;#f=null;#s=null;#i=null;#o=null;#u=null;#d=0;#c=0;#_=!1;#h=null;#$=Bn(()=>(this.#h=ke(this.#d),()=>{this.#h=null}));constructor(t,n,r){this.#e=t,this.#r=n,this.#a=r,this.parent=v.b,this.#t=!!this.#r.pending,this.#l=ot(()=>{if(v.b=this,b){const i=this.#n;nt(),i.nodeType===be&&i.data===Je?this.#y():this.#m()}else{var s=this.#b();try{this.#f=J(()=>r(s))}catch(i){this.error(i)}this.#c>0?this.#p():this.#t=!1}return()=>{this.#u?.remove()}},Yn),b&&(this.#e=g)}#m(){try{this.#f=J(()=>this.#a(this.#e))}catch(t){this.error(t)}this.#t=!1}#y(){const t=this.#r.pending;t&&(this.#s=J(()=>t(this.#e)),M.enqueue(()=>{var n=this.#b();this.#f=this.#v(()=>(M.ensure(),J(()=>this.#a(n)))),this.#c>0?this.#p():(Ae(this.#s,()=>{this.#s=null}),this.#t=!1)}))}#b(){var t=this.#e;return this.#t&&(this.#u=le(),this.#e.before(this.#u),t=this.#u),t}is_pending(){return this.#t||!!this.parent&&this.parent.is_pending()}has_pending_snippet(){return!!this.#r.pending}#v(t){var n=v,r=_,s=F;V(this.#l),R(this.#l),ge(this.#l.ctx);try{return t()}catch(i){return Nt(i),null}finally{V(n),R(r),ge(s)}}#p(){const t=this.#r.pending;this.#f!==null&&(this.#o=document.createDocumentFragment(),this.#o.append(this.#u),Qt(this.#f,this.#o)),this.#s===null&&(this.#s=J(()=>t(this.#e)))}#g(t){if(!this.has_pending_snippet()){this.parent&&this.parent.#g(t);return}this.#c+=t,this.#c===0&&(this.#t=!1,this.#s&&Ae(this.#s,()=>{this.#s=null}),this.#o&&(this.#e.before(this.#o),this.#o=null))}update_pending_count(t){this.#g(t),this.#d+=t,this.#h&&He(this.#h,this.#d)}get_effect_pending(){return this.#$(),j(this.#h)}error(t){var n=this.#r.onerror;let r=this.#r.failed;if(this.#_||!n&&!r)throw t;this.#f&&(S(this.#f),this.#f=null),this.#s&&(S(this.#s),this.#s=null),this.#i&&(S(this.#i),this.#i=null),b&&(O(this.#n),xt(),O(kt()));var s=!1,i=!1;const l=()=>{if(s){Dn();return}s=!0,i&&Pn(),M.ensure(),this.#d=0,this.#i!==null&&Ae(this.#i,()=>{this.#i=null}),this.#t=this.has_pending_snippet(),this.#f=this.#v(()=>(this.#_=!1,J(()=>this.#a(this.#e)))),this.#c>0?this.#p():this.#t=!1};var f=_;try{R(null),i=!0,n?.(t,l),i=!1}catch(a){$e(a,this.#l&&this.#l.parent)}finally{R(f)}r&&rt(()=>{this.#i=this.#v(()=>{M.ensure(),this.#_=!0;try{return J(()=>{r(this.#e,()=>t,()=>l)})}catch(a){return $e(a,this.#l.parent),null}finally{this.#_=!1}})})}}function Un(e,t,n,r){const s=Mt;if(n.length===0&&e.length===0){r(t.map(s));return}var i=$,l=v,f=zn();function a(){Promise.all(n.map(o=>Kn(o))).then(o=>{f();try{r([...t.map(s),...o])}catch(c){(l.f&te)===0&&$e(c,l)}i?.deactivate(),Ve()}).catch(o=>{$e(o,l)})}e.length>0?Promise.all(e).then(()=>{f();try{return a()}finally{i?.deactivate(),Ve()}}):a()}function zn(){var e=v,t=_,n=F,r=$;return function(i=!0){V(e),R(t),ge(n),i&&r?.activate()}}function Ve(){V(null),R(null),ge(null)}function Mt(e){var t=w|T,n=_!==null&&(_.f&w)!==0?_:null;return v!==null&&(v.f|=ae),{ctx:F,deps:null,effects:null,equals:Tt,f:t,fn:e,reactions:null,rv:0,v:y,wv:0,parent:n??v,ac:null}}function Kn(e,t){let n=v;n===null&&Sn();var r=n.b,s=void 0,i=ke(y),l=!_,f=new Map;return ir(()=>{var a=mt();s=a.promise;try{Promise.resolve(e()).then(a.resolve,a.reject).then(()=>{o===$&&o.committed&&o.deactivate(),Ve()})}catch(u){a.reject(u),Ve()}var o=$;if(l){var c=!r.is_pending();r.update_pending_count(1),o.increment(c),f.get(o)?.reject(pe),f.delete(o),f.set(o,a)}const d=(u,h=void 0)=>{if(o.activate(),h)h!==pe&&(i.f|=ne,He(i,h));else{(i.f&ne)!==0&&(i.f^=ne),He(i,u);for(const[p,N]of f){if(f.delete(p),p===o)break;N.reject(pe)}}l&&(r.update_pending_count(-1),o.decrement(c))};a.promise.then(d,u=>d(null,u||"unknown"))}),er(()=>{for(const a of f.values())a.reject(pe)}),new Promise(a=>{function o(c){function d(){c===s?a(i):o(s)}c.then(d,d)}o(s)})}function jt(e){var t=e.effects;if(t!==null){e.effects=null;for(var n=0;n<t.length;n+=1)S(t[n])}}function Wn(e){for(var t=e.parent;t!==null;){if((t.f&w)===0)return t;t=t.parent}return null}function it(e){var t,n=v;V(Wn(e));try{e.f&=~Ee,jt(e),t=fn(e)}finally{V(n)}return t}function It(e){var t=it(e);if(e.equals(t)||(e.v=t,e.wv=sn()),!ye)if(A!==null)Ue()&&A.set(e,e.v);else{var n=(e.f&D)===0?U:E;x(e,n)}}let lt=new Set;const se=new Map;let Lt=!1;function ke(e,t){var n={f:0,v:e,reactions:null,equals:Tt,rv:0,wv:0};return n}function ie(e,t){const n=ke(e);return ur(n),n}function Gn(e,t=!1,n=!0){const r=ke(e);return t||(r.equals=jn),r}function W(e,t,n=!1){_!==null&&(!Y||(_.f&wt)!==0)&&At()&&(_.f&(w|H|et|wt))!==0&&!X?.includes(e)&&On();let r=n?Se(t):t;return He(e,r)}function He(e,t){if(!e.equals(t)){var n=e.v;ye?se.set(e,t):se.set(e,n),e.v=t;var r=M.ensure();r.capture(e,n),(e.f&w)!==0&&((e.f&T)!==0&&it(e),x(e,(e.f&D)!==0?E:U)),e.wv=sn(),qt(e,T),v!==null&&(v.f&E)!==0&&(v.f&(Q|ee))===0&&(P===null?cr([e]):P.push(e)),!r.is_fork&<.size>0&&!Lt&&Jn()}return t}function Jn(){Lt=!1;const e=Array.from(lt);for(const t of e)(t.f&E)!==0&&x(t,U),Ne(t)&&Oe(t);lt.clear()}function Te(e){W(e,e.v+1)}function qt(e,t){var n=e.reactions;if(n!==null)for(var r=n.length,s=0;s<r;s++){var i=n[s],l=i.f,f=(l&T)===0;if(f&&x(i,t),(l&w)!==0){var a=i;A?.delete(a),(l&Ee)===0&&(l&D&&(i.f|=Ee),qt(a,U))}else f&&((l&H)!==0&&K!==null&&K.add(i),ue(i))}}function Se(e){if(typeof e!="object"||e===null||tt in e)return e;const t=En(e);if(t!==yn&&t!==wn)return e;var n=new Map,r=gn(e),s=ie(0),i=he,l=f=>{if(he===i)return f();var a=_,o=he;R(null),rn(i);var c=f();return R(a),rn(o),c};return r&&n.set("length",ie(e.length)),new Proxy(e,{defineProperty(f,a,o){(!("value"in o)||o.configurable===!1||o.enumerable===!1||o.writable===!1)&&Cn();var c=n.get(a);return c===void 0?c=l(()=>{var d=ie(o.value);return n.set(a,d),d}):W(c,o.value,!0),!0},deleteProperty(f,a){var o=n.get(a);if(o===void 0){if(a in f){const c=l(()=>ie(y));n.set(a,c),Te(s)}}else W(o,y),Te(s);return!0},get(f,a,o){if(a===tt)return e;var c=n.get(a),d=a in f;if(c===void 0&&(!d||_e(f,a)?.writable)&&(c=l(()=>{var h=Se(d?f[a]:y),p=ie(h);return p}),n.set(a,c)),c!==void 0){var u=j(c);return u===y?void 0:u}return Reflect.get(f,a,o)},getOwnPropertyDescriptor(f,a){var o=Reflect.getOwnPropertyDescriptor(f,a);if(o&&"value"in o){var c=n.get(a);c&&(o.value=j(c))}else if(o===void 0){var d=n.get(a),u=d?.v;if(d!==void 0&&u!==y)return{enumerable:!0,configurable:!0,value:u,writable:!0}}return o},has(f,a){if(a===tt)return!0;var o=n.get(a),c=o!==void 0&&o.v!==y||Reflect.has(f,a);if(o!==void 0||v!==null&&(!c||_e(f,a)?.writable)){o===void 0&&(o=l(()=>{var u=c?Se(f[a]):y,h=ie(u);return h}),n.set(a,o));var d=j(o);if(d===y)return!1}return c},set(f,a,o,c){var d=n.get(a),u=a in f;if(r&&a==="length")for(var h=o;h<d.v;h+=1){var p=n.get(h+"");p!==void 0?W(p,y):h in f&&(p=l(()=>ie(y)),n.set(h+"",p))}if(d===void 0)(!u||_e(f,a)?.writable)&&(d=l(()=>ie(void 0)),W(d,Se(o)),n.set(a,d));else{u=d.v!==y;var N=l(()=>Se(o));W(d,N)}var Z=Reflect.getOwnPropertyDescriptor(f,a);if(Z?.set&&Z.set.call(c,o),!u){if(r&&typeof a=="string"){var De=n.get("length"),Fe=Number(a);Number.isInteger(Fe)&&Fe>=De.v&&W(De,Fe+1)}Te(s)}return!0},ownKeys(f){j(s);var a=Reflect.ownKeys(f).filter(d=>{var u=n.get(d);return u===void 0||u.v!==y});for(var[o,c]of n)c.v!==y&&!(o in f)&&a.push(o);return a},setPrototypeOf(){Nn()}})}var Bt,Yt,Vt,Ht;function ft(){if(Bt===void 0){Bt=window,Yt=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,n=Text.prototype;Vt=_e(t,"firstChild").get,Ht=_e(t,"nextSibling").get,$t(e)&&(e.__click=void 0,e.__className=void 0,e.__attributes=null,e.__style=void 0,e.__e=void 0),$t(n)&&(n.__t=void 0)}}function le(e=""){return document.createTextNode(e)}function Re(e){return Vt.call(e)}function q(e){return Ht.call(e)}function G(e,t){if(!b)return Re(e);var n=Re(g);if(n===null)n=g.appendChild(le());else if(t&&n.nodeType!==Et){var r=le();return n?.before(r),O(r),r}return O(n),n}function at(e,t=1,n=!1){let r=b?g:e;for(var s;t--;)s=r,r=q(r);if(!b)return r;if(n&&r?.nodeType!==Et){var i=le();return r===null?s?.after(i):r.before(i),O(i),i}return O(r),r}function Xn(e){e.textContent=""}function Zn(){return!1}function Ut(e){var t=_,n=v;R(null),V(null);try{return e()}finally{R(t),V(n)}}function Qn(e,t){var n=t.last;n===null?t.last=t.first=e:(n.next=e,e.prev=n,t.last=e)}function B(e,t,n,r=!0){var s=v;s!==null&&(s.f&I)!==0&&(e|=I);var i={ctx:F,deps:null,nodes_start:null,nodes_end:null,f:e|T|D,first:null,fn:t,last:null,next:null,parent:s,b:s&&s.b,prev:null,teardown:null,transitions:null,wv:0,ac:null};if(n)try{Oe(i),i.f|=yt}catch(a){throw S(i),a}else t!==null&&ue(i);if(r){var l=i;if(n&&l.deps===null&&l.teardown===null&&l.nodes_start===null&&l.first===l.last&&(l.f&ae)===0&&(l=l.first,(e&H)!==0&&(e&ve)!==0&&l!==null&&(l.f|=ve)),l!==null&&(l.parent=s,s!==null&&Qn(l,s),_!==null&&(_.f&w)!==0&&(e&ee)===0)){var f=_;(f.effects??=[]).push(l)}}return i}function Ue(){return _!==null&&!Y}function er(e){const t=B(Xe,null,!1);return x(t,E),t.teardown=e,t}function tr(e){return B(Ie|kn,e,!1)}function nr(e){M.ensure();const t=B(ee|ae,e,!0);return()=>{S(t)}}function rr(e){M.ensure();const t=B(ee|ae,e,!0);return(n={})=>new Promise(r=>{n.outro?Ae(t,()=>{S(t),r(void 0)}):(S(t),r(void 0))})}function sr(e){return B(Ie,e,!1)}function ir(e){return B(et|ae,e,!0)}function zt(e,t=0){return B(Xe|t,e,!0)}function Kt(e,t=[],n=[],r=[],s=!1){Un(r,t,n,i=>{B(s?Ie:Xe,()=>e(...i.map(j)),!0)})}function ot(e,t=0){var n=B(H|t,e,!0);return n}function J(e,t=!0){return B(Q|ae,e,!0,t)}function Wt(e){var t=e.teardown;if(t!==null){const n=ye,r=_;tn(!0),R(null);try{t.call(null)}finally{tn(n),R(r)}}}function Gt(e,t=!1){var n=e.first;for(e.first=e.last=null;n!==null;){const s=n.ac;s!==null&&Ut(()=>{s.abort(pe)});var r=n.next;(n.f&ee)!==0?n.parent=null:S(n,t),n=r}}function lr(e){for(var t=e.first;t!==null;){var n=t.next;(t.f&Q)===0&&S(t),t=n}}function S(e,t=!0){var n=!1;(t||(e.f&Ze)!==0)&&e.nodes_start!==null&&e.nodes_end!==null&&(fr(e.nodes_start,e.nodes_end),n=!0),Gt(e,t&&!n),ze(e,0),x(e,te);var r=e.transitions;if(r!==null)for(const i of r)i.stop();Wt(e);var s=e.parent;s!==null&&s.first!==null&&Jt(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes_start=e.nodes_end=e.ac=null}function fr(e,t){for(;e!==null;){var n=e===t?null:q(e);e.remove(),e=n}}function Jt(e){var t=e.parent,n=e.prev,r=e.next;n!==null&&(n.next=r),r!==null&&(r.prev=n),t!==null&&(t.first===e&&(t.first=r),t.last===e&&(t.last=n))}function Ae(e,t,n=!0){var r=[];Xt(e,r,!0),ar(r,()=>{n&&S(e),t&&t()})}function ar(e,t){var n=e.length;if(n>0){var r=()=>--n||t();for(var s of e)s.out(r)}else t()}function Xt(e,t,n){if((e.f&I)===0){if(e.f^=I,e.transitions!==null)for(const l of e.transitions)(l.is_global||n)&&t.push(l);for(var r=e.first;r!==null;){var s=r.next,i=(r.f&ve)!==0||(r.f&Q)!==0&&(e.f&H)!==0;Xt(r,t,i?n:!1),r=s}}}function or(e){Zt(e,!0)}function Zt(e,t){if((e.f&I)!==0){e.f^=I,(e.f&E)===0&&(x(e,T),ue(e));for(var n=e.first;n!==null;){var r=n.next,s=(n.f&ve)!==0||(n.f&Q)!==0;Zt(n,s?t:!1),n=r}if(e.transitions!==null)for(const i of e.transitions)(i.is_global||t)&&i.in()}}function Qt(e,t){for(var n=e.nodes_start,r=e.nodes_end;n!==null;){var s=n===r?null:q(n);t.append(n),n=s}}let ce=!1;function en(e){ce=e}let ye=!1;function tn(e){ye=e}let _=null,Y=!1;function R(e){_=e}let v=null;function V(e){v=e}let X=null;function ur(e){_!==null&&(X===null?X=[e]:X.push(e))}let k=null,C=0,P=null;function cr(e){P=e}let nn=1,Ce=0,he=Ce;function rn(e){he=e}function sn(){return++nn}function Ne(e){var t=e.f;if((t&T)!==0)return!0;if(t&w&&(e.f&=~Ee),(t&U)!==0){var n=e.deps;if(n!==null)for(var r=n.length,s=0;s<r;s++){var i=n[s];if(Ne(i)&&It(i),i.wv>e.wv)return!0}(t&D)!==0&&A===null&&x(e,E)}return!1}function ln(e,t,n=!0){var r=e.reactions;if(r!==null&&!X?.includes(e))for(var s=0;s<r.length;s++){var i=r[s];(i.f&w)!==0?ln(i,t,!1):t===i&&(n?x(i,T):(i.f&E)!==0&&x(i,U),ue(i))}}function fn(e){var t=k,n=C,r=P,s=_,i=X,l=F,f=Y,a=he,o=e.f;k=null,C=0,P=null,_=(o&(Q|ee))===0?e:null,X=null,ge(e.ctx),Y=!1,he=++Ce,e.ac!==null&&(Ut(()=>{e.ac.abort(pe)}),e.ac=null);try{e.f|=Qe;var c=e.fn,d=c(),u=e.deps;if(k!==null){var h;if(ze(e,C),u!==null&&C>0)for(u.length=C+k.length,h=0;h<k.length;h++)u[C+h]=k[h];else e.deps=u=k;if(ce&&Ue()&&(e.f&D)!==0)for(h=C;h<u.length;h++)(u[h].reactions??=[]).push(e)}else u!==null&&C<u.length&&(ze(e,C),u.length=C);if(At()&&P!==null&&!Y&&u!==null&&(e.f&(w|U|T))===0)for(h=0;h<P.length;h++)ln(P[h],e);return s!==null&&s!==e&&(Ce++,P!==null&&(r===null?r=P:r.push(...P))),(e.f&ne)!==0&&(e.f^=ne),d}catch(p){return Nt(p)}finally{e.f^=Qe,k=t,C=n,P=r,_=s,X=i,ge(l),Y=f,he=a}}function hr(e,t){let n=t.reactions;if(n!==null){var r=$n.call(n,e);if(r!==-1){var s=n.length-1;s===0?n=t.reactions=null:(n[r]=n[s],n.pop())}}n===null&&(t.f&w)!==0&&(k===null||!k.includes(t))&&(x(t,U),(t.f&D)!==0&&(t.f^=D,t.f&=~Ee),jt(t),ze(t,0))}function ze(e,t){var n=e.deps;if(n!==null)for(var r=t;r<n.length;r++)hr(e,n[r])}function Oe(e){var t=e.f;if((t&te)===0){x(e,E);var n=v,r=ce;v=e,ce=!0;try{(t&H)!==0?lr(e):Gt(e),Wt(e);var s=fn(e);e.teardown=typeof s=="function"?s:null,e.wv=nn;var i;gt&&In&&(e.f&T)!==0&&e.deps}finally{ce=r,v=n}}}function j(e){var t=e.f,n=(t&w)!==0;if(_!==null&&!Y){var r=v!==null&&(v.f&te)!==0;if(!r&&!X?.includes(e)){var s=_.deps;if((_.f&Qe)!==0)e.rv<Ce&&(e.rv=Ce,k===null&&s!==null&&s[C]===e?C++:k===null?k=[e]:k.includes(e)||k.push(e));else{(_.deps??=[]).push(e);var i=e.reactions;i===null?e.reactions=[_]:i.includes(_)||i.push(_)}}}if(ye){if(se.has(e))return se.get(e);if(n){var l=e,f=l.v;return((l.f&E)===0&&l.reactions!==null||on(l))&&(f=it(l)),se.set(l,f),f}}else if(n){if(l=e,A?.has(l))return A.get(l);Ne(l)&&It(l),ce&&Ue()&&(l.f&D)===0&&an(l)}else if(A?.has(e))return A.get(e);if((e.f&ne)!==0)throw e.v;return e.v}function an(e){if(e.deps!==null){e.f^=D;for(const t of e.deps)(t.reactions??=[]).push(e),(t.f&w)!==0&&(t.f&D)===0&&an(t)}}function on(e){if(e.v===y)return!0;if(e.deps===null)return!1;for(const t of e.deps)if(se.has(t)||(t.f&w)!==0&&on(t))return!0;return!1}function dr(e){var t=Y;try{return Y=!0,e()}finally{Y=t}}const _r=-7169;function x(e,t){e.f=e.f&_r|t}const un=new Set,ut=new Set;function vr(e){for(var t=0;t<e.length;t++)un.add(e[t]);for(var n of ut)n(e)}let cn=null;function Ke(e){var t=this,n=t.ownerDocument,r=e.type,s=e.composedPath?.()||[],i=s[0]||e.target;cn=e;var l=0,f=cn===e&&e.__root;if(f){var a=s.indexOf(f);if(a!==-1&&(t===document||t===window)){e.__root=t;return}var o=s.indexOf(t);if(o===-1)return;a<=o&&(l=a)}if(i=s[l]||e.target,i!==t){je(e,"currentTarget",{configurable:!0,get(){return i||n}});var c=_,d=v;R(null),V(null);try{for(var u,h=[];i!==null;){var p=i.assignedSlot||i.parentNode||i.host||null;try{var N=i["__"+r];N!=null&&(!i.disabled||e.target===i)&&N.call(i,e)}catch(Z){u?h.push(Z):u=Z}if(e.cancelBubble||p===t||p===null)break;i=p}if(u){for(let Z of h)queueMicrotask(()=>{throw Z});throw u}}finally{e.__root=t,delete e.currentTarget,R(c),V(d)}}}function pr(e){var t=document.createElement("template");return t.innerHTML=e.replaceAll("<!>","<!---->"),t.content}function ct(e,t){var n=v;n.nodes_start===null&&(n.nodes_start=e,n.nodes_end=t)}function ht(e,t){var n=(t&bn)!==0,r,s=!e.startsWith("<!>");return()=>{if(b)return ct(g,null),g;r===void 0&&(r=pr(s?e:"<!>"+e),r=Re(r));var i=n||Yt?document.importNode(r,!0):r.cloneNode(!0);return ct(i,i),i}}function We(e,t){if(b){v.nodes_end=g,nt();return}e!==null&&e.before(t)}const br=["touchstart","touchmove"];function gr(e){return br.includes(e)}function dt(e,t){var n=t==null?"":typeof t=="object"?t+"":t;n!==(e.__t??=e.nodeValue)&&(e.__t=n,e.nodeValue=n+"")}function hn(e,t){return dn(e,t)}function $r(e,t){ft(),t.intro=t.intro??!1;const n=t.target,r=b,s=g;try{for(var i=Re(n);i&&(i.nodeType!==be||i.data!==pt);)i=q(i);if(!i)throw de;re(!0),O(i);const l=dn(e,{...t,anchor:i});return re(!1),l}catch(l){if(l instanceof Error&&l.message.split(`
|
|
2
|
-
`).some(f=>f.startsWith("https://svelte.dev/e/")))throw l;return l!==
|
|
3
|
-
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@latest/font/bootstrap-icons.css");:host {font-family:"Roboto", sans-serif;--hb--dashboard-indicator-background: #5cb85c;}#icon.svelte-1b4l8re {font-size:400%;}.row.svelte-1b4l8re {display:grid;grid-template-columns:max-content auto;}#panel-heading-content.svelte-1b4l8re {text-align:right;}#number.svelte-1b4l8re {font-size:300%;}.panel.svelte-1b4l8re {background-color:#fff;border:1px solid transparent;border-radius:4px;-webkit-box-shadow:0 1px 1px rgba(0, 0, 0, 0.05);box-shadow:0 1px 1px rgba(0, 0, 0, 0.05);}.panel-green.svelte-1b4l8re {border-color:var(--hb--dashboard-indicator-background);}.panel-green.svelte-1b4l8re > .panel-heading:where(.svelte-1b4l8re) {color:#fff;background-color:var(--hb--dashboard-indicator-background);}.panel-heading.svelte-1b4l8re {padding:10px 15px;border-bottom:1px solid transparent;border-top-left-radius:3px;border-top-right-radius:3px;}.panel-footer.svelte-1b4l8re {padding:10px 15px;background-color:#f5f5f5;border-top:1px solid #ddd;border-bottom-right-radius:3px;border-bottom-left-radius:3px;color:var(--hb--dashboard-indicator-background);cursor:pointer;}`};function vn(e,t){
|
|
1
|
+
(function(gt){"use strict";typeof window<"u"&&((window.__svelte??={}).v??=new Set).add("5");const bn=2,mt="[",Je="[!",$t="]",_e={},w=Symbol(),Xe=!1;var gn=Array.isArray,mn=Array.prototype.indexOf,$n=Array.from,Me=Object.keys,je=Object.defineProperty,ve=Object.getOwnPropertyDescriptor,yn=Object.prototype,wn=Array.prototype,En=Object.getPrototypeOf,yt=Object.isExtensible;function xn(e){for(var t=0;t<e.length;t++)e[t]()}function wt(){var e,t,n=new Promise((r,i)=>{e=r,t=i});return{promise:n,resolve:e,reject:t}}const $=2,Ze=4,Qe=8,H=16,ee=32,te=64,Ie=128,F=512,E=1024,T=2048,U=4096,L=8192,z=16384,et=32768,pe=65536,Et=1<<17,tt=1<<18,oe=1<<19,kn=1<<20,ue=32768,nt=1<<21,rt=1<<22,ne=1<<23,st=Symbol("$state"),Tn=Symbol("legacy props"),be=new class extends Error{name="StaleReactionError";message="The reaction that called `getAbortSignal()` was re-run or destroyed"},xt=3,ge=8;function Sn(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function Rn(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function An(){throw new Error("https://svelte.dev/e/hydration_failed")}function Cn(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function Nn(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function On(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function Pn(){throw new Error("https://svelte.dev/e/svelte_boundary_reset_onerror")}function Le(e){console.warn("https://svelte.dev/e/hydration_mismatch")}function Dn(){console.warn("https://svelte.dev/e/svelte_boundary_reset_noop")}let b=!1;function re(e){b=e}let g;function N(e){if(e===null)throw Le(),_e;return g=e}function it(){return N(q(g))}function K(e){if(b){if(q(g)!==null)throw Le(),_e;g=e}}function kt(e=1){if(b){for(var t=e,n=g;t--;)n=q(n);g=n}}function Tt(e=!0){for(var t=0,n=g;;){if(n.nodeType===ge){var r=n.data;if(r===$t){if(t===0)return n;t-=1}else(r===mt||r===Je)&&(t+=1)}var i=q(n);e&&n.remove(),n=i}}function Fn(e){if(!e||e.nodeType!==ge)throw Le(),_e;return e.data}function St(e){return e===this.v}function Mn(e,t){return e!=e?t==t:e!==t||e!==null&&typeof e=="object"||typeof e=="function"}function jn(e){return!Mn(e,this.v)}let In=!1,M=null;function me(e){M=e}function Rt(e,t=!1,n){M={p:M,i:!1,c:null,e:null,s:e,x:null,l:null}}function At(e){var t=M,n=t.e;if(n!==null){t.e=null;for(var r of n)tr(r)}return e!==void 0&&(t.x=e),t.i=!0,M=t.p,e??{}}function Ct(){return!0}let ce=[];function Nt(){var e=ce;ce=[],xn(e)}function lt(e){if(ce.length===0&&!xe){var t=ce;queueMicrotask(()=>{t===ce&&Nt()})}ce.push(e)}function Ln(){for(;ce.length>0;)Nt()}function Ot(e){var t=v;if(t===null)return _.f|=ne,e;if((t.f&et)===0){if((t.f&Ie)===0)throw e;t.b.error(e)}else $e(e,t)}function $e(e,t){for(;t!==null;){if((t.f&Ie)!==0)try{t.b.error(e);return}catch(n){e=n}t=t.parent}throw e}const qe=new Set;let m=null,O=null,P=[],Be=null,ft=!1,xe=!1;class j{committed=!1;current=new Map;previous=new Map;#t=new Set;#e=new Set;#n=0;#r=0;#a=null;#i=[];#s=[];skipped_effects=new Set;is_fork=!1;is_deferred(){return this.is_fork||this.#r>0}process(t){P=[],this.apply();var n={parent:null,effect:null,effects:[],render_effects:[],block_effects:[]};for(const r of t)this.#l(r,n);this.is_fork||this.#u(),this.is_deferred()?(this.#f(n.effects),this.#f(n.render_effects),this.#f(n.block_effects)):(m=null,Dt(n.render_effects),Dt(n.effects),this.#a?.resolve()),O=null}#l(t,n){t.f^=E;for(var r=t.first;r!==null;){var i=r.f,s=(i&(ee|te))!==0,l=s&&(i&E)!==0,f=l||(i&L)!==0||this.skipped_effects.has(r);if((r.f&Ie)!==0&&r.b?.is_pending()&&(n={parent:n,effect:r,effects:[],render_effects:[],block_effects:[]}),!f&&r.fn!==null){s?r.f^=E:(i&Ze)!==0?n.effects.push(r):Ne(r)&&((r.f&H)!==0&&n.block_effects.push(r),Oe(r));var a=r.first;if(a!==null){r=a;continue}}var o=r.parent;for(r=r.next;r===null&&o!==null;)o===n.effect&&(this.#f(n.effects),this.#f(n.render_effects),this.#f(n.block_effects),n=n.parent),r=o.next,o=o.parent}}#f(t){for(const n of t)((n.f&T)!==0?this.#i:this.#s).push(n),this.#o(n.deps),x(n,E)}#o(t){if(t!==null)for(const n of t)(n.f&$)===0||(n.f&ue)===0||(n.f^=ue,this.#o(n.deps))}capture(t,n){this.previous.has(t)||this.previous.set(t,n),(t.f&ne)===0&&(this.current.set(t,t.v),O?.set(t,t.v))}activate(){m=this,this.apply()}deactivate(){m===this&&(m=null,O=null)}flush(){if(this.activate(),P.length>0){if(Pt(),m!==null&&m!==this)return}else this.#n===0&&this.process([]);this.deactivate()}discard(){for(const t of this.#e)t(this);this.#e.clear()}#u(){if(this.#r===0){for(const t of this.#t)t();this.#t.clear()}this.#n===0&&this.#c()}#c(){if(qe.size>1){this.previous.clear();var t=O,n=!0,r={parent:null,effect:null,effects:[],render_effects:[],block_effects:[]};for(const s of qe){if(s===this){n=!1;continue}const l=[];for(const[a,o]of this.current){if(s.current.has(a))if(n&&o!==s.current.get(a))s.current.set(a,o);else continue;l.push(a)}if(l.length===0)continue;const f=[...s.current.keys()].filter(a=>!this.current.has(a));if(f.length>0){var i=P;P=[];const a=new Set,o=new Map;for(const c of l)Ft(c,f,a,o);if(P.length>0){m=s,s.apply();for(const c of P)s.#l(c,r);s.deactivate()}P=i}}m=null,O=t}this.committed=!0,qe.delete(this)}increment(t){this.#n+=1,t&&(this.#r+=1)}decrement(t){this.#n-=1,t&&(this.#r-=1),this.revive()}revive(){for(const t of this.#i)x(t,T),he(t);for(const t of this.#s)x(t,U),he(t);this.#i=[],this.#s=[],this.flush()}oncommit(t){this.#t.add(t)}ondiscard(t){this.#e.add(t)}settled(){return(this.#a??=wt()).promise}static ensure(){if(m===null){const t=m=new j;qe.add(m),xe||j.enqueue(()=>{m===t&&t.flush()})}return m}static enqueue(t){lt(t)}apply(){}}function ye(e){var t=xe;xe=!0;try{for(var n;;){if(Ln(),P.length===0&&(m?.flush(),P.length===0))return Be=null,n;Pt()}}finally{xe=t}}function Pt(){var e=fe;ft=!0;var t=null;try{var n=0;for(Ue(!0);P.length>0;){var r=j.ensure();if(n++>1e3){var i,s;qn()}r.process(P),se.clear()}}finally{ft=!1,Ue(e),Be=null}}function qn(){try{Rn()}catch(e){$e(e,Be)}}let W=null;function Dt(e){var t=e.length;if(t!==0){for(var n=0;n<t;){var r=e[n++];if((r.f&(z|L))===0&&Ne(r)&&(W=new Set,Oe(r),r.deps===null&&r.first===null&&r.nodes_start===null&&(r.teardown===null&&r.ac===null?Xt(r):r.fn=null),W?.size>0)){se.clear();for(const i of W){if((i.f&(z|L))!==0)continue;const s=[i];let l=i.parent;for(;l!==null;)W.has(l)&&(W.delete(l),s.push(l)),l=l.parent;for(let f=s.length-1;f>=0;f--){const a=s[f];(a.f&(z|L))===0&&Oe(a)}}W.clear()}}W=null}}function Ft(e,t,n,r){if(!n.has(e)&&(n.add(e),e.reactions!==null))for(const i of e.reactions){const s=i.f;(s&$)!==0?Ft(i,t,n,r):(s&(rt|H))!==0&&(s&T)===0&&Mt(i,t,r)&&(x(i,T),he(i))}}function Mt(e,t,n){const r=n.get(e);if(r!==void 0)return r;if(e.deps!==null)for(const i of e.deps){if(t.includes(i))return!0;if((i.f&$)!==0&&Mt(i,t,n))return n.set(i,!0),!0}return n.set(e,!1),!1}function he(e){for(var t=Be=e;t.parent!==null;){t=t.parent;var n=t.f;if(ft&&t===v&&(n&H)!==0&&(n&tt)===0)return;if((n&(te|ee))!==0){if((n&E)===0)return;t.f^=E}}P.push(t)}function Bn(e){let t=0,n=ke(0),r;return()=>{He()&&(I(n),Kt(()=>(t===0&&(r=dr(()=>e(()=>Te(n)))),t+=1,()=>{lt(()=>{t-=1,t===0&&(r?.(),r=void 0,Te(n))})})))}}var Yn=pe|oe|Ie;function Vn(e,t,n){new Hn(e,t,n)}class Hn{parent;#t=!1;#e;#n=b?g:null;#r;#a;#i;#s=null;#l=null;#f=null;#o=null;#u=null;#c=0;#h=0;#_=!1;#d=null;#m=Bn(()=>(this.#d=ke(this.#c),()=>{this.#d=null}));constructor(t,n,r){this.#e=t,this.#r=n,this.#a=r,this.parent=v.b,this.#t=!!this.#r.pending,this.#i=ht(()=>{if(v.b=this,b){const s=this.#n;it(),s.nodeType===ge&&s.data===Je?this.#y():this.#$()}else{var i=this.#b();try{this.#s=X(()=>r(i))}catch(s){this.error(s)}this.#h>0?this.#p():this.#t=!1}return()=>{this.#u?.remove()}},Yn),b&&(this.#e=g)}#$(){try{this.#s=X(()=>this.#a(this.#e))}catch(t){this.error(t)}this.#t=!1}#y(){const t=this.#r.pending;t&&(this.#l=X(()=>t(this.#e)),j.enqueue(()=>{var n=this.#b();this.#s=this.#v(()=>(j.ensure(),X(()=>this.#a(n)))),this.#h>0?this.#p():(Ae(this.#l,()=>{this.#l=null}),this.#t=!1)}))}#b(){var t=this.#e;return this.#t&&(this.#u=le(),this.#e.before(this.#u),t=this.#u),t}is_pending(){return this.#t||!!this.parent&&this.parent.is_pending()}has_pending_snippet(){return!!this.#r.pending}#v(t){var n=v,r=_,i=M;V(this.#i),R(this.#i),me(this.#i.ctx);try{return t()}catch(s){return Ot(s),null}finally{V(n),R(r),me(i)}}#p(){const t=this.#r.pending;this.#s!==null&&(this.#o=document.createDocumentFragment(),this.#o.append(this.#u),en(this.#s,this.#o)),this.#l===null&&(this.#l=X(()=>t(this.#e)))}#g(t){if(!this.has_pending_snippet()){this.parent&&this.parent.#g(t);return}this.#h+=t,this.#h===0&&(this.#t=!1,this.#l&&Ae(this.#l,()=>{this.#l=null}),this.#o&&(this.#e.before(this.#o),this.#o=null))}update_pending_count(t){this.#g(t),this.#c+=t,this.#d&&Ve(this.#d,this.#c)}get_effect_pending(){return this.#m(),I(this.#d)}error(t){var n=this.#r.onerror;let r=this.#r.failed;if(this.#_||!n&&!r)throw t;this.#s&&(S(this.#s),this.#s=null),this.#l&&(S(this.#l),this.#l=null),this.#f&&(S(this.#f),this.#f=null),b&&(N(this.#n),kt(),N(Tt()));var i=!1,s=!1;const l=()=>{if(i){Dn();return}i=!0,s&&Pn(),j.ensure(),this.#c=0,this.#f!==null&&Ae(this.#f,()=>{this.#f=null}),this.#t=this.has_pending_snippet(),this.#s=this.#v(()=>(this.#_=!1,X(()=>this.#a(this.#e)))),this.#h>0?this.#p():this.#t=!1};var f=_;try{R(null),s=!0,n?.(t,l),s=!1}catch(a){$e(a,this.#i&&this.#i.parent)}finally{R(f)}r&<(()=>{this.#f=this.#v(()=>{j.ensure(),this.#_=!0;try{return X(()=>{r(this.#e,()=>t,()=>l)})}catch(a){return $e(a,this.#i.parent),null}finally{this.#_=!1}})})}}function Un(e,t,n,r){const i=jt;if(n.length===0&&e.length===0){r(t.map(i));return}var s=m,l=v,f=zn();function a(){Promise.all(n.map(o=>Kn(o))).then(o=>{f();try{r([...t.map(i),...o])}catch(c){(l.f&z)===0&&$e(c,l)}s?.deactivate(),Ye()}).catch(o=>{$e(o,l)})}e.length>0?Promise.all(e).then(()=>{f();try{return a()}finally{s?.deactivate(),Ye()}}):a()}function zn(){var e=v,t=_,n=M,r=m;return function(s=!0){V(e),R(t),me(n),s&&r?.activate()}}function Ye(){V(null),R(null),me(null)}function jt(e){var t=$|T,n=_!==null&&(_.f&$)!==0?_:null;return v!==null&&(v.f|=oe),{ctx:M,deps:null,effects:null,equals:St,f:t,fn:e,reactions:null,rv:0,v:w,wv:0,parent:n??v,ac:null}}function Kn(e,t){let n=v;n===null&&Sn();var r=n.b,i=void 0,s=ke(w),l=!_,f=new Map;return ir(()=>{var a=wt();i=a.promise;try{Promise.resolve(e()).then(a.resolve,a.reject).then(()=>{o===m&&o.committed&&o.deactivate(),Ye()})}catch(u){a.reject(u),Ye()}var o=m;if(l){var c=!r.is_pending();r.update_pending_count(1),o.increment(c),f.get(o)?.reject(be),f.delete(o),f.set(o,a)}const d=(u,h=void 0)=>{if(o.activate(),h)h!==be&&(s.f|=ne,Ve(s,h));else{(s.f&ne)!==0&&(s.f^=ne),Ve(s,u);for(const[p,C]of f){if(f.delete(p),p===o)break;C.reject(be)}}l&&(r.update_pending_count(-1),o.decrement(c))};a.promise.then(d,u=>d(null,u||"unknown"))}),er(()=>{for(const a of f.values())a.reject(be)}),new Promise(a=>{function o(c){function d(){c===i?a(s):o(i)}c.then(d,d)}o(i)})}function It(e){var t=e.effects;if(t!==null){e.effects=null;for(var n=0;n<t.length;n+=1)S(t[n])}}function Wn(e){for(var t=e.parent;t!==null;){if((t.f&$)===0)return(t.f&z)===0?t:null;t=t.parent}return null}function at(e){var t,n=v;V(Wn(e));try{e.f&=~ue,It(e),t=fn(e)}finally{V(n)}return t}function Lt(e){var t=at(e);if(e.equals(t)||(m?.is_fork||(e.v=t),e.wv=sn()),!we)if(O!==null)He()&&O.set(e,t);else{var n=(e.f&F)===0?U:E;x(e,n)}}let ot=new Set;const se=new Map;let qt=!1;function ke(e,t){var n={f:0,v:e,reactions:null,equals:St,rv:0,wv:0};return n}function ie(e,t){const n=ke(e);return ur(n),n}function Gn(e,t=!1,n=!0){const r=ke(e);return t||(r.equals=jn),r}function G(e,t,n=!1){_!==null&&(!Y||(_.f&Et)!==0)&&Ct()&&(_.f&($|H|rt|Et))!==0&&!Z?.includes(e)&&On();let r=n?Se(t):t;return Ve(e,r)}function Ve(e,t){if(!e.equals(t)){var n=e.v;we?se.set(e,t):se.set(e,n),e.v=t;var r=j.ensure();r.capture(e,n),(e.f&$)!==0&&((e.f&T)!==0&&at(e),x(e,(e.f&F)!==0?E:U)),e.wv=sn(),Bt(e,T),v!==null&&(v.f&E)!==0&&(v.f&(ee|te))===0&&(D===null?cr([e]):D.push(e)),!r.is_fork&&ot.size>0&&!qt&&Jn()}return t}function Jn(){qt=!1;var e=fe;Ue(!0);const t=Array.from(ot);try{for(const n of t)(n.f&E)!==0&&x(n,U),Ne(n)&&Oe(n)}finally{Ue(e)}ot.clear()}function Te(e){G(e,e.v+1)}function Bt(e,t){var n=e.reactions;if(n!==null)for(var r=n.length,i=0;i<r;i++){var s=n[i],l=s.f,f=(l&T)===0;if(f&&x(s,t),(l&$)!==0){var a=s;O?.delete(a),(l&ue)===0&&(l&F&&(s.f|=ue),Bt(a,U))}else f&&((l&H)!==0&&W!==null&&W.add(s),he(s))}}function Se(e){if(typeof e!="object"||e===null||st in e)return e;const t=En(e);if(t!==yn&&t!==wn)return e;var n=new Map,r=gn(e),i=ie(0),s=de,l=f=>{if(de===s)return f();var a=_,o=de;R(null),rn(s);var c=f();return R(a),rn(o),c};return r&&n.set("length",ie(e.length)),new Proxy(e,{defineProperty(f,a,o){(!("value"in o)||o.configurable===!1||o.enumerable===!1||o.writable===!1)&&Cn();var c=n.get(a);return c===void 0?c=l(()=>{var d=ie(o.value);return n.set(a,d),d}):G(c,o.value,!0),!0},deleteProperty(f,a){var o=n.get(a);if(o===void 0){if(a in f){const c=l(()=>ie(w));n.set(a,c),Te(i)}}else G(o,w),Te(i);return!0},get(f,a,o){if(a===st)return e;var c=n.get(a),d=a in f;if(c===void 0&&(!d||ve(f,a)?.writable)&&(c=l(()=>{var h=Se(d?f[a]:w),p=ie(h);return p}),n.set(a,c)),c!==void 0){var u=I(c);return u===w?void 0:u}return Reflect.get(f,a,o)},getOwnPropertyDescriptor(f,a){var o=Reflect.getOwnPropertyDescriptor(f,a);if(o&&"value"in o){var c=n.get(a);c&&(o.value=I(c))}else if(o===void 0){var d=n.get(a),u=d?.v;if(d!==void 0&&u!==w)return{enumerable:!0,configurable:!0,value:u,writable:!0}}return o},has(f,a){if(a===st)return!0;var o=n.get(a),c=o!==void 0&&o.v!==w||Reflect.has(f,a);if(o!==void 0||v!==null&&(!c||ve(f,a)?.writable)){o===void 0&&(o=l(()=>{var u=c?Se(f[a]):w,h=ie(u);return h}),n.set(a,o));var d=I(o);if(d===w)return!1}return c},set(f,a,o,c){var d=n.get(a),u=a in f;if(r&&a==="length")for(var h=o;h<d.v;h+=1){var p=n.get(h+"");p!==void 0?G(p,w):h in f&&(p=l(()=>ie(w)),n.set(h+"",p))}if(d===void 0)(!u||ve(f,a)?.writable)&&(d=l(()=>ie(void 0)),G(d,Se(o)),n.set(a,d));else{u=d.v!==w;var C=l(()=>Se(o));G(d,C)}var Q=Reflect.getOwnPropertyDescriptor(f,a);if(Q?.set&&Q.set.call(c,o),!u){if(r&&typeof a=="string"){var De=n.get("length"),Fe=Number(a);Number.isInteger(Fe)&&Fe>=De.v&&G(De,Fe+1)}Te(i)}return!0},ownKeys(f){I(i);var a=Reflect.ownKeys(f).filter(d=>{var u=n.get(d);return u===void 0||u.v!==w});for(var[o,c]of n)c.v!==w&&!(o in f)&&a.push(o);return a},setPrototypeOf(){Nn()}})}var Yt,Vt,Ht,Ut;function ut(){if(Yt===void 0){Yt=window,Vt=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,n=Text.prototype;Ht=ve(t,"firstChild").get,Ut=ve(t,"nextSibling").get,yt(e)&&(e.__click=void 0,e.__className=void 0,e.__attributes=null,e.__style=void 0,e.__e=void 0),yt(n)&&(n.__t=void 0)}}function le(e=""){return document.createTextNode(e)}function Re(e){return Ht.call(e)}function q(e){return Ut.call(e)}function J(e,t){if(!b)return Re(e);var n=Re(g);if(n===null)n=g.appendChild(le());else if(t&&n.nodeType!==xt){var r=le();return n?.before(r),N(r),r}return N(n),n}function ct(e,t=1,n=!1){let r=b?g:e;for(var i;t--;)i=r,r=q(r);if(!b)return r;if(n&&r?.nodeType!==xt){var s=le();return r===null?i?.after(s):r.before(s),N(s),s}return N(r),r}function Xn(e){e.textContent=""}function Zn(){return!1}function zt(e){var t=_,n=v;R(null),V(null);try{return e()}finally{R(t),V(n)}}function Qn(e,t){var n=t.last;n===null?t.last=t.first=e:(n.next=e,e.prev=n,t.last=e)}function B(e,t,n){var r=v;r!==null&&(r.f&L)!==0&&(e|=L);var i={ctx:M,deps:null,nodes_start:null,nodes_end:null,f:e|T|F,first:null,fn:t,last:null,next:null,parent:r,b:r&&r.b,prev:null,teardown:null,transitions:null,wv:0,ac:null};if(n)try{Oe(i),i.f|=et}catch(f){throw S(i),f}else t!==null&&he(i);var s=i;if(n&&s.deps===null&&s.teardown===null&&s.nodes_start===null&&s.first===s.last&&(s.f&oe)===0&&(s=s.first,(e&H)!==0&&(e&pe)!==0&&s!==null&&(s.f|=pe)),s!==null&&(s.parent=r,r!==null&&Qn(s,r),_!==null&&(_.f&$)!==0&&(e&te)===0)){var l=_;(l.effects??=[]).push(s)}return i}function He(){return _!==null&&!Y}function er(e){const t=B(Qe,null,!1);return x(t,E),t.teardown=e,t}function tr(e){return B(Ze|kn,e,!1)}function nr(e){j.ensure();const t=B(te|oe,e,!0);return()=>{S(t)}}function rr(e){j.ensure();const t=B(te|oe,e,!0);return(n={})=>new Promise(r=>{n.outro?Ae(t,()=>{S(t),r(void 0)}):(S(t),r(void 0))})}function sr(e){return B(Ze,e,!1)}function ir(e){return B(rt|oe,e,!0)}function Kt(e,t=0){return B(Qe|t,e,!0)}function Wt(e,t=[],n=[],r=[]){Un(r,t,n,i=>{B(Qe,()=>e(...i.map(I)),!0)})}function ht(e,t=0){var n=B(H|t,e,!0);return n}function X(e){return B(ee|oe,e,!0)}function Gt(e){var t=e.teardown;if(t!==null){const n=we,r=_;tn(!0),R(null);try{t.call(null)}finally{tn(n),R(r)}}}function Jt(e,t=!1){var n=e.first;for(e.first=e.last=null;n!==null;){const i=n.ac;i!==null&&zt(()=>{i.abort(be)});var r=n.next;(n.f&te)!==0?n.parent=null:S(n,t),n=r}}function lr(e){for(var t=e.first;t!==null;){var n=t.next;(t.f&ee)===0&&S(t),t=n}}function S(e,t=!0){var n=!1;(t||(e.f&tt)!==0)&&e.nodes_start!==null&&e.nodes_end!==null&&(fr(e.nodes_start,e.nodes_end),n=!0),Jt(e,t&&!n),ze(e,0),x(e,z);var r=e.transitions;if(r!==null)for(const s of r)s.stop();Gt(e);var i=e.parent;i!==null&&i.first!==null&&Xt(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes_start=e.nodes_end=e.ac=null}function fr(e,t){for(;e!==null;){var n=e===t?null:q(e);e.remove(),e=n}}function Xt(e){var t=e.parent,n=e.prev,r=e.next;n!==null&&(n.next=r),r!==null&&(r.prev=n),t!==null&&(t.first===e&&(t.first=r),t.last===e&&(t.last=n))}function Ae(e,t,n=!0){var r=[];Zt(e,r,!0),ar(r,()=>{n&&S(e),t&&t()})}function ar(e,t){var n=e.length;if(n>0){var r=()=>--n||t();for(var i of e)i.out(r)}else t()}function Zt(e,t,n){if((e.f&L)===0){if(e.f^=L,e.transitions!==null)for(const l of e.transitions)(l.is_global||n)&&t.push(l);for(var r=e.first;r!==null;){var i=r.next,s=(r.f&pe)!==0||(r.f&ee)!==0&&(e.f&H)!==0;Zt(r,t,s?n:!1),r=i}}}function or(e){Qt(e,!0)}function Qt(e,t){if((e.f&L)!==0){e.f^=L,(e.f&E)===0&&(x(e,T),he(e));for(var n=e.first;n!==null;){var r=n.next,i=(n.f&pe)!==0||(n.f&ee)!==0;Qt(n,i?t:!1),n=r}if(e.transitions!==null)for(const s of e.transitions)(s.is_global||t)&&s.in()}}function en(e,t){for(var n=e.nodes_start,r=e.nodes_end;n!==null;){var i=n===r?null:q(n);t.append(n),n=i}}let fe=!1;function Ue(e){fe=e}let we=!1;function tn(e){we=e}let _=null,Y=!1;function R(e){_=e}let v=null;function V(e){v=e}let Z=null;function ur(e){_!==null&&(Z===null?Z=[e]:Z.push(e))}let k=null,A=0,D=null;function cr(e){D=e}let nn=1,Ce=0,de=Ce;function rn(e){de=e}function sn(){return++nn}function Ne(e){var t=e.f;if((t&T)!==0)return!0;if(t&$&&(e.f&=~ue),(t&U)!==0){var n=e.deps;if(n!==null)for(var r=n.length,i=0;i<r;i++){var s=n[i];if(Ne(s)&&Lt(s),s.wv>e.wv)return!0}(t&F)!==0&&O===null&&x(e,E)}return!1}function ln(e,t,n=!0){var r=e.reactions;if(r!==null&&!Z?.includes(e))for(var i=0;i<r.length;i++){var s=r[i];(s.f&$)!==0?ln(s,t,!1):t===s&&(n?x(s,T):(s.f&E)!==0&&x(s,U),he(s))}}function fn(e){var t=k,n=A,r=D,i=_,s=Z,l=M,f=Y,a=de,o=e.f;k=null,A=0,D=null,_=(o&(ee|te))===0?e:null,Z=null,me(e.ctx),Y=!1,de=++Ce,e.ac!==null&&(zt(()=>{e.ac.abort(be)}),e.ac=null);try{e.f|=nt;var c=e.fn,d=c(),u=e.deps;if(k!==null){var h;if(ze(e,A),u!==null&&A>0)for(u.length=A+k.length,h=0;h<k.length;h++)u[A+h]=k[h];else e.deps=u=k;if(fe&&He()&&(e.f&F)!==0)for(h=A;h<u.length;h++)(u[h].reactions??=[]).push(e)}else u!==null&&A<u.length&&(ze(e,A),u.length=A);if(Ct()&&D!==null&&!Y&&u!==null&&(e.f&($|U|T))===0)for(h=0;h<D.length;h++)ln(D[h],e);return i!==null&&i!==e&&(Ce++,D!==null&&(r===null?r=D:r.push(...D))),(e.f&ne)!==0&&(e.f^=ne),d}catch(p){return Ot(p)}finally{e.f^=nt,k=t,A=n,D=r,_=i,Z=s,me(l),Y=f,de=a}}function hr(e,t){let n=t.reactions;if(n!==null){var r=mn.call(n,e);if(r!==-1){var i=n.length-1;i===0?n=t.reactions=null:(n[r]=n[i],n.pop())}}n===null&&(t.f&$)!==0&&(k===null||!k.includes(t))&&(x(t,U),(t.f&F)!==0&&(t.f^=F,t.f&=~ue),It(t),ze(t,0))}function ze(e,t){var n=e.deps;if(n!==null)for(var r=t;r<n.length;r++)hr(e,n[r])}function Oe(e){var t=e.f;if((t&z)===0){x(e,E);var n=v,r=fe;v=e,fe=!0;try{(t&H)!==0?lr(e):Jt(e),Gt(e);var i=fn(e);e.teardown=typeof i=="function"?i:null,e.wv=nn;var s;Xe&&In&&(e.f&T)!==0&&e.deps}finally{fe=r,v=n}}}function I(e){var t=e.f,n=(t&$)!==0;if(_!==null&&!Y){var r=v!==null&&(v.f&z)!==0;if(!r&&!Z?.includes(e)){var i=_.deps;if((_.f&nt)!==0)e.rv<Ce&&(e.rv=Ce,k===null&&i!==null&&i[A]===e?A++:k===null?k=[e]:k.includes(e)||k.push(e));else{(_.deps??=[]).push(e);var s=e.reactions;s===null?e.reactions=[_]:s.includes(_)||s.push(_)}}}if(we){if(se.has(e))return se.get(e);if(n){var l=e,f=l.v;return((l.f&E)===0&&l.reactions!==null||on(l))&&(f=at(l)),se.set(l,f),f}}else n&&!O?.has(e)&&(l=e,Ne(l)&&Lt(l),fe&&He()&&(l.f&F)===0&&an(l));if(O?.has(e))return O.get(e);if((e.f&ne)!==0)throw e.v;return e.v}function an(e){if(e.deps!==null){e.f^=F;for(const t of e.deps)(t.reactions??=[]).push(e),(t.f&$)!==0&&(t.f&F)===0&&an(t)}}function on(e){if(e.v===w)return!0;if(e.deps===null)return!1;for(const t of e.deps)if(se.has(t)||(t.f&$)!==0&&on(t))return!0;return!1}function dr(e){var t=Y;try{return Y=!0,e()}finally{Y=t}}const _r=-7169;function x(e,t){e.f=e.f&_r|t}const un=new Set,dt=new Set;function vr(e){for(var t=0;t<e.length;t++)un.add(e[t]);for(var n of dt)n(e)}let cn=null;function Ke(e){var t=this,n=t.ownerDocument,r=e.type,i=e.composedPath?.()||[],s=i[0]||e.target;cn=e;var l=0,f=cn===e&&e.__root;if(f){var a=i.indexOf(f);if(a!==-1&&(t===document||t===window)){e.__root=t;return}var o=i.indexOf(t);if(o===-1)return;a<=o&&(l=a)}if(s=i[l]||e.target,s!==t){je(e,"currentTarget",{configurable:!0,get(){return s||n}});var c=_,d=v;R(null),V(null);try{for(var u,h=[];s!==null;){var p=s.assignedSlot||s.parentNode||s.host||null;try{var C=s["__"+r];C!=null&&(!s.disabled||e.target===s)&&C.call(s,e)}catch(Q){u?h.push(Q):u=Q}if(e.cancelBubble||p===t||p===null)break;s=p}if(u){for(let Q of h)queueMicrotask(()=>{throw Q});throw u}}finally{e.__root=t,delete e.currentTarget,R(c),V(d)}}}function pr(e){var t=document.createElement("template");return t.innerHTML=e.replaceAll("<!>","<!---->"),t.content}function _t(e,t){var n=v;n.nodes_start===null&&(n.nodes_start=e,n.nodes_end=t)}function vt(e,t){var n=(t&bn)!==0,r,i=!e.startsWith("<!>");return()=>{if(b)return _t(g,null),g;r===void 0&&(r=pr(i?e:"<!>"+e),r=Re(r));var s=n||Vt?document.importNode(r,!0):r.cloneNode(!0);return _t(s,s),s}}function We(e,t){if(b){var n=v;((n.f&et)===0||n.nodes_end===null)&&(n.nodes_end=g),it();return}e!==null&&e.before(t)}const br=["touchstart","touchmove"];function gr(e){return br.includes(e)}function pt(e,t){var n=t==null?"":typeof t=="object"?t+"":t;n!==(e.__t??=e.nodeValue)&&(e.__t=n,e.nodeValue=n+"")}function hn(e,t){return dn(e,t)}function mr(e,t){ut(),t.intro=t.intro??!1;const n=t.target,r=b,i=g;try{for(var s=Re(n);s&&(s.nodeType!==ge||s.data!==mt);)s=q(s);if(!s)throw _e;re(!0),N(s);const l=dn(e,{...t,anchor:s});return re(!1),l}catch(l){if(l instanceof Error&&l.message.split(`
|
|
2
|
+
`).some(f=>f.startsWith("https://svelte.dev/e/")))throw l;return l!==_e&&console.warn("Failed to hydrate: ",l),t.recover===!1&&An(),ut(),Xn(n),re(!1),hn(e,t)}finally{re(r),N(i)}}const Ee=new Map;function dn(e,{target:t,anchor:n,props:r={},events:i,context:s,intro:l=!0}){ut();var f=new Set,a=d=>{for(var u=0;u<d.length;u++){var h=d[u];if(!f.has(h)){f.add(h);var p=gr(h);t.addEventListener(h,Ke,{passive:p});var C=Ee.get(h);C===void 0?(document.addEventListener(h,Ke,{passive:p}),Ee.set(h,1)):Ee.set(h,C+1)}}};a($n(un)),dt.add(a);var o=void 0,c=rr(()=>{var d=n??t.appendChild(le());return Vn(d,{pending:()=>{}},u=>{if(s){Rt({});var h=M;h.c=s}if(i&&(r.$$events=i),b&&_t(u,null),o=e(u,r)||{},b&&(v.nodes_end=g,g===null||g.nodeType!==ge||g.data!==$t))throw Le(),_e;s&&At()}),()=>{for(var u of f){t.removeEventListener(u,Ke);var h=Ee.get(u);--h===0?(document.removeEventListener(u,Ke),Ee.delete(u)):Ee.set(u,h)}dt.delete(a),d!==n&&d.parentNode?.removeChild(d)}});return bt.set(o,c),o}let bt=new WeakMap;function $r(e,t){const n=bt.get(e);return n?(bt.delete(e),n(t)):Promise.resolve()}class yr{anchor;#t=new Map;#e=new Map;#n=new Map;#r=new Set;#a=!0;constructor(t,n=!0){this.anchor=t,this.#a=n}#i=()=>{var t=m;if(this.#t.has(t)){var n=this.#t.get(t),r=this.#e.get(n);if(r)or(r),this.#r.delete(n);else{var i=this.#n.get(n);i&&(this.#e.set(n,i.effect),this.#n.delete(n),i.fragment.lastChild.remove(),this.anchor.before(i.fragment),r=i.effect)}for(const[s,l]of this.#t){if(this.#t.delete(s),s===t)break;const f=this.#n.get(l);f&&(S(f.effect),this.#n.delete(l))}for(const[s,l]of this.#e){if(s===n||this.#r.has(s))continue;const f=()=>{if(Array.from(this.#t.values()).includes(s)){var o=document.createDocumentFragment();en(l,o),o.append(le()),this.#n.set(s,{effect:l,fragment:o})}else S(l);this.#r.delete(s),this.#e.delete(s)};this.#a||!r?(this.#r.add(s),Ae(l,f,!1)):f()}}};#s=t=>{this.#t.delete(t);const n=Array.from(this.#t.values());for(const[r,i]of this.#n)n.includes(r)||(S(i.effect),this.#n.delete(r))};ensure(t,n){var r=m,i=Zn();if(n&&!this.#e.has(t)&&!this.#n.has(t))if(i){var s=document.createDocumentFragment(),l=le();s.append(l),this.#n.set(t,{effect:X(()=>n(l)),fragment:s})}else this.#e.set(t,X(()=>n(this.anchor)));if(this.#t.set(r,t),i){for(const[f,a]of this.#e)f===t?r.skipped_effects.delete(a):r.skipped_effects.add(a);for(const[f,a]of this.#n)f===t?r.skipped_effects.delete(a.effect):r.skipped_effects.add(a.effect);r.oncommit(this.#i),r.ondiscard(this.#s)}else b&&(this.anchor=g),this.#i()}}function wr(e,t,n=!1){b&&it();var r=new yr(e),i=n?pe:0;function s(l,f){if(b){const o=Fn(e)===Je;if(l===o){var a=Tt();N(a),r.anchor=a,re(!1),r.ensure(l,f),re(!0);return}}r.ensure(l,f)}ht(()=>{var l=!1;t((f,a=!0)=>{l=!0,s(a,f)}),l||s(!1,null)},i)}function Er(e,t){let n=null,r=b;var i;if(b){n=g;for(var s=Re(document.head);s!==null&&(s.nodeType!==ge||s.data!==e);)s=q(s);if(s===null)re(!1);else{var l=q(s);s.remove(),N(l)}}b||(i=document.head.appendChild(le()));try{ht(()=>t(i),tt)}finally{r&&(re(!0),N(n))}}function xr(e,t){sr(()=>{var n=e.getRootNode(),r=n.host?n:n.head??n.ownerDocument.head;if(!r.querySelector("#"+t.hash)){const i=document.createElement("style");i.id=t.hash,i.textContent=t.code,r.appendChild(i)}})}function kr(e,t,n){var r=e==null?"":""+e;return r=r?r+" "+t:t,r===""?null:r}function Tr(e,t,n,r,i,s){var l=e.__className;if(b||l!==n||l===void 0){var f=kr(n,r);(!b||f!==e.getAttribute("class"))&&(f==null?e.removeAttribute("class"):e.className=f),e.__className=n}return s}function Pe(e,t,n,r){var i=r,s=!0,l=()=>(s&&(s=!1,i=r),i),f;f=e[t],f===void 0&&r!==void 0&&(f=l());var a;a=()=>{var u=e[t];return u===void 0?l():(s=!0,u)};var o=!1,c=jt(()=>(o=!1,a())),d=v;return(function(u,h){if(arguments.length>0){const p=h?I(c):u;return G(c,p),o=!0,i!==void 0&&(i=p),u}return we&&o||(d.f&z)!==0?c.v:I(c)})}function Sr(e){return new Rr(e)}class Rr{#t;#e;constructor(t){var n=new Map,r=(s,l)=>{var f=Gn(l,!1,!1);return n.set(s,f),f};const i=new Proxy({...t.props||{},$$events:{}},{get(s,l){return I(n.get(l)??r(l,Reflect.get(s,l)))},has(s,l){return l===Tn?!0:(I(n.get(l)??r(l,Reflect.get(s,l))),Reflect.has(s,l))},set(s,l,f){return G(n.get(l)??r(l,f),f),Reflect.set(s,l,f)}});this.#e=(t.hydrate?mr:hn)(t.component,{target:t.target,anchor:t.anchor,props:i,context:t.context,intro:t.intro??!1,recover:t.recover}),(!t?.props?.$$host||t.sync===!1)&&ye(),this.#t=i.$$events;for(const s of Object.keys(this.#e))s==="$set"||s==="$destroy"||s==="$on"||je(this,s,{get(){return this.#e[s]},set(l){this.#e[s]=l},enumerable:!0});this.#e.$set=s=>{Object.assign(i,s)},this.#e.$destroy=()=>{$r(this.#e)}}$set(t){this.#e.$set(t)}$on(t,n){this.#t[t]=this.#t[t]||[];const r=(...i)=>n.call(this,...i);return this.#t[t].push(r),()=>{this.#t[t]=this.#t[t].filter(i=>i!==r)}}$destroy(){this.#e.$destroy()}}let _n;typeof HTMLElement=="function"&&(_n=class extends HTMLElement{$$ctor;$$s;$$c;$$cn=!1;$$d={};$$r=!1;$$p_d={};$$l={};$$l_u=new Map;$$me;constructor(e,t,n){super(),this.$$ctor=e,this.$$s=t,n&&this.attachShadow({mode:"open"})}addEventListener(e,t,n){if(this.$$l[e]=this.$$l[e]||[],this.$$l[e].push(t),this.$$c){const r=this.$$c.$on(e,t);this.$$l_u.set(t,r)}super.addEventListener(e,t,n)}removeEventListener(e,t,n){if(super.removeEventListener(e,t,n),this.$$c){const r=this.$$l_u.get(t);r&&(r(),this.$$l_u.delete(t))}}async connectedCallback(){if(this.$$cn=!0,!this.$$c){let e=function(r){return i=>{const s=document.createElement("slot");r!=="default"&&(s.name=r),We(i,s)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const t={},n=Ar(this);for(const r of this.$$s)r in n&&(r==="default"&&!this.$$d.children?(this.$$d.children=e(r),t.default=!0):t[r]=e(r));for(const r of this.attributes){const i=this.$$g_p(r.name);i in this.$$d||(this.$$d[i]=Ge(i,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=Sr({component:this.$$ctor,target:this.shadowRoot||this,props:{...this.$$d,$$slots:t,$$host:this}}),this.$$me=nr(()=>{Kt(()=>{this.$$r=!0;for(const r of Me(this.$$c)){if(!this.$$p_d[r]?.reflect)continue;this.$$d[r]=this.$$c[r];const i=Ge(r,this.$$d[r],this.$$p_d,"toAttribute");i==null?this.removeAttribute(this.$$p_d[r].attribute||r):this.setAttribute(this.$$p_d[r].attribute||r,i)}this.$$r=!1})});for(const r in this.$$l)for(const i of this.$$l[r]){const s=this.$$c.$on(r,i);this.$$l_u.set(i,s)}this.$$l={}}}attributeChangedCallback(e,t,n){this.$$r||(e=this.$$g_p(e),this.$$d[e]=Ge(e,n,this.$$p_d,"toProp"),this.$$c?.$set({[e]:this.$$d[e]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$me(),this.$$c=void 0)})}$$g_p(e){return Me(this.$$p_d).find(t=>this.$$p_d[t].attribute===e||!this.$$p_d[t].attribute&&t.toLowerCase()===e)||e}});function Ge(e,t,n,r){const i=n[e]?.type;if(t=i==="Boolean"&&typeof t!="boolean"?t!=null:t,!r||!n[e])return t;if(r==="toAttribute")switch(i){case"Object":case"Array":return t==null?null:JSON.stringify(t);case"Boolean":return t?"":null;case"Number":return t??null;default:return t}else switch(i){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function Ar(e){const t={};return e.childNodes.forEach(n=>{t[n.slot||"default"]=!0}),t}function Cr(e,t,n,r,i,s){let l=class extends _n{constructor(){super(e,n,i),this.$$p_d=t}static get observedAttributes(){return Me(t).map(f=>(t[f].attribute||f).toLowerCase())}};return Me(t).forEach(f=>{je(l.prototype,f,{get(){return this.$$c&&f in this.$$c?this.$$c[f]:this.$$d[f]},set(a){a=Ge(f,a,t),this.$$d[f]=a;var o=this.$$c;if(o){var c=ve(o,f)?.get;c?o[f]=a:o.$set({[f]:a})}}})}),r.forEach(f=>{je(l.prototype,f,{get(){return this.$$c?.[f]}})}),e.element=l,l}var Nr=vt('<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@latest/font/bootstrap-icons.css"/>'),Or=vt('<div class="panel-footer svelte-1b4l8re"><span class="pull-left"> </span><span style="float:right"><i class="bi bi-arrow-right-circle-fill"></i></span> <div class="clearfix"></div></div>'),Pr=vt('<div class="panel panel-green svelte-1b4l8re"><div class="panel-heading svelte-1b4l8re"><div class="row svelte-1b4l8re"><div><i id="icon"></i></div> <div id="panel-heading-content" class="svelte-1b4l8re"><div id="number" class="svelte-1b4l8re"> </div> <div> </div></div></div></div> <!></div>');const Dr={hash:"svelte-1b4l8re",code:`@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");
|
|
3
|
+
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@latest/font/bootstrap-icons.css");:host {font-family:"Roboto", sans-serif;--hb--dashboard-indicator-background: #5cb85c;}#icon.svelte-1b4l8re {font-size:400%;}.row.svelte-1b4l8re {display:grid;grid-template-columns:max-content auto;}#panel-heading-content.svelte-1b4l8re {text-align:right;}#number.svelte-1b4l8re {font-size:300%;}.panel.svelte-1b4l8re {background-color:#fff;border:1px solid transparent;border-radius:4px;-webkit-box-shadow:0 1px 1px rgba(0, 0, 0, 0.05);box-shadow:0 1px 1px rgba(0, 0, 0, 0.05);}.panel-green.svelte-1b4l8re {border-color:var(--hb--dashboard-indicator-background);}.panel-green.svelte-1b4l8re > .panel-heading:where(.svelte-1b4l8re) {color:#fff;background-color:var(--hb--dashboard-indicator-background);}.panel-heading.svelte-1b4l8re {padding:10px 15px;border-bottom:1px solid transparent;border-top-left-radius:3px;border-top-right-radius:3px;}.panel-footer.svelte-1b4l8re {padding:10px 15px;background-color:#f5f5f5;border-top:1px solid #ddd;border-bottom-right-radius:3px;border-bottom-left-radius:3px;color:var(--hb--dashboard-indicator-background);cursor:pointer;}`};function vn(e,t){Rt(t,!0),xr(e,Dr);function n(y,ae){t.$$host.dispatchEvent(new CustomEvent(y,{detail:ae}))}let r=Pe(t,"id",7,""),i=Pe(t,"number",7,0),s=Pe(t,"text",7,""),l=Pe(t,"link_label",7,""),f=Pe(t,"icon",7,"hypnotize");var a={get id(){return r()},set id(y=""){r(y),ye()},get number(){return i()},set number(y=0){i(y),ye()},get text(){return s()},set text(y=""){s(y),ye()},get link_label(){return l()},set link_label(y=""){l(y),ye()},get icon(){return f()},set icon(y="hypnotize"){f(y),ye()}},o=Pr();Er("1b4l8re",y=>{var ae=Nr();We(y,ae)});var c=J(o),d=J(c),u=J(d),h=J(u);K(u);var p=ct(u,2),C=J(p),Q=J(C,!0);K(C);var De=ct(C,2),Fe=J(De,!0);K(De),K(p),K(d),K(c);var Fr=ct(c,2);{var Mr=y=>{var ae=Or();ae.__click=()=>{n("dashboardIndicatorClick",{id:r()})};var pn=J(ae),jr=J(pn,!0);K(pn),kt(3),K(ae),Wt(()=>pt(jr,l())),We(y,ae)};wr(Fr,y=>{l()&&y(Mr)})}return K(o),Wt(()=>{Tr(h,1,`bi bi-${f()??""}`,"svelte-1b4l8re"),pt(Q,i()),pt(Fe,s())}),We(e,o),At(a)}vr(["click"]),customElements.define("hb-dashboard-indicator",Cr(vn,{id:{},number:{},text:{},link_label:{},icon:{}},[],[],!0)),gt.Component=vn,Object.defineProperty(gt,Symbol.toStringTag,{value:"Module"})})(this["dashboard-indicator"]=this["dashboard-indicator"]||{});
|
|
4
4
|
//# sourceMappingURL=main.iife.js.map
|