@htmlbricks/hb-json-viewer 0.66.5 → 0.66.7
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 +6 -5
- package/main.iife.js.map +1 -1
- package/manifest.json +2 -2
- package/package.json +1 -1
package/main.iife.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
(function(kn){"use strict";typeof window<"u"&&((window.__svelte??={}).v??=new Set).add("5");const zr=1,Br=2,Vr=16,Hr=1,Yr=4,qr=8,Ur=16,Gr=1,Jr=2,jn="[",Ht="[!",Tn="[?",Yt="]",Ze={},R=Symbol(),Sn="http://www.w3.org/1999/xhtml",Kr=!1;var xn=Array.isArray,Wr=Array.prototype.indexOf,Qe=Array.prototype.includes,Et=Array.from,kt=Object.keys,jt=Object.defineProperty,ze=Object.getOwnPropertyDescriptor,Xr=Object.getOwnPropertyDescriptors,Zr=Object.prototype,Qr=Array.prototype,An=Object.getPrototypeOf,Nn=Object.isExtensible;const ei=()=>{};function ti(e){for(var t=0;t<e.length;t++)e[t]()}function Cn(){var e,t,n=new Promise((r,i)=>{e=r,t=i});return{promise:n,resolve:e,reject:t}}function ni(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 N=2,et=4,Tt=8,Rn=1<<24,xe=16,te=32,Ae=64,qt=128,q=512,A=1024,P=2048,fe=4096,H=8192,U=16384,Ne=32768,On=1<<25,tt=65536,Pn=1<<17,ri=1<<18,Be=1<<19,ii=1<<20,be=1<<25,Ve=65536,Ut=1<<21,Gt=1<<22,Ce=1<<23,St=Symbol("$state"),Mn=Symbol("legacy props"),si=Symbol(""),ye=new class extends Error{name="StaleReactionError";message="The reaction that called `getAbortSignal()` was re-run or destroyed"},li=!!globalThis.document?.contentType&&globalThis.document.contentType.includes("xml"),xt=3,ut=8;function oi(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function ai(e,t,n){throw new Error("https://svelte.dev/e/each_key_duplicate")}function fi(e){throw new Error("https://svelte.dev/e/effect_in_teardown")}function ui(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function ci(e){throw new Error("https://svelte.dev/e/effect_orphan")}function di(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function hi(){throw new Error("https://svelte.dev/e/hydration_failed")}function vi(e){throw new Error("https://svelte.dev/e/props_invalid_value")}function _i(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function pi(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function gi(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function mi(){throw new Error("https://svelte.dev/e/svelte_boundary_reset_onerror")}function At(e){console.warn("https://svelte.dev/e/hydration_mismatch")}function bi(){console.warn("https://svelte.dev/e/svelte_boundary_reset_noop")}let $=!1;function we(e){$=e}let w;function L(e){if(e===null)throw At(),Ze;return w=e}function ct(){return L(ue(w))}function G(e){if($){if(ue(w)!==null)throw At(),Ze;w=e}}function dt(e=1){if($){for(var t=e,n=w;t--;)n=ue(n);w=n}}function Nt(e=!0){for(var t=0,n=w;;){if(n.nodeType===ut){var r=n.data;if(r===Yt){if(t===0)return n;t-=1}else(r===jn||r===Ht||r[0]==="["&&!isNaN(Number(r.slice(1))))&&(t+=1)}var i=ue(n);e&&n.remove(),n=i}}function In(e){if(!e||e.nodeType!==ut)throw At(),Ze;return e.data}function Dn(e){return e===this.v}function yi(e,t){return e!=e?t==t:e!==t||e!==null&&typeof e=="object"||typeof e=="function"}function Ln(e){return!yi(e,this.v)}let wi=!1,J=null;function nt(e){J=e}function Jt(e,t=!1,n){J={p:J,i:!1,c:null,e:null,s:e,x:null,r:b,l:null}}function Kt(e){var t=J,n=t.e;if(n!==null){t.e=null;for(var r of n)cr(r)}return e!==void 0&&(t.x=e),t.i=!0,J=t.p,e??{}}function Fn(){return!0}let He=[];function zn(){var e=He;He=[],ti(e)}function rt(e){if(He.length===0&&!ht){var t=He;queueMicrotask(()=>{t===He&&zn()})}He.push(e)}function $i(){for(;He.length>0;)zn()}function Bn(e){var t=b;if(t===null)return m.f|=Ce,e;if((t.f&Ne)===0&&(t.f&et)===0)throw e;Re(e,t)}function Re(e,t){for(;t!==null;){if((t.f&qt)!==0){if((t.f&Ne)===0)throw e;try{t.b.error(e);return}catch(n){e=n}}t=t.parent}throw e}const Ei=-7169;function x(e,t){e.f=e.f&Ei|t}function Wt(e){(e.f&q)!==0||e.deps===null?x(e,A):x(e,fe)}function Vn(e){if(e!==null)for(const t of e)(t.f&N)===0||(t.f&Ve)===0||(t.f^=Ve,Vn(t.deps))}function Hn(e,t,n){(e.f&P)!==0?t.add(e):(e.f&fe)!==0&&n.add(e),Vn(e.deps),x(e,A)}let Ct=!1;function ki(e){var t=Ct;try{return Ct=!1,[e(),Ct]}finally{Ct=t}}const Oe=new Set;let j=null,ne=null,Xt=null,ht=!1,Zt=!1,it=null,Rt=null;var Yn=0;let ji=1;class $e{id=ji++;current=new Map;previous=new Map;#e=new Set;#n=new Set;#t=new Map;#i=new Map;#s=null;#r=[];#l=new Set;#o=new Set;#a=new Map;is_fork=!1;#c=!1;#f=new Set;#d(){return this.is_fork||this.#i.size>0}#v(){for(const r of this.#f)for(const i of r.#i.keys()){for(var t=!1,n=i;n.parent!==null;){if(this.#a.has(n)){t=!0;break}n=n.parent}if(!t)return!0}return!1}skip_effect(t){this.#a.has(t)||this.#a.set(t,{d:[],m:[]})}unskip_effect(t){var n=this.#a.get(t);if(n){this.#a.delete(t);for(var r of n.d)x(r,P),this.schedule(r);for(r of n.m)x(r,fe),this.schedule(r)}}#h(){if(Yn++>1e3&&(Oe.delete(this),Ti()),!this.#d()){for(const l of this.#l)this.#o.delete(l),x(l,P),this.schedule(l);for(const l of this.#o)x(l,fe),this.schedule(l)}const t=this.#r;this.#r=[],this.apply();var n=it=[],r=[],i=Rt=[];for(const l of t)try{this.#u(l,n,r)}catch(f){throw Kn(l),f}if(j=null,i.length>0){var s=$e.ensure();for(const l of i)s.schedule(l)}if(it=null,Rt=null,this.#d()||this.#v()){this.#_(r),this.#_(n);for(const[l,f]of this.#a)Jn(l,f)}else{this.#t.size===0&&Oe.delete(this),this.#l.clear(),this.#o.clear();for(const l of this.#e)l(this);this.#e.clear(),qn(r),qn(n),this.#s?.resolve()}var o=j;if(this.#r.length>0){const l=o??=this;l.#r.push(...this.#r.filter(f=>!l.#r.includes(f)))}o!==null&&(Oe.add(o),o.#h()),Oe.has(this)||this.#p()}#u(t,n,r){t.f^=A;for(var i=t.first;i!==null;){var s=i.f,o=(s&(te|Ae))!==0,l=o&&(s&A)!==0,f=l||(s&H)!==0||this.#a.has(i);if(!f&&i.fn!==null){o?i.f^=A:(s&et)!==0?n.push(i):pt(i)&&((s&xe)!==0&&this.#o.add(i),ot(i));var a=i.first;if(a!==null){i=a;continue}}for(;i!==null;){var c=i.next;if(c!==null){i=c;break}i=i.parent}}}#_(t){for(var n=0;n<t.length;n+=1)Hn(t[n],this.#l,this.#o)}capture(t,n,r=!1){n!==R&&!this.previous.has(t)&&this.previous.set(t,n),(t.f&Ce)===0&&(this.current.set(t,[t.v,r]),ne?.set(t,t.v))}activate(){j=this}deactivate(){j=null,ne=null}flush(){try{Zt=!0,j=this,this.#h()}finally{Yn=0,Xt=null,it=null,Rt=null,Zt=!1,j=null,ne=null,Pe.clear()}}discard(){for(const t of this.#n)t(this);this.#n.clear(),Oe.delete(this)}#p(){for(const a of Oe){var t=a.id<this.id,n=[];for(const[c,[d,h]]of this.current){if(a.current.has(c)){var r=a.current.get(c)[0];if(t&&d!==r)a.current.set(c,[d,h]);else continue}n.push(c)}var i=[...a.current.keys()].filter(c=>!this.current.has(c));if(i.length===0)t&&a.discard();else if(n.length>0){a.activate();var s=new Set,o=new Map;for(var l of n)Un(l,i,s,o);if(a.#r.length>0){a.apply();for(var f of a.#r)a.#u(f,[],[]);a.#r=[]}a.deactivate()}}for(const a of Oe)a.#f.has(this)&&(a.#f.delete(this),a.#f.size===0&&!a.#d()&&(a.activate(),a.#h()))}increment(t,n){let r=this.#t.get(n)??0;if(this.#t.set(n,r+1),t){let i=this.#i.get(n)??0;this.#i.set(n,i+1)}}decrement(t,n,r){let i=this.#t.get(n)??0;if(i===1?this.#t.delete(n):this.#t.set(n,i-1),t){let s=this.#i.get(n)??0;s===1?this.#i.delete(n):this.#i.set(n,s-1)}this.#c||r||(this.#c=!0,rt(()=>{this.#c=!1,this.flush()}))}transfer_effects(t,n){for(const r of t)this.#l.add(r);for(const r of n)this.#o.add(r);t.clear(),n.clear()}oncommit(t){this.#e.add(t)}ondiscard(t){this.#n.add(t)}settled(){return(this.#s??=Cn()).promise}static ensure(){if(j===null){const t=j=new $e;Zt||(Oe.add(j),ht||rt(()=>{j===t&&t.flush()}))}return j}apply(){{ne=null;return}}schedule(t){if(Xt=t,t.b?.is_pending&&(t.f&(et|Tt|Rn))!==0&&(t.f&Ne)===0){t.b.defer_effect(t);return}for(var n=t;n.parent!==null;){n=n.parent;var r=n.f;if(it!==null&&n===b&&(m===null||(m.f&N)===0))return;if((r&(Ae|te))!==0){if((r&A)===0)return;n.f^=A}}this.#r.push(n)}}function Ee(e){var t=ht;ht=!0;try{for(var n;;){if($i(),j===null)return n;j.flush()}}finally{ht=t}}function Ti(){try{di()}catch(e){Re(e,Xt)}}let ke=null;function qn(e){var t=e.length;if(t!==0){for(var n=0;n<t;){var r=e[n++];if((r.f&(U|H))===0&&pt(r)&&(ke=new Set,ot(r),r.deps===null&&r.first===null&&r.nodes===null&&r.teardown===null&&r.ac===null&&vr(r),ke?.size>0)){Pe.clear();for(const i of ke){if((i.f&(U|H))!==0)continue;const s=[i];let o=i.parent;for(;o!==null;)ke.has(o)&&(ke.delete(o),s.push(o)),o=o.parent;for(let l=s.length-1;l>=0;l--){const f=s[l];(f.f&(U|H))===0&&ot(f)}}ke.clear()}}ke=null}}function Un(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&N)!==0?Un(i,t,n,r):(s&(Gt|xe))!==0&&(s&P)===0&&Gn(i,t,r)&&(x(i,P),Qt(i))}}function Gn(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(Qe.call(t,i))return!0;if((i.f&N)!==0&&Gn(i,t,n))return n.set(i,!0),!0}return n.set(e,!1),!1}function Qt(e){j.schedule(e)}function Jn(e,t){if(!((e.f&te)!==0&&(e.f&A)!==0)){(e.f&P)!==0?t.d.push(e):(e.f&fe)!==0&&t.m.push(e),x(e,A);for(var n=e.first;n!==null;)Jn(n,t),n=n.next}}function Kn(e){x(e,A);for(var t=e.first;t!==null;)Kn(t),t=t.next}function Si(e){let t=0,n=Ye(0),r;return()=>{ln()&&(y(n),dr(()=>(t===0&&(r=Tr(()=>e(()=>vt(n)))),t+=1,()=>{rt(()=>{t-=1,t===0&&(r?.(),r=void 0,vt(n))})})))}}var xi=tt|Be;function Ai(e,t,n,r){new Ni(e,t,n,r)}class Ni{parent;is_pending=!1;transform_error;#e;#n=$?w:null;#t;#i;#s;#r=null;#l=null;#o=null;#a=null;#c=0;#f=0;#d=!1;#v=new Set;#h=new Set;#u=null;#_=Si(()=>(this.#u=Ye(this.#c),()=>{this.#u=null}));constructor(t,n,r,i){this.#e=t,this.#t=n,this.#i=s=>{var o=b;o.b=this,o.f|=qt,r(s)},this.parent=b.b,this.transform_error=i??this.parent?.transform_error??(s=>s),this.#s=on(()=>{if($){const s=this.#n;ct();const o=s.data===Ht;if(s.data.startsWith(Tn)){const f=JSON.parse(s.data.slice(Tn.length));this.#w(f)}else o?this.#$():this.#p()}else this.#b()},xi),$&&(this.#e=w)}#p(){try{this.#r=W(()=>this.#i(this.#e))}catch(t){this.error(t)}}#w(t){const n=this.#t.failed;n&&(this.#o=W(()=>{n(this.#e,()=>t,()=>()=>{})}))}#$(){const t=this.#t.pending;t&&(this.is_pending=!0,this.#l=W(()=>t(this.#e)),rt(()=>{var n=this.#a=document.createDocumentFragment(),r=K();n.append(r),this.#r=this.#m(()=>W(()=>this.#i(r))),this.#f===0&&(this.#e.before(n),this.#a=null,Ge(this.#l,()=>{this.#l=null}),this.#g(j))}))}#b(){try{if(this.is_pending=this.has_pending_snippet(),this.#f=0,this.#c=0,this.#r=W(()=>{this.#i(this.#e)}),this.#f>0){var t=this.#a=document.createDocumentFragment();un(this.#r,t);const n=this.#t.pending;this.#l=W(()=>n(this.#e))}else this.#g(j)}catch(n){this.error(n)}}#g(t){this.is_pending=!1,t.transfer_effects(this.#v,this.#h)}defer_effect(t){Hn(t,this.#v,this.#h)}is_rendered(){return!this.is_pending&&(!this.parent||this.parent.is_rendered())}has_pending_snippet(){return!!this.#t.pending}#m(t){var n=b,r=m,i=J;he(this.#s),X(this.#s),nt(this.#s.ctx);try{return $e.ensure(),t()}catch(s){return Bn(s),null}finally{he(n),X(r),nt(i)}}#y(t,n){if(!this.has_pending_snippet()){this.parent&&this.parent.#y(t,n);return}this.#f+=t,this.#f===0&&(this.#g(n),this.#l&&Ge(this.#l,()=>{this.#l=null}),this.#a&&(this.#e.before(this.#a),this.#a=null))}update_pending_count(t,n){this.#y(t,n),this.#c+=t,!(!this.#u||this.#d)&&(this.#d=!0,rt(()=>{this.#d=!1,this.#u&<(this.#u,this.#c)}))}get_effect_pending(){return this.#_(),y(this.#u)}error(t){var n=this.#t.onerror;let r=this.#t.failed;if(!n&&!r)throw t;this.#r&&(D(this.#r),this.#r=null),this.#l&&(D(this.#l),this.#l=null),this.#o&&(D(this.#o),this.#o=null),$&&(L(this.#n),dt(),L(Nt()));var i=!1,s=!1;const o=()=>{if(i){bi();return}i=!0,s&&mi(),this.#o!==null&&Ge(this.#o,()=>{this.#o=null}),this.#m(()=>{this.#b()})},l=f=>{try{s=!0,n?.(f,o),s=!1}catch(a){Re(a,this.#s&&this.#s.parent)}r&&(this.#o=this.#m(()=>{try{return W(()=>{var a=b;a.b=this,a.f|=qt,r(this.#e,()=>f,()=>o)})}catch(a){return Re(a,this.#s.parent),null}}))};rt(()=>{var f;try{f=this.transform_error(t)}catch(a){Re(a,this.#s&&this.#s.parent);return}f!==null&&typeof f=="object"&&typeof f.then=="function"?f.then(l,a=>Re(a,this.#s&&this.#s.parent)):l(f)})}}function Ci(e,t,n,r){const i=Pt;var s=e.filter(h=>!h.settled);if(n.length===0&&s.length===0){r(t.map(i));return}var o=b,l=Ri(),f=s.length===1?s[0].promise:s.length>1?Promise.all(s.map(h=>h.promise)):null;function a(h){l();try{r(h)}catch(_){(o.f&U)===0&&Re(_,o)}Ot()}if(n.length===0){f.then(()=>a(t.map(i)));return}var c=Wn();function d(){Promise.all(n.map(h=>Oi(h))).then(h=>a([...t.map(i),...h])).catch(h=>Re(h,o)).finally(()=>c())}f?f.then(()=>{l(),d(),Ot()}):d()}function Ri(){var e=b,t=m,n=J,r=j;return function(s=!0){he(e),X(t),nt(n),s&&(e.f&U)===0&&(r?.activate(),r?.apply())}}function Ot(e=!0){he(null),X(null),nt(null),e&&j?.deactivate()}function Wn(){var e=b,t=e.b,n=j,r=t.is_rendered();return t.update_pending_count(1,n),n.increment(r,e),(i=!1)=>{t.update_pending_count(-1,n),n.decrement(r,e,i)}}function Pt(e){var t=N|P,n=m!==null&&(m.f&N)!==0?m:null;return b!==null&&(b.f|=Be),{ctx:J,deps:null,effects:null,equals:Dn,f:t,fn:e,reactions:null,rv:0,v:R,wv:0,parent:n??b,ac:null}}function Oi(e,t,n){let r=b;r===null&&oi();var i=void 0,s=Ye(R),o=!m,l=new Map;return Yi(()=>{var f=b,a=Cn();i=a.promise;try{Promise.resolve(e()).then(a.resolve,a.reject).finally(Ot)}catch(_){a.reject(_),Ot()}var c=j;if(o){if((f.f&Ne)!==0)var d=Wn();if(r.b.is_rendered())l.get(c)?.reject(ye),l.delete(c);else{for(const _ of l.values())_.reject(ye);l.clear()}l.set(c,a)}const h=(_,u=void 0)=>{if(d){var p=u===ye;d(p)}if(!(u===ye||(f.f&U)!==0)){if(c.activate(),u)s.f|=Ce,lt(s,u);else{(s.f&Ce)!==0&&(s.f^=Ce),lt(s,_);for(const[E,T]of l){if(l.delete(E),E===c)break;T.reject(ye)}}c.deactivate()}};a.promise.then(h,_=>h(null,_||"unknown"))}),zi(()=>{for(const f of l.values())f.reject(ye)}),new Promise(f=>{function a(c){function d(){c===i?f(s):a(i)}c.then(d,d)}a(i)})}function st(e){const t=Pt(e);return mr(t),t}function Xn(e){const t=Pt(e);return t.equals=Ln,t}function Pi(e){var t=e.effects;if(t!==null){e.effects=null;for(var n=0;n<t.length;n+=1)D(t[n])}}function Mi(e){for(var t=e.parent;t!==null;){if((t.f&N)===0)return(t.f&U)===0?t:null;t=t.parent}return null}function en(e){var t,n=b;he(Mi(e));try{e.f&=~Ve,Pi(e),t=Er(e)}finally{he(n)}return t}function Zn(e){var t=e.v,n=en(e);if(!e.equals(n)&&(e.wv=wr(),(!j?.is_fork||e.deps===null)&&(e.v=n,j?.capture(e,t,!0),e.deps===null))){x(e,A);return}Me||(ne!==null?(ln()||j?.is_fork)&&ne.set(e,n):Wt(e))}function Ii(e){if(e.effects!==null)for(const t of e.effects)(t.teardown||t.ac)&&(t.teardown?.(),t.ac?.abort(ye),t.teardown=ei,t.ac=null,gt(t,0),an(t))}function Qn(e){if(e.effects!==null)for(const t of e.effects)t.teardown&&ot(t)}let tn=new Set;const Pe=new Map;let er=!1;function Ye(e,t){var n={f:0,v:e,reactions:null,equals:Dn,rv:0,wv:0};return n}function re(e,t){const n=Ye(e);return mr(n),n}function tr(e,t=!1,n=!0){const r=Ye(e);return t||(r.equals=Ln),r}function I(e,t,n=!1){m!==null&&(!se||(m.f&Pn)!==0)&&Fn()&&(m.f&(N|xe|Gt|Pn))!==0&&(Z===null||!Qe.call(Z,e))&&gi();let r=n?qe(t):t;return lt(e,r,Rt)}function lt(e,t,n=null){if(!e.equals(t)){var r=e.v;Me?Pe.set(e,t):Pe.set(e,r),e.v=t;var i=$e.ensure();if(i.capture(e,r),(e.f&N)!==0){const s=e;(e.f&P)!==0&&en(s),ne===null&&Wt(s)}e.wv=wr(),nr(e,P,n),b!==null&&(b.f&A)!==0&&(b.f&(te|Ae))===0&&(Q===null?Gi([e]):Q.push(e)),!i.is_fork&&tn.size>0&&!er&&Di()}return t}function Di(){er=!1;for(const e of tn)(e.f&A)!==0&&x(e,fe),pt(e)&&ot(e);tn.clear()}function vt(e){I(e,e.v+1)}function nr(e,t,n){var r=e.reactions;if(r!==null)for(var i=r.length,s=0;s<i;s++){var o=r[s],l=o.f,f=(l&P)===0;if(f&&x(o,t),(l&N)!==0){var a=o;ne?.delete(a),(l&Ve)===0&&(l&q&&(o.f|=Ve),nr(a,fe,n))}else if(f){var c=o;(l&xe)!==0&&ke!==null&&ke.add(c),n!==null?n.push(c):Qt(c)}}}function qe(e){if(typeof e!="object"||e===null||St in e)return e;const t=An(e);if(t!==Zr&&t!==Qr)return e;var n=new Map,r=xn(e),i=re(0),s=Ke,o=l=>{if(Ke===s)return l();var f=m,a=Ke;X(null),yr(s);var c=l();return X(f),yr(a),c};return r&&n.set("length",re(e.length)),new Proxy(e,{defineProperty(l,f,a){(!("value"in a)||a.configurable===!1||a.enumerable===!1||a.writable===!1)&&_i();var c=n.get(f);return c===void 0?o(()=>{var d=re(a.value);return n.set(f,d),d}):I(c,a.value,!0),!0},deleteProperty(l,f){var a=n.get(f);if(a===void 0){if(f in l){const c=o(()=>re(R));n.set(f,c),vt(i)}}else I(a,R),vt(i);return!0},get(l,f,a){if(f===St)return e;var c=n.get(f),d=f in l;if(c===void 0&&(!d||ze(l,f)?.writable)&&(c=o(()=>{var _=qe(d?l[f]:R),u=re(_);return u}),n.set(f,c)),c!==void 0){var h=y(c);return h===R?void 0:h}return Reflect.get(l,f,a)},getOwnPropertyDescriptor(l,f){var a=Reflect.getOwnPropertyDescriptor(l,f);if(a&&"value"in a){var c=n.get(f);c&&(a.value=y(c))}else if(a===void 0){var d=n.get(f),h=d?.v;if(d!==void 0&&h!==R)return{enumerable:!0,configurable:!0,value:h,writable:!0}}return a},has(l,f){if(f===St)return!0;var a=n.get(f),c=a!==void 0&&a.v!==R||Reflect.has(l,f);if(a!==void 0||b!==null&&(!c||ze(l,f)?.writable)){a===void 0&&(a=o(()=>{var h=c?qe(l[f]):R,_=re(h);return _}),n.set(f,a));var d=y(a);if(d===R)return!1}return c},set(l,f,a,c){var d=n.get(f),h=f in l;if(r&&f==="length")for(var _=a;_<d.v;_+=1){var u=n.get(_+"");u!==void 0?I(u,R):_ in l&&(u=o(()=>re(R)),n.set(_+"",u))}if(d===void 0)(!h||ze(l,f)?.writable)&&(d=o(()=>re(void 0)),I(d,qe(a)),n.set(f,d));else{h=d.v!==R;var p=o(()=>qe(a));I(d,p)}var E=Reflect.getOwnPropertyDescriptor(l,f);if(E?.set&&E.set.call(c,a),!h){if(r&&typeof f=="string"){var T=n.get("length"),g=Number(f);Number.isInteger(g)&&g>=T.v&&I(T,g+1)}vt(i)}return!0},ownKeys(l){y(i);var f=Reflect.ownKeys(l).filter(d=>{var h=n.get(d);return h===void 0||h.v!==R});for(var[a,c]of n)c.v!==R&&!(a in l)&&f.push(a);return f},setPrototypeOf(){pi()}})}var rr,ir,sr,lr;function nn(){if(rr===void 0){rr=window,ir=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,n=Text.prototype;sr=ze(t,"firstChild").get,lr=ze(t,"nextSibling").get,Nn(e)&&(e.__click=void 0,e.__className=void 0,e.__attributes=null,e.__style=void 0,e.__e=void 0),Nn(n)&&(n.__t=void 0)}}function K(e=""){return document.createTextNode(e)}function Ue(e){return sr.call(e)}function ue(e){return lr.call(e)}function ie(e,t){if(!$)return Ue(e);var n=Ue(w);if(n===null)n=w.appendChild(K());else if(t&&n.nodeType!==xt){var r=K();return n?.before(r),L(r),r}return t&&sn(n),L(n),n}function _t(e,t=!1){if(!$){var n=Ue(e);return n instanceof Comment&&n.data===""?ue(n):n}if(t){if(w?.nodeType!==xt){var r=K();return w?.before(r),L(r),r}sn(w)}return w}function ce(e,t=1,n=!1){let r=$?w:e;for(var i;t--;)i=r,r=ue(r);if(!$)return r;if(n){if(r?.nodeType!==xt){var s=K();return r===null?i?.after(s):r.before(s),L(s),s}sn(r)}return L(r),r}function or(e){e.textContent=""}function ar(){return!1}function rn(e,t,n){return document.createElementNS(Sn,e,void 0)}function sn(e){if(e.nodeValue.length<65536)return;let t=e.nextSibling;for(;t!==null&&t.nodeType===xt;)t.remove(),e.nodeValue+=t.nodeValue,t=e.nextSibling}function fr(e){var t=m,n=b;X(null),he(null);try{return e()}finally{X(t),he(n)}}function Li(e){b===null&&(m===null&&ci(),ui()),Me&&fi()}function Fi(e,t){var n=t.last;n===null?t.last=t.first=e:(n.next=e,e.prev=n,t.last=e)}function de(e,t){var n=b;n!==null&&(n.f&H)!==0&&(e|=H);var r={ctx:J,deps:null,nodes:null,f:e|P|q,first:null,fn:t,last:null,next:null,parent:n,b:n&&n.b,prev:null,teardown:null,wv:0,ac:null},i=r;if((e&et)!==0)it!==null?it.push(r):$e.ensure().schedule(r);else if(t!==null){try{ot(r)}catch(o){throw D(r),o}i.deps===null&&i.teardown===null&&i.nodes===null&&i.first===i.last&&(i.f&Be)===0&&(i=i.first,(e&xe)!==0&&(e&tt)!==0&&i!==null&&(i.f|=tt))}if(i!==null&&(i.parent=n,n!==null&&Fi(i,n),m!==null&&(m.f&N)!==0&&(e&Ae)===0)){var s=m;(s.effects??=[]).push(i)}return r}function ln(){return m!==null&&!se}function zi(e){const t=de(Tt,null);return x(t,A),t.teardown=e,t}function ur(e){Li();var t=b.f,n=!m&&(t&te)!==0&&(t&Ne)===0;if(n){var r=J;(r.e??=[]).push(e)}else return cr(e)}function cr(e){return de(et|ii,e)}function Bi(e){$e.ensure();const t=de(Ae|Be,e);return()=>{D(t)}}function Vi(e){$e.ensure();const t=de(Ae|Be,e);return(n={})=>new Promise(r=>{n.outro?Ge(t,()=>{D(t),r(void 0)}):(D(t),r(void 0))})}function Hi(e){return de(et,e)}function Yi(e){return de(Gt|Be,e)}function dr(e,t=0){return de(Tt|t,e)}function Mt(e,t=[],n=[],r=[]){Ci(r,t,n,i=>{de(Tt,()=>e(...i.map(y)))})}function on(e,t=0){var n=de(xe|t,e);return n}function W(e){return de(te|Be,e)}function hr(e){var t=e.teardown;if(t!==null){const n=Me,r=m;gr(!0),X(null);try{t.call(null)}finally{gr(n),X(r)}}}function an(e,t=!1){var n=e.first;for(e.first=e.last=null;n!==null;){const i=n.ac;i!==null&&fr(()=>{i.abort(ye)});var r=n.next;(n.f&Ae)!==0?n.parent=null:D(n,t),n=r}}function qi(e){for(var t=e.first;t!==null;){var n=t.next;(t.f&te)===0&&D(t),t=n}}function D(e,t=!0){var n=!1;(t||(e.f&ri)!==0)&&e.nodes!==null&&e.nodes.end!==null&&(Ui(e.nodes.start,e.nodes.end),n=!0),x(e,On),an(e,t&&!n),gt(e,0);var r=e.nodes&&e.nodes.t;if(r!==null)for(const s of r)s.stop();hr(e),e.f^=On,e.f|=U;var i=e.parent;i!==null&&i.first!==null&&vr(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes=e.ac=e.b=null}function Ui(e,t){for(;e!==null;){var n=e===t?null:ue(e);e.remove(),e=n}}function vr(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 Ge(e,t,n=!0){var r=[];_r(e,r,!0);var i=()=>{n&&D(e),t&&t()},s=r.length;if(s>0){var o=()=>--s||i();for(var l of r)l.out(o)}else i()}function _r(e,t,n){if((e.f&H)===0){e.f^=H;var r=e.nodes&&e.nodes.t;if(r!==null)for(const l of r)(l.is_global||n)&&t.push(l);for(var i=e.first;i!==null;){var s=i.next,o=(i.f&tt)!==0||(i.f&te)!==0&&(e.f&xe)!==0;_r(i,t,o?n:!1),i=s}}}function fn(e){pr(e,!0)}function pr(e,t){if((e.f&H)!==0){e.f^=H,(e.f&A)===0&&(x(e,P),$e.ensure().schedule(e));for(var n=e.first;n!==null;){var r=n.next,i=(n.f&tt)!==0||(n.f&te)!==0;pr(n,i?t:!1),n=r}var s=e.nodes&&e.nodes.t;if(s!==null)for(const o of s)(o.is_global||t)&&o.in()}}function un(e,t){if(e.nodes)for(var n=e.nodes.start,r=e.nodes.end;n!==null;){var i=n===r?null:ue(n);t.append(n),n=i}}let It=!1,Me=!1;function gr(e){Me=e}let m=null,se=!1;function X(e){m=e}let b=null;function he(e){b=e}let Z=null;function mr(e){m!==null&&(Z===null?Z=[e]:Z.push(e))}let F=null,Y=0,Q=null;function Gi(e){Q=e}let br=1,Je=0,Ke=Je;function yr(e){Ke=e}function wr(){return++br}function pt(e){var t=e.f;if((t&P)!==0)return!0;if(t&N&&(e.f&=~Ve),(t&fe)!==0){for(var n=e.deps,r=n.length,i=0;i<r;i++){var s=n[i];if(pt(s)&&Zn(s),s.wv>e.wv)return!0}(t&q)!==0&&ne===null&&x(e,A)}return!1}function $r(e,t,n=!0){var r=e.reactions;if(r!==null&&!(Z!==null&&Qe.call(Z,e)))for(var i=0;i<r.length;i++){var s=r[i];(s.f&N)!==0?$r(s,t,!1):t===s&&(n?x(s,P):(s.f&A)!==0&&x(s,fe),Qt(s))}}function Er(e){var t=F,n=Y,r=Q,i=m,s=Z,o=J,l=se,f=Ke,a=e.f;F=null,Y=0,Q=null,m=(a&(te|Ae))===0?e:null,Z=null,nt(e.ctx),se=!1,Ke=++Je,e.ac!==null&&(fr(()=>{e.ac.abort(ye)}),e.ac=null);try{e.f|=Ut;var c=e.fn,d=c();e.f|=Ne;var h=e.deps,_=j?.is_fork;if(F!==null){var u;if(_||gt(e,Y),h!==null&&Y>0)for(h.length=Y+F.length,u=0;u<F.length;u++)h[Y+u]=F[u];else e.deps=h=F;if(ln()&&(e.f&q)!==0)for(u=Y;u<h.length;u++)(h[u].reactions??=[]).push(e)}else!_&&h!==null&&Y<h.length&&(gt(e,Y),h.length=Y);if(Fn()&&Q!==null&&!se&&h!==null&&(e.f&(N|fe|P))===0)for(u=0;u<Q.length;u++)$r(Q[u],e);if(i!==null&&i!==e){if(Je++,i.deps!==null)for(let p=0;p<n;p+=1)i.deps[p].rv=Je;if(t!==null)for(const p of t)p.rv=Je;Q!==null&&(r===null?r=Q:r.push(...Q))}return(e.f&Ce)!==0&&(e.f^=Ce),d}catch(p){return Bn(p)}finally{e.f^=Ut,F=t,Y=n,Q=r,m=i,Z=s,nt(o),se=l,Ke=f}}function Ji(e,t){let n=t.reactions;if(n!==null){var r=Wr.call(n,e);if(r!==-1){var i=n.length-1;i===0?n=t.reactions=null:(n[r]=n[i],n.pop())}}if(n===null&&(t.f&N)!==0&&(F===null||!Qe.call(F,t))){var s=t;(s.f&q)!==0&&(s.f^=q,s.f&=~Ve),Wt(s),Ii(s),gt(s,0)}}function gt(e,t){var n=e.deps;if(n!==null)for(var r=t;r<n.length;r++)Ji(e,n[r])}function ot(e){var t=e.f;if((t&U)===0){x(e,A);var n=b,r=It;b=e,It=!0;try{(t&(xe|Rn))!==0?qi(e):an(e),hr(e);var i=Er(e);e.teardown=typeof i=="function"?i:null,e.wv=br;var s;Kr&&wi&&(e.f&P)!==0&&e.deps}finally{It=r,b=n}}}function y(e){var t=e.f,n=(t&N)!==0;if(m!==null&&!se){var r=b!==null&&(b.f&U)!==0;if(!r&&(Z===null||!Qe.call(Z,e))){var i=m.deps;if((m.f&Ut)!==0)e.rv<Je&&(e.rv=Je,F===null&&i!==null&&i[Y]===e?Y++:F===null?F=[e]:F.push(e));else{(m.deps??=[]).push(e);var s=e.reactions;s===null?e.reactions=[m]:Qe.call(s,m)||s.push(m)}}}if(Me&&Pe.has(e))return Pe.get(e);if(n){var o=e;if(Me){var l=o.v;return((o.f&A)===0&&o.reactions!==null||jr(o))&&(l=en(o)),Pe.set(o,l),l}var f=(o.f&q)===0&&!se&&m!==null&&(It||(m.f&q)!==0),a=(o.f&Ne)===0;pt(o)&&(f&&(o.f|=q),Zn(o)),f&&!a&&(Qn(o),kr(o))}if(ne?.has(e))return ne.get(e);if((e.f&Ce)!==0)throw e.v;return e.v}function kr(e){if(e.f|=q,e.deps!==null)for(const t of e.deps)(t.reactions??=[]).push(e),(t.f&N)!==0&&(t.f&q)===0&&(Qn(t),kr(t))}function jr(e){if(e.v===R)return!0;if(e.deps===null)return!1;for(const t of e.deps)if(Pe.has(t)||(t.f&N)!==0&&jr(t))return!0;return!1}function Tr(e){var t=se;try{return se=!0,e()}finally{se=t}}const mt=Symbol("events"),Sr=new Set,cn=new Set;function We(e,t,n){(t[mt]??={})[e]=n}function Ki(e){for(var t=0;t<e.length;t++)Sr.add(e[t]);for(var n of cn)n(e)}let xr=null;function Ar(e){var t=this,n=t.ownerDocument,r=e.type,i=e.composedPath?.()||[],s=i[0]||e.target;xr=e;var o=0,l=xr===e&&e[mt];if(l){var f=i.indexOf(l);if(f!==-1&&(t===document||t===window)){e[mt]=t;return}var a=i.indexOf(t);if(a===-1)return;f<=a&&(o=f)}if(s=i[o]||e.target,s!==t){jt(e,"currentTarget",{configurable:!0,get(){return s||n}});var c=m,d=b;X(null),he(null);try{for(var h,_=[];s!==null;){var u=s.assignedSlot||s.parentNode||s.host||null;try{var p=s[mt]?.[r];p!=null&&(!s.disabled||e.target===s)&&p.call(s,e)}catch(E){h?_.push(E):h=E}if(e.cancelBubble||u===t||u===null)break;s=u}if(h){for(let E of _)queueMicrotask(()=>{throw E});throw h}}finally{e[mt]=t,delete e.currentTarget,X(c),he(d)}}}const Wi=globalThis?.window?.trustedTypes&&globalThis.window.trustedTypes.createPolicy("svelte-trusted-html",{createHTML:e=>e});function Xi(e){return Wi?.createHTML(e)??e}function Zi(e){var t=rn("template");return t.innerHTML=Xi(e.replaceAll("<!>","<!---->")),t.content}function at(e,t){var n=b;n.nodes===null&&(n.nodes={start:e,end:t,a:null,t:null})}function z(e,t){var n=(t&Gr)!==0,r=(t&Jr)!==0,i,s=!e.startsWith("<!>");return()=>{if($)return at(w,null),w;i===void 0&&(i=Zi(s?e:"<!>"+e),n||(i=Ue(i)));var o=r||ir?document.importNode(i,!0):i.cloneNode(!0);if(n){var l=Ue(o),f=o.lastChild;at(l,f)}else at(o,o);return o}}function Qi(){if($)return at(w,null),w;var e=document.createDocumentFragment(),t=document.createComment(""),n=K();return e.append(t,n),at(t,n),e}function M(e,t){if($){var n=b;((n.f&Ne)===0||n.nodes.end===null)&&(n.nodes.end=w),ct();return}e!==null&&e.before(t)}const es=["touchstart","touchmove"];function ts(e){return es.includes(e)}function bt(e,t){var n=t==null?"":typeof t=="object"?`${t}`:t;n!==(e.__t??=e.nodeValue)&&(e.__t=n,e.nodeValue=`${n}`)}function Nr(e,t){return Cr(e,t)}function ns(e,t){nn(),t.intro=t.intro??!1;const n=t.target,r=$,i=w;try{for(var s=Ue(n);s&&(s.nodeType!==ut||s.data!==jn);)s=ue(s);if(!s)throw Ze;we(!0),L(s);const o=Cr(e,{...t,anchor:s});return we(!1),o}catch(o){if(o instanceof Error&&o.message.split(`
|
|
2
|
-
`).some(l=>l.startsWith("https://svelte.dev/e/")))throw o;return o!==Ze&&console.warn("Failed to hydrate: ",o),t.recover===!1&&hi(),nn(),or(n),we(!1),Nr(e,t)}finally{we(r),L(i)}}const Dt=new Map;function Cr(e,{target:t,anchor:n,props:r={},events:i,context:s,intro:o=!0,transformError:l}){nn();var f=void 0,a=Vi(()=>{var c=n??t.appendChild(K());Ai(c,{pending:()=>{}},_=>{Jt({});var u=J;if(s&&(u.c=s),i&&(r.$$events=i),$&&at(_,null),f=e(_,r)||{},$&&(b.nodes.end=w,w===null||w.nodeType!==ut||w.data!==Yt))throw At(),Ze;Kt()},l);var d=new Set,h=_=>{for(var u=0;u<_.length;u++){var p=_[u];if(!d.has(p)){d.add(p);var E=ts(p);for(const S of[t,document]){var T=Dt.get(S);T===void 0&&(T=new Map,Dt.set(S,T));var g=T.get(p);g===void 0?(S.addEventListener(p,Ar,{passive:E}),T.set(p,1)):T.set(p,g+1)}}}};return h(Et(Sr)),cn.add(h),()=>{for(var _ of d)for(const E of[t,document]){var u=Dt.get(E),p=u.get(_);--p==0?(E.removeEventListener(_,Ar),u.delete(_),u.size===0&&Dt.delete(E)):u.set(_,p)}cn.delete(h),c!==n&&c.parentNode?.removeChild(c)}});return dn.set(f,a),f}let dn=new WeakMap;function rs(e,t){const n=dn.get(e);return n?(dn.delete(e),n(t)):Promise.resolve()}class is{anchor;#e=new Map;#n=new Map;#t=new Map;#i=new Set;#s=!0;constructor(t,n=!0){this.anchor=t,this.#s=n}#r=t=>{if(this.#e.has(t)){var n=this.#e.get(t),r=this.#n.get(n);if(r)fn(r),this.#i.delete(n);else{var i=this.#t.get(n);i&&(this.#n.set(n,i.effect),this.#t.delete(n),i.fragment.lastChild.remove(),this.anchor.before(i.fragment),r=i.effect)}for(const[s,o]of this.#e){if(this.#e.delete(s),s===t)break;const l=this.#t.get(o);l&&(D(l.effect),this.#t.delete(o))}for(const[s,o]of this.#n){if(s===n||this.#i.has(s))continue;const l=()=>{if(Array.from(this.#e.values()).includes(s)){var a=document.createDocumentFragment();un(o,a),a.append(K()),this.#t.set(s,{effect:o,fragment:a})}else D(o);this.#i.delete(s),this.#n.delete(s)};this.#s||!r?(this.#i.add(s),Ge(o,l,!1)):l()}}};#l=t=>{this.#e.delete(t);const n=Array.from(this.#e.values());for(const[r,i]of this.#t)n.includes(r)||(D(i.effect),this.#t.delete(r))};ensure(t,n){var r=j,i=ar();if(n&&!this.#n.has(t)&&!this.#t.has(t))if(i){var s=document.createDocumentFragment(),o=K();s.append(o),this.#t.set(t,{effect:W(()=>n(o)),fragment:s})}else this.#n.set(t,W(()=>n(this.anchor)));if(this.#e.set(r,t),i){for(const[l,f]of this.#n)l===t?r.unskip_effect(f):r.skip_effect(f);for(const[l,f]of this.#t)l===t?r.unskip_effect(f.effect):r.skip_effect(f.effect);r.oncommit(this.#r),r.ondiscard(this.#l)}else $&&(this.anchor=w),this.#r(r)}}function ve(e,t,n=!1){var r;$&&(r=w,ct());var i=new is(e),s=n?tt:0;function o(l,f){if($){var a=In(r);if(l!==parseInt(a.substring(1))){var c=Nt();L(c),i.anchor=c,we(!1),i.ensure(l,f),we(!0);return}}i.ensure(l,f)}on(()=>{var l=!1;t((f,a=0)=>{l=!0,o(a,f)}),l||o(-1,null)},s)}function ss(e,t){return t}function ls(e,t,n){for(var r=[],i=t.length,s,o=t.length,l=0;l<i;l++){let d=t[l];Ge(d,()=>{if(s){if(s.pending.delete(d),s.done.add(d),s.pending.size===0){var h=e.outrogroups;hn(e,Et(s.done)),h.delete(s),h.size===0&&(e.outrogroups=null)}}else o-=1},!1)}if(o===0){var f=r.length===0&&n!==null;if(f){var a=n,c=a.parentNode;or(c),c.append(a),e.items.clear()}hn(e,t,!f)}else s={pending:new Set(t),done:new Set},(e.outrogroups??=new Set).add(s)}function hn(e,t,n=!0){var r;if(e.pending.size>0){r=new Set;for(const o of e.pending.values())for(const l of o)r.add(e.items.get(l).e)}for(var i=0;i<t.length;i++){var s=t[i];if(r?.has(s)){s.f|=be;const o=document.createDocumentFragment();un(s,o)}else D(t[i],n)}}var Rr;function os(e,t,n,r,i,s=null){var o=e,l=new Map;{var f=e;o=$?L(Ue(f)):f.appendChild(K())}$&&ct();var a=null,c=Xn(()=>{var g=n();return xn(g)?g:g==null?[]:Et(g)}),d,h=new Map,_=!0;function u(g){(T.effect.f&U)===0&&(T.pending.delete(g),T.fallback=a,as(T,d,o,t,r),a!==null&&(d.length===0?(a.f&be)===0?fn(a):(a.f^=be,wt(a,null,o)):Ge(a,()=>{a=null})))}function p(g){T.pending.delete(g)}var E=on(()=>{d=y(c);var g=d.length;let S=!1;if($){var B=In(o)===Ht;B!==(g===0)&&(o=Nt(),L(o),we(!1),S=!0)}for(var V=new Set,_e=j,je=ar(),O=0;O<g;O+=1){$&&w.nodeType===ut&&w.data===Yt&&(o=w,S=!0,we(!1));var $t=d[O],Xe=r($t,O),le=_?null:l.get(Xe);le?(le.v&<(le.v,$t),le.i&<(le.i,O),je&&_e.unskip_effect(le.e)):(le=fs(l,_?o:Rr??=K(),$t,Xe,O,i,t,n),_||(le.e.f|=be),l.set(Xe,le)),V.add(Xe)}if(g===0&&s&&!a&&(_?a=W(()=>s(o)):(a=W(()=>s(Rr??=K())),a.f|=be)),g>V.size&&ai(),$&&g>0&&L(Nt()),!_)if(h.set(_e,V),je){for(const[_n,pn]of l)V.has(_n)||_e.skip_effect(pn.e);_e.oncommit(u),_e.ondiscard(p)}else u(_e);S&&we(!0),y(c)}),T={effect:E,items:l,pending:h,outrogroups:null,fallback:a};_=!1,$&&(o=w)}function yt(e){for(;e!==null&&(e.f&te)===0;)e=e.next;return e}function as(e,t,n,r,i){var s=t.length,o=e.items,l=yt(e.effect.first),f,a=null,c=[],d=[],h,_,u,p;for(p=0;p<s;p+=1){if(h=t[p],_=i(h,p),u=o.get(_).e,e.outrogroups!==null)for(const O of e.outrogroups)O.pending.delete(u),O.done.delete(u);if((u.f&H)!==0&&fn(u),(u.f&be)!==0)if(u.f^=be,u===l)wt(u,null,n);else{var E=a?a.next:l;u===e.effect.last&&(e.effect.last=u.prev),u.prev&&(u.prev.next=u.next),u.next&&(u.next.prev=u.prev),Ie(e,a,u),Ie(e,u,E),wt(u,E,n),a=u,c=[],d=[],l=yt(a.next);continue}if(u!==l){if(f!==void 0&&f.has(u)){if(c.length<d.length){var T=d[0],g;a=T.prev;var S=c[0],B=c[c.length-1];for(g=0;g<c.length;g+=1)wt(c[g],T,n);for(g=0;g<d.length;g+=1)f.delete(d[g]);Ie(e,S.prev,B.next),Ie(e,a,S),Ie(e,B,T),l=T,a=B,p-=1,c=[],d=[]}else f.delete(u),wt(u,l,n),Ie(e,u.prev,u.next),Ie(e,u,a===null?e.effect.first:a.next),Ie(e,a,u),a=u;continue}for(c=[],d=[];l!==null&&l!==u;)(f??=new Set).add(l),d.push(l),l=yt(l.next);if(l===null)continue}(u.f&be)===0&&c.push(u),a=u,l=yt(u.next)}if(e.outrogroups!==null){for(const O of e.outrogroups)O.pending.size===0&&(hn(e,Et(O.done)),e.outrogroups?.delete(O));e.outrogroups.size===0&&(e.outrogroups=null)}if(l!==null||f!==void 0){var V=[];if(f!==void 0)for(u of f)(u.f&H)===0&&V.push(u);for(;l!==null;)(l.f&H)===0&&l!==e.fallback&&V.push(l),l=yt(l.next);var _e=V.length;if(_e>0){var je=s===0?n:null;ls(e,V,je)}}}function fs(e,t,n,r,i,s,o,l){var f=(o&zr)!==0?(o&Vr)===0?tr(n,!1,!1):Ye(n):null,a=(o&Br)!==0?Ye(i):null;return{v:f,i:a,e:W(()=>(s(t,f??n,a??i,l),()=>{e.delete(r)}))}}function wt(e,t,n){if(e.nodes)for(var r=e.nodes.start,i=e.nodes.end,s=t&&(t.f&be)===0?t.nodes.start:n;r!==null;){var o=ue(r);if(s.before(r),r===i)return;r=o}}function Ie(e,t,n){t===null?e.effect.first=n:t.next=n,n===null?e.effect.last=t:n.prev=t}function us(e,t,n,r,i){$&&ct();var s=t.$$slots?.[n],o=!1;s===!0&&(s=t.children,o=!0),s===void 0||s(e,o?()=>r:r)}function Or(e,t){Hi(()=>{var n=e.getRootNode(),r=n.host?n:n.head??n.ownerDocument.head;if(!r.querySelector("#"+t.hash)){const i=rn("style");i.id=t.hash,i.textContent=t.code,r.appendChild(i)}})}function cs(e,t,n){var r=e==null?"":""+e;return r=r?r+" "+t:t,r===""?null:r}function ds(e,t,n,r,i,s){var o=e.__className;if($||o!==n||o===void 0){var l=cs(n,r);(!$||l!==e.getAttribute("class"))&&(l==null?e.removeAttribute("class"):e.className=l),e.__className=n}return s}const hs=Symbol("is custom element"),vs=Symbol("is html"),_s=li?"link":"LINK";function Pr(e,t,n,r){var i=ps(e);$&&(i[t]=e.getAttribute(t),t==="src"||t==="srcset"||t==="href"&&e.nodeName===_s)||i[t]!==(i[t]=n)&&(t==="loading"&&(e[si]=n),n==null?e.removeAttribute(t):typeof n!="string"&&gs(e).includes(t)?e[t]=n:e.setAttribute(t,n))}function ps(e){return e.__attributes??={[hs]:e.nodeName.includes("-"),[vs]:e.namespaceURI===Sn}}var Mr=new Map;function gs(e){var t=e.getAttribute("is")||e.nodeName,n=Mr.get(t);if(n)return n;Mr.set(t,n=[]);for(var r,i=e,s=Element.prototype;s!==i;){r=Xr(i);for(var o in r)r[o].set&&n.push(o);i=An(i)}return n}function De(e,t,n,r){var i=(n&qr)!==0,s=(n&Ur)!==0,o=r,l=!0,f=()=>(l&&(l=!1,o=s?Tr(r):r),o);let a;if(i){var c=St in e||Mn in e;a=ze(e,t)?.set??(c&&t in e?g=>e[t]=g:void 0)}var d,h=!1;i?[d,h]=ki(()=>e[t]):d=e[t],d===void 0&&r!==void 0&&(d=f(),a&&(vi(),a(d)));var _;if(_=()=>{var g=e[t];return g===void 0?f():(l=!0,g)},(n&Yr)===0)return _;if(a){var u=e.$$legacy;return(function(g,S){return arguments.length>0?((!S||u||h)&&a(S?_():g),g):_()})}var p=!1,E=((n&Hr)!==0?Pt:Xn)(()=>(p=!1,_()));i&&y(E);var T=b;return(function(g,S){if(arguments.length>0){const B=S?y(E):i?qe(g):g;return I(E,B),p=!0,o!==void 0&&(o=B),g}return Me&&p||(T.f&U)!==0?E.v:y(E)})}function ms(e){return new bs(e)}class bs{#e;#n;constructor(t){var n=new Map,r=(s,o)=>{var l=tr(o,!1,!1);return n.set(s,l),l};const i=new Proxy({...t.props||{},$$events:{}},{get(s,o){return y(n.get(o)??r(o,Reflect.get(s,o)))},has(s,o){return o===Mn?!0:(y(n.get(o)??r(o,Reflect.get(s,o))),Reflect.has(s,o))},set(s,o,l){return I(n.get(o)??r(o,l),l),Reflect.set(s,o,l)}});this.#n=(t.hydrate?ns:Nr)(t.component,{target:t.target,anchor:t.anchor,props:i,context:t.context,intro:t.intro??!1,recover:t.recover,transformError:t.transformError}),(!t?.props?.$$host||t.sync===!1)&&Ee(),this.#e=i.$$events;for(const s of Object.keys(this.#n))s==="$set"||s==="$destroy"||s==="$on"||jt(this,s,{get(){return this.#n[s]},set(o){this.#n[s]=o},enumerable:!0});this.#n.$set=s=>{Object.assign(i,s)},this.#n.$destroy=()=>{rs(this.#n)}}$set(t){this.#n.$set(t)}$on(t,n){this.#e[t]=this.#e[t]||[];const r=(...i)=>n.call(this,...i);return this.#e[t].push(r),()=>{this.#e[t]=this.#e[t].filter(i=>i!==r)}}$destroy(){this.#n.$destroy()}}let Ir;typeof HTMLElement=="function"&&(Ir=class extends HTMLElement{$$ctor;$$s;$$c;$$cn=!1;$$d={};$$r=!1;$$p_d={};$$l={};$$l_u=new Map;$$me;$$shadowRoot=null;constructor(e,t,n){super(),this.$$ctor=e,this.$$s=t,n&&(this.$$shadowRoot=this.attachShadow(n))}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=rn("slot");r!=="default"&&(s.name=r),M(i,s)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const t={},n=ys(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]=Lt(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=ms({component:this.$$ctor,target:this.$$shadowRoot||this,props:{...this.$$d,$$slots:t,$$host:this}}),this.$$me=Bi(()=>{dr(()=>{this.$$r=!0;for(const r of kt(this.$$c)){if(!this.$$p_d[r]?.reflect)continue;this.$$d[r]=this.$$c[r];const i=Lt(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]=Lt(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 kt(this.$$p_d).find(t=>this.$$p_d[t].attribute===e||!this.$$p_d[t].attribute&&t.toLowerCase()===e)||e}});function Lt(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 ys(e){const t={};return e.childNodes.forEach(n=>{t[n.slot||"default"]=!0}),t}function Dr(e,t,n,r,i,s){let o=class extends Ir{constructor(){super(e,n,i),this.$$p_d=t}static get observedAttributes(){return kt(t).map(l=>(t[l].attribute||l).toLowerCase())}};return kt(t).forEach(l=>{jt(o.prototype,l,{get(){return this.$$c&&l in this.$$c?this.$$c[l]:this.$$d[l]},set(f){f=Lt(l,f,t),this.$$d[l]=f;var a=this.$$c;if(a){var c=ze(a,l)?.get;c?a[l]=f:a.$set({[l]:f})}}})}),r.forEach(l=>{jt(o.prototype,l,{get(){return this.$$c?.[l]}})}),e.element=o,o}var ws=z('<span class="jn-popover svelte-2u2vu2">copied</span>'),$s=z('<span class="jn-key svelte-2u2vu2" role="button" tabindex="0" title="Copia JSON"> </span><!> <span class="jn-sep svelte-2u2vu2">:</span>',1),Es=z('<div class="jn-row svelte-2u2vu2"><!> <span> </span></div>'),ks=z('<span class="jn-popover svelte-2u2vu2">copied</span>'),js=z('<span class="jn-key svelte-2u2vu2" role="button" tabindex="0" title="Copia JSON"> </span><!> <span class="jn-sep svelte-2u2vu2">:</span>',1),Ts=z('<span class="jn-popover svelte-2u2vu2">copied</span>'),Ss=z('<span class="jn-bracket svelte-2u2vu2">[</span>'),xs=z('<span class="jn-bracket svelte-2u2vu2"></span>'),As=z(']<span class="jn-trailing"></span>',1),Ns=z(' <span class="jn-trailing"></span>',1),Cs=z('<div class="jn-children svelte-2u2vu2"></div> <div class="jn-close svelte-2u2vu2"><!></div>',1),Rs=z('<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 Os={hash:"svelte-2u2vu2",code:`.jn-row.svelte-2u2vu2 {font-family:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
|
|
3
|
-
|
|
1
|
+
(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:`Module`}),typeof window<`u`&&((window.__svelte??={}).v??=new Set).add(`5`);var t={},n=Symbol(),r=`http://www.w3.org/1999/xhtml`,i=Array.isArray,a=Array.prototype.indexOf,o=Array.prototype.includes,s=Array.from,c=Object.keys,l=Object.defineProperty,u=Object.getOwnPropertyDescriptor,d=Object.getOwnPropertyDescriptors,f=Object.prototype,p=Array.prototype,m=Object.getPrototypeOf,h=Object.isExtensible,g=()=>{};function _(e){for(var t=0;t<e.length;t++)e[t]()}function v(){var e,t;return{promise:new Promise((n,r)=>{e=n,t=r}),resolve:e,reject:t}}function y(e,t){if(Array.isArray(e))return e;if(t===void 0||!(Symbol.iterator in e))return Array.from(e);let n=[];for(let r of e)if(n.push(r),n.length===t)break;return n}var b=1024,x=2048,S=4096,ee=8192,C=16384,te=32768,ne=1<<25,re=65536,ie=1<<19,ae=1<<20,oe=1<<25,se=65536,ce=1<<21,le=1<<22,ue=1<<23,de=Symbol(`$state`),fe=Symbol(`legacy props`),pe=Symbol(``),me=new class extends Error{name=`StaleReactionError`;message="The reaction that called `getAbortSignal()` was re-run or destroyed"},he=!!globalThis.document?.contentType&&globalThis.document.contentType.includes(`xml`);function ge(){throw Error(`https://svelte.dev/e/async_derived_orphan`)}function _e(e,t,n){throw Error(`https://svelte.dev/e/each_key_duplicate`)}function ve(e){throw Error(`https://svelte.dev/e/effect_in_teardown`)}function ye(){throw Error(`https://svelte.dev/e/effect_in_unowned_derived`)}function be(e){throw Error(`https://svelte.dev/e/effect_orphan`)}function xe(){throw Error(`https://svelte.dev/e/effect_update_depth_exceeded`)}function Se(){throw Error(`https://svelte.dev/e/hydration_failed`)}function Ce(e){throw Error(`https://svelte.dev/e/props_invalid_value`)}function we(){throw Error(`https://svelte.dev/e/state_descriptors_fixed`)}function Te(){throw Error(`https://svelte.dev/e/state_prototype_fixed`)}function Ee(){throw Error(`https://svelte.dev/e/state_unsafe_mutation`)}function De(){throw Error(`https://svelte.dev/e/svelte_boundary_reset_onerror`)}function Oe(e){console.warn(`https://svelte.dev/e/hydration_mismatch`)}function ke(){console.warn(`https://svelte.dev/e/svelte_boundary_reset_noop`)}var w=!1;function Ae(e){w=e}var T;function E(e){if(e===null)throw Oe(),t;return T=e}function je(){return E(I(T))}function D(e){if(w){if(I(T)!==null)throw Oe(),t;T=e}}function Me(e=1){if(w){for(var t=e,n=T;t--;)n=I(n);T=n}}function Ne(e=!0){for(var t=0,n=T;;){if(n.nodeType===8){var r=n.data;if(r===`]`){if(t===0)return n;--t}else (r===`[`||r===`[!`||r[0]===`[`&&!isNaN(Number(r.slice(1))))&&(t+=1)}var i=I(n);e&&n.remove(),n=i}}function Pe(e){if(!e||e.nodeType!==8)throw Oe(),t;return e.data}function Fe(e){return e===this.v}function Ie(e,t){return e==e?e!==t||typeof e==`object`&&!!e||typeof e==`function`:t==t}function Le(e){return!Ie(e,this.v)}var Re=!1,ze=!1,O=null;function Be(e){O=e}function Ve(e,t=!1,n){O={p:O,i:!1,c:null,e:null,s:e,x:null,r:G,l:ze&&!t?{s:null,u:null,$:[]}:null}}function He(e){var t=O,n=t.e;if(n!==null){t.e=null;for(var r of n)fn(r)}return e!==void 0&&(t.x=e),t.i=!0,O=t.p,e??{}}function Ue(){return!ze||O!==null&&O.l===null}var We=[];function Ge(){var e=We;We=[],_(e)}function Ke(e){if(We.length===0&&!at){var t=We;queueMicrotask(()=>{t===We&&Ge()})}We.push(e)}function qe(){for(;We.length>0;)Ge()}function Je(e){var t=G;if(t===null)return H.f|=ue,e;if(!(t.f&32768)&&!(t.f&4))throw e;Ye(e,t)}function Ye(e,t){for(;t!==null;){if(t.f&128){if(!(t.f&32768))throw e;try{t.b.error(e);return}catch(t){e=t}}t=t.parent}throw e}var Xe=~(x|S|b);function k(e,t){e.f=e.f&Xe|t}function Ze(e){e.f&512||e.deps===null?k(e,b):k(e,S)}function Qe(e){if(e!==null)for(let t of e)!(t.f&2)||!(t.f&65536)||(t.f^=se,Qe(t.deps))}function $e(e,t,n){e.f&2048?t.add(e):e.f&4096&&n.add(e),Qe(e.deps),k(e,b)}var et=!1,tt=!1;function nt(e){var t=tt;try{return tt=!1,[e(),tt]}finally{tt=t}}var rt=new Set,A=null,j=null,it=null,at=!1,ot=!1,st=null,ct=null,lt=0,ut=1,dt=class e{id=ut++;current=new Map;previous=new Map;#e=new Set;#t=new Set;#n=new Map;#r=new Map;#i=null;#a=[];#o=new Set;#s=new Set;#c=new Map;is_fork=!1;#l=!1;#u=new Set;#d(){return this.is_fork||this.#r.size>0}#f(){for(let n of this.#u)for(let r of n.#r.keys()){for(var e=!1,t=r;t.parent!==null;){if(this.#c.has(t)){e=!0;break}t=t.parent}if(!e)return!0}return!1}skip_effect(e){this.#c.has(e)||this.#c.set(e,{d:[],m:[]})}unskip_effect(e){var t=this.#c.get(e);if(t){this.#c.delete(e);for(var n of t.d)k(n,x),this.schedule(n);for(n of t.m)k(n,S),this.schedule(n)}}#p(){if(lt++>1e3&&(rt.delete(this),pt()),!this.#d()){for(let e of this.#o)this.#s.delete(e),k(e,x),this.schedule(e);for(let e of this.#s)k(e,S),this.schedule(e)}let t=this.#a;this.#a=[],this.apply();var n=st=[],r=[],i=ct=[];for(let e of t)try{this.#m(e,n,r)}catch(t){throw yt(e),t}if(A=null,i.length>0){var a=e.ensure();for(let e of i)a.schedule(e)}if(st=null,ct=null,this.#d()||this.#f()){this.#h(r),this.#h(n);for(let[e,t]of this.#c)vt(e,t)}else{this.#n.size===0&&rt.delete(this),this.#o.clear(),this.#s.clear();for(let e of this.#e)e(this);this.#e.clear(),mt(r),mt(n),this.#i?.resolve()}var o=A;if(this.#a.length>0){let e=o??=this;e.#a.push(...this.#a.filter(t=>!e.#a.includes(t)))}o!==null&&(rt.add(o),o.#p()),rt.has(this)||this.#g()}#m(e,t,n){e.f^=b;for(var r=e.first;r!==null;){var i=r.f,a=(i&96)!=0;if(!(a&&i&1024||i&8192||this.#c.has(r))&&r.fn!==null){a?r.f^=b:i&4?t.push(r):Re&&i&16777224?n.push(r):Vn(r)&&(i&16&&this.#s.add(r),Kn(r));var o=r.first;if(o!==null){r=o;continue}}for(;r!==null;){var s=r.next;if(s!==null){r=s;break}r=r.parent}}}#h(e){for(var t=0;t<e.length;t+=1)$e(e[t],this.#o,this.#s)}capture(e,t,r=!1){t!==n&&!this.previous.has(e)&&this.previous.set(e,t),e.f&8388608||(this.current.set(e,[e.v,r]),j?.set(e,e.v))}activate(){A=this}deactivate(){A=null,j=null}flush(){try{ot=!0,A=this,this.#p()}finally{lt=0,it=null,st=null,ct=null,ot=!1,A=null,j=null,zt.clear()}}discard(){for(let e of this.#t)e(this);this.#t.clear(),rt.delete(this)}#g(){for(let c of rt){var e=c.id<this.id,t=[];for(let[r,[i,a]]of this.current){if(c.current.has(r)){var n=c.current.get(r)[0];if(e&&i!==n)c.current.set(r,[i,a]);else continue}t.push(r)}var r=[...c.current.keys()].filter(e=>!this.current.has(e));if(r.length===0)e&&c.discard();else if(t.length>0){c.activate();var i=new Set,a=new Map;for(var o of t)ht(o,r,i,a);if(c.#a.length>0){c.apply();for(var s of c.#a)c.#m(s,[],[]);c.#a=[]}c.deactivate()}}for(let e of rt)e.#u.has(this)&&(e.#u.delete(this),e.#u.size===0&&!e.#d()&&(e.activate(),e.#p()))}increment(e,t){let n=this.#n.get(t)??0;if(this.#n.set(t,n+1),e){let e=this.#r.get(t)??0;this.#r.set(t,e+1)}}decrement(e,t,n){let r=this.#n.get(t)??0;if(r===1?this.#n.delete(t):this.#n.set(t,r-1),e){let e=this.#r.get(t)??0;e===1?this.#r.delete(t):this.#r.set(t,e-1)}this.#l||n||(this.#l=!0,Ke(()=>{this.#l=!1,this.flush()}))}transfer_effects(e,t){for(let t of e)this.#o.add(t);for(let e of t)this.#s.add(e);e.clear(),t.clear()}oncommit(e){this.#e.add(e)}ondiscard(e){this.#t.add(e)}settled(){return(this.#i??=v()).promise}static ensure(){if(A===null){let t=A=new e;ot||(rt.add(A),at||Ke(()=>{A===t&&t.flush()}))}return A}apply(){if(!Re||!this.is_fork&&rt.size===1){j=null;return}j=new Map;for(let[e,[t]]of this.current)j.set(e,t);for(let n of rt)if(!(n===this||n.is_fork)){var e=!1,t=!1;if(n.id<this.id)for(let[r,[,i]]of n.current)i||(e||=this.current.has(r),t||=!this.current.has(r));if(e&&t)this.#u.add(n);else for(let[e,t]of n.previous)j.has(e)||j.set(e,t)}}schedule(e){if(it=e,e.b?.is_pending&&e.f&16777228&&!(e.f&32768)){e.b.defer_effect(e);return}for(var t=e;t.parent!==null;){t=t.parent;var n=t.f;if(st!==null&&t===G&&(Re||(H===null||!(H.f&2))&&!et))return;if(n&96){if(!(n&1024))return;t.f^=b}}this.#a.push(t)}};function ft(e){var t=at;at=!0;try{var n;for(e&&(A!==null&&!A.is_fork&&A.flush(),n=e());;){if(qe(),A===null)return n;A.flush()}}finally{at=t}}function pt(){try{xe()}catch(e){Ye(e,it)}}var M=null;function mt(e){var t=e.length;if(t!==0){for(var n=0;n<t;){var r=e[n++];if(!(r.f&24576)&&Vn(r)&&(M=new Set,Kn(r),r.deps===null&&r.first===null&&r.nodes===null&&r.teardown===null&&r.ac===null&&wn(r),M?.size>0)){zt.clear();for(let e of M){if(e.f&24576)continue;let t=[e],n=e.parent;for(;n!==null;)M.has(n)&&(M.delete(n),t.push(n)),n=n.parent;for(let e=t.length-1;e>=0;e--){let n=t[e];n.f&24576||Kn(n)}}M.clear()}}M=null}}function ht(e,t,n,r){if(!n.has(e)&&(n.add(e),e.reactions!==null))for(let i of e.reactions){let e=i.f;e&2?ht(i,t,n,r):e&4194320&&!(e&2048)&>(i,t,r)&&(k(i,x),_t(i))}}function gt(e,t,n){let r=n.get(e);if(r!==void 0)return r;if(e.deps!==null)for(let r of e.deps){if(o.call(t,r))return!0;if(r.f&2&>(r,t,n))return n.set(r,!0),!0}return n.set(e,!1),!1}function _t(e){A.schedule(e)}function vt(e,t){if(!(e.f&32&&e.f&1024)){e.f&2048?t.d.push(e):e.f&4096&&t.m.push(e),k(e,b);for(var n=e.first;n!==null;)vt(n,t),n=n.next}}function yt(e){k(e,b);for(var t=e.first;t!==null;)yt(t),t=t.next}function bt(e){let t=0,n=Vt(0),r;return()=>{ln()&&(Z(n),_n(()=>(t===0&&(r=Yn(()=>e(()=>Gt(n)))),t+=1,()=>{Ke(()=>{--t,t===0&&(r?.(),r=void 0,Gt(n))})})))}}var xt=re|ie;function St(e,t,n,r){new Ct(e,t,n,r)}var Ct=class{parent;is_pending=!1;transform_error;#e;#t=w?T:null;#n;#r;#i;#a=null;#o=null;#s=null;#c=null;#l=0;#u=0;#d=!1;#f=new Set;#p=new Set;#m=null;#h=bt(()=>(this.#m=Vt(this.#l),()=>{this.#m=null}));constructor(e,t,n,r){this.#e=e,this.#n=t,this.#r=e=>{var t=G;t.b=this,t.f|=128,n(e)},this.parent=G.b,this.transform_error=r??this.parent?.transform_error??(e=>e),this.#i=yn(()=>{if(w){let e=this.#t;je();let t=e.data===`[!`;if(e.data.startsWith(`[?`)){let t=JSON.parse(e.data.slice(2));this.#_(t)}else t?this.#v():this.#g()}else this.#y()},xt),w&&(this.#e=T)}#g(){try{this.#a=B(()=>this.#r(this.#e))}catch(e){this.error(e)}}#_(e){let t=this.#n.failed;t&&(this.#s=B(()=>{t(this.#e,()=>e,()=>()=>{})}))}#v(){let e=this.#n.pending;e&&(this.is_pending=!0,this.#o=B(()=>e(this.#e)),Ke(()=>{var e=this.#c=document.createDocumentFragment(),t=F();e.append(t),this.#a=this.#x(()=>B(()=>this.#r(t))),this.#u===0&&(this.#e.before(e),this.#c=null,Tn(this.#o,()=>{this.#o=null}),this.#b(A))}))}#y(){try{if(this.is_pending=this.has_pending_snippet(),this.#u=0,this.#l=0,this.#a=B(()=>{this.#r(this.#e)}),this.#u>0){var e=this.#c=document.createDocumentFragment();kn(this.#a,e);let t=this.#n.pending;this.#o=B(()=>t(this.#e))}else this.#b(A)}catch(e){this.error(e)}}#b(e){this.is_pending=!1,e.transfer_effects(this.#f,this.#p)}defer_effect(e){$e(e,this.#f,this.#p)}is_rendered(){return!this.is_pending&&(!this.parent||this.parent.is_rendered())}has_pending_snippet(){return!!this.#n.pending}#x(e){var t=G,n=H,r=O;K(this.#i),W(this.#i),Be(this.#i.ctx);try{return dt.ensure(),e()}catch(e){return Je(e),null}finally{K(t),W(n),Be(r)}}#S(e,t){if(!this.has_pending_snippet()){this.parent&&this.parent.#S(e,t);return}this.#u+=e,this.#u===0&&(this.#b(t),this.#o&&Tn(this.#o,()=>{this.#o=null}),this.#c&&=(this.#e.before(this.#c),null))}update_pending_count(e,t){this.#S(e,t),this.#l+=e,!(!this.#m||this.#d)&&(this.#d=!0,Ke(()=>{this.#d=!1,this.#m&&Ut(this.#m,this.#l)}))}get_effect_pending(){return this.#h(),Z(this.#m)}error(e){var t=this.#n.onerror;let n=this.#n.failed;if(!t&&!n)throw e;this.#a&&=(V(this.#a),null),this.#o&&=(V(this.#o),null),this.#s&&=(V(this.#s),null),w&&(E(this.#t),Me(),E(Ne()));var r=!1,i=!1;let a=()=>{if(r){ke();return}r=!0,i&&De(),this.#s!==null&&Tn(this.#s,()=>{this.#s=null}),this.#x(()=>{this.#y()})},o=e=>{try{i=!0,t?.(e,a),i=!1}catch(e){Ye(e,this.#i&&this.#i.parent)}n&&(this.#s=this.#x(()=>{try{return B(()=>{var t=G;t.b=this,t.f|=128,n(this.#e,()=>e,()=>a)})}catch(e){return Ye(e,this.#i.parent),null}}))};Ke(()=>{var t;try{t=this.transform_error(e)}catch(e){Ye(e,this.#i&&this.#i.parent);return}typeof t==`object`&&t&&typeof t.then==`function`?t.then(o,e=>Ye(e,this.#i&&this.#i.parent)):o(t)})}};function wt(e,t,n,r){let i=Ue()?Ot:jt;var a=e.filter(e=>!e.settled);if(n.length===0&&a.length===0){r(t.map(i));return}var o=G,s=Tt(),c=a.length===1?a[0].promise:a.length>1?Promise.all(a.map(e=>e.promise)):null;function l(e){s();try{r(e)}catch(e){o.f&16384||Ye(e,o)}Et()}if(n.length===0){c.then(()=>l(t.map(i)));return}var u=Dt();function d(){Promise.all(n.map(e=>kt(e))).then(e=>l([...t.map(i),...e])).catch(e=>Ye(e,o)).finally(()=>u())}c?c.then(()=>{s(),d(),Et()}):d()}function Tt(){var e=G,t=H,n=O,r=A;return function(i=!0){K(e),W(t),Be(n),i&&!(e.f&16384)&&(r?.activate(),r?.apply())}}function Et(e=!0){K(null),W(null),Be(null),e&&A?.deactivate()}function Dt(){var e=G,t=e.b,n=A,r=t.is_rendered();return t.update_pending_count(1,n),n.increment(r,e),(i=!1)=>{t.update_pending_count(-1,n),n.decrement(r,e,i)}}function Ot(e){var t=2|x,r=H!==null&&H.f&2?H:null;return G!==null&&(G.f|=ie),{ctx:O,deps:null,effects:null,equals:Fe,f:t,fn:e,reactions:null,rv:0,v:n,wv:0,parent:r??G,ac:null}}function kt(e,t,r){let i=G;i===null&&ge();var a=void 0,o=Vt(n),s=!H,c=new Map;return gn(()=>{var t=G,n=v();a=n.promise;try{Promise.resolve(e()).then(n.resolve,n.reject).finally(Et)}catch(e){n.reject(e),Et()}var r=A;if(s){if(t.f&32768)var l=Dt();if(i.b.is_rendered())c.get(r)?.reject(me),c.delete(r);else{for(let e of c.values())e.reject(me);c.clear()}c.set(r,n)}let u=(e,n=void 0)=>{if(l&&l(n===me),!(n===me||t.f&16384)){if(r.activate(),n)o.f|=ue,Ut(o,n);else{o.f&8388608&&(o.f^=ue),Ut(o,e);for(let[e,t]of c){if(c.delete(e),e===r)break;t.reject(me)}}r.deactivate()}};n.promise.then(u,e=>u(null,e||`unknown`))}),un(()=>{for(let e of c.values())e.reject(me)}),new Promise(e=>{function t(n){function r(){n===a?e(o):t(a)}n.then(r,r)}t(a)})}function At(e){let t=Ot(e);return Re||Pn(t),t}function jt(e){let t=Ot(e);return t.equals=Le,t}function Mt(e){var t=e.effects;if(t!==null){e.effects=null;for(var n=0;n<t.length;n+=1)V(t[n])}}function Nt(e){for(var t=e.parent;t!==null;){if(!(t.f&2))return t.f&16384?null:t;t=t.parent}return null}function Pt(e){var t,n=G;K(Nt(e));try{e.f&=~se,Mt(e),t=Un(e)}finally{K(n)}return t}function Ft(e){var t=e.v,n=Pt(e);if(!e.equals(n)&&(e.wv=Bn(),(!A?.is_fork||e.deps===null)&&(e.v=n,A?.capture(e,t,!0),e.deps===null))){k(e,b);return}Mn||(j===null?Ze(e):(ln()||A?.is_fork)&&j.set(e,n))}function It(e){if(e.effects!==null)for(let t of e.effects)(t.teardown||t.ac)&&(t.teardown?.(),t.ac?.abort(me),t.teardown=g,t.ac=null,Gn(t,0),xn(t))}function Lt(e){if(e.effects!==null)for(let t of e.effects)t.teardown&&Kn(t)}var Rt=new Set,zt=new Map,Bt=!1;function Vt(e,t){return{f:0,v:e,reactions:null,equals:Fe,rv:0,wv:0}}function N(e,t){let n=Vt(e,t);return Pn(n),n}function Ht(e,t=!1,n=!0){let r=Vt(e);return t||(r.equals=Le),ze&&n&&O!==null&&O.l!==null&&(O.l.s??=[]).push(r),r}function P(e,t,n=!1){return H!==null&&(!U||H.f&131072)&&Ue()&&H.f&4325394&&(q===null||!o.call(q,e))&&Ee(),Ut(e,n?qt(t):t,ct)}function Ut(e,t,n=null){if(!e.equals(t)){var r=e.v;Mn?zt.set(e,t):zt.set(e,r),e.v=t;var i=dt.ensure();if(i.capture(e,r),e.f&2){let t=e;e.f&2048&&Pt(t),j===null&&Ze(t)}e.wv=Bn(),Kt(e,x,n),Ue()&&G!==null&&G.f&1024&&!(G.f&96)&&(X===null?Fn([e]):X.push(e)),!i.is_fork&&Rt.size>0&&!Bt&&Wt()}return t}function Wt(){Bt=!1;for(let e of Rt)e.f&1024&&k(e,S),Vn(e)&&Kn(e);Rt.clear()}function Gt(e){P(e,e.v+1)}function Kt(e,t,n){var r=e.reactions;if(r!==null)for(var i=Ue(),a=r.length,o=0;o<a;o++){var s=r[o],c=s.f;if(!(!i&&s===G)){var l=(c&x)===0;if(l&&k(s,t),c&2){var u=s;j?.delete(u),c&65536||(c&512&&(s.f|=se),Kt(u,S,n))}else if(l){var d=s;c&16&&M!==null&&M.add(d),n===null?_t(d):n.push(d)}}}}function qt(e){if(typeof e!=`object`||!e||de in e)return e;let t=m(e);if(t!==f&&t!==p)return e;var r=new Map,a=i(e),o=N(0),s=null,c=Rn,l=e=>{if(Rn===c)return e();var t=H,n=Rn;W(null),zn(c);var r=e();return W(t),zn(n),r};return a&&r.set(`length`,N(e.length,s)),new Proxy(e,{defineProperty(e,t,n){(!(`value`in n)||n.configurable===!1||n.enumerable===!1||n.writable===!1)&&we();var i=r.get(t);return i===void 0?l(()=>{var e=N(n.value,s);return r.set(t,e),e}):P(i,n.value,!0),!0},deleteProperty(e,t){var i=r.get(t);if(i===void 0){if(t in e){let e=l(()=>N(n,s));r.set(t,e),Gt(o)}}else P(i,n),Gt(o);return!0},get(t,i,a){if(i===de)return e;var o=r.get(i),c=i in t;if(o===void 0&&(!c||u(t,i)?.writable)&&(o=l(()=>N(qt(c?t[i]:n),s)),r.set(i,o)),o!==void 0){var d=Z(o);return d===n?void 0:d}return Reflect.get(t,i,a)},getOwnPropertyDescriptor(e,t){var i=Reflect.getOwnPropertyDescriptor(e,t);if(i&&`value`in i){var a=r.get(t);a&&(i.value=Z(a))}else if(i===void 0){var o=r.get(t),s=o?.v;if(o!==void 0&&s!==n)return{enumerable:!0,configurable:!0,value:s,writable:!0}}return i},has(e,t){if(t===de)return!0;var i=r.get(t),a=i!==void 0&&i.v!==n||Reflect.has(e,t);return(i!==void 0||G!==null&&(!a||u(e,t)?.writable))&&(i===void 0&&(i=l(()=>N(a?qt(e[t]):n,s)),r.set(t,i)),Z(i)===n)?!1:a},set(e,t,i,c){var d=r.get(t),f=t in e;if(a&&t===`length`)for(var p=i;p<d.v;p+=1){var m=r.get(p+``);m===void 0?p in e&&(m=l(()=>N(n,s)),r.set(p+``,m)):P(m,n)}if(d===void 0)(!f||u(e,t)?.writable)&&(d=l(()=>N(void 0,s)),P(d,qt(i)),r.set(t,d));else{f=d.v!==n;var h=l(()=>qt(i));P(d,h)}var g=Reflect.getOwnPropertyDescriptor(e,t);if(g?.set&&g.set.call(c,i),!f){if(a&&typeof t==`string`){var _=r.get(`length`),v=Number(t);Number.isInteger(v)&&v>=_.v&&P(_,v+1)}Gt(o)}return!0},ownKeys(e){Z(o);var t=Reflect.ownKeys(e).filter(e=>{var t=r.get(e);return t===void 0||t.v!==n});for(var[i,a]of r)a.v!==n&&!(i in e)&&t.push(i);return t},setPrototypeOf(){Te()}})}var Jt,Yt,Xt,Zt;function Qt(){if(Jt===void 0){Jt=window,Yt=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,n=Text.prototype;Xt=u(t,`firstChild`).get,Zt=u(t,`nextSibling`).get,h(e)&&(e.__click=void 0,e.__className=void 0,e.__attributes=null,e.__style=void 0,e.__e=void 0),h(n)&&(n.__t=void 0)}}function F(e=``){return document.createTextNode(e)}function $t(e){return Xt.call(e)}function I(e){return Zt.call(e)}function L(e,t){if(!w)return $t(e);var n=$t(T);if(n===null)n=T.appendChild(F());else if(t&&n.nodeType!==3){var r=F();return n?.before(r),E(r),r}return t&&an(n),E(n),n}function en(e,t=!1){if(!w){var n=$t(e);return n instanceof Comment&&n.data===``?I(n):n}if(t){if(T?.nodeType!==3){var r=F();return T?.before(r),E(r),r}an(T)}return T}function R(e,t=1,n=!1){let r=w?T:e;for(var i;t--;)i=r,r=I(r);if(!w)return r;if(n){if(r?.nodeType!==3){var a=F();return r===null?i?.after(a):r.before(a),E(a),a}an(r)}return E(r),r}function tn(e){e.textContent=``}function nn(){return!Re||M!==null?!1:(G.f&te)!==0}function rn(e,t,n){let r=n?{is:n}:void 0;return document.createElementNS(t??`http://www.w3.org/1999/xhtml`,e,r)}function an(e){if(e.nodeValue.length<65536)return;let t=e.nextSibling;for(;t!==null&&t.nodeType===3;)t.remove(),e.nodeValue+=t.nodeValue,t=e.nextSibling}function on(e){var t=H,n=G;W(null),K(null);try{return e()}finally{W(t),K(n)}}function sn(e){G===null&&(H===null&&be(e),ye()),Mn&&ve(e)}function cn(e,t){var n=t.last;n===null?t.last=t.first=e:(n.next=e,e.prev=n,t.last=e)}function z(e,t){var n=G;n!==null&&n.f&8192&&(e|=ee);var r={ctx:O,deps:null,nodes:null,f:e|x|512,first:null,fn:t,last:null,next:null,parent:n,b:n&&n.b,prev:null,teardown:null,wv:0,ac:null},i=r;if(e&4)st===null?dt.ensure().schedule(r):st.push(r);else if(t!==null){try{Kn(r)}catch(e){throw V(r),e}i.deps===null&&i.teardown===null&&i.nodes===null&&i.first===i.last&&!(i.f&524288)&&(i=i.first,e&16&&e&65536&&i!==null&&(i.f|=re))}if(i!==null&&(i.parent=n,n!==null&&cn(i,n),H!==null&&H.f&2&&!(e&64))){var a=H;(a.effects??=[]).push(i)}return r}function ln(){return H!==null&&!U}function un(e){let t=z(8,null);return k(t,b),t.teardown=e,t}function dn(e){sn(`$effect`);var t=G.f;if(!H&&t&32&&!(t&32768)){var n=O;(n.e??=[]).push(e)}else return fn(e)}function fn(e){return z(4|ae,e)}function pn(e){dt.ensure();let t=z(64|ie,e);return()=>{V(t)}}function mn(e){dt.ensure();let t=z(64|ie,e);return(e={})=>new Promise(n=>{e.outro?Tn(t,()=>{V(t),n(void 0)}):(V(t),n(void 0))})}function hn(e){return z(4,e)}function gn(e){return z(le|ie,e)}function _n(e,t=0){return z(8|t,e)}function vn(e,t=[],n=[],r=[]){wt(r,t,n,t=>{z(8,()=>e(...t.map(Z)))})}function yn(e,t=0){return z(16|t,e)}function B(e){return z(32|ie,e)}function bn(e){var t=e.teardown;if(t!==null){let e=Mn,n=H;Nn(!0),W(null);try{t.call(null)}finally{Nn(e),W(n)}}}function xn(e,t=!1){var n=e.first;for(e.first=e.last=null;n!==null;){let e=n.ac;e!==null&&on(()=>{e.abort(me)});var r=n.next;n.f&64?n.parent=null:V(n,t),n=r}}function Sn(e){for(var t=e.first;t!==null;){var n=t.next;t.f&32||V(t),t=n}}function V(e,t=!0){var n=!1;(t||e.f&262144)&&e.nodes!==null&&e.nodes.end!==null&&(Cn(e.nodes.start,e.nodes.end),n=!0),k(e,ne),xn(e,t&&!n),Gn(e,0);var r=e.nodes&&e.nodes.t;if(r!==null)for(let e of r)e.stop();bn(e),e.f^=ne,e.f|=C;var i=e.parent;i!==null&&i.first!==null&&wn(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes=e.ac=e.b=null}function Cn(e,t){for(;e!==null;){var n=e===t?null:I(e);e.remove(),e=n}}function wn(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 Tn(e,t,n=!0){var r=[];En(e,r,!0);var i=()=>{n&&V(e),t&&t()},a=r.length;if(a>0){var o=()=>--a||i();for(var s of r)s.out(o)}else i()}function En(e,t,n){if(!(e.f&8192)){e.f^=ee;var r=e.nodes&&e.nodes.t;if(r!==null)for(let e of r)(e.is_global||n)&&t.push(e);for(var i=e.first;i!==null;){var a=i.next,o=(i.f&65536)!=0||(i.f&32)!=0&&(e.f&16)!=0;En(i,t,o?n:!1),i=a}}}function Dn(e){On(e,!0)}function On(e,t){if(e.f&8192){e.f^=ee,e.f&1024||(k(e,x),dt.ensure().schedule(e));for(var n=e.first;n!==null;){var r=n.next,i=(n.f&65536)!=0||(n.f&32)!=0;On(n,i?t:!1),n=r}var a=e.nodes&&e.nodes.t;if(a!==null)for(let e of a)(e.is_global||t)&&e.in()}}function kn(e,t){if(e.nodes)for(var n=e.nodes.start,r=e.nodes.end;n!==null;){var i=n===r?null:I(n);t.append(n),n=i}}var An=null,jn=!1,Mn=!1;function Nn(e){Mn=e}var H=null,U=!1;function W(e){H=e}var G=null;function K(e){G=e}var q=null;function Pn(e){H!==null&&(!Re||H.f&2)&&(q===null?q=[e]:q.push(e))}var J=null,Y=0,X=null;function Fn(e){X=e}var In=1,Ln=0,Rn=Ln;function zn(e){Rn=e}function Bn(){return++In}function Vn(e){var t=e.f;if(t&2048)return!0;if(t&2&&(e.f&=~se),t&4096){for(var n=e.deps,r=n.length,i=0;i<r;i++){var a=n[i];if(Vn(a)&&Ft(a),a.wv>e.wv)return!0}t&512&&j===null&&k(e,b)}return!1}function Hn(e,t,n=!0){var r=e.reactions;if(r!==null&&!(!Re&&q!==null&&o.call(q,e)))for(var i=0;i<r.length;i++){var a=r[i];a.f&2?Hn(a,t,!1):t===a&&(n?k(a,x):a.f&1024&&k(a,S),_t(a))}}function Un(e){var t=J,n=Y,r=X,i=H,a=q,o=O,s=U,c=Rn,l=e.f;J=null,Y=0,X=null,H=l&96?null:e,q=null,Be(e.ctx),U=!1,Rn=++Ln,e.ac!==null&&(on(()=>{e.ac.abort(me)}),e.ac=null);try{e.f|=ce;var u=e.fn,d=u();e.f|=te;var f=e.deps,p=A?.is_fork;if(J!==null){var m;if(p||Gn(e,Y),f!==null&&Y>0)for(f.length=Y+J.length,m=0;m<J.length;m++)f[Y+m]=J[m];else e.deps=f=J;if(ln()&&e.f&512)for(m=Y;m<f.length;m++)(f[m].reactions??=[]).push(e)}else !p&&f!==null&&Y<f.length&&(Gn(e,Y),f.length=Y);if(Ue()&&X!==null&&!U&&f!==null&&!(e.f&6146))for(m=0;m<X.length;m++)Hn(X[m],e);if(i!==null&&i!==e){if(Ln++,i.deps!==null)for(let e=0;e<n;e+=1)i.deps[e].rv=Ln;if(t!==null)for(let e of t)e.rv=Ln;X!==null&&(r===null?r=X:r.push(...X))}return e.f&8388608&&(e.f^=ue),d}catch(e){return Je(e)}finally{e.f^=ce,J=t,Y=n,X=r,H=i,q=a,Be(o),U=s,Rn=c}}function Wn(e,t){let n=t.reactions;if(n!==null){var r=a.call(n,e);if(r!==-1){var i=n.length-1;i===0?n=t.reactions=null:(n[r]=n[i],n.pop())}}if(n===null&&t.f&2&&(J===null||!o.call(J,t))){var s=t;s.f&512&&(s.f^=512,s.f&=~se),Ze(s),It(s),Gn(s,0)}}function Gn(e,t){var n=e.deps;if(n!==null)for(var r=t;r<n.length;r++)Wn(e,n[r])}function Kn(e){var t=e.f;if(!(t&16384)){k(e,b);var n=G,r=jn;G=e,jn=!0;try{t&16777232?Sn(e):xn(e),bn(e);var i=Un(e);e.teardown=typeof i==`function`?i:null,e.wv=In}finally{jn=r,G=n}}}function Z(e){var t=(e.f&2)!=0;if(An?.add(e),H!==null&&!U&&!(G!==null&&G.f&16384)&&(q===null||!o.call(q,e))){var n=H.deps;if(H.f&2097152)e.rv<Ln&&(e.rv=Ln,J===null&&n!==null&&n[Y]===e?Y++:J===null?J=[e]:J.push(e));else{(H.deps??=[]).push(e);var r=e.reactions;r===null?e.reactions=[H]:o.call(r,H)||r.push(H)}}if(Mn&&zt.has(e))return zt.get(e);if(t){var i=e;if(Mn){var a=i.v;return(!(i.f&1024)&&i.reactions!==null||Jn(i))&&(a=Pt(i)),zt.set(i,a),a}var s=(i.f&512)==0&&!U&&H!==null&&(jn||(H.f&512)!=0),c=(i.f&te)===0;Vn(i)&&(s&&(i.f|=512),Ft(i)),s&&!c&&(Lt(i),qn(i))}if(j?.has(e))return j.get(e);if(e.f&8388608)throw e.v;return e.v}function qn(e){if(e.f|=512,e.deps!==null)for(let t of e.deps)(t.reactions??=[]).push(e),t.f&2&&!(t.f&512)&&(Lt(t),qn(t))}function Jn(e){if(e.v===n)return!0;if(e.deps===null)return!1;for(let t of e.deps)if(zt.has(t)||t.f&2&&Jn(t))return!0;return!1}function Yn(e){var t=U;try{return U=!0,e()}finally{U=t}}var Xn=Symbol(`events`),Zn=new Set,Qn=new Set;function $n(e,t,n){(t[Xn]??={})[e]=n}function er(e){for(var t=0;t<e.length;t++)Zn.add(e[t]);for(var n of Qn)n(e)}var tr=null;function nr(e){var t=this,n=t.ownerDocument,r=e.type,i=e.composedPath?.()||[],a=i[0]||e.target;tr=e;var o=0,s=tr===e&&e[Xn];if(s){var c=i.indexOf(s);if(c!==-1&&(t===document||t===window)){e[Xn]=t;return}var u=i.indexOf(t);if(u===-1)return;c<=u&&(o=c)}if(a=i[o]||e.target,a!==t){l(e,`currentTarget`,{configurable:!0,get(){return a||n}});var d=H,f=G;W(null),K(null);try{for(var p,m=[];a!==null;){var h=a.assignedSlot||a.parentNode||a.host||null;try{var g=a[Xn]?.[r];g!=null&&(!a.disabled||e.target===a)&&g.call(a,e)}catch(e){p?m.push(e):p=e}if(e.cancelBubble||h===t||h===null)break;a=h}if(p){for(let e of m)queueMicrotask(()=>{throw e});throw p}}finally{e[Xn]=t,delete e.currentTarget,W(d),K(f)}}}var rr=globalThis?.window?.trustedTypes&&globalThis.window.trustedTypes.createPolicy(`svelte-trusted-html`,{createHTML:e=>e});function ir(e){return rr?.createHTML(e)??e}function ar(e){var t=rn(`template`);return t.innerHTML=ir(e.replaceAll(`<!>`,`<!---->`)),t.content}function or(e,t){var n=G;n.nodes===null&&(n.nodes={start:e,end:t,a:null,t:null})}function Q(e,t){var n=(t&1)!=0,r=(t&2)!=0,i,a=!e.startsWith(`<!>`);return()=>{if(w)return or(T,null),T;i===void 0&&(i=ar(a?e:`<!>`+e),n||(i=$t(i)));var t=r||Yt?document.importNode(i,!0):i.cloneNode(!0);if(n){var o=$t(t),s=t.lastChild;or(o,s)}else or(t,t);return t}}function sr(){if(w)return or(T,null),T;var e=document.createDocumentFragment(),t=document.createComment(``),n=F();return e.append(t,n),or(t,n),e}function $(e,t){if(w){var n=G;(!(n.f&32768)||n.nodes.end===null)&&(n.nodes.end=T),je();return}e!==null&&e.before(t)}[...`allowfullscreen.async.autofocus.autoplay.checked.controls.default.disabled.formnovalidate.indeterminate.inert.ismap.loop.multiple.muted.nomodule.novalidate.open.playsinline.readonly.required.reversed.seamless.selected.webkitdirectory.defer.disablepictureinpicture.disableremoteplayback`.split(`.`)];var cr=[`touchstart`,`touchmove`];function lr(e){return cr.includes(e)}function ur(e,t){var n=t==null?``:typeof t==`object`?`${t}`:t;n!==(e.__t??=e.nodeValue)&&(e.__t=n,e.nodeValue=`${n}`)}function dr(e,t){return mr(e,t)}function fr(e,n){Qt(),n.intro=n.intro??!1;let r=n.target,i=w,a=T;try{for(var o=$t(r);o&&(o.nodeType!==8||o.data!==`[`);)o=I(o);if(!o)throw t;Ae(!0),E(o);let i=mr(e,{...n,anchor:o});return Ae(!1),i}catch(i){if(i instanceof Error&&i.message.split(`
|
|
2
|
+
`).some(e=>e.startsWith(`https://svelte.dev/e/`)))throw i;return i!==t&&console.warn(`Failed to hydrate: `,i),n.recover===!1&&Se(),Qt(),tn(r),Ae(!1),dr(e,n)}finally{Ae(i),E(a)}}var pr=new Map;function mr(e,{target:n,anchor:r,props:i={},events:a,context:o,intro:c=!0,transformError:l}){Qt();var u=void 0,d=mn(()=>{var c=r??n.appendChild(F());St(c,{pending:()=>{}},n=>{Ve({});var r=O;if(o&&(r.c=o),a&&(i.$$events=a),w&&or(n,null),u=e(n,i)||{},w&&(G.nodes.end=T,T===null||T.nodeType!==8||T.data!==`]`))throw Oe(),t;He()},l);var d=new Set,f=e=>{for(var t=0;t<e.length;t++){var r=e[t];if(!d.has(r)){d.add(r);var i=lr(r);for(let e of[n,document]){var a=pr.get(e);a===void 0&&(a=new Map,pr.set(e,a));var o=a.get(r);o===void 0?(e.addEventListener(r,nr,{passive:i}),a.set(r,1)):a.set(r,o+1)}}}};return f(s(Zn)),Qn.add(f),()=>{for(var e of d)for(let r of[n,document]){var t=pr.get(r),i=t.get(e);--i==0?(r.removeEventListener(e,nr),t.delete(e),t.size===0&&pr.delete(r)):t.set(e,i)}Qn.delete(f),c!==r&&c.parentNode?.removeChild(c)}});return hr.set(u,d),u}var hr=new WeakMap;function gr(e,t){let n=hr.get(e);return n?(hr.delete(e),n(t)):Promise.resolve()}var _r=class{anchor;#e=new Map;#t=new Map;#n=new Map;#r=new Set;#i=!0;constructor(e,t=!0){this.anchor=e,this.#i=t}#a=e=>{if(this.#e.has(e)){var t=this.#e.get(e),n=this.#t.get(t);if(n)Dn(n),this.#r.delete(t);else{var r=this.#n.get(t);r&&(this.#t.set(t,r.effect),this.#n.delete(t),r.fragment.lastChild.remove(),this.anchor.before(r.fragment),n=r.effect)}for(let[t,n]of this.#e){if(this.#e.delete(t),t===e)break;let r=this.#n.get(n);r&&(V(r.effect),this.#n.delete(n))}for(let[e,r]of this.#t){if(e===t||this.#r.has(e))continue;let i=()=>{if(Array.from(this.#e.values()).includes(e)){var t=document.createDocumentFragment();kn(r,t),t.append(F()),this.#n.set(e,{effect:r,fragment:t})}else V(r);this.#r.delete(e),this.#t.delete(e)};this.#i||!n?(this.#r.add(e),Tn(r,i,!1)):i()}}};#o=e=>{this.#e.delete(e);let t=Array.from(this.#e.values());for(let[e,n]of this.#n)t.includes(e)||(V(n.effect),this.#n.delete(e))};ensure(e,t){var n=A,r=nn();if(t&&!this.#t.has(e)&&!this.#n.has(e))if(r){var i=document.createDocumentFragment(),a=F();i.append(a),this.#n.set(e,{effect:B(()=>t(a)),fragment:i})}else this.#t.set(e,B(()=>t(this.anchor)));if(this.#e.set(n,e),r){for(let[t,r]of this.#t)t===e?n.unskip_effect(r):n.skip_effect(r);for(let[t,r]of this.#n)t===e?n.unskip_effect(r.effect):n.skip_effect(r.effect);n.oncommit(this.#a),n.ondiscard(this.#o)}else w&&(this.anchor=T),this.#a(n)}};function vr(e,t,n=!1){var r;w&&(r=T,je());var i=new _r(e),a=n?re:0;function o(e,t){if(w){var n=Pe(r);if(e!==parseInt(n.substring(1))){var a=Ne();E(a),i.anchor=a,Ae(!1),i.ensure(e,t),Ae(!0);return}}i.ensure(e,t)}yn(()=>{var e=!1;t((t,n=0)=>{e=!0,o(n,t)}),e||o(-1,null)},a)}function yr(e,t){return t}function br(e,t,n){for(var r=[],i=t.length,a,o=t.length,c=0;c<i;c++){let n=t[c];Tn(n,()=>{if(a){if(a.pending.delete(n),a.done.add(n),a.pending.size===0){var t=e.outrogroups;xr(e,s(a.done)),t.delete(a),t.size===0&&(e.outrogroups=null)}}else --o},!1)}if(o===0){var l=r.length===0&&n!==null;if(l){var u=n,d=u.parentNode;tn(d),d.append(u),e.items.clear()}xr(e,t,!l)}else a={pending:new Set(t),done:new Set},(e.outrogroups??=new Set).add(a)}function xr(e,t,n=!0){var r;if(e.pending.size>0){r=new Set;for(let t of e.pending.values())for(let n of t)r.add(e.items.get(n).e)}for(var i=0;i<t.length;i++){var a=t[i];r?.has(a)?(a.f|=oe,kn(a,document.createDocumentFragment())):V(t[i],n)}}var Sr;function Cr(e,t,n,r,a,o=null){var c=e,l=new Map;if(t&4){var u=e;c=w?E($t(u)):u.appendChild(F())}w&&je();var d=null,f=jt(()=>{var e=n();return i(e)?e:e==null?[]:s(e)}),p,m=new Map,h=!0;function g(e){v.effect.f&16384||(v.pending.delete(e),v.fallback=d,Tr(v,p,c,t,r),d!==null&&(p.length===0?d.f&33554432?(d.f^=oe,Dr(d,null,c)):Dn(d):Tn(d,()=>{d=null})))}function _(e){v.pending.delete(e)}var v={effect:yn(()=>{p=Z(f);var e=p.length;let i=!1;w&&Pe(c)===`[!`!=(e===0)&&(c=Ne(),E(c),Ae(!1),i=!0);for(var s=new Set,u=A,v=nn(),y=0;y<e;y+=1){w&&T.nodeType===8&&T.data===`]`&&(c=T,i=!0,Ae(!1));var b=p[y],x=r(b,y),S=h?null:l.get(x);S?(S.v&&Ut(S.v,b),S.i&&Ut(S.i,y),v&&u.unskip_effect(S.e)):(S=Er(l,h?c:Sr??=F(),b,x,y,a,t,n),h||(S.e.f|=oe),l.set(x,S)),s.add(x)}if(e===0&&o&&!d&&(h?d=B(()=>o(c)):(d=B(()=>o(Sr??=F())),d.f|=oe)),e>s.size&&_e(``,``,``),w&&e>0&&E(Ne()),!h)if(m.set(u,s),v){for(let[e,t]of l)s.has(e)||u.skip_effect(t.e);u.oncommit(g),u.ondiscard(_)}else g(u);i&&Ae(!0),Z(f)}),flags:t,items:l,pending:m,outrogroups:null,fallback:d};h=!1,w&&(c=T)}function wr(e){for(;e!==null&&!(e.f&32);)e=e.next;return e}function Tr(e,t,n,r,i){var a=(r&8)!=0,o=t.length,c=e.items,l=wr(e.effect.first),u,d=null,f,p=[],m=[],h,g,_,v;if(a)for(v=0;v<o;v+=1)h=t[v],g=i(h,v),_=c.get(g).e,_.f&33554432||(_.nodes?.a?.measure(),(f??=new Set).add(_));for(v=0;v<o;v+=1){if(h=t[v],g=i(h,v),_=c.get(g).e,e.outrogroups!==null)for(let t of e.outrogroups)t.pending.delete(_),t.done.delete(_);if(_.f&8192&&(Dn(_),a&&(_.nodes?.a?.unfix(),(f??=new Set).delete(_))),_.f&33554432)if(_.f^=oe,_===l)Dr(_,null,n);else{var y=d?d.next:l;_===e.effect.last&&(e.effect.last=_.prev),_.prev&&(_.prev.next=_.next),_.next&&(_.next.prev=_.prev),Or(e,d,_),Or(e,_,y),Dr(_,y,n),d=_,p=[],m=[],l=wr(d.next);continue}if(_!==l){if(u!==void 0&&u.has(_)){if(p.length<m.length){var b=m[0],x;d=b.prev;var S=p[0],ee=p[p.length-1];for(x=0;x<p.length;x+=1)Dr(p[x],b,n);for(x=0;x<m.length;x+=1)u.delete(m[x]);Or(e,S.prev,ee.next),Or(e,d,S),Or(e,ee,b),l=b,d=ee,--v,p=[],m=[]}else u.delete(_),Dr(_,l,n),Or(e,_.prev,_.next),Or(e,_,d===null?e.effect.first:d.next),Or(e,d,_),d=_;continue}for(p=[],m=[];l!==null&&l!==_;)(u??=new Set).add(l),m.push(l),l=wr(l.next);if(l===null)continue}_.f&33554432||p.push(_),d=_,l=wr(_.next)}if(e.outrogroups!==null){for(let t of e.outrogroups)t.pending.size===0&&(xr(e,s(t.done)),e.outrogroups?.delete(t));e.outrogroups.size===0&&(e.outrogroups=null)}if(l!==null||u!==void 0){var C=[];if(u!==void 0)for(_ of u)_.f&8192||C.push(_);for(;l!==null;)!(l.f&8192)&&l!==e.fallback&&C.push(l),l=wr(l.next);var te=C.length;if(te>0){var ne=r&4&&o===0?n:null;if(a){for(v=0;v<te;v+=1)C[v].nodes?.a?.measure();for(v=0;v<te;v+=1)C[v].nodes?.a?.fix()}br(e,C,ne)}}a&&Ke(()=>{if(f!==void 0)for(_ of f)_.nodes?.a?.apply()})}function Er(e,t,n,r,i,a,o,s){var c=o&1?o&16?Vt(n):Ht(n,!1,!1):null,l=o&2?Vt(i):null;return{v:c,i:l,e:B(()=>(a(t,c??n,l??i,s),()=>{e.delete(r)}))}}function Dr(e,t,n){if(e.nodes)for(var r=e.nodes.start,i=e.nodes.end,a=t&&!(t.f&33554432)?t.nodes.start:n;r!==null;){var o=I(r);if(a.before(r),r===i)return;r=o}}function Or(e,t,n){t===null?e.effect.first=n:t.next=n,n===null?e.effect.last=t:n.prev=t}function kr(e,t,n,r,i){w&&je();var a=t.$$slots?.[n],o=!1;a===!0&&(a=t[n===`default`?`children`:n],o=!0),a===void 0?i!==null&&i(e):a(e,o?()=>r:r)}function Ar(e,t){hn(()=>{var n=e.getRootNode(),r=n.host?n:n.head??n.ownerDocument.head;if(!r.querySelector(`#`+t.hash)){let e=rn(`style`);e.id=t.hash,e.textContent=t.code,r.appendChild(e)}})}var jr=[...`
|
|
3
|
+
\r\f\xA0\v`];function Mr(e,t,n){var r=e==null?``:``+e;if(t&&(r=r?r+` `+t:t),n){for(var i of Object.keys(n))if(n[i])r=r?r+` `+i:i;else if(r.length)for(var a=i.length,o=0;(o=r.indexOf(i,o))>=0;){var s=o+a;(o===0||jr.includes(r[o-1]))&&(s===r.length||jr.includes(r[s]))?r=(o===0?``:r.substring(0,o))+r.substring(s+1):o=s}}return r===``?null:r}function Nr(e,t,n,r,i,a){var o=e.__className;if(w||o!==n||o===void 0){var s=Mr(n,r,a);(!w||s!==e.getAttribute(`class`))&&(s==null?e.removeAttribute(`class`):t?e.className=s:e.setAttribute(`class`,s)),e.__className=n}else if(a&&i!==a)for(var c in a){var l=!!a[c];(i==null||l!==!!i[c])&&e.classList.toggle(c,l)}return a}var Pr=Symbol(`is custom element`),Fr=Symbol(`is html`),Ir=he?`link`:`LINK`;function Lr(e,t,n,r){var i=Rr(e);w&&(i[t]=e.getAttribute(t),t===`src`||t===`srcset`||t===`href`&&e.nodeName===Ir)||i[t]!==(i[t]=n)&&(t===`loading`&&(e[pe]=n),n==null?e.removeAttribute(t):typeof n!=`string`&&Br(e).includes(t)?e[t]=n:e.setAttribute(t,n))}function Rr(e){return e.__attributes??={[Pr]:e.nodeName.includes(`-`),[Fr]:e.namespaceURI===r}}var zr=new Map;function Br(e){var t=e.getAttribute(`is`)||e.nodeName,n=zr.get(t);if(n)return n;zr.set(t,n=[]);for(var r,i=e,a=Element.prototype;a!==i;){for(var o in r=d(i),r)r[o].set&&n.push(o);i=m(i)}return n}function Vr(e,t,n,r){var i=!ze||(n&2)!=0,a=(n&8)!=0,o=(n&16)!=0,s=r,c=!0,l=()=>(c&&(c=!1,s=o?Yn(r):r),s);let d;if(a){var f=de in e||fe in e;d=u(e,t)?.set??(f&&t in e?n=>e[t]=n:void 0)}var p,m=!1;a?[p,m]=nt(()=>e[t]):p=e[t],p===void 0&&r!==void 0&&(p=l(),d&&(i&&Ce(t),d(p)));var h=i?()=>{var n=e[t];return n===void 0?l():(c=!0,n)}:()=>{var n=e[t];return n!==void 0&&(s=void 0),n===void 0?s:n};if(i&&!(n&4))return h;if(d){var g=e.$$legacy;return(function(e,t){return arguments.length>0?((!i||!t||g||m)&&d(t?h():e),e):h()})}var _=!1,v=(n&1?Ot:jt)(()=>(_=!1,h()));a&&Z(v);var y=G;return(function(e,t){if(arguments.length>0){let n=t?Z(v):i&&a?qt(e):e;return P(v,n),_=!0,s!==void 0&&(s=n),e}return Mn&&_||y.f&16384?v.v:Z(v)})}function Hr(e){return new Ur(e)}var Ur=class{#e;#t;constructor(e){var t=new Map,n=(e,n)=>{var r=Ht(n,!1,!1);return t.set(e,r),r};let r=new Proxy({...e.props||{},$$events:{}},{get(e,r){return Z(t.get(r)??n(r,Reflect.get(e,r)))},has(e,r){return r===fe?!0:(Z(t.get(r)??n(r,Reflect.get(e,r))),Reflect.has(e,r))},set(e,r,i){return P(t.get(r)??n(r,i),i),Reflect.set(e,r,i)}});this.#t=(e.hydrate?fr:dr)(e.component,{target:e.target,anchor:e.anchor,props:r,context:e.context,intro:e.intro??!1,recover:e.recover,transformError:e.transformError}),!Re&&(!e?.props?.$$host||e.sync===!1)&&ft(),this.#e=r.$$events;for(let e of Object.keys(this.#t))e===`$set`||e===`$destroy`||e===`$on`||l(this,e,{get(){return this.#t[e]},set(t){this.#t[e]=t},enumerable:!0});this.#t.$set=e=>{Object.assign(r,e)},this.#t.$destroy=()=>{gr(this.#t)}}$set(e){this.#t.$set(e)}$on(e,t){this.#e[e]=this.#e[e]||[];let n=(...e)=>t.call(this,...e);return this.#e[e].push(n),()=>{this.#e[e]=this.#e[e].filter(e=>e!==n)}}$destroy(){this.#t.$destroy()}},Wr;typeof HTMLElement==`function`&&(Wr=class extends HTMLElement{$$ctor;$$s;$$c;$$cn=!1;$$d={};$$r=!1;$$p_d={};$$l={};$$l_u=new Map;$$me;$$shadowRoot=null;constructor(e,t,n){super(),this.$$ctor=e,this.$$s=t,n&&(this.$$shadowRoot=this.attachShadow(n))}addEventListener(e,t,n){if(this.$$l[e]=this.$$l[e]||[],this.$$l[e].push(t),this.$$c){let n=this.$$c.$on(e,t);this.$$l_u.set(t,n)}super.addEventListener(e,t,n)}removeEventListener(e,t,n){if(super.removeEventListener(e,t,n),this.$$c){let e=this.$$l_u.get(t);e&&(e(),this.$$l_u.delete(t))}}async connectedCallback(){if(this.$$cn=!0,!this.$$c){if(await Promise.resolve(),!this.$$cn||this.$$c)return;function e(e){return t=>{let n=rn(`slot`);e!==`default`&&(n.name=e),$(t,n)}}let t={},n=Kr(this);for(let 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(let e of this.attributes){let t=this.$$g_p(e.name);t in this.$$d||(this.$$d[t]=Gr(t,e.value,this.$$p_d,`toProp`))}for(let e in this.$$p_d)!(e in this.$$d)&&this[e]!==void 0&&(this.$$d[e]=this[e],delete this[e]);this.$$c=Hr({component:this.$$ctor,target:this.$$shadowRoot||this,props:{...this.$$d,$$slots:t,$$host:this}}),this.$$me=pn(()=>{_n(()=>{this.$$r=!0;for(let e of c(this.$$c)){if(!this.$$p_d[e]?.reflect)continue;this.$$d[e]=this.$$c[e];let t=Gr(e,this.$$d[e],this.$$p_d,`toAttribute`);t==null?this.removeAttribute(this.$$p_d[e].attribute||e):this.setAttribute(this.$$p_d[e].attribute||e,t)}this.$$r=!1})});for(let e in this.$$l)for(let t of this.$$l[e]){let n=this.$$c.$on(e,t);this.$$l_u.set(t,n)}this.$$l={}}}attributeChangedCallback(e,t,n){this.$$r||(e=this.$$g_p(e),this.$$d[e]=Gr(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 c(this.$$p_d).find(t=>this.$$p_d[t].attribute===e||!this.$$p_d[t].attribute&&t.toLowerCase()===e)||e}});function Gr(e,t,n,r){let 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 Kr(e){let t={};return e.childNodes.forEach(e=>{t[e.slot||`default`]=!0}),t}function qr(e,t,n,r,i,a){let o=class extends Wr{constructor(){super(e,n,i),this.$$p_d=t}static get observedAttributes(){return c(t).map(e=>(t[e].attribute||e).toLowerCase())}};return c(t).forEach(e=>{l(o.prototype,e,{get(){return this.$$c&&e in this.$$c?this.$$c[e]:this.$$d[e]},set(n){n=Gr(e,n,t),this.$$d[e]=n;var r=this.$$c;r&&(u(r,e)?.get?r[e]=n:r.$set({[e]:n}))}})}),r.forEach(e=>{l(o.prototype,e,{get(){return this.$$c?.[e]}})}),a&&(o=a(o)),e.element=o,o}var Jr=Q(`<span class="jn-popover svelte-2u2vu2">copied</span>`),Yr=Q(`<span class="jn-key svelte-2u2vu2" role="button" tabindex="0" title="Copia JSON"> </span><!> <span class="jn-sep svelte-2u2vu2">:</span>`,1),Xr=Q(`<div class="jn-row svelte-2u2vu2"><!> <span> </span></div>`),Zr=Q(`<span class="jn-popover svelte-2u2vu2">copied</span>`),Qr=Q(`<span class="jn-key svelte-2u2vu2" role="button" tabindex="0" title="Copia JSON"> </span><!> <span class="jn-sep svelte-2u2vu2">:</span>`,1),$r=Q(`<span class="jn-popover svelte-2u2vu2">copied</span>`),ei=Q(`<span class="jn-bracket svelte-2u2vu2">[</span>`),ti=Q(`<span class="jn-bracket svelte-2u2vu2"></span>`),ni=Q(`]<span class="jn-trailing"></span>`,1),ri=Q(` <span class="jn-trailing"></span>`,1),ii=Q(`<div class="jn-children svelte-2u2vu2"></div> <div class="jn-close svelte-2u2vu2"><!></div>`,1),ai=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>`),oi={hash:`svelte-2u2vu2`,code:`.jn-row.svelte-2u2vu2 {font-family:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
|
|
4
|
+
"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 si(e,t){Ve(t,!0),Ar(e,oi);let n=Vr(t,`keyPath`,23,()=>[]),r=Vr(t,`value`,7),i=Vr(t,`name`,7,null),a=Vr(t,`collapsed`,7),o=Vr(t,`status`,7,`open`),s=e=>typeof e==`object`&&!!e&&!Array.isArray(e),c=e=>Array.isArray(e),l=e=>!s(e)&&!c(e);function u(e){return e===null?`null`:c(e)?`Array(${e.length})`:s(e)?`Object`:typeof e}function d(e){return typeof e==`string`?`"${e}"`:e===null?`null`:e===void 0?`undefined`:typeof e==`bigint`?e.toString()+`n`:typeof e==`symbol`?e.toString():String(e)}function f(e){return c(e)?e.map((e,t)=>[t,e]):s(e)?Object.entries(e):[]}function p(e,t){return e===`open`?!1:e===`closed`?!0:t>0}let m=n().length,h=N(qt(a()??p(o(),m)));dn(()=>{a()===void 0&&P(h,p(o(),m),!0)});function g(){P(h,!Z(h))}function _(e){let t=new WeakSet;try{return JSON.stringify(e,(e,n)=>{if(typeof n==`object`&&n){if(t.has(n))return`[Circular]`;t.add(n)}return n},2)}catch{return String(e)}}async function v(){let e=_(r());try{navigator.clipboard&&navigator.clipboard.writeText?await navigator.clipboard.writeText(e):console.error(`unsupported copying node`)}catch(e){console.error(`error copying node`,e)}}let b=N(null),x=N(!1),S=null;function ee(e){P(b,e,!0),P(x,!0),S!==null&&window.clearTimeout(S),S=window.setTimeout(()=>{P(x,!1),P(b,null),S=null},1e3)}async function C(e){await v(),ee(e)}function te(e,t){(e.key===`Enter`||e.key===` `)&&(e.preventDefault(),e.stopPropagation(),C(t))}var ne={get keyPath(){return n()},set keyPath(e=[]){n(e),ft()},get value(){return r()},set value(e){r(e),ft()},get name(){return i()},set name(e=null){i(e),ft()},get collapsed(){return a()},set collapsed(e){a(e),ft()},get status(){return o()},set status(e=`open`){o(e),ft()}},re=sr(),ie=en(re),ae=e=>{var t=Xr(),n=L(t),a=e=>{var t=Yr(),n=en(t),r=L(n,!0);D(n);var a=R(n),o=e=>{$(e,Jr())};vr(a,e=>{Z(x)&&Z(b)===`key`&&e(o)}),Me(2),vn(()=>ur(r,i())),$n(`click`,n,e=>{e.stopPropagation(),C(`key`)}),$n(`keydown`,n,e=>{e.stopPropagation(),te(e,`key`)}),$(e,t)};vr(n,e=>{i()!==null&&e(a)});var o=R(n,2),s=L(o,!0);D(o),D(t),vn(e=>{Nr(o,1,`jn-val ${`jn-`+(typeof r()==`string`?`string`:typeof r())}`,`svelte-2u2vu2`),ur(s,e)},[()=>d(r())]),$(e,t)},oe=At(()=>l(r())),se=e=>{var t=ai(),a=L(t),s=L(a),l=L(s),d=L(l,!0);D(l),D(s);var _=R(s,2),v=e=>{var t=Qr(),n=en(t),r=L(n,!0);D(n);var a=R(n),o=e=>{$(e,Zr())};vr(a,e=>{Z(x)&&Z(b)===`key`&&e(o)}),Me(2),vn(()=>ur(r,i())),$n(`click`,n,e=>{e.stopPropagation(),C(`key`)}),$n(`keydown`,n,e=>{e.stopPropagation(),te(e,`key`)}),$(e,t)};vr(_,e=>{i()!==null&&e(v)});var S=R(_,2),ee=L(S,!0);D(S);var ne=R(S),re=e=>{$(e,$r())};vr(ne,e=>{Z(x)&&Z(b)===`type`&&e(re)});var ie=R(ne,2),ae=e=>{$(e,ei())},oe=At(()=>c(r())),se=e=>{var t=ti();t.textContent=`{`,$(e,t)};vr(ie,e=>{Z(oe)?e(ae):e(se,-1)}),D(a);var ce=R(a,2),le=e=>{var t=ii(),i=en(t);Cr(i,21,()=>f(r()),yr,(e,t)=>{var r=At(()=>y(Z(t),2));let i=()=>Z(r)[0],a=()=>Z(r)[1];{let t=At(()=>[...n(),i()]),r=At(()=>p(o(),m+1));si(e,{get name(){return i()},get value(){return a()},get keyPath(){return Z(t)},get status(){return o()},get collapsed(){return Z(r)}})}}),D(i);var a=R(i,2),s=L(a),l=e=>{var t=ni();Me(),$(e,t)},u=At(()=>c(r())),d=e=>{var t=ri(),n=en(t,!0);n.nodeValue=`}`,Me(),$(e,t)};vr(s,e=>{Z(u)?e(l):e(d,-1)}),D(a),$(e,t)};vr(ce,e=>{Z(h)||e(le)}),D(t),vn(e=>{Lr(l,`aria-label`,Z(h)?`Espandi`:`Comprimi`),Lr(l,`title`,Z(h)?`Espandi`:`Comprimi`),ur(d,Z(h)?`+`:`-`),ur(ee,e)},[()=>u(r())]),$n(`click`,l,e=>{e.stopPropagation(),g()}),$n(`click`,S,e=>{e.stopPropagation(),C(`type`)}),$n(`keydown`,S,e=>{e.stopPropagation(),te(e,`type`)}),$(e,t)};return vr(ie,e=>{Z(oe)?e(ae):e(se,-1)}),$(e,re),He(ne)}er([`click`,`keydown`]),qr(si,{keyPath:{},value:{},name:{},collapsed:{},status:{}},[],[],{mode:`open`});var ci=Q(`<div class="jn-empty svelte-g7b435">No data</div>`),li=Q(`<div class="hb-json-viewer svelte-g7b435"><!> <!></div>`),ui={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
5
|
/*!
|
|
5
6
|
* Bootstrap v5.1.2 (https://getbootstrap.com/)
|
|
6
7
|
* Copyright 2011-2021 The Bootstrap Authors
|
|
@@ -56,5 +57,5 @@
|
|
|
56
57
|
@media (min-width: 1200px) {
|
|
57
58
|
}
|
|
58
59
|
@media (min-width: 1400px) {
|
|
59
|
-
}`};function
|
|
60
|
-
//# sourceMappingURL=main.iife.js.map
|
|
60
|
+
}`};function di(e,t){Ve(t,!0),Ar(e,ui);let n=Vr(t,`id`,7,``),r=Vr(t,`json`,7),i=Vr(t,`status`,7,`open`);dn(()=>{if(typeof r()==`string`)try{r(JSON.parse(r()))}catch(e){console.error(`error parsing json`,e)}});var a={get id(){return n()},set id(e=``){n(e),ft()},get json(){return r()},set json(e){r(e),ft()},get status(){return i()},set status(e=`open`){i(e),ft()}},o=li(),s=L(o),c=e=>{si(e,{get value(){return r()},name:null,keyPath:[],get status(){return i()}})},l=e=>{$(e,ci())};return vr(s,e=>{r()===void 0?e(l,-1):e(c)}),kr(R(s,2),t,`default`,{},null),D(o),$(e,o),He(a)}customElements.define(`hb-json-viewer`,qr(di,{id:{},json:{},status:{}},[`default`],[],{mode:`open`})),e.Component=di})(this[`json-viewer`]=this[`json-viewer`]||{});
|
|
61
|
+
//# sourceMappingURL=main.iife.js.map
|