@htmlbricks/hb-paginate 0.62.28 → 0.62.31
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 +5 -5
- package/main.iife.js.map +1 -1
- package/manifest.json +57 -2
- package/package.json +1 -1
- package/types/webcomponent.type.d.json +12 -0
- package/types/webcomponent.type.d.ts +6 -2
- package/types/webcomponent_events.type.d.json +14 -1
package/main.iife.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
(function(Nt){"use strict";typeof window<"u"&&((window.__svelte??={}).v??=new Set).add("5");const jr=1,Ir=2,Rt="[",ot="[!",At="]",xe={},S=Symbol(),ft=!1;var zr=Array.isArray,qr=Array.prototype.indexOf,Br=Array.from,He=Object.keys,We=Object.defineProperty,Te=Object.getOwnPropertyDescriptor,Ur=Object.prototype,Vr=Array.prototype,Yr=Object.getPrototypeOf,Ot=Object.isExtensible;function Hr(e){for(var t=0;t<e.length;t++)e[t]()}function Dt(){var e,t,r=new Promise((n,i)=>{e=n,t=i});return{promise:r,resolve:e,reject:t}}const C=2,ut=4,ct=8,ne=16,ie=32,he=64,Ge=128,H=512,N=1024,L=2048,se=4096,K=8192,le=16384,Je=32768,Ce=65536,Pt=1<<17,Lt=1<<18,pe=1<<19,Wr=1<<20,me=32768,dt=1<<21,ht=1<<22,ve=1<<23,vt=Symbol("$state"),Gr=Symbol("legacy props"),Se=new class extends Error{name="StaleReactionError";message="The reaction that called `getAbortSignal()` was re-run or destroyed"},bt=3,Me=8;function Jr(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function Kr(e){throw new Error("https://svelte.dev/e/effect_in_teardown")}function Xr(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function Zr(e){throw new Error("https://svelte.dev/e/effect_orphan")}function Qr(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function en(){throw new Error("https://svelte.dev/e/hydration_failed")}function tn(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function rn(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function nn(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function sn(){throw new Error("https://svelte.dev/e/svelte_boundary_reset_onerror")}function Ke(e){console.warn("https://svelte.dev/e/hydration_mismatch")}function ln(){console.warn("https://svelte.dev/e/svelte_boundary_reset_noop")}let x=!1;function Ne(e){x=e}let $;function W(e){if(e===null)throw Ke(),xe;return $=e}function _t(){return W(fe($))}function w(e){if(x){if(fe($)!==null)throw Ke(),xe;$=e}}function gt(e=1){if(x){for(var t=e,r=$;t--;)r=fe(r);$=r}}function Mt(e=!0){for(var t=0,r=$;;){if(r.nodeType===Me){var n=r.data;if(n===At){if(t===0)return r;t-=1}else(n===Rt||n===ot)&&(t+=1)}var i=fe(r);e&&r.remove(),r=i}}function an(e){if(!e||e.nodeType!==Me)throw Ke(),xe;return e.data}function Ft(e){return e===this.v}function on(e,t){return e!=e?t==t:e!==t||e!==null&&typeof e=="object"||typeof e=="function"}function fn(e){return!on(e,this.v)}let un=!1,z=null;function Re(e){z=e}function jt(e,t=!1,r){z={p:z,i:!1,c:null,e:null,s:e,x:null,l:null}}function It(e){var t=z,r=t.e;if(r!==null){t.e=null;for(var n of r)nr(n)}return e!==void 0&&(t.x=e),t.i=!0,z=t.p,e??{}}function zt(){return!0}let we=[];function qt(){var e=we;we=[],Hr(e)}function pt(e){if(we.length===0&&!Fe){var t=we;queueMicrotask(()=>{t===we&&qt()})}we.push(e)}function cn(){for(;we.length>0;)qt()}function Bt(e){var t=p;if(t===null)return g.f|=ve,e;if((t.f&Je)===0){if((t.f&Ge)===0)throw e;t.b.error(e)}else Ae(e,t)}function Ae(e,t){for(;t!==null;){if((t.f&Ge)!==0)try{t.b.error(e);return}catch(r){e=r}t=t.parent}throw e}const Xe=new Set;let E=null,q=null,B=[],Ze=null,mt=!1,Fe=!1;class G{committed=!1;current=new Map;previous=new Map;#t=new Set;#e=new Set;#r=0;#n=0;#o=null;#s=[];#i=[];skipped_effects=new Set;is_fork=!1;is_deferred(){return this.is_fork||this.#n>0}process(t){B=[],this.apply();var r={parent:null,effect:null,effects:[],render_effects:[],block_effects:[]};for(const n of t)this.#l(n,r);this.is_fork||this.#u(),this.is_deferred()?(this.#a(r.effects),this.#a(r.render_effects),this.#a(r.block_effects)):(E=null,Vt(r.render_effects),Vt(r.effects),this.#o?.resolve()),q=null}#l(t,r){t.f^=N;for(var n=t.first;n!==null;){var i=n.f,s=(i&(ie|he))!==0,l=s&&(i&N)!==0,a=l||(i&K)!==0||this.skipped_effects.has(n);if((n.f&Ge)!==0&&n.b?.is_pending()&&(r={parent:r,effect:n,effects:[],render_effects:[],block_effects:[]}),!a&&n.fn!==null){s?n.f^=N:(i&ut)!==0?r.effects.push(n):Be(n)&&((n.f&ne)!==0&&r.block_effects.push(n),Ue(n));var o=n.first;if(o!==null){n=o;continue}}var f=n.parent;for(n=n.next;n===null&&f!==null;)f===r.effect&&(this.#a(r.effects),this.#a(r.render_effects),this.#a(r.block_effects),r=r.parent),n=f.next,f=f.parent}}#a(t){for(const r of t)((r.f&L)!==0?this.#s:this.#i).push(r),this.#f(r.deps),R(r,N)}#f(t){if(t!==null)for(const r of t)(r.f&C)===0||(r.f&me)===0||(r.f^=me,this.#f(r.deps))}capture(t,r){this.previous.has(t)||this.previous.set(t,r),(t.f&ve)===0&&(this.current.set(t,t.v),q?.set(t,t.v))}activate(){E=this,this.apply()}deactivate(){E===this&&(E=null,q=null)}flush(){if(this.activate(),B.length>0){if(Ut(),E!==null&&E!==this)return}else this.#r===0&&this.process([]);this.deactivate()}discard(){for(const t of this.#e)t(this);this.#e.clear()}#u(){if(this.#n===0){for(const t of this.#t)t();this.#t.clear()}this.#r===0&&this.#c()}#c(){if(Xe.size>1){this.previous.clear();var t=q,r=!0,n={parent:null,effect:null,effects:[],render_effects:[],block_effects:[]};for(const s of Xe){if(s===this){r=!1;continue}const l=[];for(const[o,f]of this.current){if(s.current.has(o))if(r&&f!==s.current.get(o))s.current.set(o,f);else continue;l.push(o)}if(l.length===0)continue;const a=[...s.current.keys()].filter(o=>!this.current.has(o));if(a.length>0){var i=B;B=[];const o=new Set,f=new Map;for(const c of l)Yt(c,a,o,f);if(B.length>0){E=s,s.apply();for(const c of B)s.#l(c,n);s.deactivate()}B=i}}E=null,q=t}this.committed=!0,Xe.delete(this)}increment(t){this.#r+=1,t&&(this.#n+=1)}decrement(t){this.#r-=1,t&&(this.#n-=1),this.revive()}revive(){for(const t of this.#s)R(t,L),ye(t);for(const t of this.#i)R(t,se),ye(t);this.#s=[],this.#i=[],this.flush()}oncommit(t){this.#t.add(t)}ondiscard(t){this.#e.add(t)}settled(){return(this.#o??=Dt()).promise}static ensure(){if(E===null){const t=E=new G;Xe.add(E),Fe||G.enqueue(()=>{E===t&&t.flush()})}return E}static enqueue(t){pt(t)}apply(){}}function Oe(e){var t=Fe;Fe=!0;try{for(var r;;){if(cn(),B.length===0&&(E?.flush(),B.length===0))return Ze=null,r;Ut()}}finally{Fe=t}}function Ut(){var e=ge;mt=!0;var t=null;try{var r=0;for(rt(!0);B.length>0;){var n=G.ensure();if(r++>1e3){var i,s;dn()}n.process(B),be.clear()}}finally{mt=!1,rt(e),Ze=null}}function dn(){try{Qr()}catch(e){Ae(e,Ze)}}let ae=null;function Vt(e){var t=e.length;if(t!==0){for(var r=0;r<t;){var n=e[r++];if((n.f&(le|K))===0&&Be(n)&&(ae=new Set,Ue(n),n.deps===null&&n.first===null&&n.nodes_start===null&&(n.teardown===null&&n.ac===null?or(n):n.fn=null),ae?.size>0)){be.clear();for(const i of ae){if((i.f&(le|K))!==0)continue;const s=[i];let l=i.parent;for(;l!==null;)ae.has(l)&&(ae.delete(l),s.push(l)),l=l.parent;for(let a=s.length-1;a>=0;a--){const o=s[a];(o.f&(le|K))===0&&Ue(o)}}ae.clear()}}ae=null}}function Yt(e,t,r,n){if(!r.has(e)&&(r.add(e),e.reactions!==null))for(const i of e.reactions){const s=i.f;(s&C)!==0?Yt(i,t,r,n):(s&(ht|ne))!==0&&(s&L)===0&&Ht(i,t,n)&&(R(i,L),ye(i))}}function Ht(e,t,r){const n=r.get(e);if(n!==void 0)return n;if(e.deps!==null)for(const i of e.deps){if(t.includes(i))return!0;if((i.f&C)!==0&&Ht(i,t,r))return r.set(i,!0),!0}return r.set(e,!1),!1}function ye(e){for(var t=Ze=e;t.parent!==null;){t=t.parent;var r=t.f;if(mt&&t===p&&(r&ne)!==0&&(r&Lt)===0)return;if((r&(he|ie))!==0){if((r&N)===0)return;t.f^=N}}B.push(t)}function hn(e){let t=0,r=je(0),n;return()=>{tt()&&(D(r),ir(()=>(t===0&&(n=zn(()=>e(()=>Ie(r)))),t+=1,()=>{pt(()=>{t-=1,t===0&&(n?.(),n=void 0,Ie(r))})})))}}var vn=Ce|pe|Ge;function bn(e,t,r){new _n(e,t,r)}class _n{parent;#t=!1;#e;#r=x?$:null;#n;#o;#s;#i=null;#l=null;#a=null;#f=null;#u=null;#c=0;#d=0;#v=!1;#h=null;#m=hn(()=>(this.#h=je(this.#c),()=>{this.#h=null}));constructor(t,r,n){this.#e=t,this.#n=r,this.#o=n,this.parent=p.b,this.#t=!!this.#n.pending,this.#s=sr(()=>{if(p.b=this,x){const s=this.#r;_t(),s.nodeType===Me&&s.data===ot?this.#y():this.#w()}else{var i=this.#g();try{this.#i=ue(()=>n(i))}catch(s){this.error(s)}this.#d>0?this.#_():this.#t=!1}return()=>{this.#u?.remove()}},vn),x&&(this.#e=$)}#w(){try{this.#i=ue(()=>this.#o(this.#e))}catch(t){this.error(t)}this.#t=!1}#y(){const t=this.#n.pending;t&&(this.#l=ue(()=>t(this.#e)),G.enqueue(()=>{var r=this.#g();this.#i=this.#b(()=>(G.ensure(),ue(()=>this.#o(r)))),this.#d>0?this.#_():(ze(this.#l,()=>{this.#l=null}),this.#t=!1)}))}#g(){var t=this.#e;return this.#t&&(this.#u=_e(),this.#e.before(this.#u),t=this.#u),t}is_pending(){return this.#t||!!this.parent&&this.parent.is_pending()}has_pending_snippet(){return!!this.#n.pending}#b(t){var r=p,n=g,i=z;te(this.#s),F(this.#s),Re(this.#s.ctx);try{return t()}catch(s){return Bt(s),null}finally{te(r),F(n),Re(i)}}#_(){const t=this.#n.pending;this.#i!==null&&(this.#f=document.createDocumentFragment(),this.#f.append(this.#u),cr(this.#i,this.#f)),this.#l===null&&(this.#l=ue(()=>t(this.#e)))}#p(t){if(!this.has_pending_snippet()){this.parent&&this.parent.#p(t);return}this.#d+=t,this.#d===0&&(this.#t=!1,this.#l&&ze(this.#l,()=>{this.#l=null}),this.#f&&(this.#e.before(this.#f),this.#f=null))}update_pending_count(t){this.#p(t),this.#c+=t,this.#h&&et(this.#h,this.#c)}get_effect_pending(){return this.#m(),D(this.#h)}error(t){var r=this.#n.onerror;let n=this.#n.failed;if(this.#v||!r&&!n)throw t;this.#i&&(M(this.#i),this.#i=null),this.#l&&(M(this.#l),this.#l=null),this.#a&&(M(this.#a),this.#a=null),x&&(W(this.#r),gt(),W(Mt()));var i=!1,s=!1;const l=()=>{if(i){ln();return}i=!0,s&&sn(),G.ensure(),this.#c=0,this.#a!==null&&ze(this.#a,()=>{this.#a=null}),this.#t=this.has_pending_snippet(),this.#i=this.#b(()=>(this.#v=!1,ue(()=>this.#o(this.#e)))),this.#d>0?this.#_():this.#t=!1};var a=g;try{F(null),s=!0,r?.(t,l),s=!1}catch(o){Ae(o,this.#s&&this.#s.parent)}finally{F(a)}n&&pt(()=>{this.#a=this.#b(()=>{G.ensure(),this.#v=!0;try{return ue(()=>{n(this.#e,()=>t,()=>l)})}catch(o){return Ae(o,this.#s.parent),null}finally{this.#v=!1}})})}}function gn(e,t,r,n){const i=Wt;if(r.length===0&&e.length===0){n(t.map(i));return}var s=E,l=p,a=pn();function o(){Promise.all(r.map(f=>mn(f))).then(f=>{a();try{n([...t.map(i),...f])}catch(c){(l.f&le)===0&&Ae(c,l)}s?.deactivate(),Qe()}).catch(f=>{Ae(f,l)})}e.length>0?Promise.all(e).then(()=>{a();try{return o()}finally{s?.deactivate(),Qe()}}):o()}function pn(){var e=p,t=g,r=z,n=E;return function(s=!0){te(e),F(t),Re(r),s&&n?.activate()}}function Qe(){te(null),F(null),Re(null)}function Wt(e){var t=C|L,r=g!==null&&(g.f&C)!==0?g:null;return p!==null&&(p.f|=pe),{ctx:z,deps:null,effects:null,equals:Ft,f:t,fn:e,reactions:null,rv:0,v:S,wv:0,parent:r??p,ac:null}}function mn(e,t){let r=p;r===null&&Jr();var n=r.b,i=void 0,s=je(S),l=!g,a=new Map;return On(()=>{var o=Dt();i=o.promise;try{Promise.resolve(e()).then(o.resolve,o.reject).then(()=>{f===E&&f.committed&&f.deactivate(),Qe()})}catch(u){o.reject(u),Qe()}var f=E;if(l){var c=!n.is_pending();n.update_pending_count(1),f.increment(c),a.get(f)?.reject(Se),a.delete(f),a.set(f,o)}const h=(u,d=void 0)=>{if(f.activate(),d)d!==Se&&(s.f|=ve,et(s,d));else{(s.f&ve)!==0&&(s.f^=ve),et(s,u);for(const[m,J]of a){if(a.delete(m),m===f)break;J.reject(Se)}}l&&(n.update_pending_count(-1),f.decrement(c))};o.promise.then(h,u=>h(null,u||"unknown"))}),Cn(()=>{for(const o of a.values())o.reject(Se)}),new Promise(o=>{function f(c){function h(){c===i?o(s):f(i)}c.then(h,h)}f(i)})}function Gt(e){var t=e.effects;if(t!==null){e.effects=null;for(var r=0;r<t.length;r+=1)M(t[r])}}function wn(e){for(var t=e.parent;t!==null;){if((t.f&C)===0)return(t.f&le)===0?t:null;t=t.parent}return null}function wt(e){var t,r=p;te(wn(e));try{e.f&=~me,Gt(e),t=gr(e)}finally{te(r)}return t}function Jt(e){var t=wt(e);if(e.equals(t)||(E?.is_fork||(e.v=t),e.wv=br()),!$e)if(q!==null)tt()&&q.set(e,t);else{var r=(e.f&H)===0?se:N;R(e,r)}}let yt=new Set;const be=new Map;let Kt=!1;function je(e,t){var r={f:0,v:e,reactions:null,equals:Ft,rv:0,wv:0};return r}function oe(e,t){const r=je(e);return Fn(r),r}function yn(e,t=!1,r=!0){const n=je(e);return t||(n.equals=fn),n}function X(e,t,r=!1){g!==null&&(!ee||(g.f&Pt)!==0)&&zt()&&(g.f&(C|ne|ht|Pt))!==0&&!ce?.includes(e)&&nn();let n=r?De(t):t;return et(e,n)}function et(e,t){if(!e.equals(t)){var r=e.v;$e?be.set(e,t):be.set(e,r),e.v=t;var n=G.ensure();n.capture(e,r),(e.f&C)!==0&&((e.f&L)!==0&&wt(e),R(e,(e.f&H)!==0?N:se)),e.wv=br(),Xt(e,L),p!==null&&(p.f&N)!==0&&(p.f&(ie|he))===0&&(U===null?jn([e]):U.push(e)),!n.is_fork&&yt.size>0&&!Kt&&$n()}return t}function $n(){Kt=!1;var e=ge;rt(!0);const t=Array.from(yt);try{for(const r of t)(r.f&N)!==0&&R(r,se),Be(r)&&Ue(r)}finally{rt(e)}yt.clear()}function Ie(e){X(e,e.v+1)}function Xt(e,t){var r=e.reactions;if(r!==null)for(var n=r.length,i=0;i<n;i++){var s=r[i],l=s.f,a=(l&L)===0;if(a&&R(s,t),(l&C)!==0){var o=s;q?.delete(o),(l&me)===0&&(l&H&&(s.f|=me),Xt(o,se))}else a&&((l&ne)!==0&&ae!==null&&ae.add(s),ye(s))}}function De(e){if(typeof e!="object"||e===null||vt in e)return e;const t=Yr(e);if(t!==Ur&&t!==Vr)return e;var r=new Map,n=zr(e),i=oe(0),s=ke,l=a=>{if(ke===s)return a();var o=g,f=ke;F(null),vr(s);var c=a();return F(o),vr(f),c};return n&&r.set("length",oe(e.length)),new Proxy(e,{defineProperty(a,o,f){(!("value"in f)||f.configurable===!1||f.enumerable===!1||f.writable===!1)&&tn();var c=r.get(o);return c===void 0?c=l(()=>{var h=oe(f.value);return r.set(o,h),h}):X(c,f.value,!0),!0},deleteProperty(a,o){var f=r.get(o);if(f===void 0){if(o in a){const c=l(()=>oe(S));r.set(o,c),Ie(i)}}else X(f,S),Ie(i);return!0},get(a,o,f){if(o===vt)return e;var c=r.get(o),h=o in a;if(c===void 0&&(!h||Te(a,o)?.writable)&&(c=l(()=>{var d=De(h?a[o]:S),m=oe(d);return m}),r.set(o,c)),c!==void 0){var u=D(c);return u===S?void 0:u}return Reflect.get(a,o,f)},getOwnPropertyDescriptor(a,o){var f=Reflect.getOwnPropertyDescriptor(a,o);if(f&&"value"in f){var c=r.get(o);c&&(f.value=D(c))}else if(f===void 0){var h=r.get(o),u=h?.v;if(h!==void 0&&u!==S)return{enumerable:!0,configurable:!0,value:u,writable:!0}}return f},has(a,o){if(o===vt)return!0;var f=r.get(o),c=f!==void 0&&f.v!==S||Reflect.has(a,o);if(f!==void 0||p!==null&&(!c||Te(a,o)?.writable)){f===void 0&&(f=l(()=>{var u=c?De(a[o]):S,d=oe(u);return d}),r.set(o,f));var h=D(f);if(h===S)return!1}return c},set(a,o,f,c){var h=r.get(o),u=o in a;if(n&&o==="length")for(var d=f;d<h.v;d+=1){var m=r.get(d+"");m!==void 0?X(m,S):d in a&&(m=l(()=>oe(S)),r.set(d+"",m))}if(h===void 0)(!u||Te(a,o)?.writable)&&(h=l(()=>oe(void 0)),X(h,De(f)),r.set(o,h));else{u=h.v!==S;var J=l(()=>De(f));X(h,J)}var de=Reflect.getOwnPropertyDescriptor(a,o);if(de?.set&&de.set.call(c,f),!u){if(n&&typeof o=="string"){var k=r.get("length"),Y=Number(o);Number.isInteger(Y)&&Y>=k.v&&X(k,Y+1)}Ie(i)}return!0},ownKeys(a){D(i);var o=Reflect.ownKeys(a).filter(h=>{var u=r.get(h);return u===void 0||u.v!==S});for(var[f,c]of r)c.v!==S&&!(f in a)&&o.push(f);return o},setPrototypeOf(){rn()}})}var Zt,Qt,er,tr;function $t(){if(Zt===void 0){Zt=window,Qt=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,r=Text.prototype;er=Te(t,"firstChild").get,tr=Te(t,"nextSibling").get,Ot(e)&&(e.__click=void 0,e.__className=void 0,e.__attributes=null,e.__style=void 0,e.__e=void 0),Ot(r)&&(r.__t=void 0)}}function _e(e=""){return document.createTextNode(e)}function Pe(e){return er.call(e)}function fe(e){return tr.call(e)}function y(e,t){if(!x)return Pe(e);var r=Pe($);if(r===null)r=$.appendChild(_e());else if(t&&r.nodeType!==bt){var n=_e();return r?.before(n),W(n),n}return W(r),r}function kt(e,t=!1){if(!x){var r=Pe(e);return r instanceof Comment&&r.data===""?fe(r):r}if(t&&$?.nodeType!==bt){var n=_e();return $?.before(n),W(n),n}return $}function j(e,t=1,r=!1){let n=x?$:e;for(var i;t--;)i=n,n=fe(n);if(!x)return n;if(r&&n?.nodeType!==bt){var s=_e();return n===null?i?.after(s):n.before(s),W(s),s}return W(n),n}function kn(e){e.textContent=""}function En(){return!1}function rr(e){var t=g,r=p;F(null),te(null);try{return e()}finally{F(t),te(r)}}function xn(e){p===null&&(g===null&&Zr(),Xr()),$e&&Kr()}function Tn(e,t){var r=t.last;r===null?t.last=t.first=e:(r.next=e,e.prev=r,t.last=e)}function Z(e,t,r){var n=p;n!==null&&(n.f&K)!==0&&(e|=K);var i={ctx:z,deps:null,nodes_start:null,nodes_end:null,f:e|L|H,first:null,fn:t,last:null,next:null,parent:n,b:n&&n.b,prev:null,teardown:null,transitions:null,wv:0,ac:null};if(r)try{Ue(i),i.f|=Je}catch(a){throw M(i),a}else t!==null&&ye(i);var s=i;if(r&&s.deps===null&&s.teardown===null&&s.nodes_start===null&&s.first===s.last&&(s.f&pe)===0&&(s=s.first,(e&ne)!==0&&(e&Ce)!==0&&s!==null&&(s.f|=Ce)),s!==null&&(s.parent=n,n!==null&&Tn(s,n),g!==null&&(g.f&C)!==0&&(e&he)===0)){var l=g;(l.effects??=[]).push(s)}return i}function tt(){return g!==null&&!ee}function Cn(e){const t=Z(ct,null,!1);return R(t,N),t.teardown=e,t}function Sn(e){xn();var t=p.f,r=!g&&(t&ie)!==0&&(t&Je)===0;if(r){var n=z;(n.e??=[]).push(e)}else return nr(e)}function nr(e){return Z(ut|Wr,e,!1)}function Nn(e){G.ensure();const t=Z(he|pe,e,!0);return()=>{M(t)}}function Rn(e){G.ensure();const t=Z(he|pe,e,!0);return(r={})=>new Promise(n=>{r.outro?ze(t,()=>{M(t),n(void 0)}):(M(t),n(void 0))})}function An(e){return Z(ut,e,!1)}function On(e){return Z(ht|pe,e,!0)}function ir(e,t=0){return Z(ct|t,e,!0)}function Q(e,t=[],r=[],n=[]){gn(n,t,r,i=>{Z(ct,()=>e(...i.map(D)),!0)})}function sr(e,t=0){var r=Z(ne|t,e,!0);return r}function ue(e){return Z(ie|pe,e,!0)}function lr(e){var t=e.teardown;if(t!==null){const r=$e,n=g;dr(!0),F(null);try{t.call(null)}finally{dr(r),F(n)}}}function ar(e,t=!1){var r=e.first;for(e.first=e.last=null;r!==null;){const i=r.ac;i!==null&&rr(()=>{i.abort(Se)});var n=r.next;(r.f&he)!==0?r.parent=null:M(r,t),r=n}}function Dn(e){for(var t=e.first;t!==null;){var r=t.next;(t.f&ie)===0&&M(t),t=r}}function M(e,t=!0){var r=!1;(t||(e.f&Lt)!==0)&&e.nodes_start!==null&&e.nodes_end!==null&&(Pn(e.nodes_start,e.nodes_end),r=!0),ar(e,t&&!r),nt(e,0),R(e,le);var n=e.transitions;if(n!==null)for(const s of n)s.stop();lr(e);var i=e.parent;i!==null&&i.first!==null&&or(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes_start=e.nodes_end=e.ac=null}function Pn(e,t){for(;e!==null;){var r=e===t?null:fe(e);e.remove(),e=r}}function or(e){var t=e.parent,r=e.prev,n=e.next;r!==null&&(r.next=n),n!==null&&(n.prev=r),t!==null&&(t.first===e&&(t.first=n),t.last===e&&(t.last=r))}function ze(e,t,r=!0){var n=[];fr(e,n,!0),Ln(n,()=>{r&&M(e),t&&t()})}function Ln(e,t){var r=e.length;if(r>0){var n=()=>--r||t();for(var i of e)i.out(n)}else t()}function fr(e,t,r){if((e.f&K)===0){if(e.f^=K,e.transitions!==null)for(const l of e.transitions)(l.is_global||r)&&t.push(l);for(var n=e.first;n!==null;){var i=n.next,s=(n.f&Ce)!==0||(n.f&ie)!==0&&(e.f&ne)!==0;fr(n,t,s?r:!1),n=i}}}function Mn(e){ur(e,!0)}function ur(e,t){if((e.f&K)!==0){e.f^=K,(e.f&N)===0&&(R(e,L),ye(e));for(var r=e.first;r!==null;){var n=r.next,i=(r.f&Ce)!==0||(r.f&ie)!==0;ur(r,i?t:!1),r=n}if(e.transitions!==null)for(const s of e.transitions)(s.is_global||t)&&s.in()}}function cr(e,t){for(var r=e.nodes_start,n=e.nodes_end;r!==null;){var i=r===n?null:fe(r);t.append(r),r=i}}let ge=!1;function rt(e){ge=e}let $e=!1;function dr(e){$e=e}let g=null,ee=!1;function F(e){g=e}let p=null;function te(e){p=e}let ce=null;function Fn(e){g!==null&&(ce===null?ce=[e]:ce.push(e))}let O=null,I=0,U=null;function jn(e){U=e}let hr=1,qe=0,ke=qe;function vr(e){ke=e}function br(){return++hr}function Be(e){var t=e.f;if((t&L)!==0)return!0;if(t&C&&(e.f&=~me),(t&se)!==0){var r=e.deps;if(r!==null)for(var n=r.length,i=0;i<n;i++){var s=r[i];if(Be(s)&&Jt(s),s.wv>e.wv)return!0}(t&H)!==0&&q===null&&R(e,N)}return!1}function _r(e,t,r=!0){var n=e.reactions;if(n!==null&&!ce?.includes(e))for(var i=0;i<n.length;i++){var s=n[i];(s.f&C)!==0?_r(s,t,!1):t===s&&(r?R(s,L):(s.f&N)!==0&&R(s,se),ye(s))}}function gr(e){var t=O,r=I,n=U,i=g,s=ce,l=z,a=ee,o=ke,f=e.f;O=null,I=0,U=null,g=(f&(ie|he))===0?e:null,ce=null,Re(e.ctx),ee=!1,ke=++qe,e.ac!==null&&(rr(()=>{e.ac.abort(Se)}),e.ac=null);try{e.f|=dt;var c=e.fn,h=c(),u=e.deps;if(O!==null){var d;if(nt(e,I),u!==null&&I>0)for(u.length=I+O.length,d=0;d<O.length;d++)u[I+d]=O[d];else e.deps=u=O;if(ge&&tt()&&(e.f&H)!==0)for(d=I;d<u.length;d++)(u[d].reactions??=[]).push(e)}else u!==null&&I<u.length&&(nt(e,I),u.length=I);if(zt()&&U!==null&&!ee&&u!==null&&(e.f&(C|se|L))===0)for(d=0;d<U.length;d++)_r(U[d],e);return i!==null&&i!==e&&(qe++,U!==null&&(n===null?n=U:n.push(...U))),(e.f&ve)!==0&&(e.f^=ve),h}catch(m){return Bt(m)}finally{e.f^=dt,O=t,I=r,U=n,g=i,ce=s,Re(l),ee=a,ke=o}}function In(e,t){let r=t.reactions;if(r!==null){var n=qr.call(r,e);if(n!==-1){var i=r.length-1;i===0?r=t.reactions=null:(r[n]=r[i],r.pop())}}r===null&&(t.f&C)!==0&&(O===null||!O.includes(t))&&(R(t,se),(t.f&H)!==0&&(t.f^=H,t.f&=~me),Gt(t),nt(t,0))}function nt(e,t){var r=e.deps;if(r!==null)for(var n=t;n<r.length;n++)In(e,r[n])}function Ue(e){var t=e.f;if((t&le)===0){R(e,N);var r=p,n=ge;p=e,ge=!0;try{(t&ne)!==0?Dn(e):ar(e),lr(e);var i=gr(e);e.teardown=typeof i=="function"?i:null,e.wv=hr;var s;ft&&un&&(e.f&L)!==0&&e.deps}finally{ge=n,p=r}}}function D(e){var t=e.f,r=(t&C)!==0;if(g!==null&&!ee){var n=p!==null&&(p.f&le)!==0;if(!n&&!ce?.includes(e)){var i=g.deps;if((g.f&dt)!==0)e.rv<qe&&(e.rv=qe,O===null&&i!==null&&i[I]===e?I++:O===null?O=[e]:O.includes(e)||O.push(e));else{(g.deps??=[]).push(e);var s=e.reactions;s===null?e.reactions=[g]:s.includes(g)||s.push(g)}}}if($e){if(be.has(e))return be.get(e);if(r){var l=e,a=l.v;return((l.f&N)===0&&l.reactions!==null||mr(l))&&(a=wt(l)),be.set(l,a),a}}else r&&!q?.has(e)&&(l=e,Be(l)&&Jt(l),ge&&tt()&&(l.f&H)===0&&pr(l));if(q?.has(e))return q.get(e);if((e.f&ve)!==0)throw e.v;return e.v}function pr(e){if(e.deps!==null){e.f^=H;for(const t of e.deps)(t.reactions??=[]).push(e),(t.f&C)!==0&&(t.f&H)===0&&pr(t)}}function mr(e){if(e.v===S)return!0;if(e.deps===null)return!1;for(const t of e.deps)if(be.has(t)||(t.f&C)!==0&&mr(t))return!0;return!1}function zn(e){var t=ee;try{return ee=!0,e()}finally{ee=t}}const qn=-7169;function R(e,t){e.f=e.f&qn|t}const wr=new Set,Et=new Set;function Bn(e){for(var t=0;t<e.length;t++)wr.add(e[t]);for(var r of Et)r(e)}let yr=null;function it(e){var t=this,r=t.ownerDocument,n=e.type,i=e.composedPath?.()||[],s=i[0]||e.target;yr=e;var l=0,a=yr===e&&e.__root;if(a){var o=i.indexOf(a);if(o!==-1&&(t===document||t===window)){e.__root=t;return}var f=i.indexOf(t);if(f===-1)return;o<=f&&(l=o)}if(s=i[l]||e.target,s!==t){We(e,"currentTarget",{configurable:!0,get(){return s||r}});var c=g,h=p;F(null),te(null);try{for(var u,d=[];s!==null;){var m=s.assignedSlot||s.parentNode||s.host||null;try{var J=s["__"+n];J!=null&&(!s.disabled||e.target===s)&&J.call(s,e)}catch(de){u?d.push(de):u=de}if(e.cancelBubble||m===t||m===null)break;s=m}if(u){for(let de of d)queueMicrotask(()=>{throw de});throw u}}finally{e.__root=t,delete e.currentTarget,F(c),te(h)}}}function Un(e){var t=document.createElement("template");return t.innerHTML=e.replaceAll("<!>","<!---->"),t.content}function st(e,t){var r=p;r.nodes_start===null&&(r.nodes_start=e,r.nodes_end=t)}function P(e,t){var r=(t&jr)!==0,n=(t&Ir)!==0,i,s=!e.startsWith("<!>");return()=>{if(x)return st($,null),$;i===void 0&&(i=Un(s?e:"<!>"+e),r||(i=Pe(i)));var l=n||Qt?document.importNode(i,!0):i.cloneNode(!0);if(r){var a=Pe(l),o=l.lastChild;st(a,o)}else st(l,l);return l}}function A(e,t){if(x){var r=p;((r.f&Je)===0||r.nodes_end===null)&&(r.nodes_end=$),_t();return}e!==null&&e.before(t)}const Vn=["touchstart","touchmove"];function Yn(e){return Vn.includes(e)}function re(e,t){var r=t==null?"":typeof t=="object"?t+"":t;r!==(e.__t??=e.nodeValue)&&(e.__t=r,e.nodeValue=r+"")}function $r(e,t){return kr(e,t)}function Hn(e,t){$t(),t.intro=t.intro??!1;const r=t.target,n=x,i=$;try{for(var s=Pe(r);s&&(s.nodeType!==Me||s.data!==Rt);)s=fe(s);if(!s)throw xe;Ne(!0),W(s);const l=kr(e,{...t,anchor:s});return Ne(!1),l}catch(l){if(l instanceof Error&&l.message.split(`
|
|
2
|
-
`).some(a=>a.startsWith("https://svelte.dev/e/")))throw l;return l!==xe&&console.warn("Failed to hydrate: ",l),t.recover===!1&&en(),$t(),kn(r),Ne(!1),$r(e,t)}finally{Ne(n),W(i)}}const Le=new Map;function kr(e,{target:t,anchor:r,props:n={},events:i,context:s,intro:l=!0}){$t();var a=new Set,o=h=>{for(var u=0;u<h.length;u++){var d=h[u];if(!a.has(d)){a.add(d);var m=Yn(d);t.addEventListener(d,it,{passive:m});var J=Le.get(d);J===void 0?(document.addEventListener(d,it,{passive:m}),Le.set(d,1)):Le.set(d,J+1)}}};o(Br(wr)),Et.add(o);var f=void 0,c=Rn(()=>{var h=r??t.appendChild(_e());return bn(h,{pending:()=>{}},u=>{if(s){jt({});var d=z;d.c=s}if(i&&(n.$$events=i),x&&st(u,null),f=e(u,n)||{},x&&(p.nodes_end=$,$===null||$.nodeType!==Me||$.data!==At))throw Ke(),xe;s&&It()}),()=>{for(var u of a){t.removeEventListener(u,it);var d=Le.get(u);--d===0?(document.removeEventListener(u,it),Le.delete(u)):Le.set(u,d)}Et.delete(o),h!==r&&h.parentNode?.removeChild(h)}});return xt.set(f,c),f}let xt=new WeakMap;function Wn(e,t){const r=xt.get(e);return r?(xt.delete(e),r(t)):Promise.resolve()}class Gn{anchor;#t=new Map;#e=new Map;#r=new Map;#n=new Set;#o=!0;constructor(t,r=!0){this.anchor=t,this.#o=r}#s=()=>{var t=E;if(this.#t.has(t)){var r=this.#t.get(t),n=this.#e.get(r);if(n)Mn(n),this.#n.delete(r);else{var i=this.#r.get(r);i&&(this.#e.set(r,i.effect),this.#r.delete(r),i.fragment.lastChild.remove(),this.anchor.before(i.fragment),n=i.effect)}for(const[s,l]of this.#t){if(this.#t.delete(s),s===t)break;const a=this.#r.get(l);a&&(M(a.effect),this.#r.delete(l))}for(const[s,l]of this.#e){if(s===r||this.#n.has(s))continue;const a=()=>{if(Array.from(this.#t.values()).includes(s)){var f=document.createDocumentFragment();cr(l,f),f.append(_e()),this.#r.set(s,{effect:l,fragment:f})}else M(l);this.#n.delete(s),this.#e.delete(s)};this.#o||!n?(this.#n.add(s),ze(l,a,!1)):a()}}};#i=t=>{this.#t.delete(t);const r=Array.from(this.#t.values());for(const[n,i]of this.#r)r.includes(n)||(M(i.effect),this.#r.delete(n))};ensure(t,r){var n=E,i=En();if(r&&!this.#e.has(t)&&!this.#r.has(t))if(i){var s=document.createDocumentFragment(),l=_e();s.append(l),this.#r.set(t,{effect:ue(()=>r(l)),fragment:s})}else this.#e.set(t,ue(()=>r(this.anchor)));if(this.#t.set(n,t),i){for(const[a,o]of this.#e)a===t?n.skipped_effects.delete(o):n.skipped_effects.add(o);for(const[a,o]of this.#r)a===t?n.skipped_effects.delete(o.effect):n.skipped_effects.add(o.effect);n.oncommit(this.#s),n.ondiscard(this.#i)}else x&&(this.anchor=$),this.#s()}}function V(e,t,r=!1){x&&_t();var n=new Gn(e),i=r?Ce:0;function s(l,a){if(x){const f=an(e)===ot;if(l===f){var o=Mt();W(o),n.anchor=o,Ne(!1),n.ensure(l,a),Ne(!0);return}}n.ensure(l,a)}sr(()=>{var l=!1;t((a,o=!0)=>{l=!0,s(o,a)}),l||s(!1,null)},i)}function Jn(e,t){An(()=>{var r=e.getRootNode(),n=r.host?r:r.head??r.ownerDocument.head;if(!n.querySelector("#"+t.hash)){const i=document.createElement("style");i.id=t.hash,i.textContent=t.code,n.appendChild(i)}})}function Ve(e,t,r,n){var i=n,s=!0,l=()=>(s&&(s=!1,i=n),i),a;a=e[t],a===void 0&&n!==void 0&&(a=l());var o;o=()=>{var u=e[t];return u===void 0?l():(s=!0,u)};var f=!1,c=Wt(()=>(f=!1,o())),h=p;return(function(u,d){if(arguments.length>0){const m=d?D(c):u;return X(c,m),f=!0,i!==void 0&&(i=m),u}return $e&&f||(h.f&le)!==0?c.v:D(c)})}function Kn(e){return new Xn(e)}class Xn{#t;#e;constructor(t){var r=new Map,n=(s,l)=>{var a=yn(l,!1,!1);return r.set(s,a),a};const i=new Proxy({...t.props||{},$$events:{}},{get(s,l){return D(r.get(l)??n(l,Reflect.get(s,l)))},has(s,l){return l===Gr?!0:(D(r.get(l)??n(l,Reflect.get(s,l))),Reflect.has(s,l))},set(s,l,a){return X(r.get(l)??n(l,a),a),Reflect.set(s,l,a)}});this.#e=(t.hydrate?Hn:$r)(t.component,{target:t.target,anchor:t.anchor,props:i,context:t.context,intro:t.intro??!1,recover:t.recover}),(!t?.props?.$$host||t.sync===!1)&&Oe(),this.#t=i.$$events;for(const s of Object.keys(this.#e))s==="$set"||s==="$destroy"||s==="$on"||We(this,s,{get(){return this.#e[s]},set(l){this.#e[s]=l},enumerable:!0});this.#e.$set=s=>{Object.assign(i,s)},this.#e.$destroy=()=>{Wn(this.#e)}}$set(t){this.#e.$set(t)}$on(t,r){this.#t[t]=this.#t[t]||[];const n=(...i)=>r.call(this,...i);return this.#t[t].push(n),()=>{this.#t[t]=this.#t[t].filter(i=>i!==n)}}$destroy(){this.#e.$destroy()}}let Er;typeof HTMLElement=="function"&&(Er=class extends HTMLElement{$$ctor;$$s;$$c;$$cn=!1;$$d={};$$r=!1;$$p_d={};$$l={};$$l_u=new Map;$$me;constructor(e,t,r){super(),this.$$ctor=e,this.$$s=t,r&&this.attachShadow({mode:"open"})}addEventListener(e,t,r){if(this.$$l[e]=this.$$l[e]||[],this.$$l[e].push(t),this.$$c){const n=this.$$c.$on(e,t);this.$$l_u.set(t,n)}super.addEventListener(e,t,r)}removeEventListener(e,t,r){if(super.removeEventListener(e,t,r),this.$$c){const n=this.$$l_u.get(t);n&&(n(),this.$$l_u.delete(t))}}async connectedCallback(){if(this.$$cn=!0,!this.$$c){let e=function(n){return i=>{const s=document.createElement("slot");n!=="default"&&(s.name=n),A(i,s)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const t={},r=Zn(this);for(const n of this.$$s)n in r&&(n==="default"&&!this.$$d.children?(this.$$d.children=e(n),t.default=!0):t[n]=e(n));for(const n of this.attributes){const i=this.$$g_p(n.name);i in this.$$d||(this.$$d[i]=lt(i,n.value,this.$$p_d,"toProp"))}for(const n in this.$$p_d)!(n in this.$$d)&&this[n]!==void 0&&(this.$$d[n]=this[n],delete this[n]);this.$$c=Kn({component:this.$$ctor,target:this.shadowRoot||this,props:{...this.$$d,$$slots:t,$$host:this}}),this.$$me=Nn(()=>{ir(()=>{this.$$r=!0;for(const n of He(this.$$c)){if(!this.$$p_d[n]?.reflect)continue;this.$$d[n]=this.$$c[n];const i=lt(n,this.$$d[n],this.$$p_d,"toAttribute");i==null?this.removeAttribute(this.$$p_d[n].attribute||n):this.setAttribute(this.$$p_d[n].attribute||n,i)}this.$$r=!1})});for(const n in this.$$l)for(const i of this.$$l[n]){const s=this.$$c.$on(n,i);this.$$l_u.set(i,s)}this.$$l={}}}attributeChangedCallback(e,t,r){this.$$r||(e=this.$$g_p(e),this.$$d[e]=lt(e,r,this.$$p_d,"toProp"),this.$$c?.$set({[e]:this.$$d[e]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$me(),this.$$c=void 0)})}$$g_p(e){return He(this.$$p_d).find(t=>this.$$p_d[t].attribute===e||!this.$$p_d[t].attribute&&t.toLowerCase()===e)||e}});function lt(e,t,r,n){const i=r[e]?.type;if(t=i==="Boolean"&&typeof t!="boolean"?t!=null:t,!n||!r[e])return t;if(n==="toAttribute")switch(i){case"Object":case"Array":return t==null?null:JSON.stringify(t);case"Boolean":return t?"":null;case"Number":return t??null;default:return t}else switch(i){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function Zn(e){const t={};return e.childNodes.forEach(r=>{t[r.slot||"default"]=!0}),t}function Qn(e,t,r,n,i,s){let l=class extends Er{constructor(){super(e,r,i),this.$$p_d=t}static get observedAttributes(){return He(t).map(a=>(t[a].attribute||a).toLowerCase())}};return He(t).forEach(a=>{We(l.prototype,a,{get(){return this.$$c&&a in this.$$c?this.$$c[a]:this.$$d[a]},set(o){o=lt(a,o,t),this.$$d[a]=o;var f=this.$$c;if(f){var c=Te(f,a)?.get;c?f[a]=o:f.$set({[a]:o})}}})}),n.forEach(a=>{We(l.prototype,a,{get(){return this.$$c?.[a]}})}),e.element=l,l}var Ee={},xr;function ei(){if(xr)return Ee;xr=1,Object.defineProperty(Ee,"__esModule",{value:!0}),Ee.LanguageTranslator=void 0,Ee.getChildStyleToPass=e,Ee.addComponent=t;function e(n,i){var s,l,a="";try{if(n&&i?.length&&(!((s=Object.keys(n))===null||s===void 0)&&s.length)&&(!((l=i?.filter(function(u){return Object.keys(n).includes(u.name)}))===null||l===void 0)&&l.length))for(var o=function(u){var d=i?.filter(function(m){return m.name===u&&m.defaultValue!==n[u]});d&&(a+="".concat(u,":").concat(n[u],";"))},f=0,c=Object.keys(n);f<c.length;f++){var h=c[f];o(h)}}catch(u){console.error("error getting child style to pass",u)}finally{return a}}function t(n){var i,s=((i=n?.repoName.split("/"))===null||i===void 0?void 0:i[1])||n?.repoName;if(!s)throw new Error("wrong componentPath "+n?.repoName);if(!n?.version)throw new Error("wrong version "+n?.version);var l=n?.iifePath||"main.iife.js";if(!document.getElementById(s+"-script"))try{var a=document.createElement("script");if(a.id=s+"-script",a.src="https://cdn.jsdelivr.net/npm/".concat(n.repoName,"@").concat(n.version,"/").concat(l),n?.local)a.src="".concat(n.local);else if(location.href.includes("localhost:6006")){var o=s.split("-")[0];a.src="http://localhost:6006/webcomponents/".concat(s.replace(o+"-",""),"/").concat(l)}document.head.appendChild(a)}catch(f){console.warn(f)}}var r=(function(){function n(i){if(this.lang="",!i?.dictionary)throw new Error("no dictionary provided");this.dictionary=i.dictionary,this.setLang(i?.lang)}return n.prototype.setLang=function(i){i||(i=n.getDefaultLang()),this.lang=i},n.prototype.translateWord=function(i,s){return n.getDictionaryWord(i,this.dictionary,s||this.lang)},n.prototype.translateDate=function(i,s,l){return n.formatDate(i,s,l||this.lang)},n.getDefaultLang=function(){var i,s,l,a="en";return navigator?.languages&&(!((l=(s=(i=navigator.languages[0])===null||i===void 0?void 0:i.split("-")[0])===null||s===void 0?void 0:s.toLowerCase())===null||l===void 0)&&l.length)&&(a=navigator.languages[0].split("-")[0].toLowerCase()),a},n.getDictionaryWord=function(i,s,l){var a;if(!i)throw new Error("no wordKey provided");if(!s)throw new Error("no dictionary provided");if(l&&(!((a=s[l])===null||a===void 0)&&a[i]))return s[l][i];var o="",f=n.getDefaultLang();if(!l||f!==l){var c=s?.[f];c?.[i]&&(o=c[i])}return o},n.formatDate=function(i,s,l){if(!i)throw new Error("no date provided");if(typeof i.getMonth!="function")throw new Error("wrong date format");var a=new Intl.DateTimeFormat(l||n.getDefaultLang(),s);return a.format(i)},n})();return Ee.LanguageTranslator=r,Ee}var Tr=ei();const Cr={en:{of:"of",total:"Total",size:"Size"},it:{of:"di",total:"Totale",size:"Dimensione"}};var ti=P('<span style="margin-right:10px;" class="svelte-1libl3t"> </span>'),ri=P('<li class="page-item svelte-1libl3t"><button class="page-link svelte-1libl3t">«</button></li> <li class="page-item svelte-1libl3t"><button class="page-link svelte-1libl3t"><</button></li>',1),ni=P('<li class="page-item disabled svelte-1libl3t"><button class="page-link svelte-1libl3t" disabled>«</button></li> <li class="page-item disabled svelte-1libl3t"><button class="page-link svelte-1libl3t" disabled><</button></li>',1),ii=P('<li class="page-item svelte-1libl3t"><button class="page-link svelte-1libl3t"> </button></li>'),si=P('<li class="page-item svelte-1libl3t"><button class="page-link svelte-1libl3t"> </button></li>'),li=P('<li class="page-item svelte-1libl3t"><button class="page-link svelte-1libl3t"> </button></li>'),ai=P('<li class="page-item svelte-1libl3t"><button class="page-link svelte-1libl3t"> </button></li>'),oi=P('<li class="page-item svelte-1libl3t"><button class="page-link svelte-1libl3t"> </button></li>'),fi=P('<li class="page-item svelte-1libl3t"><button class="page-link svelte-1libl3t"> </button></li>'),ui=P('<li class="page-item svelte-1libl3t"><button class="page-link svelte-1libl3t"> </button></li>'),ci=P('<li class="page-item svelte-1libl3t"><button class="page-link svelte-1libl3t"> </button></li>'),di=P('<li class="page-item svelte-1libl3t"><button class="page-link svelte-1libl3t">></button></li> <li class="page-item svelte-1libl3t"><button class="page-link svelte-1libl3t">»</button></li>',1),hi=P('<li class="page-item disabled svelte-1libl3t"><button class="page-link svelte-1libl3t" disabled>></button></li> <li class="page-item disabled svelte-1libl3t"><button class="page-link svelte-1libl3t" disabled>»</button></li>',1),vi=P('<!> <!> <!> <!> <!> <li class="page-item active svelte-1libl3t"><button class="page-link svelte-1libl3t"> </button></li> <!> <!> <!> <!> <!>',1),bi=P('<nav class="svelte-1libl3t"><!> <ul class="pagination svelte-1libl3t"><!></ul></nav>');const _i={hash:"svelte-1libl3t",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");
|
|
1
|
+
(function(Vt){"use strict";typeof window<"u"&&((window.__svelte??={}).v??=new Set).add("5");const rn=1,nn=2,Ht="[",wt="[!",Yt="]",Ce={},R=Symbol(),sn="http://www.w3.org/1999/xhtml",$t=!1;var ln=Array.isArray,an=Array.prototype.indexOf,on=Array.from,nt=Object.keys,it=Object.defineProperty,Ae=Object.getOwnPropertyDescriptor,fn=Object.getOwnPropertyDescriptors,un=Object.prototype,cn=Array.prototype,Wt=Object.getPrototypeOf,Jt=Object.isExtensible;function dn(e){for(var t=0;t<e.length;t++)e[t]()}function Gt(){var e,t,r=new Promise((n,i)=>{e=n,t=i});return{promise:r,resolve:e,reject:t}}const O=2,kt=4,Et=8,se=16,le=32,_e=64,st=128,G=512,L=1024,j=2048,ae=4096,te=8192,oe=16384,lt=32768,Oe=65536,Kt=1<<17,Xt=1<<18,$e=1<<19,hn=1<<20,ke=32768,xt=1<<21,Tt=1<<22,ge=1<<23,Nt=Symbol("$state"),vn=Symbol("legacy props"),bn=Symbol(""),Re=new class extends Error{name="StaleReactionError";message="The reaction that called `getAbortSignal()` was re-run or destroyed"},St=3,Ue=8;function _n(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function gn(e){throw new Error("https://svelte.dev/e/effect_in_teardown")}function pn(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function mn(e){throw new Error("https://svelte.dev/e/effect_orphan")}function yn(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function wn(){throw new Error("https://svelte.dev/e/hydration_failed")}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 En(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function xn(){throw new Error("https://svelte.dev/e/svelte_boundary_reset_onerror")}function at(e){console.warn("https://svelte.dev/e/hydration_mismatch")}function Tn(){console.warn("https://svelte.dev/e/svelte_boundary_reset_noop")}let x=!1;function pe(e){x=e}let E;function K(e){if(e===null)throw at(),Ce;return E=e}function Ct(){return K(de(E))}function y(e){if(x){if(de(E)!==null)throw at(),Ce;E=e}}function At(e=1){if(x){for(var t=e,r=E;t--;)r=de(r);E=r}}function Zt(e=!0){for(var t=0,r=E;;){if(r.nodeType===Ue){var n=r.data;if(n===Yt){if(t===0)return r;t-=1}else(n===Ht||n===wt)&&(t+=1)}var i=de(r);e&&r.remove(),r=i}}function Nn(e){if(!e||e.nodeType!==Ue)throw at(),Ce;return e.data}function Qt(e){return e===this.v}function Sn(e,t){return e!=e?t==t:e!==t||e!==null&&typeof e=="object"||typeof e=="function"}function Cn(e){return!Sn(e,this.v)}let An=!1,U=null;function Le(e){U=e}function er(e,t=!1,r){U={p:U,i:!1,c:null,e:null,s:e,x:null,l:null}}function tr(e){var t=U,r=t.e;if(r!==null){t.e=null;for(var n of r)pr(n)}return e!==void 0&&(t.x=e),t.i=!0,U=t.p,e??{}}function rr(){return!0}let Ee=[];function nr(){var e=Ee;Ee=[],dn(e)}function ot(e){if(Ee.length===0&&!Ve){var t=Ee;queueMicrotask(()=>{t===Ee&&nr()})}Ee.push(e)}function On(){for(;Ee.length>0;)nr()}function ir(e){var t=p;if(t===null)return g.f|=ge,e;if((t.f<)===0){if((t.f&st)===0)throw e;t.b.error(e)}else Me(e,t)}function Me(e,t){for(;t!==null;){if((t.f&st)!==0)try{t.b.error(e);return}catch(r){e=r}t=t.parent}throw e}const ft=new Set;let T=null,V=null,H=[],ut=null,Ot=!1,Ve=!1;class X{committed=!1;current=new Map;previous=new Map;#t=new Set;#e=new Set;#r=0;#n=0;#o=null;#s=[];#i=[];skipped_effects=new Set;is_fork=!1;is_deferred(){return this.is_fork||this.#n>0}process(t){H=[],this.apply();var r={parent:null,effect:null,effects:[],render_effects:[],block_effects:[]};for(const n of t)this.#l(n,r);this.is_fork||this.#u(),this.is_deferred()?(this.#a(r.effects),this.#a(r.render_effects),this.#a(r.block_effects)):(T=null,lr(r.render_effects),lr(r.effects),this.#o?.resolve()),V=null}#l(t,r){t.f^=L;for(var n=t.first;n!==null;){var i=n.f,s=(i&(le|_e))!==0,l=s&&(i&L)!==0,a=l||(i&te)!==0||this.skipped_effects.has(n);if((n.f&st)!==0&&n.b?.is_pending()&&(r={parent:r,effect:n,effects:[],render_effects:[],block_effects:[]}),!a&&n.fn!==null){s?n.f^=L:(i&kt)!==0?r.effects.push(n):Ge(n)&&((n.f&se)!==0&&r.block_effects.push(n),Ke(n));var o=n.first;if(o!==null){n=o;continue}}var f=n.parent;for(n=n.next;n===null&&f!==null;)f===r.effect&&(this.#a(r.effects),this.#a(r.render_effects),this.#a(r.block_effects),r=r.parent),n=f.next,f=f.parent}}#a(t){for(const r of t)((r.f&j)!==0?this.#s:this.#i).push(r),this.#f(r.deps),P(r,L)}#f(t){if(t!==null)for(const r of t)(r.f&O)===0||(r.f&ke)===0||(r.f^=ke,this.#f(r.deps))}capture(t,r){this.previous.has(t)||this.previous.set(t,r),(t.f&ge)===0&&(this.current.set(t,t.v),V?.set(t,t.v))}activate(){T=this,this.apply()}deactivate(){T===this&&(T=null,V=null)}flush(){if(this.activate(),H.length>0){if(sr(),T!==null&&T!==this)return}else this.#r===0&&this.process([]);this.deactivate()}discard(){for(const t of this.#e)t(this);this.#e.clear()}#u(){if(this.#n===0){for(const t of this.#t)t();this.#t.clear()}this.#r===0&&this.#c()}#c(){if(ft.size>1){this.previous.clear();var t=V,r=!0,n={parent:null,effect:null,effects:[],render_effects:[],block_effects:[]};for(const s of ft){if(s===this){r=!1;continue}const l=[];for(const[o,f]of this.current){if(s.current.has(o))if(r&&f!==s.current.get(o))s.current.set(o,f);else continue;l.push(o)}if(l.length===0)continue;const a=[...s.current.keys()].filter(o=>!this.current.has(o));if(a.length>0){var i=H;H=[];const o=new Set,f=new Map;for(const u of l)ar(u,a,o,f);if(H.length>0){T=s,s.apply();for(const u of H)s.#l(u,n);s.deactivate()}H=i}}T=null,V=t}this.committed=!0,ft.delete(this)}increment(t){this.#r+=1,t&&(this.#n+=1)}decrement(t){this.#r-=1,t&&(this.#n-=1),this.revive()}revive(){for(const t of this.#s)P(t,j),xe(t);for(const t of this.#i)P(t,ae),xe(t);this.#s=[],this.#i=[],this.flush()}oncommit(t){this.#t.add(t)}ondiscard(t){this.#e.add(t)}settled(){return(this.#o??=Gt()).promise}static ensure(){if(T===null){const t=T=new X;ft.add(T),Ve||X.enqueue(()=>{T===t&&t.flush()})}return T}static enqueue(t){ot(t)}apply(){}}function Pe(e){var t=Ve;Ve=!0;try{for(var r;;){if(On(),H.length===0&&(T?.flush(),H.length===0))return ut=null,r;sr()}}finally{Ve=t}}function sr(){var e=ye;Ot=!0;var t=null;try{var r=0;for(bt(!0);H.length>0;){var n=X.ensure();if(r++>1e3){var i,s;Rn()}n.process(H),me.clear()}}finally{Ot=!1,bt(e),ut=null}}function Rn(){try{yn()}catch(e){Me(e,ut)}}let fe=null;function lr(e){var t=e.length;if(t!==0){for(var r=0;r<t;){var n=e[r++];if((n.f&(oe|te))===0&&Ge(n)&&(fe=new Set,Ke(n),n.deps===null&&n.first===null&&n.nodes_start===null&&(n.teardown===null&&n.ac===null?kr(n):n.fn=null),fe?.size>0)){me.clear();for(const i of fe){if((i.f&(oe|te))!==0)continue;const s=[i];let l=i.parent;for(;l!==null;)fe.has(l)&&(fe.delete(l),s.push(l)),l=l.parent;for(let a=s.length-1;a>=0;a--){const o=s[a];(o.f&(oe|te))===0&&Ke(o)}}fe.clear()}}fe=null}}function ar(e,t,r,n){if(!r.has(e)&&(r.add(e),e.reactions!==null))for(const i of e.reactions){const s=i.f;(s&O)!==0?ar(i,t,r,n):(s&(Tt|se))!==0&&(s&j)===0&&or(i,t,n)&&(P(i,j),xe(i))}}function or(e,t,r){const n=r.get(e);if(n!==void 0)return n;if(e.deps!==null)for(const i of e.deps){if(t.includes(i))return!0;if((i.f&O)!==0&&or(i,t,r))return r.set(i,!0),!0}return r.set(e,!1),!1}function xe(e){for(var t=ut=e;t.parent!==null;){t=t.parent;var r=t.f;if(Ot&&t===p&&(r&se)!==0&&(r&Xt)===0)return;if((r&(_e|le))!==0){if((r&L)===0)return;t.f^=L}}H.push(t)}function Ln(e){let t=0,r=He(0),n;return()=>{vt()&&(S(r),mr(()=>(t===0&&(n=si(()=>e(()=>Ye(r)))),t+=1,()=>{ot(()=>{t-=1,t===0&&(n?.(),n=void 0,Ye(r))})})))}}var Mn=Oe|$e|st;function Pn(e,t,r){new Dn(e,t,r)}class Dn{parent;#t=!1;#e;#r=x?E:null;#n;#o;#s;#i=null;#l=null;#a=null;#f=null;#u=null;#c=0;#d=0;#v=!1;#h=null;#m=Ln(()=>(this.#h=He(this.#c),()=>{this.#h=null}));constructor(t,r,n){this.#e=t,this.#n=r,this.#o=n,this.parent=p.b,this.#t=!!this.#n.pending,this.#s=yr(()=>{if(p.b=this,x){const s=this.#r;Ct(),s.nodeType===Ue&&s.data===wt?this.#w():this.#y()}else{var i=this.#g();try{this.#i=he(()=>n(i))}catch(s){this.error(s)}this.#d>0?this.#_():this.#t=!1}return()=>{this.#u?.remove()}},Mn),x&&(this.#e=E)}#y(){try{this.#i=he(()=>this.#o(this.#e))}catch(t){this.error(t)}this.#t=!1}#w(){const t=this.#n.pending;t&&(this.#l=he(()=>t(this.#e)),X.enqueue(()=>{var r=this.#g();this.#i=this.#b(()=>(X.ensure(),he(()=>this.#o(r)))),this.#d>0?this.#_():(We(this.#l,()=>{this.#l=null}),this.#t=!1)}))}#g(){var t=this.#e;return this.#t&&(this.#u=ce(),this.#e.before(this.#u),t=this.#u),t}is_pending(){return this.#t||!!this.parent&&this.parent.is_pending()}has_pending_snippet(){return!!this.#n.pending}#b(t){var r=p,n=g,i=U;Y(this.#s),M(this.#s),Le(this.#s.ctx);try{return t()}catch(s){return ir(s),null}finally{Y(r),M(n),Le(i)}}#_(){const t=this.#n.pending;this.#i!==null&&(this.#f=document.createDocumentFragment(),this.#f.append(this.#u),Tr(this.#i,this.#f)),this.#l===null&&(this.#l=he(()=>t(this.#e)))}#p(t){if(!this.has_pending_snippet()){this.parent&&this.parent.#p(t);return}this.#d+=t,this.#d===0&&(this.#t=!1,this.#l&&We(this.#l,()=>{this.#l=null}),this.#f&&(this.#e.before(this.#f),this.#f=null))}update_pending_count(t){this.#p(t),this.#c+=t,this.#h&&dt(this.#h,this.#c)}get_effect_pending(){return this.#m(),S(this.#h)}error(t){var r=this.#n.onerror;let n=this.#n.failed;if(this.#v||!r&&!n)throw t;this.#i&&(F(this.#i),this.#i=null),this.#l&&(F(this.#l),this.#l=null),this.#a&&(F(this.#a),this.#a=null),x&&(K(this.#r),At(),K(Zt()));var i=!1,s=!1;const l=()=>{if(i){Tn();return}i=!0,s&&xn(),X.ensure(),this.#c=0,this.#a!==null&&We(this.#a,()=>{this.#a=null}),this.#t=this.has_pending_snippet(),this.#i=this.#b(()=>(this.#v=!1,he(()=>this.#o(this.#e)))),this.#d>0?this.#_():this.#t=!1};var a=g;try{M(null),s=!0,r?.(t,l),s=!1}catch(o){Me(o,this.#s&&this.#s.parent)}finally{M(a)}n&&ot(()=>{this.#a=this.#b(()=>{X.ensure(),this.#v=!0;try{return he(()=>{n(this.#e,()=>t,()=>l)})}catch(o){return Me(o,this.#s.parent),null}finally{this.#v=!1}})})}}function zn(e,t,r,n){const i=Rt;if(r.length===0&&e.length===0){n(t.map(i));return}var s=T,l=p,a=In();function o(){Promise.all(r.map(f=>jn(f))).then(f=>{a();try{n([...t.map(i),...f])}catch(u){(l.f&oe)===0&&Me(u,l)}s?.deactivate(),ct()}).catch(f=>{Me(f,l)})}e.length>0?Promise.all(e).then(()=>{a();try{return o()}finally{s?.deactivate(),ct()}}):o()}function In(){var e=p,t=g,r=U,n=T;return function(s=!0){Y(e),M(t),Le(r),s&&n?.activate()}}function ct(){Y(null),M(null),Le(null)}function Rt(e){var t=O|j,r=g!==null&&(g.f&O)!==0?g:null;return p!==null&&(p.f|=$e),{ctx:U,deps:null,effects:null,equals:Qt,f:t,fn:e,reactions:null,rv:0,v:R,wv:0,parent:r??p,ac:null}}function jn(e,t){let r=p;r===null&&_n();var n=r.b,i=void 0,s=He(R),l=!g,a=new Map;return Zn(()=>{var o=Gt();i=o.promise;try{Promise.resolve(e()).then(o.resolve,o.reject).then(()=>{f===T&&f.committed&&f.deactivate(),ct()})}catch(c){o.reject(c),ct()}var f=T;if(l){var u=!n.is_pending();n.update_pending_count(1),f.increment(u),a.get(f)?.reject(Re),a.delete(f),a.set(f,o)}const h=(c,d=void 0)=>{if(f.activate(),d)d!==Re&&(s.f|=ge,dt(s,d));else{(s.f&ge)!==0&&(s.f^=ge),dt(s,c);for(const[$,J]of a){if(a.delete($),$===f)break;J.reject(Re)}}l&&(n.update_pending_count(-1),f.decrement(u))};o.promise.then(h,c=>h(null,c||"unknown"))}),gr(()=>{for(const o of a.values())o.reject(Re)}),new Promise(o=>{function f(u){function h(){u===i?o(s):f(i)}u.then(h,h)}f(i)})}function Fn(e){const t=Rt(e);return Sr(t),t}function fr(e){var t=e.effects;if(t!==null){e.effects=null;for(var r=0;r<t.length;r+=1)F(t[r])}}function Bn(e){for(var t=e.parent;t!==null;){if((t.f&O)===0)return(t.f&oe)===0?t:null;t=t.parent}return null}function Lt(e){var t,r=p;Y(Bn(e));try{e.f&=~ke,fr(e),t=Lr(e)}finally{Y(r)}return t}function ur(e){var t=Lt(e);if(e.equals(t)||(T?.is_fork||(e.v=t),e.wv=Or()),!Te)if(V!==null)vt()&&V.set(e,t);else{var r=(e.f&G)===0?ae:L;P(e,r)}}let Mt=new Set;const me=new Map;let cr=!1;function He(e,t){var r={f:0,v:e,reactions:null,equals:Qt,rv:0,wv:0};return r}function ue(e,t){const r=He(e);return Sr(r),r}function qn(e,t=!1,r=!0){const n=He(e);return t||(n.equals=Cn),n}function re(e,t,r=!1){g!==null&&(!ie||(g.f&Kt)!==0)&&rr()&&(g.f&(O|se|Tt|Kt))!==0&&!ve?.includes(e)&&En();let n=r?De(t):t;return dt(e,n)}function dt(e,t){if(!e.equals(t)){var r=e.v;Te?me.set(e,t):me.set(e,r),e.v=t;var n=X.ensure();n.capture(e,r),(e.f&O)!==0&&((e.f&j)!==0&&Lt(e),P(e,(e.f&G)!==0?L:ae)),e.wv=Or(),dr(e,j),p!==null&&(p.f&L)!==0&&(p.f&(le|_e))===0&&(W===null?ni([e]):W.push(e)),!n.is_fork&&Mt.size>0&&!cr&&Un()}return t}function Un(){cr=!1;var e=ye;bt(!0);const t=Array.from(Mt);try{for(const r of t)(r.f&L)!==0&&P(r,ae),Ge(r)&&Ke(r)}finally{bt(e)}Mt.clear()}function Ye(e){re(e,e.v+1)}function dr(e,t){var r=e.reactions;if(r!==null)for(var n=r.length,i=0;i<n;i++){var s=r[i],l=s.f,a=(l&j)===0;if(a&&P(s,t),(l&O)!==0){var o=s;V?.delete(o),(l&ke)===0&&(l&G&&(s.f|=ke),dr(o,ae))}else a&&((l&se)!==0&&fe!==null&&fe.add(s),xe(s))}}function De(e){if(typeof e!="object"||e===null||Nt in e)return e;const t=Wt(e);if(t!==un&&t!==cn)return e;var r=new Map,n=ln(e),i=ue(0),s=Ne,l=a=>{if(Ne===s)return a();var o=g,f=Ne;M(null),Ar(s);var u=a();return M(o),Ar(f),u};return n&&r.set("length",ue(e.length)),new Proxy(e,{defineProperty(a,o,f){(!("value"in f)||f.configurable===!1||f.enumerable===!1||f.writable===!1)&&$n();var u=r.get(o);return u===void 0?u=l(()=>{var h=ue(f.value);return r.set(o,h),h}):re(u,f.value,!0),!0},deleteProperty(a,o){var f=r.get(o);if(f===void 0){if(o in a){const u=l(()=>ue(R));r.set(o,u),Ye(i)}}else re(f,R),Ye(i);return!0},get(a,o,f){if(o===Nt)return e;var u=r.get(o),h=o in a;if(u===void 0&&(!h||Ae(a,o)?.writable)&&(u=l(()=>{var d=De(h?a[o]:R),$=ue(d);return $}),r.set(o,u)),u!==void 0){var c=S(u);return c===R?void 0:c}return Reflect.get(a,o,f)},getOwnPropertyDescriptor(a,o){var f=Reflect.getOwnPropertyDescriptor(a,o);if(f&&"value"in f){var u=r.get(o);u&&(f.value=S(u))}else if(f===void 0){var h=r.get(o),c=h?.v;if(h!==void 0&&c!==R)return{enumerable:!0,configurable:!0,value:c,writable:!0}}return f},has(a,o){if(o===Nt)return!0;var f=r.get(o),u=f!==void 0&&f.v!==R||Reflect.has(a,o);if(f!==void 0||p!==null&&(!u||Ae(a,o)?.writable)){f===void 0&&(f=l(()=>{var c=u?De(a[o]):R,d=ue(c);return d}),r.set(o,f));var h=S(f);if(h===R)return!1}return u},set(a,o,f,u){var h=r.get(o),c=o in a;if(n&&o==="length")for(var d=f;d<h.v;d+=1){var $=r.get(d+"");$!==void 0?re($,R):d in a&&($=l(()=>ue(R)),r.set(d+"",$))}if(h===void 0)(!c||Ae(a,o)?.writable)&&(h=l(()=>ue(void 0)),re(h,De(f)),r.set(o,h));else{c=h.v!==R;var J=l(()=>De(f));re(h,J)}var be=Reflect.getOwnPropertyDescriptor(a,o);if(be?.set&&be.set.call(u,f),!c){if(n&&typeof o=="string"){var mt=r.get("length"),Qe=Number(o);Number.isInteger(Qe)&&Qe>=mt.v&&re(mt,Qe+1)}Ye(i)}return!0},ownKeys(a){S(i);var o=Reflect.ownKeys(a).filter(h=>{var c=r.get(h);return c===void 0||c.v!==R});for(var[f,u]of r)u.v!==R&&!(f in a)&&o.push(f);return o},setPrototypeOf(){kn()}})}var hr,vr,br,_r;function Pt(){if(hr===void 0){hr=window,vr=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,r=Text.prototype;br=Ae(t,"firstChild").get,_r=Ae(t,"nextSibling").get,Jt(e)&&(e.__click=void 0,e.__className=void 0,e.__attributes=null,e.__style=void 0,e.__e=void 0),Jt(r)&&(r.__t=void 0)}}function ce(e=""){return document.createTextNode(e)}function ze(e){return br.call(e)}function de(e){return _r.call(e)}function w(e,t){if(!x)return ze(e);var r=ze(E);if(r===null)r=E.appendChild(ce());else if(t&&r.nodeType!==St){var n=ce();return r?.before(n),K(n),n}return K(r),r}function ht(e,t=!1){if(!x){var r=ze(e);return r instanceof Comment&&r.data===""?de(r):r}if(t&&E?.nodeType!==St){var n=ce();return E?.before(n),K(n),n}return E}function D(e,t=1,r=!1){let n=x?E:e;for(var i;t--;)i=n,n=de(n);if(!x)return n;if(r&&n?.nodeType!==St){var s=ce();return n===null?i?.after(s):n.before(s),K(s),s}return K(n),n}function Vn(e){e.textContent=""}function Hn(){return!1}function Dt(e){var t=g,r=p;M(null),Y(null);try{return e()}finally{M(t),Y(r)}}function Yn(e){p===null&&(g===null&&mn(),pn()),Te&&gn()}function Wn(e,t){var r=t.last;r===null?t.last=t.first=e:(r.next=e,e.prev=r,t.last=e)}function ne(e,t,r){var n=p;n!==null&&(n.f&te)!==0&&(e|=te);var i={ctx:U,deps:null,nodes_start:null,nodes_end:null,f:e|j|G,first:null,fn:t,last:null,next:null,parent:n,b:n&&n.b,prev:null,teardown:null,transitions:null,wv:0,ac:null};if(r)try{Ke(i),i.f|=lt}catch(a){throw F(i),a}else t!==null&&xe(i);var s=i;if(r&&s.deps===null&&s.teardown===null&&s.nodes_start===null&&s.first===s.last&&(s.f&$e)===0&&(s=s.first,(e&se)!==0&&(e&Oe)!==0&&s!==null&&(s.f|=Oe)),s!==null&&(s.parent=n,n!==null&&Wn(s,n),g!==null&&(g.f&O)!==0&&(e&_e)===0)){var l=g;(l.effects??=[]).push(s)}return i}function vt(){return g!==null&&!ie}function gr(e){const t=ne(Et,null,!1);return P(t,L),t.teardown=e,t}function Jn(e){Yn();var t=p.f,r=!g&&(t&le)!==0&&(t<)===0;if(r){var n=U;(n.e??=[]).push(e)}else return pr(e)}function pr(e){return ne(kt|hn,e,!1)}function Gn(e){X.ensure();const t=ne(_e|$e,e,!0);return()=>{F(t)}}function Kn(e){X.ensure();const t=ne(_e|$e,e,!0);return(r={})=>new Promise(n=>{r.outro?We(t,()=>{F(t),n(void 0)}):(F(t),n(void 0))})}function Xn(e){return ne(kt,e,!1)}function Zn(e){return ne(Tt|$e,e,!0)}function mr(e,t=0){return ne(Et|t,e,!0)}function B(e,t=[],r=[],n=[]){zn(n,t,r,i=>{ne(Et,()=>e(...i.map(S)),!0)})}function yr(e,t=0){var r=ne(se|t,e,!0);return r}function he(e){return ne(le|$e,e,!0)}function wr(e){var t=e.teardown;if(t!==null){const r=Te,n=g;Nr(!0),M(null);try{t.call(null)}finally{Nr(r),M(n)}}}function $r(e,t=!1){var r=e.first;for(e.first=e.last=null;r!==null;){const i=r.ac;i!==null&&Dt(()=>{i.abort(Re)});var n=r.next;(r.f&_e)!==0?r.parent=null:F(r,t),r=n}}function Qn(e){for(var t=e.first;t!==null;){var r=t.next;(t.f&le)===0&&F(t),t=r}}function F(e,t=!0){var r=!1;(t||(e.f&Xt)!==0)&&e.nodes_start!==null&&e.nodes_end!==null&&(ei(e.nodes_start,e.nodes_end),r=!0),$r(e,t&&!r),_t(e,0),P(e,oe);var n=e.transitions;if(n!==null)for(const s of n)s.stop();wr(e);var i=e.parent;i!==null&&i.first!==null&&kr(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes_start=e.nodes_end=e.ac=null}function ei(e,t){for(;e!==null;){var r=e===t?null:de(e);e.remove(),e=r}}function kr(e){var t=e.parent,r=e.prev,n=e.next;r!==null&&(r.next=n),n!==null&&(n.prev=r),t!==null&&(t.first===e&&(t.first=n),t.last===e&&(t.last=r))}function We(e,t,r=!0){var n=[];Er(e,n,!0),ti(n,()=>{r&&F(e),t&&t()})}function ti(e,t){var r=e.length;if(r>0){var n=()=>--r||t();for(var i of e)i.out(n)}else t()}function Er(e,t,r){if((e.f&te)===0){if(e.f^=te,e.transitions!==null)for(const l of e.transitions)(l.is_global||r)&&t.push(l);for(var n=e.first;n!==null;){var i=n.next,s=(n.f&Oe)!==0||(n.f&le)!==0&&(e.f&se)!==0;Er(n,t,s?r:!1),n=i}}}function ri(e){xr(e,!0)}function xr(e,t){if((e.f&te)!==0){e.f^=te,(e.f&L)===0&&(P(e,j),xe(e));for(var r=e.first;r!==null;){var n=r.next,i=(r.f&Oe)!==0||(r.f&le)!==0;xr(r,i?t:!1),r=n}if(e.transitions!==null)for(const s of e.transitions)(s.is_global||t)&&s.in()}}function Tr(e,t){for(var r=e.nodes_start,n=e.nodes_end;r!==null;){var i=r===n?null:de(r);t.append(r),r=i}}let ye=!1;function bt(e){ye=e}let Te=!1;function Nr(e){Te=e}let g=null,ie=!1;function M(e){g=e}let p=null;function Y(e){p=e}let ve=null;function Sr(e){g!==null&&(ve===null?ve=[e]:ve.push(e))}let z=null,q=0,W=null;function ni(e){W=e}let Cr=1,Je=0,Ne=Je;function Ar(e){Ne=e}function Or(){return++Cr}function Ge(e){var t=e.f;if((t&j)!==0)return!0;if(t&O&&(e.f&=~ke),(t&ae)!==0){var r=e.deps;if(r!==null)for(var n=r.length,i=0;i<n;i++){var s=r[i];if(Ge(s)&&ur(s),s.wv>e.wv)return!0}(t&G)!==0&&V===null&&P(e,L)}return!1}function Rr(e,t,r=!0){var n=e.reactions;if(n!==null&&!ve?.includes(e))for(var i=0;i<n.length;i++){var s=n[i];(s.f&O)!==0?Rr(s,t,!1):t===s&&(r?P(s,j):(s.f&L)!==0&&P(s,ae),xe(s))}}function Lr(e){var t=z,r=q,n=W,i=g,s=ve,l=U,a=ie,o=Ne,f=e.f;z=null,q=0,W=null,g=(f&(le|_e))===0?e:null,ve=null,Le(e.ctx),ie=!1,Ne=++Je,e.ac!==null&&(Dt(()=>{e.ac.abort(Re)}),e.ac=null);try{e.f|=xt;var u=e.fn,h=u(),c=e.deps;if(z!==null){var d;if(_t(e,q),c!==null&&q>0)for(c.length=q+z.length,d=0;d<z.length;d++)c[q+d]=z[d];else e.deps=c=z;if(ye&&vt()&&(e.f&G)!==0)for(d=q;d<c.length;d++)(c[d].reactions??=[]).push(e)}else c!==null&&q<c.length&&(_t(e,q),c.length=q);if(rr()&&W!==null&&!ie&&c!==null&&(e.f&(O|ae|j))===0)for(d=0;d<W.length;d++)Rr(W[d],e);return i!==null&&i!==e&&(Je++,W!==null&&(n===null?n=W:n.push(...W))),(e.f&ge)!==0&&(e.f^=ge),h}catch($){return ir($)}finally{e.f^=xt,z=t,q=r,W=n,g=i,ve=s,Le(l),ie=a,Ne=o}}function ii(e,t){let r=t.reactions;if(r!==null){var n=an.call(r,e);if(n!==-1){var i=r.length-1;i===0?r=t.reactions=null:(r[n]=r[i],r.pop())}}r===null&&(t.f&O)!==0&&(z===null||!z.includes(t))&&(P(t,ae),(t.f&G)!==0&&(t.f^=G,t.f&=~ke),fr(t),_t(t,0))}function _t(e,t){var r=e.deps;if(r!==null)for(var n=t;n<r.length;n++)ii(e,r[n])}function Ke(e){var t=e.f;if((t&oe)===0){P(e,L);var r=p,n=ye;p=e,ye=!0;try{(t&se)!==0?Qn(e):$r(e),wr(e);var i=Lr(e);e.teardown=typeof i=="function"?i:null,e.wv=Cr;var s;$t&&An&&(e.f&j)!==0&&e.deps}finally{ye=n,p=r}}}function S(e){var t=e.f,r=(t&O)!==0;if(g!==null&&!ie){var n=p!==null&&(p.f&oe)!==0;if(!n&&!ve?.includes(e)){var i=g.deps;if((g.f&xt)!==0)e.rv<Je&&(e.rv=Je,z===null&&i!==null&&i[q]===e?q++:z===null?z=[e]:z.includes(e)||z.push(e));else{(g.deps??=[]).push(e);var s=e.reactions;s===null?e.reactions=[g]:s.includes(g)||s.push(g)}}}if(Te){if(me.has(e))return me.get(e);if(r){var l=e,a=l.v;return((l.f&L)===0&&l.reactions!==null||Pr(l))&&(a=Lt(l)),me.set(l,a),a}}else r&&!V?.has(e)&&(l=e,Ge(l)&&ur(l),ye&&vt()&&(l.f&G)===0&&Mr(l));if(V?.has(e))return V.get(e);if((e.f&ge)!==0)throw e.v;return e.v}function Mr(e){if(e.deps!==null){e.f^=G;for(const t of e.deps)(t.reactions??=[]).push(e),(t.f&O)!==0&&(t.f&G)===0&&Mr(t)}}function Pr(e){if(e.v===R)return!0;if(e.deps===null)return!1;for(const t of e.deps)if(me.has(t)||(t.f&O)!==0&&Pr(t))return!0;return!1}function si(e){var t=ie;try{return ie=!0,e()}finally{ie=t}}const li=-7169;function P(e,t){e.f=e.f&li|t}const Dr=new Set,zt=new Set;function ai(e,t,r,n={}){function i(s){if(n.capture||Xe.call(t,s),!s.cancelBubble)return Dt(()=>r?.call(this,s))}return e.startsWith("pointer")||e.startsWith("touch")||e==="wheel"?ot(()=>{t.addEventListener(e,i,n)}):t.addEventListener(e,i,n),i}function zr(e,t,r,n,i){var s={capture:n,passive:i},l=ai(e,t,r,s);(t===document.body||t===window||t===document||t instanceof HTMLMediaElement)&&gr(()=>{t.removeEventListener(e,l,s)})}function oi(e){for(var t=0;t<e.length;t++)Dr.add(e[t]);for(var r of zt)r(e)}let Ir=null;function Xe(e){var t=this,r=t.ownerDocument,n=e.type,i=e.composedPath?.()||[],s=i[0]||e.target;Ir=e;var l=0,a=Ir===e&&e.__root;if(a){var o=i.indexOf(a);if(o!==-1&&(t===document||t===window)){e.__root=t;return}var f=i.indexOf(t);if(f===-1)return;o<=f&&(l=o)}if(s=i[l]||e.target,s!==t){it(e,"currentTarget",{configurable:!0,get(){return s||r}});var u=g,h=p;M(null),Y(null);try{for(var c,d=[];s!==null;){var $=s.assignedSlot||s.parentNode||s.host||null;try{var J=s["__"+n];J!=null&&(!s.disabled||e.target===s)&&J.call(s,e)}catch(be){c?d.push(be):c=be}if(e.cancelBubble||$===t||$===null)break;s=$}if(c){for(let be of d)queueMicrotask(()=>{throw be});throw c}}finally{e.__root=t,delete e.currentTarget,M(u),Y(h)}}}function fi(e){var t=document.createElement("template");return t.innerHTML=e.replaceAll("<!>","<!---->"),t.content}function Ie(e,t){var r=p;r.nodes_start===null&&(r.nodes_start=e,r.nodes_end=t)}function A(e,t){var r=(t&rn)!==0,n=(t&nn)!==0,i,s=!e.startsWith("<!>");return()=>{if(x)return Ie(E,null),E;i===void 0&&(i=fi(s?e:"<!>"+e),r||(i=ze(i)));var l=n||vr?document.importNode(i,!0):i.cloneNode(!0);if(r){var a=ze(l),o=l.lastChild;Ie(a,o)}else Ie(l,l);return l}}function ui(){if(x)return Ie(E,null),E;var e=document.createDocumentFragment(),t=document.createComment(""),r=ce();return e.append(t,r),Ie(t,r),e}function N(e,t){if(x){var r=p;((r.f<)===0||r.nodes_end===null)&&(r.nodes_end=E),Ct();return}e!==null&&e.before(t)}const ci=["touchstart","touchmove"];function di(e){return ci.includes(e)}function Z(e,t){var r=t==null?"":typeof t=="object"?t+"":t;r!==(e.__t??=e.nodeValue)&&(e.__t=r,e.nodeValue=r+"")}function jr(e,t){return Fr(e,t)}function hi(e,t){Pt(),t.intro=t.intro??!1;const r=t.target,n=x,i=E;try{for(var s=ze(r);s&&(s.nodeType!==Ue||s.data!==Ht);)s=de(s);if(!s)throw Ce;pe(!0),K(s);const l=Fr(e,{...t,anchor:s});return pe(!1),l}catch(l){if(l instanceof Error&&l.message.split(`
|
|
2
|
+
`).some(a=>a.startsWith("https://svelte.dev/e/")))throw l;return l!==Ce&&console.warn("Failed to hydrate: ",l),t.recover===!1&&wn(),Pt(),Vn(r),pe(!1),jr(e,t)}finally{pe(n),K(i)}}const je=new Map;function Fr(e,{target:t,anchor:r,props:n={},events:i,context:s,intro:l=!0}){Pt();var a=new Set,o=h=>{for(var c=0;c<h.length;c++){var d=h[c];if(!a.has(d)){a.add(d);var $=di(d);t.addEventListener(d,Xe,{passive:$});var J=je.get(d);J===void 0?(document.addEventListener(d,Xe,{passive:$}),je.set(d,1)):je.set(d,J+1)}}};o(on(Dr)),zt.add(o);var f=void 0,u=Kn(()=>{var h=r??t.appendChild(ce());return Pn(h,{pending:()=>{}},c=>{if(s){er({});var d=U;d.c=s}if(i&&(n.$$events=i),x&&Ie(c,null),f=e(c,n)||{},x&&(p.nodes_end=E,E===null||E.nodeType!==Ue||E.data!==Yt))throw at(),Ce;s&&tr()}),()=>{for(var c of a){t.removeEventListener(c,Xe);var d=je.get(c);--d===0?(document.removeEventListener(c,Xe),je.delete(c)):je.set(c,d)}zt.delete(o),h!==r&&h.parentNode?.removeChild(h)}});return It.set(f,u),f}let It=new WeakMap;function vi(e,t){const r=It.get(e);return r?(It.delete(e),r(t)):Promise.resolve()}class bi{anchor;#t=new Map;#e=new Map;#r=new Map;#n=new Set;#o=!0;constructor(t,r=!0){this.anchor=t,this.#o=r}#s=()=>{var t=T;if(this.#t.has(t)){var r=this.#t.get(t),n=this.#e.get(r);if(n)ri(n),this.#n.delete(r);else{var i=this.#r.get(r);i&&(this.#e.set(r,i.effect),this.#r.delete(r),i.fragment.lastChild.remove(),this.anchor.before(i.fragment),n=i.effect)}for(const[s,l]of this.#t){if(this.#t.delete(s),s===t)break;const a=this.#r.get(l);a&&(F(a.effect),this.#r.delete(l))}for(const[s,l]of this.#e){if(s===r||this.#n.has(s))continue;const a=()=>{if(Array.from(this.#t.values()).includes(s)){var f=document.createDocumentFragment();Tr(l,f),f.append(ce()),this.#r.set(s,{effect:l,fragment:f})}else F(l);this.#n.delete(s),this.#e.delete(s)};this.#o||!n?(this.#n.add(s),We(l,a,!1)):a()}}};#i=t=>{this.#t.delete(t);const r=Array.from(this.#t.values());for(const[n,i]of this.#r)r.includes(n)||(F(i.effect),this.#r.delete(n))};ensure(t,r){var n=T,i=Hn();if(r&&!this.#e.has(t)&&!this.#r.has(t))if(i){var s=document.createDocumentFragment(),l=ce();s.append(l),this.#r.set(t,{effect:he(()=>r(l)),fragment:s})}else this.#e.set(t,he(()=>r(this.anchor)));if(this.#t.set(n,t),i){for(const[a,o]of this.#e)a===t?n.skipped_effects.delete(o):n.skipped_effects.add(o);for(const[a,o]of this.#r)a===t?n.skipped_effects.delete(o.effect):n.skipped_effects.add(o.effect);n.oncommit(this.#s),n.ondiscard(this.#i)}else x&&(this.anchor=E),this.#s()}}function I(e,t,r=!1){x&&Ct();var n=new bi(e),i=r?Oe:0;function s(l,a){if(x){const f=Nn(e)===wt;if(l===f){var o=Zt();K(o),n.anchor=o,pe(!1),n.ensure(l,a),pe(!0);return}}n.ensure(l,a)}yr(()=>{var l=!1;t((a,o=!0)=>{l=!0,s(o,a)}),l||s(!1,null)},i)}function _i(e,t){Xn(()=>{var r=e.getRootNode(),n=r.host?r:r.head??r.ownerDocument.head;if(!n.querySelector("#"+t.hash)){const i=document.createElement("style");i.id=t.hash,i.textContent=t.code,n.appendChild(i)}})}function gi(e,t,r){var n=""+e;return n}function Br(e,t,r,n,i,s){var l=e.__className;if(x||l!==r||l===void 0){var a=gi(r);(!x||a!==e.getAttribute("class"))&&(a==null?e.removeAttribute("class"):e.className=a),e.__className=r}return s}const pi=Symbol("is custom element"),mi=Symbol("is html");function qr(e,t,r,n){var i=yi(e);x&&(i[t]=e.getAttribute(t),t==="src"||t==="srcset"||t==="href"&&e.nodeName==="LINK")||i[t]!==(i[t]=r)&&(t==="loading"&&(e[bn]=r),r==null?e.removeAttribute(t):typeof r!="string"&&Vr(e).includes(t)?e[t]=r:e.setAttribute(t,r))}function Ur(e,t,r){var n=g,i=p;let s=x;x&&pe(!1),M(null),Y(null);try{t!=="style"&&(jt.has(e.getAttribute("is")||e.nodeName)||!customElements||customElements.get(e.getAttribute("is")||e.tagName.toLowerCase())?Vr(e).includes(t):r&&typeof r=="object")?e[t]=r:qr(e,t,r==null?r:String(r))}finally{M(n),Y(i),s&&pe(!0)}}function yi(e){return e.__attributes??={[pi]:e.nodeName.includes("-"),[mi]:e.namespaceURI===sn}}var jt=new Map;function Vr(e){var t=e.getAttribute("is")||e.nodeName,r=jt.get(t);if(r)return r;jt.set(t,r=[]);for(var n,i=e,s=Element.prototype;s!==i;){n=fn(i);for(var l in n)n[l].set&&r.push(l);i=Wt(i)}return r}function Ze(e,t,r,n){var i=n,s=!0,l=()=>(s&&(s=!1,i=n),i),a;a=e[t],a===void 0&&n!==void 0&&(a=l());var o;o=()=>{var c=e[t];return c===void 0?l():(s=!0,c)};var f=!1,u=Rt(()=>(f=!1,o())),h=p;return(function(c,d){if(arguments.length>0){const $=d?S(u):c;return re(u,$),f=!0,i!==void 0&&(i=$),c}return Te&&f||(h.f&oe)!==0?u.v:S(u)})}function wi(e){return new $i(e)}class $i{#t;#e;constructor(t){var r=new Map,n=(s,l)=>{var a=qn(l,!1,!1);return r.set(s,a),a};const i=new Proxy({...t.props||{},$$events:{}},{get(s,l){return S(r.get(l)??n(l,Reflect.get(s,l)))},has(s,l){return l===vn?!0:(S(r.get(l)??n(l,Reflect.get(s,l))),Reflect.has(s,l))},set(s,l,a){return re(r.get(l)??n(l,a),a),Reflect.set(s,l,a)}});this.#e=(t.hydrate?hi:jr)(t.component,{target:t.target,anchor:t.anchor,props:i,context:t.context,intro:t.intro??!1,recover:t.recover}),(!t?.props?.$$host||t.sync===!1)&&Pe(),this.#t=i.$$events;for(const s of Object.keys(this.#e))s==="$set"||s==="$destroy"||s==="$on"||it(this,s,{get(){return this.#e[s]},set(l){this.#e[s]=l},enumerable:!0});this.#e.$set=s=>{Object.assign(i,s)},this.#e.$destroy=()=>{vi(this.#e)}}$set(t){this.#e.$set(t)}$on(t,r){this.#t[t]=this.#t[t]||[];const n=(...i)=>r.call(this,...i);return this.#t[t].push(n),()=>{this.#t[t]=this.#t[t].filter(i=>i!==n)}}$destroy(){this.#e.$destroy()}}let Hr;typeof HTMLElement=="function"&&(Hr=class extends HTMLElement{$$ctor;$$s;$$c;$$cn=!1;$$d={};$$r=!1;$$p_d={};$$l={};$$l_u=new Map;$$me;constructor(e,t,r){super(),this.$$ctor=e,this.$$s=t,r&&this.attachShadow({mode:"open"})}addEventListener(e,t,r){if(this.$$l[e]=this.$$l[e]||[],this.$$l[e].push(t),this.$$c){const n=this.$$c.$on(e,t);this.$$l_u.set(t,n)}super.addEventListener(e,t,r)}removeEventListener(e,t,r){if(super.removeEventListener(e,t,r),this.$$c){const n=this.$$l_u.get(t);n&&(n(),this.$$l_u.delete(t))}}async connectedCallback(){if(this.$$cn=!0,!this.$$c){let e=function(n){return i=>{const s=document.createElement("slot");n!=="default"&&(s.name=n),N(i,s)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const t={},r=ki(this);for(const n of this.$$s)n in r&&(n==="default"&&!this.$$d.children?(this.$$d.children=e(n),t.default=!0):t[n]=e(n));for(const n of this.attributes){const i=this.$$g_p(n.name);i in this.$$d||(this.$$d[i]=gt(i,n.value,this.$$p_d,"toProp"))}for(const n in this.$$p_d)!(n in this.$$d)&&this[n]!==void 0&&(this.$$d[n]=this[n],delete this[n]);this.$$c=wi({component:this.$$ctor,target:this.shadowRoot||this,props:{...this.$$d,$$slots:t,$$host:this}}),this.$$me=Gn(()=>{mr(()=>{this.$$r=!0;for(const n of nt(this.$$c)){if(!this.$$p_d[n]?.reflect)continue;this.$$d[n]=this.$$c[n];const i=gt(n,this.$$d[n],this.$$p_d,"toAttribute");i==null?this.removeAttribute(this.$$p_d[n].attribute||n):this.setAttribute(this.$$p_d[n].attribute||n,i)}this.$$r=!1})});for(const n in this.$$l)for(const i of this.$$l[n]){const s=this.$$c.$on(n,i);this.$$l_u.set(i,s)}this.$$l={}}}attributeChangedCallback(e,t,r){this.$$r||(e=this.$$g_p(e),this.$$d[e]=gt(e,r,this.$$p_d,"toProp"),this.$$c?.$set({[e]:this.$$d[e]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$me(),this.$$c=void 0)})}$$g_p(e){return nt(this.$$p_d).find(t=>this.$$p_d[t].attribute===e||!this.$$p_d[t].attribute&&t.toLowerCase()===e)||e}});function gt(e,t,r,n){const i=r[e]?.type;if(t=i==="Boolean"&&typeof t!="boolean"?t!=null:t,!n||!r[e])return t;if(n==="toAttribute")switch(i){case"Object":case"Array":return t==null?null:JSON.stringify(t);case"Boolean":return t?"":null;case"Number":return t??null;default:return t}else switch(i){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function ki(e){const t={};return e.childNodes.forEach(r=>{t[r.slot||"default"]=!0}),t}function Ei(e,t,r,n,i,s){let l=class extends Hr{constructor(){super(e,r,i),this.$$p_d=t}static get observedAttributes(){return nt(t).map(a=>(t[a].attribute||a).toLowerCase())}};return nt(t).forEach(a=>{it(l.prototype,a,{get(){return this.$$c&&a in this.$$c?this.$$c[a]:this.$$d[a]},set(o){o=gt(a,o,t),this.$$d[a]=o;var f=this.$$c;if(f){var u=Ae(f,a)?.get;u?f[a]=o:f.$set({[a]:o})}}})}),n.forEach(a=>{it(l.prototype,a,{get(){return this.$$c?.[a]}})}),e.element=l,l}var Se={},Yr;function xi(){if(Yr)return Se;Yr=1,Object.defineProperty(Se,"__esModule",{value:!0}),Se.LanguageTranslator=void 0,Se.getChildStyleToPass=e,Se.addComponent=t;function e(n,i){var s,l,a="";try{if(n&&i?.length&&(!((s=Object.keys(n))===null||s===void 0)&&s.length)&&(!((l=i?.filter(function(c){return Object.keys(n).includes(c.name)}))===null||l===void 0)&&l.length))for(var o=function(c){var d=i?.filter(function($){return $.name===c&&$.defaultValue!==n[c]});d&&(a+="".concat(c,":").concat(n[c],";"))},f=0,u=Object.keys(n);f<u.length;f++){var h=u[f];o(h)}}catch(c){console.error("error getting child style to pass",c)}finally{return a}}function t(n){var i,s=((i=n?.repoName.split("/"))===null||i===void 0?void 0:i[1])||n?.repoName;if(!s)throw new Error("wrong componentPath "+n?.repoName);if(!n?.version)throw new Error("wrong version "+n?.version);var l=n?.iifePath||"main.iife.js";if(!document.getElementById(s+"-script"))try{var a=document.createElement("script");if(a.id=s+"-script",a.src="https://cdn.jsdelivr.net/npm/".concat(n.repoName,"@").concat(n.version,"/").concat(l),n?.local)a.src="".concat(n.local);else if(location.href.includes("localhost:6006")){var o=s.split("-")[0];a.src="http://localhost:6006/webcomponents/".concat(s.replace(o+"-",""),"/").concat(l)}document.head.appendChild(a)}catch(f){console.warn(f)}}var r=(function(){function n(i){if(this.lang="",!i?.dictionary)throw new Error("no dictionary provided");this.dictionary=i.dictionary,this.setLang(i?.lang)}return n.prototype.setLang=function(i){i||(i=n.getDefaultLang()),this.lang=i},n.prototype.translateWord=function(i,s){return n.getDictionaryWord(i,this.dictionary,s||this.lang)},n.prototype.translateDate=function(i,s,l){return n.formatDate(i,s,l||this.lang)},n.getDefaultLang=function(){var i,s,l,a="en";return navigator?.languages&&(!((l=(s=(i=navigator.languages[0])===null||i===void 0?void 0:i.split("-")[0])===null||s===void 0?void 0:s.toLowerCase())===null||l===void 0)&&l.length)&&(a=navigator.languages[0].split("-")[0].toLowerCase()),a},n.getDictionaryWord=function(i,s,l){var a;if(!i)throw new Error("no wordKey provided");if(!s)throw new Error("no dictionary provided");if(l&&(!((a=s[l])===null||a===void 0)&&a[i]))return s[l][i];var o="",f=n.getDefaultLang();if(!l||f!==l){var u=s?.[f];u?.[i]&&(o=u[i])}return o},n.formatDate=function(i,s,l){if(!i)throw new Error("no date provided");if(typeof i.getMonth!="function")throw new Error("wrong date format");var a=new Intl.DateTimeFormat(l||n.getDefaultLang(),s);return a.format(i)},n})();return Se.LanguageTranslator=r,Se}var pt=xi();const Wr={en:{of:"of",total:"Total",size:"Size"},it:{of:"di",total:"Totale",size:"Paginazione"}},Jr={version:"0.62.31"};var Ti=A('<span id="info" class="info-text svelte-1libl3t"> </span>'),Ni=A("<hb-input-number></hb-input-number>",2),Si=A("<hb-input-select></hb-input-select>",2),Ci=A('<span class="page-size-group svelte-1libl3t"><span class="page-size-label svelte-1libl3t"> </span> <!></span>'),Ai=A('<li class="page-item svelte-1libl3t"><button class="page-link svelte-1libl3t">«</button></li> <li class="page-item svelte-1libl3t"><button class="page-link svelte-1libl3t"><</button></li>',1),Oi=A('<li class="page-item disabled svelte-1libl3t"><button class="page-link svelte-1libl3t" disabled>«</button></li> <li class="page-item disabled svelte-1libl3t"><button class="page-link svelte-1libl3t" disabled><</button></li>',1),Ri=A('<li class="page-item svelte-1libl3t"><button class="page-link svelte-1libl3t"> </button></li>'),Li=A('<li class="page-item svelte-1libl3t"><button class="page-link svelte-1libl3t"> </button></li>'),Mi=A('<li class="page-item svelte-1libl3t"><button class="page-link svelte-1libl3t"> </button></li>'),Pi=A('<li class="page-item svelte-1libl3t"><button class="page-link svelte-1libl3t"> </button></li>'),Di=A('<li class="page-item svelte-1libl3t"><button class="page-link svelte-1libl3t"> </button></li>'),zi=A('<li class="page-item svelte-1libl3t"><button class="page-link svelte-1libl3t"> </button></li>'),Ii=A('<li class="page-item svelte-1libl3t"><button class="page-link svelte-1libl3t"> </button></li>'),ji=A('<li class="page-item svelte-1libl3t"><button class="page-link svelte-1libl3t"> </button></li>'),Fi=A('<li class="page-item svelte-1libl3t"><button class="page-link svelte-1libl3t">></button></li> <li class="page-item svelte-1libl3t"><button class="page-link svelte-1libl3t">»</button></li>',1),Bi=A('<li class="page-item disabled svelte-1libl3t"><button class="page-link svelte-1libl3t" disabled>></button></li> <li class="page-item disabled svelte-1libl3t"><button class="page-link svelte-1libl3t" disabled>»</button></li>',1),qi=A('<!> <!> <!> <!> <!> <li class="page-item active svelte-1libl3t"><button class="page-link svelte-1libl3t"> </button></li> <!> <!> <!> <!> <!>',1),Ui=A('<nav class="svelte-1libl3t"><div class="paginate-bar svelte-1libl3t"><!> <!></div> <ul class="pagination svelte-1libl3t"><!></ul></nav>');const Vi={hash:"svelte-1libl3t",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
|
/*!
|
|
4
4
|
* Bootstrap v5.3.8 (https://getbootstrap.com/)
|
|
5
5
|
* Copyright 2011-2021 The Bootstrap Authors
|
|
@@ -38,7 +38,7 @@ button.svelte-1libl3t {margin:0;font-family:inherit;font-size:inherit;line-heigh
|
|
|
38
38
|
}
|
|
39
39
|
*/.svelte-1libl3t::-webkit-search-decoration {-webkit-appearance:none;}.svelte-1libl3t::-webkit-color-swatch-wrapper {padding:0;}.svelte-1libl3t::file-selector-button {font:inherit;-webkit-appearance:button;}.pagination.svelte-1libl3t {--bs-pagination-padding-x: 0.75rem;--bs-pagination-padding-y: 0.375rem;--bs-pagination-font-size: 1rem;--bs-pagination-color: var(--bs-link-color);--bs-pagination-bg: var(--bs-body-bg);--bs-pagination-border-width: var(--bs-border-width);--bs-pagination-border-color: var(--bs-border-color);--bs-pagination-border-radius: var(--bs-border-radius);--bs-pagination-hover-color: var(--bs-link-hover-color);--bs-pagination-hover-bg: var(--bs-tertiary-bg);--bs-pagination-hover-border-color: var(--bs-border-color);--bs-pagination-focus-color: var(--bs-link-hover-color);--bs-pagination-focus-bg: var(--bs-secondary-bg);--bs-pagination-focus-box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);--bs-pagination-active-color: #fff;--bs-pagination-active-bg: #0d6efd;--bs-pagination-active-border-color: #0d6efd;--bs-pagination-disabled-color: var(--bs-secondary-color);--bs-pagination-disabled-bg: var(--bs-secondary-bg);--bs-pagination-disabled-border-color: var(--bs-border-color);display:flex;padding-left:0;list-style:none;}.page-link.svelte-1libl3t {position:relative;display:block;padding:var(--bs-pagination-padding-y) var(--bs-pagination-padding-x);font-size:var(--bs-pagination-font-size);color:var(--bs-pagination-color);text-decoration:none;background-color:var(--bs-pagination-bg);border:var(--bs-pagination-border-width) solid var(--bs-pagination-border-color);transition:color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;}
|
|
40
40
|
@media (prefers-reduced-motion: reduce) {.page-link.svelte-1libl3t {transition:none;}
|
|
41
|
-
}.page-link.svelte-1libl3t:hover {z-index:2;color:var(--bs-pagination-hover-color);background-color:var(--bs-pagination-hover-bg);border-color:var(--bs-pagination-hover-border-color);}.page-link.svelte-1libl3t:focus {z-index:3;color:var(--bs-pagination-focus-color);background-color:var(--bs-pagination-focus-bg);outline:0;box-shadow:var(--bs-pagination-focus-box-shadow);} .active.svelte-1libl3t > .page-link:where(.svelte-1libl3t) {z-index:3;color:var(--bs-pagination-active-color);background-color:var(--bs-pagination-active-bg);border-color:var(--bs-pagination-active-border-color);} .disabled.svelte-1libl3t > .page-link:where(.svelte-1libl3t) {color:var(--bs-pagination-disabled-color);pointer-events:none;background-color:var(--bs-pagination-disabled-bg);border-color:var(--bs-pagination-disabled-border-color);}.page-item.svelte-1libl3t:not(:first-child) .page-link:where(.svelte-1libl3t) {margin-left:calc(-1 * var(--bs-border-width));}.page-item.svelte-1libl3t:first-child .page-link:where(.svelte-1libl3t) {border-top-left-radius:var(--bs-pagination-border-radius);border-bottom-left-radius:var(--bs-pagination-border-radius);}.page-item.svelte-1libl3t:last-child .page-link:where(.svelte-1libl3t) {border-top-right-radius:var(--bs-pagination-border-radius);border-bottom-right-radius:var(--bs-pagination-border-radius);}:host {font-family:"Roboto", sans-serif;}.pagination.svelte-1libl3t {display:inline-flex;}`};function
|
|
42
|
-
|
|
43
|
-
|
|
41
|
+
}.page-link.svelte-1libl3t:hover {z-index:2;color:var(--bs-pagination-hover-color);background-color:var(--bs-pagination-hover-bg);border-color:var(--bs-pagination-hover-border-color);}.page-link.svelte-1libl3t:focus {z-index:3;color:var(--bs-pagination-focus-color);background-color:var(--bs-pagination-focus-bg);outline:0;box-shadow:var(--bs-pagination-focus-box-shadow);} .active.svelte-1libl3t > .page-link:where(.svelte-1libl3t) {z-index:3;color:var(--bs-pagination-active-color);background-color:var(--bs-pagination-active-bg);border-color:var(--bs-pagination-active-border-color);} .disabled.svelte-1libl3t > .page-link:where(.svelte-1libl3t) {color:var(--bs-pagination-disabled-color);pointer-events:none;background-color:var(--bs-pagination-disabled-bg);border-color:var(--bs-pagination-disabled-border-color);}.page-item.svelte-1libl3t:not(:first-child) .page-link:where(.svelte-1libl3t) {margin-left:calc(-1 * var(--bs-border-width));}.page-item.svelte-1libl3t:first-child .page-link:where(.svelte-1libl3t) {border-top-left-radius:var(--bs-pagination-border-radius);border-bottom-left-radius:var(--bs-pagination-border-radius);}.page-item.svelte-1libl3t:last-child .page-link:where(.svelte-1libl3t) {border-top-right-radius:var(--bs-pagination-border-radius);border-bottom-right-radius:var(--bs-pagination-border-radius);}:host {font-family:"Roboto", sans-serif;}nav.svelte-1libl3t {display:flex;align-items:center;flex-wrap:wrap;gap:0.75rem;}.paginate-bar.svelte-1libl3t {display:flex;align-items:center;gap:1rem;flex-wrap:wrap;}.info-text.svelte-1libl3t {font-size:0.875rem;color:var(--bs-secondary-color, #6c757d);white-space:nowrap;}.page-size-group.svelte-1libl3t {display:inline-flex;align-items:center;gap:0.3rem;min-width:100px;max-width:160px;}.page-size-label.svelte-1libl3t {font-size:0.8rem;color:var(--bs-secondary-color, #6c757d);user-select:none;line-height:1;}.pagination.svelte-1libl3t {display:inline-flex;margin-bottom:0;}`};function Gr(e,t){er(t,!0),_i(e,Vi);let r=Ze(t,"pages",7,1),n=Ze(t,"id",7,""),i=Ze(t,"page",7,0),s=Ze(t,"info"),l=Ze(t,"i18nlang"),a=ue(De(new pt.LanguageTranslator({dictionary:Wr,lang:l()}))),o=Fn(()=>{if(!s()?.page_size_options)return[];let m=[];try{const k=JSON.parse(s().page_size_options);Array.isArray(k)&&(m=k.map(String))}catch{m=s().page_size_options.split(",").map(k=>k.trim()).filter(Boolean)}return m.map(k=>({value:k,label:k,id:k}))});Jn(()=>{typeof r()=="string"&&i(parseInt(i())),typeof s()=="string"&&s(JSON.parse(s())),S(a)&&l()&&S(a).lang&&S(a).lang!==l()&&re(a,new pt.LanguageTranslator({dictionary:Wr,lang:l()}),!0)}),pt.addComponent({repoName:"@htmlbricks/hb-input-number",version:Jr.version}),pt.addComponent({repoName:"@htmlbricks/hb-input-select",version:Jr.version});function f(m,k){t.$$host.dispatchEvent(new CustomEvent(m,{detail:k}))}function u(m){f("pageChange",{page:m,pages:r()})}function h(m){const k=parseInt(m.value);!isNaN(k)&&k>0&&(s()&&s({...s(),size:k}),f("changePageSize",{page_size:k}))}var c={get pages(){return r()},set pages(m=1){r(m),Pe()},get id(){return n()},set id(m=""){n(m),Pe()},get page(){return i()},set page(m=0){i(m),Pe()},get info(){return s()},set info(m){s(m),Pe()},get i18nlang(){return l()},set i18nlang(m){l(m),Pe()}},d=Ui(),$=w(d),J=w($);{var be=m=>{var k=Ti(),we=w(k);y(k),B(et=>Z(we,`${s().size*i()+1} - ${(s().size*(i()+1)>s().total?s().total:s().size*(i()+1))??""}
|
|
42
|
+
${et??""}
|
|
43
|
+
${s().total??""}`),[()=>S(a).translateWord("of")]),N(m,k)};I(J,m=>{(s()?.total||s()?.total===0)&&m(be)})}var mt=D(J,2);{var Qe=m=>{var k=Ci(),we=w(k),et=w(we);y(we);var Ft=D(we,2);{var yt=Q=>{var ee=Ni();B(()=>Ur(ee,"schemaentry",JSON.stringify({id:"page_size",type:"number",value:s().size,params:{min:1}}))),Br(ee,1,"svelte-1libl3t"),zr("setVal",ee,Fe=>h(Fe.detail)),N(Q,ee)},Bt=Q=>{var ee=ui(),Fe=ht(ee);{var qt=Be=>{var qe=Si();B(()=>Ur(qe,"schemaentry",JSON.stringify({id:"page_size",type:"select",value:String(s().size),params:{options:S(o)}}))),Br(qe,1,"svelte-1libl3t"),zr("setVal",qe,tt=>h(tt.detail)),N(Be,qe)};I(Fe,Be=>{s().page_size_type==="select"&&S(o).length&&Be(qt)},!0)}N(Q,ee)};I(Ft,Q=>{s().page_size_type==="number"?Q(yt):Q(Bt,!1)})}y(k),B((Q,ee)=>{qr(k,"title",Q),Z(et,`${ee??""}:`)},[()=>S(a).translateWord("size"),()=>S(a).translateWord("size")]),N(m,k)};I(mt,m=>{s()?.page_size_type&&m(Qe)})}y($);var Kr=D($,2),Hi=w(Kr);{var Yi=m=>{var k=qi(),we=ht(k);{var et=v=>{var b=Ai(),_=ht(b),C=w(_);C.__click=()=>u(0),y(_);var rt=D(_,2),Ut=w(rt);Ut.__click=()=>u(i()-1),y(rt),N(v,b)},Ft=v=>{var b=Oi();At(2),N(v,b)};I(we,v=>{i()>0?v(et):v(Ft,!1)})}var yt=D(we,2);{var Bt=v=>{var b=Ri(),_=w(b);_.__click=()=>u(i()-4);var C=w(_,!0);y(_),y(b),B(()=>Z(C,i()-4+1)),N(v,b)};I(yt,v=>{r()>5&&i()>r()-3&&v(Bt)})}var Q=D(yt,2);{var ee=v=>{var b=Li(),_=w(b);_.__click=()=>u(i()-3);var C=w(_,!0);y(_),y(b),B(()=>Z(C,i()-3+1)),N(v,b)};I(Q,v=>{r()>5&&i()>r()-2&&v(ee)})}var Fe=D(Q,2);{var qt=v=>{var b=Mi(),_=w(b);_.__click=()=>u(i()-2);var C=w(_,!0);y(_),y(b),B(()=>Z(C,i()-2+1)),N(v,b)};I(Fe,v=>{i()-2>-1&&v(qt)})}var Be=D(Fe,2);{var qe=v=>{var b=Pi(),_=w(b);_.__click=()=>u(i()-1);var C=w(_,!0);y(_),y(b),B(()=>Z(C,i()-1+1)),N(v,b)};I(Be,v=>{i()-1>-1&&v(qe)})}var tt=D(Be,2),Xr=w(tt),Wi=w(Xr,!0);y(Xr),y(tt);var Zr=D(tt,2);{var Ji=v=>{var b=Di(),_=w(b);_.__click=()=>u(i()+1);var C=w(_,!0);y(_),y(b),B(()=>Z(C,i()+1+1)),N(v,b)};I(Zr,v=>{i()+1<r()&&v(Ji)})}var Qr=D(Zr,2);{var Gi=v=>{var b=zi(),_=w(b);_.__click=()=>u(i()+2);var C=w(_,!0);y(_),y(b),B(()=>Z(C,i()+2+1)),N(v,b)};I(Qr,v=>{i()+2<r()&&v(Gi)})}var en=D(Qr,2);{var Ki=v=>{var b=Ii(),_=w(b);_.__click=()=>u(i()+3);var C=w(_,!0);y(_),y(b),B(()=>Z(C,i()+3+1)),N(v,b)};I(en,v=>{i()<2&&i()+3<r()&&v(Ki)})}var tn=D(en,2);{var Xi=v=>{var b=ji(),_=w(b);_.__click=()=>u(i()+4);var C=w(_,!0);y(_),y(b),B(()=>Z(C,i()+4+1)),N(v,b)};I(tn,v=>{i()===0&&i()+4<r()&&v(Xi)})}var Zi=D(tn,2);{var Qi=v=>{var b=Fi(),_=ht(b),C=w(_);C.__click=()=>u(i()+1),y(_);var rt=D(_,2),Ut=w(rt);Ut.__click=()=>u(r()-1),y(rt),N(v,b)},es=v=>{var b=Bi();At(2),N(v,b)};I(Zi,v=>{i()<r()-1?v(Qi):v(es,!1)})}B(()=>Z(Wi,i()+1)),N(m,k)};I(Hi,m=>{r()>0&&m(Yi)})}return y(Kr),y(d),N(e,d),tr(c)}oi(["click"]),customElements.define("hb-paginate",Ei(Gr,{pages:{},id:{},page:{},info:{},i18nlang:{}},[],[],!0)),Vt.Component=Gr,Object.defineProperty(Vt,Symbol.toStringTag,{value:"Module"})})(this.paginate=this.paginate||{});
|
|
44
44
|
//# sourceMappingURL=main.iife.js.map
|