@htmlbricks/hb-skeleton-component 0.61.51 → 0.61.53
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 +17 -18
- package/main.iife.js.map +1 -1
- package/manifest.json +1 -1
- package/package.json +1 -1
package/main.iife.js
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
|
-
(function(Mt){"use strict";typeof window<"u"&&((window.__svelte??={}).v??=new Set).add("5");const qr=1,Vr=2,Yr=16,Hr=1,Ur=2,Dt="[",rt="[!",nt="]",$e={},O=Symbol(),It=!1;var it=Array.isArray,Br=Array.prototype.indexOf,st=Array.from,Fe=Object.keys,Ee=Object.defineProperty,xe=Object.getOwnPropertyDescriptor,Gr=Object.prototype,Wr=Array.prototype,Xr=Object.getPrototypeOf,Lt=Object.isExtensible;function jt(e){for(var t=0;t<e.length;t++)e[t]()}function zr(){var e,t,r=new Promise((n,i)=>{e=n,t=i});return{promise:r,resolve:e,reject:t}}const D=2,at=4,Ft=8,ke=16,K=32,ne=64,qt=128,q=256,qe=512,A=1024,V=2048,ie=4096,B=8192,fe=16384,lt=32768,ot=65536,Vt=1<<17,Jr=1<<18,Te=1<<19,Kr=1<<20,ut=1<<21,ft=1<<22,ce=1<<23,ct=Symbol("$state"),Zr=Symbol("legacy props"),dt=new class extends Error{name="StaleReactionError";message="The reaction that called `getAbortSignal()` was re-run or destroyed"},Yt=3,Me=8;function Qr(){throw new Error("https://svelte.dev/e/await_outside_boundary")}function en(e){throw new Error("https://svelte.dev/e/lifecycle_outside_component")}function tn(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function rn(e){throw new Error("https://svelte.dev/e/effect_in_teardown")}function nn(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function sn(e){throw new Error("https://svelte.dev/e/effect_orphan")}function an(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function ln(){throw new Error("https://svelte.dev/e/hydration_failed")}function on(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function un(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function fn(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function Ve(e){console.warn("https://svelte.dev/e/hydration_mismatch")}let C=!1;function Z(e){C=e}let T;function G(e){if(e===null)throw Ve(),$e;return T=e}function De(){return G(ae(T))}function Ye(e){if(C){if(ae(T)!==null)throw Ve(),$e;T=e}}function vt(){for(var e=0,t=T;;){if(t.nodeType===Me){var r=t.data;if(r===nt){if(e===0)return t;e-=1}else(r===Dt||r===rt)&&(e+=1)}var n=ae(t);t.remove(),t=n}}function Ht(e){if(!e||e.nodeType!==Me)throw Ve(),$e;return e.data}function Ut(e){return e===this.v}function cn(e,t){return e!=e?t==t:e!==t||e!==null&&typeof e=="object"||typeof e=="function"}function Bt(e){return!cn(e,this.v)}let dn=!1,Y=null;function He(e){Y=e}function Gt(e,t=!1,r){Y={p:Y,c:null,e:null,s:e,x:null,l:null}}function Wt(e){var t=Y,r=t.e;if(r!==null){t.e=null;for(var n of r)vr(n)}return e!==void 0&&(t.x=e),Y=t.p,e??{}}function Xt(){return!0}const vn=new WeakMap;function hn(e){var t=p;if(t===null)return y.f|=ce,e;if((t.f<)===0){if((t.f&qt)===0)throw!t.parent&&e instanceof Error&&zt(e),e;t.b.error(e)}else ht(e,t)}function ht(e,t){for(;t!==null;){if((t.f&qt)!==0)try{t.b.error(e);return}catch(r){e=r}t=t.parent}throw e instanceof Error&&zt(e),e}function zt(e){const t=vn.get(e);t&&(Ee(e,"message",{value:t.message}),Ee(e,"stack",{value:t.stack}))}let _t=[],bt=[];function _n(){var e=_t;_t=[],jt(e)}function bn(){var e=bt;bt=[],jt(e)}function gn(){_t.length>0&&_n(),bt.length>0&&bn()}function mn(){const e=p.b;return e===null&&Qr(),e}function gt(e){var t=D|V,r=y!==null&&(y.f&D)!==0?y:null;return p===null||r!==null&&(r.f&q)!==0?t|=q:p.f|=Te,{ctx:Y,deps:null,effects:null,equals:Ut,f:t,fn:e,reactions:null,rv:0,v:O,wv:0,parent:r??p,ac:null}}function pn(e,t){let r=p;r===null&&tn();var n=r.b,i=void 0,s=Le(O),a=null,l=!y;return An(()=>{try{var o=e();a&&Promise.resolve(o).catch(()=>{})}catch(v){o=Promise.reject(v)}var u=()=>o;i=a?.then(u,u)??Promise.resolve(o),a=i;var f=N,h=n.is_pending();l&&(n.update_pending_count(1),h||f.increment());const c=(v,d=void 0)=>{a=null,h||f.activate(),d?d!==dt&&(s.f|=ce,We(s,d)):((s.f&ce)!==0&&(s.f^=ce),We(s,v)),l&&(n.update_pending_count(-1),h||f.decrement()),Zt()};if(i.then(c,v=>c(null,v||"unknown")),f)return()=>{queueMicrotask(()=>f.neuter())}}),new Promise(o=>{function u(f){function h(){f===i?o(s):u(i)}f.then(h,h)}u(i)})}function wn(e){const t=gt(e);return t.equals=Bt,t}function Jt(e){var t=e.effects;if(t!==null){e.effects=null;for(var r=0;r<t.length;r+=1)W(t[r])}}function yn(e){for(var t=e.parent;t!==null;){if((t.f&D)===0)return t;t=t.parent}return null}function mt(e){var t,r=p;le(yn(e));try{Jt(e),t=Cr(e)}finally{le(r)}return t}function Kt(e){var t=mt(e);if(e.equals(t)||(e.v=t,e.wv=kr()),!ge){var r=(oe||(e.f&q)!==0)&&e.deps!==null?ie:A;j(e,r)}}function $n(e,t,r){const n=gt;if(t.length===0){r(e.map(n));return}var i=N,s=p,a=En(),l=mn();Promise.all(t.map(o=>pn(o))).then(o=>{i?.activate(),a();try{r([...e.map(n),...o])}catch(u){(s.f&fe)===0&&ht(u,s)}i?.deactivate(),Zt()}).catch(o=>{l.error(o)})}function En(){var e=p,t=y,r=Y,n=N;return function(){le(e),z(t),He(r),n?.activate()}}function Zt(){le(null),z(null),He(null)}const pt=new Set;let N=null,Qt=new Set,Ue=[];function er(){const e=Ue.shift();Ue.length>0&&queueMicrotask(er),e()}let de=[],Be=null,wt=!1,Ge=!1;class ve{current=new Map;#t=new Map;#e=new Set;#r=0;#u=null;#f=!1;#i=[];#a=[];#s=[];#n=[];#l=[];#c=[];#d=[];skipped_effects=new Set;process(t){de=[];for(const i of t)this.#h(i);if(this.#i.length===0&&this.#r===0){this.#v();var r=this.#s,n=this.#n;this.#s=[],this.#n=[],this.#l=[],N=null,rr(r),rr(n),N===null?N=this:pt.delete(this),this.#u?.resolve()}else this.#o(this.#s),this.#o(this.#n),this.#o(this.#l);for(const i of this.#i)Ae(i);for(const i of this.#a)Ae(i);this.#i=[],this.#a=[]}#h(t){t.f^=A;for(var r=t.first;r!==null;){var n=r.f,i=(n&(K|ne))!==0,s=i&&(n&A)!==0,a=s||(n&B)!==0||this.skipped_effects.has(r);if(!a&&r.fn!==null){if(i)r.f^=A;else if((n&at)!==0)this.#n.push(r);else if((n&A)===0)if((n&ft)!==0){var l=r.b?.is_pending()?this.#a:this.#i;l.push(r)}else ze(r)&&((r.f&ke)!==0&&this.#l.push(r),Ae(r));var o=r.first;if(o!==null){r=o;continue}}var u=r.parent;for(r=r.next;r===null&&u!==null;)r=u.next,u=u.parent}}#o(t){for(const r of t)((r.f&V)!==0?this.#c:this.#d).push(r),j(r,A);t.length=0}capture(t,r){this.#t.has(t)||this.#t.set(t,r),this.current.set(t,t.v)}activate(){N=this}deactivate(){N=null;for(const t of Qt)if(Qt.delete(t),t(),N!==null)break}neuter(){this.#f=!0}flush(){de.length>0?tr():this.#v(),N===this&&(this.#r===0&&pt.delete(this),this.deactivate())}#v(){if(!this.#f)for(const t of this.#e)t();this.#e.clear()}increment(){this.#r+=1}decrement(){if(this.#r-=1,this.#r===0){for(const t of this.#c)j(t,V),Ce(t);for(const t of this.#d)j(t,ie),Ce(t);this.#s=[],this.#n=[],this.flush()}else this.deactivate()}add_callback(t){this.#e.add(t)}settled(){return(this.#u??=zr()).promise}static ensure(){if(N===null){const t=N=new ve;pt.add(N),Ge||ve.enqueue(()=>{N===t&&t.flush()})}return N}static enqueue(t){Ue.length===0&&queueMicrotask(er),Ue.unshift(t)}}function Ie(e){var t=Ge;Ge=!0;try{for(var r;;){if(gn(),de.length===0&&(N?.flush(),de.length===0))return Be=null,r;tr()}}finally{Ge=t}}function tr(){var e=Oe;wt=!0;try{var t=0;for(yr(!0);de.length>0;){var r=ve.ensure();if(t++>1e3){var n,i;xn()}r.process(de),se.clear()}}finally{wt=!1,yr(e),Be=null}}function xn(){try{an()}catch(e){ht(e,Be)}}let he=null;function rr(e){var t=e.length;if(t!==0){for(var r=0;r<t;){var n=e[r++];if((n.f&(fe|B))===0&&ze(n)&&(he=[],Ae(n),n.deps===null&&n.first===null&&n.nodes_start===null&&(n.teardown===null&&n.ac===null?mr(n):n.fn=null),he?.length>0)){se.clear();for(const i of he)Ae(i);he=[]}}he=null}}function Ce(e){for(var t=Be=e;t.parent!==null;){t=t.parent;var r=t.f;if(wt&&t===p&&(r&ke)!==0)return;if((r&(ne|K))!==0){if((r&A)===0)return;t.f^=A}}de.push(t)}const se=new Map;function Le(e,t){var r={f:0,v:e,reactions:null,equals:Ut,rv:0,wv:0};return r}function Q(e,t){const r=Le(e);return Dn(r),r}function nr(e,t=!1,r=!0){const n=Le(e);return t||(n.equals=Bt),n}function ee(e,t,r=!1){y!==null&&(!X||(y.f&Vt)!==0)&&Xt()&&(y.f&(D|ke|ft|Vt))!==0&&!re?.includes(e)&&fn();let n=r?Re(t):t;return We(e,n)}function We(e,t){if(!e.equals(t)){var r=e.v;ge?se.set(e,t):se.set(e,r),e.v=t;var n=ve.ensure();n.capture(e,r),(e.f&D)!==0&&((e.f&V)!==0&&mt(e),j(e,(e.f&q)===0?A:ie)),e.wv=kr(),ir(e,V),p!==null&&(p.f&A)!==0&&(p.f&(K|ne))===0&&(H===null?In([e]):H.push(e))}return t}function yt(e){ee(e,e.v+1)}function ir(e,t){var r=e.reactions;if(r!==null)for(var n=r.length,i=0;i<n;i++){var s=r[i],a=s.f,l=(a&V)===0;l&&j(s,t),(a&D)!==0?ir(s,ie):l&&((a&ke)!==0&&he!==null&&he.push(s),Ce(s))}}function Re(e){if(typeof e!="object"||e===null||ct in e)return e;const t=Xr(e);if(t!==Gr&&t!==Wr)return e;var r=new Map,n=it(e),i=Q(0),s=me,a=l=>{if(me===s)return l();var o=y,u=me;z(null),xr(s);var f=l();return z(o),xr(u),f};return n&&r.set("length",Q(e.length)),new Proxy(e,{defineProperty(l,o,u){(!("value"in u)||u.configurable===!1||u.enumerable===!1||u.writable===!1)&&on();var f=r.get(o);return f===void 0?f=a(()=>{var h=Q(u.value);return r.set(o,h),h}):ee(f,u.value,!0),!0},deleteProperty(l,o){var u=r.get(o);if(u===void 0){if(o in l){const f=a(()=>Q(O));r.set(o,f),yt(i)}}else ee(u,O),yt(i);return!0},get(l,o,u){if(o===ct)return e;var f=r.get(o),h=o in l;if(f===void 0&&(!h||xe(l,o)?.writable)&&(f=a(()=>{var v=Re(h?l[o]:O),d=Q(v);return d}),r.set(o,f)),f!==void 0){var c=L(f);return c===O?void 0:c}return Reflect.get(l,o,u)},getOwnPropertyDescriptor(l,o){var u=Reflect.getOwnPropertyDescriptor(l,o);if(u&&"value"in u){var f=r.get(o);f&&(u.value=L(f))}else if(u===void 0){var h=r.get(o),c=h?.v;if(h!==void 0&&c!==O)return{enumerable:!0,configurable:!0,value:c,writable:!0}}return u},has(l,o){if(o===ct)return!0;var u=r.get(o),f=u!==void 0&&u.v!==O||Reflect.has(l,o);if(u!==void 0||p!==null&&(!f||xe(l,o)?.writable)){u===void 0&&(u=a(()=>{var c=f?Re(l[o]):O,v=Q(c);return v}),r.set(o,u));var h=L(u);if(h===O)return!1}return f},set(l,o,u,f){var h=r.get(o),c=o in l;if(n&&o==="length")for(var v=u;v<h.v;v+=1){var d=r.get(v+"");d!==void 0?ee(d,O):v in l&&(d=a(()=>Q(O)),r.set(v+"",d))}if(h===void 0)(!c||xe(l,o)?.writable)&&(h=a(()=>Q(void 0)),ee(h,Re(u)),r.set(o,h));else{c=h.v!==O;var _=a(()=>Re(u));ee(h,_)}var g=Reflect.getOwnPropertyDescriptor(l,o);if(g?.set&&g.set.call(f,u),!c){if(n&&typeof o=="string"){var E=r.get("length"),w=Number(o);Number.isInteger(w)&&w>=E.v&&ee(E,w+1)}yt(i)}return!0},ownKeys(l){L(i);var o=Reflect.ownKeys(l).filter(h=>{var c=r.get(h);return c===void 0||c.v!==O});for(var[u,f]of r)f.v!==O&&!(u in l)&&o.push(u);return o},setPrototypeOf(){un()}})}var sr,ar,lr,or;function $t(){if(sr===void 0){sr=window,ar=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,r=Text.prototype;lr=xe(t,"firstChild").get,or=xe(t,"nextSibling").get,Lt(e)&&(e.__click=void 0,e.__className=void 0,e.__attributes=null,e.__style=void 0,e.__e=void 0),Lt(r)&&(r.__t=void 0)}}function _e(e=""){return document.createTextNode(e)}function be(e){return lr.call(e)}function ae(e){return or.call(e)}function Et(e,t){if(!C)return be(e);var r=be(T);if(r===null)r=T.appendChild(_e());else if(t&&r.nodeType!==Yt){var n=_e();return r?.before(n),G(n),n}return G(r),r}function kn(e,t){if(!C){var r=be(e);return r instanceof Comment&&r.data===""?ae(r):r}return T}function Xe(e,t=1,r=!1){let n=C?T:e;for(var i;t--;)i=n,n=ae(n);if(!C)return n;if(r&&n?.nodeType!==Yt){var s=_e();return n===null?i?.after(s):n.before(s),G(s),s}return G(n),n}function ur(e){e.textContent=""}function fr(){return!1}function cr(e){var t=y,r=p;z(null),le(null);try{return e()}finally{z(t),le(r)}}function Tn(e){p===null&&y===null&&sn(),y!==null&&(y.f&q)!==0&&p===null&&nn(),ge&&rn()}function Cn(e,t){var r=t.last;r===null?t.last=t.first=e:(r.next=e,e.prev=r,t.last=e)}function te(e,t,r,n=!0){var i=p;i!==null&&(i.f&B)!==0&&(e|=B);var s={ctx:Y,deps:null,nodes_start:null,nodes_end:null,f:e|V,first:null,fn:t,last:null,next:null,parent:i,b:i&&i.b,prev:null,teardown:null,transitions:null,wv:0,ac:null};if(r)try{Ae(s),s.f|=lt}catch(o){throw W(s),o}else t!==null&&Ce(s);if(n){var a=s;if(r&&a.deps===null&&a.teardown===null&&a.nodes_start===null&&a.first===a.last&&(a.f&Te)===0&&(a=a.first),a!==null&&(a.parent=i,i!==null&&Cn(a,i),y!==null&&(y.f&D)!==0&&(e&ne)===0)){var l=y;(l.effects??=[]).push(a)}}return s}function dr(e){Tn();var t=p.f,r=!y&&(t&K)!==0&&(t<)===0;if(r){var n=Y;(n.e??=[]).push(e)}else return vr(e)}function vr(e){return te(at|Kr,e,!1)}function Rn(e){ve.ensure();const t=te(ne|Te,e,!0);return()=>{W(t)}}function Nn(e){ve.ensure();const t=te(ne|Te,e,!0);return(r={})=>new Promise(n=>{r.outro?xt(t,()=>{W(t),n(void 0)}):(W(t),n(void 0))})}function On(e){return te(at,e,!1)}function An(e){return te(ft|Te,e,!0)}function Sn(e,t=0){return te(Ft|t,e,!0)}function hr(e,t=[],r=[]){$n(t,r,n=>{te(Ft,()=>e(...n.map(L)),!0)})}function _r(e,t=0){var r=te(ke|t,e,!0);return r}function Ne(e,t=!0){return te(K|Te,e,!0,t)}function br(e){var t=e.teardown;if(t!==null){const r=ge,n=y;$r(!0),z(null);try{t.call(null)}finally{$r(r),z(n)}}}function gr(e,t=!1){var r=e.first;for(e.first=e.last=null;r!==null;){const i=r.ac;i!==null&&cr(()=>{i.abort(dt)});var n=r.next;(r.f&ne)!==0?r.parent=null:W(r,t),r=n}}function Pn(e){for(var t=e.first;t!==null;){var r=t.next;(t.f&K)===0&&W(t),t=r}}function W(e,t=!0){var r=!1;(t||(e.f&Jr)!==0)&&e.nodes_start!==null&&e.nodes_end!==null&&(Mn(e.nodes_start,e.nodes_end),r=!0),gr(e,t&&!r),Je(e,0),j(e,fe);var n=e.transitions;if(n!==null)for(const s of n)s.stop();br(e);var i=e.parent;i!==null&&i.first!==null&&mr(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes_start=e.nodes_end=e.ac=null}function Mn(e,t){for(;e!==null;){var r=e===t?null:ae(e);e.remove(),e=r}}function mr(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 xt(e,t){var r=[];kt(e,r,!0),pr(r,()=>{W(e),t&&t()})}function pr(e,t){var r=e.length;if(r>0){var n=()=>--r||t();for(var i of e)i.out(n)}else t()}function kt(e,t,r){if((e.f&B)===0){if(e.f^=B,e.transitions!==null)for(const a of e.transitions)(a.is_global||r)&&t.push(a);for(var n=e.first;n!==null;){var i=n.next,s=(n.f&ot)!==0||(n.f&K)!==0;kt(n,t,s?r:!1),n=i}}}function Tt(e){wr(e,!0)}function wr(e,t){if((e.f&B)!==0){e.f^=B,(e.f&A)===0&&(j(e,V),Ce(e));for(var r=e.first;r!==null;){var n=r.next,i=(r.f&ot)!==0||(r.f&K)!==0;wr(r,i?t:!1),r=n}if(e.transitions!==null)for(const s of e.transitions)(s.is_global||t)&&s.in()}}let Oe=!1;function yr(e){Oe=e}let ge=!1;function $r(e){ge=e}let y=null,X=!1;function z(e){y=e}let p=null;function le(e){p=e}let re=null;function Dn(e){y!==null&&(re===null?re=[e]:re.push(e))}let S=null,I=0,H=null;function In(e){H=e}let Er=1,je=0,me=je;function xr(e){me=e}let oe=!1;function kr(){return++Er}function ze(e){var t=e.f;if((t&V)!==0)return!0;if((t&ie)!==0){var r=e.deps,n=(t&q)!==0;if(r!==null){var i,s,a=(t&qe)!==0,l=n&&p!==null&&!oe,o=r.length;if((a||l)&&(p===null||(p.f&fe)===0)){var u=e,f=u.parent;for(i=0;i<o;i++)s=r[i],(a||!s?.reactions?.includes(u))&&(s.reactions??=[]).push(u);a&&(u.f^=qe),l&&f!==null&&(f.f&q)===0&&(u.f^=q)}for(i=0;i<o;i++)if(s=r[i],ze(s)&&Kt(s),s.wv>e.wv)return!0}(!n||p!==null&&!oe)&&j(e,A)}return!1}function Tr(e,t,r=!0){var n=e.reactions;if(n!==null&&!re?.includes(e))for(var i=0;i<n.length;i++){var s=n[i];(s.f&D)!==0?Tr(s,t,!1):t===s&&(r?j(s,V):(s.f&A)!==0&&j(s,ie),Ce(s))}}function Cr(e){var t=S,r=I,n=H,i=y,s=oe,a=re,l=Y,o=X,u=me,f=e.f;S=null,I=0,H=null,oe=(f&q)!==0&&(X||!Oe||y===null),y=(f&(K|ne))===0?e:null,re=null,He(e.ctx),X=!1,me=++je,e.ac!==null&&(cr(()=>{e.ac.abort(dt)}),e.ac=null);try{e.f|=ut;var h=e.fn,c=h(),v=e.deps;if(S!==null){var d;if(Je(e,I),v!==null&&I>0)for(v.length=I+S.length,d=0;d<S.length;d++)v[I+d]=S[d];else e.deps=v=S;if(!oe||(f&D)!==0&&e.reactions!==null)for(d=I;d<v.length;d++)(v[d].reactions??=[]).push(e)}else v!==null&&I<v.length&&(Je(e,I),v.length=I);if(Xt()&&H!==null&&!X&&v!==null&&(e.f&(D|ie|V))===0)for(d=0;d<H.length;d++)Tr(H[d],e);return i!==null&&i!==e&&(je++,H!==null&&(n===null?n=H:n.push(...H))),(e.f&ce)!==0&&(e.f^=ce),c}catch(_){return hn(_)}finally{e.f^=ut,S=t,I=r,H=n,y=i,oe=s,re=a,He(l),X=o,me=u}}function Ln(e,t){let r=t.reactions;if(r!==null){var n=Br.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&D)!==0&&(S===null||!S.includes(t))&&(j(t,ie),(t.f&(q|qe))===0&&(t.f^=qe),Jt(t),Je(t,0))}function Je(e,t){var r=e.deps;if(r!==null)for(var n=t;n<r.length;n++)Ln(e,r[n])}function Ae(e){var t=e.f;if((t&fe)===0){j(e,A);var r=p,n=Oe;p=e,Oe=!0;try{(t&ke)!==0?Pn(e):gr(e),br(e);var i=Cr(e);e.teardown=typeof i=="function"?i:null,e.wv=Er;var s;It&&dn&&(e.f&V)!==0&&e.deps}finally{Oe=n,p=r}}}function L(e){var t=e.f,r=(t&D)!==0;if(y!==null&&!X){var n=p!==null&&(p.f&fe)!==0;if(!n&&!re?.includes(e)){var i=y.deps;if((y.f&ut)!==0)e.rv<je&&(e.rv=je,S===null&&i!==null&&i[I]===e?I++:S===null?S=[e]:(!oe||!S.includes(e))&&S.push(e));else{(y.deps??=[]).push(e);var s=e.reactions;s===null?e.reactions=[y]:s.includes(y)||s.push(y)}}}else if(r&&e.deps===null&&e.effects===null){var a=e,l=a.parent;l!==null&&(l.f&q)===0&&(a.f^=q)}if(ge){if(se.has(e))return se.get(e);if(r){a=e;var o=a.v;return((a.f&A)===0&&a.reactions!==null||Rr(a))&&(o=mt(a)),se.set(a,o),o}}else r&&(a=e,ze(a)&&Kt(a));if((e.f&ce)!==0)throw e.v;return e.v}function Rr(e){if(e.v===O)return!0;if(e.deps===null)return!1;for(const t of e.deps)if(se.has(t)||(t.f&D)!==0&&Rr(t))return!0;return!1}function jn(e){var t=X;try{return X=!0,e()}finally{X=t}}const Fn=-7169;function j(e,t){e.f=e.f&Fn|t}const Nr=new Set,Ct=new Set;function qn(e){for(var t=0;t<e.length;t++)Nr.add(e[t]);for(var r of Ct)r(e)}let Or=null;function Ke(e){var t=this,r=t.ownerDocument,n=e.type,i=e.composedPath?.()||[],s=i[0]||e.target;Or=e;var a=0,l=Or===e&&e.__root;if(l){var o=i.indexOf(l);if(o!==-1&&(t===document||t===window)){e.__root=t;return}var u=i.indexOf(t);if(u===-1)return;o<=u&&(a=o)}if(s=i[a]||e.target,s!==t){Ee(e,"currentTarget",{configurable:!0,get(){return s||r}});var f=y,h=p;z(null),le(null);try{for(var c,v=[];s!==null;){var d=s.assignedSlot||s.parentNode||s.host||null;try{var _=s["__"+n];if(_!=null&&(!s.disabled||e.target===s))if(it(_)){var[g,...E]=_;g.apply(s,[e,...E])}else _.call(s,e)}catch(w){c?v.push(w):c=w}if(e.cancelBubble||d===t||d===null)break;s=d}if(c){for(let w of v)queueMicrotask(()=>{throw w});throw c}}finally{e.__root=t,delete e.currentTarget,z(f),le(h)}}}function Vn(e){var t=document.createElement("template");return t.innerHTML=e.replaceAll("<!>","<!---->"),t.content}function Ze(e,t){var r=p;r.nodes_start===null&&(r.nodes_start=e,r.nodes_end=t)}function Rt(e,t){var r=(t&Hr)!==0,n=(t&Ur)!==0,i,s=!e.startsWith("<!>");return()=>{if(C)return Ze(T,null),T;i===void 0&&(i=Vn(s?e:"<!>"+e),r||(i=be(i)));var a=n||ar?document.importNode(i,!0):i.cloneNode(!0);if(r){var l=be(a),o=a.lastChild;Ze(l,o)}else Ze(a,a);return a}}function Qe(e,t){if(C){p.nodes_end=T,De();return}e!==null&&e.before(t)}const Yn=["touchstart","touchmove"];function Hn(e){return Yn.includes(e)}function Nt(e,t){var r=t==null?"":typeof t=="object"?t+"":t;r!==(e.__t??=e.nodeValue)&&(e.__t=r,e.nodeValue=r+"")}function Ar(e,t){return Sr(e,t)}function Un(e,t){$t(),t.intro=t.intro??!1;const r=t.target,n=C,i=T;try{for(var s=be(r);s&&(s.nodeType!==Me||s.data!==Dt);)s=ae(s);if(!s)throw $e;Z(!0),G(s),De();const a=Sr(e,{...t,anchor:s});if(T===null||T.nodeType!==Me||T.data!==nt)throw Ve(),$e;return Z(!1),a}catch(a){if(a instanceof Error&&a.message.split(`
|
|
2
|
-
`).some(l=>l.startsWith("https://svelte.dev/e/")))throw a;return a!==$e&&console.warn("Failed to hydrate: ",a),t.recover===!1&&ln(),$t(),ur(r),Z(!1),Ar(e,t)}finally{Z(n),G(i)}}const Se=new Map;function Sr(e,{target:t,anchor:r,props:n={},events:i,context:s,intro:a=!0}){$t();var l=new Set,o=h=>{for(var c=0;c<h.length;c++){var v=h[c];if(!l.has(v)){l.add(v);var d=Hn(v);t.addEventListener(v,Ke,{passive:d});var _=Se.get(v);_===void 0?(document.addEventListener(v,Ke,{passive:d}),Se.set(v,1)):Se.set(v,_+1)}}};o(st(Nr)),Ct.add(o);var u=void 0,f=Nn(()=>{var h=r??t.appendChild(_e());return Ne(()=>{if(s){Gt({});var c=Y;c.c=s}i&&(n.$$events=i),C&&Ze(h,null),u=e(h,n)||{},C&&(p.nodes_end=T),s&&Wt()}),()=>{for(var c of l){t.removeEventListener(c,Ke);var v=Se.get(c);--v===0?(document.removeEventListener(c,Ke),Se.delete(c)):Se.set(c,v)}Ct.delete(o),h!==r&&h.parentNode?.removeChild(h)}});return Ot.set(u,f),u}let Ot=new WeakMap;function Bn(e,t){const r=Ot.get(e);return r?(Ot.delete(e),r(t)):Promise.resolve()}function Gn(e){Y===null&&en(),dr(()=>{const t=jn(e);if(typeof t=="function")return t})}function Wn(e,t,r=!1){C&&De();var n=e,i=null,s=null,a=O,l=r?ot:0,o=!1;const u=(v,d=!0)=>{o=!0,c(d,v)};var f=null;function h(){f!==null&&(f.lastChild.remove(),n.before(f),f=null);var v=a?i:s,d=a?s:i;v&&Tt(v),d&&xt(d,()=>{a?s=null:i=null})}const c=(v,d)=>{if(a===(a=v))return;let _=!1;if(C){const k=Ht(n)===rt;!!a===k&&(n=vt(),G(n),Z(!1),_=!0)}var g=fr(),E=n;if(g&&(f=document.createDocumentFragment(),f.append(E=_e())),a?i??=d&&Ne(()=>d(E)):s??=d&&Ne(()=>d(E)),g){var w=N,b=a?i:s,x=a?s:i;b&&w.skipped_effects.delete(b),x&&w.skipped_effects.add(x),w.add_callback(h)}else h();_&&Z(!0)};_r(()=>{o=!1,t(u),o||c(null,null)},l),C&&(n=T)}function Xn(e,t){return t}function zn(e,t,r){for(var n=e.items,i=[],s=t.length,a=0;a<s;a++)kt(t[a].e,i,!0);var l=s>0&&i.length===0&&r!==null;if(l){var o=r.parentNode;ur(o),o.append(r),n.clear(),J(e,t[0].prev,t[s-1].next)}pr(i,()=>{for(var u=0;u<s;u++){var f=t[u];l||(n.delete(f.k),J(e,f.prev,f.next)),W(f.e,!l)}})}function Jn(e,t,r,n,i,s=null){var a=e,l={flags:t,items:new Map,first:null};{var o=e;a=C?G(be(o)):o.appendChild(_e())}C&&De();var u=null,f=!1,h=new Map,c=wn(()=>{var g=r();return it(g)?g:g==null?[]:st(g)}),v,d;function _(){Kn(d,v,l,h,a,i,t,n,r),s!==null&&(v.length===0?u?Tt(u):u=Ne(()=>s(a)):u!==null&&xt(u,()=>{u=null}))}_r(()=>{d??=p,v=L(c);var g=v.length;if(f&&g===0)return;f=g===0;let E=!1;if(C){var w=Ht(a)===rt;w!==(g===0)&&(a=vt(),G(a),Z(!1),E=!0)}if(C){for(var b=null,x,k=0;k<g;k++){if(T.nodeType===Me&&T.data===nt){a=T,E=!0,Z(!1);break}var P=v[k],R=n(P,k);x=At(T,l,b,null,P,R,k,i,t,r),l.items.set(R,x),b=x}g>0&&G(vt())}if(C)g===0&&s&&(u=Ne(()=>s(a)));else if(fr()){var U=new Set,M=N;for(k=0;k<g;k+=1){P=v[k],R=n(P,k);var ue=l.items.get(R)??h.get(R);ue?Pr(ue,P,k):(x=At(null,l,null,null,P,R,k,i,t,r,!0),h.set(R,x)),U.add(R)}for(const[we,ye]of l.items)U.has(we)||M.skipped_effects.add(ye.e);M.add_callback(_)}else _();E&&Z(!0),L(c)}),C&&(a=T)}function Kn(e,t,r,n,i,s,a,l,o){var u=t.length,f=r.items,h=r.first,c=h,v,d=null,_=[],g=[],E,w,b,x;for(x=0;x<u;x+=1){if(E=t[x],w=l(E,x),b=f.get(w),b===void 0){var k=n.get(w);if(k!==void 0){n.delete(w),f.set(w,k);var P=d?d.next:c;J(r,d,k),J(r,k,P),St(k,P,i),d=k}else{var R=c?c.e.nodes_start:i;d=At(R,r,d,d===null?r.first:d.next,E,w,x,s,a,o)}f.set(w,d),_=[],g=[],c=d.next;continue}if(Pr(b,E,x),(b.e.f&B)!==0&&Tt(b.e),b!==c){if(v!==void 0&&v.has(b)){if(_.length<g.length){var U=g[0],M;d=U.prev;var ue=_[0],we=_[_.length-1];for(M=0;M<_.length;M+=1)St(_[M],U,i);for(M=0;M<g.length;M+=1)v.delete(g[M]);J(r,ue.prev,we.next),J(r,d,ue),J(r,we,U),c=U,d=we,x-=1,_=[],g=[]}else v.delete(b),St(b,c,i),J(r,b.prev,b.next),J(r,b,d===null?r.first:d.next),J(r,d,b),d=b;continue}for(_=[],g=[];c!==null&&c.k!==w;)(c.e.f&B)===0&&(v??=new Set).add(c),g.push(c),c=c.next;if(c===null)continue;b=c}_.push(b),d=b,c=b.next}if(c!==null||v!==void 0){for(var ye=v===void 0?[]:st(v);c!==null;)(c.e.f&B)===0&&ye.push(c),c=c.next;var $=ye.length;if($>0){var m=u===0?i:null;zn(r,ye,m)}}e.first=r.first&&r.first.e,e.last=d&&d.e;for(var F of n.values())W(F.e);n.clear()}function Pr(e,t,r,n){We(e.v,t),e.i=r}function At(e,t,r,n,i,s,a,l,o,u,f){var h=(o&qr)!==0,c=(o&Yr)===0,v=h?c?nr(i,!1,!1):Le(i):i,d=(o&Vr)===0?a:Le(a),_={i:d,v,k:s,a:null,e:null,prev:r,next:n};try{if(e===null){var g=document.createDocumentFragment();g.append(e=_e())}return _.e=Ne(()=>l(e,v,d,u),C),_.e.prev=r&&r.e,_.e.next=n&&n.e,r===null?f||(t.first=_):(r.next=_,r.e.next=_.e),n!==null&&(n.prev=_,n.e.prev=_.e),_}finally{}}function St(e,t,r){for(var n=e.next?e.next.e.nodes_start:r,i=t?t.e.nodes_start:r,s=e.e.nodes_start;s!==null&&s!==n;){var a=ae(s);i.before(s),s=a}}function J(e,t,r){t===null?e.first=r:(t.next=r,t.e.next=r&&r.e),r!==null&&(r.prev=t,r.e.prev=t&&t.e)}function Zn(e,t,r,n,i){C&&De();var s=t.$$slots?.[r],a=!1;s===!0&&(s=t[r],a=!0),s===void 0||s(e,a?()=>n:n)}function Qn(e){const t={};e.children&&(t.default=!0);for(const r in e.$$slots)t[r]=!0;return t}function ei(e,t){On(()=>{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 et(e,t,r,n){var i=n,s=!0,a=()=>(s&&(s=!1,i=n),i),l;l=e[t],l===void 0&&n!==void 0&&(l=a());var o;o=()=>{var c=e[t];return c===void 0?a():(s=!0,c)};var u=!1,f=gt(()=>(u=!1,o())),h=p;return(function(c,v){if(arguments.length>0){const d=v?L(f):c;return ee(f,d),u=!0,i!==void 0&&(i=d),c}return ge&&u||(h.f&fe)!==0?f.v:L(f)})}function ti(e){return new ri(e)}class ri{#t;#e;constructor(t){var r=new Map,n=(s,a)=>{var l=nr(a,!1,!1);return r.set(s,l),l};const i=new Proxy({...t.props||{},$$events:{}},{get(s,a){return L(r.get(a)??n(a,Reflect.get(s,a)))},has(s,a){return a===Zr?!0:(L(r.get(a)??n(a,Reflect.get(s,a))),Reflect.has(s,a))},set(s,a,l){return ee(r.get(a)??n(a,l),l),Reflect.set(s,a,l)}});this.#e=(t.hydrate?Un:Ar)(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)&&Ie(),this.#t=i.$$events;for(const s of Object.keys(this.#e))s==="$set"||s==="$destroy"||s==="$on"||Ee(this,s,{get(){return this.#e[s]},set(a){this.#e[s]=a},enumerable:!0});this.#e.$set=s=>{Object.assign(i,s)},this.#e.$destroy=()=>{Bn(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 Mr;typeof HTMLElement=="function"&&(Mr=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),Qe(i,s)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const t={},r=ni(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]=tt(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=ti({component:this.$$ctor,target:this.shadowRoot||this,props:{...this.$$d,$$slots:t,$$host:this}}),this.$$me=Rn(()=>{Sn(()=>{this.$$r=!0;for(const n of Fe(this.$$c)){if(!this.$$p_d[n]?.reflect)continue;this.$$d[n]=this.$$c[n];const i=tt(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]=tt(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 Fe(this.$$p_d).find(t=>this.$$p_d[t].attribute===e||!this.$$p_d[t].attribute&&t.toLowerCase()===e)||e}});function tt(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 ni(e){const t={};return e.childNodes.forEach(r=>{t[r.slot||"default"]=!0}),t}function ii(e,t,r,n,i,s){let a=class extends Mr{constructor(){super(e,r,i),this.$$p_d=t}static get observedAttributes(){return Fe(t).map(l=>(t[l].attribute||l).toLowerCase())}};return Fe(t).forEach(l=>{Ee(a.prototype,l,{get(){return this.$$c&&l in this.$$c?this.$$c[l]:this.$$d[l]},set(o){o=tt(l,o,t),this.$$d[l]=o;var u=this.$$c;if(u){var f=xe(u,l)?.get;f?u[l]=o:u.$set({[l]:o})}}})}),n.forEach(l=>{Ee(a.prototype,l,{get(){return this.$$c?.[l]}})}),e.element=a,a}function si(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Pe={},Pt,Dr;function ai(){if(Dr)return Pt;Dr=1;var e=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,t=/\n/g,r=/^\s*/,n=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,i=/^:\s*/,s=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,a=/^[;\s]*/,l=/^\s+|\s+$/g,o=`
|
|
3
|
-
`,u="/",f="*",h="",c="comment",v="declaration";Pt=function(_,g){if(typeof _!="string")throw new TypeError("First argument must be a string");if(!_)return[];g=g||{};var E=1,w=1;function b($){var m=$.match(t);m&&(E+=m.length);var F=$.lastIndexOf(o);w=~F?$.length-F:w+$.length}function x(){var $={line:E,column:w};return function(m){return m.position=new k($),U(),m}}function k($){this.start=$,this.end={line:E,column:w},this.source=g.source}k.prototype.content=_;function P($){var m=new Error(g.source+":"+E+":"+w+": "+$);if(m.reason=$,m.filename=g.source,m.line=E,m.column=w,m.source=_,!g.silent)throw m}function R($){var m=$.exec(_);if(m){var F=m[0];return b(F),_=_.slice(F.length),m}}function U(){R(r)}function M($){var m;for($=$||[];m=ue();)m!==!1&&$.push(m);return $}function ue(){var $=x();if(!(u!=_.charAt(0)||f!=_.charAt(1))){for(var m=2;h!=_.charAt(m)&&(f!=_.charAt(m)||u!=_.charAt(m+1));)++m;if(m+=2,h===_.charAt(m-1))return P("End of comment missing");var F=_.slice(2,m-2);return w+=2,b(F),_=_.slice(m),w+=2,$({type:c,comment:F})}}function we(){var $=x(),m=R(n);if(m){if(ue(),!R(i))return P("property missing ':'");var F=R(s),_i=$({type:v,property:d(m[0].replace(e,h)),value:F?d(F[0].replace(e,h)):h});return R(a),_i}}function ye(){var $=[];M($);for(var m;m=we();)m!==!1&&($.push(m),M($));return $}return U(),ye()};function d(_){return _?_.replace(l,h):h}return Pt}var Ir;function li(){if(Ir)return Pe;Ir=1;var e=Pe&&Pe.__importDefault||function(n){return n&&n.__esModule?n:{default:n}};Object.defineProperty(Pe,"__esModule",{value:!0}),Pe.default=r;var t=e(ai());function r(n,i){var s=null;if(!n||typeof n!="string")return s;var a=(0,t.default)(n),l=typeof i=="function";return a.forEach(function(o){if(o.type==="declaration"){var u=o.property,f=o.value;l?i(u,f,o):f&&(s=s||{},s[u]=f)}}),s}return Pe}var oi=li();const Lr=si(oi);Lr.default;var pe={},jr;function ui(){if(jr)return pe;jr=1,Object.defineProperty(pe,"__esModule",{value:!0}),pe.LanguageTranslator=void 0,pe.getChildStyleToPass=e,pe.addComponent=t;function e(n,i){var s,a,l="";try{if(n&&i?.length&&(!((s=Object.keys(n))===null||s===void 0)&&s.length)&&(!((a=i?.filter(function(c){return Object.keys(n).includes(c.name)}))===null||a===void 0)&&a.length))for(var o=function(c){var v=i?.filter(function(d){return d.name===c&&d.defaultValue!==n[c]});v&&(l+="".concat(c,":").concat(n[c],";"))},u=0,f=Object.keys(n);u<f.length;u++){var h=f[u];o(h)}}catch(c){console.error("error getting child style to pass",c)}finally{return l}}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 a=n?.iifePath||"main.iife.js";if(!document.getElementById(s+"-script"))try{var l=document.createElement("script");if(l.id=s+"-script",l.src="https://cdn.jsdelivr.net/npm/".concat(n.repoName,"@").concat(n.version,"/").concat(a),n?.local)l.src="".concat(n.local);else if(location.href.includes("localhost:6006")){var o=s.split("-")[0];l.src="http://localhost:6006/webcomponents/".concat(s.replace(o+"-",""),"/").concat(a)}document.head.appendChild(l)}catch(u){console.warn(u)}}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,a){return n.formatDate(i,s,a||this.lang)},n.getDefaultLang=function(){var i,s,a,l,o,u="en";return navigator?.languages&&(!((a=(s=(i=navigator.languages[0])===null||i===void 0?void 0:i.split("-")[0])===null||s===void 0?void 0:s.toLowerCase())===null||a===void 0)&&a.length)&&(u=(o=(l=navigator.languages[0])===null||l===void 0?void 0:l.split("-")[0])===null||o===void 0?void 0:o.toLowerCase()),u},n.getDictionaryWord=function(i,s,a){var l;if(!i)throw new Error("no wordKey provided");if(!s)throw new Error("no dictionary provided");if(a&&(!((l=s[a])===null||l===void 0)&&l[i]))return s[a][i];var o="",u=n.getDefaultLang();if(!a||u!==a){var f=s?.[u];f?.[i]&&(o=f[i])}return o},n.formatDate=function(i,s,a){if(!i)throw new Error("no date provided");if(typeof i.getMonth!="function")throw new Error("wrong date format");var l=new Intl.DateTimeFormat(a||n.getDefaultLang(),s);return l.format(i)},n})();return pe.LanguageTranslator=r,pe}ui();var fi=(e,t)=>t(),ci=Rt('<span class="svelte-t6mhe0"> </span>'),di=Rt('<div class="svelte-t6mhe0"></div>'),vi=Rt('<div part="testpart" id="skeletontest" class="svelte-t6mhe0"> </div> <!> <div part="testpart" class="svelte-t6mhe0"> </div> slot: <!> /endslot<br class="svelte-t6mhe0"/> ',1);const hi={hash:"svelte-t6mhe0",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");:host {font-family:"Roboto", sans-serif;}
|
|
1
|
+
(function(Dt){"use strict";typeof window<"u"&&((window.__svelte??={}).v??=new Set).add("5");const Bn=1,Vn=2,Hn=16,Un=1,Yn=2,Pt="[",Ye="[!",ut="]",Ee={},k=Symbol(),Lt=!1;var It=Array.isArray,zn=Array.prototype.indexOf,ct=Array.from,ze=Object.keys,We=Object.defineProperty,xe=Object.getOwnPropertyDescriptor,Wn=Object.prototype,Gn=Array.prototype,Jn=Object.getPrototypeOf,jt=Object.isExtensible;function Kn(e){for(var t=0;t<e.length;t++)e[t]()}function Ft(){var e,t,n=new Promise((r,i)=>{e=r,t=i});return{promise:n,resolve:e,reject:t}}const T=2,Ge=4,dt=8,te=16,ne=32,ue=64,Je=128,Y=512,C=1024,M=2048,re=4096,j=8192,ce=16384,ht=32768,ke=65536,qt=1<<17,Bt=1<<18,ve=1<<19,Xn=1<<20,Me=32768,vt=1<<21,_t=1<<22,de=1<<23,bt=Symbol("$state"),Zn=Symbol("legacy props"),Te=new class extends Error{name="StaleReactionError";message="The reaction that called `getAbortSignal()` was re-run or destroyed"},pt=3,Ce=8;function Qn(e){throw new Error("https://svelte.dev/e/lifecycle_outside_component")}function er(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function tr(e){throw new Error("https://svelte.dev/e/effect_in_teardown")}function nr(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function rr(e){throw new Error("https://svelte.dev/e/effect_orphan")}function ir(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function sr(){throw new Error("https://svelte.dev/e/hydration_failed")}function lr(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function or(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function ar(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function fr(){throw new Error("https://svelte.dev/e/svelte_boundary_reset_onerror")}function Ke(e){console.warn("https://svelte.dev/e/hydration_mismatch")}function ur(){console.warn("https://svelte.dev/e/svelte_boundary_reset_noop")}let y=!1;function ie(e){y=e}let w;function D(e){if(e===null)throw Ke(),Ee;return w=e}function De(){return D(K(w))}function Xe(e){if(y){if(K(w)!==null)throw Ke(),Ee;w=e}}function cr(e=1){if(y){for(var t=e,n=w;t--;)n=K(n);w=n}}function Ze(e=!0){for(var t=0,n=w;;){if(n.nodeType===Ce){var r=n.data;if(r===ut){if(t===0)return n;t-=1}else(r===Pt||r===Ye)&&(t+=1)}var i=K(n);e&&n.remove(),n=i}}function Vt(e){if(!e||e.nodeType!==Ce)throw Ke(),Ee;return e.data}function Ht(e){return e===this.v}function dr(e,t){return e!=e?t==t:e!==t||e!==null&&typeof e=="object"||typeof e=="function"}function Ut(e){return!dr(e,this.v)}let hr=!1,F=null;function Ae(e){F=e}function Yt(e,t=!1,n){F={p:F,i:!1,c:null,e:null,s:e,x:null,l:null}}function zt(e){var t=F,n=t.e;if(n!==null){t.e=null;for(var r of n)vn(r)}return e!==void 0&&(t.x=e),t.i=!0,F=t.p,e??{}}function Wt(){return!0}let _e=[];function Gt(){var e=_e;_e=[],Kn(e)}function gt(e){if(_e.length===0&&!Pe){var t=_e;queueMicrotask(()=>{t===_e&&Gt()})}_e.push(e)}function vr(){for(;_e.length>0;)Gt()}function Jt(e){var t=m;if(t===null)return p.f|=de,e;if((t.f&ht)===0){if((t.f&Je)===0)throw e;t.b.error(e)}else Re(e,t)}function Re(e,t){for(;t!==null;){if((t.f&Je)!==0)try{t.b.error(e);return}catch(n){e=n}t=t.parent}throw e}const Qe=new Set;let E=null,q=null,G=[],et=null,mt=!1,Pe=!1;class z{committed=!1;current=new Map;previous=new Map;#t=new Set;#e=new Set;#n=0;#r=0;#a=null;#l=[];#o=[];skipped_effects=new Set;is_fork=!1;process(t){G=[],this.apply();var n={parent:null,effect:null,effects:[],render_effects:[],block_effects:[]};for(const r of t)this.#i(r,n);this.is_fork||this.#f(),this.#r>0||this.is_fork?(this.#s(n.effects),this.#s(n.render_effects),this.#s(n.block_effects)):(E=null,Xt(n.render_effects),Xt(n.effects),this.#a?.resolve()),q=null}#i(t,n){t.f^=C;for(var r=t.first;r!==null;){var i=r.f,s=(i&(ne|ue))!==0,l=s&&(i&C)!==0,o=l||(i&j)!==0||this.skipped_effects.has(r);if((r.f&Je)!==0&&r.b?.is_pending()&&(n={parent:n,effect:r,effects:[],render_effects:[],block_effects:[]}),!o&&r.fn!==null){s?r.f^=C:(i&Ge)!==0?n.effects.push(r):qe(r)&&((r.f&te)!==0&&n.block_effects.push(r),Be(r));var a=r.first;if(a!==null){r=a;continue}}var f=r.parent;for(r=r.next;r===null&&f!==null;)f===n.effect&&(this.#s(n.effects),this.#s(n.render_effects),this.#s(n.block_effects),n=n.parent),r=f.next,f=f.parent}}#s(t){for(const n of t)((n.f&M)!==0?this.#l:this.#o).push(n),R(n,C)}capture(t,n){this.previous.has(t)||this.previous.set(t,n),(t.f&de)===0&&(this.current.set(t,t.v),q?.set(t,t.v))}activate(){E=this,this.apply()}deactivate(){E=null,q=null}flush(){if(this.activate(),G.length>0){if(Kt(),E!==null&&E!==this)return}else this.#n===0&&this.process([]);this.deactivate()}discard(){for(const t of this.#e)t(this);this.#e.clear()}#f(){if(this.#r===0){for(const t of this.#t)t();this.#t.clear()}this.#n===0&&this.#u()}#u(){if(Qe.size>1){this.previous.clear();var t=q,n=!0,r={parent:null,effect:null,effects:[],render_effects:[],block_effects:[]};for(const i of Qe){if(i===this){n=!1;continue}const s=[];for(const[o,a]of this.current){if(i.current.has(o))if(n&&a!==i.current.get(o))i.current.set(o,a);else continue;s.push(o)}if(s.length===0)continue;const l=[...i.current.keys()].filter(o=>!this.current.has(o));if(l.length>0){const o=new Set,a=new Map;for(const f of s)Zt(f,l,o,a);if(G.length>0){E=i,i.apply();for(const f of G)i.#i(f,r);G=[],i.deactivate()}}}E=null,q=t}this.committed=!0,Qe.delete(this)}increment(t){this.#n+=1,t&&(this.#r+=1)}decrement(t){this.#n-=1,t&&(this.#r-=1),this.revive()}revive(){for(const t of this.#l)R(t,M),be(t);for(const t of this.#o)R(t,re),be(t);this.#l=[],this.#o=[],this.flush()}oncommit(t){this.#t.add(t)}ondiscard(t){this.#e.add(t)}settled(){return(this.#a??=Ft()).promise}static ensure(){if(E===null){const t=E=new z;Qe.add(E),Pe||z.enqueue(()=>{E===t&&t.flush()})}return E}static enqueue(t){gt(t)}apply(){}}function Le(e){var t=Pe;Pe=!0;try{for(var n;;){if(vr(),G.length===0&&(E?.flush(),G.length===0))return et=null,n;Kt()}}finally{Pe=t}}function Kt(){var e=me;mt=!0;try{var t=0;for(En(!0);G.length>0;){var n=z.ensure();if(t++>1e3){var r,i;_r()}n.process(G),he.clear()}}finally{mt=!1,En(e),et=null}}function _r(){try{ir()}catch(e){Re(e,et)}}let se=null;function Xt(e){var t=e.length;if(t!==0){for(var n=0;n<t;){var r=e[n++];if((r.f&(ce|j))===0&&qe(r)&&(se=new Set,Be(r),r.deps===null&&r.first===null&&r.nodes_start===null&&(r.teardown===null&&r.ac===null?mn(r):r.fn=null),se?.size>0)){he.clear();for(const i of se){if((i.f&(ce|j))!==0)continue;const s=[i];let l=i.parent;for(;l!==null;)se.has(l)&&(se.delete(l),s.push(l)),l=l.parent;for(let o=s.length-1;o>=0;o--){const a=s[o];(a.f&(ce|j))===0&&Be(a)}}se.clear()}}se=null}}function Zt(e,t,n,r){if(!n.has(e)&&(n.add(e),e.reactions!==null))for(const i of e.reactions){const s=i.f;(s&T)!==0?Zt(i,t,n,r):(s&(_t|te))!==0&&(s&M)===0&&Qt(i,t,r)&&(R(i,M),be(i))}}function Qt(e,t,n){const r=n.get(e);if(r!==void 0)return r;if(e.deps!==null)for(const i of e.deps){if(t.includes(i))return!0;if((i.f&T)!==0&&Qt(i,t,n))return n.set(i,!0),!0}return n.set(e,!1),!1}function be(e){for(var t=et=e;t.parent!==null;){t=t.parent;var n=t.f;if(mt&&t===m&&(n&te)!==0&&(n&Bt)===0)return;if((n&(ue|ne))!==0){if((n&C)===0)return;t.f^=C}}G.push(t)}function br(e){let t=0,n=pe(0),r;return()=>{rt()&&(O(n),_n(()=>(t===0&&(r=On(()=>e(()=>je(n)))),t+=1,()=>{gt(()=>{t-=1,t===0&&(r?.(),r=void 0,je(n))})})))}}var pr=ke|ve|Je;function gr(e,t,n){new mr(e,t,n)}class mr{parent;#t=!1;#e;#n=y?w:null;#r;#a;#l;#o=null;#i=null;#s=null;#f=null;#u=null;#h=0;#c=0;#v=!1;#d=null;#m=br(()=>(this.#d=pe(this.#h),()=>{this.#d=null}));constructor(t,n,r){this.#e=t,this.#r=n,this.#a=r,this.parent=m.b,this.#t=!!this.#r.pending,this.#l=kt(()=>{if(m.b=this,y){const s=this.#n;De(),s.nodeType===Ce&&s.data===Ye?this.#y():this.#w()}else{var i=this.#p();try{this.#o=V(()=>r(i))}catch(s){this.error(s)}this.#c>0?this.#b():this.#t=!1}return()=>{this.#u?.remove()}},pr),y&&(this.#e=w)}#w(){try{this.#o=V(()=>this.#a(this.#e))}catch(t){this.error(t)}this.#t=!1}#y(){const t=this.#r.pending;t&&(this.#i=V(()=>t(this.#e)),z.enqueue(()=>{var n=this.#p();this.#o=this.#_(()=>(z.ensure(),V(()=>this.#a(n)))),this.#c>0?this.#b():(Se(this.#i,()=>{this.#i=null}),this.#t=!1)}))}#p(){var t=this.#e;return this.#t&&(this.#u=J(),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.#r.pending}#_(t){var n=m,r=p,i=F;Q(this.#l),P(this.#l),Ae(this.#l.ctx);try{return t()}catch(s){return Jt(s),null}finally{Q(n),P(r),Ae(i)}}#b(){const t=this.#r.pending;this.#o!==null&&(this.#f=document.createDocumentFragment(),this.#f.append(this.#u),$n(this.#o,this.#f)),this.#i===null&&(this.#i=V(()=>t(this.#e)))}#g(t){if(!this.has_pending_snippet()){this.parent&&this.parent.#g(t);return}this.#c+=t,this.#c===0&&(this.#t=!1,this.#i&&Se(this.#i,()=>{this.#i=null}),this.#f&&(this.#e.before(this.#f),this.#f=null))}update_pending_count(t){this.#g(t),this.#h+=t,this.#d&&Ie(this.#d,this.#h)}get_effect_pending(){return this.#m(),O(this.#d)}error(t){var n=this.#r.onerror;let r=this.#r.failed;if(this.#v||!n&&!r)throw t;this.#o&&(A(this.#o),this.#o=null),this.#i&&(A(this.#i),this.#i=null),this.#s&&(A(this.#s),this.#s=null),y&&(D(this.#n),cr(),D(Ze()));var i=!1,s=!1;const l=()=>{if(i){ur();return}i=!0,s&&fr(),z.ensure(),this.#h=0,this.#s!==null&&Se(this.#s,()=>{this.#s=null}),this.#t=this.has_pending_snippet(),this.#o=this.#_(()=>(this.#v=!1,V(()=>this.#a(this.#e)))),this.#c>0?this.#b():this.#t=!1};var o=p;try{P(null),s=!0,n?.(t,l),s=!1}catch(a){Re(a,this.#l&&this.#l.parent)}finally{P(o)}r&>(()=>{this.#s=this.#_(()=>{z.ensure(),this.#v=!0;try{return V(()=>{r(this.#e,()=>t,()=>l)})}catch(a){return Re(a,this.#l.parent),null}finally{this.#v=!1}})})}}function wr(e,t,n,r){const i=wt;if(n.length===0&&e.length===0){r(t.map(i));return}var s=E,l=m,o=yr();function a(){Promise.all(n.map(f=>$r(f))).then(f=>{o();try{r([...t.map(i),...f])}catch(c){(l.f&ce)===0&&Re(c,l)}s?.deactivate(),tt()}).catch(f=>{Re(f,l)})}e.length>0?Promise.all(e).then(()=>{o();try{return a()}finally{s?.deactivate(),tt()}}):a()}function yr(){var e=m,t=p,n=F,r=E;return function(s=!0){Q(e),P(t),Ae(n),s&&r?.activate()}}function tt(){Q(null),P(null),Ae(null)}function wt(e){var t=T|M,n=p!==null&&(p.f&T)!==0?p:null;return m!==null&&(m.f|=ve),{ctx:F,deps:null,effects:null,equals:Ht,f:t,fn:e,reactions:null,rv:0,v:k,wv:0,parent:n??m,ac:null}}function $r(e,t){let n=m;n===null&&er();var r=n.b,i=void 0,s=pe(k),l=!p,o=new Map;return Mr(()=>{var a=Ft();i=a.promise;try{Promise.resolve(e()).then(a.resolve,a.reject).then(()=>{f===E&&f.committed&&f.deactivate(),tt()})}catch(u){a.reject(u),tt()}var f=E;if(l){var c=!r.is_pending();r.update_pending_count(1),f.increment(c),o.get(f)?.reject(Te),o.delete(f),o.set(f,a)}const h=(u,d=void 0)=>{if(f.activate(),d)d!==Te&&(s.f|=de,Ie(s,d));else{(s.f&de)!==0&&(s.f^=de),Ie(s,u);for(const[v,_]of o){if(o.delete(v),v===f)break;_.reject(Te)}}l&&(r.update_pending_count(-1),f.decrement(c))};a.promise.then(h,u=>h(null,u||"unknown"))}),Rr(()=>{for(const a of o.values())a.reject(Te)}),new Promise(a=>{function f(c){function h(){c===i?a(s):f(i)}c.then(h,h)}f(i)})}function Er(e){const t=wt(e);return t.equals=Ut,t}function en(e){var t=e.effects;if(t!==null){e.effects=null;for(var n=0;n<t.length;n+=1)A(t[n])}}function xr(e){for(var t=e.parent;t!==null;){if((t.f&T)===0)return t;t=t.parent}return null}function yt(e){var t,n=m;Q(xr(e));try{e.f&=~Me,en(e),t=Rn(e)}finally{Q(n)}return t}function tn(e){var t=yt(e);if(e.equals(t)||(e.v=t,e.wv=Cn()),!we)if(q!==null)rt()&&q.set(e,e.v);else{var n=(e.f&Y)===0?re:C;R(e,n)}}let $t=new Set;const he=new Map;let nn=!1;function pe(e,t){var n={f:0,v:e,reactions:null,equals:Ht,rv:0,wv:0};return n}function le(e,t){const n=pe(e);return Lr(n),n}function rn(e,t=!1,n=!0){const r=pe(e);return t||(r.equals=Ut),r}function oe(e,t,n=!1){p!==null&&(!Z||(p.f&qt)!==0)&&Wt()&&(p.f&(T|te|_t|qt))!==0&&!ae?.includes(e)&&ar();let r=n?Ne(t):t;return Ie(e,r)}function Ie(e,t){if(!e.equals(t)){var n=e.v;we?he.set(e,t):he.set(e,n),e.v=t;var r=z.ensure();r.capture(e,n),(e.f&T)!==0&&((e.f&M)!==0&&yt(e),R(e,(e.f&Y)!==0?C:re)),e.wv=Cn(),sn(e,M),m!==null&&(m.f&C)!==0&&(m.f&(ne|ue))===0&&(H===null?Ir([e]):H.push(e)),!r.is_fork&&$t.size>0&&!nn&&kr()}return t}function kr(){nn=!1;const e=Array.from($t);for(const t of e)(t.f&C)!==0&&R(t,re),qe(t)&&Be(t);$t.clear()}function je(e){oe(e,e.v+1)}function sn(e,t){var n=e.reactions;if(n!==null)for(var r=n.length,i=0;i<r;i++){var s=n[i],l=s.f,o=(l&M)===0;if(o&&R(s,t),(l&T)!==0){var a=s;q?.delete(a),(l&Me)===0&&(l&Y&&(s.f|=Me),sn(a,re))}else o&&((l&te)!==0&&se!==null&&se.add(s),be(s))}}function Ne(e){if(typeof e!="object"||e===null||bt in e)return e;const t=Jn(e);if(t!==Wn&&t!==Gn)return e;var n=new Map,r=It(e),i=le(0),s=ye,l=o=>{if(ye===s)return o();var a=p,f=ye;P(null),Tn(s);var c=o();return P(a),Tn(f),c};return r&&n.set("length",le(e.length)),new Proxy(e,{defineProperty(o,a,f){(!("value"in f)||f.configurable===!1||f.enumerable===!1||f.writable===!1)&&lr();var c=n.get(a);return c===void 0?c=l(()=>{var h=le(f.value);return n.set(a,h),h}):oe(c,f.value,!0),!0},deleteProperty(o,a){var f=n.get(a);if(f===void 0){if(a in o){const c=l(()=>le(k));n.set(a,c),je(i)}}else oe(f,k),je(i);return!0},get(o,a,f){if(a===bt)return e;var c=n.get(a),h=a in o;if(c===void 0&&(!h||xe(o,a)?.writable)&&(c=l(()=>{var d=Ne(h?o[a]:k),v=le(d);return v}),n.set(a,c)),c!==void 0){var u=O(c);return u===k?void 0:u}return Reflect.get(o,a,f)},getOwnPropertyDescriptor(o,a){var f=Reflect.getOwnPropertyDescriptor(o,a);if(f&&"value"in f){var c=n.get(a);c&&(f.value=O(c))}else if(f===void 0){var h=n.get(a),u=h?.v;if(h!==void 0&&u!==k)return{enumerable:!0,configurable:!0,value:u,writable:!0}}return f},has(o,a){if(a===bt)return!0;var f=n.get(a),c=f!==void 0&&f.v!==k||Reflect.has(o,a);if(f!==void 0||m!==null&&(!c||xe(o,a)?.writable)){f===void 0&&(f=l(()=>{var u=c?Ne(o[a]):k,d=le(u);return d}),n.set(a,f));var h=O(f);if(h===k)return!1}return c},set(o,a,f,c){var h=n.get(a),u=a in o;if(r&&a==="length")for(var d=f;d<h.v;d+=1){var v=n.get(d+"");v!==void 0?oe(v,k):d in o&&(v=l(()=>le(k)),n.set(d+"",v))}if(h===void 0)(!u||xe(o,a)?.writable)&&(h=l(()=>le(void 0)),oe(h,Ne(f)),n.set(a,h));else{u=h.v!==k;var _=l(()=>Ne(f));oe(h,_)}var g=Reflect.getOwnPropertyDescriptor(o,a);if(g?.set&&g.set.call(c,f),!u){if(r&&typeof a=="string"){var L=n.get("length"),N=Number(a);Number.isInteger(N)&&N>=L.v&&oe(L,N+1)}je(i)}return!0},ownKeys(o){O(i);var a=Reflect.ownKeys(o).filter(h=>{var u=n.get(h);return u===void 0||u.v!==k});for(var[f,c]of n)c.v!==k&&!(f in o)&&a.push(f);return a},setPrototypeOf(){or()}})}var ln,on,an,fn;function Et(){if(ln===void 0){ln=window,on=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,n=Text.prototype;an=xe(t,"firstChild").get,fn=xe(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(n)&&(n.__t=void 0)}}function J(e=""){return document.createTextNode(e)}function ge(e){return an.call(e)}function K(e){return fn.call(e)}function xt(e,t){if(!y)return ge(e);var n=ge(w);if(n===null)n=w.appendChild(J());else if(t&&n.nodeType!==pt){var r=J();return n?.before(r),D(r),r}return D(n),n}function Tr(e,t=!1){if(!y){var n=ge(e);return n instanceof Comment&&n.data===""?K(n):n}if(t&&w?.nodeType!==pt){var r=J();return w?.before(r),D(r),r}return w}function nt(e,t=1,n=!1){let r=y?w:e;for(var i;t--;)i=r,r=K(r);if(!y)return r;if(n&&r?.nodeType!==pt){var s=J();return r===null?i?.after(s):r.before(s),D(s),s}return D(r),r}function un(e){e.textContent=""}function cn(){return!1}function dn(e){var t=p,n=m;P(null),Q(null);try{return e()}finally{P(t),Q(n)}}function Cr(e){m===null&&(p===null&&rr(),nr()),we&&tr()}function Ar(e,t){var n=t.last;n===null?t.last=t.first=e:(n.next=e,e.prev=n,t.last=e)}function X(e,t,n,r=!0){var i=m;i!==null&&(i.f&j)!==0&&(e|=j);var s={ctx:F,deps:null,nodes_start:null,nodes_end:null,f:e|M|Y,first:null,fn:t,last:null,next:null,parent:i,b:i&&i.b,prev:null,teardown:null,transitions:null,wv:0,ac:null};if(n)try{Be(s),s.f|=ht}catch(a){throw A(s),a}else t!==null&&be(s);if(r){var l=s;if(n&&l.deps===null&&l.teardown===null&&l.nodes_start===null&&l.first===l.last&&(l.f&ve)===0&&(l=l.first,(e&te)!==0&&(e&ke)!==0&&l!==null&&(l.f|=ke)),l!==null&&(l.parent=i,i!==null&&Ar(l,i),p!==null&&(p.f&T)!==0&&(e&ue)===0)){var o=p;(o.effects??=[]).push(l)}}return s}function rt(){return p!==null&&!Z}function Rr(e){const t=X(dt,null,!1);return R(t,C),t.teardown=e,t}function hn(e){Cr();var t=m.f,n=!p&&(t&ne)!==0&&(t&ht)===0;if(n){var r=F;(r.e??=[]).push(e)}else return vn(e)}function vn(e){return X(Ge|Xn,e,!1)}function Nr(e){z.ensure();const t=X(ue|ve,e,!0);return()=>{A(t)}}function Sr(e){z.ensure();const t=X(ue|ve,e,!0);return(n={})=>new Promise(r=>{n.outro?Se(t,()=>{A(t),r(void 0)}):(A(t),r(void 0))})}function Or(e){return X(Ge,e,!1)}function Mr(e){return X(_t|ve,e,!0)}function _n(e,t=0){return X(dt|t,e,!0)}function bn(e,t=[],n=[],r=[],i=!1){wr(r,t,n,s=>{X(i?Ge:dt,()=>e(...s.map(O)),!0)})}function kt(e,t=0){var n=X(te|t,e,!0);return n}function V(e,t=!0){return X(ne|ve,e,!0,t)}function pn(e){var t=e.teardown;if(t!==null){const n=we,r=p;xn(!0),P(null);try{t.call(null)}finally{xn(n),P(r)}}}function gn(e,t=!1){var n=e.first;for(e.first=e.last=null;n!==null;){const i=n.ac;i!==null&&dn(()=>{i.abort(Te)});var r=n.next;(n.f&ue)!==0?n.parent=null:A(n,t),n=r}}function Dr(e){for(var t=e.first;t!==null;){var n=t.next;(t.f&ne)===0&&A(t),t=n}}function A(e,t=!0){var n=!1;(t||(e.f&Bt)!==0)&&e.nodes_start!==null&&e.nodes_end!==null&&(Pr(e.nodes_start,e.nodes_end),n=!0),gn(e,t&&!n),it(e,0),R(e,ce);var r=e.transitions;if(r!==null)for(const s of r)s.stop();pn(e);var i=e.parent;i!==null&&i.first!==null&&mn(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes_start=e.nodes_end=e.ac=null}function Pr(e,t){for(;e!==null;){var n=e===t?null:K(e);e.remove(),e=n}}function mn(e){var t=e.parent,n=e.prev,r=e.next;n!==null&&(n.next=r),r!==null&&(r.prev=n),t!==null&&(t.first===e&&(t.first=r),t.last===e&&(t.last=n))}function Se(e,t,n=!0){var r=[];Tt(e,r,!0),wn(r,()=>{n&&A(e),t&&t()})}function wn(e,t){var n=e.length;if(n>0){var r=()=>--n||t();for(var i of e)i.out(r)}else t()}function Tt(e,t,n){if((e.f&j)===0){if(e.f^=j,e.transitions!==null)for(const l of e.transitions)(l.is_global||n)&&t.push(l);for(var r=e.first;r!==null;){var i=r.next,s=(r.f&ke)!==0||(r.f&ne)!==0&&(e.f&te)!==0;Tt(r,t,s?n:!1),r=i}}}function Ct(e){yn(e,!0)}function yn(e,t){if((e.f&j)!==0){e.f^=j,(e.f&C)===0&&(R(e,M),be(e));for(var n=e.first;n!==null;){var r=n.next,i=(n.f&ke)!==0||(n.f&ne)!==0;yn(n,i?t:!1),n=r}if(e.transitions!==null)for(const s of e.transitions)(s.is_global||t)&&s.in()}}function $n(e,t){for(var n=e.nodes_start,r=e.nodes_end;n!==null;){var i=n===r?null:K(n);t.append(n),n=i}}let me=!1;function En(e){me=e}let we=!1;function xn(e){we=e}let p=null,Z=!1;function P(e){p=e}let m=null;function Q(e){m=e}let ae=null;function Lr(e){p!==null&&(ae===null?ae=[e]:ae.push(e))}let S=null,B=0,H=null;function Ir(e){H=e}let kn=1,Fe=0,ye=Fe;function Tn(e){ye=e}function Cn(){return++kn}function qe(e){var t=e.f;if((t&M)!==0)return!0;if(t&T&&(e.f&=~Me),(t&re)!==0){var n=e.deps;if(n!==null)for(var r=n.length,i=0;i<r;i++){var s=n[i];if(qe(s)&&tn(s),s.wv>e.wv)return!0}(t&Y)!==0&&q===null&&R(e,C)}return!1}function An(e,t,n=!0){var r=e.reactions;if(r!==null&&!ae?.includes(e))for(var i=0;i<r.length;i++){var s=r[i];(s.f&T)!==0?An(s,t,!1):t===s&&(n?R(s,M):(s.f&C)!==0&&R(s,re),be(s))}}function Rn(e){var t=S,n=B,r=H,i=p,s=ae,l=F,o=Z,a=ye,f=e.f;S=null,B=0,H=null,p=(f&(ne|ue))===0?e:null,ae=null,Ae(e.ctx),Z=!1,ye=++Fe,e.ac!==null&&(dn(()=>{e.ac.abort(Te)}),e.ac=null);try{e.f|=vt;var c=e.fn,h=c(),u=e.deps;if(S!==null){var d;if(it(e,B),u!==null&&B>0)for(u.length=B+S.length,d=0;d<S.length;d++)u[B+d]=S[d];else e.deps=u=S;if(me&&rt()&&(e.f&Y)!==0)for(d=B;d<u.length;d++)(u[d].reactions??=[]).push(e)}else u!==null&&B<u.length&&(it(e,B),u.length=B);if(Wt()&&H!==null&&!Z&&u!==null&&(e.f&(T|re|M))===0)for(d=0;d<H.length;d++)An(H[d],e);return i!==null&&i!==e&&(Fe++,H!==null&&(r===null?r=H:r.push(...H))),(e.f&de)!==0&&(e.f^=de),h}catch(v){return Jt(v)}finally{e.f^=vt,S=t,B=n,H=r,p=i,ae=s,Ae(l),Z=o,ye=a}}function jr(e,t){let n=t.reactions;if(n!==null){var r=zn.call(n,e);if(r!==-1){var i=n.length-1;i===0?n=t.reactions=null:(n[r]=n[i],n.pop())}}n===null&&(t.f&T)!==0&&(S===null||!S.includes(t))&&(R(t,re),(t.f&Y)!==0&&(t.f^=Y,t.f&=~Me),en(t),it(t,0))}function it(e,t){var n=e.deps;if(n!==null)for(var r=t;r<n.length;r++)jr(e,n[r])}function Be(e){var t=e.f;if((t&ce)===0){R(e,C);var n=m,r=me;m=e,me=!0;try{(t&te)!==0?Dr(e):gn(e),pn(e);var i=Rn(e);e.teardown=typeof i=="function"?i:null,e.wv=kn;var s;Lt&&hr&&(e.f&M)!==0&&e.deps}finally{me=r,m=n}}}function O(e){var t=e.f,n=(t&T)!==0;if(p!==null&&!Z){var r=m!==null&&(m.f&ce)!==0;if(!r&&!ae?.includes(e)){var i=p.deps;if((p.f&vt)!==0)e.rv<Fe&&(e.rv=Fe,S===null&&i!==null&&i[B]===e?B++:S===null?S=[e]:S.includes(e)||S.push(e));else{(p.deps??=[]).push(e);var s=e.reactions;s===null?e.reactions=[p]:s.includes(p)||s.push(p)}}}if(we){if(he.has(e))return he.get(e);if(n){var l=e,o=l.v;return((l.f&C)===0&&l.reactions!==null||Sn(l))&&(o=yt(l)),he.set(l,o),o}}else if(n){if(l=e,q?.has(l))return q.get(l);qe(l)&&tn(l),me&&rt()&&(l.f&Y)===0&&Nn(l)}else if(q?.has(e))return q.get(e);if((e.f&de)!==0)throw e.v;return e.v}function Nn(e){if(e.deps!==null){e.f^=Y;for(const t of e.deps)(t.reactions??=[]).push(e),(t.f&T)!==0&&(t.f&Y)===0&&Nn(t)}}function Sn(e){if(e.v===k)return!0;if(e.deps===null)return!1;for(const t of e.deps)if(he.has(t)||(t.f&T)!==0&&Sn(t))return!0;return!1}function On(e){var t=Z;try{return Z=!0,e()}finally{Z=t}}const Fr=-7169;function R(e,t){e.f=e.f&Fr|t}const Mn=new Set,At=new Set;function qr(e){for(var t=0;t<e.length;t++)Mn.add(e[t]);for(var n of At)n(e)}let Dn=null;function st(e){var t=this,n=t.ownerDocument,r=e.type,i=e.composedPath?.()||[],s=i[0]||e.target;Dn=e;var l=0,o=Dn===e&&e.__root;if(o){var a=i.indexOf(o);if(a!==-1&&(t===document||t===window)){e.__root=t;return}var f=i.indexOf(t);if(f===-1)return;a<=f&&(l=a)}if(s=i[l]||e.target,s!==t){We(e,"currentTarget",{configurable:!0,get(){return s||n}});var c=p,h=m;P(null),Q(null);try{for(var u,d=[];s!==null;){var v=s.assignedSlot||s.parentNode||s.host||null;try{var _=s["__"+r];_!=null&&(!s.disabled||e.target===s)&&_.call(s,e)}catch(g){u?d.push(g):u=g}if(e.cancelBubble||v===t||v===null)break;s=v}if(u){for(let g of d)queueMicrotask(()=>{throw g});throw u}}finally{e.__root=t,delete e.currentTarget,P(c),Q(h)}}}function Br(e){var t=document.createElement("template");return t.innerHTML=e.replaceAll("<!>","<!---->"),t.content}function lt(e,t){var n=m;n.nodes_start===null&&(n.nodes_start=e,n.nodes_end=t)}function Rt(e,t){var n=(t&Un)!==0,r=(t&Yn)!==0,i,s=!e.startsWith("<!>");return()=>{if(y)return lt(w,null),w;i===void 0&&(i=Br(s?e:"<!>"+e),n||(i=ge(i)));var l=r||on?document.importNode(i,!0):i.cloneNode(!0);if(n){var o=ge(l),a=l.lastChild;lt(o,a)}else lt(l,l);return l}}function ot(e,t){if(y){m.nodes_end=w,De();return}e!==null&&e.before(t)}const Vr=["touchstart","touchmove"];function Hr(e){return Vr.includes(e)}function Nt(e,t){var n=t==null?"":typeof t=="object"?t+"":t;n!==(e.__t??=e.nodeValue)&&(e.__t=n,e.nodeValue=n+"")}function Pn(e,t){return Ln(e,t)}function Ur(e,t){Et(),t.intro=t.intro??!1;const n=t.target,r=y,i=w;try{for(var s=ge(n);s&&(s.nodeType!==Ce||s.data!==Pt);)s=K(s);if(!s)throw Ee;ie(!0),D(s);const l=Ln(e,{...t,anchor:s});return ie(!1),l}catch(l){if(l instanceof Error&&l.message.split(`
|
|
2
|
+
`).some(o=>o.startsWith("https://svelte.dev/e/")))throw l;return l!==Ee&&console.warn("Failed to hydrate: ",l),t.recover===!1&&sr(),Et(),un(n),ie(!1),Pn(e,t)}finally{ie(r),D(i)}}const Oe=new Map;function Ln(e,{target:t,anchor:n,props:r={},events:i,context:s,intro:l=!0}){Et();var o=new Set,a=h=>{for(var u=0;u<h.length;u++){var d=h[u];if(!o.has(d)){o.add(d);var v=Hr(d);t.addEventListener(d,st,{passive:v});var _=Oe.get(d);_===void 0?(document.addEventListener(d,st,{passive:v}),Oe.set(d,1)):Oe.set(d,_+1)}}};a(ct(Mn)),At.add(a);var f=void 0,c=Sr(()=>{var h=n??t.appendChild(J());return gr(h,{pending:()=>{}},u=>{if(s){Yt({});var d=F;d.c=s}if(i&&(r.$$events=i),y&<(u,null),f=e(u,r)||{},y&&(m.nodes_end=w,w===null||w.nodeType!==Ce||w.data!==ut))throw Ke(),Ee;s&&zt()}),()=>{for(var u of o){t.removeEventListener(u,st);var d=Oe.get(u);--d===0?(document.removeEventListener(u,st),Oe.delete(u)):Oe.set(u,d)}At.delete(a),h!==n&&h.parentNode?.removeChild(h)}});return St.set(f,c),f}let St=new WeakMap;function Yr(e,t){const n=St.get(e);return n?(St.delete(e),n(t)):Promise.resolve()}class zr{anchor;#t=new Map;#e=new Map;#n=new Map;#r=!0;constructor(t,n=!0){this.anchor=t,this.#r=n}#a=()=>{var t=E;if(this.#t.has(t)){var n=this.#t.get(t),r=this.#e.get(n);if(r)Ct(r);else{var i=this.#n.get(n);i&&(this.#e.set(n,i.effect),this.#n.delete(n),i.fragment.lastChild.remove(),this.anchor.before(i.fragment),r=i.effect)}for(const[s,l]of this.#t){if(this.#t.delete(s),s===t)break;const o=this.#n.get(l);o&&(A(o.effect),this.#n.delete(l))}for(const[s,l]of this.#e){if(s===n)continue;const o=()=>{if(Array.from(this.#t.values()).includes(s)){var f=document.createDocumentFragment();$n(l,f),f.append(J()),this.#n.set(s,{effect:l,fragment:f})}else A(l);this.#e.delete(s)};this.#r||!r?Se(l,o,!1):o()}}};#l=t=>{this.#t.delete(t);const n=Array.from(this.#t.values());for(const[r,i]of this.#n)n.includes(r)||(A(i.effect),this.#n.delete(r))};ensure(t,n){var r=E,i=cn();if(n&&!this.#e.has(t)&&!this.#n.has(t))if(i){var s=document.createDocumentFragment(),l=J();s.append(l),this.#n.set(t,{effect:V(()=>n(l)),fragment:s})}else this.#e.set(t,V(()=>n(this.anchor)));if(this.#t.set(r,t),i){for(const[o,a]of this.#e)o===t?r.skipped_effects.delete(a):r.skipped_effects.add(a);for(const[o,a]of this.#n)o===t?r.skipped_effects.delete(a.effect):r.skipped_effects.add(a.effect);r.oncommit(this.#a),r.ondiscard(this.#l)}else y&&(this.anchor=w),this.#a()}}function Wr(e){F===null&&Qn(),hn(()=>{const t=On(e);if(typeof t=="function")return t})}function Gr(e,t,n=!1){y&&De();var r=new zr(e),i=n?ke:0;function s(l,o){if(y){const f=Vt(e)===Ye;if(l===f){var a=Ze();D(a),r.anchor=a,ie(!1),r.ensure(l,o),ie(!0);return}}r.ensure(l,o)}kt(()=>{var l=!1;t((o,a=!0)=>{l=!0,s(a,o)}),l||s(!1,null)},i)}function Jr(e,t){return t}function Kr(e,t,n){for(var r=e.items,i=[],s=t.length,l=0;l<s;l++)Tt(t[l].e,i,!0);var o=s>0&&i.length===0&&n!==null;if(o){var a=n.parentNode;un(a),a.append(n),r.clear(),ee(e,t[0].prev,t[s-1].next)}wn(i,()=>{for(var f=0;f<s;f++){var c=t[f];o||(r.delete(c.k),ee(e,c.prev,c.next)),A(c.e,!o)}})}function Xr(e,t,n,r,i,s=null){var l=e,o={flags:t,items:new Map,first:null};{var a=e;l=y?D(ge(a)):a.appendChild(J())}y&&De();var f=null,c=!1,h=new Map,u=Er(()=>{var g=n();return It(g)?g:g==null?[]:ct(g)}),d,v;function _(){Zr(v,d,o,h,l,i,t,r,n),s!==null&&(d.length===0?f?Ct(f):f=V(()=>s(l)):f!==null&&Se(f,()=>{f=null}))}kt(()=>{v??=m,d=O(u);var g=d.length;if(c&&g===0)return;c=g===0;let L=!1;if(y){var N=Vt(l)===Ye;N!==(g===0)&&(l=Ze(),D(l),ie(!1),L=!0)}if(y){for(var b=null,x,$=0;$<g;$++){if(w.nodeType===Ce&&w.data===ut){l=w,L=!0,ie(!1);break}var U=d[$],I=r(U,$);x=Ot(w,o,b,null,U,I,$,i,t,n),o.items.set(I,x),b=x}g>0&&D(Ze())}if(y)g===0&&s&&(f=V(()=>s(l)));else if(cn()){var fe=new Set,W=E;for($=0;$<g;$+=1){U=d[$],I=r(U,$);var Ve=o.items.get(I)??h.get(I);Ve?In(Ve,U,$):(x=Ot(null,o,null,null,U,I,$,i,t,n,!0),h.set(I,x)),fe.add(I)}for(const[He,Ue]of o.items)fe.has(He)||W.skipped_effects.add(Ue.e);W.oncommit(_)}else _();L&&ie(!0),O(u)}),y&&(l=w)}function Zr(e,t,n,r,i,s,l,o,a){var f=t.length,c=n.items,h=n.first,u=h,d,v=null,_=[],g=[],L,N,b,x;for(x=0;x<f;x+=1){if(L=t[x],N=o(L,x),b=c.get(N),b===void 0){var $=r.get(N);if($!==void 0){r.delete(N),c.set(N,$);var U=v?v.next:u;ee(n,v,$),ee(n,$,U),Mt($,U,i),v=$}else{var I=u?u.e.nodes_start:i;v=Ot(I,n,v,v===null?n.first:v.next,L,N,x,s,l,a)}c.set(N,v),_=[],g=[],u=v.next;continue}if(In(b,L,x),(b.e.f&j)!==0&&Ct(b.e),b!==u){if(d!==void 0&&d.has(b)){if(_.length<g.length){var fe=g[0],W;v=fe.prev;var Ve=_[0],He=_[_.length-1];for(W=0;W<_.length;W+=1)Mt(_[W],fe,i);for(W=0;W<g.length;W+=1)d.delete(g[W]);ee(n,Ve.prev,He.next),ee(n,v,Ve),ee(n,He,fe),u=fe,v=He,x-=1,_=[],g=[]}else d.delete(b),Mt(b,u,i),ee(n,b.prev,b.next),ee(n,b,v===null?n.first:v.next),ee(n,v,b),v=b;continue}for(_=[],g=[];u!==null&&u.k!==N;)(u.e.f&j)===0&&(d??=new Set).add(u),g.push(u),u=u.next;if(u===null)continue;b=u}_.push(b),v=b,u=b.next}if(u!==null||d!==void 0){for(var Ue=d===void 0?[]:ct(d);u!==null;)(u.e.f&j)===0&&Ue.push(u),u=u.next;var ci=Ue.length;if(ci>0){var di=f===0?i:null;Kr(n,Ue,di)}}e.first=n.first&&n.first.e,e.last=v&&v.e;for(var hi of r.values())A(hi.e);r.clear()}function In(e,t,n,r){Ie(e.v,t),e.i=n}function Ot(e,t,n,r,i,s,l,o,a,f,c){var h=(a&Bn)!==0,u=(a&Hn)===0,d=h?u?rn(i,!1,!1):pe(i):i,v=(a&Vn)===0?l:pe(l),_={i:v,v:d,k:s,a:null,e:null,prev:n,next:r};try{if(e===null){var g=document.createDocumentFragment();g.append(e=J())}return _.e=V(()=>o(e,d,v,f),y),_.e.prev=n&&n.e,_.e.next=r&&r.e,n===null?c||(t.first=_):(n.next=_,n.e.next=_.e),r!==null&&(r.prev=_,r.e.prev=_.e),_}finally{}}function Mt(e,t,n){for(var r=e.next?e.next.e.nodes_start:n,i=t?t.e.nodes_start:n,s=e.e.nodes_start;s!==null&&s!==r;){var l=K(s);i.before(s),s=l}}function ee(e,t,n){t===null?e.first=n:(t.next=n,t.e.next=n&&n.e),n!==null&&(n.prev=t,n.e.prev=t&&t.e)}function Qr(e,t,n,r,i){y&&De();var s=t.$$slots?.[n],l=!1;s===!0&&(s=t[n],l=!0),s===void 0||s(e,l?()=>r:r)}function ei(e){const t={};e.children&&(t.default=!0);for(const n in e.$$slots)t[n]=!0;return t}function ti(e,t){Or(()=>{var n=e.getRootNode(),r=n.host?n:n.head??n.ownerDocument.head;if(!r.querySelector("#"+t.hash)){const i=document.createElement("style");i.id=t.hash,i.textContent=t.code,r.appendChild(i)}})}function at(e,t,n,r){var i=r,s=!0,l=()=>(s&&(s=!1,i=r),i),o;o=e[t],o===void 0&&r!==void 0&&(o=l());var a;a=()=>{var u=e[t];return u===void 0?l():(s=!0,u)};var f=!1,c=wt(()=>(f=!1,a())),h=m;return(function(u,d){if(arguments.length>0){const v=d?O(c):u;return oe(c,v),f=!0,i!==void 0&&(i=v),u}return we&&f||(h.f&ce)!==0?c.v:O(c)})}function ni(e){return new ri(e)}class ri{#t;#e;constructor(t){var n=new Map,r=(s,l)=>{var o=rn(l,!1,!1);return n.set(s,o),o};const i=new Proxy({...t.props||{},$$events:{}},{get(s,l){return O(n.get(l)??r(l,Reflect.get(s,l)))},has(s,l){return l===Zn?!0:(O(n.get(l)??r(l,Reflect.get(s,l))),Reflect.has(s,l))},set(s,l,o){return oe(n.get(l)??r(l,o),o),Reflect.set(s,l,o)}});this.#e=(t.hydrate?Ur:Pn)(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)&&Le(),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=()=>{Yr(this.#e)}}$set(t){this.#e.$set(t)}$on(t,n){this.#t[t]=this.#t[t]||[];const r=(...i)=>n.call(this,...i);return this.#t[t].push(r),()=>{this.#t[t]=this.#t[t].filter(i=>i!==r)}}$destroy(){this.#e.$destroy()}}let jn;typeof HTMLElement=="function"&&(jn=class extends HTMLElement{$$ctor;$$s;$$c;$$cn=!1;$$d={};$$r=!1;$$p_d={};$$l={};$$l_u=new Map;$$me;constructor(e,t,n){super(),this.$$ctor=e,this.$$s=t,n&&this.attachShadow({mode:"open"})}addEventListener(e,t,n){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,n)}removeEventListener(e,t,n){if(super.removeEventListener(e,t,n),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 i=>{const s=document.createElement("slot");r!=="default"&&(s.name=r),ot(i,s)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const t={},n=ii(this);for(const r of this.$$s)r in n&&(r==="default"&&!this.$$d.children?(this.$$d.children=e(r),t.default=!0):t[r]=e(r));for(const r of this.attributes){const i=this.$$g_p(r.name);i in this.$$d||(this.$$d[i]=ft(i,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=ni({component:this.$$ctor,target:this.shadowRoot||this,props:{...this.$$d,$$slots:t,$$host:this}}),this.$$me=Nr(()=>{_n(()=>{this.$$r=!0;for(const r of ze(this.$$c)){if(!this.$$p_d[r]?.reflect)continue;this.$$d[r]=this.$$c[r];const i=ft(r,this.$$d[r],this.$$p_d,"toAttribute");i==null?this.removeAttribute(this.$$p_d[r].attribute||r):this.setAttribute(this.$$p_d[r].attribute||r,i)}this.$$r=!1})});for(const r in this.$$l)for(const i of this.$$l[r]){const s=this.$$c.$on(r,i);this.$$l_u.set(i,s)}this.$$l={}}}attributeChangedCallback(e,t,n){this.$$r||(e=this.$$g_p(e),this.$$d[e]=ft(e,n,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 ze(this.$$p_d).find(t=>this.$$p_d[t].attribute===e||!this.$$p_d[t].attribute&&t.toLowerCase()===e)||e}});function ft(e,t,n,r){const i=n[e]?.type;if(t=i==="Boolean"&&typeof t!="boolean"?t!=null:t,!r||!n[e])return t;if(r==="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 ii(e){const t={};return e.childNodes.forEach(n=>{t[n.slot||"default"]=!0}),t}function si(e,t,n,r,i,s){let l=class extends jn{constructor(){super(e,n,i),this.$$p_d=t}static get observedAttributes(){return ze(t).map(o=>(t[o].attribute||o).toLowerCase())}};return ze(t).forEach(o=>{We(l.prototype,o,{get(){return this.$$c&&o in this.$$c?this.$$c[o]:this.$$d[o]},set(a){a=ft(o,a,t),this.$$d[o]=a;var f=this.$$c;if(f){var c=xe(f,o)?.get;c?f[o]=a:f.$set({[o]:a})}}})}),r.forEach(o=>{We(l.prototype,o,{get(){return this.$$c?.[o]}})}),e.element=l,l}var $e={},Fn;function li(){if(Fn)return $e;Fn=1,Object.defineProperty($e,"__esModule",{value:!0}),$e.LanguageTranslator=void 0,$e.getChildStyleToPass=e,$e.addComponent=t;function e(r,i){var s,l,o="";try{if(r&&i?.length&&(!((s=Object.keys(r))===null||s===void 0)&&s.length)&&(!((l=i?.filter(function(u){return Object.keys(r).includes(u.name)}))===null||l===void 0)&&l.length))for(var a=function(u){var d=i?.filter(function(v){return v.name===u&&v.defaultValue!==r[u]});d&&(o+="".concat(u,":").concat(r[u],";"))},f=0,c=Object.keys(r);f<c.length;f++){var h=c[f];a(h)}}catch(u){console.error("error getting child style to pass",u)}finally{return o}}function t(r){var i,s=((i=r?.repoName.split("/"))===null||i===void 0?void 0:i[1])||r?.repoName;if(!s)throw new Error("wrong componentPath "+r?.repoName);if(!r?.version)throw new Error("wrong version "+r?.version);var l=r?.iifePath||"main.iife.js";if(!document.getElementById(s+"-script"))try{var o=document.createElement("script");if(o.id=s+"-script",o.src="https://cdn.jsdelivr.net/npm/".concat(r.repoName,"@").concat(r.version,"/").concat(l),r?.local)o.src="".concat(r.local);else if(location.href.includes("localhost:6006")){var a=s.split("-")[0];o.src="http://localhost:6006/webcomponents/".concat(s.replace(a+"-",""),"/").concat(l)}document.head.appendChild(o)}catch(f){console.warn(f)}}var n=(function(){function r(i){if(this.lang="",!i?.dictionary)throw new Error("no dictionary provided");this.dictionary=i.dictionary,this.setLang(i?.lang)}return r.prototype.setLang=function(i){i||(i=r.getDefaultLang()),this.lang=i},r.prototype.translateWord=function(i,s){return r.getDictionaryWord(i,this.dictionary,s||this.lang)},r.prototype.translateDate=function(i,s,l){return r.formatDate(i,s,l||this.lang)},r.getDefaultLang=function(){var i,s,l,o="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)&&(o=navigator.languages[0].split("-")[0].toLowerCase()),o},r.getDictionaryWord=function(i,s,l){var o;if(!i)throw new Error("no wordKey provided");if(!s)throw new Error("no dictionary provided");if(l&&(!((o=s[l])===null||o===void 0)&&o[i]))return s[l][i];var a="",f=r.getDefaultLang();if(!l||f!==l){var c=s?.[f];c?.[i]&&(a=c[i])}return a},r.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 o=new Intl.DateTimeFormat(l||r.getDefaultLang(),s);return o.format(i)},r})();return $e.LanguageTranslator=n,$e}li();var oi=Rt('<span class="svelte-10p6erh"> </span>'),ai=Rt('<div class="svelte-10p6erh"></div>'),fi=Rt('<div part="testpart" id="skeletontest" class="svelte-10p6erh"> </div> <!> <div part="testpart" class="svelte-10p6erh"> </div> slot: <!> /endslot<br class="svelte-10p6erh"/> ',1);const ui={hash:"svelte-10p6erh",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");:host {font-family:"Roboto", sans-serif;}
|
|
4
3
|
/*!
|
|
5
4
|
* Bootstrap v5.1.2 (https://getbootstrap.com/)
|
|
6
5
|
* Copyright 2011-2021 The Bootstrap Authors
|
|
7
6
|
* Copyright 2011-2021 Twitter, Inc.
|
|
8
7
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
|
9
|
-
*/:host {--bs-blue: #0d6efd;--bs-indigo: #6610f2;--bs-purple: #6f42c1;--bs-pink: #d63384;--bs-red: #dc3545;--bs-orange: #fd7e14;--bs-yellow: #ffc107;--bs-green: #198754;--bs-teal: #20c997;--bs-cyan: #0dcaf0;--bs-black: #000;--bs-white: #fff;--bs-gray: #6c757d;--bs-gray-dark: #343a40;--bs-gray-100: #f8f9fa;--bs-gray-200: #e9ecef;--bs-gray-300: #dee2e6;--bs-gray-400: #ced4da;--bs-gray-500: #adb5bd;--bs-gray-600: #6c757d;--bs-gray-700: #495057;--bs-gray-800: #343a40;--bs-gray-900: #212529;--bs-primary: #0d6efd;--bs-secondary: #6c757d;--bs-success: #198754;--bs-info: #0dcaf0;--bs-warning: #ffc107;--bs-danger: #dc3545;--bs-light: #f8f9fa;--bs-dark: #212529;--bs-primary-rgb: 13, 110, 253;--bs-secondary-rgb: 108, 117, 125;--bs-success-rgb: 25, 135, 84;--bs-info-rgb: 13, 202, 240;--bs-warning-rgb: 255, 193, 7;--bs-danger-rgb: 220, 53, 69;--bs-light-rgb: 248, 249, 250;--bs-dark-rgb: 33, 37, 41;--bs-primary-text-emphasis: rgb(5.2, 44, 101.2);--bs-secondary-text-emphasis: rgb(43.2, 46.8, 50);--bs-success-text-emphasis: rgb(10, 54, 33.6);--bs-info-text-emphasis: rgb(5.2, 80.8, 96);--bs-warning-text-emphasis: rgb(102, 77.2, 2.8);--bs-danger-text-emphasis: rgb(88, 21.2, 27.6);--bs-light-text-emphasis: #495057;--bs-dark-text-emphasis: #495057;--bs-primary-bg-subtle: rgb(206.6, 226, 254.6);--bs-secondary-bg-subtle: rgb(225.6, 227.4, 229);--bs-success-bg-subtle: rgb(209, 231, 220.8);--bs-info-bg-subtle: rgb(206.6, 244.4, 252);--bs-warning-bg-subtle: rgb(255, 242.6, 205.4);--bs-danger-bg-subtle: rgb(248, 214.6, 217.8);--bs-light-bg-subtle: rgb(251.5, 252, 252.5);--bs-dark-bg-subtle: #ced4da;--bs-primary-border-subtle: rgb(158.2, 197, 254.2);--bs-secondary-border-subtle: rgb(196.2, 199.8, 203);--bs-success-border-subtle: rgb(163, 207, 186.6);--bs-info-border-subtle: rgb(158.2, 233.8, 249);--bs-warning-border-subtle: rgb(255, 230.2, 155.8);--bs-danger-border-subtle: rgb(241, 174.2, 180.6);--bs-light-border-subtle: #e9ecef;--bs-dark-border-subtle: #adb5bd;--bs-white-rgb: 255, 255, 255;--bs-black-rgb: 0, 0, 0;--bs-font-sans-serif: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--bs-font-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--bs-gradient: linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));--bs-body-font-family: var(--bs-font-sans-serif);--bs-body-font-size: 1rem;--bs-body-font-weight: 400;--bs-body-line-height: 1.5;--bs-body-color: #212529;--bs-body-color-rgb: 33, 37, 41;--bs-body-bg: #fff;--bs-body-bg-rgb: 255, 255, 255;--bs-emphasis-color: #000;--bs-emphasis-color-rgb: 0, 0, 0;--bs-secondary-color: rgba(33, 37, 41, 0.75);--bs-secondary-color-rgb: 33, 37, 41;--bs-secondary-bg: #e9ecef;--bs-secondary-bg-rgb: 233, 236, 239;--bs-tertiary-color: rgba(33, 37, 41, 0.5);--bs-tertiary-color-rgb: 33, 37, 41;--bs-tertiary-bg: #f8f9fa;--bs-tertiary-bg-rgb: 248, 249, 250;--bs-heading-color: inherit;--bs-link-color: #0d6efd;--bs-link-color-rgb: 13, 110, 253;--bs-link-decoration: underline;--bs-link-hover-color: rgb(10.4, 88, 202.4);--bs-link-hover-color-rgb: 10, 88, 202;--bs-code-color: #d63384;--bs-highlight-color: #212529;--bs-highlight-bg: rgb(255, 242.6, 205.4);--bs-border-width: 1px;--bs-border-style: solid;--bs-border-color: #dee2e6;--bs-border-color-translucent: rgba(0, 0, 0, 0.175);--bs-border-radius: 0.375rem;--bs-border-radius-sm: 0.25rem;--bs-border-radius-lg: 0.5rem;--bs-border-radius-xl: 1rem;--bs-border-radius-xxl: 2rem;--bs-border-radius-2xl: var(--bs-border-radius-xxl);--bs-border-radius-pill: 50rem;--bs-box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);--bs-box-shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);--bs-box-shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);--bs-box-shadow-inset: inset 0 1px 2px rgba(0, 0, 0, 0.075);--bs-focus-ring-width: 0.25rem;--bs-focus-ring-opacity: 0.25;--bs-focus-ring-color: rgba(13, 110, 253, 0.25);--bs-form-valid-color: #198754;--bs-form-valid-border-color: #198754;--bs-form-invalid-color: #dc3545;--bs-form-invalid-border-color: #dc3545;}.svelte-
|
|
10
|
-
.svelte-
|
|
11
|
-
.svelte-
|
|
8
|
+
*/:host {--bs-blue: #0d6efd;--bs-indigo: #6610f2;--bs-purple: #6f42c1;--bs-pink: #d63384;--bs-red: #dc3545;--bs-orange: #fd7e14;--bs-yellow: #ffc107;--bs-green: #198754;--bs-teal: #20c997;--bs-cyan: #0dcaf0;--bs-black: #000;--bs-white: #fff;--bs-gray: #6c757d;--bs-gray-dark: #343a40;--bs-gray-100: #f8f9fa;--bs-gray-200: #e9ecef;--bs-gray-300: #dee2e6;--bs-gray-400: #ced4da;--bs-gray-500: #adb5bd;--bs-gray-600: #6c757d;--bs-gray-700: #495057;--bs-gray-800: #343a40;--bs-gray-900: #212529;--bs-primary: #0d6efd;--bs-secondary: #6c757d;--bs-success: #198754;--bs-info: #0dcaf0;--bs-warning: #ffc107;--bs-danger: #dc3545;--bs-light: #f8f9fa;--bs-dark: #212529;--bs-primary-rgb: 13, 110, 253;--bs-secondary-rgb: 108, 117, 125;--bs-success-rgb: 25, 135, 84;--bs-info-rgb: 13, 202, 240;--bs-warning-rgb: 255, 193, 7;--bs-danger-rgb: 220, 53, 69;--bs-light-rgb: 248, 249, 250;--bs-dark-rgb: 33, 37, 41;--bs-primary-text-emphasis: rgb(5.2, 44, 101.2);--bs-secondary-text-emphasis: rgb(43.2, 46.8, 50);--bs-success-text-emphasis: rgb(10, 54, 33.6);--bs-info-text-emphasis: rgb(5.2, 80.8, 96);--bs-warning-text-emphasis: rgb(102, 77.2, 2.8);--bs-danger-text-emphasis: rgb(88, 21.2, 27.6);--bs-light-text-emphasis: #495057;--bs-dark-text-emphasis: #495057;--bs-primary-bg-subtle: rgb(206.6, 226, 254.6);--bs-secondary-bg-subtle: rgb(225.6, 227.4, 229);--bs-success-bg-subtle: rgb(209, 231, 220.8);--bs-info-bg-subtle: rgb(206.6, 244.4, 252);--bs-warning-bg-subtle: rgb(255, 242.6, 205.4);--bs-danger-bg-subtle: rgb(248, 214.6, 217.8);--bs-light-bg-subtle: rgb(251.5, 252, 252.5);--bs-dark-bg-subtle: #ced4da;--bs-primary-border-subtle: rgb(158.2, 197, 254.2);--bs-secondary-border-subtle: rgb(196.2, 199.8, 203);--bs-success-border-subtle: rgb(163, 207, 186.6);--bs-info-border-subtle: rgb(158.2, 233.8, 249);--bs-warning-border-subtle: rgb(255, 230.2, 155.8);--bs-danger-border-subtle: rgb(241, 174.2, 180.6);--bs-light-border-subtle: #e9ecef;--bs-dark-border-subtle: #adb5bd;--bs-white-rgb: 255, 255, 255;--bs-black-rgb: 0, 0, 0;--bs-font-sans-serif: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--bs-font-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--bs-gradient: linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));--bs-body-font-family: var(--bs-font-sans-serif);--bs-body-font-size: 1rem;--bs-body-font-weight: 400;--bs-body-line-height: 1.5;--bs-body-color: #212529;--bs-body-color-rgb: 33, 37, 41;--bs-body-bg: #fff;--bs-body-bg-rgb: 255, 255, 255;--bs-emphasis-color: #000;--bs-emphasis-color-rgb: 0, 0, 0;--bs-secondary-color: rgba(33, 37, 41, 0.75);--bs-secondary-color-rgb: 33, 37, 41;--bs-secondary-bg: #e9ecef;--bs-secondary-bg-rgb: 233, 236, 239;--bs-tertiary-color: rgba(33, 37, 41, 0.5);--bs-tertiary-color-rgb: 33, 37, 41;--bs-tertiary-bg: #f8f9fa;--bs-tertiary-bg-rgb: 248, 249, 250;--bs-heading-color: inherit;--bs-link-color: #0d6efd;--bs-link-color-rgb: 13, 110, 253;--bs-link-decoration: underline;--bs-link-hover-color: rgb(10.4, 88, 202.4);--bs-link-hover-color-rgb: 10, 88, 202;--bs-code-color: #d63384;--bs-highlight-color: #212529;--bs-highlight-bg: rgb(255, 242.6, 205.4);--bs-border-width: 1px;--bs-border-style: solid;--bs-border-color: #dee2e6;--bs-border-color-translucent: rgba(0, 0, 0, 0.175);--bs-border-radius: 0.375rem;--bs-border-radius-sm: 0.25rem;--bs-border-radius-lg: 0.5rem;--bs-border-radius-xl: 1rem;--bs-border-radius-xxl: 2rem;--bs-border-radius-2xl: var(--bs-border-radius-xxl);--bs-border-radius-pill: 50rem;--bs-box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);--bs-box-shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);--bs-box-shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);--bs-box-shadow-inset: inset 0 1px 2px rgba(0, 0, 0, 0.075);--bs-focus-ring-width: 0.25rem;--bs-focus-ring-opacity: 0.25;--bs-focus-ring-color: rgba(13, 110, 253, 0.25);--bs-form-valid-color: #198754;--bs-form-valid-border-color: #198754;--bs-form-invalid-color: #dc3545;--bs-form-invalid-border-color: #dc3545;}.svelte-10p6erh,
|
|
9
|
+
.svelte-10p6erh::before,
|
|
10
|
+
.svelte-10p6erh::after {box-sizing:border-box;}
|
|
12
11
|
@media (prefers-reduced-motion: no-preference) {:host {scroll-behavior:smooth;}
|
|
13
12
|
}
|
|
14
13
|
@media (min-width: 1200px) {
|
|
@@ -18,15 +17,15 @@
|
|
|
18
17
|
@media (min-width: 1200px) {
|
|
19
18
|
}
|
|
20
19
|
@media (min-width: 1200px) {
|
|
21
|
-
}.svelte-
|
|
20
|
+
}.svelte-10p6erh::-moz-focus-inner {padding:0;border-style:none;}
|
|
22
21
|
@media (min-width: 1200px) {
|
|
23
|
-
}.svelte-
|
|
24
|
-
.svelte-
|
|
25
|
-
.svelte-
|
|
26
|
-
.svelte-
|
|
27
|
-
.svelte-
|
|
28
|
-
.svelte-
|
|
29
|
-
.svelte-
|
|
22
|
+
}.svelte-10p6erh::-webkit-datetime-edit-fields-wrapper,
|
|
23
|
+
.svelte-10p6erh::-webkit-datetime-edit-text,
|
|
24
|
+
.svelte-10p6erh::-webkit-datetime-edit-minute,
|
|
25
|
+
.svelte-10p6erh::-webkit-datetime-edit-hour-field,
|
|
26
|
+
.svelte-10p6erh::-webkit-datetime-edit-day-field,
|
|
27
|
+
.svelte-10p6erh::-webkit-datetime-edit-month-field,
|
|
28
|
+
.svelte-10p6erh::-webkit-datetime-edit-year-field {padding:0;}.svelte-10p6erh::-webkit-inner-spin-button {height:auto;}
|
|
30
29
|
/* rtl:raw:
|
|
31
30
|
[type="tel"],
|
|
32
31
|
[type="url"],
|
|
@@ -34,13 +33,13 @@
|
|
|
34
33
|
[type="number"] {
|
|
35
34
|
direction: ltr;
|
|
36
35
|
}
|
|
37
|
-
*/.svelte-
|
|
38
|
-
@keyframes svelte-
|
|
36
|
+
*/.svelte-10p6erh::-webkit-search-decoration {-webkit-appearance:none;}.svelte-10p6erh::-webkit-color-swatch-wrapper {padding:0;}.svelte-10p6erh::file-selector-button {font:inherit;-webkit-appearance:button;}
|
|
37
|
+
@keyframes svelte-10p6erh-placeholder-glow {
|
|
39
38
|
50% {
|
|
40
39
|
opacity: 0.2;
|
|
41
40
|
}
|
|
42
41
|
}
|
|
43
|
-
@keyframes svelte-
|
|
42
|
+
@keyframes svelte-10p6erh-placeholder-wave {
|
|
44
43
|
100% {
|
|
45
44
|
mask-position: -200% 0%;
|
|
46
45
|
}
|
|
@@ -56,5 +55,5 @@
|
|
|
56
55
|
@media (min-width: 1200px) {
|
|
57
56
|
}
|
|
58
57
|
@media (min-width: 1400px) {
|
|
59
|
-
}`};function
|
|
58
|
+
}`};function qn(e,t){const n=ei(t);Yt(t,!0),ti(e,ui);function r(b,x){t.$$host.dispatchEvent(new CustomEvent(b,{detail:x}))}let i=at(t,"id",7,""),s=at(t,"string"),l=at(t,"json"),o=at(t,"boolean");Ne({}),hn(()=>{if(s()||s(""),typeof l()=="string")try{l(JSON.parse(l()))}catch(b){console.error("error parsing json",b)}o()===""&&o(!0),typeof o()=="string"&&o(!(o()==="no"||o()==="false")),o()||o(!1)}),Wr(()=>{console.log(t.$$host?.shadowRoot?.querySelector("#skeletontest"))});function a(){r("event",{test:!0})}var f={get id(){return i()},set id(b=""){i(b),Le()},get string(){return s()},set string(b){s(b),Le()},get json(){return l()},set json(b){l(b),Le()},get boolean(){return o()},set boolean(b){o(b),Le()}},c=fi(),h=Tr(c);h.__click=()=>a();var u=xt(h,!0);Xe(h);var d=nt(h,2);{var v=b=>{var x=ai();Xr(x,21,()=>Object.keys(l()),Jr,($,U)=>{var I=oi(),fe=xt(I);Xe(I),bn(()=>Nt(fe,`${O(U)??""}: ${l()[O(U)]??""}`)),ot($,I)}),Xe(x),ot(b,x)};Gr(d,b=>{l()&&typeof l()=="object"&&b(v)})}var _=nt(d,2),g=xt(_,!0);Xe(_);var L=nt(_,2);Qr(L,t,"skelcontent",{});var N=nt(L,3);return N.nodeValue=` slot debug: ${Object.keys(n)[0]??""}/endslot`,bn(()=>{Nt(u,s()),Nt(g,o())}),ot(e,c),zt(f)}qr(["click"]),customElements.define("hb-skeleton-component",si(qn,{id:{},string:{},json:{},boolean:{}},["skelcontent"],[],!0)),Dt.Component=qn,Object.defineProperty(Dt,Symbol.toStringTag,{value:"Module"})})(this["skeleton-component"]=this["skeleton-component"]||{});
|
|
60
59
|
//# sourceMappingURL=main.iife.js.map
|