@htmlbricks/hb-json-viewer 0.65.23 → 0.66.0

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 CHANGED
@@ -1,12 +1,12 @@
1
- (function(_r){"use strict";typeof window<"u"&&((window.__svelte??={}).v??=new Set).add("5");const xn=1,jn=2,Tn=16,Sn=1,An=4,Cn=8,Nn=16,Pn=1,On=2,pr="[",_t="[!",Bt="]",Je={},A=Symbol(),Rn="http://www.w3.org/1999/xhtml",qt=!1;var br=Array.isArray,Mn=Array.prototype.indexOf,Ut=Array.from,pt=Object.keys,bt=Object.defineProperty,Le=Object.getOwnPropertyDescriptor,Dn=Object.getOwnPropertyDescriptors,Ln=Object.prototype,In=Array.prototype,gr=Object.getPrototypeOf,mr=Object.isExtensible;function Fn(e){for(var t=0;t<e.length;t++)e[t]()}function yr(){var e,t,r=new Promise((n,i)=>{e=n,t=i});return{promise:r,resolve:e,reject:t}}function Bn(e,t){if(Array.isArray(e))return e;if(!(Symbol.iterator in e))return Array.from(e);const r=[];for(const n of e)if(r.push(n),r.length===t)break;return r}const S=2,Vt=4,Ht=8,ge=16,me=32,Ae=64,gt=128,te=512,C=1024,I=2048,ye=4096,U=8192,we=16384,mt=32768,Ge=65536,wr=1<<17,$r=1<<18,Ie=1<<19,qn=1<<20,Fe=32768,Yt=1<<21,zt=1<<22,Ce=1<<23,yt=Symbol("$state"),Er=Symbol("legacy props"),Un=Symbol(""),Ke=new class extends Error{name="StaleReactionError";message="The reaction that called `getAbortSignal()` was re-run or destroyed"},Wt=3,Xe=8;function Vn(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function Hn(e){throw new Error("https://svelte.dev/e/effect_in_teardown")}function Yn(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function zn(e){throw new Error("https://svelte.dev/e/effect_orphan")}function Wn(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function Jn(){throw new Error("https://svelte.dev/e/hydration_failed")}function Gn(e){throw new Error("https://svelte.dev/e/props_invalid_value")}function Kn(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function Xn(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function Zn(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function Qn(){throw new Error("https://svelte.dev/e/svelte_boundary_reset_onerror")}function wt(e){console.warn("https://svelte.dev/e/hydration_mismatch")}function ei(){console.warn("https://svelte.dev/e/svelte_boundary_reset_noop")}let m=!1;function $e(e){m=e}let y;function F(e){if(e===null)throw wt(),Je;return y=e}function it(){return F(oe(y))}function Y(e){if(m){if(oe(y)!==null)throw wt(),Je;y=e}}function st(e=1){if(m){for(var t=e,r=y;t--;)r=oe(r);y=r}}function $t(e=!0){for(var t=0,r=y;;){if(r.nodeType===Xe){var n=r.data;if(n===Bt){if(t===0)return r;t-=1}else(n===pr||n===_t)&&(t+=1)}var i=oe(r);e&&r.remove(),r=i}}function kr(e){if(!e||e.nodeType!==Xe)throw wt(),Je;return e.data}function xr(e){return e===this.v}function ti(e,t){return e!=e?t==t:e!==t||e!==null&&typeof e=="object"||typeof e=="function"}function jr(e){return!ti(e,this.v)}let ri=!1,z=null;function Ze(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 Gt(e){var t=z,r=t.e;if(r!==null){t.e=null;for(var n of r)Jr(n)}return e!==void 0&&(t.x=e),t.i=!0,z=t.p,e??{}}function Tr(){return!0}let Be=[];function Sr(){var e=Be;Be=[],Fn(e)}function Kt(e){if(Be.length===0&&!at){var t=Be;queueMicrotask(()=>{t===Be&&Sr()})}Be.push(e)}function ni(){for(;Be.length>0;)Sr()}function Ar(e){var t=b;if(t===null)return p.f|=Ce,e;if((t.f&mt)===0){if((t.f&gt)===0)throw e;t.b.error(e)}else Qe(e,t)}function Qe(e,t){for(;t!==null;){if((t.f&gt)!==0)try{t.b.error(e);return}catch(r){e=r}t=t.parent}throw e}const Et=new Set;let k=null,W=null,J=[],kt=null,Xt=!1,at=!1;class re{committed=!1;current=new Map;previous=new Map;#t=new Set;#e=new Set;#r=0;#n=0;#l=null;#s=[];#i=[];skipped_effects=new Set;is_fork=!1;is_deferred(){return this.is_fork||this.#n>0}process(t){J=[],this.apply();var r={parent:null,effect:null,effects:[],render_effects:[],block_effects:[]};for(const n of t)this.#a(n,r);this.is_fork||this.#u(),this.is_deferred()?(this.#o(r.effects),this.#o(r.render_effects),this.#o(r.block_effects)):(k=null,Nr(r.render_effects),Nr(r.effects),this.#l?.resolve()),W=null}#a(t,r){t.f^=C;for(var n=t.first;n!==null;){var i=n.f,s=(i&(me|Ae))!==0,a=s&&(i&C)!==0,o=a||(i&U)!==0||this.skipped_effects.has(n);if((n.f&gt)!==0&&n.b?.is_pending()&&(r={parent:r,effect:n,effects:[],render_effects:[],block_effects:[]}),!o&&n.fn!==null){s?n.f^=C:(i&Vt)!==0?r.effects.push(n):ct(n)&&((n.f&ge)!==0&&r.block_effects.push(n),dt(n));var l=n.first;if(l!==null){n=l;continue}}var f=n.parent;for(n=n.next;n===null&&f!==null;)f===r.effect&&(this.#o(r.effects),this.#o(r.render_effects),this.#o(r.block_effects),r=r.parent),n=f.next,f=f.parent}}#o(t){for(const r of t)((r.f&I)!==0?this.#s:this.#i).push(r),this.#f(r.deps),N(r,C)}#f(t){if(t!==null)for(const r of t)(r.f&S)===0||(r.f&Fe)===0||(r.f^=Fe,this.#f(r.deps))}capture(t,r){this.previous.has(t)||this.previous.set(t,r),(t.f&Ce)===0&&(this.current.set(t,t.v),W?.set(t,t.v))}activate(){k=this,this.apply()}deactivate(){k===this&&(k=null,W=null)}flush(){if(this.activate(),J.length>0){if(Cr(),k!==null&&k!==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(Et.size>1){this.previous.clear();var t=W,r=!0,n={parent:null,effect:null,effects:[],render_effects:[],block_effects:[]};for(const s of Et){if(s===this){r=!1;continue}const a=[];for(const[l,f]of this.current){if(s.current.has(l))if(r&&f!==s.current.get(l))s.current.set(l,f);else continue;a.push(l)}if(a.length===0)continue;const o=[...s.current.keys()].filter(l=>!this.current.has(l));if(o.length>0){var i=J;J=[];const l=new Set,f=new Map;for(const u of a)Pr(u,o,l,f);if(J.length>0){k=s,s.apply();for(const u of J)s.#a(u,n);s.deactivate()}J=i}}k=null,W=t}this.committed=!0,Et.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)N(t,I),qe(t);for(const t of this.#i)N(t,ye),qe(t);this.#s=[],this.#i=[],this.flush()}oncommit(t){this.#t.add(t)}ondiscard(t){this.#e.add(t)}settled(){return(this.#l??=yr()).promise}static ensure(){if(k===null){const t=k=new re;Et.add(k),at||re.enqueue(()=>{k===t&&t.flush()})}return k}static enqueue(t){Kt(t)}apply(){}}function Ee(e){var t=at;at=!0;try{for(var r;;){if(ni(),J.length===0&&(k?.flush(),J.length===0))return kt=null,r;Cr()}}finally{at=t}}function Cr(){var e=Oe;Xt=!0;var t=null;try{var r=0;for(At(!0);J.length>0;){var n=re.ensure();if(r++>1e3){var i,s;ii()}n.process(J),Ne.clear()}}finally{Xt=!1,At(e),kt=null}}function ii(){try{Wn()}catch(e){Qe(e,kt)}}let ke=null;function Nr(e){var t=e.length;if(t!==0){for(var r=0;r<t;){var n=e[r++];if((n.f&(we|U))===0&&ct(n)&&(ke=new Set,dt(n),n.deps===null&&n.first===null&&n.nodes_start===null&&(n.teardown===null&&n.ac===null?Zr(n):n.fn=null),ke?.size>0)){Ne.clear();for(const i of ke){if((i.f&(we|U))!==0)continue;const s=[i];let a=i.parent;for(;a!==null;)ke.has(a)&&(ke.delete(a),s.push(a)),a=a.parent;for(let o=s.length-1;o>=0;o--){const l=s[o];(l.f&(we|U))===0&&dt(l)}}ke.clear()}}ke=null}}function Pr(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&S)!==0?Pr(i,t,r,n):(s&(zt|ge))!==0&&(s&I)===0&&Or(i,t,n)&&(N(i,I),qe(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&S)!==0&&Or(i,t,r))return r.set(i,!0),!0}return r.set(e,!1),!1}function qe(e){for(var t=kt=e;t.parent!==null;){t=t.parent;var r=t.f;if(Xt&&t===b&&(r&ge)!==0&&(r&$r)===0)return;if((r&(Ae|me))!==0){if((r&C)===0)return;t.f^=C}}J.push(t)}function si(e){let t=0,r=Ue(0),n;return()=>{Tt()&&(w(r),Gr(()=>(t===0&&(n=dn(()=>e(()=>lt(r)))),t+=1,()=>{Kt(()=>{t-=1,t===0&&(n?.(),n=void 0,lt(r))})})))}}var ai=Ge|Ie|gt;function oi(e,t,r){new li(e,t,r)}class li{parent;#t=!1;#e;#r=m?y:null;#n;#l;#s;#i=null;#a=null;#o=null;#f=null;#u=null;#c=0;#d=0;#h=!1;#v=null;#m=si(()=>(this.#v=Ue(this.#c),()=>{this.#v=null}));constructor(t,r,n){this.#e=t,this.#n=r,this.#l=n,this.parent=b.b,this.#t=!!this.#n.pending,this.#s=nr(()=>{if(b.b=this,m){const s=this.#r;it(),s.nodeType===Xe&&s.data===_t?this.#w():this.#y()}else{var i=this.#b();try{this.#i=X(()=>n(i))}catch(s){this.error(s)}this.#d>0?this.#p():this.#t=!1}return()=>{this.#u?.remove()}},ai),m&&(this.#e=y)}#y(){try{this.#i=X(()=>this.#l(this.#e))}catch(t){this.error(t)}this.#t=!1}#w(){const t=this.#n.pending;t&&(this.#a=X(()=>t(this.#e)),re.enqueue(()=>{var r=this.#b();this.#i=this.#_(()=>(re.ensure(),X(()=>this.#l(r)))),this.#d>0?this.#p():(et(this.#a,()=>{this.#a=null}),this.#t=!1)}))}#b(){var t=this.#e;return this.#t&&(this.#u=K(),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}#_(t){var r=b,n=p,i=z;ce(this.#s),B(this.#s),Ze(this.#s.ctx);try{return t()}catch(s){return Ar(s),null}finally{ce(r),B(n),Ze(i)}}#p(){const t=this.#n.pending;this.#i!==null&&(this.#f=document.createDocumentFragment(),this.#f.append(this.#u),tn(this.#i,this.#f)),this.#a===null&&(this.#a=X(()=>t(this.#e)))}#g(t){if(!this.has_pending_snippet()){this.parent&&this.parent.#g(t);return}this.#d+=t,this.#d===0&&(this.#t=!1,this.#a&&et(this.#a,()=>{this.#a=null}),this.#f&&(this.#e.before(this.#f),this.#f=null))}update_pending_count(t){this.#g(t),this.#c+=t,this.#v&&ot(this.#v,this.#c)}get_effect_pending(){return this.#m(),w(this.#v)}error(t){var r=this.#n.onerror;let n=this.#n.failed;if(this.#h||!r&&!n)throw t;this.#i&&(R(this.#i),this.#i=null),this.#a&&(R(this.#a),this.#a=null),this.#o&&(R(this.#o),this.#o=null),m&&(F(this.#r),st(),F($t()));var i=!1,s=!1;const a=()=>{if(i){ei();return}i=!0,s&&Qn(),re.ensure(),this.#c=0,this.#o!==null&&et(this.#o,()=>{this.#o=null}),this.#t=this.has_pending_snippet(),this.#i=this.#_(()=>(this.#h=!1,X(()=>this.#l(this.#e)))),this.#d>0?this.#p():this.#t=!1};var o=p;try{B(null),s=!0,r?.(t,a),s=!1}catch(l){Qe(l,this.#s&&this.#s.parent)}finally{B(o)}n&&Kt(()=>{this.#o=this.#_(()=>{re.ensure(),this.#h=!0;try{return X(()=>{n(this.#e,()=>t,()=>a)})}catch(l){return Qe(l,this.#s.parent),null}finally{this.#h=!1}})})}}function fi(e,t){return t}function ui(e,t,r){for(var n=[],i=t.length,s=0;s<i;s++)ir(t[s].e,n,!0);Qr(n,()=>{var a=n.length===0&&r!==null;if(a){var o=r,l=o.parentNode;Hr(l),l.append(o),e.items.clear(),ae(e,t[0].prev,t[i-1].next)}for(var f=0;f<i;f++){var u=t[f];a||(e.items.delete(u.k),ae(e,u.prev,u.next)),R(u.e,!a)}e.first===t[0]&&(e.first=t[0].prev)})}function ci(e,t,r,n,i,s=null){var a=e,o=new Map,l=null;{var f=e;a=m?F(Ve(f)):f.appendChild(K())}m&&it();var u=null,c=Rr(()=>{var x=r();return br(x)?x:x==null?[]:Ut(x)}),d,v=!0;function _(){di(j,d,a,t,n),u!==null&&(d.length===0?(u.fragment?(a.before(u.fragment),u.fragment=null):sr(u.effect),g.first=u.effect):et(u.effect,()=>{u=null}))}var g=nr(()=>{d=w(c);var x=d.length;let $=!1;if(m){var D=kr(a)===_t;D!==(x===0)&&(a=$t(),F(a),$e(!1),$=!0)}for(var L=new Set,H=k,Me=null,je=Yr(),ve=0;ve<x;ve+=1){m&&y.nodeType===Xe&&y.data===Bt&&(a=y,$=!0,$e(!1));var ht=d[ve],We=n(ht,ve),Q=v?null:o.get(We);Q?(ot(Q.v,ht),Q.i=ve,je&&H.skipped_effects.delete(Q.e)):(Q=vi(v?a:null,Me,ht,We,ve,i,t,r),v&&(Q.o=!0,Me===null?l=Q:Me.next=Q,Me=Q),o.set(We,Q)),L.add(We)}if(x===0&&s&&!u)if(v)u={fragment:null,effect:X(()=>s(a))};else{var Rt=document.createDocumentFragment(),Mt=K();Rt.append(Mt),u={fragment:Rt,effect:X(()=>s(Mt))}}if(m&&x>0&&F($t()),!v)if(je){for(const[h,T]of o)L.has(h)||H.skipped_effects.add(T.e);H.oncommit(_),H.ondiscard(()=>{})}else _();$&&$e(!0),w(c)}),j={effect:g,items:o,first:l};v=!1,m&&(a=y)}function di(e,t,r,n,i){var s=t.length,a=e.items,o=e.first,l,f=null,u=[],c=[],d,v,_,g;for(g=0;g<s;g+=1){if(d=t[g],v=i(d,g),_=a.get(v),e.first??=_,!_.o){_.o=!0;var j=f?f.next:o;ae(e,f,_),ae(e,_,j),Zt(_,j,r),f=_,u=[],c=[],o=f.next;continue}if((_.e.f&U)!==0&&sr(_.e),_!==o){if(l!==void 0&&l.has(_)){if(u.length<c.length){var x=c[0],$;f=x.prev;var D=u[0],L=u[u.length-1];for($=0;$<u.length;$+=1)Zt(u[$],x,r);for($=0;$<c.length;$+=1)l.delete(c[$]);ae(e,D.prev,L.next),ae(e,f,D),ae(e,L,x),o=x,f=L,g-=1,u=[],c=[]}else l.delete(_),Zt(_,o,r),ae(e,_.prev,_.next),ae(e,_,f===null?e.first:f.next),ae(e,f,_),f=_;continue}for(u=[],c=[];o!==null&&o.k!==v;)(o.e.f&U)===0&&(l??=new Set).add(o),c.push(o),o=o.next;if(o===null)continue;_=o}u.push(_),f=_,o=_.next}if(o!==null||l!==void 0){for(var H=l===void 0?[]:Ut(l);o!==null;)(o.e.f&U)===0&&H.push(o),o=o.next;var Me=H.length;if(Me>0){var je=s===0?r:null;ui(e,H,je)}}}function vi(e,t,r,n,i,s,a,o){var l=(a&xn)!==0,f=(a&Tn)===0,u=l?f?Ir(r,!1,!1):Ue(r):r,c=(a&jn)===0?i:Ue(i),d={i:c,v:u,k:n,a:null,e:null,o:!1,prev:t,next:null};try{if(e===null){var v=document.createDocumentFragment();v.append(e=K())}return d.e=X(()=>s(e,u,c,o)),t!==null&&(t.next=d),d}finally{}}function Zt(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=oe(s);i.before(s),s=a}}function ae(e,t,r){t===null?(e.first=r,e.effect.first=r&&r.e):(t.e.next&&(t.e.next.prev=null),t.next=r,t.e.next=r&&r.e),r===null?e.effect.last=t&&t.e:(r.e.prev&&(r.e.prev.next=null),r.prev=t,r.e.prev=t&&t.e)}function hi(e,t,r,n){const i=jt;if(r.length===0&&e.length===0){n(t.map(i));return}var s=k,a=b,o=_i();function l(){Promise.all(r.map(f=>pi(f))).then(f=>{o();try{n([...t.map(i),...f])}catch(u){(a.f&we)===0&&Qe(u,a)}s?.deactivate(),xt()}).catch(f=>{Qe(f,a)})}e.length>0?Promise.all(e).then(()=>{o();try{return l()}finally{s?.deactivate(),xt()}}):l()}function _i(){var e=b,t=p,r=z,n=k;return function(s=!0){ce(e),B(t),Ze(r),s&&n?.activate()}}function xt(){ce(null),B(null),Ze(null)}function jt(e){var t=S|I,r=p!==null&&(p.f&S)!==0?p:null;return b!==null&&(b.f|=Ie),{ctx:z,deps:null,effects:null,equals:xr,f:t,fn:e,reactions:null,rv:0,v:A,wv:0,parent:r??b,ac:null}}function pi(e,t){let r=b;r===null&&Vn();var n=r.b,i=void 0,s=Ue(A),a=!p,o=new Map;return xi(()=>{var l=yr();i=l.promise;try{Promise.resolve(e()).then(l.resolve,l.reject).then(()=>{f===k&&f.committed&&f.deactivate(),xt()})}catch(d){l.reject(d),xt()}var f=k;if(a){var u=!n.is_pending();n.update_pending_count(1),f.increment(u),o.get(f)?.reject(Ke),o.delete(f),o.set(f,l)}const c=(d,v=void 0)=>{if(f.activate(),v)v!==Ke&&(s.f|=Ce,ot(s,v));else{(s.f&Ce)!==0&&(s.f^=Ce),ot(s,d);for(const[_,g]of o){if(o.delete(_),_===f)break;g.reject(Ke)}}a&&(n.update_pending_count(-1),f.decrement(u))};l.promise.then(c,d=>c(null,d||"unknown"))}),wi(()=>{for(const l of o.values())l.reject(Ke)}),new Promise(l=>{function f(u){function c(){u===i?l(s):f(i)}u.then(c,c)}f(i)})}function Qt(e){const t=jt(e);return nn(t),t}function Rr(e){const t=jt(e);return t.equals=jr,t}function Mr(e){var t=e.effects;if(t!==null){e.effects=null;for(var r=0;r<t.length;r+=1)R(t[r])}}function bi(e){for(var t=e.parent;t!==null;){if((t.f&S)===0)return(t.f&we)===0?t:null;t=t.parent}return null}function er(e){var t,r=b;ce(bi(e));try{e.f&=~Fe,Mr(e),t=fn(e)}finally{ce(r)}return t}function Dr(e){var t=er(e);if(e.equals(t)||(k?.is_fork||(e.v=t),e.wv=on()),!He)if(W!==null)Tt()&&W.set(e,t);else{var r=(e.f&te)===0?ye:C;N(e,r)}}let tr=new Set;const Ne=new Map;let Lr=!1;function Ue(e,t){var r={f:0,v:e,reactions:null,equals:xr,rv:0,wv:0};return r}function G(e,t){const r=Ue(e);return nn(r),r}function Ir(e,t=!1,r=!0){const n=Ue(e);return t||(n.equals=jr),n}function O(e,t,r=!1){p!==null&&(!ue||(p.f&wr)!==0)&&Tr()&&(p.f&(S|ge|zt|wr))!==0&&!xe?.includes(e)&&Zn();let n=r?Pe(t):t;return ot(e,n)}function ot(e,t){if(!e.equals(t)){var r=e.v;He?Ne.set(e,t):Ne.set(e,r),e.v=t;var n=re.ensure();n.capture(e,r),(e.f&S)!==0&&((e.f&I)!==0&&er(e),N(e,(e.f&te)!==0?C:ye)),e.wv=on(),Fr(e,I),b!==null&&(b.f&C)!==0&&(b.f&(me|Ae))===0&&(Z===null?Si([e]):Z.push(e)),!n.is_fork&&tr.size>0&&!Lr&&gi()}return t}function gi(){Lr=!1;var e=Oe;At(!0);const t=Array.from(tr);try{for(const r of t)(r.f&C)!==0&&N(r,ye),ct(r)&&dt(r)}finally{At(e)}tr.clear()}function lt(e){O(e,e.v+1)}function Fr(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,o=(a&I)===0;if(o&&N(s,t),(a&S)!==0){var l=s;W?.delete(l),(a&Fe)===0&&(a&te&&(s.f|=Fe),Fr(l,ye))}else o&&((a&ge)!==0&&ke!==null&&ke.add(s),qe(s))}}function Pe(e){if(typeof e!="object"||e===null||yt in e)return e;const t=gr(e);if(t!==Ln&&t!==In)return e;var r=new Map,n=br(e),i=G(0),s=Ye,a=o=>{if(Ye===s)return o();var l=p,f=Ye;B(null),an(s);var u=o();return B(l),an(f),u};return n&&r.set("length",G(e.length)),new Proxy(e,{defineProperty(o,l,f){(!("value"in f)||f.configurable===!1||f.enumerable===!1||f.writable===!1)&&Kn();var u=r.get(l);return u===void 0?u=a(()=>{var c=G(f.value);return r.set(l,c),c}):O(u,f.value,!0),!0},deleteProperty(o,l){var f=r.get(l);if(f===void 0){if(l in o){const u=a(()=>G(A));r.set(l,u),lt(i)}}else O(f,A),lt(i);return!0},get(o,l,f){if(l===yt)return e;var u=r.get(l),c=l in o;if(u===void 0&&(!c||Le(o,l)?.writable)&&(u=a(()=>{var v=Pe(c?o[l]:A),_=G(v);return _}),r.set(l,u)),u!==void 0){var d=w(u);return d===A?void 0:d}return Reflect.get(o,l,f)},getOwnPropertyDescriptor(o,l){var f=Reflect.getOwnPropertyDescriptor(o,l);if(f&&"value"in f){var u=r.get(l);u&&(f.value=w(u))}else if(f===void 0){var c=r.get(l),d=c?.v;if(c!==void 0&&d!==A)return{enumerable:!0,configurable:!0,value:d,writable:!0}}return f},has(o,l){if(l===yt)return!0;var f=r.get(l),u=f!==void 0&&f.v!==A||Reflect.has(o,l);if(f!==void 0||b!==null&&(!u||Le(o,l)?.writable)){f===void 0&&(f=a(()=>{var d=u?Pe(o[l]):A,v=G(d);return v}),r.set(l,f));var c=w(f);if(c===A)return!1}return u},set(o,l,f,u){var c=r.get(l),d=l in o;if(n&&l==="length")for(var v=f;v<c.v;v+=1){var _=r.get(v+"");_!==void 0?O(_,A):v in o&&(_=a(()=>G(A)),r.set(v+"",_))}if(c===void 0)(!d||Le(o,l)?.writable)&&(c=a(()=>G(void 0)),O(c,Pe(f)),r.set(l,c));else{d=c.v!==A;var g=a(()=>Pe(f));O(c,g)}var j=Reflect.getOwnPropertyDescriptor(o,l);if(j?.set&&j.set.call(u,f),!d){if(n&&typeof l=="string"){var x=r.get("length"),$=Number(l);Number.isInteger($)&&$>=x.v&&O(x,$+1)}lt(i)}return!0},ownKeys(o){w(i);var l=Reflect.ownKeys(o).filter(c=>{var d=r.get(c);return d===void 0||d.v!==A});for(var[f,u]of r)u.v!==A&&!(f in o)&&l.push(f);return l},setPrototypeOf(){Xn()}})}var Br,qr,Ur,Vr;function rr(){if(Br===void 0){Br=window,qr=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,r=Text.prototype;Ur=Le(t,"firstChild").get,Vr=Le(t,"nextSibling").get,mr(e)&&(e.__click=void 0,e.__className=void 0,e.__attributes=null,e.__style=void 0,e.__e=void 0),mr(r)&&(r.__t=void 0)}}function K(e=""){return document.createTextNode(e)}function Ve(e){return Ur.call(e)}function oe(e){return Vr.call(e)}function ne(e,t){if(!m)return Ve(e);var r=Ve(y);if(r===null)r=y.appendChild(K());else if(t&&r.nodeType!==Wt){var n=K();return r?.before(n),F(n),n}return F(r),r}function ft(e,t=!1){if(!m){var r=Ve(e);return r instanceof Comment&&r.data===""?oe(r):r}if(t&&y?.nodeType!==Wt){var n=K();return y?.before(n),F(n),n}return y}function le(e,t=1,r=!1){let n=m?y:e;for(var i;t--;)i=n,n=oe(n);if(!m)return n;if(r&&n?.nodeType!==Wt){var s=K();return n===null?i?.after(s):n.before(s),F(s),s}return F(n),n}function Hr(e){e.textContent=""}function Yr(){return!1}function zr(e){var t=p,r=b;B(null),ce(null);try{return e()}finally{B(t),ce(r)}}function mi(e){b===null&&(p===null&&zn(),Yn()),He&&Hn()}function yi(e,t){var r=t.last;r===null?t.last=t.first=e:(r.next=e,e.prev=r,t.last=e)}function fe(e,t,r){var n=b;n!==null&&(n.f&U)!==0&&(e|=U);var i={ctx:z,deps:null,nodes_start:null,nodes_end:null,f:e|I|te,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{dt(i),i.f|=mt}catch(o){throw R(i),o}else t!==null&&qe(i);var s=i;if(r&&s.deps===null&&s.teardown===null&&s.nodes_start===null&&s.first===s.last&&(s.f&Ie)===0&&(s=s.first,(e&ge)!==0&&(e&Ge)!==0&&s!==null&&(s.f|=Ge)),s!==null&&(s.parent=n,n!==null&&yi(s,n),p!==null&&(p.f&S)!==0&&(e&Ae)===0)){var a=p;(a.effects??=[]).push(s)}return i}function Tt(){return p!==null&&!ue}function wi(e){const t=fe(Ht,null,!1);return N(t,C),t.teardown=e,t}function Wr(e){mi();var t=b.f,r=!p&&(t&me)!==0&&(t&mt)===0;if(r){var n=z;(n.e??=[]).push(e)}else return Jr(e)}function Jr(e){return fe(Vt|qn,e,!1)}function $i(e){re.ensure();const t=fe(Ae|Ie,e,!0);return()=>{R(t)}}function Ei(e){re.ensure();const t=fe(Ae|Ie,e,!0);return(r={})=>new Promise(n=>{r.outro?et(t,()=>{R(t),n(void 0)}):(R(t),n(void 0))})}function ki(e){return fe(Vt,e,!1)}function xi(e){return fe(zt|Ie,e,!0)}function Gr(e,t=0){return fe(Ht|t,e,!0)}function St(e,t=[],r=[],n=[]){hi(n,t,r,i=>{fe(Ht,()=>e(...i.map(w)),!0)})}function nr(e,t=0){var r=fe(ge|t,e,!0);return r}function X(e){return fe(me|Ie,e,!0)}function Kr(e){var t=e.teardown;if(t!==null){const r=He,n=p;rn(!0),B(null);try{t.call(null)}finally{rn(r),B(n)}}}function Xr(e,t=!1){var r=e.first;for(e.first=e.last=null;r!==null;){const i=r.ac;i!==null&&zr(()=>{i.abort(Ke)});var n=r.next;(r.f&Ae)!==0?r.parent=null:R(r,t),r=n}}function ji(e){for(var t=e.first;t!==null;){var r=t.next;(t.f&me)===0&&R(t),t=r}}function R(e,t=!0){var r=!1;(t||(e.f&$r)!==0)&&e.nodes_start!==null&&e.nodes_end!==null&&(Ti(e.nodes_start,e.nodes_end),r=!0),Xr(e,t&&!r),Ct(e,0),N(e,we);var n=e.transitions;if(n!==null)for(const s of n)s.stop();Kr(e);var i=e.parent;i!==null&&i.first!==null&&Zr(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes_start=e.nodes_end=e.ac=null}function Ti(e,t){for(;e!==null;){var r=e===t?null:oe(e);e.remove(),e=r}}function Zr(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 et(e,t,r=!0){var n=[];ir(e,n,!0),Qr(n,()=>{r&&R(e),t&&t()})}function Qr(e,t){var r=e.length;if(r>0){var n=()=>--r||t();for(var i of e)i.out(n)}else t()}function ir(e,t,r){if((e.f&U)===0){if(e.f^=U,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&Ge)!==0||(n.f&me)!==0&&(e.f&ge)!==0;ir(n,t,s?r:!1),n=i}}}function sr(e){en(e,!0)}function en(e,t){if((e.f&U)!==0){e.f^=U,(e.f&C)===0&&(N(e,I),qe(e));for(var r=e.first;r!==null;){var n=r.next,i=(r.f&Ge)!==0||(r.f&me)!==0;en(r,i?t:!1),r=n}if(e.transitions!==null)for(const s of e.transitions)(s.is_global||t)&&s.in()}}function tn(e,t){for(var r=e.nodes_start,n=e.nodes_end;r!==null;){var i=r===n?null:oe(r);t.append(r),r=i}}let Oe=!1;function At(e){Oe=e}let He=!1;function rn(e){He=e}let p=null,ue=!1;function B(e){p=e}let b=null;function ce(e){b=e}let xe=null;function nn(e){p!==null&&(xe===null?xe=[e]:xe.push(e))}let M=null,V=0,Z=null;function Si(e){Z=e}let sn=1,ut=0,Ye=ut;function an(e){Ye=e}function on(){return++sn}function ct(e){var t=e.f;if((t&I)!==0)return!0;if(t&S&&(e.f&=~Fe),(t&ye)!==0){var r=e.deps;if(r!==null)for(var n=r.length,i=0;i<n;i++){var s=r[i];if(ct(s)&&Dr(s),s.wv>e.wv)return!0}(t&te)!==0&&W===null&&N(e,C)}return!1}function ln(e,t,r=!0){var n=e.reactions;if(n!==null&&!xe?.includes(e))for(var i=0;i<n.length;i++){var s=n[i];(s.f&S)!==0?ln(s,t,!1):t===s&&(r?N(s,I):(s.f&C)!==0&&N(s,ye),qe(s))}}function fn(e){var t=M,r=V,n=Z,i=p,s=xe,a=z,o=ue,l=Ye,f=e.f;M=null,V=0,Z=null,p=(f&(me|Ae))===0?e:null,xe=null,Ze(e.ctx),ue=!1,Ye=++ut,e.ac!==null&&(zr(()=>{e.ac.abort(Ke)}),e.ac=null);try{e.f|=Yt;var u=e.fn,c=u(),d=e.deps;if(M!==null){var v;if(Ct(e,V),d!==null&&V>0)for(d.length=V+M.length,v=0;v<M.length;v++)d[V+v]=M[v];else e.deps=d=M;if(Oe&&Tt()&&(e.f&te)!==0)for(v=V;v<d.length;v++)(d[v].reactions??=[]).push(e)}else d!==null&&V<d.length&&(Ct(e,V),d.length=V);if(Tr()&&Z!==null&&!ue&&d!==null&&(e.f&(S|ye|I))===0)for(v=0;v<Z.length;v++)ln(Z[v],e);return i!==null&&i!==e&&(ut++,Z!==null&&(n===null?n=Z:n.push(...Z))),(e.f&Ce)!==0&&(e.f^=Ce),c}catch(_){return Ar(_)}finally{e.f^=Yt,M=t,V=r,Z=n,p=i,xe=s,Ze(a),ue=o,Ye=l}}function Ai(e,t){let r=t.reactions;if(r!==null){var n=Mn.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&S)!==0&&(M===null||!M.includes(t))&&(N(t,ye),(t.f&te)!==0&&(t.f^=te,t.f&=~Fe),Mr(t),Ct(t,0))}function Ct(e,t){var r=e.deps;if(r!==null)for(var n=t;n<r.length;n++)Ai(e,r[n])}function dt(e){var t=e.f;if((t&we)===0){N(e,C);var r=b,n=Oe;b=e,Oe=!0;try{(t&ge)!==0?ji(e):Xr(e),Kr(e);var i=fn(e);e.teardown=typeof i=="function"?i:null,e.wv=sn;var s;qt&&ri&&(e.f&I)!==0&&e.deps}finally{Oe=n,b=r}}}function w(e){var t=e.f,r=(t&S)!==0;if(p!==null&&!ue){var n=b!==null&&(b.f&we)!==0;if(!n&&!xe?.includes(e)){var i=p.deps;if((p.f&Yt)!==0)e.rv<ut&&(e.rv=ut,M===null&&i!==null&&i[V]===e?V++:M===null?M=[e]:M.includes(e)||M.push(e));else{(p.deps??=[]).push(e);var s=e.reactions;s===null?e.reactions=[p]:s.includes(p)||s.push(p)}}}if(He){if(Ne.has(e))return Ne.get(e);if(r){var a=e,o=a.v;return((a.f&C)===0&&a.reactions!==null||cn(a))&&(o=er(a)),Ne.set(a,o),o}}else r&&!W?.has(e)&&(a=e,ct(a)&&Dr(a),Oe&&Tt()&&(a.f&te)===0&&un(a));if(W?.has(e))return W.get(e);if((e.f&Ce)!==0)throw e.v;return e.v}function un(e){if(e.deps!==null){e.f^=te;for(const t of e.deps)(t.reactions??=[]).push(e),(t.f&S)!==0&&(t.f&te)===0&&un(t)}}function cn(e){if(e.v===A)return!0;if(e.deps===null)return!1;for(const t of e.deps)if(Ne.has(t)||(t.f&S)!==0&&cn(t))return!0;return!1}function dn(e){var t=ue;try{return ue=!0,e()}finally{ue=t}}const Ci=-7169;function N(e,t){e.f=e.f&Ci|t}const vn=new Set,ar=new Set;function Ni(e){for(var t=0;t<e.length;t++)vn.add(e[t]);for(var r of ar)r(e)}let hn=null;function Nt(e){var t=this,r=t.ownerDocument,n=e.type,i=e.composedPath?.()||[],s=i[0]||e.target;hn=e;var a=0,o=hn===e&&e.__root;if(o){var l=i.indexOf(o);if(l!==-1&&(t===document||t===window)){e.__root=t;return}var f=i.indexOf(t);if(f===-1)return;l<=f&&(a=l)}if(s=i[a]||e.target,s!==t){bt(e,"currentTarget",{configurable:!0,get(){return s||r}});var u=p,c=b;B(null),ce(null);try{for(var d,v=[];s!==null;){var _=s.assignedSlot||s.parentNode||s.host||null;try{var g=s["__"+n];g!=null&&(!s.disabled||e.target===s)&&g.call(s,e)}catch(j){d?v.push(j):d=j}if(e.cancelBubble||_===t||_===null)break;s=_}if(d){for(let j of v)queueMicrotask(()=>{throw j});throw d}}finally{e.__root=t,delete e.currentTarget,B(u),ce(c)}}}function Pi(e){var t=document.createElement("template");return t.innerHTML=e.replaceAll("<!>","<!---->"),t.content}function tt(e,t){var r=b;r.nodes_start===null&&(r.nodes_start=e,r.nodes_end=t)}function q(e,t){var r=(t&Pn)!==0,n=(t&On)!==0,i,s=!e.startsWith("<!>");return()=>{if(m)return tt(y,null),y;i===void 0&&(i=Pi(s?e:"<!>"+e),r||(i=Ve(i)));var a=n||qr?document.importNode(i,!0):i.cloneNode(!0);if(r){var o=Ve(a),l=a.lastChild;tt(o,l)}else tt(a,a);return a}}function Oi(){if(m)return tt(y,null),y;var e=document.createDocumentFragment(),t=document.createComment(""),r=K();return e.append(t,r),tt(t,r),e}function P(e,t){if(m){var r=b;((r.f&mt)===0||r.nodes_end===null)&&(r.nodes_end=y),it();return}e!==null&&e.before(t)}const Ri=["touchstart","touchmove"];function Mi(e){return Ri.includes(e)}function vt(e,t){var r=t==null?"":typeof t=="object"?t+"":t;r!==(e.__t??=e.nodeValue)&&(e.__t=r,e.nodeValue=r+"")}function _n(e,t){return pn(e,t)}function Di(e,t){rr(),t.intro=t.intro??!1;const r=t.target,n=m,i=y;try{for(var s=Ve(r);s&&(s.nodeType!==Xe||s.data!==pr);)s=oe(s);if(!s)throw Je;$e(!0),F(s);const a=pn(e,{...t,anchor:s});return $e(!1),a}catch(a){if(a instanceof Error&&a.message.split(`
2
- `).some(o=>o.startsWith("https://svelte.dev/e/")))throw a;return a!==Je&&console.warn("Failed to hydrate: ",a),t.recover===!1&&Jn(),rr(),Hr(r),$e(!1),_n(e,t)}finally{$e(n),F(i)}}const rt=new Map;function pn(e,{target:t,anchor:r,props:n={},events:i,context:s,intro:a=!0}){rr();var o=new Set,l=c=>{for(var d=0;d<c.length;d++){var v=c[d];if(!o.has(v)){o.add(v);var _=Mi(v);t.addEventListener(v,Nt,{passive:_});var g=rt.get(v);g===void 0?(document.addEventListener(v,Nt,{passive:_}),rt.set(v,1)):rt.set(v,g+1)}}};l(Ut(vn)),ar.add(l);var f=void 0,u=Ei(()=>{var c=r??t.appendChild(K());return oi(c,{pending:()=>{}},d=>{if(s){Jt({});var v=z;v.c=s}if(i&&(n.$$events=i),m&&tt(d,null),f=e(d,n)||{},m&&(b.nodes_end=y,y===null||y.nodeType!==Xe||y.data!==Bt))throw wt(),Je;s&&Gt()}),()=>{for(var d of o){t.removeEventListener(d,Nt);var v=rt.get(d);--v===0?(document.removeEventListener(d,Nt),rt.delete(d)):rt.set(d,v)}ar.delete(l),c!==r&&c.parentNode?.removeChild(c)}});return or.set(f,u),f}let or=new WeakMap;function Li(e,t){const r=or.get(e);return r?(or.delete(e),r(t)):Promise.resolve()}class Ii{anchor;#t=new Map;#e=new Map;#r=new Map;#n=new Set;#l=!0;constructor(t,r=!0){this.anchor=t,this.#l=r}#s=()=>{var t=k;if(this.#t.has(t)){var r=this.#t.get(t),n=this.#e.get(r);if(n)sr(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,a]of this.#t){if(this.#t.delete(s),s===t)break;const o=this.#r.get(a);o&&(R(o.effect),this.#r.delete(a))}for(const[s,a]of this.#e){if(s===r||this.#n.has(s))continue;const o=()=>{if(Array.from(this.#t.values()).includes(s)){var f=document.createDocumentFragment();tn(a,f),f.append(K()),this.#r.set(s,{effect:a,fragment:f})}else R(a);this.#n.delete(s),this.#e.delete(s)};this.#l||!n?(this.#n.add(s),et(a,o,!1)):o()}}};#i=t=>{this.#t.delete(t);const r=Array.from(this.#t.values());for(const[n,i]of this.#r)r.includes(n)||(R(i.effect),this.#r.delete(n))};ensure(t,r){var n=k,i=Yr();if(r&&!this.#e.has(t)&&!this.#r.has(t))if(i){var s=document.createDocumentFragment(),a=K();s.append(a),this.#r.set(t,{effect:X(()=>r(a)),fragment:s})}else this.#e.set(t,X(()=>r(this.anchor)));if(this.#t.set(n,t),i){for(const[o,l]of this.#e)o===t?n.skipped_effects.delete(l):n.skipped_effects.add(l);for(const[o,l]of this.#r)o===t?n.skipped_effects.delete(l.effect):n.skipped_effects.add(l.effect);n.oncommit(this.#s),n.ondiscard(this.#i)}else m&&(this.anchor=y),this.#s()}}function de(e,t,r=!1){m&&it();var n=new Ii(e),i=r?Ge:0;function s(a,o){if(m){const f=kr(e)===_t;if(a===f){var l=$t();F(l),n.anchor=l,$e(!1),n.ensure(a,o),$e(!0);return}}n.ensure(a,o)}nr(()=>{var a=!1;t((o,l=!0)=>{a=!0,s(l,o)}),a||s(!1,null)},i)}function Fi(e,t,r,n,i){m&&it();var s=t.$$slots?.[r],a=!1;s===!0&&(s=t.children,a=!0),s===void 0||s(e,a?()=>n:n)}function bn(e,t){ki(()=>{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 Bi(e,t,r){var n=e==null?"":""+e;return n=n?n+" "+t:t,n===""?null:n}function qi(e,t,r,n,i,s){var a=e.__className;if(m||a!==r||a===void 0){var o=Bi(r,n);(!m||o!==e.getAttribute("class"))&&(o==null?e.removeAttribute("class"):e.className=o),e.__className=r}return s}const Ui=Symbol("is custom element"),Vi=Symbol("is html");function gn(e,t,r,n){var i=Hi(e);m&&(i[t]=e.getAttribute(t),t==="src"||t==="srcset"||t==="href"&&e.nodeName==="LINK")||i[t]!==(i[t]=r)&&(t==="loading"&&(e[Un]=r),r==null?e.removeAttribute(t):typeof r!="string"&&Yi(e).includes(t)?e[t]=r:e.setAttribute(t,r))}function Hi(e){return e.__attributes??={[Ui]:e.nodeName.includes("-"),[Vi]:e.namespaceURI===Rn}}var mn=new Map;function Yi(e){var t=e.getAttribute("is")||e.nodeName,r=mn.get(t);if(r)return r;mn.set(t,r=[]);for(var n,i=e,s=Element.prototype;s!==i;){n=Dn(i);for(var a in n)n[a].set&&r.push(a);i=gr(i)}return r}let Pt=!1;function zi(e){var t=Pt;try{return Pt=!1,[e(),Pt]}finally{Pt=t}}function Re(e,t,r,n){var i=(r&Cn)!==0,s=(r&Nn)!==0,a=n,o=!0,l=()=>(o&&(o=!1,a=s?dn(n):n),a),f;if(i){var u=yt in e||Er in e;f=Le(e,t)?.set??(u&&t in e?$=>e[t]=$:void 0)}var c,d=!1;i?[c,d]=zi(()=>e[t]):c=e[t],c===void 0&&n!==void 0&&(c=l(),f&&(Gn(),f(c)));var v;if(v=()=>{var $=e[t];return $===void 0?l():(o=!0,$)},(r&An)===0)return v;if(f){var _=e.$$legacy;return(function($,D){return arguments.length>0?((!D||_||d)&&f(D?v():$),$):v()})}var g=!1,j=((r&Sn)!==0?jt:Rr)(()=>(g=!1,v()));i&&w(j);var x=b;return(function($,D){if(arguments.length>0){const L=D?w(j):i?Pe($):$;return O(j,L),g=!0,a!==void 0&&(a=L),$}return He&&g||(x.f&we)!==0?j.v:w(j)})}function Wi(e){return new Ji(e)}class Ji{#t;#e;constructor(t){var r=new Map,n=(s,a)=>{var o=Ir(a,!1,!1);return r.set(s,o),o};const i=new Proxy({...t.props||{},$$events:{}},{get(s,a){return w(r.get(a)??n(a,Reflect.get(s,a)))},has(s,a){return a===Er?!0:(w(r.get(a)??n(a,Reflect.get(s,a))),Reflect.has(s,a))},set(s,a,o){return O(r.get(a)??n(a,o),o),Reflect.set(s,a,o)}});this.#e=(t.hydrate?Di:_n)(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)&&Ee(),this.#t=i.$$events;for(const s of Object.keys(this.#e))s==="$set"||s==="$destroy"||s==="$on"||bt(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=()=>{Li(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 yn;typeof HTMLElement=="function"&&(yn=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),P(i,s)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const t={},r=Gi(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]=Ot(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=$i(()=>{Gr(()=>{this.$$r=!0;for(const n of pt(this.$$c)){if(!this.$$p_d[n]?.reflect)continue;this.$$d[n]=this.$$c[n];const i=Ot(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]=Ot(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 pt(this.$$p_d).find(t=>this.$$p_d[t].attribute===e||!this.$$p_d[t].attribute&&t.toLowerCase()===e)||e}});function Ot(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 Gi(e){const t={};return e.childNodes.forEach(r=>{t[r.slot||"default"]=!0}),t}function wn(e,t,r,n,i,s){let a=class extends yn{constructor(){super(e,r,i),this.$$p_d=t}static get observedAttributes(){return pt(t).map(o=>(t[o].attribute||o).toLowerCase())}};return pt(t).forEach(o=>{bt(a.prototype,o,{get(){return this.$$c&&o in this.$$c?this.$$c[o]:this.$$d[o]},set(l){l=Ot(o,l,t),this.$$d[o]=l;var f=this.$$c;if(f){var u=Le(f,o)?.get;u?f[o]=l:f.$set({[o]:l})}}})}),n.forEach(o=>{bt(a.prototype,o,{get(){return this.$$c?.[o]}})}),e.element=a,a}var ze={},$n;function Ki(){if($n)return ze;$n=1,Object.defineProperty(ze,"__esModule",{value:!0}),ze.LanguageTranslator=void 0,ze.getChildStyleToPass=e,ze.addComponent=t;function e(n,i){var s,a,o="";try{if(n&&i?.length&&(!((s=Object.keys(n))===null||s===void 0)&&s.length)&&(!((a=i?.filter(function(d){return Object.keys(n).includes(d.name)}))===null||a===void 0)&&a.length))for(var l=function(d){var v=i?.filter(function(_){return _.name===d&&_.defaultValue!==n[d]});v&&(o+="".concat(d,":").concat(n[d],";"))},f=0,u=Object.keys(n);f<u.length;f++){var c=u[f];l(c)}}catch(d){console.error("error getting child style to pass",d)}finally{return o}}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 o=document.createElement("script");if(o.id=s+"-script",o.src="https://cdn.jsdelivr.net/npm/".concat(n.repoName,"@").concat(n.version,"/").concat(a),n?.local)o.src="".concat(n.local);else if(location.href.includes("localhost:6006")){var l=s.split("-")[0];o.src="http://localhost:6006/webcomponents/".concat(s.replace(l+"-",""),"/").concat(a)}document.head.appendChild(o)}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,a){return n.formatDate(i,s,a||this.lang)},n.getDefaultLang=function(){var i,s,a,o="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)&&(o=navigator.languages[0].split("-")[0].toLowerCase()),o},n.getDictionaryWord=function(i,s,a){var o;if(!i)throw new Error("no wordKey provided");if(!s)throw new Error("no dictionary provided");if(a&&(!((o=s[a])===null||o===void 0)&&o[i]))return s[a][i];var l="",f=n.getDefaultLang();if(!a||f!==a){var u=s?.[f];u?.[i]&&(l=u[i])}return l},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 o=new Intl.DateTimeFormat(a||n.getDefaultLang(),s);return o.format(i)},n})();return ze.LanguageTranslator=r,ze}Ki();var Xi=q('<span class="jn-popover svelte-2u2vu2">copied</span>'),Zi=q('<span class="jn-key svelte-2u2vu2" role="button" tabindex="0" title="Copia JSON"> </span><!> <span class="jn-sep svelte-2u2vu2">:</span>',1),Qi=q('<div class="jn-row svelte-2u2vu2"><!> <span> </span></div>'),es=q('<span class="jn-popover svelte-2u2vu2">copied</span>'),ts=q('<span class="jn-key svelte-2u2vu2" role="button" tabindex="0" title="Copia JSON"> </span><!> <span class="jn-sep svelte-2u2vu2">:</span>',1),rs=q('<span class="jn-popover svelte-2u2vu2">copied</span>'),ns=q('<span class="jn-bracket svelte-2u2vu2">[</span>'),is=q('<span class="jn-bracket svelte-2u2vu2"></span>'),ss=q(']<span class="jn-trailing"></span>',1),as=q(' <span class="jn-trailing"></span>',1),os=q('<div class="jn-children svelte-2u2vu2"></div> <div class="jn-close svelte-2u2vu2"><!></div>',1),ls=q('<div class="jn-node svelte-2u2vu2"><div class="jn-header svelte-2u2vu2"><span class="jn-actions svelte-2u2vu2"><button class="jn-btn jn-toggle-btn svelte-2u2vu2"> </button></span> <!> <span class="jn-type svelte-2u2vu2" role="button" tabindex="0" title="Copia JSON"> </span><!> <!></div> <!></div>');const fs={hash:"svelte-2u2vu2",code:`.jn-row.svelte-2u2vu2 {font-family:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
3
- "Liberation Mono", "Courier New", monospace;line-height:1.5;}.jn-node.svelte-2u2vu2 {margin-left:0.75rem;}.jn-header.svelte-2u2vu2 {display:inline-flex;align-items:baseline;gap:0.25rem;}.jn-actions.svelte-2u2vu2 {display:inline-flex;gap:0.25rem;margin-right:0.25rem;}.jn-btn.svelte-2u2vu2 {cursor:pointer;border:1px solid var(--jn-button-border);border-radius:4px;background:transparent;color:inherit;width:1.25rem;height:1.25rem;display:inline-flex;align-items:center;justify-content:center;font-size:0.85rem;line-height:1;padding:0;}.jn-btn.svelte-2u2vu2:hover {background-color:var(--jn-button-hover-bg);}.jn-key.svelte-2u2vu2 {cursor:pointer;}.jn-key.svelte-2u2vu2 {color:var(--jn-key);}.jn-sep.svelte-2u2vu2 {color:var(--jn-sep);}.jn-type.svelte-2u2vu2 {color:var(--jn-type);cursor:pointer;}.jn-popover.svelte-2u2vu2 {display:inline-block;margin-left:0.25rem;padding:0 0.35rem;border-radius:999px;font-size:0.7rem;line-height:1.4;color:var(--jn-popover-text);background-color:var(--jn-popover-bg);border:1px solid var(--jn-popover-border);vertical-align:middle;user-select:none;}.jn-bracket.svelte-2u2vu2 {color:var(--jn-bracket);}.jn-children.svelte-2u2vu2 {margin-left:1rem;border-left:1px dashed var(--jn-children-border);padding-left:0.75rem;}.jn-close.svelte-2u2vu2 {margin-left:0.75rem;color:var(--jn-close);}.jn-string.svelte-2u2vu2 {color:var(--jn-string);}.jn-number.svelte-2u2vu2 {color:var(--jn-number);}.jn-boolean.svelte-2u2vu2 {color:var(--jn-boolean);}.jn-undefined.svelte-2u2vu2 {color:var(--jn-undefined);font-style:italic;}.jn-symbol.svelte-2u2vu2 {color:var(--jn-symbol);}`};function lr(e,t){Jt(t,!0),bn(e,fs);let r=Re(t,"keyPath",23,()=>[]),n=Re(t,"value",7),i=Re(t,"name",7,null),s=Re(t,"collapsed",7),a=Re(t,"status",7,"open");const o=h=>h!==null&&typeof h=="object"&&!Array.isArray(h),l=h=>Array.isArray(h),f=h=>!o(h)&&!l(h);function u(h){return h===null?"null":l(h)?`Array(${h.length})`:o(h)?"Object":typeof h}function c(h){return typeof h=="string"?`"${h}"`:h===null?"null":typeof h>"u"?"undefined":typeof h=="bigint"?h.toString()+"n":typeof h=="symbol"?h.toString():String(h)}function d(h){return l(h)?h.map((T,he)=>[he,T]):o(h)?Object.entries(h):[]}function v(h,T){return h==="open"?!1:h==="closed"?!0:T>0}const _=r().length;let g=G(Pe(s()??v(a(),_)));Wr(()=>{s()===void 0&&O(g,v(a(),_),!0)});function j(){O(g,!w(g))}function x(h){const T=new WeakSet;try{return JSON.stringify(h,(he,ie)=>{if(typeof ie=="object"&&ie!==null){if(T.has(ie))return"[Circular]";T.add(ie)}return ie},2)}catch{return String(h)}}async function $(){const h=x(n());try{navigator.clipboard&&navigator.clipboard.writeText?await navigator.clipboard.writeText(h):console.error("unsupported copying node")}catch(T){console.error("error copying node",T)}}let D=G(null),L=G(!1),H=null;function Me(h){O(D,h,!0),O(L,!0),H!==null&&window.clearTimeout(H),H=window.setTimeout(()=>{O(L,!1),O(D,null),H=null},1e3)}async function je(h){await $(),Me(h)}function ve(h,T){(h.key==="Enter"||h.key===" ")&&(h.preventDefault(),h.stopPropagation(),je(T))}var ht={get keyPath(){return r()},set keyPath(h=[]){r(h),Ee()},get value(){return n()},set value(h){n(h),Ee()},get name(){return i()},set name(h=null){i(h),Ee()},get collapsed(){return s()},set collapsed(h){s(h),Ee()},get status(){return a()},set status(h="open"){a(h),Ee()}},We=Oi(),Q=ft(We);{var Rt=h=>{var T=Qi(),he=ne(T);{var ie=De=>{var Dt=Zi(),se=ft(Dt);se.__click=_e=>{_e.stopPropagation(),je("key")},se.__keydown=_e=>{_e.stopPropagation(),ve(_e,"key")};var ur=ne(se,!0);Y(se);var Lt=le(se);{var cr=_e=>{var dr=Xi();P(_e,dr)};de(Lt,_e=>{w(L)&&w(D)==="key"&&_e(cr)})}st(2),St(()=>vt(ur,i())),P(De,Dt)};de(he,De=>{i()!==null&&De(ie)})}var Te=le(he,2),fr=ne(Te,!0);Y(Te),Y(T),St(De=>{qi(Te,1,`jn-val ${"jn-"+(typeof n()=="string"?"string":typeof n())}`,"svelte-2u2vu2"),vt(fr,De)},[()=>c(n())]),P(h,T)},Mt=h=>{var T=ls(),he=ne(T),ie=ne(he),Te=ne(ie);Te.__click=E=>{E.stopPropagation(),j()};var fr=ne(Te,!0);Y(Te),Y(ie);var De=le(ie,2);{var Dt=E=>{var ee=ts(),Se=ft(ee);Se.__click=pe=>{pe.stopPropagation(),je("key")},Se.__keydown=pe=>{pe.stopPropagation(),ve(pe,"key")};var It=ne(Se,!0);Y(Se);var vr=le(Se);{var hr=pe=>{var be=es();P(pe,be)};de(vr,pe=>{w(L)&&w(D)==="key"&&pe(hr)})}st(2),St(()=>vt(It,i())),P(E,ee)};de(De,E=>{i()!==null&&E(Dt)})}var se=le(De,2);se.__click=E=>{E.stopPropagation(),je("type")},se.__keydown=E=>{E.stopPropagation(),ve(E,"type")};var ur=ne(se,!0);Y(se);var Lt=le(se);{var cr=E=>{var ee=rs();P(E,ee)};de(Lt,E=>{w(L)&&w(D)==="type"&&E(cr)})}var _e=le(Lt,2);{var dr=E=>{var ee=ns();P(E,ee)},vs=E=>{var ee=is();ee.textContent="{",P(E,ee)};de(_e,E=>{l(n())?E(dr):E(vs,!1)})}Y(he);var hs=le(he,2);{var _s=E=>{var ee=os(),Se=ft(ee);ci(Se,21,()=>d(n()),fi,(be,nt)=>{var Ft=Qt(()=>Bn(w(nt),2));let kn=()=>w(Ft)[0],ps=()=>w(Ft)[1];{let bs=Qt(()=>[...r(),kn()]),gs=Qt(()=>v(a(),_+1));lr(be,{get name(){return kn()},get value(){return ps()},get keyPath(){return w(bs)},get status(){return a()},get collapsed(){return w(gs)}})}}),Y(Se);var It=le(Se,2),vr=ne(It);{var hr=be=>{var nt=ss();st(),P(be,nt)},pe=be=>{var nt=as(),Ft=ft(nt,!0);Ft.nodeValue="}",st(),P(be,nt)};de(vr,be=>{l(n())?be(hr):be(pe,!1)})}Y(It),P(E,ee)};de(hs,E=>{w(g)||E(_s)})}Y(T),St(E=>{gn(Te,"aria-label",w(g)?"Espandi":"Comprimi"),gn(Te,"title",w(g)?"Espandi":"Comprimi"),vt(fr,w(g)?"+":"-"),vt(ur,E)},[()=>u(n())]),P(h,T)};de(Q,h=>{f(n())?h(Rt):h(Mt,!1)})}return P(e,We),Gt(ht)}Ni(["click","keydown"]),wn(lr,{keyPath:{},value:{},name:{},collapsed:{},status:{}},[],[],!0);var us=q('<div class="jn-empty svelte-g7b435">No data</div>'),cs=q('<div class="hb-json-viewer svelte-g7b435"><!> <!></div>');const ds={hash:"svelte-g7b435",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;--jn-key: #6f42c1;--jn-sep: #8b949e;--jn-type: #1f6feb;--jn-bracket: #8b949e;--jn-children-border: rgba(128, 128, 128, .3);--jn-close: #8b949e;--jn-string: #0a7;--jn-number: #d19a66;--jn-boolean: #56b6c2;--jn-undefined: #8b949e;--jn-symbol: #8b949e;--jn-button-border: rgba(128, 128, 128, .3);--jn-button-hover-bg: rgba(128, 128, 128, .1);--jn-popover-text: #0f5132;--jn-popover-bg: #d1e7dd;--jn-popover-border: #badbcc;}
1
+ (function(pn){"use strict";typeof window<"u"&&((window.__svelte??={}).v??=new Set).add("5");const jr=1,xr=2,Tr=16,Ar=1,Sr=4,Cr=8,Nr=16,Pr=1,Or=2,gn="[",_t="[!",Bt="]",Je={},S=Symbol(),Rr="http://www.w3.org/1999/xhtml",qt=!1;var mn=Array.isArray,Dr=Array.prototype.indexOf,Vt=Array.from,pt=Object.keys,gt=Object.defineProperty,Me=Object.getOwnPropertyDescriptor,Mr=Object.getOwnPropertyDescriptors,Lr=Object.prototype,Ir=Array.prototype,bn=Object.getPrototypeOf,yn=Object.isExtensible;function Fr(e){for(var t=0;t<e.length;t++)e[t]()}function wn(){var e,t,n=new Promise((r,i)=>{e=r,t=i});return{promise:n,resolve:e,reject:t}}function Br(e,t){if(Array.isArray(e))return e;if(!(Symbol.iterator in e))return Array.from(e);const n=[];for(const r of e)if(n.push(r),n.length===t)break;return n}const A=2,Ht=4,Ut=8,me=16,be=32,Se=64,mt=128,ee=512,C=1024,I=2048,ye=4096,V=8192,we=16384,bt=32768,Ge=65536,$n=1<<17,En=1<<18,Le=1<<19,qr=1<<20,Ie=32768,Yt=1<<21,zt=1<<22,Ce=1<<23,yt=Symbol("$state"),kn=Symbol("legacy props"),Vr=Symbol(""),Ke=new class extends Error{name="StaleReactionError";message="The reaction that called `getAbortSignal()` was re-run or destroyed"},Wt=3,Xe=8;function Hr(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function Ur(e){throw new Error("https://svelte.dev/e/effect_in_teardown")}function Yr(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function zr(e){throw new Error("https://svelte.dev/e/effect_orphan")}function Wr(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function Jr(){throw new Error("https://svelte.dev/e/hydration_failed")}function Gr(e){throw new Error("https://svelte.dev/e/props_invalid_value")}function Kr(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function Xr(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function Zr(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function Qr(){throw new Error("https://svelte.dev/e/svelte_boundary_reset_onerror")}function wt(e){console.warn("https://svelte.dev/e/hydration_mismatch")}function ei(){console.warn("https://svelte.dev/e/svelte_boundary_reset_noop")}let b=!1;function $e(e){b=e}let y;function F(e){if(e===null)throw wt(),Je;return y=e}function it(){return F(le(y))}function Y(e){if(b){if(le(y)!==null)throw wt(),Je;y=e}}function st(e=1){if(b){for(var t=e,n=y;t--;)n=le(n);y=n}}function $t(e=!0){for(var t=0,n=y;;){if(n.nodeType===Xe){var r=n.data;if(r===Bt){if(t===0)return n;t-=1}else(r===gn||r===_t)&&(t+=1)}var i=le(n);e&&n.remove(),n=i}}function jn(e){if(!e||e.nodeType!==Xe)throw wt(),Je;return e.data}function xn(e){return e===this.v}function ti(e,t){return e!=e?t==t:e!==t||e!==null&&typeof e=="object"||typeof e=="function"}function Tn(e){return!ti(e,this.v)}let ni=!1,z=null;function Ze(e){z=e}function Jt(e,t=!1,n){z={p:z,i:!1,c:null,e:null,s:e,x:null,l:null}}function Gt(e){var t=z,n=t.e;if(n!==null){t.e=null;for(var r of n)Gn(r)}return e!==void 0&&(t.x=e),t.i=!0,z=t.p,e??{}}function An(){return!0}let Fe=[];function Sn(){var e=Fe;Fe=[],Fr(e)}function Kt(e){if(Fe.length===0&&!at){var t=Fe;queueMicrotask(()=>{t===Fe&&Sn()})}Fe.push(e)}function ri(){for(;Fe.length>0;)Sn()}function Cn(e){var t=g;if(t===null)return p.f|=Ce,e;if((t.f&bt)===0){if((t.f&mt)===0)throw e;t.b.error(e)}else Qe(e,t)}function Qe(e,t){for(;t!==null;){if((t.f&mt)!==0)try{t.b.error(e);return}catch(n){e=n}t=t.parent}throw e}const Et=new Set;let k=null,W=null,J=[],kt=null,Xt=!1,at=!1;class te{committed=!1;current=new Map;previous=new Map;#t=new Set;#e=new Set;#n=0;#r=0;#o=null;#s=[];#i=[];skipped_effects=new Set;is_fork=!1;is_deferred(){return this.is_fork||this.#r>0}process(t){J=[],this.apply();var n={parent:null,effect:null,effects:[],render_effects:[],block_effects:[]};for(const r of t)this.#a(r,n);this.is_fork||this.#u(),this.is_deferred()?(this.#l(n.effects),this.#l(n.render_effects),this.#l(n.block_effects)):(k=null,Pn(n.render_effects),Pn(n.effects),this.#o?.resolve()),W=null}#a(t,n){t.f^=C;for(var r=t.first;r!==null;){var i=r.f,s=(i&(be|Se))!==0,a=s&&(i&C)!==0,l=a||(i&V)!==0||this.skipped_effects.has(r);if((r.f&mt)!==0&&r.b?.is_pending()&&(n={parent:n,effect:r,effects:[],render_effects:[],block_effects:[]}),!l&&r.fn!==null){s?r.f^=C:(i&Ht)!==0?n.effects.push(r):ct(r)&&((r.f&me)!==0&&n.block_effects.push(r),dt(r));var o=r.first;if(o!==null){r=o;continue}}var f=r.parent;for(r=r.next;r===null&&f!==null;)f===n.effect&&(this.#l(n.effects),this.#l(n.render_effects),this.#l(n.block_effects),n=n.parent),r=f.next,f=f.parent}}#l(t){for(const n of t)((n.f&I)!==0?this.#s:this.#i).push(n),this.#f(n.deps),N(n,C)}#f(t){if(t!==null)for(const n of t)(n.f&A)===0||(n.f&Ie)===0||(n.f^=Ie,this.#f(n.deps))}capture(t,n){this.previous.has(t)||this.previous.set(t,n),(t.f&Ce)===0&&(this.current.set(t,t.v),W?.set(t,t.v))}activate(){k=this,this.apply()}deactivate(){k===this&&(k=null,W=null)}flush(){if(this.activate(),J.length>0){if(Nn(),k!==null&&k!==this)return}else this.#n===0&&this.process([]);this.deactivate()}discard(){for(const t of this.#e)t(this);this.#e.clear()}#u(){if(this.#r===0){for(const t of this.#t)t();this.#t.clear()}this.#n===0&&this.#c()}#c(){if(Et.size>1){this.previous.clear();var t=W,n=!0,r={parent:null,effect:null,effects:[],render_effects:[],block_effects:[]};for(const s of Et){if(s===this){n=!1;continue}const a=[];for(const[o,f]of this.current){if(s.current.has(o))if(n&&f!==s.current.get(o))s.current.set(o,f);else continue;a.push(o)}if(a.length===0)continue;const l=[...s.current.keys()].filter(o=>!this.current.has(o));if(l.length>0){var i=J;J=[];const o=new Set,f=new Map;for(const u of a)On(u,l,o,f);if(J.length>0){k=s,s.apply();for(const u of J)s.#a(u,r);s.deactivate()}J=i}}k=null,W=t}this.committed=!0,Et.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.#s)N(t,I),Be(t);for(const t of this.#i)N(t,ye),Be(t);this.#s=[],this.#i=[],this.flush()}oncommit(t){this.#t.add(t)}ondiscard(t){this.#e.add(t)}settled(){return(this.#o??=wn()).promise}static ensure(){if(k===null){const t=k=new te;Et.add(k),at||te.enqueue(()=>{k===t&&t.flush()})}return k}static enqueue(t){Kt(t)}apply(){}}function Ee(e){var t=at;at=!0;try{for(var n;;){if(ri(),J.length===0&&(k?.flush(),J.length===0))return kt=null,n;Nn()}}finally{at=t}}function Nn(){var e=Pe;Xt=!0;var t=null;try{var n=0;for(St(!0);J.length>0;){var r=te.ensure();if(n++>1e3){var i,s;ii()}r.process(J),Ne.clear()}}finally{Xt=!1,St(e),kt=null}}function ii(){try{Wr()}catch(e){Qe(e,kt)}}let ke=null;function Pn(e){var t=e.length;if(t!==0){for(var n=0;n<t;){var r=e[n++];if((r.f&(we|V))===0&&ct(r)&&(ke=new Set,dt(r),r.deps===null&&r.first===null&&r.nodes_start===null&&(r.teardown===null&&r.ac===null?Qn(r):r.fn=null),ke?.size>0)){Ne.clear();for(const i of ke){if((i.f&(we|V))!==0)continue;const s=[i];let a=i.parent;for(;a!==null;)ke.has(a)&&(ke.delete(a),s.push(a)),a=a.parent;for(let l=s.length-1;l>=0;l--){const o=s[l];(o.f&(we|V))===0&&dt(o)}}ke.clear()}}ke=null}}function On(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&A)!==0?On(i,t,n,r):(s&(zt|me))!==0&&(s&I)===0&&Rn(i,t,r)&&(N(i,I),Be(i))}}function Rn(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&A)!==0&&Rn(i,t,n))return n.set(i,!0),!0}return n.set(e,!1),!1}function Be(e){for(var t=kt=e;t.parent!==null;){t=t.parent;var n=t.f;if(Xt&&t===g&&(n&me)!==0&&(n&En)===0)return;if((n&(Se|be))!==0){if((n&C)===0)return;t.f^=C}}J.push(t)}function si(e){let t=0,n=qe(0),r;return()=>{Tt()&&(w(n),Kn(()=>(t===0&&(r=dr(()=>e(()=>ot(n)))),t+=1,()=>{Kt(()=>{t-=1,t===0&&(r?.(),r=void 0,ot(n))})})))}}var ai=Ge|Le|mt;function li(e,t,n){new oi(e,t,n)}class oi{parent;#t=!1;#e;#n=b?y:null;#r;#o;#s;#i=null;#a=null;#l=null;#f=null;#u=null;#c=0;#d=0;#h=!1;#v=null;#b=si(()=>(this.#v=qe(this.#c),()=>{this.#v=null}));constructor(t,n,r){this.#e=t,this.#r=n,this.#o=r,this.parent=g.b,this.#t=!!this.#r.pending,this.#s=rn(()=>{if(g.b=this,b){const s=this.#n;it(),s.nodeType===Xe&&s.data===_t?this.#w():this.#y()}else{var i=this.#g();try{this.#i=K(()=>r(i))}catch(s){this.error(s)}this.#d>0?this.#p():this.#t=!1}return()=>{this.#u?.remove()}},ai),b&&(this.#e=y)}#y(){try{this.#i=K(()=>this.#o(this.#e))}catch(t){this.error(t)}this.#t=!1}#w(){const t=this.#r.pending;t&&(this.#a=K(()=>t(this.#e)),te.enqueue(()=>{var n=this.#g();this.#i=this.#_(()=>(te.ensure(),K(()=>this.#o(n)))),this.#d>0?this.#p():(et(this.#a,()=>{this.#a=null}),this.#t=!1)}))}#g(){var t=this.#e;return this.#t&&(this.#u=G(),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=g,r=p,i=z;ce(this.#s),B(this.#s),Ze(this.#s.ctx);try{return t()}catch(s){return Cn(s),null}finally{ce(n),B(r),Ze(i)}}#p(){const t=this.#r.pending;this.#i!==null&&(this.#f=document.createDocumentFragment(),this.#f.append(this.#u),nr(this.#i,this.#f)),this.#a===null&&(this.#a=K(()=>t(this.#e)))}#m(t){if(!this.has_pending_snippet()){this.parent&&this.parent.#m(t);return}this.#d+=t,this.#d===0&&(this.#t=!1,this.#a&&et(this.#a,()=>{this.#a=null}),this.#f&&(this.#e.before(this.#f),this.#f=null))}update_pending_count(t){this.#m(t),this.#c+=t,this.#v&&lt(this.#v,this.#c)}get_effect_pending(){return this.#b(),w(this.#v)}error(t){var n=this.#r.onerror;let r=this.#r.failed;if(this.#h||!n&&!r)throw t;this.#i&&(R(this.#i),this.#i=null),this.#a&&(R(this.#a),this.#a=null),this.#l&&(R(this.#l),this.#l=null),b&&(F(this.#n),st(),F($t()));var i=!1,s=!1;const a=()=>{if(i){ei();return}i=!0,s&&Qr(),te.ensure(),this.#c=0,this.#l!==null&&et(this.#l,()=>{this.#l=null}),this.#t=this.has_pending_snippet(),this.#i=this.#_(()=>(this.#h=!1,K(()=>this.#o(this.#e)))),this.#d>0?this.#p():this.#t=!1};var l=p;try{B(null),s=!0,n?.(t,a),s=!1}catch(o){Qe(o,this.#s&&this.#s.parent)}finally{B(l)}r&&Kt(()=>{this.#l=this.#_(()=>{te.ensure(),this.#h=!0;try{return K(()=>{r(this.#e,()=>t,()=>a)})}catch(o){return Qe(o,this.#s.parent),null}finally{this.#h=!1}})})}}function fi(e,t){return t}function ui(e,t,n){for(var r=[],i=t.length,s=0;s<i;s++)sn(t[s].e,r,!0);er(r,()=>{var a=r.length===0&&n!==null;if(a){var l=n,o=l.parentNode;Yn(o),o.append(l),e.items.clear(),ae(e,t[0].prev,t[i-1].next)}for(var f=0;f<i;f++){var u=t[f];a||(e.items.delete(u.k),ae(e,u.prev,u.next)),R(u.e,!a)}e.first===t[0]&&(e.first=t[0].prev)})}function ci(e,t,n,r,i,s=null){var a=e,l=new Map,o=null;{var f=e;a=b?F(He(f)):f.appendChild(G())}b&&it();var u=null,c=Dn(()=>{var j=n();return mn(j)?j:j==null?[]:Vt(j)}),d,v=!0;function _(){di(x,d,a,t,r),u!==null&&(d.length===0?(u.fragment?(a.before(u.fragment),u.fragment=null):an(u.effect),m.first=u.effect):et(u.effect,()=>{u=null}))}var m=rn(()=>{d=w(c);var j=d.length;let $=!1;if(b){var M=jn(a)===_t;M!==(j===0)&&(a=$t(),F(a),$e(!1),$=!0)}for(var L=new Set,U=k,Re=null,xe=zn(),ve=0;ve<j;ve+=1){b&&y.nodeType===Xe&&y.data===Bt&&(a=y,$=!0,$e(!1));var ht=d[ve],We=r(ht,ve),Z=v?null:l.get(We);Z?(lt(Z.v,ht),Z.i=ve,xe&&U.skipped_effects.delete(Z.e)):(Z=vi(v?a:null,Re,ht,We,ve,i,t,n),v&&(Z.o=!0,Re===null?o=Z:Re.next=Z,Re=Z),l.set(We,Z)),L.add(We)}if(j===0&&s&&!u)if(v)u={fragment:null,effect:K(()=>s(a))};else{var Rt=document.createDocumentFragment(),Dt=G();Rt.append(Dt),u={fragment:Rt,effect:K(()=>s(Dt))}}if(b&&j>0&&F($t()),!v)if(xe){for(const[h,T]of l)L.has(h)||U.skipped_effects.add(T.e);U.oncommit(_),U.ondiscard(()=>{})}else _();$&&$e(!0),w(c)}),x={effect:m,items:l,first:o};v=!1,b&&(a=y)}function di(e,t,n,r,i){var s=t.length,a=e.items,l=e.first,o,f=null,u=[],c=[],d,v,_,m;for(m=0;m<s;m+=1){if(d=t[m],v=i(d,m),_=a.get(v),e.first??=_,!_.o){_.o=!0;var x=f?f.next:l;ae(e,f,_),ae(e,_,x),Zt(_,x,n),f=_,u=[],c=[],l=f.next;continue}if((_.e.f&V)!==0&&an(_.e),_!==l){if(o!==void 0&&o.has(_)){if(u.length<c.length){var j=c[0],$;f=j.prev;var M=u[0],L=u[u.length-1];for($=0;$<u.length;$+=1)Zt(u[$],j,n);for($=0;$<c.length;$+=1)o.delete(c[$]);ae(e,M.prev,L.next),ae(e,f,M),ae(e,L,j),l=j,f=L,m-=1,u=[],c=[]}else o.delete(_),Zt(_,l,n),ae(e,_.prev,_.next),ae(e,_,f===null?e.first:f.next),ae(e,f,_),f=_;continue}for(u=[],c=[];l!==null&&l.k!==v;)(l.e.f&V)===0&&(o??=new Set).add(l),c.push(l),l=l.next;if(l===null)continue;_=l}u.push(_),f=_,l=_.next}if(l!==null||o!==void 0){for(var U=o===void 0?[]:Vt(o);l!==null;)(l.e.f&V)===0&&U.push(l),l=l.next;var Re=U.length;if(Re>0){var xe=s===0?n:null;ui(e,U,xe)}}}function vi(e,t,n,r,i,s,a,l){var o=(a&jr)!==0,f=(a&Tr)===0,u=o?f?Fn(n,!1,!1):qe(n):n,c=(a&xr)===0?i:qe(i),d={i:c,v:u,k:r,a:null,e:null,o:!1,prev:t,next:null};try{if(e===null){var v=document.createDocumentFragment();v.append(e=G())}return d.e=K(()=>s(e,u,c,l)),t!==null&&(t.next=d),d}finally{}}function Zt(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 a=le(s);i.before(s),s=a}}function ae(e,t,n){t===null?(e.first=n,e.effect.first=n&&n.e):(t.e.next&&(t.e.next.prev=null),t.next=n,t.e.next=n&&n.e),n===null?e.effect.last=t&&t.e:(n.e.prev&&(n.e.prev.next=null),n.prev=t,n.e.prev=t&&t.e)}function hi(e,t,n,r){const i=xt;if(n.length===0&&e.length===0){r(t.map(i));return}var s=k,a=g,l=_i();function o(){Promise.all(n.map(f=>pi(f))).then(f=>{l();try{r([...t.map(i),...f])}catch(u){(a.f&we)===0&&Qe(u,a)}s?.deactivate(),jt()}).catch(f=>{Qe(f,a)})}e.length>0?Promise.all(e).then(()=>{l();try{return o()}finally{s?.deactivate(),jt()}}):o()}function _i(){var e=g,t=p,n=z,r=k;return function(s=!0){ce(e),B(t),Ze(n),s&&r?.activate()}}function jt(){ce(null),B(null),Ze(null)}function xt(e){var t=A|I,n=p!==null&&(p.f&A)!==0?p:null;return g!==null&&(g.f|=Le),{ctx:z,deps:null,effects:null,equals:xn,f:t,fn:e,reactions:null,rv:0,v:S,wv:0,parent:n??g,ac:null}}function pi(e,t){let n=g;n===null&&Hr();var r=n.b,i=void 0,s=qe(S),a=!p,l=new Map;return ji(()=>{var o=wn();i=o.promise;try{Promise.resolve(e()).then(o.resolve,o.reject).then(()=>{f===k&&f.committed&&f.deactivate(),jt()})}catch(d){o.reject(d),jt()}var f=k;if(a){var u=!r.is_pending();r.update_pending_count(1),f.increment(u),l.get(f)?.reject(Ke),l.delete(f),l.set(f,o)}const c=(d,v=void 0)=>{if(f.activate(),v)v!==Ke&&(s.f|=Ce,lt(s,v));else{(s.f&Ce)!==0&&(s.f^=Ce),lt(s,d);for(const[_,m]of l){if(l.delete(_),_===f)break;m.reject(Ke)}}a&&(r.update_pending_count(-1),f.decrement(u))};o.promise.then(c,d=>c(null,d||"unknown"))}),wi(()=>{for(const o of l.values())o.reject(Ke)}),new Promise(o=>{function f(u){function c(){u===i?o(s):f(i)}u.then(c,c)}f(i)})}function Qt(e){const t=xt(e);return ir(t),t}function Dn(e){const t=xt(e);return t.equals=Tn,t}function Mn(e){var t=e.effects;if(t!==null){e.effects=null;for(var n=0;n<t.length;n+=1)R(t[n])}}function gi(e){for(var t=e.parent;t!==null;){if((t.f&A)===0)return(t.f&we)===0?t:null;t=t.parent}return null}function en(e){var t,n=g;ce(gi(e));try{e.f&=~Ie,Mn(e),t=fr(e)}finally{ce(n)}return t}function Ln(e){var t=en(e);if(e.equals(t)||(k?.is_fork||(e.v=t),e.wv=lr()),!Ue)if(W!==null)Tt()&&W.set(e,t);else{var n=(e.f&ee)===0?ye:C;N(e,n)}}let tn=new Set;const Ne=new Map;let In=!1;function qe(e,t){var n={f:0,v:e,reactions:null,equals:xn,rv:0,wv:0};return n}function ne(e,t){const n=qe(e);return ir(n),n}function Fn(e,t=!1,n=!0){const r=qe(e);return t||(r.equals=Tn),r}function O(e,t,n=!1){p!==null&&(!ue||(p.f&$n)!==0)&&An()&&(p.f&(A|me|zt|$n))!==0&&!je?.includes(e)&&Zr();let r=n?Ve(t):t;return lt(e,r)}function lt(e,t){if(!e.equals(t)){var n=e.v;Ue?Ne.set(e,t):Ne.set(e,n),e.v=t;var r=te.ensure();r.capture(e,n),(e.f&A)!==0&&((e.f&I)!==0&&en(e),N(e,(e.f&ee)!==0?C:ye)),e.wv=lr(),Bn(e,I),g!==null&&(g.f&C)!==0&&(g.f&(be|Se))===0&&(X===null?Ai([e]):X.push(e)),!r.is_fork&&tn.size>0&&!In&&mi()}return t}function mi(){In=!1;var e=Pe;St(!0);const t=Array.from(tn);try{for(const n of t)(n.f&C)!==0&&N(n,ye),ct(n)&&dt(n)}finally{St(e)}tn.clear()}function ot(e){O(e,e.v+1)}function Bn(e,t){var n=e.reactions;if(n!==null)for(var r=n.length,i=0;i<r;i++){var s=n[i],a=s.f,l=(a&I)===0;if(l&&N(s,t),(a&A)!==0){var o=s;W?.delete(o),(a&Ie)===0&&(a&ee&&(s.f|=Ie),Bn(o,ye))}else l&&((a&me)!==0&&ke!==null&&ke.add(s),Be(s))}}function Ve(e){if(typeof e!="object"||e===null||yt in e)return e;const t=bn(e);if(t!==Lr&&t!==Ir)return e;var n=new Map,r=mn(e),i=ne(0),s=Ye,a=l=>{if(Ye===s)return l();var o=p,f=Ye;B(null),ar(s);var u=l();return B(o),ar(f),u};return r&&n.set("length",ne(e.length)),new Proxy(e,{defineProperty(l,o,f){(!("value"in f)||f.configurable===!1||f.enumerable===!1||f.writable===!1)&&Kr();var u=n.get(o);return u===void 0?u=a(()=>{var c=ne(f.value);return n.set(o,c),c}):O(u,f.value,!0),!0},deleteProperty(l,o){var f=n.get(o);if(f===void 0){if(o in l){const u=a(()=>ne(S));n.set(o,u),ot(i)}}else O(f,S),ot(i);return!0},get(l,o,f){if(o===yt)return e;var u=n.get(o),c=o in l;if(u===void 0&&(!c||Me(l,o)?.writable)&&(u=a(()=>{var v=Ve(c?l[o]:S),_=ne(v);return _}),n.set(o,u)),u!==void 0){var d=w(u);return d===S?void 0:d}return Reflect.get(l,o,f)},getOwnPropertyDescriptor(l,o){var f=Reflect.getOwnPropertyDescriptor(l,o);if(f&&"value"in f){var u=n.get(o);u&&(f.value=w(u))}else if(f===void 0){var c=n.get(o),d=c?.v;if(c!==void 0&&d!==S)return{enumerable:!0,configurable:!0,value:d,writable:!0}}return f},has(l,o){if(o===yt)return!0;var f=n.get(o),u=f!==void 0&&f.v!==S||Reflect.has(l,o);if(f!==void 0||g!==null&&(!u||Me(l,o)?.writable)){f===void 0&&(f=a(()=>{var d=u?Ve(l[o]):S,v=ne(d);return v}),n.set(o,f));var c=w(f);if(c===S)return!1}return u},set(l,o,f,u){var c=n.get(o),d=o in l;if(r&&o==="length")for(var v=f;v<c.v;v+=1){var _=n.get(v+"");_!==void 0?O(_,S):v in l&&(_=a(()=>ne(S)),n.set(v+"",_))}if(c===void 0)(!d||Me(l,o)?.writable)&&(c=a(()=>ne(void 0)),O(c,Ve(f)),n.set(o,c));else{d=c.v!==S;var m=a(()=>Ve(f));O(c,m)}var x=Reflect.getOwnPropertyDescriptor(l,o);if(x?.set&&x.set.call(u,f),!d){if(r&&typeof o=="string"){var j=n.get("length"),$=Number(o);Number.isInteger($)&&$>=j.v&&O(j,$+1)}ot(i)}return!0},ownKeys(l){w(i);var o=Reflect.ownKeys(l).filter(c=>{var d=n.get(c);return d===void 0||d.v!==S});for(var[f,u]of n)u.v!==S&&!(f in l)&&o.push(f);return o},setPrototypeOf(){Xr()}})}var qn,Vn,Hn,Un;function nn(){if(qn===void 0){qn=window,Vn=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,n=Text.prototype;Hn=Me(t,"firstChild").get,Un=Me(t,"nextSibling").get,yn(e)&&(e.__click=void 0,e.__className=void 0,e.__attributes=null,e.__style=void 0,e.__e=void 0),yn(n)&&(n.__t=void 0)}}function G(e=""){return document.createTextNode(e)}function He(e){return Hn.call(e)}function le(e){return Un.call(e)}function re(e,t){if(!b)return He(e);var n=He(y);if(n===null)n=y.appendChild(G());else if(t&&n.nodeType!==Wt){var r=G();return n?.before(r),F(r),r}return F(n),n}function ft(e,t=!1){if(!b){var n=He(e);return n instanceof Comment&&n.data===""?le(n):n}if(t&&y?.nodeType!==Wt){var r=G();return y?.before(r),F(r),r}return y}function oe(e,t=1,n=!1){let r=b?y:e;for(var i;t--;)i=r,r=le(r);if(!b)return r;if(n&&r?.nodeType!==Wt){var s=G();return r===null?i?.after(s):r.before(s),F(s),s}return F(r),r}function Yn(e){e.textContent=""}function zn(){return!1}function Wn(e){var t=p,n=g;B(null),ce(null);try{return e()}finally{B(t),ce(n)}}function bi(e){g===null&&(p===null&&zr(),Yr()),Ue&&Ur()}function yi(e,t){var n=t.last;n===null?t.last=t.first=e:(n.next=e,e.prev=n,t.last=e)}function fe(e,t,n){var r=g;r!==null&&(r.f&V)!==0&&(e|=V);var i={ctx:z,deps:null,nodes_start:null,nodes_end:null,f:e|I|ee,first:null,fn:t,last:null,next:null,parent:r,b:r&&r.b,prev:null,teardown:null,transitions:null,wv:0,ac:null};if(n)try{dt(i),i.f|=bt}catch(l){throw R(i),l}else t!==null&&Be(i);var s=i;if(n&&s.deps===null&&s.teardown===null&&s.nodes_start===null&&s.first===s.last&&(s.f&Le)===0&&(s=s.first,(e&me)!==0&&(e&Ge)!==0&&s!==null&&(s.f|=Ge)),s!==null&&(s.parent=r,r!==null&&yi(s,r),p!==null&&(p.f&A)!==0&&(e&Se)===0)){var a=p;(a.effects??=[]).push(s)}return i}function Tt(){return p!==null&&!ue}function wi(e){const t=fe(Ut,null,!1);return N(t,C),t.teardown=e,t}function Jn(e){bi();var t=g.f,n=!p&&(t&be)!==0&&(t&bt)===0;if(n){var r=z;(r.e??=[]).push(e)}else return Gn(e)}function Gn(e){return fe(Ht|qr,e,!1)}function $i(e){te.ensure();const t=fe(Se|Le,e,!0);return()=>{R(t)}}function Ei(e){te.ensure();const t=fe(Se|Le,e,!0);return(n={})=>new Promise(r=>{n.outro?et(t,()=>{R(t),r(void 0)}):(R(t),r(void 0))})}function ki(e){return fe(Ht,e,!1)}function ji(e){return fe(zt|Le,e,!0)}function Kn(e,t=0){return fe(Ut|t,e,!0)}function At(e,t=[],n=[],r=[]){hi(r,t,n,i=>{fe(Ut,()=>e(...i.map(w)),!0)})}function rn(e,t=0){var n=fe(me|t,e,!0);return n}function K(e){return fe(be|Le,e,!0)}function Xn(e){var t=e.teardown;if(t!==null){const n=Ue,r=p;rr(!0),B(null);try{t.call(null)}finally{rr(n),B(r)}}}function Zn(e,t=!1){var n=e.first;for(e.first=e.last=null;n!==null;){const i=n.ac;i!==null&&Wn(()=>{i.abort(Ke)});var r=n.next;(n.f&Se)!==0?n.parent=null:R(n,t),n=r}}function xi(e){for(var t=e.first;t!==null;){var n=t.next;(t.f&be)===0&&R(t),t=n}}function R(e,t=!0){var n=!1;(t||(e.f&En)!==0)&&e.nodes_start!==null&&e.nodes_end!==null&&(Ti(e.nodes_start,e.nodes_end),n=!0),Zn(e,t&&!n),Ct(e,0),N(e,we);var r=e.transitions;if(r!==null)for(const s of r)s.stop();Xn(e);var i=e.parent;i!==null&&i.first!==null&&Qn(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes_start=e.nodes_end=e.ac=null}function Ti(e,t){for(;e!==null;){var n=e===t?null:le(e);e.remove(),e=n}}function Qn(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 et(e,t,n=!0){var r=[];sn(e,r,!0),er(r,()=>{n&&R(e),t&&t()})}function er(e,t){var n=e.length;if(n>0){var r=()=>--n||t();for(var i of e)i.out(r)}else t()}function sn(e,t,n){if((e.f&V)===0){if(e.f^=V,e.transitions!==null)for(const a of e.transitions)(a.is_global||n)&&t.push(a);for(var r=e.first;r!==null;){var i=r.next,s=(r.f&Ge)!==0||(r.f&be)!==0&&(e.f&me)!==0;sn(r,t,s?n:!1),r=i}}}function an(e){tr(e,!0)}function tr(e,t){if((e.f&V)!==0){e.f^=V,(e.f&C)===0&&(N(e,I),Be(e));for(var n=e.first;n!==null;){var r=n.next,i=(n.f&Ge)!==0||(n.f&be)!==0;tr(n,i?t:!1),n=r}if(e.transitions!==null)for(const s of e.transitions)(s.is_global||t)&&s.in()}}function nr(e,t){for(var n=e.nodes_start,r=e.nodes_end;n!==null;){var i=n===r?null:le(n);t.append(n),n=i}}let Pe=!1;function St(e){Pe=e}let Ue=!1;function rr(e){Ue=e}let p=null,ue=!1;function B(e){p=e}let g=null;function ce(e){g=e}let je=null;function ir(e){p!==null&&(je===null?je=[e]:je.push(e))}let D=null,H=0,X=null;function Ai(e){X=e}let sr=1,ut=0,Ye=ut;function ar(e){Ye=e}function lr(){return++sr}function ct(e){var t=e.f;if((t&I)!==0)return!0;if(t&A&&(e.f&=~Ie),(t&ye)!==0){var n=e.deps;if(n!==null)for(var r=n.length,i=0;i<r;i++){var s=n[i];if(ct(s)&&Ln(s),s.wv>e.wv)return!0}(t&ee)!==0&&W===null&&N(e,C)}return!1}function or(e,t,n=!0){var r=e.reactions;if(r!==null&&!je?.includes(e))for(var i=0;i<r.length;i++){var s=r[i];(s.f&A)!==0?or(s,t,!1):t===s&&(n?N(s,I):(s.f&C)!==0&&N(s,ye),Be(s))}}function fr(e){var t=D,n=H,r=X,i=p,s=je,a=z,l=ue,o=Ye,f=e.f;D=null,H=0,X=null,p=(f&(be|Se))===0?e:null,je=null,Ze(e.ctx),ue=!1,Ye=++ut,e.ac!==null&&(Wn(()=>{e.ac.abort(Ke)}),e.ac=null);try{e.f|=Yt;var u=e.fn,c=u(),d=e.deps;if(D!==null){var v;if(Ct(e,H),d!==null&&H>0)for(d.length=H+D.length,v=0;v<D.length;v++)d[H+v]=D[v];else e.deps=d=D;if(Pe&&Tt()&&(e.f&ee)!==0)for(v=H;v<d.length;v++)(d[v].reactions??=[]).push(e)}else d!==null&&H<d.length&&(Ct(e,H),d.length=H);if(An()&&X!==null&&!ue&&d!==null&&(e.f&(A|ye|I))===0)for(v=0;v<X.length;v++)or(X[v],e);return i!==null&&i!==e&&(ut++,X!==null&&(r===null?r=X:r.push(...X))),(e.f&Ce)!==0&&(e.f^=Ce),c}catch(_){return Cn(_)}finally{e.f^=Yt,D=t,H=n,X=r,p=i,je=s,Ze(a),ue=l,Ye=o}}function Si(e,t){let n=t.reactions;if(n!==null){var r=Dr.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&A)!==0&&(D===null||!D.includes(t))&&(N(t,ye),(t.f&ee)!==0&&(t.f^=ee,t.f&=~Ie),Mn(t),Ct(t,0))}function Ct(e,t){var n=e.deps;if(n!==null)for(var r=t;r<n.length;r++)Si(e,n[r])}function dt(e){var t=e.f;if((t&we)===0){N(e,C);var n=g,r=Pe;g=e,Pe=!0;try{(t&me)!==0?xi(e):Zn(e),Xn(e);var i=fr(e);e.teardown=typeof i=="function"?i:null,e.wv=sr;var s;qt&&ni&&(e.f&I)!==0&&e.deps}finally{Pe=r,g=n}}}function w(e){var t=e.f,n=(t&A)!==0;if(p!==null&&!ue){var r=g!==null&&(g.f&we)!==0;if(!r&&!je?.includes(e)){var i=p.deps;if((p.f&Yt)!==0)e.rv<ut&&(e.rv=ut,D===null&&i!==null&&i[H]===e?H++:D===null?D=[e]:D.includes(e)||D.push(e));else{(p.deps??=[]).push(e);var s=e.reactions;s===null?e.reactions=[p]:s.includes(p)||s.push(p)}}}if(Ue){if(Ne.has(e))return Ne.get(e);if(n){var a=e,l=a.v;return((a.f&C)===0&&a.reactions!==null||cr(a))&&(l=en(a)),Ne.set(a,l),l}}else n&&!W?.has(e)&&(a=e,ct(a)&&Ln(a),Pe&&Tt()&&(a.f&ee)===0&&ur(a));if(W?.has(e))return W.get(e);if((e.f&Ce)!==0)throw e.v;return e.v}function ur(e){if(e.deps!==null){e.f^=ee;for(const t of e.deps)(t.reactions??=[]).push(e),(t.f&A)!==0&&(t.f&ee)===0&&ur(t)}}function cr(e){if(e.v===S)return!0;if(e.deps===null)return!1;for(const t of e.deps)if(Ne.has(t)||(t.f&A)!==0&&cr(t))return!0;return!1}function dr(e){var t=ue;try{return ue=!0,e()}finally{ue=t}}const Ci=-7169;function N(e,t){e.f=e.f&Ci|t}const vr=new Set,ln=new Set;function Ni(e){for(var t=0;t<e.length;t++)vr.add(e[t]);for(var n of ln)n(e)}let hr=null;function Nt(e){var t=this,n=t.ownerDocument,r=e.type,i=e.composedPath?.()||[],s=i[0]||e.target;hr=e;var a=0,l=hr===e&&e.__root;if(l){var o=i.indexOf(l);if(o!==-1&&(t===document||t===window)){e.__root=t;return}var f=i.indexOf(t);if(f===-1)return;o<=f&&(a=o)}if(s=i[a]||e.target,s!==t){gt(e,"currentTarget",{configurable:!0,get(){return s||n}});var u=p,c=g;B(null),ce(null);try{for(var d,v=[];s!==null;){var _=s.assignedSlot||s.parentNode||s.host||null;try{var m=s["__"+r];m!=null&&(!s.disabled||e.target===s)&&m.call(s,e)}catch(x){d?v.push(x):d=x}if(e.cancelBubble||_===t||_===null)break;s=_}if(d){for(let x of v)queueMicrotask(()=>{throw x});throw d}}finally{e.__root=t,delete e.currentTarget,B(u),ce(c)}}}function Pi(e){var t=document.createElement("template");return t.innerHTML=e.replaceAll("<!>","<!---->"),t.content}function tt(e,t){var n=g;n.nodes_start===null&&(n.nodes_start=e,n.nodes_end=t)}function q(e,t){var n=(t&Pr)!==0,r=(t&Or)!==0,i,s=!e.startsWith("<!>");return()=>{if(b)return tt(y,null),y;i===void 0&&(i=Pi(s?e:"<!>"+e),n||(i=He(i)));var a=r||Vn?document.importNode(i,!0):i.cloneNode(!0);if(n){var l=He(a),o=a.lastChild;tt(l,o)}else tt(a,a);return a}}function Oi(){if(b)return tt(y,null),y;var e=document.createDocumentFragment(),t=document.createComment(""),n=G();return e.append(t,n),tt(t,n),e}function P(e,t){if(b){var n=g;((n.f&bt)===0||n.nodes_end===null)&&(n.nodes_end=y),it();return}e!==null&&e.before(t)}const Ri=["touchstart","touchmove"];function Di(e){return Ri.includes(e)}function vt(e,t){var n=t==null?"":typeof t=="object"?t+"":t;n!==(e.__t??=e.nodeValue)&&(e.__t=n,e.nodeValue=n+"")}function _r(e,t){return pr(e,t)}function Mi(e,t){nn(),t.intro=t.intro??!1;const n=t.target,r=b,i=y;try{for(var s=He(n);s&&(s.nodeType!==Xe||s.data!==gn);)s=le(s);if(!s)throw Je;$e(!0),F(s);const a=pr(e,{...t,anchor:s});return $e(!1),a}catch(a){if(a instanceof Error&&a.message.split(`
2
+ `).some(l=>l.startsWith("https://svelte.dev/e/")))throw a;return a!==Je&&console.warn("Failed to hydrate: ",a),t.recover===!1&&Jr(),nn(),Yn(n),$e(!1),_r(e,t)}finally{$e(r),F(i)}}const nt=new Map;function pr(e,{target:t,anchor:n,props:r={},events:i,context:s,intro:a=!0}){nn();var l=new Set,o=c=>{for(var d=0;d<c.length;d++){var v=c[d];if(!l.has(v)){l.add(v);var _=Di(v);t.addEventListener(v,Nt,{passive:_});var m=nt.get(v);m===void 0?(document.addEventListener(v,Nt,{passive:_}),nt.set(v,1)):nt.set(v,m+1)}}};o(Vt(vr)),ln.add(o);var f=void 0,u=Ei(()=>{var c=n??t.appendChild(G());return li(c,{pending:()=>{}},d=>{if(s){Jt({});var v=z;v.c=s}if(i&&(r.$$events=i),b&&tt(d,null),f=e(d,r)||{},b&&(g.nodes_end=y,y===null||y.nodeType!==Xe||y.data!==Bt))throw wt(),Je;s&&Gt()}),()=>{for(var d of l){t.removeEventListener(d,Nt);var v=nt.get(d);--v===0?(document.removeEventListener(d,Nt),nt.delete(d)):nt.set(d,v)}ln.delete(o),c!==n&&c.parentNode?.removeChild(c)}});return on.set(f,u),f}let on=new WeakMap;function Li(e,t){const n=on.get(e);return n?(on.delete(e),n(t)):Promise.resolve()}class Ii{anchor;#t=new Map;#e=new Map;#n=new Map;#r=new Set;#o=!0;constructor(t,n=!0){this.anchor=t,this.#o=n}#s=()=>{var t=k;if(this.#t.has(t)){var n=this.#t.get(t),r=this.#e.get(n);if(r)an(r),this.#r.delete(n);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,a]of this.#t){if(this.#t.delete(s),s===t)break;const l=this.#n.get(a);l&&(R(l.effect),this.#n.delete(a))}for(const[s,a]of this.#e){if(s===n||this.#r.has(s))continue;const l=()=>{if(Array.from(this.#t.values()).includes(s)){var f=document.createDocumentFragment();nr(a,f),f.append(G()),this.#n.set(s,{effect:a,fragment:f})}else R(a);this.#r.delete(s),this.#e.delete(s)};this.#o||!r?(this.#r.add(s),et(a,l,!1)):l()}}};#i=t=>{this.#t.delete(t);const n=Array.from(this.#t.values());for(const[r,i]of this.#n)n.includes(r)||(R(i.effect),this.#n.delete(r))};ensure(t,n){var r=k,i=zn();if(n&&!this.#e.has(t)&&!this.#n.has(t))if(i){var s=document.createDocumentFragment(),a=G();s.append(a),this.#n.set(t,{effect:K(()=>n(a)),fragment:s})}else this.#e.set(t,K(()=>n(this.anchor)));if(this.#t.set(r,t),i){for(const[l,o]of this.#e)l===t?r.skipped_effects.delete(o):r.skipped_effects.add(o);for(const[l,o]of this.#n)l===t?r.skipped_effects.delete(o.effect):r.skipped_effects.add(o.effect);r.oncommit(this.#s),r.ondiscard(this.#i)}else b&&(this.anchor=y),this.#s()}}function de(e,t,n=!1){b&&it();var r=new Ii(e),i=n?Ge:0;function s(a,l){if(b){const f=jn(e)===_t;if(a===f){var o=$t();F(o),r.anchor=o,$e(!1),r.ensure(a,l),$e(!0);return}}r.ensure(a,l)}rn(()=>{var a=!1;t((l,o=!0)=>{a=!0,s(o,l)}),a||s(!1,null)},i)}function Fi(e,t,n,r,i){b&&it();var s=t.$$slots?.[n],a=!1;s===!0&&(s=t.children,a=!0),s===void 0||s(e,a?()=>r:r)}function gr(e,t){ki(()=>{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 Bi(e,t,n){var r=e==null?"":""+e;return r=r?r+" "+t:t,r===""?null:r}function qi(e,t,n,r,i,s){var a=e.__className;if(b||a!==n||a===void 0){var l=Bi(n,r);(!b||l!==e.getAttribute("class"))&&(l==null?e.removeAttribute("class"):e.className=l),e.__className=n}return s}const Vi=Symbol("is custom element"),Hi=Symbol("is html");function mr(e,t,n,r){var i=Ui(e);b&&(i[t]=e.getAttribute(t),t==="src"||t==="srcset"||t==="href"&&e.nodeName==="LINK")||i[t]!==(i[t]=n)&&(t==="loading"&&(e[Vr]=n),n==null?e.removeAttribute(t):typeof n!="string"&&Yi(e).includes(t)?e[t]=n:e.setAttribute(t,n))}function Ui(e){return e.__attributes??={[Vi]:e.nodeName.includes("-"),[Hi]:e.namespaceURI===Rr}}var br=new Map;function Yi(e){var t=e.getAttribute("is")||e.nodeName,n=br.get(t);if(n)return n;br.set(t,n=[]);for(var r,i=e,s=Element.prototype;s!==i;){r=Mr(i);for(var a in r)r[a].set&&n.push(a);i=bn(i)}return n}let Pt=!1;function zi(e){var t=Pt;try{return Pt=!1,[e(),Pt]}finally{Pt=t}}function Oe(e,t,n,r){var i=(n&Cr)!==0,s=(n&Nr)!==0,a=r,l=!0,o=()=>(l&&(l=!1,a=s?dr(r):r),a),f;if(i){var u=yt in e||kn in e;f=Me(e,t)?.set??(u&&t in e?$=>e[t]=$:void 0)}var c,d=!1;i?[c,d]=zi(()=>e[t]):c=e[t],c===void 0&&r!==void 0&&(c=o(),f&&(Gr(),f(c)));var v;if(v=()=>{var $=e[t];return $===void 0?o():(l=!0,$)},(n&Sr)===0)return v;if(f){var _=e.$$legacy;return(function($,M){return arguments.length>0?((!M||_||d)&&f(M?v():$),$):v()})}var m=!1,x=((n&Ar)!==0?xt:Dn)(()=>(m=!1,v()));i&&w(x);var j=g;return(function($,M){if(arguments.length>0){const L=M?w(x):i?Ve($):$;return O(x,L),m=!0,a!==void 0&&(a=L),$}return Ue&&m||(j.f&we)!==0?x.v:w(x)})}function Wi(e){return new Ji(e)}class Ji{#t;#e;constructor(t){var n=new Map,r=(s,a)=>{var l=Fn(a,!1,!1);return n.set(s,l),l};const i=new Proxy({...t.props||{},$$events:{}},{get(s,a){return w(n.get(a)??r(a,Reflect.get(s,a)))},has(s,a){return a===kn?!0:(w(n.get(a)??r(a,Reflect.get(s,a))),Reflect.has(s,a))},set(s,a,l){return O(n.get(a)??r(a,l),l),Reflect.set(s,a,l)}});this.#e=(t.hydrate?Mi:_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)&&Ee(),this.#t=i.$$events;for(const s of Object.keys(this.#e))s==="$set"||s==="$destroy"||s==="$on"||gt(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=()=>{Li(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 yr;typeof HTMLElement=="function"&&(yr=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),P(i,s)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const t={},n=Gi(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]=Ot(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=Wi({component:this.$$ctor,target:this.shadowRoot||this,props:{...this.$$d,$$slots:t,$$host:this}}),this.$$me=$i(()=>{Kn(()=>{this.$$r=!0;for(const r of pt(this.$$c)){if(!this.$$p_d[r]?.reflect)continue;this.$$d[r]=this.$$c[r];const i=Ot(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]=Ot(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 pt(this.$$p_d).find(t=>this.$$p_d[t].attribute===e||!this.$$p_d[t].attribute&&t.toLowerCase()===e)||e}});function Ot(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 Gi(e){const t={};return e.childNodes.forEach(n=>{t[n.slot||"default"]=!0}),t}function wr(e,t,n,r,i,s){let a=class extends yr{constructor(){super(e,n,i),this.$$p_d=t}static get observedAttributes(){return pt(t).map(l=>(t[l].attribute||l).toLowerCase())}};return pt(t).forEach(l=>{gt(a.prototype,l,{get(){return this.$$c&&l in this.$$c?this.$$c[l]:this.$$d[l]},set(o){o=Ot(l,o,t),this.$$d[l]=o;var f=this.$$c;if(f){var u=Me(f,l)?.get;u?f[l]=o:f.$set({[l]:o})}}})}),r.forEach(l=>{gt(a.prototype,l,{get(){return this.$$c?.[l]}})}),e.element=a,a}var ze={},$r;function Ki(){if($r)return ze;$r=1,Object.defineProperty(ze,"__esModule",{value:!0}),ze.LanguageTranslator=void 0,ze.getChildStyleToPass=e,ze.addComponent=t;function e(r,i){var s,a,l="";try{if(r&&i?.length&&(!((s=Object.keys(r))===null||s===void 0)&&s.length)&&(!((a=i?.filter(function(d){return Object.keys(r).includes(d.name)}))===null||a===void 0)&&a.length))for(var o=function(d){var v=i?.filter(function(_){return _.name===d&&_.defaultValue!==r[d]});v&&(l+="".concat(d,":").concat(r[d],";"))},f=0,u=Object.keys(r);f<u.length;f++){var c=u[f];o(c)}}catch(d){console.error("error getting child style to pass",d)}finally{return l}}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 a=r?.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(r.repoName,"@").concat(r.version,"/").concat(a),r?.local)l.src="".concat(r.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(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,a){return r.formatDate(i,s,a||this.lang)},r.getDefaultLang=function(){var i,s,a,l="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)&&(l=navigator.languages[0].split("-")[0].toLowerCase()),l},r.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="",f=r.getDefaultLang();if(!a||f!==a){var u=s?.[f];u?.[i]&&(o=u[i])}return o},r.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||r.getDefaultLang(),s);return l.format(i)},r})();return ze.LanguageTranslator=n,ze}Ki();var Xi=q('<span class="jn-popover svelte-2u2vu2">copied</span>'),Zi=q('<span class="jn-key svelte-2u2vu2" role="button" tabindex="0" title="Copia JSON"> </span><!> <span class="jn-sep svelte-2u2vu2">:</span>',1),Qi=q('<div class="jn-row svelte-2u2vu2"><!> <span> </span></div>'),es=q('<span class="jn-popover svelte-2u2vu2">copied</span>'),ts=q('<span class="jn-key svelte-2u2vu2" role="button" tabindex="0" title="Copia JSON"> </span><!> <span class="jn-sep svelte-2u2vu2">:</span>',1),ns=q('<span class="jn-popover svelte-2u2vu2">copied</span>'),rs=q('<span class="jn-bracket svelte-2u2vu2">[</span>'),is=q('<span class="jn-bracket svelte-2u2vu2"></span>'),ss=q(']<span class="jn-trailing"></span>',1),as=q(' <span class="jn-trailing"></span>',1),ls=q('<div class="jn-children svelte-2u2vu2"></div> <div class="jn-close svelte-2u2vu2"><!></div>',1),os=q('<div class="jn-node svelte-2u2vu2"><div class="jn-header svelte-2u2vu2"><span class="jn-actions svelte-2u2vu2"><button class="jn-btn jn-toggle-btn svelte-2u2vu2"> </button></span> <!> <span class="jn-type svelte-2u2vu2" role="button" tabindex="0" title="Copia JSON"> </span><!> <!></div> <!></div>');const fs={hash:"svelte-2u2vu2",code:`.jn-row.svelte-2u2vu2 {font-family:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
3
+ "Liberation Mono", "Courier New", monospace;line-height:1.5;}.jn-node.svelte-2u2vu2 {margin-left:0.75rem;}.jn-header.svelte-2u2vu2 {display:inline-flex;align-items:baseline;gap:0.25rem;}.jn-actions.svelte-2u2vu2 {display:inline-flex;gap:0.25rem;margin-right:0.25rem;}.jn-btn.svelte-2u2vu2 {cursor:pointer;border:1px solid var(--jn-button-border);border-radius:4px;background:transparent;color:inherit;width:1.25rem;height:1.25rem;display:inline-flex;align-items:center;justify-content:center;font-size:0.85rem;line-height:1;padding:0;}.jn-btn.svelte-2u2vu2:hover {background-color:var(--jn-button-hover-bg);}.jn-key.svelte-2u2vu2 {cursor:pointer;}.jn-key.svelte-2u2vu2 {color:var(--jn-key);}.jn-sep.svelte-2u2vu2 {color:var(--jn-sep);}.jn-type.svelte-2u2vu2 {color:var(--jn-type);cursor:pointer;}.jn-popover.svelte-2u2vu2 {display:inline-block;margin-left:0.25rem;padding:0 0.35rem;border-radius:999px;font-size:0.7rem;line-height:1.4;color:var(--jn-popover-text);background-color:var(--jn-popover-bg);border:1px solid var(--jn-popover-border);vertical-align:middle;user-select:none;}.jn-bracket.svelte-2u2vu2 {color:var(--jn-bracket);}.jn-children.svelte-2u2vu2 {margin-left:1rem;border-left:1px dashed var(--jn-children-border);padding-left:0.75rem;}.jn-close.svelte-2u2vu2 {margin-left:0.75rem;color:var(--jn-close);}.jn-string.svelte-2u2vu2 {color:var(--jn-string);}.jn-number.svelte-2u2vu2 {color:var(--jn-number);}.jn-boolean.svelte-2u2vu2 {color:var(--jn-boolean);}.jn-undefined.svelte-2u2vu2 {color:var(--jn-undefined);font-style:italic;}.jn-symbol.svelte-2u2vu2 {color:var(--jn-symbol);}`};function fn(e,t){Jt(t,!0),gr(e,fs);let n=Oe(t,"keyPath",23,()=>[]),r=Oe(t,"value",7),i=Oe(t,"name",7,null),s=Oe(t,"collapsed",7),a=Oe(t,"status",7,"open");const l=h=>h!==null&&typeof h=="object"&&!Array.isArray(h),o=h=>Array.isArray(h),f=h=>!l(h)&&!o(h);function u(h){return h===null?"null":o(h)?`Array(${h.length})`:l(h)?"Object":typeof h}function c(h){return typeof h=="string"?`"${h}"`:h===null?"null":typeof h>"u"?"undefined":typeof h=="bigint"?h.toString()+"n":typeof h=="symbol"?h.toString():String(h)}function d(h){return o(h)?h.map((T,he)=>[he,T]):l(h)?Object.entries(h):[]}function v(h,T){return h==="open"?!1:h==="closed"?!0:T>0}const _=n().length;let m=ne(Ve(s()??v(a(),_)));Jn(()=>{s()===void 0&&O(m,v(a(),_),!0)});function x(){O(m,!w(m))}function j(h){const T=new WeakSet;try{return JSON.stringify(h,(he,ie)=>{if(typeof ie=="object"&&ie!==null){if(T.has(ie))return"[Circular]";T.add(ie)}return ie},2)}catch{return String(h)}}async function $(){const h=j(r());try{navigator.clipboard&&navigator.clipboard.writeText?await navigator.clipboard.writeText(h):console.error("unsupported copying node")}catch(T){console.error("error copying node",T)}}let M=ne(null),L=ne(!1),U=null;function Re(h){O(M,h,!0),O(L,!0),U!==null&&window.clearTimeout(U),U=window.setTimeout(()=>{O(L,!1),O(M,null),U=null},1e3)}async function xe(h){await $(),Re(h)}function ve(h,T){(h.key==="Enter"||h.key===" ")&&(h.preventDefault(),h.stopPropagation(),xe(T))}var ht={get keyPath(){return n()},set keyPath(h=[]){n(h),Ee()},get value(){return r()},set value(h){r(h),Ee()},get name(){return i()},set name(h=null){i(h),Ee()},get collapsed(){return s()},set collapsed(h){s(h),Ee()},get status(){return a()},set status(h="open"){a(h),Ee()}},We=Oi(),Z=ft(We);{var Rt=h=>{var T=Qi(),he=re(T);{var ie=De=>{var Mt=Zi(),se=ft(Mt);se.__click=_e=>{_e.stopPropagation(),xe("key")},se.__keydown=_e=>{_e.stopPropagation(),ve(_e,"key")};var cn=re(se,!0);Y(se);var Lt=oe(se);{var dn=_e=>{var vn=Xi();P(_e,vn)};de(Lt,_e=>{w(L)&&w(M)==="key"&&_e(dn)})}st(2),At(()=>vt(cn,i())),P(De,Mt)};de(he,De=>{i()!==null&&De(ie)})}var Te=oe(he,2),un=re(Te,!0);Y(Te),Y(T),At(De=>{qi(Te,1,`jn-val ${"jn-"+(typeof r()=="string"?"string":typeof r())}`,"svelte-2u2vu2"),vt(un,De)},[()=>c(r())]),P(h,T)},Dt=h=>{var T=os(),he=re(T),ie=re(he),Te=re(ie);Te.__click=E=>{E.stopPropagation(),x()};var un=re(Te,!0);Y(Te),Y(ie);var De=oe(ie,2);{var Mt=E=>{var Q=ts(),Ae=ft(Q);Ae.__click=pe=>{pe.stopPropagation(),xe("key")},Ae.__keydown=pe=>{pe.stopPropagation(),ve(pe,"key")};var It=re(Ae,!0);Y(Ae);var hn=oe(Ae);{var _n=pe=>{var ge=es();P(pe,ge)};de(hn,pe=>{w(L)&&w(M)==="key"&&pe(_n)})}st(2),At(()=>vt(It,i())),P(E,Q)};de(De,E=>{i()!==null&&E(Mt)})}var se=oe(De,2);se.__click=E=>{E.stopPropagation(),xe("type")},se.__keydown=E=>{E.stopPropagation(),ve(E,"type")};var cn=re(se,!0);Y(se);var Lt=oe(se);{var dn=E=>{var Q=ns();P(E,Q)};de(Lt,E=>{w(L)&&w(M)==="type"&&E(dn)})}var _e=oe(Lt,2);{var vn=E=>{var Q=rs();P(E,Q)},vs=E=>{var Q=is();Q.textContent="{",P(E,Q)};de(_e,E=>{o(r())?E(vn):E(vs,!1)})}Y(he);var hs=oe(he,2);{var _s=E=>{var Q=ls(),Ae=ft(Q);ci(Ae,21,()=>d(r()),fi,(ge,rt)=>{var Ft=Qt(()=>Br(w(rt),2));let kr=()=>w(Ft)[0],ps=()=>w(Ft)[1];{let gs=Qt(()=>[...n(),kr()]),ms=Qt(()=>v(a(),_+1));fn(ge,{get name(){return kr()},get value(){return ps()},get keyPath(){return w(gs)},get status(){return a()},get collapsed(){return w(ms)}})}}),Y(Ae);var It=oe(Ae,2),hn=re(It);{var _n=ge=>{var rt=ss();st(),P(ge,rt)},pe=ge=>{var rt=as(),Ft=ft(rt,!0);Ft.nodeValue="}",st(),P(ge,rt)};de(hn,ge=>{o(r())?ge(_n):ge(pe,!1)})}Y(It),P(E,Q)};de(hs,E=>{w(m)||E(_s)})}Y(T),At(E=>{mr(Te,"aria-label",w(m)?"Espandi":"Comprimi"),mr(Te,"title",w(m)?"Espandi":"Comprimi"),vt(un,w(m)?"+":"-"),vt(cn,E)},[()=>u(r())]),P(h,T)};de(Z,h=>{f(r())?h(Rt):h(Dt,!1)})}return P(e,We),Gt(ht)}Ni(["click","keydown"]),wr(fn,{keyPath:{},value:{},name:{},collapsed:{},status:{}},[],[],!0);var us=q('<div class="jn-empty svelte-g7b435">No data</div>'),cs=q('<div class="hb-json-viewer svelte-g7b435"><!> <!></div>');const ds={hash:"svelte-g7b435",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;--jn-key: #6f42c1;--jn-sep: #8b949e;--jn-type: #1f6feb;--jn-bracket: #8b949e;--jn-children-border: rgba(128, 128, 128, .3);--jn-close: #8b949e;--jn-string: #0a7;--jn-number: #d19a66;--jn-boolean: #56b6c2;--jn-undefined: #8b949e;--jn-symbol: #8b949e;--jn-button-border: rgba(128, 128, 128, .3);--jn-button-hover-bg: rgba(128, 128, 128, .1);--jn-popover-text: #0f5132;--jn-popover-bg: #d1e7dd;--jn-popover-border: #badbcc;}
4
4
  /*!
5
5
  * Bootstrap v5.1.2 (https://getbootstrap.com/)
6
6
  * Copyright 2011-2021 The Bootstrap Authors
7
7
  * Copyright 2011-2021 Twitter, Inc.
8
8
  * 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-g7b435,
9
+ */.svelte-g7b435,
10
10
  .svelte-g7b435::before,
11
11
  .svelte-g7b435::after {box-sizing:border-box;}
12
12
  @media (prefers-reduced-motion: no-preference) {:host {scroll-behavior:smooth;}
@@ -56,5 +56,5 @@
56
56
  @media (min-width: 1200px) {
57
57
  }
58
58
  @media (min-width: 1400px) {
59
- }`};function En(e,t){Jt(t,!0),bn(e,ds);let r=Re(t,"id",7,""),n=Re(t,"json",7),i=Re(t,"status",7,"open");Pe({}),Wr(()=>{if(typeof n()=="string")try{n(JSON.parse(n()))}catch(c){console.error("error parsing json",c)}});var s={get id(){return r()},set id(c=""){r(c),Ee()},get json(){return n()},set json(c){n(c),Ee()},get status(){return i()},set status(c="open"){i(c),Ee()}},a=cs(),o=ne(a);{var l=c=>{lr(c,{get value(){return n()},name:null,keyPath:[],get status(){return i()}})},f=c=>{var d=us();P(c,d)};de(o,c=>{n()!==void 0?c(l):c(f,!1)})}var u=le(o,2);return Fi(u,t,"default",{}),Y(a),P(e,a),Gt(s)}customElements.define("hb-json-viewer",wn(En,{id:{},json:{},status:{}},["default"],[],!0)),_r.Component=En,Object.defineProperty(_r,Symbol.toStringTag,{value:"Module"})})(this["json-viewer"]=this["json-viewer"]||{});
59
+ }`};function Er(e,t){Jt(t,!0),gr(e,ds);let n=Oe(t,"id",7,""),r=Oe(t,"json",7),i=Oe(t,"status",7,"open");Jn(()=>{if(typeof r()=="string")try{r(JSON.parse(r()))}catch(c){console.error("error parsing json",c)}});var s={get id(){return n()},set id(c=""){n(c),Ee()},get json(){return r()},set json(c){r(c),Ee()},get status(){return i()},set status(c="open"){i(c),Ee()}},a=cs(),l=re(a);{var o=c=>{fn(c,{get value(){return r()},name:null,keyPath:[],get status(){return i()}})},f=c=>{var d=us();P(c,d)};de(l,c=>{r()!==void 0?c(o):c(f,!1)})}var u=oe(l,2);return Fi(u,t,"default",{}),Y(a),P(e,a),Gt(s)}customElements.define("hb-json-viewer",wr(Er,{id:{},json:{},status:{}},["default"],[],!0)),pn.Component=Er,Object.defineProperty(pn,Symbol.toStringTag,{value:"Module"})})(this["json-viewer"]=this["json-viewer"]||{});
60
60
  //# sourceMappingURL=main.iife.js.map