@htmlbricks/hb-table 0.61.39 → 0.61.40

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 CHANGED
@@ -1,5 +1,5 @@
1
1
  (function(Ei){"use strict";typeof window<"u"&&((window.__svelte??={}).v??=new Set).add("5");const jr=1,Sr=2,ji=4,Zo=8,Ko=16,Qo=1,ev=4,tv=8,rv=16,iv=1,ov=2,Ur="[",Wr="[!",Vr="]",rr={},Le=Symbol(),vv="http://www.w3.org/1999/xhtml",Si=!1;var Gr=Array.isArray,nv=Array.prototype.indexOf,Jr=Array.from,Mr=Object.keys,ir=Object.defineProperty,Ut=Object.getOwnPropertyDescriptor,lv=Object.getOwnPropertyDescriptors,av=Object.prototype,sv=Array.prototype,Mi=Object.getPrototypeOf,Ci=Object.isExtensible;function Ti(e){for(var t=0;t<e.length;t++)e[t]()}function dv(){var e,t,r=new Promise((i,v)=>{e=i,t=v});return{promise:r,resolve:e,reject:t}}const tt=2,Xr=4,Zr=8,or=16,At=32,zt=64,Ai=128,nt=256,Cr=512,Fe=1024,lt=2048,It=4096,ct=8192,Wt=16384,Kr=32768,Qr=65536,Oi=1<<17,Di=1<<18,vr=1<<19,pv=1<<20,ei=1<<21,ti=1<<22,Vt=1<<23,Tr=Symbol("$state"),Ni=Symbol("legacy props"),fv=Symbol(""),ri=new class extends Error{name="StaleReactionError";message="The reaction that called `getAbortSignal()` was re-run or destroyed"},ii=3,nr=8;function mv(){throw new Error("https://svelte.dev/e/await_outside_boundary")}function bv(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function cv(e){throw new Error("https://svelte.dev/e/effect_in_teardown")}function gv(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function uv(e){throw new Error("https://svelte.dev/e/effect_orphan")}function hv(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function xv(){throw new Error("https://svelte.dev/e/hydration_failed")}function wv(e){throw new Error("https://svelte.dev/e/props_invalid_value")}function yv(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function _v(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function kv(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function Ar(e){console.warn("https://svelte.dev/e/hydration_mismatch")}let J=!1;function rt(e){J=e}let ae;function Ze(e){if(e===null)throw Ar(),rr;return ae=e}function gr(){return Ze(_t(ae))}function N(e){if(J){if(_t(ae)!==null)throw Ar(),rr;ae=e}}function oi(){for(var e=0,t=ae;;){if(t.nodeType===nr){var r=t.data;if(r===Vr){if(e===0)return t;e-=1}else(r===Ur||r===Wr)&&(e+=1)}var i=_t(t);t.remove(),t=i}}function zi(e){if(!e||e.nodeType!==nr)throw Ar(),rr;return e.data}function Ii(e){return e===this.v}function $v(e,t){return e!=e?t==t:e!==t||e!==null&&typeof e=="object"||typeof e=="function"}function Li(e){return!$v(e,this.v)}let Ev=!1,gt=null;function Or(e){gt=e}function Ri(e,t=!1,r){gt={p:gt,c:null,e:null,s:e,x:null,l:null}}function Pi(e){var t=gt,r=t.e;if(r!==null){t.e=null;for(var i of r)ao(i)}return e!==void 0&&(t.x=e),gt=t.p,e??{}}function Yi(){return!0}const jv=new WeakMap;function Sv(e){var t=V;if(t===null)return X.f|=Vt,e;if((t.f&Kr)===0){if((t.f&Ai)===0)throw!t.parent&&e instanceof Error&&Fi(e),e;t.b.error(e)}else vi(e,t)}function vi(e,t){for(;t!==null;){if((t.f&Ai)!==0)try{t.b.error(e);return}catch(r){e=r}t=t.parent}throw e instanceof Error&&Fi(e),e}function Fi(e){const t=jv.get(e);t&&(ir(e,"message",{value:t.message}),ir(e,"stack",{value:t.stack}))}const Mv=typeof requestIdleCallback>"u"?e=>setTimeout(e,1):requestIdleCallback;let ur=[],hr=[];function Hi(){var e=ur;ur=[],Ti(e)}function Bi(){var e=hr;hr=[],Ti(e)}function qi(e){ur.length===0&&queueMicrotask(Hi),ur.push(e)}function Cv(e){hr.length===0&&Mv(Bi),hr.push(e)}function Tv(){ur.length>0&&Hi(),hr.length>0&&Bi()}function Av(){const e=V.b;return e===null&&mv(),e}function Dr(e){var t=tt|lt,r=X!==null&&(X.f&tt)!==0?X:null;return V===null||r!==null&&(r.f&nt)!==0?t|=nt:V.f|=vr,{ctx:gt,deps:null,effects:null,equals:Ii,f:t,fn:e,reactions:null,rv:0,v:Le,wv:0,parent:r??V,ac:null}}function Ov(e,t){let r=V;r===null&&bv();var i=r.b,v=void 0,n=xr(Le),l=null,s=!X;return Uv(()=>{try{var d=e();l&&Promise.resolve(d).catch(()=>{})}catch(w){d=Promise.reject(w)}var p=()=>d;v=l?.then(p,p)??Promise.resolve(d),l=v;var m=ze,g=i.is_pending();s&&(i.update_pending_count(1),g||m.increment());const _=(w,b=void 0)=>{l=null,g||m.activate(),b?b!==ri&&(n.f|=Vt,wr(n,b)):((n.f&Vt)!==0&&(n.f^=Vt),wr(n,w)),s&&(i.update_pending_count(-1),g||m.decrement()),Gi()};if(v.then(_,w=>_(null,w||"unknown")),m)return()=>{queueMicrotask(()=>m.neuter())}}),new Promise(d=>{function p(m){function g(){m===v?d(n):p(v)}m.then(g,g)}p(v)})}function Nr(e){const t=Dr(e);return uo(t),t}function Ui(e){const t=Dr(e);return t.equals=Li,t}function Wi(e){var t=e.effects;if(t!==null){e.effects=null;for(var r=0;r<t.length;r+=1)$t(t[r])}}function Dv(e){for(var t=e.parent;t!==null;){if((t.f&tt)===0)return t;t=t.parent}return null}function ni(e){var t,r=V;jt(Dv(e));try{Wi(e),t=_o(e)}finally{jt(r)}return t}function Vi(e){var t=ni(e);if(e.equals(t)||(e.v=t,e.wv=wo()),!Zt){var r=(Pt||(e.f&nt)!==0)&&e.deps!==null?It:Fe;Ke(e,r)}}function Nv(e,t,r){const i=Dr;if(t.length===0){r(e.map(i));return}var v=ze,n=V,l=zv(),s=Av();Promise.all(t.map(d=>Ov(d))).then(d=>{v?.activate(),l();try{r([...e.map(i),...d])}catch(p){(n.f&Wt)===0&&vi(p,n)}v?.deactivate(),Gi()}).catch(d=>{s.error(d)})}function zv(){var e=V,t=X,r=gt,i=ze;return function(){jt(e),st(t),Or(r),i?.activate()}}function Gi(){jt(null),st(null),Or(null)}const li=new Set;let ze=null,Ji=new Set,zr=[];function Xi(){const e=zr.shift();zr.length>0&&queueMicrotask(Xi),e()}let Gt=[],Ir=null,ai=!1,Lr=!1;class Jt{current=new Map;#t=new Map;#e=new Set;#r=0;#s=null;#d=!1;#o=[];#n=[];#v=[];#i=[];#l=[];#p=[];#f=[];skipped_effects=new Set;process(t){Gt=[];for(const v of t)this.#b(v);if(this.#o.length===0&&this.#r===0){this.#m();var r=this.#v,i=this.#i;this.#v=[],this.#i=[],this.#l=[],ze=null,Ki(r),Ki(i),ze===null?ze=this:li.delete(this),this.#s?.resolve()}else this.#a(this.#v),this.#a(this.#i),this.#a(this.#l);for(const v of this.#o)dr(v);for(const v of this.#n)dr(v);this.#o=[],this.#n=[]}#b(t){t.f^=Fe;for(var r=t.first;r!==null;){var i=r.f,v=(i&(At|zt))!==0,n=v&&(i&Fe)!==0,l=n||(i&ct)!==0||this.skipped_effects.has(r);if(!l&&r.fn!==null){if(v)r.f^=Fe;else if((i&Xr)!==0)this.#i.push(r);else if((i&Fe)===0)if((i&ti)!==0){var s=r.b?.is_pending()?this.#n:this.#o;s.push(r)}else Rr(r)&&((r.f&or)!==0&&this.#l.push(r),dr(r));var d=r.first;if(d!==null){r=d;continue}}var p=r.parent;for(r=r.next;r===null&&p!==null;)r=p.next,p=p.parent}}#a(t){for(const r of t)((r.f&lt)!==0?this.#p:this.#f).push(r),Ke(r,Fe);t.length=0}capture(t,r){this.#t.has(t)||this.#t.set(t,r),this.current.set(t,t.v)}activate(){ze=this}deactivate(){ze=null;for(const t of Ji)if(Ji.delete(t),t(),ze!==null)break}neuter(){this.#d=!0}flush(){Gt.length>0?Zi():this.#m(),ze===this&&(this.#r===0&&li.delete(this),this.deactivate())}#m(){if(!this.#d)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.#p)Ke(t,lt),lr(t);for(const t of this.#f)Ke(t,It),lr(t);this.#v=[],this.#i=[],this.flush()}else this.deactivate()}add_callback(t){this.#e.add(t)}settled(){return(this.#s??=dv()).promise}static ensure(){if(ze===null){const t=ze=new Jt;li.add(ze),Lr||Jt.enqueue(()=>{ze===t&&t.flush()})}return ze}static enqueue(t){zr.length===0&&queueMicrotask(Xi),zr.unshift(t)}}function Re(e){var t=Lr;Lr=!0;try{for(var r;;){if(Tv(),Gt.length===0&&(ze?.flush(),Gt.length===0))return Ir=null,r;Zi()}}finally{Lr=t}}function Zi(){var e=sr;ai=!0;try{var t=0;for(co(!0);Gt.length>0;){var r=Jt.ensure();if(t++>1e3){var i,v;Iv()}r.process(Gt),Lt.clear()}}finally{ai=!1,co(e),Ir=null}}function Iv(){try{hv()}catch(e){vi(e,Ir)}}let Xt=null;function Ki(e){var t=e.length;if(t!==0){for(var r=0;r<t;){var i=e[r++];if((i.f&(Wt|ct))===0&&Rr(i)&&(Xt=[],dr(i),i.deps===null&&i.first===null&&i.nodes_start===null&&(i.teardown===null&&i.ac===null?fo(i):i.fn=null),Xt?.length>0)){Lt.clear();for(const v of Xt)dr(v);Xt=[]}}Xt=null}}function lr(e){for(var t=Ir=e;t.parent!==null;){t=t.parent;var r=t.f;if(ai&&t===V&&(r&or)!==0)return;if((r&(zt|At))!==0){if((r&Fe)===0)return;t.f^=Fe}}Gt.push(t)}const Lt=new Map;function xr(e,t){var r={f:0,v:e,reactions:null,equals:Ii,rv:0,wv:0};return r}function Te(e,t){const r=xr(e);return uo(r),r}function Qi(e,t=!1,r=!0){const i=xr(e);return t||(i.equals=Li),i}function de(e,t,r=!1){X!==null&&(!Et||(X.f&Oi)!==0)&&Yi()&&(X.f&(tt|or|ti|Oi))!==0&&!Ot?.includes(e)&&kv();let i=r?at(t):t;return wr(e,i)}function wr(e,t){if(!e.equals(t)){var r=e.v;Zt?Lt.set(e,t):Lt.set(e,r),e.v=t;var i=Jt.ensure();i.capture(e,r),(e.f&tt)!==0&&((e.f&lt)!==0&&ni(e),Ke(e,(e.f&nt)===0?Fe:It)),e.wv=wo(),eo(e,lt),V!==null&&(V.f&Fe)!==0&&(V.f&(At|zt))===0&&(dt===null?Jv([e]):dt.push(e))}return t}function si(e){de(e,e.v+1)}function eo(e,t){var r=e.reactions;if(r!==null)for(var i=r.length,v=0;v<i;v++){var n=r[v],l=n.f,s=(l&lt)===0;s&&Ke(n,t),(l&tt)!==0?eo(n,It):s&&((l&or)!==0&&Xt!==null&&Xt.push(n),lr(n))}}function at(e){if(typeof e!="object"||e===null||Tr in e)return e;const t=Mi(e);if(t!==av&&t!==sv)return e;var r=new Map,i=Gr(e),v=Te(0),n=Kt,l=s=>{if(Kt===n)return s();var d=X,p=Kt;st(null),xo(n);var m=s();return st(d),xo(p),m};return i&&r.set("length",Te(e.length)),new Proxy(e,{defineProperty(s,d,p){(!("value"in p)||p.configurable===!1||p.enumerable===!1||p.writable===!1)&&yv();var m=r.get(d);return m===void 0?m=l(()=>{var g=Te(p.value);return r.set(d,g),g}):de(m,p.value,!0),!0},deleteProperty(s,d){var p=r.get(d);if(p===void 0){if(d in s){const m=l(()=>Te(Le));r.set(d,m),si(v)}}else de(p,Le),si(v);return!0},get(s,d,p){if(d===Tr)return e;var m=r.get(d),g=d in s;if(m===void 0&&(!g||Ut(s,d)?.writable)&&(m=l(()=>{var w=at(g?s[d]:Le),b=Te(w);return b}),r.set(d,m)),m!==void 0){var _=o(m);return _===Le?void 0:_}return Reflect.get(s,d,p)},getOwnPropertyDescriptor(s,d){var p=Reflect.getOwnPropertyDescriptor(s,d);if(p&&"value"in p){var m=r.get(d);m&&(p.value=o(m))}else if(p===void 0){var g=r.get(d),_=g?.v;if(g!==void 0&&_!==Le)return{enumerable:!0,configurable:!0,value:_,writable:!0}}return p},has(s,d){if(d===Tr)return!0;var p=r.get(d),m=p!==void 0&&p.v!==Le||Reflect.has(s,d);if(p!==void 0||V!==null&&(!m||Ut(s,d)?.writable)){p===void 0&&(p=l(()=>{var _=m?at(s[d]):Le,w=Te(_);return w}),r.set(d,p));var g=o(p);if(g===Le)return!1}return m},set(s,d,p,m){var g=r.get(d),_=d in s;if(i&&d==="length")for(var w=p;w<g.v;w+=1){var b=r.get(w+"");b!==void 0?de(b,Le):w in s&&(b=l(()=>Te(Le)),r.set(w+"",b))}if(g===void 0)(!_||Ut(s,d)?.writable)&&(g=l(()=>Te(void 0)),de(g,at(p)),r.set(d,g));else{_=g.v!==Le;var k=l(()=>at(p));de(g,k)}var M=Reflect.getOwnPropertyDescriptor(s,d);if(M?.set&&M.set.call(m,p),!_){if(i&&typeof d=="string"){var Y=r.get("length"),S=Number(d);Number.isInteger(S)&&S>=Y.v&&de(Y,S+1)}si(v)}return!0},ownKeys(s){o(v);var d=Reflect.ownKeys(s).filter(g=>{var _=r.get(g);return _===void 0||_.v!==Le});for(var[p,m]of r)m.v!==Le&&!(p in s)&&d.push(p);return d},setPrototypeOf(){_v()}})}var to,ro,io,oo;function di(){if(to===void 0){to=window,ro=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,r=Text.prototype;io=Ut(t,"firstChild").get,oo=Ut(t,"nextSibling").get,Ci(e)&&(e.__click=void 0,e.__className=void 0,e.__attributes=null,e.__style=void 0,e.__e=void 0),Ci(r)&&(r.__t=void 0)}}function ut(e=""){return document.createTextNode(e)}function Rt(e){return io.call(e)}function _t(e){return oo.call(e)}function R(e,t){if(!J)return Rt(e);var r=Rt(ae);if(r===null)r=ae.appendChild(ut());else if(t&&r.nodeType!==ii){var i=ut();return r?.before(i),Ze(i),i}return Ze(r),r}function le(e,t){if(!J){var r=Rt(e);return r instanceof Comment&&r.data===""?_t(r):r}return ae}function se(e,t=1,r=!1){let i=J?ae:e;for(var v;t--;)v=i,i=_t(i);if(!J)return i;if(r&&i?.nodeType!==ii){var n=ut();return i===null?v?.after(n):i.before(n),Ze(n),n}return Ze(i),i}function vo(e){e.textContent=""}function no(){return!1}let lo=!1;function Lv(){lo||(lo=!0,document.addEventListener("reset",e=>{Promise.resolve().then(()=>{if(!e.defaultPrevented)for(const t of e.target.elements)t.__on_r?.()})},{capture:!0}))}function pi(e){var t=X,r=V;st(null),jt(null);try{return e()}finally{st(t),jt(r)}}function Rv(e){V===null&&X===null&&uv(),X!==null&&(X.f&nt)!==0&&V===null&&gv(),Zt&&cv()}function Pv(e,t){var r=t.last;r===null?t.last=t.first=e:(r.next=e,e.prev=r,t.last=e)}function kt(e,t,r,i=!0){var v=V;v!==null&&(v.f&ct)!==0&&(e|=ct);var n={ctx:gt,deps:null,nodes_start:null,nodes_end:null,f:e|lt,first:null,fn:t,last:null,next:null,parent:v,b:v&&v.b,prev:null,teardown:null,transitions:null,wv:0,ac:null};if(r)try{dr(n),n.f|=Kr}catch(d){throw $t(n),d}else t!==null&&lr(n);if(i){var l=n;if(r&&l.deps===null&&l.teardown===null&&l.nodes_start===null&&l.first===l.last&&(l.f&vr)===0&&(l=l.first),l!==null&&(l.parent=v,v!==null&&Pv(l,v),X!==null&&(X.f&tt)!==0&&(e&zt)===0)){var s=X;(s.effects??=[]).push(l)}}return n}function Yv(e){const t=kt(Zr,null,!1);return Ke(t,Fe),t.teardown=e,t}function Fv(e){Rv();var t=V.f,r=!X&&(t&At)!==0&&(t&Kr)===0;if(r){var i=gt;(i.e??=[]).push(e)}else return ao(e)}function ao(e){return kt(Xr|pv,e,!1)}function Hv(e){Jt.ensure();const t=kt(zt|vr,e,!0);return()=>{$t(t)}}function Bv(e){Jt.ensure();const t=kt(zt|vr,e,!0);return(r={})=>new Promise(i=>{r.outro?mi(t,()=>{$t(t),i(void 0)}):($t(t),i(void 0))})}function qv(e){return kt(Xr,e,!1)}function Uv(e){return kt(ti|vr,e,!0)}function Wv(e,t=0){return kt(Zr|t,e,!0)}function L(e,t=[],r=[]){Nv(t,r,i=>{kt(Zr,()=>e(...i.map(o)),!0)})}function fi(e,t=0){var r=kt(or|t,e,!0);return r}function ar(e,t=!0){return kt(At|vr,e,!0,t)}function so(e){var t=e.teardown;if(t!==null){const r=Zt,i=X;go(!0),st(null);try{t.call(null)}finally{go(r),st(i)}}}function po(e,t=!1){var r=e.first;for(e.first=e.last=null;r!==null;){const v=r.ac;v!==null&&pi(()=>{v.abort(ri)});var i=r.next;(r.f&zt)!==0?r.parent=null:$t(r,t),r=i}}function Vv(e){for(var t=e.first;t!==null;){var r=t.next;(t.f&At)===0&&$t(t),t=r}}function $t(e,t=!0){var r=!1;(t||(e.f&Di)!==0)&&e.nodes_start!==null&&e.nodes_end!==null&&(Gv(e.nodes_start,e.nodes_end),r=!0),po(e,t&&!r),Pr(e,0),Ke(e,Wt);var i=e.transitions;if(i!==null)for(const n of i)n.stop();so(e);var v=e.parent;v!==null&&v.first!==null&&fo(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes_start=e.nodes_end=e.ac=null}function Gv(e,t){for(;e!==null;){var r=e===t?null:_t(e);e.remove(),e=r}}function fo(e){var t=e.parent,r=e.prev,i=e.next;r!==null&&(r.next=i),i!==null&&(i.prev=r),t!==null&&(t.first===e&&(t.first=i),t.last===e&&(t.last=r))}function mi(e,t){var r=[];bi(e,r,!0),mo(r,()=>{$t(e),t&&t()})}function mo(e,t){var r=e.length;if(r>0){var i=()=>--r||t();for(var v of e)v.out(i)}else t()}function bi(e,t,r){if((e.f&ct)===0){if(e.f^=ct,e.transitions!==null)for(const l of e.transitions)(l.is_global||r)&&t.push(l);for(var i=e.first;i!==null;){var v=i.next,n=(i.f&Qr)!==0||(i.f&At)!==0;bi(i,t,n?r:!1),i=v}}}function ci(e){bo(e,!0)}function bo(e,t){if((e.f&ct)!==0){e.f^=ct,(e.f&Fe)===0&&(Ke(e,lt),lr(e));for(var r=e.first;r!==null;){var i=r.next,v=(r.f&Qr)!==0||(r.f&At)!==0;bo(r,v?t:!1),r=i}if(e.transitions!==null)for(const n of e.transitions)(n.is_global||t)&&n.in()}}let sr=!1;function co(e){sr=e}let Zt=!1;function go(e){Zt=e}let X=null,Et=!1;function st(e){X=e}let V=null;function jt(e){V=e}let Ot=null;function uo(e){X!==null&&(Ot===null?Ot=[e]:Ot.push(e))}let Ve=null,it=0,dt=null;function Jv(e){dt=e}let ho=1,yr=0,Kt=yr;function xo(e){Kt=e}let Pt=!1;function wo(){return++ho}function Rr(e){var t=e.f;if((t&lt)!==0)return!0;if((t&It)!==0){var r=e.deps,i=(t&nt)!==0;if(r!==null){var v,n,l=(t&Cr)!==0,s=i&&V!==null&&!Pt,d=r.length;if((l||s)&&(V===null||(V.f&Wt)===0)){var p=e,m=p.parent;for(v=0;v<d;v++)n=r[v],(l||!n?.reactions?.includes(p))&&(n.reactions??=[]).push(p);l&&(p.f^=Cr),s&&m!==null&&(m.f&nt)===0&&(p.f^=nt)}for(v=0;v<d;v++)if(n=r[v],Rr(n)&&Vi(n),n.wv>e.wv)return!0}(!i||V!==null&&!Pt)&&Ke(e,Fe)}return!1}function yo(e,t,r=!0){var i=e.reactions;if(i!==null&&!Ot?.includes(e))for(var v=0;v<i.length;v++){var n=i[v];(n.f&tt)!==0?yo(n,t,!1):t===n&&(r?Ke(n,lt):(n.f&Fe)!==0&&Ke(n,It),lr(n))}}function _o(e){var t=Ve,r=it,i=dt,v=X,n=Pt,l=Ot,s=gt,d=Et,p=Kt,m=e.f;Ve=null,it=0,dt=null,Pt=(m&nt)!==0&&(Et||!sr||X===null),X=(m&(At|zt))===0?e:null,Ot=null,Or(e.ctx),Et=!1,Kt=++yr,e.ac!==null&&(pi(()=>{e.ac.abort(ri)}),e.ac=null);try{e.f|=ei;var g=e.fn,_=g(),w=e.deps;if(Ve!==null){var b;if(Pr(e,it),w!==null&&it>0)for(w.length=it+Ve.length,b=0;b<Ve.length;b++)w[it+b]=Ve[b];else e.deps=w=Ve;if(!Pt||(m&tt)!==0&&e.reactions!==null)for(b=it;b<w.length;b++)(w[b].reactions??=[]).push(e)}else w!==null&&it<w.length&&(Pr(e,it),w.length=it);if(Yi()&&dt!==null&&!Et&&w!==null&&(e.f&(tt|It|lt))===0)for(b=0;b<dt.length;b++)yo(dt[b],e);return v!==null&&v!==e&&(yr++,dt!==null&&(i===null?i=dt:i.push(...dt))),(e.f&Vt)!==0&&(e.f^=Vt),_}catch(k){return Sv(k)}finally{e.f^=ei,Ve=t,it=r,dt=i,X=v,Pt=n,Ot=l,Or(s),Et=d,Kt=p}}function Xv(e,t){let r=t.reactions;if(r!==null){var i=nv.call(r,e);if(i!==-1){var v=r.length-1;v===0?r=t.reactions=null:(r[i]=r[v],r.pop())}}r===null&&(t.f&tt)!==0&&(Ve===null||!Ve.includes(t))&&(Ke(t,It),(t.f&(nt|Cr))===0&&(t.f^=Cr),Wi(t),Pr(t,0))}function Pr(e,t){var r=e.deps;if(r!==null)for(var i=t;i<r.length;i++)Xv(e,r[i])}function dr(e){var t=e.f;if((t&Wt)===0){Ke(e,Fe);var r=V,i=sr;V=e,sr=!0;try{(t&or)!==0?Vv(e):po(e),so(e);var v=_o(e);e.teardown=typeof v=="function"?v:null,e.wv=ho;var n;Si&&Ev&&(e.f&lt)!==0&&e.deps}finally{sr=i,V=r}}}function o(e){var t=e.f,r=(t&tt)!==0;if(X!==null&&!Et){var i=V!==null&&(V.f&Wt)!==0;if(!i&&!Ot?.includes(e)){var v=X.deps;if((X.f&ei)!==0)e.rv<yr&&(e.rv=yr,Ve===null&&v!==null&&v[it]===e?it++:Ve===null?Ve=[e]:(!Pt||!Ve.includes(e))&&Ve.push(e));else{(X.deps??=[]).push(e);var n=e.reactions;n===null?e.reactions=[X]:n.includes(X)||n.push(X)}}}else if(r&&e.deps===null&&e.effects===null){var l=e,s=l.parent;s!==null&&(s.f&nt)===0&&(l.f^=nt)}if(Zt){if(Lt.has(e))return Lt.get(e);if(r){l=e;var d=l.v;return((l.f&Fe)===0&&l.reactions!==null||ko(l))&&(d=ni(l)),Lt.set(l,d),d}}else r&&(l=e,Rr(l)&&Vi(l));if((e.f&Vt)!==0)throw e.v;return e.v}function ko(e){if(e.v===Le)return!0;if(e.deps===null)return!1;for(const t of e.deps)if(Lt.has(t)||(t.f&tt)!==0&&ko(t))return!0;return!1}function Zv(e){var t=Et;try{return Et=!0,e()}finally{Et=t}}const Kv=-7169;function Ke(e,t){e.f=e.f&Kv|t}const $o=new Set,gi=new Set;function Qv(e,t,r,i={}){function v(n){if(i.capture||kr.call(t,n),!n.cancelBubble)return pi(()=>r?.call(this,n))}return e.startsWith("pointer")||e.startsWith("touch")||e==="wheel"?qi(()=>{t.addEventListener(e,v,i)}):t.addEventListener(e,v,i),v}function _r(e,t,r,i,v){var n={capture:i,passive:v},l=Qv(e,t,r,n);(t===document.body||t===window||t===document||t instanceof HTMLMediaElement)&&Yv(()=>{t.removeEventListener(e,l,n)})}function en(e){for(var t=0;t<e.length;t++)$o.add(e[t]);for(var r of gi)r(e)}let Eo=null;function kr(e){var t=this,r=t.ownerDocument,i=e.type,v=e.composedPath?.()||[],n=v[0]||e.target;Eo=e;var l=0,s=Eo===e&&e.__root;if(s){var d=v.indexOf(s);if(d!==-1&&(t===document||t===window)){e.__root=t;return}var p=v.indexOf(t);if(p===-1)return;d<=p&&(l=d)}if(n=v[l]||e.target,n!==t){ir(e,"currentTarget",{configurable:!0,get(){return n||r}});var m=X,g=V;st(null),jt(null);try{for(var _,w=[];n!==null;){var b=n.assignedSlot||n.parentNode||n.host||null;try{var k=n["__"+i];if(k!=null&&(!n.disabled||e.target===n))if(Gr(k)){var[M,...Y]=k;M.apply(n,[e,...Y])}else k.call(n,e)}catch(S){_?w.push(S):_=S}if(e.cancelBubble||b===t||b===null)break;n=b}if(_){for(let S of w)queueMicrotask(()=>{throw S});throw _}}finally{e.__root=t,delete e.currentTarget,st(m),jt(g)}}}let pt;function tn(){pt=void 0}function rn(e){let t=null,r=J;var i;if(J){for(t=ae,pt===void 0&&(pt=Rt(document.head));pt!==null&&(pt.nodeType!==nr||pt.data!==Ur);)pt=_t(pt);pt===null?rt(!1):pt=Ze(_t(pt))}J||(i=document.head.appendChild(ut()));try{fi(()=>e(i),Di)}finally{r&&(rt(!0),pt=ae,Ze(t))}}function on(e){var t=document.createElement("template");return t.innerHTML=e.replaceAll("<!>","<!---->"),t.content}function Yt(e,t){var r=V;r.nodes_start===null&&(r.nodes_start=e,r.nodes_end=t)}function T(e,t){var r=(t&iv)!==0,i=(t&ov)!==0,v,n=!e.startsWith("<!>");return()=>{if(J)return Yt(ae,null),ae;v===void 0&&(v=on(n?e:"<!>"+e),r||(v=Rt(v)));var l=i||ro?document.importNode(v,!0):v.cloneNode(!0);if(r){var s=Rt(l),d=l.lastChild;Yt(s,d)}else Yt(l,l);return l}}function pr(e=""){if(!J){var t=ut(e+"");return Yt(t,t),t}var r=ae;return r.nodeType!==ii&&(r.before(r=ut()),Ze(r)),Yt(r,r),r}function ke(){if(J)return Yt(ae,null),ae;var e=document.createDocumentFragment(),t=document.createComment(""),r=ut();return e.append(t,r),Yt(t,r),e}function x(e,t){if(J){V.nodes_end=ae,gr();return}e!==null&&e.before(t)}const vn=["touchstart","touchmove"];function nn(e){return vn.includes(e)}function Se(e,t){var r=t==null?"":typeof t=="object"?t+"":t;r!==(e.__t??=e.nodeValue)&&(e.__t=r,e.nodeValue=r+"")}function jo(e,t){return So(e,t)}function ln(e,t){di(),t.intro=t.intro??!1;const r=t.target,i=J,v=ae;try{for(var n=Rt(r);n&&(n.nodeType!==nr||n.data!==Ur);)n=_t(n);if(!n)throw rr;rt(!0),Ze(n),gr();const l=So(e,{...t,anchor:n});if(ae===null||ae.nodeType!==nr||ae.data!==Vr)throw Ar(),rr;return rt(!1),l}catch(l){if(l instanceof Error&&l.message.split(`
2
- `).some(s=>s.startsWith("https://svelte.dev/e/")))throw l;return l!==rr&&console.warn("Failed to hydrate: ",l),t.recover===!1&&xv(),di(),vo(r),rt(!1),jo(e,t)}finally{rt(i),Ze(v),tn()}}const fr=new Map;function So(e,{target:t,anchor:r,props:i={},events:v,context:n,intro:l=!0}){di();var s=new Set,d=g=>{for(var _=0;_<g.length;_++){var w=g[_];if(!s.has(w)){s.add(w);var b=nn(w);t.addEventListener(w,kr,{passive:b});var k=fr.get(w);k===void 0?(document.addEventListener(w,kr,{passive:b}),fr.set(w,1)):fr.set(w,k+1)}}};d(Jr($o)),gi.add(d);var p=void 0,m=Bv(()=>{var g=r??t.appendChild(ut());return ar(()=>{if(n){Ri({});var _=gt;_.c=n}v&&(i.$$events=v),J&&Yt(g,null),p=e(g,i)||{},J&&(V.nodes_end=ae),n&&Pi()}),()=>{for(var _ of s){t.removeEventListener(_,kr);var w=fr.get(_);--w===0?(document.removeEventListener(_,kr),fr.delete(_)):fr.set(_,w)}gi.delete(d),g!==r&&g.parentNode?.removeChild(g)}});return ui.set(p,m),p}let ui=new WeakMap;function an(e,t){const r=ui.get(e);return r?(ui.delete(e),r(t)):Promise.resolve()}function O(e,t,r=!1){J&&gr();var i=e,v=null,n=null,l=Le,s=r?Qr:0,d=!1;const p=(w,b=!0)=>{d=!0,_(b,w)};var m=null;function g(){m!==null&&(m.lastChild.remove(),i.before(m),m=null);var w=l?v:n,b=l?n:v;w&&ci(w),b&&mi(b,()=>{l?n=null:v=null})}const _=(w,b)=>{if(l===(l=w))return;let k=!1;if(J){const oe=zi(i)===Wr;!!l===oe&&(i=oi(),Ze(i),rt(!1),k=!0)}var M=no(),Y=i;if(M&&(m=document.createDocumentFragment(),m.append(Y=ut())),l?v??=b&&ar(()=>b(Y)):n??=b&&ar(()=>b(Y)),M){var S=ze,te=l?v:n,Z=l?n:v;te&&S.skipped_effects.delete(te),Z&&S.skipped_effects.add(Z),S.add_callback(g)}else g();k&&rt(!0)};fi(()=>{d=!1,t(p),d||_(null,null)},s),J&&(i=ae)}function sn(e,t,r){for(var i=e.items,v=[],n=t.length,l=0;l<n;l++)bi(t[l].e,v,!0);var s=n>0&&v.length===0&&r!==null;if(s){var d=r.parentNode;vo(d),d.append(r),i.clear(),St(e,t[0].prev,t[n-1].next)}mo(v,()=>{for(var p=0;p<n;p++){var m=t[p];s||(i.delete(m.k),St(e,m.prev,m.next)),$t(m.e,!s)}})}function ht(e,t,r,i,v,n=null){var l=e,s={flags:t,items:new Map,first:null},d=(t&ji)!==0;if(d){var p=e;l=J?Ze(Rt(p)):p.appendChild(ut())}J&&gr();var m=null,g=!1,_=new Map,w=Ui(()=>{var Y=r();return Gr(Y)?Y:Y==null?[]:Jr(Y)}),b,k;function M(){dn(k,b,s,_,l,v,t,i,r),n!==null&&(b.length===0?m?ci(m):m=ar(()=>n(l)):m!==null&&mi(m,()=>{m=null}))}fi(()=>{k??=V,b=o(w);var Y=b.length;if(g&&Y===0)return;g=Y===0;let S=!1;if(J){var te=zi(l)===Wr;te!==(Y===0)&&(l=oi(),Ze(l),rt(!1),S=!0)}if(J){for(var Z=null,oe,$=0;$<Y;$++){if(ae.nodeType===nr&&ae.data===Vr){l=ae,S=!0,rt(!1);break}var j=b[$],E=i(j,$);oe=hi(ae,s,Z,null,j,E,$,v,t,r),s.items.set(E,oe),Z=oe}Y>0&&Ze(oi())}if(J)Y===0&&n&&(m=ar(()=>n(l)));else if(no()){var pe=new Set,H=ze;for($=0;$<Y;$+=1){j=b[$],E=i(j,$);var A=s.items.get(E)??_.get(E);A?(t&(jr|Sr))!==0&&Mo(A,j,$,t):(oe=hi(null,s,null,null,j,E,$,v,t,r,!0),_.set(E,oe)),pe.add(E)}for(const[Oe,W]of s.items)pe.has(Oe)||H.skipped_effects.add(W.e);H.add_callback(M)}else M();S&&rt(!0),o(w)}),J&&(l=ae)}function dn(e,t,r,i,v,n,l,s,d){var p=(l&Zo)!==0,m=(l&(jr|Sr))!==0,g=t.length,_=r.items,w=r.first,b=w,k,M=null,Y,S=[],te=[],Z,oe,$,j;if(p)for(j=0;j<g;j+=1)Z=t[j],oe=s(Z,j),$=_.get(oe),$!==void 0&&($.a?.measure(),(Y??=new Set).add($));for(j=0;j<g;j+=1){if(Z=t[j],oe=s(Z,j),$=_.get(oe),$===void 0){var E=i.get(oe);if(E!==void 0){i.delete(oe),_.set(oe,E);var pe=M?M.next:b;St(r,M,E),St(r,E,pe),xi(E,pe,v),M=E}else{var H=b?b.e.nodes_start:v;M=hi(H,r,M,M===null?r.first:M.next,Z,oe,j,n,l,d)}_.set(oe,M),S=[],te=[],b=M.next;continue}if(m&&Mo($,Z,j,l),($.e.f&ct)!==0&&(ci($.e),p&&($.a?.unfix(),(Y??=new Set).delete($))),$!==b){if(k!==void 0&&k.has($)){if(S.length<te.length){var A=te[0],Oe;M=A.prev;var W=S[0],h=S[S.length-1];for(Oe=0;Oe<S.length;Oe+=1)xi(S[Oe],A,v);for(Oe=0;Oe<te.length;Oe+=1)k.delete(te[Oe]);St(r,W.prev,h.next),St(r,M,W),St(r,h,A),b=A,M=h,j-=1,S=[],te=[]}else k.delete($),xi($,b,v),St(r,$.prev,$.next),St(r,$,M===null?r.first:M.next),St(r,M,$),M=$;continue}for(S=[],te=[];b!==null&&b.k!==oe;)(b.e.f&ct)===0&&(k??=new Set).add(b),te.push(b),b=b.next;if(b===null)continue;$=b}S.push($),M=$,b=$.next}if(b!==null||k!==void 0){for(var c=k===void 0?[]:Jr(k);b!==null;)(b.e.f&ct)===0&&c.push(b),b=b.next;var u=c.length;if(u>0){var C=(l&ji)!==0&&g===0?v:null;if(p){for(j=0;j<u;j+=1)c[j].a?.measure();for(j=0;j<u;j+=1)c[j].a?.fix()}sn(r,c,C)}}p&&qi(()=>{if(Y!==void 0)for($ of Y)$.a?.apply()}),e.first=r.first&&r.first.e,e.last=M&&M.e;for(var y of i.values())$t(y.e);i.clear()}function Mo(e,t,r,i){(i&jr)!==0&&wr(e.v,t),(i&Sr)!==0?wr(e.i,r):e.i=r}function hi(e,t,r,i,v,n,l,s,d,p,m){var g=(d&jr)!==0,_=(d&Ko)===0,w=g?_?Qi(v,!1,!1):xr(v):v,b=(d&Sr)===0?l:xr(l),k={i:b,v:w,k:n,a:null,e:null,prev:r,next:i};try{if(e===null){var M=document.createDocumentFragment();M.append(e=ut())}return k.e=ar(()=>s(e,w,b,p),J),k.e.prev=r&&r.e,k.e.next=i&&i.e,r===null?m||(t.first=k):(r.next=k,r.e.next=k.e),i!==null&&(i.prev=k,i.e.prev=k.e),k}finally{}}function xi(e,t,r){for(var i=e.next?e.next.e.nodes_start:r,v=t?t.e.nodes_start:r,n=e.e.nodes_start;n!==null&&n!==i;){var l=_t(n);v.before(n),n=l}}function St(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 Co(e,t,r,i,v){J&&gr();var n=t.$$slots?.[r],l=!1;n===!0&&(n=t[r==="default"?"children":r],l=!0),n===void 0?v!==null&&v(e):n(e,l?()=>i:i)}function pn(e,t){qv(()=>{var r=e.getRootNode(),i=r.host?r:r.head??r.ownerDocument.head;if(!i.querySelector("#"+t.hash)){const v=document.createElement("style");v.id=t.hash,v.textContent=t.code,i.appendChild(v)}})}function To(e){var t,r,i="";if(typeof e=="string"||typeof e=="number")i+=e;else if(typeof e=="object")if(Array.isArray(e)){var v=e.length;for(t=0;t<v;t++)e[t]&&(r=To(e[t]))&&(i&&(i+=" "),i+=r)}else for(r in e)e[r]&&(i&&(i+=" "),i+=r);return i}function fn(){for(var e,t,r=0,i="",v=arguments.length;r<v;r++)(e=arguments[r])&&(t=To(e))&&(i&&(i+=" "),i+=t);return i}function mn(e){return typeof e=="object"?fn(e):e??""}function bn(e,t,r){var i=e==null?"":""+e;return t&&(i=i?i+" "+t:t),i===""?null:i}function cn(e,t){return e==null?null:String(e)}function Qe(e,t,r,i,v,n){var l=e.__className;if(J||l!==r||l===void 0){var s=bn(r,i);(!J||s!==e.getAttribute("class"))&&(s==null?e.removeAttribute("class"):e.className=s),e.__className=r}return n}function Yr(e,t,r,i){var v=e.__style;if(J||v!==t){var n=cn(t);(!J||n!==e.getAttribute("style"))&&(n==null?e.removeAttribute("style"):e.style.cssText=n),e.__style=t}return i}const gn=Symbol("is custom element"),un=Symbol("is html");function hn(e){if(J){var t=!1,r=()=>{if(!t){if(t=!0,e.hasAttribute("value")){var i=e.value;mr(e,"value",null),e.value=i}if(e.hasAttribute("checked")){var v=e.checked;mr(e,"checked",null),e.checked=v}}};e.__on_r=r,Cv(r),Lv()}}function mr(e,t,r,i){var v=xn(e);J&&(v[t]=e.getAttribute(t),t==="src"||t==="srcset"||t==="href"&&e.nodeName==="LINK")||v[t]!==(v[t]=r)&&(t==="loading"&&(e[fv]=r),r==null?e.removeAttribute(t):typeof r!="string"&&Ao(e).includes(t)?e[t]=r:e.setAttribute(t,r))}function Ae(e,t,r){var i=X,v=V;let n=J;J&&rt(!1),st(null),jt(null);try{t!=="style"&&(wi.has(e.getAttribute("is")||e.nodeName)||!customElements||customElements.get(e.getAttribute("is")||e.tagName.toLowerCase())?Ao(e).includes(t):r&&typeof r=="object")?e[t]=r:mr(e,t,r==null?r:String(r))}finally{st(i),jt(v),n&&rt(!0)}}function xn(e){return e.__attributes??={[gn]:e.nodeName.includes("-"),[un]:e.namespaceURI===vv}}var wi=new Map;function Ao(e){var t=e.getAttribute("is")||e.nodeName,r=wi.get(t);if(r)return r;wi.set(t,r=[]);for(var i,v=e,n=Element.prototype;n!==v;){i=lv(v);for(var l in i)i[l].set&&r.push(l);v=Mi(v)}return r}let Fr=!1;function wn(e){var t=Fr;try{return Fr=!1,[e(),Fr]}finally{Fr=t}}function He(e,t,r,i){var v=(r&tv)!==0,n=(r&rv)!==0,l=i,s=!0,d=()=>(s&&(s=!1,l=n?Zv(i):i),l),p;if(v){var m=Tr in e||Ni in e;p=Ut(e,t)?.set??(m&&t in e?S=>e[t]=S:void 0)}var g,_=!1;v?[g,_]=wn(()=>e[t]):g=e[t],g===void 0&&i!==void 0&&(g=d(),p&&(wv(),p(g)));var w;if(w=()=>{var S=e[t];return S===void 0?d():(s=!0,S)},(r&ev)===0)return w;if(p){var b=e.$$legacy;return(function(S,te){return arguments.length>0?((!te||b||_)&&p(te?w():S),S):w()})}var k=!1,M=((r&Qo)!==0?Dr:Ui)(()=>(k=!1,w()));v&&o(M);var Y=V;return(function(S,te){if(arguments.length>0){const Z=te?o(M):v?at(S):S;return de(M,Z),k=!0,l!==void 0&&(l=Z),S}return Zt&&k||(Y.f&Wt)!==0?M.v:o(M)})}function yn(e){return new _n(e)}class _n{#t;#e;constructor(t){var r=new Map,i=(n,l)=>{var s=Qi(l,!1,!1);return r.set(n,s),s};const v=new Proxy({...t.props||{},$$events:{}},{get(n,l){return o(r.get(l)??i(l,Reflect.get(n,l)))},has(n,l){return l===Ni?!0:(o(r.get(l)??i(l,Reflect.get(n,l))),Reflect.has(n,l))},set(n,l,s){return de(r.get(l)??i(l,s),s),Reflect.set(n,l,s)}});this.#e=(t.hydrate?ln:jo)(t.component,{target:t.target,anchor:t.anchor,props:v,context:t.context,intro:t.intro??!1,recover:t.recover}),(!t?.props?.$$host||t.sync===!1)&&Re(),this.#t=v.$$events;for(const n of Object.keys(this.#e))n==="$set"||n==="$destroy"||n==="$on"||ir(this,n,{get(){return this.#e[n]},set(l){this.#e[n]=l},enumerable:!0});this.#e.$set=n=>{Object.assign(v,n)},this.#e.$destroy=()=>{an(this.#e)}}$set(t){this.#e.$set(t)}$on(t,r){this.#t[t]=this.#t[t]||[];const i=(...v)=>r.call(this,...v);return this.#t[t].push(i),()=>{this.#t[t]=this.#t[t].filter(v=>v!==i)}}$destroy(){this.#e.$destroy()}}let Oo;typeof HTMLElement=="function"&&(Oo=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 i=this.$$c.$on(e,t);this.$$l_u.set(t,i)}super.addEventListener(e,t,r)}removeEventListener(e,t,r){if(super.removeEventListener(e,t,r),this.$$c){const i=this.$$l_u.get(t);i&&(i(),this.$$l_u.delete(t))}}async connectedCallback(){if(this.$$cn=!0,!this.$$c){let e=function(i){return v=>{const n=document.createElement("slot");i!=="default"&&(n.name=i),x(v,n)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const t={},r=kn(this);for(const i of this.$$s)i in r&&(i==="default"&&!this.$$d.children?(this.$$d.children=e(i),t.default=!0):t[i]=e(i));for(const i of this.attributes){const v=this.$$g_p(i.name);v in this.$$d||(this.$$d[v]=Hr(v,i.value,this.$$p_d,"toProp"))}for(const i in this.$$p_d)!(i in this.$$d)&&this[i]!==void 0&&(this.$$d[i]=this[i],delete this[i]);this.$$c=yn({component:this.$$ctor,target:this.shadowRoot||this,props:{...this.$$d,$$slots:t,$$host:this}}),this.$$me=Hv(()=>{Wv(()=>{this.$$r=!0;for(const i of Mr(this.$$c)){if(!this.$$p_d[i]?.reflect)continue;this.$$d[i]=this.$$c[i];const v=Hr(i,this.$$d[i],this.$$p_d,"toAttribute");v==null?this.removeAttribute(this.$$p_d[i].attribute||i):this.setAttribute(this.$$p_d[i].attribute||i,v)}this.$$r=!1})});for(const i in this.$$l)for(const v of this.$$l[i]){const n=this.$$c.$on(i,v);this.$$l_u.set(v,n)}this.$$l={}}}attributeChangedCallback(e,t,r){this.$$r||(e=this.$$g_p(e),this.$$d[e]=Hr(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 Mr(this.$$p_d).find(t=>this.$$p_d[t].attribute===e||!this.$$p_d[t].attribute&&t.toLowerCase()===e)||e}});function Hr(e,t,r,i){const v=r[e]?.type;if(t=v==="Boolean"&&typeof t!="boolean"?t!=null:t,!i||!r[e])return t;if(i==="toAttribute")switch(v){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(v){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function kn(e){const t={};return e.childNodes.forEach(r=>{t[r.slot||"default"]=!0}),t}function $n(e,t,r,i,v,n){let l=class extends Oo{constructor(){super(e,r,v),this.$$p_d=t}static get observedAttributes(){return Mr(t).map(s=>(t[s].attribute||s).toLowerCase())}};return Mr(t).forEach(s=>{ir(l.prototype,s,{get(){return this.$$c&&s in this.$$c?this.$$c[s]:this.$$d[s]},set(d){d=Hr(s,d,t),this.$$d[s]=d;var p=this.$$c;if(p){var m=Ut(p,s)?.get;m?p[s]=d:p.$set({[s]:d})}}})}),i.forEach(s=>{ir(l.prototype,s,{get(){return this.$$c?.[s]}})}),e.element=l,l}function Do(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Br={exports:{}},En=Br.exports,No;function zo(){return No||(No=1,(function(e,t){(function(r,i){e.exports=i()})(En,(function(){var r=1e3,i=6e4,v=36e5,n="millisecond",l="second",s="minute",d="hour",p="day",m="week",g="month",_="quarter",w="year",b="date",k="Invalid Date",M=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,Y=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,S={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(h){var c=["th","st","nd","rd"],u=h%100;return"["+h+(c[(u-20)%10]||c[u]||c[0])+"]"}},te=function(h,c,u){var C=String(h);return!C||C.length>=c?h:""+Array(c+1-C.length).join(u)+h},Z={s:te,z:function(h){var c=-h.utcOffset(),u=Math.abs(c),C=Math.floor(u/60),y=u%60;return(c<=0?"+":"-")+te(C,2,"0")+":"+te(y,2,"0")},m:function h(c,u){if(c.date()<u.date())return-h(u,c);var C=12*(u.year()-c.year())+(u.month()-c.month()),y=c.clone().add(C,g),P=u-y<0,z=c.clone().add(C+(P?-1:1),g);return+(-(C+(u-y)/(P?y-z:z-y))||0)},a:function(h){return h<0?Math.ceil(h)||0:Math.floor(h)},p:function(h){return{M:g,y:w,w:m,d:p,D:b,h:d,m:s,s:l,ms:n,Q:_}[h]||String(h||"").toLowerCase().replace(/s$/,"")},u:function(h){return h===void 0}},oe="en",$={};$[oe]=S;var j="$isDayjsObject",E=function(h){return h instanceof Oe||!(!h||!h[j])},pe=function h(c,u,C){var y;if(!c)return oe;if(typeof c=="string"){var P=c.toLowerCase();$[P]&&(y=P),u&&($[P]=u,y=P);var z=c.split("-");if(!y&&z.length>1)return h(z[0])}else{var ve=c.name;$[ve]=c,y=ve}return!C&&y&&(oe=y),y||!C&&oe},H=function(h,c){if(E(h))return h.clone();var u=typeof c=="object"?c:{};return u.date=h,u.args=arguments,new Oe(u)},A=Z;A.l=pe,A.i=E,A.w=function(h,c){return H(h,{locale:c.$L,utc:c.$u,x:c.$x,$offset:c.$offset})};var Oe=(function(){function h(u){this.$L=pe(u.locale,null,!0),this.parse(u),this.$x=this.$x||u.x||{},this[j]=!0}var c=h.prototype;return c.parse=function(u){this.$d=(function(C){var y=C.date,P=C.utc;if(y===null)return new Date(NaN);if(A.u(y))return new Date;if(y instanceof Date)return new Date(y);if(typeof y=="string"&&!/Z$/i.test(y)){var z=y.match(M);if(z){var ve=z[2]-1||0,ue=(z[7]||"0").substring(0,3);return P?new Date(Date.UTC(z[1],ve,z[3]||1,z[4]||0,z[5]||0,z[6]||0,ue)):new Date(z[1],ve,z[3]||1,z[4]||0,z[5]||0,z[6]||0,ue)}}return new Date(y)})(u),this.init()},c.init=function(){var u=this.$d;this.$y=u.getFullYear(),this.$M=u.getMonth(),this.$D=u.getDate(),this.$W=u.getDay(),this.$H=u.getHours(),this.$m=u.getMinutes(),this.$s=u.getSeconds(),this.$ms=u.getMilliseconds()},c.$utils=function(){return A},c.isValid=function(){return this.$d.toString()!==k},c.isSame=function(u,C){var y=H(u);return this.startOf(C)<=y&&y<=this.endOf(C)},c.isAfter=function(u,C){return H(u)<this.startOf(C)},c.isBefore=function(u,C){return this.endOf(C)<H(u)},c.$g=function(u,C,y){return A.u(u)?this[C]:this.set(y,u)},c.unix=function(){return Math.floor(this.valueOf()/1e3)},c.valueOf=function(){return this.$d.getTime()},c.startOf=function(u,C){var y=this,P=!!A.u(C)||C,z=A.p(u),ve=function(Dt,Be){var Ct=A.w(y.$u?Date.UTC(y.$y,Be,Dt):new Date(y.$y,Be,Dt),y);return P?Ct:Ct.endOf(p)},ue=function(Dt,Be){return A.w(y.toDate()[Dt].apply(y.toDate("s"),(P?[0,0,0,0]:[23,59,59,999]).slice(Be)),y)},Me=this.$W,$e=this.$M,Ge=this.$D,Bt="set"+(this.$u?"UTC":"");switch(z){case w:return P?ve(1,0):ve(31,11);case g:return P?ve(1,$e):ve(0,$e+1);case m:var Mt=this.$locale().weekStart||0,Qt=(Me<Mt?Me+7:Me)-Mt;return ve(P?Ge-Qt:Ge+(6-Qt),$e);case p:case b:return ue(Bt+"Hours",0);case d:return ue(Bt+"Minutes",1);case s:return ue(Bt+"Seconds",2);case l:return ue(Bt+"Milliseconds",3);default:return this.clone()}},c.endOf=function(u){return this.startOf(u,!1)},c.$set=function(u,C){var y,P=A.p(u),z="set"+(this.$u?"UTC":""),ve=(y={},y[p]=z+"Date",y[b]=z+"Date",y[g]=z+"Month",y[w]=z+"FullYear",y[d]=z+"Hours",y[s]=z+"Minutes",y[l]=z+"Seconds",y[n]=z+"Milliseconds",y)[P],ue=P===p?this.$D+(C-this.$W):C;if(P===g||P===w){var Me=this.clone().set(b,1);Me.$d[ve](ue),Me.init(),this.$d=Me.set(b,Math.min(this.$D,Me.daysInMonth())).$d}else ve&&this.$d[ve](ue);return this.init(),this},c.set=function(u,C){return this.clone().$set(u,C)},c.get=function(u){return this[A.p(u)]()},c.add=function(u,C){var y,P=this;u=Number(u);var z=A.p(C),ve=function($e){var Ge=H(P);return A.w(Ge.date(Ge.date()+Math.round($e*u)),P)};if(z===g)return this.set(g,this.$M+u);if(z===w)return this.set(w,this.$y+u);if(z===p)return ve(1);if(z===m)return ve(7);var ue=(y={},y[s]=i,y[d]=v,y[l]=r,y)[z]||1,Me=this.$d.getTime()+u*ue;return A.w(Me,this)},c.subtract=function(u,C){return this.add(-1*u,C)},c.format=function(u){var C=this,y=this.$locale();if(!this.isValid())return y.invalidDate||k;var P=u||"YYYY-MM-DDTHH:mm:ssZ",z=A.z(this),ve=this.$H,ue=this.$m,Me=this.$M,$e=y.weekdays,Ge=y.months,Bt=y.meridiem,Mt=function(Be,Ct,er,cr){return Be&&(Be[Ct]||Be(C,P))||er[Ct].slice(0,cr)},Qt=function(Be){return A.s(ve%12||12,Be,"0")},Dt=Bt||function(Be,Ct,er){var cr=Be<12?"AM":"PM";return er?cr.toLowerCase():cr};return P.replace(Y,(function(Be,Ct){return Ct||(function(er){switch(er){case"YY":return String(C.$y).slice(-2);case"YYYY":return A.s(C.$y,4,"0");case"M":return Me+1;case"MM":return A.s(Me+1,2,"0");case"MMM":return Mt(y.monthsShort,Me,Ge,3);case"MMMM":return Mt(Ge,Me);case"D":return C.$D;case"DD":return A.s(C.$D,2,"0");case"d":return String(C.$W);case"dd":return Mt(y.weekdaysMin,C.$W,$e,2);case"ddd":return Mt(y.weekdaysShort,C.$W,$e,3);case"dddd":return $e[C.$W];case"H":return String(ve);case"HH":return A.s(ve,2,"0");case"h":return Qt(1);case"hh":return Qt(2);case"a":return Dt(ve,ue,!0);case"A":return Dt(ve,ue,!1);case"m":return String(ue);case"mm":return A.s(ue,2,"0");case"s":return String(C.$s);case"ss":return A.s(C.$s,2,"0");case"SSS":return A.s(C.$ms,3,"0");case"Z":return z}return null})(Be)||z.replace(":","")}))},c.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},c.diff=function(u,C,y){var P,z=this,ve=A.p(C),ue=H(u),Me=(ue.utcOffset()-this.utcOffset())*i,$e=this-ue,Ge=function(){return A.m(z,ue)};switch(ve){case w:P=Ge()/12;break;case g:P=Ge();break;case _:P=Ge()/3;break;case m:P=($e-Me)/6048e5;break;case p:P=($e-Me)/864e5;break;case d:P=$e/v;break;case s:P=$e/i;break;case l:P=$e/r;break;default:P=$e}return y?P:A.a(P)},c.daysInMonth=function(){return this.endOf(g).$D},c.$locale=function(){return $[this.$L]},c.locale=function(u,C){if(!u)return this.$L;var y=this.clone(),P=pe(u,C,!0);return P&&(y.$L=P),y},c.clone=function(){return A.w(this.$d,this)},c.toDate=function(){return new Date(this.valueOf())},c.toJSON=function(){return this.isValid()?this.toISOString():null},c.toISOString=function(){return this.$d.toISOString()},c.toString=function(){return this.$d.toUTCString()},h})(),W=Oe.prototype;return H.prototype=W,[["$ms",n],["$s",l],["$m",s],["$H",d],["$W",p],["$M",g],["$y",w],["$D",b]].forEach((function(h){W[h[1]]=function(c){return this.$g(c,h[0],h[1])}})),H.extend=function(h,c){return h.$i||(h(c,Oe,H),h.$i=!0),H},H.locale=pe,H.isDayjs=E,H.unix=function(h){return H(1e3*h)},H.en=$[oe],H.Ls=$,H.p={},H}))})(Br)),Br.exports}var jn=zo();const Ft=Do(jn);var qr={exports:{}},Sn=qr.exports,Io;function Mn(){return Io||(Io=1,(function(e,t){(function(r,i){e.exports=i(zo())})(Sn,(function(r){function i(l){return l&&typeof l=="object"&&"default"in l?l:{default:l}}var v=i(r),n={name:"it",weekdays:"domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),weekStart:1,monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"tra %s",past:"%s fa",s:"qualche secondo",m:"un minuto",mm:"%d minuti",h:"un' ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},ordinal:function(l){return l+"º"}};return v.default.locale(n,null,!0),n}))})(qr)),qr.exports}Mn();const yi={version:"0.61.39"};function _i(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 i=document.createElement("script");if(i.id=t+"-script",i.src=`https://cdn.jsdelivr.net/npm/${e.repoName}@${e.version}/${r}`,e?.local)i.src=`${e.local}`;else if(location.href.includes("localhost:6006")){const v=t.split("-")[0];i.src=`http://localhost:6006/webcomponents/${t.replace(v+"-","")}/${r}`}document.head.appendChild(i)}catch(i){console.warn(i)}}class Ht{dictionary;lang="";constructor(t){if(!t?.dictionary)throw new Error("no dictionary provided");this.dictionary=t.dictionary,this.setLang(t?.lang)}setLang(t){t||(t=Ht.getDefaultLang()),this.lang=t}translateWord(t,r){return Ht.getDictionaryWord(t,this.dictionary,r||this.lang)}translateDate(t,r,i){return Ht.formatDate(t,r,i||this.lang)}static getDefaultLang(){let t="en";return navigator?.languages&&navigator.languages[0]?.split("-")[0]?.toLowerCase()?.length&&(t=navigator.languages[0]?.split("-")[0]?.toLowerCase()),t}static getDictionaryWord(t,r,i){if(!t)throw new Error("no wordKey provided");if(!r)throw new Error("no dictionary provided");if(i&&r[i]?.[t])return r[i][t];let v="";const n=Ht.getDefaultLang();if(!i||n!==i){const l=r?.[n];l?.[t]&&(v=l[t])}return v}static formatDate(t,r,i){if(!t)throw new Error("no date provided");if(typeof t.getMonth!="function")throw new Error("wrong date format");return new Intl.DateTimeFormat(i||Ht.getDefaultLang(),r).format(t)}}var br={},ki,Lo;function Cn(){if(Lo)return ki;Lo=1;var e=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,t=/\n/g,r=/^\s*/,i=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,v=/^:\s*/,n=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,l=/^[;\s]*/,s=/^\s+|\s+$/g,d=`
2
+ `).some(s=>s.startsWith("https://svelte.dev/e/")))throw l;return l!==rr&&console.warn("Failed to hydrate: ",l),t.recover===!1&&xv(),di(),vo(r),rt(!1),jo(e,t)}finally{rt(i),Ze(v),tn()}}const fr=new Map;function So(e,{target:t,anchor:r,props:i={},events:v,context:n,intro:l=!0}){di();var s=new Set,d=g=>{for(var _=0;_<g.length;_++){var w=g[_];if(!s.has(w)){s.add(w);var b=nn(w);t.addEventListener(w,kr,{passive:b});var k=fr.get(w);k===void 0?(document.addEventListener(w,kr,{passive:b}),fr.set(w,1)):fr.set(w,k+1)}}};d(Jr($o)),gi.add(d);var p=void 0,m=Bv(()=>{var g=r??t.appendChild(ut());return ar(()=>{if(n){Ri({});var _=gt;_.c=n}v&&(i.$$events=v),J&&Yt(g,null),p=e(g,i)||{},J&&(V.nodes_end=ae),n&&Pi()}),()=>{for(var _ of s){t.removeEventListener(_,kr);var w=fr.get(_);--w===0?(document.removeEventListener(_,kr),fr.delete(_)):fr.set(_,w)}gi.delete(d),g!==r&&g.parentNode?.removeChild(g)}});return ui.set(p,m),p}let ui=new WeakMap;function an(e,t){const r=ui.get(e);return r?(ui.delete(e),r(t)):Promise.resolve()}function O(e,t,r=!1){J&&gr();var i=e,v=null,n=null,l=Le,s=r?Qr:0,d=!1;const p=(w,b=!0)=>{d=!0,_(b,w)};var m=null;function g(){m!==null&&(m.lastChild.remove(),i.before(m),m=null);var w=l?v:n,b=l?n:v;w&&ci(w),b&&mi(b,()=>{l?n=null:v=null})}const _=(w,b)=>{if(l===(l=w))return;let k=!1;if(J){const oe=zi(i)===Wr;!!l===oe&&(i=oi(),Ze(i),rt(!1),k=!0)}var M=no(),Y=i;if(M&&(m=document.createDocumentFragment(),m.append(Y=ut())),l?v??=b&&ar(()=>b(Y)):n??=b&&ar(()=>b(Y)),M){var S=ze,te=l?v:n,Z=l?n:v;te&&S.skipped_effects.delete(te),Z&&S.skipped_effects.add(Z),S.add_callback(g)}else g();k&&rt(!0)};fi(()=>{d=!1,t(p),d||_(null,null)},s),J&&(i=ae)}function sn(e,t,r){for(var i=e.items,v=[],n=t.length,l=0;l<n;l++)bi(t[l].e,v,!0);var s=n>0&&v.length===0&&r!==null;if(s){var d=r.parentNode;vo(d),d.append(r),i.clear(),St(e,t[0].prev,t[n-1].next)}mo(v,()=>{for(var p=0;p<n;p++){var m=t[p];s||(i.delete(m.k),St(e,m.prev,m.next)),$t(m.e,!s)}})}function ht(e,t,r,i,v,n=null){var l=e,s={flags:t,items:new Map,first:null},d=(t&ji)!==0;if(d){var p=e;l=J?Ze(Rt(p)):p.appendChild(ut())}J&&gr();var m=null,g=!1,_=new Map,w=Ui(()=>{var Y=r();return Gr(Y)?Y:Y==null?[]:Jr(Y)}),b,k;function M(){dn(k,b,s,_,l,v,t,i,r),n!==null&&(b.length===0?m?ci(m):m=ar(()=>n(l)):m!==null&&mi(m,()=>{m=null}))}fi(()=>{k??=V,b=o(w);var Y=b.length;if(g&&Y===0)return;g=Y===0;let S=!1;if(J){var te=zi(l)===Wr;te!==(Y===0)&&(l=oi(),Ze(l),rt(!1),S=!0)}if(J){for(var Z=null,oe,$=0;$<Y;$++){if(ae.nodeType===nr&&ae.data===Vr){l=ae,S=!0,rt(!1);break}var j=b[$],E=i(j,$);oe=hi(ae,s,Z,null,j,E,$,v,t,r),s.items.set(E,oe),Z=oe}Y>0&&Ze(oi())}if(J)Y===0&&n&&(m=ar(()=>n(l)));else if(no()){var pe=new Set,H=ze;for($=0;$<Y;$+=1){j=b[$],E=i(j,$);var A=s.items.get(E)??_.get(E);A?(t&(jr|Sr))!==0&&Mo(A,j,$,t):(oe=hi(null,s,null,null,j,E,$,v,t,r,!0),_.set(E,oe)),pe.add(E)}for(const[Oe,W]of s.items)pe.has(Oe)||H.skipped_effects.add(W.e);H.add_callback(M)}else M();S&&rt(!0),o(w)}),J&&(l=ae)}function dn(e,t,r,i,v,n,l,s,d){var p=(l&Zo)!==0,m=(l&(jr|Sr))!==0,g=t.length,_=r.items,w=r.first,b=w,k,M=null,Y,S=[],te=[],Z,oe,$,j;if(p)for(j=0;j<g;j+=1)Z=t[j],oe=s(Z,j),$=_.get(oe),$!==void 0&&($.a?.measure(),(Y??=new Set).add($));for(j=0;j<g;j+=1){if(Z=t[j],oe=s(Z,j),$=_.get(oe),$===void 0){var E=i.get(oe);if(E!==void 0){i.delete(oe),_.set(oe,E);var pe=M?M.next:b;St(r,M,E),St(r,E,pe),xi(E,pe,v),M=E}else{var H=b?b.e.nodes_start:v;M=hi(H,r,M,M===null?r.first:M.next,Z,oe,j,n,l,d)}_.set(oe,M),S=[],te=[],b=M.next;continue}if(m&&Mo($,Z,j,l),($.e.f&ct)!==0&&(ci($.e),p&&($.a?.unfix(),(Y??=new Set).delete($))),$!==b){if(k!==void 0&&k.has($)){if(S.length<te.length){var A=te[0],Oe;M=A.prev;var W=S[0],h=S[S.length-1];for(Oe=0;Oe<S.length;Oe+=1)xi(S[Oe],A,v);for(Oe=0;Oe<te.length;Oe+=1)k.delete(te[Oe]);St(r,W.prev,h.next),St(r,M,W),St(r,h,A),b=A,M=h,j-=1,S=[],te=[]}else k.delete($),xi($,b,v),St(r,$.prev,$.next),St(r,$,M===null?r.first:M.next),St(r,M,$),M=$;continue}for(S=[],te=[];b!==null&&b.k!==oe;)(b.e.f&ct)===0&&(k??=new Set).add(b),te.push(b),b=b.next;if(b===null)continue;$=b}S.push($),M=$,b=$.next}if(b!==null||k!==void 0){for(var c=k===void 0?[]:Jr(k);b!==null;)(b.e.f&ct)===0&&c.push(b),b=b.next;var u=c.length;if(u>0){var C=(l&ji)!==0&&g===0?v:null;if(p){for(j=0;j<u;j+=1)c[j].a?.measure();for(j=0;j<u;j+=1)c[j].a?.fix()}sn(r,c,C)}}p&&qi(()=>{if(Y!==void 0)for($ of Y)$.a?.apply()}),e.first=r.first&&r.first.e,e.last=M&&M.e;for(var y of i.values())$t(y.e);i.clear()}function Mo(e,t,r,i){(i&jr)!==0&&wr(e.v,t),(i&Sr)!==0?wr(e.i,r):e.i=r}function hi(e,t,r,i,v,n,l,s,d,p,m){var g=(d&jr)!==0,_=(d&Ko)===0,w=g?_?Qi(v,!1,!1):xr(v):v,b=(d&Sr)===0?l:xr(l),k={i:b,v:w,k:n,a:null,e:null,prev:r,next:i};try{if(e===null){var M=document.createDocumentFragment();M.append(e=ut())}return k.e=ar(()=>s(e,w,b,p),J),k.e.prev=r&&r.e,k.e.next=i&&i.e,r===null?m||(t.first=k):(r.next=k,r.e.next=k.e),i!==null&&(i.prev=k,i.e.prev=k.e),k}finally{}}function xi(e,t,r){for(var i=e.next?e.next.e.nodes_start:r,v=t?t.e.nodes_start:r,n=e.e.nodes_start;n!==null&&n!==i;){var l=_t(n);v.before(n),n=l}}function St(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 Co(e,t,r,i,v){J&&gr();var n=t.$$slots?.[r],l=!1;n===!0&&(n=t[r==="default"?"children":r],l=!0),n===void 0?v!==null&&v(e):n(e,l?()=>i:i)}function pn(e,t){qv(()=>{var r=e.getRootNode(),i=r.host?r:r.head??r.ownerDocument.head;if(!i.querySelector("#"+t.hash)){const v=document.createElement("style");v.id=t.hash,v.textContent=t.code,i.appendChild(v)}})}function To(e){var t,r,i="";if(typeof e=="string"||typeof e=="number")i+=e;else if(typeof e=="object")if(Array.isArray(e)){var v=e.length;for(t=0;t<v;t++)e[t]&&(r=To(e[t]))&&(i&&(i+=" "),i+=r)}else for(r in e)e[r]&&(i&&(i+=" "),i+=r);return i}function fn(){for(var e,t,r=0,i="",v=arguments.length;r<v;r++)(e=arguments[r])&&(t=To(e))&&(i&&(i+=" "),i+=t);return i}function mn(e){return typeof e=="object"?fn(e):e??""}function bn(e,t,r){var i=e==null?"":""+e;return t&&(i=i?i+" "+t:t),i===""?null:i}function cn(e,t){return e==null?null:String(e)}function Qe(e,t,r,i,v,n){var l=e.__className;if(J||l!==r||l===void 0){var s=bn(r,i);(!J||s!==e.getAttribute("class"))&&(s==null?e.removeAttribute("class"):e.className=s),e.__className=r}return n}function Yr(e,t,r,i){var v=e.__style;if(J||v!==t){var n=cn(t);(!J||n!==e.getAttribute("style"))&&(n==null?e.removeAttribute("style"):e.style.cssText=n),e.__style=t}return i}const gn=Symbol("is custom element"),un=Symbol("is html");function hn(e){if(J){var t=!1,r=()=>{if(!t){if(t=!0,e.hasAttribute("value")){var i=e.value;mr(e,"value",null),e.value=i}if(e.hasAttribute("checked")){var v=e.checked;mr(e,"checked",null),e.checked=v}}};e.__on_r=r,Cv(r),Lv()}}function mr(e,t,r,i){var v=xn(e);J&&(v[t]=e.getAttribute(t),t==="src"||t==="srcset"||t==="href"&&e.nodeName==="LINK")||v[t]!==(v[t]=r)&&(t==="loading"&&(e[fv]=r),r==null?e.removeAttribute(t):typeof r!="string"&&Ao(e).includes(t)?e[t]=r:e.setAttribute(t,r))}function Ae(e,t,r){var i=X,v=V;let n=J;J&&rt(!1),st(null),jt(null);try{t!=="style"&&(wi.has(e.getAttribute("is")||e.nodeName)||!customElements||customElements.get(e.getAttribute("is")||e.tagName.toLowerCase())?Ao(e).includes(t):r&&typeof r=="object")?e[t]=r:mr(e,t,r==null?r:String(r))}finally{st(i),jt(v),n&&rt(!0)}}function xn(e){return e.__attributes??={[gn]:e.nodeName.includes("-"),[un]:e.namespaceURI===vv}}var wi=new Map;function Ao(e){var t=e.getAttribute("is")||e.nodeName,r=wi.get(t);if(r)return r;wi.set(t,r=[]);for(var i,v=e,n=Element.prototype;n!==v;){i=lv(v);for(var l in i)i[l].set&&r.push(l);v=Mi(v)}return r}let Fr=!1;function wn(e){var t=Fr;try{return Fr=!1,[e(),Fr]}finally{Fr=t}}function He(e,t,r,i){var v=(r&tv)!==0,n=(r&rv)!==0,l=i,s=!0,d=()=>(s&&(s=!1,l=n?Zv(i):i),l),p;if(v){var m=Tr in e||Ni in e;p=Ut(e,t)?.set??(m&&t in e?S=>e[t]=S:void 0)}var g,_=!1;v?[g,_]=wn(()=>e[t]):g=e[t],g===void 0&&i!==void 0&&(g=d(),p&&(wv(),p(g)));var w;if(w=()=>{var S=e[t];return S===void 0?d():(s=!0,S)},(r&ev)===0)return w;if(p){var b=e.$$legacy;return(function(S,te){return arguments.length>0?((!te||b||_)&&p(te?w():S),S):w()})}var k=!1,M=((r&Qo)!==0?Dr:Ui)(()=>(k=!1,w()));v&&o(M);var Y=V;return(function(S,te){if(arguments.length>0){const Z=te?o(M):v?at(S):S;return de(M,Z),k=!0,l!==void 0&&(l=Z),S}return Zt&&k||(Y.f&Wt)!==0?M.v:o(M)})}function yn(e){return new _n(e)}class _n{#t;#e;constructor(t){var r=new Map,i=(n,l)=>{var s=Qi(l,!1,!1);return r.set(n,s),s};const v=new Proxy({...t.props||{},$$events:{}},{get(n,l){return o(r.get(l)??i(l,Reflect.get(n,l)))},has(n,l){return l===Ni?!0:(o(r.get(l)??i(l,Reflect.get(n,l))),Reflect.has(n,l))},set(n,l,s){return de(r.get(l)??i(l,s),s),Reflect.set(n,l,s)}});this.#e=(t.hydrate?ln:jo)(t.component,{target:t.target,anchor:t.anchor,props:v,context:t.context,intro:t.intro??!1,recover:t.recover}),(!t?.props?.$$host||t.sync===!1)&&Re(),this.#t=v.$$events;for(const n of Object.keys(this.#e))n==="$set"||n==="$destroy"||n==="$on"||ir(this,n,{get(){return this.#e[n]},set(l){this.#e[n]=l},enumerable:!0});this.#e.$set=n=>{Object.assign(v,n)},this.#e.$destroy=()=>{an(this.#e)}}$set(t){this.#e.$set(t)}$on(t,r){this.#t[t]=this.#t[t]||[];const i=(...v)=>r.call(this,...v);return this.#t[t].push(i),()=>{this.#t[t]=this.#t[t].filter(v=>v!==i)}}$destroy(){this.#e.$destroy()}}let Oo;typeof HTMLElement=="function"&&(Oo=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 i=this.$$c.$on(e,t);this.$$l_u.set(t,i)}super.addEventListener(e,t,r)}removeEventListener(e,t,r){if(super.removeEventListener(e,t,r),this.$$c){const i=this.$$l_u.get(t);i&&(i(),this.$$l_u.delete(t))}}async connectedCallback(){if(this.$$cn=!0,!this.$$c){let e=function(i){return v=>{const n=document.createElement("slot");i!=="default"&&(n.name=i),x(v,n)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const t={},r=kn(this);for(const i of this.$$s)i in r&&(i==="default"&&!this.$$d.children?(this.$$d.children=e(i),t.default=!0):t[i]=e(i));for(const i of this.attributes){const v=this.$$g_p(i.name);v in this.$$d||(this.$$d[v]=Hr(v,i.value,this.$$p_d,"toProp"))}for(const i in this.$$p_d)!(i in this.$$d)&&this[i]!==void 0&&(this.$$d[i]=this[i],delete this[i]);this.$$c=yn({component:this.$$ctor,target:this.shadowRoot||this,props:{...this.$$d,$$slots:t,$$host:this}}),this.$$me=Hv(()=>{Wv(()=>{this.$$r=!0;for(const i of Mr(this.$$c)){if(!this.$$p_d[i]?.reflect)continue;this.$$d[i]=this.$$c[i];const v=Hr(i,this.$$d[i],this.$$p_d,"toAttribute");v==null?this.removeAttribute(this.$$p_d[i].attribute||i):this.setAttribute(this.$$p_d[i].attribute||i,v)}this.$$r=!1})});for(const i in this.$$l)for(const v of this.$$l[i]){const n=this.$$c.$on(i,v);this.$$l_u.set(v,n)}this.$$l={}}}attributeChangedCallback(e,t,r){this.$$r||(e=this.$$g_p(e),this.$$d[e]=Hr(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 Mr(this.$$p_d).find(t=>this.$$p_d[t].attribute===e||!this.$$p_d[t].attribute&&t.toLowerCase()===e)||e}});function Hr(e,t,r,i){const v=r[e]?.type;if(t=v==="Boolean"&&typeof t!="boolean"?t!=null:t,!i||!r[e])return t;if(i==="toAttribute")switch(v){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(v){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function kn(e){const t={};return e.childNodes.forEach(r=>{t[r.slot||"default"]=!0}),t}function $n(e,t,r,i,v,n){let l=class extends Oo{constructor(){super(e,r,v),this.$$p_d=t}static get observedAttributes(){return Mr(t).map(s=>(t[s].attribute||s).toLowerCase())}};return Mr(t).forEach(s=>{ir(l.prototype,s,{get(){return this.$$c&&s in this.$$c?this.$$c[s]:this.$$d[s]},set(d){d=Hr(s,d,t),this.$$d[s]=d;var p=this.$$c;if(p){var m=Ut(p,s)?.get;m?p[s]=d:p.$set({[s]:d})}}})}),i.forEach(s=>{ir(l.prototype,s,{get(){return this.$$c?.[s]}})}),e.element=l,l}function Do(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Br={exports:{}},En=Br.exports,No;function zo(){return No||(No=1,(function(e,t){(function(r,i){e.exports=i()})(En,(function(){var r=1e3,i=6e4,v=36e5,n="millisecond",l="second",s="minute",d="hour",p="day",m="week",g="month",_="quarter",w="year",b="date",k="Invalid Date",M=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,Y=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,S={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(h){var c=["th","st","nd","rd"],u=h%100;return"["+h+(c[(u-20)%10]||c[u]||c[0])+"]"}},te=function(h,c,u){var C=String(h);return!C||C.length>=c?h:""+Array(c+1-C.length).join(u)+h},Z={s:te,z:function(h){var c=-h.utcOffset(),u=Math.abs(c),C=Math.floor(u/60),y=u%60;return(c<=0?"+":"-")+te(C,2,"0")+":"+te(y,2,"0")},m:function h(c,u){if(c.date()<u.date())return-h(u,c);var C=12*(u.year()-c.year())+(u.month()-c.month()),y=c.clone().add(C,g),P=u-y<0,z=c.clone().add(C+(P?-1:1),g);return+(-(C+(u-y)/(P?y-z:z-y))||0)},a:function(h){return h<0?Math.ceil(h)||0:Math.floor(h)},p:function(h){return{M:g,y:w,w:m,d:p,D:b,h:d,m:s,s:l,ms:n,Q:_}[h]||String(h||"").toLowerCase().replace(/s$/,"")},u:function(h){return h===void 0}},oe="en",$={};$[oe]=S;var j="$isDayjsObject",E=function(h){return h instanceof Oe||!(!h||!h[j])},pe=function h(c,u,C){var y;if(!c)return oe;if(typeof c=="string"){var P=c.toLowerCase();$[P]&&(y=P),u&&($[P]=u,y=P);var z=c.split("-");if(!y&&z.length>1)return h(z[0])}else{var ve=c.name;$[ve]=c,y=ve}return!C&&y&&(oe=y),y||!C&&oe},H=function(h,c){if(E(h))return h.clone();var u=typeof c=="object"?c:{};return u.date=h,u.args=arguments,new Oe(u)},A=Z;A.l=pe,A.i=E,A.w=function(h,c){return H(h,{locale:c.$L,utc:c.$u,x:c.$x,$offset:c.$offset})};var Oe=(function(){function h(u){this.$L=pe(u.locale,null,!0),this.parse(u),this.$x=this.$x||u.x||{},this[j]=!0}var c=h.prototype;return c.parse=function(u){this.$d=(function(C){var y=C.date,P=C.utc;if(y===null)return new Date(NaN);if(A.u(y))return new Date;if(y instanceof Date)return new Date(y);if(typeof y=="string"&&!/Z$/i.test(y)){var z=y.match(M);if(z){var ve=z[2]-1||0,ue=(z[7]||"0").substring(0,3);return P?new Date(Date.UTC(z[1],ve,z[3]||1,z[4]||0,z[5]||0,z[6]||0,ue)):new Date(z[1],ve,z[3]||1,z[4]||0,z[5]||0,z[6]||0,ue)}}return new Date(y)})(u),this.init()},c.init=function(){var u=this.$d;this.$y=u.getFullYear(),this.$M=u.getMonth(),this.$D=u.getDate(),this.$W=u.getDay(),this.$H=u.getHours(),this.$m=u.getMinutes(),this.$s=u.getSeconds(),this.$ms=u.getMilliseconds()},c.$utils=function(){return A},c.isValid=function(){return this.$d.toString()!==k},c.isSame=function(u,C){var y=H(u);return this.startOf(C)<=y&&y<=this.endOf(C)},c.isAfter=function(u,C){return H(u)<this.startOf(C)},c.isBefore=function(u,C){return this.endOf(C)<H(u)},c.$g=function(u,C,y){return A.u(u)?this[C]:this.set(y,u)},c.unix=function(){return Math.floor(this.valueOf()/1e3)},c.valueOf=function(){return this.$d.getTime()},c.startOf=function(u,C){var y=this,P=!!A.u(C)||C,z=A.p(u),ve=function(Dt,Be){var Ct=A.w(y.$u?Date.UTC(y.$y,Be,Dt):new Date(y.$y,Be,Dt),y);return P?Ct:Ct.endOf(p)},ue=function(Dt,Be){return A.w(y.toDate()[Dt].apply(y.toDate("s"),(P?[0,0,0,0]:[23,59,59,999]).slice(Be)),y)},Me=this.$W,$e=this.$M,Ge=this.$D,Bt="set"+(this.$u?"UTC":"");switch(z){case w:return P?ve(1,0):ve(31,11);case g:return P?ve(1,$e):ve(0,$e+1);case m:var Mt=this.$locale().weekStart||0,Qt=(Me<Mt?Me+7:Me)-Mt;return ve(P?Ge-Qt:Ge+(6-Qt),$e);case p:case b:return ue(Bt+"Hours",0);case d:return ue(Bt+"Minutes",1);case s:return ue(Bt+"Seconds",2);case l:return ue(Bt+"Milliseconds",3);default:return this.clone()}},c.endOf=function(u){return this.startOf(u,!1)},c.$set=function(u,C){var y,P=A.p(u),z="set"+(this.$u?"UTC":""),ve=(y={},y[p]=z+"Date",y[b]=z+"Date",y[g]=z+"Month",y[w]=z+"FullYear",y[d]=z+"Hours",y[s]=z+"Minutes",y[l]=z+"Seconds",y[n]=z+"Milliseconds",y)[P],ue=P===p?this.$D+(C-this.$W):C;if(P===g||P===w){var Me=this.clone().set(b,1);Me.$d[ve](ue),Me.init(),this.$d=Me.set(b,Math.min(this.$D,Me.daysInMonth())).$d}else ve&&this.$d[ve](ue);return this.init(),this},c.set=function(u,C){return this.clone().$set(u,C)},c.get=function(u){return this[A.p(u)]()},c.add=function(u,C){var y,P=this;u=Number(u);var z=A.p(C),ve=function($e){var Ge=H(P);return A.w(Ge.date(Ge.date()+Math.round($e*u)),P)};if(z===g)return this.set(g,this.$M+u);if(z===w)return this.set(w,this.$y+u);if(z===p)return ve(1);if(z===m)return ve(7);var ue=(y={},y[s]=i,y[d]=v,y[l]=r,y)[z]||1,Me=this.$d.getTime()+u*ue;return A.w(Me,this)},c.subtract=function(u,C){return this.add(-1*u,C)},c.format=function(u){var C=this,y=this.$locale();if(!this.isValid())return y.invalidDate||k;var P=u||"YYYY-MM-DDTHH:mm:ssZ",z=A.z(this),ve=this.$H,ue=this.$m,Me=this.$M,$e=y.weekdays,Ge=y.months,Bt=y.meridiem,Mt=function(Be,Ct,er,cr){return Be&&(Be[Ct]||Be(C,P))||er[Ct].slice(0,cr)},Qt=function(Be){return A.s(ve%12||12,Be,"0")},Dt=Bt||function(Be,Ct,er){var cr=Be<12?"AM":"PM";return er?cr.toLowerCase():cr};return P.replace(Y,(function(Be,Ct){return Ct||(function(er){switch(er){case"YY":return String(C.$y).slice(-2);case"YYYY":return A.s(C.$y,4,"0");case"M":return Me+1;case"MM":return A.s(Me+1,2,"0");case"MMM":return Mt(y.monthsShort,Me,Ge,3);case"MMMM":return Mt(Ge,Me);case"D":return C.$D;case"DD":return A.s(C.$D,2,"0");case"d":return String(C.$W);case"dd":return Mt(y.weekdaysMin,C.$W,$e,2);case"ddd":return Mt(y.weekdaysShort,C.$W,$e,3);case"dddd":return $e[C.$W];case"H":return String(ve);case"HH":return A.s(ve,2,"0");case"h":return Qt(1);case"hh":return Qt(2);case"a":return Dt(ve,ue,!0);case"A":return Dt(ve,ue,!1);case"m":return String(ue);case"mm":return A.s(ue,2,"0");case"s":return String(C.$s);case"ss":return A.s(C.$s,2,"0");case"SSS":return A.s(C.$ms,3,"0");case"Z":return z}return null})(Be)||z.replace(":","")}))},c.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},c.diff=function(u,C,y){var P,z=this,ve=A.p(C),ue=H(u),Me=(ue.utcOffset()-this.utcOffset())*i,$e=this-ue,Ge=function(){return A.m(z,ue)};switch(ve){case w:P=Ge()/12;break;case g:P=Ge();break;case _:P=Ge()/3;break;case m:P=($e-Me)/6048e5;break;case p:P=($e-Me)/864e5;break;case d:P=$e/v;break;case s:P=$e/i;break;case l:P=$e/r;break;default:P=$e}return y?P:A.a(P)},c.daysInMonth=function(){return this.endOf(g).$D},c.$locale=function(){return $[this.$L]},c.locale=function(u,C){if(!u)return this.$L;var y=this.clone(),P=pe(u,C,!0);return P&&(y.$L=P),y},c.clone=function(){return A.w(this.$d,this)},c.toDate=function(){return new Date(this.valueOf())},c.toJSON=function(){return this.isValid()?this.toISOString():null},c.toISOString=function(){return this.$d.toISOString()},c.toString=function(){return this.$d.toUTCString()},h})(),W=Oe.prototype;return H.prototype=W,[["$ms",n],["$s",l],["$m",s],["$H",d],["$W",p],["$M",g],["$y",w],["$D",b]].forEach((function(h){W[h[1]]=function(c){return this.$g(c,h[0],h[1])}})),H.extend=function(h,c){return h.$i||(h(c,Oe,H),h.$i=!0),H},H.locale=pe,H.isDayjs=E,H.unix=function(h){return H(1e3*h)},H.en=$[oe],H.Ls=$,H.p={},H}))})(Br)),Br.exports}var jn=zo();const Ft=Do(jn);var qr={exports:{}},Sn=qr.exports,Io;function Mn(){return Io||(Io=1,(function(e,t){(function(r,i){e.exports=i(zo())})(Sn,(function(r){function i(l){return l&&typeof l=="object"&&"default"in l?l:{default:l}}var v=i(r),n={name:"it",weekdays:"domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),weekStart:1,monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"tra %s",past:"%s fa",s:"qualche secondo",m:"un minuto",mm:"%d minuti",h:"un' ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},ordinal:function(l){return l+"º"}};return v.default.locale(n,null,!0),n}))})(qr)),qr.exports}Mn();const yi={version:"0.61.40"};function _i(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 i=document.createElement("script");if(i.id=t+"-script",i.src=`https://cdn.jsdelivr.net/npm/${e.repoName}@${e.version}/${r}`,e?.local)i.src=`${e.local}`;else if(location.href.includes("localhost:6006")){const v=t.split("-")[0];i.src=`http://localhost:6006/webcomponents/${t.replace(v+"-","")}/${r}`}document.head.appendChild(i)}catch(i){console.warn(i)}}class Ht{dictionary;lang="";constructor(t){if(!t?.dictionary)throw new Error("no dictionary provided");this.dictionary=t.dictionary,this.setLang(t?.lang)}setLang(t){t||(t=Ht.getDefaultLang()),this.lang=t}translateWord(t,r){return Ht.getDictionaryWord(t,this.dictionary,r||this.lang)}translateDate(t,r,i){return Ht.formatDate(t,r,i||this.lang)}static getDefaultLang(){let t="en";return navigator?.languages&&navigator.languages[0]?.split("-")[0]?.toLowerCase()?.length&&(t=navigator.languages[0]?.split("-")[0]?.toLowerCase()),t}static getDictionaryWord(t,r,i){if(!t)throw new Error("no wordKey provided");if(!r)throw new Error("no dictionary provided");if(i&&r[i]?.[t])return r[i][t];let v="";const n=Ht.getDefaultLang();if(!i||n!==i){const l=r?.[n];l?.[t]&&(v=l[t])}return v}static formatDate(t,r,i){if(!t)throw new Error("no date provided");if(typeof t.getMonth!="function")throw new Error("wrong date format");return new Intl.DateTimeFormat(i||Ht.getDefaultLang(),r).format(t)}}var br={},ki,Lo;function Cn(){if(Lo)return ki;Lo=1;var e=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,t=/\n/g,r=/^\s*/,i=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,v=/^:\s*/,n=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,l=/^[;\s]*/,s=/^\s+|\s+$/g,d=`
3
3
  `,p="/",m="*",g="",_="comment",w="declaration";ki=function(k,M){if(typeof k!="string")throw new TypeError("First argument must be a string");if(!k)return[];M=M||{};var Y=1,S=1;function te(W){var h=W.match(t);h&&(Y+=h.length);var c=W.lastIndexOf(d);S=~c?W.length-c:S+W.length}function Z(){var W={line:Y,column:S};return function(h){return h.position=new oe(W),E(),h}}function oe(W){this.start=W,this.end={line:Y,column:S},this.source=M.source}oe.prototype.content=k;function $(W){var h=new Error(M.source+":"+Y+":"+S+": "+W);if(h.reason=W,h.filename=M.source,h.line=Y,h.column=S,h.source=k,!M.silent)throw h}function j(W){var h=W.exec(k);if(h){var c=h[0];return te(c),k=k.slice(c.length),h}}function E(){j(r)}function pe(W){var h;for(W=W||[];h=H();)h!==!1&&W.push(h);return W}function H(){var W=Z();if(!(p!=k.charAt(0)||m!=k.charAt(1))){for(var h=2;g!=k.charAt(h)&&(m!=k.charAt(h)||p!=k.charAt(h+1));)++h;if(h+=2,g===k.charAt(h-1))return $("End of comment missing");var c=k.slice(2,h-2);return S+=2,te(c),k=k.slice(h),S+=2,W({type:_,comment:c})}}function A(){var W=Z(),h=j(i);if(h){if(H(),!j(v))return $("property missing ':'");var c=j(n),u=W({type:w,property:b(h[0].replace(e,g)),value:c?b(c[0].replace(e,g)):g});return j(l),u}}function Oe(){var W=[];pe(W);for(var h;h=A();)h!==!1&&(W.push(h),pe(W));return W}return E(),Oe()};function b(k){return k?k.replace(s,g):g}return ki}var Ro;function Tn(){if(Ro)return br;Ro=1;var e=br&&br.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(br,"__esModule",{value:!0}),br.default=r;var t=e(Cn());function r(i,v){var n=null;if(!i||typeof i!="string")return n;var l=(0,t.default)(i),s=typeof v=="function";return l.forEach(function(d){if(d.type==="declaration"){var p=d.property,m=d.value;s?v(p,m,d):m&&(n=n||{},n[p]=m)}}),n}return br}var An=Tn();const Po=Do(An);Po.default;const Yo={en:{actions:"Actions",selectAll:"Select all",deselectAll:"Deselect all",start:"Start",end:"End",all:"all"},it:{actions:"Azioni",selectAll:"Seleziona tutti",deselectAll:"Deseleziona tutti",start:"Inizio",end:"Fine",all:"tutti"}};function On(e,t,r){t()?(t(void 0),o(r).length=0):t("yes")}function Fo(e,t,r){de(t,o(r).map(i=>i._id),!0)}function Ho(e,t){o(t).length=0}function Dn(e,t,r){t("addItem",{id:r()})}var Nn=T('<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@latest/font/bootstrap-icons.css" class="svelte-vfpdiv"/>'),zn=T('<button aria-label="Select all" class="btn btn-link svelte-vfpdiv"> </button>'),In=T('<button aria-label="Deselect all" class="btn btn-link svelte-vfpdiv"> </button>'),Ln=T('<th scope="col" class="svelte-vfpdiv"><!></th>'),Rn=T('<th scope="col" class="svelte-vfpdiv"></th>'),Pn=(e,t,r)=>t(o(r).key),Yn=T('<button style="border:none; background-color:inherit" class="svelte-vfpdiv"><!></button>'),Fn=T('<th scope="col" class="svelte-vfpdiv"> <!></th>'),Hn=T('<th scope="col" class="svelte-vfpdiv"> </th>'),Bn=T('<th scope="col" class="svelte-vfpdiv"> </th>'),qn=(e,t,r)=>t(e.target,o(r)),Un=T('<span style="width:50px;display:inline-block" class="svelte-vfpdiv"> </span> <input type="date" class="form-control svelte-vfpdiv" style="max-width: 200px;display:inline-block"/>',1),Wn=(e,t,r)=>t(e.target,o(r)),Vn=T('<input type="text" class="form-control svelte-vfpdiv" placeholder="..." aria-label="Search" aria-describedby="search"/>'),Gn=(e,t,r)=>t(e.target,o(r)),Jn=T('<option class="svelte-vfpdiv"> </option>'),Xn=T('<select class="form-select svelte-vfpdiv"><option class="svelte-vfpdiv"> </option><!></select>'),Zn=T('<th scope="col" class="svelte-vfpdiv"><!> <!></th>'),Kn=T('<th scope="col" class="svelte-vfpdiv">&nbsp;</th>'),Qn=T("<!> <!>",1),el=T('<tr class="svelte-vfpdiv"><!><!></tr>'),tl=T('<button class="btn btn-link svelte-vfpdiv"> </button>'),rl=T('<button class="btn btn-link svelte-vfpdiv"> </button>'),il=T('<th scope="col" class="svelte-vfpdiv"><!></th>'),ol=(e,t,r)=>t(e.target,o(r)),vl=T('<span style="width:50px;display:inline-block" class="svelte-vfpdiv">Inizio</span> <input type="date" class="form-control svelte-vfpdiv" style="max-width: 200px;display:inline-block"/>',1),nl=(e,t,r)=>t(e.target,o(r)),ll=T('<input type="text" class="form-control svelte-vfpdiv" placeholder="..." aria-label="Search" aria-describedby="search"/>'),al=(e,t,r)=>t(e.target,o(r)),sl=T('<option class="svelte-vfpdiv"> </option>'),dl=T('<select class="form-select svelte-vfpdiv"><option class="svelte-vfpdiv"> </option><!></select>'),pl=T('<th scope="col" class="svelte-vfpdiv"><!></th>'),fl=T('<th scope="col" class="svelte-vfpdiv">&nbsp;</th>'),ml=T('<th scope="col" class="svelte-vfpdiv"> </th>'),bl=(e,t,r)=>t(e.target,o(r)),cl=T('<span style="width:50px;display:inline-block" class="svelte-vfpdiv"> </span> <input type="date" class="form-control svelte-vfpdiv" style="max-width: 200px;display:inline-block"/>',1),gl=T('<th scope="col" class="svelte-vfpdiv"><!></th>'),ul=T('<th scope="col" class="svelte-vfpdiv">&nbsp;</th>'),hl=T('<tr class="svelte-vfpdiv"><!><!><!></tr> <tr class="svelte-vfpdiv"><!><!><!></tr>',1),xl=(e,t,r)=>{t(o(r)._id,e.target)},wl=T('<input id="flexCheckDefault" class="form-check-input svelte-vfpdiv" type="checkbox" checked/>'),yl=(e,t,r)=>{t(o(r)._id,e.target)},_l=T('<input id="flexCheckDefault" class="form-check-input svelte-vfpdiv" type="checkbox"/>'),kl=T('<td style="box-shadow: none;" class="svelte-vfpdiv"><div class="form-check svelte-vfpdiv"><!></div></td>'),$l=(e,t,r,i)=>t(o(r),o(i)),El=T('<button type="button" style="margin-right:10px" disabled> </button>'),jl=(e,t,r,i)=>t(o(r),o(i)),Sl=T('<button type="button" style="margin-right:10px" disabled><i></i></button>'),Ml=(e,t,r,i)=>t(o(r),o(i)),Cl=T('<button type="button" style="margin-right:10px"> </button>'),Tl=(e,t,r,i)=>t(o(r),o(i)),Al=T('<button type="button" style="margin-right:10px"><i></i></button>'),Ol=T('<td class="svelte-vfpdiv"></td>'),Dl=T('<td class="svelte-vfpdiv"></td>'),Nl=(e,t,r,i)=>{t()&&r(o(i)._id)},zl=(e,t,r,i)=>t(o(r)._id,o(i).key),Il=T('<button type="button" class="btn btn-link svelte-vfpdiv"> </button>'),Ll=(e,t,r,i,v)=>t(r(o(i),o(v)).toString()),Rl=T('<button type="button" class="btn btn-link svelte-vfpdiv" aria-label="Copy to clipboard"><i class="bi-clipboard svelte-vfpdiv"></i></button>'),Pl=T('<td class="svelte-vfpdiv"><!> <!></td>'),Yl=(e,t,r,i)=>t(o(r)._id,o(i).name),Fl=T('<button type="button" style="margin-right:10px"> </button>'),Hl=(e,t,r,i)=>t(o(r)._id,o(i).name),Bl=T('<button type="button" style="margin-right:10px"><i></i></button>'),ql=T('<td class="svelte-vfpdiv"></td>'),Ul=T("<tr><!><!><!></tr>"),Wl=(e,t,r)=>{t(o(r).name)},Vl=T('<button type="button" class="btn btn-outline-primary svelte-vfpdiv"> </button>'),Gl=T('<span style="margin-left:20px" class="btn-group btn-group-sm svelte-vfpdiv" role="group" aria-label="Basic example"></span>'),Jl=T('<button aria-label="Settings"><i class="bi-gear svelte-vfpdiv"></i></button> <!>',1),Xl=T('<i class="bi-plus svelte-vfpdiv"></i>'),Zl=T('<button style="margin-left:20px" class="btn btn-primary btn-sm svelte-vfpdiv"><!></button>'),Kl=T("<hb-paginate></hb-paginate>",2),Ql=T('<table part="table" class="table table-responsive table-striped table-hover align-middle svelte-vfpdiv" style="table-layout: fixed;width:100%;text-align:left"><thead class="svelte-vfpdiv"><tr class="svelte-vfpdiv"><!><!><!></tr><!></thead><tbody class="svelte-vfpdiv"><!></tbody></table> <nav part="table-actions" style="margin-top:20px" aria-label="actions on selected" class="svelte-vfpdiv"><!> <!> <!> <!></nav>',1),ea=T("<hb-dialogform></hb-dialogform> <hb-dialog></hb-dialog> <!>",3);const ta={hash:"svelte-vfpdiv",code:`@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");
4
4
  @import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@latest/font/bootstrap-icons.css");
5
5
  /*!
package/manifest.json CHANGED
@@ -2236,5 +2236,5 @@
2236
2236
  "size": {},
2237
2237
  "iifePath": "main.iife.js",
2238
2238
  "repoName": "@htmlbricks/hb-table",
2239
- "version": "0.61.39"
2239
+ "version": "0.61.40"
2240
2240
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@htmlbricks/hb-table",
3
- "version": "0.61.39",
3
+ "version": "0.61.40",
4
4
  "contributors": [],
5
5
  "description": "",
6
6
  "licenses": [