@htmlbricks/hb-sidebar-desktop 0.60.2 → 0.60.4
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 +71 -29
- package/main.iife.js.map +1 -1
- package/manifest.json +1 -1
- package/package.json +1 -1
package/main.iife.js
CHANGED
|
@@ -1,36 +1,36 @@
|
|
|
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.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
|
-
`,f="/",c="*",v="",
|
|
1
|
+
(function(or){"use strict";typeof window<"u"&&((window.__svelte??={}).v??=new Set).add("5");const at=1,lt=2,fr=4,pn=8,bn=16,gn=1,mn=4,wn=8,yn=16,xn=1,En=2,wt="[",yt="[!",xt="]",Fe={},L=Symbol(),$n="http://www.w3.org/1999/xhtml",ur=!1;var Et=Array.isArray,kn=Array.prototype.indexOf,$t=Array.from,ot=Object.keys,qe=Object.defineProperty,Se=Object.getOwnPropertyDescriptor,Tn=Object.getOwnPropertyDescriptors,Sn=Object.prototype,Nn=Array.prototype,cr=Object.getPrototypeOf,dr=Object.isExtensible;function vr(e){for(var t=0;t<e.length;t++)e[t]()}function An(){var e,t,r=new Promise((n,i)=>{e=n,t=i});return{promise:r,resolve:e,reject:t}}const Y=2,kt=4,Tt=8,He=16,pe=32,we=64,hr=128,z=256,ft=512,j=1024,J=2048,ye=4096,te=8192,Ne=16384,St=32768,Nt=65536,_r=1<<17,pr=1<<18,Ue=1<<19,Cn=1<<20,At=1<<21,Ct=1<<22,Ae=1<<23,ut=Symbol("$state"),br=Symbol("legacy props"),On=Symbol(""),Ot=new class extends Error{name="StaleReactionError";message="The reaction that called `getAbortSignal()` was re-run or destroyed"},Rt=3,Be=8;function Rn(){throw new Error("https://svelte.dev/e/await_outside_boundary")}function In(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function Pn(e){throw new Error("https://svelte.dev/e/effect_in_teardown")}function Mn(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function Ln(e){throw new Error("https://svelte.dev/e/effect_orphan")}function Dn(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function jn(){throw new Error("https://svelte.dev/e/hydration_failed")}function Fn(e){throw new Error("https://svelte.dev/e/props_invalid_value")}function qn(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function Hn(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function Un(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function ct(e){console.warn("https://svelte.dev/e/hydration_mismatch")}let $=!1;function V(e){$=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($){if(ae(S)!==null)throw ct(),Fe;S=e}}function It(){for(var e=0,t=S;;){if(t.nodeType===Be){var r=t.data;if(r===xt){if(e===0)return t;e-=1}else(r===wt||r===yt)&&(e+=1)}var n=ae(t);t.remove(),t=n}}function gr(e){if(!e||e.nodeType!==Be)throw ct(),Fe;return e.data}function mr(e){return e===this.v}function Bn(e,t){return e!=e?t==t:e!==t||e!==null&&typeof e=="object"||typeof e=="function"}function wr(e){return!Bn(e,this.v)}let Yn=!1,re=null;function dt(e){re=e}function yr(e,t=!1,r){re={p:re,c:null,e:null,s:e,x:null,l:null}}function xr(e){var t=re,r=t.e;if(r!==null){t.e=null;for(var n of r)Br(n)}return e!==void 0&&(t.x=e),re=t.p,e??{}}function Er(){return!0}const Vn=new WeakMap;function Wn(e){var t=E;if(t===null)return k.f|=Ae,e;if((t.f&St)===0){if((t.f&hr)===0)throw!t.parent&&e instanceof Error&&$r(e),e;t.b.error(e)}else Pt(e,t)}function Pt(e,t){for(;t!==null;){if((t.f&hr)!==0)try{t.b.error(e);return}catch(r){e=r}t=t.parent}throw e instanceof Error&&$r(e),e}function $r(e){const t=Vn.get(e);t&&(qe(e,"message",{value:t.message}),qe(e,"stack",{value:t.stack}))}let et=[],Mt=[];function kr(){var e=et;et=[],vr(e)}function Gn(){var e=Mt;Mt=[],vr(e)}function Tr(e){et.length===0&&queueMicrotask(kr),et.push(e)}function Xn(){et.length>0&&kr(),Mt.length>0&&Gn()}function zn(){const e=E.b;return e===null&&Rn(),e}function Lt(e){var t=Y|J,r=k!==null&&(k.f&Y)!==0?k:null;return E===null||r!==null&&(r.f&z)!==0?t|=z:E.f|=Ue,{ctx:re,deps:null,effects:null,equals:mr,f:t,fn:e,reactions:null,rv:0,v:L,wv:0,parent:r??E,ac:null}}function Jn(e,t){let r=E;r===null&&In();var n=r.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=n.is_pending();o&&(n.update_pending_count(1),v||c.increment());const b=(h,u=void 0)=>{a=null,v||c.activate(),u?u!==Ot&&(s.f|=Ae,rt(s,u)):((s.f&Ae)!==0&&(s.f^=Ae),rt(s,h)),o&&(n.update_pending_count(-1),v||c.decrement()),Cr()};if(i.then(b,h=>b(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 Sr(e){const t=Lt(e);return t.equals=wr,t}function Nr(e){var t=e.effects;if(t!==null){e.effects=null;for(var r=0;r<t.length;r+=1)ue(t[r])}}function Kn(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,r=E;de(Kn(e));try{Nr(e),t=tn(e)}finally{de(r)}return t}function Ar(e){var t=Dt(e);if(e.equals(t)||(e.v=t,e.wv=Qr()),!Le){var r=(ke||(e.f&z)!==0)&&e.deps!==null?ye:j;U(e,r)}}function Zn(e,t,r){const n=Lt;if(t.length===0){r(e.map(n));return}var i=M,s=E,a=Qn(),o=zn();Promise.all(t.map(l=>Jn(l))).then(l=>{i?.activate(),a();try{r([...e.map(n),...l])}catch(f){(s.f&Ne)===0&&Pt(f,s)}i?.deactivate(),Cr()}).catch(l=>{o.error(l)})}function Qn(){var e=E,t=k,r=re,n=M;return function(){de(e),K(t),dt(r),n?.activate()}}function Cr(){de(null),K(null),dt(null)}const jt=new Set;let M=null,Or=new Set,vt=[];function Rr(){const e=vt.shift();vt.length>0&&queueMicrotask(Rr),e()}let Oe=[],ht=null,Ft=!1,_t=!1;class Re{current=new Map;#t=new Map;#e=new Set;#r=0;#f=null;#u=!1;#i=[];#a=[];#s=[];#n=[];#l=[];#c=[];#d=[];skipped_effects=new Set;process(t){Oe=[];for(const i of t)this.#h(i);if(this.#i.length===0&&this.#r===0){this.#v();var r=this.#s,n=this.#n;this.#s=[],this.#n=[],this.#l=[],M=null,Pr(r),Pr(n),M===null?M=this:jt.delete(this),this.#f?.resolve()}else this.#o(this.#s),this.#o(this.#n),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 r=t.first;r!==null;){var n=r.f,i=(n&(pe|we))!==0,s=i&&(n&j)!==0,a=s||(n&te)!==0||this.skipped_effects.has(r);if(!a&&r.fn!==null){if(i)r.f^=j;else if((n&kt)!==0)this.#n.push(r);else if((n&j)===0)if((n&Ct)!==0){var o=r.b?.is_pending()?this.#a:this.#i;o.push(r)}else pt(r)&&((r.f&He)!==0&&this.#l.push(r),Xe(r));var l=r.first;if(l!==null){r=l;continue}}var f=r.parent;for(r=r.next;r===null&&f!==null;)r=f.next,f=f.parent}}#o(t){for(const r of t)((r.f&J)!==0?this.#c:this.#d).push(r),U(r,j);t.length=0}capture(t,r){this.#t.has(t)||this.#t.set(t,r),this.current.set(t,t.v)}activate(){M=this}deactivate(){M=null;for(const t of Or)if(Or.delete(t),t(),M!==null)break}neuter(){this.#u=!0}flush(){Oe.length>0?Ir():this.#v(),M===this&&(this.#r===0&&jt.delete(this),this.deactivate())}#v(){if(!this.#u)for(const t of this.#e)t();this.#e.clear()}increment(){this.#r+=1}decrement(){if(this.#r-=1,this.#r===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.#n=[],this.flush()}else this.deactivate()}add_callback(t){this.#e.add(t)}settled(){return(this.#f??=An()).promise}static ensure(){if(M===null){const t=M=new Re;jt.add(M),_t||Re.enqueue(()=>{M===t&&t.flush()})}return M}static enqueue(t){vt.length===0&&queueMicrotask(Rr),vt.unshift(t)}}function xe(e){var t=_t;_t=!0;try{for(var r;;){if(Xn(),Oe.length===0&&(M?.flush(),Oe.length===0))return ht=null,r;Ir()}}finally{_t=t}}function Ir(){var e=Ge;Ft=!0;try{var t=0;for(zr(!0);Oe.length>0;){var r=Re.ensure();if(t++>1e3){var n,i;ei()}r.process(Oe),Ee.clear()}}finally{Ft=!1,zr(e),ht=null}}function ei(){try{Dn()}catch(e){Pt(e,ht)}}let Ie=null;function Pr(e){var t=e.length;if(t!==0){for(var r=0;r<t;){var n=e[r++];if((n.f&(Ne|te))===0&&pt(n)&&(Ie=[],Xe(n),n.deps===null&&n.first===null&&n.nodes_start===null&&(n.teardown===null&&n.ac===null?Wr(n):n.fn=null),Ie?.length>0)){Ee.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 r=t.f;if(Ft&&t===E&&(r&He)!==0)return;if((r&(we|pe))!==0){if((r&j)===0)return;t.f^=j}}Oe.push(t)}const Ee=new Map;function tt(e,t){var r={f:0,v:e,reactions:null,equals:mr,rv:0,wv:0};return r}function se(e,t){const r=tt(e);return di(r),r}function Mr(e,t=!1,r=!0){const n=tt(e);return t||(n.equals=wr),n}function be(e,t,r=!1){k!==null&&(!ce||(k.f&_r)!==0)&&Er()&&(k.f&(Y|He|Ct|_r))!==0&&!ge?.includes(e)&&Un();let n=r?Pe(t):t;return rt(e,n)}function rt(e,t){if(!e.equals(t)){var r=e.v;Le?Ee.set(e,t):Ee.set(e,r),e.v=t;var n=Re.ensure();n.capture(e,r),(e.f&Y)!==0&&((e.f&J)!==0&&Dt(e),U(e,(e.f&z)===0?j:ye)),e.wv=Qr(),Lr(e,J),E!==null&&(E.f&j)!==0&&(E.f&(pe|we))===0&&(Z===null?vi([e]):Z.push(e))}return t}function qt(e){be(e,e.v+1)}function Lr(e,t){var r=e.reactions;if(r!==null)for(var n=r.length,i=0;i<n;i++){var s=r[i],a=s.f,o=(a&J)===0;o&&U(s,t),(a&Y)!==0?Lr(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=cr(e);if(t!==Sn&&t!==Nn)return e;var r=new Map,n=Et(e),i=se(0),s=De,a=o=>{if(De===s)return o();var l=k,f=De;K(null),Zr(s);var c=o();return K(l),Zr(f),c};return n&&r.set("length",se(e.length)),new Proxy(e,{defineProperty(o,l,f){(!("value"in f)||f.configurable===!1||f.enumerable===!1||f.writable===!1)&&qn();var c=r.get(l);return c===void 0?c=a(()=>{var v=se(f.value);return r.set(l,v),v}):be(c,f.value,!0),!0},deleteProperty(o,l){var f=r.get(l);if(f===void 0){if(l in o){const c=a(()=>se(L));r.set(l,c),qt(i)}}else be(f,L),qt(i);return!0},get(o,l,f){if(l===ut)return e;var c=r.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}),r.set(l,c)),c!==void 0){var b=R(c);return b===L?void 0:b}return Reflect.get(o,l,f)},getOwnPropertyDescriptor(o,l){var f=Reflect.getOwnPropertyDescriptor(o,l);if(f&&"value"in f){var c=r.get(l);c&&(f.value=R(c))}else if(f===void 0){var v=r.get(l),b=v?.v;if(v!==void 0&&b!==L)return{enumerable:!0,configurable:!0,value:b,writable:!0}}return f},has(o,l){if(l===ut)return!0;var f=r.get(l),c=f!==void 0&&f.v!==L||Reflect.has(o,l);if(f!==void 0||E!==null&&(!c||Se(o,l)?.writable)){f===void 0&&(f=a(()=>{var b=c?Pe(o[l]):L,h=se(b);return h}),r.set(l,f));var v=R(f);if(v===L)return!1}return c},set(o,l,f,c){var v=r.get(l),b=l in o;if(n&&l==="length")for(var h=f;h<v.v;h+=1){var u=r.get(h+"");u!==void 0?be(u,L):h in o&&(u=a(()=>se(L)),r.set(h+"",u))}if(v===void 0)(!b||Se(o,l)?.writable)&&(v=a(()=>se(void 0)),be(v,Pe(f)),r.set(l,v));else{b=v.v!==L;var _=a(()=>Pe(f));be(v,_)}var g=Reflect.getOwnPropertyDescriptor(o,l);if(g?.set&&g.set.call(c,f),!b){if(n&&typeof l=="string"){var y=r.get("length"),m=Number(l);Number.isInteger(m)&&m>=y.v&&be(y,m+1)}qt(i)}return!0},ownKeys(o){R(i);var l=Reflect.ownKeys(o).filter(v=>{var b=r.get(v);return b===void 0||b.v!==L});for(var[f,c]of r)c.v!==L&&!(f in o)&&l.push(f);return l},setPrototypeOf(){Hn()}})}var Dr,jr,Fr,qr;function Ht(){if(Dr===void 0){Dr=window,jr=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,r=Text.prototype;Fr=Se(t,"firstChild").get,qr=Se(t,"nextSibling").get,dr(e)&&(e.__click=void 0,e.__className=void 0,e.__attributes=null,e.__style=void 0,e.__e=void 0),dr(r)&&(r.__t=void 0)}}function ne(e=""){return document.createTextNode(e)}function $e(e){return Fr.call(e)}function ae(e){return qr.call(e)}function Me(e,t){if(!$)return $e(e);var r=$e(S);if(r===null)r=S.appendChild(ne());else if(t&&r.nodeType!==Rt){var n=ne();return r?.before(n),H(n),n}return H(r),r}function Ve(e,t){if(!$){var r=$e(e);return r instanceof Comment&&r.data===""?ae(r):r}return S}function le(e,t=1,r=!1){let n=$?S:e;for(var i;t--;)i=n,n=ae(n);if(!$)return n;if(r&&n?.nodeType!==Rt){var s=ne();return n===null?i?.after(s):n.before(s),H(s),s}return H(n),n}function Hr(e){e.textContent=""}function Ur(){return!1}function Ut(e){var t=k,r=E;K(null),de(null);try{return e()}finally{K(t),de(r)}}function ti(e){E===null&&k===null&&Ln(),k!==null&&(k.f&z)!==0&&E===null&&Mn(),Le&&Pn()}function ri(e,t){var r=t.last;r===null?t.last=t.first=e:(r.next=e,e.prev=r,t.last=e)}function oe(e,t,r,n=!0){var i=E;i!==null&&(i.f&te)!==0&&(e|=te);var s={ctx:re,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(r)try{Xe(s),s.f|=St}catch(l){throw ue(s),l}else t!==null&&Ye(s);if(n){var a=s;if(r&&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&&ri(a,i),k!==null&&(k.f&Y)!==0&&(e&we)===0)){var o=k;(o.effects??=[]).push(a)}}return s}function ni(e){const t=oe(Tt,null,!1);return U(t,j),t.teardown=e,t}function ii(e){ti();var t=E.f,r=!k&&(t&pe)!==0&&(t&St)===0;if(r){var n=re;(n.e??=[]).push(e)}else return Br(e)}function Br(e){return oe(kt|Cn,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(r={})=>new Promise(n=>{r.outro?Yt(t,()=>{ue(t),n(void 0)}):(ue(t),n(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=[],r=[]){Zn(t,r,n=>{oe(Tt,()=>e(...n.map(R)),!0)})}function Bt(e,t=0){var r=oe(He|t,e,!0);return r}function We(e,t=!0){return oe(pe|Ue,e,!0,t)}function Yr(e){var t=e.teardown;if(t!==null){const r=Le,n=k;Jr(!0),K(null);try{t.call(null)}finally{Jr(r),K(n)}}}function Vr(e,t=!1){var r=e.first;for(e.first=e.last=null;r!==null;){const i=r.ac;i!==null&&Ut(()=>{i.abort(Ot)});var n=r.next;(r.f&we)!==0?r.parent=null:ue(r,t),r=n}}function ui(e){for(var t=e.first;t!==null;){var r=t.next;(t.f&pe)===0&&ue(t),t=r}}function ue(e,t=!0){var r=!1;(t||(e.f&pr)!==0)&&e.nodes_start!==null&&e.nodes_end!==null&&(ci(e.nodes_start,e.nodes_end),r=!0),Vr(e,t&&!r),bt(e,0),U(e,Ne);var n=e.transitions;if(n!==null)for(const s of n)s.stop();Yr(e);var i=e.parent;i!==null&&i.first!==null&&Wr(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 r=e===t?null:ae(e);e.remove(),e=r}}function Wr(e){var t=e.parent,r=e.prev,n=e.next;r!==null&&(r.next=n),n!==null&&(n.prev=r),t!==null&&(t.first===e&&(t.first=n),t.last===e&&(t.last=r))}function Yt(e,t){var r=[];Vt(e,r,!0),Gr(r,()=>{ue(e),t&&t()})}function Gr(e,t){var r=e.length;if(r>0){var n=()=>--r||t();for(var i of e)i.out(n)}else t()}function Vt(e,t,r){if((e.f&te)===0){if(e.f^=te,e.transitions!==null)for(const a of e.transitions)(a.is_global||r)&&t.push(a);for(var n=e.first;n!==null;){var i=n.next,s=(n.f&Nt)!==0||(n.f&pe)!==0;Vt(n,t,s?r:!1),n=i}}}function Wt(e){Xr(e,!0)}function Xr(e,t){if((e.f&te)!==0){e.f^=te,(e.f&j)===0&&(U(e,J),Ye(e));for(var r=e.first;r!==null;){var n=r.next,i=(r.f&Nt)!==0||(r.f&pe)!==0;Xr(r,i?t:!1),r=n}if(e.transitions!==null)for(const s of e.transitions)(s.is_global||t)&&s.in()}}let Ge=!1;function zr(e){Ge=e}let Le=!1;function Jr(e){Le=e}let k=null,ce=!1;function K(e){k=e}let E=null;function de(e){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 Kr=1,nt=0,De=nt;function Zr(e){De=e}let ke=!1;function Qr(){return++Kr}function pt(e){var t=e.f;if((t&J)!==0)return!0;if((t&ye)!==0){var r=e.deps,n=(t&z)!==0;if(r!==null){var i,s,a=(t&ft)!==0,o=n&&E!==null&&!ke,l=r.length;if((a||o)&&(E===null||(E.f&Ne)===0)){var f=e,c=f.parent;for(i=0;i<l;i++)s=r[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=r[i],pt(s)&&Ar(s),s.wv>e.wv)return!0}(!n||E!==null&&!ke)&&U(e,j)}return!1}function en(e,t,r=!0){var n=e.reactions;if(n!==null&&!ge?.includes(e))for(var i=0;i<n.length;i++){var s=n[i];(s.f&Y)!==0?en(s,t,!1):t===s&&(r?U(s,J):(s.f&j)!==0&&U(s,ye),Ye(s))}}function tn(e){var t=F,r=W,n=Z,i=k,s=ke,a=ge,o=re,l=ce,f=De,c=e.f;F=null,W=0,Z=null,ke=(c&z)!==0&&(ce||!Ge||k===null),k=(c&(pe|we))===0?e:null,ge=null,dt(e.ctx),ce=!1,De=++nt,e.ac!==null&&(Ut(()=>{e.ac.abort(Ot)}),e.ac=null);try{e.f|=At;var v=e.fn,b=v(),h=e.deps;if(F!==null){var u;if(bt(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&&(bt(e,W),h.length=W);if(Er()&&Z!==null&&!ce&&h!==null&&(e.f&(Y|ye|J))===0)for(u=0;u<Z.length;u++)en(Z[u],e);return i!==null&&i!==e&&(nt++,Z!==null&&(n===null?n=Z:n.push(...Z))),(e.f&Ae)!==0&&(e.f^=Ae),b}catch(_){return Wn(_)}finally{e.f^=At,F=t,W=r,Z=n,k=i,ke=s,ge=a,dt(o),ce=l,De=f}}function hi(e,t){let r=t.reactions;if(r!==null){var n=kn.call(r,e);if(n!==-1){var i=r.length-1;i===0?r=t.reactions=null:(r[n]=r[i],r.pop())}}r===null&&(t.f&Y)!==0&&(F===null||!F.includes(t))&&(U(t,ye),(t.f&(z|ft))===0&&(t.f^=ft),Nr(t),bt(t,0))}function bt(e,t){var r=e.deps;if(r!==null)for(var n=t;n<r.length;n++)hi(e,r[n])}function Xe(e){var t=e.f;if((t&Ne)===0){U(e,j);var r=E,n=Ge;E=e,Ge=!0;try{(t&He)!==0?ui(e):Vr(e),Yr(e);var i=tn(e);e.teardown=typeof i=="function"?i:null,e.wv=Kr;var s;ur&&Yn&&(e.f&J)!==0&&e.deps}finally{Ge=n,E=r}}}function R(e){var t=e.f,r=(t&Y)!==0;if(k!==null&&!ce){var n=E!==null&&(E.f&Ne)!==0;if(!n&&!ge?.includes(e)){var i=k.deps;if((k.f&At)!==0)e.rv<nt&&(e.rv=nt,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(r&&e.deps===null&&e.effects===null){var a=e,o=a.parent;o!==null&&(o.f&z)===0&&(a.f^=z)}if(Le){if(Ee.has(e))return Ee.get(e);if(r){a=e;var l=a.v;return((a.f&j)===0&&a.reactions!==null||rn(a))&&(l=Dt(a)),Ee.set(a,l),l}}else r&&(a=e,pt(a)&&Ar(a));if((e.f&Ae)!==0)throw e.v;return e.v}function rn(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&Y)!==0&&rn(t))return!0;return!1}function _i(e){var t=ce;try{return ce=!0,e()}finally{ce=t}}const pi=-7169;function U(e,t){e.f=e.f&pi|t}const bi=new Set,nn=new Set;function gi(e,t,r,n={}){function i(s){if(n.capture||it.call(t,s),!s.cancelBubble)return Ut(()=>r?.call(this,s))}return e.startsWith("pointer")||e.startsWith("touch")||e==="wheel"?Tr(()=>{t.addEventListener(e,i,n)}):t.addEventListener(e,i,n),i}function Gt(e,t,r,n,i){var s={capture:n,passive:i},a=gi(e,t,r,s);(t===document.body||t===window||t===document||t instanceof HTMLMediaElement)&&ni(()=>{t.removeEventListener(e,a,s)})}let sn=null;function it(e){var t=this,r=t.ownerDocument,n=e.type,i=e.composedPath?.()||[],s=i[0]||e.target;sn=e;var a=0,o=sn===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||r}});var c=k,v=E;K(null),de(null);try{for(var b,h=[];s!==null;){var u=s.assignedSlot||s.parentNode||s.host||null;try{var _=s["__"+n];if(_!=null&&(!s.disabled||e.target===s))if(Et(_)){var[g,...y]=_;g.apply(s,[e,...y])}else _.call(s,e)}catch(m){b?h.push(m):b=m}if(e.cancelBubble||u===t||u===null)break;s=u}if(b){for(let m of h)queueMicrotask(()=>{throw m});throw b}}finally{e.__root=t,delete e.currentTarget,K(c),de(v)}}}let Q;function mi(){Q=void 0}function wi(e){let t=null,r=$;var n;if($){for(t=S,Q===void 0&&(Q=$e(document.head));Q!==null&&(Q.nodeType!==Be||Q.data!==wt);)Q=ae(Q);Q===null?V(!1):Q=H(ae(Q))}$||(n=document.head.appendChild(ne()));try{Bt(()=>e(n),pr)}finally{r&&(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 r=E;r.nodes_start===null&&(r.nodes_start=e,r.nodes_end=t)}function ve(e,t){var r=(t&xn)!==0,n=(t&En)!==0,i,s=!e.startsWith("<!>");return()=>{if($)return Te(S,null),S;i===void 0&&(i=yi(s?e:"<!>"+e),r||(i=$e(i)));var a=n||jr?document.importNode(i,!0):i.cloneNode(!0);if(r){var o=$e(a),l=a.lastChild;Te(o,l)}else Te(a,a);return a}}function xi(e=""){if(!$){var t=ne(e+"");return Te(t,t),t}var r=S;return r.nodeType!==Rt&&(r.before(r=ne()),H(r)),Te(r,r),r}function Xt(){if($)return Te(S,null),S;var e=document.createDocumentFragment(),t=document.createComment(""),r=ne();return e.append(t,r),Te(t,r),e}function q(e,t){if($){E.nodes_end=S,Qe();return}e!==null&&e.before(t)}const Ei=["touchstart","touchmove"];function $i(e){return Ei.includes(e)}function zt(e,t){var r=t==null?"":typeof t=="object"?t+"":t;r!==(e.__t??=e.nodeValue)&&(e.__t=r,e.nodeValue=r+"")}function an(e,t){return ln(e,t)}function ki(e,t){Ht(),t.intro=t.intro??!1;const r=t.target,n=$,i=S;try{for(var s=$e(r);s&&(s.nodeType!==Be||s.data!==wt);)s=ae(s);if(!s)throw Fe;V(!0),H(s),Qe();const a=ln(e,{...t,anchor:s});if(S===null||S.nodeType!==Be||S.data!==xt)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&&jn(),Ht(),Hr(r),V(!1),an(e,t)}finally{V(n),H(i),mi()}}const ze=new Map;function ln(e,{target:t,anchor:r,props:n={},events:i,context:s,intro:a=!0}){Ht();var o=new Set,l=v=>{for(var b=0;b<v.length;b++){var h=v[b];if(!o.has(h)){o.add(h);var u=$i(h);t.addEventListener(h,it,{passive:u});var _=ze.get(h);_===void 0?(document.addEventListener(h,it,{passive:u}),ze.set(h,1)):ze.set(h,_+1)}}};l($t(bi)),nn.add(l);var f=void 0,c=ai(()=>{var v=r??t.appendChild(ne());return We(()=>{if(s){yr({});var b=re;b.c=s}i&&(n.$$events=i),$&&Te(v,null),f=e(v,n)||{},$&&(E.nodes_end=S),s&&xr()}),()=>{for(var b of o){t.removeEventListener(b,it);var h=ze.get(b);--h===0?(document.removeEventListener(b,it),ze.delete(b)):ze.set(b,h)}nn.delete(l),v!==r&&v.parentNode?.removeChild(v)}});return Jt.set(f,c),f}let Jt=new WeakMap;function Ti(e,t){const r=Jt.get(e);return r?(Jt.delete(e),r(t)):Promise.resolve()}function Je(e,t,r=!1){$&&Qe();var n=e,i=null,s=null,a=L,o=r?Nt:0,l=!1;const f=(h,u=!0)=>{l=!0,b(u,h)};var c=null;function v(){c!==null&&(c.lastChild.remove(),n.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 b=(h,u)=>{if(a===(a=h))return;let _=!1;if($){const A=gr(n)===yt;!!a===A&&(n=It(),H(n),V(!1),_=!0)}var g=Ur(),y=n;if(g&&(c=document.createDocumentFragment(),c.append(y=ne())),a?i??=u&&We(()=>u(y)):s??=u&&We(()=>u(y)),g){var m=M,C=a?i:s,O=a?s:i;C&&m.skipped_effects.delete(C),O&&m.skipped_effects.add(O),m.add_callback(v)}else v();_&&V(!0)};Bt(()=>{l=!1,t(f),l||b(null,null)},o),$&&(n=S)}function Si(e,t,r){for(var n=e.items,i=[],s=t.length,a=0;a<s;a++)Vt(t[a].e,i,!0);var o=s>0&&i.length===0&&r!==null;if(o){var l=r.parentNode;Hr(l),l.append(r),n.clear(),he(e,t[0].prev,t[s-1].next)}Gr(i,()=>{for(var f=0;f<s;f++){var c=t[f];o||(n.delete(c.k),he(e,c.prev,c.next)),ue(c.e,!o)}})}function st(e,t,r,n,i,s=null){var a=e,o={flags:t,items:new Map,first:null},l=(t&fr)!==0;if(l){var f=e;a=$?H($e(f)):f.appendChild(ne())}$&&Qe();var c=null,v=!1,b=new Map,h=Sr(()=>{var y=r();return Et(y)?y:y==null?[]:$t(y)}),u,_;function g(){Ni(_,u,o,b,a,i,t,n,r),s!==null&&(u.length===0?c?Wt(c):c=We(()=>s(a)):c!==null&&Yt(c,()=>{c=null}))}Bt(()=>{_??=E,u=R(h);var y=u.length;if(v&&y===0)return;v=y===0;let m=!1;if($){var C=gr(a)===yt;C!==(y===0)&&(a=It(),H(a),V(!1),m=!0)}if($){for(var O=null,A,w=0;w<y;w++){if(S.nodeType===Be&&S.data===xt){a=S,m=!0,V(!1);break}var x=u[w],I=n(x,w);A=Kt(S,o,O,null,x,I,w,i,t,r),o.items.set(I,A),O=A}y>0&&H(It())}if($)y===0&&s&&(c=We(()=>s(a)));else if(Ur()){var _e=new Set,me=M;for(w=0;w<y;w+=1){x=u[w],I=n(x,w);var ie=o.items.get(I)??b.get(I);ie?(t&(at|lt))!==0&&on(ie,x,w,t):(A=Kt(null,o,null,null,x,I,w,i,t,r,!0),b.set(I,A)),_e.add(I)}for(const[B,d]of o.items)_e.has(B)||me.skipped_effects.add(d.e);me.add_callback(g)}else g();m&&V(!0),R(h)}),$&&(a=S)}function Ni(e,t,r,n,i,s,a,o,l){var f=(a&pn)!==0,c=(a&(at|lt))!==0,v=t.length,b=r.items,h=r.first,u=h,_,g=null,y,m=[],C=[],O,A,w,x;if(f)for(x=0;x<v;x+=1)O=t[x],A=o(O,x),w=b.get(A),w!==void 0&&(w.a?.measure(),(y??=new Set).add(w));for(x=0;x<v;x+=1){if(O=t[x],A=o(O,x),w=b.get(A),w===void 0){var I=n.get(A);if(I!==void 0){n.delete(A),b.set(A,I);var _e=g?g.next:u;he(r,g,I),he(r,I,_e),Zt(I,_e,i),g=I}else{var me=u?u.e.nodes_start:i;g=Kt(me,r,g,g===null?r.first:g.next,O,A,x,s,a,l)}b.set(A,g),m=[],C=[],u=g.next;continue}if(c&&on(w,O,x,a),(w.e.f&te)!==0&&(Wt(w.e),f&&(w.a?.unfix(),(y??=new Set).delete(w))),w!==u){if(_!==void 0&&_.has(w)){if(m.length<C.length){var ie=C[0],B;g=ie.prev;var d=m[0],p=m[m.length-1];for(B=0;B<m.length;B+=1)Zt(m[B],ie,i);for(B=0;B<C.length;B+=1)_.delete(C[B]);he(r,d.prev,p.next),he(r,g,d),he(r,p,ie),u=ie,g=p,x-=1,m=[],C=[]}else _.delete(w),Zt(w,u,i),he(r,w.prev,w.next),he(r,w,g===null?r.first:g.next),he(r,g,w),g=w;continue}for(m=[],C=[];u!==null&&u.k!==A;)(u.e.f&te)===0&&(_??=new Set).add(u),C.push(u),u=u.next;if(u===null)continue;w=u}m.push(w),g=w,u=w.next}if(u!==null||_!==void 0){for(var N=_===void 0?[]:$t(_);u!==null;)(u.e.f&te)===0&&N.push(u),u=u.next;var T=N.length;if(T>0){var D=(a&fr)!==0&&v===0?i:null;if(f){for(x=0;x<T;x+=1)N[x].a?.measure();for(x=0;x<T;x+=1)N[x].a?.fix()}Si(r,N,D)}}f&&Tr(()=>{if(y!==void 0)for(w of y)w.a?.apply()}),e.first=r.first&&r.first.e,e.last=g&&g.e;for(var P of n.values())ue(P.e);n.clear()}function on(e,t,r,n){(n&at)!==0&&rt(e.v,t),(n<)!==0?rt(e.i,r):e.i=r}function Kt(e,t,r,n,i,s,a,o,l,f,c){var v=(l&at)!==0,b=(l&bn)===0,h=v?b?Mr(i,!1,!1):tt(i):i,u=(l<)===0?a:tt(a),_={i:u,v:h,k:s,a:null,e:null,prev:r,next:n};try{if(e===null){var g=document.createDocumentFragment();g.append(e=ne())}return _.e=We(()=>o(e,h,u,f),$),_.e.prev=r&&r.e,_.e.next=n&&n.e,r===null?c||(t.first=_):(r.next=_,r.e.next=_.e),n!==null&&(n.prev=_,n.e.prev=_.e),_}finally{}}function Zt(e,t,r){for(var n=e.next?e.next.e.nodes_start:r,i=t?t.e.nodes_start:r,s=e.e.nodes_start;s!==null&&s!==n;){var a=ae(s);i.before(s),s=a}}function he(e,t,r){t===null?e.first=r:(t.next=r,t.e.next=r&&r.e),r!==null&&(r.prev=t,r.e.prev=t&&t.e)}function Qt(e,t,r,n,i){$&&Qe();var s=t.$$slots?.[r],a=!1;s===!0&&(s=t[r==="default"?"children":r],a=!0),s===void 0?i!==null&&i(e):s(e,a?()=>n:n)}function Ai(e,t){li(()=>{var r=e.getRootNode(),n=r.host?r:r.head??r.ownerDocument.head;if(!n.querySelector("#"+t.hash)){const i=document.createElement("style");i.id=t.hash,i.textContent=t.code,n.appendChild(i)}})}function Ci(e,t,r){var n=""+e;return n}function Oi(e,t){return e==null?null:String(e)}function er(e,t,r,n,i,s){var a=e.__className;if($||a!==r||a===void 0){var o=Ci(r);(!$||o!==e.getAttribute("class"))&&(o==null?e.removeAttribute("class"):e.className=o),e.__className=r}return s}function tr(e,t,r,n){var i=e.__style;if($||i!==t){var s=Oi(t);(!$||s!==e.getAttribute("style"))&&(s==null?e.removeAttribute("style"):e.style.cssText=s),e.__style=t}return n}const Ri=Symbol("is custom element"),Ii=Symbol("is html");function fn(e,t,r,n){var i=Pi(e);$&&(i[t]=e.getAttribute(t),t==="src"||t==="srcset"||t==="href"&&e.nodeName==="LINK")||i[t]!==(i[t]=r)&&(t==="loading"&&(e[On]=r),r==null?e.removeAttribute(t):typeof r!="string"&&un(e).includes(t)?e[t]=r:e.setAttribute(t,r))}function Ke(e,t,r){var n=k,i=E;let s=$;$&&V(!1),K(null),de(null);try{t!=="style"&&(rr.has(e.getAttribute("is")||e.nodeName)||!customElements||customElements.get(e.getAttribute("is")||e.tagName.toLowerCase())?un(e).includes(t):r&&typeof r=="object")?e[t]=r:fn(e,t,r==null?r:String(r))}finally{K(n),de(i),s&&V(!0)}}function Pi(e){return e.__attributes??={[Ri]:e.nodeName.includes("-"),[Ii]:e.namespaceURI===$n}}var rr=new Map;function un(e){var t=e.getAttribute("is")||e.nodeName,r=rr.get(t);if(r)return r;rr.set(t,r=[]);for(var n,i=e,s=Element.prototype;s!==i;){n=Tn(i);for(var a in n)n[a].set&&r.push(a);i=cr(i)}return r}let gt=!1;function Mi(e){var t=gt;try{return gt=!1,[e(),gt]}finally{gt=t}}function je(e,t,r,n){var i=(r&wn)!==0,s=(r&yn)!==0,a=n,o=!0,l=()=>(o&&(o=!1,a=s?_i(n):n),a),f;if(i){var c=ut in e||br in e;f=Se(e,t)?.set??(c&&t in e?m=>e[t]=m:void 0)}var v,b=!1;i?[v,b]=Mi(()=>e[t]):v=e[t],v===void 0&&n!==void 0&&(v=l(),f&&(Fn(),f(v)));var h;if(h=()=>{var m=e[t];return m===void 0?l():(o=!0,m)},(r&mn)===0)return h;if(f){var u=e.$$legacy;return(function(m,C){return arguments.length>0?((!C||u||b)&&f(C?h():m),m):h()})}var _=!1,g=((r&gn)!==0?Lt:Sr)(()=>(_=!1,h()));i&&R(g);var y=E;return(function(m,C){if(arguments.length>0){const O=C?R(g):i?Pe(m):m;return be(g,O),_=!0,a!==void 0&&(a=O),m}return Le&&_||(y.f&Ne)!==0?g.v:R(g)})}function Li(e){return new Di(e)}class Di{#t;#e;constructor(t){var r=new Map,n=(s,a)=>{var o=Mr(a,!1,!1);return r.set(s,o),o};const i=new Proxy({...t.props||{},$$events:{}},{get(s,a){return R(r.get(a)??n(a,Reflect.get(s,a)))},has(s,a){return a===br?!0:(R(r.get(a)??n(a,Reflect.get(s,a))),Reflect.has(s,a))},set(s,a,o){return be(r.get(a)??n(a,o),o),Reflect.set(s,a,o)}});this.#e=(t.hydrate?ki:an)(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"||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,r){this.#t[t]=this.#t[t]||[];const n=(...i)=>r.call(this,...i);return this.#t[t].push(n),()=>{this.#t[t]=this.#t[t].filter(i=>i!==n)}}$destroy(){this.#e.$destroy()}}let cn;typeof HTMLElement=="function"&&(cn=class extends HTMLElement{$$ctor;$$s;$$c;$$cn=!1;$$d={};$$r=!1;$$p_d={};$$l={};$$l_u=new Map;$$me;constructor(e,t,r){super(),this.$$ctor=e,this.$$s=t,r&&this.attachShadow({mode:"open"})}addEventListener(e,t,r){if(this.$$l[e]=this.$$l[e]||[],this.$$l[e].push(t),this.$$c){const n=this.$$c.$on(e,t);this.$$l_u.set(t,n)}super.addEventListener(e,t,r)}removeEventListener(e,t,r){if(super.removeEventListener(e,t,r),this.$$c){const n=this.$$l_u.get(t);n&&(n(),this.$$l_u.delete(t))}}async connectedCallback(){if(this.$$cn=!0,!this.$$c){let e=function(n){return i=>{const s=document.createElement("slot");n!=="default"&&(s.name=n),q(i,s)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const t={},r=ji(this);for(const n of this.$$s)n in r&&(n==="default"&&!this.$$d.children?(this.$$d.children=e(n),t.default=!0):t[n]=e(n));for(const n of this.attributes){const i=this.$$g_p(n.name);i in this.$$d||(this.$$d[i]=mt(i,n.value,this.$$p_d,"toProp"))}for(const n in this.$$p_d)!(n in this.$$d)&&this[n]!==void 0&&(this.$$d[n]=this[n],delete this[n]);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 n of ot(this.$$c)){if(!this.$$p_d[n]?.reflect)continue;this.$$d[n]=this.$$c[n];const i=mt(n,this.$$d[n],this.$$p_d,"toAttribute");i==null?this.removeAttribute(this.$$p_d[n].attribute||n):this.setAttribute(this.$$p_d[n].attribute||n,i)}this.$$r=!1})});for(const n in this.$$l)for(const i of this.$$l[n]){const s=this.$$c.$on(n,i);this.$$l_u.set(i,s)}this.$$l={}}}attributeChangedCallback(e,t,r){this.$$r||(e=this.$$g_p(e),this.$$d[e]=mt(e,r,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 mt(e,t,r,n){const i=r[e]?.type;if(t=i==="Boolean"&&typeof t!="boolean"?t!=null:t,!n||!r[e])return t;if(n==="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(r=>{t[r.slot||"default"]=!0}),t}function Fi(e,t,r,n,i,s){let a=class extends cn{constructor(){super(e,r,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=mt(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})}}})}),n.forEach(o=>{qe(a.prototype,o,{get(){return this.$$c?.[o]}})}),e.element=a,a}const qi={version:"0.60.4"};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 r=e?.iifePath||"main.iife.js";if(!document.getElementById(t+"-script"))try{const n=document.createElement("script");if(n.id=t+"-script",n.src=`https://cdn.jsdelivr.net/npm/${e.repoName}@${e.version}/${r}`,e?.local)n.src=`${e.local}`;else if(location.href.includes("localhost:6006")){const i=t.split("-")[0];n.src=`http://localhost:6006/webcomponents/${t.replace(i+"-","")}/${r}`}document.head.appendChild(n)}catch(n){console.warn(n)}}function Ui(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Ze={},nr,dn;function Bi(){if(dn)return nr;dn=1;var e=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,t=/\n/g,r=/^\s*/,n=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,i=/^:\s*/,s=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,a=/^[;\s]*/,o=/^\s+|\s+$/g,l=`
|
|
3
|
+
`,f="/",c="*",v="",b="comment",h="declaration";nr=function(_,g){if(typeof _!="string")throw new TypeError("First argument must be a string");if(!_)return[];g=g||{};var y=1,m=1;function C(d){var p=d.match(t);p&&(y+=p.length);var N=d.lastIndexOf(l);m=~N?d.length-N:m+d.length}function O(){var d={line:y,column:m};return function(p){return p.position=new A(d),I(),p}}function A(d){this.start=d,this.end={line:y,column:m},this.source=g.source}A.prototype.content=_;function w(d){var p=new Error(g.source+":"+y+":"+m+": "+d);if(p.reason=d,p.filename=g.source,p.line=y,p.column=m,p.source=_,!g.silent)throw p}function x(d){var p=d.exec(_);if(p){var N=p[0];return C(N),_=_.slice(N.length),p}}function I(){x(r)}function _e(d){var p;for(d=d||[];p=me();)p!==!1&&d.push(p);return d}function me(){var d=O();if(!(f!=_.charAt(0)||c!=_.charAt(1))){for(var p=2;v!=_.charAt(p)&&(c!=_.charAt(p)||f!=_.charAt(p+1));)++p;if(p+=2,v===_.charAt(p-1))return w("End of comment missing");var N=_.slice(2,p-2);return m+=2,C(N),_=_.slice(p),m+=2,d({type:b,comment:N})}}function ie(){var d=O(),p=x(n);if(p){if(me(),!x(i))return w("property missing ':'");var N=x(s),T=d({type:h,property:u(p[0].replace(e,v)),value:N?u(N[0].replace(e,v)):v});return x(a),T}}function B(){var d=[];_e(d);for(var p;p=ie();)p!==!1&&(d.push(p),_e(d));return d}return I(),B()};function u(_){return _?_.replace(o,v):v}return nr}var vn;function Yi(){if(vn)return Ze;vn=1;var e=Ze&&Ze.__importDefault||function(n){return n&&n.__esModule?n:{default:n}};Object.defineProperty(Ze,"__esModule",{value:!0}),Ze.default=r;var t=e(Bi());function r(n,i){var s=null;if(!n||typeof n!="string")return s;var a=(0,t.default)(n),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 hn=Ui(Vi);hn.default;var Wi=ve('<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@latest/font/bootstrap-icons.css" class="svelte-gdxdlc"/>'),Gi=ve('<img style="height:40px;margin-right:10px" alt="" class="svelte-gdxdlc"/>'),Xi=ve('<div style="margin-top:10px" class="svelte-gdxdlc"><!> </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-gdxdlc"> </h5> <hr style="margin-top:0px;margin-bottom: 10px;" class="svelte-gdxdlc"/> <!>',1),Zi=ve("<hb-sidenav-link></hb-sidenav-link>",2),Qi=ve('<h5 style="margin-top: 40px;" class="svelte-gdxdlc"> </h5> <hr style="margin-top:0px;margin-bottom: 10px;" class="svelte-gdxdlc"/> <!>',1),es=ve('<hr class="svelte-gdxdlc"/> <!>',1),ts=ve('<div id="webcomponent" style="position:relative;height:100%;" class="svelte-gdxdlc"><!> <div class="d-flex flex-column p-3 bg-light svelte-gdxdlc" style="height:100%;padding-top:0px!important;position: relative; max-height: 100%; overflow-y: auto;"><h4 class="offcanvas-title svelte-gdxdlc"><!> <!></h4> <ul class="nav nav-pills flex-column mb-auto svelte-gdxdlc" style="margin-top:25px"><!> <!> <!></ul> <!></div></div>');const rs={hash:"svelte-gdxdlc",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");
|
|
6
6
|
/*!
|
|
7
|
-
* Bootstrap v5.
|
|
7
|
+
* Bootstrap v5.3.8 (https://getbootstrap.com/)
|
|
8
8
|
* Copyright 2011-2021 The Bootstrap Authors
|
|
9
9
|
* Copyright 2011-2021 Twitter, Inc.
|
|
10
10
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
|
11
|
-
*/:host {--bs-blue: #0d6efd;--bs-indigo: #6610f2;--bs-purple: #6f42c1;--bs-pink: #d63384;--bs-red: #dc3545;--bs-orange: #fd7e14;--bs-yellow: #ffc107;--bs-green: #198754;--bs-teal: #20c997;--bs-cyan: #0dcaf0;--bs-white: #fff;--bs-gray: #6c757d;--bs-gray-dark: #343a40;--bs-gray-100: #f8f9fa;--bs-gray-200: #e9ecef;--bs-gray-300: #dee2e6;--bs-gray-400: #ced4da;--bs-gray-500: #adb5bd;--bs-gray-600: #6c757d;--bs-gray-700: #495057;--bs-gray-800: #343a40;--bs-gray-900: #212529;--bs-primary: #0d6efd;--bs-secondary: #6c757d;--bs-success: #198754;--bs-info: #0dcaf0;--bs-warning: #ffc107;--bs-danger: #dc3545;--bs-light: #f8f9fa;--bs-dark: #212529;--bs-primary-rgb: 13, 110, 253;--bs-secondary-rgb: 108, 117, 125;--bs-success-rgb: 25, 135, 84;--bs-info-rgb: 13, 202, 240;--bs-warning-rgb: 255, 193, 7;--bs-danger-rgb: 220, 53, 69;--bs-light-rgb: 248, 249, 250;--bs-dark-rgb: 33, 37, 41;--bs-
|
|
12
|
-
.svelte-
|
|
13
|
-
.svelte-
|
|
11
|
+
*/:host {--bs-blue: #0d6efd;--bs-indigo: #6610f2;--bs-purple: #6f42c1;--bs-pink: #d63384;--bs-red: #dc3545;--bs-orange: #fd7e14;--bs-yellow: #ffc107;--bs-green: #198754;--bs-teal: #20c997;--bs-cyan: #0dcaf0;--bs-black: #000;--bs-white: #fff;--bs-gray: #6c757d;--bs-gray-dark: #343a40;--bs-gray-100: #f8f9fa;--bs-gray-200: #e9ecef;--bs-gray-300: #dee2e6;--bs-gray-400: #ced4da;--bs-gray-500: #adb5bd;--bs-gray-600: #6c757d;--bs-gray-700: #495057;--bs-gray-800: #343a40;--bs-gray-900: #212529;--bs-primary: #0d6efd;--bs-secondary: #6c757d;--bs-success: #198754;--bs-info: #0dcaf0;--bs-warning: #ffc107;--bs-danger: #dc3545;--bs-light: #f8f9fa;--bs-dark: #212529;--bs-primary-rgb: 13, 110, 253;--bs-secondary-rgb: 108, 117, 125;--bs-success-rgb: 25, 135, 84;--bs-info-rgb: 13, 202, 240;--bs-warning-rgb: 255, 193, 7;--bs-danger-rgb: 220, 53, 69;--bs-light-rgb: 248, 249, 250;--bs-dark-rgb: 33, 37, 41;--bs-primary-text-emphasis: rgb(5.2, 44, 101.2);--bs-secondary-text-emphasis: rgb(43.2, 46.8, 50);--bs-success-text-emphasis: rgb(10, 54, 33.6);--bs-info-text-emphasis: rgb(5.2, 80.8, 96);--bs-warning-text-emphasis: rgb(102, 77.2, 2.8);--bs-danger-text-emphasis: rgb(88, 21.2, 27.6);--bs-light-text-emphasis: #495057;--bs-dark-text-emphasis: #495057;--bs-primary-bg-subtle: rgb(206.6, 226, 254.6);--bs-secondary-bg-subtle: rgb(225.6, 227.4, 229);--bs-success-bg-subtle: rgb(209, 231, 220.8);--bs-info-bg-subtle: rgb(206.6, 244.4, 252);--bs-warning-bg-subtle: rgb(255, 242.6, 205.4);--bs-danger-bg-subtle: rgb(248, 214.6, 217.8);--bs-light-bg-subtle: rgb(251.5, 252, 252.5);--bs-dark-bg-subtle: #ced4da;--bs-primary-border-subtle: rgb(158.2, 197, 254.2);--bs-secondary-border-subtle: rgb(196.2, 199.8, 203);--bs-success-border-subtle: rgb(163, 207, 186.6);--bs-info-border-subtle: rgb(158.2, 233.8, 249);--bs-warning-border-subtle: rgb(255, 230.2, 155.8);--bs-danger-border-subtle: rgb(241, 174.2, 180.6);--bs-light-border-subtle: #e9ecef;--bs-dark-border-subtle: #adb5bd;--bs-white-rgb: 255, 255, 255;--bs-black-rgb: 0, 0, 0;--bs-font-sans-serif: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--bs-font-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--bs-gradient: linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));--bs-body-font-family: var(--bs-font-sans-serif);--bs-body-font-size: 1rem;--bs-body-font-weight: 400;--bs-body-line-height: 1.5;--bs-body-color: #212529;--bs-body-color-rgb: 33, 37, 41;--bs-body-bg: #fff;--bs-body-bg-rgb: 255, 255, 255;--bs-emphasis-color: #000;--bs-emphasis-color-rgb: 0, 0, 0;--bs-secondary-color: rgba(33, 37, 41, 0.75);--bs-secondary-color-rgb: 33, 37, 41;--bs-secondary-bg: #e9ecef;--bs-secondary-bg-rgb: 233, 236, 239;--bs-tertiary-color: rgba(33, 37, 41, 0.5);--bs-tertiary-color-rgb: 33, 37, 41;--bs-tertiary-bg: #f8f9fa;--bs-tertiary-bg-rgb: 248, 249, 250;--bs-heading-color: inherit;--bs-link-color: #0d6efd;--bs-link-color-rgb: 13, 110, 253;--bs-link-decoration: underline;--bs-link-hover-color: rgb(10.4, 88, 202.4);--bs-link-hover-color-rgb: 10, 88, 202;--bs-code-color: #d63384;--bs-highlight-color: #212529;--bs-highlight-bg: rgb(255, 242.6, 205.4);--bs-border-width: 1px;--bs-border-style: solid;--bs-border-color: #dee2e6;--bs-border-color-translucent: rgba(0, 0, 0, 0.175);--bs-border-radius: 0.375rem;--bs-border-radius-sm: 0.25rem;--bs-border-radius-lg: 0.5rem;--bs-border-radius-xl: 1rem;--bs-border-radius-xxl: 2rem;--bs-border-radius-2xl: var(--bs-border-radius-xxl);--bs-border-radius-pill: 50rem;--bs-box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);--bs-box-shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);--bs-box-shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);--bs-box-shadow-inset: inset 0 1px 2px rgba(0, 0, 0, 0.075);--bs-focus-ring-width: 0.25rem;--bs-focus-ring-opacity: 0.25;--bs-focus-ring-color: rgba(13, 110, 253, 0.25);--bs-form-valid-color: #198754;--bs-form-valid-border-color: #198754;--bs-form-invalid-color: #dc3545;--bs-form-invalid-border-color: #dc3545;}.svelte-gdxdlc,
|
|
12
|
+
.svelte-gdxdlc::before,
|
|
13
|
+
.svelte-gdxdlc::after {box-sizing:border-box;}
|
|
14
14
|
@media (prefers-reduced-motion: no-preference) {:host {scroll-behavior:smooth;}
|
|
15
|
-
}hr.svelte-
|
|
15
|
+
}hr.svelte-gdxdlc {margin:1rem 0;color:inherit;border:0;border-top:var(--bs-border-width) solid;opacity:0.25;} h5.svelte-gdxdlc, h4.svelte-gdxdlc {margin-top:0;margin-bottom:0.5rem;font-weight:500;line-height:1.2;color:var(--bs-heading-color);}
|
|
16
16
|
@media (min-width: 1200px) {
|
|
17
17
|
}
|
|
18
18
|
@media (min-width: 1200px) {
|
|
19
19
|
}
|
|
20
20
|
@media (min-width: 1200px) {
|
|
21
|
-
}h4.svelte-
|
|
22
|
-
@media (min-width: 1200px) {h4.svelte-
|
|
23
|
-
}h5.svelte-
|
|
24
|
-
ul.svelte-
|
|
25
|
-
ul.svelte-
|
|
21
|
+
}h4.svelte-gdxdlc {font-size:calc(1.275rem + 0.3vw);}
|
|
22
|
+
@media (min-width: 1200px) {h4.svelte-gdxdlc {font-size:1.5rem;}
|
|
23
|
+
}h5.svelte-gdxdlc {font-size:1.25rem;}
|
|
24
|
+
ul.svelte-gdxdlc {padding-left:2rem;}
|
|
25
|
+
ul.svelte-gdxdlc {margin-top:0;margin-bottom:1rem;}img.svelte-gdxdlc {vertical-align:middle;}.svelte-gdxdlc::-moz-focus-inner {padding:0;border-style:none;}
|
|
26
26
|
@media (min-width: 1200px) {
|
|
27
|
-
}.svelte-
|
|
28
|
-
.svelte-
|
|
29
|
-
.svelte-
|
|
30
|
-
.svelte-
|
|
31
|
-
.svelte-
|
|
32
|
-
.svelte-
|
|
33
|
-
.svelte-
|
|
27
|
+
}.svelte-gdxdlc::-webkit-datetime-edit-fields-wrapper,
|
|
28
|
+
.svelte-gdxdlc::-webkit-datetime-edit-text,
|
|
29
|
+
.svelte-gdxdlc::-webkit-datetime-edit-minute,
|
|
30
|
+
.svelte-gdxdlc::-webkit-datetime-edit-hour-field,
|
|
31
|
+
.svelte-gdxdlc::-webkit-datetime-edit-day-field,
|
|
32
|
+
.svelte-gdxdlc::-webkit-datetime-edit-month-field,
|
|
33
|
+
.svelte-gdxdlc::-webkit-datetime-edit-year-field {padding:0;}.svelte-gdxdlc::-webkit-inner-spin-button {height:auto;}
|
|
34
34
|
/* rtl:raw:
|
|
35
35
|
[type="tel"],
|
|
36
36
|
[type="url"],
|
|
@@ -38,7 +38,7 @@ ul.svelte-1nr22pp {margin-top:0;margin-bottom:1rem;}img.svelte-1nr22pp {vertical
|
|
|
38
38
|
[type="number"] {
|
|
39
39
|
direction: ltr;
|
|
40
40
|
}
|
|
41
|
-
*/.svelte-
|
|
41
|
+
*/.svelte-gdxdlc::-webkit-search-decoration {-webkit-appearance:none;}.svelte-gdxdlc::-webkit-color-swatch-wrapper {padding:0;}.svelte-gdxdlc::file-selector-button {font:inherit;-webkit-appearance:button;}
|
|
42
42
|
@media (min-width: 1200px) {
|
|
43
43
|
}
|
|
44
44
|
@media (min-width: 1200px) {
|
|
@@ -52,9 +52,9 @@ ul.svelte-1nr22pp {margin-top:0;margin-bottom:1rem;}img.svelte-1nr22pp {vertical
|
|
|
52
52
|
@media (min-width: 1200px) {
|
|
53
53
|
}
|
|
54
54
|
@media (prefers-reduced-motion: reduce) {
|
|
55
|
-
}.nav.svelte-
|
|
55
|
+
}.nav.svelte-gdxdlc {--bs-nav-link-padding-x: 1rem;--bs-nav-link-padding-y: 0.5rem;--bs-nav-link-font-weight: ;--bs-nav-link-color: var(--bs-link-color);--bs-nav-link-hover-color: var(--bs-link-hover-color);--bs-nav-link-disabled-color: var(--bs-secondary-color);display:flex;flex-wrap:wrap;padding-left:0;margin-bottom:0;list-style:none;}
|
|
56
56
|
@media (prefers-reduced-motion: reduce) {
|
|
57
|
-
}
|
|
57
|
+
}.nav-pills.svelte-gdxdlc {--bs-nav-pills-border-radius: var(--bs-border-radius);--bs-nav-pills-link-active-color: #fff;--bs-nav-pills-link-active-bg: #0d6efd;}
|
|
58
58
|
@media (prefers-reduced-motion: reduce) {
|
|
59
59
|
}
|
|
60
60
|
@media (min-width: 576px) {
|
|
@@ -73,8 +73,50 @@ ul.svelte-1nr22pp {margin-top:0;margin-bottom:1rem;}img.svelte-1nr22pp {vertical
|
|
|
73
73
|
}
|
|
74
74
|
@media (max-width: 1399.98px) {
|
|
75
75
|
}
|
|
76
|
+
@media (max-width: 575.98px) {
|
|
77
|
+
}
|
|
78
|
+
@media (max-width: 575.98px) and (prefers-reduced-motion: reduce) {
|
|
79
|
+
}
|
|
80
|
+
@media (max-width: 575.98px) {
|
|
81
|
+
}
|
|
82
|
+
@media (min-width: 576px) {
|
|
83
|
+
}
|
|
84
|
+
@media (max-width: 767.98px) {
|
|
85
|
+
}
|
|
86
|
+
@media (max-width: 767.98px) and (prefers-reduced-motion: reduce) {
|
|
87
|
+
}
|
|
88
|
+
@media (max-width: 767.98px) {
|
|
89
|
+
}
|
|
90
|
+
@media (min-width: 768px) {
|
|
91
|
+
}
|
|
92
|
+
@media (max-width: 991.98px) {
|
|
93
|
+
}
|
|
94
|
+
@media (max-width: 991.98px) and (prefers-reduced-motion: reduce) {
|
|
95
|
+
}
|
|
96
|
+
@media (max-width: 991.98px) {
|
|
97
|
+
}
|
|
98
|
+
@media (min-width: 992px) {
|
|
99
|
+
}
|
|
100
|
+
@media (max-width: 1199.98px) {
|
|
101
|
+
}
|
|
102
|
+
@media (max-width: 1199.98px) and (prefers-reduced-motion: reduce) {
|
|
103
|
+
}
|
|
104
|
+
@media (max-width: 1199.98px) {
|
|
105
|
+
}
|
|
106
|
+
@media (min-width: 1200px) {
|
|
107
|
+
}
|
|
108
|
+
@media (max-width: 1399.98px) {
|
|
109
|
+
}
|
|
110
|
+
@media (max-width: 1399.98px) and (prefers-reduced-motion: reduce) {
|
|
111
|
+
}
|
|
112
|
+
@media (max-width: 1399.98px) {
|
|
113
|
+
}
|
|
114
|
+
@media (min-width: 1400px) {
|
|
115
|
+
}
|
|
76
116
|
@media (prefers-reduced-motion: reduce) {
|
|
77
|
-
}.offcanvas-title.svelte-
|
|
117
|
+
}.offcanvas-title.svelte-gdxdlc {margin-bottom:0;line-height:var(--bs-offcanvas-title-line-height);}
|
|
118
|
+
@media (prefers-reduced-motion: reduce) {
|
|
119
|
+
}
|
|
78
120
|
@media (min-width: 576px) {
|
|
79
121
|
}
|
|
80
122
|
@media (min-width: 768px) {
|
|
@@ -84,9 +126,9 @@ ul.svelte-1nr22pp {margin-top:0;margin-bottom:1rem;}img.svelte-1nr22pp {vertical
|
|
|
84
126
|
@media (min-width: 1200px) {
|
|
85
127
|
}
|
|
86
128
|
@media (min-width: 1400px) {
|
|
87
|
-
}.d-flex.svelte-
|
|
129
|
+
}.d-flex.svelte-gdxdlc {display:flex !important;}.flex-column.svelte-gdxdlc {flex-direction:column !important;}.mb-auto.svelte-gdxdlc {margin-bottom:auto !important;}.p-3.svelte-gdxdlc {padding:1rem !important;}
|
|
88
130
|
/* rtl:begin:remove */
|
|
89
|
-
/* rtl:end:remove */.bg-light.svelte-
|
|
131
|
+
/* rtl:end:remove */.bg-light.svelte-gdxdlc {--bs-bg-opacity: 1;background-color:rgba(var(--bs-light-rgb), var(--bs-bg-opacity)) !important;}
|
|
90
132
|
@media (min-width: 576px) {
|
|
91
133
|
}
|
|
92
134
|
@media (min-width: 768px) {
|
|
@@ -100,9 +142,9 @@ ul.svelte-1nr22pp {margin-top:0;margin-bottom:1rem;}img.svelte-1nr22pp {vertical
|
|
|
100
142
|
@media (min-width: 1200px) {
|
|
101
143
|
}
|
|
102
144
|
@media print {
|
|
103
|
-
}#webcomponent.svelte-
|
|
145
|
+
}#webcomponent.svelte-gdxdlc {font-family:"Roboto", sans-serif;}
|
|
104
146
|
@media (min-width: 768px) {
|
|
105
|
-
}:host {display:block;width:240px;}`};function
|
|
147
|
+
}:host {display:block;width:240px;}`};function _n(e,t){yr(t,!0),Ai(e,rs);/**
|
|
106
148
|
* Svelte Video Login/Register/Forget Password WebComponent
|
|
107
149
|
* =====================
|
|
108
150
|
*
|
|
@@ -110,5 +152,5 @@ ul.svelte-1nr22pp {margin-top:0;margin-bottom:1rem;}img.svelte-1nr22pp {vertical
|
|
|
110
152
|
*
|
|
111
153
|
* @license: MIT License
|
|
112
154
|
*
|
|
113
|
-
*/let
|
|
155
|
+
*/let r=je(t,"id",7,""),n=je(t,"companylogouri",7,"https://upload.wikimedia.org/wikipedia/commons/8/80/Wikipedia-logo-v2.svg"),i=je(t,"navlinks",23,()=>[]),s=je(t,"navpage",7,"home"),a=je(t,"groups",23,()=>[]),o=je(t,"companytitle",7,""),l=je(t,"enablefooter",7,!0);Pe({});let f=se("");ii(()=>{(!l()||l()==="no")&&l(!1);try{typeof a()=="string"&&a(JSON.parse(a())),typeof i()=="string"&&i(JSON.parse(i()))}catch{}});function c(d,p){t.$$host.dispatchEvent(new CustomEvent(d,{detail:p}))}function v(d){console.log(d),c("pageChange",{page:d})}Hi({repoName:"@htmlbricks/hb-sidenav-link",version:qi.version});var b={get id(){return r()},set id(d=""){r(d),xe()},get companylogouri(){return n()},set companylogouri(d="https://upload.wikimedia.org/wikipedia/commons/8/80/Wikipedia-logo-v2.svg"){n(d),xe()},get navlinks(){return i()},set navlinks(d=[]){i(d),xe()},get navpage(){return s()},set navpage(d="home"){s(d),xe()},get groups(){return a()},set groups(d=[]){a(d),xe()},get companytitle(){return o()},set companytitle(d=""){o(d),xe()},get enablefooter(){return l()},set enablefooter(d=!0){l(d),xe()}},h=ts();wi(d=>{var p=Wi();q(d,p)});var u=Me(h);Qt(u,t,"test",{},null);var _=le(u,2),g=Me(_),y=Me(g);Qt(y,t,"header",{part:"header"},null);var m=le(y,2);{var C=d=>{var p=Xi(),N=Me(p);{var T=P=>{var ee=Gi();fe(()=>fn(ee,"src",n())),q(P,ee)};Je(N,P=>{n()&&P(T)})}var D=le(N);Ce(p),fe(()=>zt(D,` ${o()??""}`)),q(d,p)};Je(m,d=>{o()&&d(C)})}Ce(g);var O=le(g,2),A=Me(O);{var w=d=>{var p=Xt(),N=Ve(p);st(N,17,()=>i().filter(T=>!T.group),T=>T.key,(T,D)=>{var P=zi();tr(P,R(f)),fe(()=>Ke(P,"navlink",JSON.stringify(R(D)))),fe(()=>Ke(P,"navpage",s())),er(P,1,"svelte-gdxdlc"),Gt("pageChange",P,ee=>v(ee.detail.page)),q(T,P)}),q(d,p)};Je(A,d=>{i()?.length&&typeof i()=="object"&&i().filter(p=>!p.group)?.length&&d(w)})}var x=le(A,2);{var I=d=>{var p=Xt(),N=Ve(p);st(N,17,a,T=>T.key,(T,D)=>{var P=Ki(),ee=Ve(P),ir=Me(ee,!0);Ce(ee);var sr=le(ee,4);st(sr,17,()=>i().filter(G=>G.group&&G.group===R(D).key),G=>G.key,(G,ar)=>{var X=Ji();tr(X,R(f)),fe(()=>Ke(X,"navlink",JSON.stringify(R(ar)))),fe(()=>Ke(X,"navpage",s())),er(X,1,"svelte-gdxdlc"),Gt("pageChange",X,lr=>v(lr.detail.page)),q(G,X)}),fe(()=>zt(ir,R(D).label)),q(T,P)}),q(d,p)};Je(x,d=>{a()?.length&&d(I)})}var _e=le(x,2);{var me=d=>{var p=Xt(),N=Ve(p);st(N,16,()=>i().filter(T=>T.group&&(!a()?.length||!a().map(D=>D.key).includes(T.group))).map(T=>T.group).filter((T,D,P)=>P.indexOf(T)===D),T=>T,(T,D)=>{var P=Qi(),ee=Ve(P),ir=Me(ee,!0);Ce(ee);var sr=le(ee,4);st(sr,17,()=>i().filter(G=>G.group&&G.group===D),G=>G.key,(G,ar)=>{var X=Zi();tr(X,R(f)),fe(()=>Ke(X,"navlink",JSON.stringify(R(ar)))),fe(()=>Ke(X,"navpage",s())),er(X,1,"svelte-gdxdlc"),Gt("pageChange",X,lr=>v(lr.detail.page)),q(G,X)}),fe(()=>zt(ir,D)),q(T,P)}),q(d,p)};Je(_e,d=>{typeof i()=="object"&&i()?.length&&d(me)})}Ce(O);var ie=le(O,2);{var B=d=>{var p=es(),N=le(Ve(p),2);Qt(N,t,"footer",{},T=>{var D=xi("footer");q(T,D)}),q(d,p)};Je(ie,d=>{l()&&d(B)})}return Ce(_),Ce(h),q(e,h),xr(b)}customElements.define("hb-sidebar-desktop",Fi(_n,{id:{},companylogouri:{},navlinks:{},navpage:{},groups:{},companytitle:{},enablefooter:{}},["test","header","footer"],[],!0)),or.Component=_n,Object.defineProperty(or,Symbol.toStringTag,{value:"Module"})})(this["sidebar-desktop"]=this["sidebar-desktop"]||{});
|
|
114
156
|
//# sourceMappingURL=main.iife.js.map
|