@tanstack/query-devtools 5.0.0-alpha.48 → 5.0.0-alpha.50
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/package.json +4 -4
- package/build/umd/index.js +0 -872
- package/build/umd/index.js.map +0 -1
package/build/umd/index.js
DELETED
|
@@ -1,872 +0,0 @@
|
|
|
1
|
-
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).index={})}(this,(function(e){"use strict";const t={};const r=Symbol("solid-proxy"),n=Symbol("solid-track"),o={equals:(e,t)=>e===t};let i=M;const s=1,a=2,l={owned:null,cleanups:null,context:null,owner:null};var c=null;let u=null,d=null,f=null,p=null,h=0;const[g,v]=m(!1);function y(e,t){const r=d,n=c,o=0===e.length,i=o?l:{owned:null,cleanups:null,context:null,owner:void 0===t?n:t},s=o?e:()=>e((()=>w((()=>j(i)))));c=i,d=null;try{return N(s,!0)}finally{d=r,c=n}}function m(e,t){const r={value:e,observers:null,observerSlots:null,comparator:(t=t?Object.assign({},o,t):o).equals||void 0};return[A.bind(r),e=>("function"==typeof e&&(e=e(r.value)),O(r,e))]}function b(e,t,r){z(F(e,t,!1,s))}function x(e,t,r){i=U;const n=F(e,t,!1,s);n.user=!0,p?p.push(n):z(n)}function $(e,t,r){r=r?Object.assign({},o,r):o;const n=F(e,t,!0,0);return n.observers=null,n.observerSlots=null,n.comparator=r.equals||void 0,z(n),A.bind(n)}function w(e){if(null===d)return e();const t=d;d=null;try{return e()}finally{d=t}}function k(e){x((()=>w(e)))}function C(e){return null===c||(null===c.cleanups?c.cleanups=[e]:c.cleanups.push(e)),e}function S(e){const t=d,r=c;return Promise.resolve().then((()=>{d=t,c=r,N(e,!1),d=c=null}))}function E(e){let t;return void 0!==(t=G(c,e.id))?t:e.defaultValue}function _(e){const t=$(e),r=$((()=>B(t())));return r.toArray=()=>{const e=r();return Array.isArray(e)?e:null!=e?[e]:[]},r}function A(){const e=u;if(this.sources&&(this.state||e))if(this.state===s||e)z(this);else{const e=f;f=null,N((()=>L(this)),!1),f=e}if(d){const e=this.observers?this.observers.length:0;d.sources?(d.sources.push(this),d.sourceSlots.push(e)):(d.sources=[this],d.sourceSlots=[e]),this.observers?(this.observers.push(d),this.observerSlots.push(d.sources.length-1)):(this.observers=[d],this.observerSlots=[d.sources.length-1])}return this.value}function O(e,t,r){let n=e.value;return e.comparator&&e.comparator(n,t)||(e.value=t,e.observers&&e.observers.length&&N((()=>{for(let t=0;t<e.observers.length;t+=1){const r=e.observers[t],n=u&&u.running;n&&u.disposed.has(r),(n&&!r.tState||!n&&!r.state)&&(r.pure?f.push(r):p.push(r),r.observers&&I(r)),n||(r.state=s)}if(f.length>1e6)throw f=[],new Error}),!1)),t}function z(e){if(!e.fn)return;j(e);const t=c,r=d,n=h;d=c=e,function(e,t,r){let n;try{n=e.fn(t)}catch(t){return e.pure&&(e.state=s,e.owned&&e.owned.forEach(j),e.owned=null),e.updatedAt=r+1,D(t)}(!e.updatedAt||e.updatedAt<=r)&&(null!=e.updatedAt&&"observers"in e?O(e,n):e.value=n,e.updatedAt=r)}(e,e.value,n),d=r,c=t}function F(e,t,r,n=s,o){const i={fn:e,state:n,updatedAt:null,owned:null,sources:null,sourceSlots:null,cleanups:null,value:t,owner:c,context:null,pure:r};return null===c||c!==l&&(c.owned?c.owned.push(i):c.owned=[i]),i}function T(e){const t=u;if(0===e.state||t)return;if(e.state===a||t)return L(e);if(e.suspense&&w(e.suspense.inFallback))return e.suspense.effects.push(e);const r=[e];for(;(e=e.owner)&&(!e.updatedAt||e.updatedAt<h);)(e.state||t)&&r.push(e);for(let n=r.length-1;n>=0;n--)if((e=r[n]).state===s||t)z(e);else if(e.state===a||t){const t=f;f=null,N((()=>L(e,r[0])),!1),f=t}}function N(e,t){if(f)return e();let r=!1;t||(f=[]),p?r=!0:p=[],h++;try{const t=e();return function(e){f&&(M(f),f=null);if(e)return;const t=p;p=null,t.length&&N((()=>i(t)),!1)}(r),t}catch(e){r||(p=null),f=null,D(e)}}function M(e){for(let t=0;t<e.length;t++)T(e[t])}function U(e){let r,n=0;for(r=0;r<e.length;r++){const t=e[r];t.user?e[n++]=t:T(t)}var o;for(t.context&&(t.context=o),r=0;r<n;r++)T(e[r])}function L(e,t){const r=u;e.state=0;for(let n=0;n<e.sources.length;n+=1){const o=e.sources[n];o.sources&&(o.state===s||r?o!==t&&(!o.updatedAt||o.updatedAt<h)&&T(o):(o.state===a||r)&&L(o,t))}}function I(e){const t=u;for(let r=0;r<e.observers.length;r+=1){const n=e.observers[r];n.state&&!t||(n.state=a,n.pure?f.push(n):p.push(n),n.observers&&I(n))}}function j(e){let t;if(e.sources)for(;e.sources.length;){const t=e.sources.pop(),r=e.sourceSlots.pop(),n=t.observers;if(n&&n.length){const e=n.pop(),o=t.observerSlots.pop();r<n.length&&(e.sourceSlots[o]=r,n[r]=e,t.observerSlots[r]=o)}}if(e.owned){for(t=0;t<e.owned.length;t++)j(e.owned[t]);e.owned=null}if(e.cleanups){for(t=0;t<e.cleanups.length;t++)e.cleanups[t]();e.cleanups=null}e.state=0,e.context=null}function D(e){throw e=function(e){return e instanceof Error||"string"==typeof e?e:new Error("Unknown error")}(e)}function G(e,t){return e?e.context&&void 0!==e.context[t]?e.context[t]:G(e.owner,t):void 0}function B(e){if("function"==typeof e&&!e.length)return B(e());if(Array.isArray(e)){const t=[];for(let r=0;r<e.length;r++){const n=B(e[r]);Array.isArray(n)?t.push.apply(t,n):t.push(n)}return t}return e}function q(e,t){return function(t){let r;return b((()=>r=w((()=>(c.context={[e]:t.value},_((()=>t.children)))))),void 0),r}}const H=Symbol("fallback");function P(e){for(let t=0;t<e.length;t++)e[t]()}function R(e,t){return w((()=>e(t||{})))}function V(){return!0}const Q={get:(e,t,n)=>t===r?n:e.get(t),has:(e,t)=>t===r||e.has(t),set:V,deleteProperty:V,getOwnPropertyDescriptor:(e,t)=>({configurable:!0,enumerable:!0,get:()=>e.get(t),set:V,deleteProperty:V}),ownKeys:e=>e.keys()};function Y(e){return(e="function"==typeof e?e():e)?e:{}}function K(...e){let t=!1;for(let n=0;n<e.length;n++){const o=e[n];t=t||!!o&&r in o,e[n]="function"==typeof o?(t=!0,$(o)):o}if(t)return new Proxy({get(t){for(let r=e.length-1;r>=0;r--){const n=Y(e[r])[t];if(void 0!==n)return n}},has(t){for(let r=e.length-1;r>=0;r--)if(t in Y(e[r]))return!0;return!1},keys(){const t=[];for(let r=0;r<e.length;r++)t.push(...Object.keys(Y(e[r])));return[...new Set(t)]}},Q);const n={};for(let t=e.length-1;t>=0;t--)if(e[t]){const r=Object.getOwnPropertyDescriptors(e[t]);for(const t in r)t in n||Object.defineProperty(n,t,{enumerable:!0,get(){for(let r=e.length-1;r>=0;r--){const n=(e[r]||{})[t];if(void 0!==n)return n}}})}return n}function W(e){const t="fallback"in e&&{fallback:()=>e.fallback};return $(function(e,t,r={}){let o=[],i=[],s=[],a=0,l=t.length>1?[]:null;return C((()=>P(s))),()=>{let c,u,d=e()||[];return d[n],w((()=>{let e,t,n,p,h,g,v,m,b,x=d.length;if(0===x)0!==a&&(P(s),s=[],o=[],i=[],a=0,l&&(l=[])),r.fallback&&(o=[H],i[0]=y((e=>(s[0]=e,r.fallback()))),a=1);else if(0===a){for(i=new Array(x),u=0;u<x;u++)o[u]=d[u],i[u]=y(f);a=x}else{for(n=new Array(x),p=new Array(x),l&&(h=new Array(x)),g=0,v=Math.min(a,x);g<v&&o[g]===d[g];g++);for(v=a-1,m=x-1;v>=g&&m>=g&&o[v]===d[m];v--,m--)n[m]=i[v],p[m]=s[v],l&&(h[m]=l[v]);for(e=new Map,t=new Array(m+1),u=m;u>=g;u--)b=d[u],c=e.get(b),t[u]=void 0===c?-1:c,e.set(b,u);for(c=g;c<=v;c++)b=o[c],u=e.get(b),void 0!==u&&-1!==u?(n[u]=i[c],p[u]=s[c],l&&(h[u]=l[c]),u=t[u],e.set(b,u)):s[c]();for(u=g;u<x;u++)u in n?(i[u]=n[u],s[u]=p[u],l&&(l[u]=h[u],l[u](u))):i[u]=y(f);i=i.slice(0,a=x),o=d.slice(0)}return i}));function f(e){if(s[u]=e,l){const[e,r]=m(u);return l[u]=r,t(d[u],e)}return t(d[u])}}}((()=>e.each),e.children,t||void 0))}function X(e){const t="fallback"in e&&{fallback:()=>e.fallback};return $(function(e,t,r={}){let o,i=[],s=[],a=[],l=[],c=0;return C((()=>P(a))),()=>{const u=e()||[];return u[n],w((()=>{if(0===u.length)return 0!==c&&(P(a),a=[],i=[],s=[],c=0,l=[]),r.fallback&&(i=[H],s[0]=y((e=>(a[0]=e,r.fallback()))),c=1),s;for(i[0]===H&&(a[0](),a=[],i=[],s=[],c=0),o=0;o<u.length;o++)o<i.length&&i[o]!==u[o]?l[o]((()=>u[o])):o>=i.length&&(s[o]=y(d));for(;o<i.length;o++)a[o]();return c=l.length=a.length=u.length,i=u.slice(0),s=s.slice(0,c)}));function d(e){a[o]=e;const[r,n]=m(u[o]);return l[o]=n,t(r,o)}}}((()=>e.each),e.children,t||void 0))}function Z(e){let t=!1;const r=e.keyed,n=$((()=>e.when),void 0,{equals:(e,r)=>t?e===r:!e==!r});return $((()=>{const o=n();if(o){const n=e.children,i="function"==typeof n&&n.length>0;return t=r||i,i?w((()=>n(o))):n}return e.fallback}),void 0,void 0)}function J(e){let t=!1,r=!1;const n=_((()=>e.children)),o=$((()=>{let e=n();Array.isArray(e)||(e=[e]);for(let t=0;t<e.length;t++){const n=e[t].when;if(n)return r=!!e[t].keyed,[t,n,e[t]]}return[-1]}),void 0,{equals:(e,r)=>e[0]===r[0]&&(t?e[1]===r[1]:!e[1]==!r[1])&&e[2]===r[2]});return $((()=>{const[n,i,s]=o();if(n<0)return e.fallback;const a=s.children,l="function"==typeof a&&a.length>0;return t=r||l,l?w((()=>a(i))):a}),void 0,void 0)}function ee(e){return e}const te=new Set(["className","value","readOnly","formNoValidate","isMap","noModule","playsInline","allowfullscreen","async","autofocus","autoplay","checked","controls","default","disabled","formnovalidate","hidden","indeterminate","ismap","loop","multiple","muted","nomodule","novalidate","open","playsinline","readonly","required","reversed","seamless","selected"]),re=new Set(["innerHTML","textContent","innerText","children"]),ne=Object.assign(Object.create(null),{className:"class",htmlFor:"for"}),oe=Object.assign(Object.create(null),{class:"className",formnovalidate:"formNoValidate",ismap:"isMap",nomodule:"noModule",playsinline:"playsInline",readonly:"readOnly"}),ie=new Set(["beforeinput","click","dblclick","contextmenu","focusin","focusout","input","keydown","keyup","mousedown","mousemove","mouseout","mouseover","mouseup","pointerdown","pointermove","pointerout","pointerover","pointerup","touchend","touchmove","touchstart"]),se={xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace"};const ae="_$DX_DELEGATE";function le(e,t,r){const n=document.createElement("template");if(n.innerHTML=e,t&&n.innerHTML.split("<").length-1!==t)throw`The browser resolved template HTML does not match JSX input:\n${n.innerHTML}\n\n${e}. Is your HTML properly formed?`;let o=n.content.firstChild;return r&&(o=o.firstChild),o}function ce(e,t=window.document){const r=t[ae]||(t[ae]=new Set);for(let n=0,o=e.length;n<o;n++){const o=e[n];r.has(o)||(r.add(o),t.addEventListener(o,me))}}function ue(e,t,r){null==r?e.removeAttribute(t):e.setAttribute(t,r)}function de(e,t){null==t?e.removeAttribute("class"):e.className=t}function fe(e,t,r,n){if(n)Array.isArray(r)?(e[`$$${t}`]=r[0],e[`$$${t}Data`]=r[1]):e[`$$${t}`]=r;else if(Array.isArray(r)){const n=r[0];e.addEventListener(t,r[0]=t=>n.call(e,r[1],t))}else e.addEventListener(t,r)}function pe(e,t={},r,n){const o={};return n||b((()=>o.children=be(e,t.children,o.children))),b((()=>t.ref&&t.ref(e))),b((()=>function(e,t,r,n,o={},i=!1){t||(t={});for(const n in o)if(!(n in t)){if("children"===n)continue;o[n]=ye(e,n,null,o[n],r,i)}for(const s in t){if("children"===s){n||be(e,t.children);continue}const a=t[s];o[s]=ye(e,s,a,o[s],r,i)}}(e,t,r,!0,o,!0))),o}function he(e,t,r){return w((()=>e(t,r)))}function ge(e,t,r,n){if(void 0===r||n||(n=[]),"function"!=typeof t)return be(e,t,n,r);b((n=>be(e,t(),n,r)),n)}function ve(e,t,r){const n=t.trim().split(/\s+/);for(let t=0,o=n.length;t<o;t++)e.classList.toggle(n[t],r)}function ye(e,t,r,n,o,i){let s,a,l;if("style"===t)return function(e,t,r){if(!t)return r?ue(e,"style"):t;const n=e.style;if("string"==typeof t)return n.cssText=t;let o,i;for(i in"string"==typeof r&&(n.cssText=r=void 0),r||(r={}),t||(t={}),r)null==t[i]&&n.removeProperty(i),delete r[i];for(i in t)o=t[i],o!==r[i]&&(n.setProperty(i,o),r[i]=o);return r}(e,r,n);if("classList"===t)return function(e,t,r={}){const n=Object.keys(t||{}),o=Object.keys(r);let i,s;for(i=0,s=o.length;i<s;i++){const n=o[i];n&&"undefined"!==n&&!t[n]&&(ve(e,n,!1),delete r[n])}for(i=0,s=n.length;i<s;i++){const o=n[i],s=!!t[o];o&&"undefined"!==o&&r[o]!==s&&s&&(ve(e,o,!0),r[o]=s)}return r}(e,r,n);if(r===n)return n;if("ref"===t)i||r(e);else if("on:"===t.slice(0,3)){const o=t.slice(3);n&&e.removeEventListener(o,n),r&&e.addEventListener(o,r)}else if("oncapture:"===t.slice(0,10)){const o=t.slice(10);n&&e.removeEventListener(o,n,!0),r&&e.addEventListener(o,r,!0)}else if("on"===t.slice(0,2)){const o=t.slice(2).toLowerCase(),i=ie.has(o);if(!i&&n){const t=Array.isArray(n)?n[0]:n;e.removeEventListener(o,t)}(i||r)&&(fe(e,o,r,i),i&&ce([o]))}else if((l=re.has(t))||!o&&(oe[t]||(a=te.has(t)))||(s=e.nodeName.includes("-")))"class"===t||"className"===t?de(e,r):!s||a||l?e[oe[t]||t]=r:e[(c=t,c.toLowerCase().replace(/-([a-z])/g,((e,t)=>t.toUpperCase())))]=r;else{const n=o&&t.indexOf(":")>-1&&se[t.split(":")[0]];n?function(e,t,r,n){null==n?e.removeAttributeNS(t,r):e.setAttributeNS(t,r,n)}(e,n,t,r):ue(e,ne[t]||t,r)}var c;return r}function me(e){const r=`$$${e.type}`;let n=e.composedPath&&e.composedPath()[0]||e.target;for(e.target!==n&&Object.defineProperty(e,"target",{configurable:!0,value:n}),Object.defineProperty(e,"currentTarget",{configurable:!0,get:()=>n||document}),t.registry&&!t.done&&(t.done=_$HY.done=!0);n;){const t=n[r];if(t&&!n.disabled){const o=n[`${r}Data`];if(void 0!==o?t.call(n,o,e):t.call(n,e),e.cancelBubble)return}n=n._$host||n.parentNode||n.host}}function be(e,r,n,o,i){if(t.context){!n&&(n=[...e.childNodes]);let t=[];for(let e=0;e<n.length;e++){const r=n[e];8===r.nodeType&&"!"===r.data?r.remove():t.push(r)}n=t}for(;"function"==typeof n;)n=n();if(r===n)return n;const s=typeof r,a=void 0!==o;if(e=a&&n[0]&&n[0].parentNode||e,"string"===s||"number"===s){if(t.context)return n;if("number"===s&&(r=r.toString()),a){let t=n[0];t&&3===t.nodeType?t.data=r:t=document.createTextNode(r),n=we(e,n,o,t)}else n=""!==n&&"string"==typeof n?e.firstChild.data=r:e.textContent=r}else if(null==r||"boolean"===s){if(t.context)return n;n=we(e,n,o)}else{if("function"===s)return b((()=>{let t=r();for(;"function"==typeof t;)t=t();n=be(e,t,n,o)})),()=>n;if(Array.isArray(r)){const s=[],l=n&&Array.isArray(n);if(xe(s,r,n,i))return b((()=>n=be(e,s,n,o,!0))),()=>n;if(t.context){if(!s.length)return n;for(let e=0;e<s.length;e++)if(s[e].parentNode)return n=s}if(0===s.length){if(n=we(e,n,o),a)return n}else l?0===n.length?$e(e,s,o):function(e,t,r){let n=r.length,o=t.length,i=n,s=0,a=0,l=t[o-1].nextSibling,c=null;for(;s<o||a<i;)if(t[s]!==r[a]){for(;t[o-1]===r[i-1];)o--,i--;if(o===s){const t=i<n?a?r[a-1].nextSibling:r[i-a]:l;for(;a<i;)e.insertBefore(r[a++],t)}else if(i===a)for(;s<o;)c&&c.has(t[s])||t[s].remove(),s++;else if(t[s]===r[i-1]&&r[a]===t[o-1]){const n=t[--o].nextSibling;e.insertBefore(r[a++],t[s++].nextSibling),e.insertBefore(r[--i],n),t[o]=r[i]}else{if(!c){c=new Map;let e=a;for(;e<i;)c.set(r[e],e++)}const n=c.get(t[s]);if(null!=n)if(a<n&&n<i){let l,u=s,d=1;for(;++u<o&&u<i&&null!=(l=c.get(t[u]))&&l===n+d;)d++;if(d>n-a){const o=t[s];for(;a<n;)e.insertBefore(r[a++],o)}else e.replaceChild(r[a++],t[s++])}else s++;else t[s++].remove()}}else s++,a++}(e,n,s):(n&&we(e),$e(e,s));n=s}else if(r instanceof Node){if(t.context&&r.parentNode)return n=a?[r]:r;if(Array.isArray(n)){if(a)return n=we(e,n,o,r);we(e,n,null,r)}else null!=n&&""!==n&&e.firstChild?e.replaceChild(r,e.firstChild):e.appendChild(r);n=r}else console.warn("Unrecognized value. Skipped inserting",r)}return n}function xe(e,t,r,n){let o=!1;for(let i=0,s=t.length;i<s;i++){let s=t[i],a=r&&r[i];if(s instanceof Node)e.push(s);else if(null==s||!0===s||!1===s);else if(Array.isArray(s))o=xe(e,s,a)||o;else if("function"==typeof s)if(n){for(;"function"==typeof s;)s=s();o=xe(e,Array.isArray(s)?s:[s],Array.isArray(a)?a:[a])||o}else e.push(s),o=!0;else{const t=String(s);a&&3===a.nodeType?(a.data=t,e.push(a)):e.push(document.createTextNode(t))}}return o}function $e(e,t,r=null){for(let n=0,o=t.length;n<o;n++)e.insertBefore(t[n],r)}function we(e,t,r,n){if(void 0===r)return e.textContent="";const o=n||document.createTextNode("");if(t.length){let n=!1;for(let i=t.length-1;i>=0;i--){const s=t[i];if(o!==s){const t=s.parentNode===e;n||i?t&&s.remove():t?e.replaceChild(o,s):e.insertBefore(o,r)}else n=!0}}else e.insertBefore(o,r);return[o]}
|
|
2
|
-
/**
|
|
3
|
-
* match-sorter-utils
|
|
4
|
-
*
|
|
5
|
-
* Copyright (c) TanStack
|
|
6
|
-
*
|
|
7
|
-
* This source code is licensed under the MIT license found in the
|
|
8
|
-
* LICENSE.md file in the root directory of this source tree.
|
|
9
|
-
*
|
|
10
|
-
* @license MIT
|
|
11
|
-
*/const ke={"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","Ấ":"A","Ắ":"A","Ẳ":"A","Ẵ":"A","Ặ":"A","Æ":"AE","Ầ":"A","Ằ":"A","Ȃ":"A","Ç":"C","Ḉ":"C","È":"E","É":"E","Ê":"E","Ë":"E","Ế":"E","Ḗ":"E","Ề":"E","Ḕ":"E","Ḝ":"E","Ȇ":"E","Ì":"I","Í":"I","Î":"I","Ï":"I","Ḯ":"I","Ȋ":"I","Ð":"D","Ñ":"N","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","Ố":"O","Ṍ":"O","Ṓ":"O","Ȏ":"O","Ù":"U","Ú":"U","Û":"U","Ü":"U","Ý":"Y","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","ấ":"a","ắ":"a","ẳ":"a","ẵ":"a","ặ":"a","æ":"ae","ầ":"a","ằ":"a","ȃ":"a","ç":"c","ḉ":"c","è":"e","é":"e","ê":"e","ë":"e","ế":"e","ḗ":"e","ề":"e","ḕ":"e","ḝ":"e","ȇ":"e","ì":"i","í":"i","î":"i","ï":"i","ḯ":"i","ȋ":"i","ð":"d","ñ":"n","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","ố":"o","ṍ":"o","ṓ":"o","ȏ":"o","ù":"u","ú":"u","û":"u","ü":"u","ý":"y","ÿ":"y","Ā":"A","ā":"a","Ă":"A","ă":"a","Ą":"A","ą":"a","Ć":"C","ć":"c","Ĉ":"C","ĉ":"c","Ċ":"C","ċ":"c","Č":"C","č":"c","C̆":"C","c̆":"c","Ď":"D","ď":"d","Đ":"D","đ":"d","Ē":"E","ē":"e","Ĕ":"E","ĕ":"e","Ė":"E","ė":"e","Ę":"E","ę":"e","Ě":"E","ě":"e","Ĝ":"G","Ǵ":"G","ĝ":"g","ǵ":"g","Ğ":"G","ğ":"g","Ġ":"G","ġ":"g","Ģ":"G","ģ":"g","Ĥ":"H","ĥ":"h","Ħ":"H","ħ":"h","Ḫ":"H","ḫ":"h","Ĩ":"I","ĩ":"i","Ī":"I","ī":"i","Ĭ":"I","ĭ":"i","Į":"I","į":"i","İ":"I","ı":"i","IJ":"IJ","ij":"ij","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","Ḱ":"K","ḱ":"k","K̆":"K","k̆":"k","Ĺ":"L","ĺ":"l","Ļ":"L","ļ":"l","Ľ":"L","ľ":"l","Ŀ":"L","ŀ":"l","Ł":"l","ł":"l","Ḿ":"M","ḿ":"m","M̆":"M","m̆":"m","Ń":"N","ń":"n","Ņ":"N","ņ":"n","Ň":"N","ň":"n","ʼn":"n","N̆":"N","n̆":"n","Ō":"O","ō":"o","Ŏ":"O","ŏ":"o","Ő":"O","ő":"o","Œ":"OE","œ":"oe","P̆":"P","p̆":"p","Ŕ":"R","ŕ":"r","Ŗ":"R","ŗ":"r","Ř":"R","ř":"r","R̆":"R","r̆":"r","Ȓ":"R","ȓ":"r","Ś":"S","ś":"s","Ŝ":"S","ŝ":"s","Ş":"S","Ș":"S","ș":"s","ş":"s","Š":"S","š":"s","Ţ":"T","ţ":"t","ț":"t","Ț":"T","Ť":"T","ť":"t","Ŧ":"T","ŧ":"t","T̆":"T","t̆":"t","Ũ":"U","ũ":"u","Ū":"U","ū":"u","Ŭ":"U","ŭ":"u","Ů":"U","ů":"u","Ű":"U","ű":"u","Ų":"U","ų":"u","Ȗ":"U","ȗ":"u","V̆":"V","v̆":"v","Ŵ":"W","ŵ":"w","Ẃ":"W","ẃ":"w","X̆":"X","x̆":"x","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Y̆":"Y","y̆":"y","Ź":"Z","ź":"z","Ż":"Z","ż":"z","Ž":"Z","ž":"z","ſ":"s","ƒ":"f","Ơ":"O","ơ":"o","Ư":"U","ư":"u","Ǎ":"A","ǎ":"a","Ǐ":"I","ǐ":"i","Ǒ":"O","ǒ":"o","Ǔ":"U","ǔ":"u","Ǖ":"U","ǖ":"u","Ǘ":"U","ǘ":"u","Ǚ":"U","ǚ":"u","Ǜ":"U","ǜ":"u","Ứ":"U","ứ":"u","Ṹ":"U","ṹ":"u","Ǻ":"A","ǻ":"a","Ǽ":"AE","ǽ":"ae","Ǿ":"O","ǿ":"o","Þ":"TH","þ":"th","Ṕ":"P","ṕ":"p","Ṥ":"S","ṥ":"s","X́":"X","x́":"x","Ѓ":"Г","ѓ":"г","Ќ":"К","ќ":"к","A̋":"A","a̋":"a","E̋":"E","e̋":"e","I̋":"I","i̋":"i","Ǹ":"N","ǹ":"n","Ồ":"O","ồ":"o","Ṑ":"O","ṑ":"o","Ừ":"U","ừ":"u","Ẁ":"W","ẁ":"w","Ỳ":"Y","ỳ":"y","Ȁ":"A","ȁ":"a","Ȅ":"E","ȅ":"e","Ȉ":"I","ȉ":"i","Ȍ":"O","ȍ":"o","Ȑ":"R","ȑ":"r","Ȕ":"U","ȕ":"u","B̌":"B","b̌":"b","Č̣":"C","č̣":"c","Ê̌":"E","ê̌":"e","F̌":"F","f̌":"f","Ǧ":"G","ǧ":"g","Ȟ":"H","ȟ":"h","J̌":"J","ǰ":"j","Ǩ":"K","ǩ":"k","M̌":"M","m̌":"m","P̌":"P","p̌":"p","Q̌":"Q","q̌":"q","Ř̩":"R","ř̩":"r","Ṧ":"S","ṧ":"s","V̌":"V","v̌":"v","W̌":"W","w̌":"w","X̌":"X","x̌":"x","Y̌":"Y","y̌":"y","A̧":"A","a̧":"a","B̧":"B","b̧":"b","Ḑ":"D","ḑ":"d","Ȩ":"E","ȩ":"e","Ɛ̧":"E","ɛ̧":"e","Ḩ":"H","ḩ":"h","I̧":"I","i̧":"i","Ɨ̧":"I","ɨ̧":"i","M̧":"M","m̧":"m","O̧":"O","o̧":"o","Q̧":"Q","q̧":"q","U̧":"U","u̧":"u","X̧":"X","x̧":"x","Z̧":"Z","z̧":"z"},Ce=Object.keys(ke).join("|"),Se=new RegExp(Ce,"g");
|
|
12
|
-
/**
|
|
13
|
-
* @name match-sorter
|
|
14
|
-
* @license MIT license.
|
|
15
|
-
* @copyright (c) 2099 Kent C. Dodds
|
|
16
|
-
* @author Kent C. Dodds <me@kentcdodds.com> (https://kentcdodds.com)
|
|
17
|
-
*/
|
|
18
|
-
const Ee={CASE_SENSITIVE_EQUAL:7,EQUAL:6,STARTS_WITH:5,WORD_STARTS_WITH:4,CONTAINS:3,ACRONYM:2,MATCHES:1,NO_MATCH:0};function _e(e,t,r){var n;if((r=r||{}).threshold=null!=(n=r.threshold)?n:Ee.MATCHES,!r.accessors){const n=Ae(e,t,r);return{rankedValue:e,rank:n,accessorIndex:-1,accessorThreshold:r.threshold,passed:n>=r.threshold}}const o=function(e,t){const r=[];for(let n=0,o=t.length;n<o;n++){const o=t[n],i=Te(o),s=ze(e,o);for(let e=0,t=s.length;e<t;e++)r.push({itemValue:s[e],attributes:i})}return r}(e,r.accessors),i={rankedValue:e,rank:Ee.NO_MATCH,accessorIndex:-1,accessorThreshold:r.threshold,passed:!1};for(let e=0;e<o.length;e++){const n=o[e];let s=Ae(n.itemValue,t,r);const{minRanking:a,maxRanking:l,threshold:c=r.threshold}=n.attributes;s<a&&s>=Ee.MATCHES?s=a:s>l&&(s=l),s=Math.min(s,l),s>=c&&s>i.rank&&(i.rank=s,i.passed=!0,i.accessorIndex=e,i.accessorThreshold=c,i.rankedValue=n.itemValue)}return i}function Ae(e,t,r){return e=Oe(e,r),(t=Oe(t,r)).length>e.length?Ee.NO_MATCH:e===t?Ee.CASE_SENSITIVE_EQUAL:(e=e.toLowerCase())===(t=t.toLowerCase())?Ee.EQUAL:e.startsWith(t)?Ee.STARTS_WITH:e.includes(` ${t}`)?Ee.WORD_STARTS_WITH:e.includes(t)?Ee.CONTAINS:1===t.length?Ee.NO_MATCH:function(e){let t="";return e.split(" ").forEach((e=>{e.split("-").forEach((e=>{t+=e.substr(0,1)}))})),t}(e).includes(t)?Ee.ACRONYM:function(e,t){let r=0,n=0;function o(e,t,n){for(let o=n,i=t.length;o<i;o++){if(t[o]===e)return r+=1,o+1}return-1}function i(e){const n=1/e,o=r/t.length;return Ee.MATCHES+o*n}const s=o(t[0],e,0);if(s<0)return Ee.NO_MATCH;n=s;for(let r=1,i=t.length;r<i;r++){n=o(t[r],e,n);if(!(n>-1))return Ee.NO_MATCH}const a=n-s;return i(a)}(e,t)}function Oe(e,t){let{keepDiacritics:r}=t;return e=`${e}`,r||(e=e.replace(Se,(e=>ke[e]))),e}function ze(e,t){let r=t;"object"==typeof t&&(r=t.accessor);const n=r(e);return null==n?[]:Array.isArray(n)?n:[String(n)]}const Fe={maxRanking:1/0,minRanking:-1/0};function Te(e){return"function"==typeof e?Fe:{...Fe,...e}}var Ne=function(){function e(e){var t=this;this._insertTag=function(e){var r;r=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,r),t.tags.push(e)},this.isSpeedy=void 0===e.speedy?"production"===process.env.NODE_ENV:e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if("production"!==process.env.NODE_ENV){var r=64===e.charCodeAt(0)&&105===e.charCodeAt(1);r&&this._alreadyInsertedOrderInsensitiveRule&&console.error("You're attempting to insert the following rule:\n"+e+"\n\n`@import` rules must be before all other types of rules in a stylesheet but other rules have already been inserted. Please ensure that `@import` rules are before all other rules."),this._alreadyInsertedOrderInsensitiveRule=this._alreadyInsertedOrderInsensitiveRule||!r}if(this.isSpeedy){var n=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(t);try{n.insertRule(e,n.cssRules.length)}catch(t){"production"===process.env.NODE_ENV||/:(-moz-placeholder|-moz-focus-inner|-moz-focusring|-ms-input-placeholder|-moz-read-write|-moz-read-only|-ms-clear|-ms-expand|-ms-reveal){/.test(e)||console.error('There was a problem inserting the following rule: "'+e+'"',t)}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach((function(e){return e.parentNode&&e.parentNode.removeChild(e)})),this.tags=[],this.ctr=0,"production"!==process.env.NODE_ENV&&(this._alreadyInsertedOrderInsensitiveRule=!1)},e}(),Me="-ms-",Ue="-moz-",Le="-webkit-",Ie="comm",je="rule",De="decl",Ge="@keyframes",Be=Math.abs,qe=String.fromCharCode,He=Object.assign;function Pe(e){return e.trim()}function Re(e,t,r){return e.replace(t,r)}function Ve(e,t){return e.indexOf(t)}function Qe(e,t){return 0|e.charCodeAt(t)}function Ye(e,t,r){return e.slice(t,r)}function Ke(e){return e.length}function We(e){return e.length}function Xe(e,t){return t.push(e),e}var Ze=1,Je=1,et=0,tt=0,rt=0,nt="";function ot(e,t,r,n,o,i,s){return{value:e,root:t,parent:r,type:n,props:o,children:i,line:Ze,column:Je,length:s,return:""}}function it(e,t){return He(ot("",null,null,"",null,null,0),e,{length:-e.length},t)}function st(){return rt=tt>0?Qe(nt,--tt):0,Je--,10===rt&&(Je=1,Ze--),rt}function at(){return rt=tt<et?Qe(nt,tt++):0,Je++,10===rt&&(Je=1,Ze++),rt}function lt(){return Qe(nt,tt)}function ct(){return tt}function ut(e,t){return Ye(nt,e,t)}function dt(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function ft(e){return Ze=Je=1,et=Ke(nt=e),tt=0,[]}function pt(e){return nt="",e}function ht(e){return Pe(ut(tt-1,yt(91===e?e+2:40===e?e+1:e)))}function gt(e){for(;(rt=lt())&&rt<33;)at();return dt(e)>2||dt(rt)>3?"":" "}function vt(e,t){for(;--t&&at()&&!(rt<48||rt>102||rt>57&&rt<65||rt>70&&rt<97););return ut(e,ct()+(t<6&&32==lt()&&32==at()))}function yt(e){for(;at();)switch(rt){case e:return tt;case 34:case 39:34!==e&&39!==e&&yt(rt);break;case 40:41===e&&yt(e);break;case 92:at()}return tt}function mt(e,t){for(;at()&&e+rt!==57&&(e+rt!==84||47!==lt()););return"/*"+ut(t,tt-1)+"*"+qe(47===e?e:at())}function bt(e){for(;!dt(lt());)at();return ut(e,tt)}function xt(e){return pt($t("",null,null,null,[""],e=ft(e),0,[0],e))}function $t(e,t,r,n,o,i,s,a,l){for(var c=0,u=0,d=s,f=0,p=0,h=0,g=1,v=1,y=1,m=0,b="",x=o,$=i,w=n,k=b;v;)switch(h=m,m=at()){case 40:if(108!=h&&58==Qe(k,d-1)){-1!=Ve(k+=Re(ht(m),"&","&\f"),"&\f")&&(y=-1);break}case 34:case 39:case 91:k+=ht(m);break;case 9:case 10:case 13:case 32:k+=gt(h);break;case 92:k+=vt(ct()-1,7);continue;case 47:switch(lt()){case 42:case 47:Xe(kt(mt(at(),ct()),t,r),l);break;default:k+="/"}break;case 123*g:a[c++]=Ke(k)*y;case 125*g:case 59:case 0:switch(m){case 0:case 125:v=0;case 59+u:-1==y&&(k=Re(k,/\f/g,"")),p>0&&Ke(k)-d&&Xe(p>32?Ct(k+";",n,r,d-1):Ct(Re(k," ","")+";",n,r,d-2),l);break;case 59:k+=";";default:if(Xe(w=wt(k,t,r,c,u,o,a,b,x=[],$=[],d),i),123===m)if(0===u)$t(k,t,w,w,x,i,d,a,$);else switch(99===f&&110===Qe(k,3)?100:f){case 100:case 108:case 109:case 115:$t(e,w,w,n&&Xe(wt(e,w,w,0,0,o,a,b,o,x=[],d),$),o,$,d,a,n?x:$);break;default:$t(k,w,w,w,[""],$,0,a,$)}}c=u=p=0,g=y=1,b=k="",d=s;break;case 58:d=1+Ke(k),p=h;default:if(g<1)if(123==m)--g;else if(125==m&&0==g++&&125==st())continue;switch(k+=qe(m),m*g){case 38:y=u>0?1:(k+="\f",-1);break;case 44:a[c++]=(Ke(k)-1)*y,y=1;break;case 64:45===lt()&&(k+=ht(at())),f=lt(),u=d=Ke(b=k+=bt(ct())),m++;break;case 45:45===h&&2==Ke(k)&&(g=0)}}return i}function wt(e,t,r,n,o,i,s,a,l,c,u){for(var d=o-1,f=0===o?i:[""],p=We(f),h=0,g=0,v=0;h<n;++h)for(var y=0,m=Ye(e,d+1,d=Be(g=s[h])),b=e;y<p;++y)(b=Pe(g>0?f[y]+" "+m:Re(m,/&\f/g,f[y])))&&(l[v++]=b);return ot(e,t,r,0===o?je:a,l,c,u)}function kt(e,t,r){return ot(e,t,r,Ie,qe(rt),Ye(e,2,-2),0)}function Ct(e,t,r,n){return ot(e,t,r,De,Ye(e,0,n),Ye(e,n+1,-1),n)}function St(e,t){for(var r="",n=We(e),o=0;o<n;o++)r+=t(e[o],o,e,t)||"";return r}function Et(e,t,r,n){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case De:return e.return=e.return||e.value;case Ie:return"";case Ge:return e.return=e.value+"{"+St(e.children,n)+"}";case je:e.value=e.props.join(",")}return Ke(r=St(e.children,n))?e.return=e.value+"{"+r+"}":""}function _t(e){var t=We(e);return function(r,n,o,i){for(var s="",a=0;a<t;a++)s+=e[a](r,n,o,i)||"";return s}}function At(e){var t=Object.create(null);return function(r){return void 0===t[r]&&(t[r]=e(r)),t[r]}}var Ot=function(e,t,r){for(var n=0,o=0;n=o,o=lt(),38===n&&12===o&&(t[r]=1),!dt(o);)at();return ut(e,tt)},zt=function(e,t){return pt(function(e,t){var r=-1,n=44;do{switch(dt(n)){case 0:38===n&&12===lt()&&(t[r]=1),e[r]+=Ot(tt-1,t,r);break;case 2:e[r]+=ht(n);break;case 4:if(44===n){e[++r]=58===lt()?"&\f":"",t[r]=e[r].length;break}default:e[r]+=qe(n)}}while(n=at());return e}(ft(e),t))},Ft=new WeakMap,Tt=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,r=e.parent,n=e.column===r.column&&e.line===r.line;"rule"!==r.type;)if(!(r=r.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||Ft.get(r))&&!n){Ft.set(e,!0);for(var o=[],i=zt(t,o),s=r.props,a=0,l=0;a<i.length;a++)for(var c=0;c<s.length;c++,l++)e.props[l]=o[a]?i[a].replace(/&\f/g,s[c]):s[c]+" "+i[a]}}},Nt=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}},Mt=function(e){return"comm"===e.type&&e.children.indexOf("emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason")>-1},Ut=function(e){return 105===e.type.charCodeAt(1)&&64===e.type.charCodeAt(0)},Lt=function(e){e.type="",e.value="",e.return="",e.children="",e.props=""},It=function(e,t,r){Ut(e)&&(e.parent?(console.error("`@import` rules can't be nested inside other rules. Please move it to the top level and put it before regular rules. Keep in mind that they can only be used within global styles."),Lt(e)):function(e,t){for(var r=e-1;r>=0;r--)if(!Ut(t[r]))return!0;return!1}(t,r)&&(console.error("`@import` rules can't be after other rules. Please put your `@import` rules before your other rules."),Lt(e)))};function jt(e,t){switch(function(e,t){return 45^Qe(e,0)?(((t<<2^Qe(e,0))<<2^Qe(e,1))<<2^Qe(e,2))<<2^Qe(e,3):0}(e,t)){case 5103:return Le+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return Le+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Le+e+Ue+e+Me+e+e;case 6828:case 4268:return Le+e+Me+e+e;case 6165:return Le+e+Me+"flex-"+e+e;case 5187:return Le+e+Re(e,/(\w+).+(:[^]+)/,Le+"box-$1$2"+Me+"flex-$1$2")+e;case 5443:return Le+e+Me+"flex-item-"+Re(e,/flex-|-self/,"")+e;case 4675:return Le+e+Me+"flex-line-pack"+Re(e,/align-content|flex-|-self/,"")+e;case 5548:return Le+e+Me+Re(e,"shrink","negative")+e;case 5292:return Le+e+Me+Re(e,"basis","preferred-size")+e;case 6060:return Le+"box-"+Re(e,"-grow","")+Le+e+Me+Re(e,"grow","positive")+e;case 4554:return Le+Re(e,/([^-])(transform)/g,"$1"+Le+"$2")+e;case 6187:return Re(Re(Re(e,/(zoom-|grab)/,Le+"$1"),/(image-set)/,Le+"$1"),e,"")+e;case 5495:case 3959:return Re(e,/(image-set\([^]*)/,Le+"$1$`$1");case 4968:return Re(Re(e,/(.+:)(flex-)?(.*)/,Le+"box-pack:$3"+Me+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Le+e+e;case 4095:case 3583:case 4068:case 2532:return Re(e,/(.+)-inline(.+)/,Le+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(Ke(e)-1-t>6)switch(Qe(e,t+1)){case 109:if(45!==Qe(e,t+4))break;case 102:return Re(e,/(.+:)(.+)-([^]+)/,"$1"+Le+"$2-$3$1"+Ue+(108==Qe(e,t+3)?"$3":"$2-$3"))+e;case 115:return~Ve(e,"stretch")?jt(Re(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==Qe(e,t+1))break;case 6444:switch(Qe(e,Ke(e)-3-(~Ve(e,"!important")&&10))){case 107:return Re(e,":",":"+Le)+e;case 101:return Re(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Le+(45===Qe(e,14)?"inline-":"")+"box$3$1"+Le+"$2$3$1"+Me+"$2box$3")+e}break;case 5936:switch(Qe(e,t+11)){case 114:return Le+e+Me+Re(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Le+e+Me+Re(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Le+e+Me+Re(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Le+e+Me+e+e}return e}var Dt,Gt,Bt="undefined"!=typeof document,qt=Bt?void 0:(Dt=function(){return At((function(){var e={};return function(t){return e[t]}}))},Gt=new WeakMap,function(e){if(Gt.has(e))return Gt.get(e);var t=Dt(e);return Gt.set(e,t),t}),Ht=[function(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case De:e.return=jt(e.value,e.length);break;case Ge:return St([it(e,{value:Re(e.value,"@","@"+Le)})],n);case je:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,(function(t){switch(function(e,t){return(e=t.exec(e))?e[0]:e}(t,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return St([it(e,{props:[Re(t,/:(read-\w+)/,":-moz-$1")]})],n);case"::placeholder":return St([it(e,{props:[Re(t,/:(plac\w+)/,":"+Le+"input-$1")]}),it(e,{props:[Re(t,/:(plac\w+)/,":-moz-$1")]}),it(e,{props:[Re(t,/:(plac\w+)/,Me+"input-$1")]})],n)}return""}))}}],Pt=function(e){var t=e.key;if("production"!==process.env.NODE_ENV&&!t)throw new Error("You have to configure `key` for your cache. Please make sure it's unique (and not equal to 'css') as it's used for linking styles to your cache.\nIf multiple caches share the same key they might \"fight\" for each other's style elements.");if(Bt&&"css"===t){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var n=e.stylisPlugins||Ht;if("production"!==process.env.NODE_ENV&&/[^a-z-]/.test(t))throw new Error('Emotion key must only contain lower case alphabetical characters and - but "'+t+'" was passed');var o,i,s={},a=[];Bt&&(o=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),(function(e){for(var t=e.getAttribute("data-emotion").split(" "),r=1;r<t.length;r++)s[t[r]]=!0;a.push(e)})));var l,c=[Tt,Nt];if("production"!==process.env.NODE_ENV&&c.push(function(e){return function(t,r,n){if("rule"===t.type&&!e.compat){var o=t.value.match(/(:first|:nth|:nth-last)-child/g);if(o){for(var i=t.parent?t.parent.children:n,s=i.length-1;s>=0;s--){var a=i[s];if(a.line<t.line)break;if(a.column<t.column){if(Mt(a))return;break}}o.forEach((function(e){console.error('The pseudo class "'+e+'" is potentially unsafe when doing server-side rendering. Try changing it to "'+e.split("-child")[0]+'-of-type".')}))}}}}({get compat(){return y.compat}}),It),Bt){var u,d=[Et,"production"!==process.env.NODE_ENV?function(e){e.root||(e.return?u.insert(e.return):e.value&&e.type!==Ie&&u.insert(e.value+"{}"))}:(l=function(e){u.insert(e)},function(e){e.root||(e=e.return)&&l(e)})],f=_t(c.concat(n,d));i=function(e,t,r,n){u=r,"production"!==process.env.NODE_ENV&&void 0!==t.map&&(u={insert:function(e){r.insert(e+t.map)}}),St(xt(e?e+"{"+t.styles+"}":t.styles),f),n&&(y.inserted[t.name]=!0)}}else{var p=[Et],h=_t(c.concat(n,p)),g=qt(n)(t),v=function(e,t){var r=t.name;return void 0===g[r]&&(g[r]=St(xt(e?e+"{"+t.styles+"}":t.styles),h)),g[r]};i=function(e,t,r,n){var o=t.name,i=v(e,t);return void 0===y.compat?(n&&(y.inserted[o]=!0),"development"===process.env.NODE_ENV&&void 0!==t.map?i+t.map:i):n?void(y.inserted[o]=i):i}}var y={key:t,sheet:new Ne({key:t,container:o,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:s,registered:{},insert:i};return y.sheet.hydrate(a),y};var Rt={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},Vt="You have illegal escape sequence in your template literal, most likely inside content's property value.\nBecause you write your CSS inside a JavaScript string you actually have to do double escaping, so for example \"content: '\\00d7';\" should become \"content: '\\\\00d7';\".\nYou can read more about this here:\nhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences",Qt="You have passed in falsy value as style object's key (can happen when in example you pass unexported component as computed key).",Yt=/[A-Z]|^ms/g,Kt=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Wt=function(e){return 45===e.charCodeAt(1)},Xt=function(e){return null!=e&&"boolean"!=typeof e},Zt=At((function(e){return Wt(e)?e:e.replace(Yt,"-$&").toLowerCase()})),Jt=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(Kt,(function(e,t,r){return cr={name:t,styles:r,next:cr},t}))}return 1===Rt[e]||Wt(e)||"number"!=typeof t||0===t?t:t+"px"};if("production"!==process.env.NODE_ENV){var er=/(var|attr|counters?|url|element|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/,tr=["normal","none","initial","inherit","unset"],rr=Jt,nr=/^-ms-/,or=/-(.)/g,ir={};Jt=function(e,t){if("content"===e&&("string"!=typeof t||-1===tr.indexOf(t)&&!er.test(t)&&(t.charAt(0)!==t.charAt(t.length-1)||'"'!==t.charAt(0)&&"'"!==t.charAt(0))))throw new Error("You seem to be using a value for 'content' without quotes, try replacing it with `content: '\""+t+"\"'`");var r=rr(e,t);return""===r||Wt(e)||-1===e.indexOf("-")||void 0!==ir[e]||(ir[e]=!0,console.error("Using kebab-case for css properties in objects is not supported. Did you mean "+e.replace(nr,"ms-").replace(or,(function(e,t){return t.toUpperCase()}))+"?")),r}}var sr="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function ar(e,t,r){if(null==r)return"";if(void 0!==r.__emotion_styles){if("production"!==process.env.NODE_ENV&&"NO_COMPONENT_SELECTOR"===r.toString())throw new Error(sr);return r}switch(typeof r){case"boolean":return"";case"object":if(1===r.anim)return cr={name:r.name,styles:r.styles,next:cr},r.name;if(void 0!==r.styles){var n=r.next;if(void 0!==n)for(;void 0!==n;)cr={name:n.name,styles:n.styles,next:cr},n=n.next;var o=r.styles+";";return"production"!==process.env.NODE_ENV&&void 0!==r.map&&(o+=r.map),o}return function(e,t,r){var n="";if(Array.isArray(r))for(var o=0;o<r.length;o++)n+=ar(e,t,r[o])+";";else for(var i in r){var s=r[i];if("object"!=typeof s)null!=t&&void 0!==t[s]?n+=i+"{"+t[s]+"}":Xt(s)&&(n+=Zt(i)+":"+Jt(i,s)+";");else{if("NO_COMPONENT_SELECTOR"===i&&"production"!==process.env.NODE_ENV)throw new Error(sr);if(!Array.isArray(s)||"string"!=typeof s[0]||null!=t&&void 0!==t[s[0]]){var a=ar(e,t,s);switch(i){case"animation":case"animationName":n+=Zt(i)+":"+a+";";break;default:"production"!==process.env.NODE_ENV&&"undefined"===i&&console.error(Qt),n+=i+"{"+a+"}"}}else for(var l=0;l<s.length;l++)Xt(s[l])&&(n+=Zt(i)+":"+Jt(i,s[l])+";")}}return n}(e,t,r);case"function":if(void 0!==e){var i=cr,s=r(e);return cr=i,ar(e,t,s)}"production"!==process.env.NODE_ENV&&console.error("Functions that are interpolated in css calls will be stringified.\nIf you want to have a css call based on props, create a function that returns a css call like this\nlet dynamicStyle = (props) => css`color: ${props.color}`\nIt can be called directly with props or interpolated in a styled call like this\nlet SomeComponent = styled('div')`${dynamicStyle}`");break;case"string":if("production"!==process.env.NODE_ENV){var a=[],l=r.replace(Kt,(function(e,t,r){var n="animation"+a.length;return a.push("const "+n+" = keyframes`"+r.replace(/^@keyframes animation-\w+/,"")+"`"),"${"+n+"}"}));a.length&&console.error("`keyframes` output got interpolated into plain string, please wrap it with `css`.\n\nInstead of doing this:\n\n"+[].concat(a,["`"+l+"`"]).join("\n")+"\n\nYou should wrap it with `css` like this:\n\ncss`"+l+"`")}}if(null==t)return r;var c=t[r];return void 0!==c?c:r}var lr,cr,ur=/label:\s*([^\s;\n{]+)\s*(;|$)/g;"production"!==process.env.NODE_ENV&&(lr=/\/\*#\ssourceMappingURL=data:application\/json;\S+\s+\*\//g);var dr=function(e,t,r){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var n=!0,o="";cr=void 0;var i,s=e[0];null==s||void 0===s.raw?(n=!1,o+=ar(r,t,s)):("production"!==process.env.NODE_ENV&&void 0===s[0]&&console.error(Vt),o+=s[0]);for(var a=1;a<e.length;a++)o+=ar(r,t,e[a]),n&&("production"!==process.env.NODE_ENV&&void 0===s[a]&&console.error(Vt),o+=s[a]);"production"!==process.env.NODE_ENV&&(o=o.replace(lr,(function(e){return i=e,""}))),ur.lastIndex=0;for(var l,c="";null!==(l=ur.exec(o));)c+="-"+l[1];var u=function(e){for(var t,r=0,n=0,o=e.length;o>=4;++n,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(n)|(255&e.charCodeAt(++n))<<8|(255&e.charCodeAt(++n))<<16|(255&e.charCodeAt(++n))<<24))+(59797*(t>>>16)<<16),r=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&r)+(59797*(r>>>16)<<16);switch(o){case 3:r^=(255&e.charCodeAt(n+2))<<16;case 2:r^=(255&e.charCodeAt(n+1))<<8;case 1:r=1540483477*(65535&(r^=255&e.charCodeAt(n)))+(59797*(r>>>16)<<16)}return(((r=1540483477*(65535&(r^=r>>>13))+(59797*(r>>>16)<<16))^r>>>15)>>>0).toString(36)}(o)+c;return"production"!==process.env.NODE_ENV?{name:u,styles:o,map:i,next:cr,toString:function(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}}:{name:u,styles:o,next:cr}},fr="undefined"!=typeof document;function pr(e,t,r){var n="";return r.split(" ").forEach((function(r){void 0!==e[r]?t.push(e[r]+";"):n+=r+" "})),n}var hr=function(e,t,r){!function(e,t,r){var n=e.key+"-"+t.name;(!1===r||!1===fr&&void 0!==e.compat)&&void 0===e.registered[n]&&(e.registered[n]=t.styles)}(e,t,r);var n=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var o="",i=t;do{var s=e.insert(t===i?"."+n:"",i,e.sheet,!0);fr||void 0===s||(o+=s),i=i.next}while(void 0!==i);if(!fr&&0!==o.length)return o}};function gr(e,t){if(void 0===e.inserted[t.name])return e.insert("",t,e.sheet,!0)}function vr(e,t,r){var n=[],o=pr(e,n,r);return n.length<2?r:o+t(n)}var yr=function e(t){for(var r="",n=0;n<t.length;n++){var o=t[n];if(null!=o){var i=void 0;switch(typeof o){case"boolean":break;case"object":if(Array.isArray(o))i=e(o);else for(var s in i="",o)o[s]&&s&&(i&&(i+=" "),i+=s);break;default:i=o}i&&(r&&(r+=" "),r+=i)}}return r},mr=function(e){var t=Pt(e);t.sheet.speedy=function(e){if("production"!==process.env.NODE_ENV&&0!==this.ctr)throw new Error("speedy must be changed before any rules are inserted");this.isSpeedy=e},t.compat=!0;var r=function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];var o=dr(r,t.registered,void 0);return hr(t,o,!1),t.key+"-"+o.name};return{css:r,cx:function(){for(var e=arguments.length,n=new Array(e),o=0;o<e;o++)n[o]=arguments[o];return vr(t.registered,r,yr(n))},injectGlobal:function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];var o=dr(r,t.registered);gr(t,o)},keyframes:function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];var o=dr(r,t.registered),i="animation-"+o.name;return gr(t,{name:o.name,styles:"@keyframes "+i+"{"+o.styles+"}"}),i},hydrate:function(e){e.forEach((function(e){t.inserted[e]=!0}))},flush:function(){t.registered={},t.inserted={},t.sheet.flush()},sheet:t.sheet,cache:t,getRegisteredStyles:pr.bind(null,t.registered),merge:vr.bind(null,t.registered,r)}}({key:"css"}),br=mr.cx,xr=mr.css;const $r={xs:"0 1px 2px 0 rgb(0 0 0 / 0.05)",sm:"0 1px 3px 0 color, 0 1px 2px -1px color",md:"0 4px 6px -1px color, 0 2px 4px -2px color",lg:"0 10px 15px -3px color, 0 4px 6px -4px color",xl:"0 20px 25px -5px color, 0 8px 10px -6px color","2xl":"0 25px 50px -12px color",inner:"inset 0 2px 4px 0 color",none:"none"},wr=(e,t="")=>$r[e].replace(/color/g,t),kr={colors:{inherit:"inherit",current:"currentColor",transparent:"transparent",black:"#000000",white:"#ffffff",neutral:{50:"#f9fafb",100:"#f2f4f7",200:"#eaecf0",300:"#d0d5dd",400:"#98a2b3",500:"#667085",600:"#475467",700:"#344054",800:"#1d2939",900:"#101828"},darkGray:{50:"#525c7a",100:"#49536e",200:"#414962",300:"#394056",400:"#313749",500:"#292e3d",600:"#212530",700:"#191c24",800:"#111318",900:"#0b0d10"},gray:{50:"#f9fafb",100:"#f2f4f7",200:"#eaecf0",300:"#d0d5dd",400:"#98a2b3",500:"#667085",600:"#475467",700:"#344054",800:"#1d2939",900:"#101828"},blue:{25:"#F5FAFF",50:"#EFF8FF",100:"#D1E9FF",200:"#B2DDFF",300:"#84CAFF",400:"#53B1FD",500:"#2E90FA",600:"#1570EF",700:"#175CD3",800:"#1849A9",900:"#194185"},green:{25:"#F6FEF9",50:"#ECFDF3",100:"#D1FADF",200:"#A6F4C5",300:"#6CE9A6",400:"#32D583",500:"#12B76A",600:"#039855",700:"#027A48",800:"#05603A",900:"#054F31"},red:{25:"#FFFBFA",50:"#FEF3F2",100:"#FEE4E2",200:"#FECDCA",300:"#FDA29B",400:"#F97066",500:"#F04438",600:"#D92D20",700:"#B42318",800:"#912018",900:"#7A271A"},yellow:{25:"#FFFCF5",50:"#FFFAEB",100:"#FEF0C7",200:"#FEDF89",300:"#FEC84B",400:"#FDB022",500:"#F79009",600:"#DC6803",700:"#B54708",800:"#93370D",900:"#7A2E0E"},purple:{25:"#FAFAFF",50:"#F4F3FF",100:"#EBE9FE",200:"#D9D6FE",300:"#BDB4FE",400:"#9B8AFB",500:"#7A5AF8",600:"#6938EF",700:"#5925DC",800:"#4A1FB8",900:"#3E1C96"},teal:{25:"#F6FEFC",50:"#F0FDF9",100:"#CCFBEF",200:"#99F6E0",300:"#5FE9D0",400:"#2ED3B7",500:"#15B79E",600:"#0E9384",700:"#107569",800:"#125D56",900:"#134E48"},pink:{25:"#fdf2f8",50:"#fce7f3",100:"#fbcfe8",200:"#f9a8d4",300:"#f472b6",400:"#ec4899",500:"#db2777",600:"#be185d",700:"#9d174d",800:"#831843",900:"#500724"},cyan:{25:"#ecfeff",50:"#cffafe",100:"#a5f3fc",200:"#67e8f9",300:"#22d3ee",400:"#06b6d4",500:"#0891b2",600:"#0e7490",700:"#155e75",800:"#164e63",900:"#083344"}},alpha:{100:"ff",90:"e5",80:"cc",70:"b3",60:"99",50:"80",40:"66",30:"4d",20:"33",10:"1a",0:"00"},font:{size:{"2xs":"0.625rem",xs:"0.75rem",sm:"0.875rem",md:"1rem",lg:"1.125rem",xl:"1.25rem","2xl":"1.5rem","3xl":"1.875rem","4xl":"2.25rem","5xl":"3rem","6xl":"3.75rem","7xl":"4.5rem","8xl":"6rem","9xl":"8rem"},lineHeight:{xs:"1rem",sm:"1.25rem",md:"1.5rem",lg:"1.75rem",xl:"1.75rem","2xl":"2rem","3xl":"2.25rem","4xl":"2.5rem","5xl":"1","6xl":"1","7xl":"1","8xl":"1","9xl":"1"},weight:{thin:"100",extralight:"200",light:"300",normal:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"}},breakpoints:{xs:"320px",sm:"640px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1536px"},border:{radius:{none:"0px",xs:"0.125rem",sm:"0.25rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem",full:"9999px"}},size:{0:"0px",.25:"0.0625rem",.5:"0.125rem",1:"0.25rem",1.5:"0.375rem",2:"0.5rem",2.5:"0.625rem",3:"0.75rem",3.5:"0.875rem",4:"1rem",4.5:"1.125rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem",11:"2.75rem",12:"3rem",14:"3.5rem",16:"4rem",20:"5rem",24:"6rem",28:"7rem",32:"8rem",36:"9rem",40:"10rem",44:"11rem",48:"12rem",52:"13rem",56:"14rem",60:"15rem",64:"16rem",72:"18rem",80:"20rem",96:"24rem"},shadow:{xs:(e="rgb(0 0 0 / 0.1)")=>wr("xs",e),sm:(e="rgb(0 0 0 / 0.1)")=>wr("sm",e),md:(e="rgb(0 0 0 / 0.1)")=>wr("md",e),lg:(e="rgb(0 0 0 / 0.1)")=>wr("lg",e),xl:(e="rgb(0 0 0 / 0.1)")=>wr("xl",e),"2xl":(e="rgb(0 0 0 / 0.25)")=>wr("2xl",e),inner:(e="rgb(0 0 0 / 0.05)")=>wr("inner",e),none:()=>wr("none")},zIndices:{hide:-1,auto:"auto",base:0,docked:10,dropdown:1e3,sticky:1100,banner:1200,overlay:1300,modal:1400,popover:1500,skipLink:1600,toast:1700,tooltip:1800}};var Cr,Sr=function(){function e(){this.keyToValue=new Map,this.valueToKey=new Map}return e.prototype.set=function(e,t){this.keyToValue.set(e,t),this.valueToKey.set(t,e)},e.prototype.getByKey=function(e){return this.keyToValue.get(e)},e.prototype.getByValue=function(e){return this.valueToKey.get(e)},e.prototype.clear=function(){this.keyToValue.clear(),this.valueToKey.clear()},e}(),Er=function(){function e(e){this.generateIdentifier=e,this.kv=new Sr}return e.prototype.register=function(e,t){this.kv.getByValue(e)||(t||(t=this.generateIdentifier(e)),this.kv.set(t,e))},e.prototype.clear=function(){this.kv.clear()},e.prototype.getIdentifier=function(e){return this.kv.getByValue(e)},e.prototype.getValue=function(e){return this.kv.getByKey(e)},e}(),_r=(Cr=function(e,t){return Cr=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},Cr(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}Cr(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),Ar=function(e){function t(){var t=e.call(this,(function(e){return e.name}))||this;return t.classToAllowedProps=new Map,t}return _r(t,e),t.prototype.register=function(t,r){"object"==typeof r?(r.allowProps&&this.classToAllowedProps.set(t,r.allowProps),e.prototype.register.call(this,t,r.identifier)):e.prototype.register.call(this,t,r)},t.prototype.getAllowedProps=function(e){return this.classToAllowedProps.get(e)},t}(Er),Or=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)s.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return s};function zr(e,t){var r=function(e){if("values"in Object)return Object.values(e);var t=[];for(var r in e)e.hasOwnProperty(r)&&t.push(e[r]);return t}(e);if("find"in r)return r.find(t);for(var n=r,o=0;o<n.length;o++){var i=n[o];if(t(i))return i}}function Fr(e,t){Object.entries(e).forEach((function(e){var r=Or(e,2),n=r[0],o=r[1];return t(o,n)}))}function Tr(e,t){return-1!==e.indexOf(t)}function Nr(e,t){for(var r=0;r<e.length;r++){var n=e[r];if(t(n))return n}}var Mr=function(){function e(){this.transfomers={}}return e.prototype.register=function(e){this.transfomers[e.name]=e},e.prototype.findApplicable=function(e){return zr(this.transfomers,(function(t){return t.isApplicable(e)}))},e.prototype.findByName=function(e){return this.transfomers[e]},e}(),Ur=function(e){return void 0===e},Lr=function(e){return"object"==typeof e&&null!==e&&(e!==Object.prototype&&(null===Object.getPrototypeOf(e)||e.constructor===Object&&Object.getPrototypeOf(e)===Object.prototype))},Ir=function(e){return Lr(e)&&0===Object.keys(e).length},jr=function(e){return Array.isArray(e)},Dr=function(e){return e instanceof Map},Gr=function(e){return e instanceof Set},Br=function(e){return"Symbol"===function(e){return Object.prototype.toString.call(e).slice(8,-1)}(e)},qr=function(e){return"number"==typeof e&&isNaN(e)},Hr=function(e){return function(e){return"boolean"==typeof e}(e)||function(e){return null===e}(e)||Ur(e)||function(e){return"number"==typeof e&&!isNaN(e)}(e)||function(e){return"string"==typeof e}(e)||Br(e)},Pr=function(e){return e.replace(/\./g,"\\.")},Rr=function(e){return e.map(String).map(Pr).join(".")},Vr=function(e){for(var t=[],r="",n=0;n<e.length;n++){var o=e.charAt(n);if("\\"===o&&"."===e.charAt(n+1))r+=".",n++;else"."===o?(t.push(r),r=""):r+=o}var i=r;return t.push(i),t},Qr=function(){return Qr=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Qr.apply(this,arguments)},Yr=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)s.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return s},Kr=function(e,t){for(var r=0,n=t.length,o=e.length;r<n;r++,o++)e[o]=t[r];return e};function Wr(e,t,r,n){return{isApplicable:e,annotation:t,transform:r,untransform:n}}var Xr=[Wr(Ur,"undefined",(function(){return null}),(function(){})),Wr((function(e){return"bigint"==typeof e}),"bigint",(function(e){return e.toString()}),(function(e){return"undefined"!=typeof BigInt?BigInt(e):(console.error("Please add a BigInt polyfill."),e)})),Wr((function(e){return e instanceof Date&&!isNaN(e.valueOf())}),"Date",(function(e){return e.toISOString()}),(function(e){return new Date(e)})),Wr((function(e){return e instanceof Error}),"Error",(function(e,t){var r={name:e.name,message:e.message};return t.allowedErrorProps.forEach((function(t){r[t]=e[t]})),r}),(function(e,t){var r=new Error(e.message);return r.name=e.name,r.stack=e.stack,t.allowedErrorProps.forEach((function(t){r[t]=e[t]})),r})),Wr((function(e){return e instanceof RegExp}),"regexp",(function(e){return""+e}),(function(e){var t=e.slice(1,e.lastIndexOf("/")),r=e.slice(e.lastIndexOf("/")+1);return new RegExp(t,r)})),Wr(Gr,"set",(function(e){return Kr([],Yr(e.values()))}),(function(e){return new Set(e)})),Wr(Dr,"map",(function(e){return Kr([],Yr(e.entries()))}),(function(e){return new Map(e)})),Wr((function(e){return qr(e)||((t=e)===1/0||t===-1/0);var t}),"number",(function(e){return qr(e)?"NaN":e>0?"Infinity":"-Infinity"}),Number),Wr((function(e){return 0===e&&1/e==-1/0}),"number",(function(){return"-0"}),Number),Wr((function(e){return e instanceof URL}),"URL",(function(e){return e.toString()}),(function(e){return new URL(e)}))];function Zr(e,t,r,n){return{isApplicable:e,annotation:t,transform:r,untransform:n}}var Jr=Zr((function(e,t){return!!Br(e)&&!!t.symbolRegistry.getIdentifier(e)}),(function(e,t){return["symbol",t.symbolRegistry.getIdentifier(e)]}),(function(e){return e.description}),(function(e,t,r){var n=r.symbolRegistry.getValue(t[1]);if(!n)throw new Error("Trying to deserialize unknown symbol");return n})),en=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array,Uint8ClampedArray].reduce((function(e,t){return e[t.name]=t,e}),{}),tn=Zr((function(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)}),(function(e){return["typed-array",e.constructor.name]}),(function(e){return Kr([],Yr(e))}),(function(e,t){var r=en[t[1]];if(!r)throw new Error("Trying to deserialize unknown typed array");return new r(e)}));function rn(e,t){return!!(null==e?void 0:e.constructor)&&!!t.classRegistry.getIdentifier(e.constructor)}var nn=Zr(rn,(function(e,t){return["class",t.classRegistry.getIdentifier(e.constructor)]}),(function(e,t){var r=t.classRegistry.getAllowedProps(e.constructor);if(!r)return Qr({},e);var n={};return r.forEach((function(t){n[t]=e[t]})),n}),(function(e,t,r){var n=r.classRegistry.getValue(t[1]);if(!n)throw new Error("Trying to deserialize unknown class - check https://github.com/blitz-js/superjson/issues/116#issuecomment-773996564");return Object.assign(Object.create(n.prototype),e)})),on=Zr((function(e,t){return!!t.customTransformerRegistry.findApplicable(e)}),(function(e,t){return["custom",t.customTransformerRegistry.findApplicable(e).name]}),(function(e,t){return t.customTransformerRegistry.findApplicable(e).serialize(e)}),(function(e,t,r){var n=r.customTransformerRegistry.findByName(t[1]);if(!n)throw new Error("Trying to deserialize unknown custom value");return n.deserialize(e)})),sn=[nn,Jr,on,tn],an=function(e,t){var r=Nr(sn,(function(r){return r.isApplicable(e,t)}));if(r)return{value:r.transform(e,t),type:r.annotation(e,t)};var n=Nr(Xr,(function(r){return r.isApplicable(e,t)}));return n?{value:n.transform(e,t),type:n.annotation}:void 0},ln={};Xr.forEach((function(e){ln[e.annotation]=e}));var cn=function(e,t){for(var r=e.keys();t>0;)r.next(),t--;return r.next().value};function un(e){if(Tr(e,"__proto__"))throw new Error("__proto__ is not allowed as a property");if(Tr(e,"prototype"))throw new Error("prototype is not allowed as a property");if(Tr(e,"constructor"))throw new Error("constructor is not allowed as a property")}var dn=function(e,t,r){if(un(t),0===t.length)return r(e);for(var n=e,o=0;o<t.length-1;o++){var i=t[o];if(jr(n))n=n[+i];else if(Lr(n))n=n[i];else if(Gr(n)){n=cn(n,s=+i)}else if(Dr(n)){if(o===t.length-2)break;var s=+i,a=0==+t[++o]?"key":"value",l=cn(n,s);switch(a){case"key":n=l;break;case"value":n=n.get(l)}}}var c=t[t.length-1];if(jr(n)?n[+c]=r(n[+c]):Lr(n)&&(n[c]=r(n[c])),Gr(n)){var u=cn(n,+c),d=r(u);u!==d&&(n.delete(u),n.add(d))}if(Dr(n)){s=+t[t.length-2];var f=cn(n,s);switch(a=0==+c?"key":"value"){case"key":var p=r(f);n.set(p,n.get(f)),p!==f&&n.delete(f);break;case"value":n.set(f,r(n.get(f)))}}return e},fn=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)s.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return s},pn=function(e,t){for(var r=0,n=t.length,o=e.length;r<n;r++,o++)e[o]=t[r];return e};function hn(e,t,r){if(void 0===r&&(r=[]),e)if(jr(e)){var n=fn(e,2),o=n[0],i=n[1];i&&Fr(i,(function(e,n){hn(e,t,pn(pn([],fn(r)),fn(Vr(n))))})),t(o,r)}else Fr(e,(function(e,n){return hn(e,t,pn(pn([],fn(r)),fn(Vr(n))))}))}function gn(e,t,r){return hn(t,(function(t,n){e=dn(e,n,(function(e){return function(e,t,r){if(!jr(t)){var n=ln[t];if(!n)throw new Error("Unknown transformation: "+t);return n.untransform(e,r)}switch(t[0]){case"symbol":return Jr.untransform(e,t,r);case"class":return nn.untransform(e,t,r);case"custom":return on.untransform(e,t,r);case"typed-array":return tn.untransform(e,t,r);default:throw new Error("Unknown transformation: "+t)}}(e,t,r)}))})),e}function vn(e,t){function r(t,r){var n=function(e,t){un(t);for(var r=0;r<t.length;r++){var n=t[r];if(Gr(e))e=cn(e,+n);else if(Dr(e)){var o=+n,i=0==+t[++r]?"key":"value",s=cn(e,o);switch(i){case"key":e=s;break;case"value":e=e.get(s)}}else e=e[n]}return e}(e,Vr(r));t.map(Vr).forEach((function(t){e=dn(e,t,(function(){return n}))}))}if(jr(t)){var n=fn(t,2),o=n[0],i=n[1];o.forEach((function(t){e=dn(e,Vr(t),(function(){return e}))})),i&&Fr(i,r)}else Fr(t,r);return e}var yn=function(e,t,r,n,o){var i;if(void 0===n&&(n=[]),void 0===o&&(o=[]),Hr(e)||function(e,t,r){var n=r.get(e);n?n.push(t):r.set(e,[t])}(e,n,t),!function(e,t){return Lr(e)||jr(e)||Dr(e)||Gr(e)||rn(e,t)}(e,r)){var s=an(e,r);return s?{transformedValue:s.value,annotations:[s.type]}:{transformedValue:e}}if(Tr(o,e))return{transformedValue:null};var a=an(e,r),l=null!==(i=null==a?void 0:a.value)&&void 0!==i?i:e;Hr(e)||(o=pn(pn([],fn(o)),[e]));var c=jr(l)?[]:{},u={};return Fr(l,(function(e,i){var s=yn(e,t,r,pn(pn([],fn(n)),[i]),o);c[i]=s.transformedValue,jr(s.annotations)?u[i]=s.annotations:Lr(s.annotations)&&Fr(s.annotations,(function(e,t){u[Pr(i)+"."+t]=e}))})),Ir(u)?{transformedValue:c,annotations:a?[a.type]:void 0}:{transformedValue:c,annotations:a?[a.type,u]:u}};function mn(e){return Object.prototype.toString.call(e).slice(8,-1)}function bn(e){return"Array"===mn(e)}function xn(e,t={}){if(bn(e))return e.map((e=>xn(e,t)));if(!function(e){if("Object"!==mn(e))return!1;const t=Object.getPrototypeOf(e);return t.constructor===Object&&t===Object.prototype}(e))return e;return[...Object.getOwnPropertyNames(e),...Object.getOwnPropertySymbols(e)].reduce(((r,n)=>{if(bn(t.props)&&!t.props.includes(n))return r;return function(e,t,r,n,o){const i={}.propertyIsEnumerable.call(n,t)?"enumerable":"nonenumerable";"enumerable"===i&&(e[t]=r),o&&"nonenumerable"===i&&Object.defineProperty(e,t,{value:r,enumerable:!1,writable:!0,configurable:!0})}(r,n,xn(e[n],t),e,t.nonenumerable),r}),{})}var $n=function(){return $n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},$n.apply(this,arguments)},wn=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)s.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return s},kn=function(e,t){for(var r=0,n=t.length,o=e.length;r<n;r++,o++)e[o]=t[r];return e},Cn=function(){function e(){this.classRegistry=new Ar,this.symbolRegistry=new Er((function(e){var t;return null!==(t=e.description)&&void 0!==t?t:""})),this.customTransformerRegistry=new Mr,this.allowedErrorProps=[]}return e.prototype.serialize=function(e){var t=new Map,r=yn(e,t,this),n={json:r.transformedValue};r.annotations&&(n.meta=$n($n({},n.meta),{values:r.annotations}));var o,i,s=(o={},i=void 0,t.forEach((function(e){if(!(e.length<=1)){var t=fn(e.map((function(e){return e.map(String)})).sort((function(e,t){return e.length-t.length}))),r=t[0],n=t.slice(1);0===r.length?i=n.map(Rr):o[Rr(r)]=n.map(Rr)}})),i?Ir(o)?[i]:[i,o]:Ir(o)?void 0:o);return s&&(n.meta=$n($n({},n.meta),{referentialEqualities:s})),n},e.prototype.deserialize=function(e){var t=e.json,r=e.meta,n=xn(t);return(null==r?void 0:r.values)&&(n=gn(n,r.values,this)),(null==r?void 0:r.referentialEqualities)&&(n=vn(n,r.referentialEqualities)),n},e.prototype.stringify=function(e){return JSON.stringify(this.serialize(e))},e.prototype.parse=function(e){return this.deserialize(JSON.parse(e))},e.prototype.registerClass=function(e,t){this.classRegistry.register(e,t)},e.prototype.registerSymbol=function(e,t){this.symbolRegistry.register(e,t)},e.prototype.registerCustom=function(e,t){this.customTransformerRegistry.register($n({name:t},e))},e.prototype.allowErrorProps=function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];(e=this.allowedErrorProps).push.apply(e,kn([],wn(t)))},e.defaultInstance=new e,e.serialize=e.defaultInstance.serialize.bind(e.defaultInstance),e.deserialize=e.defaultInstance.deserialize.bind(e.defaultInstance),e.stringify=e.defaultInstance.stringify.bind(e.defaultInstance),e.parse=e.defaultInstance.parse.bind(e.defaultInstance),e.registerClass=e.defaultInstance.registerClass.bind(e.defaultInstance),e.registerSymbol=e.defaultInstance.registerSymbol.bind(e.defaultInstance),e.registerCustom=e.defaultInstance.registerCustom.bind(e.defaultInstance),e.allowErrorProps=e.defaultInstance.allowErrorProps.bind(e.defaultInstance),e}(),Sn=Cn.serialize,En=Cn.stringify;function _n(e){return"fetching"===e.state.fetchStatus?"fetching":e.getObserversCount()?"paused"===e.state.fetchStatus?"paused":e.isStale()?"stale":"fresh":"inactive"}const An=(e,t=!1)=>{const{json:r}=Sn(e);return JSON.stringify(r,null,t?2:void 0)},On=e=>"idle"!==e.state.fetchStatus?0:e.getObserversCount()?e.isStale()?2:1:3,zn=(e,t)=>e.state.dataUpdatedAt<t.state.dataUpdatedAt?1:-1,Fn={status:(e,t)=>On(e)===On(t)?zn(e,t):On(e)>On(t)?1:-1,"query hash":(e,t)=>e.queryHash.localeCompare(t.queryHash),"last updated":zn},Tn=e=>e*parseFloat(getComputedStyle(document.documentElement).fontSize),Nn=le('<svg width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M13 13L9.00007 9M10.3333 5.66667C10.3333 8.244 8.244 10.3333 5.66667 10.3333C3.08934 10.3333 1 8.244 1 5.66667C1 3.08934 3.08934 1 5.66667 1C8.244 1 10.3333 3.08934 10.3333 5.66667Z" stroke="#98A2B3" stroke-width="1.66667" stroke-linecap="round" stroke-linejoin="round"></path></svg>',4),Mn=le('<svg width="10" height="6" viewBox="0 0 10 6" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M1 1L5 5L9 1" stroke="#98A2B3" stroke-width="1.66667" stroke-linecap="round" stroke-linejoin="round"></path></svg>',4),Un=le('<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M8 13.3333V2.66667M8 2.66667L4 6.66667M8 2.66667L12 6.66667" stroke="#98A2B3" stroke-width="1.66667" stroke-linecap="round" stroke-linejoin="round"></path></svg>',4),Ln=le('<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M8 2.66667V13.3333M8 13.3333L4 9.33333M8 13.3333L12 9.33333" stroke="#98A2B3" stroke-width="1.66667" stroke-linecap="round" stroke-linejoin="round"></path></svg>',4),In=le('<svg stroke="#98A2B3" fill="#98A2B3" stroke-width="0" viewBox="0 0 24 24" height="1em" width="1em" xmlns="http://www.w3.org/2000/svg"><path fill="none" d="M0 0h24v24H0z"></path><path d="M1 9l2 2c4.97-4.97 13.03-4.97 18 0l2-2C16.93 2.93 7.08 2.93 1 9zm8 8l3 3 3-3a4.237 4.237 0 00-6 0zm-4-4l2 2a7.074 7.074 0 0110 0l2-2C15.14 9.14 8.87 9.14 5 13z"></path></svg>',6),jn=le('<svg stroke-width="0" viewBox="0 0 24 24" height="1em" width="1em" xmlns="http://www.w3.org/2000/svg"><path fill="none" d="M24 .01c0-.01 0-.01 0 0L0 0v24h24V.01zM0 0h24v24H0V0zm0 0h24v24H0V0z"></path><path d="M22.99 9C19.15 5.16 13.8 3.76 8.84 4.78l2.52 2.52c3.47-.17 6.99 1.05 9.63 3.7l2-2zm-4 4a9.793 9.793 0 00-4.49-2.56l3.53 3.53.96-.97zM2 3.05L5.07 6.1C3.6 6.82 2.22 7.78 1 9l1.99 2c1.24-1.24 2.67-2.16 4.2-2.77l2.24 2.24A9.684 9.684 0 005 13v.01L6.99 15a7.042 7.042 0 014.92-2.06L18.98 20l1.27-1.26L3.29 1.79 2 3.05zM9 17l3 3 3-3a4.237 4.237 0 00-6 0z"></path></svg>',6),Dn=le('<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M9.3951 19.3711L9.97955 20.6856C10.1533 21.0768 10.4368 21.4093 10.7958 21.6426C11.1547 21.8759 11.5737 22.0001 12.0018 22C12.4299 22.0001 12.8488 21.8759 13.2078 21.6426C13.5667 21.4093 13.8503 21.0768 14.024 20.6856L14.6084 19.3711C14.8165 18.9047 15.1664 18.5159 15.6084 18.26C16.0532 18.0034 16.5678 17.8941 17.0784 17.9478L18.5084 18.1C18.9341 18.145 19.3637 18.0656 19.7451 17.8713C20.1265 17.6771 20.4434 17.3763 20.6573 17.0056C20.8715 16.635 20.9735 16.2103 20.9511 15.7829C20.9286 15.3555 20.7825 14.9438 20.5307 14.5978L19.684 13.4344C19.3825 13.0171 19.2214 12.5148 19.224 12C19.2239 11.4866 19.3865 10.9864 19.6884 10.5711L20.5351 9.40778C20.787 9.06175 20.933 8.65007 20.9555 8.22267C20.978 7.79528 20.8759 7.37054 20.6618 7C20.4479 6.62923 20.131 6.32849 19.7496 6.13423C19.3681 5.93997 18.9386 5.86053 18.5129 5.90556L17.0829 6.05778C16.5722 6.11141 16.0577 6.00212 15.6129 5.74556C15.17 5.48825 14.82 5.09736 14.6129 4.62889L14.024 3.31444C13.8503 2.92317 13.5667 2.59072 13.2078 2.3574C12.8488 2.12408 12.4299 1.99993 12.0018 2C11.5737 1.99993 11.1547 2.12408 10.7958 2.3574C10.4368 2.59072 10.1533 2.92317 9.97955 3.31444L9.3951 4.62889C9.18803 5.09736 8.83798 5.48825 8.3951 5.74556C7.95032 6.00212 7.43577 6.11141 6.9251 6.05778L5.49066 5.90556C5.06499 5.86053 4.6354 5.93997 4.25397 6.13423C3.87255 6.32849 3.55567 6.62923 3.34177 7C3.12759 7.37054 3.02555 7.79528 3.04804 8.22267C3.07052 8.65007 3.21656 9.06175 3.46844 9.40778L4.3151 10.5711C4.61704 10.9864 4.77964 11.4866 4.77955 12C4.77964 12.5134 4.61704 13.0137 4.3151 13.4289L3.46844 14.5922C3.21656 14.9382 3.07052 15.3499 3.04804 15.7773C3.02555 16.2047 3.12759 16.6295 3.34177 17C3.55589 17.3706 3.8728 17.6712 4.25417 17.8654C4.63554 18.0596 5.06502 18.1392 5.49066 18.0944L6.92066 17.9422C7.43133 17.8886 7.94587 17.9979 8.39066 18.2544C8.83519 18.511 9.18687 18.902 9.3951 19.3711Z" stroke="#98A2B3" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path><path d="M12 15C13.6568 15 15 13.6569 15 12C15 10.3431 13.6568 9 12 9C10.3431 9 8.99998 10.3431 8.99998 12C8.99998 13.6569 10.3431 15 12 15Z" stroke="#98A2B3" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path></svg>',6),Gn=le('<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path class="copier" d="M8 8V5.2C8 4.0799 8 3.51984 8.21799 3.09202C8.40973 2.71569 8.71569 2.40973 9.09202 2.21799C9.51984 2 10.0799 2 11.2 2H18.8C19.9201 2 20.4802 2 20.908 2.21799C21.2843 2.40973 21.5903 2.71569 21.782 3.09202C22 3.51984 22 4.0799 22 5.2V12.8C22 13.9201 22 14.4802 21.782 14.908C21.5903 15.2843 21.2843 15.5903 20.908 15.782C20.4802 16 19.9201 16 18.8 16H16M5.2 22H12.8C13.9201 22 14.4802 22 14.908 21.782C15.2843 21.5903 15.5903 21.2843 15.782 20.908C16 20.4802 16 19.9201 16 18.8V11.2C16 10.0799 16 9.51984 15.782 9.09202C15.5903 8.71569 15.2843 8.40973 14.908 8.21799C14.4802 8 13.9201 8 12.8 8H5.2C4.0799 8 3.51984 8 3.09202 8.21799C2.71569 8.40973 2.40973 8.71569 2.21799 9.09202C2 9.51984 2 10.0799 2 11.2V18.8C2 19.9201 2 20.4802 2.21799 20.908C2.40973 21.2843 2.71569 21.5903 3.09202 21.782C3.51984 22 4.07989 22 5.2 22Z" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" stroke="#98A2B3"></path></svg>',4),Bn=le('<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M7.5 12L10.5 15L16.5 9M7.8 21H16.2C17.8802 21 18.7202 21 19.362 20.673C19.9265 20.3854 20.3854 19.9265 20.673 19.362C21 18.7202 21 17.8802 21 16.2V7.8C21 6.11984 21 5.27976 20.673 4.63803C20.3854 4.07354 19.9265 3.6146 19.362 3.32698C18.7202 3 17.8802 3 16.2 3H7.8C6.11984 3 5.27976 3 4.63803 3.32698C4.07354 3.6146 3.6146 4.07354 3.32698 4.63803C3 5.27976 3 6.11984 3 7.8V16.2C3 17.8802 3 18.7202 3.32698 19.362C3.6146 19.9265 4.07354 20.3854 4.63803 20.673C5.27976 21 6.11984 21 7.8 21Z" stroke="#12B76A" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path></svg>',4),qn=le('<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M9 9L15 15M15 9L9 15M7.8 21H16.2C17.8802 21 18.7202 21 19.362 20.673C19.9265 20.3854 20.3854 19.9265 20.673 19.362C21 18.7202 21 17.8802 21 16.2V7.8C21 6.11984 21 5.27976 20.673 4.63803C20.3854 4.07354 19.9265 3.6146 19.362 3.32698C18.7202 3 17.8802 3 16.2 3H7.8C6.11984 3 5.27976 3 4.63803 3.32698C4.07354 3.6146 3.6146 4.07354 3.32698 4.63803C3 5.27976 3 6.11984 3 7.8V16.2C3 17.8802 3 18.7202 3.32698 19.362C3.6146 19.9265 4.07354 20.3854 4.63803 20.673C5.27976 21 6.11984 21 7.8 21Z" stroke="#F04438" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path></svg>',4),Hn=le('<svg version="1.0" viewBox="0 0 633 633"><linearGradient id="a" x1="-666.45" x2="-666.45" y1="163.28" y2="163.99" gradientTransform="matrix(633 0 0 633 422177 -103358)" gradientUnits="userSpaceOnUse"><stop stop-color="#6BDAFF" offset="0"></stop><stop stop-color="#F9FFB5" offset=".32"></stop><stop stop-color="#FFA770" offset=".71"></stop><stop stop-color="#FF7373" offset="1"></stop></linearGradient><circle cx="316.5" cy="316.5" r="316.5" fill="url(#a)"></circle><defs><filter id="am" x="-137.5" y="412" width="454" height="396.9" filterUnits="userSpaceOnUse"><feColorMatrix values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"></feColorMatrix></filter></defs><mask id="b" x="-137.5" y="412" width="454" height="396.9" maskUnits="userSpaceOnUse"><g filter="url(#am)"><circle cx="316.5" cy="316.5" r="316.5" fill="#fff"></circle></g></mask><g mask="url(#b)"><ellipse cx="89.5" cy="610.5" rx="214.5" ry="186" fill="#015064" stroke="#00CFE2" stroke-width="25"></ellipse></g><defs><filter id="ah" x="316.5" y="412" width="454" height="396.9" filterUnits="userSpaceOnUse"><feColorMatrix values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"></feColorMatrix></filter></defs><mask id="k" x="316.5" y="412" width="454" height="396.9" maskUnits="userSpaceOnUse"><g filter="url(#ah)"><circle cx="316.5" cy="316.5" r="316.5" fill="#fff"></circle></g></mask><g mask="url(#k)"><ellipse cx="543.5" cy="610.5" rx="214.5" ry="186" fill="#015064" stroke="#00CFE2" stroke-width="25"></ellipse></g><defs><filter id="ae" x="-137.5" y="450" width="454" height="396.9" filterUnits="userSpaceOnUse"><feColorMatrix values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"></feColorMatrix></filter></defs><mask id="j" x="-137.5" y="450" width="454" height="396.9" maskUnits="userSpaceOnUse"><g filter="url(#ae)"><circle cx="316.5" cy="316.5" r="316.5" fill="#fff"></circle></g></mask><g mask="url(#j)"><ellipse cx="89.5" cy="648.5" rx="214.5" ry="186" fill="#015064" stroke="#00A8B8" stroke-width="25"></ellipse></g><defs><filter id="ai" x="316.5" y="450" width="454" height="396.9" filterUnits="userSpaceOnUse"><feColorMatrix values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"></feColorMatrix></filter></defs><mask id="i" x="316.5" y="450" width="454" height="396.9" maskUnits="userSpaceOnUse"><g filter="url(#ai)"><circle cx="316.5" cy="316.5" r="316.5" fill="#fff"></circle></g></mask><g mask="url(#i)"><ellipse cx="543.5" cy="648.5" rx="214.5" ry="186" fill="#015064" stroke="#00A8B8" stroke-width="25"></ellipse></g><defs><filter id="aj" x="-137.5" y="486" width="454" height="396.9" filterUnits="userSpaceOnUse"><feColorMatrix values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"></feColorMatrix></filter></defs><mask id="h" x="-137.5" y="486" width="454" height="396.9" maskUnits="userSpaceOnUse"><g filter="url(#aj)"><circle cx="316.5" cy="316.5" r="316.5" fill="#fff"></circle></g></mask><g mask="url(#h)"><ellipse cx="89.5" cy="684.5" rx="214.5" ry="186" fill="#015064" stroke="#007782" stroke-width="25"></ellipse></g><defs><filter id="ag" x="316.5" y="486" width="454" height="396.9" filterUnits="userSpaceOnUse"><feColorMatrix values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"></feColorMatrix></filter></defs><mask id="g" x="316.5" y="486" width="454" height="396.9" maskUnits="userSpaceOnUse"><g filter="url(#ag)"><circle cx="316.5" cy="316.5" r="316.5" fill="#fff"></circle></g></mask><g mask="url(#g)"><ellipse cx="543.5" cy="684.5" rx="214.5" ry="186" fill="#015064" stroke="#007782" stroke-width="25"></ellipse></g><defs><filter id="af" x="272.2" y="308" width="176.9" height="129.3" filterUnits="userSpaceOnUse"><feColorMatrix values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"></feColorMatrix></filter></defs><mask id="f" x="272.2" y="308" width="176.9" height="129.3" maskUnits="userSpaceOnUse"><g filter="url(#af)"><circle cx="316.5" cy="316.5" r="316.5" fill="#fff"></circle></g></mask><g mask="url(#f)"><line x1="436" x2="431" y1="403.2" y2="431.8" fill="none" stroke="#000" stroke-linecap="round" stroke-linejoin="bevel" stroke-width="11"></line><line x1="291" x2="280" y1="341.5" y2="403.5" fill="none" stroke="#000" stroke-linecap="round" stroke-linejoin="bevel" stroke-width="11"></line><line x1="332.9" x2="328.6" y1="384.1" y2="411.2" fill="none" stroke="#000" stroke-linecap="round" stroke-linejoin="bevel" stroke-width="11"></line><linearGradient id="m" x1="-670.75" x2="-671.59" y1="164.4" y2="164.49" gradientTransform="matrix(-184.16 -32.472 -11.461 64.997 -121359 -32126)" gradientUnits="userSpaceOnUse"><stop stop-color="#EE2700" offset="0"></stop><stop stop-color="#FF008E" offset="1"></stop></linearGradient><path d="m344.1 363 97.7 17.2c5.8 2.1 8.2 6.1 7.1 12.1s-4.7 9.2-11 9.9l-106-18.7-57.5-59.2c-3.2-4.8-2.9-9.1 0.8-12.8s8.3-4.4 13.7-2.1l55.2 53.6z" clip-rule="evenodd" fill="url(#m)" fill-rule="evenodd"></path><line x1="428.2" x2="429.1" y1="384.5" y2="378" fill="none" stroke="#fff" stroke-linecap="round" stroke-linejoin="bevel" stroke-width="7"></line><line x1="395.2" x2="396.1" y1="379.5" y2="373" fill="none" stroke="#fff" stroke-linecap="round" stroke-linejoin="bevel" stroke-width="7"></line><line x1="362.2" x2="363.1" y1="373.5" y2="367.4" fill="none" stroke="#fff" stroke-linecap="round" stroke-linejoin="bevel" stroke-width="7"></line><line x1="324.2" x2="328.4" y1="351.3" y2="347.4" fill="none" stroke="#fff" stroke-linecap="round" stroke-linejoin="bevel" stroke-width="7"></line><line x1="303.2" x2="307.4" y1="331.3" y2="327.4" fill="none" stroke="#fff" stroke-linecap="round" stroke-linejoin="bevel" stroke-width="7"></line></g><defs><filter id="ak" x="73.2" y="113.8" width="280.6" height="317.4" filterUnits="userSpaceOnUse"><feColorMatrix values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"></feColorMatrix></filter></defs><mask id="e" x="73.2" y="113.8" width="280.6" height="317.4" maskUnits="userSpaceOnUse"><g filter="url(#ak)"><circle cx="316.5" cy="316.5" r="316.5" fill="#fff"></circle></g></mask><g mask="url(#e)"><linearGradient id="n" x1="-672.16" x2="-672.16" y1="165.03" y2="166.03" gradientTransform="matrix(-100.18 48.861 97.976 200.88 -83342 -93.059)" gradientUnits="userSpaceOnUse"><stop stop-color="#A17500" offset="0"></stop><stop stop-color="#5D2100" offset="1"></stop></linearGradient><path d="m192.3 203c8.1 37.3 14 73.6 17.8 109.1 3.8 35.4 2.8 75.1-3 119.2l61.2-16.7c-15.6-59-25.2-97.9-28.6-116.6s-10.8-51.9-22.1-99.6l-25.3 4.6" clip-rule="evenodd" fill="url(#n)" fill-rule="evenodd"></path><g stroke="#2F8A00"><linearGradient id="r" x1="-660.23" x2="-660.23" y1="166.72" y2="167.72" gradientTransform="matrix(92.683 4.8573 -2.0259 38.657 61680 -3088.6)" gradientUnits="userSpaceOnUse"><stop stop-color="#2F8A00" offset="0"></stop><stop stop-color="#90FF57" offset="1"></stop></linearGradient><path d="m195 183.9s-12.6-22.1-36.5-29.9c-15.9-5.2-34.4-1.5-55.5 11.1 15.9 14.3 29.5 22.6 40.7 24.9 16.8 3.6 51.3-6.1 51.3-6.1z" clip-rule="evenodd" fill="url(#r)" fill-rule="evenodd" stroke-width="13"></path><linearGradient id="s" x1="-661.36" x2="-661.36" y1="164.18" y2="165.18" gradientTransform="matrix(110 5.7648 -6.3599 121.35 73933 -15933)" gradientUnits="userSpaceOnUse"><stop stop-color="#2F8A00" offset="0"></stop><stop stop-color="#90FF57" offset="1"></stop></linearGradient><path d="m194.9 184.5s-47.5-8.5-83.2 15.7c-23.8 16.2-34.3 49.3-31.6 99.4 30.3-27.8 52.1-48.5 65.2-61.9 19.8-20.2 49.6-53.2 49.6-53.2z" clip-rule="evenodd" fill="url(#s)" fill-rule="evenodd" stroke-width="13"></path><linearGradient id="q" x1="-656.79" x2="-656.79" y1="165.15" y2="166.15" gradientTransform="matrix(62.954 3.2993 -3.5023 66.828 42156 -8754.1)" gradientUnits="userSpaceOnUse"><stop stop-color="#2F8A00" offset="0"></stop><stop stop-color="#90FF57" offset="1"></stop></linearGradient><path d="m195 183.9c-0.8-21.9 6-38 20.6-48.2s29.8-15.4 45.5-15.3c-6.1 21.4-14.5 35.8-25.2 43.4s-24.4 14.2-40.9 20.1z" clip-rule="evenodd" fill="url(#q)" fill-rule="evenodd" stroke-width="13"></path><linearGradient id="p" x1="-663.07" x2="-663.07" y1="165.44" y2="166.44" gradientTransform="matrix(152.47 7.9907 -3.0936 59.029 101884 -4318.7)" gradientUnits="userSpaceOnUse"><stop stop-color="#2F8A00" offset="0"></stop><stop stop-color="#90FF57" offset="1"></stop></linearGradient><path d="m194.9 184.5c31.9-30 64.1-39.7 96.7-29s50.8 30.4 54.6 59.1c-35.2-5.5-60.4-9.6-75.8-12.1-15.3-2.6-40.5-8.6-75.5-18z" clip-rule="evenodd" fill="url(#p)" fill-rule="evenodd" stroke-width="13"></path><linearGradient id="o" x1="-662.57" x2="-662.57" y1="164.44" y2="165.44" gradientTransform="matrix(136.46 7.1517 -5.2163 99.533 91536 -11442)" gradientUnits="userSpaceOnUse"><stop stop-color="#2F8A00" offset="0"></stop><stop stop-color="#90FF57" offset="1"></stop></linearGradient><path d="m194.9 184.5c35.8-7.6 65.6-0.2 89.2 22s37.7 49 42.3 80.3c-39.8-9.7-68.3-23.8-85.5-42.4s-32.5-38.5-46-59.9z" clip-rule="evenodd" fill="url(#o)" fill-rule="evenodd" stroke-width="13"></path><linearGradient id="l" x1="-656.43" x2="-656.43" y1="163.86" y2="164.86" gradientTransform="matrix(60.866 3.1899 -8.7773 167.48 41560 -25168)" gradientUnits="userSpaceOnUse"><stop stop-color="#2F8A00" offset="0"></stop><stop stop-color="#90FF57" offset="1"></stop></linearGradient><path d="m194.9 184.5c-33.6 13.8-53.6 35.7-60.1 65.6s-3.6 63.1 8.7 99.6c27.4-40.3 43.2-69.6 47.4-88s5.6-44.1 4-77.2z" clip-rule="evenodd" fill="url(#l)" fill-rule="evenodd" stroke-width="13"></path><path d="m196.5 182.3c-14.8 21.6-25.1 41.4-30.8 59.4s-9.5 33-11.1 45.1" fill="none" stroke-linecap="round" stroke-width="8"></path><path d="m194.9 185.7c-24.4 1.7-43.8 9-58.1 21.8s-24.7 25.4-31.3 37.8" fill="none" stroke-linecap="round" stroke-width="8"></path><path d="m204.5 176.4c29.7-6.7 52-8.4 67-5.1s26.9 8.6 35.8 15.9" fill="none" stroke-linecap="round" stroke-width="8"></path><path d="m196.5 181.4c20.3 9.9 38.2 20.5 53.9 31.9s27.4 22.1 35.1 32" fill="none" stroke-linecap="round" stroke-width="8"></path></g></g><defs><filter id="al" x="50.5" y="399" width="532" height="633" filterUnits="userSpaceOnUse"><feColorMatrix values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"></feColorMatrix></filter></defs><mask id="d" x="50.5" y="399" width="532" height="633" maskUnits="userSpaceOnUse"><g filter="url(#al)"><circle cx="316.5" cy="316.5" r="316.5" fill="#fff"></circle></g></mask><g mask="url(#d)"><linearGradient id="u" x1="-666.06" x2="-666.23" y1="163.36" y2="163.75" gradientTransform="matrix(532 0 0 633 354760 -102959)" gradientUnits="userSpaceOnUse"><stop stop-color="#FFF400" offset="0"></stop><stop stop-color="#3C8700" offset="1"></stop></linearGradient><ellipse cx="316.5" cy="715.5" rx="266" ry="316.5" fill="url(#u)"></ellipse></g><defs><filter id="ad" x="391" y="-24" width="288" height="283" filterUnits="userSpaceOnUse"><feColorMatrix values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"></feColorMatrix></filter></defs><mask id="c" x="391" y="-24" width="288" height="283" maskUnits="userSpaceOnUse"><g filter="url(#ad)"><circle cx="316.5" cy="316.5" r="316.5" fill="#fff"></circle></g></mask><g mask="url(#c)"><linearGradient id="t" x1="-664.56" x2="-664.56" y1="163.79" y2="164.79" gradientTransform="matrix(227 0 0 227 151421 -37204)" gradientUnits="userSpaceOnUse"><stop stop-color="#FFDF00" offset="0"></stop><stop stop-color="#FF9D00" offset="1"></stop></linearGradient><circle cx="565.5" cy="89.5" r="113.5" fill="url(#t)"></circle><linearGradient id="v" x1="-644.5" x2="-645.77" y1="342" y2="342" gradientTransform="matrix(30 0 0 1 19770 -253)" gradientUnits="userSpaceOnUse"><stop stop-color="#FFA400" offset="0"></stop><stop stop-color="#FF5E00" offset="1"></stop></linearGradient><line x1="427" x2="397" y1="89" y2="89" fill="none" stroke="url(#v)" stroke-linecap="round" stroke-linejoin="bevel" stroke-width="12"></line><linearGradient id="aa" x1="-641.56" x2="-642.83" y1="196.02" y2="196.07" gradientTransform="matrix(26.5 0 0 5.5 17439 -1025.5)" gradientUnits="userSpaceOnUse"><stop stop-color="#FFA400" offset="0"></stop><stop stop-color="#FF5E00" offset="1"></stop></linearGradient><line x1="430.5" x2="404" y1="55.5" y2="50" fill="none" stroke="url(#aa)" stroke-linecap="round" stroke-linejoin="bevel" stroke-width="12"></line><linearGradient id="w" x1="-643.73" x2="-645" y1="185.83" y2="185.9" gradientTransform="matrix(29 0 0 8 19107 -1361)" gradientUnits="userSpaceOnUse"><stop stop-color="#FFA400" offset="0"></stop><stop stop-color="#FF5E00" offset="1"></stop></linearGradient><line x1="431" x2="402" y1="122" y2="130" fill="none" stroke="url(#w)" stroke-linecap="round" stroke-linejoin="bevel" stroke-width="12"></line><linearGradient id="ac" x1="-638.94" x2="-640.22" y1="177.09" y2="177.39" gradientTransform="matrix(24 0 0 13 15783 -2145)" gradientUnits="userSpaceOnUse"><stop stop-color="#FFA400" offset="0"></stop><stop stop-color="#FF5E00" offset="1"></stop></linearGradient><line x1="442" x2="418" y1="153" y2="166" fill="none" stroke="url(#ac)" stroke-linecap="round" stroke-linejoin="bevel" stroke-width="12"></line><linearGradient id="ab" x1="-633.42" x2="-634.7" y1="172.41" y2="173.31" gradientTransform="matrix(20 0 0 19 13137 -3096)" gradientUnits="userSpaceOnUse"><stop stop-color="#FFA400" offset="0"></stop><stop stop-color="#FF5E00" offset="1"></stop></linearGradient><line x1="464" x2="444" y1="180" y2="199" fill="none" stroke="url(#ab)" stroke-linecap="round" stroke-linejoin="bevel" stroke-width="12"></line><linearGradient id="y" x1="-619.05" x2="-619.52" y1="170.82" y2="171.82" gradientTransform="matrix(13.83 0 0 22.85 9050 -3703.4)" gradientUnits="userSpaceOnUse"><stop stop-color="#FFA400" offset="0"></stop><stop stop-color="#FF5E00" offset="1"></stop></linearGradient><line x1="491.4" x2="477.5" y1="203" y2="225.9" fill="none" stroke="url(#y)" stroke-linecap="round" stroke-linejoin="bevel" stroke-width="12"></line><linearGradient id="x" x1="-578.5" x2="-578.63" y1="170.31" y2="171.31" gradientTransform="matrix(7.5 0 0 24.5 4860 -3953)" gradientUnits="userSpaceOnUse"><stop stop-color="#FFA400" offset="0"></stop><stop stop-color="#FF5E00" offset="1"></stop></linearGradient><line x1="524.5" x2="517" y1="219.5" y2="244" fill="none" stroke="url(#x)" stroke-linecap="round" stroke-linejoin="bevel" stroke-width="12"></line><linearGradient id="z" x1="666.5" x2="666.5" y1="170.31" y2="171.31" gradientTransform="matrix(.5 0 0 24.5 231.5 -3944)" gradientUnits="userSpaceOnUse"><stop stop-color="#FFA400" offset="0"></stop><stop stop-color="#FF5E00" offset="1"></stop></linearGradient><line x1="564.5" x2="565" y1="228.5" y2="253" fill="none" stroke="url(#z)" stroke-linecap="round" stroke-linejoin="bevel" stroke-width="12"></line></g></svg>',336);function Pn(){return Nn.cloneNode(!0)}function Rn(){return Mn.cloneNode(!0)}function Vn(){return Un.cloneNode(!0)}function Qn(){return Ln.cloneNode(!0)}function Yn(){return In.cloneNode(!0)}function Kn(){return(()=>{const e=jn.cloneNode(!0);return b((t=>{const r=kr.colors.yellow[500],n=kr.colors.yellow[500];return r!==t._v$&&ue(e,"stroke",t._v$=r),n!==t._v$2&&ue(e,"fill",t._v$2=n),t}),{_v$:void 0,_v$2:void 0}),e})()}function Wn(){return Dn.cloneNode(!0)}function Xn(){return Gn.cloneNode(!0)}function Zn(){return Bn.cloneNode(!0)}function Jn(){return qn.cloneNode(!0)}function eo(){return Hn.cloneNode(!0)}var to=Symbol("fallback");function ro(e){for(const t of e)t.dispose()}function no(e){const{by:t}=e;return $(function(e,t,r,o={}){const i=new Map;return C((()=>ro(i.values()))),()=>{const r=e()||[];return r[n],w((()=>{if(!r.length)return ro(i.values()),i.clear(),o.fallback?[y((e=>(i.set(to,{dispose:e}),o.fallback())))]:[];const e=new Array(r.length),n=i.get(to);if(!i.size||n){n?.dispose(),i.delete(to);for(let n=0;n<r.length;n++){const o=r[n];s(e,o,n,t(o,n))}return e}const a=new Set(i.keys());for(let n=0;n<r.length;n++){const o=r[n],l=t(o,n);a.delete(l);const c=i.get(l);c?(e[n]=c.mapped,c.setIndex?.(n),c.setItem((()=>o))):s(e,o,n,l)}for(const e of a)i.get(e)?.dispose(),i.delete(e);return e}))};function s(e,t,n,o){y((s=>{const[a,l]=m(t),c={setItem:l,dispose:s};if(r.length>1){const[e,t]=m(n);c.setIndex=t,c.mapped=r(a,e)}else c.mapped=r(a);i.set(o,c),e[n]=c.mapped}))}}((()=>e.each),"function"==typeof t?t:e=>e[t],e.children,"fallback"in e?{fallback:()=>e.fallback}:void 0))}const oo=le('<span><svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M6 12L10 8L6 4" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path></svg></span>',6),io=le("<button></button>",2),so=le("<button> <span></span> <span> </span></button>",6),ao=le("<div></div>",2),lo=le("<span>:</span>",2),co=le("<span></span>",2),uo=le("<div><div><button> [<!>...<!>]</button></div></div>",8);const fo=e=>{const t=vo();return(()=>{const r=oo.cloneNode(!0);return b((()=>de(r,br(t.expander,xr`
|
|
19
|
-
transform: rotate(${e.expanded?90:0}deg);
|
|
20
|
-
`)))),r})()},po=e=>{const t=vo(),[r,n]=m("NoCopy");return(()=>{const o=io.cloneNode(!0);return fe(o,"click","NoCopy"===r()?()=>{navigator.clipboard.writeText(En(e.value)).then((()=>{n("SuccessCopy"),setTimeout((()=>{n("NoCopy")}),1500)}),(e=>{console.error("Failed to copy: ",e),n("ErrorCopy"),setTimeout((()=>{n("NoCopy")}),1500)}))}:void 0,!0),ge(o,R(J,{get children(){return[R(ee,{get when(){return"NoCopy"===r()},get children(){return R(Xn,{})}}),R(ee,{get when(){return"SuccessCopy"===r()},get children(){return R(Zn,{})}}),R(ee,{get when(){return"ErrorCopy"===r()},get children(){return R(Jn,{})}})]}})),b((e=>{const n=t.copyButton,i=""+("NoCopy"===r()?"Copy object to clipboard":"SuccessCopy"===r()?"Object copied to clipboard":"Error copying object to clipboard");return n!==e._v$&&de(o,e._v$=n),i!==e._v$2&&ue(o,"aria-label",e._v$2=i),e}),{_v$:void 0,_v$2:void 0}),o})()};function ho(e){return Symbol.iterator in e}function go(e){const t=vo(),[r,n]=m((e.defaultExpanded||[]).includes(e.label)),[o,i]=m([]),s=$((()=>Array.isArray(e.value)?e.value.map(((e,t)=>({label:t.toString(),value:e}))):null!==e.value&&"object"==typeof e.value&&ho(e.value)&&"function"==typeof e.value[Symbol.iterator]?e.value instanceof Map?Array.from(e.value,(([e,t])=>({label:e,value:t}))):Array.from(e.value,((e,t)=>({label:t.toString(),value:e}))):"object"==typeof e.value&&null!==e.value?Object.entries(e.value).map((([e,t])=>({label:e,value:t}))):[])),a=$((()=>Array.isArray(e.value)?"array":null!==e.value&&"object"==typeof e.value&&ho(e.value)&&"function"==typeof e.value[Symbol.iterator]?"Iterable":"object"==typeof e.value&&null!==e.value?"object":typeof e.value)),l=$((()=>function(e,t){if(t<1)return[];let r=0;const n=[];for(;r<e.length;)n.push(e.slice(r,r+t)),r+=t;return n}(s(),100)));return(()=>{const c=ao.cloneNode(!0);return ge(c,R(Z,{get when(){return l().length},get children(){return[(()=>{const o=so.cloneNode(!0),i=o.firstChild,l=i.nextSibling,c=l.nextSibling.nextSibling,u=c.firstChild;return o.$$click=()=>n((e=>!e)),ge(o,R(fo,{get expanded(){return r()}}),i),ge(l,(()=>e.label)),ge(c,(()=>"iterable"===String(a()).toLowerCase()?"(Iterable) ":""),u),ge(c,(()=>s().length),u),ge(c,(()=>s().length>1?"items":"item"),null),b((e=>{const r=t.expanderButton,n=t.info;return r!==e._v$3&&de(o,e._v$3=r),n!==e._v$4&&de(c,e._v$4=n),e}),{_v$3:void 0,_v$4:void 0}),o})(),R(Z,{get when(){return e.copyable},get children(){return R(po,{get value(){return e.value}})}}),R(Z,{get when(){return r()},get children(){return[R(Z,{get when(){return 1===l().length},get children(){const r=ao.cloneNode(!0);return ge(r,R(no,{get each(){return s()},by:e=>e.label,children:t=>R(go,{get defaultExpanded(){return e.defaultExpanded},get label(){return t().label},get value(){return t().value},get copyable(){return e.copyable}})})),b((()=>de(r,t.subEntry))),r}}),R(Z,{get when(){return l().length>1},get children(){const r=ao.cloneNode(!0);return ge(r,R(X,{get each(){return l()},children:(r,n)=>(()=>{const s=uo.cloneNode(!0),a=s.firstChild,l=a.firstChild,c=l.firstChild,u=c.nextSibling,d=u.nextSibling.nextSibling;return d.nextSibling,l.$$click=()=>i((e=>e.includes(n)?e.filter((e=>e!==n)):[...e,n])),ge(l,R(fo,{get expanded(){return o().includes(n)}}),c),ge(l,100*n,u),ge(l,100*n+100-1,d),ge(a,R(Z,{get when(){return o().includes(n)},get children(){const n=ao.cloneNode(!0);return ge(n,R(no,{get each(){return r()},by:e=>e.label,children:t=>R(go,{get defaultExpanded(){return e.defaultExpanded},get label(){return t().label},get value(){return t().value},get copyable(){return e.copyable}})})),b((()=>de(n,t.subEntry))),n}}),null),b((e=>{const r=t.entry,n=t.expanderButton;return r!==e._v$5&&de(a,e._v$5=r),n!==e._v$6&&de(l,e._v$6=n),e}),{_v$5:void 0,_v$6:void 0}),s})()})),b((()=>de(r,t.subEntry))),r}})]}})]}}),null),ge(c,R(Z,{get when(){return 0===l().length},get children(){return[(()=>{const r=lo.cloneNode(!0),n=r.firstChild;return ge(r,(()=>e.label),n),b((()=>de(r,t.label))),r})()," ",(()=>{const r=co.cloneNode(!0);return ge(r,(()=>An(e.value))),b((()=>de(r,t.value))),r})()]}}),null),b((()=>de(c,t.entry))),c})()}const vo=()=>{const{colors:e,font:t,size:r,border:n}=kr;return{entry:xr`
|
|
21
|
-
& * {
|
|
22
|
-
font-size: ${t.size.sm};
|
|
23
|
-
font-family: 'Menlo', 'Fira Code', monospace;
|
|
24
|
-
line-height: 1.7;
|
|
25
|
-
}
|
|
26
|
-
position: relative;
|
|
27
|
-
outline: none;
|
|
28
|
-
word-break: break-word;
|
|
29
|
-
`,subEntry:xr`
|
|
30
|
-
margin: 0 0 0 0.5em;
|
|
31
|
-
padding-left: 0.75em;
|
|
32
|
-
border-left: 2px solid ${e.darkGray[400]};
|
|
33
|
-
`,expander:xr`
|
|
34
|
-
& path {
|
|
35
|
-
stroke: ${e.gray[400]};
|
|
36
|
-
}
|
|
37
|
-
display: inline-flex;
|
|
38
|
-
align-items: center;
|
|
39
|
-
transition: all 0.1s ease;
|
|
40
|
-
`,expanderButton:xr`
|
|
41
|
-
cursor: pointer;
|
|
42
|
-
color: inherit;
|
|
43
|
-
font: inherit;
|
|
44
|
-
outline: inherit;
|
|
45
|
-
line-height: ${t.size.sm};
|
|
46
|
-
background: transparent;
|
|
47
|
-
border: none;
|
|
48
|
-
padding: 0;
|
|
49
|
-
display: inline-flex;
|
|
50
|
-
align-items: center;
|
|
51
|
-
gap: ${r[1]};
|
|
52
|
-
|
|
53
|
-
&:focus-visible {
|
|
54
|
-
border-radius: ${n.radius.xs};
|
|
55
|
-
outline: 2px solid ${e.blue[800]};
|
|
56
|
-
}
|
|
57
|
-
`,info:xr`
|
|
58
|
-
color: ${e.gray[500]};
|
|
59
|
-
font-size: ${t.size.xs};
|
|
60
|
-
line-height: ${t.size.xs};
|
|
61
|
-
margin-left: ${r[1]};
|
|
62
|
-
`,label:xr`
|
|
63
|
-
color: ${e.gray[300]};
|
|
64
|
-
`,value:xr`
|
|
65
|
-
color: ${e.purple[400]};
|
|
66
|
-
`,copyButton:xr`
|
|
67
|
-
background-color: transparent;
|
|
68
|
-
border: none;
|
|
69
|
-
display: inline-flex;
|
|
70
|
-
padding: 0px;
|
|
71
|
-
align-items: center;
|
|
72
|
-
justify-content: center;
|
|
73
|
-
cursor: pointer;
|
|
74
|
-
width: ${r[3.5]};
|
|
75
|
-
height: ${r[3.5]};
|
|
76
|
-
position: relative;
|
|
77
|
-
top: 4px;
|
|
78
|
-
left: ${r[2]};
|
|
79
|
-
z-index: 1;
|
|
80
|
-
|
|
81
|
-
&:hover svg .copier {
|
|
82
|
-
stroke: ${e.gray[500]} !important;
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
&:focus-visible {
|
|
86
|
-
border-radius: ${n.radius.xs};
|
|
87
|
-
outline: 2px solid ${e.blue[800]};
|
|
88
|
-
outline-offset: 2px;
|
|
89
|
-
}
|
|
90
|
-
`}};ce(["click"]);const yo=function(e,t){const r=Symbol("context");return{id:r,Provider:q(r),defaultValue:e}}({client:void 0,onlineManager:void 0,queryFlavor:"",version:""});function mo(){return E(yo)}var bo=()=>{};function xo(e,t){const r=w(e),{onChange:o}=t;let i=new Set(t.appear?void 0:r);const s=new WeakSet,[a,l]=m([],{equals:!1}),[c]=[g,S],u="remove"===t.exitMethod?bo:e=>{l((t=>(t.push.apply(t,e),t)));for(const t of e)s.delete(t)},d="remove"===t.exitMethod?bo:"keep-index"===t.exitMethod?(e,t,r)=>e.splice(r,0,t):(e,t)=>e.push(t);return $((t=>{const r=a(),l=e();if(l[n],w(c))return c(),t;if(r.length){const e=t.filter((e=>!r.includes(e)));return r.length=0,o({list:e,added:[],removed:[],unchanged:e,finishRemoved:u}),e}return w((()=>{const e=new Set(l),r=l.slice(),n=[],a=[],c=[];for(const e of l)(i.has(e)?c:n).push(e);let f=!n.length;for(let n=0;n<t.length;n++){const o=t[n];e.has(o)||(s.has(o)||(a.push(o),s.add(o)),d(r,o,n)),f&&o!==r[n]&&(f=!1)}return!a.length&&f?t:(o({list:r,added:n,removed:a,unchanged:c,finishRemoved:u}),i=e,r)}))}),t.appear?[]:r.slice())}var $o=e=>null!=e;var wo=e=>e instanceof Element;function ko(e,t){if(t(e))return e;if("function"==typeof e&&!e.length)return ko(e(),t);if(Array.isArray(e)){const r=[];for(const n of e){const e=ko(n,t);e&&(Array.isArray(e)?r.push.apply(r,e):r.push(e))}return r.length?r:null}return null}function Co(e,t=wo,r=wo){const n=$(e),o=$((()=>ko(n(),t)));return o.toArray=()=>{const e=o();return Array.isArray(e)?e:e?[e]:[]},o}function So(e){requestAnimationFrame((()=>requestAnimationFrame(e)))}function Eo(e,t,r,n){const{enterClasses:o,enterActiveClasses:i,enterToClasses:s}=e,{onBeforeEnter:a,onEnter:l,onAfterEnter:c}=t;function u(e){e&&e.target!==r||(n?.(),r.removeEventListener("transitionend",u),r.removeEventListener("animationend",u),r.classList.remove(...i),r.classList.remove(...s),c?.(r))}a?.(r),r.classList.add(...o),r.classList.add(...i),queueMicrotask((()=>{if(!r.parentNode)return n?.();l?.(r,(()=>u()))})),So((()=>{r.classList.remove(...o),r.classList.add(...s),(!l||l.length<2)&&(r.addEventListener("transitionend",u),r.addEventListener("animationend",u))}))}function _o(e,t,r,n){const{exitClasses:o,exitActiveClasses:i,exitToClasses:s}=e,{onBeforeExit:a,onExit:l,onAfterExit:c}=t;if(!r.parentNode)return n?.();function u(e){e&&e.target!==r||(n?.(),r.removeEventListener("transitionend",u),r.removeEventListener("animationend",u),r.classList.remove(...i),r.classList.remove(...s),c?.(r))}a?.(r),r.classList.add(...o),r.classList.add(...i),l?.(r,(()=>u())),So((()=>{r.classList.remove(...o),r.classList.add(...s),(!l||l.length<2)&&(r.addEventListener("transitionend",u),r.addEventListener("animationend",u))}))}var Ao=e=>{const t=function(e){return $((()=>{const t=e.name||"s";return{enterActiveClasses:(e.enterActiveClass||t+"-enter-active").split(" "),enterClasses:(e.enterClass||t+"-enter").split(" "),enterToClasses:(e.enterToClass||t+"-enter-to").split(" "),exitActiveClasses:(e.exitActiveClass||t+"-exit-active").split(" "),exitClasses:(e.exitClass||t+"-exit").split(" "),exitToClasses:(e.exitToClass||t+"-exit-to").split(" "),moveClasses:(e.moveClass||t+"-move").split(" ")}}))}(e);return xo(Co((()=>e.children)).toArray,{appear:e.appear,exitMethod:"keep-index",onChange({added:r,removed:n,finishRemoved:o,list:i}){const s=t();for(const t of r)Eo(s,e,t);const a=[];for(const e of i)e.isConnected&&(e instanceof HTMLElement||e instanceof SVGElement)&&a.push({el:e,rect:e.getBoundingClientRect()});queueMicrotask((()=>{const e=[];for(const{el:t,rect:r}of a)if(t.isConnected){const n=t.getBoundingClientRect(),o=r.left-n.left,i=r.top-n.top;(o||i)&&(t.style.transform=`translate(${o}px, ${i}px)`,t.style.transitionDuration="0s",e.push(t))}document.body.offsetHeight;for(const t of e){let e=function(r){(r.target===t||/transform$/.test(r.propertyName))&&(t.removeEventListener("transitionend",e),t.classList.remove(...s.moveClasses))};t.classList.add(...s.moveClasses),t.style.transform=t.style.transitionDuration="",t.addEventListener("transitionend",e)}}));for(const t of n)_o(s,e,t,(()=>o([t])))}})};var Oo,zo=function(e){const[t,r]=m(),n=e?.throw?(e,t)=>{throw r(e instanceof Error?e:new Error(t)),e}:(e,t)=>{r(e instanceof Error?e:new Error(t))},o=e?.api?Array.isArray(e.api)?e.api:[e.api]:[globalThis.localStorage].filter(Boolean),i=e?.prefix?`${e.prefix}.`:"",s=new Map,a=new Proxy({},{get(t,r){let a=s.get(r);a||(a=m(void 0,{equals:!1}),s.set(r,a)),a[0]();const l=o.reduce(((e,t)=>{if(null!==e||!t)return e;try{return t.getItem(`${i}${r}`)}catch(e){return n(e,`Error reading ${i}${r} from ${t.name}`),null}}),null);return null!==l&&e?.deserializer?e.deserializer(l,r,e.options):l}});return!1!==e?.sync&&k((()=>{const e=e=>{let t=!1;o.forEach((r=>{try{r!==e.storageArea&&e.key&&e.newValue!==r.getItem(e.key)&&(e.newValue?r.setItem(e.key,e.newValue):r.removeItem(e.key),t=!0)}catch(t){n(t,`Error synching api ${r.name} from storage event (${e.key}=${e.newValue})`)}})),t&&e.key&&s.get(e.key)?.[1]()};"addEventListener"in globalThis?(globalThis.addEventListener("storage",e),C((()=>globalThis.removeEventListener("storage",e)))):(o.forEach((t=>t.addEventListener?.("storage",e))),C((()=>o.forEach((t=>t.removeEventListener?.("storage",e))))))})),[a,(t,r,a)=>{const l=e?.serializer?e.serializer(r,t,a??e.options):r,c=`${i}${t}`;o.forEach((e=>{try{e.getItem(c)!==l&&e.setItem(c,l)}catch(r){n(r,`Error setting ${i}${t} to ${l} in ${e.name}`)}}));const u=s.get(t);u&&u[1]()},{clear:()=>o.forEach((e=>{try{e.clear()}catch(t){n(t,`Error clearing ${e.name}`)}})),error:t,remove:e=>o.forEach((t=>{try{t.removeItem(`${i}${e}`)}catch(r){n(r,`Error removing ${i}${e} from ${t.name}`)}})),toJSON:()=>{const t={},r=(r,n)=>{if(!t.hasOwnProperty(r)){const o=n&&e?.deserializer?e.deserializer(n,r,e.options):n;o&&(t[r]=o)}};return o.forEach((e=>{if("function"==typeof e.getAll){let t;try{t=e.getAll()}catch(t){n(t,`Error getting all values from in ${e.name}`)}for(const e of t)r(e,t[e])}else{let o,i=0;try{for(;o=e.key(i++);)t.hasOwnProperty(o)||r(o,e.getItem(o))}catch(t){n(t,`Error getting all values from ${e.name}`)}}})),t}}]},Fo=e=>{if(!e)return"";let t="";for(const r in e){if(!e.hasOwnProperty(r))continue;const n=e[r];t+=n instanceof Date?`; ${r}=${n.toUTCString()}`:"boolean"==typeof n?`; ${r}`:`; ${r}=${n}`}return t},To=(Oo={_cookies:[globalThis.document,"cookie"],getItem:e=>To._cookies[0][To._cookies[1]].match("(^|;)\\s*"+e+"\\s*=\\s*([^;]+)")?.pop()??null,setItem:(e,t,r)=>{const n=To.getItem(e);To._cookies[0][To._cookies[1]]=`${e}=${t}${Fo(r)}`;const o=Object.assign(new Event("storage"),{key:e,oldValue:n,newValue:t,url:globalThis.document.URL,storageArea:To});window.dispatchEvent(o)},removeItem:e=>{To._cookies[0][To._cookies[1]]=`${e}=deleted${Fo({expires:new Date(0)})}`},key:e=>{let t=null,r=0;return To._cookies[0][To._cookies[1]].replace(/(?:^|;)\s*(.+?)\s*=\s*[^;]+/g,((n,o)=>(!t&&o&&r++===e&&(t=o),""))),t},get length(){let e=0;return To._cookies[0][To._cookies[1]].replace(/(?:^|;)\s*.+?\s*=\s*[^;]+/g,(t=>(e+=t?1:0,""))),e}},"function"==typeof Oo.clear||(Oo.clear=()=>{let e;for(;e=Oo.key(0);)Oo.removeItem(e)}),Oo);function No(e,t,r){const n=new WeakMap,{observe:o,unobserve:i}=function(e,t){const r=new ResizeObserver(e);return C(r.disconnect.bind(r)),{observe:e=>r.observe(e,t),unobserve:r.unobserve.bind(r)}}((e=>{for(const r of e){const{contentRect:e,target:o}=r,i=Math.round(e.width),s=Math.round(e.height),a=n.get(o);a&&a.width===i&&a.height===s||(t(e,o,r),n.set(o,{width:i,height:s}))}}),r);x((t=>{const r=(n="function"!=typeof(s=e)||s.length?s:s(),(Array.isArray(n)?n:n?[n]:[]).filter($o));var n,s;return function(e,t,r,n){const o=e.length,i=t.length;let s,a,l=0;if(i)if(o){for(;l<i&&t[l]===e[l];l++);for(s of(t=t.slice(l),e=e.slice(l),t))e.includes(s)||n(s);for(a of e)t.includes(a)||r(a)}else for(;l<i;l++)n(t[l]);else for(;l<o;l++)r(e[l])}(r,t,o,i),r}),[])}const Mo=le('<div><div aria-hidden="true"></div><button aria-label="Open Tanstack query devtools"></button></div>',6),Uo=le("<div></div>",2),Lo=le("<span>Asc</span>",2),Io=le("<span>Desc</span>",2),jo=le('<div role="menu" tabindex="-1" aria-labelledby="TSQD-settings-menu-btn" id="TSQD-settings-menu"><div>Position</div><div><button aria-label="Position top"><span>Top</span></button><button aria-label="Position bottom"><span>Bottom</span></button><button aria-label="Position left"><span>Left</span></button><button aria-label="Position right"><span>Right</span></button></div></div>',22),Do=le('<aside aria-label="Tanstack query devtools"><div></div><button aria-label="Close tanstack query devtools"></button><div><div><button aria-label="Close Tanstack query devtools"><span>TANSTACK</span><span> v</span></button></div><div><div><div><input aria-label="Filter queries by query key" type="text" placeholder="Filter"></div><div><select></select></div><button></button></div><div><button></button><div><button id="TSQD-settings-menu-btn" aria-haspopup="true" aria-controls="TSQD-settings-menu"></button></div></div></div><div><div></div></div></div></aside>',41),Go=le("<option>Sort by </option>",2),Bo=le('<div class="TSQDQueryDisabled">disabled</div>',2),qo=le('<button><div></div><code class="TSQDQueryHash"></code></button>',6),Ho=le('<div role="tooltip" id="TSQD-status-tooltip"></div>',2),Po=le("<span></span>",2),Ro=le("<button><span></span><span></span></button>",6),Vo=le("<button><span></span> Error</button>",4),Qo=le('<div><span></span>Trigger Error<select><option value="" disabled selected></option></select></div>',8),Yo=le("<div><div>Query Details</div><div><div><pre><code></code></pre><span></span></div><div><span>Observers:</span><span></span></div><div><span>Last Updated:</span><span></span></div></div><div>Actions</div><div><button><span></span>Refetch</button><button><span></span>Invalidate</button><button><span></span>Reset</button><button><span></span> Loading</button></div><div>Data Explorer</div><div></div><div>Query Explorer</div><div></div></div>",54),Ko=le("<option></option>",2),Wo=796,Xo="bottom",Zo=Object.keys(Fn)[0],[Jo,ei]=m(null),[ti,ri]=m(0),ni=e=>R(yo.Provider,{value:e,get children(){return R(oi,{})}}),oi=()=>{(()=>{const e=document.createElement("link");e.href="https://fonts.googleapis.com/css2?family=Fira+Code&family=Inter:wght@100;200;300;400;500;600;700;800;900&family=Roboto&display=swap",e.rel="stylesheet",document.head.appendChild(e)})();const e=pi(),[t,r]=zo({prefix:"TanstackQueryDevtools"}),n=$((()=>mo().buttonPosition||"bottom-right")),o=$((()=>"true"===t.open||"false"!==t.open&&(mo().initialIsOpen||false))),i=$((()=>t.position||mo().position||Xo));return(()=>{const s=Uo.cloneNode(!0);return ge(s,R(Ao,{name:"TSQD-panel",get children(){return R(Z,{get when(){return o()},get children(){return R(ii,{localStore:t,setLocalStore:r})}})}}),null),ge(s,R(Ao,{name:"TSQD-button",get children(){return R(Z,{get when(){return!o()},get children(){const t=Mo.cloneNode(!0),o=t.firstChild,i=o.nextSibling;return ge(o,R(eo,{})),i.$$click=()=>r("open","true"),ge(i,R(eo,{})),b((()=>de(t,br(e.devtoolsBtn,e[`devtoolsBtn-position-${n()}`])))),t}})}}),null),b((()=>de(s,xr`
|
|
91
|
-
& .TSQD-panel-exit-active,
|
|
92
|
-
& .TSQD-panel-enter-active {
|
|
93
|
-
transition: opacity 0.3s, transform 0.3s;
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
& .TSQD-panel-exit-to,
|
|
97
|
-
& .TSQD-panel-enter {
|
|
98
|
-
${"top"===i()?`transform: translateY(-${Number(t.height||500)}px);`:"left"===i()?`transform: translateX(-${Number(t.width||500)}px);`:"right"===i()?`transform: translateX(${Number(t.width||500)}px);`:`transform: translateY(${Number(t.height||500)}px);`}
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
& .TSQD-button-exit-active,
|
|
102
|
-
& .TSQD-button-enter-active {
|
|
103
|
-
transition: opacity 0.3s, transform 0.3s;
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
& .TSQD-button-exit-to,
|
|
107
|
-
& .TSQD-button-enter {
|
|
108
|
-
transform: ${"top-left"===n()?"translateX(-72px);":"top-right"===n()?"translateX(72px);":"translateY(72px);"};
|
|
109
|
-
}
|
|
110
|
-
`))),s})()},ii=e=>{const t=pi(),[r,n]=m(!1),o=$((()=>e.localStore.sort||Zo)),i=$((()=>Number(e.localStore.sortOrder)||1)),[s,a]=m(!1),[l,c]=m(!1),u=$((()=>e.localStore.position||mo().position||Xo)),d=$((()=>Fn[o()])),f=$((()=>mo().onlineManager)),p=$((()=>mo().client.getQueryCache())),h=fi((e=>e().getAll().length),!1),g=$(function(e,t,r){const n=Array.isArray(e);let o,i=r&&r.defer;return r=>{let s;if(n){s=Array(e.length);for(let t=0;t<e.length;t++)s[t]=e[t]()}else s=e();if(i)return void(i=!1);const a=w((()=>t(s,o,r)));return o=s,a}}((()=>[h(),e.localStore.filter,o(),i()]),(()=>{const t=p().getAll(),r=e.localStore.filter?t.filter((t=>_e(t.queryHash,e.localStore.filter||"").passed)):[...t];return d()?r.sort(((e,t)=>d()(e,t)*i())):r}))),v=t=>{const o=t.currentTarget.parentElement;if(!o)return;n(!0);const{height:i,width:s}=o.getBoundingClientRect(),a=t.clientX,l=t.clientY;let c=0;const d=Tn(3.5),f=Tn(12),p=t=>{if(t.preventDefault(),"left"===u()||"right"===u()){const r="right"===u()?a-t.clientX:t.clientX-a;c=Math.round(s+r),c<f&&(c=f),e.setLocalStore("width",String(Math.round(c)));const n=o.getBoundingClientRect().width;Number(e.localStore.width)<n&&e.setLocalStore("width",String(n))}else{const r="bottom"===u()?l-t.clientY:t.clientY-l;c=Math.round(i+r),c<d&&(c=d,ei(null)),e.setLocalStore("height",String(Math.round(c)))}},h=()=>{r()&&n(!1),document.removeEventListener("mousemove",p,!1),document.removeEventListener("mouseUp",h,!1)};document.addEventListener("mousemove",p,!1),document.addEventListener("mouseup",h,!1)};let y,x;di(),k((()=>{No(x,(({width:e},t)=>{t===x&&ri(e)}))}));const C=t=>{e.setLocalStore("position",t),c(!1)};return(()=>{const r=Do.cloneNode(!0),n=r.firstChild,d=n.nextSibling,p=d.nextSibling,h=p.firstChild,m=h.firstChild,w=m.firstChild,k=w.nextSibling,S=k.firstChild,E=h.nextSibling,_=E.firstChild,A=_.firstChild,O=A.firstChild,z=A.nextSibling,F=z.firstChild,T=z.nextSibling,N=_.nextSibling,M=N.firstChild,U=M.nextSibling,L=U.firstChild,I=E.nextSibling,j=I.firstChild;"function"==typeof x?he(x,r):x=r,n.$$mousedown=v,d.$$click=()=>e.setLocalStore("open","false"),ge(d,R(Rn,{}));return"function"==typeof y?he(y,p):y=p,m.$$click=()=>e.setLocalStore("open","false"),ge(k,(()=>mo().queryFlavor),S),ge(k,(()=>mo().version),null),ge(h,R(ai,{}),null),ge(A,R(Pn,{}),O),O.$$input=t=>e.setLocalStore("filter",t.currentTarget.value),F.addEventListener("change",(t=>e.setLocalStore("sort",t.currentTarget.value))),ge(F,(()=>Object.keys(Fn).map((e=>(()=>{const t=Go.cloneNode(!0);return t.firstChild,t.value=e,ge(t,e,null),t})())))),ge(z,R(Rn,{}),null),T.$$click=()=>{e.setLocalStore("sortOrder",String(-1*i()))},ge(T,R(Z,{get when(){return 1===i()},get children(){return[Lo.cloneNode(!0),R(Vn,{})]}}),null),ge(T,R(Z,{get when(){return-1===i()},get children(){return[Io.cloneNode(!0),R(Qn,{})]}}),null),M.$$click=()=>{s()?(f().setOnline(void 0),a(!1),window.dispatchEvent(new Event("online"))):(f().setOnline(!1),a(!0))},ge(M,(()=>{const e=$((()=>!!s()));return()=>e()?R(Kn,{}):R(Yn,{})})()),U.style.setProperty("position","relative"),L.$$click=()=>c((e=>!e)),ge(L,R(Wn,{})),ge(U,R(Z,{get when(){return l()},get children(){const e=jo.cloneNode(!0),r=e.firstChild,n=r.nextSibling,o=n.firstChild,i=o.firstChild,s=o.nextSibling,a=s.firstChild,l=s.nextSibling,c=l.firstChild,u=l.nextSibling,d=u.firstChild;return o.$$click=()=>{C("top")},ge(o,R(Vn,{}),i),s.$$click=()=>{C("bottom")},ge(s,R(Qn,{}),a),l.$$click=()=>{C("left")},ge(l,R(Qn,{}),c),u.$$click=()=>{C("right")},ge(u,R(Qn,{}),d),b((o=>{const i=t.settingsMenu,s=t.settingsMenuHeader,a=t.settingsMenuSection;return i!==o._v$&&de(e,o._v$=i),s!==o._v$2&&de(r,o._v$2=s),a!==o._v$3&&de(n,o._v$3=a),o}),{_v$:void 0,_v$2:void 0,_v$3:void 0}),e}}),null),ge(j,R(no,{by:e=>e.queryHash,get each(){return g()},children:e=>R(si,{get query(){return e()}})})),ge(r,R(Z,{get when(){return Jo()},get children(){return R(ci,{})}}),null),b((o=>{const a=`${t.panel} ${t[`panel-position-${u()}`]} ${xr`
|
|
111
|
-
flex-direction: ${ti()<Wo?"column":"row"};
|
|
112
|
-
background-color: ${ti()<Wo?kr.colors.gray[600]:kr.colors.darkGray[900]};
|
|
113
|
-
${ti()<700&&("right"===u()||"left"===u())?"\n min-width: min-content;\n ":""}
|
|
114
|
-
`}`,c="bottom"===u()||"top"===u()?`${e.localStore.height||500}px`:"auto",f="right"===u()||"left"===u()?`${e.localStore.width||500}px`:"auto",g=br(t.dragHandle,t[`dragHandle-position-${u()}`]),v=br(t.closeBtn,t[`closeBtn-position-${u()}`]),y=`${t.queriesContainer} ${xr`
|
|
115
|
-
${ti()<Wo&&Jo()?"\n height: 50%;\n max-height: 50%;\n ":""}
|
|
116
|
-
`}`,b=br(t.row),x=t.logo,$=t.tanstackLogo,C=t.queryFlavorLogo,S=br(t.row,xr`
|
|
117
|
-
gap: ${kr.size[2.5]};
|
|
118
|
-
`),O=t.filtersContainer,F=t.filterInput,U=t.filterSelect,j="Sort order "+(-1===i()?"descending":"ascending"),D=-1===i(),G=t.actionsContainer,B=t.actionsBtn,q=""+(s()?"Unset offline mocking behavior":"Mock offline behavior"),H=s(),P=t.actionsBtn,R=(l()?"Close":"Open")+" settings menu",V=t.overflowQueryContainer;return a!==o._v$4&&de(r,o._v$4=a),c!==o._v$5&&r.style.setProperty("height",o._v$5=c),f!==o._v$6&&r.style.setProperty("width",o._v$6=f),g!==o._v$7&&de(n,o._v$7=g),v!==o._v$8&&de(d,o._v$8=v),y!==o._v$9&&de(p,o._v$9=y),b!==o._v$10&&de(h,o._v$10=b),x!==o._v$11&&de(m,o._v$11=x),$!==o._v$12&&de(w,o._v$12=$),C!==o._v$13&&de(k,o._v$13=C),S!==o._v$14&&de(E,o._v$14=S),O!==o._v$15&&de(_,o._v$15=O),F!==o._v$16&&de(A,o._v$16=F),U!==o._v$17&&de(z,o._v$17=U),j!==o._v$18&&ue(T,"aria-label",o._v$18=j),D!==o._v$19&&ue(T,"aria-pressed",o._v$19=D),G!==o._v$20&&de(N,o._v$20=G),B!==o._v$21&&de(M,o._v$21=B),q!==o._v$22&&ue(M,"aria-label",o._v$22=q),H!==o._v$23&&ue(M,"aria-pressed",o._v$23=H),P!==o._v$24&&de(L,o._v$24=P),R!==o._v$25&&ue(L,"aria-label",o._v$25=R),V!==o._v$26&&de(I,o._v$26=V),o}),{_v$4:void 0,_v$5:void 0,_v$6:void 0,_v$7:void 0,_v$8:void 0,_v$9:void 0,_v$10:void 0,_v$11:void 0,_v$12:void 0,_v$13:void 0,_v$14:void 0,_v$15:void 0,_v$16:void 0,_v$17:void 0,_v$18:void 0,_v$19:void 0,_v$20:void 0,_v$21:void 0,_v$22:void 0,_v$23:void 0,_v$24:void 0,_v$25:void 0,_v$26:void 0}),b((()=>O.value=e.localStore.filter||"")),b((()=>F.value=o())),r})()},si=e=>{const t=pi(),r=fi((t=>t().find({queryKey:e.query.queryKey})?.state)),n=fi((t=>t().find({queryKey:e.query.queryKey})?.isDisabled()??!1)),o=fi((t=>t().find({queryKey:e.query.queryKey})?.isStale()??!1)),i=fi((t=>t().find({queryKey:e.query.queryKey})?.getObserversCount()??0)),s=$((()=>function({queryState:e,observerCount:t,isStale:r}){return"fetching"===e.fetchStatus?"blue":t?"paused"===e.fetchStatus?"purple":r?"yellow":"green":"gray"}({queryState:r(),observerCount:i(),isStale:o()})));return R(Z,{get when(){return r()},get children(){const r=qo.cloneNode(!0),o=r.firstChild,a=o.nextSibling;return r.$$click=()=>ei(e.query.queryHash===Jo()?null:e.query.queryHash),ge(o,i),ge(a,(()=>e.query.queryHash)),ge(r,R(Z,{get when(){return n()},get children(){return Bo.cloneNode(!0)}}),null),b((n=>{const i=br(t.queryRow,Jo()===e.query.queryHash&&t.selectedQueryRow),a=`Query key ${e.query.queryHash}`,l=br("TSQDObserverCount","gray"===s()?xr`
|
|
119
|
-
background-color: ${kr.colors[s()][700]};
|
|
120
|
-
color: ${kr.colors[s()][300]};
|
|
121
|
-
`:xr`
|
|
122
|
-
background-color: ${kr.colors[s()][900]};
|
|
123
|
-
color: ${kr.colors[s()][300]} !important;
|
|
124
|
-
`);return i!==n._v$27&&de(r,n._v$27=i),a!==n._v$28&&ue(r,"aria-label",n._v$28=a),l!==n._v$29&&de(o,n._v$29=l),n}),{_v$27:void 0,_v$28:void 0,_v$29:void 0}),r}})},ai=()=>{const e=fi((e=>e().getAll().filter((e=>"stale"===_n(e))).length)),t=fi((e=>e().getAll().filter((e=>"fresh"===_n(e))).length)),r=fi((e=>e().getAll().filter((e=>"fetching"===_n(e))).length)),n=fi((e=>e().getAll().filter((e=>"paused"===_n(e))).length)),o=fi((e=>e().getAll().filter((e=>"inactive"===_n(e))).length)),i=pi();return(()=>{const s=Uo.cloneNode(!0);return ge(s,R(li,{label:"Fresh",color:"green",get count(){return t()}}),null),ge(s,R(li,{label:"Fetching",color:"blue",get count(){return r()}}),null),ge(s,R(li,{label:"Paused",color:"purple",get count(){return n()}}),null),ge(s,R(li,{label:"Stale",color:"yellow",get count(){return e()}}),null),ge(s,R(li,{label:"Inactive",color:"gray",get count(){return o()}}),null),b((()=>de(s,i.queryStatusContainer))),s})()},li=e=>{const t=pi();let r;const[n,o]=m(!1),[i,s]=m(!1),a=$((()=>!(Jo()&&ti()<1024&&ti()>Wo)&&!(ti()<700)));return(()=>{const l=Ro.cloneNode(!0),c=l.firstChild,u=c.nextSibling;return"function"==typeof r?he(r,l):r=l,l.addEventListener("mouseleave",(()=>{o(!1),s(!1)})),l.addEventListener("mouseenter",(()=>o(!0))),l.addEventListener("blur",(()=>s(!1))),l.addEventListener("focus",(()=>s(!0))),pe(l,K({get disabled(){return a()},get class(){return br(t.queryStatusTag,a()?null:xr`
|
|
125
|
-
cursor: pointer;
|
|
126
|
-
&:hover {
|
|
127
|
-
background: ${kr.colors.darkGray[400]}${kr.alpha[80]};
|
|
128
|
-
}
|
|
129
|
-
`)}},(()=>n()||i()?{"aria-describedby":"TSQD-status-tooltip"}:{})),!1,!0),ge(l,R(Z,{get when(){return $((()=>!a()))()&&(n()||i())},get children(){const r=Ho.cloneNode(!0);return ge(r,(()=>e.label)),b((()=>de(r,br(t.statusTooltip)))),r}}),c),ge(l,R(Z,{get when(){return a()},get children(){const t=Po.cloneNode(!0);return ge(t,(()=>e.label)),t}}),u),ge(u,(()=>e.count)),b((r=>{const n=xr`
|
|
130
|
-
width: ${kr.size[2]};
|
|
131
|
-
height: ${kr.size[2]};
|
|
132
|
-
border-radius: ${kr.border.radius.full};
|
|
133
|
-
background-color: ${kr.colors[e.color][500]};
|
|
134
|
-
`,o=br(t.queryStatusCount,e.count>0&&"gray"!==e.color?xr`
|
|
135
|
-
background-color: ${kr.colors[e.color][900]};
|
|
136
|
-
color: ${kr.colors[e.color][300]} !important;
|
|
137
|
-
`:xr`
|
|
138
|
-
color: ${kr.colors.gray[400]} !important;
|
|
139
|
-
`);return n!==r._v$30&&de(c,r._v$30=n),o!==r._v$31&&de(u,r._v$31=o),r}),{_v$30:void 0,_v$31:void 0}),l})()},ci=()=>{const e=pi(),t=mo().client,[r,n]=m(!1),o=$((()=>mo().errorTypes||[])),i=fi((e=>e().getAll().find((e=>e.queryHash===Jo()))),!1),s=fi((e=>e().getAll().find((e=>e.queryHash===Jo()))),!1),a=fi((e=>e().getAll().find((e=>e.queryHash===Jo()))?.state),!1),l=fi((e=>e().getAll().find((e=>e.queryHash===Jo()))?.state.data),!1),c=fi((e=>{const t=e().getAll().find((e=>e.queryHash===Jo()));return t?_n(t):"inactive"})),u=fi((e=>{const t=e().getAll().find((e=>e.queryHash===Jo()));return t?t.state.status:"pending"})),d=fi((e=>e().getAll().find((e=>e.queryHash===Jo()))?.getObserversCount()??0)),f=$((()=>{return"fresh"===(e=c())?"green":"stale"===e?"yellow":"paused"===e?"purple":"inactive"===e?"gray":"blue";var e})),p=()=>{const e=i()?.fetch();e?.catch((()=>{}))},h=e=>{const t=e?.initializer(i())??new Error("Unknown error from devtools"),r=i().options;i().setState({status:"error",error:t,fetchMeta:{...i().state.fetchMeta,__previousQueryOptions:r}})};return x((()=>{"fetching"!==c()&&n(!1)})),R(Z,{get when(){return $((()=>!!i()))()&&a()},get children(){const g=Yo.cloneNode(!0),v=g.firstChild,y=v.nextSibling,m=y.firstChild,x=m.firstChild,$=x.firstChild,w=x.nextSibling,k=m.nextSibling,C=k.firstChild.nextSibling,S=k.nextSibling.firstChild.nextSibling,E=y.nextSibling,_=E.nextSibling,A=_.firstChild,O=A.firstChild,z=A.nextSibling,F=z.firstChild,T=z.nextSibling,N=T.firstChild,M=T.nextSibling,U=M.firstChild,L=U.nextSibling,I=_.nextSibling,j=I.nextSibling,D=j.nextSibling,G=D.nextSibling;return ge($,(()=>An(i().queryKey,!0))),ge(w,c),ge(C,d),ge(S,(()=>new Date(a().dataUpdatedAt).toLocaleTimeString())),A.$$click=p,z.$$click=()=>t.invalidateQueries(i()),T.$$click=()=>t.resetQueries(i()),M.$$click=()=>{if(void 0===i()?.state.data)n(!0),i()?.fetch((i()?.state.fetchMeta).__previousQueryOptions,{cancelRefetch:!0});else{const e=i();if(!e)return;const t=e.options;e.fetch({...t,queryFn:()=>new Promise((()=>{})),gcTime:-1}),e.setState({data:void 0,status:"pending",fetchMeta:{...e.state.fetchMeta,__previousQueryOptions:t}})}},ge(M,(()=>"fetching"===c()?"Restore":"Trigger"),L),ge(_,R(Z,{get when(){return 0===o().length||"error"===u()},get children(){const e=Vo.cloneNode(!0),r=e.firstChild,n=r.nextSibling;return e.$$click=()=>{i().state.error?t.resetQueries(i()):h()},ge(e,(()=>"error"===u()?"Restore":"Trigger"),n),b((t=>{const n=xr`
|
|
140
|
-
color: ${kr.colors.red[400]};
|
|
141
|
-
`,o=xr`
|
|
142
|
-
background-color: ${kr.colors.red[400]};
|
|
143
|
-
`;return n!==t._v$32&&de(e,t._v$32=n),o!==t._v$33&&de(r,t._v$33=o),t}),{_v$32:void 0,_v$33:void 0}),e}}),null),ge(_,R(Z,{get when(){return!(0===o().length||"error"===u())},get children(){const t=Qo.cloneNode(!0),r=t.firstChild,n=r.nextSibling.nextSibling;return n.firstChild,n.addEventListener("change",(e=>{const t=o().find((t=>t.name===e.currentTarget.value));h(t)})),ge(n,R(W,{get each(){return o()},children:e=>(()=>{const t=Ko.cloneNode(!0);return ge(t,(()=>e.name)),b((()=>t.value=e.name)),t})()}),null),ge(t,R(Rn,{}),null),b((o=>{const i=e.actionsSelect,s=xr`
|
|
144
|
-
background-color: ${kr.colors.red[400]};
|
|
145
|
-
`,a="pending"===u();return i!==o._v$34&&de(t,o._v$34=i),s!==o._v$35&&de(r,o._v$35=s),a!==o._v$36&&(n.disabled=o._v$36=a),o}),{_v$34:void 0,_v$35:void 0,_v$36:void 0}),t}}),null),j.style.setProperty("padding","0.5rem"),ge(j,R(go,{label:"Data",defaultExpanded:["Data"],get value(){return l()},copyable:!0})),G.style.setProperty("padding","0.5rem"),ge(G,R(go,{label:"Query",defaultExpanded:["Query","queryKey"],get value(){return s()}})),b((t=>{const n=e.detailsContainer,o=e.detailsHeader,i=e.detailsBody,s=br(e.queryDetailsStatus,"gray"===f()?xr`
|
|
146
|
-
background-color: ${kr.colors[f()][700]};
|
|
147
|
-
color: ${kr.colors[f()][300]};
|
|
148
|
-
border-color: ${kr.colors[f()][600]};
|
|
149
|
-
`:xr`
|
|
150
|
-
background-color: ${kr.colors[f()][900]};
|
|
151
|
-
color: ${kr.colors[f()][300]};
|
|
152
|
-
border-color: ${kr.colors[f()][600]};
|
|
153
|
-
`),a=e.detailsHeader,l=e.actionsBody,u=xr`
|
|
154
|
-
color: ${kr.colors.blue[400]};
|
|
155
|
-
`,d="fetching"===c(),p=xr`
|
|
156
|
-
background-color: ${kr.colors.blue[400]};
|
|
157
|
-
`,h=xr`
|
|
158
|
-
color: ${kr.colors.yellow[400]};
|
|
159
|
-
`,m=xr`
|
|
160
|
-
background-color: ${kr.colors.yellow[400]};
|
|
161
|
-
`,b=xr`
|
|
162
|
-
color: ${kr.colors.gray[300]};
|
|
163
|
-
`,x=xr`
|
|
164
|
-
background-color: ${kr.colors.gray[400]};
|
|
165
|
-
`,$=xr`
|
|
166
|
-
color: ${kr.colors.cyan[400]};
|
|
167
|
-
`,k=r(),C=xr`
|
|
168
|
-
background-color: ${kr.colors.cyan[400]};
|
|
169
|
-
`,S=e.detailsHeader,L=e.detailsHeader;return n!==t._v$37&&de(g,t._v$37=n),o!==t._v$38&&de(v,t._v$38=o),i!==t._v$39&&de(y,t._v$39=i),s!==t._v$40&&de(w,t._v$40=s),a!==t._v$41&&de(E,t._v$41=a),l!==t._v$42&&de(_,t._v$42=l),u!==t._v$43&&de(A,t._v$43=u),d!==t._v$44&&(A.disabled=t._v$44=d),p!==t._v$45&&de(O,t._v$45=p),h!==t._v$46&&de(z,t._v$46=h),m!==t._v$47&&de(F,t._v$47=m),b!==t._v$48&&de(T,t._v$48=b),x!==t._v$49&&de(N,t._v$49=x),$!==t._v$50&&de(M,t._v$50=$),k!==t._v$51&&(M.disabled=t._v$51=k),C!==t._v$52&&de(U,t._v$52=C),S!==t._v$53&&de(I,t._v$53=S),L!==t._v$54&&de(D,t._v$54=L),t}),{_v$37:void 0,_v$38:void 0,_v$39:void 0,_v$40:void 0,_v$41:void 0,_v$42:void 0,_v$43:void 0,_v$44:void 0,_v$45:void 0,_v$46:void 0,_v$47:void 0,_v$48:void 0,_v$49:void 0,_v$50:void 0,_v$51:void 0,_v$52:void 0,_v$53:void 0,_v$54:void 0}),g}})},ui=new Map,di=()=>{const e=$((()=>mo().client.getQueryCache())),t=e().subscribe((()=>{for(const[t,r]of ui.entries())queueMicrotask((()=>{r(t(e))}))}));return C((()=>{ui.clear(),t()})),t},fi=(e,t=!0)=>{const r=$((()=>mo().client.getQueryCache())),[n,o]=m(e(r),t?void 0:{equals:!1});return x((()=>{o(e(r))})),ui.set(e,o),C((()=>{ui.delete(e)})),n},pi=()=>{const{colors:e,font:t,size:r,alpha:n,shadow:o,border:i}=kr;return{devtoolsBtn:xr`
|
|
170
|
-
z-index: 100000;
|
|
171
|
-
position: fixed;
|
|
172
|
-
padding: 4px;
|
|
173
|
-
|
|
174
|
-
display: flex;
|
|
175
|
-
align-items: center;
|
|
176
|
-
justify-content: center;
|
|
177
|
-
border-radius: 9999px;
|
|
178
|
-
box-shadow: ${o.md()};
|
|
179
|
-
overflow: hidden;
|
|
180
|
-
|
|
181
|
-
& div {
|
|
182
|
-
position: absolute;
|
|
183
|
-
top: -8px;
|
|
184
|
-
left: -8px;
|
|
185
|
-
right: -8px;
|
|
186
|
-
bottom: -8px;
|
|
187
|
-
border-radius: 9999px;
|
|
188
|
-
|
|
189
|
-
& svg {
|
|
190
|
-
position: absolute;
|
|
191
|
-
width: 100%;
|
|
192
|
-
height: 100%;
|
|
193
|
-
}
|
|
194
|
-
filter: blur(6px) saturate(1.2) contrast(1.1);
|
|
195
|
-
}
|
|
196
|
-
|
|
197
|
-
&:focus-within {
|
|
198
|
-
outline-offset: 2px;
|
|
199
|
-
outline: 3px solid ${e.green[600]};
|
|
200
|
-
}
|
|
201
|
-
|
|
202
|
-
& button {
|
|
203
|
-
position: relative;
|
|
204
|
-
z-index: 1;
|
|
205
|
-
padding: 0;
|
|
206
|
-
border-radius: 9999px;
|
|
207
|
-
background-color: transparent;
|
|
208
|
-
border: none;
|
|
209
|
-
height: 40px;
|
|
210
|
-
display: flex;
|
|
211
|
-
width: 40px;
|
|
212
|
-
overflow: hidden;
|
|
213
|
-
cursor: pointer;
|
|
214
|
-
outline: none;
|
|
215
|
-
& svg {
|
|
216
|
-
position: absolute;
|
|
217
|
-
width: 100%;
|
|
218
|
-
height: 100%;
|
|
219
|
-
}
|
|
220
|
-
}
|
|
221
|
-
`,panel:xr`
|
|
222
|
-
position: fixed;
|
|
223
|
-
z-index: 9999;
|
|
224
|
-
display: flex;
|
|
225
|
-
gap: ${kr.size[.5]};
|
|
226
|
-
& * {
|
|
227
|
-
font-family: 'Inter', sans-serif;
|
|
228
|
-
color: ${e.gray[300]};
|
|
229
|
-
box-sizing: border-box;
|
|
230
|
-
}
|
|
231
|
-
`,"devtoolsBtn-position-bottom-right":xr`
|
|
232
|
-
bottom: 12px;
|
|
233
|
-
right: 12px;
|
|
234
|
-
`,"devtoolsBtn-position-bottom-left":xr`
|
|
235
|
-
bottom: 12px;
|
|
236
|
-
left: 12px;
|
|
237
|
-
`,"devtoolsBtn-position-top-left":xr`
|
|
238
|
-
top: 12px;
|
|
239
|
-
left: 12px;
|
|
240
|
-
`,"devtoolsBtn-position-top-right":xr`
|
|
241
|
-
top: 12px;
|
|
242
|
-
right: 12px;
|
|
243
|
-
`,"panel-position-top":xr`
|
|
244
|
-
top: 0;
|
|
245
|
-
right: 0;
|
|
246
|
-
left: 0;
|
|
247
|
-
max-height: 90%;
|
|
248
|
-
min-height: 3.5rem;
|
|
249
|
-
border-bottom: ${e.darkGray[300]} 1px solid;
|
|
250
|
-
`,"panel-position-bottom":xr`
|
|
251
|
-
bottom: 0;
|
|
252
|
-
right: 0;
|
|
253
|
-
left: 0;
|
|
254
|
-
max-height: 90%;
|
|
255
|
-
min-height: 3.5rem;
|
|
256
|
-
border-top: ${e.darkGray[300]} 1px solid;
|
|
257
|
-
`,"panel-position-right":xr`
|
|
258
|
-
bottom: 0;
|
|
259
|
-
right: 0;
|
|
260
|
-
top: 0;
|
|
261
|
-
border-left: ${e.darkGray[300]} 1px solid;
|
|
262
|
-
max-width: 90%;
|
|
263
|
-
`,"panel-position-left":xr`
|
|
264
|
-
bottom: 0;
|
|
265
|
-
left: 0;
|
|
266
|
-
top: 0;
|
|
267
|
-
border-right: ${e.darkGray[300]} 1px solid;
|
|
268
|
-
max-width: 90%;
|
|
269
|
-
`,closeBtn:xr`
|
|
270
|
-
position: absolute;
|
|
271
|
-
cursor: pointer;
|
|
272
|
-
z-index: 5;
|
|
273
|
-
display: flex;
|
|
274
|
-
align-items: center;
|
|
275
|
-
justify-content: center;
|
|
276
|
-
outline: none;
|
|
277
|
-
&:hover {
|
|
278
|
-
background-color: ${e.darkGray[500]};
|
|
279
|
-
}
|
|
280
|
-
&:focus-visible {
|
|
281
|
-
outline: 2px solid ${e.blue[600]};
|
|
282
|
-
}
|
|
283
|
-
`,"closeBtn-position-top":xr`
|
|
284
|
-
bottom: 0;
|
|
285
|
-
right: ${r[3]};
|
|
286
|
-
transform: translate(0, 100%);
|
|
287
|
-
background-color: ${e.darkGray[700]};
|
|
288
|
-
border-right: ${e.darkGray[300]} 1px solid;
|
|
289
|
-
border-left: ${e.darkGray[300]} 1px solid;
|
|
290
|
-
border-top: none;
|
|
291
|
-
border-bottom: ${e.darkGray[300]} 1px solid;
|
|
292
|
-
border-radius: 0px 0px ${i.radius.sm} ${i.radius.sm};
|
|
293
|
-
padding: ${r[1.5]} ${r[2.5]} ${r[2]} ${r[2.5]};
|
|
294
|
-
|
|
295
|
-
&::after {
|
|
296
|
-
content: ' ';
|
|
297
|
-
position: absolute;
|
|
298
|
-
bottom: 100%;
|
|
299
|
-
left: -${r[2.5]};
|
|
300
|
-
height: ${r[1.5]};
|
|
301
|
-
width: calc(100% + ${r[5]});
|
|
302
|
-
}
|
|
303
|
-
|
|
304
|
-
& svg {
|
|
305
|
-
transform: rotate(180deg);
|
|
306
|
-
}
|
|
307
|
-
`,"closeBtn-position-bottom":xr`
|
|
308
|
-
top: 0;
|
|
309
|
-
right: ${r[3]};
|
|
310
|
-
transform: translate(0, -100%);
|
|
311
|
-
background-color: ${e.darkGray[700]};
|
|
312
|
-
border-right: ${e.darkGray[300]} 1px solid;
|
|
313
|
-
border-left: ${e.darkGray[300]} 1px solid;
|
|
314
|
-
border-top: ${e.darkGray[300]} 1px solid;
|
|
315
|
-
border-bottom: none;
|
|
316
|
-
border-radius: ${i.radius.sm} ${i.radius.sm} 0px 0px;
|
|
317
|
-
padding: ${r[2]} ${r[2.5]} ${r[1.5]} ${r[2.5]};
|
|
318
|
-
|
|
319
|
-
&::after {
|
|
320
|
-
content: ' ';
|
|
321
|
-
position: absolute;
|
|
322
|
-
top: 100%;
|
|
323
|
-
left: -${r[2.5]};
|
|
324
|
-
height: ${r[1.5]};
|
|
325
|
-
width: calc(100% + ${r[5]});
|
|
326
|
-
}
|
|
327
|
-
`,"closeBtn-position-right":xr`
|
|
328
|
-
bottom: ${r[3]};
|
|
329
|
-
left: 0;
|
|
330
|
-
transform: translate(-100%, 0);
|
|
331
|
-
background-color: ${e.darkGray[700]};
|
|
332
|
-
border-right: none;
|
|
333
|
-
border-left: ${e.darkGray[300]} 1px solid;
|
|
334
|
-
border-top: ${e.darkGray[300]} 1px solid;
|
|
335
|
-
border-bottom: ${e.darkGray[300]} 1px solid;
|
|
336
|
-
border-radius: ${i.radius.sm} 0px 0px ${i.radius.sm};
|
|
337
|
-
padding: ${r[2.5]} ${r[1]} ${r[2.5]} ${r[1.5]};
|
|
338
|
-
|
|
339
|
-
&::after {
|
|
340
|
-
content: ' ';
|
|
341
|
-
position: absolute;
|
|
342
|
-
left: 100%;
|
|
343
|
-
height: calc(100% + ${r[5]});
|
|
344
|
-
width: ${r[1.5]};
|
|
345
|
-
}
|
|
346
|
-
|
|
347
|
-
& svg {
|
|
348
|
-
transform: rotate(-90deg);
|
|
349
|
-
}
|
|
350
|
-
`,"closeBtn-position-left":xr`
|
|
351
|
-
bottom: ${r[3]};
|
|
352
|
-
right: 0;
|
|
353
|
-
transform: translate(100%, 0);
|
|
354
|
-
background-color: ${e.darkGray[700]};
|
|
355
|
-
border-left: none;
|
|
356
|
-
border-right: ${e.darkGray[300]} 1px solid;
|
|
357
|
-
border-top: ${e.darkGray[300]} 1px solid;
|
|
358
|
-
border-bottom: ${e.darkGray[300]} 1px solid;
|
|
359
|
-
border-radius: 0px ${i.radius.sm} ${i.radius.sm} 0px;
|
|
360
|
-
padding: ${r[2.5]} ${r[1.5]} ${r[2.5]} ${r[1]};
|
|
361
|
-
|
|
362
|
-
&::after {
|
|
363
|
-
content: ' ';
|
|
364
|
-
position: absolute;
|
|
365
|
-
right: 100%;
|
|
366
|
-
height: calc(100% + ${r[5]});
|
|
367
|
-
width: ${r[1.5]};
|
|
368
|
-
}
|
|
369
|
-
|
|
370
|
-
& svg {
|
|
371
|
-
transform: rotate(90deg);
|
|
372
|
-
}
|
|
373
|
-
`,queriesContainer:xr`
|
|
374
|
-
flex: 1 1 700px;
|
|
375
|
-
background-color: ${e.darkGray[700]};
|
|
376
|
-
display: flex;
|
|
377
|
-
flex-direction: column;
|
|
378
|
-
`,dragHandle:xr`
|
|
379
|
-
position: absolute;
|
|
380
|
-
transition: background-color 0.125s ease;
|
|
381
|
-
&:hover {
|
|
382
|
-
background-color: ${e.gray[400]}${n[90]};
|
|
383
|
-
}
|
|
384
|
-
z-index: 4;
|
|
385
|
-
`,"dragHandle-position-top":xr`
|
|
386
|
-
bottom: 0;
|
|
387
|
-
width: 100%;
|
|
388
|
-
height: ${kr.size[1]};
|
|
389
|
-
cursor: ns-resize;
|
|
390
|
-
`,"dragHandle-position-bottom":xr`
|
|
391
|
-
top: 0;
|
|
392
|
-
width: 100%;
|
|
393
|
-
height: ${kr.size[1]};
|
|
394
|
-
cursor: ns-resize;
|
|
395
|
-
`,"dragHandle-position-right":xr`
|
|
396
|
-
left: 0;
|
|
397
|
-
width: ${kr.size[1]};
|
|
398
|
-
height: 100%;
|
|
399
|
-
cursor: ew-resize;
|
|
400
|
-
`,"dragHandle-position-left":xr`
|
|
401
|
-
right: 0;
|
|
402
|
-
width: ${kr.size[1]};
|
|
403
|
-
height: 100%;
|
|
404
|
-
cursor: ew-resize;
|
|
405
|
-
`,row:xr`
|
|
406
|
-
display: flex;
|
|
407
|
-
justify-content: space-between;
|
|
408
|
-
padding: ${kr.size[2.5]} ${kr.size[3]};
|
|
409
|
-
gap: ${kr.size[4]};
|
|
410
|
-
border-bottom: ${e.darkGray[500]} 1px solid;
|
|
411
|
-
align-items: center;
|
|
412
|
-
& > button {
|
|
413
|
-
padding: 0;
|
|
414
|
-
background: transparent;
|
|
415
|
-
border: none;
|
|
416
|
-
display: flex;
|
|
417
|
-
flex-direction: column;
|
|
418
|
-
}
|
|
419
|
-
`,logo:xr`
|
|
420
|
-
cursor: pointer;
|
|
421
|
-
&:hover {
|
|
422
|
-
opacity: 0.7;
|
|
423
|
-
}
|
|
424
|
-
&:focus-visible {
|
|
425
|
-
outline-offset: 4px;
|
|
426
|
-
border-radius: ${i.radius.xs};
|
|
427
|
-
outline: 2px solid ${e.blue[800]};
|
|
428
|
-
}
|
|
429
|
-
`,tanstackLogo:xr`
|
|
430
|
-
font-size: ${t.size.lg};
|
|
431
|
-
font-weight: ${t.weight.extrabold};
|
|
432
|
-
line-height: ${t.lineHeight.sm};
|
|
433
|
-
white-space: nowrap;
|
|
434
|
-
`,queryFlavorLogo:xr`
|
|
435
|
-
font-weight: ${t.weight.semibold};
|
|
436
|
-
font-size: ${t.size.sm};
|
|
437
|
-
background: linear-gradient(to right, #dd524b, #e9a03b);
|
|
438
|
-
background-clip: text;
|
|
439
|
-
line-height: ${t.lineHeight.xs};
|
|
440
|
-
-webkit-text-fill-color: transparent;
|
|
441
|
-
white-space: nowrap;
|
|
442
|
-
`,queryStatusContainer:xr`
|
|
443
|
-
display: flex;
|
|
444
|
-
gap: ${kr.size[2]};
|
|
445
|
-
height: min-content;
|
|
446
|
-
`,queryStatusTag:xr`
|
|
447
|
-
display: flex;
|
|
448
|
-
gap: ${kr.size[1.5]};
|
|
449
|
-
background: ${e.darkGray[500]};
|
|
450
|
-
border-radius: ${kr.border.radius.md};
|
|
451
|
-
font-size: ${t.size.sm};
|
|
452
|
-
padding: ${kr.size[1]};
|
|
453
|
-
padding-left: ${kr.size[2.5]};
|
|
454
|
-
align-items: center;
|
|
455
|
-
line-height: ${t.lineHeight.md};
|
|
456
|
-
font-weight: ${t.weight.medium};
|
|
457
|
-
border: none;
|
|
458
|
-
user-select: none;
|
|
459
|
-
position: relative;
|
|
460
|
-
&:focus-visible {
|
|
461
|
-
outline-offset: 2px;
|
|
462
|
-
outline: 2px solid ${e.blue[800]};
|
|
463
|
-
}
|
|
464
|
-
& span:nth-child(2) {
|
|
465
|
-
color: ${e.gray[300]}${n[80]};
|
|
466
|
-
}
|
|
467
|
-
`,statusTooltip:xr`
|
|
468
|
-
position: absolute;
|
|
469
|
-
z-index: 1;
|
|
470
|
-
background-color: ${e.darkGray[500]};
|
|
471
|
-
top: 100%;
|
|
472
|
-
left: 50%;
|
|
473
|
-
transform: translate(-50%, calc(${kr.size[2]}));
|
|
474
|
-
padding: ${kr.size[.5]} ${kr.size[3]};
|
|
475
|
-
border-radius: ${kr.border.radius.md};
|
|
476
|
-
font-size: ${t.size.sm};
|
|
477
|
-
border: 2px solid ${e.gray[600]};
|
|
478
|
-
color: ${kr.colors.gray[300]};
|
|
479
|
-
|
|
480
|
-
&::before {
|
|
481
|
-
top: 0px;
|
|
482
|
-
content: ' ';
|
|
483
|
-
display: block;
|
|
484
|
-
left: 50%;
|
|
485
|
-
transform: translate(-50%, -100%);
|
|
486
|
-
position: absolute;
|
|
487
|
-
border-color: transparent transparent ${e.gray[600]} transparent;
|
|
488
|
-
border-style: solid;
|
|
489
|
-
border-width: 7px;
|
|
490
|
-
/* transform: rotate(180deg); */
|
|
491
|
-
}
|
|
492
|
-
|
|
493
|
-
&::after {
|
|
494
|
-
top: 0px;
|
|
495
|
-
content: ' ';
|
|
496
|
-
display: block;
|
|
497
|
-
left: 50%;
|
|
498
|
-
transform: translate(-50%, calc(-100% + 2.5px));
|
|
499
|
-
position: absolute;
|
|
500
|
-
border-color: transparent transparent ${e.darkGray[500]}
|
|
501
|
-
transparent;
|
|
502
|
-
border-style: solid;
|
|
503
|
-
border-width: 7px;
|
|
504
|
-
}
|
|
505
|
-
`,selectedQueryRow:xr`
|
|
506
|
-
background-color: ${e.darkGray[500]};
|
|
507
|
-
`,queryStatusCount:xr`
|
|
508
|
-
padding: 0 8px;
|
|
509
|
-
display: flex;
|
|
510
|
-
align-items: center;
|
|
511
|
-
justify-content: center;
|
|
512
|
-
color: ${e.gray[400]};
|
|
513
|
-
background-color: ${e.darkGray[300]};
|
|
514
|
-
border-radius: 3px;
|
|
515
|
-
font-variant-numeric: tabular-nums;
|
|
516
|
-
`,filtersContainer:xr`
|
|
517
|
-
display: flex;
|
|
518
|
-
gap: ${kr.size[2.5]};
|
|
519
|
-
& > button {
|
|
520
|
-
cursor: pointer;
|
|
521
|
-
padding: ${kr.size[1.5]} ${kr.size[2.5]};
|
|
522
|
-
padding-right: ${kr.size[1.5]};
|
|
523
|
-
border-radius: ${kr.border.radius.md};
|
|
524
|
-
background-color: ${e.darkGray[400]};
|
|
525
|
-
font-size: ${t.size.sm};
|
|
526
|
-
display: flex;
|
|
527
|
-
align-items: center;
|
|
528
|
-
line-height: ${t.lineHeight.sm};
|
|
529
|
-
gap: ${kr.size[1.5]};
|
|
530
|
-
max-width: 160px;
|
|
531
|
-
border: 1px solid ${e.darkGray[200]};
|
|
532
|
-
&:focus-visible {
|
|
533
|
-
outline-offset: 2px;
|
|
534
|
-
border-radius: ${i.radius.xs};
|
|
535
|
-
outline: 2px solid ${e.blue[800]};
|
|
536
|
-
}
|
|
537
|
-
}
|
|
538
|
-
`,filterInput:xr`
|
|
539
|
-
padding: ${kr.size[1.5]} ${kr.size[2.5]};
|
|
540
|
-
border-radius: ${kr.border.radius.md};
|
|
541
|
-
background-color: ${e.darkGray[400]};
|
|
542
|
-
display: flex;
|
|
543
|
-
box-sizing: content-box;
|
|
544
|
-
align-items: center;
|
|
545
|
-
gap: ${kr.size[1.5]};
|
|
546
|
-
max-width: 160px;
|
|
547
|
-
min-width: 100px;
|
|
548
|
-
border: 1px solid ${e.darkGray[200]};
|
|
549
|
-
height: min-content;
|
|
550
|
-
& > svg {
|
|
551
|
-
width: ${kr.size[3.5]};
|
|
552
|
-
height: ${kr.size[3.5]};
|
|
553
|
-
}
|
|
554
|
-
& input {
|
|
555
|
-
font-size: ${t.size.sm};
|
|
556
|
-
width: 100%;
|
|
557
|
-
background-color: ${e.darkGray[400]};
|
|
558
|
-
border: none;
|
|
559
|
-
padding: 0;
|
|
560
|
-
line-height: ${t.lineHeight.sm};
|
|
561
|
-
color: ${e.gray[300]};
|
|
562
|
-
&::placeholder {
|
|
563
|
-
color: ${e.gray[300]};
|
|
564
|
-
}
|
|
565
|
-
&:focus {
|
|
566
|
-
outline: none;
|
|
567
|
-
}
|
|
568
|
-
}
|
|
569
|
-
|
|
570
|
-
&:focus-within {
|
|
571
|
-
outline-offset: 2px;
|
|
572
|
-
border-radius: ${i.radius.xs};
|
|
573
|
-
outline: 2px solid ${e.blue[800]};
|
|
574
|
-
}
|
|
575
|
-
`,filterSelect:xr`
|
|
576
|
-
padding: ${kr.size[1.5]} ${kr.size[2.5]};
|
|
577
|
-
border-radius: ${kr.border.radius.md};
|
|
578
|
-
background-color: ${e.darkGray[400]};
|
|
579
|
-
display: flex;
|
|
580
|
-
align-items: center;
|
|
581
|
-
gap: ${kr.size[1.5]};
|
|
582
|
-
box-sizing: content-box;
|
|
583
|
-
max-width: 160px;
|
|
584
|
-
border: 1px solid ${e.darkGray[200]};
|
|
585
|
-
height: min-content;
|
|
586
|
-
& > svg {
|
|
587
|
-
width: ${kr.size[3]};
|
|
588
|
-
height: ${kr.size[3]};
|
|
589
|
-
}
|
|
590
|
-
& > select {
|
|
591
|
-
appearance: none;
|
|
592
|
-
min-width: 100px;
|
|
593
|
-
line-height: ${t.lineHeight.sm};
|
|
594
|
-
font-size: ${t.size.sm};
|
|
595
|
-
background-color: ${e.darkGray[400]};
|
|
596
|
-
border: none;
|
|
597
|
-
&:focus {
|
|
598
|
-
outline: none;
|
|
599
|
-
}
|
|
600
|
-
}
|
|
601
|
-
&:focus-within {
|
|
602
|
-
outline-offset: 2px;
|
|
603
|
-
border-radius: ${i.radius.xs};
|
|
604
|
-
outline: 2px solid ${e.blue[800]};
|
|
605
|
-
}
|
|
606
|
-
`,actionsContainer:xr`
|
|
607
|
-
display: flex;
|
|
608
|
-
gap: ${kr.size[2.5]};
|
|
609
|
-
`,actionsBtn:xr`
|
|
610
|
-
border-radius: ${kr.border.radius.md};
|
|
611
|
-
background-color: ${e.darkGray[400]};
|
|
612
|
-
width: 2.125rem; // 34px
|
|
613
|
-
height: 2.125rem; // 34px
|
|
614
|
-
justify-content: center;
|
|
615
|
-
display: flex;
|
|
616
|
-
align-items: center;
|
|
617
|
-
gap: ${kr.size[1.5]};
|
|
618
|
-
max-width: 160px;
|
|
619
|
-
border: 1px solid ${e.darkGray[200]};
|
|
620
|
-
cursor: pointer;
|
|
621
|
-
&:hover {
|
|
622
|
-
background-color: ${e.darkGray[500]};
|
|
623
|
-
}
|
|
624
|
-
& svg {
|
|
625
|
-
width: ${kr.size[4]};
|
|
626
|
-
height: ${kr.size[4]};
|
|
627
|
-
}
|
|
628
|
-
&:focus-visible {
|
|
629
|
-
outline-offset: 2px;
|
|
630
|
-
border-radius: ${i.radius.xs};
|
|
631
|
-
outline: 2px solid ${e.blue[800]};
|
|
632
|
-
}
|
|
633
|
-
`,overflowQueryContainer:xr`
|
|
634
|
-
flex: 1;
|
|
635
|
-
overflow-y: auto;
|
|
636
|
-
& > div {
|
|
637
|
-
display: flex;
|
|
638
|
-
flex-direction: column;
|
|
639
|
-
}
|
|
640
|
-
`,queryRow:xr`
|
|
641
|
-
display: flex;
|
|
642
|
-
align-items: center;
|
|
643
|
-
padding: 0;
|
|
644
|
-
background-color: inherit;
|
|
645
|
-
border: none;
|
|
646
|
-
cursor: pointer;
|
|
647
|
-
&:focus-visible {
|
|
648
|
-
outline-offset: -2px;
|
|
649
|
-
border-radius: ${i.radius.xs};
|
|
650
|
-
outline: 2px solid ${e.blue[800]};
|
|
651
|
-
}
|
|
652
|
-
&:hover .TSQDQueryHash {
|
|
653
|
-
background-color: ${e.darkGray[600]};
|
|
654
|
-
}
|
|
655
|
-
|
|
656
|
-
& .TSQDObserverCount {
|
|
657
|
-
padding: 0 ${kr.size[1]};
|
|
658
|
-
user-select: none;
|
|
659
|
-
min-width: ${kr.size[8]};
|
|
660
|
-
align-self: stretch !important;
|
|
661
|
-
display: flex;
|
|
662
|
-
align-items: center;
|
|
663
|
-
justify-content: center;
|
|
664
|
-
font-size: ${t.size.sm};
|
|
665
|
-
font-weight: ${t.weight.medium};
|
|
666
|
-
border-bottom: 1px solid ${e.darkGray[700]};
|
|
667
|
-
}
|
|
668
|
-
& .TSQDQueryHash {
|
|
669
|
-
user-select: text;
|
|
670
|
-
font-size: ${t.size.sm};
|
|
671
|
-
display: flex;
|
|
672
|
-
align-items: center;
|
|
673
|
-
min-height: ${kr.size[8]};
|
|
674
|
-
flex: 1;
|
|
675
|
-
padding: ${kr.size[1]} ${kr.size[2]};
|
|
676
|
-
font-family: 'Menlo', 'Fira Code', monospace !important;
|
|
677
|
-
border-bottom: 1px solid ${e.darkGray[400]};
|
|
678
|
-
text-align: left;
|
|
679
|
-
text-overflow: clip;
|
|
680
|
-
word-break: break-word;
|
|
681
|
-
}
|
|
682
|
-
|
|
683
|
-
& .TSQDQueryDisabled {
|
|
684
|
-
align-self: stretch;
|
|
685
|
-
align-self: stretch !important;
|
|
686
|
-
display: flex;
|
|
687
|
-
align-items: center;
|
|
688
|
-
padding: 0 ${kr.size[3]};
|
|
689
|
-
color: ${e.gray[300]};
|
|
690
|
-
background-color: ${e.darkGray[600]};
|
|
691
|
-
border-bottom: 1px solid ${e.darkGray[400]};
|
|
692
|
-
font-size: ${t.size.sm};
|
|
693
|
-
}
|
|
694
|
-
`,detailsContainer:xr`
|
|
695
|
-
flex: 1 1 700px;
|
|
696
|
-
background-color: ${e.darkGray[700]};
|
|
697
|
-
display: flex;
|
|
698
|
-
flex-direction: column;
|
|
699
|
-
overflow-y: auto;
|
|
700
|
-
display: flex;
|
|
701
|
-
`,detailsHeader:xr`
|
|
702
|
-
position: sticky;
|
|
703
|
-
top: 0;
|
|
704
|
-
z-index: 2;
|
|
705
|
-
background-color: ${e.darkGray[600]};
|
|
706
|
-
padding: ${kr.size[2]} ${kr.size[2]};
|
|
707
|
-
font-weight: ${t.weight.medium};
|
|
708
|
-
font-size: ${t.size.sm};
|
|
709
|
-
`,detailsBody:xr`
|
|
710
|
-
margin: ${kr.size[2]} 0px ${kr.size[3]} 0px;
|
|
711
|
-
& > div {
|
|
712
|
-
display: flex;
|
|
713
|
-
align-items: stretch;
|
|
714
|
-
padding: 0 ${kr.size[2]};
|
|
715
|
-
line-height: ${t.lineHeight.sm};
|
|
716
|
-
justify-content: space-between;
|
|
717
|
-
& > span {
|
|
718
|
-
font-size: ${t.size.sm};
|
|
719
|
-
}
|
|
720
|
-
& > span:nth-child(2) {
|
|
721
|
-
font-variant-numeric: tabular-nums;
|
|
722
|
-
}
|
|
723
|
-
}
|
|
724
|
-
|
|
725
|
-
& > div:first-child {
|
|
726
|
-
margin-bottom: ${kr.size[2]};
|
|
727
|
-
}
|
|
728
|
-
|
|
729
|
-
& code {
|
|
730
|
-
font-family: 'Menlo', 'Fira Code', monospace !important;
|
|
731
|
-
margin: 0;
|
|
732
|
-
font-size: ${t.size.sm};
|
|
733
|
-
line-height: ${t.lineHeight.sm};
|
|
734
|
-
}
|
|
735
|
-
`,queryDetailsStatus:xr`
|
|
736
|
-
border: 1px solid ${e.darkGray[200]};
|
|
737
|
-
border-radius: ${kr.border.radius.md};
|
|
738
|
-
font-weight: ${t.weight.medium};
|
|
739
|
-
padding: ${kr.size[1]} ${kr.size[2.5]};
|
|
740
|
-
`,actionsBody:xr`
|
|
741
|
-
flex-wrap: wrap;
|
|
742
|
-
margin: ${kr.size[3]} 0px ${kr.size[3]} 0px;
|
|
743
|
-
display: flex;
|
|
744
|
-
gap: ${kr.size[2]};
|
|
745
|
-
padding: 0px ${kr.size[2]};
|
|
746
|
-
& > button {
|
|
747
|
-
font-size: ${t.size.sm};
|
|
748
|
-
padding: ${kr.size[2]} ${kr.size[2]};
|
|
749
|
-
display: flex;
|
|
750
|
-
border-radius: ${kr.border.radius.md};
|
|
751
|
-
border: 1px solid ${e.darkGray[400]};
|
|
752
|
-
background-color: ${e.darkGray[600]};
|
|
753
|
-
align-items: center;
|
|
754
|
-
gap: ${kr.size[2]};
|
|
755
|
-
font-weight: ${t.weight.medium};
|
|
756
|
-
line-height: ${t.lineHeight.sm};
|
|
757
|
-
cursor: pointer;
|
|
758
|
-
&:focus-visible {
|
|
759
|
-
outline-offset: 2px;
|
|
760
|
-
border-radius: ${i.radius.xs};
|
|
761
|
-
outline: 2px solid ${e.blue[800]};
|
|
762
|
-
}
|
|
763
|
-
&:hover {
|
|
764
|
-
background-color: ${e.darkGray[500]};
|
|
765
|
-
}
|
|
766
|
-
|
|
767
|
-
&:disabled {
|
|
768
|
-
opacity: 0.6;
|
|
769
|
-
cursor: not-allowed;
|
|
770
|
-
}
|
|
771
|
-
|
|
772
|
-
& > span {
|
|
773
|
-
width: ${r[2]};
|
|
774
|
-
height: ${r[2]};
|
|
775
|
-
border-radius: ${kr.border.radius.full};
|
|
776
|
-
}
|
|
777
|
-
}
|
|
778
|
-
`,actionsSelect:xr`
|
|
779
|
-
font-size: ${t.size.sm};
|
|
780
|
-
padding: ${kr.size[2]} ${kr.size[2]};
|
|
781
|
-
display: flex;
|
|
782
|
-
border-radius: ${kr.border.radius.md};
|
|
783
|
-
overflow: hidden;
|
|
784
|
-
border: 1px solid ${e.darkGray[400]};
|
|
785
|
-
background-color: ${e.darkGray[600]};
|
|
786
|
-
align-items: center;
|
|
787
|
-
gap: ${kr.size[2]};
|
|
788
|
-
font-weight: ${t.weight.medium};
|
|
789
|
-
line-height: ${t.lineHeight.sm};
|
|
790
|
-
color: ${kr.colors.red[400]};
|
|
791
|
-
cursor: pointer;
|
|
792
|
-
position: relative;
|
|
793
|
-
&:hover {
|
|
794
|
-
background-color: ${e.darkGray[500]};
|
|
795
|
-
}
|
|
796
|
-
& > span {
|
|
797
|
-
width: ${r[2]};
|
|
798
|
-
height: ${r[2]};
|
|
799
|
-
border-radius: ${kr.border.radius.full};
|
|
800
|
-
}
|
|
801
|
-
&:focus-within {
|
|
802
|
-
outline-offset: 2px;
|
|
803
|
-
border-radius: ${i.radius.xs};
|
|
804
|
-
outline: 2px solid ${e.blue[800]};
|
|
805
|
-
}
|
|
806
|
-
& select {
|
|
807
|
-
position: absolute;
|
|
808
|
-
top: 0;
|
|
809
|
-
left: 0;
|
|
810
|
-
width: 100%;
|
|
811
|
-
height: 100%;
|
|
812
|
-
appearance: none;
|
|
813
|
-
background-color: transparent;
|
|
814
|
-
border: none;
|
|
815
|
-
color: transparent;
|
|
816
|
-
outline: none;
|
|
817
|
-
}
|
|
818
|
-
|
|
819
|
-
& svg path {
|
|
820
|
-
stroke: ${kr.colors.red[400]} !important;
|
|
821
|
-
}
|
|
822
|
-
`,settingsMenu:xr`
|
|
823
|
-
position: absolute;
|
|
824
|
-
top: calc(100% + ${kr.size[2]});
|
|
825
|
-
border-radius: ${kr.border.radius.lg};
|
|
826
|
-
border: 1px solid ${e.gray[600]};
|
|
827
|
-
right: 0;
|
|
828
|
-
min-width: ${kr.size[44]};
|
|
829
|
-
background-color: ${e.darkGray[400]};
|
|
830
|
-
font-size: ${t.size.sm};
|
|
831
|
-
color: ${e.gray[500]};
|
|
832
|
-
z-index: 7;
|
|
833
|
-
`,settingsMenuHeader:xr`
|
|
834
|
-
padding: ${kr.size[1.5]} ${kr.size[2.5]};
|
|
835
|
-
color: ${e.gray[300]};
|
|
836
|
-
font-weight: ${t.weight.medium};
|
|
837
|
-
`,settingsMenuSection:xr`
|
|
838
|
-
border-top: 1px solid ${e.gray[600]};
|
|
839
|
-
display: flex;
|
|
840
|
-
flex-direction: column;
|
|
841
|
-
padding: ${kr.size[1]} ${kr.size[1]};
|
|
842
|
-
|
|
843
|
-
& > button {
|
|
844
|
-
cursor: pointer;
|
|
845
|
-
background-color: transparent;
|
|
846
|
-
border: none;
|
|
847
|
-
padding: ${kr.size[2]} ${kr.size[1.5]};
|
|
848
|
-
font-size: ${t.size.sm};
|
|
849
|
-
display: flex;
|
|
850
|
-
align-items: center;
|
|
851
|
-
justify-content: flex-start;
|
|
852
|
-
gap: ${kr.size[2]};
|
|
853
|
-
border-radius: ${kr.border.radius.md};
|
|
854
|
-
&:hover {
|
|
855
|
-
background-color: ${e.darkGray[500]};
|
|
856
|
-
}
|
|
857
|
-
|
|
858
|
-
&:focus-visible {
|
|
859
|
-
outline-offset: 2px;
|
|
860
|
-
outline: 2px solid ${e.blue[800]};
|
|
861
|
-
}
|
|
862
|
-
}
|
|
863
|
-
|
|
864
|
-
& button:nth-child(4) svg {
|
|
865
|
-
transform: rotate(-90deg);
|
|
866
|
-
}
|
|
867
|
-
|
|
868
|
-
& button:nth-child(3) svg {
|
|
869
|
-
transform: rotate(90deg);
|
|
870
|
-
}
|
|
871
|
-
`}};ce(["click","mousedown","input"]);e.TanstackQueryDevtools=class{isMounted=!1;constructor(e){const{client:t,queryFlavor:r,version:n,onlineManager:o,buttonPosition:i,position:s,initialIsOpen:a,errorTypes:l}=e;this.client=m(t),this.queryFlavor=r,this.version=n,this.onlineManager=o,this.buttonPosition=m(i),this.position=m(s),this.initialIsOpen=m(a),this.errorTypes=m(l)}setButtonPosition(e){this.buttonPosition[1](e)}setPosition(e){this.position[1](e)}setInitialIsOpen(e){this.initialIsOpen[1](e)}setErrorTypes(e){this.errorTypes[1](e)}setClient(e){this.client[1](e)}mount(e){if(this.isMounted)throw new Error("Devtools is already mounted");const t=function(e,t,r,n={}){let o;return y((n=>{o=n,t===document?e():ge(t,e(),t.firstChild?null:void 0,r)}),n.owner),()=>{o(),t.textContent=""}}((()=>{const[e]=this.buttonPosition,[t]=this.position,[r]=this.initialIsOpen,[n]=this.errorTypes,[o]=this.client,i=this;return R(ni,K({get queryFlavor(){return i.queryFlavor},get version(){return i.version},get onlineManager(){return i.onlineManager}},{get client(){return o()},get buttonPosition(){return e()},get position(){return t()},get initialIsOpen(){return r()},get errorTypes(){return n()}}))}),e);this.isMounted=!0,this.dispose=t}unmount(){if(!this.isMounted)throw new Error("Devtools is not mounted");this.dispose?.(),this.isMounted=!1}}}));
|
|
872
|
-
//# sourceMappingURL=index.js.map
|