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