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