@tanstack/query-devtools 5.0.0-rc.1 → 5.0.0-rc.10

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/build/dev.cjs CHANGED
@@ -11355,7 +11355,7 @@ function getQueryStatusColor({
11355
11355
  function getQueryStatusColorByLabel(label) {
11356
11356
  return label === "fresh" ? "green" : label === "stale" ? "yellow" : label === "paused" ? "purple" : label === "inactive" ? "gray" : "blue";
11357
11357
  }
11358
- var displayValue, getStatusRank, queryHashSort, dateSort, statusAndDateSort, sortFns, convertRemToPixels;
11358
+ var displayValue, getStatusRank, queryHashSort, dateSort, statusAndDateSort, sortFns, convertRemToPixels, updateNestedDataByPath, deleteNestedDataByPath;
11359
11359
  var init_utils = __esm({
11360
11360
  "src/utils.tsx"() {
11361
11361
  init_esm2();
@@ -11382,6 +11382,86 @@ var init_utils = __esm({
11382
11382
  convertRemToPixels = (rem) => {
11383
11383
  return rem * parseFloat(getComputedStyle(document.documentElement).fontSize);
11384
11384
  };
11385
+ updateNestedDataByPath = (oldData, updatePath2, value) => {
11386
+ if (updatePath2.length === 0) {
11387
+ return value;
11388
+ }
11389
+ if (oldData instanceof Map) {
11390
+ const newData = new Map(oldData);
11391
+ if (updatePath2.length === 1) {
11392
+ newData.set(updatePath2[0], value);
11393
+ return newData;
11394
+ }
11395
+ const [head, ...tail] = updatePath2;
11396
+ newData.set(head, updateNestedDataByPath(newData.get(head), tail, value));
11397
+ return newData;
11398
+ }
11399
+ if (oldData instanceof Set) {
11400
+ const setAsArray = updateNestedDataByPath(Array.from(oldData), updatePath2, value);
11401
+ return new Set(setAsArray);
11402
+ }
11403
+ if (Array.isArray(oldData)) {
11404
+ const newData = [...oldData];
11405
+ if (updatePath2.length === 1) {
11406
+ newData[updatePath2[0]] = value;
11407
+ return newData;
11408
+ }
11409
+ const [head, ...tail] = updatePath2;
11410
+ newData[head] = updateNestedDataByPath(newData[head], tail, value);
11411
+ return newData;
11412
+ }
11413
+ if (oldData instanceof Object) {
11414
+ const newData = {
11415
+ ...oldData
11416
+ };
11417
+ if (updatePath2.length === 1) {
11418
+ newData[updatePath2[0]] = value;
11419
+ return newData;
11420
+ }
11421
+ const [head, ...tail] = updatePath2;
11422
+ newData[head] = updateNestedDataByPath(newData[head], tail, value);
11423
+ return newData;
11424
+ }
11425
+ return oldData;
11426
+ };
11427
+ deleteNestedDataByPath = (oldData, deletePath) => {
11428
+ if (oldData instanceof Map) {
11429
+ const newData = new Map(oldData);
11430
+ if (deletePath.length === 1) {
11431
+ newData.delete(deletePath[0]);
11432
+ return newData;
11433
+ }
11434
+ const [head, ...tail] = deletePath;
11435
+ newData.set(head, deleteNestedDataByPath(newData.get(head), tail));
11436
+ return newData;
11437
+ }
11438
+ if (oldData instanceof Set) {
11439
+ const setAsArray = deleteNestedDataByPath(Array.from(oldData), deletePath);
11440
+ return new Set(setAsArray);
11441
+ }
11442
+ if (Array.isArray(oldData)) {
11443
+ const newData = [...oldData];
11444
+ if (deletePath.length === 1) {
11445
+ return newData.filter((_, idx) => idx.toString() !== deletePath[0]);
11446
+ }
11447
+ const [head, ...tail] = deletePath;
11448
+ newData[head] = deleteNestedDataByPath(newData[head], tail);
11449
+ return newData;
11450
+ }
11451
+ if (oldData instanceof Object) {
11452
+ const newData = {
11453
+ ...oldData
11454
+ };
11455
+ if (deletePath.length === 1) {
11456
+ delete newData[deletePath[0]];
11457
+ return newData;
11458
+ }
11459
+ const [head, ...tail] = deletePath;
11460
+ newData[head] = deleteNestedDataByPath(newData[head], tail);
11461
+ return newData;
11462
+ }
11463
+ return oldData;
11464
+ };
11385
11465
  }
11386
11466
  });
11387
11467
 
@@ -11445,12 +11525,27 @@ function CopiedCopier() {
11445
11525
  function ErrorCopier() {
11446
11526
  return _tmpl$11();
11447
11527
  }
11448
- function TanstackLogo() {
11528
+ function List() {
11449
11529
  return _tmpl$12();
11450
11530
  }
11451
- var _tmpl$, _tmpl$2, _tmpl$3, _tmpl$4, _tmpl$5, _tmpl$6, _tmpl$7, _tmpl$8, _tmpl$9, _tmpl$10, _tmpl$11, _tmpl$12;
11531
+ function Check(props) {
11532
+ return (() => {
11533
+ const _el$15 = _tmpl$13(); _el$15.firstChild;
11534
+ insert(_el$15, (() => {
11535
+ const _c$ = createMemo(() => !!props.checked);
11536
+ return () => _c$() && _tmpl$14();
11537
+ })(), null);
11538
+ return _el$15;
11539
+ })();
11540
+ }
11541
+ function TanstackLogo() {
11542
+ return _tmpl$15();
11543
+ }
11544
+ var _tmpl$, _tmpl$2, _tmpl$3, _tmpl$4, _tmpl$5, _tmpl$6, _tmpl$7, _tmpl$8, _tmpl$9, _tmpl$10, _tmpl$11, _tmpl$12, _tmpl$13, _tmpl$14, _tmpl$15;
11452
11545
  var init_icons = __esm({
11453
11546
  "src/icons/index.tsx"() {
11547
+ init_web();
11548
+ init_web();
11454
11549
  init_web();
11455
11550
  init_web();
11456
11551
  init_web();
@@ -11466,7 +11561,27 @@ var init_icons = __esm({
11466
11561
  _tmpl$9 = /* @__PURE__ */ template(`<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">`);
11467
11562
  _tmpl$10 = /* @__PURE__ */ template(`<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">`);
11468
11563
  _tmpl$11 = /* @__PURE__ */ template(`<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">`);
11469
- _tmpl$12 = /* @__PURE__ */ template(`<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">`);
11564
+ _tmpl$12 = /* @__PURE__ */ template(`<svg width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="#98A2B3" stroke-width="2" xmlns="http://www.w3.org/2000/svg"><rect class="list" width="20" height="20" y="2" x="2" rx="2"></rect><line class="list-item" y1="7" y2="7" x1="6" x2="18"></line><line class="list-item" y2="12" y1="12" x1="6" x2="18"></line><line class="list-item" y1="17" y2="17" x1="6" x2="18">`);
11565
+ _tmpl$13 = /* @__PURE__ */ template(`<svg width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="#98A2B3" stroke-width="2" xmlns="http://www.w3.org/2000/svg"><rect x="2" y="2" width="20" height="20" rx="2" class="check">`);
11566
+ _tmpl$14 = /* @__PURE__ */ template(`<svg><g><line transform="rotate(45 7.18873 14.6316)" x1="3.56453" y1="14.63158" x2="10.81294" y2="14.63158" class="check"></line><line transform="rotate(-45 13.9674 11.5826)" x1="6.02012" y1="11.58263" x2="21.91469" y2="11.58263" class="check"></svg>`, false, true);
11567
+ _tmpl$15 = /* @__PURE__ */ template(`<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">`);
11568
+ }
11569
+ });
11570
+
11571
+ // src/Context.ts
11572
+ function useQueryDevtoolsContext() {
11573
+ return useContext(QueryDevtoolsContext);
11574
+ }
11575
+ var QueryDevtoolsContext;
11576
+ var init_Context = __esm({
11577
+ "src/Context.ts"() {
11578
+ init_solid();
11579
+ QueryDevtoolsContext = createContext({
11580
+ client: void 0,
11581
+ onlineManager: void 0,
11582
+ queryFlavor: "",
11583
+ version: ""
11584
+ });
11470
11585
  }
11471
11586
  });
11472
11587
 
@@ -11487,6 +11602,7 @@ function isIterable(x) {
11487
11602
  }
11488
11603
  function Explorer(props) {
11489
11604
  const styles = getStyles();
11605
+ const queryClient = useQueryDevtoolsContext().client;
11490
11606
  const [expanded, setExpanded] = createSignal((props.defaultExpanded || []).includes(props.label));
11491
11607
  const toggleExpanded = () => setExpanded((old) => !old);
11492
11608
  const [expandedPages, setExpandedPages] = createSignal([]);
@@ -11526,49 +11642,79 @@ function Explorer(props) {
11526
11642
  return typeof props.value;
11527
11643
  });
11528
11644
  const subEntryPages = createMemo(() => chunkArray(subEntries(), 100));
11645
+ const currentDataPath = props.dataPath ?? [];
11529
11646
  return (() => {
11530
- const _el$3 = _tmpl$42();
11531
- insert(_el$3, createComponent(Show, {
11647
+ const _el$6 = _tmpl$62();
11648
+ insert(_el$6, createComponent(Show, {
11532
11649
  get when() {
11533
11650
  return subEntryPages().length;
11534
11651
  },
11535
11652
  get children() {
11536
11653
  return [(() => {
11537
- const _el$4 = _tmpl$32(), _el$5 = _el$4.firstChild, _el$6 = _el$5.firstChild, _el$7 = _el$6.nextSibling, _el$8 = _el$7.nextSibling, _el$9 = _el$8.nextSibling, _el$10 = _el$9.firstChild;
11538
- _el$5.$$click = () => toggleExpanded();
11539
- insert(_el$5, createComponent(Expander, {
11654
+ const _el$7 = _tmpl$72(), _el$8 = _el$7.firstChild, _el$9 = _el$8.firstChild, _el$10 = _el$9.nextSibling, _el$11 = _el$10.nextSibling, _el$12 = _el$11.nextSibling, _el$13 = _el$12.firstChild;
11655
+ _el$8.$$click = () => toggleExpanded();
11656
+ insert(_el$8, createComponent(Expander, {
11540
11657
  get expanded() {
11541
11658
  return expanded();
11542
11659
  }
11543
- }), _el$6);
11544
- insert(_el$7, () => props.label);
11545
- insert(_el$9, () => String(type()).toLowerCase() === "iterable" ? "(Iterable) " : "", _el$10);
11546
- insert(_el$9, () => subEntries().length, _el$10);
11547
- insert(_el$9, () => subEntries().length > 1 ? `items` : `item`, null);
11548
- insert(_el$4, createComponent(Show, {
11660
+ }), _el$9);
11661
+ insert(_el$10, () => props.label);
11662
+ insert(_el$12, () => String(type()).toLowerCase() === "iterable" ? "(Iterable) " : "", _el$13);
11663
+ insert(_el$12, () => subEntries().length, _el$13);
11664
+ insert(_el$12, () => subEntries().length > 1 ? `items` : `item`, null);
11665
+ insert(_el$7, createComponent(Show, {
11549
11666
  get when() {
11550
- return props.copyable;
11667
+ return props.editable;
11551
11668
  },
11552
11669
  get children() {
11553
- return createComponent(CopyButton, {
11670
+ const _el$14 = _tmpl$62();
11671
+ insert(_el$14, createComponent(CopyButton, {
11554
11672
  get value() {
11555
11673
  return props.value;
11556
11674
  }
11557
- });
11675
+ }), null);
11676
+ insert(_el$14, createComponent(Show, {
11677
+ get when() {
11678
+ return props.itemsDeletable && props.activeQuery !== void 0;
11679
+ },
11680
+ get children() {
11681
+ return createComponent(DeleteItemButton, {
11682
+ get activeQuery() {
11683
+ return props.activeQuery;
11684
+ },
11685
+ dataPath: currentDataPath
11686
+ });
11687
+ }
11688
+ }), null);
11689
+ insert(_el$14, createComponent(Show, {
11690
+ get when() {
11691
+ return type() === "array" && props.activeQuery !== void 0;
11692
+ },
11693
+ get children() {
11694
+ return createComponent(ClearArrayButton, {
11695
+ get activeQuery() {
11696
+ return props.activeQuery;
11697
+ },
11698
+ dataPath: currentDataPath
11699
+ });
11700
+ }
11701
+ }), null);
11702
+ createRenderEffect(() => className(_el$14, styles.actions));
11703
+ return _el$14;
11558
11704
  }
11559
11705
  }), null);
11560
11706
  createRenderEffect((_p$) => {
11561
11707
  const _v$3 = styles.expanderButtonContainer, _v$4 = styles.expanderButton, _v$5 = styles.info;
11562
- _v$3 !== _p$._v$3 && className(_el$4, _p$._v$3 = _v$3);
11563
- _v$4 !== _p$._v$4 && className(_el$5, _p$._v$4 = _v$4);
11564
- _v$5 !== _p$._v$5 && className(_el$9, _p$._v$5 = _v$5);
11708
+ _v$3 !== _p$._v$3 && className(_el$7, _p$._v$3 = _v$3);
11709
+ _v$4 !== _p$._v$4 && className(_el$8, _p$._v$4 = _v$4);
11710
+ _v$5 !== _p$._v$5 && className(_el$12, _p$._v$5 = _v$5);
11565
11711
  return _p$;
11566
11712
  }, {
11567
11713
  _v$3: void 0,
11568
11714
  _v$4: void 0,
11569
11715
  _v$5: void 0
11570
11716
  });
11571
- return _el$4;
11717
+ return _el$7;
11572
11718
  })(), createComponent(Show, {
11573
11719
  get when() {
11574
11720
  return expanded();
@@ -11579,8 +11725,8 @@ function Explorer(props) {
11579
11725
  return subEntryPages().length === 1;
11580
11726
  },
11581
11727
  get children() {
11582
- const _el$11 = _tmpl$42();
11583
- insert(_el$11, createComponent(Key, {
11728
+ const _el$15 = _tmpl$62();
11729
+ insert(_el$15, createComponent(Key, {
11584
11730
  get each() {
11585
11731
  return subEntries();
11586
11732
  },
@@ -11596,42 +11742,51 @@ function Explorer(props) {
11596
11742
  get value() {
11597
11743
  return entry().value;
11598
11744
  },
11599
- get copyable() {
11600
- return props.copyable;
11745
+ get editable() {
11746
+ return props.editable;
11747
+ },
11748
+ get dataPath() {
11749
+ return [...currentDataPath, entry().label];
11750
+ },
11751
+ get activeQuery() {
11752
+ return props.activeQuery;
11753
+ },
11754
+ get itemsDeletable() {
11755
+ return type() === "array" || type() === "Iterable" || type() === "object";
11601
11756
  }
11602
11757
  });
11603
11758
  }
11604
11759
  }));
11605
- createRenderEffect(() => className(_el$11, styles.subEntry));
11606
- return _el$11;
11760
+ createRenderEffect(() => className(_el$15, styles.subEntry));
11761
+ return _el$15;
11607
11762
  }
11608
11763
  }), createComponent(Show, {
11609
11764
  get when() {
11610
11765
  return subEntryPages().length > 1;
11611
11766
  },
11612
11767
  get children() {
11613
- const _el$12 = _tmpl$42();
11614
- insert(_el$12, createComponent(Index, {
11768
+ const _el$16 = _tmpl$62();
11769
+ insert(_el$16, createComponent(Index, {
11615
11770
  get each() {
11616
11771
  return subEntryPages();
11617
11772
  },
11618
11773
  children: (entries3, index) => (() => {
11619
- const _el$18 = _tmpl$62(), _el$19 = _el$18.firstChild, _el$20 = _el$19.firstChild, _el$21 = _el$20.firstChild, _el$25 = _el$21.nextSibling, _el$23 = _el$25.nextSibling, _el$26 = _el$23.nextSibling; _el$26.nextSibling;
11620
- _el$20.$$click = () => setExpandedPages((old) => old.includes(index) ? old.filter((d) => d !== index) : [...old, index]);
11621
- insert(_el$20, createComponent(Expander, {
11774
+ const _el$22 = _tmpl$112(), _el$23 = _el$22.firstChild, _el$24 = _el$23.firstChild, _el$25 = _el$24.firstChild, _el$29 = _el$25.nextSibling, _el$27 = _el$29.nextSibling, _el$30 = _el$27.nextSibling; _el$30.nextSibling;
11775
+ _el$24.$$click = () => setExpandedPages((old) => old.includes(index) ? old.filter((d) => d !== index) : [...old, index]);
11776
+ insert(_el$24, createComponent(Expander, {
11622
11777
  get expanded() {
11623
11778
  return expandedPages().includes(index);
11624
11779
  }
11625
- }), _el$21);
11626
- insert(_el$20, index * 100, _el$25);
11627
- insert(_el$20, index * 100 + 100 - 1, _el$26);
11628
- insert(_el$19, createComponent(Show, {
11780
+ }), _el$25);
11781
+ insert(_el$24, index * 100, _el$29);
11782
+ insert(_el$24, index * 100 + 100 - 1, _el$30);
11783
+ insert(_el$23, createComponent(Show, {
11629
11784
  get when() {
11630
11785
  return expandedPages().includes(index);
11631
11786
  },
11632
11787
  get children() {
11633
- const _el$27 = _tmpl$42();
11634
- insert(_el$27, createComponent(Key, {
11788
+ const _el$31 = _tmpl$62();
11789
+ insert(_el$31, createComponent(Key, {
11635
11790
  get each() {
11636
11791
  return entries3();
11637
11792
  },
@@ -11646,61 +11801,136 @@ function Explorer(props) {
11646
11801
  get value() {
11647
11802
  return entry().value;
11648
11803
  },
11649
- get copyable() {
11650
- return props.copyable;
11804
+ get editable() {
11805
+ return props.editable;
11806
+ },
11807
+ get dataPath() {
11808
+ return [...currentDataPath, entry().label];
11809
+ },
11810
+ get activeQuery() {
11811
+ return props.activeQuery;
11651
11812
  }
11652
11813
  })
11653
11814
  }));
11654
- createRenderEffect(() => className(_el$27, styles.subEntry));
11655
- return _el$27;
11815
+ createRenderEffect(() => className(_el$31, styles.subEntry));
11816
+ return _el$31;
11656
11817
  }
11657
11818
  }), null);
11658
11819
  createRenderEffect((_p$) => {
11659
- const _v$8 = styles.entry, _v$9 = styles.expanderButton;
11660
- _v$8 !== _p$._v$8 && className(_el$19, _p$._v$8 = _v$8);
11661
- _v$9 !== _p$._v$9 && className(_el$20, _p$._v$9 = _v$9);
11820
+ const _v$10 = styles.entry, _v$11 = styles.expanderButton;
11821
+ _v$10 !== _p$._v$10 && className(_el$23, _p$._v$10 = _v$10);
11822
+ _v$11 !== _p$._v$11 && className(_el$24, _p$._v$11 = _v$11);
11662
11823
  return _p$;
11663
11824
  }, {
11664
- _v$8: void 0,
11665
- _v$9: void 0
11825
+ _v$10: void 0,
11826
+ _v$11: void 0
11666
11827
  });
11667
- return _el$18;
11828
+ return _el$22;
11668
11829
  })()
11669
11830
  }));
11670
- createRenderEffect(() => className(_el$12, styles.subEntry));
11671
- return _el$12;
11831
+ createRenderEffect(() => className(_el$16, styles.subEntry));
11832
+ return _el$16;
11672
11833
  }
11673
11834
  })];
11674
11835
  }
11675
11836
  })];
11676
11837
  }
11677
11838
  }), null);
11678
- insert(_el$3, createComponent(Show, {
11839
+ insert(_el$6, createComponent(Show, {
11679
11840
  get when() {
11680
11841
  return subEntryPages().length === 0;
11681
11842
  },
11682
11843
  get children() {
11683
- const _el$13 = _tmpl$52(), _el$14 = _el$13.firstChild, _el$15 = _el$14.firstChild, _el$16 = _el$14.nextSibling, _el$17 = _el$16.nextSibling;
11684
- _el$13.style.setProperty("line-height", "1.125rem");
11685
- insert(_el$14, () => props.label, _el$15);
11686
- insert(_el$17, () => displayValue(props.value));
11844
+ const _el$17 = _tmpl$102(), _el$18 = _el$17.firstChild, _el$19 = _el$18.firstChild;
11845
+ insert(_el$18, () => props.label, _el$19);
11846
+ insert(_el$17, createComponent(Show, {
11847
+ get when() {
11848
+ return createMemo(() => !!(props.editable && props.activeQuery !== void 0))() && (type() === "string" || type() === "number" || type() === "boolean");
11849
+ },
11850
+ get fallback() {
11851
+ return (() => {
11852
+ const _el$32 = _tmpl$92();
11853
+ insert(_el$32, () => displayValue(props.value));
11854
+ createRenderEffect(() => className(_el$32, styles.value));
11855
+ return _el$32;
11856
+ })();
11857
+ },
11858
+ get children() {
11859
+ return [createComponent(Show, {
11860
+ get when() {
11861
+ return createMemo(() => !!(props.editable && props.activeQuery !== void 0))() && (type() === "string" || type() === "number");
11862
+ },
11863
+ get children() {
11864
+ const _el$20 = _tmpl$82();
11865
+ _el$20.addEventListener("change", (changeEvent) => {
11866
+ const oldData = props.activeQuery.state.data;
11867
+ const newData = updateNestedDataByPath(oldData, currentDataPath, type() === "number" ? changeEvent.target.valueAsNumber : changeEvent.target.value);
11868
+ queryClient.setQueryData(props.activeQuery.queryKey, newData);
11869
+ });
11870
+ createRenderEffect((_p$) => {
11871
+ const _v$6 = type() === "number" ? "number" : "text", _v$7 = clsx(styles.value, styles.editableInput);
11872
+ _v$6 !== _p$._v$6 && setAttribute(_el$20, "type", _p$._v$6 = _v$6);
11873
+ _v$7 !== _p$._v$7 && className(_el$20, _p$._v$7 = _v$7);
11874
+ return _p$;
11875
+ }, {
11876
+ _v$6: void 0,
11877
+ _v$7: void 0
11878
+ });
11879
+ createRenderEffect(() => _el$20.value = props.value);
11880
+ return _el$20;
11881
+ }
11882
+ }), createComponent(Show, {
11883
+ get when() {
11884
+ return type() === "boolean";
11885
+ },
11886
+ get children() {
11887
+ const _el$21 = _tmpl$92();
11888
+ insert(_el$21, createComponent(ToggleValueButton, {
11889
+ get activeQuery() {
11890
+ return props.activeQuery;
11891
+ },
11892
+ dataPath: currentDataPath,
11893
+ get value() {
11894
+ return props.value;
11895
+ }
11896
+ }), null);
11897
+ insert(_el$21, () => displayValue(props.value), null);
11898
+ createRenderEffect(() => className(_el$21, clsx(styles.value, styles.actions, styles.editableInput)));
11899
+ return _el$21;
11900
+ }
11901
+ })];
11902
+ }
11903
+ }), null);
11904
+ insert(_el$17, createComponent(Show, {
11905
+ get when() {
11906
+ return props.editable && props.itemsDeletable && props.activeQuery !== void 0;
11907
+ },
11908
+ get children() {
11909
+ return createComponent(DeleteItemButton, {
11910
+ get activeQuery() {
11911
+ return props.activeQuery;
11912
+ },
11913
+ dataPath: currentDataPath
11914
+ });
11915
+ }
11916
+ }), null);
11687
11917
  createRenderEffect((_p$) => {
11688
- const _v$6 = styles.label, _v$7 = styles.value;
11689
- _v$6 !== _p$._v$6 && className(_el$14, _p$._v$6 = _v$6);
11690
- _v$7 !== _p$._v$7 && className(_el$17, _p$._v$7 = _v$7);
11918
+ const _v$8 = styles.row, _v$9 = styles.label;
11919
+ _v$8 !== _p$._v$8 && className(_el$17, _p$._v$8 = _v$8);
11920
+ _v$9 !== _p$._v$9 && className(_el$18, _p$._v$9 = _v$9);
11691
11921
  return _p$;
11692
11922
  }, {
11693
- _v$6: void 0,
11694
- _v$7: void 0
11923
+ _v$8: void 0,
11924
+ _v$9: void 0
11695
11925
  });
11696
- return _el$13;
11926
+ return _el$17;
11697
11927
  }
11698
11928
  }), null);
11699
- createRenderEffect(() => className(_el$3, styles.entry));
11700
- return _el$3;
11929
+ createRenderEffect(() => className(_el$6, styles.entry));
11930
+ return _el$6;
11701
11931
  })();
11702
11932
  }
11703
- var _tmpl$13, _tmpl$22, _tmpl$32, _tmpl$42, _tmpl$52, _tmpl$62, Expander, CopyButton, getStyles;
11933
+ var _tmpl$16, _tmpl$22, _tmpl$32, _tmpl$42, _tmpl$52, _tmpl$62, _tmpl$72, _tmpl$82, _tmpl$92, _tmpl$102, _tmpl$112, Expander, CopyButton, ClearArrayButton, DeleteItemButton, ToggleValueButton, getStyles;
11704
11934
  var init_Explorer = __esm({
11705
11935
  "src/Explorer.tsx"() {
11706
11936
  init_web();
@@ -11711,6 +11941,7 @@ var init_Explorer = __esm({
11711
11941
  init_web();
11712
11942
  init_web();
11713
11943
  init_web();
11944
+ init_web();
11714
11945
  init_esm2();
11715
11946
  init_goober_modern();
11716
11947
  init_clsx();
@@ -11719,16 +11950,22 @@ var init_Explorer = __esm({
11719
11950
  init_theme();
11720
11951
  init_utils();
11721
11952
  init_icons();
11722
- _tmpl$13 = /* @__PURE__ */ template(`<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">`);
11723
- _tmpl$22 = /* @__PURE__ */ template(`<button>`);
11724
- _tmpl$32 = /* @__PURE__ */ template(`<div><button> <span></span> <span> `);
11725
- _tmpl$42 = /* @__PURE__ */ template(`<div>`);
11726
- _tmpl$52 = /* @__PURE__ */ template(`<div><span>:</span> <span>`);
11727
- _tmpl$62 = /* @__PURE__ */ template(`<div><div><button> [<!>...<!>]`);
11953
+ init_Context();
11954
+ _tmpl$16 = /* @__PURE__ */ template(`<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">`);
11955
+ _tmpl$22 = /* @__PURE__ */ template(`<button title="Copy object to clipboard">`);
11956
+ _tmpl$32 = /* @__PURE__ */ template(`<button title="Remove all items" aria-label="Remove all items">`);
11957
+ _tmpl$42 = /* @__PURE__ */ template(`<button title="Delete item" aria-label="Delete item">`);
11958
+ _tmpl$52 = /* @__PURE__ */ template(`<button title="Toggle value" aria-label="Toggle value">`);
11959
+ _tmpl$62 = /* @__PURE__ */ template(`<div>`);
11960
+ _tmpl$72 = /* @__PURE__ */ template(`<div><button> <span></span> <span> `);
11961
+ _tmpl$82 = /* @__PURE__ */ template(`<input>`);
11962
+ _tmpl$92 = /* @__PURE__ */ template(`<span>`);
11963
+ _tmpl$102 = /* @__PURE__ */ template(`<div><span>:`);
11964
+ _tmpl$112 = /* @__PURE__ */ template(`<div><div><button> [<!>...<!>]`);
11728
11965
  Expander = (props) => {
11729
11966
  const styles = getStyles();
11730
11967
  return (() => {
11731
- const _el$ = _tmpl$13();
11968
+ const _el$ = _tmpl$16();
11732
11969
  createRenderEffect(() => className(_el$, clsx(styles.expander, u`
11733
11970
  transform: rotate(${props.expanded ? 90 : 0}deg);
11734
11971
  `, props.expanded && u`
@@ -11785,7 +12022,7 @@ var init_Explorer = __esm({
11785
12022
  }
11786
12023
  }));
11787
12024
  createRenderEffect((_p$) => {
11788
- const _v$ = styles.copyButton, _v$2 = `${copyState() === "NoCopy" ? "Copy object to clipboard" : copyState() === "SuccessCopy" ? "Object copied to clipboard" : "Error copying object to clipboard"}`;
12025
+ const _v$ = styles.actionButton, _v$2 = `${copyState() === "NoCopy" ? "Copy object to clipboard" : copyState() === "SuccessCopy" ? "Object copied to clipboard" : "Error copying object to clipboard"}`;
11789
12026
  _v$ !== _p$._v$ && className(_el$2, _p$._v$ = _v$);
11790
12027
  _v$2 !== _p$._v$2 && setAttribute(_el$2, "aria-label", _p$._v$2 = _v$2);
11791
12028
  return _p$;
@@ -11796,6 +12033,55 @@ var init_Explorer = __esm({
11796
12033
  return _el$2;
11797
12034
  })();
11798
12035
  };
12036
+ ClearArrayButton = (props) => {
12037
+ const styles = getStyles();
12038
+ const queryClient = useQueryDevtoolsContext().client;
12039
+ return (() => {
12040
+ const _el$3 = _tmpl$32();
12041
+ _el$3.$$click = () => {
12042
+ const oldData = props.activeQuery.state.data;
12043
+ const newData = updateNestedDataByPath(oldData, props.dataPath, []);
12044
+ queryClient.setQueryData(props.activeQuery.queryKey, newData);
12045
+ };
12046
+ insert(_el$3, createComponent(List, {}));
12047
+ createRenderEffect(() => className(_el$3, styles.actionButton));
12048
+ return _el$3;
12049
+ })();
12050
+ };
12051
+ DeleteItemButton = (props) => {
12052
+ const styles = getStyles();
12053
+ const queryClient = useQueryDevtoolsContext().client;
12054
+ return (() => {
12055
+ const _el$4 = _tmpl$42();
12056
+ _el$4.$$click = () => {
12057
+ const oldData = props.activeQuery.state.data;
12058
+ const newData = deleteNestedDataByPath(oldData, props.dataPath);
12059
+ queryClient.setQueryData(props.activeQuery.queryKey, newData);
12060
+ };
12061
+ insert(_el$4, createComponent(Trash, {}));
12062
+ createRenderEffect(() => className(_el$4, clsx(styles.actionButton)));
12063
+ return _el$4;
12064
+ })();
12065
+ };
12066
+ ToggleValueButton = (props) => {
12067
+ const styles = getStyles();
12068
+ const queryClient = useQueryDevtoolsContext().client;
12069
+ return (() => {
12070
+ const _el$5 = _tmpl$52();
12071
+ _el$5.$$click = () => {
12072
+ const oldData = props.activeQuery.state.data;
12073
+ const newData = updateNestedDataByPath(oldData, props.dataPath, !props.value);
12074
+ queryClient.setQueryData(props.activeQuery.queryKey, newData);
12075
+ };
12076
+ insert(_el$5, createComponent(Check, {
12077
+ get checked() {
12078
+ return props.value;
12079
+ }
12080
+ }));
12081
+ createRenderEffect(() => className(_el$5, clsx(styles.actionButton)));
12082
+ return _el$5;
12083
+ })();
12084
+ };
11799
12085
  getStyles = () => {
11800
12086
  const {
11801
12087
  colors,
@@ -11837,6 +12123,7 @@ var init_Explorer = __esm({
11837
12123
  align-items: center;
11838
12124
  line-height: 1.125rem;
11839
12125
  min-height: 1.125rem;
12126
+ gap: ${size2[2]};
11840
12127
  `,
11841
12128
  expanderButton: u`
11842
12129
  cursor: pointer;
@@ -11874,8 +12161,32 @@ var init_Explorer = __esm({
11874
12161
  `,
11875
12162
  value: u`
11876
12163
  color: ${colors.purple[400]};
12164
+ flex-grow: 1;
11877
12165
  `,
11878
- copyButton: u`
12166
+ actions: u`
12167
+ display: inline-flex;
12168
+ gap: ${size2[2]};
12169
+ align-items: center;
12170
+ `,
12171
+ row: u`
12172
+ display: inline-flex;
12173
+ gap: ${size2[2]};
12174
+ width: 100%;
12175
+ margin-bottom: ${size2[0.5]};
12176
+ line-height: 1.125rem;
12177
+ align-items: center;
12178
+ `,
12179
+ editableInput: u`
12180
+ border: none;
12181
+ padding: ${size2[0.5]} ${size2[1]};
12182
+ flex-grow: 1;
12183
+ background-color: ${colors.gray[900]};
12184
+
12185
+ &:hover {
12186
+ background-color: ${colors.gray[800]};
12187
+ }
12188
+ `,
12189
+ actionButton: u`
11879
12190
  background-color: transparent;
11880
12191
  border: none;
11881
12192
  display: inline-flex;
@@ -11886,11 +12197,18 @@ var init_Explorer = __esm({
11886
12197
  width: ${size2[3]};
11887
12198
  height: ${size2[3]};
11888
12199
  position: relative;
11889
- left: ${size2[2]};
11890
12200
  z-index: 1;
11891
12201
 
11892
- &:hover svg .copier {
11893
- stroke: ${colors.gray[500]} !important;
12202
+ &:hover svg {
12203
+ .copier,
12204
+ .check,
12205
+ .list {
12206
+ stroke: ${colors.gray[500]} !important;
12207
+ }
12208
+
12209
+ .list-item {
12210
+ stroke: ${colors.gray[700]};
12211
+ }
11894
12212
  }
11895
12213
 
11896
12214
  &:focus-visible {
@@ -11905,23 +12223,6 @@ var init_Explorer = __esm({
11905
12223
  }
11906
12224
  });
11907
12225
 
11908
- // src/Context.ts
11909
- function useQueryDevtoolsContext() {
11910
- return useContext(QueryDevtoolsContext);
11911
- }
11912
- var QueryDevtoolsContext;
11913
- var init_Context = __esm({
11914
- "src/Context.ts"() {
11915
- init_solid();
11916
- QueryDevtoolsContext = createContext({
11917
- client: void 0,
11918
- onlineManager: void 0,
11919
- queryFlavor: "",
11920
- version: ""
11921
- });
11922
- }
11923
- });
11924
-
11925
12226
  // src/fonts.ts
11926
12227
  var loadFonts;
11927
12228
  var init_fonts = __esm({
@@ -11946,7 +12247,7 @@ __export(Devtools_exports, {
11946
12247
  QueryStatusCount: () => QueryStatusCount,
11947
12248
  default: () => Devtools_default
11948
12249
  });
11949
- var _tmpl$14, _tmpl$23, _tmpl$33, _tmpl$43, _tmpl$53, _tmpl$63, _tmpl$72, _tmpl$82, _tmpl$92, _tmpl$102, _tmpl$112, _tmpl$122, _tmpl$132, _tmpl$142, _tmpl$15, _tmpl$16, _tmpl$17, _tmpl$18, _tmpl$19, _tmpl$20, _tmpl$21, firstBreakpoint, secondBreakpoint, thirdBreakpoint, BUTTON_POSITION, POSITION, INITIAL_IS_OPEN, DEFAULT_HEIGHT, DEFAULT_WIDTH, DEFAULT_SORT_FN_NAME, DEFAULT_SORT_ORDER, selectedQueryHash, setSelectedQueryHash, panelWidth, setPanelWidth, DevtoolsComponent, Devtools_default, Devtools, DevtoolsPanel, QueryRow, QueryStatusCount, QueryStatus, QueryDetails, signalsMap, setupQueryCacheSubscription, createSubscribeToQueryCacheBatcher, getStyles2;
12250
+ var _tmpl$17, _tmpl$23, _tmpl$33, _tmpl$43, _tmpl$53, _tmpl$63, _tmpl$73, _tmpl$83, _tmpl$93, _tmpl$103, _tmpl$113, _tmpl$122, _tmpl$132, _tmpl$142, _tmpl$152, _tmpl$162, _tmpl$172, _tmpl$18, _tmpl$19, _tmpl$20, _tmpl$21, firstBreakpoint, secondBreakpoint, thirdBreakpoint, BUTTON_POSITION, POSITION, INITIAL_IS_OPEN, DEFAULT_HEIGHT, DEFAULT_WIDTH, DEFAULT_SORT_FN_NAME, DEFAULT_SORT_ORDER, selectedQueryHash, setSelectedQueryHash, panelWidth, setPanelWidth, DevtoolsComponent, Devtools_default, Devtools, DevtoolsPanel, QueryRow, QueryStatusCount, QueryStatus, QueryDetails, signalsMap, setupQueryCacheSubscription, createSubscribeToQueryCacheBatcher, getStyles2;
11950
12251
  var init_Devtools = __esm({
11951
12252
  "src/Devtools.tsx"() {
11952
12253
  init_web();
@@ -11975,23 +12276,23 @@ var init_Devtools = __esm({
11975
12276
  init_Explorer();
11976
12277
  init_Context();
11977
12278
  init_fonts();
11978
- _tmpl$14 = /* @__PURE__ */ template(`<div><div aria-hidden="true"></div><button aria-label="Open Tanstack query devtools">`);
12279
+ _tmpl$17 = /* @__PURE__ */ template(`<div><div aria-hidden="true"></div><button aria-label="Open Tanstack query devtools">`);
11979
12280
  _tmpl$23 = /* @__PURE__ */ template(`<div>`);
11980
12281
  _tmpl$33 = /* @__PURE__ */ template(`<span>Asc`);
11981
12282
  _tmpl$43 = /* @__PURE__ */ template(`<span>Desc`);
11982
12283
  _tmpl$53 = /* @__PURE__ */ template(`<div>Settings`);
11983
12284
  _tmpl$63 = /* @__PURE__ */ template(`<span>Position`);
11984
- _tmpl$72 = /* @__PURE__ */ template(`<span>Top`);
11985
- _tmpl$82 = /* @__PURE__ */ template(`<span>Bottom`);
11986
- _tmpl$92 = /* @__PURE__ */ template(`<span>Left`);
11987
- _tmpl$102 = /* @__PURE__ */ template(`<span>Right`);
11988
- _tmpl$112 = /* @__PURE__ */ template(`<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" class="tsqd-query-filter-textfield"></div><div><select></select></div><button class="tsqd-query-filter-sort-order-btn"></button></div><div><button aria-label="Clear query cache" title="Clear query cache"></button><button></button></div></div><div><div class="tsqd-queries-container">`);
12285
+ _tmpl$73 = /* @__PURE__ */ template(`<span>Top`);
12286
+ _tmpl$83 = /* @__PURE__ */ template(`<span>Bottom`);
12287
+ _tmpl$93 = /* @__PURE__ */ template(`<span>Left`);
12288
+ _tmpl$103 = /* @__PURE__ */ template(`<span>Right`);
12289
+ _tmpl$113 = /* @__PURE__ */ template(`<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" class="tsqd-query-filter-textfield"></div><div><select></select></div><button class="tsqd-query-filter-sort-order-btn"></button></div><div><button aria-label="Clear query cache" title="Clear query cache"></button><button></button></div></div><div><div class="tsqd-queries-container">`);
11989
12290
  _tmpl$122 = /* @__PURE__ */ template(`<option>Sort by `);
11990
12291
  _tmpl$132 = /* @__PURE__ */ template(`<div class="tsqd-query-disabled-indicator">disabled`);
11991
12292
  _tmpl$142 = /* @__PURE__ */ template(`<button><div></div><code class="tsqd-query-hash">`);
11992
- _tmpl$15 = /* @__PURE__ */ template(`<div role="tooltip" id="tsqd-status-tooltip">`);
11993
- _tmpl$16 = /* @__PURE__ */ template(`<span>`);
11994
- _tmpl$17 = /* @__PURE__ */ template(`<button><span></span><span>`);
12293
+ _tmpl$152 = /* @__PURE__ */ template(`<div role="tooltip" id="tsqd-status-tooltip">`);
12294
+ _tmpl$162 = /* @__PURE__ */ template(`<span>`);
12295
+ _tmpl$172 = /* @__PURE__ */ template(`<button><span></span><span>`);
11995
12296
  _tmpl$18 = /* @__PURE__ */ template(`<button><span></span> Error`);
11996
12297
  _tmpl$19 = /* @__PURE__ */ template(`<div><span></span>Trigger Error<select><option value="" disabled selected>`);
11997
12298
  _tmpl$20 = /* @__PURE__ */ template(`<div><div>Query Details</div><div><div class="tsqd-query-details-summary"><pre><code></code></pre><span></span></div><div class="tsqd-query-details-observers-count"><span>Observers:</span><span></span></div><div class="tsqd-query-details-last-updated"><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>Remove</button><button><span></span> Loading</button></div><div>Data Explorer</div><div class="tsqd-query-details-explorer-container tsqd-query-details-data-explorer"></div><div>Query Explorer</div><div class="tsqd-query-details-explorer-container tsqd-query-details-query-explorer">`);
@@ -12066,7 +12367,7 @@ var init_Devtools = __esm({
12066
12367
  return !isOpen();
12067
12368
  },
12068
12369
  get children() {
12069
- const _el$2 = _tmpl$14(), _el$3 = _el$2.firstChild, _el$4 = _el$3.nextSibling;
12370
+ const _el$2 = _tmpl$17(), _el$3 = _el$2.firstChild, _el$4 = _el$3.nextSibling;
12070
12371
  insert(_el$3, createComponent(TanstackLogo, {}));
12071
12372
  _el$4.$$click = () => setLocalStore("open", "true");
12072
12373
  insert(_el$4, createComponent(TanstackLogo, {}));
@@ -12211,7 +12512,7 @@ var init_Devtools = __esm({
12211
12512
  });
12212
12513
  });
12213
12514
  return (() => {
12214
- const _el$5 = _tmpl$112(), _el$6 = _el$5.firstChild, _el$7 = _el$6.nextSibling, _el$8 = _el$7.nextSibling, _el$9 = _el$8.firstChild, _el$10 = _el$9.firstChild, _el$11 = _el$10.firstChild, _el$12 = _el$11.nextSibling, _el$13 = _el$12.firstChild, _el$14 = _el$9.nextSibling, _el$15 = _el$14.firstChild, _el$16 = _el$15.firstChild, _el$17 = _el$16.firstChild, _el$18 = _el$16.nextSibling, _el$19 = _el$18.firstChild, _el$20 = _el$18.nextSibling, _el$23 = _el$15.nextSibling, _el$24 = _el$23.firstChild, _el$25 = _el$24.nextSibling, _el$32 = _el$14.nextSibling, _el$33 = _el$32.firstChild;
12515
+ const _el$5 = _tmpl$113(), _el$6 = _el$5.firstChild, _el$7 = _el$6.nextSibling, _el$8 = _el$7.nextSibling, _el$9 = _el$8.firstChild, _el$10 = _el$9.firstChild, _el$11 = _el$10.firstChild, _el$12 = _el$11.nextSibling, _el$13 = _el$12.firstChild, _el$14 = _el$9.nextSibling, _el$15 = _el$14.firstChild, _el$16 = _el$15.firstChild, _el$17 = _el$16.firstChild, _el$18 = _el$16.nextSibling, _el$19 = _el$18.firstChild, _el$20 = _el$18.nextSibling, _el$23 = _el$15.nextSibling, _el$24 = _el$23.firstChild, _el$25 = _el$24.nextSibling, _el$32 = _el$14.nextSibling, _el$33 = _el$32.firstChild;
12215
12516
  const _ref$ = panelRef;
12216
12517
  typeof _ref$ === "function" ? use(_ref$, _el$5) : panelRef = _el$5;
12217
12518
  _el$6.$$mousedown = handleDragStart;
@@ -12318,7 +12619,7 @@ var init_Devtools = __esm({
12318
12619
  return clsx(styles.settingsSubButton, "tsqd-settings-menu-position-btn", "tsqd-settings-menu-position-btn-top");
12319
12620
  },
12320
12621
  get children() {
12321
- return [_tmpl$72(), createComponent(ArrowUp, {})];
12622
+ return [_tmpl$73(), createComponent(ArrowUp, {})];
12322
12623
  }
12323
12624
  }), createComponent(index$d.Item, {
12324
12625
  onSelect: () => {
@@ -12329,7 +12630,7 @@ var init_Devtools = __esm({
12329
12630
  return clsx(styles.settingsSubButton, "tsqd-settings-menu-position-btn", "tsqd-settings-menu-position-btn-bottom");
12330
12631
  },
12331
12632
  get children() {
12332
- return [_tmpl$82(), createComponent(ArrowDown, {})];
12633
+ return [_tmpl$83(), createComponent(ArrowDown, {})];
12333
12634
  }
12334
12635
  }), createComponent(index$d.Item, {
12335
12636
  onSelect: () => {
@@ -12340,7 +12641,7 @@ var init_Devtools = __esm({
12340
12641
  return clsx(styles.settingsSubButton, "tsqd-settings-menu-position-btn", "tsqd-settings-menu-position-btn-left");
12341
12642
  },
12342
12643
  get children() {
12343
- return [_tmpl$92(), createComponent(ArrowLeft, {})];
12644
+ return [_tmpl$93(), createComponent(ArrowLeft, {})];
12344
12645
  }
12345
12646
  }), createComponent(index$d.Item, {
12346
12647
  onSelect: () => {
@@ -12351,7 +12652,7 @@ var init_Devtools = __esm({
12351
12652
  return clsx(styles.settingsSubButton, "tsqd-settings-menu-position-btn", "tsqd-settings-menu-position-btn-right");
12352
12653
  },
12353
12654
  get children() {
12354
- return [_tmpl$102(), createComponent(ArrowRight, {})];
12655
+ return [_tmpl$103(), createComponent(ArrowRight, {})];
12355
12656
  }
12356
12657
  })];
12357
12658
  }
@@ -12575,7 +12876,7 @@ var init_Devtools = __esm({
12575
12876
  return true;
12576
12877
  });
12577
12878
  return (() => {
12578
- const _el$41 = _tmpl$17(), _el$43 = _el$41.firstChild, _el$45 = _el$43.nextSibling;
12879
+ const _el$41 = _tmpl$172(), _el$43 = _el$41.firstChild, _el$45 = _el$43.nextSibling;
12579
12880
  const _ref$3 = tagRef;
12580
12881
  typeof _ref$3 === "function" ? use(_ref$3, _el$41) : tagRef = _el$41;
12581
12882
  _el$41.addEventListener("mouseleave", () => {
@@ -12605,7 +12906,7 @@ var init_Devtools = __esm({
12605
12906
  return createMemo(() => !!!showLabel())() && (mouseOver() || focused());
12606
12907
  },
12607
12908
  get children() {
12608
- const _el$42 = _tmpl$15();
12909
+ const _el$42 = _tmpl$152();
12609
12910
  insert(_el$42, () => props.label);
12610
12911
  createRenderEffect(() => className(_el$42, clsx(styles.statusTooltip, "tsqd-query-status-tooltip")));
12611
12912
  return _el$42;
@@ -12616,7 +12917,7 @@ var init_Devtools = __esm({
12616
12917
  return showLabel();
12617
12918
  },
12618
12919
  get children() {
12619
- const _el$44 = _tmpl$16();
12920
+ const _el$44 = _tmpl$162();
12620
12921
  insert(_el$44, () => props.label);
12621
12922
  createRenderEffect(() => className(_el$44, clsx(styles.queryStatusTagLabel, "tsqd-query-status-tag-label")));
12622
12923
  return _el$44;
@@ -12826,7 +13127,10 @@ var init_Devtools = __esm({
12826
13127
  get value() {
12827
13128
  return activeQueryStateData();
12828
13129
  },
12829
- copyable: true
13130
+ editable: true,
13131
+ get activeQuery() {
13132
+ return activeQuery();
13133
+ }
12830
13134
  }));
12831
13135
  _el$83.style.setProperty("padding", "0.5rem");
12832
13136
  insert(_el$83, createComponent(Explorer, {