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