@htmlbricks/hb-sidebar-desktop 0.66.6 → 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,5 +1,6 @@
|
|
|
1
|
-
(function(hn){"use strict";typeof window<"u"&&((window.__svelte??={}).v??=new Set).add("5");const Ar=1,Nr=2,vn=4,Cr=8,Rr=16,Or=1,Ir=4,Mr=8,Pr=16,Dr=1,Lr=2,pn="[",Pt="[!",_n="[?",Dt="]",Je={},I=Symbol(),mn="http://www.w3.org/1999/xhtml",Fr=!1;var gn=Array.isArray,jr=Array.prototype.indexOf,Ke=Array.prototype.includes,gt=Array.from,wt=Object.keys,yt=Object.defineProperty,Fe=Object.getOwnPropertyDescriptor,zr=Object.getOwnPropertyDescriptors,Br=Object.prototype,Hr=Array.prototype,wn=Object.getPrototypeOf,yn=Object.isExtensible;const Vr=()=>{};function Yr(e){for(var t=0;t<e.length;t++)e[t]()}function bn(){var e,t,n=new Promise((r,i)=>{e=r,t=i});return{promise:n,resolve:e,reject:t}}const R=2,Ge=4,bt=8,$n=1<<24,$e=16,ie=32,xe=64,Lt=128,J=512,C=1024,D=2048,fe=4096,Y=8192,K=16384,Ee=32768,xn=1<<25,Xe=65536,En=1<<17,kn=1<<18,ke=1<<19,qr=1<<20,ue=1<<25,je=65536,Ft=1<<21,jt=1<<22,Te=1<<23,$t=Symbol("$state"),Tn=Symbol("legacy props"),Ur=Symbol(""),ge=new class extends Error{name="StaleReactionError";message="The reaction that called `getAbortSignal()` was re-run or destroyed"},Wr=!!globalThis.document?.contentType&&globalThis.document.contentType.includes("xml"),ft=3,Ze=8;function Jr(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function Kr(e,t,n){throw new Error("https://svelte.dev/e/each_key_duplicate")}function Gr(e){throw new Error("https://svelte.dev/e/effect_in_teardown")}function Xr(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function Zr(e){throw new Error("https://svelte.dev/e/effect_orphan")}function Qr(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function ei(){throw new Error("https://svelte.dev/e/hydration_failed")}function ti(e){throw new Error("https://svelte.dev/e/props_invalid_value")}function ni(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function ri(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function ii(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function si(){throw new Error("https://svelte.dev/e/svelte_boundary_reset_onerror")}function xt(e){console.warn("https://svelte.dev/e/hydration_mismatch")}function li(){console.warn("https://svelte.dev/e/svelte_boundary_reset_noop")}let y=!1;function q(e){y=e}let $;function M(e){if(e===null)throw xt(),Je;return $=e}function ut(){return M(X($))}function ze(e){if(y){if(X($)!==null)throw xt(),Je;$=e}}function ai(e=1){if(y){for(var t=e,n=$;t--;)n=X(n);$=n}}function Et(e=!0){for(var t=0,n=$;;){if(n.nodeType===Ze){var r=n.data;if(r===Dt){if(t===0)return n;t-=1}else(r===pn||r===Pt||r[0]==="["&&!isNaN(Number(r.slice(1))))&&(t+=1)}var i=X(n);e&&n.remove(),n=i}}function Sn(e){if(!e||e.nodeType!==Ze)throw xt(),Je;return e.data}function An(e){return e===this.v}function oi(e,t){return e!=e?t==t:e!==t||e!==null&&typeof e=="object"||typeof e=="function"}function Nn(e){return!oi(e,this.v)}let fi=!1,G=null;function Qe(e){G=e}function Cn(e,t=!1,n){G={p:G,i:!1,c:null,e:null,s:e,x:null,r:b,l:null}}function Rn(e){var t=G,n=t.e;if(n!==null){t.e=null;for(var r of n)rr(r)}return e!==void 0&&(t.x=e),t.i=!0,G=t.p,e??{}}function On(){return!0}let Be=[];function In(){var e=Be;Be=[],Yr(e)}function Se(e){if(Be.length===0&&!ct){var t=Be;queueMicrotask(()=>{t===Be&&In()})}Be.push(e)}function ui(){for(;Be.length>0;)In()}function Mn(e){var t=b;if(t===null)return g.f|=Te,e;if((t.f&Ee)===0&&(t.f&Ge)===0)throw e;Ae(e,t)}function Ae(e,t){for(;t!==null;){if((t.f&Lt)!==0){if((t.f&Ee)===0)throw e;try{t.b.error(e);return}catch(n){e=n}}t=t.parent}throw e}const ci=-7169;function A(e,t){e.f=e.f&ci|t}function zt(e){(e.f&J)!==0||e.deps===null?A(e,C):A(e,fe)}function Pn(e){if(e!==null)for(const t of e)(t.f&R)===0||(t.f&je)===0||(t.f^=je,Pn(t.deps))}function Dn(e,t,n){(e.f&D)!==0?t.add(e):(e.f&fe)!==0&&n.add(e),Pn(e.deps),A(e,C)}let kt=!1;function di(e){var t=kt;try{return kt=!1,[e(),kt]}finally{kt=t}}const Ne=new Set;let k=null,se=null,Bt=null,ct=!1,Ht=!1,et=null,Tt=null;var Ln=0;let hi=1;class we{id=hi++;current=new Map;previous=new Map;#e=new Set;#n=new Set;#t=new Map;#i=new Map;#s=null;#r=[];#l=new Set;#a=new Set;#o=new Map;is_fork=!1;#c=!1;#f=new Set;#d(){return this.is_fork||this.#i.size>0}#v(){for(const r of this.#f)for(const i of r.#i.keys()){for(var t=!1,n=i;n.parent!==null;){if(this.#o.has(n)){t=!0;break}n=n.parent}if(!t)return!0}return!1}skip_effect(t){this.#o.has(t)||this.#o.set(t,{d:[],m:[]})}unskip_effect(t){var n=this.#o.get(t);if(n){this.#o.delete(t);for(var r of n.d)A(r,D),this.schedule(r);for(r of n.m)A(r,fe),this.schedule(r)}}#h(){if(Ln++>1e3&&(Ne.delete(this),vi()),!this.#d()){for(const a of this.#l)this.#a.delete(a),A(a,D),this.schedule(a);for(const a of this.#a)A(a,fe),this.schedule(a)}const t=this.#r;this.#r=[],this.apply();var n=et=[],r=[],i=Tt=[];for(const a of t)try{this.#u(a,n,r)}catch(o){throw Hn(a),o}if(k=null,i.length>0){var s=we.ensure();for(const a of i)s.schedule(a)}if(et=null,Tt=null,this.#d()||this.#v()){this.#p(r),this.#p(n);for(const[a,o]of this.#o)Bn(a,o)}else{this.#t.size===0&&Ne.delete(this),this.#l.clear(),this.#a.clear();for(const a of this.#e)a(this);this.#e.clear(),Fn(r),Fn(n),this.#s?.resolve()}var l=k;if(this.#r.length>0){const a=l??=this;a.#r.push(...this.#r.filter(o=>!a.#r.includes(o)))}l!==null&&(Ne.add(l),l.#h()),Ne.has(this)||this.#_()}#u(t,n,r){t.f^=C;for(var i=t.first;i!==null;){var s=i.f,l=(s&(ie|xe))!==0,a=l&&(s&C)!==0,o=a||(s&Y)!==0||this.#o.has(i);if(!o&&i.fn!==null){l?i.f^=C:(s&Ge)!==0?n.push(i):ht(i)&&((s&$e)!==0&&this.#a.add(i),it(i));var f=i.first;if(f!==null){i=f;continue}}for(;i!==null;){var u=i.next;if(u!==null){i=u;break}i=i.parent}}}#p(t){for(var n=0;n<t.length;n+=1)Dn(t[n],this.#l,this.#a)}capture(t,n,r=!1){n!==I&&!this.previous.has(t)&&this.previous.set(t,n),(t.f&Te)===0&&(this.current.set(t,[t.v,r]),se?.set(t,t.v))}activate(){k=this}deactivate(){k=null,se=null}flush(){try{Ht=!0,k=this,this.#h()}finally{Ln=0,Bt=null,et=null,Tt=null,Ht=!1,k=null,se=null,Re.clear()}}discard(){for(const t of this.#n)t(this);this.#n.clear(),Ne.delete(this)}#_(){for(const f of Ne){var t=f.id<this.id,n=[];for(const[u,[h,c]]of this.current){if(f.current.has(u)){var r=f.current.get(u)[0];if(t&&h!==r)f.current.set(u,[h,c]);else continue}n.push(u)}var i=[...f.current.keys()].filter(u=>!this.current.has(u));if(i.length===0)t&&f.discard();else if(n.length>0){f.activate();var s=new Set,l=new Map;for(var a of n)jn(a,i,s,l);if(f.#r.length>0){f.apply();for(var o of f.#r)f.#u(o,[],[]);f.#r=[]}f.deactivate()}}for(const f of Ne)f.#f.has(this)&&(f.#f.delete(this),f.#f.size===0&&!f.#d()&&(f.activate(),f.#h()))}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,Se(()=>{this.#c=!1,this.flush()}))}transfer_effects(t,n){for(const r of t)this.#l.add(r);for(const r of n)this.#a.add(r);t.clear(),n.clear()}oncommit(t){this.#e.add(t)}ondiscard(t){this.#n.add(t)}settled(){return(this.#s??=bn()).promise}static ensure(){if(k===null){const t=k=new we;Ht||(Ne.add(k),ct||Se(()=>{k===t&&t.flush()}))}return k}apply(){{se=null;return}}schedule(t){if(Bt=t,t.b?.is_pending&&(t.f&(Ge|bt|$n))!==0&&(t.f&Ee)===0){t.b.defer_effect(t);return}for(var n=t;n.parent!==null;){n=n.parent;var r=n.f;if(et!==null&&n===b&&(g===null||(g.f&R)===0))return;if((r&(xe|ie))!==0){if((r&C)===0)return;n.f^=C}}this.#r.push(n)}}function Ce(e){var t=ct;ct=!0;try{for(var n;;){if(ui(),k===null)return n;k.flush()}}finally{ct=t}}function vi(){try{Qr()}catch(e){Ae(e,Bt)}}let ye=null;function Fn(e){var t=e.length;if(t!==0){for(var n=0;n<t;){var r=e[n++];if((r.f&(K|Y))===0&&ht(r)&&(ye=new Set,it(r),r.deps===null&&r.first===null&&r.nodes===null&&r.teardown===null&&r.ac===null&&lr(r),ye?.size>0)){Re.clear();for(const i of ye){if((i.f&(K|Y))!==0)continue;const s=[i];let l=i.parent;for(;l!==null;)ye.has(l)&&(ye.delete(l),s.push(l)),l=l.parent;for(let a=s.length-1;a>=0;a--){const o=s[a];(o.f&(K|Y))===0&&it(o)}}ye.clear()}}ye=null}}function jn(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&R)!==0?jn(i,t,n,r):(s&(jt|$e))!==0&&(s&D)===0&&zn(i,t,r)&&(A(i,D),Vt(i))}}function zn(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(Ke.call(t,i))return!0;if((i.f&R)!==0&&zn(i,t,n))return n.set(i,!0),!0}return n.set(e,!1),!1}function Vt(e){k.schedule(e)}function Bn(e,t){if(!((e.f&ie)!==0&&(e.f&C)!==0)){(e.f&D)!==0?t.d.push(e):(e.f&fe)!==0&&t.m.push(e),A(e,C);for(var n=e.first;n!==null;)Bn(n,t),n=n.next}}function Hn(e){A(e,C);for(var t=e.first;t!==null;)Hn(t),t=t.next}function pi(e){let t=0,n=He(0),r;return()=>{Kt()&&(N(n),ir(()=>(t===0&&(r=gr(()=>e(()=>dt(n)))),t+=1,()=>{Se(()=>{t-=1,t===0&&(r?.(),r=void 0,dt(n))})})))}}var _i=Xe|ke;function mi(e,t,n,r){new gi(e,t,n,r)}class gi{parent;is_pending=!1;transform_error;#e;#n=y?$:null;#t;#i;#s;#r=null;#l=null;#a=null;#o=null;#c=0;#f=0;#d=!1;#v=new Set;#h=new Set;#u=null;#p=pi(()=>(this.#u=He(this.#c),()=>{this.#u=null}));constructor(t,n,r,i){this.#e=t,this.#t=n,this.#i=s=>{var l=b;l.b=this,l.f|=Lt,r(s)},this.parent=b.b,this.transform_error=i??this.parent?.transform_error??(s=>s),this.#s=Ct(()=>{if(y){const s=this.#n;ut();const l=s.data===Pt;if(s.data.startsWith(_n)){const o=JSON.parse(s.data.slice(_n.length));this.#b(o)}else l?this.#$():this.#_()}else this.#w()},_i),y&&(this.#e=$)}#_(){try{this.#r=Z(()=>this.#i(this.#e))}catch(t){this.error(t)}}#b(t){const n=this.#t.failed;n&&(this.#a=Z(()=>{n(this.#e,()=>t,()=>()=>{})}))}#$(){const t=this.#t.pending;t&&(this.is_pending=!0,this.#l=Z(()=>t(this.#e)),Se(()=>{var n=this.#o=document.createDocumentFragment(),r=F();n.append(r),this.#r=this.#g(()=>Z(()=>this.#i(r))),this.#f===0&&(this.#e.before(n),this.#o=null,Ye(this.#l,()=>{this.#l=null}),this.#m(k))}))}#w(){try{if(this.is_pending=this.has_pending_snippet(),this.#f=0,this.#c=0,this.#r=Z(()=>{this.#i(this.#e)}),this.#f>0){var t=this.#o=document.createDocumentFragment();Zt(this.#r,t);const n=this.#t.pending;this.#l=Z(()=>n(this.#e))}else this.#m(k)}catch(n){this.error(n)}}#m(t){this.is_pending=!1,t.transfer_effects(this.#v,this.#h)}defer_effect(t){Dn(t,this.#v,this.#h)}is_rendered(){return!this.is_pending&&(!this.parent||this.parent.is_rendered())}has_pending_snippet(){return!!this.#t.pending}#g(t){var n=b,r=g,i=G;Q(this.#s),H(this.#s),Qe(this.#s.ctx);try{return we.ensure(),t()}catch(s){return Mn(s),null}finally{Q(n),H(r),Qe(i)}}#y(t,n){if(!this.has_pending_snippet()){this.parent&&this.parent.#y(t,n);return}this.#f+=t,this.#f===0&&(this.#m(n),this.#l&&Ye(this.#l,()=>{this.#l=null}),this.#o&&(this.#e.before(this.#o),this.#o=null))}update_pending_count(t,n){this.#y(t,n),this.#c+=t,!(!this.#u||this.#d)&&(this.#d=!0,Se(()=>{this.#d=!1,this.#u&&tt(this.#u,this.#c)}))}get_effect_pending(){return this.#p(),N(this.#u)}error(t){var n=this.#t.onerror;let r=this.#t.failed;if(!n&&!r)throw t;this.#r&&(j(this.#r),this.#r=null),this.#l&&(j(this.#l),this.#l=null),this.#a&&(j(this.#a),this.#a=null),y&&(M(this.#n),ai(),M(Et()));var i=!1,s=!1;const l=()=>{if(i){li();return}i=!0,s&&si(),this.#a!==null&&Ye(this.#a,()=>{this.#a=null}),this.#g(()=>{this.#w()})},a=o=>{try{s=!0,n?.(o,l),s=!1}catch(f){Ae(f,this.#s&&this.#s.parent)}r&&(this.#a=this.#g(()=>{try{return Z(()=>{var f=b;f.b=this,f.f|=Lt,r(this.#e,()=>o,()=>l)})}catch(f){return Ae(f,this.#s.parent),null}}))};Se(()=>{var o;try{o=this.transform_error(t)}catch(f){Ae(f,this.#s&&this.#s.parent);return}o!==null&&typeof o=="object"&&typeof o.then=="function"?o.then(a,f=>Ae(f,this.#s&&this.#s.parent)):a(o)})}}function wi(e,t,n,r){const i=At;var s=e.filter(c=>!c.settled);if(n.length===0&&s.length===0){r(t.map(i));return}var l=b,a=yi(),o=s.length===1?s[0].promise:s.length>1?Promise.all(s.map(c=>c.promise)):null;function f(c){a();try{r(c)}catch(v){(l.f&K)===0&&Ae(v,l)}St()}if(n.length===0){o.then(()=>f(t.map(i)));return}var u=Vn();function h(){Promise.all(n.map(c=>bi(c))).then(c=>f([...t.map(i),...c])).catch(c=>Ae(c,l)).finally(()=>u())}o?o.then(()=>{a(),h(),St()}):h()}function yi(){var e=b,t=g,n=G,r=k;return function(s=!0){Q(e),H(t),Qe(n),s&&(e.f&K)===0&&(r?.activate(),r?.apply())}}function St(e=!0){Q(null),H(null),Qe(null),e&&k?.deactivate()}function Vn(){var e=b,t=e.b,n=k,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 At(e){var t=R|D,n=g!==null&&(g.f&R)!==0?g:null;return b!==null&&(b.f|=ke),{ctx:G,deps:null,effects:null,equals:An,f:t,fn:e,reactions:null,rv:0,v:I,wv:0,parent:n??b,ac:null}}function bi(e,t,n){let r=b;r===null&&Jr();var i=void 0,s=He(I),l=!g,a=new Map;return Ii(()=>{var o=b,f=bn();i=f.promise;try{Promise.resolve(e()).then(f.resolve,f.reject).finally(St)}catch(v){f.reject(v),St()}var u=k;if(l){if((o.f&Ee)!==0)var h=Vn();if(r.b.is_rendered())a.get(u)?.reject(ge),a.delete(u);else{for(const v of a.values())v.reject(ge);a.clear()}a.set(u,f)}const c=(v,p=void 0)=>{if(h){var m=p===ge;h(m)}if(!(p===ge||(o.f&K)!==0)){if(u.activate(),p)s.f|=Te,tt(s,p);else{(s.f&Te)!==0&&(s.f^=Te),tt(s,v);for(const[d,w]of a){if(a.delete(d),d===u)break;w.reject(ge)}}u.deactivate()}};f.promise.then(c,v=>c(null,v||"unknown"))}),nr(()=>{for(const o of a.values())o.reject(ge)}),new Promise(o=>{function f(u){function h(){u===i?o(s):f(i)}u.then(h,h)}f(i)})}function $i(e){const t=At(e);return ur(t),t}function Yn(e){const t=At(e);return t.equals=Nn,t}function xi(e){var t=e.effects;if(t!==null){e.effects=null;for(var n=0;n<t.length;n+=1)j(t[n])}}function Ei(e){for(var t=e.parent;t!==null;){if((t.f&R)===0)return(t.f&K)===0?t:null;t=t.parent}return null}function Yt(e){var t,n=b;Q(Ei(e));try{e.f&=~je,xi(e),t=pr(e)}finally{Q(n)}return t}function qn(e){var t=e.v,n=Yt(e);if(!e.equals(n)&&(e.wv=hr(),(!k?.is_fork||e.deps===null)&&(e.v=n,k?.capture(e,t,!0),e.deps===null))){A(e,C);return}Me||(se!==null?(Kt()||k?.is_fork)&&se.set(e,n):zt(e))}function ki(e){if(e.effects!==null)for(const t of e.effects)(t.teardown||t.ac)&&(t.teardown?.(),t.ac?.abort(ge),t.teardown=Vr,t.ac=null,vt(t,0),Gt(t))}function Un(e){if(e.effects!==null)for(const t of e.effects)t.teardown&&it(t)}let qt=new Set;const Re=new Map;let Wn=!1;function He(e,t){var n={f:0,v:e,reactions:null,equals:An,rv:0,wv:0};return n}function Oe(e,t){const n=He(e);return ur(n),n}function Jn(e,t=!1,n=!0){const r=He(e);return t||(r.equals=Nn),r}function be(e,t,n=!1){g!==null&&(!le||(g.f&En)!==0)&&On()&&(g.f&(R|$e|jt|En))!==0&&(ee===null||!Ke.call(ee,e))&&ii();let r=n?nt(t):t;return tt(e,r,Tt)}function tt(e,t,n=null){if(!e.equals(t)){var r=e.v;Me?Re.set(e,t):Re.set(e,r),e.v=t;var i=we.ensure();if(i.capture(e,r),(e.f&R)!==0){const s=e;(e.f&D)!==0&&Yt(s),se===null&&zt(s)}e.wv=hr(),Kn(e,D,n),b!==null&&(b.f&C)!==0&&(b.f&(ie|xe))===0&&(te===null?Di([e]):te.push(e)),!i.is_fork&&qt.size>0&&!Wn&&Ti()}return t}function Ti(){Wn=!1;for(const e of qt)(e.f&C)!==0&&A(e,fe),ht(e)&&it(e);qt.clear()}function dt(e){be(e,e.v+1)}function Kn(e,t,n){var r=e.reactions;if(r!==null)for(var i=r.length,s=0;s<i;s++){var l=r[s],a=l.f,o=(a&D)===0;if(o&&A(l,t),(a&R)!==0){var f=l;se?.delete(f),(a&je)===0&&(a&J&&(l.f|=je),Kn(f,fe,n))}else if(o){var u=l;(a&$e)!==0&&ye!==null&&ye.add(u),n!==null?n.push(u):Vt(u)}}}function nt(e){if(typeof e!="object"||e===null||$t in e)return e;const t=wn(e);if(t!==Br&&t!==Hr)return e;var n=new Map,r=gn(e),i=Oe(0),s=Ue,l=a=>{if(Ue===s)return a();var o=g,f=Ue;H(null),dr(s);var u=a();return H(o),dr(f),u};return r&&n.set("length",Oe(e.length)),new Proxy(e,{defineProperty(a,o,f){(!("value"in f)||f.configurable===!1||f.enumerable===!1||f.writable===!1)&&ni();var u=n.get(o);return u===void 0?l(()=>{var h=Oe(f.value);return n.set(o,h),h}):be(u,f.value,!0),!0},deleteProperty(a,o){var f=n.get(o);if(f===void 0){if(o in a){const u=l(()=>Oe(I));n.set(o,u),dt(i)}}else be(f,I),dt(i);return!0},get(a,o,f){if(o===$t)return e;var u=n.get(o),h=o in a;if(u===void 0&&(!h||Fe(a,o)?.writable)&&(u=l(()=>{var v=nt(h?a[o]:I),p=Oe(v);return p}),n.set(o,u)),u!==void 0){var c=N(u);return c===I?void 0:c}return Reflect.get(a,o,f)},getOwnPropertyDescriptor(a,o){var f=Reflect.getOwnPropertyDescriptor(a,o);if(f&&"value"in f){var u=n.get(o);u&&(f.value=N(u))}else if(f===void 0){var h=n.get(o),c=h?.v;if(h!==void 0&&c!==I)return{enumerable:!0,configurable:!0,value:c,writable:!0}}return f},has(a,o){if(o===$t)return!0;var f=n.get(o),u=f!==void 0&&f.v!==I||Reflect.has(a,o);if(f!==void 0||b!==null&&(!u||Fe(a,o)?.writable)){f===void 0&&(f=l(()=>{var c=u?nt(a[o]):I,v=Oe(c);return v}),n.set(o,f));var h=N(f);if(h===I)return!1}return u},set(a,o,f,u){var h=n.get(o),c=o in a;if(r&&o==="length")for(var v=f;v<h.v;v+=1){var p=n.get(v+"");p!==void 0?be(p,I):v in a&&(p=l(()=>Oe(I)),n.set(v+"",p))}if(h===void 0)(!c||Fe(a,o)?.writable)&&(h=l(()=>Oe(void 0)),be(h,nt(f)),n.set(o,h));else{c=h.v!==I;var m=l(()=>nt(f));be(h,m)}var d=Reflect.getOwnPropertyDescriptor(a,o);if(d?.set&&d.set.call(u,f),!c){if(r&&typeof o=="string"){var w=n.get("length"),E=Number(o);Number.isInteger(E)&&E>=w.v&&be(w,E+1)}dt(i)}return!0},ownKeys(a){N(i);var o=Reflect.ownKeys(a).filter(h=>{var c=n.get(h);return c===void 0||c.v!==I});for(var[f,u]of n)u.v!==I&&!(f in a)&&o.push(f);return o},setPrototypeOf(){ri()}})}var Gn,Xn,Zn,Qn;function Ut(){if(Gn===void 0){Gn=window,Xn=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,n=Text.prototype;Zn=Fe(t,"firstChild").get,Qn=Fe(t,"nextSibling").get,yn(e)&&(e.__click=void 0,e.__className=void 0,e.__attributes=null,e.__style=void 0,e.__e=void 0),yn(n)&&(n.__t=void 0)}}function F(e=""){return document.createTextNode(e)}function Ie(e){return Zn.call(e)}function X(e){return Qn.call(e)}function Ve(e,t){if(!y)return Ie(e);var n=Ie($);if(n===null)n=$.appendChild(F());else if(t&&n.nodeType!==ft){var r=F();return n?.before(r),M(r),r}return t&&Nt(n),M(n),n}function rt(e,t=!1){if(!y){var n=Ie(e);return n instanceof Comment&&n.data===""?X(n):n}if(t){if($?.nodeType!==ft){var r=F();return $?.before(r),M(r),r}Nt($)}return $}function ce(e,t=1,n=!1){let r=y?$:e;for(var i;t--;)i=r,r=X(r);if(!y)return r;if(n){if(r?.nodeType!==ft){var s=F();return r===null?i?.after(s):r.before(s),M(s),s}Nt(r)}return M(r),r}function er(e){e.textContent=""}function tr(){return!1}function Wt(e,t,n){return document.createElementNS(mn,e,void 0)}function Nt(e){if(e.nodeValue.length<65536)return;let t=e.nextSibling;for(;t!==null&&t.nodeType===ft;)t.remove(),e.nodeValue+=t.nodeValue,t=e.nextSibling}function Jt(e){var t=g,n=b;H(null),Q(null);try{return e()}finally{H(t),Q(n)}}function Si(e){b===null&&(g===null&&Zr(),Xr()),Me&&Gr()}function Ai(e,t){var n=t.last;n===null?t.last=t.first=e:(n.next=e,e.prev=n,t.last=e)}function de(e,t){var n=b;n!==null&&(n.f&Y)!==0&&(e|=Y);var r={ctx:G,deps:null,nodes:null,f:e|D|J,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&Ge)!==0)et!==null?et.push(r):we.ensure().schedule(r);else if(t!==null){try{it(r)}catch(l){throw j(r),l}i.deps===null&&i.teardown===null&&i.nodes===null&&i.first===i.last&&(i.f&ke)===0&&(i=i.first,(e&$e)!==0&&(e&Xe)!==0&&i!==null&&(i.f|=Xe))}if(i!==null&&(i.parent=n,n!==null&&Ai(i,n),g!==null&&(g.f&R)!==0&&(e&xe)===0)){var s=g;(s.effects??=[]).push(i)}return r}function Kt(){return g!==null&&!le}function nr(e){const t=de(bt,null);return A(t,C),t.teardown=e,t}function Ni(e){Si();var t=b.f,n=!g&&(t&ie)!==0&&(t&Ee)===0;if(n){var r=G;(r.e??=[]).push(e)}else return rr(e)}function rr(e){return de(Ge|qr,e)}function Ci(e){we.ensure();const t=de(xe|ke,e);return()=>{j(t)}}function Ri(e){we.ensure();const t=de(xe|ke,e);return(n={})=>new Promise(r=>{n.outro?Ye(t,()=>{j(t),r(void 0)}):(j(t),r(void 0))})}function Oi(e){return de(Ge,e)}function Ii(e){return de(jt|ke,e)}function ir(e,t=0){return de(bt|t,e)}function he(e,t=[],n=[],r=[]){wi(r,t,n,i=>{de(bt,()=>e(...i.map(N)))})}function Ct(e,t=0){var n=de($e|t,e);return n}function Z(e){return de(ie|ke,e)}function sr(e){var t=e.teardown;if(t!==null){const n=Me,r=g;fr(!0),H(null);try{t.call(null)}finally{fr(n),H(r)}}}function Gt(e,t=!1){var n=e.first;for(e.first=e.last=null;n!==null;){const i=n.ac;i!==null&&Jt(()=>{i.abort(ge)});var r=n.next;(n.f&xe)!==0?n.parent=null:j(n,t),n=r}}function Mi(e){for(var t=e.first;t!==null;){var n=t.next;(t.f&ie)===0&&j(t),t=n}}function j(e,t=!0){var n=!1;(t||(e.f&kn)!==0)&&e.nodes!==null&&e.nodes.end!==null&&(Pi(e.nodes.start,e.nodes.end),n=!0),A(e,xn),Gt(e,t&&!n),vt(e,0);var r=e.nodes&&e.nodes.t;if(r!==null)for(const s of r)s.stop();sr(e),e.f^=xn,e.f|=K;var i=e.parent;i!==null&&i.first!==null&&lr(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes=e.ac=e.b=null}function Pi(e,t){for(;e!==null;){var n=e===t?null:X(e);e.remove(),e=n}}function lr(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 Ye(e,t,n=!0){var r=[];ar(e,r,!0);var i=()=>{n&&j(e),t&&t()},s=r.length;if(s>0){var l=()=>--s||i();for(var a of r)a.out(l)}else i()}function ar(e,t,n){if((e.f&Y)===0){e.f^=Y;var r=e.nodes&&e.nodes.t;if(r!==null)for(const a of r)(a.is_global||n)&&t.push(a);for(var i=e.first;i!==null;){var s=i.next,l=(i.f&Xe)!==0||(i.f&ie)!==0&&(e.f&$e)!==0;ar(i,t,l?n:!1),i=s}}}function Xt(e){or(e,!0)}function or(e,t){if((e.f&Y)!==0){e.f^=Y,(e.f&C)===0&&(A(e,D),we.ensure().schedule(e));for(var n=e.first;n!==null;){var r=n.next,i=(n.f&Xe)!==0||(n.f&ie)!==0;or(n,i?t:!1),n=r}var s=e.nodes&&e.nodes.t;if(s!==null)for(const l of s)(l.is_global||t)&&l.in()}}function Zt(e,t){if(e.nodes)for(var n=e.nodes.start,r=e.nodes.end;n!==null;){var i=n===r?null:X(n);t.append(n),n=i}}let Rt=!1,Me=!1;function fr(e){Me=e}let g=null,le=!1;function H(e){g=e}let b=null;function Q(e){b=e}let ee=null;function ur(e){g!==null&&(ee===null?ee=[e]:ee.push(e))}let V=null,U=0,te=null;function Di(e){te=e}let cr=1,qe=0,Ue=qe;function dr(e){Ue=e}function hr(){return++cr}function ht(e){var t=e.f;if((t&D)!==0)return!0;if(t&R&&(e.f&=~je),(t&fe)!==0){for(var n=e.deps,r=n.length,i=0;i<r;i++){var s=n[i];if(ht(s)&&qn(s),s.wv>e.wv)return!0}(t&J)!==0&&se===null&&A(e,C)}return!1}function vr(e,t,n=!0){var r=e.reactions;if(r!==null&&!(ee!==null&&Ke.call(ee,e)))for(var i=0;i<r.length;i++){var s=r[i];(s.f&R)!==0?vr(s,t,!1):t===s&&(n?A(s,D):(s.f&C)!==0&&A(s,fe),Vt(s))}}function pr(e){var t=V,n=U,r=te,i=g,s=ee,l=G,a=le,o=Ue,f=e.f;V=null,U=0,te=null,g=(f&(ie|xe))===0?e:null,ee=null,Qe(e.ctx),le=!1,Ue=++qe,e.ac!==null&&(Jt(()=>{e.ac.abort(ge)}),e.ac=null);try{e.f|=Ft;var u=e.fn,h=u();e.f|=Ee;var c=e.deps,v=k?.is_fork;if(V!==null){var p;if(v||vt(e,U),c!==null&&U>0)for(c.length=U+V.length,p=0;p<V.length;p++)c[U+p]=V[p];else e.deps=c=V;if(Kt()&&(e.f&J)!==0)for(p=U;p<c.length;p++)(c[p].reactions??=[]).push(e)}else!v&&c!==null&&U<c.length&&(vt(e,U),c.length=U);if(On()&&te!==null&&!le&&c!==null&&(e.f&(R|fe|D))===0)for(p=0;p<te.length;p++)vr(te[p],e);if(i!==null&&i!==e){if(qe++,i.deps!==null)for(let m=0;m<n;m+=1)i.deps[m].rv=qe;if(t!==null)for(const m of t)m.rv=qe;te!==null&&(r===null?r=te:r.push(...te))}return(e.f&Te)!==0&&(e.f^=Te),h}catch(m){return Mn(m)}finally{e.f^=Ft,V=t,U=n,te=r,g=i,ee=s,Qe(l),le=a,Ue=o}}function Li(e,t){let n=t.reactions;if(n!==null){var r=jr.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&R)!==0&&(V===null||!Ke.call(V,t))){var s=t;(s.f&J)!==0&&(s.f^=J,s.f&=~je),zt(s),ki(s),vt(s,0)}}function vt(e,t){var n=e.deps;if(n!==null)for(var r=t;r<n.length;r++)Li(e,n[r])}function it(e){var t=e.f;if((t&K)===0){A(e,C);var n=b,r=Rt;b=e,Rt=!0;try{(t&($e|$n))!==0?Mi(e):Gt(e),sr(e);var i=pr(e);e.teardown=typeof i=="function"?i:null,e.wv=cr;var s;Fr&&fi&&(e.f&D)!==0&&e.deps}finally{Rt=r,b=n}}}function N(e){var t=e.f,n=(t&R)!==0;if(g!==null&&!le){var r=b!==null&&(b.f&K)!==0;if(!r&&(ee===null||!Ke.call(ee,e))){var i=g.deps;if((g.f&Ft)!==0)e.rv<qe&&(e.rv=qe,V===null&&i!==null&&i[U]===e?U++:V===null?V=[e]:V.push(e));else{(g.deps??=[]).push(e);var s=e.reactions;s===null?e.reactions=[g]:Ke.call(s,g)||s.push(g)}}}if(Me&&Re.has(e))return Re.get(e);if(n){var l=e;if(Me){var a=l.v;return((l.f&C)===0&&l.reactions!==null||mr(l))&&(a=Yt(l)),Re.set(l,a),a}var o=(l.f&J)===0&&!le&&g!==null&&(Rt||(g.f&J)!==0),f=(l.f&Ee)===0;ht(l)&&(o&&(l.f|=J),qn(l)),o&&!f&&(Un(l),_r(l))}if(se?.has(e))return se.get(e);if((e.f&Te)!==0)throw e.v;return e.v}function _r(e){if(e.f|=J,e.deps!==null)for(const t of e.deps)(t.reactions??=[]).push(e),(t.f&R)!==0&&(t.f&J)===0&&(Un(t),_r(t))}function mr(e){if(e.v===I)return!0;if(e.deps===null)return!1;for(const t of e.deps)if(Re.has(t)||(t.f&R)!==0&&mr(t))return!0;return!1}function gr(e){var t=le;try{return le=!0,e()}finally{le=t}}const Ot=Symbol("events"),Fi=new Set,wr=new Set;function ji(e,t,n,r={}){function i(s){if(r.capture||en.call(t,s),!s.cancelBubble)return Jt(()=>n?.call(this,s))}return e.startsWith("pointer")||e.startsWith("touch")||e==="wheel"?Se(()=>{t.addEventListener(e,i,r)}):t.addEventListener(e,i,r),i}function Qt(e,t,n,r,i){var s={capture:r,passive:i},l=ji(e,t,n,s);(t===document.body||t===window||t===document||t instanceof HTMLMediaElement)&&nr(()=>{t.removeEventListener(e,l,s)})}let yr=null;function en(e){var t=this,n=t.ownerDocument,r=e.type,i=e.composedPath?.()||[],s=i[0]||e.target;yr=e;var l=0,a=yr===e&&e[Ot];if(a){var o=i.indexOf(a);if(o!==-1&&(t===document||t===window)){e[Ot]=t;return}var f=i.indexOf(t);if(f===-1)return;o<=f&&(l=o)}if(s=i[l]||e.target,s!==t){yt(e,"currentTarget",{configurable:!0,get(){return s||n}});var u=g,h=b;H(null),Q(null);try{for(var c,v=[];s!==null;){var p=s.assignedSlot||s.parentNode||s.host||null;try{var m=s[Ot]?.[r];m!=null&&(!s.disabled||e.target===s)&&m.call(s,e)}catch(d){c?v.push(d):c=d}if(e.cancelBubble||p===t||p===null)break;s=p}if(c){for(let d of v)queueMicrotask(()=>{throw d});throw c}}finally{e[Ot]=t,delete e.currentTarget,H(u),Q(h)}}}const zi=globalThis?.window?.trustedTypes&&globalThis.window.trustedTypes.createPolicy("svelte-trusted-html",{createHTML:e=>e});function Bi(e){return zi?.createHTML(e)??e}function Hi(e){var t=Wt("template");return t.innerHTML=Bi(e.replaceAll("<!>","<!---->")),t.content}function Pe(e,t){var n=b;n.nodes===null&&(n.nodes={start:e,end:t,a:null,t:null})}function ve(e,t){var n=(t&Dr)!==0,r=(t&Lr)!==0,i,s=!e.startsWith("<!>");return()=>{if(y)return Pe($,null),$;i===void 0&&(i=Hi(s?e:"<!>"+e),n||(i=Ie(i)));var l=r||Xn?document.importNode(i,!0):i.cloneNode(!0);if(n){var a=Ie(l),o=l.lastChild;Pe(a,o)}else Pe(l,l);return l}}function Vi(e=""){if(!y){var t=F(e+"");return Pe(t,t),t}var n=$;return n.nodeType!==ft?(n.before(n=F()),M(n)):Nt(n),Pe(n,n),n}function tn(){if(y)return Pe($,null),$;var e=document.createDocumentFragment(),t=document.createComment(""),n=F();return e.append(t,n),Pe(t,n),e}function z(e,t){if(y){var n=b;((n.f&Ee)===0||n.nodes.end===null)&&(n.nodes.end=$),ut();return}e!==null&&e.before(t)}const Yi=["touchstart","touchmove"];function qi(e){return Yi.includes(e)}function nn(e,t){var n=t==null?"":typeof t=="object"?`${t}`:t;n!==(e.__t??=e.nodeValue)&&(e.__t=n,e.nodeValue=`${n}`)}function br(e,t){return $r(e,t)}function Ui(e,t){Ut(),t.intro=t.intro??!1;const n=t.target,r=y,i=$;try{for(var s=Ie(n);s&&(s.nodeType!==Ze||s.data!==pn);)s=X(s);if(!s)throw Je;q(!0),M(s);const l=$r(e,{...t,anchor:s});return q(!1),l}catch(l){if(l instanceof Error&&l.message.split(`
|
|
2
|
-
`).some(a=>a.startsWith("https://svelte.dev/e/")))throw l;return l!==Je&&console.warn("Failed to hydrate: ",l),t.recover===!1&&ei(),Ut(),er(n),q(!1),br(e,t)}finally{q(r),M(i)}}const It=new Map;function $r(e,{target:t,anchor:n,props:r={},events:i,context:s,intro:l=!0,transformError:a}){Ut();var o=void 0,f=Ri(()=>{var u=n??t.appendChild(F());mi(u,{pending:()=>{}},v=>{Cn({});var p=G;if(s&&(p.c=s),i&&(r.$$events=i),y&&Pe(v,null),o=e(v,r)||{},y&&(b.nodes.end=$,$===null||$.nodeType!==Ze||$.data!==Dt))throw xt(),Je;Rn()},a);var h=new Set,c=v=>{for(var p=0;p<v.length;p++){var m=v[p];if(!h.has(m)){h.add(m);var d=qi(m);for(const x of[t,document]){var w=It.get(x);w===void 0&&(w=new Map,It.set(x,w));var E=w.get(m);E===void 0?(x.addEventListener(m,en,{passive:d}),w.set(m,1)):w.set(m,E+1)}}}};return c(gt(Fi)),wr.add(c),()=>{for(var v of h)for(const d of[t,document]){var p=It.get(d),m=p.get(v);--m==0?(d.removeEventListener(v,en),p.delete(v),p.size===0&&It.delete(d)):p.set(v,m)}wr.delete(c),u!==n&&u.parentNode?.removeChild(u)}});return rn.set(o,f),o}let rn=new WeakMap;function Wi(e,t){const n=rn.get(e);return n?(rn.delete(e),n(t)):Promise.resolve()}class Ji{anchor;#e=new Map;#n=new Map;#t=new Map;#i=new Set;#s=!0;constructor(t,n=!0){this.anchor=t,this.#s=n}#r=t=>{if(this.#e.has(t)){var n=this.#e.get(t),r=this.#n.get(n);if(r)Xt(r),this.#i.delete(n);else{var i=this.#t.get(n);i&&(this.#n.set(n,i.effect),this.#t.delete(n),i.fragment.lastChild.remove(),this.anchor.before(i.fragment),r=i.effect)}for(const[s,l]of this.#e){if(this.#e.delete(s),s===t)break;const a=this.#t.get(l);a&&(j(a.effect),this.#t.delete(l))}for(const[s,l]of this.#n){if(s===n||this.#i.has(s))continue;const a=()=>{if(Array.from(this.#e.values()).includes(s)){var f=document.createDocumentFragment();Zt(l,f),f.append(F()),this.#t.set(s,{effect:l,fragment:f})}else j(l);this.#i.delete(s),this.#n.delete(s)};this.#s||!r?(this.#i.add(s),Ye(l,a,!1)):a()}}};#l=t=>{this.#e.delete(t);const n=Array.from(this.#e.values());for(const[r,i]of this.#t)n.includes(r)||(j(i.effect),this.#t.delete(r))};ensure(t,n){var r=k,i=tr();if(n&&!this.#n.has(t)&&!this.#t.has(t))if(i){var s=document.createDocumentFragment(),l=F();s.append(l),this.#t.set(t,{effect:Z(()=>n(l)),fragment:s})}else this.#n.set(t,Z(()=>n(this.anchor)));if(this.#e.set(r,t),i){for(const[a,o]of this.#n)a===t?r.unskip_effect(o):r.skip_effect(o);for(const[a,o]of this.#t)a===t?r.unskip_effect(o.effect):r.skip_effect(o.effect);r.oncommit(this.#r),r.ondiscard(this.#l)}else y&&(this.anchor=$),this.#r(r)}}function st(e,t,n=!1){var r;y&&(r=$,ut());var i=new Ji(e),s=n?Xe:0;function l(a,o){if(y){var f=Sn(r);if(a!==parseInt(f.substring(1))){var u=Et();M(u),i.anchor=u,q(!1),i.ensure(a,o),q(!0);return}}i.ensure(a,o)}Ct(()=>{var a=!1;t((o,f=0)=>{a=!0,l(f,o)}),a||l(-1,null)},s)}function Ki(e,t,n){for(var r=[],i=t.length,s,l=t.length,a=0;a<i;a++){let h=t[a];Ye(h,()=>{if(s){if(s.pending.delete(h),s.done.add(h),s.pending.size===0){var c=e.outrogroups;sn(e,gt(s.done)),c.delete(s),c.size===0&&(e.outrogroups=null)}}else l-=1},!1)}if(l===0){var o=r.length===0&&n!==null;if(o){var f=n,u=f.parentNode;er(u),u.append(f),e.items.clear()}sn(e,t,!o)}else s={pending:new Set(t),done:new Set},(e.outrogroups??=new Set).add(s)}function sn(e,t,n=!0){var r;if(e.pending.size>0){r=new Set;for(const l of e.pending.values())for(const a of l)r.add(e.items.get(a).e)}for(var i=0;i<t.length;i++){var s=t[i];if(r?.has(s)){s.f|=ue;const l=document.createDocumentFragment();Zt(s,l)}else j(t[i],n)}}var xr;function pt(e,t,n,r,i,s=null){var l=e,a=new Map,o=(t&vn)!==0;if(o){var f=e;l=y?M(Ie(f)):f.appendChild(F())}y&&ut();var u=null,h=Yn(()=>{var x=n();return gn(x)?x:x==null?[]:gt(x)}),c,v=new Map,p=!0;function m(x){(E.effect.f&K)===0&&(E.pending.delete(x),E.fallback=u,Gi(E,c,l,t,r),u!==null&&(c.length===0?(u.f&ue)===0?Xt(u):(u.f^=ue,mt(u,null,l)):Ye(u,()=>{u=null})))}function d(x){E.pending.delete(x)}var w=Ct(()=>{c=N(h);var x=c.length;let O=!1;if(y){var at=Sn(l)===Pt;at!==(x===0)&&(l=Et(),M(l),q(!1),O=!0)}for(var pe=new Set,L=k,Le=tr(),_e=0;_e<x;_e+=1){y&&$.nodeType===Ze&&$.data===Dt&&(l=$,O=!0,q(!1));var ne=c[_e],ot=r(ne,_e),ae=p?null:a.get(ot);ae?(ae.v&&tt(ae.v,ne),ae.i&&tt(ae.i,_e),Le&&L.unskip_effect(ae.e)):(ae=Xi(a,p?l:xr??=F(),ne,ot,_e,i,t,n),p||(ae.e.f|=ue),a.set(ot,ae)),pe.add(ot)}if(x===0&&s&&!u&&(p?u=Z(()=>s(l)):(u=Z(()=>s(xr??=F())),u.f|=ue)),x>pe.size&&Kr(),y&&x>0&&M(Et()),!p)if(v.set(L,pe),Le){for(const[_,S]of a)pe.has(_)||L.skip_effect(S.e);L.oncommit(m),L.ondiscard(d)}else m(L);O&&q(!0),N(h)}),E={effect:w,items:a,pending:v,outrogroups:null,fallback:u};p=!1,y&&(l=$)}function _t(e){for(;e!==null&&(e.f&ie)===0;)e=e.next;return e}function Gi(e,t,n,r,i){var s=(r&Cr)!==0,l=t.length,a=e.items,o=_t(e.effect.first),f,u=null,h,c=[],v=[],p,m,d,w;if(s)for(w=0;w<l;w+=1)p=t[w],m=i(p,w),d=a.get(m).e,(d.f&ue)===0&&(d.nodes?.a?.measure(),(h??=new Set).add(d));for(w=0;w<l;w+=1){if(p=t[w],m=i(p,w),d=a.get(m).e,e.outrogroups!==null)for(const ne of e.outrogroups)ne.pending.delete(d),ne.done.delete(d);if((d.f&Y)!==0&&(Xt(d),s&&(d.nodes?.a?.unfix(),(h??=new Set).delete(d))),(d.f&ue)!==0)if(d.f^=ue,d===o)mt(d,null,n);else{var E=u?u.next:o;d===e.effect.last&&(e.effect.last=d.prev),d.prev&&(d.prev.next=d.next),d.next&&(d.next.prev=d.prev),De(e,u,d),De(e,d,E),mt(d,E,n),u=d,c=[],v=[],o=_t(u.next);continue}if(d!==o){if(f!==void 0&&f.has(d)){if(c.length<v.length){var x=v[0],O;u=x.prev;var at=c[0],pe=c[c.length-1];for(O=0;O<c.length;O+=1)mt(c[O],x,n);for(O=0;O<v.length;O+=1)f.delete(v[O]);De(e,at.prev,pe.next),De(e,u,at),De(e,pe,x),o=x,u=pe,w-=1,c=[],v=[]}else f.delete(d),mt(d,o,n),De(e,d.prev,d.next),De(e,d,u===null?e.effect.first:u.next),De(e,u,d),u=d;continue}for(c=[],v=[];o!==null&&o!==d;)(f??=new Set).add(o),v.push(o),o=_t(o.next);if(o===null)continue}(d.f&ue)===0&&c.push(d),u=d,o=_t(d.next)}if(e.outrogroups!==null){for(const ne of e.outrogroups)ne.pending.size===0&&(sn(e,gt(ne.done)),e.outrogroups?.delete(ne));e.outrogroups.size===0&&(e.outrogroups=null)}if(o!==null||f!==void 0){var L=[];if(f!==void 0)for(d of f)(d.f&Y)===0&&L.push(d);for(;o!==null;)(o.f&Y)===0&&o!==e.fallback&&L.push(o),o=_t(o.next);var Le=L.length;if(Le>0){var _e=(r&vn)!==0&&l===0?n:null;if(s){for(w=0;w<Le;w+=1)L[w].nodes?.a?.measure();for(w=0;w<Le;w+=1)L[w].nodes?.a?.fix()}Ki(e,L,_e)}}s&&Se(()=>{if(h!==void 0)for(d of h)d.nodes?.a?.apply()})}function Xi(e,t,n,r,i,s,l,a){var o=(l&Ar)!==0?(l&Rr)===0?Jn(n,!1,!1):He(n):null,f=(l&Nr)!==0?He(i):null;return{v:o,i:f,e:Z(()=>(s(t,o??n,f??i,a),()=>{e.delete(r)}))}}function mt(e,t,n){if(e.nodes)for(var r=e.nodes.start,i=e.nodes.end,s=t&&(t.f&ue)===0?t.nodes.start:n;r!==null;){var l=X(r);if(s.before(r),r===i)return;r=l}}function De(e,t,n){t===null?e.effect.first=n:t.next=n,n===null?e.effect.last=t:n.prev=t}function ln(e,t,n,r,i){y&&ut();var s=t.$$slots?.[n],l=!1;s===!0&&(s=t[n==="default"?"children":n],l=!0),s===void 0?i!==null&&i(e):s(e,l?()=>r:r)}function Zi(e,t){let n=null,r=y;var i;if(y){n=$;for(var s=Ie(document.head);s!==null&&(s.nodeType!==Ze||s.data!==e);)s=X(s);if(s===null)q(!1);else{var l=X(s);s.remove(),M(l)}}y||(i=document.head.appendChild(F()));try{Ct(()=>t(i),kn|ke)}finally{r&&(q(!0),M(n))}}function Qi(e,t){Oi(()=>{var n=e.getRootNode(),r=n.host?n:n.head??n.ownerDocument.head;if(!r.querySelector("#"+t.hash)){const i=Wt("style");i.id=t.hash,i.textContent=t.code,r.appendChild(i)}})}function es(e,t,n){var r=""+e;return r}function an(e,t,n,r,i,s){var l=e.__className;if(y||l!==n||l===void 0){var a=es(n);(!y||a!==e.getAttribute("class"))&&(a==null?e.removeAttribute("class"):e.className=a),e.__className=n}return s}const ts=Symbol("is custom element"),ns=Symbol("is html"),rs=Wr?"link":"LINK";function Er(e,t,n,r){var i=is(e);y&&(i[t]=e.getAttribute(t),t==="src"||t==="srcset"||t==="href"&&e.nodeName===rs)||i[t]!==(i[t]=n)&&(t==="loading"&&(e[Ur]=n),n==null?e.removeAttribute(t):typeof n!="string"&&kr(e).includes(t)?e[t]=n:e.setAttribute(t,n))}function lt(e,t,n){var r=g,i=b;let s=y;y&&q(!1),H(null),Q(null);try{t!=="style"&&(on.has(e.getAttribute("is")||e.nodeName)||!customElements||customElements.get(e.getAttribute("is")||e.nodeName.toLowerCase())?kr(e).includes(t):n&&typeof n=="object")?e[t]=n:Er(e,t,n==null?n:String(n))}finally{H(r),Q(i),s&&q(!0)}}function is(e){return e.__attributes??={[ts]:e.nodeName.includes("-"),[ns]:e.namespaceURI===mn}}var on=new Map;function kr(e){var t=e.getAttribute("is")||e.nodeName,n=on.get(t);if(n)return n;on.set(t,n=[]);for(var r,i=e,s=Element.prototype;s!==i;){r=zr(i);for(var l in r)r[l].set&&n.push(l);i=wn(i)}return n}function We(e,t,n,r){var i=(n&Mr)!==0,s=(n&Pr)!==0,l=r,a=!0,o=()=>(a&&(a=!1,l=s?gr(r):r),l);let f;if(i){var u=$t in e||Tn in e;f=Fe(e,t)?.set??(u&&t in e?E=>e[t]=E:void 0)}var h,c=!1;i?[h,c]=di(()=>e[t]):h=e[t],h===void 0&&r!==void 0&&(h=o(),f&&(ti(),f(h)));var v;if(v=()=>{var E=e[t];return E===void 0?o():(a=!0,E)},(n&Ir)===0)return v;if(f){var p=e.$$legacy;return(function(E,x){return arguments.length>0?((!x||p||c)&&f(x?v():E),E):v()})}var m=!1,d=((n&Or)!==0?At:Yn)(()=>(m=!1,v()));i&&N(d);var w=b;return(function(E,x){if(arguments.length>0){const O=x?N(d):i?nt(E):E;return be(d,O),m=!0,l!==void 0&&(l=O),E}return Me&&m||(w.f&K)!==0?d.v:N(d)})}function ss(e){return new ls(e)}class ls{#e;#n;constructor(t){var n=new Map,r=(s,l)=>{var a=Jn(l,!1,!1);return n.set(s,a),a};const i=new Proxy({...t.props||{},$$events:{}},{get(s,l){return N(n.get(l)??r(l,Reflect.get(s,l)))},has(s,l){return l===Tn?!0:(N(n.get(l)??r(l,Reflect.get(s,l))),Reflect.has(s,l))},set(s,l,a){return be(n.get(l)??r(l,a),a),Reflect.set(s,l,a)}});this.#n=(t.hydrate?Ui:br)(t.component,{target:t.target,anchor:t.anchor,props:i,context:t.context,intro:t.intro??!1,recover:t.recover,transformError:t.transformError}),(!t?.props?.$$host||t.sync===!1)&&Ce(),this.#e=i.$$events;for(const s of Object.keys(this.#n))s==="$set"||s==="$destroy"||s==="$on"||yt(this,s,{get(){return this.#n[s]},set(l){this.#n[s]=l},enumerable:!0});this.#n.$set=s=>{Object.assign(i,s)},this.#n.$destroy=()=>{Wi(this.#n)}}$set(t){this.#n.$set(t)}$on(t,n){this.#e[t]=this.#e[t]||[];const r=(...i)=>n.call(this,...i);return this.#e[t].push(r),()=>{this.#e[t]=this.#e[t].filter(i=>i!==r)}}$destroy(){this.#n.$destroy()}}let Tr;typeof HTMLElement=="function"&&(Tr=class extends HTMLElement{$$ctor;$$s;$$c;$$cn=!1;$$d={};$$r=!1;$$p_d={};$$l={};$$l_u=new Map;$$me;$$shadowRoot=null;constructor(e,t,n){super(),this.$$ctor=e,this.$$s=t,n&&(this.$$shadowRoot=this.attachShadow(n))}addEventListener(e,t,n){if(this.$$l[e]=this.$$l[e]||[],this.$$l[e].push(t),this.$$c){const r=this.$$c.$on(e,t);this.$$l_u.set(t,r)}super.addEventListener(e,t,n)}removeEventListener(e,t,n){if(super.removeEventListener(e,t,n),this.$$c){const r=this.$$l_u.get(t);r&&(r(),this.$$l_u.delete(t))}}async connectedCallback(){if(this.$$cn=!0,!this.$$c){let e=function(r){return i=>{const s=Wt("slot");r!=="default"&&(s.name=r),z(i,s)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const t={},n=as(this);for(const r of this.$$s)r in n&&(r==="default"&&!this.$$d.children?(this.$$d.children=e(r),t.default=!0):t[r]=e(r));for(const r of this.attributes){const i=this.$$g_p(r.name);i in this.$$d||(this.$$d[i]=Mt(i,r.value,this.$$p_d,"toProp"))}for(const r in this.$$p_d)!(r in this.$$d)&&this[r]!==void 0&&(this.$$d[r]=this[r],delete this[r]);this.$$c=ss({component:this.$$ctor,target:this.$$shadowRoot||this,props:{...this.$$d,$$slots:t,$$host:this}}),this.$$me=Ci(()=>{ir(()=>{this.$$r=!0;for(const r of wt(this.$$c)){if(!this.$$p_d[r]?.reflect)continue;this.$$d[r]=this.$$c[r];const i=Mt(r,this.$$d[r],this.$$p_d,"toAttribute");i==null?this.removeAttribute(this.$$p_d[r].attribute||r):this.setAttribute(this.$$p_d[r].attribute||r,i)}this.$$r=!1})});for(const r in this.$$l)for(const i of this.$$l[r]){const s=this.$$c.$on(r,i);this.$$l_u.set(i,s)}this.$$l={}}}attributeChangedCallback(e,t,n){this.$$r||(e=this.$$g_p(e),this.$$d[e]=Mt(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 wt(this.$$p_d).find(t=>this.$$p_d[t].attribute===e||!this.$$p_d[t].attribute&&t.toLowerCase()===e)||e}});function Mt(e,t,n,r){const i=n[e]?.type;if(t=i==="Boolean"&&typeof t!="boolean"?t!=null:t,!r||!n[e])return t;if(r==="toAttribute")switch(i){case"Object":case"Array":return t==null?null:JSON.stringify(t);case"Boolean":return t?"":null;case"Number":return t??null;default:return t}else switch(i){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function as(e){const t={};return e.childNodes.forEach(n=>{t[n.slot||"default"]=!0}),t}function os(e,t,n,r,i,s){let l=class extends Tr{constructor(){super(e,n,i),this.$$p_d=t}static get observedAttributes(){return wt(t).map(a=>(t[a].attribute||a).toLowerCase())}};return wt(t).forEach(a=>{yt(l.prototype,a,{get(){return this.$$c&&a in this.$$c?this.$$c[a]:this.$$d[a]},set(o){o=Mt(a,o,t),this.$$d[a]=o;var f=this.$$c;if(f){var u=Fe(f,a)?.get;u?f[a]=o:f.$set({[a]:o})}}})}),r.forEach(a=>{yt(l.prototype,a,{get(){return this.$$c?.[a]}})}),e.element=l,l}const fs={version:"0.66.6"};function us(e){const t=e?.repoName.split("/")?.[1]||e?.repoName;if(!t)throw new Error("wrong componentPath "+e?.repoName);if(!e?.version)throw new Error("wrong version "+e?.version);const n=e?.iifePath||"main.iife.js";if(!document.getElementById(t+"-script"))try{const r=document.createElement("script");if(r.id=t+"-script",r.src=`https://cdn.jsdelivr.net/npm/${e.repoName}@${e.version}/${n}`,e?.local)r.src=`${e.local}`;else if(location.href.includes("localhost:6006")){const i=t.split("-")[0];r.src=`http://localhost:6006/webcomponents/${t.replace(i+"-","")}/${n}`}document.head.appendChild(r)}catch(r){console.warn(r)}}var cs=ve('<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@latest/font/bootstrap-icons.css" class="svelte-127py2f"/>'),ds=ve('<img style="height:40px;margin-right:10px" alt="" class="svelte-127py2f"/>'),hs=ve('<div style="margin-top:10px" class="svelte-127py2f"><!> </div>'),vs=ve("<hb-sidenav-link></hb-sidenav-link>",2),ps=ve("<hb-sidenav-link></hb-sidenav-link>",2),_s=ve('<h5 style="margin-top: 40px;" class="svelte-127py2f"> </h5> <hr style="margin-top:0px;margin-bottom: 10px;" class="svelte-127py2f"/> <!>',1),ms=ve("<hb-sidenav-link></hb-sidenav-link>",2),gs=ve('<h5 style="margin-top: 40px;" class="svelte-127py2f"> </h5> <hr style="margin-top:0px;margin-bottom: 10px;" class="svelte-127py2f"/> <!>',1),ws=ve('<hr class="svelte-127py2f"/> <!>',1),ys=ve('<div id="webcomponent" style="position:relative;height:100%;" class="svelte-127py2f"><!> <div class="d-flex flex-column p-3 bg-light svelte-127py2f" style="height:100%;padding-top:0px!important;position: relative; max-height: 100%; overflow-y: auto;"><h4 class="offcanvas-title svelte-127py2f"><!> <!></h4> <ul class="nav nav-pills flex-column mb-auto svelte-127py2f" style="margin-top:25px"><!> <!> <!></ul> <!></div></div>');const bs={hash:"svelte-127py2f",code:`@charset "UTF-8";
|
|
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=`http://www.w3.org/1999/xhtml`,i=Array.isArray,a=Array.prototype.indexOf,o=Array.prototype.includes,s=Array.from,c=Object.keys,l=Object.defineProperty,u=Object.getOwnPropertyDescriptor,d=Object.getOwnPropertyDescriptors,f=Object.prototype,p=Array.prototype,m=Object.getPrototypeOf,h=Object.isExtensible,g=()=>{};function _(e){for(var t=0;t<e.length;t++)e[t]()}function v(){var e,t;return{promise:new Promise((n,r)=>{e=n,t=r}),resolve:e,reject:t}}var y=1024,b=2048,x=4096,S=8192,ee=16384,C=32768,te=1<<25,ne=65536,re=1<<18,ie=1<<19,ae=1<<20,oe=1<<25,se=65536,ce=1<<21,le=1<<22,ue=1<<23,de=Symbol(`$state`),fe=Symbol(`legacy props`),pe=Symbol(``),w=new class extends Error{name=`StaleReactionError`;message="The reaction that called `getAbortSignal()` was re-run or destroyed"},me=!!globalThis.document?.contentType&&globalThis.document.contentType.includes(`xml`);function he(){throw Error(`https://svelte.dev/e/async_derived_orphan`)}function ge(e,t,n){throw Error(`https://svelte.dev/e/each_key_duplicate`)}function _e(e){throw Error(`https://svelte.dev/e/effect_in_teardown`)}function ve(){throw Error(`https://svelte.dev/e/effect_in_unowned_derived`)}function ye(e){throw Error(`https://svelte.dev/e/effect_orphan`)}function be(){throw Error(`https://svelte.dev/e/effect_update_depth_exceeded`)}function xe(){throw Error(`https://svelte.dev/e/hydration_failed`)}function Se(e){throw Error(`https://svelte.dev/e/props_invalid_value`)}function Ce(){throw Error(`https://svelte.dev/e/state_descriptors_fixed`)}function we(){throw Error(`https://svelte.dev/e/state_prototype_fixed`)}function Te(){throw Error(`https://svelte.dev/e/state_unsafe_mutation`)}function Ee(){throw Error(`https://svelte.dev/e/svelte_boundary_reset_onerror`)}function De(e){console.warn(`https://svelte.dev/e/hydration_mismatch`)}function Oe(){console.warn(`https://svelte.dev/e/svelte_boundary_reset_noop`)}var T=!1;function E(e){T=e}var D;function O(e){if(e===null)throw De(),t;return D=e}function ke(){return O(I(D))}function Ae(e){if(T){if(I(D)!==null)throw De(),t;D=e}}function je(e=1){if(T){for(var t=e,n=D;t--;)n=I(n);D=n}}function Me(e=!0){for(var t=0,n=D;;){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=I(n);e&&n.remove(),n=i}}function Ne(e){if(!e||e.nodeType!==8)throw De(),t;return e.data}function Pe(e){return e===this.v}function Fe(e,t){return e==e?e!==t||typeof e==`object`&&!!e||typeof e==`function`:t==t}function Ie(e){return!Fe(e,this.v)}var Le=!1,Re=!1,k=null;function ze(e){k=e}function Be(e,t=!1,n){k={p:k,i:!1,c:null,e:null,s:e,x:null,r:G,l:Re&&!t?{s:null,u:null,$:[]}:null}}function Ve(e){var t=k,n=t.e;if(n!==null){t.e=null;for(var r of n)pn(r)}return e!==void 0&&(t.x=e),t.i=!0,k=t.p,e??{}}function He(){return!Re||k!==null&&k.l===null}var Ue=[];function We(){var e=Ue;Ue=[],_(e)}function Ge(e){if(Ue.length===0&&!rt){var t=Ue;queueMicrotask(()=>{t===Ue&&We()})}Ue.push(e)}function Ke(){for(;Ue.length>0;)We()}function qe(e){var t=G;if(t===null)return H.f|=ue,e;if(!(t.f&32768)&&!(t.f&4))throw e;Je(e,t)}function Je(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 Ye=~(b|x|y);function A(e,t){e.f=e.f&Ye|t}function Xe(e){e.f&512||e.deps===null?A(e,y):A(e,x)}function Ze(e){if(e!==null)for(let t of e)!(t.f&2)||!(t.f&65536)||(t.f^=se,Ze(t.deps))}function Qe(e,t,n){e.f&2048?t.add(e):e.f&4096&&n.add(e),Ze(e.deps),A(e,y)}var $e=!1,et=!1;function tt(e){var t=et;try{return et=!1,[e(),et]}finally{et=t}}var j=new Set,M=null,N=null,nt=null,rt=!1,it=!1,at=null,ot=null,st=0,ct=1,lt=class e{id=ct++;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)A(n,b),this.schedule(n);for(n of t.m)A(n,x),this.schedule(n)}}#p(){if(st++>1e3&&(j.delete(this),dt()),!this.#d()){for(let e of this.#o)this.#s.delete(e),A(e,b),this.schedule(e);for(let e of this.#s)A(e,x),this.schedule(e)}let t=this.#a;this.#a=[],this.apply();var n=at=[],r=[],i=ot=[];for(let e of t)try{this.#m(e,n,r)}catch(t){throw _t(e),t}if(M=null,i.length>0){var a=e.ensure();for(let e of i)a.schedule(e)}if(at=null,ot=null,this.#d()||this.#f()){this.#h(r),this.#h(n);for(let[e,t]of this.#c)gt(e,t)}else{this.#n.size===0&&j.delete(this),this.#o.clear(),this.#s.clear();for(let e of this.#e)e(this);this.#e.clear(),ft(r),ft(n),this.#i?.resolve()}var o=M;if(this.#a.length>0){let e=o??=this;e.#a.push(...this.#a.filter(t=>!e.#a.includes(t)))}o!==null&&(j.add(o),o.#p()),j.has(this)||this.#g()}#m(e,t,n){e.f^=y;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^=y:i&4?t.push(r):Le&&i&16777224?n.push(r):Vn(r)&&(i&16&&this.#s.add(r),Kn(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)Qe(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]),N?.set(e,e.v))}activate(){M=this}deactivate(){M=null,N=null}flush(){try{it=!0,M=this,this.#p()}finally{st=0,nt=null,at=null,ot=null,it=!1,M=null,N=null,Lt.clear()}}discard(){for(let e of this.#t)e(this);this.#t.clear(),j.delete(this)}#g(){for(let c of j){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)pt(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 j)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,Ge(()=>{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??=v()).promise}static ensure(){if(M===null){let t=M=new e;it||(j.add(M),rt||Ge(()=>{M===t&&t.flush()}))}return M}apply(){if(!Le||!this.is_fork&&j.size===1){N=null;return}N=new Map;for(let[e,[t]]of this.current)N.set(e,t);for(let n of j)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)N.has(e)||N.set(e,t)}}schedule(e){if(nt=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(at!==null&&t===G&&(Le||(H===null||!(H.f&2))&&!$e))return;if(n&96){if(!(n&1024))return;t.f^=y}}this.#a.push(t)}};function ut(e){var t=rt;rt=!0;try{var n;for(e&&(M!==null&&!M.is_fork&&M.flush(),n=e());;){if(Ke(),M===null)return n;M.flush()}}finally{rt=t}}function dt(){try{be()}catch(e){Je(e,nt)}}var P=null;function ft(e){var t=e.length;if(t!==0){for(var n=0;n<t;){var r=e[n++];if(!(r.f&24576)&&Vn(r)&&(P=new Set,Kn(r),r.deps===null&&r.first===null&&r.nodes===null&&r.teardown===null&&r.ac===null&&wn(r),P?.size>0)){Lt.clear();for(let e of P){if(e.f&24576)continue;let t=[e],n=e.parent;for(;n!==null;)P.has(n)&&(P.delete(n),t.push(n)),n=n.parent;for(let e=t.length-1;e>=0;e--){let n=t[e];n.f&24576||Kn(n)}}P.clear()}}P=null}}function pt(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?pt(i,t,n,r):e&4194320&&!(e&2048)&&mt(i,t,r)&&(A(i,b),ht(i))}}function mt(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(o.call(t,r))return!0;if(r.f&2&&mt(r,t,n))return n.set(r,!0),!0}return n.set(e,!1),!1}function ht(e){M.schedule(e)}function gt(e,t){if(!(e.f&32&&e.f&1024)){e.f&2048?t.d.push(e):e.f&4096&&t.m.push(e),A(e,y);for(var n=e.first;n!==null;)gt(n,t),n=n.next}}function _t(e){A(e,y);for(var t=e.first;t!==null;)_t(t),t=t.next}function vt(e){let t=0,n=zt(0),r;return()=>{un()&&(Z(n),vn(()=>(t===0&&(r=Yn(()=>e(()=>Gt(n)))),t+=1,()=>{Ge(()=>{--t,t===0&&(r?.(),r=void 0,Gt(n))})})))}}var yt=ne|ie;function bt(e,t,n,r){new xt(e,t,n,r)}var xt=class{parent;is_pending=!1;transform_error;#e;#t=T?D: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=vt(()=>(this.#m=zt(this.#l),()=>{this.#m=null}));constructor(e,t,n,r){this.#e=e,this.#n=t,this.#r=e=>{var t=G;t.b=this,t.f|=128,n(e)},this.parent=G.b,this.transform_error=r??this.parent?.transform_error??(e=>e),this.#i=yn(()=>{if(T){let e=this.#t;ke();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()},yt),T&&(this.#e=D)}#g(){try{this.#a=B(()=>this.#r(this.#e))}catch(e){this.error(e)}}#_(e){let t=this.#n.failed;t&&(this.#s=B(()=>{t(this.#e,()=>e,()=>()=>{})}))}#v(){let e=this.#n.pending;e&&(this.is_pending=!0,this.#o=B(()=>e(this.#e)),Ge(()=>{var e=this.#c=document.createDocumentFragment(),t=F();e.append(t),this.#a=this.#x(()=>B(()=>this.#r(t))),this.#u===0&&(this.#e.before(e),this.#c=null,Tn(this.#o,()=>{this.#o=null}),this.#b(M))}))}#y(){try{if(this.is_pending=this.has_pending_snippet(),this.#u=0,this.#l=0,this.#a=B(()=>{this.#r(this.#e)}),this.#u>0){var e=this.#c=document.createDocumentFragment();kn(this.#a,e);let t=this.#n.pending;this.#o=B(()=>t(this.#e))}else this.#b(M)}catch(e){this.error(e)}}#b(e){this.is_pending=!1,e.transfer_effects(this.#f,this.#p)}defer_effect(e){Qe(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=G,n=H,r=k;K(this.#i),W(this.#i),ze(this.#i.ctx);try{return lt.ensure(),e()}catch(e){return qe(e),null}finally{K(t),W(n),ze(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&&Tn(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,Ge(()=>{this.#d=!1,this.#m&&Ut(this.#m,this.#l)}))}get_effect_pending(){return this.#h(),Z(this.#m)}error(e){var t=this.#n.onerror;let n=this.#n.failed;if(!t&&!n)throw e;this.#a&&=(V(this.#a),null),this.#o&&=(V(this.#o),null),this.#s&&=(V(this.#s),null),T&&(O(this.#t),je(),O(Me()));var r=!1,i=!1;let a=()=>{if(r){Oe();return}r=!0,i&&Ee(),this.#s!==null&&Tn(this.#s,()=>{this.#s=null}),this.#x(()=>{this.#y()})},o=e=>{try{i=!0,t?.(e,a),i=!1}catch(e){Je(e,this.#i&&this.#i.parent)}n&&(this.#s=this.#x(()=>{try{return B(()=>{var t=G;t.b=this,t.f|=128,n(this.#e,()=>e,()=>a)})}catch(e){return Je(e,this.#i.parent),null}}))};Ge(()=>{var t;try{t=this.transform_error(e)}catch(e){Je(e,this.#i&&this.#i.parent);return}typeof t==`object`&&t&&typeof t.then==`function`?t.then(o,e=>Je(e,this.#i&&this.#i.parent)):o(t)})}};function St(e,t,n,r){let i=He()?Et:kt;var a=e.filter(e=>!e.settled);if(n.length===0&&a.length===0){r(t.map(i));return}var o=G,s=Ct(),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||Je(e,o)}wt()}if(n.length===0){c.then(()=>l(t.map(i)));return}var u=Tt();function d(){Promise.all(n.map(e=>Dt(e))).then(e=>l([...t.map(i),...e])).catch(e=>Je(e,o)).finally(()=>u())}c?c.then(()=>{s(),d(),wt()}):d()}function Ct(){var e=G,t=H,n=k,r=M;return function(i=!0){K(e),W(t),ze(n),i&&!(e.f&16384)&&(r?.activate(),r?.apply())}}function wt(e=!0){K(null),W(null),ze(null),e&&M?.deactivate()}function Tt(){var e=G,t=e.b,n=M,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 Et(e){var t=2|b,r=H!==null&&H.f&2?H:null;return G!==null&&(G.f|=ie),{ctx:k,deps:null,effects:null,equals:Pe,f:t,fn:e,reactions:null,rv:0,v:n,wv:0,parent:r??G,ac:null}}function Dt(e,t,r){let i=G;i===null&&he();var a=void 0,o=zt(n),s=!H,c=new Map;return _n(()=>{var t=G,n=v();a=n.promise;try{Promise.resolve(e()).then(n.resolve,n.reject).finally(wt)}catch(e){n.reject(e),wt()}var r=M;if(s){if(t.f&32768)var l=Tt();if(i.b.is_rendered())c.get(r)?.reject(w),c.delete(r);else{for(let e of c.values())e.reject(w);c.clear()}c.set(r,n)}let u=(e,n=void 0)=>{if(l&&l(n===w),!(n===w||t.f&16384)){if(r.activate(),n)o.f|=ue,Ut(o,n);else{o.f&8388608&&(o.f^=ue),Ut(o,e);for(let[e,t]of c){if(c.delete(e),e===r)break;t.reject(w)}}r.deactivate()}};n.promise.then(u,e=>u(null,e||`unknown`))}),dn(()=>{for(let e of c.values())e.reject(w)}),new Promise(e=>{function t(n){function r(){n===a?e(o):t(a)}n.then(r,r)}t(a)})}function Ot(e){let t=Et(e);return Le||Pn(t),t}function kt(e){let t=Et(e);return t.equals=Ie,t}function At(e){var t=e.effects;if(t!==null){e.effects=null;for(var n=0;n<t.length;n+=1)V(t[n])}}function jt(e){for(var t=e.parent;t!==null;){if(!(t.f&2))return t.f&16384?null:t;t=t.parent}return null}function Mt(e){var t,n=G;K(jt(e));try{e.f&=~se,At(e),t=Un(e)}finally{K(n)}return t}function Nt(e){var t=e.v,n=Mt(e);if(!e.equals(n)&&(e.wv=Bn(),(!M?.is_fork||e.deps===null)&&(e.v=n,M?.capture(e,t,!0),e.deps===null))){A(e,y);return}Mn||(N===null?Xe(e):(un()||M?.is_fork)&&N.set(e,n))}function Pt(e){if(e.effects!==null)for(let t of e.effects)(t.teardown||t.ac)&&(t.teardown?.(),t.ac?.abort(w),t.teardown=g,t.ac=null,Gn(t,0),xn(t))}function Ft(e){if(e.effects!==null)for(let t of e.effects)t.teardown&&Kn(t)}var It=new Set,Lt=new Map,Rt=!1;function zt(e,t){return{f:0,v:e,reactions:null,equals:Pe,rv:0,wv:0}}function Bt(e,t){let n=zt(e,t);return Pn(n),n}function Vt(e,t=!1,n=!0){let r=zt(e);return t||(r.equals=Ie),Re&&n&&k!==null&&k.l!==null&&(k.l.s??=[]).push(r),r}function Ht(e,t,n=!1){return H!==null&&(!U||H.f&131072)&&He()&&H.f&4325394&&(q===null||!o.call(q,e))&&Te(),Ut(e,n?qt(t):t,ot)}function Ut(e,t,n=null){if(!e.equals(t)){var r=e.v;Mn?Lt.set(e,t):Lt.set(e,r),e.v=t;var i=lt.ensure();if(i.capture(e,r),e.f&2){let t=e;e.f&2048&&Mt(t),N===null&&Xe(t)}e.wv=Bn(),Kt(e,b,n),He()&&G!==null&&G.f&1024&&!(G.f&96)&&(X===null?Fn([e]):X.push(e)),!i.is_fork&&It.size>0&&!Rt&&Wt()}return t}function Wt(){Rt=!1;for(let e of It)e.f&1024&&A(e,x),Vn(e)&&Kn(e);It.clear()}function Gt(e){Ht(e,e.v+1)}function Kt(e,t,n){var r=e.reactions;if(r!==null)for(var i=He(),a=r.length,o=0;o<a;o++){var s=r[o],c=s.f;if(!(!i&&s===G)){var l=(c&b)===0;if(l&&A(s,t),c&2){var u=s;N?.delete(u),c&65536||(c&512&&(s.f|=se),Kt(u,x,n))}else if(l){var d=s;c&16&&P!==null&&P.add(d),n===null?ht(d):n.push(d)}}}}function qt(e){if(typeof e!=`object`||!e||de in e)return e;let t=m(e);if(t!==f&&t!==p)return e;var r=new Map,a=i(e),o=Bt(0),s=null,c=Rn,l=e=>{if(Rn===c)return e();var t=H,n=Rn;W(null),zn(c);var r=e();return W(t),zn(n),r};return a&&r.set(`length`,Bt(e.length,s)),new Proxy(e,{defineProperty(e,t,n){(!(`value`in n)||n.configurable===!1||n.enumerable===!1||n.writable===!1)&&Ce();var i=r.get(t);return i===void 0?l(()=>{var e=Bt(n.value,s);return r.set(t,e),e}):Ht(i,n.value,!0),!0},deleteProperty(e,t){var i=r.get(t);if(i===void 0){if(t in e){let e=l(()=>Bt(n,s));r.set(t,e),Gt(o)}}else Ht(i,n),Gt(o);return!0},get(t,i,a){if(i===de)return e;var o=r.get(i),c=i in t;if(o===void 0&&(!c||u(t,i)?.writable)&&(o=l(()=>Bt(qt(c?t[i]:n),s)),r.set(i,o)),o!==void 0){var d=Z(o);return d===n?void 0:d}return Reflect.get(t,i,a)},getOwnPropertyDescriptor(e,t){var i=Reflect.getOwnPropertyDescriptor(e,t);if(i&&`value`in i){var a=r.get(t);a&&(i.value=Z(a))}else if(i===void 0){var o=r.get(t),s=o?.v;if(o!==void 0&&s!==n)return{enumerable:!0,configurable:!0,value:s,writable:!0}}return i},has(e,t){if(t===de)return!0;var i=r.get(t),a=i!==void 0&&i.v!==n||Reflect.has(e,t);return(i!==void 0||G!==null&&(!a||u(e,t)?.writable))&&(i===void 0&&(i=l(()=>Bt(a?qt(e[t]):n,s)),r.set(t,i)),Z(i)===n)?!1:a},set(e,t,i,c){var d=r.get(t),f=t in e;if(a&&t===`length`)for(var p=i;p<d.v;p+=1){var m=r.get(p+``);m===void 0?p in e&&(m=l(()=>Bt(n,s)),r.set(p+``,m)):Ht(m,n)}if(d===void 0)(!f||u(e,t)?.writable)&&(d=l(()=>Bt(void 0,s)),Ht(d,qt(i)),r.set(t,d));else{f=d.v!==n;var h=l(()=>qt(i));Ht(d,h)}var g=Reflect.getOwnPropertyDescriptor(e,t);if(g?.set&&g.set.call(c,i),!f){if(a&&typeof t==`string`){var _=r.get(`length`),v=Number(t);Number.isInteger(v)&&v>=_.v&&Ht(_,v+1)}Gt(o)}return!0},ownKeys(e){Z(o);var t=Reflect.ownKeys(e).filter(e=>{var t=r.get(e);return t===void 0||t.v!==n});for(var[i,a]of r)a.v!==n&&!(i in e)&&t.push(i);return t},setPrototypeOf(){we()}})}var Jt,Yt,Xt,Zt;function Qt(){if(Jt===void 0){Jt=window,Yt=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,n=Text.prototype;Xt=u(t,`firstChild`).get,Zt=u(t,`nextSibling`).get,h(e)&&(e.__click=void 0,e.__className=void 0,e.__attributes=null,e.__style=void 0,e.__e=void 0),h(n)&&(n.__t=void 0)}}function F(e=``){return document.createTextNode(e)}function $t(e){return Xt.call(e)}function I(e){return Zt.call(e)}function en(e,t){if(!T)return $t(e);var n=$t(D);if(n===null)n=D.appendChild(F());else if(t&&n.nodeType!==3){var r=F();return n?.before(r),O(r),r}return t&&on(n),O(n),n}function tn(e,t=!1){if(!T){var n=$t(e);return n instanceof Comment&&n.data===``?I(n):n}if(t){if(D?.nodeType!==3){var r=F();return D?.before(r),O(r),r}on(D)}return D}function L(e,t=1,n=!1){let r=T?D:e;for(var i;t--;)i=r,r=I(r);if(!T)return r;if(n){if(r?.nodeType!==3){var a=F();return r===null?i?.after(a):r.before(a),O(a),a}on(r)}return O(r),r}function nn(e){e.textContent=``}function rn(){return!Le||P!==null?!1:(G.f&C)!==0}function an(e,t,n){let r=n?{is:n}:void 0;return document.createElementNS(t??`http://www.w3.org/1999/xhtml`,e,r)}function on(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 sn(e){var t=H,n=G;W(null),K(null);try{return e()}finally{W(t),K(n)}}function cn(e){G===null&&(H===null&&ye(e),ve()),Mn&&_e(e)}function ln(e,t){var n=t.last;n===null?t.last=t.first=e:(n.next=e,e.prev=n,t.last=e)}function R(e,t){var n=G;n!==null&&n.f&8192&&(e|=S);var r={ctx:k,deps:null,nodes:null,f:e|b|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)at===null?lt.ensure().schedule(r):at.push(r);else if(t!==null){try{Kn(r)}catch(e){throw V(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|=ne))}if(i!==null&&(i.parent=n,n!==null&&ln(i,n),H!==null&&H.f&2&&!(e&64))){var a=H;(a.effects??=[]).push(i)}return r}function un(){return H!==null&&!U}function dn(e){let t=R(8,null);return A(t,y),t.teardown=e,t}function fn(e){cn(`$effect`);var t=G.f;if(!H&&t&32&&!(t&32768)){var n=k;(n.e??=[]).push(e)}else return pn(e)}function pn(e){return R(4|ae,e)}function mn(e){lt.ensure();let t=R(64|ie,e);return()=>{V(t)}}function hn(e){lt.ensure();let t=R(64|ie,e);return(e={})=>new Promise(n=>{e.outro?Tn(t,()=>{V(t),n(void 0)}):(V(t),n(void 0))})}function gn(e){return R(4,e)}function _n(e){return R(le|ie,e)}function vn(e,t=0){return R(8|t,e)}function z(e,t=[],n=[],r=[]){St(r,t,n,t=>{R(8,()=>e(...t.map(Z)))})}function yn(e,t=0){return R(16|t,e)}function B(e){return R(32|ie,e)}function bn(e){var t=e.teardown;if(t!==null){let e=Mn,n=H;Nn(!0),W(null);try{t.call(null)}finally{Nn(e),W(n)}}}function xn(e,t=!1){var n=e.first;for(e.first=e.last=null;n!==null;){let e=n.ac;e!==null&&sn(()=>{e.abort(w)});var r=n.next;n.f&64?n.parent=null:V(n,t),n=r}}function Sn(e){for(var t=e.first;t!==null;){var n=t.next;t.f&32||V(t),t=n}}function V(e,t=!0){var n=!1;(t||e.f&262144)&&e.nodes!==null&&e.nodes.end!==null&&(Cn(e.nodes.start,e.nodes.end),n=!0),A(e,te),xn(e,t&&!n),Gn(e,0);var r=e.nodes&&e.nodes.t;if(r!==null)for(let e of r)e.stop();bn(e),e.f^=te,e.f|=ee;var i=e.parent;i!==null&&i.first!==null&&wn(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes=e.ac=e.b=null}function Cn(e,t){for(;e!==null;){var n=e===t?null:I(e);e.remove(),e=n}}function wn(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 Tn(e,t,n=!0){var r=[];En(e,r,!0);var i=()=>{n&&V(e),t&&t()},a=r.length;if(a>0){var o=()=>--a||i();for(var s of r)s.out(o)}else i()}function En(e,t,n){if(!(e.f&8192)){e.f^=S;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;En(i,t,o?n:!1),i=a}}}function Dn(e){On(e,!0)}function On(e,t){if(e.f&8192){e.f^=S,e.f&1024||(A(e,b),lt.ensure().schedule(e));for(var n=e.first;n!==null;){var r=n.next,i=(n.f&65536)!=0||(n.f&32)!=0;On(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 kn(e,t){if(e.nodes)for(var n=e.nodes.start,r=e.nodes.end;n!==null;){var i=n===r?null:I(n);t.append(n),n=i}}var An=null,jn=!1,Mn=!1;function Nn(e){Mn=e}var H=null,U=!1;function W(e){H=e}var G=null;function K(e){G=e}var q=null;function Pn(e){H!==null&&(!Le||H.f&2)&&(q===null?q=[e]:q.push(e))}var J=null,Y=0,X=null;function Fn(e){X=e}var In=1,Ln=0,Rn=Ln;function zn(e){Rn=e}function Bn(){return++In}function Vn(e){var t=e.f;if(t&2048)return!0;if(t&2&&(e.f&=~se),t&4096){for(var n=e.deps,r=n.length,i=0;i<r;i++){var a=n[i];if(Vn(a)&&Nt(a),a.wv>e.wv)return!0}t&512&&N===null&&A(e,y)}return!1}function Hn(e,t,n=!0){var r=e.reactions;if(r!==null&&!(!Le&&q!==null&&o.call(q,e)))for(var i=0;i<r.length;i++){var a=r[i];a.f&2?Hn(a,t,!1):t===a&&(n?A(a,b):a.f&1024&&A(a,x),ht(a))}}function Un(e){var t=J,n=Y,r=X,i=H,a=q,o=k,s=U,c=Rn,l=e.f;J=null,Y=0,X=null,H=l&96?null:e,q=null,ze(e.ctx),U=!1,Rn=++Ln,e.ac!==null&&(sn(()=>{e.ac.abort(w)}),e.ac=null);try{e.f|=ce;var u=e.fn,d=u();e.f|=C;var f=e.deps,p=M?.is_fork;if(J!==null){var m;if(p||Gn(e,Y),f!==null&&Y>0)for(f.length=Y+J.length,m=0;m<J.length;m++)f[Y+m]=J[m];else e.deps=f=J;if(un()&&e.f&512)for(m=Y;m<f.length;m++)(f[m].reactions??=[]).push(e)}else !p&&f!==null&&Y<f.length&&(Gn(e,Y),f.length=Y);if(He()&&X!==null&&!U&&f!==null&&!(e.f&6146))for(m=0;m<X.length;m++)Hn(X[m],e);if(i!==null&&i!==e){if(Ln++,i.deps!==null)for(let e=0;e<n;e+=1)i.deps[e].rv=Ln;if(t!==null)for(let e of t)e.rv=Ln;X!==null&&(r===null?r=X:r.push(...X))}return e.f&8388608&&(e.f^=ue),d}catch(e){return qe(e)}finally{e.f^=ce,J=t,Y=n,X=r,H=i,q=a,ze(o),U=s,Rn=c}}function Wn(e,t){let n=t.reactions;if(n!==null){var r=a.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&2&&(J===null||!o.call(J,t))){var s=t;s.f&512&&(s.f^=512,s.f&=~se),Xe(s),Pt(s),Gn(s,0)}}function Gn(e,t){var n=e.deps;if(n!==null)for(var r=t;r<n.length;r++)Wn(e,n[r])}function Kn(e){var t=e.f;if(!(t&16384)){A(e,y);var n=G,r=jn;G=e,jn=!0;try{t&16777232?Sn(e):xn(e),bn(e);var i=Un(e);e.teardown=typeof i==`function`?i:null,e.wv=In}finally{jn=r,G=n}}}function Z(e){var t=(e.f&2)!=0;if(An?.add(e),H!==null&&!U&&!(G!==null&&G.f&16384)&&(q===null||!o.call(q,e))){var n=H.deps;if(H.f&2097152)e.rv<Ln&&(e.rv=Ln,J===null&&n!==null&&n[Y]===e?Y++:J===null?J=[e]:J.push(e));else{(H.deps??=[]).push(e);var r=e.reactions;r===null?e.reactions=[H]:o.call(r,H)||r.push(H)}}if(Mn&&Lt.has(e))return Lt.get(e);if(t){var i=e;if(Mn){var a=i.v;return(!(i.f&1024)&&i.reactions!==null||Jn(i))&&(a=Mt(i)),Lt.set(i,a),a}var s=(i.f&512)==0&&!U&&H!==null&&(jn||(H.f&512)!=0),c=(i.f&C)===0;Vn(i)&&(s&&(i.f|=512),Nt(i)),s&&!c&&(Ft(i),qn(i))}if(N?.has(e))return N.get(e);if(e.f&8388608)throw e.v;return e.v}function qn(e){if(e.f|=512,e.deps!==null)for(let t of e.deps)(t.reactions??=[]).push(e),t.f&2&&!(t.f&512)&&(Ft(t),qn(t))}function Jn(e){if(e.v===n)return!0;if(e.deps===null)return!1;for(let t of e.deps)if(Lt.has(t)||t.f&2&&Jn(t))return!0;return!1}function Yn(e){var t=U;try{return U=!0,e()}finally{U=t}}var Xn=Symbol(`events`),Zn=new Set,Qn=new Set;function $n(e,t,n,r={}){function i(e){if(r.capture||nr.call(t,e),!e.cancelBubble)return sn(()=>n?.call(this,e))}return e.startsWith(`pointer`)||e.startsWith(`touch`)||e===`wheel`?Ge(()=>{t.addEventListener(e,i,r)}):t.addEventListener(e,i,r),i}function er(e,t,n,r,i){var a={capture:r,passive:i},o=$n(e,t,n,a);(t===document.body||t===window||t===document||t instanceof HTMLMediaElement)&&dn(()=>{t.removeEventListener(e,o,a)})}var tr=null;function nr(e){var t=this,n=t.ownerDocument,r=e.type,i=e.composedPath?.()||[],a=i[0]||e.target;tr=e;var o=0,s=tr===e&&e[Xn];if(s){var c=i.indexOf(s);if(c!==-1&&(t===document||t===window)){e[Xn]=t;return}var u=i.indexOf(t);if(u===-1)return;c<=u&&(o=c)}if(a=i[o]||e.target,a!==t){l(e,`currentTarget`,{configurable:!0,get(){return a||n}});var d=H,f=G;W(null),K(null);try{for(var p,m=[];a!==null;){var h=a.assignedSlot||a.parentNode||a.host||null;try{var g=a[Xn]?.[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[Xn]=t,delete e.currentTarget,W(d),K(f)}}}var rr=globalThis?.window?.trustedTypes&&globalThis.window.trustedTypes.createPolicy(`svelte-trusted-html`,{createHTML:e=>e});function ir(e){return rr?.createHTML(e)??e}function ar(e){var t=an(`template`);return t.innerHTML=ir(e.replaceAll(`<!>`,`<!---->`)),t.content}function or(e,t){var n=G;n.nodes===null&&(n.nodes={start:e,end:t,a:null,t:null})}function Q(e,t){var n=(t&1)!=0,r=(t&2)!=0,i,a=!e.startsWith(`<!>`);return()=>{if(T)return or(D,null),D;i===void 0&&(i=ar(a?e:`<!>`+e),n||(i=$t(i)));var t=r||Yt?document.importNode(i,!0):i.cloneNode(!0);if(n){var o=$t(t),s=t.lastChild;or(o,s)}else or(t,t);return t}}function sr(e=``){if(!T){var t=F(e+``);return or(t,t),t}var n=D;return n.nodeType===3?on(n):(n.before(n=F()),O(n)),or(n,n),n}function cr(){if(T)return or(D,null),D;var e=document.createDocumentFragment(),t=document.createComment(``),n=F();return e.append(t,n),or(t,n),e}function $(e,t){if(T){var n=G;(!(n.f&32768)||n.nodes.end===null)&&(n.nodes.end=D),ke();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 lr=[`touchstart`,`touchmove`];function ur(e){return lr.includes(e)}function dr(e,t){var n=t==null?``:typeof t==`object`?`${t}`:t;n!==(e.__t??=e.nodeValue)&&(e.__t=n,e.nodeValue=`${n}`)}function fr(e,t){return hr(e,t)}function pr(e,n){Qt(),n.intro=n.intro??!1;let r=n.target,i=T,a=D;try{for(var o=$t(r);o&&(o.nodeType!==8||o.data!==`[`);)o=I(o);if(!o)throw t;E(!0),O(o);let i=hr(e,{...n,anchor:o});return E(!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&&xe(),Qt(),nn(r),E(!1),fr(e,n)}finally{E(i),O(a)}}var mr=new Map;function hr(e,{target:n,anchor:r,props:i={},events:a,context:o,intro:c=!0,transformError:l}){Qt();var u=void 0,d=hn(()=>{var c=r??n.appendChild(F());bt(c,{pending:()=>{}},n=>{Be({});var r=k;if(o&&(r.c=o),a&&(i.$$events=a),T&&or(n,null),u=e(n,i)||{},T&&(G.nodes.end=D,D===null||D.nodeType!==8||D.data!==`]`))throw De(),t;Ve()},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=ur(r);for(let e of[n,document]){var a=mr.get(e);a===void 0&&(a=new Map,mr.set(e,a));var o=a.get(r);o===void 0?(e.addEventListener(r,nr,{passive:i}),a.set(r,1)):a.set(r,o+1)}}}};return f(s(Zn)),Qn.add(f),()=>{for(var e of d)for(let r of[n,document]){var t=mr.get(r),i=t.get(e);--i==0?(r.removeEventListener(e,nr),t.delete(e),t.size===0&&mr.delete(r)):t.set(e,i)}Qn.delete(f),c!==r&&c.parentNode?.removeChild(c)}});return gr.set(u,d),u}var gr=new WeakMap;function _r(e,t){let n=gr.get(e);return n?(gr.delete(e),n(t)):Promise.resolve()}var vr=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)Dn(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&&(V(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();kn(r,t),t.append(F()),this.#n.set(e,{effect:r,fragment:t})}else V(r);this.#r.delete(e),this.#t.delete(e)};this.#i||!n?(this.#r.add(e),Tn(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)||(V(n.effect),this.#n.delete(e))};ensure(e,t){var n=M,r=rn();if(t&&!this.#t.has(e)&&!this.#n.has(e))if(r){var i=document.createDocumentFragment(),a=F();i.append(a),this.#n.set(e,{effect:B(()=>t(a)),fragment:i})}else this.#t.set(e,B(()=>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 T&&(this.anchor=D),this.#a(n)}};function yr(e,t,n=!1){var r;T&&(r=D,ke());var i=new vr(e),a=n?ne:0;function o(e,t){if(T){var n=Ne(r);if(e!==parseInt(n.substring(1))){var a=Me();O(a),i.anchor=a,E(!1),i.ensure(e,t),E(!0);return}}i.ensure(e,t)}yn(()=>{var e=!1;t((t,n=0)=>{e=!0,o(n,t)}),e||o(-1,null)},a)}function br(e,t,n){for(var r=[],i=t.length,a,o=t.length,c=0;c<i;c++){let n=t[c];Tn(n,()=>{if(a){if(a.pending.delete(n),a.done.add(n),a.pending.size===0){var t=e.outrogroups;xr(e,s(a.done)),t.delete(a),t.size===0&&(e.outrogroups=null)}}else --o},!1)}if(o===0){var l=r.length===0&&n!==null;if(l){var u=n,d=u.parentNode;nn(d),d.append(u),e.items.clear()}xr(e,t,!l)}else a={pending:new Set(t),done:new Set},(e.outrogroups??=new Set).add(a)}function xr(e,t,n=!0){var r;if(e.pending.size>0){r=new Set;for(let t of e.pending.values())for(let n of t)r.add(e.items.get(n).e)}for(var i=0;i<t.length;i++){var a=t[i];r?.has(a)?(a.f|=oe,kn(a,document.createDocumentFragment())):V(t[i],n)}}var Sr;function Cr(e,t,n,r,a,o=null){var c=e,l=new Map;if(t&4){var u=e;c=T?O($t(u)):u.appendChild(F())}T&&ke();var d=null,f=kt(()=>{var e=n();return i(e)?e:e==null?[]:s(e)}),p,m=new Map,h=!0;function g(e){v.effect.f&16384||(v.pending.delete(e),v.fallback=d,Tr(v,p,c,t,r),d!==null&&(p.length===0?d.f&33554432?(d.f^=oe,Dr(d,null,c)):Dn(d):Tn(d,()=>{d=null})))}function _(e){v.pending.delete(e)}var v={effect:yn(()=>{p=Z(f);var e=p.length;let i=!1;T&&Ne(c)===`[!`!=(e===0)&&(c=Me(),O(c),E(!1),i=!0);for(var s=new Set,u=M,v=rn(),y=0;y<e;y+=1){T&&D.nodeType===8&&D.data===`]`&&(c=D,i=!0,E(!1));var b=p[y],x=r(b,y),S=h?null:l.get(x);S?(S.v&&Ut(S.v,b),S.i&&Ut(S.i,y),v&&u.unskip_effect(S.e)):(S=Er(l,h?c:Sr??=F(),b,x,y,a,t,n),h||(S.e.f|=oe),l.set(x,S)),s.add(x)}if(e===0&&o&&!d&&(h?d=B(()=>o(c)):(d=B(()=>o(Sr??=F())),d.f|=oe)),e>s.size&&ge(``,``,``),T&&e>0&&O(Me()),!h)if(m.set(u,s),v){for(let[e,t]of l)s.has(e)||u.skip_effect(t.e);u.oncommit(g),u.ondiscard(_)}else g(u);i&&E(!0),Z(f)}),flags:t,items:l,pending:m,outrogroups:null,fallback:d};h=!1,T&&(c=D)}function wr(e){for(;e!==null&&!(e.f&32);)e=e.next;return e}function Tr(e,t,n,r,i){var a=(r&8)!=0,o=t.length,c=e.items,l=wr(e.effect.first),u,d=null,f,p=[],m=[],h,g,_,v;if(a)for(v=0;v<o;v+=1)h=t[v],g=i(h,v),_=c.get(g).e,_.f&33554432||(_.nodes?.a?.measure(),(f??=new Set).add(_));for(v=0;v<o;v+=1){if(h=t[v],g=i(h,v),_=c.get(g).e,e.outrogroups!==null)for(let t of e.outrogroups)t.pending.delete(_),t.done.delete(_);if(_.f&8192&&(Dn(_),a&&(_.nodes?.a?.unfix(),(f??=new Set).delete(_))),_.f&33554432)if(_.f^=oe,_===l)Dr(_,null,n);else{var y=d?d.next:l;_===e.effect.last&&(e.effect.last=_.prev),_.prev&&(_.prev.next=_.next),_.next&&(_.next.prev=_.prev),Or(e,d,_),Or(e,_,y),Dr(_,y,n),d=_,p=[],m=[],l=wr(d.next);continue}if(_!==l){if(u!==void 0&&u.has(_)){if(p.length<m.length){var b=m[0],x;d=b.prev;var S=p[0],ee=p[p.length-1];for(x=0;x<p.length;x+=1)Dr(p[x],b,n);for(x=0;x<m.length;x+=1)u.delete(m[x]);Or(e,S.prev,ee.next),Or(e,d,S),Or(e,ee,b),l=b,d=ee,--v,p=[],m=[]}else u.delete(_),Dr(_,l,n),Or(e,_.prev,_.next),Or(e,_,d===null?e.effect.first:d.next),Or(e,d,_),d=_;continue}for(p=[],m=[];l!==null&&l!==_;)(u??=new Set).add(l),m.push(l),l=wr(l.next);if(l===null)continue}_.f&33554432||p.push(_),d=_,l=wr(_.next)}if(e.outrogroups!==null){for(let t of e.outrogroups)t.pending.size===0&&(xr(e,s(t.done)),e.outrogroups?.delete(t));e.outrogroups.size===0&&(e.outrogroups=null)}if(l!==null||u!==void 0){var C=[];if(u!==void 0)for(_ of u)_.f&8192||C.push(_);for(;l!==null;)!(l.f&8192)&&l!==e.fallback&&C.push(l),l=wr(l.next);var te=C.length;if(te>0){var ne=r&4&&o===0?n:null;if(a){for(v=0;v<te;v+=1)C[v].nodes?.a?.measure();for(v=0;v<te;v+=1)C[v].nodes?.a?.fix()}br(e,C,ne)}}a&&Ge(()=>{if(f!==void 0)for(_ of f)_.nodes?.a?.apply()})}function Er(e,t,n,r,i,a,o,s){var c=o&1?o&16?zt(n):Vt(n,!1,!1):null,l=o&2?zt(i):null;return{v:c,i:l,e:B(()=>(a(t,c??n,l??i,s),()=>{e.delete(r)}))}}function Dr(e,t,n){if(e.nodes)for(var r=e.nodes.start,i=e.nodes.end,a=t&&!(t.f&33554432)?t.nodes.start:n;r!==null;){var o=I(r);if(a.before(r),r===i)return;r=o}}function Or(e,t,n){t===null?e.effect.first=n:t.next=n,n===null?e.effect.last=t:n.prev=t}function kr(e,t,n,r,i){T&&ke();var a=t.$$slots?.[n],o=!1;a===!0&&(a=t[n===`default`?`children`:n],o=!0),a===void 0?i!==null&&i(e):a(e,o?()=>r:r)}function Ar(e,t){let n=null,r=T;var i;if(T){n=D;for(var a=$t(document.head);a!==null&&(a.nodeType!==8||a.data!==e);)a=I(a);if(a===null)E(!1);else{var o=I(a);a.remove(),O(o)}}T||(i=document.head.appendChild(F()));try{yn(()=>t(i),re|ie)}finally{r&&(E(!0),O(n))}}function jr(e,t){gn(()=>{var n=e.getRootNode(),r=n.host?n:n.head??n.ownerDocument.head;if(!r.querySelector(`#`+t.hash)){let e=an(`style`);e.id=t.hash,e.textContent=t.code,r.appendChild(e)}})}var Mr=[...`
|
|
3
|
+
\r\f\xA0\v`];function Nr(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||Mr.includes(r[o-1]))&&(s===r.length||Mr.includes(r[s]))?r=(o===0?``:r.substring(0,o))+r.substring(s+1):o=s}}return r===``?null:r}function Pr(e,t,n,r,i,a){var o=e.__className;if(T||o!==n||o===void 0){var s=Nr(n,r,a);(!T||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}var Fr=Symbol(`is custom element`),Ir=Symbol(`is html`),Lr=me?`link`:`LINK`;function Rr(e,t,n,r){var i=Br(e);T&&(i[t]=e.getAttribute(t),t===`src`||t===`srcset`||t===`href`&&e.nodeName===Lr)||i[t]!==(i[t]=n)&&(t===`loading`&&(e[pe]=n),n==null?e.removeAttribute(t):typeof n!=`string`&&Hr(e).includes(t)?e[t]=n:e.setAttribute(t,n))}function zr(e,t,n){var r=H,i=G;let a=T;T&&E(!1),W(null),K(null);try{t!==`style`&&(Vr.has(e.getAttribute(`is`)||e.nodeName)||!customElements||customElements.get(e.getAttribute(`is`)||e.nodeName.toLowerCase())?Hr(e).includes(t):n&&typeof n==`object`)?e[t]=n:Rr(e,t,n==null?n:String(n))}finally{W(r),K(i),a&&E(!0)}}function Br(e){return e.__attributes??={[Fr]:e.nodeName.includes(`-`),[Ir]:e.namespaceURI===r}}var Vr=new Map;function Hr(e){var t=e.getAttribute(`is`)||e.nodeName,n=Vr.get(t);if(n)return n;Vr.set(t,n=[]);for(var r,i=e,a=Element.prototype;a!==i;){for(var o in r=d(i),r)r[o].set&&n.push(o);i=m(i)}return n}function Ur(e,t,n,r){var i=!Re||(n&2)!=0,a=(n&8)!=0,o=(n&16)!=0,s=r,c=!0,l=()=>(c&&(c=!1,s=o?Yn(r):r),s);let d;if(a){var f=de in e||fe in e;d=u(e,t)?.set??(f&&t in e?n=>e[t]=n:void 0)}var p,m=!1;a?[p,m]=tt(()=>e[t]):p=e[t],p===void 0&&r!==void 0&&(p=l(),d&&(i&&Se(t),d(p)));var h=i?()=>{var n=e[t];return n===void 0?l():(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?Et:kt)(()=>(_=!1,h()));a&&Z(v);var y=G;return(function(e,t){if(arguments.length>0){let n=t?Z(v):i&&a?qt(e):e;return Ht(v,n),_=!0,s!==void 0&&(s=n),e}return Mn&&_||y.f&16384?v.v:Z(v)})}function Wr(e){return new Gr(e)}var Gr=class{#e;#t;constructor(e){var t=new Map,n=(e,n)=>{var r=Vt(n,!1,!1);return t.set(e,r),r};let r=new Proxy({...e.props||{},$$events:{}},{get(e,r){return Z(t.get(r)??n(r,Reflect.get(e,r)))},has(e,r){return r===fe?!0:(Z(t.get(r)??n(r,Reflect.get(e,r))),Reflect.has(e,r))},set(e,r,i){return Ht(t.get(r)??n(r,i),i),Reflect.set(e,r,i)}});this.#t=(e.hydrate?pr:fr)(e.component,{target:e.target,anchor:e.anchor,props:r,context:e.context,intro:e.intro??!1,recover:e.recover,transformError:e.transformError}),!Le&&(!e?.props?.$$host||e.sync===!1)&&ut(),this.#e=r.$$events;for(let e of Object.keys(this.#t))e===`$set`||e===`$destroy`||e===`$on`||l(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=()=>{_r(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()}},Kr;typeof HTMLElement==`function`&&(Kr=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=an(`slot`);e!==`default`&&(n.name=e),$(t,n)}}let t={},n=Jr(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]=qr(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=Wr({component:this.$$ctor,target:this.$$shadowRoot||this,props:{...this.$$d,$$slots:t,$$host:this}}),this.$$me=mn(()=>{vn(()=>{this.$$r=!0;for(let e of c(this.$$c)){if(!this.$$p_d[e]?.reflect)continue;this.$$d[e]=this.$$c[e];let t=qr(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]=qr(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 c(this.$$p_d).find(t=>this.$$p_d[t].attribute===e||!this.$$p_d[t].attribute&&t.toLowerCase()===e)||e}});function qr(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 Jr(e){let t={};return e.childNodes.forEach(e=>{t[e.slot||`default`]=!0}),t}function Yr(e,t,n,r,i,a){let o=class extends Kr{constructor(){super(e,n,i),this.$$p_d=t}static get observedAttributes(){return c(t).map(e=>(t[e].attribute||e).toLowerCase())}};return c(t).forEach(e=>{l(o.prototype,e,{get(){return this.$$c&&e in this.$$c?this.$$c[e]:this.$$d[e]},set(n){n=qr(e,n,t),this.$$d[e]=n;var r=this.$$c;r&&(u(r,e)?.get?r[e]=n:r.$set({[e]:n}))}})}),r.forEach(e=>{l(o.prototype,e,{get(){return this.$$c?.[e]}})}),a&&(o=a(o)),e.element=o,o}var Xr={name:`@htmlbricks/svelte-webcomponent`,private:!0,version:`0.66.7`,type:`module`,scripts:{dev:`vite --open`,build:`vite build`,"publish:wc":`node publish.ts`,"build:wc":`node build.ts`,"watch:wc":`node watch.ts`,preview:`vite preview`,check:`svelte-check --tsconfig ./tsconfig.app.json && tsc -p tsconfig.node.json`,"release:patch":`npm version patch && git push && git push --tags && npm run build:wc && npm run publish:wc`,"release:minor":`npm version minor && git push && git push --tags && npm run build:wc && npm run publish:wc`,"release:major":`npm version major && git push && git push --tags && npm run build:wc && npm run publish:wc`},devDependencies:{"@google-pay/button-element":`^3.2.1`,"@paypal/paypal-js":`^9.5.0`,"@sveltejs/vite-plugin-svelte":`^7.0.0`,"@tsconfig/svelte":`^5.0.8`,"@types/debounce":`^1.2.4`,"@types/node":`^24.10.1`,"@types/rgb-hex":`^3.0.0`,"chart.js":`^4.5.1`,"date-holidays":`^3.26.12`,dayjs:`^1.11.20`,"hls.js":`^1.6.15`,"html5-joystick-new":`^0.0.6`,ol:`^10.8.0`,"perfect-freehand":`^1.2.3`,prettier:`^3.8.1`,"rollup-plugin-terser":`^7.0.2`,"sass-embedded":`^1.98.0`,"simple-serverless-auth-client":`^0.0.6`,"simple-webrtc-element":`^0.0.1`,"simple-webrtc-element-whep":`^0.2.3`,"style-to-object":`^1.0.14`,svelte:`^5.55.0`,"svelte-check":`^4.4.5`,terser:`^5.46.1`,"ts-json-schema-generator":`^2.9.0`,typescript:`^6.0.2`,vite:`^8.0.3`},dependencies:{"@floating-ui/dom":`^1.7.6`,"@popperjs/core":`^2.11.8`,bootstrap:`^5.3.8`,debounce:`^3.0.0`,"html-colors":`^0.0.6`,marked:`^17.0.5`,raphael:`^2.3.0`,"rgb-hex":`^4.1.0`,"wc-js-utils":`^0.4.7`}};function Zr(e){let t=e?.repoName.split(`/`)?.[1]||e?.repoName;if(!t)throw Error(`wrong componentPath `+e?.repoName);if(!e?.version)throw Error(`wrong version `+e?.version);let n=e?.iifePath||`main.iife.js`;if(!document.getElementById(t+`-script`))try{let r=document.createElement(`script`);if(r.id=t+`-script`,r.src=`https://cdn.jsdelivr.net/npm/${e.repoName}@${e.version}/${n}`,e?.local)r.src=`${e.local}`;else if(location.href.includes(`localhost:6006`)){let e=t.split(`-`)[0];r.src=`http://localhost:6006/webcomponents/${t.replace(e+`-`,``)}/${n}`}document.head.appendChild(r)}catch(e){console.warn(e)}}var Qr=Q(`<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@latest/font/bootstrap-icons.css" class="svelte-127py2f"/>`),$r=Q(`<img style="height:40px;margin-right:10px" alt="" class="svelte-127py2f"/>`),ei=Q(`<div style="margin-top:10px" class="svelte-127py2f"><!> </div>`),ti=Q(`<hb-sidenav-link></hb-sidenav-link>`,2),ni=Q(`<hb-sidenav-link></hb-sidenav-link>`,2),ri=Q(`<h5 style="margin-top: 40px;" class="svelte-127py2f"> </h5> <hr style="margin-top:0px;margin-bottom: 10px;" class="svelte-127py2f"/> <!>`,1),ii=Q(`<hb-sidenav-link></hb-sidenav-link>`,2),ai=Q(`<h5 style="margin-top: 40px;" class="svelte-127py2f"> </h5> <hr style="margin-top:0px;margin-bottom: 10px;" class="svelte-127py2f"/> <!>`,1),oi=Q(`<hr class="svelte-127py2f"/> <!>`,1),si=Q(`<div id="webcomponent" style="position:relative;height:100%;" class="svelte-127py2f"><!> <div class="d-flex flex-column p-3 bg-light svelte-127py2f" style="height:100%;padding-top:0px!important;position: relative; max-height: 100%; overflow-y: auto;"><h4 class="offcanvas-title svelte-127py2f"><!> <!></h4> <ul class="nav nav-pills flex-column mb-auto svelte-127py2f" style="margin-top:25px"><!> <!> <!></ul> <!></div></div>`),ci={hash:`svelte-127py2f`,code:`@charset "UTF-8";
|
|
3
4
|
@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
5
|
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@latest/font/bootstrap-icons.css");
|
|
5
6
|
/*!
|
|
@@ -143,5 +144,5 @@ ul.svelte-127py2f {margin-top:0;margin-bottom:1rem;}img.svelte-127py2f {vertical
|
|
|
143
144
|
@media print {
|
|
144
145
|
}#webcomponent.svelte-127py2f {font-family:"Roboto", sans-serif;}
|
|
145
146
|
@media (min-width: 768px) {
|
|
146
|
-
}:host {display:block;width:240px;height:100%;}`};function
|
|
147
|
-
//# sourceMappingURL=main.iife.js.map
|
|
147
|
+
}:host {display:block;width:240px;height:100%;}`};function li(e,t){Be(t,!0),jr(e,ci);let n=Ur(t,`id`,7,``),r=Ur(t,`companylogouri`,7,`https://upload.wikimedia.org/wikipedia/commons/8/80/Wikipedia-logo-v2.svg`),i=Ur(t,`navlinks`,23,()=>[]),a=Ur(t,`navpage`,7,`home`),o=Ur(t,`groups`,23,()=>[]),s=Ur(t,`companytitle`,7,``),c=Ur(t,`enablefooter`,7,!0);fn(()=>{(!c()||c()===`no`)&&c(!1);try{typeof o()==`string`&&o(JSON.parse(o())),typeof i()==`string`&&i(JSON.parse(i()))}catch{}});function l(e,n){t.$$host.dispatchEvent(new CustomEvent(e,{detail:n}))}function u(e){console.log(e),l(`pageChange`,{page:e})}Zr({repoName:`@htmlbricks/hb-sidenav-link`,version:Xr.version});var d={get id(){return n()},set id(e=``){n(e),ut()},get companylogouri(){return r()},set companylogouri(e=`https://upload.wikimedia.org/wikipedia/commons/8/80/Wikipedia-logo-v2.svg`){r(e),ut()},get navlinks(){return i()},set navlinks(e=[]){i(e),ut()},get navpage(){return a()},set navpage(e=`home`){a(e),ut()},get groups(){return o()},set groups(e=[]){o(e),ut()},get companytitle(){return s()},set companytitle(e=``){s(e),ut()},get enablefooter(){return c()},set enablefooter(e=!0){c(e),ut()}},f=si();Ar(`127py2f`,e=>{$(e,Qr())});var p=en(f);kr(p,t,`test`,{},null);var m=L(p,2),h=en(m),g=en(h);kr(g,t,`header`,{part:`header`},null);var _=L(g,2),v=e=>{var t=ei(),n=en(t),i=e=>{var t=$r();z(()=>Rr(t,`src`,r())),$(e,t)};yr(n,e=>{r()&&e(i)});var a=L(n);Ae(t),z(()=>dr(a,` ${s()??``}`)),$(e,t)};yr(_,e=>{s()&&e(v)}),Ae(h);var y=L(h,2),b=en(y),x=e=>{var t=cr();Cr(tn(t),17,()=>i().filter(e=>!e.group),e=>e.key,(e,t)=>{var n=ti();z(()=>zr(n,`navlink`,JSON.stringify(Z(t)))),z(()=>zr(n,`navpage`,a())),Pr(n,1,`svelte-127py2f`),er(`pageChange`,n,e=>u(e.detail.page)),$(e,n)}),$(e,t)},S=Ot(()=>i()?.length&&typeof i()==`object`&&i().filter(e=>!e.group)?.length);yr(b,e=>{Z(S)&&e(x)});var ee=L(b,2),C=e=>{var t=cr();Cr(tn(t),17,o,e=>e.key,(e,t)=>{var n=ri(),r=tn(n),o=en(r,!0);Ae(r),Cr(L(r,4),17,()=>i().filter(e=>e.group&&e.group===Z(t).key),e=>e.key,(e,t)=>{var n=ni();z(()=>zr(n,`navlink`,JSON.stringify(Z(t)))),z(()=>zr(n,`navpage`,a())),Pr(n,1,`svelte-127py2f`),er(`pageChange`,n,e=>u(e.detail.page)),$(e,n)}),z(()=>dr(o,Z(t).label)),$(e,n)}),$(e,t)};yr(ee,e=>{o()?.length&&i().length&&typeof i()==`object`&&e(C)});var te=L(ee,2),ne=e=>{var t=cr();Cr(tn(t),16,()=>i().filter(e=>e.group&&(!o()?.length||!o().map(e=>e.key).includes(e.group))).map(e=>e.group).filter((e,t,n)=>n.indexOf(e)===t),e=>e,(e,t)=>{var n=ai(),r=tn(n),o=en(r,!0);Ae(r),Cr(L(r,4),17,()=>i().filter(e=>e.group&&e.group===t),e=>e.key,(e,t)=>{var n=ii();z(()=>zr(n,`navlink`,JSON.stringify(Z(t)))),z(()=>zr(n,`navpage`,a())),Pr(n,1,`svelte-127py2f`),er(`pageChange`,n,e=>u(e.detail.page)),$(e,n)}),z(()=>dr(o,t)),$(e,n)}),$(e,t)};yr(te,e=>{typeof i()==`object`&&i()?.length&&e(ne)}),Ae(y);var re=L(y,2),ie=e=>{var n=oi();kr(L(tn(n),2),t,`footer`,{},e=>{$(e,sr(`footer`))}),$(e,n)};return yr(re,e=>{c()&&e(ie)}),Ae(m),Ae(f),$(e,f),Ve(d)}customElements.define(`hb-sidebar-desktop`,Yr(li,{id:{},companylogouri:{},navlinks:{},navpage:{},groups:{},companytitle:{},enablefooter:{}},[`test`,`header`,`footer`],[],{mode:`open`})),e.Component=li})(this[`sidebar-desktop`]=this[`sidebar-desktop`]||{});
|
|
148
|
+
//# sourceMappingURL=main.iife.js.map
|