@htmlbricks/hb-sidebar-desktop 0.50.0-alpha.9 → 0.60.0
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 +35 -25
- package/main.iife.js.map +1 -0
- package/manifest.json +1 -1
- package/package.json +6 -2
- package/types/webcomponent.type.d.json +1 -0
- package/types/webcomponent_events.type.d.json +1 -0
package/main.iife.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
var Pi=Object.defineProperty;var Kn=A=>{throw TypeError(A)};var Li=(A,O,L)=>O in A?Pi(A,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):A[O]=L;var se=(A,O,L)=>Li(A,typeof O!="symbol"?O+"":O,L),Zn=(A,O,L)=>O.has(A)||Kn("Cannot "+L);var V=(A,O,L)=>(Zn(A,O,"read from private field"),L?L.call(A):O.get(A)),Zt=(A,O,L)=>O.has(A)?Kn("Cannot add the same private member more than once"):O instanceof WeakSet?O.add(A):O.set(A,L),Qt=(A,O,L,je)=>(Zn(A,O,"write to private field"),je?je.call(A,L):O.set(A,L),L);(function(A){"use strict";var Ee,re;const O="5";typeof window<"u"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(O);const L=1,je=2,en=4,Qn=8,er=16,tr=1,nr=4,rr=8,ir=16,ar=1,sr=2,bt="[",wt="[!",$t="]",Ge={},Y=Symbol(),Et=!1,ae=2,tn=4,tt=8,xt=16,me=32,Fe=64,nt=128,Z=256,rt=512,q=1024,ge=2048,qe=4096,pe=8192,it=16384,lr=32768,kt=65536,nn=1<<19,rn=1<<20,at=Symbol("$state"),an=Symbol("legacy props"),or=Symbol("");var Tt=Array.isArray,ur=Array.prototype.indexOf,Nt=Array.from,st=Object.keys,lt=Object.defineProperty,Oe=Object.getOwnPropertyDescriptor,fr=Object.getOwnPropertyDescriptors,cr=Object.prototype,dr=Array.prototype,sn=Object.getPrototypeOf;function vr(e){for(var t=0;t<e.length;t++)e[t]()}let ot=!1,St=[];function ln(){ot=!1;const e=St.slice();St=[],vr(e)}function Ct(e){ot||(ot=!0,queueMicrotask(ln)),St.push(e)}function hr(){ot&&ln()}function on(e){return e===this.v}function _r(e,t){return e!=e?t==t:e!==t||e!==null&&typeof e=="object"||typeof e=="function"}function At(e){return!_r(e,this.v)}function mr(e){throw new Error("https://svelte.dev/e/effect_in_teardown")}function gr(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function pr(e){throw new Error("https://svelte.dev/e/effect_orphan")}function yr(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function br(){throw new Error("https://svelte.dev/e/hydration_failed")}function wr(e){throw new Error("https://svelte.dev/e/props_invalid_value")}function $r(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function Er(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function xr(){throw new Error("https://svelte.dev/e/state_unsafe_local_read")}function kr(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}let Tr=!1;function Q(e,t){var n={f:0,v:e,reactions:null,equals:on,rv:0,wv:0};return n}function un(e){return Nr(Q(e))}function Ot(e,t=!1){const n=Q(e);return t||(n.equals=At),n}function Nr(e){return S!==null&&!ue&&S.f&ae&&(de===null?Rr([e]):de.push(e)),e}function ee(e,t){return S!==null&&!ue&&jn()&&S.f&(ae|xt)&&(de===null||!de.includes(e))&&kr(),Rt(e,t)}function Rt(e,t){return e.equals(t)||(e.v,e.v=t,e.wv=En(),fn(e,ge),k!==null&&k.f&q&&!(k.f&(me|Fe))&&(we===null?Ir([e]):we.push(e))),t}function fn(e,t){var n=e.reactions;if(n!==null)for(var i=n.length,r=0;r<i;r++){var a=n[r],s=a.f;s&ge||(he(a,t),s&(q|Z)&&(s&ae?fn(a,qe):ht(a)))}}function It(e){var t=ae|ge,n=S!==null&&S.f&ae?S:null;return k===null||n!==null&&n.f&Z?t|=Z:k.f|=rn,{ctx:X,deps:null,effects:null,equals:on,f:t,fn:e,reactions:null,rv:0,v:null,wv:0,parent:n??k}}function Sr(e){const t=It(e);return t.equals=At,t}function cn(e){var t=e.effects;if(t!==null){e.effects=null;for(var n=0;n<t.length;n+=1)$e(t[n])}}function Cr(e){for(var t=e.parent;t!==null;){if(!(t.f&ae))return t;t=t.parent}return null}function Ar(e){var t,n=k;ce(Cr(e));try{cn(e),t=kn(e)}finally{ce(n)}return t}function dn(e){var t=Ar(e),n=(Te||e.f&Z)&&e.deps!==null?qe:q;he(e,n),e.equals(t)||(e.v=t,e.wv=En())}function Pt(e){console.warn("https://svelte.dev/e/hydration_mismatch")}let E=!1;function W(e){E=e}let N;function U(e){if(e===null)throw Pt(),Ge;return N=e}function ze(){return U(le(N))}function Re(e){if(E){if(le(N)!==null)throw Pt(),Ge;N=e}}function Lt(){for(var e=0,t=N;;){if(t.nodeType===8){var n=t.data;if(n===$t){if(e===0)return t;e-=1}else(n===bt||n===wt)&&(e+=1)}var i=le(t);t.remove(),t=i}}function ye(e,t=null,n){if(typeof e!="object"||e===null||at in e)return e;const i=sn(e);if(i!==cr&&i!==dr)return e;var r=new Map,a=Tt(e),s=Q(0);a&&r.set("length",Q(e.length));var o;return new Proxy(e,{defineProperty(f,l,c){(!("value"in c)||c.configurable===!1||c.enumerable===!1||c.writable===!1)&&$r();var v=r.get(l);return v===void 0?(v=Q(c.value),r.set(l,v)):ee(v,ye(c.value,o)),!0},deleteProperty(f,l){var c=r.get(l);if(c===void 0)l in f&&r.set(l,Q(Y));else{if(a&&typeof l=="string"){var v=r.get("length"),u=Number(l);Number.isInteger(u)&&u<v.v&&ee(v,u)}ee(c,Y),vn(s)}return!0},get(f,l,c){var _;if(l===at)return e;var v=r.get(l),u=l in f;if(v===void 0&&(!u||(_=Oe(f,l))!=null&&_.writable)&&(v=Q(ye(u?f[l]:Y,o)),r.set(l,v)),v!==void 0){var h=R(v);return h===Y?void 0:h}return Reflect.get(f,l,c)},getOwnPropertyDescriptor(f,l){var c=Reflect.getOwnPropertyDescriptor(f,l);if(c&&"value"in c){var v=r.get(l);v&&(c.value=R(v))}else if(c===void 0){var u=r.get(l),h=u==null?void 0:u.v;if(u!==void 0&&h!==Y)return{enumerable:!0,configurable:!0,value:h,writable:!0}}return c},has(f,l){var h;if(l===at)return!0;var c=r.get(l),v=c!==void 0&&c.v!==Y||Reflect.has(f,l);if(c!==void 0||k!==null&&(!v||(h=Oe(f,l))!=null&&h.writable)){c===void 0&&(c=Q(v?ye(f[l],o):Y),r.set(l,c));var u=R(c);if(u===Y)return!1}return v},set(f,l,c,v){var x;var u=r.get(l),h=l in f;if(a&&l==="length")for(var _=c;_<u.v;_+=1){var m=r.get(_+"");m!==void 0?ee(m,Y):_ in f&&(m=Q(Y),r.set(_+"",m))}u===void 0?(!h||(x=Oe(f,l))!=null&&x.writable)&&(u=Q(void 0),ee(u,ye(c,o)),r.set(l,u)):(h=u.v!==Y,ee(u,ye(c,o)));var y=Reflect.getOwnPropertyDescriptor(f,l);if(y!=null&&y.set&&y.set.call(v,c),!h){if(a&&typeof l=="string"){var C=r.get("length"),w=Number(l);Number.isInteger(w)&&w>=C.v&&ee(C,w+1)}vn(s)}return!0},ownKeys(f){R(s);var l=Reflect.ownKeys(f).filter(u=>{var h=r.get(u);return h===void 0||h.v!==Y});for(var[c,v]of r)v.v!==Y&&!(c in f)&&l.push(c);return l},setPrototypeOf(){Er()}})}function vn(e,t=1){ee(e,e.v+t)}var hn,_n,mn,gn;function Mt(){if(hn===void 0){hn=window,_n=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype;mn=Oe(t,"firstChild").get,gn=Oe(t,"nextSibling").get,e.__click=void 0,e.__className="",e.__attributes=null,e.__styles=null,e.__e=void 0,Text.prototype.__t=void 0}}function be(e=""){return document.createTextNode(e)}function ke(e){return mn.call(e)}function le(e){return gn.call(e)}function Ie(e,t){if(!E)return ke(e);var n=ke(N);if(n===null)n=N.appendChild(be());else if(t&&n.nodeType!==3){var i=be();return n==null||n.before(i),U(i),i}return U(n),n}function He(e,t){if(!E){var n=ke(e);return n instanceof Comment&&n.data===""?le(n):n}return N}function oe(e,t=1,n=!1){let i=E?N:e;for(var r;t--;)r=i,i=le(i);if(!E)return i;var a=i==null?void 0:i.nodeType;if(n&&a!==3){var s=be();return i===null?r==null||r.after(s):i.before(s),U(s),s}return U(i),i}function pn(e){e.textContent=""}const yn=0,Or=1;let ut=!1,ft=yn,Xe=!1,Je=null,Be=!1,Dt=!1;function bn(e){Be=e}function wn(e){Dt=e}let Pe=[],Ye=0,Mi=[],S=null,ue=!1;function fe(e){S=e}let k=null;function ce(e){k=e}let de=null;function Rr(e){de=e}let H=null,G=0,we=null;function Ir(e){we=e}let $n=1,ct=0,Te=!1;function En(){return++$n}function Ke(e){var v;var t=e.f;if(t&ge)return!0;if(t&qe){var n=e.deps,i=(t&Z)!==0;if(n!==null){var r,a,s=(t&rt)!==0,o=i&&k!==null&&!Te,f=n.length;if(s||o){var l=e,c=l.parent;for(r=0;r<f;r++)a=n[r],(s||!((v=a==null?void 0:a.reactions)!=null&&v.includes(l)))&&(a.reactions??(a.reactions=[])).push(l);s&&(l.f^=rt),o&&c!==null&&!(c.f&Z)&&(l.f^=Z)}for(r=0;r<f;r++)if(a=n[r],Ke(a)&&dn(a),a.wv>e.wv)return!0}(!i||k!==null&&!Te)&&he(e,q)}return!1}function Pr(e,t){for(var n=t;n!==null;){if(n.f&nt)try{n.fn(e);return}catch{n.f^=nt}n=n.parent}throw ut=!1,e}function Lr(e){return(e.f&it)===0&&(e.parent===null||(e.parent.f&nt)===0)}function dt(e,t,n,i){if(ut){if(n===null&&(ut=!1),Lr(t))throw e;return}n!==null&&(ut=!0);{Pr(e,t);return}}function xn(e,t,n=!0){var i=e.reactions;if(i!==null)for(var r=0;r<i.length;r++){var a=i[r];a.f&ae?xn(a,t,!1):t===a&&(n?he(a,ge):a.f&q&&he(a,qe),ht(a))}}function kn(e){var h;var t=H,n=G,i=we,r=S,a=Te,s=de,o=X,f=ue,l=e.f;H=null,G=0,we=null,S=l&(me|Fe)?null:e,Te=(l&Z)!==0&&(!Be||r===null||f),de=null,Ln(e.ctx),ue=!1,ct++;try{var c=(0,e.fn)(),v=e.deps;if(H!==null){var u;if(vt(e,G),v!==null&&G>0)for(v.length=G+H.length,u=0;u<H.length;u++)v[G+u]=H[u];else e.deps=v=H;if(!Te)for(u=G;u<v.length;u++)((h=v[u]).reactions??(h.reactions=[])).push(e)}else v!==null&&G<v.length&&(vt(e,G),v.length=G);if(jn()&&we!==null&&!ue&&v!==null&&!(e.f&(ae|qe|ge)))for(u=0;u<we.length;u++)xn(we[u],e);return r!==null&&ct++,c}finally{H=t,G=n,we=i,S=r,Te=a,de=s,Ln(o),ue=f}}function Mr(e,t){let n=t.reactions;if(n!==null){var i=ur.call(n,e);if(i!==-1){var r=n.length-1;r===0?n=t.reactions=null:(n[i]=n[r],n.pop())}}n===null&&t.f&ae&&(H===null||!H.includes(t))&&(he(t,qe),t.f&(Z|rt)||(t.f^=rt),cn(t),vt(t,0))}function vt(e,t){var n=e.deps;if(n!==null)for(var i=t;i<n.length;i++)Mr(e,n[i])}function jt(e){var t=e.f;if(!(t&it)){he(e,q);var n=k,i=X;k=e;try{t&xt?zr(e):On(e),An(e);var r=kn(e);e.teardown=typeof r=="function"?r:null,e.wv=$n;var a=e.deps,s;Et&&Tr&&e.f&ge}catch(o){dt(o,e,n,i||e.ctx)}finally{k=n}}}function Tn(){if(Ye>1e3){Ye=0;try{yr()}catch(e){if(Je!==null)dt(e,Je,null);else throw e}}Ye++}function Nn(e){var t=e.length;if(t!==0){Tn();var n=Be;Be=!0;try{for(var i=0;i<t;i++){var r=e[i];r.f&q||(r.f^=q);var a=Fr(r);Dr(a)}}finally{Be=n}}}function Dr(e){var t=e.length;if(t!==0)for(var n=0;n<t;n++){var i=e[n];if(!(i.f&(it|pe)))try{Ke(i)&&(jt(i),i.deps===null&&i.first===null&&i.nodes_start===null&&(i.teardown===null?Rn(i):i.fn=null))}catch(r){dt(r,i,null,i.ctx)}}}function jr(){if(Xe=!1,Ye>1001)return;const e=Pe;Pe=[],Nn(e),Xe||(Ye=0,Je=null)}function ht(e){ft===yn&&(Xe||(Xe=!0,queueMicrotask(jr))),Je=e;for(var t=e;t.parent!==null;){t=t.parent;var n=t.f;if(n&(Fe|me)){if(!(n&q))return;t.f^=q}}Pe.push(t)}function Fr(e){var t=[],n=e.first;e:for(;n!==null;){var i=n.f,r=(i&me)!==0,a=r&&(i&q)!==0,s=n.next;if(!a&&!(i&pe)){if(i&tn)t.push(n);else if(r)n.f^=q;else{var o=S;try{S=n,Ke(n)&&jt(n)}catch(c){dt(c,n,null,n.ctx)}finally{S=o}}var f=n.first;if(f!==null){n=f;continue}}if(s===null){let c=n.parent;for(;c!==null;){if(e===c)break e;var l=c.next;if(l!==null){n=l;continue e}c=c.parent}}n=s}return t}function ve(e){var t=ft,n=Pe;try{Tn();const r=[];ft=Or,Pe=r,Xe=!1,Nn(n);var i=e==null?void 0:e();return hr(),(Pe.length>0||r.length>0)&&ve(),Ye=0,Je=null,i}finally{ft=t,Pe=n}}function R(e){var t=e.f,n=(t&ae)!==0;if(S!==null&&!ue){de!==null&&de.includes(e)&&xr();var i=S.deps;e.rv<ct&&(e.rv=ct,H===null&&i!==null&&i[G]===e?G++:H===null?H=[e]:(!Te||!H.includes(e))&&H.push(e))}else if(n&&e.deps===null&&e.effects===null){var r=e,a=r.parent;a!==null&&!(a.f&Z)&&(r.f^=Z)}return n&&(r=e,Ke(r)&&dn(r)),e.v}function Sn(e){var t=ue;try{return ue=!0,e()}finally{ue=t}}const qr=-7169;function he(e,t){e.f=e.f&qr|t}function Hr(e){k===null&&S===null&&pr(),S!==null&&S.f&Z&&k===null&&gr(),Dt&&mr()}function Br(e,t){var n=t.last;n===null?t.last=t.first=e:(n.next=e,e.prev=n,t.last=e)}function Le(e,t,n,i=!0){var r=(e&Fe)!==0,a=k,s={ctx:X,deps:null,nodes_start:null,nodes_end:null,f:e|ge,first:null,fn:t,last:null,next:null,parent:r?null:a,prev:null,teardown:null,transitions:null,wv:0};if(n){var o=Be;try{bn(!0),jt(s),s.f|=lr}catch(c){throw $e(s),c}finally{bn(o)}}else t!==null&&ht(s);var f=n&&s.deps===null&&s.first===null&&s.nodes_start===null&&s.teardown===null&&(s.f&(rn|nt))===0;if(!f&&!r&&i&&(a!==null&&Br(s,a),S!==null&&S.f&ae)){var l=S;(l.effects??(l.effects=[])).push(s)}return s}function Yr(e){const t=Le(tt,null,!1);return he(t,q),t.teardown=e,t}function Ur(e){Hr();var t=k!==null&&(k.f&me)!==0&&X!==null&&!X.m;if(t){var n=X;(n.e??(n.e=[])).push({fn:e,effect:k,reaction:S})}else{var i=Cn(e);return i}}function Vr(e){const t=Le(Fe,e,!0);return()=>{$e(t)}}function Wr(e){const t=Le(Fe,e,!0);return(n={})=>new Promise(i=>{n.outro?mt(t,()=>{$e(t),i(void 0)}):($e(t),i(void 0))})}function Cn(e){return Le(tn,e,!1)}function Gr(e){return Le(tt,e,!0)}function z(e,t=[],n=It){const i=t.map(n);return _t(()=>e(...i.map(R)))}function _t(e,t=0){return Le(tt|xt|t,e,!0)}function Ze(e,t=!0){return Le(tt|me,e,!0,t)}function An(e){var t=e.teardown;if(t!==null){const n=Dt,i=S;wn(!0),fe(null);try{t.call(null)}finally{wn(n),fe(i)}}}function On(e,t=!1){var n=e.first;for(e.first=e.last=null;n!==null;){var i=n.next;$e(n,t),n=i}}function zr(e){for(var t=e.first;t!==null;){var n=t.next;t.f&me||$e(t),t=n}}function $e(e,t=!0){var n=!1;if((t||e.f&nn)&&e.nodes_start!==null){for(var i=e.nodes_start,r=e.nodes_end;i!==null;){var a=i===r?null:le(i);i.remove(),i=a}n=!0}On(e,t&&!n),vt(e,0),he(e,it);var s=e.transitions;if(s!==null)for(const f of s)f.stop();An(e);var o=e.parent;o!==null&&o.first!==null&&Rn(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes_start=e.nodes_end=null}function Rn(e){var t=e.parent,n=e.prev,i=e.next;n!==null&&(n.next=i),i!==null&&(i.prev=n),t!==null&&(t.first===e&&(t.first=i),t.last===e&&(t.last=n))}function mt(e,t){var n=[];Ft(e,n,!0),In(n,()=>{$e(e),t&&t()})}function In(e,t){var n=e.length;if(n>0){var i=()=>--n||t();for(var r of e)r.out(i)}else t()}function Ft(e,t,n){if(!(e.f&pe)){if(e.f^=pe,e.transitions!==null)for(const s of e.transitions)(s.is_global||n)&&t.push(s);for(var i=e.first;i!==null;){var r=i.next,a=(i.f&kt)!==0||(i.f&me)!==0;Ft(i,t,a?n:!1),i=r}}}function gt(e){Pn(e,!0)}function Pn(e,t){if(e.f&pe){e.f^=pe,e.f&q||(e.f^=q),Ke(e)&&(he(e,ge),ht(e));for(var n=e.first;n!==null;){var i=n.next,r=(n.f&kt)!==0||(n.f&me)!==0;Pn(n,r?t:!1),n=i}if(e.transitions!==null)for(const a of e.transitions)(a.is_global||t)&&a.in()}}let X=null;function Ln(e){X=e}function Mn(e,t=!1,n){X={p:X,c:null,e:null,m:!1,s:e,x:null,l:null}}function Dn(e){const t=X;if(t!==null){e!==void 0&&(t.x=e);const s=t.e;if(s!==null){var n=k,i=S;t.e=null;try{for(var r=0;r<s.length;r++){var a=s[r];ce(a.effect),fe(a.reaction),Cn(a.fn)}}finally{ce(n),fe(i)}}X=t.p,t.m=!0}return e||{}}function jn(){return!0}const Xr=["touchstart","touchmove"];function Jr(e){return Xr.includes(e)}function Kr(e){var t=S,n=k;fe(null),ce(null);try{return e()}finally{fe(t),ce(n)}}const Zr=new Set,Fn=new Set;function Qr(e,t,n,i={}){function r(a){if(i.capture||Qe.call(t,a),!a.cancelBubble)return Kr(()=>n==null?void 0:n.call(this,a))}return e.startsWith("pointer")||e.startsWith("touch")||e==="wheel"?Ct(()=>{t.addEventListener(e,r,i)}):t.addEventListener(e,r,i),r}function qt(e,t,n,i,r){var a={capture:i,passive:r},s=Qr(e,t,n,a);(t===document.body||t===window||t===document)&&Yr(()=>{t.removeEventListener(e,s,a)})}function Qe(e){var w;var t=this,n=t.ownerDocument,i=e.type,r=((w=e.composedPath)==null?void 0:w.call(e))||[],a=r[0]||e.target,s=0,o=e.__root;if(o){var f=r.indexOf(o);if(f!==-1&&(t===document||t===window)){e.__root=t;return}var l=r.indexOf(t);if(l===-1)return;f<=l&&(s=f)}if(a=r[s]||e.target,a!==t){lt(e,"currentTarget",{configurable:!0,get(){return a||n}});var c=S,v=k;fe(null),ce(null);try{for(var u,h=[];a!==null;){var _=a.assignedSlot||a.parentNode||a.host||null;try{var m=a["__"+i];if(m!==void 0&&!a.disabled)if(Tt(m)){var[y,...C]=m;y.apply(a,[e,...C])}else m.call(a,e)}catch(x){u?h.push(x):u=x}if(e.cancelBubble||_===t||_===null)break;a=_}if(u){for(let x of h)queueMicrotask(()=>{throw x});throw u}}finally{e.__root=t,delete e.currentTarget,fe(c),ce(v)}}}let te;function ei(){te=void 0}function ti(e){let t=null,n=E;var i;if(E){for(t=N,te===void 0&&(te=ke(document.head));te!==null&&(te.nodeType!==8||te.data!==bt);)te=le(te);te===null?W(!1):te=U(le(te))}E||(i=document.head.appendChild(be()));try{_t(()=>e(i),nn)}finally{n&&(W(!0),te=N,U(t))}}function ni(e){var t=document.createElement("template");return t.innerHTML=e,t.content}function Ne(e,t){var n=k;n.nodes_start===null&&(n.nodes_start=e,n.nodes_end=t)}function _e(e,t){var n=(t&ar)!==0,i=(t&sr)!==0,r,a=!e.startsWith("<!>");return()=>{if(E)return Ne(N,null),N;r===void 0&&(r=ni(a?e:"<!>"+e),n||(r=ke(r)));var s=i||_n?document.importNode(r,!0):r.cloneNode(!0);if(n){var o=ke(s),f=s.lastChild;Ne(o,f)}else Ne(s,s);return s}}function ri(e=""){if(!E){var t=be(e+"");return Ne(t,t),t}var n=N;return n.nodeType!==3&&(n.before(n=be()),U(n)),Ne(n,n),n}function Ht(){if(E)return Ne(N,null),N;var e=document.createDocumentFragment(),t=document.createComment(""),n=be();return e.append(t,n),Ne(t,n),e}function B(e,t){if(E){k.nodes_end=N,ze();return}e!==null&&e.before(t)}function Bt(e,t){var n=t==null?"":typeof t=="object"?t+"":t;n!==(e.__t??(e.__t=e.nodeValue))&&(e.__t=n,e.nodeValue=n+"")}function qn(e,t){return Hn(e,t)}function ii(e,t){Mt(),t.intro=t.intro??!1;const n=t.target,i=E,r=N;try{for(var a=ke(n);a&&(a.nodeType!==8||a.data!==bt);)a=le(a);if(!a)throw Ge;W(!0),U(a),ze();const s=Hn(e,{...t,anchor:a});if(N===null||N.nodeType!==8||N.data!==$t)throw Pt(),Ge;return W(!1),s}catch(s){if(s===Ge)return t.recover===!1&&br(),Mt(),pn(n),W(!1),qn(e,t);throw s}finally{W(i),U(r),ei()}}const Ue=new Map;function Hn(e,{target:t,anchor:n,props:i={},events:r,context:a,intro:s=!0}){Mt();var o=new Set,f=v=>{for(var u=0;u<v.length;u++){var h=v[u];if(!o.has(h)){o.add(h);var _=Jr(h);t.addEventListener(h,Qe,{passive:_});var m=Ue.get(h);m===void 0?(document.addEventListener(h,Qe,{passive:_}),Ue.set(h,1)):Ue.set(h,m+1)}}};f(Nt(Zr)),Fn.add(f);var l=void 0,c=Wr(()=>{var v=n??t.appendChild(be());return Ze(()=>{if(a){Mn({});var u=X;u.c=a}r&&(i.$$events=r),E&&Ne(v,null),l=e(v,i)||{},E&&(k.nodes_end=N),a&&Dn()}),()=>{var _;for(var u of o){t.removeEventListener(u,Qe);var h=Ue.get(u);--h===0?(document.removeEventListener(u,Qe),Ue.delete(u)):Ue.set(u,h)}Fn.delete(f),v!==n&&((_=v.parentNode)==null||_.removeChild(v))}});return Yt.set(l,c),l}let Yt=new WeakMap;function ai(e,t){const n=Yt.get(e);return n?(Yt.delete(e),n(t)):Promise.resolve()}function Ve(e,t,n=!1){E&&ze();var i=e,r=null,a=null,s=Y,o=n?kt:0,f=!1;const l=(v,u=!0)=>{f=!0,c(u,v)},c=(v,u)=>{if(s===(s=v))return;let h=!1;if(E){const _=i.data===wt;!!s===_&&(i=Lt(),U(i),W(!1),h=!0)}s?(r?gt(r):u&&(r=Ze(()=>u(i))),a&&mt(a,()=>{a=null})):(a?gt(a):u&&(a=Ze(()=>u(i))),r&&mt(r,()=>{r=null})),h&&W(!0)};_t(()=>{f=!1,t(l),f||c(null,null)},o),E&&(i=N)}function si(e,t,n,i){for(var r=[],a=t.length,s=0;s<a;s++)Ft(t[s].e,r,!0);var o=a>0&&r.length===0&&n!==null;if(o){var f=n.parentNode;pn(f),f.append(n),i.clear(),Se(e,t[0].prev,t[a-1].next)}In(r,()=>{for(var l=0;l<a;l++){var c=t[l];o||(i.delete(c.k),Se(e,c.prev,c.next)),$e(c.e,!o)}})}function et(e,t,n,i,r,a=null){var s=e,o={items:new Map,first:null},f=(t&en)!==0;if(f){var l=e;s=E?U(ke(l)):l.appendChild(be())}E&&ze();var c=null,v=!1,u=Sr(()=>{var h=n();return Tt(h)?h:h==null?[]:Nt(h)});_t(()=>{var h=R(u),_=h.length;if(v&&_===0)return;v=_===0;let m=!1;if(E){var y=s.data===wt;y!==(_===0)&&(s=Lt(),U(s),W(!1),m=!0)}if(E){for(var C=null,w,x=0;x<_;x++){if(N.nodeType===8&&N.data===$t){s=N,m=!0,W(!1);break}var p=h[x],b=i(p,x);w=Bn(N,o,C,null,p,b,x,r,t,n),o.items.set(b,w),C=w}_>0&&U(Lt())}E||li(h,o,s,r,t,i,n),a!==null&&(_===0?c?gt(c):c=Ze(()=>a(s)):c!==null&&mt(c,()=>{c=null})),m&&W(!0),R(u)}),E&&(s=N)}function li(e,t,n,i,r,a,s){var d,g,F,T;var o=(r&Qn)!==0,f=(r&(L|je))!==0,l=e.length,c=t.items,v=t.first,u=v,h,_=null,m,y=[],C=[],w,x,p,b;if(o)for(b=0;b<l;b+=1)w=e[b],x=a(w,b),p=c.get(x),p!==void 0&&((d=p.a)==null||d.measure(),(m??(m=new Set)).add(p));for(b=0;b<l;b+=1){if(w=e[b],x=a(w,b),p=c.get(x),p===void 0){var I=u?u.e.nodes_start:n;_=Bn(I,t,_,_===null?t.first:_.next,w,x,b,i,r,s),c.set(x,_),y=[],C=[],u=_.next;continue}if(f&&oi(p,w,b,r),p.e.f&pe&&(gt(p.e),o&&((g=p.a)==null||g.unfix(),(m??(m=new Set)).delete(p))),p!==u){if(h!==void 0&&h.has(p)){if(y.length<C.length){var M=C[0],j;_=M.prev;var Me=y[0],Ae=y[y.length-1];for(j=0;j<y.length;j+=1)Yn(y[j],M,n);for(j=0;j<C.length;j+=1)h.delete(C[j]);Se(t,Me.prev,Ae.next),Se(t,_,Me),Se(t,Ae,M),u=M,_=Ae,b-=1,y=[],C=[]}else h.delete(p),Yn(p,u,n),Se(t,p.prev,p.next),Se(t,p,_===null?t.first:_.next),Se(t,_,p),_=p;continue}for(y=[],C=[];u!==null&&u.k!==x;)u.e.f&pe||(h??(h=new Set)).add(u),C.push(u),u=u.next;if(u===null)continue;p=u}y.push(p),_=p,u=p.next}if(u!==null||h!==void 0){for(var xe=h===void 0?[]:Nt(h);u!==null;)u.e.f&pe||xe.push(u),u=u.next;var De=xe.length;if(De>0){var $=r&en&&l===0?n:null;if(o){for(b=0;b<De;b+=1)(F=xe[b].a)==null||F.measure();for(b=0;b<De;b+=1)(T=xe[b].a)==null||T.fix()}si(t,xe,$,c)}}o&&Ct(()=>{var D;if(m!==void 0)for(p of m)(D=p.a)==null||D.apply()}),k.first=t.first&&t.first.e,k.last=_&&_.e}function oi(e,t,n,i){i&L&&Rt(e.v,t),i&je?Rt(e.i,n):e.i=n}function Bn(e,t,n,i,r,a,s,o,f,l){var c=(f&L)!==0,v=(f&er)===0,u=c?v?Ot(r):Q(r):r,h=f&je?Q(s):s,_={i:h,v:u,k:a,a:null,e:null,prev:n,next:i};try{return _.e=Ze(()=>o(e,u,h,l),E),_.e.prev=n&&n.e,_.e.next=i&&i.e,n===null?t.first=_:(n.next=_,n.e.next=_.e),i!==null&&(i.prev=_,i.e.prev=_.e),_}finally{}}function Yn(e,t,n){for(var i=e.next?e.next.e.nodes_start:n,r=t?t.e.nodes_start:n,a=e.e.nodes_start;a!==i;){var s=le(a);r.before(a),a=s}}function Se(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 Ut(e,t,n,i,r){var o;E&&ze();var a=(o=t.$$slots)==null?void 0:o[n],s=!1;a===!0&&(a=t[n==="default"?"children":n],s=!0),a===void 0?r!==null&&r(e):a(e,s?()=>i:i)}function ui(e,t){Ct(()=>{var n=e.getRootNode(),i=n.host?n:n.head??n.ownerDocument.head;if(!i.querySelector("#"+t.hash)){const r=document.createElement("style");r.id=t.hash,r.textContent=t.code,i.appendChild(r)}})}function Un(e,t,n,i){var r=e.__attributes??(e.__attributes={});E&&(r[t]=e.getAttribute(t),t==="src"||t==="srcset"||t==="href"&&e.nodeName==="LINK")||r[t]!==(r[t]=n)&&(t==="style"&&"__styles"in e&&(e.__styles={}),t==="loading"&&(e[or]=n),n==null?e.removeAttribute(t):typeof n!="string"&&Vn(e).includes(t)?e[t]=n:e.setAttribute(t,n))}function ne(e,t,n){var i=S,r=k;let a=E;E&&W(!1),fe(null),ce(null);try{(Vt.has(e.nodeName)||!customElements||customElements.get(e.tagName.toLowerCase())?Vn(e).includes(t):n&&typeof n=="object")?e[t]=n:Un(e,t,n==null?n:String(n))}finally{fe(i),ce(r),a&&W(!0)}}var Vt=new Map;function Vn(e){var t=Vt.get(e.nodeName);if(t)return t;Vt.set(e.nodeName,t=[]);for(var n,i=e,r=Element.prototype;r!==i;){n=fr(i);for(var a in n)n[a].set&&t.push(a);i=sn(i)}return t}let pt=!1;function fi(e){var t=pt;try{return pt=!1,[e(),pt]}finally{pt=t}}function Ce(e,t,n,i){var b;var r=(n&tr)!==0,a=!0,s=(n&rr)!==0,o=(n&ir)!==0,f=!1,l;s?[l,f]=fi(()=>e[t]):l=e[t];var c=at in e||an in e,v=s&&(((b=Oe(e,t))==null?void 0:b.set)??(c&&t in e&&(I=>e[t]=I)))||void 0,u=i,h=!0,_=!1,m=()=>(_=!0,h&&(h=!1,o?u=Sn(i):u=i),u);l===void 0&&i!==void 0&&(v&&a&&wr(),l=m(),v&&v(l));var y;if(y=()=>{var I=e[t];return I===void 0?m():(h=!0,_=!1,I)},!(n&nr))return y;if(v){var C=e.$$legacy;return function(I,M){return arguments.length>0?((!M||C||f)&&v(M?y():I),I):y()}}var w=!1,x=Ot(l),p=It(()=>{var I=y(),M=R(x);return w?(w=!1,M):x.v=I});return r||(p.equals=At),function(I,M){if(arguments.length>0){const j=M?R(p):s?ye(I):I;return p.equals(j)||(w=!0,ee(x,j),_&&u!==void 0&&(u=j),Sn(()=>R(p))),I}return R(p)}}function ci(e){return new di(e)}class di{constructor(t){Zt(this,Ee);Zt(this,re);var a;var n=new Map,i=(s,o)=>{var f=Ot(o);return n.set(s,f),f};const r=new Proxy({...t.props||{},$$events:{}},{get(s,o){return R(n.get(o)??i(o,Reflect.get(s,o)))},has(s,o){return o===an?!0:(R(n.get(o)??i(o,Reflect.get(s,o))),Reflect.has(s,o))},set(s,o,f){return ee(n.get(o)??i(o,f),f),Reflect.set(s,o,f)}});Qt(this,re,(t.hydrate?ii:qn)(t.component,{target:t.target,anchor:t.anchor,props:r,context:t.context,intro:t.intro??!1,recover:t.recover})),(!((a=t==null?void 0:t.props)!=null&&a.$$host)||t.sync===!1)&&ve(),Qt(this,Ee,r.$$events);for(const s of Object.keys(V(this,re)))s==="$set"||s==="$destroy"||s==="$on"||lt(this,s,{get(){return V(this,re)[s]},set(o){V(this,re)[s]=o},enumerable:!0});V(this,re).$set=s=>{Object.assign(r,s)},V(this,re).$destroy=()=>{ai(V(this,re))}}$set(t){V(this,re).$set(t)}$on(t,n){V(this,Ee)[t]=V(this,Ee)[t]||[];const i=(...r)=>n.call(this,...r);return V(this,Ee)[t].push(i),()=>{V(this,Ee)[t]=V(this,Ee)[t].filter(r=>r!==i)}}$destroy(){V(this,re).$destroy()}}Ee=new WeakMap,re=new WeakMap;let Wn;typeof HTMLElement=="function"&&(Wn=class extends HTMLElement{constructor(t,n,i){super();se(this,"$$ctor");se(this,"$$s");se(this,"$$c");se(this,"$$cn",!1);se(this,"$$d",{});se(this,"$$r",!1);se(this,"$$p_d",{});se(this,"$$l",{});se(this,"$$l_u",new Map);se(this,"$$me");this.$$ctor=t,this.$$s=n,i&&this.attachShadow({mode:"open"})}addEventListener(t,n,i){if(this.$$l[t]=this.$$l[t]||[],this.$$l[t].push(n),this.$$c){const r=this.$$c.$on(t,n);this.$$l_u.set(n,r)}super.addEventListener(t,n,i)}removeEventListener(t,n,i){if(super.removeEventListener(t,n,i),this.$$c){const r=this.$$l_u.get(n);r&&(r(),this.$$l_u.delete(n))}}async connectedCallback(){if(this.$$cn=!0,!this.$$c){let t=function(r){return a=>{const s=document.createElement("slot");r!=="default"&&(s.name=r),B(a,s)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const n={},i=vi(this);for(const r of this.$$s)r in i&&(r==="default"&&!this.$$d.children?(this.$$d.children=t(r),n.default=!0):n[r]=t(r));for(const r of this.attributes){const a=this.$$g_p(r.name);a in this.$$d||(this.$$d[a]=yt(a,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=ci({component:this.$$ctor,target:this.shadowRoot||this,props:{...this.$$d,$$slots:n,$$host:this}}),this.$$me=Vr(()=>{Gr(()=>{var r;this.$$r=!0;for(const a of st(this.$$c)){if(!((r=this.$$p_d[a])!=null&&r.reflect))continue;this.$$d[a]=this.$$c[a];const s=yt(a,this.$$d[a],this.$$p_d,"toAttribute");s==null?this.removeAttribute(this.$$p_d[a].attribute||a):this.setAttribute(this.$$p_d[a].attribute||a,s)}this.$$r=!1})});for(const r in this.$$l)for(const a of this.$$l[r]){const s=this.$$c.$on(r,a);this.$$l_u.set(a,s)}this.$$l={}}}attributeChangedCallback(t,n,i){var r;this.$$r||(t=this.$$g_p(t),this.$$d[t]=yt(t,i,this.$$p_d,"toProp"),(r=this.$$c)==null||r.$set({[t]:this.$$d[t]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$me(),this.$$c=void 0)})}$$g_p(t){return st(this.$$p_d).find(n=>this.$$p_d[n].attribute===t||!this.$$p_d[n].attribute&&n.toLowerCase()===t)||t}});function yt(e,t,n,i){var a;const r=(a=n[e])==null?void 0:a.type;if(t=r==="Boolean"&&typeof t!="boolean"?t!=null:t,!i||!n[e])return t;if(i==="toAttribute")switch(r){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(r){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function vi(e){const t={};return e.childNodes.forEach(n=>{t[n.slot||"default"]=!0}),t}function hi(e,t,n,i,r,a){let s=class extends Wn{constructor(){super(e,n,r),this.$$p_d=t}static get observedAttributes(){return st(t).map(o=>(t[o].attribute||o).toLowerCase())}};return st(t).forEach(o=>{lt(s.prototype,o,{get(){return this.$$c&&o in this.$$c?this.$$c[o]:this.$$d[o]},set(f){var v;f=yt(o,f,t),this.$$d[o]=f;var l=this.$$c;if(l){var c=(v=Oe(l,o))==null?void 0:v.get;c?l[o]=f:l.$set({[o]:f})}}})}),i.forEach(o=>{lt(s.prototype,o,{get(){var f;return(f=this.$$c)==null?void 0:f[o]}})}),e.element=s,s}const _i={version:"0.50.0-alpha.009"};function mi(e,t){var i,r;let n="";if(e&&(t!=null&&t.length)&&((i=Object.keys(e))!=null&&i.length)&&((r=t==null?void 0:t.filter(a=>Object.keys(e).includes(a.name)))!=null&&r.length))for(const a of Object.keys(e))(t==null?void 0:t.filter(o=>o.name===a&&o.defaultValue!==e[a]))&&(n+=`${a}:${e[a]};`);return n}function gi(e){var i;const t=((i=e==null?void 0:e.repoName.split("/"))==null?void 0:i[1])||(e==null?void 0:e.repoName);if(!t)throw new Error("wrong componentPath "+(e==null?void 0:e.repoName));if(!(e!=null&&e.version))throw new Error("wrong version "+(e==null?void 0:e.version));const n=(e==null?void 0:e.iifePath)||"main.iife.js";if(!document.getElementById(t+"-script"))try{const r=document.createElement("script");r.id=t+"-script",r.src=`https://cdn.jsdelivr.net/npm/${e.repoName}@${e.version}/${n}`,e!=null&&e.local&&location.href.includes("localhost")&&(r.src=`${e.local}`),document.head.appendChild(r)}catch(r){console.warn(r)}}function pi(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var We={},Wt,Gn;function yi(){if(Gn)return Wt;Gn=1;var e=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,t=/\n/g,n=/^\s*/,i=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,r=/^:\s*/,a=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,s=/^[;\s]*/,o=/^\s+|\s+$/g,f=`
|
|
2
|
-
`,l="/",c="*",v="",u="comment",h="declaration";Wt=function(m,y){if(typeof m!="string")throw new TypeError("First argument must be a string");if(!m)return[];y=y||{};var C=1,w=1;function x($){var d=$.match(t);d&&(C+=d.length);var g=$.lastIndexOf(f);w=~g?$.length-g:w+$.length}function p(){var $={line:C,column:w};return function(d){return d.position=new b($),j(),d}}function b($){this.start=$,this.end={line:C,column:w},this.source=y.source}b.prototype.content=m;function I($){var d=new Error(y.source+":"+C+":"+w+": "+$);if(d.reason=$,d.filename=y.source,d.line=C,d.column=w,d.source=m,!y.silent)throw d}function M($){var d=$.exec(m);if(d){var g=d[0];return x(g),m=m.slice(g.length),d}}function j(){M(n)}function Me($){var d;for($=$||[];d=Ae();)d!==!1&&$.push(d);return $}function Ae(){var $=p();if(!(l!=m.charAt(0)||c!=m.charAt(1))){for(var d=2;v!=m.charAt(d)&&(c!=m.charAt(d)||l!=m.charAt(d+1));)++d;if(d+=2,v===m.charAt(d-1))return I("End of comment missing");var g=m.slice(2,d-2);return w+=2,x(g),m=m.slice(d),w+=2,$({type:u,comment:g})}}function xe(){var $=p(),d=M(i);if(d){if(Ae(),!M(r))return I("property missing ':'");var g=M(a),F=$({type:h,property:_(d[0].replace(e,v)),value:g?_(g[0].replace(e,v)):v});return M(s),F}}function De(){var $=[];Me($);for(var d;d=xe();)d!==!1&&($.push(d),Me($));return $}return j(),De()};function _(m){return m?m.replace(o,v):v}return Wt}var zn;function bi(){if(zn)return We;zn=1;var e=We&&We.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(We,"__esModule",{value:!0}),We.default=n;var t=e(yi());function n(i,r){var a=null;if(!i||typeof i!="string")return a;var s=(0,t.default)(i),o=typeof r=="function";return s.forEach(function(f){if(f.type==="declaration"){var l=f.property,c=f.value;o?r(l,c,f):c&&(a=a||{},a[l]=c)}}),a}return We}var wi=bi();const Xn=pi(wi),$i=Xn.default||Xn,Gt={vars:[{name:"--bs-primary",defaultValue:"#07689f",valueType:"color",theme:"bootstrap"}]};var Ei=_e('<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@latest/font/bootstrap-icons.css" class="svelte-1nor81y">'),xi=_e('<img style="height:40px;margin-right:10px" alt="" class="svelte-1nor81y">'),ki=_e('<div style="margin-top:10px" class="svelte-1nor81y"><!> </div>'),Ti=_e("<hb-sidenav-link></hb-sidenav-link>",2),Ni=_e("<hb-sidenav-link></hb-sidenav-link>",2),Si=_e('<h5 style="margin-top: 40px;" class="svelte-1nor81y"> </h5> <hr style="margin-top:0px;margin-bottom: 10px;" class="svelte-1nor81y"> <!>',1),Ci=_e("<hb-sidenav-link></hb-sidenav-link>",2),Ai=_e('<h5 style="margin-top: 40px;" class="svelte-1nor81y"> </h5> <hr style="margin-top:0px;margin-bottom: 10px;" class="svelte-1nor81y"> <!>',1),Oi=_e('<hr class="svelte-1nor81y"> <!>',1),Ri=_e('<div id="webcomponent" style="position:relative;height:100%;" class="svelte-1nor81y"><!> <div class="d-flex flex-column p-3 bg-light svelte-1nor81y" style="height:100%;padding-top:0px!important;position: relative; max-height: 100%; overflow-y: auto;"><h4 class="offcanvas-title svelte-1nor81y"><!> <!></h4> <ul class="nav nav-pills flex-column mb-auto svelte-1nor81y" style="margin-top:25px"><!> <!> <!></ul> <!></div></div>');const Ii={hash:"svelte-1nor81y",code:`@charset "UTF-8";
|
|
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=`
|
|
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";
|
|
3
4
|
@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");
|
|
4
5
|
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@latest/font/bootstrap-icons.css");
|
|
5
6
|
/*!
|
|
@@ -7,29 +8,29 @@ var Pi=Object.defineProperty;var Kn=A=>{throw TypeError(A)};var Li=(A,O,L)=>O in
|
|
|
7
8
|
* Copyright 2011-2021 The Bootstrap Authors
|
|
8
9
|
* Copyright 2011-2021 Twitter, Inc.
|
|
9
10
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
|
10
|
-
*/: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-white-rgb: 255, 255, 255;--bs-black-rgb: 0, 0, 0;--bs-body-color-rgb: 33, 37, 41;--bs-body-bg-rgb: 255, 255, 255;--bs-font-sans-serif: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", 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-bg: #fff;}.svelte-
|
|
11
|
-
.svelte-
|
|
12
|
-
.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-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-white-rgb: 255, 255, 255;--bs-black-rgb: 0, 0, 0;--bs-body-color-rgb: 33, 37, 41;--bs-body-bg-rgb: 255, 255, 255;--bs-font-sans-serif: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", 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-bg: #fff;}.svelte-1nr22pp,
|
|
12
|
+
.svelte-1nr22pp::before,
|
|
13
|
+
.svelte-1nr22pp::after {box-sizing:border-box;}
|
|
13
14
|
@media (prefers-reduced-motion: no-preference) {:host {scroll-behavior:smooth;}
|
|
14
|
-
}hr.svelte-
|
|
15
|
+
}hr.svelte-1nr22pp {margin:1rem 0;color:inherit;background-color:currentColor;border:0;opacity:0.25;}hr.svelte-1nr22pp:not([size]) {height:1px;} h5.svelte-1nr22pp, h4.svelte-1nr22pp {margin-top:0;margin-bottom:0.5rem;font-weight:500;line-height:1.2;}
|
|
15
16
|
@media (min-width: 1200px) {
|
|
16
17
|
}
|
|
17
18
|
@media (min-width: 1200px) {
|
|
18
19
|
}
|
|
19
20
|
@media (min-width: 1200px) {
|
|
20
|
-
}h4.svelte-
|
|
21
|
-
@media (min-width: 1200px) {h4.svelte-
|
|
22
|
-
}h5.svelte-
|
|
23
|
-
ul.svelte-
|
|
24
|
-
ul.svelte-
|
|
21
|
+
}h4.svelte-1nr22pp {font-size:calc(1.275rem + 0.3vw);}
|
|
22
|
+
@media (min-width: 1200px) {h4.svelte-1nr22pp {font-size:1.5rem;}
|
|
23
|
+
}h5.svelte-1nr22pp {font-size:1.25rem;}
|
|
24
|
+
ul.svelte-1nr22pp {padding-left:2rem;}
|
|
25
|
+
ul.svelte-1nr22pp {margin-top:0;margin-bottom:1rem;}img.svelte-1nr22pp {vertical-align:middle;}.svelte-1nr22pp::-moz-focus-inner {padding:0;border-style:none;}
|
|
25
26
|
@media (min-width: 1200px) {
|
|
26
|
-
}.svelte-
|
|
27
|
-
.svelte-
|
|
28
|
-
.svelte-
|
|
29
|
-
.svelte-
|
|
30
|
-
.svelte-
|
|
31
|
-
.svelte-
|
|
32
|
-
.svelte-
|
|
27
|
+
}.svelte-1nr22pp::-webkit-datetime-edit-fields-wrapper,
|
|
28
|
+
.svelte-1nr22pp::-webkit-datetime-edit-text,
|
|
29
|
+
.svelte-1nr22pp::-webkit-datetime-edit-minute,
|
|
30
|
+
.svelte-1nr22pp::-webkit-datetime-edit-hour-field,
|
|
31
|
+
.svelte-1nr22pp::-webkit-datetime-edit-day-field,
|
|
32
|
+
.svelte-1nr22pp::-webkit-datetime-edit-month-field,
|
|
33
|
+
.svelte-1nr22pp::-webkit-datetime-edit-year-field {padding:0;}.svelte-1nr22pp::-webkit-inner-spin-button {height:auto;}
|
|
33
34
|
/* rtl:raw:
|
|
34
35
|
[type="tel"],
|
|
35
36
|
[type="url"],
|
|
@@ -37,7 +38,7 @@ ul.svelte-1nor81y {margin-top:0;margin-bottom:1rem;}img.svelte-1nor81y {vertical
|
|
|
37
38
|
[type="number"] {
|
|
38
39
|
direction: ltr;
|
|
39
40
|
}
|
|
40
|
-
*/.svelte-
|
|
41
|
+
*/.svelte-1nr22pp::-webkit-search-decoration {-webkit-appearance:none;}.svelte-1nr22pp::-webkit-color-swatch-wrapper {padding:0;}.svelte-1nr22pp::file-selector-button {font:inherit;}.svelte-1nr22pp::-webkit-file-upload-button {font:inherit;-webkit-appearance:button;}
|
|
41
42
|
@media (min-width: 1200px) {
|
|
42
43
|
}
|
|
43
44
|
@media (min-width: 1200px) {
|
|
@@ -51,7 +52,7 @@ ul.svelte-1nor81y {margin-top:0;margin-bottom:1rem;}img.svelte-1nor81y {vertical
|
|
|
51
52
|
@media (min-width: 1200px) {
|
|
52
53
|
}
|
|
53
54
|
@media (prefers-reduced-motion: reduce) {
|
|
54
|
-
}.nav.svelte-
|
|
55
|
+
}.nav.svelte-1nr22pp {display:flex;flex-wrap:wrap;padding-left:0;margin-bottom:0;list-style:none;}
|
|
55
56
|
@media (prefers-reduced-motion: reduce) {
|
|
56
57
|
}
|
|
57
58
|
@media (prefers-reduced-motion: reduce) {
|
|
@@ -73,7 +74,7 @@ ul.svelte-1nor81y {margin-top:0;margin-bottom:1rem;}img.svelte-1nor81y {vertical
|
|
|
73
74
|
@media (max-width: 1399.98px) {
|
|
74
75
|
}
|
|
75
76
|
@media (prefers-reduced-motion: reduce) {
|
|
76
|
-
}.offcanvas-title.svelte-
|
|
77
|
+
}.offcanvas-title.svelte-1nr22pp {margin-bottom:0;line-height:1.5;}
|
|
77
78
|
@media (min-width: 576px) {
|
|
78
79
|
}
|
|
79
80
|
@media (min-width: 768px) {
|
|
@@ -83,9 +84,9 @@ ul.svelte-1nor81y {margin-top:0;margin-bottom:1rem;}img.svelte-1nor81y {vertical
|
|
|
83
84
|
@media (min-width: 1200px) {
|
|
84
85
|
}
|
|
85
86
|
@media (min-width: 1400px) {
|
|
86
|
-
}.d-flex.svelte-
|
|
87
|
+
}.d-flex.svelte-1nr22pp {display:flex !important;}.flex-column.svelte-1nr22pp {flex-direction:column !important;}.mb-auto.svelte-1nr22pp {margin-bottom:auto !important;}.p-3.svelte-1nr22pp {padding:1rem !important;}
|
|
87
88
|
/* rtl:begin:remove */
|
|
88
|
-
/* rtl:end:remove */.bg-light.svelte-
|
|
89
|
+
/* rtl:end:remove */.bg-light.svelte-1nr22pp {--bs-bg-opacity: 1;background-color:rgba(var(--bs-light-rgb), var(--bs-bg-opacity)) !important;}
|
|
89
90
|
@media (min-width: 576px) {
|
|
90
91
|
}
|
|
91
92
|
@media (min-width: 768px) {
|
|
@@ -99,6 +100,15 @@ ul.svelte-1nor81y {margin-top:0;margin-bottom:1rem;}img.svelte-1nor81y {vertical
|
|
|
99
100
|
@media (min-width: 1200px) {
|
|
100
101
|
}
|
|
101
102
|
@media print {
|
|
102
|
-
}#webcomponent.svelte-
|
|
103
|
+
}#webcomponent.svelte-1nr22pp {font-family:"Roboto", sans-serif;}
|
|
103
104
|
@media (min-width: 768px) {
|
|
104
|
-
}:host {display:block;width:240px;}`};function
|
|
105
|
+
}:host {display:block;width:240px;}`};function pr(e,t){En(t,!0),Ai(e,ns);/**
|
|
106
|
+
* Svelte Video Login/Register/Forget Password WebComponent
|
|
107
|
+
* =====================
|
|
108
|
+
*
|
|
109
|
+
* @contributors: Dario Caruso <dev@dariocaruso.info> (https://dariocaruso.info)
|
|
110
|
+
*
|
|
111
|
+
* @license: MIT License
|
|
112
|
+
*
|
|
113
|
+
*/let n=je(t,"id",7,""),r=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,_){t.$$host.dispatchEvent(new CustomEvent(d,{detail:_}))}function v(d){console.log(d),c("pageChange",{page:d})}Hi({repoName:"@htmlbricks/hb-sidenav-link",version:qi.version});var m={get id(){return n()},set id(d=""){n(d),Ee()},get companylogouri(){return r()},set companylogouri(d="https://upload.wikimedia.org/wikipedia/commons/8/80/Wikipedia-logo-v2.svg"){r(d),Ee()},get navlinks(){return i()},set navlinks(d=[]){i(d),Ee()},get navpage(){return s()},set navpage(d="home"){s(d),Ee()},get groups(){return a()},set groups(d=[]){a(d),Ee()},get companytitle(){return o()},set companytitle(d=""){o(d),Ee()},get enablefooter(){return l()},set enablefooter(d=!0){l(d),Ee()}},h=ts();wi(d=>{var _=Wi();q(d,_)});var u=Me(h);Qt(u,t,"test",{},null);var p=le(u,2),g=Me(p),y=Me(g);Qt(y,t,"header",{part:"header"},null);var b=le(y,2);{var C=d=>{var _=Xi(),N=Me(_);{var T=P=>{var ee=Gi();fe(()=>fr(ee,"src",r())),q(P,ee)};Je(N,P=>{r()&&P(T)})}var D=le(N);Ce(_),fe(()=>zt(D,` ${o()??""}`)),q(d,_)};Je(b,d=>{o()&&d(C)})}Ce(g);var O=le(g,2),A=Me(O);{var w=d=>{var _=Xt(),N=Ve(_);st(N,17,()=>i().filter(T=>!T.group),T=>T.key,(T,D)=>{var P=zi();tn(P,R(f)),fe(()=>Ke(P,"navlink",JSON.stringify(R(D)))),fe(()=>Ke(P,"navpage",s())),en(P,1,"svelte-1nr22pp"),Gt("pageChange",P,ee=>v(ee.detail.page)),q(T,P)}),q(d,_)};Je(A,d=>{i()?.length&&typeof i()=="object"&&i().filter(_=>!_.group)?.length&&d(w)})}var E=le(A,2);{var I=d=>{var _=Xt(),N=Ve(_);st(N,17,a,T=>T.key,(T,D)=>{var P=Ki(),ee=Ve(P),sn=Me(ee,!0);Ce(ee);var an=le(ee,4);st(an,17,()=>i().filter(G=>G.group&&G.group===R(D).key),G=>G.key,(G,ln)=>{var X=Ji();tn(X,R(f)),fe(()=>Ke(X,"navlink",JSON.stringify(R(ln)))),fe(()=>Ke(X,"navpage",s())),en(X,1,"svelte-1nr22pp"),Gt("pageChange",X,on=>v(on.detail.page)),q(G,X)}),fe(()=>zt(sn,R(D).label)),q(T,P)}),q(d,_)};Je(E,d=>{a()?.length&&d(I)})}var pe=le(E,2);{var be=d=>{var _=Xt(),N=Ve(_);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),sn=Me(ee,!0);Ce(ee);var an=le(ee,4);st(an,17,()=>i().filter(G=>G.group&&G.group===D),G=>G.key,(G,ln)=>{var X=Zi();tn(X,R(f)),fe(()=>Ke(X,"navlink",JSON.stringify(R(ln)))),fe(()=>Ke(X,"navpage",s())),en(X,1,"svelte-1nr22pp"),Gt("pageChange",X,on=>v(on.detail.page)),q(G,X)}),fe(()=>zt(sn,D)),q(T,P)}),q(d,_)};Je(pe,d=>{typeof i()=="object"&&i()?.length&&d(be)})}Ce(O);var ie=le(O,2);{var B=d=>{var _=es(),N=le(Ve(_),2);Qt(N,t,"footer",{},T=>{var D=Ei("footer");q(T,D)}),q(d,_)};Je(ie,d=>{l()&&d(B)})}return Ce(p),Ce(h),q(e,h),$n(m)}customElements.define("hb-sidebar-desktop",Fi(pr,{id:{},companylogouri:{},navlinks:{},navpage:{},groups:{},companytitle:{},enablefooter:{}},["test","header","footer"],[],!0)),fn.Component=pr,Object.defineProperty(fn,Symbol.toStringTag,{value:"Module"})})(this["sidebar-desktop"]=this["sidebar-desktop"]||{});
|
|
114
|
+
//# sourceMappingURL=main.iife.js.map
|