@htmlbricks/hb-table 0.62.1 → 0.62.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/main.iife.js +1 -1
- package/manifest.json +1 -1
- package/package.json +1 -1
package/main.iife.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
(function(kr){"use strict";typeof window<"u"&&((window.__svelte??={}).v??=new Set).add("5");const $r=1,jr=2,Er=4,qo=8,Vo=16,Jo=1,Zo=4,Go=8,Ko=16,Xo=1,Qo=2,Sr="[",Oa="[!",ar="]",ma={},Ye=Symbol(),en="http://www.w3.org/1999/xhtml",rr=!1;var Mr=Array.isArray,tn=Array.prototype.indexOf,or=Array.from,za=Object.keys,Na=Object.defineProperty,Xt=Object.getOwnPropertyDescriptor,an=Object.getOwnPropertyDescriptors,rn=Object.prototype,on=Array.prototype,Tr=Object.getPrototypeOf,Cr=Object.isExtensible;function nn(e){for(var t=0;t<e.length;t++)e[t]()}function Dr(){var e,t,a=new Promise((r,n)=>{e=r,t=n});return{promise:a,resolve:e,reject:t}}const Ne=2,nr=4,lr=8,Ot=16,zt=32,Ht=64,La=128,yt=512,Be=1024,tt=2048,Nt=4096,ot=8192,Lt=16384,Ia=32768,va=65536,Ar=1<<17,ir=1<<18,Qt=1<<19,ln=1<<20,ea=32768,sr=1<<21,dr=1<<22,Ut=1<<23,Ra=Symbol("$state"),Or=Symbol("legacy props"),sn=Symbol(""),pa=new class extends Error{name="StaleReactionError";message="The reaction that called `getAbortSignal()` was re-run or destroyed"},Pa=3,ta=8;function dn(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function mn(e){throw new Error("https://svelte.dev/e/effect_in_teardown")}function vn(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function pn(e){throw new Error("https://svelte.dev/e/effect_orphan")}function cn(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function bn(){throw new Error("https://svelte.dev/e/hydration_failed")}function gn(e){throw new Error("https://svelte.dev/e/props_invalid_value")}function fn(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function un(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function hn(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function xn(){throw new Error("https://svelte.dev/e/svelte_boundary_reset_onerror")}function Fa(e){console.warn("https://svelte.dev/e/hydration_mismatch")}function wn(){console.warn("https://svelte.dev/e/svelte_boundary_reset_noop")}let R=!1;function nt(e){R=e}let X;function Le(e){if(e===null)throw Fa(),ma;return X=e}function _a(){return Le(bt(X))}function C(e){if(R){if(bt(X)!==null)throw Fa(),ma;X=e}}function yn(e=1){if(R){for(var t=e,a=X;t--;)a=bt(a);X=a}}function Ya(e=!0){for(var t=0,a=X;;){if(a.nodeType===ta){var r=a.data;if(r===ar){if(t===0)return a;t-=1}else(r===Sr||r===Oa)&&(t+=1)}var n=bt(a);e&&a.remove(),a=n}}function zr(e){if(!e||e.nodeType!==ta)throw Fa(),ma;return e.data}function Nr(e){return e===this.v}function _n(e,t){return e!=e?t==t:e!==t||e!==null&&typeof e=="object"||typeof e=="function"}function Lr(e){return!_n(e,this.v)}let kn=!1,mt=null;function ca(e){mt=e}function Ir(e,t=!1,a){mt={p:mt,i:!1,c:null,e:null,s:e,x:null,l:null}}function Rr(e){var t=mt,a=t.e;if(a!==null){t.e=null;for(var r of a)lo(r)}return e!==void 0&&(t.x=e),t.i=!0,mt=t.p,e??{}}function Pr(){return!0}let aa=[];function Fr(){var e=aa;aa=[],nn(e)}function ba(e){if(aa.length===0&&!ka){var t=aa;queueMicrotask(()=>{t===aa&&Fr()})}aa.push(e)}function $n(){for(;aa.length>0;)Fr()}function Yr(e){var t=Q;if(t===null)return q.f|=Ut,e;if((t.f&Ia)===0){if((t.f&La)===0)throw e;t.b.error(e)}else ga(e,t)}function ga(e,t){for(;t!==null;){if((t.f&La)!==0)try{t.b.error(e);return}catch(a){e=a}t=t.parent}throw e}const Ba=new Set;let he=null,vt=null,pt=[],Ha=null,mr=!1,ka=!1;class _t{committed=!1;current=new Map;previous=new Map;#t=new Set;#e=new Set;#a=0;#r=0;#s=null;#n=[];#o=[];skipped_effects=new Set;is_fork=!1;is_deferred(){return this.is_fork||this.#r>0}process(t){pt=[],this.apply();var a={parent:null,effect:null,effects:[],render_effects:[],block_effects:[]};for(const r of t)this.#l(r,a);this.is_fork||this.#m(),this.is_deferred()?(this.#i(a.effects),this.#i(a.render_effects),this.#i(a.block_effects)):(he=null,Hr(a.render_effects),Hr(a.effects),this.#s?.resolve()),vt=null}#l(t,a){t.f^=Be;for(var r=t.first;r!==null;){var n=r.f,o=(n&(zt|Ht))!==0,i=o&&(n&Be)!==0,s=i||(n&ot)!==0||this.skipped_effects.has(r);if((r.f&La)!==0&&r.b?.is_pending()&&(a={parent:a,effect:r,effects:[],render_effects:[],block_effects:[]}),!s&&r.fn!==null){o?r.f^=Be:(n&nr)!==0?a.effects.push(r):Ea(r)&&((r.f&Ot)!==0&&a.block_effects.push(r),Sa(r));var d=r.first;if(d!==null){r=d;continue}}var v=r.parent;for(r=r.next;r===null&&v!==null;)v===a.effect&&(this.#i(a.effects),this.#i(a.render_effects),this.#i(a.block_effects),a=a.parent),r=v.next,v=v.parent}}#i(t){for(const a of t)((a.f&tt)!==0?this.#n:this.#o).push(a),this.#d(a.deps),Ue(a,Be)}#d(t){if(t!==null)for(const a of t)(a.f&Ne)===0||(a.f&ea)===0||(a.f^=ea,this.#d(a.deps))}capture(t,a){this.previous.has(t)||this.previous.set(t,a),(t.f&Ut)===0&&(this.current.set(t,t.v),vt?.set(t,t.v))}activate(){he=this,this.apply()}deactivate(){he===this&&(he=null,vt=null)}flush(){if(this.activate(),pt.length>0){if(Br(),he!==null&&he!==this)return}else this.#a===0&&this.process([]);this.deactivate()}discard(){for(const t of this.#e)t(this);this.#e.clear()}#m(){if(this.#r===0){for(const t of this.#t)t();this.#t.clear()}this.#a===0&&this.#v()}#v(){if(Ba.size>1){this.previous.clear();var t=vt,a=!0,r={parent:null,effect:null,effects:[],render_effects:[],block_effects:[]};for(const o of Ba){if(o===this){a=!1;continue}const i=[];for(const[d,v]of this.current){if(o.current.has(d))if(a&&v!==o.current.get(d))o.current.set(d,v);else continue;i.push(d)}if(i.length===0)continue;const s=[...o.current.keys()].filter(d=>!this.current.has(d));if(s.length>0){var n=pt;pt=[];const d=new Set,v=new Map;for(const c of i)Ur(c,s,d,v);if(pt.length>0){he=o,o.apply();for(const c of pt)o.#l(c,r);o.deactivate()}pt=n}}he=null,vt=t}this.committed=!0,Ba.delete(this)}increment(t){this.#a+=1,t&&(this.#r+=1)}decrement(t){this.#a-=1,t&&(this.#r-=1),this.revive()}revive(){for(const t of this.#n)Ue(t,tt),ra(t);for(const t of this.#o)Ue(t,Nt),ra(t);this.#n=[],this.#o=[],this.flush()}oncommit(t){this.#t.add(t)}ondiscard(t){this.#e.add(t)}settled(){return(this.#s??=Dr()).promise}static ensure(){if(he===null){const t=he=new _t;Ba.add(he),ka||_t.enqueue(()=>{he===t&&t.flush()})}return he}static enqueue(t){ba(t)}apply(){}}function Ie(e){var t=ka;ka=!0;try{for(var a;;){if($n(),pt.length===0&&(he?.flush(),pt.length===0))return Ha=null,a;Br()}}finally{ka=t}}function Br(){var e=Vt;mr=!0;var t=null;try{var a=0;for(Za(!0);pt.length>0;){var r=_t.ensure();if(a++>1e3){var n,o;jn()}r.process(pt),Wt.clear()}}finally{mr=!1,Za(e),Ha=null}}function jn(){try{cn()}catch(e){ga(e,Ha)}}let It=null;function Hr(e){var t=e.length;if(t!==0){for(var a=0;a<t;){var r=e[a++];if((r.f&(Lt|ot))===0&&Ea(r)&&(It=new Set,Sa(r),r.deps===null&&r.first===null&&r.nodes_start===null&&(r.teardown===null&&r.ac===null?vo(r):r.fn=null),It?.size>0)){Wt.clear();for(const n of It){if((n.f&(Lt|ot))!==0)continue;const o=[n];let i=n.parent;for(;i!==null;)It.has(i)&&(It.delete(i),o.push(i)),i=i.parent;for(let s=o.length-1;s>=0;s--){const d=o[s];(d.f&(Lt|ot))===0&&Sa(d)}}It.clear()}}It=null}}function Ur(e,t,a,r){if(!a.has(e)&&(a.add(e),e.reactions!==null))for(const n of e.reactions){const o=n.f;(o&Ne)!==0?Ur(n,t,a,r):(o&(dr|Ot))!==0&&(o&tt)===0&&Wr(n,t,r)&&(Ue(n,tt),ra(n))}}function Wr(e,t,a){const r=a.get(e);if(r!==void 0)return r;if(e.deps!==null)for(const n of e.deps){if(t.includes(n))return!0;if((n.f&Ne)!==0&&Wr(n,t,a))return a.set(n,!0),!0}return a.set(e,!1),!1}function ra(e){for(var t=Ha=e;t.parent!==null;){t=t.parent;var a=t.f;if(mr&&t===Q&&(a&Ot)!==0&&(a&ir)===0)return;if((a&(Ht|zt))!==0){if((a&Be)===0)return;t.f^=Be}}pt.push(t)}function En(e){let t=0,a=oa(0),r;return()=>{Va()&&(l(a),io(()=>(t===0&&(r=$o(()=>e(()=>$a(a)))),t+=1,()=>{ba(()=>{t-=1,t===0&&(r?.(),r=void 0,$a(a))})})))}}var Sn=va|Qt|La;function Mn(e,t,a){new Tn(e,t,a)}class Tn{parent;#t=!1;#e;#a=R?X:null;#r;#s;#n;#o=null;#l=null;#i=null;#d=null;#m=null;#v=0;#p=0;#b=!1;#c=null;#x=En(()=>(this.#c=oa(this.#v),()=>{this.#c=null}));constructor(t,a,r){this.#e=t,this.#r=a,this.#s=r,this.parent=Q.b,this.#t=!!this.#r.pending,this.#n=Ja(()=>{if(Q.b=this,R){const o=this.#a;_a(),o.nodeType===ta&&o.data===Oa?this.#y():this.#w()}else{var n=this.#u();try{this.#o=gt(()=>r(n))}catch(o){this.error(o)}this.#p>0?this.#f():this.#t=!1}return()=>{this.#m?.remove()}},Sn),R&&(this.#e=X)}#w(){try{this.#o=gt(()=>this.#s(this.#e))}catch(t){this.error(t)}this.#t=!1}#y(){const t=this.#r.pending;t&&(this.#l=gt(()=>t(this.#e)),_t.enqueue(()=>{var a=this.#u();this.#o=this.#g(()=>(_t.ensure(),gt(()=>this.#s(a)))),this.#p>0?this.#f():(ua(this.#l,()=>{this.#l=null}),this.#t=!1)}))}#u(){var t=this.#e;return this.#t&&(this.#m=Ge(),this.#e.before(this.#m),t=this.#m),t}is_pending(){return this.#t||!!this.parent&&this.parent.is_pending()}has_pending_snippet(){return!!this.#r.pending}#g(t){var a=Q,r=q,n=mt;ft(this.#n),He(this.#n),ca(this.#n.ctx);try{return t()}catch(o){return Yr(o),null}finally{ft(a),He(r),ca(n)}}#f(){const t=this.#r.pending;this.#o!==null&&(this.#d=document.createDocumentFragment(),this.#d.append(this.#m),bo(this.#o,this.#d)),this.#l===null&&(this.#l=gt(()=>t(this.#e)))}#h(t){if(!this.has_pending_snippet()){this.parent&&this.parent.#h(t);return}this.#p+=t,this.#p===0&&(this.#t=!1,this.#l&&ua(this.#l,()=>{this.#l=null}),this.#d&&(this.#e.before(this.#d),this.#d=null))}update_pending_count(t){this.#h(t),this.#v+=t,this.#c&&fa(this.#c,this.#v)}get_effect_pending(){return this.#x(),l(this.#c)}error(t){var a=this.#r.onerror;let r=this.#r.failed;if(this.#b||!a&&!r)throw t;this.#o&&(Ke(this.#o),this.#o=null),this.#l&&(Ke(this.#l),this.#l=null),this.#i&&(Ke(this.#i),this.#i=null),R&&(Le(this.#a),yn(),Le(Ya()));var n=!1,o=!1;const i=()=>{if(n){wn();return}n=!0,o&&xn(),_t.ensure(),this.#v=0,this.#i!==null&&ua(this.#i,()=>{this.#i=null}),this.#t=this.has_pending_snippet(),this.#o=this.#g(()=>(this.#b=!1,gt(()=>this.#s(this.#e)))),this.#p>0?this.#f():this.#t=!1};var s=q;try{He(null),o=!0,a?.(t,i),o=!1}catch(d){ga(d,this.#n&&this.#n.parent)}finally{He(s)}r&&ba(()=>{this.#i=this.#g(()=>{_t.ensure(),this.#b=!0;try{return gt(()=>{r(this.#e,()=>t,()=>i)})}catch(d){return ga(d,this.#n.parent),null}finally{this.#b=!1}})})}}function Cn(e,t,a){for(var r=[],n=t.length,o=0;o<n;o++)fr(t[o].e,r,!0);po(r,()=>{var i=r.length===0&&a!==null;if(i){var s=a,d=s.parentNode;ao(d),d.append(s),e.items.clear(),St(e,t[0].prev,t[n-1].next)}for(var v=0;v<n;v++){var c=t[v];i||(e.items.delete(c.k),St(e,c.prev,c.next)),Ke(c.e,!i)}e.first===t[0]&&(e.first=t[0].prev)})}function kt(e,t,a,r,n,o=null){var i=e,s=new Map,d=null,v=(t&Er)!==0,c=(t&$r)!==0,h=(t&jr)!==0;if(v){var b=e;i=R?Le(qt(b)):b.appendChild(Ge())}R&&_a();var f=null,E=qr(()=>{var B=a();return Mr(B)?B:B==null?[]:or(B)}),U,y=!0;function V(){Dn(xe,U,i,t,r),f!==null&&(U.length===0?(f.fragment?(i.before(f.fragment),f.fragment=null):ur(f.effect),Z.first=f.effect):ua(f.effect,()=>{f=null}))}var Z=Ja(()=>{U=l(E);var B=U.length;let qe=!1;if(R){var se=zr(i)===Oa;se!==(B===0)&&(i=Ya(),Le(i),nt(!1),qe=!0)}for(var G=new Set,j=he,pe=null,W=ro(),S=0;S<B;S+=1){R&&X.nodeType===ta&&X.data===ar&&(i=X,qe=!0,nt(!1));var Ct=U[S],Pt=r(Ct,S),_=y?null:s.get(Pt);_?(c&&fa(_.v,Ct),h?fa(_.i,S):_.i=S,W&&j.skipped_effects.delete(_.e)):(_=An(y?i:null,pe,Ct,Pt,S,n,t,a),y&&(_.o=!0,pe===null?d=_:pe.next=_,pe=_),s.set(Pt,_)),G.add(Pt)}if(B===0&&o&&!f)if(y)f={fragment:null,effect:gt(()=>o(i))};else{var x=document.createDocumentFragment(),g=Ge();x.append(g),f={fragment:x,effect:gt(()=>o(g))}}if(R&&B>0&&Le(Ya()),!y)if(W){for(const[k,w]of s)G.has(k)||j.skipped_effects.add(w.e);j.oncommit(V),j.ondiscard(()=>{})}else V();qe&&nt(!0),l(E)}),xe={effect:Z,items:s,first:d};y=!1,R&&(i=X)}function Dn(e,t,a,r,n){var o=(r&qo)!==0,i=t.length,s=e.items,d=e.first,v,c=null,h,b=[],f=[],E,U,y,V;if(o)for(V=0;V<i;V+=1)E=t[V],U=n(E,V),y=s.get(U),y.a?.measure(),(h??=new Set).add(y);for(V=0;V<i;V+=1){if(E=t[V],U=n(E,V),y=s.get(U),e.first??=y,!y.o){y.o=!0;var Z=c?c.next:d;St(e,c,y),St(e,y,Z),vr(y,Z,a),c=y,b=[],f=[],d=c.next;continue}if((y.e.f&ot)!==0&&(ur(y.e),o&&(y.a?.unfix(),(h??=new Set).delete(y))),y!==d){if(v!==void 0&&v.has(y)){if(b.length<f.length){var xe=f[0],B;c=xe.prev;var qe=b[0],se=b[b.length-1];for(B=0;B<b.length;B+=1)vr(b[B],xe,a);for(B=0;B<f.length;B+=1)v.delete(f[B]);St(e,qe.prev,se.next),St(e,c,qe),St(e,se,xe),d=xe,c=se,V-=1,b=[],f=[]}else v.delete(y),vr(y,d,a),St(e,y.prev,y.next),St(e,y,c===null?e.first:c.next),St(e,c,y),c=y;continue}for(b=[],f=[];d!==null&&d.k!==U;)(d.e.f&ot)===0&&(v??=new Set).add(d),f.push(d),d=d.next;if(d===null)continue;y=d}b.push(y),c=y,d=y.next}if(d!==null||v!==void 0){for(var G=v===void 0?[]:or(v);d!==null;)(d.e.f&ot)===0&&G.push(d),d=d.next;var j=G.length;if(j>0){var pe=(r&Er)!==0&&i===0?a:null;if(o){for(V=0;V<j;V+=1)G[V].a?.measure();for(V=0;V<j;V+=1)G[V].a?.fix()}Cn(e,G,pe)}}o&&ba(()=>{if(h!==void 0)for(y of h)y.a?.apply()})}function An(e,t,a,r,n,o,i,s){var d=(i&$r)!==0,v=(i&Vo)===0,c=d?v?Gr(a,!1,!1):oa(a):a,h=(i&jr)===0?n:oa(n),b={i:h,v:c,k:r,a:null,e:null,o:!1,prev:t,next:null};try{if(e===null){var f=document.createDocumentFragment();f.append(e=Ge())}return b.e=gt(()=>o(e,c,h,s)),t!==null&&(t.next=b),b}finally{}}function vr(e,t,a){for(var r=e.next?e.next.e.nodes_start:a,n=t?t.e.nodes_start:a,o=e.e.nodes_start;o!==null&&o!==r;){var i=bt(o);n.before(o),o=i}}function St(e,t,a){t===null?(e.first=a,e.effect.first=a&&a.e):(t.e.next&&(t.e.next.prev=null),t.next=a,t.e.next=a&&a.e),a===null?e.effect.last=t&&t.e:(a.e.prev&&(a.e.prev.next=null),a.prev=t,a.e.prev=t&&t.e)}function On(e,t,a,r){const n=Wa;if(a.length===0&&e.length===0){r(t.map(n));return}var o=he,i=Q,s=zn();function d(){Promise.all(a.map(v=>Nn(v))).then(v=>{s();try{r([...t.map(n),...v])}catch(c){(i.f&Lt)===0&&ga(c,i)}o?.deactivate(),Ua()}).catch(v=>{ga(v,i)})}e.length>0?Promise.all(e).then(()=>{s();try{return d()}finally{o?.deactivate(),Ua()}}):d()}function zn(){var e=Q,t=q,a=mt,r=he;return function(o=!0){ft(e),He(t),ca(a),o&&r?.activate()}}function Ua(){ft(null),He(null),ca(null)}function Wa(e){var t=Ne|tt,a=q!==null&&(q.f&Ne)!==0?q:null;return Q!==null&&(Q.f|=Qt),{ctx:mt,deps:null,effects:null,equals:Nr,f:t,fn:e,reactions:null,rv:0,v:Ye,wv:0,parent:a??Q,ac:null}}function Nn(e,t){let a=Q;a===null&&dn();var r=a.b,n=void 0,o=oa(Ye),i=!q,s=new Map;return Wn(()=>{var d=Dr();n=d.promise;try{Promise.resolve(e()).then(d.resolve,d.reject).then(()=>{v===he&&v.committed&&v.deactivate(),Ua()})}catch(b){d.reject(b),Ua()}var v=he;if(i){var c=!r.is_pending();r.update_pending_count(1),v.increment(c),s.get(v)?.reject(pa),s.delete(v),s.set(v,d)}const h=(b,f=void 0)=>{if(v.activate(),f)f!==pa&&(o.f|=Ut,fa(o,f));else{(o.f&Ut)!==0&&(o.f^=Ut),fa(o,b);for(const[E,U]of s){if(s.delete(E),E===v)break;U.reject(pa)}}i&&(r.update_pending_count(-1),v.decrement(c))};d.promise.then(h,b=>h(null,b||"unknown"))}),no(()=>{for(const d of s.values())d.reject(pa)}),new Promise(d=>{function v(c){function h(){c===n?d(o):v(n)}c.then(h,h)}v(n)})}function qa(e){const t=Wa(e);return fo(t),t}function qr(e){const t=Wa(e);return t.equals=Lr,t}function Vr(e){var t=e.effects;if(t!==null){e.effects=null;for(var a=0;a<t.length;a+=1)Ke(t[a])}}function Ln(e){for(var t=e.parent;t!==null;){if((t.f&Ne)===0)return(t.f&Lt)===0?t:null;t=t.parent}return null}function pr(e){var t,a=Q;ft(Ln(e));try{e.f&=~ea,Vr(e),t=yo(e)}finally{ft(a)}return t}function Jr(e){var t=pr(e);if(e.equals(t)||(he?.is_fork||(e.v=t),e.wv=xo()),!na)if(vt!==null)Va()&&vt.set(e,t);else{var a=(e.f&yt)===0?Nt:Be;Ue(e,a)}}let cr=new Set;const Wt=new Map;let Zr=!1;function oa(e,t){var a={f:0,v:e,reactions:null,equals:Nr,rv:0,wv:0};return a}function Te(e,t){const a=oa(e);return fo(a),a}function Gr(e,t=!1,a=!0){const r=oa(e);return t||(r.equals=Lr),r}function ie(e,t,a=!1){q!==null&&(!Tt||(q.f&Ar)!==0)&&Pr()&&(q.f&(Ne|Ot|dr|Ar))!==0&&!Rt?.includes(e)&&hn();let r=a?ct(t):t;return fa(e,r)}function fa(e,t){if(!e.equals(t)){var a=e.v;na?Wt.set(e,t):Wt.set(e,a),e.v=t;var r=_t.ensure();r.capture(e,a),(e.f&Ne)!==0&&((e.f&tt)!==0&&pr(e),Ue(e,(e.f&yt)!==0?Be:Nt)),e.wv=xo(),Kr(e,tt),Q!==null&&(Q.f&Be)!==0&&(Q.f&(zt|Ht))===0&&(ut===null?Jn([e]):ut.push(e)),!r.is_fork&&cr.size>0&&!Zr&&In()}return t}function In(){Zr=!1;var e=Vt;Za(!0);const t=Array.from(cr);try{for(const a of t)(a.f&Be)!==0&&Ue(a,Nt),Ea(a)&&Sa(a)}finally{Za(e)}cr.clear()}function $a(e){ie(e,e.v+1)}function Kr(e,t){var a=e.reactions;if(a!==null)for(var r=a.length,n=0;n<r;n++){var o=a[n],i=o.f,s=(i&tt)===0;if(s&&Ue(o,t),(i&Ne)!==0){var d=o;vt?.delete(d),(i&ea)===0&&(i&yt&&(o.f|=ea),Kr(d,Nt))}else s&&((i&Ot)!==0&&It!==null&&It.add(o),ra(o))}}function ct(e){if(typeof e!="object"||e===null||Ra in e)return e;const t=Tr(e);if(t!==rn&&t!==on)return e;var a=new Map,r=Mr(e),n=Te(0),o=la,i=s=>{if(la===o)return s();var d=q,v=la;He(null),ho(o);var c=s();return He(d),ho(v),c};return r&&a.set("length",Te(e.length)),new Proxy(e,{defineProperty(s,d,v){(!("value"in v)||v.configurable===!1||v.enumerable===!1||v.writable===!1)&&fn();var c=a.get(d);return c===void 0?c=i(()=>{var h=Te(v.value);return a.set(d,h),h}):ie(c,v.value,!0),!0},deleteProperty(s,d){var v=a.get(d);if(v===void 0){if(d in s){const c=i(()=>Te(Ye));a.set(d,c),$a(n)}}else ie(v,Ye),$a(n);return!0},get(s,d,v){if(d===Ra)return e;var c=a.get(d),h=d in s;if(c===void 0&&(!h||Xt(s,d)?.writable)&&(c=i(()=>{var f=ct(h?s[d]:Ye),E=Te(f);return E}),a.set(d,c)),c!==void 0){var b=l(c);return b===Ye?void 0:b}return Reflect.get(s,d,v)},getOwnPropertyDescriptor(s,d){var v=Reflect.getOwnPropertyDescriptor(s,d);if(v&&"value"in v){var c=a.get(d);c&&(v.value=l(c))}else if(v===void 0){var h=a.get(d),b=h?.v;if(h!==void 0&&b!==Ye)return{enumerable:!0,configurable:!0,value:b,writable:!0}}return v},has(s,d){if(d===Ra)return!0;var v=a.get(d),c=v!==void 0&&v.v!==Ye||Reflect.has(s,d);if(v!==void 0||Q!==null&&(!c||Xt(s,d)?.writable)){v===void 0&&(v=i(()=>{var b=c?ct(s[d]):Ye,f=Te(b);return f}),a.set(d,v));var h=l(v);if(h===Ye)return!1}return c},set(s,d,v,c){var h=a.get(d),b=d in s;if(r&&d==="length")for(var f=v;f<h.v;f+=1){var E=a.get(f+"");E!==void 0?ie(E,Ye):f in s&&(E=i(()=>Te(Ye)),a.set(f+"",E))}if(h===void 0)(!b||Xt(s,d)?.writable)&&(h=i(()=>Te(void 0)),ie(h,ct(v)),a.set(d,h));else{b=h.v!==Ye;var U=i(()=>ct(v));ie(h,U)}var y=Reflect.getOwnPropertyDescriptor(s,d);if(y?.set&&y.set.call(c,v),!b){if(r&&typeof d=="string"){var V=a.get("length"),Z=Number(d);Number.isInteger(Z)&&Z>=V.v&&ie(V,Z+1)}$a(n)}return!0},ownKeys(s){l(n);var d=Reflect.ownKeys(s).filter(h=>{var b=a.get(h);return b===void 0||b.v!==Ye});for(var[v,c]of a)c.v!==Ye&&!(v in s)&&d.push(v);return d},setPrototypeOf(){un()}})}var Xr,Qr,eo,to;function br(){if(Xr===void 0){Xr=window,Qr=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,a=Text.prototype;eo=Xt(t,"firstChild").get,to=Xt(t,"nextSibling").get,Cr(e)&&(e.__click=void 0,e.__className=void 0,e.__attributes=null,e.__style=void 0,e.__e=void 0),Cr(a)&&(a.__t=void 0)}}function Ge(e=""){return document.createTextNode(e)}function qt(e){return eo.call(e)}function bt(e){return to.call(e)}function z(e,t){if(!R)return qt(e);var a=qt(X);if(a===null)a=X.appendChild(Ge());else if(t&&a.nodeType!==Pa){var r=Ge();return a?.before(r),Le(r),r}return Le(a),a}function oe(e,t=!1){if(!R){var a=qt(e);return a instanceof Comment&&a.data===""?bt(a):a}if(t&&X?.nodeType!==Pa){var r=Ge();return X?.before(r),Le(r),r}return X}function le(e,t=1,a=!1){let r=R?X:e;for(var n;t--;)n=r,r=bt(r);if(!R)return r;if(a&&r?.nodeType!==Pa){var o=Ge();return r===null?n?.after(o):r.before(o),Le(o),o}return Le(r),r}function ao(e){e.textContent=""}function ro(){return!1}let oo=!1;function Rn(){oo||(oo=!0,document.addEventListener("reset",e=>{Promise.resolve().then(()=>{if(!e.defaultPrevented)for(const t of e.target.elements)t.__on_r?.()})},{capture:!0}))}function gr(e){var t=q,a=Q;He(null),ft(null);try{return e()}finally{He(t),ft(a)}}function Pn(e){Q===null&&(q===null&&pn(),vn()),na&&mn()}function Fn(e,t){var a=t.last;a===null?t.last=t.first=e:(a.next=e,e.prev=a,t.last=e)}function Mt(e,t,a){var r=Q;r!==null&&(r.f&ot)!==0&&(e|=ot);var n={ctx:mt,deps:null,nodes_start:null,nodes_end:null,f:e|tt|yt,first:null,fn:t,last:null,next:null,parent:r,b:r&&r.b,prev:null,teardown:null,transitions:null,wv:0,ac:null};if(a)try{Sa(n),n.f|=Ia}catch(s){throw Ke(n),s}else t!==null&&ra(n);var o=n;if(a&&o.deps===null&&o.teardown===null&&o.nodes_start===null&&o.first===o.last&&(o.f&Qt)===0&&(o=o.first,(e&Ot)!==0&&(e&va)!==0&&o!==null&&(o.f|=va)),o!==null&&(o.parent=r,r!==null&&Fn(o,r),q!==null&&(q.f&Ne)!==0&&(e&Ht)===0)){var i=q;(i.effects??=[]).push(o)}return n}function Va(){return q!==null&&!Tt}function no(e){const t=Mt(lr,null,!1);return Ue(t,Be),t.teardown=e,t}function Yn(e){Pn();var t=Q.f,a=!q&&(t&zt)!==0&&(t&Ia)===0;if(a){var r=mt;(r.e??=[]).push(e)}else return lo(e)}function lo(e){return Mt(nr|ln,e,!1)}function Bn(e){_t.ensure();const t=Mt(Ht|Qt,e,!0);return()=>{Ke(t)}}function Hn(e){_t.ensure();const t=Mt(Ht|Qt,e,!0);return(a={})=>new Promise(r=>{a.outro?ua(t,()=>{Ke(t),r(void 0)}):(Ke(t),r(void 0))})}function Un(e){return Mt(nr,e,!1)}function Wn(e){return Mt(dr|Qt,e,!0)}function io(e,t=0){return Mt(lr|t,e,!0)}function O(e,t=[],a=[],r=[]){On(r,t,a,n=>{Mt(lr,()=>e(...n.map(l)),!0)})}function Ja(e,t=0){var a=Mt(Ot|t,e,!0);return a}function gt(e){return Mt(zt|Qt,e,!0)}function so(e){var t=e.teardown;if(t!==null){const a=na,r=q;go(!0),He(null);try{t.call(null)}finally{go(a),He(r)}}}function mo(e,t=!1){var a=e.first;for(e.first=e.last=null;a!==null;){const n=a.ac;n!==null&&gr(()=>{n.abort(pa)});var r=a.next;(a.f&Ht)!==0?a.parent=null:Ke(a,t),a=r}}function qn(e){for(var t=e.first;t!==null;){var a=t.next;(t.f&zt)===0&&Ke(t),t=a}}function Ke(e,t=!0){var a=!1;(t||(e.f&ir)!==0)&&e.nodes_start!==null&&e.nodes_end!==null&&(Vn(e.nodes_start,e.nodes_end),a=!0),mo(e,t&&!a),Ga(e,0),Ue(e,Lt);var r=e.transitions;if(r!==null)for(const o of r)o.stop();so(e);var n=e.parent;n!==null&&n.first!==null&&vo(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes_start=e.nodes_end=e.ac=null}function Vn(e,t){for(;e!==null;){var a=e===t?null:bt(e);e.remove(),e=a}}function vo(e){var t=e.parent,a=e.prev,r=e.next;a!==null&&(a.next=r),r!==null&&(r.prev=a),t!==null&&(t.first===e&&(t.first=r),t.last===e&&(t.last=a))}function ua(e,t,a=!0){var r=[];fr(e,r,!0),po(r,()=>{a&&Ke(e),t&&t()})}function po(e,t){var a=e.length;if(a>0){var r=()=>--a||t();for(var n of e)n.out(r)}else t()}function fr(e,t,a){if((e.f&ot)===0){if(e.f^=ot,e.transitions!==null)for(const i of e.transitions)(i.is_global||a)&&t.push(i);for(var r=e.first;r!==null;){var n=r.next,o=(r.f&va)!==0||(r.f&zt)!==0&&(e.f&Ot)!==0;fr(r,t,o?a:!1),r=n}}}function ur(e){co(e,!0)}function co(e,t){if((e.f&ot)!==0){e.f^=ot,(e.f&Be)===0&&(Ue(e,tt),ra(e));for(var a=e.first;a!==null;){var r=a.next,n=(a.f&va)!==0||(a.f&zt)!==0;co(a,n?t:!1),a=r}if(e.transitions!==null)for(const o of e.transitions)(o.is_global||t)&&o.in()}}function bo(e,t){for(var a=e.nodes_start,r=e.nodes_end;a!==null;){var n=a===r?null:bt(a);t.append(a),a=n}}let Vt=!1;function Za(e){Vt=e}let na=!1;function go(e){na=e}let q=null,Tt=!1;function He(e){q=e}let Q=null;function ft(e){Q=e}let Rt=null;function fo(e){q!==null&&(Rt===null?Rt=[e]:Rt.push(e))}let Xe=null,lt=0,ut=null;function Jn(e){ut=e}let uo=1,ja=0,la=ja;function ho(e){la=e}function xo(){return++uo}function Ea(e){var t=e.f;if((t&tt)!==0)return!0;if(t&Ne&&(e.f&=~ea),(t&Nt)!==0){var a=e.deps;if(a!==null)for(var r=a.length,n=0;n<r;n++){var o=a[n];if(Ea(o)&&Jr(o),o.wv>e.wv)return!0}(t&yt)!==0&&vt===null&&Ue(e,Be)}return!1}function wo(e,t,a=!0){var r=e.reactions;if(r!==null&&!Rt?.includes(e))for(var n=0;n<r.length;n++){var o=r[n];(o.f&Ne)!==0?wo(o,t,!1):t===o&&(a?Ue(o,tt):(o.f&Be)!==0&&Ue(o,Nt),ra(o))}}function yo(e){var t=Xe,a=lt,r=ut,n=q,o=Rt,i=mt,s=Tt,d=la,v=e.f;Xe=null,lt=0,ut=null,q=(v&(zt|Ht))===0?e:null,Rt=null,ca(e.ctx),Tt=!1,la=++ja,e.ac!==null&&(gr(()=>{e.ac.abort(pa)}),e.ac=null);try{e.f|=sr;var c=e.fn,h=c(),b=e.deps;if(Xe!==null){var f;if(Ga(e,lt),b!==null&<>0)for(b.length=lt+Xe.length,f=0;f<Xe.length;f++)b[lt+f]=Xe[f];else e.deps=b=Xe;if(Vt&&Va()&&(e.f&yt)!==0)for(f=lt;f<b.length;f++)(b[f].reactions??=[]).push(e)}else b!==null&<<b.length&&(Ga(e,lt),b.length=lt);if(Pr()&&ut!==null&&!Tt&&b!==null&&(e.f&(Ne|Nt|tt))===0)for(f=0;f<ut.length;f++)wo(ut[f],e);return n!==null&&n!==e&&(ja++,ut!==null&&(r===null?r=ut:r.push(...ut))),(e.f&Ut)!==0&&(e.f^=Ut),h}catch(E){return Yr(E)}finally{e.f^=sr,Xe=t,lt=a,ut=r,q=n,Rt=o,ca(i),Tt=s,la=d}}function Zn(e,t){let a=t.reactions;if(a!==null){var r=tn.call(a,e);if(r!==-1){var n=a.length-1;n===0?a=t.reactions=null:(a[r]=a[n],a.pop())}}a===null&&(t.f&Ne)!==0&&(Xe===null||!Xe.includes(t))&&(Ue(t,Nt),(t.f&yt)!==0&&(t.f^=yt,t.f&=~ea),Vr(t),Ga(t,0))}function Ga(e,t){var a=e.deps;if(a!==null)for(var r=t;r<a.length;r++)Zn(e,a[r])}function Sa(e){var t=e.f;if((t&Lt)===0){Ue(e,Be);var a=Q,r=Vt;Q=e,Vt=!0;try{(t&Ot)!==0?qn(e):mo(e),so(e);var n=yo(e);e.teardown=typeof n=="function"?n:null,e.wv=uo;var o;rr&&kn&&(e.f&tt)!==0&&e.deps}finally{Vt=r,Q=a}}}function l(e){var t=e.f,a=(t&Ne)!==0;if(q!==null&&!Tt){var r=Q!==null&&(Q.f&Lt)!==0;if(!r&&!Rt?.includes(e)){var n=q.deps;if((q.f&sr)!==0)e.rv<ja&&(e.rv=ja,Xe===null&&n!==null&&n[lt]===e?lt++:Xe===null?Xe=[e]:Xe.includes(e)||Xe.push(e));else{(q.deps??=[]).push(e);var o=e.reactions;o===null?e.reactions=[q]:o.includes(q)||o.push(q)}}}if(na){if(Wt.has(e))return Wt.get(e);if(a){var i=e,s=i.v;return((i.f&Be)===0&&i.reactions!==null||ko(i))&&(s=pr(i)),Wt.set(i,s),s}}else a&&!vt?.has(e)&&(i=e,Ea(i)&&Jr(i),Vt&&Va()&&(i.f&yt)===0&&_o(i));if(vt?.has(e))return vt.get(e);if((e.f&Ut)!==0)throw e.v;return e.v}function _o(e){if(e.deps!==null){e.f^=yt;for(const t of e.deps)(t.reactions??=[]).push(e),(t.f&Ne)!==0&&(t.f&yt)===0&&_o(t)}}function ko(e){if(e.v===Ye)return!0;if(e.deps===null)return!1;for(const t of e.deps)if(Wt.has(t)||(t.f&Ne)!==0&&ko(t))return!0;return!1}function $o(e){var t=Tt;try{return Tt=!0,e()}finally{Tt=t}}const Gn=-7169;function Ue(e,t){e.f=e.f&Gn|t}const jo=new Set,hr=new Set;function Kn(e,t,a,r={}){function n(o){if(r.capture||Ta.call(t,o),!o.cancelBubble)return gr(()=>a?.call(this,o))}return e.startsWith("pointer")||e.startsWith("touch")||e==="wheel"?ba(()=>{t.addEventListener(e,n,r)}):t.addEventListener(e,n,r),n}function Ma(e,t,a,r,n){var o={capture:r,passive:n},i=Kn(e,t,a,o);(t===document.body||t===window||t===document||t instanceof HTMLMediaElement)&&no(()=>{t.removeEventListener(e,i,o)})}function Xn(e){for(var t=0;t<e.length;t++)jo.add(e[t]);for(var a of hr)a(e)}let Eo=null;function Ta(e){var t=this,a=t.ownerDocument,r=e.type,n=e.composedPath?.()||[],o=n[0]||e.target;Eo=e;var i=0,s=Eo===e&&e.__root;if(s){var d=n.indexOf(s);if(d!==-1&&(t===document||t===window)){e.__root=t;return}var v=n.indexOf(t);if(v===-1)return;d<=v&&(i=d)}if(o=n[i]||e.target,o!==t){Na(e,"currentTarget",{configurable:!0,get(){return o||a}});var c=q,h=Q;He(null),ft(null);try{for(var b,f=[];o!==null;){var E=o.assignedSlot||o.parentNode||o.host||null;try{var U=o["__"+r];U!=null&&(!o.disabled||e.target===o)&&U.call(o,e)}catch(y){b?f.push(y):b=y}if(e.cancelBubble||E===t||E===null)break;o=E}if(b){for(let y of f)queueMicrotask(()=>{throw y});throw b}}finally{e.__root=t,delete e.currentTarget,He(c),ft(h)}}}function Qn(e){var t=document.createElement("template");return t.innerHTML=e.replaceAll("<!>","<!---->"),t.content}function Jt(e,t){var a=Q;a.nodes_start===null&&(a.nodes_start=e,a.nodes_end=t)}function $(e,t){var a=(t&Xo)!==0,r=(t&Qo)!==0,n,o=!e.startsWith("<!>");return()=>{if(R)return Jt(X,null),X;n===void 0&&(n=Qn(o?e:"<!>"+e),a||(n=qt(n)));var i=r||Qr?document.importNode(n,!0):n.cloneNode(!0);if(a){var s=qt(i),d=i.lastChild;Jt(s,d)}else Jt(i,i);return i}}function ha(e=""){if(!R){var t=Ge(e+"");return Jt(t,t),t}var a=X;return a.nodeType!==Pa&&(a.before(a=Ge()),Le(a)),Jt(a,a),a}function _e(){if(R)return Jt(X,null),X;var e=document.createDocumentFragment(),t=document.createComment(""),a=Ge();return e.append(t,a),Jt(t,a),e}function u(e,t){if(R){var a=Q;((a.f&Ia)===0||a.nodes_end===null)&&(a.nodes_end=X),_a();return}e!==null&&e.before(t)}const el=["touchstart","touchmove"];function tl(e){return el.includes(e)}function Ee(e,t){var a=t==null?"":typeof t=="object"?t+"":t;a!==(e.__t??=e.nodeValue)&&(e.__t=a,e.nodeValue=a+"")}function So(e,t){return Mo(e,t)}function al(e,t){br(),t.intro=t.intro??!1;const a=t.target,r=R,n=X;try{for(var o=qt(a);o&&(o.nodeType!==ta||o.data!==Sr);)o=bt(o);if(!o)throw ma;nt(!0),Le(o);const i=Mo(e,{...t,anchor:o});return nt(!1),i}catch(i){if(i instanceof Error&&i.message.split(`
|
|
2
|
-
`).some(s=>s.startsWith("https://svelte.dev/e/")))throw i;return i!==ma&&console.warn("Failed to hydrate: ",i),t.recover===!1&&bn(),br(),ao(a),nt(!1),So(e,t)}finally{nt(r),Le(n)}}const xa=new Map;function Mo(e,{target:t,anchor:a,props:r={},events:n,context:o,intro:i=!0}){br();var s=new Set,d=h=>{for(var b=0;b<h.length;b++){var f=h[b];if(!s.has(f)){s.add(f);var E=tl(f);t.addEventListener(f,Ta,{passive:E});var U=xa.get(f);U===void 0?(document.addEventListener(f,Ta,{passive:E}),xa.set(f,1)):xa.set(f,U+1)}}};d(or(jo)),hr.add(d);var v=void 0,c=Hn(()=>{var h=a??t.appendChild(Ge());return Mn(h,{pending:()=>{}},b=>{if(o){Ir({});var f=mt;f.c=o}if(n&&(r.$$events=n),R&&Jt(b,null),v=e(b,r)||{},R&&(Q.nodes_end=X,X===null||X.nodeType!==ta||X.data!==ar))throw Fa(),ma;o&&Rr()}),()=>{for(var b of s){t.removeEventListener(b,Ta);var f=xa.get(b);--f===0?(document.removeEventListener(b,Ta),xa.delete(b)):xa.set(b,f)}hr.delete(d),h!==a&&h.parentNode?.removeChild(h)}});return xr.set(v,c),v}let xr=new WeakMap;function rl(e,t){const a=xr.get(e);return a?(xr.delete(e),a(t)):Promise.resolve()}class ol{anchor;#t=new Map;#e=new Map;#a=new Map;#r=new Set;#s=!0;constructor(t,a=!0){this.anchor=t,this.#s=a}#n=()=>{var t=he;if(this.#t.has(t)){var a=this.#t.get(t),r=this.#e.get(a);if(r)ur(r),this.#r.delete(a);else{var n=this.#a.get(a);n&&(this.#e.set(a,n.effect),this.#a.delete(a),n.fragment.lastChild.remove(),this.anchor.before(n.fragment),r=n.effect)}for(const[o,i]of this.#t){if(this.#t.delete(o),o===t)break;const s=this.#a.get(i);s&&(Ke(s.effect),this.#a.delete(i))}for(const[o,i]of this.#e){if(o===a||this.#r.has(o))continue;const s=()=>{if(Array.from(this.#t.values()).includes(o)){var v=document.createDocumentFragment();bo(i,v),v.append(Ge()),this.#a.set(o,{effect:i,fragment:v})}else Ke(i);this.#r.delete(o),this.#e.delete(o)};this.#s||!r?(this.#r.add(o),ua(i,s,!1)):s()}}};#o=t=>{this.#t.delete(t);const a=Array.from(this.#t.values());for(const[r,n]of this.#a)a.includes(r)||(Ke(n.effect),this.#a.delete(r))};ensure(t,a){var r=he,n=ro();if(a&&!this.#e.has(t)&&!this.#a.has(t))if(n){var o=document.createDocumentFragment(),i=Ge();o.append(i),this.#a.set(t,{effect:gt(()=>a(i)),fragment:o})}else this.#e.set(t,gt(()=>a(this.anchor)));if(this.#t.set(r,t),n){for(const[s,d]of this.#e)s===t?r.skipped_effects.delete(d):r.skipped_effects.add(d);for(const[s,d]of this.#a)s===t?r.skipped_effects.delete(d.effect):r.skipped_effects.add(d.effect);r.oncommit(this.#n),r.ondiscard(this.#o)}else R&&(this.anchor=X),this.#n()}}function M(e,t,a=!1){R&&_a();var r=new ol(e),n=a?va:0;function o(i,s){if(R){const v=zr(e)===Oa;if(i===v){var d=Ya();Le(d),r.anchor=d,nt(!1),r.ensure(i,s),nt(!0);return}}r.ensure(i,s)}Ja(()=>{var i=!1;t((s,d=!0)=>{i=!0,o(d,s)}),i||o(!1,null)},n)}function To(e,t,a,r,n){R&&_a();var o=t.$$slots?.[a],i=!1;o===!0&&(o=t[a==="default"?"children":a],i=!0),o===void 0?n!==null&&n(e):o(e,i?()=>r:r)}function nl(e,t){let a=null,r=R;var n;if(R){a=X;for(var o=qt(document.head);o!==null&&(o.nodeType!==ta||o.data!==e);)o=bt(o);if(o===null)nt(!1);else{var i=bt(o);o.remove(),Le(i)}}R||(n=document.head.appendChild(Ge()));try{Ja(()=>t(n),ir)}finally{r&&(nt(!0),Le(a))}}function ll(e,t){Un(()=>{var a=e.getRootNode(),r=a.host?a:a.head??a.ownerDocument.head;if(!r.querySelector("#"+t.hash)){const n=document.createElement("style");n.id=t.hash,n.textContent=t.code,r.appendChild(n)}})}function Co(e){var t,a,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var n=e.length;for(t=0;t<n;t++)e[t]&&(a=Co(e[t]))&&(r&&(r+=" "),r+=a)}else for(a in e)e[a]&&(r&&(r+=" "),r+=a);return r}function il(){for(var e,t,a=0,r="",n=arguments.length;a<n;a++)(e=arguments[a])&&(t=Co(e))&&(r&&(r+=" "),r+=t);return r}function sl(e){return typeof e=="object"?il(e):e??""}function dl(e,t,a){var r=e==null?"":""+e;return t&&(r=r?r+" "+t:t),r===""?null:r}function ml(e,t){return e==null?null:String(e)}function at(e,t,a,r,n,o){var i=e.__className;if(R||i!==a||i===void 0){var s=dl(a,r);(!R||s!==e.getAttribute("class"))&&(s==null?e.removeAttribute("class"):e.className=s),e.__className=a}return o}function Ka(e,t,a,r){var n=e.__style;if(R||n!==t){var o=ml(t);(!R||o!==e.getAttribute("style"))&&(o==null?e.removeAttribute("style"):e.style.cssText=o),e.__style=t}return r}const vl=Symbol("is custom element"),pl=Symbol("is html");function cl(e){if(R){var t=!1,a=()=>{if(!t){if(t=!0,e.hasAttribute("value")){var r=e.value;wa(e,"value",null),e.value=r}if(e.hasAttribute("checked")){var n=e.checked;wa(e,"checked",null),e.checked=n}}};e.__on_r=a,ba(a),Rn()}}function wa(e,t,a,r){var n=bl(e);R&&(n[t]=e.getAttribute(t),t==="src"||t==="srcset"||t==="href"&&e.nodeName==="LINK")||n[t]!==(n[t]=a)&&(t==="loading"&&(e[sn]=a),a==null?e.removeAttribute(t):typeof a!="string"&&Do(e).includes(t)?e[t]=a:e.setAttribute(t,a))}function Ce(e,t,a){var r=q,n=Q;let o=R;R&&nt(!1),He(null),ft(null);try{t!=="style"&&(wr.has(e.getAttribute("is")||e.nodeName)||!customElements||customElements.get(e.getAttribute("is")||e.tagName.toLowerCase())?Do(e).includes(t):a&&typeof a=="object")?e[t]=a:wa(e,t,a==null?a:String(a))}finally{He(r),ft(n),o&&nt(!0)}}function bl(e){return e.__attributes??={[vl]:e.nodeName.includes("-"),[pl]:e.namespaceURI===en}}var wr=new Map;function Do(e){var t=e.getAttribute("is")||e.nodeName,a=wr.get(t);if(a)return a;wr.set(t,a=[]);for(var r,n=e,o=Element.prototype;o!==n;){r=an(n);for(var i in r)r[i].set&&a.push(i);n=Tr(n)}return a}let Xa=!1;function gl(e){var t=Xa;try{return Xa=!1,[e(),Xa]}finally{Xa=t}}function We(e,t,a,r){var n=(a&Go)!==0,o=(a&Ko)!==0,i=r,s=!0,d=()=>(s&&(s=!1,i=o?$o(r):r),i),v;if(n){var c=Ra in e||Or in e;v=Xt(e,t)?.set??(c&&t in e?Z=>e[t]=Z:void 0)}var h,b=!1;n?[h,b]=gl(()=>e[t]):h=e[t],h===void 0&&r!==void 0&&(h=d(),v&&(gn(),v(h)));var f;if(f=()=>{var Z=e[t];return Z===void 0?d():(s=!0,Z)},(a&Zo)===0)return f;if(v){var E=e.$$legacy;return(function(Z,xe){return arguments.length>0?((!xe||E||b)&&v(xe?f():Z),Z):f()})}var U=!1,y=((a&Jo)!==0?Wa:qr)(()=>(U=!1,f()));n&&l(y);var V=Q;return(function(Z,xe){if(arguments.length>0){const B=xe?l(y):n?ct(Z):Z;return ie(y,B),U=!0,i!==void 0&&(i=B),Z}return na&&U||(V.f&Lt)!==0?y.v:l(y)})}function fl(e){return new ul(e)}class ul{#t;#e;constructor(t){var a=new Map,r=(o,i)=>{var s=Gr(i,!1,!1);return a.set(o,s),s};const n=new Proxy({...t.props||{},$$events:{}},{get(o,i){return l(a.get(i)??r(i,Reflect.get(o,i)))},has(o,i){return i===Or?!0:(l(a.get(i)??r(i,Reflect.get(o,i))),Reflect.has(o,i))},set(o,i,s){return ie(a.get(i)??r(i,s),s),Reflect.set(o,i,s)}});this.#e=(t.hydrate?al:So)(t.component,{target:t.target,anchor:t.anchor,props:n,context:t.context,intro:t.intro??!1,recover:t.recover}),(!t?.props?.$$host||t.sync===!1)&&Ie(),this.#t=n.$$events;for(const o of Object.keys(this.#e))o==="$set"||o==="$destroy"||o==="$on"||Na(this,o,{get(){return this.#e[o]},set(i){this.#e[o]=i},enumerable:!0});this.#e.$set=o=>{Object.assign(n,o)},this.#e.$destroy=()=>{rl(this.#e)}}$set(t){this.#e.$set(t)}$on(t,a){this.#t[t]=this.#t[t]||[];const r=(...n)=>a.call(this,...n);return this.#t[t].push(r),()=>{this.#t[t]=this.#t[t].filter(n=>n!==r)}}$destroy(){this.#e.$destroy()}}let Ao;typeof HTMLElement=="function"&&(Ao=class extends HTMLElement{$$ctor;$$s;$$c;$$cn=!1;$$d={};$$r=!1;$$p_d={};$$l={};$$l_u=new Map;$$me;constructor(e,t,a){super(),this.$$ctor=e,this.$$s=t,a&&this.attachShadow({mode:"open"})}addEventListener(e,t,a){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,a)}removeEventListener(e,t,a){if(super.removeEventListener(e,t,a),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 n=>{const o=document.createElement("slot");r!=="default"&&(o.name=r),u(n,o)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const t={},a=hl(this);for(const r of this.$$s)r in a&&(r==="default"&&!this.$$d.children?(this.$$d.children=e(r),t.default=!0):t[r]=e(r));for(const r of this.attributes){const n=this.$$g_p(r.name);n in this.$$d||(this.$$d[n]=Qa(n,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=fl({component:this.$$ctor,target:this.shadowRoot||this,props:{...this.$$d,$$slots:t,$$host:this}}),this.$$me=Bn(()=>{io(()=>{this.$$r=!0;for(const r of za(this.$$c)){if(!this.$$p_d[r]?.reflect)continue;this.$$d[r]=this.$$c[r];const n=Qa(r,this.$$d[r],this.$$p_d,"toAttribute");n==null?this.removeAttribute(this.$$p_d[r].attribute||r):this.setAttribute(this.$$p_d[r].attribute||r,n)}this.$$r=!1})});for(const r in this.$$l)for(const n of this.$$l[r]){const o=this.$$c.$on(r,n);this.$$l_u.set(n,o)}this.$$l={}}}attributeChangedCallback(e,t,a){this.$$r||(e=this.$$g_p(e),this.$$d[e]=Qa(e,a,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 za(this.$$p_d).find(t=>this.$$p_d[t].attribute===e||!this.$$p_d[t].attribute&&t.toLowerCase()===e)||e}});function Qa(e,t,a,r){const n=a[e]?.type;if(t=n==="Boolean"&&typeof t!="boolean"?t!=null:t,!r||!a[e])return t;if(r==="toAttribute")switch(n){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(n){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function hl(e){const t={};return e.childNodes.forEach(a=>{t[a.slot||"default"]=!0}),t}function xl(e,t,a,r,n,o){let i=class extends Ao{constructor(){super(e,a,n),this.$$p_d=t}static get observedAttributes(){return za(t).map(s=>(t[s].attribute||s).toLowerCase())}};return za(t).forEach(s=>{Na(i.prototype,s,{get(){return this.$$c&&s in this.$$c?this.$$c[s]:this.$$d[s]},set(d){d=Qa(s,d,t),this.$$d[s]=d;var v=this.$$c;if(v){var c=Xt(v,s)?.get;c?v[s]=d:v.$set({[s]:d})}}})}),r.forEach(s=>{Na(i.prototype,s,{get(){return this.$$c?.[s]}})}),e.element=i,i}function wl(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var er={exports:{}},yl=er.exports,Oo;function zo(){return Oo||(Oo=1,(function(e,t){(function(a,r){e.exports=r()})(yl,(function(){var a=1e3,r=6e4,n=36e5,o="millisecond",i="second",s="minute",d="hour",v="day",c="week",h="month",b="quarter",f="year",E="date",U="Invalid Date",y=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,V=/\[([^\]]+)]|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,Z={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(_){var x=["th","st","nd","rd"],g=_%100;return"["+_+(x[(g-20)%10]||x[g]||x[0])+"]"}},xe=function(_,x,g){var k=String(_);return!k||k.length>=x?_:""+Array(x+1-k.length).join(g)+_},B={s:xe,z:function(_){var x=-_.utcOffset(),g=Math.abs(x),k=Math.floor(g/60),w=g%60;return(x<=0?"+":"-")+xe(k,2,"0")+":"+xe(w,2,"0")},m:function _(x,g){if(x.date()<g.date())return-_(g,x);var k=12*(g.year()-x.year())+(g.month()-x.month()),w=x.clone().add(k,h),N=g-w<0,D=x.clone().add(k+(N?-1:1),h);return+(-(k+(g-w)/(N?w-D:D-w))||0)},a:function(_){return _<0?Math.ceil(_)||0:Math.floor(_)},p:function(_){return{M:h,y:f,w:c,d:v,D:E,h:d,m:s,s:i,ms:o,Q:b}[_]||String(_||"").toLowerCase().replace(/s$/,"")},u:function(_){return _===void 0}},qe="en",se={};se[qe]=Z;var G="$isDayjsObject",j=function(_){return _ instanceof Ct||!(!_||!_[G])},pe=function _(x,g,k){var w;if(!x)return qe;if(typeof x=="string"){var N=x.toLowerCase();se[N]&&(w=N),g&&(se[N]=g,w=N);var D=x.split("-");if(!w&&D.length>1)return _(D[0])}else{var ae=x.name;se[ae]=x,w=ae}return!k&&w&&(qe=w),w||!k&&qe},W=function(_,x){if(j(_))return _.clone();var g=typeof x=="object"?x:{};return g.date=_,g.args=arguments,new Ct(g)},S=B;S.l=pe,S.i=j,S.w=function(_,x){return W(_,{locale:x.$L,utc:x.$u,x:x.$x,$offset:x.$offset})};var Ct=(function(){function _(g){this.$L=pe(g.locale,null,!0),this.parse(g),this.$x=this.$x||g.x||{},this[G]=!0}var x=_.prototype;return x.parse=function(g){this.$d=(function(k){var w=k.date,N=k.utc;if(w===null)return new Date(NaN);if(S.u(w))return new Date;if(w instanceof Date)return new Date(w);if(typeof w=="string"&&!/Z$/i.test(w)){var D=w.match(y);if(D){var ae=D[2]-1||0,be=(D[7]||"0").substring(0,3);return N?new Date(Date.UTC(D[1],ae,D[3]||1,D[4]||0,D[5]||0,D[6]||0,be)):new Date(D[1],ae,D[3]||1,D[4]||0,D[5]||0,D[6]||0,be)}}return new Date(w)})(g),this.init()},x.init=function(){var g=this.$d;this.$y=g.getFullYear(),this.$M=g.getMonth(),this.$D=g.getDate(),this.$W=g.getDay(),this.$H=g.getHours(),this.$m=g.getMinutes(),this.$s=g.getSeconds(),this.$ms=g.getMilliseconds()},x.$utils=function(){return S},x.isValid=function(){return this.$d.toString()!==U},x.isSame=function(g,k){var w=W(g);return this.startOf(k)<=w&&w<=this.endOf(k)},x.isAfter=function(g,k){return W(g)<this.startOf(k)},x.isBefore=function(g,k){return this.endOf(k)<W(g)},x.$g=function(g,k,w){return S.u(g)?this[k]:this.set(w,g)},x.unix=function(){return Math.floor(this.valueOf()/1e3)},x.valueOf=function(){return this.$d.getTime()},x.startOf=function(g,k){var w=this,N=!!S.u(k)||k,D=S.p(g),ae=function(Ft,Re){var $t=S.w(w.$u?Date.UTC(w.$y,Re,Ft):new Date(w.$y,Re,Ft),w);return N?$t:$t.endOf(v)},be=function(Ft,Re){return S.w(w.toDate()[Ft].apply(w.toDate("s"),(N?[0,0,0,0]:[23,59,59,999]).slice(Re)),w)},Se=this.$W,ke=this.$M,Qe=this.$D,Gt="set"+(this.$u?"UTC":"");switch(D){case f:return N?ae(1,0):ae(31,11);case h:return N?ae(1,ke):ae(0,ke+1);case c:var Dt=this.$locale().weekStart||0,sa=(Se<Dt?Se+7:Se)-Dt;return ae(N?Qe-sa:Qe+(6-sa),ke);case v:case E:return be(Gt+"Hours",0);case d:return be(Gt+"Minutes",1);case s:return be(Gt+"Seconds",2);case i:return be(Gt+"Milliseconds",3);default:return this.clone()}},x.endOf=function(g){return this.startOf(g,!1)},x.$set=function(g,k){var w,N=S.p(g),D="set"+(this.$u?"UTC":""),ae=(w={},w[v]=D+"Date",w[E]=D+"Date",w[h]=D+"Month",w[f]=D+"FullYear",w[d]=D+"Hours",w[s]=D+"Minutes",w[i]=D+"Seconds",w[o]=D+"Milliseconds",w)[N],be=N===v?this.$D+(k-this.$W):k;if(N===h||N===f){var Se=this.clone().set(E,1);Se.$d[ae](be),Se.init(),this.$d=Se.set(E,Math.min(this.$D,Se.daysInMonth())).$d}else ae&&this.$d[ae](be);return this.init(),this},x.set=function(g,k){return this.clone().$set(g,k)},x.get=function(g){return this[S.p(g)]()},x.add=function(g,k){var w,N=this;g=Number(g);var D=S.p(k),ae=function(ke){var Qe=W(N);return S.w(Qe.date(Qe.date()+Math.round(ke*g)),N)};if(D===h)return this.set(h,this.$M+g);if(D===f)return this.set(f,this.$y+g);if(D===v)return ae(1);if(D===c)return ae(7);var be=(w={},w[s]=r,w[d]=n,w[i]=a,w)[D]||1,Se=this.$d.getTime()+g*be;return S.w(Se,this)},x.subtract=function(g,k){return this.add(-1*g,k)},x.format=function(g){var k=this,w=this.$locale();if(!this.isValid())return w.invalidDate||U;var N=g||"YYYY-MM-DDTHH:mm:ssZ",D=S.z(this),ae=this.$H,be=this.$m,Se=this.$M,ke=w.weekdays,Qe=w.months,Gt=w.meridiem,Dt=function(Re,$t,da,ya){return Re&&(Re[$t]||Re(k,N))||da[$t].slice(0,ya)},sa=function(Re){return S.s(ae%12||12,Re,"0")},Ft=Gt||function(Re,$t,da){var ya=Re<12?"AM":"PM";return da?ya.toLowerCase():ya};return N.replace(V,(function(Re,$t){return $t||(function(da){switch(da){case"YY":return String(k.$y).slice(-2);case"YYYY":return S.s(k.$y,4,"0");case"M":return Se+1;case"MM":return S.s(Se+1,2,"0");case"MMM":return Dt(w.monthsShort,Se,Qe,3);case"MMMM":return Dt(Qe,Se);case"D":return k.$D;case"DD":return S.s(k.$D,2,"0");case"d":return String(k.$W);case"dd":return Dt(w.weekdaysMin,k.$W,ke,2);case"ddd":return Dt(w.weekdaysShort,k.$W,ke,3);case"dddd":return ke[k.$W];case"H":return String(ae);case"HH":return S.s(ae,2,"0");case"h":return sa(1);case"hh":return sa(2);case"a":return Ft(ae,be,!0);case"A":return Ft(ae,be,!1);case"m":return String(be);case"mm":return S.s(be,2,"0");case"s":return String(k.$s);case"ss":return S.s(k.$s,2,"0");case"SSS":return S.s(k.$ms,3,"0");case"Z":return D}return null})(Re)||D.replace(":","")}))},x.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},x.diff=function(g,k,w){var N,D=this,ae=S.p(k),be=W(g),Se=(be.utcOffset()-this.utcOffset())*r,ke=this-be,Qe=function(){return S.m(D,be)};switch(ae){case f:N=Qe()/12;break;case h:N=Qe();break;case b:N=Qe()/3;break;case c:N=(ke-Se)/6048e5;break;case v:N=(ke-Se)/864e5;break;case d:N=ke/n;break;case s:N=ke/r;break;case i:N=ke/a;break;default:N=ke}return w?N:S.a(N)},x.daysInMonth=function(){return this.endOf(h).$D},x.$locale=function(){return se[this.$L]},x.locale=function(g,k){if(!g)return this.$L;var w=this.clone(),N=pe(g,k,!0);return N&&(w.$L=N),w},x.clone=function(){return S.w(this.$d,this)},x.toDate=function(){return new Date(this.valueOf())},x.toJSON=function(){return this.isValid()?this.toISOString():null},x.toISOString=function(){return this.$d.toISOString()},x.toString=function(){return this.$d.toUTCString()},_})(),Pt=Ct.prototype;return W.prototype=Pt,[["$ms",o],["$s",i],["$m",s],["$H",d],["$W",v],["$M",h],["$y",f],["$D",E]].forEach((function(_){Pt[_[1]]=function(x){return this.$g(x,_[0],_[1])}})),W.extend=function(_,x){return _.$i||(_(x,Ct,W),_.$i=!0),W},W.locale=pe,W.isDayjs=j,W.unix=function(_){return W(1e3*_)},W.en=se[qe],W.Ls=se,W.p={},W}))})(er)),er.exports}var _l=zo();const Zt=wl(_l);var tr={exports:{}},kl=tr.exports,No;function $l(){return No||(No=1,(function(e,t){(function(a,r){e.exports=r(zo())})(kl,(function(a){function r(i){return i&&typeof i=="object"&&"default"in i?i:{default:i}}var n=r(a),o={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(i){return i+"º"}};return n.default.locale(o,null,!0),o}))})(tr)),tr.exports}$l();const yr={version:"0.62.1"};var ia={},Lo;function jl(){if(Lo)return ia;Lo=1,Object.defineProperty(ia,"__esModule",{value:!0}),ia.LanguageTranslator=void 0,ia.getChildStyleToPass=e,ia.addComponent=t;function e(r,n){var o,i,s="";try{if(r&&n?.length&&(!((o=Object.keys(r))===null||o===void 0)&&o.length)&&(!((i=n?.filter(function(b){return Object.keys(r).includes(b.name)}))===null||i===void 0)&&i.length))for(var d=function(b){var f=n?.filter(function(E){return E.name===b&&E.defaultValue!==r[b]});f&&(s+="".concat(b,":").concat(r[b],";"))},v=0,c=Object.keys(r);v<c.length;v++){var h=c[v];d(h)}}catch(b){console.error("error getting child style to pass",b)}finally{return s}}function t(r){var n,o=((n=r?.repoName.split("/"))===null||n===void 0?void 0:n[1])||r?.repoName;if(!o)throw new Error("wrong componentPath "+r?.repoName);if(!r?.version)throw new Error("wrong version "+r?.version);var i=r?.iifePath||"main.iife.js";if(!document.getElementById(o+"-script"))try{var s=document.createElement("script");if(s.id=o+"-script",s.src="https://cdn.jsdelivr.net/npm/".concat(r.repoName,"@").concat(r.version,"/").concat(i),r?.local)s.src="".concat(r.local);else if(location.href.includes("localhost:6006")){var d=o.split("-")[0];s.src="http://localhost:6006/webcomponents/".concat(o.replace(d+"-",""),"/").concat(i)}document.head.appendChild(s)}catch(v){console.warn(v)}}var a=(function(){function r(n){if(this.lang="",!n?.dictionary)throw new Error("no dictionary provided");this.dictionary=n.dictionary,this.setLang(n?.lang)}return r.prototype.setLang=function(n){n||(n=r.getDefaultLang()),this.lang=n},r.prototype.translateWord=function(n,o){return r.getDictionaryWord(n,this.dictionary,o||this.lang)},r.prototype.translateDate=function(n,o,i){return r.formatDate(n,o,i||this.lang)},r.getDefaultLang=function(){var n,o,i,s="en";return navigator?.languages&&(!((i=(o=(n=navigator.languages[0])===null||n===void 0?void 0:n.split("-")[0])===null||o===void 0?void 0:o.toLowerCase())===null||i===void 0)&&i.length)&&(s=navigator.languages[0].split("-")[0].toLowerCase()),s},r.getDictionaryWord=function(n,o,i){var s;if(!n)throw new Error("no wordKey provided");if(!o)throw new Error("no dictionary provided");if(i&&(!((s=o[i])===null||s===void 0)&&s[n]))return o[i][n];var d="",v=r.getDefaultLang();if(!i||v!==i){var c=o?.[v];c?.[n]&&(d=c[n])}return d},r.formatDate=function(n,o,i){if(!n)throw new Error("no date provided");if(typeof n.getMonth!="function")throw new Error("wrong date format");var s=new Intl.DateTimeFormat(i||r.getDefaultLang(),o);return s.format(n)},r})();return ia.LanguageTranslator=a,ia}var Ca=jl();const Io={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"}};var El=$('<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@latest/font/bootstrap-icons.css" class="svelte-9da8a"/>'),Sl=$('<button aria-label="Select all" class="btn btn-link svelte-9da8a"> </button>'),Ml=$('<button aria-label="Deselect all" class="btn btn-link svelte-9da8a"> </button>'),Tl=$('<th scope="col" class="svelte-9da8a"><!></th>'),Cl=$('<th scope="col" class="svelte-9da8a"></th>'),Dl=$('<button style="border:none; background-color:inherit" class="svelte-9da8a"><!></button>'),Al=$('<th scope="col" class="svelte-9da8a"> <!></th>'),Ol=$('<th scope="col" class="svelte-9da8a"> </th>'),zl=$('<th scope="col" class="svelte-9da8a"> </th>'),Nl=$('<span style="width:50px;display:inline-block" class="svelte-9da8a"> </span> <input type="date" class="form-control svelte-9da8a" style="max-width: 200px;display:inline-block"/>',1),Ll=$('<input type="text" class="form-control svelte-9da8a" placeholder="..." aria-label="Search" aria-describedby="search"/>'),Il=$('<option class="svelte-9da8a"> </option>'),Rl=$('<select class="form-select svelte-9da8a"><option class="svelte-9da8a"> </option><!></select>'),Pl=$('<th scope="col" class="svelte-9da8a"><!> <!></th>'),Fl=$('<th scope="col" class="svelte-9da8a"> </th>'),Yl=$("<!> <!>",1),Bl=$('<tr class="svelte-9da8a"><!><!></tr>'),Hl=$('<button class="btn btn-link svelte-9da8a"> </button>'),Ul=$('<button class="btn btn-link svelte-9da8a"> </button>'),Wl=$('<th scope="col" class="svelte-9da8a"><!></th>'),ql=$('<span style="width:50px;display:inline-block" class="svelte-9da8a">Inizio</span> <input type="date" class="form-control svelte-9da8a" style="max-width: 200px;display:inline-block"/>',1),Vl=$('<input type="text" class="form-control svelte-9da8a" placeholder="..." aria-label="Search" aria-describedby="search"/>'),Jl=$('<option class="svelte-9da8a"> </option>'),Zl=$('<select class="form-select svelte-9da8a"><option class="svelte-9da8a"> </option><!></select>'),Gl=$('<th scope="col" class="svelte-9da8a"><!></th>'),Kl=$('<th scope="col" class="svelte-9da8a"> </th>'),Xl=$('<th scope="col" class="svelte-9da8a"> </th>'),Ql=$('<span style="width:50px;display:inline-block" class="svelte-9da8a"> </span> <input type="date" class="form-control svelte-9da8a" style="max-width: 200px;display:inline-block"/>',1),ei=$('<th scope="col" class="svelte-9da8a"><!></th>'),ti=$('<th scope="col" class="svelte-9da8a"> </th>'),ai=$('<tr class="svelte-9da8a"><!><!><!></tr> <tr class="svelte-9da8a"><!><!><!></tr>',1),ri=$('<input id="flexCheckDefault" class="form-check-input svelte-9da8a" type="checkbox" checked/>'),oi=$('<input id="flexCheckDefault" class="form-check-input svelte-9da8a" type="checkbox"/>'),ni=$('<td style="box-shadow: none;" class="svelte-9da8a"><div class="form-check svelte-9da8a"><!></div></td>'),li=$('<button type="button" style="margin-right:10px" disabled> </button>'),ii=$('<button type="button" style="margin-right:10px" disabled><i></i></button>'),si=$('<button type="button" style="margin-right:10px"> </button>'),di=$('<button type="button" style="margin-right:10px"><i></i></button>'),mi=$('<td class="svelte-9da8a"></td>'),vi=$('<td class="svelte-9da8a"></td>'),pi=$('<button type="button" class="btn btn-link svelte-9da8a"> </button>'),ci=$('<button type="button" class="btn btn-link svelte-9da8a" aria-label="Copy to clipboard"><i class="bi-clipboard svelte-9da8a"></i></button>'),bi=$('<td class="svelte-9da8a"><!> <!></td>'),gi=$('<button type="button" style="margin-right:10px"> </button>'),fi=$('<button type="button" style="margin-right:10px"><i></i></button>'),ui=$('<td class="svelte-9da8a"></td>'),hi=$("<tr><!><!><!></tr>"),xi=$('<button type="button" class="btn btn-outline-primary svelte-9da8a"> </button>'),wi=$('<span style="margin-left:20px" class="btn-group btn-group-sm svelte-9da8a" role="group" aria-label="Basic example"></span>'),yi=$('<button aria-label="Settings"><i class="bi-gear svelte-9da8a"></i></button> <!>',1),_i=$('<i class="bi-plus svelte-9da8a"></i>'),ki=$('<button style="margin-left:20px" class="btn btn-primary btn-sm svelte-9da8a"><!></button>'),$i=$("<hb-paginate></hb-paginate>",2),ji=$('<table part="table" class="table table-responsive table-striped table-hover align-middle svelte-9da8a" style="table-layout: fixed;width:100%;text-align:left"><thead class="svelte-9da8a"><tr class="svelte-9da8a"><!><!><!></tr><!></thead><tbody class="svelte-9da8a"><!></tbody></table> <nav part="table-actions" style="margin-top:20px" aria-label="actions on selected" class="svelte-9da8a"><!> <!> <!> <!></nav>',1),Ei=$("<hb-dialogform></hb-dialogform> <hb-dialog></hb-dialog> <!>",3);const Si={hash:"svelte-9da8a",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");
|
|
2
|
+
`).some(s=>s.startsWith("https://svelte.dev/e/")))throw i;return i!==ma&&console.warn("Failed to hydrate: ",i),t.recover===!1&&bn(),br(),ao(a),nt(!1),So(e,t)}finally{nt(r),Le(n)}}const xa=new Map;function Mo(e,{target:t,anchor:a,props:r={},events:n,context:o,intro:i=!0}){br();var s=new Set,d=h=>{for(var b=0;b<h.length;b++){var f=h[b];if(!s.has(f)){s.add(f);var E=tl(f);t.addEventListener(f,Ta,{passive:E});var U=xa.get(f);U===void 0?(document.addEventListener(f,Ta,{passive:E}),xa.set(f,1)):xa.set(f,U+1)}}};d(or(jo)),hr.add(d);var v=void 0,c=Hn(()=>{var h=a??t.appendChild(Ge());return Mn(h,{pending:()=>{}},b=>{if(o){Ir({});var f=mt;f.c=o}if(n&&(r.$$events=n),R&&Jt(b,null),v=e(b,r)||{},R&&(Q.nodes_end=X,X===null||X.nodeType!==ta||X.data!==ar))throw Fa(),ma;o&&Rr()}),()=>{for(var b of s){t.removeEventListener(b,Ta);var f=xa.get(b);--f===0?(document.removeEventListener(b,Ta),xa.delete(b)):xa.set(b,f)}hr.delete(d),h!==a&&h.parentNode?.removeChild(h)}});return xr.set(v,c),v}let xr=new WeakMap;function rl(e,t){const a=xr.get(e);return a?(xr.delete(e),a(t)):Promise.resolve()}class ol{anchor;#t=new Map;#e=new Map;#a=new Map;#r=new Set;#s=!0;constructor(t,a=!0){this.anchor=t,this.#s=a}#n=()=>{var t=he;if(this.#t.has(t)){var a=this.#t.get(t),r=this.#e.get(a);if(r)ur(r),this.#r.delete(a);else{var n=this.#a.get(a);n&&(this.#e.set(a,n.effect),this.#a.delete(a),n.fragment.lastChild.remove(),this.anchor.before(n.fragment),r=n.effect)}for(const[o,i]of this.#t){if(this.#t.delete(o),o===t)break;const s=this.#a.get(i);s&&(Ke(s.effect),this.#a.delete(i))}for(const[o,i]of this.#e){if(o===a||this.#r.has(o))continue;const s=()=>{if(Array.from(this.#t.values()).includes(o)){var v=document.createDocumentFragment();bo(i,v),v.append(Ge()),this.#a.set(o,{effect:i,fragment:v})}else Ke(i);this.#r.delete(o),this.#e.delete(o)};this.#s||!r?(this.#r.add(o),ua(i,s,!1)):s()}}};#o=t=>{this.#t.delete(t);const a=Array.from(this.#t.values());for(const[r,n]of this.#a)a.includes(r)||(Ke(n.effect),this.#a.delete(r))};ensure(t,a){var r=he,n=ro();if(a&&!this.#e.has(t)&&!this.#a.has(t))if(n){var o=document.createDocumentFragment(),i=Ge();o.append(i),this.#a.set(t,{effect:gt(()=>a(i)),fragment:o})}else this.#e.set(t,gt(()=>a(this.anchor)));if(this.#t.set(r,t),n){for(const[s,d]of this.#e)s===t?r.skipped_effects.delete(d):r.skipped_effects.add(d);for(const[s,d]of this.#a)s===t?r.skipped_effects.delete(d.effect):r.skipped_effects.add(d.effect);r.oncommit(this.#n),r.ondiscard(this.#o)}else R&&(this.anchor=X),this.#n()}}function M(e,t,a=!1){R&&_a();var r=new ol(e),n=a?va:0;function o(i,s){if(R){const v=zr(e)===Oa;if(i===v){var d=Ya();Le(d),r.anchor=d,nt(!1),r.ensure(i,s),nt(!0);return}}r.ensure(i,s)}Ja(()=>{var i=!1;t((s,d=!0)=>{i=!0,o(d,s)}),i||o(!1,null)},n)}function To(e,t,a,r,n){R&&_a();var o=t.$$slots?.[a],i=!1;o===!0&&(o=t[a==="default"?"children":a],i=!0),o===void 0?n!==null&&n(e):o(e,i?()=>r:r)}function nl(e,t){let a=null,r=R;var n;if(R){a=X;for(var o=qt(document.head);o!==null&&(o.nodeType!==ta||o.data!==e);)o=bt(o);if(o===null)nt(!1);else{var i=bt(o);o.remove(),Le(i)}}R||(n=document.head.appendChild(Ge()));try{Ja(()=>t(n),ir)}finally{r&&(nt(!0),Le(a))}}function ll(e,t){Un(()=>{var a=e.getRootNode(),r=a.host?a:a.head??a.ownerDocument.head;if(!r.querySelector("#"+t.hash)){const n=document.createElement("style");n.id=t.hash,n.textContent=t.code,r.appendChild(n)}})}function Co(e){var t,a,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var n=e.length;for(t=0;t<n;t++)e[t]&&(a=Co(e[t]))&&(r&&(r+=" "),r+=a)}else for(a in e)e[a]&&(r&&(r+=" "),r+=a);return r}function il(){for(var e,t,a=0,r="",n=arguments.length;a<n;a++)(e=arguments[a])&&(t=Co(e))&&(r&&(r+=" "),r+=t);return r}function sl(e){return typeof e=="object"?il(e):e??""}function dl(e,t,a){var r=e==null?"":""+e;return t&&(r=r?r+" "+t:t),r===""?null:r}function ml(e,t){return e==null?null:String(e)}function at(e,t,a,r,n,o){var i=e.__className;if(R||i!==a||i===void 0){var s=dl(a,r);(!R||s!==e.getAttribute("class"))&&(s==null?e.removeAttribute("class"):e.className=s),e.__className=a}return o}function Ka(e,t,a,r){var n=e.__style;if(R||n!==t){var o=ml(t);(!R||o!==e.getAttribute("style"))&&(o==null?e.removeAttribute("style"):e.style.cssText=o),e.__style=t}return r}const vl=Symbol("is custom element"),pl=Symbol("is html");function cl(e){if(R){var t=!1,a=()=>{if(!t){if(t=!0,e.hasAttribute("value")){var r=e.value;wa(e,"value",null),e.value=r}if(e.hasAttribute("checked")){var n=e.checked;wa(e,"checked",null),e.checked=n}}};e.__on_r=a,ba(a),Rn()}}function wa(e,t,a,r){var n=bl(e);R&&(n[t]=e.getAttribute(t),t==="src"||t==="srcset"||t==="href"&&e.nodeName==="LINK")||n[t]!==(n[t]=a)&&(t==="loading"&&(e[sn]=a),a==null?e.removeAttribute(t):typeof a!="string"&&Do(e).includes(t)?e[t]=a:e.setAttribute(t,a))}function Ce(e,t,a){var r=q,n=Q;let o=R;R&&nt(!1),He(null),ft(null);try{t!=="style"&&(wr.has(e.getAttribute("is")||e.nodeName)||!customElements||customElements.get(e.getAttribute("is")||e.tagName.toLowerCase())?Do(e).includes(t):a&&typeof a=="object")?e[t]=a:wa(e,t,a==null?a:String(a))}finally{He(r),ft(n),o&&nt(!0)}}function bl(e){return e.__attributes??={[vl]:e.nodeName.includes("-"),[pl]:e.namespaceURI===en}}var wr=new Map;function Do(e){var t=e.getAttribute("is")||e.nodeName,a=wr.get(t);if(a)return a;wr.set(t,a=[]);for(var r,n=e,o=Element.prototype;o!==n;){r=an(n);for(var i in r)r[i].set&&a.push(i);n=Tr(n)}return a}let Xa=!1;function gl(e){var t=Xa;try{return Xa=!1,[e(),Xa]}finally{Xa=t}}function We(e,t,a,r){var n=(a&Go)!==0,o=(a&Ko)!==0,i=r,s=!0,d=()=>(s&&(s=!1,i=o?$o(r):r),i),v;if(n){var c=Ra in e||Or in e;v=Xt(e,t)?.set??(c&&t in e?Z=>e[t]=Z:void 0)}var h,b=!1;n?[h,b]=gl(()=>e[t]):h=e[t],h===void 0&&r!==void 0&&(h=d(),v&&(gn(),v(h)));var f;if(f=()=>{var Z=e[t];return Z===void 0?d():(s=!0,Z)},(a&Zo)===0)return f;if(v){var E=e.$$legacy;return(function(Z,xe){return arguments.length>0?((!xe||E||b)&&v(xe?f():Z),Z):f()})}var U=!1,y=((a&Jo)!==0?Wa:qr)(()=>(U=!1,f()));n&&l(y);var V=Q;return(function(Z,xe){if(arguments.length>0){const B=xe?l(y):n?ct(Z):Z;return ie(y,B),U=!0,i!==void 0&&(i=B),Z}return na&&U||(V.f&Lt)!==0?y.v:l(y)})}function fl(e){return new ul(e)}class ul{#t;#e;constructor(t){var a=new Map,r=(o,i)=>{var s=Gr(i,!1,!1);return a.set(o,s),s};const n=new Proxy({...t.props||{},$$events:{}},{get(o,i){return l(a.get(i)??r(i,Reflect.get(o,i)))},has(o,i){return i===Or?!0:(l(a.get(i)??r(i,Reflect.get(o,i))),Reflect.has(o,i))},set(o,i,s){return ie(a.get(i)??r(i,s),s),Reflect.set(o,i,s)}});this.#e=(t.hydrate?al:So)(t.component,{target:t.target,anchor:t.anchor,props:n,context:t.context,intro:t.intro??!1,recover:t.recover}),(!t?.props?.$$host||t.sync===!1)&&Ie(),this.#t=n.$$events;for(const o of Object.keys(this.#e))o==="$set"||o==="$destroy"||o==="$on"||Na(this,o,{get(){return this.#e[o]},set(i){this.#e[o]=i},enumerable:!0});this.#e.$set=o=>{Object.assign(n,o)},this.#e.$destroy=()=>{rl(this.#e)}}$set(t){this.#e.$set(t)}$on(t,a){this.#t[t]=this.#t[t]||[];const r=(...n)=>a.call(this,...n);return this.#t[t].push(r),()=>{this.#t[t]=this.#t[t].filter(n=>n!==r)}}$destroy(){this.#e.$destroy()}}let Ao;typeof HTMLElement=="function"&&(Ao=class extends HTMLElement{$$ctor;$$s;$$c;$$cn=!1;$$d={};$$r=!1;$$p_d={};$$l={};$$l_u=new Map;$$me;constructor(e,t,a){super(),this.$$ctor=e,this.$$s=t,a&&this.attachShadow({mode:"open"})}addEventListener(e,t,a){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,a)}removeEventListener(e,t,a){if(super.removeEventListener(e,t,a),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 n=>{const o=document.createElement("slot");r!=="default"&&(o.name=r),u(n,o)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const t={},a=hl(this);for(const r of this.$$s)r in a&&(r==="default"&&!this.$$d.children?(this.$$d.children=e(r),t.default=!0):t[r]=e(r));for(const r of this.attributes){const n=this.$$g_p(r.name);n in this.$$d||(this.$$d[n]=Qa(n,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=fl({component:this.$$ctor,target:this.shadowRoot||this,props:{...this.$$d,$$slots:t,$$host:this}}),this.$$me=Bn(()=>{io(()=>{this.$$r=!0;for(const r of za(this.$$c)){if(!this.$$p_d[r]?.reflect)continue;this.$$d[r]=this.$$c[r];const n=Qa(r,this.$$d[r],this.$$p_d,"toAttribute");n==null?this.removeAttribute(this.$$p_d[r].attribute||r):this.setAttribute(this.$$p_d[r].attribute||r,n)}this.$$r=!1})});for(const r in this.$$l)for(const n of this.$$l[r]){const o=this.$$c.$on(r,n);this.$$l_u.set(n,o)}this.$$l={}}}attributeChangedCallback(e,t,a){this.$$r||(e=this.$$g_p(e),this.$$d[e]=Qa(e,a,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 za(this.$$p_d).find(t=>this.$$p_d[t].attribute===e||!this.$$p_d[t].attribute&&t.toLowerCase()===e)||e}});function Qa(e,t,a,r){const n=a[e]?.type;if(t=n==="Boolean"&&typeof t!="boolean"?t!=null:t,!r||!a[e])return t;if(r==="toAttribute")switch(n){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(n){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function hl(e){const t={};return e.childNodes.forEach(a=>{t[a.slot||"default"]=!0}),t}function xl(e,t,a,r,n,o){let i=class extends Ao{constructor(){super(e,a,n),this.$$p_d=t}static get observedAttributes(){return za(t).map(s=>(t[s].attribute||s).toLowerCase())}};return za(t).forEach(s=>{Na(i.prototype,s,{get(){return this.$$c&&s in this.$$c?this.$$c[s]:this.$$d[s]},set(d){d=Qa(s,d,t),this.$$d[s]=d;var v=this.$$c;if(v){var c=Xt(v,s)?.get;c?v[s]=d:v.$set({[s]:d})}}})}),r.forEach(s=>{Na(i.prototype,s,{get(){return this.$$c?.[s]}})}),e.element=i,i}function wl(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var er={exports:{}},yl=er.exports,Oo;function zo(){return Oo||(Oo=1,(function(e,t){(function(a,r){e.exports=r()})(yl,(function(){var a=1e3,r=6e4,n=36e5,o="millisecond",i="second",s="minute",d="hour",v="day",c="week",h="month",b="quarter",f="year",E="date",U="Invalid Date",y=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,V=/\[([^\]]+)]|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,Z={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(_){var x=["th","st","nd","rd"],g=_%100;return"["+_+(x[(g-20)%10]||x[g]||x[0])+"]"}},xe=function(_,x,g){var k=String(_);return!k||k.length>=x?_:""+Array(x+1-k.length).join(g)+_},B={s:xe,z:function(_){var x=-_.utcOffset(),g=Math.abs(x),k=Math.floor(g/60),w=g%60;return(x<=0?"+":"-")+xe(k,2,"0")+":"+xe(w,2,"0")},m:function _(x,g){if(x.date()<g.date())return-_(g,x);var k=12*(g.year()-x.year())+(g.month()-x.month()),w=x.clone().add(k,h),N=g-w<0,D=x.clone().add(k+(N?-1:1),h);return+(-(k+(g-w)/(N?w-D:D-w))||0)},a:function(_){return _<0?Math.ceil(_)||0:Math.floor(_)},p:function(_){return{M:h,y:f,w:c,d:v,D:E,h:d,m:s,s:i,ms:o,Q:b}[_]||String(_||"").toLowerCase().replace(/s$/,"")},u:function(_){return _===void 0}},qe="en",se={};se[qe]=Z;var G="$isDayjsObject",j=function(_){return _ instanceof Ct||!(!_||!_[G])},pe=function _(x,g,k){var w;if(!x)return qe;if(typeof x=="string"){var N=x.toLowerCase();se[N]&&(w=N),g&&(se[N]=g,w=N);var D=x.split("-");if(!w&&D.length>1)return _(D[0])}else{var ae=x.name;se[ae]=x,w=ae}return!k&&w&&(qe=w),w||!k&&qe},W=function(_,x){if(j(_))return _.clone();var g=typeof x=="object"?x:{};return g.date=_,g.args=arguments,new Ct(g)},S=B;S.l=pe,S.i=j,S.w=function(_,x){return W(_,{locale:x.$L,utc:x.$u,x:x.$x,$offset:x.$offset})};var Ct=(function(){function _(g){this.$L=pe(g.locale,null,!0),this.parse(g),this.$x=this.$x||g.x||{},this[G]=!0}var x=_.prototype;return x.parse=function(g){this.$d=(function(k){var w=k.date,N=k.utc;if(w===null)return new Date(NaN);if(S.u(w))return new Date;if(w instanceof Date)return new Date(w);if(typeof w=="string"&&!/Z$/i.test(w)){var D=w.match(y);if(D){var ae=D[2]-1||0,be=(D[7]||"0").substring(0,3);return N?new Date(Date.UTC(D[1],ae,D[3]||1,D[4]||0,D[5]||0,D[6]||0,be)):new Date(D[1],ae,D[3]||1,D[4]||0,D[5]||0,D[6]||0,be)}}return new Date(w)})(g),this.init()},x.init=function(){var g=this.$d;this.$y=g.getFullYear(),this.$M=g.getMonth(),this.$D=g.getDate(),this.$W=g.getDay(),this.$H=g.getHours(),this.$m=g.getMinutes(),this.$s=g.getSeconds(),this.$ms=g.getMilliseconds()},x.$utils=function(){return S},x.isValid=function(){return this.$d.toString()!==U},x.isSame=function(g,k){var w=W(g);return this.startOf(k)<=w&&w<=this.endOf(k)},x.isAfter=function(g,k){return W(g)<this.startOf(k)},x.isBefore=function(g,k){return this.endOf(k)<W(g)},x.$g=function(g,k,w){return S.u(g)?this[k]:this.set(w,g)},x.unix=function(){return Math.floor(this.valueOf()/1e3)},x.valueOf=function(){return this.$d.getTime()},x.startOf=function(g,k){var w=this,N=!!S.u(k)||k,D=S.p(g),ae=function(Ft,Re){var $t=S.w(w.$u?Date.UTC(w.$y,Re,Ft):new Date(w.$y,Re,Ft),w);return N?$t:$t.endOf(v)},be=function(Ft,Re){return S.w(w.toDate()[Ft].apply(w.toDate("s"),(N?[0,0,0,0]:[23,59,59,999]).slice(Re)),w)},Se=this.$W,ke=this.$M,Qe=this.$D,Gt="set"+(this.$u?"UTC":"");switch(D){case f:return N?ae(1,0):ae(31,11);case h:return N?ae(1,ke):ae(0,ke+1);case c:var Dt=this.$locale().weekStart||0,sa=(Se<Dt?Se+7:Se)-Dt;return ae(N?Qe-sa:Qe+(6-sa),ke);case v:case E:return be(Gt+"Hours",0);case d:return be(Gt+"Minutes",1);case s:return be(Gt+"Seconds",2);case i:return be(Gt+"Milliseconds",3);default:return this.clone()}},x.endOf=function(g){return this.startOf(g,!1)},x.$set=function(g,k){var w,N=S.p(g),D="set"+(this.$u?"UTC":""),ae=(w={},w[v]=D+"Date",w[E]=D+"Date",w[h]=D+"Month",w[f]=D+"FullYear",w[d]=D+"Hours",w[s]=D+"Minutes",w[i]=D+"Seconds",w[o]=D+"Milliseconds",w)[N],be=N===v?this.$D+(k-this.$W):k;if(N===h||N===f){var Se=this.clone().set(E,1);Se.$d[ae](be),Se.init(),this.$d=Se.set(E,Math.min(this.$D,Se.daysInMonth())).$d}else ae&&this.$d[ae](be);return this.init(),this},x.set=function(g,k){return this.clone().$set(g,k)},x.get=function(g){return this[S.p(g)]()},x.add=function(g,k){var w,N=this;g=Number(g);var D=S.p(k),ae=function(ke){var Qe=W(N);return S.w(Qe.date(Qe.date()+Math.round(ke*g)),N)};if(D===h)return this.set(h,this.$M+g);if(D===f)return this.set(f,this.$y+g);if(D===v)return ae(1);if(D===c)return ae(7);var be=(w={},w[s]=r,w[d]=n,w[i]=a,w)[D]||1,Se=this.$d.getTime()+g*be;return S.w(Se,this)},x.subtract=function(g,k){return this.add(-1*g,k)},x.format=function(g){var k=this,w=this.$locale();if(!this.isValid())return w.invalidDate||U;var N=g||"YYYY-MM-DDTHH:mm:ssZ",D=S.z(this),ae=this.$H,be=this.$m,Se=this.$M,ke=w.weekdays,Qe=w.months,Gt=w.meridiem,Dt=function(Re,$t,da,ya){return Re&&(Re[$t]||Re(k,N))||da[$t].slice(0,ya)},sa=function(Re){return S.s(ae%12||12,Re,"0")},Ft=Gt||function(Re,$t,da){var ya=Re<12?"AM":"PM";return da?ya.toLowerCase():ya};return N.replace(V,(function(Re,$t){return $t||(function(da){switch(da){case"YY":return String(k.$y).slice(-2);case"YYYY":return S.s(k.$y,4,"0");case"M":return Se+1;case"MM":return S.s(Se+1,2,"0");case"MMM":return Dt(w.monthsShort,Se,Qe,3);case"MMMM":return Dt(Qe,Se);case"D":return k.$D;case"DD":return S.s(k.$D,2,"0");case"d":return String(k.$W);case"dd":return Dt(w.weekdaysMin,k.$W,ke,2);case"ddd":return Dt(w.weekdaysShort,k.$W,ke,3);case"dddd":return ke[k.$W];case"H":return String(ae);case"HH":return S.s(ae,2,"0");case"h":return sa(1);case"hh":return sa(2);case"a":return Ft(ae,be,!0);case"A":return Ft(ae,be,!1);case"m":return String(be);case"mm":return S.s(be,2,"0");case"s":return String(k.$s);case"ss":return S.s(k.$s,2,"0");case"SSS":return S.s(k.$ms,3,"0");case"Z":return D}return null})(Re)||D.replace(":","")}))},x.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},x.diff=function(g,k,w){var N,D=this,ae=S.p(k),be=W(g),Se=(be.utcOffset()-this.utcOffset())*r,ke=this-be,Qe=function(){return S.m(D,be)};switch(ae){case f:N=Qe()/12;break;case h:N=Qe();break;case b:N=Qe()/3;break;case c:N=(ke-Se)/6048e5;break;case v:N=(ke-Se)/864e5;break;case d:N=ke/n;break;case s:N=ke/r;break;case i:N=ke/a;break;default:N=ke}return w?N:S.a(N)},x.daysInMonth=function(){return this.endOf(h).$D},x.$locale=function(){return se[this.$L]},x.locale=function(g,k){if(!g)return this.$L;var w=this.clone(),N=pe(g,k,!0);return N&&(w.$L=N),w},x.clone=function(){return S.w(this.$d,this)},x.toDate=function(){return new Date(this.valueOf())},x.toJSON=function(){return this.isValid()?this.toISOString():null},x.toISOString=function(){return this.$d.toISOString()},x.toString=function(){return this.$d.toUTCString()},_})(),Pt=Ct.prototype;return W.prototype=Pt,[["$ms",o],["$s",i],["$m",s],["$H",d],["$W",v],["$M",h],["$y",f],["$D",E]].forEach((function(_){Pt[_[1]]=function(x){return this.$g(x,_[0],_[1])}})),W.extend=function(_,x){return _.$i||(_(x,Ct,W),_.$i=!0),W},W.locale=pe,W.isDayjs=j,W.unix=function(_){return W(1e3*_)},W.en=se[qe],W.Ls=se,W.p={},W}))})(er)),er.exports}var _l=zo();const Zt=wl(_l);var tr={exports:{}},kl=tr.exports,No;function $l(){return No||(No=1,(function(e,t){(function(a,r){e.exports=r(zo())})(kl,(function(a){function r(i){return i&&typeof i=="object"&&"default"in i?i:{default:i}}var n=r(a),o={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(i){return i+"º"}};return n.default.locale(o,null,!0),o}))})(tr)),tr.exports}$l();const yr={version:"0.62.2"};var ia={},Lo;function jl(){if(Lo)return ia;Lo=1,Object.defineProperty(ia,"__esModule",{value:!0}),ia.LanguageTranslator=void 0,ia.getChildStyleToPass=e,ia.addComponent=t;function e(r,n){var o,i,s="";try{if(r&&n?.length&&(!((o=Object.keys(r))===null||o===void 0)&&o.length)&&(!((i=n?.filter(function(b){return Object.keys(r).includes(b.name)}))===null||i===void 0)&&i.length))for(var d=function(b){var f=n?.filter(function(E){return E.name===b&&E.defaultValue!==r[b]});f&&(s+="".concat(b,":").concat(r[b],";"))},v=0,c=Object.keys(r);v<c.length;v++){var h=c[v];d(h)}}catch(b){console.error("error getting child style to pass",b)}finally{return s}}function t(r){var n,o=((n=r?.repoName.split("/"))===null||n===void 0?void 0:n[1])||r?.repoName;if(!o)throw new Error("wrong componentPath "+r?.repoName);if(!r?.version)throw new Error("wrong version "+r?.version);var i=r?.iifePath||"main.iife.js";if(!document.getElementById(o+"-script"))try{var s=document.createElement("script");if(s.id=o+"-script",s.src="https://cdn.jsdelivr.net/npm/".concat(r.repoName,"@").concat(r.version,"/").concat(i),r?.local)s.src="".concat(r.local);else if(location.href.includes("localhost:6006")){var d=o.split("-")[0];s.src="http://localhost:6006/webcomponents/".concat(o.replace(d+"-",""),"/").concat(i)}document.head.appendChild(s)}catch(v){console.warn(v)}}var a=(function(){function r(n){if(this.lang="",!n?.dictionary)throw new Error("no dictionary provided");this.dictionary=n.dictionary,this.setLang(n?.lang)}return r.prototype.setLang=function(n){n||(n=r.getDefaultLang()),this.lang=n},r.prototype.translateWord=function(n,o){return r.getDictionaryWord(n,this.dictionary,o||this.lang)},r.prototype.translateDate=function(n,o,i){return r.formatDate(n,o,i||this.lang)},r.getDefaultLang=function(){var n,o,i,s="en";return navigator?.languages&&(!((i=(o=(n=navigator.languages[0])===null||n===void 0?void 0:n.split("-")[0])===null||o===void 0?void 0:o.toLowerCase())===null||i===void 0)&&i.length)&&(s=navigator.languages[0].split("-")[0].toLowerCase()),s},r.getDictionaryWord=function(n,o,i){var s;if(!n)throw new Error("no wordKey provided");if(!o)throw new Error("no dictionary provided");if(i&&(!((s=o[i])===null||s===void 0)&&s[n]))return o[i][n];var d="",v=r.getDefaultLang();if(!i||v!==i){var c=o?.[v];c?.[n]&&(d=c[n])}return d},r.formatDate=function(n,o,i){if(!n)throw new Error("no date provided");if(typeof n.getMonth!="function")throw new Error("wrong date format");var s=new Intl.DateTimeFormat(i||r.getDefaultLang(),o);return s.format(n)},r})();return ia.LanguageTranslator=a,ia}var Ca=jl();const Io={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"}};var El=$('<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@latest/font/bootstrap-icons.css" class="svelte-9da8a"/>'),Sl=$('<button aria-label="Select all" class="btn btn-link svelte-9da8a"> </button>'),Ml=$('<button aria-label="Deselect all" class="btn btn-link svelte-9da8a"> </button>'),Tl=$('<th scope="col" class="svelte-9da8a"><!></th>'),Cl=$('<th scope="col" class="svelte-9da8a"></th>'),Dl=$('<button style="border:none; background-color:inherit" class="svelte-9da8a"><!></button>'),Al=$('<th scope="col" class="svelte-9da8a"> <!></th>'),Ol=$('<th scope="col" class="svelte-9da8a"> </th>'),zl=$('<th scope="col" class="svelte-9da8a"> </th>'),Nl=$('<span style="width:50px;display:inline-block" class="svelte-9da8a"> </span> <input type="date" class="form-control svelte-9da8a" style="max-width: 200px;display:inline-block"/>',1),Ll=$('<input type="text" class="form-control svelte-9da8a" placeholder="..." aria-label="Search" aria-describedby="search"/>'),Il=$('<option class="svelte-9da8a"> </option>'),Rl=$('<select class="form-select svelte-9da8a"><option class="svelte-9da8a"> </option><!></select>'),Pl=$('<th scope="col" class="svelte-9da8a"><!> <!></th>'),Fl=$('<th scope="col" class="svelte-9da8a"> </th>'),Yl=$("<!> <!>",1),Bl=$('<tr class="svelte-9da8a"><!><!></tr>'),Hl=$('<button class="btn btn-link svelte-9da8a"> </button>'),Ul=$('<button class="btn btn-link svelte-9da8a"> </button>'),Wl=$('<th scope="col" class="svelte-9da8a"><!></th>'),ql=$('<span style="width:50px;display:inline-block" class="svelte-9da8a">Inizio</span> <input type="date" class="form-control svelte-9da8a" style="max-width: 200px;display:inline-block"/>',1),Vl=$('<input type="text" class="form-control svelte-9da8a" placeholder="..." aria-label="Search" aria-describedby="search"/>'),Jl=$('<option class="svelte-9da8a"> </option>'),Zl=$('<select class="form-select svelte-9da8a"><option class="svelte-9da8a"> </option><!></select>'),Gl=$('<th scope="col" class="svelte-9da8a"><!></th>'),Kl=$('<th scope="col" class="svelte-9da8a"> </th>'),Xl=$('<th scope="col" class="svelte-9da8a"> </th>'),Ql=$('<span style="width:50px;display:inline-block" class="svelte-9da8a"> </span> <input type="date" class="form-control svelte-9da8a" style="max-width: 200px;display:inline-block"/>',1),ei=$('<th scope="col" class="svelte-9da8a"><!></th>'),ti=$('<th scope="col" class="svelte-9da8a"> </th>'),ai=$('<tr class="svelte-9da8a"><!><!><!></tr> <tr class="svelte-9da8a"><!><!><!></tr>',1),ri=$('<input id="flexCheckDefault" class="form-check-input svelte-9da8a" type="checkbox" checked/>'),oi=$('<input id="flexCheckDefault" class="form-check-input svelte-9da8a" type="checkbox"/>'),ni=$('<td style="box-shadow: none;" class="svelte-9da8a"><div class="form-check svelte-9da8a"><!></div></td>'),li=$('<button type="button" style="margin-right:10px" disabled> </button>'),ii=$('<button type="button" style="margin-right:10px" disabled><i></i></button>'),si=$('<button type="button" style="margin-right:10px"> </button>'),di=$('<button type="button" style="margin-right:10px"><i></i></button>'),mi=$('<td class="svelte-9da8a"></td>'),vi=$('<td class="svelte-9da8a"></td>'),pi=$('<button type="button" class="btn btn-link svelte-9da8a"> </button>'),ci=$('<button type="button" class="btn btn-link svelte-9da8a" aria-label="Copy to clipboard"><i class="bi-clipboard svelte-9da8a"></i></button>'),bi=$('<td class="svelte-9da8a"><!> <!></td>'),gi=$('<button type="button" style="margin-right:10px"> </button>'),fi=$('<button type="button" style="margin-right:10px"><i></i></button>'),ui=$('<td class="svelte-9da8a"></td>'),hi=$("<tr><!><!><!></tr>"),xi=$('<button type="button" class="btn btn-outline-primary svelte-9da8a"> </button>'),wi=$('<span style="margin-left:20px" class="btn-group btn-group-sm svelte-9da8a" role="group" aria-label="Basic example"></span>'),yi=$('<button aria-label="Settings"><i class="bi-gear svelte-9da8a"></i></button> <!>',1),_i=$('<i class="bi-plus svelte-9da8a"></i>'),ki=$('<button style="margin-left:20px" class="btn btn-primary btn-sm svelte-9da8a"><!></button>'),$i=$("<hb-paginate></hb-paginate>",2),ji=$('<table part="table" class="table table-responsive table-striped table-hover align-middle svelte-9da8a" style="table-layout: fixed;width:100%;text-align:left"><thead class="svelte-9da8a"><tr class="svelte-9da8a"><!><!><!></tr><!></thead><tbody class="svelte-9da8a"><!></tbody></table> <nav part="table-actions" style="margin-top:20px" aria-label="actions on selected" class="svelte-9da8a"><!> <!> <!> <!></nav>',1),Ei=$("<hb-dialogform></hb-dialogform> <hb-dialog></hb-dialog> <!>",3);const Si={hash:"svelte-9da8a",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");
|
|
3
3
|
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@latest/font/bootstrap-icons.css");
|
|
4
4
|
/*!
|
|
5
5
|
* Bootstrap v5.3.8 (https://getbootstrap.com/)
|
package/manifest.json
CHANGED