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