1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/BAGVG3AX-O053kJx5.js","assets/NITRNJ62-BWUvLK7A.js","assets/index-BOG8OrK0.js","assets/index-QfrE-ESS.css","assets/KZB72KQG-wpgq8xiz.js"])))=>i.map(i=>d[i]); 2var pt=e=>{throw TypeError(e)};var wt=(e,t,n)=>t.has(e)||pt("Cannot "+n);var d=(e,t,n)=>(wt(e,t,"read from private field"),n?n.call(e):t.get(e)),p=(e,t,n)=>t.has(e)?pt("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),m=(e,t,n,r)=>(wt(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n);import{_ as Nt,u as Rt,r as P,o as Dt,j as Mt}from"./index-BOG8OrK0.js";try{let e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="41e34811-b0ee-4b60-a3ed-d092fd0ab44a",e._sentryDebugIdIdentifier="sentry-dbid-41e34811-b0ee-4b60-a3ed-d092fd0ab44a")}catch{}var h={context:void 0,registry:void 0,effects:void 0,done:!1,getContextId(){return bt(this.context.count)},getNextContextId(){return bt(this.context.count++)}};function bt(e){const t=String(e),n=t.length-1;return h.context.id+(n?String.fromCharCode(96+n):"")+t}function me(e){h.context=e}var _t=!1,pn=(e,t)=>e===t,Qe=Symbol("solid-proxy"),Vt=typeof Proxy=="function",Lt=Symbol("solid-track"),Ke={equals:pn},$t=Kt,j=1,ze=2,jt={owned:null,cleanups:null,context:null,owner:null},nt={},v=null,rt=null,wn=null,w=null,I=null,$=null,We=0;function K(e,t){const n=w,r=v,s=e.length===0,i=t===void 0?r:t,o=s?jt:{owned:null,cleanups:null,context:i?i.context:null,owner:i},l=s?e:()=>e(()=>C(()=>be(o)));v=o,w=null;try{return L(l,!0)}finally{w=n,v=r}}function S(e,t){t=t?Object.assign({},Ke,t):Ke;const n={value:e,observers:null,observerSlots:null,comparator:t.equals||void 0},r=s=>(typeof s=="function"&&(s=s(n.value)),Qt(n,s));return[qt.bind(n),r]}function bn(e,t,n){const r=Ye(e,t,!0,j);ge(r)}function z(e,t,n){const r=Ye(e,t,!1,j);ge(r)}function Bt(e,t,n){$t=In;const r=Ye(e,t,!1,j);(!n||!n.render)&&(r.user=!0),$?$.push(r):ge(r)}function O(e,t,n){n=n?Object.assign({},Ke,n):Ke;const r=Ye(e,t,!0,0);return r.observers=null,r.observerSlots=null,r.comparator=n.equals||void 0,ge(r),qt.bind(r)}function En(e){return e&&typeof e=="object"&&"then"in e}function Sn(e,t,n){let r,s,i;r=!0,s=e,i={};let o=null,l=nt,a=null,c=!1,f="initialValue"in i,u=typeof r=="function"&&O(r);const g=new Set,[y,E]=(i.storage||S)(i.initialValue),[T,B]=S(void 0),[U,D]=S(void 0,{equals:!1}),[R,M]=S(f?"ready":"unresolved");h.context&&(a=h.getNextContextId(),i.ssrLoadFrom==="initial"?l=i.initialValue:h.load&&h.has(a)&&(l=h.load(a)));function N(x,A,_,k){return o===x&&(o=null,k!==void 0&&(f=!0),(x===l||A===l)&&i.onHydrated&&queueMicrotask(()=>i.onHydrated(k,{value:A})),l=nt,Je(A,_)),A}function Je(x,A){L(()=>{A===void 0&&E(()=>x),M(A!==void 0?"errored":f?"ready":"unresolved"),B(A);for(const _ of g.keys())_.decrement();g.clear()},!1)}function et(){const x=xn,A=y(),_=T();if(_!==void 0&&!o)throw _;return w&&w.user,A}function tt(x=!0){if(x!==!1&&c)return;c=!1;const A=u?u():r;if(A==null||A===!1){N(o,C(y));return}let _;const k=l!==nt?l:C(()=>{try{return s(A,{value:y(),refetching:x})}catch(ye){_=ye}});if(_!==void 0){N(o,void 0,Ue(_),A);return}else if(!En(k))return N(o,k,void 0,A),k;return o=k,"v"in k?(k.s===1?N(o,k.v,void 0,A):N(o,void 0,Ue(k.v),A),k):(c=!0,queueMicrotask(()=>c=!1),L(()=>{M(f?"refreshing":"pending"),D()},!1),k.then(ye=>N(k,ye,void 0,A),ye=>N(k,void 0,Ue(ye),A)))}Object.defineProperties(et,{state:{get:()=>R()},error:{get:()=>T()},loading:{get(){const x=R();return x==="pending"||x==="refreshing"}},latest:{get(){if(!f)return et();const x=T();if(x&&!o)throw x;return y()}}});let vt=v;return u?bn(()=>(vt=v,tt(!1))):tt(!1),[et,{refetch:x=>Ft(vt,()=>tt(x)),mutate:E}]}function Hr(e){return L(e,!1)}function C(e){if(w===null)return e();const t=w;w=null;try{return e()}finally{w=t}}function Xr(e,t,n){const r=Array.isArray(e);let s,i=n&&n.defer;return o=>{let l;if(r){l=Array(e.length);for(let c=0;c<e.length;c++)l[c]=e[c]()}else l=e();if(i)return i=!1,o;const a=C(()=>t(l,s,o));return s=l,a}}function An(e){Bt(()=>C(e))}function we(e){return v===null||(v.cleanups===null?v.cleanups=[e]:v.cleanups.push(e)),e}function Et(){return v}function Ft(e,t){const n=v,r=w;v=e,w=null;try{return L(t,!0)}catch(s){mt(s)}finally{v=n,w=r}}function On(e){const t=w,n=v;return Promise.resolve().then(()=>{w=t,v=n;let r;return L(e,!1),w=v=null,r?r.done:void 0})}var[Tn,Wr]=S(!1);function Yr(){return[Tn,On]}function Zr(e,t){const n=Symbol("context");return{id:n,Provider:kn(n),defaultValue:e}}function Jr(e){let t;return v&&v.context&&(t=v.context[e.id])!==void 0?t:e.defaultValue}function Ut(e){const t=O(e),n=O(()=>ot(t()));return n.toArray=()=>{const r=n();return Array.isArray(r)?r:r!=null?[r]:[]},n}var xn;function qt(){if(this.sources&&this.state)if(this.state===j)ge(this);else{const e=I;I=null,L(()=>He(this),!1),I=e}if(w){const e=this.observers?this.observers.length:0;w.sources?(w.sources.push(this),w.sourceSlots.push(e)):(w.sources=[this],w.sourceSlots=[e]),this.observers?(this.observers.push(w),this.observerSlots.push(w.sources.length-1)):(this.observers=[w],this.observerSlots=[w.sources.length-1])}return this.value}function Qt(e,t,n){let r=e.value;return(!e.comparator||!e.comparator(r,t))&&(e.value=t,e.observers&&e.observers.length&&L(()=>{for(let s=0;s<e.observers.length;s+=1){const i=e.observers[s],o=rt&&rt.running;o&&rt.disposed.has(i),(o?!i.tState:!i.state)&&(i.pure?I.push(i):$.push(i),i.observers&&zt(i)),o||(i.state=j)}if(I.length>1e6)throw I=[],new Error},!1)),t}function ge(e){if(!e.fn)return;be(e);const t=We;Cn(e,e.value,t)}function Cn(e,t,n){let r;const s=v,i=w;w=v=e;try{r=e.fn(t)}catch(o){return e.pure&&(e.state=j,e.owned&&e.owned.forEach(be),e.owned=null),e.updatedAt=n+1,mt(o)}finally{w=i,v=s}(!e.updatedAt||e.updatedAt<=n)&&(e.updatedAt!=null&&"observers"in e?Qt(e,r):e.value=r,e.updatedAt=n)}function Ye(e,t,n,r=j,s){const i={fn:e,state:r,updatedAt:null,owned:null,sources:null,
2sourceSlots:null,cleanups:null,value:t,owner:v,context:v?v.context:null,pure:n};return v===null||v!==jt&&(v.owned?v.owned.push(i):v.owned=[i]),i}function Ge(e){if(e.state===0)return;if(e.state===ze)return He(e);if(e.suspense&&C(e.suspense.inFallback))return e.suspense.effects.push(e);const t=[e];for(;(e=e.owner)&&(!e.updatedAt||e.updatedAt<We);)e.state&&t.push(e);for(let n=t.length-1;n>=0;n--)if(e=t[n],e.state===j)ge(e);else if(e.state===ze){const r=I;I=null,L(()=>He(e,t[0]),!1),I=r}}function L(e,t){if(I)return e();let n=!1;t||(I=[]),$?n=!0:$=[],We++;try{const r=e();return Pn(n),r}catch(r){n||($=null),I=null,mt(r)}}function Pn(e){if(I&&(Kt(I),I=null),e)return;const t=$;$=null,t.length&&L(()=>$t(t),!1)}function Kt(e){for(let t=0;t<e.length;t++)Ge(e[t])}function In(e){let t,n=0;for(t=0;t<e.length;t++){const r=e[t];r.user?e[n++]=r:Ge(r)}if(h.context){if(h.count){h.effects||(h.effects=[]),h.effects.push(...e.slice(0,n));return}me()}for(h.effects&&(h.done||!h.count)&&(e=[...h.effects,...e],n+=h.effects.length,delete h.effects),t=0;t<n;t++)Ge(e[t])}function He(e,t){e.state=0;for(let n=0;n<e.sources.length;n+=1){const r=e.sources[n];if(r.sources){const s=r.state;s===j?r!==t&&(!r.updatedAt||r.updatedAt<We)&&Ge(r):s===ze&&He(r,t)}}}function zt(e){for(let t=0;t<e.observers.length;t+=1){const n=e.observers[t];n.state||(n.state=ze,n.pure?I.push(n):$.push(n),n.observers&&zt(n))}}function be(e){let t;if(e.sources)for(;e.sources.length;){const n=e.sources.pop(),r=e.sourceSlots.pop(),s=n.observers;if(s&&s.length){const i=s.pop(),o=n.observerSlots.pop();r<s.length&&(i.sourceSlots[o]=r,s[r]=i,n.observerSlots[r]=o)}}if(e.tOwned){for(t=e.tOwned.length-1;t>=0;t--)be(e.tOwned[t]);delete e.tOwned}if(e.owned){for(t=e.owned.length-1;t>=0;t--)be(e.owned[t]);e.owned=null}if(e.cleanups){for(t=e.cleanups.length-1;t>=0;t--)e.cleanups[t]();e.cleanups=null}e.state=0}function Ue(e){return e instanceof Error?e:new Error(typeof e=="string"?e:"Unknown error",{cause:e})}function mt(e,t=v){throw Ue(e)}function ot(e){if(typeof e=="function"&&!e.length)return ot(e());if(Array.isArray(e)){const t=[];for(let n=0;n<e.length;n++){const r=ot(e[n]);Array.isArray(r)?t.push.apply(t,r):t.push(r)}return t}return e}function kn(e,t){return function(r){let s;return z(()=>s=C(()=>(v.context={...v.context,[e]:r.value},Ut(()=>r.children))),void 0),s}}var lt=Symbol("fallback");function Xe(e){for(let t=0;t<e.length;t++)e[t]()}function Nn(e,t,n={}){let r=[],s=[],i=[],o=0,l=t.length>1?[]:null;return we(()=>Xe(i)),()=>{let a=e()||[],c=a.length,f,u;return a[Lt],C(()=>{let y,E,T,B,U,D,R,M,N;if(c===0)o!==0&&(Xe(i),i=[],r=[],s=[],o=0,l&&(l=[])),n.fallback&&(r=[lt],s[0]=K(Je=>(i[0]=Je,n.fallback())),o=1);else if(o===0){for(s=new Array(c),u=0;u<c;u++)r[u]=a[u],s[u]=K(g);o=c}else{for(T=new Array(c),B=new Array(c),l&&(U=new Array(c)),D=0,R=Math.min(o,c);D<R&&r[D]===a[D];D++);for(R=o-1,M=c-1;R>=D&&M>=D&&r[R]===a[M];R--,M--)T[M]=s[R],B[M]=i[R],l&&(U[M]=l[R]);for(y=new Map,E=new Array(M+1),u=M;u>=D;u--)N=a[u],f=y.get(N),E[u]=f===void 0?-1:f,y.set(N,u);for(f=D;f<=R;f++)N=r[f],u=y.get(N),u!==void 0&&u!==-1?(T[u]=s[f],B[u]=i[f],l&&(U[u]=l[f]),u=E[u],y.set(N,u)):i[f]();for(u=D;u<c;u++)u in T?(s[u]=T[u],i[u]=B[u],l&&(l[u]=U[u],l[u](u))):s[u]=K(g);s=s.slice(0,o=c),r=a.slice(0)}return s});function g(y){if(i[u]=y,l){const[E,T]=S(u);return l[u]=T,t(a[u],E)}return t(a[u])}}}function Rn(e,t,n={}){let r=[],s=[],i=[],o=[],l=0,a;return we(()=>Xe(i)),()=>{const c=e()||[],f=c.length;return c[Lt],C(()=>{if(f===0)return l!==0&&(Xe(i),i=[],r=[],s=[],l=0,o=[]),n.fallback&&(r=[lt],s[0]=K(g=>(i[0]=g,n.fallback())),l=1),s;for(r[0]===lt&&(i[0](),i=[],r=[],s=[],l=0),a=0;a<f;a++)a<r.length&&r[a]!==c[a]?o[a](()=>c[a]):a>=r.length&&(s[a]=K(u));for(;a<r.length;a++)i[a]();return l=o.length=i.length=f,r=c.slice(0),s=s.slice(0,l)});function u(g){i[a]=g;const[y,E]=S(c[a]);return o[a]=E,t(y,a)}}}function Gt(e,t){return C(()=>e(t||{}))}function Le(){return!0}var at={get(e,t,n){return t===Qe?n:e.get(t)},has(e,t){return t===Qe?!0:e.has(t)},set:Le,deleteProperty:Le,getOwnPropertyDescriptor(e,t){return{configurable:!0,enumerable:!0,get(){return e.get(t)},set:Le,deleteProperty:Le}},ownKeys(e){return e.keys()}};function st(e){return(e=typeof e=="function"?e():e)?e:{}}function Dn(){for(let e=0,t=this.length;e<t;++e){const n=this[e]();if(n!==void 0)return n}}function Ht(...e){let t=!1;for(let o=0;o<e.length;o++){const l=e[o];t=t||!!l&&Qe in l,e[o]=typeof l=="function"?(t=!0,O(l)):l}if(Vt&&t)return new Proxy({get(o){for(let l=e.length-1;l>=0;l--){const a=st(e[l])[o];if(a!==void 0)return a}},has(o){for(let l=e.length-1;l>=0;l--)if(o in st(e[l]))return!0;return!1},keys(){const o=[];for(let l=0;l<e.length;
2l++)o.push(...Object.keys(st(e[l])));return[...new Set(o)]}},at);const n={},r=Object.create(null);for(let o=e.length-1;o>=0;o--){const l=e[o];if(!l)continue;const a=Object.getOwnPropertyNames(l);for(let c=a.length-1;c>=0;c--){const f=a[c];if(f==="__proto__"||f==="constructor")continue;const u=Object.getOwnPropertyDescriptor(l,f);if(!r[f])r[f]=u.get?{enumerable:!0,configurable:!0,get:Dn.bind(n[f]=[u.get.bind(l)])}:u.value!==void 0?u:void 0;else{const g=n[f];g&&(u.get?g.push(u.get.bind(l)):u.value!==void 0&&g.push(()=>u.value))}}}const s={},i=Object.keys(r);for(let o=i.length-1;o>=0;o--){const l=i[o],a=r[l];a&&a.get?Object.defineProperty(s,l,a):s[l]=a?a.value:void 0}return s}function Mn(e,...t){if(Vt&&Qe in e){const s=new Set(t.length>1?t.flat():t[0]),i=t.map(o=>new Proxy({get(l){return o.includes(l)?e[l]:void 0},has(l){return o.includes(l)&&l in e},keys(){return o.filter(l=>l in e)}},at));return i.push(new Proxy({get(o){return s.has(o)?void 0:e[o]},has(o){return s.has(o)?!1:o in e},keys(){return Object.keys(e).filter(o=>!s.has(o))}},at)),i}const n={},r=t.map(()=>({}));for(const s of Object.getOwnPropertyNames(e)){const i=Object.getOwnPropertyDescriptor(e,s),o=!i.get&&!i.set&&i.enumerable&&i.writable&&i.configurable;let l=!1,a=0;for(const c of t)c.includes(s)&&(l=!0,o?r[a][s]=i.value:Object.defineProperty(r[a],s,i)),++a;l||(o?n[s]=i.value:Object.defineProperty(n,s,i))}return[...r,n]}function Xt(e){let t,n;const r=s=>{const i=h.context;if(i){const[l,a]=S();h.count||(h.count=0),h.count++,(n||(n=e())).then(c=>{!h.done&&me(i),h.count--,a(()=>c.default),me()}),t=l}else if(!t){const[l]=Sn(()=>(n||(n=e())).then(a=>a.default));t=l}let o;return O(()=>(o=t())?C(()=>{if(!i||h.done)return o(s);const l=h.context;me(i);const a=o(s);return me(l),a}):"")};return r.preload=()=>n||((n=e()).then(s=>t=()=>s.default),n),r}var _n=0;function es(){return h.context?h.getNextContextId():`cl-${_n++}`}var Wt=e=>`Stale read from <${e}>.`;function ts(e){const t="fallback"in e&&{fallback:()=>e.fallback};return O(Nn(()=>e.each,e.children,t||void 0))}function ns(e){const t="fallback"in e&&{fallback:()=>e.fallback};return O(Rn(()=>e.each,e.children,t||void 0))}function rs(e){const t=e.keyed,n=O(()=>e.when,void 0,void 0),r=t?n:O(n,void 0,{equals:(s,i)=>!s==!i});return O(()=>{const s=r();if(s){const i=e.children;return typeof i=="function"&&i.length>0?C(()=>i(t?s:()=>
2{if(!C(r))throw Wt("Show");return n()})):i}return e.fallback},void 0,void 0)}function ss(e){const t=Ut(()=>e.children),n=O(()=>{const r=t(),s=Array.isArray(r)?r:[r];let i=()=>{};for(let o=0;o<s.length;o++){const l=o,a=s[o],c=i,f=O(()=>c()?void 0:a.when,void 0,void 0),u=a.keyed?f:O(f,void 0,{equals:(g,y)=>!g==!y});i=()=>c()||(u()?[l,f,a]:void 0)}return i});return O(()=>{const r=n()();if(!r)return e.fallback;const[s,i,o]=r,l=o.children;return typeof l=="function"&&l.length>0?C(()=>l(o.keyed?i():()=>{var c;if(((c=C(n)())==null?void 0:c[0])!==s)throw Wt("Match");return i()})):l},void 0,void 0)}function is(e){return e}var Vn=["allowfullscreen","async","autofocus","autoplay","checked","controls","default","disabled","formnovalidate","hidden","indeterminate","inert","ismap","loop","multiple","muted","nomodule","novalidate","open","playsinline","readonly","required","reversed","seamless","selected"],Ln=new Set(["className","value","readOnly","noValidate","formNoValidate","isMap","noModule","playsInline",...Vn]),$n=new Set(["innerHTML","textContent","innerText","children"]),jn=Object.assign(Object.create(null),{className:"class",htmlFor:"for"}),Bn=Object.assign(Object.create(null),{class:"className",novalidate:{$:"noValidate",FORM:1},formnovalidate:{$:"formNoValidate",BUTTON:1,INPUT:1},ismap:{$:"isMap",IMG:1},nomodule:{$:"noModule",SCRIPT:1},playsinline:{$:"playsInline",VIDEO:1},readonly:{$:"readOnly",INPUT:1,TEXTAREA:1}});function Fn(e,t){const n=Bn[e];return typeof n=="object"?n[t]?n.$:void 0:n}var Un=new Set(["beforeinput","click","dblclick","contextmenu","focusin","focusout","input","keydown","keyup","mousedown","mousemove","mouseout","mouseover","mouseup","pointerdown","pointermove","pointerout","pointerover","pointerup","touchend","touchmove","touchstart"]),qn=new Set(["altGlyph","altGlyphDef","altGlyphItem","animate","animateColor","animateMotion","animateTransform","circle","clipPath","color-profile","cursor","defs","desc","ellipse","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","filter","font","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignObject","g","glyph","glyphRef","hkern","image","line","linearGradient","marker","mask","metadata","missing-glyph","mpath","path","pattern","polygon","polyline","radialGradient","rect","set","stop","svg","switch","symbol","text","textPath","tref","tspan","use","view","vkern"]),Qn={xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace"},os=e=>O(()=>e());function Kn(e,t,n){let r=n.length,s=t.length,i=r,o=0,l=0,a=t[s-1].nextSibling,c=null;for(;o<s||l<i;){if(t[o]===n[l]){o++,l++;continue}for(;t[s-1]===n[i-1];)s--,i--;if(s===o){const f=i<r?l?n[l-1].nextSibling:n[i-l]:a;for(;l<i;)e.insertBefore(n[l++],f)}else if(i===l)for(;o<s;)(!c||!c.has(t[o]))&&t[o].remove(),o++;else if(t[o]===n[i-1]&&n[l]===t[s-1]){const f=t[--s].nextSibling;e.insertBefore(n[l++],t[o++].nextSibling),e.insertBefore(n[--i],f),t[s]=n[i]}else{if(!c){c=new Map;let u=l;for(;u<i;)c.set(n[u],u++)}const f=c.get(t[o]);if(f!=null)if(l<f&&f<i){let u=o,g=1,y;for(;++u<s&&u<i&&!((y=c.get(t[u]))==null||y!==f+g);)g++;if(g>f-l){const E=t[o];for(;l<f;)e.insertBefore(n[l++],E)}else e.replaceChild(n[l++],t[o++])}else o++;else t[o++].remove()}}}var ve="_$DX_DELEGATE";function Yt(e,t,n,r={}){let s;return K(i=>{s=i,t===document?e():ct(t,e(),t.firstChild?null:void 0,n)},r.owner),()=>{s(),t.textContent=""}}function ls(e,t,n,r){let s;const i=()=>{const l=document.createElement("template");return l.innerHTML=e,l.content.firstChild},o=()=>(s||(s=i())).cloneNode(!0);return o.cloneNode=o,o}function zn(e,t=window.document){const n=t[ve]||(t[ve]=new Set);for(let r=0,s=e.length;r<s;r++){const i=e[r];n.has(i)||(n.add(i),t.addEventListener(i,Zt))}}function as(e=window.document){if(e[ve]){for(let t of e[ve].keys())e.removeEventListener(t,Zt);delete e[ve]}}function ut(e,t,n){G(e)||(n==null?e.removeAttribute(t):e.setAttribute(t,n))}function Gn(e,t,n,r){G(e)||(r==null?e.removeAttributeNS(t,n):e.setAttributeNS(t,n,r))}function Hn(e,t,n){G(e)||(n?e.setAttribute(t,""):e.removeAttribute(t))}function Xn(e,t){G(e)||(t==null?e.removeAttribute("class"):e.className=t)}function Wn(e,t,n,r){if(r)Array.isArray(n)?(e[`$$${t}`]=n[0],e[`$$${t}Data`]=n[1]):e[`$$${t}`]=n;else if(Array.isArray(n)){const s=n[0];e.addEventListener(t,n[0]=i=>s.call(e,n[1],i))}else e.addEventListener(t,n,typeof n!="function"&&n)}function Yn(e,t,n={}){const r=Object.keys(t||{}),s=Object.keys(n);let i,o;for(i=0,o=s.length;i<o;i++){const l=s[i];!l||l==="undefined"||t[l]||(St(e,l,!1),delete n[l])}for(i=0,o=r.length;i<o;i++){const l=r[i],a=!!t[l];!l||l==="undefined"||n[l]===a||!a||(St(e,l,!0),n[l]=a)}return n}function Zn(e,t,n){if(!t)return n?ut(e,"style"):t;const r=e.style;if(typeof t=="string")return r.cssText=t;typeof n=="string"&&(r.cssText=n=void 0),n||(n={}),t||(t={});let s,i;for(i in n)t[i]==null&&r.removeProperty(i),delete n[i];for(i in t)s=t[i],s!==n[i]&&(r.setProperty(i,s),n[i]=s);return n}function Jn(e,t={},n,r){const s={};return r||z(()=>s.children=Ee(e,t.children,s.children)),z(()=>typeof t.ref=="function"&&er(t.ref,e)),z(()=>tr(e,t,n,!0,s,!0)),s}function er(e,t,n){return C(()=>e(t,n))}function ct(e,t,n,r){if(n!==void 0&&!r&&(r=[]),typeof t!="function")return Ee(e,t,r,n);z(s=>Ee(e,t(),s,n),r)}function tr(e,t,n,r,s={},i=!1){t||(t={});for(const o in s)if(!(o in t)){if(o==="children")continue;s[o]=At(e,o,null,s[o],n,i,t)}for(const o in t){if(o==="children")continue;const l=t[o];s[o]=At(e,o,l,s[o],n,i,t)}}function nr(e){let t,n;return!G()||!(t=h.registry.get(n=sr()))?e():(h.completed&&h.completed.add(t),h.registry.delete(n),t)}function G(e){return!!h.context&&!h.done&&(!e||e.isConnected)}function rr(e){return e.toLowerCase().replace(/-([a-z])/g,(t,n)=>n.toUpperCase())}function St(e,t,n){const r=t.trim().split(/\s+/);for(let s=0,i=r.length;s<i;s++)e.classList.toggle(r[s],n)}function At(e,t,n,r,s,i,o){let l,a,c,f,u;if(t==="style")return Zn(e,n,r);if(t==="classList")return Yn(e,n,r);if(n===r)return r;if(t==="ref")i||n(e);else if(t.slice(0,3)==="on:"){const g=t.slice(3);r&&e.removeEventListener(g,r,typeof r!="function"&&r),n&&e.addEventListener(g,n,typeof n!="function"&&n)}else if(t.slice(0,10)==="oncapture:"){const g=t.slice(10);r&&e.removeEventListener(g,r,!0),n&&e.addEventListener(g,n,!0)}else if(t.slice(0,2)==="on"){const g=t.slice(2).toLowerCase(),y=Un.has(g);if(!y&&r){const E=Array.isArray(r)?r[0]:r;e.removeEventListener(g,E)}(y||n)&&(Wn(e,g,n,y),y&&zn([g]))}else if(t.slice(0,5)==="attr:")ut(e,t.slice(5),n);else if(t.slice(0,5)==="bool:")Hn(e,t.slice(5),n);else if((u=t.slice(0,5)==="prop:")||(c=$n.has(t))||!s&&((f=Fn(t,e.tagName))||(a=Ln.has(t)))||(l=e.nodeName.includes("-")||"is"in o)){if(u)t=t.slice(5),a=!0;else if(G(e))return n;t==="class"||t==="className"?Xn(e,n):l&&!a&&!c?e[rr(t)]=n:e[f||t]=n}else{const g=s&&t.indexOf(":")>-1&&Qn[t.split(":")[0]];g?Gn(e,g,t,n):ut(e,jn[t]||t,n)}return n}function Zt(e){if(h.registry&&h.events&&h.events.find(([a,c])=>c===e))return;let t=e.target;const n=`$$${e.type}`,r=e.target,s=e.currentTarget,i=a=>Object.defineProperty(e,"target",{configurable:!0,value:a}),o=()=>{const a=t[n];if(a&&!t.disabled){const c=t[`${n}Data`];if(c!==void 0?a.call(t,c,e):a.call(t,e),e.cancelBubble)return}return t.host&&typeof t.host!="string"&&!t.host._$host&&t.contains(e.target)&&i(t.host),!0},l=()=>{for(;o()&&(t=t._$host||t.parentNode||t.host););};if(Object.defineProperty(e,"currentTarget",{configurable:!0,get(){return t||document}}),h.registry&&!h.done&&(h.done=_$HY.done=!0),e.composedPath){const a=e.composedPath();i(a[0]);for(let c=0;c<a.length-2&&(t=a[c],!!o());c++){if(t._$host){t=t._$host,l();break}if(t.parentNode===s)break}}else l();i(r)}
2function Ee(e,t,n,r,s){const i=G(e);if(i){!n&&(n=[...e.childNodes]);let a=[];for(let c=0;c<n.length;c++){const f=n[c];f.nodeType===8&&f.data.slice(0,2)==="!$"?f.remove():a.push(f)}n=a}for(;typeof n=="function";)n=n();if(t===n)return n;const o=typeof t,l=r!==void 0;if(e=l&&n[0]&&n[0].parentNode||e,o==="string"||o==="number"){if(i||o==="number"&&(t=t.toString(),t===n))return n;if(l){let a=n[0];a&&a.nodeType===3?a.data!==t&&(a.data=t):a=document.createTextNode(t),n=H(e,n,r,a)}else n!==""&&typeof n=="string"?n=e.firstChild.data=t:n=e.textContent=t}else if(t==null||o==="boolean"){if(i)return n;n=H(e,n,r)}else{if(o==="function")return z(()=>{let a=t();for(;typeof a=="function";)a=a();n=Ee(e,a,n,r)}),()=>n;if(Array.isArray(t)){const a=[],c=n&&Array.isArray(n);if(ft(a,t,n,s))return z(()=>n=Ee(e,a,n,r,!0)),()=>n;if(i){if(!a.length)return n;if(r===void 0)return n=[...e.childNodes];let f=a[0];if(f.parentNode!==e)return n;const u=[f];for(;(f=f.nextSibling)!==r;)u.push(f);return n=u}if(a.length===0){if(n=H(e,n,r),l)return n}else c?n.length===0?Ot(e,a,r):Kn(e,n,a):(n&&H(e),Ot(e,a));n=a}else if(t.nodeType){if(i&&t.parentNode)return n=l?[t]:t;if(Array.isArray(n)){if(l)return n=H(e,n,r,t);H(e,n,null,t)}else n==null||n===""||!e.firstChild?e.appendChild(t):e.replaceChild(t,e.firstChild);n=t}}return n}function ft(e,t,n,r){let s=!1;for(let i=0,o=t.length;i<o;i++){let l=t[i],a=n&&n[e.length],c;if(!(l==null||l===!0||l===!1))if((c=typeof l)=="object"&&l.nodeType)e.push(l);else if(Array.isArray(l))s=ft(e,l,a)||s;else if(c==="function")if(r){for(;typeof l=="function";)l=l();s=ft(e,Array.isArray(l)?l:[l],Array.isArray(a)?a:[a])||s}else e.push(l),s=!0;else{const f=String(l);a&&a.nodeType===3&&a.data===f?e.push(a):e.push(document.createTextNode(f))}}return s}function Ot(e,t,n=null){for(let r=0,s=t.length;r<s;r++)e.insertBefore(t[r],n)}function H(e,t,n,r){if(n===void 0)return e.textContent="";const s=r||document.createTextNode("");if(t.length){let i=!1;for(let o=t.length-1;o>=0;o--){const l=t[o];if(s!==l){const a=l.parentNode===e;!i&&!o?a?e.replaceChild(s,l):e.insertBefore(s,n):a&&l.remove()}else i=!0}}else e.insertBefore(s,n);return[s]}function sr(){return h.getNextContextId()}var ir="http://www.w3.org/2000/svg";function Jt(e,t=!1){return t?document.createElementNS(ir,e):document.createElement(e)}function us(e){const{useShadow:t}=e,n=document.createTextNode(""),r=()=>e.mount||document.body,s=Et();let i,o=!!h.context;return Bt(()=>{o&&(Et().user=o=!1),i||(i=Ft(s,()=>O(()=>e.children)));const l=r();if(l instanceof HTMLHeadElement){const[a,c]=S(!1),f=()=>c(!0);K(u=>ct(l,()=>a()?u():i(),null)),we(f)}else{const a=Jt(e.isSVG?"g":"div",e.isSVG),c=t&&a.attachShadow?a.attachShadow({mode:"open"}):a;Object.defineProperty(a,"_$host",{get(){return n.parentNode},configurable:!0}),ct(c,i),l.appendChild(a),e.ref&&e.ref(a),we(()=>l.removeChild(a))}},void 0,{render:!o}),n}function or(e,t){const n=O(e);return O(()=>{const r=n();switch(typeof r){case"function":return C(()=>r(t));case"string":const s=qn.has(r),i=h.context?nr():Jt(r,s);return Jn(i,t,s),i}})}function cs(e){const[,t]=Mn(e,["component"]);return or(()=>e.component,t)}var lr=class{constructor(){this.keyToValue=new Map,this.valueToKey=new Map}set(e,t){this.keyToValue.set(e,t),this.valueToKey.set(t,e)}getByKey(e){return this.keyToValue.get(e)}getByValue(e){return this.valueToKey.get(e)}clear(){this.keyToValue.clear(),this.valueToKey.clear()}},en=class{constructor(e){this.generateIdentifier=e,this.kv=new lr}register(e,t){this.kv.getByValue(e)||(t||(t=this.generateIdentifier(e)),this.kv.set(t,e))}clear(){this.kv.clear()}getIdentifier(e){return this.kv.getByValue(e)}getValue(e){return this.kv.getByKey(e)}},ar=class extends en{constructor(){super(e=>e.name),this.classToAllowedProps=new Map}register(e,t){typeof t=="object"?(t.allowProps&&this.classToAllowedProps.set(e,t.allowProps),super.register(e,t.identifier)):super.register(e,t)}getAllowedProps(e){return this.classToAllowedProps.get(e)}};function ur(e){if("values"in Object)return Object.values(e);const t=[];for(const n in e)e.hasOwnProperty(n)&&t.push(e[n]);return t}function cr(e,t){const n=ur(e);if("find"in n)return n.find(t);const r=n;for(let s=0;s<r.length;s++){const i=r[s];if(t(i))return i}}function he(e,t){Object.entries(e).forEach(([n,r])=>t(r,n))}function qe(e,t){return e.indexOf(t)!==-1}function Tt(e,t){for(let n=0;n<e.length;n++){const r=e[n];if(t(r))return r}}var fr=class{constructor(){this.transfomers={}}register(e){this.transfomers[e.name]=e}findApplicable(e){return cr(this.transfomers,t=>t.isApplicable(e))}findByName(e){return this.transfomers[e]}},dr=e=>Object.prototype.toString.call(e).slice(8,-1),tn=e=>typeof e>"u",hr=e=>e===null,Se=e=>typeof e!="object"||e===null||e===Object.prototype?!1:Object.getPrototypeOf(e)===null?!0:Object.getPrototypeOf(e)===Object.prototype,dt=e=>Se(e)&&Object.keys(e).length===0,F=e=>Array.isArray(e),gr=e=>typeof e=="string",yr=e=>typeof e=="number"&&!isNaN(e),mr=e=>typeof e=="boolean",vr=e=>e instanceof RegExp,Ae=e=>e instanceof Map,Oe=e=>e instanceof Set,nn=e=>dr(e)==="Symbol",pr=e=>e instanceof Date&&!isNaN(e.valueOf()),wr=e=>e instanceof Error,xt=e=>typeof e=="number"&&isNaN(e),br=e=>mr(e)||hr(e)||tn(e)||yr(e)||gr(e)||nn(e),Er=e=>typeof e=="bigint",Sr=e=>e===1/0||e===-1/0,Ar=e=>ArrayBuffer.isView(e)&&!(e instanceof DataView),Or=e=>e instanceof URL,rn=e=>e.replace(/\./g,"\\."),it=e=>e.map(String).map(rn).join("."),pe=e=>{const t=[];let n="";for(let s=0;s<e.length;s++){let i=e.charAt(s);if(i==="\\"&&e.charAt(s+1)==="."){n+=".",s++;continue}if(i==="."){t.push(n),n="";continue}n+=i}const r=n;return t.push(r),t};function V(e,t,n,r){return{isApplicable:e,annotation:t,transform:n,untransform:r}}var sn=[V(tn,"undefined",()=>null,()=>{}),V(Er,"bigint",e=>e.toString(),e=>typeof BigInt<"u"?BigInt(e):e),V(pr,"Date",e=>e.toISOString(),e=>new Date(e)),V(wr,"Error",(e,t)=>{const n={name:e.name,message:e.message};return t.allowedErrorProps.forEach(r=>{n[r]=e[r]}),n},(e,t)=>{const n=new Error(e.message);return n.name=e.name,n.stack=e.stack,t.allowedErrorProps.forEach(r=>{n[r]=e[r]}),n}),V(vr,"regexp",e=>""+e,e=>{const t=e.slice(1,e.lastIndexOf("/")),n=e.slice(e.lastIndexOf("/")+1);return new RegExp(t,n)}
2),V(Oe,"set",e=>[...e.values()],e=>new Set(e)),V(Ae,"map",e=>[...e.entries()],e=>new Map(e)),V(e=>xt(e)||Sr(e),"number",e=>xt(e)?"NaN":e>0?"Infinity":"-Infinity",Number),V(e=>e===0&&1/e===-1/0,"number",()=>"-0",Number),V(Or,"URL",e=>e.toString(),e=>new URL(e))];function Ze(e,t,n,r){return{isApplicable:e,annotation:t,transform:n,untransform:r}}var on=Ze((e,t)=>nn(e)?!!t.symbolRegistry.getIdentifier(e):!1,(e,t)=>["symbol",t.symbolRegistry.getIdentifier(e)],e=>e.description,(e,t,n)=>{const r=n.symbolRegistry.getValue(t[1]);if(!r)throw new Error("Trying to deserialize unknown symbol");return r}),Tr=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array,Uint8ClampedArray].reduce((e,t)=>(e[t.name]=t,e),{}),ln=Ze(Ar,e=>["typed-array",e.constructor.name],e=>[...e],(e,t)=>{const n=Tr[t[1]];if(!n)throw new Error("Trying to deserialize unknown typed array");return new n(e)});function an(e,t){return e!=null&&e.constructor?!!t.classRegistry.getIdentifier(e.constructor):!1}var un=Ze(an,(e,t)=>["class",t.classRegistry.getIdentifier(e.constructor)],(e,t)=>{const n=t.classRegistry.getAllowedProps(e.constructor);if(!n)return{...e};const r={};return n.forEach(s=>{r[s]=e[s]}),r},(e,t,n)=>{const r=n.classRegistry.getValue(t[1]);if(!r)throw new Error(`Trying to deserialize unknown class '${t[1]}' - check https://github.com/blitz-js/superjson/issues/116#issuecomment-773996564`);return Object.assign(Object.create(r.prototype),e)}),cn=Ze((e,t)=>!!t.customTransformerRegistry.findApplicable(e),(e,t)=>["custom",t.customTransformerRegistry.findApplicable(e).name],(e,t)=>t.customTransformerRegistry.findApplicable(e).serialize(e),(e,t,n)=>{const r=n.customTransformerRegistry.findByName(t[1]);if(!r)throw new Error("Trying to deserialize unknown custom value");return r.deserialize(e)}),xr=[un,on,cn,ln],Ct=(e,t)=>{const n=Tt(xr,s=>s.isApplicable(e,t));if(n)return{value:n.transform(e,t),type:n.annotation(e,t)};const r=Tt(sn,s=>s.isApplicable(e,t));if(r)return{value:r.transform(e,t),type:r.annotation}},fn={};sn.forEach(e=>{fn[e.annotation]=e});var Cr=(e,t,n)=>{if(F(t))switch(t[0]){case"symbol":return on.untransform(e,t,n);case"class":return un.untransform(e,t,n);case"custom":return cn.untransform(e,t,n);case"typed-array":return ln.untransform(e,t,n);default:throw new Error("Unknown transformation: "+t)}else{const r=fn[t];if(!r)throw new Error("Unknown transformation: "+t);return r.untransform(e,n)}},X=(e,t)=>{if(t>e.size)throw new Error("index out of bounds");const n=e.keys();for(;t>0;)n.next(),t--;return n.next().value};function dn(e){if(qe(e,"__proto__"))throw new Error("__proto__ is not allowed as a property");if(qe(e,"prototype"))throw new Error("prototype is not allowed as a property");if(qe(e,"constructor"))throw new Error("constructor is not allowed as a property")}var Pr=(e,t)=>{dn(t);for(let n=0;n<t.length;n++){const r=t[n];if(Oe(e))e=X(e,+r);else if(Ae(e)){const s=+r,i=+t[++n]==0?"key":"value",o=X(e,s);switch(i){case"key":e=o;break;case"value":e=e.get(o);break}}else e=e[r]}return e},ht=(e,t,n)=>{if(dn(t),t.length===0)return n(e);let r=e;for(let i=0;i<t.length-1;i++){const o=t[i];if(F(r)){const l=+o;r=r[l]}else if(Se(r))r=r[o];else if(Oe(r)){const l=+o;r=X(r,l)}else if(Ae(r)){if(i===t.length-2)break;const a=+o,c=+t[++i]==0?"key":"value",f=X(r,a);switch(c){case"key":r=f;break;case"value":r=r.get(f);break}}}const s=t[t.length-1];if(F(r)?r[+s]=n(r[+s]):Se(r)&&(r[s]=n(r[s])),Oe(r)){const i=X(r,+s),o=n(i);i!==o&&(r.delete(i),r.add(o))}if(Ae(r)){const i=+t[t.length-2],o=X(r,i);switch(+s==0?"key":"value"){case"key":{const a=n(o);r.set(a,r.get(o)),a!==o&&r.delete(o);break}case"value":{r.set(o,n(r.get(o)));break}}}return e};function gt(e,t,n=[]){if(!e)return;if(!F(e)){he(e,(i,o)=>gt(i,t,[...n,...pe(o)]));return}const[r,s]=e;s&&he(s,(i,o)=>{gt(i,t,[...n,...pe(o)])}),t(r,n)}function Ir(e,t,n){return gt(t,(r,s)=>{e=ht(e,s,i=>Cr(i,r,n))}),e}function kr(e,t){function n(r,s){const i=Pr(e,pe(s));r.map(pe).forEach(o=>{e=ht(e,o,()=>i)})}if(F(t)){const[r,s]=t;r.forEach(i=>{e=ht(e,pe(i),()=>e)}),s&&he(s,n)}else he(t,n);return e}var Nr=(e,t)=>
2Se(e)||F(e)||Ae(e)||Oe(e)||an(e,t);function Rr(e,t,n){const r=n.get(e);r?r.push(t):n.set(e,[t])}function Dr(e,t){const n={};let r;return e.forEach(s=>{if(s.length<=1)return;t||(s=s.map(l=>l.map(String)).sort((l,a)=>l.length-a.length));const[i,...o]=s;i.length===0?r=o.map(it):n[it(i)]=o.map(it)}),r?dt(n)?[r]:[r,n]:dt(n)?void 0:n}var hn=(e,t,n,r,s=[],i=[],o=new Map)=>{const l=br(e);if(!l){Rr(e,s,t);const y=o.get(e);if(y)return r?{transformedValue:null}:y}if(!Nr(e,n)){const y=Ct(e,n),E=y?{transformedValue:y.value,annotations:[y.type]}:{transformedValue:e};return l||o.set(e,E),E}if(qe(i,e))return{transformedValue:null};const a=Ct(e,n),c=(a==null?void 0:a.value)??e,f=F(c)?[]:{},u={};he(c,(y,E)=>{if(E==="__proto__"||E==="constructor"||E==="prototype")throw new Error(`Detected property ${E}. This is a prototype pollution risk, please remove it from your object.`);const T=hn(y,t,n,r,[...s,E],[...i,e],o);f[E]=T.transformedValue,F(T.annotations)?u[E]=T.annotations:Se(T.annotations)&&he(T.annotations,(B,U)=>{u[rn(E)+"."+U]=B})});const g=dt(u)?{transformedValue:f,annotations:a?[a.type]:void 0}:{transformedValue:f,annotations:a?[a.type,u]:u};return l||o.set(e,g),g};function gn(e){return Object.prototype.toString.call(e).slice(8,-1)}function Pt(e){return gn(e)==="Array"}function Mr(e){if(gn(e)!=="Object")return!1;const t=Object.getPrototypeOf(e);return!!t&&t.constructor===Object&&t===Object.prototype}function _r(e,t,n,r,s){const i={}.propertyIsEnumerable.call(r,t)?"enumerable":"nonenumerable";i==="enumerable"&&(e[t]=n),s&&i==="nonenumerable"&&Object.defineProperty(e,t,{value:n,enumerable:!1,writable:!0,configurable:!0})}function yt(e,t={}){if(Pt(e))return e.map(s=>yt(s,t));if(!Mr(e))return e;const n=Object.getOwnPropertyNames(e),r=Object.getOwnPropertySymbols(e);return[...n,...r].reduce((s,i)=>{if(Pt(t.props)&&!t.props.includes(i))return s;const o=e[i],l=yt(o,t);return _r(s,i,l,e,t.nonenumerable),s},{})}var b=class{constructor({dedupe:e=!1}={}){this.classRegistry=new ar,this.symbolRegistry=new en(t=>t.description??""),this.customTransformerRegistry=new fr,this.allowedErrorProps=[],this.dedupe=e}serialize(e){const t=new Map,n=hn(e,t,this,this.dedupe),r={json:n.transformedValue};n.annotations&&(r.meta={...r.meta,values:n.annotations});const s=Dr(t,this.dedupe);return s&&(r.meta={...r.meta,referentialEqualities:s}),r}deserialize(e){const{json:t,meta:n}=e;let r=yt(t);return n!=null&&n.values&&(r=Ir(r,n.values,this)),n!=null&&n.referentialEqualities&&(r=kr(r,n.referentialEqualities)),r}stringify(e){return JSON.stringify(this.serialize(e))}parse(e){return this.deserialize(JSON.parse(e))}registerClass(e,t){this.classRegistry.register(e,t)}registerSymbol(e,t){this.symbolRegistry.register(e,t)}registerCustom(e,t){this.customTransformerRegistry.register({name:t,...e})}allowErrorProps(...e){this.allowedErrorProps.push(...e)}};b.defaultInstance=new b;b.serialize=b.defaultInstance.serialize.bind(b.defaultInstance);b.deserialize=b.defaultInstance.deserialize.bind(b.defaultInstance);b.stringify=b.defaultInstance.stringify.bind(b.defaultInstance);b.parse=b.defaultInstance.parse.bind(b.defaultInstance);b.registerClass=b.defaultInstance.registerClass.bind(b.defaultInstance);b.registerSymbol=b.defaultInstance.registerSymbol.bind(b.defaultInstance);b.registerCustom=b.defaultInstance.registerCustom.bind(b.defaultInstance);b.allowErrorProps=b.defaultInstance.allowErrorProps.bind(b.defaultInstance);var Vr=b.serialize,fs=b.stringify;function ds(e){return e.state.fetchStatus==="fetching"?"fetching":e.getObserversCount()?e.state.fetchStatus==="paused"?"paused":e.isStale()?"stale":"fresh":"inactive"}function hs(e,t){return`${e}${t.charAt(0).toUpperCase()+t.slice(1)}`}function gs({queryState:e,observerCount:t,isStale:n}){return e.fetchStatus==="fetching"?"blue":t?e.fetchStatus==="paused"?"purple":n?"yellow":"green":"gray"}function ys({status:e,isPaused:t}){return t?"purple":e==="error"?"red":e==="pending"?"yellow":e==="success"?"green":"gray"}function ms(e){return e==="fresh"?"green":e==="stale"?"yellow":e==="paused"?"purple":e==="inactive"?"gray":"blue"}var vs=(e,t=!1)=>{const{json:n}=Vr(e);return JSON.stringify(n,null,t?2:void 0)},$e=e=>e.state.fetchStatus!=="idle"?0:e.getObserversCount()?e.isStale()?2:1:3,Lr=(e,t)=>
2e.queryHash.localeCompare(t.queryHash),yn=(e,t)=>e.state.dataUpdatedAt<t.state.dataUpdatedAt?1:-1,$r=(e,t)=>$e(e)===$e(t)?yn(e,t):$e(e)>$e(t)?1:-1,ps={status:$r,"query hash":Lr,"last updated":yn},je=e=>e.state.isPaused?0:e.state.status==="error"?2:e.state.status==="pending"?1:3,mn=(e,t)=>e.state.submittedAt<t.state.submittedAt?1:-1,jr=(e,t)=>je(e)===je(t)?mn(e,t):je(e)>je(t)?1:-1,ws={status:jr,"last updated":mn},bs=e=>e*parseFloat(getComputedStyle(document.documentElement).fontSize),Es=()=>{const[e,t]=S("dark");return An(()=>{const n=window.matchMedia("(prefers-color-scheme: dark)");t(n.matches?"dark":"light");const r=s=>{t(s.matches?"dark":"light")};n.addEventListener("change",r),we(()=>n.removeEventListener("change",r))}),e},Be=(e,t,n)=>{if(t.length===0)return n;if(e instanceof Map){const r=new Map(e);if(t.length===1)return r.set(t[0],n),r;const[s,...i]=t;return r.set(s,Be(r.get(s),i,n)),r}if(e instanceof Set){const r=Be(Array.from(e),t,n);return new Set(r)}if(Array.isArray(e)){const r=[...e];if(t.length===1)return r[t[0]]=n,r;const[s,...i]=t;return r[s]=Be(r[s],i,n),r}if(e instanceof Object){const r={...e};if(t.length===1)return r[t[0]]=n,r;const[s,...i]=t;return r[s]=Be(r[s],i,n),r}return e},Fe=(e,t)=>{if(e instanceof Map){const n=new Map(e);if(t.length===1)return n.delete(t[0]),n;const[r,...s]=t;return n.set(r,Fe(n.get(r),s)),n}if(e instanceof Set){const n=Fe(Array.from(e),t);return new Set(n)}if(Array.isArray(e)){const n=[...e];if(t.length===1)return n.filter((i,o)=>o.toString()!==t[0]);const[r,...s]=t;return n[r]=Fe(n[r],s),n}if(e instanceof Object){const n={...e};if(t.length===1)return delete n[t[0]],n;const[r,...s]=t;return n[r]=Fe(n[r],s),n}return e},vn=(e,t)=>{if(!e||document.querySelector("#_goober")||(t==null?void 0:t.querySelector("#_goober")))return;const r=document.createElement("style"),s=document.createTextNode("");r.appendChild(s),r.id="_goober",r.setAttribute("nonce",e),t?t.appendChild(r):document.head.appendChild(r)},W,Te,xe,Ce,q,Pe,Y,Z,J,ee,te,Ie,ne,re,ke,It,Br=(It=class{constructor(e){p(this,W);p(this,Te);p(this,xe);p(this,Ce);p(this,q,!1);p(this,Pe);p(this,Y);p(this,Z);p(this,J);p(this,ee);p(this,te);p(this,Ie);p(this,ne);p(this,re);p(this,ke);const{client:t,queryFlavor:n,version:r,onlineManager:s,buttonPosition:i,position:o,initialIsOpen:l,errorTypes:a,styleNonce:c,shadowDOMTarget:f,hideDisabledQueries:u,theme:g}=e;m(this,W,S(t)),m(this,xe,n),m(this,Ce,r),m(this,Te,s),m(this,Pe,c),m(this,Y,f),m(this,Z,S(i)),m(this,J,S(o)),m(this,ee,S(l)),m(this,te,S(a)),m(this,Ie,S(u)),m(this,re,S(g))}setButtonPosition(e){d(this,Z)[1](e)}setPosition(e){d(this,J)[1](e)}setInitialIsOpen(e){d(this,ee)[1](e)}setErrorTypes(e){d(this,te)[1](e)}setClient(e){d(this,W)[1](e)}setTheme(e){d(this,re)[1](e)}mount(e){if(d(this,q))throw new Error("Devtools is already mounted");const t=Yt(()=>{const n=this,[r]=d(this,Z),[s]=d(this,J),[i]=d(this,ee),[o]=d(this,te),[l]=d(this,Ie),[a]=d(this,W),[c]=d(this,re);let f;return d(this,ne)?f=d(this,ne):(f=Xt(()=>Nt(()=>import("./BAGVG3AX-O053kJx5.js"),__vite__mapDeps([0,1,2,3]))),m(this,ne,f)),vn(d(this,Pe),d(this,Y)),Gt(f,Ht({get queryFlavor(){return d(n,xe)},get version(){return d(n,Ce)},get onlineManager(){return d(n,Te)},get shadowDOMTarget(){return d(n,Y)}},{get client(){return a()},get buttonPosition(){return r()},get position(){return s()},get initialIsOpen(){return i()},get errorTypes(){return o()},get hideDisabledQueries(){return l()},get theme(){return c()}}))},e);m(this,q,!0),m(this,ke,t)}unmount(){var e;if(!d(this,q))throw new Error("Devtools is not mounted");(e=d(this,ke))==null||e.call(this),m(this,q,!1)}},W=new WeakMap,Te=new WeakMap,xe=new WeakMap,Ce=new WeakMap,q=new WeakMap,Pe=new WeakMap,Y=new WeakMap,Z=new WeakMap,J=new WeakMap,ee=new WeakMap,te=new WeakMap,Ie=new WeakMap,ne=new WeakMap,re=new WeakMap,ke=new WeakMap,It),se,Ne,Re,De,Q,Me,ie,oe,le,ae,ue,_e,ce,fe,de,Ve,kt,Fr=(kt=class{constructor(e){p(this,se);p(this,Ne);p(this,Re);p(this,De);p(this,Q,!1);p(this,Me);p(this,ie);p(this,oe);p(this,le);p(this,ae);p(this,ue);p(this,_e);p(this,ce);p(this,fe);p(this,de);p(this,Ve);const{client:t,queryFlavor:n,version:r,onlineManager:s,buttonPosition:i,position:o,initialIsOpen:l,errorTypes:a,styleNonce:c,shadowDOMTarget:f,onClose:u,hideDisabledQueries:g,theme:y}=e;m(this,se,S(t)),m(this,Re,n),m(this,De,r),m(this,Ne,s),m(this,Me,c),m(this,ie,f),m(this,oe,S(i)),m(this,le,S(o)),m(this,ae,S(l)),m(this,ue,S(a)),m(this,_e,S(g)),m(this,ce,S(u)),m(this,de,S(y))}setButtonPosition(e){d(this,oe)[1](e)}setPosition(e){d(this,le)[1](e)}setInitialIsOpen(e){d(this,ae)[1](e)}setErrorTypes(e){d(this,ue)[1](e)}setClient(e){d(this,se)[1](e)}setOnClose(e){d(this,ce)[1](()=>e)}setTheme(e){d(this,de)[1](e)}mount(e){if(d(this,Q))throw new Error("Devtools is already mounted");const t=Yt(()=>{const n=this,[r]=d(this,oe),[s]=d(this,le),[i]=d(this,ae),[o]=d(this,ue),[l]=d(this,_e),[a]=d(this,se),[c]=d(this,ce),[f]=d(this,de);let u;return d(this,fe)?u=d(this,fe):(u=Xt(()=>Nt(()=>import("./KZB72KQG-wpgq8xiz.js"),__vite__mapDeps([4,1,2,3]))),m(this,fe,u)),vn(d(this,Me),d(this,ie)),Gt(u,Ht({get queryFlavor(){return d(n,Re)},get version(){return d(n,De)},get onlineManager(){return d(n,Ne)},get shadowDOMTarget(){return d(n,ie)}},{get client(){return a()},get buttonPosition(){return r()},get position(){return s()},get initialIsOpen(){return i()},get errorTypes(){return o()},get hideDisabledQueries(){return l()},get onClose(){return c()},get theme(){return f()}}))},e);m(this,Q,!0),m(this,Ve,t)}unmount(){var e;if(!d(this,Q))throw new Error("Devtools is not mounted");(e=d(this,Ve))==null||e.call(this),m(this,Q,!1)}},se=new WeakMap,Ne=new WeakMap,Re=new WeakMap,De=new WeakMap,Q=new WeakMap,Me=new WeakMap,ie=new WeakMap,oe=new WeakMap,le=new WeakMap,ae=new WeakMap,ue=new WeakMap,_e=new WeakMap,ce=new WeakMap,fe=new WeakMap,de=new WeakMap,Ve=new WeakMap,kt);function Ur(e){const t=Rt(e.client),n=P.useRef(null),{buttonPosition:r,position:s,initialIsOpen:i,errorTypes:o,styleNonce:l,shadowDOMTarget:a,hideDisabledQueries:c,theme:f}=e,[u]=P.useState(new Br({client:t,queryFlavor:"React Query",ver
2sion:"5",onlineManager:Dt,buttonPosition:r,position:s,initialIsOpen:i,errorTypes:o,styleNonce:l,shadowDOMTarget:a,hideDisabledQueries:c,theme:f}));return P.useEffect(()=>{u.setClient(t)},[t,u]),P.useEffect(()=>{r&&u.setButtonPosition(r)},[r,u]),P.useEffect(()=>{s&&u.setPosition(s)},[s,u]),P.useEffect(()=>{u.setInitialIsOpen(i||!1)},[i,u]),P.useEffect(()=>{u.setErrorTypes(o||[])},[o,u]),P.useEffect(()=>{u.setTheme(f)},[f,u]),P.useEffect(()=>(n.current&&u.mount(n.current),()=>{u.unmount()}),[u]),Mt.jsx("div",{dir:"ltr",className:"tsqd-parent-container",ref:n})}function qr(e){const t=Rt(e.client),n=P.useRef(null),{errorTypes:r,styleNonce:s,shadowDOMTarget:i,hideDisabledQueries:o,theme:l}=e,[a]=P.useState(new Fr({client:t,queryFlavor:"React Query",version:"5",onlineManager:Dt,buttonPosition:"bottom-left",position:"bottom",initialIsOpen:!0,errorTypes:r,styleNonce:s,shadowDOMTarget:i,onClose:e.onClose,hideDisabledQueries:o,theme:l}));return P.useEffect(()=>{a.setClient(t)},[t,a]),P.useEffect(()=>{a.setOnClose(e.onClose??(()=>{}))},[e.onClose,a]),P.useEffect(()=>{a.setErrorTypes(r||[])},[r,a]),P.useEffect(()=>{a.setTheme(l)},[l,a]),P.useEffect(()=>(n.current&&a.mount(n.current),()=>{a.unmount()}),[a]),Mt.jsx("div",{style:{height:"500px",...e.style},className:"tsqd-parent-container",ref:n})}var Qr=Ur,Kr=qr;const Ss=Object.freeze(Object.defineProperty({__proto__:null,ReactQueryDevtools:Qr,ReactQueryDevtoolsPanel:Kr},Symbol.toStringTag,{value:"Module"}));export{Lt as $,ys as A,gs as B,ms as C,vs as D,C as E,ts as F,Yr as G,Jn as H,Ht as I,K as J,Vr as K,ns as L,Be as M,Wn as N,fs as O,us as P,is as Q,ss as R,rs as S,Fe as T,Mn as U,cs as V,bn as W,Ss as X,Gt as a,Zr as b,O as c,S as d,Bt as e,z as f,Es as g,Xn as h,ct as i,ws as j,Xr as k,ut as l,os as m,as as n,An as o,zn as p,we as q,hs as r,ps as s,ls as t,Jr as u,er as v,bs as w,es as x,Hr as y,ds as z}; 3//# sourceMappingURL=production-B7GZEZHP.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.