@htmlbricks/hb-sidenav-button 0.66.0 → 0.66.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/main.iife.js +3 -3
- package/main.iife.js.map +1 -1
- package/manifest.json +1 -1
- package/package.json +1 -1
package/main.iife.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
(function(Ae){"use strict";typeof window<"u"&&((window.__svelte??={}).v??=new Set).add("5");const za=2,Re="[",ie="[!",Te="]",ut={},y=Symbol(),se=!1;var Aa=Array.isArray,Ra=Array.prototype.indexOf,Ta=Array.from,Yt=Object.keys,qt=Object.defineProperty,ht=Object.getOwnPropertyDescriptor,Ba=Object.prototype,Sa=Array.prototype,Ca=Object.getPrototypeOf,Be=Object.isExtensible;function Na(t){for(var e=0;e<t.length;e++)t[e]()}function Se(){var t,e,a=new Promise((r,o)=>{t=r,e=o});return{promise:a,resolve:t,reject:e}}const x=2,le=4,be=8,K=16,W=32,rt=64,Xt=128,P=512,_=1024,j=2048,J=4096,L=8192,Z=16384,Vt=32768,xt=65536,Ce=1<<17,me=1<<18,mt=1<<19,Ga=1<<20,dt=32768,de=1<<21,pe=1<<22,nt=1<<23,ve=Symbol("$state"),Oa=Symbol("legacy props"),yt=new class extends Error{name="StaleReactionError";message="The reaction that called `getAbortSignal()` was re-run or destroyed"},ce=3,_t=8;function Pa(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function Da(t){throw new Error("https://svelte.dev/e/effect_in_teardown")}function Fa(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function Ma(t){throw new Error("https://svelte.dev/e/effect_orphan")}function Ia(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function La(){throw new Error("https://svelte.dev/e/hydration_failed")}function Ya(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function qa(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function Xa(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function Va(){throw new Error("https://svelte.dev/e/svelte_boundary_reset_onerror")}function Ut(t){console.warn("https://svelte.dev/e/hydration_mismatch")}function Ua(){console.warn("https://svelte.dev/e/svelte_boundary_reset_noop")}let w=!1;function ot(t){w=t}let g;function R(t){if(t===null)throw Ut(),ut;return g=t}function fe(){return R(F(g))}function kt(t){if(w){if(F(g)!==null)throw Ut(),ut;g=t}}function Ha(t=1){if(w){for(var e=t,a=g;e--;)a=F(a);g=a}}function Ne(t=!0){for(var e=0,a=g;;){if(a.nodeType===_t){var r=a.data;if(r===Te){if(e===0)return a;e-=1}else(r===Re||r===ie)&&(e+=1)}var o=F(a);t&&a.remove(),a=o}}function Ka(t){if(!t||t.nodeType!==_t)throw Ut(),ut;return t.data}function Ge(t){return t===this.v}function Wa(t,e){return t!=t?e==e:t!==e||t!==null&&typeof t=="object"||typeof t=="function"}function Ja(t){return!Wa(t,this.v)}let Za=!1,S=null;function $t(t){S=t}function Oe(t,e=!1,a){S={p:S,i:!1,c:null,e:null,s:t,x:null,l:null}}function Pe(t){var e=S,a=e.e;if(a!==null){e.e=null;for(var r of a)aa(r)}return t!==void 0&&(e.x=t),e.i=!0,S=e.p,t??{}}function De(){return!0}let pt=[];function Fe(){var t=pt;pt=[],Na(t)}function ge(t){if(pt.length===0&&!St){var e=pt;queueMicrotask(()=>{e===pt&&Fe()})}pt.push(t)}function Qa(){for(;pt.length>0;)Fe()}function Me(t){var e=f;if(e===null)return c.f|=nt,t;if((e.f&Vt)===0){if((e.f&Xt)===0)throw t;e.b.error(t)}else jt(t,e)}function jt(t,e){for(;e!==null;){if((e.f&Xt)!==0)try{e.b.error(t);return}catch(a){t=a}e=e.parent}throw t}const Ht=new Set;let h=null,C=null,N=[],Kt=null,we=!1,St=!1;class D{committed=!1;current=new Map;previous=new Map;#e=new Set;#t=new Set;#a=0;#r=0;#l=null;#o=[];#n=[];skipped_effects=new Set;is_fork=!1;is_deferred(){return this.is_fork||this.#r>0}process(e){N=[],this.apply();var a={parent:null,effect:null,effects:[],render_effects:[],block_effects:[]};for(const r of e)this.#i(r,a);this.is_fork||this.#m(),this.is_deferred()?(this.#s(a.effects),this.#s(a.render_effects),this.#s(a.block_effects)):(h=null,Le(a.render_effects),Le(a.effects),this.#l?.resolve()),C=null}#i(e,a){e.f^=_;for(var r=e.first;r!==null;){var o=r.f,n=(o&(W|rt))!==0,i=n&&(o&_)!==0,s=i||(o&L)!==0||this.skipped_effects.has(r);if((r.f&Xt)!==0&&r.b?.is_pending()&&(a={parent:a,effect:r,effects:[],render_effects:[],block_effects:[]}),!s&&r.fn!==null){n?r.f^=_:(o&le)!==0?a.effects.push(r):Dt(r)&&((r.f&K)!==0&&a.block_effects.push(r),Ft(r));var l=r.first;if(l!==null){r=l;continue}}var b=r.parent;for(r=r.next;r===null&&b!==null;)b===a.effect&&(this.#s(a.effects),this.#s(a.render_effects),this.#s(a.block_effects),a=a.parent),r=b.next,b=b.parent}}#s(e){for(const a of e)((a.f&j)!==0?this.#o:this.#n).push(a),this.#b(a.deps),k(a,_)}#b(e){if(e!==null)for(const a of e)(a.f&x)===0||(a.f&dt)===0||(a.f^=dt,this.#b(a.deps))}capture(e,a){this.previous.has(e)||this.previous.set(e,a),(e.f&nt)===0&&(this.current.set(e,e.v),C?.set(e,e.v))}activate(){h=this,this.apply()}deactivate(){h===this&&(h=null,C=null)}flush(){if(this.activate(),N.length>0){if(Ie(),h!==null&&h!==this)return}else this.#a===0&&this.process([]);this.deactivate()}discard(){for(const e of this.#t)e(this);this.#t.clear()}#m(){if(this.#r===0){for(const e of this.#e)e();this.#e.clear()}this.#a===0&&this.#d()}#d(){if(Ht.size>1){this.previous.clear();var e=C,a=!0,r={parent:null,effect:null,effects:[],render_effects:[],block_effects:[]};for(const n of Ht){if(n===this){a=!1;continue}const i=[];for(const[l,b]of this.current){if(n.current.has(l))if(a&&b!==n.current.get(l))n.current.set(l,b);else continue;i.push(l)}if(i.length===0)continue;const s=[...n.current.keys()].filter(l=>!this.current.has(l));if(s.length>0){var o=N;N=[];const l=new Set,b=new Map;for(const m of i)Ye(m,s,l,b);if(N.length>0){h=n,n.apply();for(const m of N)n.#i(m,r);n.deactivate()}N=o}}h=null,C=e}this.committed=!0,Ht.delete(this)}increment(e){this.#a+=1,e&&(this.#r+=1)}decrement(e){this.#a-=1,e&&(this.#r-=1),this.revive()}revive(){for(const e of this.#o)k(e,j),vt(e);for(const e of this.#n)k(e,J),vt(e);this.#o=[],this.#n=[],this.flush()}oncommit(e){this.#e.add(e)}ondiscard(e){this.#t.add(e)}settled(){return(this.#l??=Se()).promise}static ensure(){if(h===null){const e=h=new D;Ht.add(h),St||D.enqueue(()=>{h===e&&e.flush()})}return h}static enqueue(e){ge(e)}apply(){}}function ue(t){var e=St;St=!0;try{for(var a;;){if(Qa(),N.length===0&&(h?.flush(),N.length===0))return Kt=null,a;Ie()}}finally{St=e}}function Ie(){var t=lt;we=!0;var e=null;try{var a=0;for(te(!0);N.length>0;){var r=D.ensure();if(a++>1e3){var o,n;tr()}r.process(N),it.clear()}}finally{we=!1,te(t),Kt=null}}function tr(){try{Ia()}catch(t){jt(t,Kt)}}let Q=null;function Le(t){var e=t.length;if(e!==0){for(var a=0;a<e;){var r=t[a++];if((r.f&(Z|L))===0&&Dt(r)&&(Q=new Set,Ft(r),r.deps===null&&r.first===null&&r.nodes_start===null&&(r.teardown===null&&r.ac===null?ia(r):r.fn=null),Q?.size>0)){it.clear();for(const o of Q){if((o.f&(Z|L))!==0)continue;const n=[o];let i=o.parent;for(;i!==null;)Q.has(i)&&(Q.delete(i),n.push(i)),i=i.parent;for(let s=n.length-1;s>=0;s--){const l=n[s];(l.f&(Z|L))===0&&Ft(l)}}Q.clear()}}Q=null}}function Ye(t,e,a,r){if(!a.has(t)&&(a.add(t),t.reactions!==null))for(const o of t.reactions){const n=o.f;(n&x)!==0?Ye(o,e,a,r):(n&(pe|K))!==0&&(n&j)===0&&qe(o,e,r)&&(k(o,j),vt(o))}}function qe(t,e,a){const r=a.get(t);if(r!==void 0)return r;if(t.deps!==null)for(const o of t.deps){if(e.includes(o))return!0;if((o.f&x)!==0&&qe(o,e,a))return a.set(o,!0),!0}return a.set(t,!1),!1}function vt(t){for(var e=Kt=t;e.parent!==null;){e=e.parent;var a=e.f;if(we&&e===f&&(a&K)!==0&&(a&me)===0)return;if((a&(rt|W))!==0){if((a&_)===0)return;e.f^=_}}N.push(e)}function er(t){let e=0,a=Ct(0),r;return()=>{Qt()&&(M(a),ra(()=>(e===0&&(r=Ar(()=>t(()=>Nt(a)))),e+=1,()=>{ge(()=>{e-=1,e===0&&(r?.(),r=void 0,Nt(a))})})))}}var ar=xt|mt|Xt;function rr(t,e,a){new nr(t,e,a)}class nr{parent;#e=!1;#t;#a=w?g:null;#r;#l;#o;#n=null;#i=null;#s=null;#b=null;#m=null;#d=0;#p=0;#c=!1;#v=null;#h=er(()=>(this.#v=Ct(this.#d),()=>{this.#v=null}));constructor(e,a,r){this.#t=e,this.#r=a,this.#l=r,this.parent=f.b,this.#e=!!this.#r.pending,this.#o=_e(()=>{if(f.b=this,w){const n=this.#a;fe(),n.nodeType===_t&&n.data===ie?this.#y():this.#x()}else{var o=this.#w();try{this.#n=et(()=>r(o))}catch(n){this.error(n)}this.#p>0?this.#g():this.#e=!1}return()=>{this.#m?.remove()}},ar),w&&(this.#t=g)}#x(){try{this.#n=et(()=>this.#l(this.#t))}catch(e){this.error(e)}this.#e=!1}#y(){const e=this.#r.pending;e&&(this.#i=et(()=>e(this.#t)),D.enqueue(()=>{var a=this.#w();this.#n=this.#f(()=>(D.ensure(),et(()=>this.#l(a)))),this.#p>0?this.#g():(Ot(this.#i,()=>{this.#i=null}),this.#e=!1)}))}#w(){var e=this.#t;return this.#e&&(this.#m=Y(),this.#t.before(this.#m),e=this.#m),e}is_pending(){return this.#e||!!this.parent&&this.parent.is_pending()}has_pending_snippet(){return!!this.#r.pending}#f(e){var a=f,r=c,o=S;V(this.#o),z(this.#o),$t(this.#o.ctx);try{return e()}catch(n){return Me(n),null}finally{V(a),z(r),$t(o)}}#g(){const e=this.#r.pending;this.#n!==null&&(this.#b=document.createDocumentFragment(),this.#b.append(this.#m),ba(this.#n,this.#b)),this.#i===null&&(this.#i=et(()=>e(this.#t)))}#u(e){if(!this.has_pending_snippet()){this.parent&&this.parent.#u(e);return}this.#p+=e,this.#p===0&&(this.#e=!1,this.#i&&Ot(this.#i,()=>{this.#i=null}),this.#b&&(this.#t.before(this.#b),this.#b=null))}update_pending_count(e){this.#u(e),this.#d+=e,this.#v&&Jt(this.#v,this.#d)}get_effect_pending(){return this.#h(),M(this.#v)}error(e){var a=this.#r.onerror;let r=this.#r.failed;if(this.#c||!a&&!r)throw e;this.#n&&(E(this.#n),this.#n=null),this.#i&&(E(this.#i),this.#i=null),this.#s&&(E(this.#s),this.#s=null),w&&(R(this.#a),Ha(),R(Ne()));var o=!1,n=!1;const i=()=>{if(o){Ua();return}o=!0,n&&Va(),D.ensure(),this.#d=0,this.#s!==null&&Ot(this.#s,()=>{this.#s=null}),this.#e=this.has_pending_snippet(),this.#n=this.#f(()=>(this.#c=!1,et(()=>this.#l(this.#t)))),this.#p>0?this.#g():this.#e=!1};var s=c;try{z(null),n=!0,a?.(e,i),n=!1}catch(l){jt(l,this.#o&&this.#o.parent)}finally{z(s)}r&&ge(()=>{this.#s=this.#f(()=>{D.ensure(),this.#c=!0;try{return et(()=>{r(this.#t,()=>e,()=>i)})}catch(l){return jt(l,this.#o.parent),null}finally{this.#c=!1}})})}}function or(t,e,a,r){const o=Xe;if(a.length===0&&t.length===0){r(e.map(o));return}var n=h,i=f,s=ir();function l(){Promise.all(a.map(b=>sr(b))).then(b=>{s();try{r([...e.map(o),...b])}catch(m){(i.f&Z)===0&&jt(m,i)}n?.deactivate(),Wt()}).catch(b=>{jt(b,i)})}t.length>0?Promise.all(t).then(()=>{s();try{return l()}finally{n?.deactivate(),Wt()}}):l()}function ir(){var t=f,e=c,a=S,r=h;return function(n=!0){V(t),z(e),$t(a),n&&r?.activate()}}function Wt(){V(null),z(null),$t(null)}function Xe(t){var e=x|j,a=c!==null&&(c.f&x)!==0?c:null;return f!==null&&(f.f|=mt),{ctx:S,deps:null,effects:null,equals:Ge,f:e,fn:t,reactions:null,rv:0,v:y,wv:0,parent:a??f,ac:null}}function sr(t,e){let a=f;a===null&&Pa();var r=a.b,o=void 0,n=Ct(y),i=!c,s=new Map;return xr(()=>{var l=Se();o=l.promise;try{Promise.resolve(t()).then(l.resolve,l.reject).then(()=>{b===h&&b.committed&&b.deactivate(),Wt()})}catch(d){l.reject(d),Wt()}var b=h;if(i){var m=!r.is_pending();r.update_pending_count(1),b.increment(m),s.get(b)?.reject(yt),s.delete(b),s.set(b,l)}const v=(d,p=void 0)=>{if(b.activate(),p)p!==yt&&(n.f|=nt,Jt(n,p));else{(n.f&nt)!==0&&(n.f^=nt),Jt(n,d);for(const[u,I]of s){if(s.delete(u),u===b)break;I.reject(yt)}}i&&(r.update_pending_count(-1),b.decrement(m))};l.promise.then(v,d=>v(null,d||"unknown"))}),fr(()=>{for(const l of s.values())l.reject(yt)}),new Promise(l=>{function b(m){function v(){m===o?l(n):b(o)}m.then(v,v)}b(o)})}function Ve(t){var e=t.effects;if(e!==null){t.effects=null;for(var a=0;a<e.length;a+=1)E(e[a])}}function lr(t){for(var e=t.parent;e!==null;){if((e.f&x)===0)return(e.f&Z)===0?e:null;e=e.parent}return null}function he(t){var e,a=f;V(lr(t));try{t.f&=~dt,Ve(t),e=fa(t)}finally{V(a)}return e}function Ue(t){var e=he(t);if(t.equals(e)||(h?.is_fork||(t.v=e),t.wv=va()),!ct)if(C!==null)Qt()&&C.set(t,e);else{var a=(t.f&P)===0?J:_;k(t,a)}}let xe=new Set;const it=new Map;let He=!1;function Ct(t,e){var a={f:0,v:t,reactions:null,equals:Ge,rv:0,wv:0};return a}function st(t,e){const a=Ct(t);return jr(a),a}function br(t,e=!1,a=!0){const r=Ct(t);return e||(r.equals=Ja),r}function tt(t,e,a=!1){c!==null&&(!X||(c.f&Ce)!==0)&&De()&&(c.f&(x|K|pe|Ce))!==0&&!at?.includes(t)&&Xa();let r=a?Gt(e):e;return Jt(t,r)}function Jt(t,e){if(!t.equals(e)){var a=t.v;ct?it.set(t,e):it.set(t,a),t.v=e;var r=D.ensure();r.capture(t,a),(t.f&x)!==0&&((t.f&j)!==0&&he(t),k(t,(t.f&P)!==0?_:J)),t.wv=va(),Ke(t,j),f!==null&&(f.f&_)!==0&&(f.f&(W|rt))===0&&(G===null?Er([t]):G.push(t)),!r.is_fork&&xe.size>0&&!He&&mr()}return e}function mr(){He=!1;var t=lt;te(!0);const e=Array.from(xe);try{for(const a of e)(a.f&_)!==0&&k(a,J),Dt(a)&&Ft(a)}finally{te(t)}xe.clear()}function Nt(t){tt(t,t.v+1)}function Ke(t,e){var a=t.reactions;if(a!==null)for(var r=a.length,o=0;o<r;o++){var n=a[o],i=n.f,s=(i&j)===0;if(s&&k(n,e),(i&x)!==0){var l=n;C?.delete(l),(i&dt)===0&&(i&P&&(n.f|=dt),Ke(l,J))}else s&&((i&K)!==0&&Q!==null&&Q.add(n),vt(n))}}function Gt(t){if(typeof t!="object"||t===null||ve in t)return t;const e=Ca(t);if(e!==Ba&&e!==Sa)return t;var a=new Map,r=Aa(t),o=st(0),n=ft,i=s=>{if(ft===n)return s();var l=c,b=ft;z(null),pa(n);var m=s();return z(l),pa(b),m};return r&&a.set("length",st(t.length)),new Proxy(t,{defineProperty(s,l,b){(!("value"in b)||b.configurable===!1||b.enumerable===!1||b.writable===!1)&&Ya();var m=a.get(l);return m===void 0?m=i(()=>{var v=st(b.value);return a.set(l,v),v}):tt(m,b.value,!0),!0},deleteProperty(s,l){var b=a.get(l);if(b===void 0){if(l in s){const m=i(()=>st(y));a.set(l,m),Nt(o)}}else tt(b,y),Nt(o);return!0},get(s,l,b){if(l===ve)return t;var m=a.get(l),v=l in s;if(m===void 0&&(!v||ht(s,l)?.writable)&&(m=i(()=>{var p=Gt(v?s[l]:y),u=st(p);return u}),a.set(l,m)),m!==void 0){var d=M(m);return d===y?void 0:d}return Reflect.get(s,l,b)},getOwnPropertyDescriptor(s,l){var b=Reflect.getOwnPropertyDescriptor(s,l);if(b&&"value"in b){var m=a.get(l);m&&(b.value=M(m))}else if(b===void 0){var v=a.get(l),d=v?.v;if(v!==void 0&&d!==y)return{enumerable:!0,configurable:!0,value:d,writable:!0}}return b},has(s,l){if(l===ve)return!0;var b=a.get(l),m=b!==void 0&&b.v!==y||Reflect.has(s,l);if(b!==void 0||f!==null&&(!m||ht(s,l)?.writable)){b===void 0&&(b=i(()=>{var d=m?Gt(s[l]):y,p=st(d);return p}),a.set(l,b));var v=M(b);if(v===y)return!1}return m},set(s,l,b,m){var v=a.get(l),d=l in s;if(r&&l==="length")for(var p=b;p<v.v;p+=1){var u=a.get(p+"");u!==void 0?tt(u,y):p in s&&(u=i(()=>st(y)),a.set(p+"",u))}if(v===void 0)(!d||ht(s,l)?.writable)&&(v=i(()=>st(void 0)),tt(v,Gt(b)),a.set(l,v));else{d=v.v!==y;var I=i(()=>Gt(b));tt(v,I)}var U=Reflect.getOwnPropertyDescriptor(s,l);if(U?.set&&U.set.call(m,b),!d){if(r&&typeof l=="string"){var oe=a.get("length"),It=Number(l);Number.isInteger(It)&&It>=oe.v&&tt(oe,It+1)}Nt(o)}return!0},ownKeys(s){M(o);var l=Reflect.ownKeys(s).filter(v=>{var d=a.get(v);return d===void 0||d.v!==y});for(var[b,m]of a)m.v!==y&&!(b in s)&&l.push(b);return l},setPrototypeOf(){qa()}})}var We,Je,Ze,Qe;function ye(){if(We===void 0){We=window,Je=/Firefox/.test(navigator.userAgent);var t=Element.prototype,e=Node.prototype,a=Text.prototype;Ze=ht(e,"firstChild").get,Qe=ht(e,"nextSibling").get,Be(t)&&(t.__click=void 0,t.__className=void 0,t.__attributes=null,t.__style=void 0,t.__e=void 0),Be(a)&&(a.__t=void 0)}}function Y(t=""){return document.createTextNode(t)}function Et(t){return Ze.call(t)}function F(t){return Qe.call(t)}function zt(t,e){if(!w)return Et(t);var a=Et(g);if(a===null)a=g.appendChild(Y());else if(e&&a.nodeType!==ce){var r=Y();return a?.before(r),R(r),r}return R(a),a}function Zt(t,e=!1){if(!w){var a=Et(t);return a instanceof Comment&&a.data===""?F(a):a}if(e&&g?.nodeType!==ce){var r=Y();return g?.before(r),R(r),r}return g}function ta(t,e=1,a=!1){let r=w?g:t;for(var o;e--;)o=r,r=F(r);if(!w)return r;if(a&&r?.nodeType!==ce){var n=Y();return r===null?o?.after(n):r.before(n),R(n),n}return R(r),r}function dr(t){t.textContent=""}function pr(){return!1}function ea(t){var e=c,a=f;z(null),V(null);try{return t()}finally{z(e),V(a)}}function vr(t){f===null&&(c===null&&Ma(),Fa()),ct&&Da()}function cr(t,e){var a=e.last;a===null?e.last=e.first=t:(a.next=t,t.prev=a,e.last=t)}function q(t,e,a){var r=f;r!==null&&(r.f&L)!==0&&(t|=L);var o={ctx:S,deps:null,nodes_start:null,nodes_end:null,f:t|j|P,first:null,fn:e,last:null,next:null,parent:r,b:r&&r.b,prev:null,teardown:null,transitions:null,wv:0,ac:null};if(a)try{Ft(o),o.f|=Vt}catch(s){throw E(o),s}else e!==null&&vt(o);var n=o;if(a&&n.deps===null&&n.teardown===null&&n.nodes_start===null&&n.first===n.last&&(n.f&mt)===0&&(n=n.first,(t&K)!==0&&(t&xt)!==0&&n!==null&&(n.f|=xt)),n!==null&&(n.parent=r,r!==null&&cr(n,r),c!==null&&(c.f&x)!==0&&(t&rt)===0)){var i=c;(i.effects??=[]).push(n)}return o}function Qt(){return c!==null&&!X}function fr(t){const e=q(be,null,!1);return k(e,_),e.teardown=t,e}function gr(t){vr();var e=f.f,a=!c&&(e&W)!==0&&(e&Vt)===0;if(a){var r=S;(r.e??=[]).push(t)}else return aa(t)}function aa(t){return q(le|Ga,t,!1)}function wr(t){D.ensure();const e=q(rt|mt,t,!0);return()=>{E(e)}}function ur(t){D.ensure();const e=q(rt|mt,t,!0);return(a={})=>new Promise(r=>{a.outro?Ot(e,()=>{E(e),r(void 0)}):(E(e),r(void 0))})}function hr(t){return q(le,t,!1)}function xr(t){return q(pe|mt,t,!0)}function ra(t,e=0){return q(be|e,t,!0)}function At(t,e=[],a=[],r=[]){or(r,e,a,o=>{q(be,()=>t(...o.map(M)),!0)})}function _e(t,e=0){var a=q(K|e,t,!0);return a}function et(t){return q(W|mt,t,!0)}function na(t){var e=t.teardown;if(e!==null){const a=ct,r=c;ma(!0),z(null);try{e.call(null)}finally{ma(a),z(r)}}}function oa(t,e=!1){var a=t.first;for(t.first=t.last=null;a!==null;){const o=a.ac;o!==null&&ea(()=>{o.abort(yt)});var r=a.next;(a.f&rt)!==0?a.parent=null:E(a,e),a=r}}function yr(t){for(var e=t.first;e!==null;){var a=e.next;(e.f&W)===0&&E(e),e=a}}function E(t,e=!0){var a=!1;(e||(t.f&me)!==0)&&t.nodes_start!==null&&t.nodes_end!==null&&(_r(t.nodes_start,t.nodes_end),a=!0),oa(t,e&&!a),ee(t,0),k(t,Z);var r=t.transitions;if(r!==null)for(const n of r)n.stop();na(t);var o=t.parent;o!==null&&o.first!==null&&ia(t),t.next=t.prev=t.teardown=t.ctx=t.deps=t.fn=t.nodes_start=t.nodes_end=t.ac=null}function _r(t,e){for(;t!==null;){var a=t===e?null:F(t);t.remove(),t=a}}function ia(t){var e=t.parent,a=t.prev,r=t.next;a!==null&&(a.next=r),r!==null&&(r.prev=a),e!==null&&(e.first===t&&(e.first=r),e.last===t&&(e.last=a))}function Ot(t,e,a=!0){var r=[];sa(t,r,!0),kr(r,()=>{a&&E(t),e&&e()})}function kr(t,e){var a=t.length;if(a>0){var r=()=>--a||e();for(var o of t)o.out(r)}else e()}function sa(t,e,a){if((t.f&L)===0){if(t.f^=L,t.transitions!==null)for(const i of t.transitions)(i.is_global||a)&&e.push(i);for(var r=t.first;r!==null;){var o=r.next,n=(r.f&xt)!==0||(r.f&W)!==0&&(t.f&K)!==0;sa(r,e,n?a:!1),r=o}}}function $r(t){la(t,!0)}function la(t,e){if((t.f&L)!==0){t.f^=L,(t.f&_)===0&&(k(t,j),vt(t));for(var a=t.first;a!==null;){var r=a.next,o=(a.f&xt)!==0||(a.f&W)!==0;la(a,o?e:!1),a=r}if(t.transitions!==null)for(const n of t.transitions)(n.is_global||e)&&n.in()}}function ba(t,e){for(var a=t.nodes_start,r=t.nodes_end;a!==null;){var o=a===r?null:F(a);e.append(a),a=o}}let lt=!1;function te(t){lt=t}let ct=!1;function ma(t){ct=t}let c=null,X=!1;function z(t){c=t}let f=null;function V(t){f=t}let at=null;function jr(t){c!==null&&(at===null?at=[t]:at.push(t))}let $=null,T=0,G=null;function Er(t){G=t}let da=1,Pt=0,ft=Pt;function pa(t){ft=t}function va(){return++da}function Dt(t){var e=t.f;if((e&j)!==0)return!0;if(e&x&&(t.f&=~dt),(e&J)!==0){var a=t.deps;if(a!==null)for(var r=a.length,o=0;o<r;o++){var n=a[o];if(Dt(n)&&Ue(n),n.wv>t.wv)return!0}(e&P)!==0&&C===null&&k(t,_)}return!1}function ca(t,e,a=!0){var r=t.reactions;if(r!==null&&!at?.includes(t))for(var o=0;o<r.length;o++){var n=r[o];(n.f&x)!==0?ca(n,e,!1):e===n&&(a?k(n,j):(n.f&_)!==0&&k(n,J),vt(n))}}function fa(t){var e=$,a=T,r=G,o=c,n=at,i=S,s=X,l=ft,b=t.f;$=null,T=0,G=null,c=(b&(W|rt))===0?t:null,at=null,$t(t.ctx),X=!1,ft=++Pt,t.ac!==null&&(ea(()=>{t.ac.abort(yt)}),t.ac=null);try{t.f|=de;var m=t.fn,v=m(),d=t.deps;if($!==null){var p;if(ee(t,T),d!==null&&T>0)for(d.length=T+$.length,p=0;p<$.length;p++)d[T+p]=$[p];else t.deps=d=$;if(lt&&Qt()&&(t.f&P)!==0)for(p=T;p<d.length;p++)(d[p].reactions??=[]).push(t)}else d!==null&&T<d.length&&(ee(t,T),d.length=T);if(De()&&G!==null&&!X&&d!==null&&(t.f&(x|J|j))===0)for(p=0;p<G.length;p++)ca(G[p],t);return o!==null&&o!==t&&(Pt++,G!==null&&(r===null?r=G:r.push(...G))),(t.f&nt)!==0&&(t.f^=nt),v}catch(u){return Me(u)}finally{t.f^=de,$=e,T=a,G=r,c=o,at=n,$t(i),X=s,ft=l}}function zr(t,e){let a=e.reactions;if(a!==null){var r=Ra.call(a,t);if(r!==-1){var o=a.length-1;o===0?a=e.reactions=null:(a[r]=a[o],a.pop())}}a===null&&(e.f&x)!==0&&($===null||!$.includes(e))&&(k(e,J),(e.f&P)!==0&&(e.f^=P,e.f&=~dt),Ve(e),ee(e,0))}function ee(t,e){var a=t.deps;if(a!==null)for(var r=e;r<a.length;r++)zr(t,a[r])}function Ft(t){var e=t.f;if((e&Z)===0){k(t,_);var a=f,r=lt;f=t,lt=!0;try{(e&K)!==0?yr(t):oa(t),na(t);var o=fa(t);t.teardown=typeof o=="function"?o:null,t.wv=da;var n;se&&Za&&(t.f&j)!==0&&t.deps}finally{lt=r,f=a}}}function M(t){var e=t.f,a=(e&x)!==0;if(c!==null&&!X){var r=f!==null&&(f.f&Z)!==0;if(!r&&!at?.includes(t)){var o=c.deps;if((c.f&de)!==0)t.rv<Pt&&(t.rv=Pt,$===null&&o!==null&&o[T]===t?T++:$===null?$=[t]:$.includes(t)||$.push(t));else{(c.deps??=[]).push(t);var n=t.reactions;n===null?t.reactions=[c]:n.includes(c)||n.push(c)}}}if(ct){if(it.has(t))return it.get(t);if(a){var i=t,s=i.v;return((i.f&_)===0&&i.reactions!==null||wa(i))&&(s=he(i)),it.set(i,s),s}}else a&&!C?.has(t)&&(i=t,Dt(i)&&Ue(i),lt&&Qt()&&(i.f&P)===0&&ga(i));if(C?.has(t))return C.get(t);if((t.f&nt)!==0)throw t.v;return t.v}function ga(t){if(t.deps!==null){t.f^=P;for(const e of t.deps)(e.reactions??=[]).push(t),(e.f&x)!==0&&(e.f&P)===0&&ga(e)}}function wa(t){if(t.v===y)return!0;if(t.deps===null)return!1;for(const e of t.deps)if(it.has(e)||(e.f&x)!==0&&wa(e))return!0;return!1}function Ar(t){var e=X;try{return X=!0,t()}finally{X=e}}const Rr=-7169;function k(t,e){t.f=t.f&Rr|e}const ua=new Set,ke=new Set;function Tr(t){for(var e=0;e<t.length;e++)ua.add(t[e]);for(var a of ke)a(t)}let ha=null;function ae(t){var e=this,a=e.ownerDocument,r=t.type,o=t.composedPath?.()||[],n=o[0]||t.target;ha=t;var i=0,s=ha===t&&t.__root;if(s){var l=o.indexOf(s);if(l!==-1&&(e===document||e===window)){t.__root=e;return}var b=o.indexOf(e);if(b===-1)return;l<=b&&(i=l)}if(n=o[i]||t.target,n!==e){qt(t,"currentTarget",{configurable:!0,get(){return n||a}});var m=c,v=f;z(null),V(null);try{for(var d,p=[];n!==null;){var u=n.assignedSlot||n.parentNode||n.host||null;try{var I=n["__"+r];I!=null&&(!n.disabled||t.target===n)&&I.call(n,t)}catch(U){d?p.push(U):d=U}if(t.cancelBubble||u===e||u===null)break;n=u}if(d){for(let U of p)queueMicrotask(()=>{throw U});throw d}}finally{t.__root=e,delete t.currentTarget,z(m),V(v)}}}function Br(t){var e=document.createElement("template");return e.innerHTML=t.replaceAll("<!>","<!---->"),e.content}function Mt(t,e){var a=f;a.nodes_start===null&&(a.nodes_start=t,a.nodes_end=e)}function gt(t,e){var a=(e&za)!==0,r,o=!t.startsWith("<!>");return()=>{if(w)return Mt(g,null),g;r===void 0&&(r=Br(o?t:"<!>"+t),r=Et(r));var n=a||Je?document.importNode(r,!0):r.cloneNode(!0);return Mt(n,n),n}}function re(){if(w)return Mt(g,null),g;var t=document.createDocumentFragment(),e=document.createComment(""),a=Y();return t.append(e,a),Mt(e,a),t}function O(t,e){if(w){var a=f;((a.f&Vt)===0||a.nodes_end===null)&&(a.nodes_end=g),fe();return}t!==null&&t.before(e)}const Sr=["touchstart","touchmove"];function Cr(t){return Sr.includes(t)}function xa(t,e){var a=e==null?"":typeof e=="object"?e+"":e;a!==(t.__t??=t.nodeValue)&&(t.__t=a,t.nodeValue=a+"")}function ya(t,e){return _a(t,e)}function Nr(t,e){ye(),e.intro=e.intro??!1;const a=e.target,r=w,o=g;try{for(var n=Et(a);n&&(n.nodeType!==_t||n.data!==Re);)n=F(n);if(!n)throw ut;ot(!0),R(n);const i=_a(t,{...e,anchor:n});return ot(!1),i}catch(i){if(i instanceof Error&&i.message.split(`
|
|
2
|
-
`).some(
|
|
1
|
+
(function(_e){"use strict";typeof window<"u"&&((window.__svelte??={}).v??=new Set).add("5");const Sr=2,$e="[",je="[!",Ee="[?",ze="]",xt={},E=Symbol(),Br="http://www.w3.org/1999/xhtml",Nr=!1;var Cr=Array.isArray,Or=Array.prototype.indexOf,yt=Array.prototype.includes,Gr=Array.from,Vt=Object.keys,Xt=Object.defineProperty,kt=Object.getOwnPropertyDescriptor,Dr=Object.prototype,Mr=Array.prototype,Pr=Object.getPrototypeOf,Ae=Object.isExtensible;const Fr=()=>{};function Ir(t){for(var e=0;e<t.length;e++)t[e]()}function Re(){var t,e,r=new Promise((a,o)=>{t=a,e=o});return{promise:r,resolve:t,reject:e}}const $=2,_t=4,Ht=8,Te=1<<24,rt=16,q=32,at=64,re=128,C=512,k=1024,z=2048,V=4096,X=8192,P=16384,nt=32768,Se=1<<25,$t=65536,Be=1<<17,Ne=1<<18,ot=1<<19,Lr=1<<20,ct=65536,ae=1<<21,ne=1<<22,it=1<<23,oe=Symbol("$state"),Yr=Symbol("legacy props"),W=new class extends Error{name="StaleReactionError";message="The reaction that called `getAbortSignal()` was re-run or destroyed"},Ut=3,Ct=8;function qr(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function Vr(t){throw new Error("https://svelte.dev/e/effect_in_teardown")}function Xr(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function Hr(t){throw new Error("https://svelte.dev/e/effect_orphan")}function Ur(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function Kr(){throw new Error("https://svelte.dev/e/hydration_failed")}function Wr(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function Jr(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function Zr(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function Qr(){throw new Error("https://svelte.dev/e/svelte_boundary_reset_onerror")}function Kt(t){console.warn("https://svelte.dev/e/hydration_mismatch")}function ta(){console.warn("https://svelte.dev/e/svelte_boundary_reset_noop")}let h=!1;function st(t){h=t}let w;function B(t){if(t===null)throw Kt(),xt;return w=t}function ie(){return B(I(w))}function jt(t){if(h){if(I(w)!==null)throw Kt(),xt;w=t}}function ea(t=1){if(h){for(var e=t,r=w;e--;)r=I(r);w=r}}function Ce(t=!0){for(var e=0,r=w;;){if(r.nodeType===Ct){var a=r.data;if(a===ze){if(e===0)return r;e-=1}else(a===$e||a===je||a[0]==="["&&!isNaN(Number(a.slice(1))))&&(e+=1)}var o=I(r);t&&r.remove(),r=o}}function ra(t){if(!t||t.nodeType!==Ct)throw Kt(),xt;return t.data}function Oe(t){return t===this.v}function aa(t,e){return t!=t?e==e:t!==e||t!==null&&typeof t=="object"||typeof t=="function"}function na(t){return!aa(t,this.v)}let oa=!1,O=null;function Et(t){O=t}function Ge(t,e=!1,r){O={p:O,i:!1,c:null,e:null,s:t,x:null,r:g,l:null}}function De(t){var e=O,r=e.e;if(r!==null){e.e=null;for(var a of r)sr(a)}return t!==void 0&&(e.x=t),e.i=!0,O=e.p,t??{}}function Me(){return!0}let ft=[];function Pe(){var t=ft;ft=[],Ir(t)}function zt(t){if(ft.length===0&&!Ot){var e=ft;queueMicrotask(()=>{e===ft&&Pe()})}ft.push(t)}function ia(){for(;ft.length>0;)Pe()}function Fe(t){var e=g;if(e===null)return f.f|=it,t;if((e.f&nt)===0&&(e.f&_t)===0)throw t;lt(t,e)}function lt(t,e){for(;e!==null;){if((e.f&re)!==0){if((e.f&nt)===0)throw t;try{e.b.error(t);return}catch(r){t=r}}e=e.parent}throw t}const sa=-7169;function y(t,e){t.f=t.f&sa|e}function se(t){(t.f&C)!==0||t.deps===null?y(t,k):y(t,V)}function Ie(t){if(t!==null)for(const e of t)(e.f&$)===0||(e.f&ct)===0||(e.f^=ct,Ie(e.deps))}function Le(t,e,r){(t.f&z)!==0?e.add(t):(t.f&V)!==0&&r.add(t),Ie(t.deps),y(t,k)}const bt=new Set;let x=null,F=null,le=null,Ot=!1,be=!1,At=null,Wt=null;var Ye=0;let la=1;class J{id=la++;current=new Map;previous=new Map;#t=new Set;#r=new Set;#e=new Map;#n=new Map;#o=null;#a=[];#i=new Set;#s=new Set;#l=new Map;is_fork=!1;#d=!1;#b=new Set;#p(){return this.is_fork||this.#n.size>0}#c(){for(const a of this.#b)for(const o of a.#n.keys()){for(var e=!1,r=o;r.parent!==null;){if(this.#l.has(r)){e=!0;break}r=r.parent}if(!e)return!0}return!1}skip_effect(e){this.#l.has(e)||this.#l.set(e,{d:[],m:[]})}unskip_effect(e){var r=this.#l.get(e);if(r){this.#l.delete(e);for(var a of r.d)y(a,z),this.schedule(a);for(a of r.m)y(a,V),this.schedule(a)}}#v(){if(Ye++>1e3&&(bt.delete(this),ba()),!this.#p()){for(const i of this.#i)this.#s.delete(i),y(i,z),this.schedule(i);for(const i of this.#s)y(i,V),this.schedule(i)}const e=this.#a;this.#a=[],this.apply();var r=At=[],a=[],o=Wt=[];for(const i of e)try{this.#m(i,r,a)}catch(l){throw Ue(i),l}if(x=null,o.length>0){var n=J.ensure();for(const i of o)n.schedule(i)}if(At=null,Wt=null,this.#p()||this.#c()){this.#f(a),this.#f(r);for(const[i,l]of this.#l)He(i,l)}else{this.#e.size===0&&bt.delete(this),this.#i.clear(),this.#s.clear();for(const i of this.#t)i(this);this.#t.clear(),qe(a),qe(r),this.#o?.resolve()}var s=x;if(this.#a.length>0){const i=s??=this;i.#a.push(...this.#a.filter(l=>!i.#a.includes(l)))}s!==null&&(bt.add(s),s.#v()),bt.has(this)||this.#g()}#m(e,r,a){e.f^=k;for(var o=e.first;o!==null;){var n=o.f,s=(n&(q|at))!==0,i=s&&(n&k)!==0,l=i||(n&X)!==0||this.#l.has(o);if(!l&&o.fn!==null){s?o.f^=k:(n&_t)!==0?r.push(o):Ft(o)&&((n&rt)!==0&&this.#s.add(o),Bt(o));var b=o.first;if(b!==null){o=b;continue}}for(;o!==null;){var m=o.next;if(m!==null){o=m;break}o=o.parent}}}#f(e){for(var r=0;r<e.length;r+=1)Le(e[r],this.#i,this.#s)}capture(e,r,a=!1){r!==E&&!this.previous.has(e)&&this.previous.set(e,r),(e.f&it)===0&&(this.current.set(e,[e.v,a]),F?.set(e,e.v))}activate(){x=this}deactivate(){x=null,F=null}flush(){try{be=!0,x=this,this.#v()}finally{Ye=0,le=null,At=null,Wt=null,be=!1,x=null,F=null,mt.clear()}}discard(){for(const e of this.#r)e(this);this.#r.clear(),bt.delete(this)}#g(){for(const b of bt){var e=b.id<this.id,r=[];for(const[m,[p,d]]of this.current){if(b.current.has(m)){var a=b.current.get(m)[0];if(e&&p!==a)b.current.set(m,[p,d]);else continue}r.push(m)}var o=[...b.current.keys()].filter(m=>!this.current.has(m));if(o.length===0)e&&b.discard();else if(r.length>0){b.activate();var n=new Set,s=new Map;for(var i of r)Ve(i,o,n,s);if(b.#a.length>0){b.apply();for(var l of b.#a)b.#m(l,[],[]);b.#a=[]}b.deactivate()}}for(const b of bt)b.#b.has(this)&&(b.#b.delete(this),b.#b.size===0&&!b.#p()&&(b.activate(),b.#v()))}increment(e,r){let a=this.#e.get(r)??0;if(this.#e.set(r,a+1),e){let o=this.#n.get(r)??0;this.#n.set(r,o+1)}}decrement(e,r,a){let o=this.#e.get(r)??0;if(o===1?this.#e.delete(r):this.#e.set(r,o-1),e){let n=this.#n.get(r)??0;n===1?this.#n.delete(r):this.#n.set(r,n-1)}this.#d||a||(this.#d=!0,zt(()=>{this.#d=!1,this.flush()}))}transfer_effects(e,r){for(const a of e)this.#i.add(a);for(const a of r)this.#s.add(a);e.clear(),r.clear()}oncommit(e){this.#t.add(e)}ondiscard(e){this.#r.add(e)}settled(){return(this.#o??=Re()).promise}static ensure(){if(x===null){const e=x=new J;be||(bt.add(x),Ot||zt(()=>{x===e&&e.flush()}))}return x}apply(){{F=null;return}}schedule(e){if(le=e,e.b?.is_pending&&(e.f&(_t|Ht|Te))!==0&&(e.f&nt)===0){e.b.defer_effect(e);return}for(var r=e;r.parent!==null;){r=r.parent;var a=r.f;if(At!==null&&r===g&&(f===null||(f.f&$)===0))return;if((a&(at|q))!==0){if((a&k)===0)return;r.f^=k}}this.#a.push(r)}}function me(t){var e=Ot;Ot=!0;try{for(var r;;){if(ia(),x===null)return r;x.flush()}}finally{Ot=e}}function ba(){try{Ur()}catch(t){lt(t,le)}}let Z=null;function qe(t){var e=t.length;if(e!==0){for(var r=0;r<e;){var a=t[r++];if((a.f&(P|X))===0&&Ft(a)&&(Z=new Set,Bt(a),a.deps===null&&a.first===null&&a.nodes===null&&a.teardown===null&&a.ac===null&&mr(a),Z?.size>0)){mt.clear();for(const o of Z){if((o.f&(P|X))!==0)continue;const n=[o];let s=o.parent;for(;s!==null;)Z.has(s)&&(Z.delete(s),n.push(s)),s=s.parent;for(let i=n.length-1;i>=0;i--){const l=n[i];(l.f&(P|X))===0&&Bt(l)}}Z.clear()}}Z=null}}function Ve(t,e,r,a){if(!r.has(t)&&(r.add(t),t.reactions!==null))for(const o of t.reactions){const n=o.f;(n&$)!==0?Ve(o,e,r,a):(n&(ne|rt))!==0&&(n&z)===0&&Xe(o,e,a)&&(y(o,z),de(o))}}function Xe(t,e,r){const a=r.get(t);if(a!==void 0)return a;if(t.deps!==null)for(const o of t.deps){if(yt.call(e,o))return!0;if((o.f&$)!==0&&Xe(o,e,r))return r.set(o,!0),!0}return r.set(t,!1),!1}function de(t){x.schedule(t)}function He(t,e){if(!((t.f&q)!==0&&(t.f&k)!==0)){(t.f&z)!==0?e.d.push(t):(t.f&V)!==0&&e.m.push(t),y(t,k);for(var r=t.first;r!==null;)He(r,e),r=r.next}}function Ue(t){y(t,k);for(var e=t.first;e!==null;)Ue(e),e=e.next}function ma(t){let e=0,r=Gt(0),a;return()=>{we()&&(Y(r),lr(()=>(e===0&&(a=Pa(()=>t(()=>Dt(r)))),e+=1,()=>{zt(()=>{e-=1,e===0&&(a?.(),a=void 0,Dt(r))})})))}}var da=$t|ot;function pa(t,e,r,a){new va(t,e,r,a)}class va{parent;is_pending=!1;transform_error;#t;#r=h?w:null;#e;#n;#o;#a=null;#i=null;#s=null;#l=null;#d=0;#b=0;#p=!1;#c=new Set;#v=new Set;#m=null;#f=ma(()=>(this.#m=Gt(this.#d),()=>{this.#m=null}));constructor(e,r,a,o){this.#t=e,this.#e=r,this.#n=n=>{var s=g;s.b=this,s.f|=re,a(n)},this.parent=g.b,this.transform_error=o??this.parent?.transform_error??(n=>n),this.#o=ue(()=>{if(h){const n=this.#r;ie();const s=n.data===je;if(n.data.startsWith(Ee)){const l=JSON.parse(n.data.slice(Ee.length));this.#y(l)}else s?this.#k():this.#g()}else this.#h()},da),h&&(this.#t=w)}#g(){try{this.#a=tt(()=>this.#n(this.#t))}catch(e){this.error(e)}}#y(e){const r=this.#e.failed;r&&(this.#s=tt(()=>{r(this.#t,()=>e,()=>()=>{})}))}#k(){const e=this.#e.pending;e&&(this.is_pending=!0,this.#i=tt(()=>e(this.#t)),zt(()=>{var r=this.#l=document.createDocumentFragment(),a=H();r.append(a),this.#a=this.#u(()=>tt(()=>this.#n(a))),this.#b===0&&(this.#t.before(r),this.#l=null,Pt(this.#i,()=>{this.#i=null}),this.#w(x))}))}#h(){try{if(this.is_pending=this.has_pending_snippet(),this.#b=0,this.#d=0,this.#a=tt(()=>{this.#n(this.#t)}),this.#b>0){var e=this.#l=document.createDocumentFragment();vr(this.#a,e);const r=this.#e.pending;this.#i=tt(()=>r(this.#t))}else this.#w(x)}catch(r){this.error(r)}}#w(e){this.is_pending=!1,e.transfer_effects(this.#c,this.#v)}defer_effect(e){Le(e,this.#c,this.#v)}is_rendered(){return!this.is_pending&&(!this.parent||this.parent.is_rendered())}has_pending_snippet(){return!!this.#e.pending}#u(e){var r=g,a=f,o=O;K(this.#o),G(this.#o),Et(this.#o.ctx);try{return J.ensure(),e()}catch(n){return Fe(n),null}finally{K(r),G(a),Et(o)}}#x(e,r){if(!this.has_pending_snippet()){this.parent&&this.parent.#x(e,r);return}this.#b+=e,this.#b===0&&(this.#w(r),this.#i&&Pt(this.#i,()=>{this.#i=null}),this.#l&&(this.#t.before(this.#l),this.#l=null))}update_pending_count(e,r){this.#x(e,r),this.#d+=e,!(!this.#m||this.#p)&&(this.#p=!0,zt(()=>{this.#p=!1,this.#m&&Zt(this.#m,this.#d)}))}get_effect_pending(){return this.#f(),Y(this.#m)}error(e){var r=this.#e.onerror;let a=this.#e.failed;if(!r&&!a)throw e;this.#a&&(R(this.#a),this.#a=null),this.#i&&(R(this.#i),this.#i=null),this.#s&&(R(this.#s),this.#s=null),h&&(B(this.#r),ea(),B(Ce()));var o=!1,n=!1;const s=()=>{if(o){ta();return}o=!0,n&&Qr(),this.#s!==null&&Pt(this.#s,()=>{this.#s=null}),this.#u(()=>{this.#h()})},i=l=>{try{n=!0,r?.(l,s),n=!1}catch(b){lt(b,this.#o&&this.#o.parent)}a&&(this.#s=this.#u(()=>{try{return tt(()=>{var b=g;b.b=this,b.f|=re,a(this.#t,()=>l,()=>s)})}catch(b){return lt(b,this.#o.parent),null}}))};zt(()=>{var l;try{l=this.transform_error(e)}catch(b){lt(b,this.#o&&this.#o.parent);return}l!==null&&typeof l=="object"&&typeof l.then=="function"?l.then(i,b=>lt(b,this.#o&&this.#o.parent)):i(l)})}}function ca(t,e,r,a){const o=We;var n=t.filter(d=>!d.settled);if(r.length===0&&n.length===0){a(e.map(o));return}var s=g,i=fa(),l=n.length===1?n[0].promise:n.length>1?Promise.all(n.map(d=>d.promise)):null;function b(d){i();try{a(d)}catch(c){(s.f&P)===0&<(c,s)}Jt()}if(r.length===0){l.then(()=>b(e.map(o)));return}var m=Ke();function p(){Promise.all(r.map(d=>ga(d))).then(d=>b([...e.map(o),...d])).catch(d=>lt(d,s)).finally(()=>m())}l?l.then(()=>{i(),p(),Jt()}):p()}function fa(){var t=g,e=f,r=O,a=x;return function(n=!0){K(t),G(e),Et(r),n&&(t.f&P)===0&&(a?.activate(),a?.apply())}}function Jt(t=!0){K(null),G(null),Et(null),t&&x?.deactivate()}function Ke(){var t=g,e=t.b,r=x,a=e.is_rendered();return e.update_pending_count(1,r),r.increment(a,t),(o=!1)=>{e.update_pending_count(-1,r),r.decrement(a,t,o)}}function We(t){var e=$|z,r=f!==null&&(f.f&$)!==0?f:null;return g!==null&&(g.f|=ot),{ctx:O,deps:null,effects:null,equals:Oe,f:e,fn:t,reactions:null,rv:0,v:E,wv:0,parent:r??g,ac:null}}function ga(t,e,r){let a=g;a===null&&qr();var o=void 0,n=Gt(E),s=!f,i=new Map;return Ba(()=>{var l=g,b=Re();o=b.promise;try{Promise.resolve(t()).then(b.resolve,b.reject).finally(Jt)}catch(c){b.reject(c),Jt()}var m=x;if(s){if((l.f&nt)!==0)var p=Ke();if(a.b.is_rendered())i.get(m)?.reject(W),i.delete(m);else{for(const c of i.values())c.reject(W);i.clear()}i.set(m,b)}const d=(c,v=void 0)=>{if(p){var u=v===W;p(u)}if(!(v===W||(l.f&P)!==0)){if(m.activate(),v)n.f|=it,Zt(n,v);else{(n.f&it)!==0&&(n.f^=it),Zt(n,c);for(const[j,S]of i){if(i.delete(j),j===m)break;S.reject(W)}}m.deactivate()}};b.promise.then(d,c=>d(null,c||"unknown"))}),za(()=>{for(const l of i.values())l.reject(W)}),new Promise(l=>{function b(m){function p(){m===o?l(n):b(o)}m.then(p,p)}b(o)})}function wa(t){var e=t.effects;if(e!==null){t.effects=null;for(var r=0;r<e.length;r+=1)R(e[r])}}function ua(t){for(var e=t.parent;e!==null;){if((e.f&$)===0)return(e.f&P)===0?e:null;e=e.parent}return null}function pe(t){var e,r=g;K(ua(t));try{t.f&=~ct,wa(t),e=hr(t)}finally{K(r)}return e}function Je(t){var e=t.v,r=pe(t);if(!t.equals(r)&&(t.wv=wr(),(!x?.is_fork||t.deps===null)&&(t.v=r,x?.capture(t,e,!0),t.deps===null))){y(t,k);return}pt||(F!==null?(we()||x?.is_fork)&&F.set(t,r):se(t))}function ha(t){if(t.effects!==null)for(const e of t.effects)(e.teardown||e.ac)&&(e.teardown?.(),e.ac?.abort(W),e.teardown=Fr,e.ac=null,It(e,0),he(e))}function Ze(t){if(t.effects!==null)for(const e of t.effects)e.teardown&&Bt(e)}let ve=new Set;const mt=new Map;let Qe=!1;function Gt(t,e){var r={f:0,v:t,reactions:null,equals:Oe,rv:0,wv:0};return r}function dt(t,e){const r=Gt(t);return Ga(r),r}function xa(t,e=!1,r=!0){const a=Gt(t);return e||(a.equals=na),a}function Q(t,e,r=!1){f!==null&&(!L||(f.f&Be)!==0)&&Me()&&(f.f&($|rt|ne|Be))!==0&&(D===null||!yt.call(D,t))&&Zr();let a=r?Mt(e):e;return Zt(t,a,Wt)}function Zt(t,e,r=null){if(!t.equals(e)){var a=t.v;pt?mt.set(t,e):mt.set(t,a),t.v=e;var o=J.ensure();if(o.capture(t,a),(t.f&$)!==0){const n=t;(t.f&z)!==0&&pe(n),F===null&&se(n)}t.wv=wr(),tr(t,z,r),g!==null&&(g.f&k)!==0&&(g.f&(q|at))===0&&(M===null?Da([t]):M.push(t)),!o.is_fork&&ve.size>0&&!Qe&&ya()}return e}function ya(){Qe=!1;for(const t of ve)(t.f&k)!==0&&y(t,V),Ft(t)&&Bt(t);ve.clear()}function Dt(t){Q(t,t.v+1)}function tr(t,e,r){var a=t.reactions;if(a!==null)for(var o=a.length,n=0;n<o;n++){var s=a[n],i=s.f,l=(i&z)===0;if(l&&y(s,e),(i&$)!==0){var b=s;F?.delete(b),(i&ct)===0&&(i&C&&(s.f|=ct),tr(b,V,r))}else if(l){var m=s;(i&rt)!==0&&Z!==null&&Z.add(m),r!==null?r.push(m):de(m)}}}function Mt(t){if(typeof t!="object"||t===null||oe in t)return t;const e=Pr(t);if(e!==Dr&&e!==Mr)return t;var r=new Map,a=Cr(t),o=dt(0),n=wt,s=i=>{if(wt===n)return i();var l=f,b=wt;G(null),gr(n);var m=i();return G(l),gr(b),m};return a&&r.set("length",dt(t.length)),new Proxy(t,{defineProperty(i,l,b){(!("value"in b)||b.configurable===!1||b.enumerable===!1||b.writable===!1)&&Wr();var m=r.get(l);return m===void 0?s(()=>{var p=dt(b.value);return r.set(l,p),p}):Q(m,b.value,!0),!0},deleteProperty(i,l){var b=r.get(l);if(b===void 0){if(l in i){const m=s(()=>dt(E));r.set(l,m),Dt(o)}}else Q(b,E),Dt(o);return!0},get(i,l,b){if(l===oe)return t;var m=r.get(l),p=l in i;if(m===void 0&&(!p||kt(i,l)?.writable)&&(m=s(()=>{var c=Mt(p?i[l]:E),v=dt(c);return v}),r.set(l,m)),m!==void 0){var d=Y(m);return d===E?void 0:d}return Reflect.get(i,l,b)},getOwnPropertyDescriptor(i,l){var b=Reflect.getOwnPropertyDescriptor(i,l);if(b&&"value"in b){var m=r.get(l);m&&(b.value=Y(m))}else if(b===void 0){var p=r.get(l),d=p?.v;if(p!==void 0&&d!==E)return{enumerable:!0,configurable:!0,value:d,writable:!0}}return b},has(i,l){if(l===oe)return!0;var b=r.get(l),m=b!==void 0&&b.v!==E||Reflect.has(i,l);if(b!==void 0||g!==null&&(!m||kt(i,l)?.writable)){b===void 0&&(b=s(()=>{var d=m?Mt(i[l]):E,c=dt(d);return c}),r.set(l,b));var p=Y(b);if(p===E)return!1}return m},set(i,l,b,m){var p=r.get(l),d=l in i;if(a&&l==="length")for(var c=b;c<p.v;c+=1){var v=r.get(c+"");v!==void 0?Q(v,E):c in i&&(v=s(()=>dt(E)),r.set(c+"",v))}if(p===void 0)(!d||kt(i,l)?.writable)&&(p=s(()=>dt(void 0)),Q(p,Mt(b)),r.set(l,p));else{d=p.v!==E;var u=s(()=>Mt(b));Q(p,u)}var j=Reflect.getOwnPropertyDescriptor(i,l);if(j?.set&&j.set.call(m,b),!d){if(a&&typeof l=="string"){var S=r.get("length"),vt=Number(l);Number.isInteger(vt)&&vt>=S.v&&Q(S,vt+1)}Dt(o)}return!0},ownKeys(i){Y(o);var l=Reflect.ownKeys(i).filter(p=>{var d=r.get(p);return d===void 0||d.v!==E});for(var[b,m]of r)m.v!==E&&!(b in i)&&l.push(b);return l},setPrototypeOf(){Jr()}})}var er,rr,ar,nr;function ce(){if(er===void 0){er=window,rr=/Firefox/.test(navigator.userAgent);var t=Element.prototype,e=Node.prototype,r=Text.prototype;ar=kt(e,"firstChild").get,nr=kt(e,"nextSibling").get,Ae(t)&&(t.__click=void 0,t.__className=void 0,t.__attributes=null,t.__style=void 0,t.__e=void 0),Ae(r)&&(r.__t=void 0)}}function H(t=""){return document.createTextNode(t)}function Rt(t){return ar.call(t)}function I(t){return nr.call(t)}function Tt(t,e){if(!h)return Rt(t);var r=Rt(w);if(r===null)r=w.appendChild(H());else if(e&&r.nodeType!==Ut){var a=H();return r?.before(a),B(a),a}return e&&ge(r),B(r),r}function ka(t,e=!1){if(!h){var r=Rt(t);return r instanceof Comment&&r.data===""?I(r):r}if(e){if(w?.nodeType!==Ut){var a=H();return w?.before(a),B(a),a}ge(w)}return w}function or(t,e=1,r=!1){let a=h?w:t;for(var o;e--;)o=a,a=I(a);if(!h)return a;if(r){if(a?.nodeType!==Ut){var n=H();return a===null?o?.after(n):a.before(n),B(n),n}ge(a)}return B(a),a}function _a(t){t.textContent=""}function $a(){return!1}function fe(t,e,r){return document.createElementNS(Br,t,void 0)}function ge(t){if(t.nodeValue.length<65536)return;let e=t.nextSibling;for(;e!==null&&e.nodeType===Ut;)e.remove(),t.nodeValue+=e.nodeValue,e=t.nextSibling}function ir(t){var e=f,r=g;G(null),K(null);try{return t()}finally{G(e),K(r)}}function ja(t){g===null&&(f===null&&Hr(),Xr()),pt&&Vr()}function Ea(t,e){var r=e.last;r===null?e.last=e.first=t:(r.next=t,t.prev=r,e.last=t)}function U(t,e){var r=g;r!==null&&(r.f&X)!==0&&(t|=X);var a={ctx:O,deps:null,nodes:null,f:t|z|C,first:null,fn:e,last:null,next:null,parent:r,b:r&&r.b,prev:null,teardown:null,wv:0,ac:null},o=a;if((t&_t)!==0)At!==null?At.push(a):J.ensure().schedule(a);else if(e!==null){try{Bt(a)}catch(s){throw R(a),s}o.deps===null&&o.teardown===null&&o.nodes===null&&o.first===o.last&&(o.f&ot)===0&&(o=o.first,(t&rt)!==0&&(t&$t)!==0&&o!==null&&(o.f|=$t))}if(o!==null&&(o.parent=r,r!==null&&Ea(o,r),f!==null&&(f.f&$)!==0&&(t&at)===0)){var n=f;(n.effects??=[]).push(o)}return a}function we(){return f!==null&&!L}function za(t){const e=U(Ht,null);return y(e,k),e.teardown=t,e}function Aa(t){ja();var e=g.f,r=!f&&(e&q)!==0&&(e&nt)===0;if(r){var a=O;(a.e??=[]).push(t)}else return sr(t)}function sr(t){return U(_t|Lr,t)}function Ra(t){J.ensure();const e=U(at|ot,t);return()=>{R(e)}}function Ta(t){J.ensure();const e=U(at|ot,t);return(r={})=>new Promise(a=>{r.outro?Pt(e,()=>{R(e),a(void 0)}):(R(e),a(void 0))})}function Sa(t){return U(_t,t)}function Ba(t){return U(ne|ot,t)}function lr(t,e=0){return U(Ht|e,t)}function St(t,e=[],r=[],a=[]){ca(a,e,r,o=>{U(Ht,()=>t(...o.map(Y)))})}function ue(t,e=0){var r=U(rt|e,t);return r}function tt(t){return U(q|ot,t)}function br(t){var e=t.teardown;if(e!==null){const r=pt,a=f;cr(!0),G(null);try{e.call(null)}finally{cr(r),G(a)}}}function he(t,e=!1){var r=t.first;for(t.first=t.last=null;r!==null;){const o=r.ac;o!==null&&ir(()=>{o.abort(W)});var a=r.next;(r.f&at)!==0?r.parent=null:R(r,e),r=a}}function Na(t){for(var e=t.first;e!==null;){var r=e.next;(e.f&q)===0&&R(e),e=r}}function R(t,e=!0){var r=!1;(e||(t.f&Ne)!==0)&&t.nodes!==null&&t.nodes.end!==null&&(Ca(t.nodes.start,t.nodes.end),r=!0),y(t,Se),he(t,e&&!r),It(t,0);var a=t.nodes&&t.nodes.t;if(a!==null)for(const n of a)n.stop();br(t),t.f^=Se,t.f|=P;var o=t.parent;o!==null&&o.first!==null&&mr(t),t.next=t.prev=t.teardown=t.ctx=t.deps=t.fn=t.nodes=t.ac=t.b=null}function Ca(t,e){for(;t!==null;){var r=t===e?null:I(t);t.remove(),t=r}}function mr(t){var e=t.parent,r=t.prev,a=t.next;r!==null&&(r.next=a),a!==null&&(a.prev=r),e!==null&&(e.first===t&&(e.first=a),e.last===t&&(e.last=r))}function Pt(t,e,r=!0){var a=[];dr(t,a,!0);var o=()=>{r&&R(t),e&&e()},n=a.length;if(n>0){var s=()=>--n||o();for(var i of a)i.out(s)}else o()}function dr(t,e,r){if((t.f&X)===0){t.f^=X;var a=t.nodes&&t.nodes.t;if(a!==null)for(const i of a)(i.is_global||r)&&e.push(i);for(var o=t.first;o!==null;){var n=o.next,s=(o.f&$t)!==0||(o.f&q)!==0&&(t.f&rt)!==0;dr(o,e,s?r:!1),o=n}}}function Oa(t){pr(t,!0)}function pr(t,e){if((t.f&X)!==0){t.f^=X,(t.f&k)===0&&(y(t,z),J.ensure().schedule(t));for(var r=t.first;r!==null;){var a=r.next,o=(r.f&$t)!==0||(r.f&q)!==0;pr(r,o?e:!1),r=a}var n=t.nodes&&t.nodes.t;if(n!==null)for(const s of n)(s.is_global||e)&&s.in()}}function vr(t,e){if(t.nodes)for(var r=t.nodes.start,a=t.nodes.end;r!==null;){var o=r===a?null:I(r);e.append(r),r=o}}let Qt=!1,pt=!1;function cr(t){pt=t}let f=null,L=!1;function G(t){f=t}let g=null;function K(t){g=t}let D=null;function Ga(t){f!==null&&(D===null?D=[t]:D.push(t))}let T=null,N=0,M=null;function Da(t){M=t}let fr=1,gt=0,wt=gt;function gr(t){wt=t}function wr(){return++fr}function Ft(t){var e=t.f;if((e&z)!==0)return!0;if(e&$&&(t.f&=~ct),(e&V)!==0){for(var r=t.deps,a=r.length,o=0;o<a;o++){var n=r[o];if(Ft(n)&&Je(n),n.wv>t.wv)return!0}(e&C)!==0&&F===null&&y(t,k)}return!1}function ur(t,e,r=!0){var a=t.reactions;if(a!==null&&!(D!==null&&yt.call(D,t)))for(var o=0;o<a.length;o++){var n=a[o];(n.f&$)!==0?ur(n,e,!1):e===n&&(r?y(n,z):(n.f&k)!==0&&y(n,V),de(n))}}function hr(t){var e=T,r=N,a=M,o=f,n=D,s=O,i=L,l=wt,b=t.f;T=null,N=0,M=null,f=(b&(q|at))===0?t:null,D=null,Et(t.ctx),L=!1,wt=++gt,t.ac!==null&&(ir(()=>{t.ac.abort(W)}),t.ac=null);try{t.f|=ae;var m=t.fn,p=m();t.f|=nt;var d=t.deps,c=x?.is_fork;if(T!==null){var v;if(c||It(t,N),d!==null&&N>0)for(d.length=N+T.length,v=0;v<T.length;v++)d[N+v]=T[v];else t.deps=d=T;if(we()&&(t.f&C)!==0)for(v=N;v<d.length;v++)(d[v].reactions??=[]).push(t)}else!c&&d!==null&&N<d.length&&(It(t,N),d.length=N);if(Me()&&M!==null&&!L&&d!==null&&(t.f&($|V|z))===0)for(v=0;v<M.length;v++)ur(M[v],t);if(o!==null&&o!==t){if(gt++,o.deps!==null)for(let u=0;u<r;u+=1)o.deps[u].rv=gt;if(e!==null)for(const u of e)u.rv=gt;M!==null&&(a===null?a=M:a.push(...M))}return(t.f&it)!==0&&(t.f^=it),p}catch(u){return Fe(u)}finally{t.f^=ae,T=e,N=r,M=a,f=o,D=n,Et(s),L=i,wt=l}}function Ma(t,e){let r=e.reactions;if(r!==null){var a=Or.call(r,t);if(a!==-1){var o=r.length-1;o===0?r=e.reactions=null:(r[a]=r[o],r.pop())}}if(r===null&&(e.f&$)!==0&&(T===null||!yt.call(T,e))){var n=e;(n.f&C)!==0&&(n.f^=C,n.f&=~ct),se(n),ha(n),It(n,0)}}function It(t,e){var r=t.deps;if(r!==null)for(var a=e;a<r.length;a++)Ma(t,r[a])}function Bt(t){var e=t.f;if((e&P)===0){y(t,k);var r=g,a=Qt;g=t,Qt=!0;try{(e&(rt|Te))!==0?Na(t):he(t),br(t);var o=hr(t);t.teardown=typeof o=="function"?o:null,t.wv=fr;var n;Nr&&oa&&(t.f&z)!==0&&t.deps}finally{Qt=a,g=r}}}function Y(t){var e=t.f,r=(e&$)!==0;if(f!==null&&!L){var a=g!==null&&(g.f&P)!==0;if(!a&&(D===null||!yt.call(D,t))){var o=f.deps;if((f.f&ae)!==0)t.rv<gt&&(t.rv=gt,T===null&&o!==null&&o[N]===t?N++:T===null?T=[t]:T.push(t));else{(f.deps??=[]).push(t);var n=t.reactions;n===null?t.reactions=[f]:yt.call(n,f)||n.push(f)}}}if(pt&&mt.has(t))return mt.get(t);if(r){var s=t;if(pt){var i=s.v;return((s.f&k)===0&&s.reactions!==null||yr(s))&&(i=pe(s)),mt.set(s,i),i}var l=(s.f&C)===0&&!L&&f!==null&&(Qt||(f.f&C)!==0),b=(s.f&nt)===0;Ft(s)&&(l&&(s.f|=C),Je(s)),l&&!b&&(Ze(s),xr(s))}if(F?.has(t))return F.get(t);if((t.f&it)!==0)throw t.v;return t.v}function xr(t){if(t.f|=C,t.deps!==null)for(const e of t.deps)(e.reactions??=[]).push(t),(e.f&$)!==0&&(e.f&C)===0&&(Ze(e),xr(e))}function yr(t){if(t.v===E)return!0;if(t.deps===null)return!1;for(const e of t.deps)if(mt.has(e)||(e.f&$)!==0&&yr(e))return!0;return!1}function Pa(t){var e=L;try{return L=!0,t()}finally{L=e}}const Lt=Symbol("events"),kr=new Set,xe=new Set;function Fa(t,e,r){(e[Lt]??={})[t]=r}function Ia(t){for(var e=0;e<t.length;e++)kr.add(t[e]);for(var r of xe)r(t)}let _r=null;function $r(t){var e=this,r=e.ownerDocument,a=t.type,o=t.composedPath?.()||[],n=o[0]||t.target;_r=t;var s=0,i=_r===t&&t[Lt];if(i){var l=o.indexOf(i);if(l!==-1&&(e===document||e===window)){t[Lt]=e;return}var b=o.indexOf(e);if(b===-1)return;l<=b&&(s=l)}if(n=o[s]||t.target,n!==e){Xt(t,"currentTarget",{configurable:!0,get(){return n||r}});var m=f,p=g;G(null),K(null);try{for(var d,c=[];n!==null;){var v=n.assignedSlot||n.parentNode||n.host||null;try{var u=n[Lt]?.[a];u!=null&&(!n.disabled||t.target===n)&&u.call(n,t)}catch(j){d?c.push(j):d=j}if(t.cancelBubble||v===e||v===null)break;n=v}if(d){for(let j of c)queueMicrotask(()=>{throw j});throw d}}finally{t[Lt]=e,delete t.currentTarget,G(m),K(p)}}}const La=globalThis?.window?.trustedTypes&&globalThis.window.trustedTypes.createPolicy("svelte-trusted-html",{createHTML:t=>t});function Ya(t){return La?.createHTML(t)??t}function qa(t){var e=fe("template");return e.innerHTML=Ya(t.replaceAll("<!>","<!---->")),e.content}function Yt(t,e){var r=g;r.nodes===null&&(r.nodes={start:t,end:e,a:null,t:null})}function ut(t,e){var r=(e&Sr)!==0,a,o=!t.startsWith("<!>");return()=>{if(h)return Yt(w,null),w;a===void 0&&(a=qa(o?t:"<!>"+t),a=Rt(a));var n=r||rr?document.importNode(a,!0):a.cloneNode(!0);return Yt(n,n),n}}function Va(){if(h)return Yt(w,null),w;var t=document.createDocumentFragment(),e=document.createComment(""),r=H();return t.append(e,r),Yt(e,r),t}function et(t,e){if(h){var r=g;((r.f&nt)===0||r.nodes.end===null)&&(r.nodes.end=w),ie();return}t!==null&&t.before(e)}const Xa=["touchstart","touchmove"];function Ha(t){return Xa.includes(t)}function jr(t,e){var r=e==null?"":typeof e=="object"?`${e}`:e;r!==(t.__t??=t.nodeValue)&&(t.__t=r,t.nodeValue=`${r}`)}function Er(t,e){return zr(t,e)}function Ua(t,e){ce(),e.intro=e.intro??!1;const r=e.target,a=h,o=w;try{for(var n=Rt(r);n&&(n.nodeType!==Ct||n.data!==$e);)n=I(n);if(!n)throw xt;st(!0),B(n);const s=zr(t,{...e,anchor:n});return st(!1),s}catch(s){if(s instanceof Error&&s.message.split(`
|
|
2
|
+
`).some(i=>i.startsWith("https://svelte.dev/e/")))throw s;return s!==xt&&console.warn("Failed to hydrate: ",s),e.recover===!1&&Kr(),ce(),_a(r),st(!1),Er(t,e)}finally{st(a),B(o)}}const te=new Map;function zr(t,{target:e,anchor:r,props:a={},events:o,context:n,intro:s=!0,transformError:i}){ce();var l=void 0,b=Ta(()=>{var m=r??e.appendChild(H());pa(m,{pending:()=>{}},c=>{Ge({});var v=O;if(n&&(v.c=n),o&&(a.$$events=o),h&&Yt(c,null),l=t(c,a)||{},h&&(g.nodes.end=w,w===null||w.nodeType!==Ct||w.data!==ze))throw Kt(),xt;De()},i);var p=new Set,d=c=>{for(var v=0;v<c.length;v++){var u=c[v];if(!p.has(u)){p.add(u);var j=Ha(u);for(const qt of[e,document]){var S=te.get(qt);S===void 0&&(S=new Map,te.set(qt,S));var vt=S.get(u);vt===void 0?(qt.addEventListener(u,$r,{passive:j}),S.set(u,1)):S.set(u,vt+1)}}}};return d(Gr(kr)),xe.add(d),()=>{for(var c of p)for(const j of[e,document]){var v=te.get(j),u=v.get(c);--u==0?(j.removeEventListener(c,$r),v.delete(c),v.size===0&&te.delete(j)):v.set(c,u)}xe.delete(d),m!==r&&m.parentNode?.removeChild(m)}});return ye.set(l,b),l}let ye=new WeakMap;function Ka(t,e){const r=ye.get(t);return r?(ye.delete(t),r(e)):Promise.resolve()}class Wa{anchor;#t=new Map;#r=new Map;#e=new Map;#n=new Set;#o=!0;constructor(e,r=!0){this.anchor=e,this.#o=r}#a=e=>{if(this.#t.has(e)){var r=this.#t.get(e),a=this.#r.get(r);if(a)Oa(a),this.#n.delete(r);else{var o=this.#e.get(r);o&&(this.#r.set(r,o.effect),this.#e.delete(r),o.fragment.lastChild.remove(),this.anchor.before(o.fragment),a=o.effect)}for(const[n,s]of this.#t){if(this.#t.delete(n),n===e)break;const i=this.#e.get(s);i&&(R(i.effect),this.#e.delete(s))}for(const[n,s]of this.#r){if(n===r||this.#n.has(n))continue;const i=()=>{if(Array.from(this.#t.values()).includes(n)){var b=document.createDocumentFragment();vr(s,b),b.append(H()),this.#e.set(n,{effect:s,fragment:b})}else R(s);this.#n.delete(n),this.#r.delete(n)};this.#o||!a?(this.#n.add(n),Pt(s,i,!1)):i()}}};#i=e=>{this.#t.delete(e);const r=Array.from(this.#t.values());for(const[a,o]of this.#e)r.includes(a)||(R(o.effect),this.#e.delete(a))};ensure(e,r){var a=x,o=$a();if(r&&!this.#r.has(e)&&!this.#e.has(e))if(o){var n=document.createDocumentFragment(),s=H();n.append(s),this.#e.set(e,{effect:tt(()=>r(s)),fragment:n})}else this.#r.set(e,tt(()=>r(this.anchor)));if(this.#t.set(a,e),o){for(const[i,l]of this.#r)i===e?a.unskip_effect(l):a.skip_effect(l);for(const[i,l]of this.#e)i===e?a.unskip_effect(l.effect):a.skip_effect(l.effect);a.oncommit(this.#a),a.ondiscard(this.#i)}else h&&(this.anchor=w),this.#a(a)}}function ke(t,e,r=!1){var a;h&&(a=w,ie());var o=new Wa(t),n=r?$t:0;function s(i,l){if(h){var b=ra(a);if(i!==parseInt(b.substring(1))){var m=Ce();B(m),o.anchor=m,st(!1),o.ensure(i,l),st(!0);return}}o.ensure(i,l)}ue(()=>{var i=!1;e((l,b=0)=>{i=!0,s(b,l)}),i||s(-1,null)},n)}function Ja(t,e){let r=null,a=h;var o;if(h){r=w;for(var n=Rt(document.head);n!==null&&(n.nodeType!==Ct||n.data!==t);)n=I(n);if(n===null)st(!1);else{var s=I(n);n.remove(),B(s)}}h||(o=document.head.appendChild(H()));try{ue(()=>e(o),Ne|ot)}finally{a&&(st(!0),B(r))}}function Za(t,e){Sa(()=>{var r=t.getRootNode(),a=r.host?r:r.head??r.ownerDocument.head;if(!a.querySelector("#"+e.hash)){const o=fe("style");o.id=e.hash,o.textContent=e.code,a.appendChild(o)}})}function Qa(t,e,r){var a=t==null?"":""+t;return a=a?a+" "+e:e,a===""?null:a}function Nt(t,e,r,a,o,n){var s=t.__className;if(h||s!==r||s===void 0){var i=Qa(r,a);(!h||i!==t.getAttribute("class"))&&(i==null?t.removeAttribute("class"):t.className=i),t.__className=r}return n}function Ar(t,e,r,a){var o=a,n=!0,s=()=>(n&&(n=!1,o=a),o),i;i=t[e],i===void 0&&a!==void 0&&(i=s());var l;l=()=>{var d=t[e];return d===void 0?s():(n=!0,d)};var b=!1,m=We(()=>(b=!1,l())),p=g;return(function(d,c){if(arguments.length>0){const v=c?Y(m):d;return Q(m,v),b=!0,o!==void 0&&(o=v),d}return pt&&b||(p.f&P)!==0?m.v:Y(m)})}function tn(t){return new en(t)}class en{#t;#r;constructor(e){var r=new Map,a=(n,s)=>{var i=xa(s,!1,!1);return r.set(n,i),i};const o=new Proxy({...e.props||{},$$events:{}},{get(n,s){return Y(r.get(s)??a(s,Reflect.get(n,s)))},has(n,s){return s===Yr?!0:(Y(r.get(s)??a(s,Reflect.get(n,s))),Reflect.has(n,s))},set(n,s,i){return Q(r.get(s)??a(s,i),i),Reflect.set(n,s,i)}});this.#r=(e.hydrate?Ua:Er)(e.component,{target:e.target,anchor:e.anchor,props:o,context:e.context,intro:e.intro??!1,recover:e.recover,transformError:e.transformError}),(!e?.props?.$$host||e.sync===!1)&&me(),this.#t=o.$$events;for(const n of Object.keys(this.#r))n==="$set"||n==="$destroy"||n==="$on"||Xt(this,n,{get(){return this.#r[n]},set(s){this.#r[n]=s},enumerable:!0});this.#r.$set=n=>{Object.assign(o,n)},this.#r.$destroy=()=>{Ka(this.#r)}}$set(e){this.#r.$set(e)}$on(e,r){this.#t[e]=this.#t[e]||[];const a=(...o)=>r.call(this,...o);return this.#t[e].push(a),()=>{this.#t[e]=this.#t[e].filter(o=>o!==a)}}$destroy(){this.#r.$destroy()}}let Rr;typeof HTMLElement=="function"&&(Rr=class extends HTMLElement{$$ctor;$$s;$$c;$$cn=!1;$$d={};$$r=!1;$$p_d={};$$l={};$$l_u=new Map;$$me;$$shadowRoot=null;constructor(t,e,r){super(),this.$$ctor=t,this.$$s=e,r&&(this.$$shadowRoot=this.attachShadow(r))}addEventListener(t,e,r){if(this.$$l[t]=this.$$l[t]||[],this.$$l[t].push(e),this.$$c){const a=this.$$c.$on(t,e);this.$$l_u.set(e,a)}super.addEventListener(t,e,r)}removeEventListener(t,e,r){if(super.removeEventListener(t,e,r),this.$$c){const a=this.$$l_u.get(e);a&&(a(),this.$$l_u.delete(e))}}async connectedCallback(){if(this.$$cn=!0,!this.$$c){let t=function(a){return o=>{const n=fe("slot");a!=="default"&&(n.name=a),et(o,n)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const e={},r=rn(this);for(const a of this.$$s)a in r&&(a==="default"&&!this.$$d.children?(this.$$d.children=t(a),e.default=!0):e[a]=t(a));for(const a of this.attributes){const o=this.$$g_p(a.name);o in this.$$d||(this.$$d[o]=ee(o,a.value,this.$$p_d,"toProp"))}for(const a in this.$$p_d)!(a in this.$$d)&&this[a]!==void 0&&(this.$$d[a]=this[a],delete this[a]);this.$$c=tn({component:this.$$ctor,target:this.$$shadowRoot||this,props:{...this.$$d,$$slots:e,$$host:this}}),this.$$me=Ra(()=>{lr(()=>{this.$$r=!0;for(const a of Vt(this.$$c)){if(!this.$$p_d[a]?.reflect)continue;this.$$d[a]=this.$$c[a];const o=ee(a,this.$$d[a],this.$$p_d,"toAttribute");o==null?this.removeAttribute(this.$$p_d[a].attribute||a):this.setAttribute(this.$$p_d[a].attribute||a,o)}this.$$r=!1})});for(const a in this.$$l)for(const o of this.$$l[a]){const n=this.$$c.$on(a,o);this.$$l_u.set(o,n)}this.$$l={}}}attributeChangedCallback(t,e,r){this.$$r||(t=this.$$g_p(t),this.$$d[t]=ee(t,r,this.$$p_d,"toProp"),this.$$c?.$set({[t]:this.$$d[t]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$me(),this.$$c=void 0)})}$$g_p(t){return Vt(this.$$p_d).find(e=>this.$$p_d[e].attribute===t||!this.$$p_d[e].attribute&&e.toLowerCase()===t)||t}});function ee(t,e,r,a){const o=r[t]?.type;if(e=o==="Boolean"&&typeof e!="boolean"?e!=null:e,!a||!r[t])return e;if(a==="toAttribute")switch(o){case"Object":case"Array":return e==null?null:JSON.stringify(e);case"Boolean":return e?"":null;case"Number":return e??null;default:return e}else switch(o){case"Object":case"Array":return e&&JSON.parse(e);case"Boolean":return e;case"Number":return e!=null?+e:e;default:return e}}function rn(t){const e={};return t.childNodes.forEach(r=>{e[r.slot||"default"]=!0}),e}function an(t,e,r,a,o,n){let s=class extends Rr{constructor(){super(t,r,o),this.$$p_d=e}static get observedAttributes(){return Vt(e).map(i=>(e[i].attribute||i).toLowerCase())}};return Vt(e).forEach(i=>{Xt(s.prototype,i,{get(){return this.$$c&&i in this.$$c?this.$$c[i]:this.$$d[i]},set(l){l=ee(i,l,e),this.$$d[i]=l;var b=this.$$c;if(b){var m=kt(b,i)?.get;m?b[i]=l:b.$set({[i]:l})}}})}),a.forEach(i=>{Xt(s.prototype,i,{get(){return this.$$c?.[i]}})}),t.element=s,s}var nn=ut('<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@latest/font/bootstrap-icons.css" class="svelte-1wba643"/>'),on=ut('<span class="chkb svelte-1wba643"><i></i></span>'),sn=ut('<span class="chkb svelte-1wba643"><i></i></span>'),ln=ut("<i></i>"),bn=ut('<span style="float:right"> </span>'),mn=ut('<span class="switcher svelte-1wba643"><i></i></span>'),dn=ut('<li part="li" class="nav-item svelte-1wba643"><button style="color:black;"><!> <!></button></li>');const pn={hash:"svelte-1wba643",code:`@charset "UTF-8";
|
|
3
3
|
@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");
|
|
4
4
|
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@latest/font/bootstrap-icons.css");
|
|
5
5
|
/*!
|
|
@@ -145,5 +145,5 @@ button.svelte-1wba643 {margin:0;font-family:inherit;font-size:inherit;line-heigh
|
|
|
145
145
|
@media print {.d-print-inline.svelte-1wba643 {display:inline !important;}.d-print-inline-block.svelte-1wba643 {display:inline-block !important;}.d-print-block.svelte-1wba643 {display:block !important;}.d-print-grid.svelte-1wba643 {display:grid !important;}.d-print-inline-grid.svelte-1wba643 {display:inline-grid !important;}.d-print-table.svelte-1wba643 {display:table !important;}.d-print-table-row.svelte-1wba643 {display:table-row !important;}.d-print-table-cell.svelte-1wba643 {display:table-cell !important;}.d-print-flex.svelte-1wba643 {display:flex !important;}.d-print-inline-flex.svelte-1wba643 {display:inline-flex !important;}.d-print-none.svelte-1wba643 {display:none !important;}
|
|
146
146
|
}:host {font-family:"Roboto", sans-serif;}.bd-placeholder-img.svelte-1wba643 {font-size:1.125rem;text-anchor:middle;-webkit-user-select:none;-moz-user-select:none;user-select:none;}
|
|
147
147
|
@media (min-width: 768px) {.bd-placeholder-img-lg.svelte-1wba643 {font-size:3.5rem;}
|
|
148
|
-
}.nav-item.svelte-1wba643:hover {background-color:#f8f9fa;border-radius:10px;}.custom-button.svelte-1wba643 {width:100%;text-align:left;box-shadow:none !important;line-height:100%;}.switcher.svelte-1wba643 {float:right;font-size:1.6em;}.nav-link.svelte-1wba643 {padding:0.5rem 0.2rem 0.5rem 0.2rem;}.nav-item.svelte-1wba643 {list-style:none;}`};function
|
|
148
|
+
}.nav-item.svelte-1wba643:hover {background-color:#f8f9fa;border-radius:10px;}.custom-button.svelte-1wba643 {width:100%;text-align:left;box-shadow:none !important;line-height:100%;}.switcher.svelte-1wba643 {float:right;font-size:1.6em;}.nav-link.svelte-1wba643 {padding:0.5rem 0.2rem 0.5rem 0.2rem;}.nav-item.svelte-1wba643 {list-style:none;}`};function Tr(t,e){Ge(e,!0),Za(t,pn);function r(m,p){e.$$host.dispatchEvent(new CustomEvent(m,{detail:p}))}function a(m){r("pageChange",{page:m})}let o=Ar(e,"id",7,""),n=Ar(e,"navlink");Aa(()=>{if(typeof n()=="string")try{n(JSON.parse(n()))}catch{}});var s={get id(){return o()},set id(m=""){o(m),me()},get navlink(){return n()},set navlink(m){n(m),me()}},i=Va();Ja("1wba643",m=>{var p=nn();et(m,p)});var l=ka(i);{var b=m=>{var p=dn(),d=Tt(p),c=Tt(d);{var v=A=>{var _=on(),ht=Tt(_);jt(_),St(()=>Nt(ht,1,`bi bi-check-circle${n().value?"-fill":""}`,"svelte-1wba643")),et(A,_)},u=A=>{var _=sn(),ht=Tt(_);jt(_),St(()=>Nt(ht,1,`bi bi-circle${n().value?"-fill":""}`,"svelte-1wba643")),et(A,_)},j=A=>{var _=ln();St(()=>Nt(_,1,`bi me-2 bi-${n().bootstrapIcon??""}`,"svelte-1wba643")),et(A,_)};ke(c,A=>{!n().badge&&n().type==="checkbox"?A(v):!n().badge&&n().type==="radio"?A(u,1):n().bootstrapIcon&&A(j,2)})}var S=or(c),vt=or(S);{var qt=A=>{var _=bn(),ht=Tt(_,!0);jt(_),St(()=>{Nt(_,1,`${(n().badge.class||"badge rounded-pill")??""} ${(n().badge.classcolor||"bg-secondary")??""}`,"svelte-1wba643"),jr(ht,n().badge.text)}),et(A,_)},vn=A=>{var _=mn(),ht=Tt(_);jt(_),St(()=>Nt(ht,1,`bi bi-toggle-${n().value?"on":"off"}`,"svelte-1wba643")),et(A,_)};ke(vt,A=>{n().badge?A(qt):n().type==="switch"&&A(vn,1)})}jt(d),jt(p),St(()=>{Nt(d,1,`custom-button btn nav-link ${n().selected?"btn-outline-primary active":""}`,"svelte-1wba643"),jr(S,` ${n().text??""} `)}),Fa("click",d,()=>{a(n().key)}),et(m,p)};ke(l,m=>{n()&&m(b)})}return et(t,i),De(s)}Ia(["click"]),customElements.define("hb-sidenav-button",an(Tr,{id:{},navlink:{}},[],[],{mode:"open"})),_e.Component=Tr,Object.defineProperty(_e,Symbol.toStringTag,{value:"Module"})})(this["sidenav-button"]=this["sidenav-button"]||{});
|
|
149
149
|
//# sourceMappingURL=main.iife.js.map
|