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