@htmlbricks/hb-sidebar-desktop 0.60.0 → 0.60.2
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 +1 -1
- package/manifest.json +1 -1
- package/package.json +1 -1
package/main.iife.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
(function(fn){"use strict";typeof window<"u"&&((window.__svelte??={}).v??=new Set).add("5");const at=1,lt=2,un=4,_r=8,mr=16,gr=1,br=4,wr=8,yr=16,Er=1,$r=2,wt="[",yt="[!",Et="]",Fe={},L=Symbol(),xr="http://www.w3.org/1999/xhtml",cn=!1;var $t=Array.isArray,kr=Array.prototype.indexOf,xt=Array.from,ot=Object.keys,qe=Object.defineProperty,Se=Object.getOwnPropertyDescriptor,Tr=Object.getOwnPropertyDescriptors,Sr=Object.prototype,Nr=Array.prototype,dn=Object.getPrototypeOf,vn=Object.isExtensible;function hn(e){for(var t=0;t<e.length;t++)e[t]()}function Ar(){var e,t,n=new Promise((r,i)=>{e=r,t=i});return{promise:n,resolve:e,reject:t}}const Y=2,kt=4,Tt=8,He=16,_e=32,we=64,pn=128,z=256,ft=512,j=1024,J=2048,ye=4096,te=8192,Ne=16384,St=32768,Nt=65536,_n=1<<17,mn=1<<18,Ue=1<<19,Cr=1<<20,At=1<<21,Ct=1<<22,Ae=1<<23,ut=Symbol("$state"),gn=Symbol("legacy props"),Or=Symbol(""),Ot=new class extends Error{name="StaleReactionError";message="The reaction that called `getAbortSignal()` was re-run or destroyed"},Rt=3,Be=8;function Rr(){throw new Error("https://svelte.dev/e/await_outside_boundary")}function Ir(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function Pr(e){throw new Error("https://svelte.dev/e/effect_in_teardown")}function Mr(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function Lr(e){throw new Error("https://svelte.dev/e/effect_orphan")}function Dr(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function jr(){throw new Error("https://svelte.dev/e/hydration_failed")}function Fr(e){throw new Error("https://svelte.dev/e/props_invalid_value")}function qr(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function Hr(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function Ur(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function ct(e){console.warn("https://svelte.dev/e/hydration_mismatch")}let x=!1;function V(e){x=e}let S;function H(e){if(e===null)throw ct(),Fe;return S=e}function Qe(){return H(ae(S))}function Ce(e){if(x){if(ae(S)!==null)throw ct(),Fe;S=e}}function It(){for(var e=0,t=S;;){if(t.nodeType===Be){var n=t.data;if(n===Et){if(e===0)return t;e-=1}else(n===wt||n===yt)&&(e+=1)}var r=ae(t);t.remove(),t=r}}function bn(e){if(!e||e.nodeType!==Be)throw ct(),Fe;return e.data}function wn(e){return e===this.v}function Br(e,t){return e!=e?t==t:e!==t||e!==null&&typeof e=="object"||typeof e=="function"}function yn(e){return!Br(e,this.v)}let Yr=!1,ne=null;function dt(e){ne=e}function En(e,t=!1,n){ne={p:ne,c:null,e:null,s:e,x:null,l:null}}function $n(e){var t=ne,n=t.e;if(n!==null){t.e=null;for(var r of n)Yn(r)}return e!==void 0&&(t.x=e),ne=t.p,e??{}}function xn(){return!0}const Vr=new WeakMap;function Wr(e){var t=$;if(t===null)return k.f|=Ae,e;if((t.f&St)===0){if((t.f&pn)===0)throw!t.parent&&e instanceof Error&&kn(e),e;t.b.error(e)}else Pt(e,t)}function Pt(e,t){for(;t!==null;){if((t.f&pn)!==0)try{t.b.error(e);return}catch(n){e=n}t=t.parent}throw e instanceof Error&&kn(e),e}function kn(e){const t=Vr.get(e);t&&(qe(e,"message",{value:t.message}),qe(e,"stack",{value:t.stack}))}let et=[],Mt=[];function Tn(){var e=et;et=[],hn(e)}function Gr(){var e=Mt;Mt=[],hn(e)}function Sn(e){et.length===0&&queueMicrotask(Tn),et.push(e)}function Xr(){et.length>0&&Tn(),Mt.length>0&&Gr()}function zr(){const e=$.b;return e===null&&Rr(),e}function Lt(e){var t=Y|J,n=k!==null&&(k.f&Y)!==0?k:null;return $===null||n!==null&&(n.f&z)!==0?t|=z:$.f|=Ue,{ctx:ne,deps:null,effects:null,equals:wn,f:t,fn:e,reactions:null,rv:0,v:L,wv:0,parent:n??$,ac:null}}function Jr(e,t){let n=$;n===null&&Ir();var r=n.b,i=void 0,s=tt(L),a=null,o=!k;return oi(()=>{try{var l=e();a&&Promise.resolve(l).catch(()=>{})}catch(h){l=Promise.reject(h)}var f=()=>l;i=a?.then(f,f)??Promise.resolve(l),a=i;var c=M,v=r.is_pending();o&&(r.update_pending_count(1),v||c.increment());const m=(h,u=void 0)=>{a=null,v||c.activate(),u?u!==Ot&&(s.f|=Ae,nt(s,u)):((s.f&Ae)!==0&&(s.f^=Ae),nt(s,h)),o&&(r.update_pending_count(-1),v||c.decrement()),On()};if(i.then(m,h=>m(null,h||"unknown")),c)return()=>{queueMicrotask(()=>c.neuter())}}),new Promise(l=>{function f(c){function v(){c===i?l(s):f(i)}c.then(v,v)}f(i)})}function Nn(e){const t=Lt(e);return t.equals=yn,t}function An(e){var t=e.effects;if(t!==null){e.effects=null;for(var n=0;n<t.length;n+=1)ue(t[n])}}function Kr(e){for(var t=e.parent;t!==null;){if((t.f&Y)===0)return t;t=t.parent}return null}function Dt(e){var t,n=$;de(Kr(e));try{An(e),t=nr(e)}finally{de(n)}return t}function Cn(e){var t=Dt(e);if(e.equals(t)||(e.v=t,e.wv=er()),!Le){var n=(ke||(e.f&z)!==0)&&e.deps!==null?ye:j;U(e,n)}}function Zr(e,t,n){const r=Lt;if(t.length===0){n(e.map(r));return}var i=M,s=$,a=Qr(),o=zr();Promise.all(t.map(l=>Jr(l))).then(l=>{i?.activate(),a();try{n([...e.map(r),...l])}catch(f){(s.f&Ne)===0&&Pt(f,s)}i?.deactivate(),On()}).catch(l=>{o.error(l)})}function Qr(){var e=$,t=k,n=ne,r=M;return function(){de(e),K(t),dt(n),r?.activate()}}function On(){de(null),K(null),dt(null)}const jt=new Set;let M=null,Rn=new Set,vt=[];function In(){const e=vt.shift();vt.length>0&&queueMicrotask(In),e()}let Oe=[],ht=null,Ft=!1,pt=!1;class Re{current=new Map;#t=new Map;#e=new Set;#n=0;#f=null;#u=!1;#i=[];#a=[];#s=[];#r=[];#l=[];#c=[];#d=[];skipped_effects=new Set;process(t){Oe=[];for(const i of t)this.#h(i);if(this.#i.length===0&&this.#n===0){this.#v();var n=this.#s,r=this.#r;this.#s=[],this.#r=[],this.#l=[],M=null,Mn(n),Mn(r),M===null?M=this:jt.delete(this),this.#f?.resolve()}else this.#o(this.#s),this.#o(this.#r),this.#o(this.#l);for(const i of this.#i)Xe(i);for(const i of this.#a)Xe(i);this.#i=[],this.#a=[]}#h(t){t.f^=j;for(var n=t.first;n!==null;){var r=n.f,i=(r&(_e|we))!==0,s=i&&(r&j)!==0,a=s||(r&te)!==0||this.skipped_effects.has(n);if(!a&&n.fn!==null){if(i)n.f^=j;else if((r&kt)!==0)this.#r.push(n);else if((r&j)===0)if((r&Ct)!==0){var o=n.b?.is_pending()?this.#a:this.#i;o.push(n)}else _t(n)&&((n.f&He)!==0&&this.#l.push(n),Xe(n));var l=n.first;if(l!==null){n=l;continue}}var f=n.parent;for(n=n.next;n===null&&f!==null;)n=f.next,f=f.parent}}#o(t){for(const n of t)((n.f&J)!==0?this.#c:this.#d).push(n),U(n,j);t.length=0}capture(t,n){this.#t.has(t)||this.#t.set(t,n),this.current.set(t,t.v)}activate(){M=this}deactivate(){M=null;for(const t of Rn)if(Rn.delete(t),t(),M!==null)break}neuter(){this.#u=!0}flush(){Oe.length>0?Pn():this.#v(),M===this&&(this.#n===0&&jt.delete(this),this.deactivate())}#v(){if(!this.#u)for(const t of this.#e)t();this.#e.clear()}increment(){this.#n+=1}decrement(){if(this.#n-=1,this.#n===0){for(const t of this.#c)U(t,J),Ye(t);for(const t of this.#d)U(t,ye),Ye(t);this.#s=[],this.#r=[],this.flush()}else this.deactivate()}add_callback(t){this.#e.add(t)}settled(){return(this.#f??=Ar()).promise}static ensure(){if(M===null){const t=M=new Re;jt.add(M),pt||Re.enqueue(()=>{M===t&&t.flush()})}return M}static enqueue(t){vt.length===0&&queueMicrotask(In),vt.unshift(t)}}function Ee(e){var t=pt;pt=!0;try{for(var n;;){if(Xr(),Oe.length===0&&(M?.flush(),Oe.length===0))return ht=null,n;Pn()}}finally{pt=t}}function Pn(){var e=Ge;Ft=!0;try{var t=0;for(Jn(!0);Oe.length>0;){var n=Re.ensure();if(t++>1e3){var r,i;ei()}n.process(Oe),$e.clear()}}finally{Ft=!1,Jn(e),ht=null}}function ei(){try{Dr()}catch(e){Pt(e,ht)}}let Ie=null;function Mn(e){var t=e.length;if(t!==0){for(var n=0;n<t;){var r=e[n++];if((r.f&(Ne|te))===0&&_t(r)&&(Ie=[],Xe(r),r.deps===null&&r.first===null&&r.nodes_start===null&&(r.teardown===null&&r.ac===null?Gn(r):r.fn=null),Ie?.length>0)){$e.clear();for(const i of Ie)Xe(i);Ie=[]}}Ie=null}}function Ye(e){for(var t=ht=e;t.parent!==null;){t=t.parent;var n=t.f;if(Ft&&t===$&&(n&He)!==0)return;if((n&(we|_e))!==0){if((n&j)===0)return;t.f^=j}}Oe.push(t)}const $e=new Map;function tt(e,t){var n={f:0,v:e,reactions:null,equals:wn,rv:0,wv:0};return n}function se(e,t){const n=tt(e);return di(n),n}function Ln(e,t=!1,n=!0){const r=tt(e);return t||(r.equals=yn),r}function me(e,t,n=!1){k!==null&&(!ce||(k.f&_n)!==0)&&xn()&&(k.f&(Y|He|Ct|_n))!==0&&!ge?.includes(e)&&Ur();let r=n?Pe(t):t;return nt(e,r)}function nt(e,t){if(!e.equals(t)){var n=e.v;Le?$e.set(e,t):$e.set(e,n),e.v=t;var r=Re.ensure();r.capture(e,n),(e.f&Y)!==0&&((e.f&J)!==0&&Dt(e),U(e,(e.f&z)===0?j:ye)),e.wv=er(),Dn(e,J),$!==null&&($.f&j)!==0&&($.f&(_e|we))===0&&(Z===null?vi([e]):Z.push(e))}return t}function qt(e){me(e,e.v+1)}function Dn(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,o=(a&J)===0;o&&U(s,t),(a&Y)!==0?Dn(s,ye):o&&((a&He)!==0&&Ie!==null&&Ie.push(s),Ye(s))}}function Pe(e){if(typeof e!="object"||e===null||ut in e)return e;const t=dn(e);if(t!==Sr&&t!==Nr)return e;var n=new Map,r=$t(e),i=se(0),s=De,a=o=>{if(De===s)return o();var l=k,f=De;K(null),Qn(s);var c=o();return K(l),Qn(f),c};return r&&n.set("length",se(e.length)),new Proxy(e,{defineProperty(o,l,f){(!("value"in f)||f.configurable===!1||f.enumerable===!1||f.writable===!1)&&qr();var c=n.get(l);return c===void 0?c=a(()=>{var v=se(f.value);return n.set(l,v),v}):me(c,f.value,!0),!0},deleteProperty(o,l){var f=n.get(l);if(f===void 0){if(l in o){const c=a(()=>se(L));n.set(l,c),qt(i)}}else me(f,L),qt(i);return!0},get(o,l,f){if(l===ut)return e;var c=n.get(l),v=l in o;if(c===void 0&&(!v||Se(o,l)?.writable)&&(c=a(()=>{var h=Pe(v?o[l]:L),u=se(h);return u}),n.set(l,c)),c!==void 0){var m=R(c);return m===L?void 0:m}return Reflect.get(o,l,f)},getOwnPropertyDescriptor(o,l){var f=Reflect.getOwnPropertyDescriptor(o,l);if(f&&"value"in f){var c=n.get(l);c&&(f.value=R(c))}else if(f===void 0){var v=n.get(l),m=v?.v;if(v!==void 0&&m!==L)return{enumerable:!0,configurable:!0,value:m,writable:!0}}return f},has(o,l){if(l===ut)return!0;var f=n.get(l),c=f!==void 0&&f.v!==L||Reflect.has(o,l);if(f!==void 0||$!==null&&(!c||Se(o,l)?.writable)){f===void 0&&(f=a(()=>{var m=c?Pe(o[l]):L,h=se(m);return h}),n.set(l,f));var v=R(f);if(v===L)return!1}return c},set(o,l,f,c){var v=n.get(l),m=l in o;if(r&&l==="length")for(var h=f;h<v.v;h+=1){var u=n.get(h+"");u!==void 0?me(u,L):h in o&&(u=a(()=>se(L)),n.set(h+"",u))}if(v===void 0)(!m||Se(o,l)?.writable)&&(v=a(()=>se(void 0)),me(v,Pe(f)),n.set(l,v));else{m=v.v!==L;var p=a(()=>Pe(f));me(v,p)}var g=Reflect.getOwnPropertyDescriptor(o,l);if(g?.set&&g.set.call(c,f),!m){if(r&&typeof l=="string"){var y=n.get("length"),b=Number(l);Number.isInteger(b)&&b>=y.v&&me(y,b+1)}qt(i)}return!0},ownKeys(o){R(i);var l=Reflect.ownKeys(o).filter(v=>{var m=n.get(v);return m===void 0||m.v!==L});for(var[f,c]of n)c.v!==L&&!(f in o)&&l.push(f);return l},setPrototypeOf(){Hr()}})}var jn,Fn,qn,Hn;function Ht(){if(jn===void 0){jn=window,Fn=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,n=Text.prototype;qn=Se(t,"firstChild").get,Hn=Se(t,"nextSibling").get,vn(e)&&(e.__click=void 0,e.__className=void 0,e.__attributes=null,e.__style=void 0,e.__e=void 0),vn(n)&&(n.__t=void 0)}}function re(e=""){return document.createTextNode(e)}function xe(e){return qn.call(e)}function ae(e){return Hn.call(e)}function Me(e,t){if(!x)return xe(e);var n=xe(S);if(n===null)n=S.appendChild(re());else if(t&&n.nodeType!==Rt){var r=re();return n?.before(r),H(r),r}return H(n),n}function Ve(e,t){if(!x){var n=xe(e);return n instanceof Comment&&n.data===""?ae(n):n}return S}function le(e,t=1,n=!1){let r=x?S:e;for(var i;t--;)i=r,r=ae(r);if(!x)return r;if(n&&r?.nodeType!==Rt){var s=re();return r===null?i?.after(s):r.before(s),H(s),s}return H(r),r}function Un(e){e.textContent=""}function Bn(){return!1}function Ut(e){var t=k,n=$;K(null),de(null);try{return e()}finally{K(t),de(n)}}function ti(e){$===null&&k===null&&Lr(),k!==null&&(k.f&z)!==0&&$===null&&Mr(),Le&&Pr()}function ni(e,t){var n=t.last;n===null?t.last=t.first=e:(n.next=e,e.prev=n,t.last=e)}function oe(e,t,n,r=!0){var i=$;i!==null&&(i.f&te)!==0&&(e|=te);var s={ctx:ne,deps:null,nodes_start:null,nodes_end:null,f:e|J,first:null,fn:t,last:null,next:null,parent:i,b:i&&i.b,prev:null,teardown:null,transitions:null,wv:0,ac:null};if(n)try{Xe(s),s.f|=St}catch(l){throw ue(s),l}else t!==null&&Ye(s);if(r){var a=s;if(n&&a.deps===null&&a.teardown===null&&a.nodes_start===null&&a.first===a.last&&(a.f&Ue)===0&&(a=a.first),a!==null&&(a.parent=i,i!==null&&ni(a,i),k!==null&&(k.f&Y)!==0&&(e&we)===0)){var o=k;(o.effects??=[]).push(a)}}return s}function ri(e){const t=oe(Tt,null,!1);return U(t,j),t.teardown=e,t}function ii(e){ti();var t=$.f,n=!k&&(t&_e)!==0&&(t&St)===0;if(n){var r=ne;(r.e??=[]).push(e)}else return Yn(e)}function Yn(e){return oe(kt|Cr,e,!1)}function si(e){Re.ensure();const t=oe(we|Ue,e,!0);return()=>{ue(t)}}function ai(e){Re.ensure();const t=oe(we|Ue,e,!0);return(n={})=>new Promise(r=>{n.outro?Yt(t,()=>{ue(t),r(void 0)}):(ue(t),r(void 0))})}function li(e){return oe(kt,e,!1)}function oi(e){return oe(Ct|Ue,e,!0)}function fi(e,t=0){return oe(Tt|t,e,!0)}function fe(e,t=[],n=[]){Zr(t,n,r=>{oe(Tt,()=>e(...r.map(R)),!0)})}function Bt(e,t=0){var n=oe(He|t,e,!0);return n}function We(e,t=!0){return oe(_e|Ue,e,!0,t)}function Vn(e){var t=e.teardown;if(t!==null){const n=Le,r=k;Kn(!0),K(null);try{t.call(null)}finally{Kn(n),K(r)}}}function Wn(e,t=!1){var n=e.first;for(e.first=e.last=null;n!==null;){const i=n.ac;i!==null&&Ut(()=>{i.abort(Ot)});var r=n.next;(n.f&we)!==0?n.parent=null:ue(n,t),n=r}}function ui(e){for(var t=e.first;t!==null;){var n=t.next;(t.f&_e)===0&&ue(t),t=n}}function ue(e,t=!0){var n=!1;(t||(e.f&mn)!==0)&&e.nodes_start!==null&&e.nodes_end!==null&&(ci(e.nodes_start,e.nodes_end),n=!0),Wn(e,t&&!n),mt(e,0),U(e,Ne);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&&Gn(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes_start=e.nodes_end=e.ac=null}function ci(e,t){for(;e!==null;){var n=e===t?null:ae(e);e.remove(),e=n}}function Gn(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 Yt(e,t){var n=[];Vt(e,n,!0),Xn(n,()=>{ue(e),t&&t()})}function Xn(e,t){var n=e.length;if(n>0){var r=()=>--n||t();for(var i of e)i.out(r)}else t()}function Vt(e,t,n){if((e.f&te)===0){if(e.f^=te,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&Nt)!==0||(r.f&_e)!==0;Vt(r,t,s?n:!1),r=i}}}function Wt(e){zn(e,!0)}function zn(e,t){if((e.f&te)!==0){e.f^=te,(e.f&j)===0&&(U(e,J),Ye(e));for(var n=e.first;n!==null;){var r=n.next,i=(n.f&Nt)!==0||(n.f&_e)!==0;zn(n,i?t:!1),n=r}if(e.transitions!==null)for(const s of e.transitions)(s.is_global||t)&&s.in()}}let Ge=!1;function Jn(e){Ge=e}let Le=!1;function Kn(e){Le=e}let k=null,ce=!1;function K(e){k=e}let $=null;function de(e){$=e}let ge=null;function di(e){k!==null&&(ge===null?ge=[e]:ge.push(e))}let F=null,W=0,Z=null;function vi(e){Z=e}let Zn=1,rt=0,De=rt;function Qn(e){De=e}let ke=!1;function er(){return++Zn}function _t(e){var t=e.f;if((t&J)!==0)return!0;if((t&ye)!==0){var n=e.deps,r=(t&z)!==0;if(n!==null){var i,s,a=(t&ft)!==0,o=r&&$!==null&&!ke,l=n.length;if((a||o)&&($===null||($.f&Ne)===0)){var f=e,c=f.parent;for(i=0;i<l;i++)s=n[i],(a||!s?.reactions?.includes(f))&&(s.reactions??=[]).push(f);a&&(f.f^=ft),o&&c!==null&&(c.f&z)===0&&(f.f^=z)}for(i=0;i<l;i++)if(s=n[i],_t(s)&&Cn(s),s.wv>e.wv)return!0}(!r||$!==null&&!ke)&&U(e,j)}return!1}function tr(e,t,n=!0){var r=e.reactions;if(r!==null&&!ge?.includes(e))for(var i=0;i<r.length;i++){var s=r[i];(s.f&Y)!==0?tr(s,t,!1):t===s&&(n?U(s,J):(s.f&j)!==0&&U(s,ye),Ye(s))}}function nr(e){var t=F,n=W,r=Z,i=k,s=ke,a=ge,o=ne,l=ce,f=De,c=e.f;F=null,W=0,Z=null,ke=(c&z)!==0&&(ce||!Ge||k===null),k=(c&(_e|we))===0?e:null,ge=null,dt(e.ctx),ce=!1,De=++rt,e.ac!==null&&(Ut(()=>{e.ac.abort(Ot)}),e.ac=null);try{e.f|=At;var v=e.fn,m=v(),h=e.deps;if(F!==null){var u;if(mt(e,W),h!==null&&W>0)for(h.length=W+F.length,u=0;u<F.length;u++)h[W+u]=F[u];else e.deps=h=F;if(!ke||(c&Y)!==0&&e.reactions!==null)for(u=W;u<h.length;u++)(h[u].reactions??=[]).push(e)}else h!==null&&W<h.length&&(mt(e,W),h.length=W);if(xn()&&Z!==null&&!ce&&h!==null&&(e.f&(Y|ye|J))===0)for(u=0;u<Z.length;u++)tr(Z[u],e);return i!==null&&i!==e&&(rt++,Z!==null&&(r===null?r=Z:r.push(...Z))),(e.f&Ae)!==0&&(e.f^=Ae),m}catch(p){return Wr(p)}finally{e.f^=At,F=t,W=n,Z=r,k=i,ke=s,ge=a,dt(o),ce=l,De=f}}function hi(e,t){let n=t.reactions;if(n!==null){var r=kr.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&Y)!==0&&(F===null||!F.includes(t))&&(U(t,ye),(t.f&(z|ft))===0&&(t.f^=ft),An(t),mt(t,0))}function mt(e,t){var n=e.deps;if(n!==null)for(var r=t;r<n.length;r++)hi(e,n[r])}function Xe(e){var t=e.f;if((t&Ne)===0){U(e,j);var n=$,r=Ge;$=e,Ge=!0;try{(t&He)!==0?ui(e):Wn(e),Vn(e);var i=nr(e);e.teardown=typeof i=="function"?i:null,e.wv=Zn;var s;cn&&Yr&&(e.f&J)!==0&&e.deps}finally{Ge=r,$=n}}}function R(e){var t=e.f,n=(t&Y)!==0;if(k!==null&&!ce){var r=$!==null&&($.f&Ne)!==0;if(!r&&!ge?.includes(e)){var i=k.deps;if((k.f&At)!==0)e.rv<rt&&(e.rv=rt,F===null&&i!==null&&i[W]===e?W++:F===null?F=[e]:(!ke||!F.includes(e))&&F.push(e));else{(k.deps??=[]).push(e);var s=e.reactions;s===null?e.reactions=[k]:s.includes(k)||s.push(k)}}}else if(n&&e.deps===null&&e.effects===null){var a=e,o=a.parent;o!==null&&(o.f&z)===0&&(a.f^=z)}if(Le){if($e.has(e))return $e.get(e);if(n){a=e;var l=a.v;return((a.f&j)===0&&a.reactions!==null||rr(a))&&(l=Dt(a)),$e.set(a,l),l}}else n&&(a=e,_t(a)&&Cn(a));if((e.f&Ae)!==0)throw e.v;return e.v}function rr(e){if(e.v===L)return!0;if(e.deps===null)return!1;for(const t of e.deps)if($e.has(t)||(t.f&Y)!==0&&rr(t))return!0;return!1}function pi(e){var t=ce;try{return ce=!0,e()}finally{ce=t}}const _i=-7169;function U(e,t){e.f=e.f&_i|t}const mi=new Set,ir=new Set;function gi(e,t,n,r={}){function i(s){if(r.capture||it.call(t,s),!s.cancelBubble)return Ut(()=>n?.call(this,s))}return e.startsWith("pointer")||e.startsWith("touch")||e==="wheel"?Sn(()=>{t.addEventListener(e,i,r)}):t.addEventListener(e,i,r),i}function Gt(e,t,n,r,i){var s={capture:r,passive:i},a=gi(e,t,n,s);(t===document.body||t===window||t===document||t instanceof HTMLMediaElement)&&ri(()=>{t.removeEventListener(e,a,s)})}let sr=null;function it(e){var t=this,n=t.ownerDocument,r=e.type,i=e.composedPath?.()||[],s=i[0]||e.target;sr=e;var a=0,o=sr===e&&e.__root;if(o){var l=i.indexOf(o);if(l!==-1&&(t===document||t===window)){e.__root=t;return}var f=i.indexOf(t);if(f===-1)return;l<=f&&(a=l)}if(s=i[a]||e.target,s!==t){qe(e,"currentTarget",{configurable:!0,get(){return s||n}});var c=k,v=$;K(null),de(null);try{for(var m,h=[];s!==null;){var u=s.assignedSlot||s.parentNode||s.host||null;try{var p=s["__"+r];if(p!=null&&(!s.disabled||e.target===s))if($t(p)){var[g,...y]=p;g.apply(s,[e,...y])}else p.call(s,e)}catch(b){m?h.push(b):m=b}if(e.cancelBubble||u===t||u===null)break;s=u}if(m){for(let b of h)queueMicrotask(()=>{throw b});throw m}}finally{e.__root=t,delete e.currentTarget,K(c),de(v)}}}let Q;function bi(){Q=void 0}function wi(e){let t=null,n=x;var r;if(x){for(t=S,Q===void 0&&(Q=xe(document.head));Q!==null&&(Q.nodeType!==Be||Q.data!==wt);)Q=ae(Q);Q===null?V(!1):Q=H(ae(Q))}x||(r=document.head.appendChild(re()));try{Bt(()=>e(r),mn)}finally{n&&(V(!0),Q=S,H(t))}}function yi(e){var t=document.createElement("template");return t.innerHTML=e.replaceAll("<!>","<!---->"),t.content}function Te(e,t){var n=$;n.nodes_start===null&&(n.nodes_start=e,n.nodes_end=t)}function ve(e,t){var n=(t&Er)!==0,r=(t&$r)!==0,i,s=!e.startsWith("<!>");return()=>{if(x)return Te(S,null),S;i===void 0&&(i=yi(s?e:"<!>"+e),n||(i=xe(i)));var a=r||Fn?document.importNode(i,!0):i.cloneNode(!0);if(n){var o=xe(a),l=a.lastChild;Te(o,l)}else Te(a,a);return a}}function Ei(e=""){if(!x){var t=re(e+"");return Te(t,t),t}var n=S;return n.nodeType!==Rt&&(n.before(n=re()),H(n)),Te(n,n),n}function Xt(){if(x)return Te(S,null),S;var e=document.createDocumentFragment(),t=document.createComment(""),n=re();return e.append(t,n),Te(t,n),e}function q(e,t){if(x){$.nodes_end=S,Qe();return}e!==null&&e.before(t)}const $i=["touchstart","touchmove"];function xi(e){return $i.includes(e)}function zt(e,t){var n=t==null?"":typeof t=="object"?t+"":t;n!==(e.__t??=e.nodeValue)&&(e.__t=n,e.nodeValue=n+"")}function ar(e,t){return lr(e,t)}function ki(e,t){Ht(),t.intro=t.intro??!1;const n=t.target,r=x,i=S;try{for(var s=xe(n);s&&(s.nodeType!==Be||s.data!==wt);)s=ae(s);if(!s)throw Fe;V(!0),H(s),Qe();const a=lr(e,{...t,anchor:s});if(S===null||S.nodeType!==Be||S.data!==Et)throw ct(),Fe;return V(!1),a}catch(a){if(a instanceof Error&&a.message.split(`
|
|
2
|
-
`).some(o=>o.startsWith("https://svelte.dev/e/")))throw a;return a!==Fe&&console.warn("Failed to hydrate: ",a),t.recover===!1&&jr(),Ht(),Un(n),V(!1),ar(e,t)}finally{V(r),H(i),bi()}}const ze=new Map;function lr(e,{target:t,anchor:n,props:r={},events:i,context:s,intro:a=!0}){Ht();var o=new Set,l=v=>{for(var m=0;m<v.length;m++){var h=v[m];if(!o.has(h)){o.add(h);var u=xi(h);t.addEventListener(h,it,{passive:u});var p=ze.get(h);p===void 0?(document.addEventListener(h,it,{passive:u}),ze.set(h,1)):ze.set(h,p+1)}}};l(xt(mi)),ir.add(l);var f=void 0,c=ai(()=>{var v=n??t.appendChild(re());return We(()=>{if(s){En({});var m=ne;m.c=s}i&&(r.$$events=i),x&&Te(v,null),f=e(v,r)||{},x&&($.nodes_end=S),s&&$n()}),()=>{for(var m of o){t.removeEventListener(m,it);var h=ze.get(m);--h===0?(document.removeEventListener(m,it),ze.delete(m)):ze.set(m,h)}ir.delete(l),v!==n&&v.parentNode?.removeChild(v)}});return Jt.set(f,c),f}let Jt=new WeakMap;function Ti(e,t){const n=Jt.get(e);return n?(Jt.delete(e),n(t)):Promise.resolve()}function Je(e,t,n=!1){x&&Qe();var r=e,i=null,s=null,a=L,o=n?Nt:0,l=!1;const f=(h,u=!0)=>{l=!0,m(u,h)};var c=null;function v(){c!==null&&(c.lastChild.remove(),r.before(c),c=null);var h=a?i:s,u=a?s:i;h&&Wt(h),u&&Yt(u,()=>{a?s=null:i=null})}const m=(h,u)=>{if(a===(a=h))return;let p=!1;if(x){const A=bn(r)===yt;!!a===A&&(r=It(),H(r),V(!1),p=!0)}var g=Bn(),y=r;if(g&&(c=document.createDocumentFragment(),c.append(y=re())),a?i??=u&&We(()=>u(y)):s??=u&&We(()=>u(y)),g){var b=M,C=a?i:s,O=a?s:i;C&&b.skipped_effects.delete(C),O&&b.skipped_effects.add(O),b.add_callback(v)}else v();p&&V(!0)};Bt(()=>{l=!1,t(f),l||m(null,null)},o),x&&(r=S)}function Si(e,t,n){for(var r=e.items,i=[],s=t.length,a=0;a<s;a++)Vt(t[a].e,i,!0);var o=s>0&&i.length===0&&n!==null;if(o){var l=n.parentNode;Un(l),l.append(n),r.clear(),he(e,t[0].prev,t[s-1].next)}Xn(i,()=>{for(var f=0;f<s;f++){var c=t[f];o||(r.delete(c.k),he(e,c.prev,c.next)),ue(c.e,!o)}})}function st(e,t,n,r,i,s=null){var a=e,o={flags:t,items:new Map,first:null},l=(t&un)!==0;if(l){var f=e;a=x?H(xe(f)):f.appendChild(re())}x&&Qe();var c=null,v=!1,m=new Map,h=Nn(()=>{var y=n();return $t(y)?y:y==null?[]:xt(y)}),u,p;function g(){Ni(p,u,o,m,a,i,t,r,n),s!==null&&(u.length===0?c?Wt(c):c=We(()=>s(a)):c!==null&&Yt(c,()=>{c=null}))}Bt(()=>{p??=$,u=R(h);var y=u.length;if(v&&y===0)return;v=y===0;let b=!1;if(x){var C=bn(a)===yt;C!==(y===0)&&(a=It(),H(a),V(!1),b=!0)}if(x){for(var O=null,A,w=0;w<y;w++){if(S.nodeType===Be&&S.data===Et){a=S,b=!0,V(!1);break}var E=u[w],I=r(E,w);A=Kt(S,o,O,null,E,I,w,i,t,n),o.items.set(I,A),O=A}y>0&&H(It())}if(x)y===0&&s&&(c=We(()=>s(a)));else if(Bn()){var pe=new Set,be=M;for(w=0;w<y;w+=1){E=u[w],I=r(E,w);var ie=o.items.get(I)??m.get(I);ie?(t&(at|lt))!==0&&or(ie,E,w,t):(A=Kt(null,o,null,null,E,I,w,i,t,n,!0),m.set(I,A)),pe.add(I)}for(const[B,d]of o.items)pe.has(B)||be.skipped_effects.add(d.e);be.add_callback(g)}else g();b&&V(!0),R(h)}),x&&(a=S)}function Ni(e,t,n,r,i,s,a,o,l){var f=(a&_r)!==0,c=(a&(at|lt))!==0,v=t.length,m=n.items,h=n.first,u=h,p,g=null,y,b=[],C=[],O,A,w,E;if(f)for(E=0;E<v;E+=1)O=t[E],A=o(O,E),w=m.get(A),w!==void 0&&(w.a?.measure(),(y??=new Set).add(w));for(E=0;E<v;E+=1){if(O=t[E],A=o(O,E),w=m.get(A),w===void 0){var I=r.get(A);if(I!==void 0){r.delete(A),m.set(A,I);var pe=g?g.next:u;he(n,g,I),he(n,I,pe),Zt(I,pe,i),g=I}else{var be=u?u.e.nodes_start:i;g=Kt(be,n,g,g===null?n.first:g.next,O,A,E,s,a,l)}m.set(A,g),b=[],C=[],u=g.next;continue}if(c&&or(w,O,E,a),(w.e.f&te)!==0&&(Wt(w.e),f&&(w.a?.unfix(),(y??=new Set).delete(w))),w!==u){if(p!==void 0&&p.has(w)){if(b.length<C.length){var ie=C[0],B;g=ie.prev;var d=b[0],_=b[b.length-1];for(B=0;B<b.length;B+=1)Zt(b[B],ie,i);for(B=0;B<C.length;B+=1)p.delete(C[B]);he(n,d.prev,_.next),he(n,g,d),he(n,_,ie),u=ie,g=_,E-=1,b=[],C=[]}else p.delete(w),Zt(w,u,i),he(n,w.prev,w.next),he(n,w,g===null?n.first:g.next),he(n,g,w),g=w;continue}for(b=[],C=[];u!==null&&u.k!==A;)(u.e.f&te)===0&&(p??=new Set).add(u),C.push(u),u=u.next;if(u===null)continue;w=u}b.push(w),g=w,u=w.next}if(u!==null||p!==void 0){for(var N=p===void 0?[]:xt(p);u!==null;)(u.e.f&te)===0&&N.push(u),u=u.next;var T=N.length;if(T>0){var D=(a&un)!==0&&v===0?i:null;if(f){for(E=0;E<T;E+=1)N[E].a?.measure();for(E=0;E<T;E+=1)N[E].a?.fix()}Si(n,N,D)}}f&&Sn(()=>{if(y!==void 0)for(w of y)w.a?.apply()}),e.first=n.first&&n.first.e,e.last=g&&g.e;for(var P of r.values())ue(P.e);r.clear()}function or(e,t,n,r){(r&at)!==0&&nt(e.v,t),(r<)!==0?nt(e.i,n):e.i=n}function Kt(e,t,n,r,i,s,a,o,l,f,c){var v=(l&at)!==0,m=(l&mr)===0,h=v?m?Ln(i,!1,!1):tt(i):i,u=(l<)===0?a:tt(a),p={i:u,v:h,k:s,a:null,e:null,prev:n,next:r};try{if(e===null){var g=document.createDocumentFragment();g.append(e=re())}return p.e=We(()=>o(e,h,u,f),x),p.e.prev=n&&n.e,p.e.next=r&&r.e,n===null?c||(t.first=p):(n.next=p,n.e.next=p.e),r!==null&&(r.prev=p,r.e.prev=p.e),p}finally{}}function Zt(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=ae(s);i.before(s),s=a}}function he(e,t,n){t===null?e.first=n:(t.next=n,t.e.next=n&&n.e),n!==null&&(n.prev=t,n.e.prev=t&&t.e)}function Qt(e,t,n,r,i){x&&Qe();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){li(()=>{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 Ci(e,t,n){var r=""+e;return r}function Oi(e,t){return e==null?null:String(e)}function en(e,t,n,r,i,s){var a=e.__className;if(x||a!==n||a===void 0){var o=Ci(n);(!x||o!==e.getAttribute("class"))&&(o==null?e.removeAttribute("class"):e.className=o),e.__className=n}return s}function tn(e,t,n,r){var i=e.__style;if(x||i!==t){var s=Oi(t);(!x||s!==e.getAttribute("style"))&&(s==null?e.removeAttribute("style"):e.style.cssText=s),e.__style=t}return r}const Ri=Symbol("is custom element"),Ii=Symbol("is html");function fr(e,t,n,r){var i=Pi(e);x&&(i[t]=e.getAttribute(t),t==="src"||t==="srcset"||t==="href"&&e.nodeName==="LINK")||i[t]!==(i[t]=n)&&(t==="loading"&&(e[Or]=n),n==null?e.removeAttribute(t):typeof n!="string"&&ur(e).includes(t)?e[t]=n:e.setAttribute(t,n))}function Ke(e,t,n){var r=k,i=$;let s=x;x&&V(!1),K(null),de(null);try{t!=="style"&&(nn.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:fr(e,t,n==null?n:String(n))}finally{K(r),de(i),s&&V(!0)}}function Pi(e){return e.__attributes??={[Ri]:e.nodeName.includes("-"),[Ii]:e.namespaceURI===xr}}var nn=new Map;function ur(e){var t=e.getAttribute("is")||e.nodeName,n=nn.get(t);if(n)return n;nn.set(t,n=[]);for(var r,i=e,s=Element.prototype;s!==i;){r=Tr(i);for(var a in r)r[a].set&&n.push(a);i=dn(i)}return n}let gt=!1;function Mi(e){var t=gt;try{return gt=!1,[e(),gt]}finally{gt=t}}function je(e,t,n,r){var i=(n&wr)!==0,s=(n&yr)!==0,a=r,o=!0,l=()=>(o&&(o=!1,a=s?pi(r):r),a),f;if(i){var c=ut in e||gn in e;f=Se(e,t)?.set??(c&&t in e?b=>e[t]=b:void 0)}var v,m=!1;i?[v,m]=Mi(()=>e[t]):v=e[t],v===void 0&&r!==void 0&&(v=l(),f&&(Fr(),f(v)));var h;if(h=()=>{var b=e[t];return b===void 0?l():(o=!0,b)},(n&br)===0)return h;if(f){var u=e.$$legacy;return(function(b,C){return arguments.length>0?((!C||u||m)&&f(C?h():b),b):h()})}var p=!1,g=((n&gr)!==0?Lt:Nn)(()=>(p=!1,h()));i&&R(g);var y=$;return(function(b,C){if(arguments.length>0){const O=C?R(g):i?Pe(b):b;return me(g,O),p=!0,a!==void 0&&(a=O),b}return Le&&p||(y.f&Ne)!==0?g.v:R(g)})}function Li(e){return new Di(e)}class Di{#t;#e;constructor(t){var n=new Map,r=(s,a)=>{var o=Ln(a,!1,!1);return n.set(s,o),o};const i=new Proxy({...t.props||{},$$events:{}},{get(s,a){return R(n.get(a)??r(a,Reflect.get(s,a)))},has(s,a){return a===gn?!0:(R(n.get(a)??r(a,Reflect.get(s,a))),Reflect.has(s,a))},set(s,a,o){return me(n.get(a)??r(a,o),o),Reflect.set(s,a,o)}});this.#e=(t.hydrate?ki:ar)(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)&&Ee(),this.#t=i.$$events;for(const s of Object.keys(this.#e))s==="$set"||s==="$destroy"||s==="$on"||qe(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=()=>{Ti(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=ji(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]=bt(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=si(()=>{fi(()=>{this.$$r=!0;for(const r of ot(this.$$c)){if(!this.$$p_d[r]?.reflect)continue;this.$$d[r]=this.$$c[r];const i=bt(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]=bt(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 ot(this.$$p_d).find(t=>this.$$p_d[t].attribute===e||!this.$$p_d[t].attribute&&t.toLowerCase()===e)||e}});function bt(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 ji(e){const t={};return e.childNodes.forEach(n=>{t[n.slot||"default"]=!0}),t}function Fi(e,t,n,r,i,s){let a=class extends cr{constructor(){super(e,n,i),this.$$p_d=t}static get observedAttributes(){return ot(t).map(o=>(t[o].attribute||o).toLowerCase())}};return ot(t).forEach(o=>{qe(a.prototype,o,{get(){return this.$$c&&o in this.$$c?this.$$c[o]:this.$$d[o]},set(l){l=bt(o,l,t),this.$$d[o]=l;var f=this.$$c;if(f){var c=Se(f,o)?.get;c?f[o]=l:f.$set({[o]:l})}}})}),r.forEach(o=>{qe(a.prototype,o,{get(){return this.$$c?.[o]}})}),e.element=a,a}const qi={version:"0.60.0"};function Hi(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)}}function Ui(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Ze={},rn,dr;function Bi(){if(dr)return rn;dr=1;var e=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,t=/\n/g,n=/^\s*/,r=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,i=/^:\s*/,s=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,a=/^[;\s]*/,o=/^\s+|\s+$/g,l=`
|
|
2
|
+
`).some(o=>o.startsWith("https://svelte.dev/e/")))throw a;return a!==Fe&&console.warn("Failed to hydrate: ",a),t.recover===!1&&jr(),Ht(),Un(n),V(!1),ar(e,t)}finally{V(r),H(i),bi()}}const ze=new Map;function lr(e,{target:t,anchor:n,props:r={},events:i,context:s,intro:a=!0}){Ht();var o=new Set,l=v=>{for(var m=0;m<v.length;m++){var h=v[m];if(!o.has(h)){o.add(h);var u=xi(h);t.addEventListener(h,it,{passive:u});var p=ze.get(h);p===void 0?(document.addEventListener(h,it,{passive:u}),ze.set(h,1)):ze.set(h,p+1)}}};l(xt(mi)),ir.add(l);var f=void 0,c=ai(()=>{var v=n??t.appendChild(re());return We(()=>{if(s){En({});var m=ne;m.c=s}i&&(r.$$events=i),x&&Te(v,null),f=e(v,r)||{},x&&($.nodes_end=S),s&&$n()}),()=>{for(var m of o){t.removeEventListener(m,it);var h=ze.get(m);--h===0?(document.removeEventListener(m,it),ze.delete(m)):ze.set(m,h)}ir.delete(l),v!==n&&v.parentNode?.removeChild(v)}});return Jt.set(f,c),f}let Jt=new WeakMap;function Ti(e,t){const n=Jt.get(e);return n?(Jt.delete(e),n(t)):Promise.resolve()}function Je(e,t,n=!1){x&&Qe();var r=e,i=null,s=null,a=L,o=n?Nt:0,l=!1;const f=(h,u=!0)=>{l=!0,m(u,h)};var c=null;function v(){c!==null&&(c.lastChild.remove(),r.before(c),c=null);var h=a?i:s,u=a?s:i;h&&Wt(h),u&&Yt(u,()=>{a?s=null:i=null})}const m=(h,u)=>{if(a===(a=h))return;let p=!1;if(x){const A=bn(r)===yt;!!a===A&&(r=It(),H(r),V(!1),p=!0)}var g=Bn(),y=r;if(g&&(c=document.createDocumentFragment(),c.append(y=re())),a?i??=u&&We(()=>u(y)):s??=u&&We(()=>u(y)),g){var b=M,C=a?i:s,O=a?s:i;C&&b.skipped_effects.delete(C),O&&b.skipped_effects.add(O),b.add_callback(v)}else v();p&&V(!0)};Bt(()=>{l=!1,t(f),l||m(null,null)},o),x&&(r=S)}function Si(e,t,n){for(var r=e.items,i=[],s=t.length,a=0;a<s;a++)Vt(t[a].e,i,!0);var o=s>0&&i.length===0&&n!==null;if(o){var l=n.parentNode;Un(l),l.append(n),r.clear(),he(e,t[0].prev,t[s-1].next)}Xn(i,()=>{for(var f=0;f<s;f++){var c=t[f];o||(r.delete(c.k),he(e,c.prev,c.next)),ue(c.e,!o)}})}function st(e,t,n,r,i,s=null){var a=e,o={flags:t,items:new Map,first:null},l=(t&un)!==0;if(l){var f=e;a=x?H(xe(f)):f.appendChild(re())}x&&Qe();var c=null,v=!1,m=new Map,h=Nn(()=>{var y=n();return $t(y)?y:y==null?[]:xt(y)}),u,p;function g(){Ni(p,u,o,m,a,i,t,r,n),s!==null&&(u.length===0?c?Wt(c):c=We(()=>s(a)):c!==null&&Yt(c,()=>{c=null}))}Bt(()=>{p??=$,u=R(h);var y=u.length;if(v&&y===0)return;v=y===0;let b=!1;if(x){var C=bn(a)===yt;C!==(y===0)&&(a=It(),H(a),V(!1),b=!0)}if(x){for(var O=null,A,w=0;w<y;w++){if(S.nodeType===Be&&S.data===Et){a=S,b=!0,V(!1);break}var E=u[w],I=r(E,w);A=Kt(S,o,O,null,E,I,w,i,t,n),o.items.set(I,A),O=A}y>0&&H(It())}if(x)y===0&&s&&(c=We(()=>s(a)));else if(Bn()){var pe=new Set,be=M;for(w=0;w<y;w+=1){E=u[w],I=r(E,w);var ie=o.items.get(I)??m.get(I);ie?(t&(at|lt))!==0&&or(ie,E,w,t):(A=Kt(null,o,null,null,E,I,w,i,t,n,!0),m.set(I,A)),pe.add(I)}for(const[B,d]of o.items)pe.has(B)||be.skipped_effects.add(d.e);be.add_callback(g)}else g();b&&V(!0),R(h)}),x&&(a=S)}function Ni(e,t,n,r,i,s,a,o,l){var f=(a&_r)!==0,c=(a&(at|lt))!==0,v=t.length,m=n.items,h=n.first,u=h,p,g=null,y,b=[],C=[],O,A,w,E;if(f)for(E=0;E<v;E+=1)O=t[E],A=o(O,E),w=m.get(A),w!==void 0&&(w.a?.measure(),(y??=new Set).add(w));for(E=0;E<v;E+=1){if(O=t[E],A=o(O,E),w=m.get(A),w===void 0){var I=r.get(A);if(I!==void 0){r.delete(A),m.set(A,I);var pe=g?g.next:u;he(n,g,I),he(n,I,pe),Zt(I,pe,i),g=I}else{var be=u?u.e.nodes_start:i;g=Kt(be,n,g,g===null?n.first:g.next,O,A,E,s,a,l)}m.set(A,g),b=[],C=[],u=g.next;continue}if(c&&or(w,O,E,a),(w.e.f&te)!==0&&(Wt(w.e),f&&(w.a?.unfix(),(y??=new Set).delete(w))),w!==u){if(p!==void 0&&p.has(w)){if(b.length<C.length){var ie=C[0],B;g=ie.prev;var d=b[0],_=b[b.length-1];for(B=0;B<b.length;B+=1)Zt(b[B],ie,i);for(B=0;B<C.length;B+=1)p.delete(C[B]);he(n,d.prev,_.next),he(n,g,d),he(n,_,ie),u=ie,g=_,E-=1,b=[],C=[]}else p.delete(w),Zt(w,u,i),he(n,w.prev,w.next),he(n,w,g===null?n.first:g.next),he(n,g,w),g=w;continue}for(b=[],C=[];u!==null&&u.k!==A;)(u.e.f&te)===0&&(p??=new Set).add(u),C.push(u),u=u.next;if(u===null)continue;w=u}b.push(w),g=w,u=w.next}if(u!==null||p!==void 0){for(var N=p===void 0?[]:xt(p);u!==null;)(u.e.f&te)===0&&N.push(u),u=u.next;var T=N.length;if(T>0){var D=(a&un)!==0&&v===0?i:null;if(f){for(E=0;E<T;E+=1)N[E].a?.measure();for(E=0;E<T;E+=1)N[E].a?.fix()}Si(n,N,D)}}f&&Sn(()=>{if(y!==void 0)for(w of y)w.a?.apply()}),e.first=n.first&&n.first.e,e.last=g&&g.e;for(var P of r.values())ue(P.e);r.clear()}function or(e,t,n,r){(r&at)!==0&&nt(e.v,t),(r<)!==0?nt(e.i,n):e.i=n}function Kt(e,t,n,r,i,s,a,o,l,f,c){var v=(l&at)!==0,m=(l&mr)===0,h=v?m?Ln(i,!1,!1):tt(i):i,u=(l<)===0?a:tt(a),p={i:u,v:h,k:s,a:null,e:null,prev:n,next:r};try{if(e===null){var g=document.createDocumentFragment();g.append(e=re())}return p.e=We(()=>o(e,h,u,f),x),p.e.prev=n&&n.e,p.e.next=r&&r.e,n===null?c||(t.first=p):(n.next=p,n.e.next=p.e),r!==null&&(r.prev=p,r.e.prev=p.e),p}finally{}}function Zt(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=ae(s);i.before(s),s=a}}function he(e,t,n){t===null?e.first=n:(t.next=n,t.e.next=n&&n.e),n!==null&&(n.prev=t,n.e.prev=t&&t.e)}function Qt(e,t,n,r,i){x&&Qe();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){li(()=>{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 Ci(e,t,n){var r=""+e;return r}function Oi(e,t){return e==null?null:String(e)}function en(e,t,n,r,i,s){var a=e.__className;if(x||a!==n||a===void 0){var o=Ci(n);(!x||o!==e.getAttribute("class"))&&(o==null?e.removeAttribute("class"):e.className=o),e.__className=n}return s}function tn(e,t,n,r){var i=e.__style;if(x||i!==t){var s=Oi(t);(!x||s!==e.getAttribute("style"))&&(s==null?e.removeAttribute("style"):e.style.cssText=s),e.__style=t}return r}const Ri=Symbol("is custom element"),Ii=Symbol("is html");function fr(e,t,n,r){var i=Pi(e);x&&(i[t]=e.getAttribute(t),t==="src"||t==="srcset"||t==="href"&&e.nodeName==="LINK")||i[t]!==(i[t]=n)&&(t==="loading"&&(e[Or]=n),n==null?e.removeAttribute(t):typeof n!="string"&&ur(e).includes(t)?e[t]=n:e.setAttribute(t,n))}function Ke(e,t,n){var r=k,i=$;let s=x;x&&V(!1),K(null),de(null);try{t!=="style"&&(nn.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:fr(e,t,n==null?n:String(n))}finally{K(r),de(i),s&&V(!0)}}function Pi(e){return e.__attributes??={[Ri]:e.nodeName.includes("-"),[Ii]:e.namespaceURI===xr}}var nn=new Map;function ur(e){var t=e.getAttribute("is")||e.nodeName,n=nn.get(t);if(n)return n;nn.set(t,n=[]);for(var r,i=e,s=Element.prototype;s!==i;){r=Tr(i);for(var a in r)r[a].set&&n.push(a);i=dn(i)}return n}let gt=!1;function Mi(e){var t=gt;try{return gt=!1,[e(),gt]}finally{gt=t}}function je(e,t,n,r){var i=(n&wr)!==0,s=(n&yr)!==0,a=r,o=!0,l=()=>(o&&(o=!1,a=s?pi(r):r),a),f;if(i){var c=ut in e||gn in e;f=Se(e,t)?.set??(c&&t in e?b=>e[t]=b:void 0)}var v,m=!1;i?[v,m]=Mi(()=>e[t]):v=e[t],v===void 0&&r!==void 0&&(v=l(),f&&(Fr(),f(v)));var h;if(h=()=>{var b=e[t];return b===void 0?l():(o=!0,b)},(n&br)===0)return h;if(f){var u=e.$$legacy;return(function(b,C){return arguments.length>0?((!C||u||m)&&f(C?h():b),b):h()})}var p=!1,g=((n&gr)!==0?Lt:Nn)(()=>(p=!1,h()));i&&R(g);var y=$;return(function(b,C){if(arguments.length>0){const O=C?R(g):i?Pe(b):b;return me(g,O),p=!0,a!==void 0&&(a=O),b}return Le&&p||(y.f&Ne)!==0?g.v:R(g)})}function Li(e){return new Di(e)}class Di{#t;#e;constructor(t){var n=new Map,r=(s,a)=>{var o=Ln(a,!1,!1);return n.set(s,o),o};const i=new Proxy({...t.props||{},$$events:{}},{get(s,a){return R(n.get(a)??r(a,Reflect.get(s,a)))},has(s,a){return a===gn?!0:(R(n.get(a)??r(a,Reflect.get(s,a))),Reflect.has(s,a))},set(s,a,o){return me(n.get(a)??r(a,o),o),Reflect.set(s,a,o)}});this.#e=(t.hydrate?ki:ar)(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)&&Ee(),this.#t=i.$$events;for(const s of Object.keys(this.#e))s==="$set"||s==="$destroy"||s==="$on"||qe(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=()=>{Ti(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=ji(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]=bt(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=si(()=>{fi(()=>{this.$$r=!0;for(const r of ot(this.$$c)){if(!this.$$p_d[r]?.reflect)continue;this.$$d[r]=this.$$c[r];const i=bt(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]=bt(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 ot(this.$$p_d).find(t=>this.$$p_d[t].attribute===e||!this.$$p_d[t].attribute&&t.toLowerCase()===e)||e}});function bt(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 ji(e){const t={};return e.childNodes.forEach(n=>{t[n.slot||"default"]=!0}),t}function Fi(e,t,n,r,i,s){let a=class extends cr{constructor(){super(e,n,i),this.$$p_d=t}static get observedAttributes(){return ot(t).map(o=>(t[o].attribute||o).toLowerCase())}};return ot(t).forEach(o=>{qe(a.prototype,o,{get(){return this.$$c&&o in this.$$c?this.$$c[o]:this.$$d[o]},set(l){l=bt(o,l,t),this.$$d[o]=l;var f=this.$$c;if(f){var c=Se(f,o)?.get;c?f[o]=l:f.$set({[o]:l})}}})}),r.forEach(o=>{qe(a.prototype,o,{get(){return this.$$c?.[o]}})}),e.element=a,a}const qi={version:"0.60.2"};function Hi(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)}}function Ui(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Ze={},rn,dr;function Bi(){if(dr)return rn;dr=1;var e=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,t=/\n/g,n=/^\s*/,r=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,i=/^:\s*/,s=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,a=/^[;\s]*/,o=/^\s+|\s+$/g,l=`
|
|
3
3
|
`,f="/",c="*",v="",m="comment",h="declaration";rn=function(p,g){if(typeof p!="string")throw new TypeError("First argument must be a string");if(!p)return[];g=g||{};var y=1,b=1;function C(d){var _=d.match(t);_&&(y+=_.length);var N=d.lastIndexOf(l);b=~N?d.length-N:b+d.length}function O(){var d={line:y,column:b};return function(_){return _.position=new A(d),I(),_}}function A(d){this.start=d,this.end={line:y,column:b},this.source=g.source}A.prototype.content=p;function w(d){var _=new Error(g.source+":"+y+":"+b+": "+d);if(_.reason=d,_.filename=g.source,_.line=y,_.column=b,_.source=p,!g.silent)throw _}function E(d){var _=d.exec(p);if(_){var N=_[0];return C(N),p=p.slice(N.length),_}}function I(){E(n)}function pe(d){var _;for(d=d||[];_=be();)_!==!1&&d.push(_);return d}function be(){var d=O();if(!(f!=p.charAt(0)||c!=p.charAt(1))){for(var _=2;v!=p.charAt(_)&&(c!=p.charAt(_)||f!=p.charAt(_+1));)++_;if(_+=2,v===p.charAt(_-1))return w("End of comment missing");var N=p.slice(2,_-2);return b+=2,C(N),p=p.slice(_),b+=2,d({type:m,comment:N})}}function ie(){var d=O(),_=E(r);if(_){if(be(),!E(i))return w("property missing ':'");var N=E(s),T=d({type:h,property:u(_[0].replace(e,v)),value:N?u(N[0].replace(e,v)):v});return E(a),T}}function B(){var d=[];pe(d);for(var _;_=ie();)_!==!1&&(d.push(_),pe(d));return d}return I(),B()};function u(p){return p?p.replace(o,v):v}return rn}var vr;function Yi(){if(vr)return Ze;vr=1;var e=Ze&&Ze.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(Ze,"__esModule",{value:!0}),Ze.default=n;var t=e(Bi());function n(r,i){var s=null;if(!r||typeof r!="string")return s;var a=(0,t.default)(r),o=typeof i=="function";return a.forEach(function(l){if(l.type==="declaration"){var f=l.property,c=l.value;o?i(f,c,l):c&&(s=s||{},s[f]=c)}}),s}return Ze}var Vi=Yi();const hr=Ui(Vi);hr.default;var Wi=ve('<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@latest/font/bootstrap-icons.css" class="svelte-1nr22pp"/>'),Gi=ve('<img style="height:40px;margin-right:10px" alt="" class="svelte-1nr22pp"/>'),Xi=ve('<div style="margin-top:10px" class="svelte-1nr22pp"><!> </div>'),zi=ve("<hb-sidenav-link></hb-sidenav-link>",2),Ji=ve("<hb-sidenav-link></hb-sidenav-link>",2),Ki=ve('<h5 style="margin-top: 40px;" class="svelte-1nr22pp"> </h5> <hr style="margin-top:0px;margin-bottom: 10px;" class="svelte-1nr22pp"/> <!>',1),Zi=ve("<hb-sidenav-link></hb-sidenav-link>",2),Qi=ve('<h5 style="margin-top: 40px;" class="svelte-1nr22pp"> </h5> <hr style="margin-top:0px;margin-bottom: 10px;" class="svelte-1nr22pp"/> <!>',1),es=ve('<hr class="svelte-1nr22pp"/> <!>',1),ts=ve('<div id="webcomponent" style="position:relative;height:100%;" class="svelte-1nr22pp"><!> <div class="d-flex flex-column p-3 bg-light svelte-1nr22pp" style="height:100%;padding-top:0px!important;position: relative; max-height: 100%; overflow-y: auto;"><h4 class="offcanvas-title svelte-1nr22pp"><!> <!></h4> <ul class="nav nav-pills flex-column mb-auto svelte-1nr22pp" style="margin-top:25px"><!> <!> <!></ul> <!></div></div>');const ns={hash:"svelte-1nr22pp",code:`@charset "UTF-8";
|
|
4
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");
|
|
5
5
|
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@latest/font/bootstrap-icons.css");
|
package/manifest.json
CHANGED