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