@tanstack/query-devtools 5.0.0-beta.20 → 5.0.0-beta.34

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.
@@ -1,4 +1,4 @@
1
- import { delegateEvents, createContext, createSignal, createComponent, createMemo, insert, Show, createRenderEffect, className, on, onMount, createEffect, setAttribute, spread, mergeProps, For, onCleanup, isServer, Index, useContext, template, use, untrack, useTransition, $TRACK, createRoot, addEventListener, Switch, Match } from '../chunk/QGJD3TIO.js';
1
+ import { delegateEvents, createContext, createSignal, createComponent, createMemo, createEffect, insert, Show, createRenderEffect, className, on, onMount, setAttribute, spread, mergeProps, For, onCleanup, isServer, Index, useContext, template, use, untrack, useTransition, $TRACK, createRoot, addEventListener, Switch, Match } from '../chunk/QGJD3TIO.js';
2
2
 
3
3
  // ../../node_modules/.pnpm/@tanstack+match-sorter-utils@8.8.4/node_modules/@tanstack/match-sorter-utils/build/lib/index.mjs
4
4
  var characterMap = {
@@ -405,8 +405,8 @@ var characterMap = {
405
405
  var chars = Object.keys(characterMap).join("|");
406
406
  var allAccents = new RegExp(chars, "g");
407
407
  function removeAccents(str) {
408
- return str.replace(allAccents, (match2) => {
409
- return characterMap[match2];
408
+ return str.replace(allAccents, (match) => {
409
+ return characterMap[match];
410
410
  });
411
411
  }
412
412
  var rankings = {
@@ -442,8 +442,8 @@ function rankItem(item, value, options) {
442
442
  accessorThreshold: options.threshold,
443
443
  passed: false
444
444
  };
445
- for (let i = 0; i < valuesToRank.length; i++) {
446
- const rankValue = valuesToRank[i];
445
+ for (let i2 = 0; i2 < valuesToRank.length; i2++) {
446
+ const rankValue = valuesToRank[i2];
447
447
  let newRank = getMatchRanking(rankValue.itemValue, value, options);
448
448
  const {
449
449
  minRanking,
@@ -459,7 +459,7 @@ function rankItem(item, value, options) {
459
459
  if (newRank >= threshold && newRank > rankingInfo.rank) {
460
460
  rankingInfo.rank = newRank;
461
461
  rankingInfo.passed = true;
462
- rankingInfo.accessorIndex = i;
462
+ rankingInfo.accessorIndex = i2;
463
463
  rankingInfo.accessorThreshold = threshold;
464
464
  rankingInfo.rankedValue = rankValue.itemValue;
465
465
  }
@@ -531,8 +531,8 @@ function getClosenessRanking(testString, stringToRank) {
531
531
  return rankings.NO_MATCH;
532
532
  }
533
533
  charNumber = firstIndex;
534
- for (let i = 1, I = stringToRank.length; i < I; i++) {
535
- const matchChar = stringToRank[i];
534
+ for (let i2 = 1, I = stringToRank.length; i2 < I; i2++) {
535
+ const matchChar = stringToRank[i2];
536
536
  charNumber = findMatchingCharacter(matchChar, testString, charNumber);
537
537
  const found = charNumber > -1;
538
538
  if (!found) {
@@ -572,9 +572,9 @@ function getAllValuesToRank(item, accessors) {
572
572
  const accessor = accessors[j];
573
573
  const attributes = getAccessorAttributes(accessor);
574
574
  const itemValues = getItemValues(item, accessor);
575
- for (let i = 0, I = itemValues.length; i < I; i++) {
575
+ for (let i2 = 0, I = itemValues.length; i2 < I; i2++) {
576
576
  allValues.push({
577
- itemValue: itemValues[i],
577
+ itemValue: itemValues[i2],
578
578
  attributes
579
579
  });
580
580
  }
@@ -595,1352 +595,85 @@ function getAccessorAttributes(accessor) {
595
595
  };
596
596
  }
597
597
 
598
- // ../../node_modules/.pnpm/@emotion+sheet@1.2.2/node_modules/@emotion/sheet/dist/emotion-sheet.browser.esm.js
599
- function sheetForTag(tag) {
600
- if (tag.sheet) {
601
- return tag.sheet;
602
- }
603
- for (var i = 0; i < document.styleSheets.length; i++) {
604
- if (document.styleSheets[i].ownerNode === tag) {
605
- return document.styleSheets[i];
606
- }
607
- }
608
- }
609
- function createStyleElement(options) {
610
- var tag = document.createElement("style");
611
- tag.setAttribute("data-emotion", options.key);
612
- if (options.nonce !== void 0) {
613
- tag.setAttribute("nonce", options.nonce);
614
- }
615
- tag.appendChild(document.createTextNode(""));
616
- tag.setAttribute("data-s", "");
617
- return tag;
618
- }
619
- var StyleSheet = /* @__PURE__ */ function() {
620
- function StyleSheet2(options) {
621
- var _this = this;
622
- this._insertTag = function(tag) {
623
- var before;
624
- if (_this.tags.length === 0) {
625
- if (_this.insertionPoint) {
626
- before = _this.insertionPoint.nextSibling;
627
- } else if (_this.prepend) {
628
- before = _this.container.firstChild;
629
- } else {
630
- before = _this.before;
631
- }
632
- } else {
633
- before = _this.tags[_this.tags.length - 1].nextSibling;
634
- }
635
- _this.container.insertBefore(tag, before);
636
- _this.tags.push(tag);
637
- };
638
- this.isSpeedy = options.speedy === void 0 ? false : options.speedy;
639
- this.tags = [];
640
- this.ctr = 0;
641
- this.nonce = options.nonce;
642
- this.key = options.key;
643
- this.container = options.container;
644
- this.prepend = options.prepend;
645
- this.insertionPoint = options.insertionPoint;
646
- this.before = null;
647
- }
648
- var _proto = StyleSheet2.prototype;
649
- _proto.hydrate = function hydrate2(nodes) {
650
- nodes.forEach(this._insertTag);
651
- };
652
- _proto.insert = function insert2(rule) {
653
- if (this.ctr % (this.isSpeedy ? 65e3 : 1) === 0) {
654
- this._insertTag(createStyleElement(this));
655
- }
656
- var tag = this.tags[this.tags.length - 1];
657
- {
658
- var isImportRule3 = rule.charCodeAt(0) === 64 && rule.charCodeAt(1) === 105;
659
- if (isImportRule3 && this._alreadyInsertedOrderInsensitiveRule) {
660
- console.error("You're attempting to insert the following rule:\n" + rule + "\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.");
661
- }
662
- this._alreadyInsertedOrderInsensitiveRule = this._alreadyInsertedOrderInsensitiveRule || !isImportRule3;
663
- }
664
- if (this.isSpeedy) {
665
- var sheet2 = sheetForTag(tag);
666
- try {
667
- sheet2.insertRule(rule, sheet2.cssRules.length);
668
- } catch (e) {
669
- if (!/:(-moz-placeholder|-moz-focus-inner|-moz-focusring|-ms-input-placeholder|-moz-read-write|-moz-read-only|-ms-clear|-ms-expand|-ms-reveal){/.test(rule)) {
670
- console.error('There was a problem inserting the following rule: "' + rule + '"', e);
671
- }
672
- }
673
- } else {
674
- tag.appendChild(document.createTextNode(rule));
675
- }
676
- this.ctr++;
677
- };
678
- _proto.flush = function flush2() {
679
- this.tags.forEach(function(tag) {
680
- return tag.parentNode && tag.parentNode.removeChild(tag);
681
- });
682
- this.tags = [];
683
- this.ctr = 0;
684
- {
685
- this._alreadyInsertedOrderInsensitiveRule = false;
686
- }
687
- };
688
- return StyleSheet2;
689
- }();
690
-
691
- // ../../node_modules/.pnpm/stylis@4.2.0/node_modules/stylis/src/Enum.js
692
- var MS = "-ms-";
693
- var MOZ = "-moz-";
694
- var WEBKIT = "-webkit-";
695
- var COMMENT = "comm";
696
- var RULESET = "rule";
697
- var DECLARATION = "decl";
698
- var IMPORT = "@import";
699
- var KEYFRAMES = "@keyframes";
700
- var LAYER = "@layer";
701
-
702
- // ../../node_modules/.pnpm/stylis@4.2.0/node_modules/stylis/src/Utility.js
703
- var abs = Math.abs;
704
- var from = String.fromCharCode;
705
- var assign = Object.assign;
706
- function hash(value, length2) {
707
- return charat(value, 0) ^ 45 ? (((length2 << 2 ^ charat(value, 0)) << 2 ^ charat(value, 1)) << 2 ^ charat(value, 2)) << 2 ^ charat(value, 3) : 0;
708
- }
709
- function trim(value) {
710
- return value.trim();
711
- }
712
- function match(value, pattern) {
713
- return (value = pattern.exec(value)) ? value[0] : value;
714
- }
715
- function replace(value, pattern, replacement) {
716
- return value.replace(pattern, replacement);
717
- }
718
- function indexof(value, search) {
719
- return value.indexOf(search);
720
- }
721
- function charat(value, index) {
722
- return value.charCodeAt(index) | 0;
723
- }
724
- function substr(value, begin, end) {
725
- return value.slice(begin, end);
726
- }
727
- function strlen(value) {
728
- return value.length;
729
- }
730
- function sizeof(value) {
731
- return value.length;
732
- }
733
- function append(value, array) {
734
- return array.push(value), value;
735
- }
736
- function combine(array, callback) {
737
- return array.map(callback).join("");
738
- }
739
-
740
- // ../../node_modules/.pnpm/stylis@4.2.0/node_modules/stylis/src/Tokenizer.js
741
- var line = 1;
742
- var column = 1;
743
- var length = 0;
744
- var position = 0;
745
- var character = 0;
746
- var characters = "";
747
- function node(value, root, parent, type, props, children2, length2) {
748
- return { value, root, parent, type, props, children: children2, line, column, length: length2, return: "" };
749
- }
750
- function copy(root, props) {
751
- return assign(node("", null, null, "", null, null, 0), root, { length: -root.length }, props);
752
- }
753
- function char() {
754
- return character;
755
- }
756
- function prev() {
757
- character = position > 0 ? charat(characters, --position) : 0;
758
- if (column--, character === 10)
759
- column = 1, line--;
760
- return character;
761
- }
762
- function next() {
763
- character = position < length ? charat(characters, position++) : 0;
764
- if (column++, character === 10)
765
- column = 1, line++;
766
- return character;
767
- }
768
- function peek() {
769
- return charat(characters, position);
770
- }
771
- function caret() {
772
- return position;
773
- }
774
- function slice(begin, end) {
775
- return substr(characters, begin, end);
776
- }
777
- function token(type) {
778
- switch (type) {
779
- case 0:
780
- case 9:
781
- case 10:
782
- case 13:
783
- case 32:
784
- return 5;
785
- case 33:
786
- case 43:
787
- case 44:
788
- case 47:
789
- case 62:
790
- case 64:
791
- case 126:
792
- case 59:
793
- case 123:
794
- case 125:
795
- return 4;
796
- case 58:
797
- return 3;
798
- case 34:
799
- case 39:
800
- case 40:
801
- case 91:
802
- return 2;
803
- case 41:
804
- case 93:
805
- return 1;
806
- }
807
- return 0;
808
- }
809
- function alloc(value) {
810
- return line = column = 1, length = strlen(characters = value), position = 0, [];
811
- }
812
- function dealloc(value) {
813
- return characters = "", value;
814
- }
815
- function delimit(type) {
816
- return trim(slice(position - 1, delimiter(type === 91 ? type + 2 : type === 40 ? type + 1 : type)));
817
- }
818
- function whitespace(type) {
819
- while (character = peek())
820
- if (character < 33)
821
- next();
822
- else
823
- break;
824
- return token(type) > 2 || token(character) > 3 ? "" : " ";
825
- }
826
- function escaping(index, count) {
827
- while (--count && next())
828
- if (character < 48 || character > 102 || character > 57 && character < 65 || character > 70 && character < 97)
829
- break;
830
- return slice(index, caret() + (count < 6 && peek() == 32 && next() == 32));
831
- }
832
- function delimiter(type) {
833
- while (next())
834
- switch (character) {
835
- case type:
836
- return position;
837
- case 34:
838
- case 39:
839
- if (type !== 34 && type !== 39)
840
- delimiter(character);
841
- break;
842
- case 40:
843
- if (type === 41)
844
- delimiter(type);
845
- break;
846
- case 92:
847
- next();
848
- break;
849
- }
850
- return position;
851
- }
852
- function commenter(type, index) {
853
- while (next())
854
- if (type + character === 47 + 10)
855
- break;
856
- else if (type + character === 42 + 42 && peek() === 47)
857
- break;
858
- return "/*" + slice(index, position - 1) + "*" + from(type === 47 ? type : next());
859
- }
860
- function identifier(index) {
861
- while (!token(peek()))
862
- next();
863
- return slice(index, position);
864
- }
865
-
866
- // ../../node_modules/.pnpm/stylis@4.2.0/node_modules/stylis/src/Parser.js
867
- function compile(value) {
868
- return dealloc(parse("", null, null, null, [""], value = alloc(value), 0, [0], value));
869
- }
870
- function parse(value, root, parent, rule, rules, rulesets, pseudo, points, declarations) {
871
- var index = 0;
872
- var offset = 0;
873
- var length2 = pseudo;
874
- var atrule = 0;
875
- var property = 0;
876
- var previous = 0;
877
- var variable = 1;
878
- var scanning = 1;
879
- var ampersand = 1;
880
- var character2 = 0;
881
- var type = "";
882
- var props = rules;
883
- var children2 = rulesets;
884
- var reference = rule;
885
- var characters2 = type;
886
- while (scanning)
887
- switch (previous = character2, character2 = next()) {
888
- case 40:
889
- if (previous != 108 && charat(characters2, length2 - 1) == 58) {
890
- if (indexof(characters2 += replace(delimit(character2), "&", "&\f"), "&\f") != -1)
891
- ampersand = -1;
892
- break;
893
- }
894
- case 34:
895
- case 39:
896
- case 91:
897
- characters2 += delimit(character2);
898
- break;
899
- case 9:
900
- case 10:
901
- case 13:
902
- case 32:
903
- characters2 += whitespace(previous);
904
- break;
905
- case 92:
906
- characters2 += escaping(caret() - 1, 7);
907
- continue;
908
- case 47:
909
- switch (peek()) {
910
- case 42:
911
- case 47:
912
- append(comment(commenter(next(), caret()), root, parent), declarations);
913
- break;
914
- default:
915
- characters2 += "/";
916
- }
917
- break;
918
- case 123 * variable:
919
- points[index++] = strlen(characters2) * ampersand;
920
- case 125 * variable:
921
- case 59:
922
- case 0:
923
- switch (character2) {
924
- case 0:
925
- case 125:
926
- scanning = 0;
927
- case 59 + offset:
928
- if (ampersand == -1)
929
- characters2 = replace(characters2, /\f/g, "");
930
- if (property > 0 && strlen(characters2) - length2)
931
- append(property > 32 ? declaration(characters2 + ";", rule, parent, length2 - 1) : declaration(replace(characters2, " ", "") + ";", rule, parent, length2 - 2), declarations);
932
- break;
933
- case 59:
934
- characters2 += ";";
935
- default:
936
- append(reference = ruleset(characters2, root, parent, index, offset, rules, points, type, props = [], children2 = [], length2), rulesets);
937
- if (character2 === 123)
938
- if (offset === 0)
939
- parse(characters2, root, reference, reference, props, rulesets, length2, points, children2);
940
- else
941
- switch (atrule === 99 && charat(characters2, 3) === 110 ? 100 : atrule) {
942
- case 100:
943
- case 108:
944
- case 109:
945
- case 115:
946
- parse(value, reference, reference, rule && append(ruleset(value, reference, reference, 0, 0, rules, points, type, rules, props = [], length2), children2), rules, children2, length2, points, rule ? props : children2);
947
- break;
948
- default:
949
- parse(characters2, reference, reference, reference, [""], children2, 0, points, children2);
950
- }
951
- }
952
- index = offset = property = 0, variable = ampersand = 1, type = characters2 = "", length2 = pseudo;
953
- break;
954
- case 58:
955
- length2 = 1 + strlen(characters2), property = previous;
956
- default:
957
- if (variable < 1) {
958
- if (character2 == 123)
959
- --variable;
960
- else if (character2 == 125 && variable++ == 0 && prev() == 125)
961
- continue;
962
- }
963
- switch (characters2 += from(character2), character2 * variable) {
964
- case 38:
965
- ampersand = offset > 0 ? 1 : (characters2 += "\f", -1);
966
- break;
967
- case 44:
968
- points[index++] = (strlen(characters2) - 1) * ampersand, ampersand = 1;
969
- break;
970
- case 64:
971
- if (peek() === 45)
972
- characters2 += delimit(next());
973
- atrule = peek(), offset = length2 = strlen(type = characters2 += identifier(caret())), character2++;
974
- break;
975
- case 45:
976
- if (previous === 45 && strlen(characters2) == 2)
977
- variable = 0;
978
- }
979
- }
980
- return rulesets;
981
- }
982
- function ruleset(value, root, parent, index, offset, rules, points, type, props, children2, length2) {
983
- var post = offset - 1;
984
- var rule = offset === 0 ? rules : [""];
985
- var size = sizeof(rule);
986
- for (var i = 0, j = 0, k = 0; i < index; ++i)
987
- for (var x = 0, y = substr(value, post + 1, post = abs(j = points[i])), z = value; x < size; ++x)
988
- if (z = trim(j > 0 ? rule[x] + " " + y : replace(y, /&\f/g, rule[x])))
989
- props[k++] = z;
990
- return node(value, root, parent, offset === 0 ? RULESET : type, props, children2, length2);
991
- }
992
- function comment(value, root, parent) {
993
- return node(value, root, parent, COMMENT, from(char()), substr(value, 2, -2), 0);
994
- }
995
- function declaration(value, root, parent, length2) {
996
- return node(value, root, parent, DECLARATION, substr(value, 0, length2), substr(value, length2 + 1, -1), length2);
997
- }
998
-
999
- // ../../node_modules/.pnpm/stylis@4.2.0/node_modules/stylis/src/Serializer.js
1000
- function serialize(children2, callback) {
1001
- var output = "";
1002
- var length2 = sizeof(children2);
1003
- for (var i = 0; i < length2; i++)
1004
- output += callback(children2[i], i, children2, callback) || "";
1005
- return output;
1006
- }
1007
- function stringify(element, index, children2, callback) {
1008
- switch (element.type) {
1009
- case LAYER:
1010
- if (element.children.length)
1011
- break;
1012
- case IMPORT:
1013
- case DECLARATION:
1014
- return element.return = element.return || element.value;
1015
- case COMMENT:
1016
- return "";
1017
- case KEYFRAMES:
1018
- return element.return = element.value + "{" + serialize(element.children, callback) + "}";
1019
- case RULESET:
1020
- element.value = element.props.join(",");
1021
- }
1022
- return strlen(children2 = serialize(element.children, callback)) ? element.return = element.value + "{" + children2 + "}" : "";
1023
- }
1024
-
1025
- // ../../node_modules/.pnpm/stylis@4.2.0/node_modules/stylis/src/Middleware.js
1026
- function middleware(collection) {
1027
- var length2 = sizeof(collection);
1028
- return function(element, index, children2, callback) {
1029
- var output = "";
1030
- for (var i = 0; i < length2; i++)
1031
- output += collection[i](element, index, children2, callback) || "";
1032
- return output;
1033
- };
1034
- }
1035
-
1036
- // ../../node_modules/.pnpm/@emotion+memoize@0.8.1/node_modules/@emotion/memoize/dist/emotion-memoize.esm.js
1037
- function memoize(fn) {
1038
- var cache2 = /* @__PURE__ */ Object.create(null);
1039
- return function(arg) {
1040
- if (cache2[arg] === void 0)
1041
- cache2[arg] = fn(arg);
1042
- return cache2[arg];
1043
- };
1044
- }
1045
-
1046
- // ../../node_modules/.pnpm/@emotion+cache@11.11.0/node_modules/@emotion/cache/dist/emotion-cache.browser.esm.js
1047
- var identifierWithPointTracking = function identifierWithPointTracking2(begin, points, index) {
1048
- var previous = 0;
1049
- var character2 = 0;
1050
- while (true) {
1051
- previous = character2;
1052
- character2 = peek();
1053
- if (previous === 38 && character2 === 12) {
1054
- points[index] = 1;
1055
- }
1056
- if (token(character2)) {
1057
- break;
1058
- }
1059
- next();
1060
- }
1061
- return slice(begin, position);
1062
- };
1063
- var toRules = function toRules2(parsed, points) {
1064
- var index = -1;
1065
- var character2 = 44;
1066
- do {
1067
- switch (token(character2)) {
1068
- case 0:
1069
- if (character2 === 38 && peek() === 12) {
1070
- points[index] = 1;
1071
- }
1072
- parsed[index] += identifierWithPointTracking(position - 1, points, index);
1073
- break;
1074
- case 2:
1075
- parsed[index] += delimit(character2);
1076
- break;
1077
- case 4:
1078
- if (character2 === 44) {
1079
- parsed[++index] = peek() === 58 ? "&\f" : "";
1080
- points[index] = parsed[index].length;
1081
- break;
1082
- }
1083
- default:
1084
- parsed[index] += from(character2);
1085
- }
1086
- } while (character2 = next());
1087
- return parsed;
1088
- };
1089
- var getRules = function getRules2(value, points) {
1090
- return dealloc(toRules(alloc(value), points));
1091
- };
1092
- var fixedElements = /* @__PURE__ */ new WeakMap();
1093
- var compat = function compat2(element) {
1094
- if (element.type !== "rule" || !element.parent || // positive .length indicates that this rule contains pseudo
1095
- // negative .length indicates that this rule has been already prefixed
1096
- element.length < 1) {
1097
- return;
1098
- }
1099
- var value = element.value, parent = element.parent;
1100
- var isImplicitRule = element.column === parent.column && element.line === parent.line;
1101
- while (parent.type !== "rule") {
1102
- parent = parent.parent;
1103
- if (!parent)
1104
- return;
1105
- }
1106
- if (element.props.length === 1 && value.charCodeAt(0) !== 58 && !fixedElements.get(parent)) {
1107
- return;
1108
- }
1109
- if (isImplicitRule) {
1110
- return;
1111
- }
1112
- fixedElements.set(element, true);
1113
- var points = [];
1114
- var rules = getRules(value, points);
1115
- var parentRules = parent.props;
1116
- for (var i = 0, k = 0; i < rules.length; i++) {
1117
- for (var j = 0; j < parentRules.length; j++, k++) {
1118
- element.props[k] = points[i] ? rules[i].replace(/&\f/g, parentRules[j]) : parentRules[j] + " " + rules[i];
1119
- }
1120
- }
1121
- };
1122
- var removeLabel = function removeLabel2(element) {
1123
- if (element.type === "decl") {
1124
- var value = element.value;
1125
- if (
1126
- // charcode for l
1127
- value.charCodeAt(0) === 108 && // charcode for b
1128
- value.charCodeAt(2) === 98
1129
- ) {
1130
- element["return"] = "";
1131
- element.value = "";
1132
- }
1133
- }
1134
- };
1135
- var ignoreFlag = "emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason";
1136
- var isIgnoringComment = function isIgnoringComment2(element) {
1137
- return element.type === "comm" && element.children.indexOf(ignoreFlag) > -1;
1138
- };
1139
- var createUnsafeSelectorsAlarm = function createUnsafeSelectorsAlarm2(cache2) {
1140
- return function(element, index, children2) {
1141
- if (element.type !== "rule" || cache2.compat)
1142
- return;
1143
- var unsafePseudoClasses = element.value.match(/(:first|:nth|:nth-last)-child/g);
1144
- if (unsafePseudoClasses) {
1145
- var isNested = !!element.parent;
1146
- var commentContainer = isNested ? element.parent.children : (
1147
- // global rule at the root level
1148
- children2
1149
- );
1150
- for (var i = commentContainer.length - 1; i >= 0; i--) {
1151
- var node2 = commentContainer[i];
1152
- if (node2.line < element.line) {
1153
- break;
1154
- }
1155
- if (node2.column < element.column) {
1156
- if (isIgnoringComment(node2)) {
1157
- return;
1158
- }
1159
- break;
1160
- }
1161
- }
1162
- unsafePseudoClasses.forEach(function(unsafePseudoClass) {
1163
- console.error('The pseudo class "' + unsafePseudoClass + '" is potentially unsafe when doing server-side rendering. Try changing it to "' + unsafePseudoClass.split("-child")[0] + '-of-type".');
1164
- });
1165
- }
1166
- };
1167
- };
1168
- var isImportRule = function isImportRule2(element) {
1169
- return element.type.charCodeAt(1) === 105 && element.type.charCodeAt(0) === 64;
1170
- };
1171
- var isPrependedWithRegularRules = function isPrependedWithRegularRules2(index, children2) {
1172
- for (var i = index - 1; i >= 0; i--) {
1173
- if (!isImportRule(children2[i])) {
1174
- return true;
1175
- }
1176
- }
1177
- return false;
1178
- };
1179
- var nullifyElement = function nullifyElement2(element) {
1180
- element.type = "";
1181
- element.value = "";
1182
- element["return"] = "";
1183
- element.children = "";
1184
- element.props = "";
1185
- };
1186
- var incorrectImportAlarm = function incorrectImportAlarm2(element, index, children2) {
1187
- if (!isImportRule(element)) {
1188
- return;
1189
- }
1190
- if (element.parent) {
1191
- 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.");
1192
- nullifyElement(element);
1193
- } else if (isPrependedWithRegularRules(index, children2)) {
1194
- console.error("`@import` rules can't be after other rules. Please put your `@import` rules before your other rules.");
1195
- nullifyElement(element);
1196
- }
1197
- };
1198
- function prefix(value, length2) {
1199
- switch (hash(value, length2)) {
1200
- case 5103:
1201
- return WEBKIT + "print-" + value + value;
1202
- case 5737:
1203
- case 4201:
1204
- case 3177:
1205
- case 3433:
1206
- case 1641:
1207
- case 4457:
1208
- case 2921:
1209
- case 5572:
1210
- case 6356:
1211
- case 5844:
1212
- case 3191:
1213
- case 6645:
1214
- case 3005:
1215
- case 6391:
1216
- case 5879:
1217
- case 5623:
1218
- case 6135:
1219
- case 4599:
1220
- case 4855:
1221
- case 4215:
1222
- case 6389:
1223
- case 5109:
1224
- case 5365:
1225
- case 5621:
1226
- case 3829:
1227
- return WEBKIT + value + value;
1228
- case 5349:
1229
- case 4246:
1230
- case 4810:
1231
- case 6968:
1232
- case 2756:
1233
- return WEBKIT + value + MOZ + value + MS + value + value;
1234
- case 6828:
1235
- case 4268:
1236
- return WEBKIT + value + MS + value + value;
1237
- case 6165:
1238
- return WEBKIT + value + MS + "flex-" + value + value;
1239
- case 5187:
1240
- return WEBKIT + value + replace(value, /(\w+).+(:[^]+)/, WEBKIT + "box-$1$2" + MS + "flex-$1$2") + value;
1241
- case 5443:
1242
- return WEBKIT + value + MS + "flex-item-" + replace(value, /flex-|-self/, "") + value;
1243
- case 4675:
1244
- return WEBKIT + value + MS + "flex-line-pack" + replace(value, /align-content|flex-|-self/, "") + value;
1245
- case 5548:
1246
- return WEBKIT + value + MS + replace(value, "shrink", "negative") + value;
1247
- case 5292:
1248
- return WEBKIT + value + MS + replace(value, "basis", "preferred-size") + value;
1249
- case 6060:
1250
- return WEBKIT + "box-" + replace(value, "-grow", "") + WEBKIT + value + MS + replace(value, "grow", "positive") + value;
1251
- case 4554:
1252
- return WEBKIT + replace(value, /([^-])(transform)/g, "$1" + WEBKIT + "$2") + value;
1253
- case 6187:
1254
- return replace(replace(replace(value, /(zoom-|grab)/, WEBKIT + "$1"), /(image-set)/, WEBKIT + "$1"), value, "") + value;
1255
- case 5495:
1256
- case 3959:
1257
- return replace(value, /(image-set\([^]*)/, WEBKIT + "$1$`$1");
1258
- case 4968:
1259
- return replace(replace(value, /(.+:)(flex-)?(.*)/, WEBKIT + "box-pack:$3" + MS + "flex-pack:$3"), /s.+-b[^;]+/, "justify") + WEBKIT + value + value;
1260
- case 4095:
1261
- case 3583:
1262
- case 4068:
1263
- case 2532:
1264
- return replace(value, /(.+)-inline(.+)/, WEBKIT + "$1$2") + value;
1265
- case 8116:
1266
- case 7059:
1267
- case 5753:
1268
- case 5535:
1269
- case 5445:
1270
- case 5701:
1271
- case 4933:
1272
- case 4677:
1273
- case 5533:
1274
- case 5789:
1275
- case 5021:
1276
- case 4765:
1277
- if (strlen(value) - 1 - length2 > 6)
1278
- switch (charat(value, length2 + 1)) {
1279
- case 109:
1280
- if (charat(value, length2 + 4) !== 45)
1281
- break;
1282
- case 102:
1283
- return replace(value, /(.+:)(.+)-([^]+)/, "$1" + WEBKIT + "$2-$3$1" + MOZ + (charat(value, length2 + 3) == 108 ? "$3" : "$2-$3")) + value;
1284
- case 115:
1285
- return ~indexof(value, "stretch") ? prefix(replace(value, "stretch", "fill-available"), length2) + value : value;
1286
- }
1287
- break;
1288
- case 4949:
1289
- if (charat(value, length2 + 1) !== 115)
1290
- break;
1291
- case 6444:
1292
- switch (charat(value, strlen(value) - 3 - (~indexof(value, "!important") && 10))) {
1293
- case 107:
1294
- return replace(value, ":", ":" + WEBKIT) + value;
1295
- case 101:
1296
- return replace(value, /(.+:)([^;!]+)(;|!.+)?/, "$1" + WEBKIT + (charat(value, 14) === 45 ? "inline-" : "") + "box$3$1" + WEBKIT + "$2$3$1" + MS + "$2box$3") + value;
1297
- }
1298
- break;
1299
- case 5936:
1300
- switch (charat(value, length2 + 11)) {
1301
- case 114:
1302
- return WEBKIT + value + MS + replace(value, /[svh]\w+-[tblr]{2}/, "tb") + value;
1303
- case 108:
1304
- return WEBKIT + value + MS + replace(value, /[svh]\w+-[tblr]{2}/, "tb-rl") + value;
1305
- case 45:
1306
- return WEBKIT + value + MS + replace(value, /[svh]\w+-[tblr]{2}/, "lr") + value;
1307
- }
1308
- return WEBKIT + value + MS + value + value;
1309
- }
1310
- return value;
1311
- }
1312
- var prefixer = function prefixer2(element, index, children2, callback) {
1313
- if (element.length > -1) {
1314
- if (!element["return"])
1315
- switch (element.type) {
1316
- case DECLARATION:
1317
- element["return"] = prefix(element.value, element.length);
1318
- break;
1319
- case KEYFRAMES:
1320
- return serialize([copy(element, {
1321
- value: replace(element.value, "@", "@" + WEBKIT)
1322
- })], callback);
1323
- case RULESET:
1324
- if (element.length)
1325
- return combine(element.props, function(value) {
1326
- switch (match(value, /(::plac\w+|:read-\w+)/)) {
1327
- case ":read-only":
1328
- case ":read-write":
1329
- return serialize([copy(element, {
1330
- props: [replace(value, /:(read-\w+)/, ":" + MOZ + "$1")]
1331
- })], callback);
1332
- case "::placeholder":
1333
- return serialize([copy(element, {
1334
- props: [replace(value, /:(plac\w+)/, ":" + WEBKIT + "input-$1")]
1335
- }), copy(element, {
1336
- props: [replace(value, /:(plac\w+)/, ":" + MOZ + "$1")]
1337
- }), copy(element, {
1338
- props: [replace(value, /:(plac\w+)/, MS + "input-$1")]
1339
- })], callback);
1340
- }
1341
- return "";
1342
- });
1343
- }
1344
- }
598
+ // ../../node_modules/.pnpm/goober@2.1.13_csstype@3.1.2/node_modules/goober/dist/goober.modern.js
599
+ var e = { data: "" };
600
+ var t = (t2) => "object" == typeof window ? ((t2 ? t2.querySelector("#_goober") : window._goober) || Object.assign((t2 || document.head).appendChild(document.createElement("style")), { innerHTML: " ", id: "_goober" })).firstChild : t2 || e;
601
+ var l = /(?:([\u0080-\uFFFF\w-%@]+) *:? *([^{;]+?);|([^;}{]*?) *{)|(}\s*)/g;
602
+ var a = /\/\*[^]*?\*\/| +/g;
603
+ var n = /\n+/g;
604
+ var o = (e2, t2) => {
605
+ let r2 = "", l2 = "", a2 = "";
606
+ for (let n2 in e2) {
607
+ let c2 = e2[n2];
608
+ "@" == n2[0] ? "i" == n2[1] ? r2 = n2 + " " + c2 + ";" : l2 += "f" == n2[1] ? o(c2, n2) : n2 + "{" + o(c2, "k" == n2[1] ? "" : t2) + "}" : "object" == typeof c2 ? l2 += o(c2, t2 ? t2.replace(/([^,])+/g, (e3) => n2.replace(/(^:.*)|([^,])+/g, (t3) => /&/.test(t3) ? t3.replace(/&/g, e3) : e3 ? e3 + " " + t3 : t3)) : n2) : null != c2 && (n2 = /^--/.test(n2) ? n2 : n2.replace(/[A-Z]/g, "-$&").toLowerCase(), a2 += o.p ? o.p(n2, c2) : n2 + ":" + c2 + ";");
609
+ }
610
+ return r2 + (t2 && a2 ? t2 + "{" + a2 + "}" : a2) + l2;
1345
611
  };
1346
- var defaultStylisPlugins = [prefixer];
1347
- var createCache = function createCache2(options) {
1348
- var key = options.key;
1349
- if (!key) {
1350
- 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.");
1351
- }
1352
- if (key === "css") {
1353
- var ssrStyles = document.querySelectorAll("style[data-emotion]:not([data-s])");
1354
- Array.prototype.forEach.call(ssrStyles, function(node2) {
1355
- var dataEmotionAttribute = node2.getAttribute("data-emotion");
1356
- if (dataEmotionAttribute.indexOf(" ") === -1) {
1357
- return;
1358
- }
1359
- document.head.appendChild(node2);
1360
- node2.setAttribute("data-s", "");
1361
- });
1362
- }
1363
- var stylisPlugins = options.stylisPlugins || defaultStylisPlugins;
1364
- {
1365
- if (/[^a-z-]/.test(key)) {
1366
- throw new Error('Emotion key must only contain lower case alphabetical characters and - but "' + key + '" was passed');
1367
- }
1368
- }
1369
- var inserted = {};
1370
- var container;
1371
- var nodesToHydrate = [];
1372
- {
1373
- container = options.container || document.head;
1374
- Array.prototype.forEach.call(
1375
- // this means we will ignore elements which don't have a space in them which
1376
- // means that the style elements we're looking at are only Emotion 11 server-rendered style elements
1377
- document.querySelectorAll('style[data-emotion^="' + key + ' "]'),
1378
- function(node2) {
1379
- var attrib = node2.getAttribute("data-emotion").split(" ");
1380
- for (var i = 1; i < attrib.length; i++) {
1381
- inserted[attrib[i]] = true;
1382
- }
1383
- nodesToHydrate.push(node2);
1384
- }
1385
- );
1386
- }
1387
- var _insert;
1388
- var omnipresentPlugins = [compat, removeLabel];
1389
- {
1390
- omnipresentPlugins.push(createUnsafeSelectorsAlarm({
1391
- get compat() {
1392
- return cache2.compat;
1393
- }
1394
- }), incorrectImportAlarm);
1395
- }
1396
- {
1397
- var currentSheet;
1398
- var finalizingPlugins = [stringify, function(element) {
1399
- if (!element.root) {
1400
- if (element["return"]) {
1401
- currentSheet.insert(element["return"]);
1402
- } else if (element.value && element.type !== COMMENT) {
1403
- currentSheet.insert(element.value + "{}");
1404
- }
1405
- }
1406
- } ];
1407
- var serializer = middleware(omnipresentPlugins.concat(stylisPlugins, finalizingPlugins));
1408
- var stylis = function stylis2(styles) {
1409
- return serialize(compile(styles), serializer);
1410
- };
1411
- _insert = function insert2(selector, serialized, sheet2, shouldCache) {
1412
- currentSheet = sheet2;
1413
- if (serialized.map !== void 0) {
1414
- currentSheet = {
1415
- insert: function insert3(rule) {
1416
- sheet2.insert(rule + serialized.map);
1417
- }
1418
- };
1419
- }
1420
- stylis(selector ? selector + "{" + serialized.styles + "}" : serialized.styles);
1421
- if (shouldCache) {
1422
- cache2.inserted[serialized.name] = true;
1423
- }
1424
- };
1425
- }
1426
- var cache2 = {
1427
- key,
1428
- sheet: new StyleSheet({
1429
- key,
1430
- container,
1431
- nonce: options.nonce,
1432
- speedy: options.speedy,
1433
- prepend: options.prepend,
1434
- insertionPoint: options.insertionPoint
1435
- }),
1436
- nonce: options.nonce,
1437
- inserted,
1438
- registered: {},
1439
- insert: _insert
1440
- };
1441
- cache2.sheet.hydrate(nodesToHydrate);
1442
- return cache2;
1443
- };
1444
-
1445
- // ../../node_modules/.pnpm/@emotion+hash@0.9.1/node_modules/@emotion/hash/dist/emotion-hash.esm.js
1446
- function murmur2(str) {
1447
- var h = 0;
1448
- var k, i = 0, len = str.length;
1449
- for (; len >= 4; ++i, len -= 4) {
1450
- k = str.charCodeAt(i) & 255 | (str.charCodeAt(++i) & 255) << 8 | (str.charCodeAt(++i) & 255) << 16 | (str.charCodeAt(++i) & 255) << 24;
1451
- k = /* Math.imul(k, m): */
1452
- (k & 65535) * 1540483477 + ((k >>> 16) * 59797 << 16);
1453
- k ^= /* k >>> r: */
1454
- k >>> 24;
1455
- h = /* Math.imul(k, m): */
1456
- (k & 65535) * 1540483477 + ((k >>> 16) * 59797 << 16) ^ /* Math.imul(h, m): */
1457
- (h & 65535) * 1540483477 + ((h >>> 16) * 59797 << 16);
1458
- }
1459
- switch (len) {
1460
- case 3:
1461
- h ^= (str.charCodeAt(i + 2) & 255) << 16;
1462
- case 2:
1463
- h ^= (str.charCodeAt(i + 1) & 255) << 8;
1464
- case 1:
1465
- h ^= str.charCodeAt(i) & 255;
1466
- h = /* Math.imul(h, m): */
1467
- (h & 65535) * 1540483477 + ((h >>> 16) * 59797 << 16);
1468
- }
1469
- h ^= h >>> 13;
1470
- h = /* Math.imul(h, m): */
1471
- (h & 65535) * 1540483477 + ((h >>> 16) * 59797 << 16);
1472
- return ((h ^ h >>> 15) >>> 0).toString(36);
1473
- }
1474
-
1475
- // ../../node_modules/.pnpm/@emotion+unitless@0.8.1/node_modules/@emotion/unitless/dist/emotion-unitless.esm.js
1476
- var unitlessKeys = {
1477
- animationIterationCount: 1,
1478
- aspectRatio: 1,
1479
- borderImageOutset: 1,
1480
- borderImageSlice: 1,
1481
- borderImageWidth: 1,
1482
- boxFlex: 1,
1483
- boxFlexGroup: 1,
1484
- boxOrdinalGroup: 1,
1485
- columnCount: 1,
1486
- columns: 1,
1487
- flex: 1,
1488
- flexGrow: 1,
1489
- flexPositive: 1,
1490
- flexShrink: 1,
1491
- flexNegative: 1,
1492
- flexOrder: 1,
1493
- gridRow: 1,
1494
- gridRowEnd: 1,
1495
- gridRowSpan: 1,
1496
- gridRowStart: 1,
1497
- gridColumn: 1,
1498
- gridColumnEnd: 1,
1499
- gridColumnSpan: 1,
1500
- gridColumnStart: 1,
1501
- msGridRow: 1,
1502
- msGridRowSpan: 1,
1503
- msGridColumn: 1,
1504
- msGridColumnSpan: 1,
1505
- fontWeight: 1,
1506
- lineHeight: 1,
1507
- opacity: 1,
1508
- order: 1,
1509
- orphans: 1,
1510
- tabSize: 1,
1511
- widows: 1,
1512
- zIndex: 1,
1513
- zoom: 1,
1514
- WebkitLineClamp: 1,
1515
- // SVG-related properties
1516
- fillOpacity: 1,
1517
- floodOpacity: 1,
1518
- stopOpacity: 1,
1519
- strokeDasharray: 1,
1520
- strokeDashoffset: 1,
1521
- strokeMiterlimit: 1,
1522
- strokeOpacity: 1,
1523
- strokeWidth: 1
1524
- };
1525
-
1526
- // ../../node_modules/.pnpm/@emotion+serialize@1.1.2/node_modules/@emotion/serialize/dist/emotion-serialize.browser.esm.js
1527
- var ILLEGAL_ESCAPE_SEQUENCE_ERROR = `You have illegal escape sequence in your template literal, most likely inside content's property value.
1528
- Because you write your CSS inside a JavaScript string you actually have to do double escaping, so for example "content: '\\00d7';" should become "content: '\\\\00d7';".
1529
- You can read more about this here:
1530
- https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences`;
1531
- var UNDEFINED_AS_OBJECT_KEY_ERROR = "You have passed in falsy value as style object's key (can happen when in example you pass unexported component as computed key).";
1532
- var hyphenateRegex = /[A-Z]|^ms/g;
1533
- var animationRegex = /_EMO_([^_]+?)_([^]*?)_EMO_/g;
1534
- var isCustomProperty = function isCustomProperty2(property) {
1535
- return property.charCodeAt(1) === 45;
1536
- };
1537
- var isProcessableValue = function isProcessableValue2(value) {
1538
- return value != null && typeof value !== "boolean";
1539
- };
1540
- var processStyleName = /* @__PURE__ */ memoize(function(styleName) {
1541
- return isCustomProperty(styleName) ? styleName : styleName.replace(hyphenateRegex, "-$&").toLowerCase();
1542
- });
1543
- var processStyleValue = function processStyleValue2(key, value) {
1544
- switch (key) {
1545
- case "animation":
1546
- case "animationName": {
1547
- if (typeof value === "string") {
1548
- return value.replace(animationRegex, function(match2, p1, p2) {
1549
- cursor = {
1550
- name: p1,
1551
- styles: p2,
1552
- next: cursor
1553
- };
1554
- return p1;
1555
- });
1556
- }
1557
- }
1558
- }
1559
- if (unitlessKeys[key] !== 1 && !isCustomProperty(key) && typeof value === "number" && value !== 0) {
1560
- return value + "px";
1561
- }
1562
- return value;
612
+ var c = {};
613
+ var s = (e2) => {
614
+ if ("object" == typeof e2) {
615
+ let t2 = "";
616
+ for (let r2 in e2)
617
+ t2 += r2 + s(e2[r2]);
618
+ return t2;
619
+ }
620
+ return e2;
1563
621
  };
1564
- {
1565
- contentValuePattern = /(var|attr|counters?|url|element|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/;
1566
- contentValues = ["normal", "none", "initial", "inherit", "unset"];
1567
- oldProcessStyleValue = processStyleValue;
1568
- msPattern = /^-ms-/;
1569
- hyphenPattern = /-(.)/g;
1570
- hyphenatedCache = {};
1571
- processStyleValue = function processStyleValue3(key, value) {
1572
- if (key === "content") {
1573
- if (typeof value !== "string" || contentValues.indexOf(value) === -1 && !contentValuePattern.test(value) && (value.charAt(0) !== value.charAt(value.length - 1) || value.charAt(0) !== '"' && value.charAt(0) !== "'")) {
1574
- throw new Error("You seem to be using a value for 'content' without quotes, try replacing it with `content: '\"" + value + "\"'`");
1575
- }
1576
- }
1577
- var processed = oldProcessStyleValue(key, value);
1578
- if (processed !== "" && !isCustomProperty(key) && key.indexOf("-") !== -1 && hyphenatedCache[key] === void 0) {
1579
- hyphenatedCache[key] = true;
1580
- console.error("Using kebab-case for css properties in objects is not supported. Did you mean " + key.replace(msPattern, "ms-").replace(hyphenPattern, function(str, _char) {
1581
- return _char.toUpperCase();
1582
- }) + "?");
1583
- }
1584
- return processed;
1585
- };
1586
- }
1587
- var contentValuePattern;
1588
- var contentValues;
1589
- var oldProcessStyleValue;
1590
- var msPattern;
1591
- var hyphenPattern;
1592
- var hyphenatedCache;
1593
- var noComponentSelectorMessage = "Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";
1594
- function handleInterpolation(mergedProps, registered, interpolation) {
1595
- if (interpolation == null) {
1596
- return "";
1597
- }
1598
- if (interpolation.__emotion_styles !== void 0) {
1599
- if (interpolation.toString() === "NO_COMPONENT_SELECTOR") {
1600
- throw new Error(noComponentSelectorMessage);
1601
- }
1602
- return interpolation;
1603
- }
1604
- switch (typeof interpolation) {
1605
- case "boolean": {
1606
- return "";
1607
- }
1608
- case "object": {
1609
- if (interpolation.anim === 1) {
1610
- cursor = {
1611
- name: interpolation.name,
1612
- styles: interpolation.styles,
1613
- next: cursor
1614
- };
1615
- return interpolation.name;
1616
- }
1617
- if (interpolation.styles !== void 0) {
1618
- var next2 = interpolation.next;
1619
- if (next2 !== void 0) {
1620
- while (next2 !== void 0) {
1621
- cursor = {
1622
- name: next2.name,
1623
- styles: next2.styles,
1624
- next: cursor
1625
- };
1626
- next2 = next2.next;
1627
- }
1628
- }
1629
- var styles = interpolation.styles + ";";
1630
- if (interpolation.map !== void 0) {
1631
- styles += interpolation.map;
1632
- }
1633
- return styles;
1634
- }
1635
- return createStringFromObject(mergedProps, registered, interpolation);
1636
- }
1637
- case "function": {
1638
- if (mergedProps !== void 0) {
1639
- var previousCursor = cursor;
1640
- var result = interpolation(mergedProps);
1641
- cursor = previousCursor;
1642
- return handleInterpolation(mergedProps, registered, result);
1643
- } else {
1644
- 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}`");
1645
- }
1646
- break;
1647
- }
1648
- case "string":
1649
- {
1650
- var matched = [];
1651
- var replaced = interpolation.replace(animationRegex, function(match2, p1, p2) {
1652
- var fakeVarName = "animation" + matched.length;
1653
- matched.push("const " + fakeVarName + " = keyframes`" + p2.replace(/^@keyframes animation-\w+/, "") + "`");
1654
- return "${" + fakeVarName + "}";
1655
- });
1656
- if (matched.length) {
1657
- console.error("`keyframes` output got interpolated into plain string, please wrap it with `css`.\n\nInstead of doing this:\n\n" + [].concat(matched, ["`" + replaced + "`"]).join("\n") + "\n\nYou should wrap it with `css` like this:\n\n" + ("css`" + replaced + "`"));
1658
- }
1659
- }
1660
- break;
1661
- }
1662
- if (registered == null) {
1663
- return interpolation;
1664
- }
1665
- var cached = registered[interpolation];
1666
- return cached !== void 0 ? cached : interpolation;
1667
- }
1668
- function createStringFromObject(mergedProps, registered, obj) {
1669
- var string = "";
1670
- if (Array.isArray(obj)) {
1671
- for (var i = 0; i < obj.length; i++) {
1672
- string += handleInterpolation(mergedProps, registered, obj[i]) + ";";
1673
- }
1674
- } else {
1675
- for (var _key in obj) {
1676
- var value = obj[_key];
1677
- if (typeof value !== "object") {
1678
- if (registered != null && registered[value] !== void 0) {
1679
- string += _key + "{" + registered[value] + "}";
1680
- } else if (isProcessableValue(value)) {
1681
- string += processStyleName(_key) + ":" + processStyleValue(_key, value) + ";";
1682
- }
1683
- } else {
1684
- if (_key === "NO_COMPONENT_SELECTOR" && true) {
1685
- throw new Error(noComponentSelectorMessage);
1686
- }
1687
- if (Array.isArray(value) && typeof value[0] === "string" && (registered == null || registered[value[0]] === void 0)) {
1688
- for (var _i = 0; _i < value.length; _i++) {
1689
- if (isProcessableValue(value[_i])) {
1690
- string += processStyleName(_key) + ":" + processStyleValue(_key, value[_i]) + ";";
1691
- }
1692
- }
1693
- } else {
1694
- var interpolated = handleInterpolation(mergedProps, registered, value);
1695
- switch (_key) {
1696
- case "animation":
1697
- case "animationName": {
1698
- string += processStyleName(_key) + ":" + interpolated + ";";
1699
- break;
1700
- }
1701
- default: {
1702
- if (_key === "undefined") {
1703
- console.error(UNDEFINED_AS_OBJECT_KEY_ERROR);
1704
- }
1705
- string += _key + "{" + interpolated + "}";
1706
- }
1707
- }
1708
- }
1709
- }
1710
- }
1711
- }
1712
- return string;
1713
- }
1714
- var labelPattern = /label:\s*([^\s;\n{]+)\s*(;|$)/g;
1715
- var sourceMapPattern;
1716
- {
1717
- sourceMapPattern = /\/\*#\ssourceMappingURL=data:application\/json;\S+\s+\*\//g;
1718
- }
1719
- var cursor;
1720
- var serializeStyles = function serializeStyles2(args, registered, mergedProps) {
1721
- if (args.length === 1 && typeof args[0] === "object" && args[0] !== null && args[0].styles !== void 0) {
1722
- return args[0];
1723
- }
1724
- var stringMode = true;
1725
- var styles = "";
1726
- cursor = void 0;
1727
- var strings = args[0];
1728
- if (strings == null || strings.raw === void 0) {
1729
- stringMode = false;
1730
- styles += handleInterpolation(mergedProps, registered, strings);
1731
- } else {
1732
- if (strings[0] === void 0) {
1733
- console.error(ILLEGAL_ESCAPE_SEQUENCE_ERROR);
1734
- }
1735
- styles += strings[0];
1736
- }
1737
- for (var i = 1; i < args.length; i++) {
1738
- styles += handleInterpolation(mergedProps, registered, args[i]);
1739
- if (stringMode) {
1740
- if (strings[i] === void 0) {
1741
- console.error(ILLEGAL_ESCAPE_SEQUENCE_ERROR);
1742
- }
1743
- styles += strings[i];
1744
- }
1745
- }
1746
- var sourceMap;
1747
- {
1748
- styles = styles.replace(sourceMapPattern, function(match3) {
1749
- sourceMap = match3;
1750
- return "";
1751
- });
1752
- }
1753
- labelPattern.lastIndex = 0;
1754
- var identifierName = "";
1755
- var match2;
1756
- while ((match2 = labelPattern.exec(styles)) !== null) {
1757
- identifierName += "-" + // $FlowFixMe we know it's not null
1758
- match2[1];
1759
- }
1760
- var name = murmur2(styles) + identifierName;
1761
- {
1762
- return {
1763
- name,
1764
- styles,
1765
- map: sourceMap,
1766
- next: cursor,
1767
- toString: function toString() {
1768
- 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).";
1769
- }
1770
- };
1771
- }
622
+ var i = (e2, t2, r2, i2, p2) => {
623
+ let u2 = s(e2), d = c[u2] || (c[u2] = ((e3) => {
624
+ let t3 = 0, r3 = 11;
625
+ for (; t3 < e3.length; )
626
+ r3 = 101 * r3 + e3.charCodeAt(t3++) >>> 0;
627
+ return "go" + r3;
628
+ })(u2));
629
+ if (!c[d]) {
630
+ let t3 = u2 !== e2 ? e2 : ((e3) => {
631
+ let t4, r3, o2 = [{}];
632
+ for (; t4 = l.exec(e3.replace(a, "")); )
633
+ t4[4] ? o2.shift() : t4[3] ? (r3 = t4[3].replace(n, " ").trim(), o2.unshift(o2[0][r3] = o2[0][r3] || {})) : o2[0][t4[1]] = t4[2].replace(n, " ").trim();
634
+ return o2[0];
635
+ })(e2);
636
+ c[d] = o(p2 ? { ["@keyframes " + d]: t3 } : t3, r2 ? "" : "." + d);
637
+ }
638
+ let f = r2 && c.g ? c.g : null;
639
+ return r2 && (c.g = c[d]), ((e3, t3, r3, l2) => {
640
+ l2 ? t3.data = t3.data.replace(l2, e3) : -1 === t3.data.indexOf(e3) && (t3.data = r3 ? e3 + t3.data : t3.data + e3);
641
+ })(c[d], t2, i2, f), d;
1772
642
  };
1773
-
1774
- // ../../node_modules/.pnpm/@emotion+utils@1.2.1/node_modules/@emotion/utils/dist/emotion-utils.browser.esm.js
1775
- var isBrowser = true;
1776
- function getRegisteredStyles(registered, registeredStyles, classNames) {
1777
- var rawClassName = "";
1778
- classNames.split(" ").forEach(function(className2) {
1779
- if (registered[className2] !== void 0) {
1780
- registeredStyles.push(registered[className2] + ";");
1781
- } else {
1782
- rawClassName += className2 + " ";
1783
- }
1784
- });
1785
- return rawClassName;
643
+ var p = (e2, t2, r2) => e2.reduce((e3, l2, a2) => {
644
+ let n2 = t2[a2];
645
+ if (n2 && n2.call) {
646
+ let e4 = n2(r2), t3 = e4 && e4.props && e4.props.className || /^go/.test(e4) && e4;
647
+ n2 = t3 ? "." + t3 : e4 && "object" == typeof e4 ? e4.props ? "" : o(e4, "") : false === e4 ? "" : e4;
648
+ }
649
+ return e3 + l2 + (null == n2 ? "" : n2);
650
+ }, "");
651
+ function u(e2) {
652
+ let r2 = this || {}, l2 = e2.call ? e2(r2.p) : e2;
653
+ return i(l2.unshift ? l2.raw ? p(l2, [].slice.call(arguments, 1), r2.p) : l2.reduce((e3, t2) => Object.assign(e3, t2 && t2.call ? t2(r2.p) : t2), {}) : l2, t(r2.target), r2.g, r2.o, r2.k);
1786
654
  }
1787
- var registerStyles = function registerStyles2(cache2, serialized, isStringTag) {
1788
- var className2 = cache2.key + "-" + serialized.name;
1789
- if (
1790
- // we only need to add the styles to the registered cache if the
1791
- // class name could be used further down
1792
- // the tree but if it's a string tag, we know it won't
1793
- // so we don't have to add it to registered cache.
1794
- // this improves memory usage since we can avoid storing the whole style string
1795
- (isStringTag === false || // we need to always store it if we're in compat mode and
1796
- // in node since emotion-server relies on whether a style is in
1797
- // the registered cache to know whether a style is global or not
1798
- // also, note that this check will be dead code eliminated in the browser
1799
- isBrowser === false) && cache2.registered[className2] === void 0
1800
- ) {
1801
- cache2.registered[className2] = serialized.styles;
1802
- }
1803
- };
1804
- var insertStyles = function insertStyles2(cache2, serialized, isStringTag) {
1805
- registerStyles(cache2, serialized, isStringTag);
1806
- var className2 = cache2.key + "-" + serialized.name;
1807
- if (cache2.inserted[serialized.name] === void 0) {
1808
- var current = serialized;
1809
- do {
1810
- cache2.insert(serialized === current ? "." + className2 : "", current, cache2.sheet, true);
1811
- current = current.next;
1812
- } while (current !== void 0);
1813
- }
1814
- };
655
+ u.bind({ g: 1 });
656
+ u.bind({ k: 1 });
1815
657
 
1816
- // ../../node_modules/.pnpm/@emotion+css@11.11.0/node_modules/@emotion/css/create-instance/dist/emotion-css-create-instance.esm.js
1817
- function insertWithoutScoping(cache2, serialized) {
1818
- if (cache2.inserted[serialized.name] === void 0) {
1819
- return cache2.insert("", serialized, cache2.sheet, true);
1820
- }
658
+ // ../../node_modules/.pnpm/clsx@2.0.0/node_modules/clsx/dist/clsx.mjs
659
+ function r(e2) {
660
+ var t2, f, n2 = "";
661
+ if ("string" == typeof e2 || "number" == typeof e2)
662
+ n2 += e2;
663
+ else if ("object" == typeof e2)
664
+ if (Array.isArray(e2))
665
+ for (t2 = 0; t2 < e2.length; t2++)
666
+ e2[t2] && (f = r(e2[t2])) && (n2 && (n2 += " "), n2 += f);
667
+ else
668
+ for (t2 in e2)
669
+ e2[t2] && (n2 && (n2 += " "), n2 += t2);
670
+ return n2;
1821
671
  }
1822
- function merge(registered, css2, className2) {
1823
- var registeredStyles = [];
1824
- var rawClassName = getRegisteredStyles(registered, registeredStyles, className2);
1825
- if (registeredStyles.length < 2) {
1826
- return className2;
1827
- }
1828
- return rawClassName + css2(registeredStyles);
672
+ function clsx() {
673
+ for (var e2, t2, f = 0, n2 = ""; f < arguments.length; )
674
+ (e2 = arguments[f++]) && (t2 = r(e2)) && (n2 && (n2 += " "), n2 += t2);
675
+ return n2;
1829
676
  }
1830
- var createEmotion = function createEmotion2(options) {
1831
- var cache2 = createCache(options);
1832
- cache2.sheet.speedy = function(value) {
1833
- if (this.ctr !== 0) {
1834
- throw new Error("speedy must be changed before any rules are inserted");
1835
- }
1836
- this.isSpeedy = value;
1837
- };
1838
- cache2.compat = true;
1839
- var css2 = function css3() {
1840
- for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
1841
- args[_key] = arguments[_key];
1842
- }
1843
- var serialized = serializeStyles(args, cache2.registered, void 0);
1844
- insertStyles(cache2, serialized, false);
1845
- return cache2.key + "-" + serialized.name;
1846
- };
1847
- var keyframes2 = function keyframes3() {
1848
- for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
1849
- args[_key2] = arguments[_key2];
1850
- }
1851
- var serialized = serializeStyles(args, cache2.registered);
1852
- var animation = "animation-" + serialized.name;
1853
- insertWithoutScoping(cache2, {
1854
- name: serialized.name,
1855
- styles: "@keyframes " + animation + "{" + serialized.styles + "}"
1856
- });
1857
- return animation;
1858
- };
1859
- var injectGlobal2 = function injectGlobal3() {
1860
- for (var _len3 = arguments.length, args = new Array(_len3), _key3 = 0; _key3 < _len3; _key3++) {
1861
- args[_key3] = arguments[_key3];
1862
- }
1863
- var serialized = serializeStyles(args, cache2.registered);
1864
- insertWithoutScoping(cache2, serialized);
1865
- };
1866
- var cx2 = function cx3() {
1867
- for (var _len4 = arguments.length, args = new Array(_len4), _key4 = 0; _key4 < _len4; _key4++) {
1868
- args[_key4] = arguments[_key4];
1869
- }
1870
- return merge(cache2.registered, css2, classnames(args));
1871
- };
1872
- return {
1873
- css: css2,
1874
- cx: cx2,
1875
- injectGlobal: injectGlobal2,
1876
- keyframes: keyframes2,
1877
- hydrate: function hydrate2(ids) {
1878
- ids.forEach(function(key) {
1879
- cache2.inserted[key] = true;
1880
- });
1881
- },
1882
- flush: function flush2() {
1883
- cache2.registered = {};
1884
- cache2.inserted = {};
1885
- cache2.sheet.flush();
1886
- },
1887
- // $FlowFixMe
1888
- sheet: cache2.sheet,
1889
- cache: cache2,
1890
- getRegisteredStyles: getRegisteredStyles.bind(null, cache2.registered),
1891
- merge: merge.bind(null, cache2.registered, css2)
1892
- };
1893
- };
1894
- var classnames = function classnames2(args) {
1895
- var cls = "";
1896
- for (var i = 0; i < args.length; i++) {
1897
- var arg = args[i];
1898
- if (arg == null)
1899
- continue;
1900
- var toAdd = void 0;
1901
- switch (typeof arg) {
1902
- case "boolean":
1903
- break;
1904
- case "object": {
1905
- if (Array.isArray(arg)) {
1906
- toAdd = classnames2(arg);
1907
- } else {
1908
- toAdd = "";
1909
- for (var k in arg) {
1910
- if (arg[k] && k) {
1911
- toAdd && (toAdd += " ");
1912
- toAdd += k;
1913
- }
1914
- }
1915
- }
1916
- break;
1917
- }
1918
- default: {
1919
- toAdd = arg;
1920
- }
1921
- }
1922
- if (toAdd) {
1923
- cls && (cls += " ");
1924
- cls += toAdd;
1925
- }
1926
- }
1927
- return cls;
1928
- };
1929
-
1930
- // ../../node_modules/.pnpm/@emotion+css@11.11.0/node_modules/@emotion/css/dist/emotion-css.esm.js
1931
- var _createEmotion = createEmotion({
1932
- key: "css"
1933
- });
1934
- _createEmotion.flush;
1935
- _createEmotion.hydrate;
1936
- var cx = _createEmotion.cx;
1937
- _createEmotion.merge;
1938
- _createEmotion.getRegisteredStyles;
1939
- _createEmotion.injectGlobal;
1940
- _createEmotion.keyframes;
1941
- var css = _createEmotion.css;
1942
- _createEmotion.sheet;
1943
- _createEmotion.cache;
1944
677
 
1945
678
  // ../../node_modules/.pnpm/@solid-primitives+transition-group@1.0.2_solid-js@1.7.8/node_modules/@solid-primitives/transition-group/dist/index.js
1946
679
  var noop = () => {
@@ -1948,8 +681,8 @@ var noop = () => {
1948
681
  function createListTransition(source, options) {
1949
682
  const initSource = untrack(source);
1950
683
  if (isServer) {
1951
- const copy3 = initSource.slice();
1952
- return () => copy3;
684
+ const copy2 = initSource.slice();
685
+ return () => copy2;
1953
686
  }
1954
687
  const { onChange } = options;
1955
688
  let prevSet = new Set(options.appear ? void 0 : initSource);
@@ -1957,29 +690,29 @@ function createListTransition(source, options) {
1957
690
  const [toRemove, setToRemove] = createSignal([], { equals: false });
1958
691
  const [isTransitionPending] = useTransition();
1959
692
  const finishRemoved = options.exitMethod === "remove" ? noop : (els) => {
1960
- setToRemove((p) => (p.push.apply(p, els), p));
693
+ setToRemove((p2) => (p2.push.apply(p2, els), p2));
1961
694
  for (const el of els)
1962
695
  exiting.delete(el);
1963
696
  };
1964
- const handleRemoved = options.exitMethod === "remove" ? noop : options.exitMethod === "keep-index" ? (els, el, i) => els.splice(i, 0, el) : (els, el) => els.push(el);
697
+ const handleRemoved = options.exitMethod === "remove" ? noop : options.exitMethod === "keep-index" ? (els, el, i2) => els.splice(i2, 0, el) : (els, el) => els.push(el);
1965
698
  return createMemo(
1966
- (prev2) => {
699
+ (prev) => {
1967
700
  const elsToRemove = toRemove();
1968
701
  const sourceList = source();
1969
702
  sourceList[$TRACK];
1970
703
  if (untrack(isTransitionPending)) {
1971
704
  isTransitionPending();
1972
- return prev2;
705
+ return prev;
1973
706
  }
1974
707
  if (elsToRemove.length) {
1975
- const next2 = prev2.filter((e) => !elsToRemove.includes(e));
708
+ const next = prev.filter((e2) => !elsToRemove.includes(e2));
1976
709
  elsToRemove.length = 0;
1977
- onChange({ list: next2, added: [], removed: [], unchanged: next2, finishRemoved });
1978
- return next2;
710
+ onChange({ list: next, added: [], removed: [], unchanged: next, finishRemoved });
711
+ return next;
1979
712
  }
1980
713
  return untrack(() => {
1981
714
  const nextSet = new Set(sourceList);
1982
- const next2 = sourceList.slice();
715
+ const next = sourceList.slice();
1983
716
  const added = [];
1984
717
  const removed = [];
1985
718
  const unchanged = [];
@@ -1987,23 +720,23 @@ function createListTransition(source, options) {
1987
720
  (prevSet.has(el) ? unchanged : added).push(el);
1988
721
  }
1989
722
  let nothingChanged = !added.length;
1990
- for (let i = 0; i < prev2.length; i++) {
1991
- const el = prev2[i];
723
+ for (let i2 = 0; i2 < prev.length; i2++) {
724
+ const el = prev[i2];
1992
725
  if (!nextSet.has(el)) {
1993
726
  if (!exiting.has(el)) {
1994
727
  removed.push(el);
1995
728
  exiting.add(el);
1996
729
  }
1997
- handleRemoved(next2, el, i);
730
+ handleRemoved(next, el, i2);
1998
731
  }
1999
- if (nothingChanged && el !== next2[i])
732
+ if (nothingChanged && el !== next[i2])
2000
733
  nothingChanged = false;
2001
734
  }
2002
735
  if (!removed.length && nothingChanged)
2003
- return prev2;
2004
- onChange({ list: next2, added, removed, unchanged, finishRemoved });
736
+ return prev;
737
+ onChange({ list: next, added, removed, unchanged, finishRemoved });
2005
738
  prevSet = nextSet;
2006
- return next2;
739
+ return next;
2007
740
  });
2008
741
  },
2009
742
  options.appear ? [] : initSource.slice()
@@ -2012,38 +745,38 @@ function createListTransition(source, options) {
2012
745
 
2013
746
  // ../../node_modules/.pnpm/@solid-primitives+utils@6.2.0_solid-js@1.7.8/node_modules/@solid-primitives/utils/dist/chunk/APG4HSEJ.js
2014
747
  var noop2 = () => void 0;
2015
- var isNonNullable = (i) => i != null;
748
+ var isNonNullable = (i2) => i2 != null;
2016
749
  var filterNonNullable = (arr) => arr.filter(isNonNullable);
2017
750
  var access = (v) => typeof v === "function" && !v.length ? v() : v;
2018
751
  var asArray = (value) => Array.isArray(value) ? value : value ? [value] : [];
2019
- function handleDiffArray(current, prev2, handleAdded, handleRemoved) {
752
+ function handleDiffArray(current, prev, handleAdded, handleRemoved) {
2020
753
  const currLength = current.length;
2021
- const prevLength = prev2.length;
2022
- let i = 0;
754
+ const prevLength = prev.length;
755
+ let i2 = 0;
2023
756
  if (!prevLength) {
2024
- for (; i < currLength; i++)
2025
- handleAdded(current[i]);
757
+ for (; i2 < currLength; i2++)
758
+ handleAdded(current[i2]);
2026
759
  return;
2027
760
  }
2028
761
  if (!currLength) {
2029
- for (; i < prevLength; i++)
2030
- handleRemoved(prev2[i]);
762
+ for (; i2 < prevLength; i2++)
763
+ handleRemoved(prev[i2]);
2031
764
  return;
2032
765
  }
2033
- for (; i < prevLength; i++) {
2034
- if (prev2[i] !== current[i])
766
+ for (; i2 < prevLength; i2++) {
767
+ if (prev[i2] !== current[i2])
2035
768
  break;
2036
769
  }
2037
770
  let prevEl;
2038
771
  let currEl;
2039
- prev2 = prev2.slice(i);
2040
- current = current.slice(i);
2041
- for (prevEl of prev2) {
772
+ prev = prev.slice(i2);
773
+ current = current.slice(i2);
774
+ for (prevEl of prev) {
2042
775
  if (!current.includes(prevEl))
2043
776
  handleRemoved(prevEl);
2044
777
  }
2045
778
  for (currEl of current) {
2046
- if (!prev2.includes(currEl))
779
+ if (!prev.includes(currEl))
2047
780
  handleAdded(currEl);
2048
781
  }
2049
782
  }
@@ -2096,8 +829,8 @@ function createClassnames(props) {
2096
829
  function nextFrame(fn) {
2097
830
  requestAnimationFrame(() => requestAnimationFrame(fn));
2098
831
  }
2099
- function enterTransition(classnames3, events, el, done) {
2100
- const { enterClasses, enterActiveClasses, enterToClasses } = classnames3, { onBeforeEnter, onEnter, onAfterEnter } = events;
832
+ function enterTransition(classnames, events, el, done) {
833
+ const { enterClasses, enterActiveClasses, enterToClasses } = classnames, { onBeforeEnter, onEnter, onAfterEnter } = events;
2101
834
  onBeforeEnter?.(el);
2102
835
  el.classList.add(...enterClasses);
2103
836
  el.classList.add(...enterActiveClasses);
@@ -2114,8 +847,8 @@ function enterTransition(classnames3, events, el, done) {
2114
847
  el.addEventListener("animationend", endTransition);
2115
848
  }
2116
849
  });
2117
- function endTransition(e) {
2118
- if (!e || e.target === el) {
850
+ function endTransition(e2) {
851
+ if (!e2 || e2.target === el) {
2119
852
  done?.();
2120
853
  el.removeEventListener("transitionend", endTransition);
2121
854
  el.removeEventListener("animationend", endTransition);
@@ -2125,8 +858,8 @@ function enterTransition(classnames3, events, el, done) {
2125
858
  }
2126
859
  }
2127
860
  }
2128
- function exitTransition(classnames3, events, el, done) {
2129
- const { exitClasses, exitActiveClasses, exitToClasses } = classnames3, { onBeforeExit, onExit, onAfterExit } = events;
861
+ function exitTransition(classnames, events, el, done) {
862
+ const { exitClasses, exitActiveClasses, exitToClasses } = classnames, { onBeforeExit, onExit, onAfterExit } = events;
2130
863
  if (!el.parentNode)
2131
864
  return done?.();
2132
865
  onBeforeExit?.(el);
@@ -2141,8 +874,8 @@ function exitTransition(classnames3, events, el, done) {
2141
874
  el.addEventListener("animationend", endTransition);
2142
875
  }
2143
876
  });
2144
- function endTransition(e) {
2145
- if (!e || e.target === el) {
877
+ function endTransition(e2) {
878
+ if (!e2 || e2.target === el) {
2146
879
  done?.();
2147
880
  el.removeEventListener("transitionend", endTransition);
2148
881
  el.removeEventListener("animationend", endTransition);
@@ -2153,12 +886,12 @@ function exitTransition(classnames3, events, el, done) {
2153
886
  }
2154
887
  }
2155
888
  var TransitionGroup = (props) => {
2156
- const classnames3 = createClassnames(props);
889
+ const classnames = createClassnames(props);
2157
890
  return createListTransition(resolveElements(() => props.children).toArray, {
2158
891
  appear: props.appear,
2159
892
  exitMethod: "keep-index",
2160
893
  onChange({ added, removed, finishRemoved, list }) {
2161
- const classes = classnames3();
894
+ const classes = classnames();
2162
895
  for (const el of added) {
2163
896
  enterTransition(classes, props, el);
2164
897
  }
@@ -2182,8 +915,8 @@ var TransitionGroup = (props) => {
2182
915
  }
2183
916
  document.body.offsetHeight;
2184
917
  for (const el of moved) {
2185
- let endTransition2 = function(e) {
2186
- if (e.target === el || /transform$/.test(e.propertyName)) {
918
+ let endTransition2 = function(e2) {
919
+ if (e2.target === el || /transform$/.test(e2.propertyName)) {
2187
920
  el.removeEventListener("transitionend", endTransition2);
2188
921
  el.classList.remove(...classes.moveClasses);
2189
922
  }
@@ -2203,86 +936,86 @@ var TransitionGroup = (props) => {
2203
936
  // ../../node_modules/.pnpm/@solid-primitives+keyed@1.2.0_solid-js@1.7.8/node_modules/@solid-primitives/keyed/dist/index.js
2204
937
  var FALLBACK = Symbol("fallback");
2205
938
  function dispose(list) {
2206
- for (const o of list)
2207
- o.dispose();
939
+ for (const o2 of list)
940
+ o2.dispose();
2208
941
  }
2209
942
  function keyArray(items, keyFn, mapFn, options = {}) {
2210
943
  if (isServer) {
2211
944
  const itemsRef = items();
2212
- let s = [];
945
+ let s2 = [];
2213
946
  if (itemsRef && itemsRef.length) {
2214
- for (let i = 0, len = itemsRef.length; i < len; i++)
2215
- s.push(
947
+ for (let i2 = 0, len = itemsRef.length; i2 < len; i2++)
948
+ s2.push(
2216
949
  mapFn(
2217
- () => itemsRef[i],
2218
- () => i
950
+ () => itemsRef[i2],
951
+ () => i2
2219
952
  )
2220
953
  );
2221
954
  } else if (options.fallback)
2222
- s = [options.fallback()];
2223
- return () => s;
955
+ s2 = [options.fallback()];
956
+ return () => s2;
2224
957
  }
2225
- const prev2 = /* @__PURE__ */ new Map();
2226
- onCleanup(() => dispose(prev2.values()));
958
+ const prev = /* @__PURE__ */ new Map();
959
+ onCleanup(() => dispose(prev.values()));
2227
960
  return () => {
2228
961
  const list = items() || [];
2229
962
  list[$TRACK];
2230
963
  return untrack(() => {
2231
964
  if (!list.length) {
2232
- dispose(prev2.values());
2233
- prev2.clear();
965
+ dispose(prev.values());
966
+ prev.clear();
2234
967
  if (!options.fallback)
2235
968
  return [];
2236
969
  const fb2 = createRoot((dispose2) => {
2237
- prev2.set(FALLBACK, { dispose: dispose2 });
970
+ prev.set(FALLBACK, { dispose: dispose2 });
2238
971
  return options.fallback();
2239
972
  });
2240
973
  return [fb2];
2241
974
  }
2242
975
  const result = new Array(list.length);
2243
- const fb = prev2.get(FALLBACK);
2244
- if (!prev2.size || fb) {
976
+ const fb = prev.get(FALLBACK);
977
+ if (!prev.size || fb) {
2245
978
  fb?.dispose();
2246
- prev2.delete(FALLBACK);
2247
- for (let i = 0; i < list.length; i++) {
2248
- const item = list[i];
2249
- const key = keyFn(item, i);
2250
- addNewItem(result, item, i, key);
979
+ prev.delete(FALLBACK);
980
+ for (let i2 = 0; i2 < list.length; i2++) {
981
+ const item = list[i2];
982
+ const key = keyFn(item, i2);
983
+ addNewItem(result, item, i2, key);
2251
984
  }
2252
985
  return result;
2253
986
  }
2254
- const prevKeys = new Set(prev2.keys());
2255
- for (let i = 0; i < list.length; i++) {
2256
- const item = list[i];
2257
- const key = keyFn(item, i);
987
+ const prevKeys = new Set(prev.keys());
988
+ for (let i2 = 0; i2 < list.length; i2++) {
989
+ const item = list[i2];
990
+ const key = keyFn(item, i2);
2258
991
  prevKeys.delete(key);
2259
- const lookup = prev2.get(key);
992
+ const lookup = prev.get(key);
2260
993
  if (lookup) {
2261
- result[i] = lookup.mapped;
2262
- lookup.setIndex?.(i);
994
+ result[i2] = lookup.mapped;
995
+ lookup.setIndex?.(i2);
2263
996
  lookup.setItem(() => item);
2264
997
  } else
2265
- addNewItem(result, item, i, key);
998
+ addNewItem(result, item, i2, key);
2266
999
  }
2267
1000
  for (const key of prevKeys) {
2268
- prev2.get(key)?.dispose();
2269
- prev2.delete(key);
1001
+ prev.get(key)?.dispose();
1002
+ prev.delete(key);
2270
1003
  }
2271
1004
  return result;
2272
1005
  });
2273
1006
  };
2274
- function addNewItem(list, item, i, key) {
1007
+ function addNewItem(list, item, i2, key) {
2275
1008
  createRoot((dispose2) => {
2276
1009
  const [getItem, setItem] = createSignal(item);
2277
1010
  const save = { setItem, dispose: dispose2 };
2278
1011
  if (mapFn.length > 1) {
2279
- const [index, setIndex] = createSignal(i);
1012
+ const [index, setIndex] = createSignal(i2);
2280
1013
  save.setIndex = setIndex;
2281
1014
  save.mapped = mapFn(getItem, index);
2282
1015
  } else
2283
1016
  save.mapped = mapFn(getItem);
2284
- prev2.set(key, save);
2285
- list[i] = save.mapped;
1017
+ prev.set(key, save);
1018
+ list[i2] = save.mapped;
2286
1019
  });
2287
1020
  }
2288
1021
  }
@@ -2308,27 +1041,27 @@ function createStorage(props) {
2308
1041
  setError(err instanceof Error ? err : new Error(fallback));
2309
1042
  };
2310
1043
  const apis = props?.api ? Array.isArray(props.api) ? props.api : [props.api] : [globalThis.localStorage].filter(Boolean);
2311
- const prefix2 = props?.prefix ? `${props.prefix}.` : "";
1044
+ const prefix = props?.prefix ? `${props.prefix}.` : "";
2312
1045
  const signals = /* @__PURE__ */ new Map();
2313
1046
  const store = new Proxy(
2314
1047
  {},
2315
1048
  {
2316
1049
  get(_, key) {
2317
- let node2 = signals.get(key);
2318
- if (!node2) {
2319
- node2 = createSignal(void 0, { equals: false });
2320
- signals.set(key, node2);
1050
+ let node = signals.get(key);
1051
+ if (!node) {
1052
+ node = createSignal(void 0, { equals: false });
1053
+ signals.set(key, node);
2321
1054
  }
2322
- node2[0]();
1055
+ node[0]();
2323
1056
  const value = apis.reduce(
2324
1057
  (result, api) => {
2325
1058
  if (result !== null || !api) {
2326
1059
  return result;
2327
1060
  }
2328
1061
  try {
2329
- return api.getItem(`${prefix2}${key}`);
1062
+ return api.getItem(`${prefix}${key}`);
2330
1063
  } catch (err) {
2331
- handleError(err, `Error reading ${prefix2}${key} from ${api["name"]}`);
1064
+ handleError(err, `Error reading ${prefix}${key} from ${api["name"]}`);
2332
1065
  return null;
2333
1066
  }
2334
1067
  },
@@ -2343,22 +1076,22 @@ function createStorage(props) {
2343
1076
  );
2344
1077
  const setter = (key, value, options) => {
2345
1078
  const filteredValue = props?.serializer ? props.serializer(value, key, options ?? props.options) : value;
2346
- const apiKey = `${prefix2}${key}`;
1079
+ const apiKey = `${prefix}${key}`;
2347
1080
  apis.forEach((api) => {
2348
1081
  try {
2349
1082
  api.getItem(apiKey) !== filteredValue && api.setItem(apiKey, filteredValue);
2350
1083
  } catch (err) {
2351
- handleError(err, `Error setting ${prefix2}${key} to ${filteredValue} in ${api.name}`);
1084
+ handleError(err, `Error setting ${prefix}${key} to ${filteredValue} in ${api.name}`);
2352
1085
  }
2353
1086
  });
2354
- const node2 = signals.get(key);
2355
- node2 && node2[1]();
1087
+ const node = signals.get(key);
1088
+ node && node[1]();
2356
1089
  };
2357
1090
  const remove = (key) => apis.forEach((api) => {
2358
1091
  try {
2359
- api.removeItem(`${prefix2}${key}`);
1092
+ api.removeItem(`${prefix}${key}`);
2360
1093
  } catch (err) {
2361
- handleError(err, `Error removing ${prefix2}${key} from ${api.name}`);
1094
+ handleError(err, `Error removing ${prefix}${key} from ${api.name}`);
2362
1095
  }
2363
1096
  });
2364
1097
  const clear = () => apis.forEach((api) => {
@@ -2505,15 +1238,15 @@ var cookieStorage = addClearMethod({
2505
1238
  return key;
2506
1239
  },
2507
1240
  get length() {
2508
- let length2 = 0;
1241
+ let length = 0;
2509
1242
  cookieStorage._cookies[0][cookieStorage._cookies[1]].replace(
2510
1243
  /(?:^|;)\s*.+?\s*=\s*[^;]+/g,
2511
1244
  (found) => {
2512
- length2 += found ? 1 : 0;
1245
+ length += found ? 1 : 0;
2513
1246
  return "";
2514
1247
  }
2515
1248
  );
2516
- return length2;
1249
+ return length;
2517
1250
  }
2518
1251
  });
2519
1252
 
@@ -2541,9 +1274,9 @@ function createResizeObserver(targets, onResize, options) {
2541
1274
  }
2542
1275
  }
2543
1276
  }, options);
2544
- createEffect((prev2) => {
1277
+ createEffect((prev) => {
2545
1278
  const refs = filterNonNullable(asArray(access(targets)));
2546
- handleDiffArray(refs, prev2, observe, unobserve);
1279
+ handleDiffArray(refs, prev, observe, unobserve);
2547
1280
  return refs;
2548
1281
  }, []);
2549
1282
  }
@@ -2888,14 +1621,14 @@ var Registry = (
2888
1621
  this.generateIdentifier = generateIdentifier;
2889
1622
  this.kv = new DoubleIndexedKV();
2890
1623
  }
2891
- Registry2.prototype.register = function(value, identifier2) {
1624
+ Registry2.prototype.register = function(value, identifier) {
2892
1625
  if (this.kv.getByValue(value)) {
2893
1626
  return;
2894
1627
  }
2895
- if (!identifier2) {
2896
- identifier2 = this.generateIdentifier(value);
1628
+ if (!identifier) {
1629
+ identifier = this.generateIdentifier(value);
2897
1630
  }
2898
- this.kv.set(identifier2, value);
1631
+ this.kv.set(identifier, value);
2899
1632
  };
2900
1633
  Registry2.prototype.clear = function() {
2901
1634
  this.kv.clear();
@@ -2903,8 +1636,8 @@ var Registry = (
2903
1636
  Registry2.prototype.getIdentifier = function(value) {
2904
1637
  return this.kv.getByValue(value);
2905
1638
  };
2906
- Registry2.prototype.getValue = function(identifier2) {
2907
- return this.kv.getByKey(identifier2);
1639
+ Registry2.prototype.getValue = function(identifier) {
1640
+ return this.kv.getByKey(identifier);
2908
1641
  };
2909
1642
  return Registry2;
2910
1643
  }()
@@ -2912,24 +1645,24 @@ var Registry = (
2912
1645
 
2913
1646
  // ../../node_modules/.pnpm/superjson@1.12.4/node_modules/superjson/dist/esm/class-registry.js
2914
1647
  var __extends = function() {
2915
- var extendStatics = function(d, b) {
2916
- extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d2, b2) {
2917
- d2.__proto__ = b2;
2918
- } || function(d2, b2) {
2919
- for (var p in b2)
2920
- if (Object.prototype.hasOwnProperty.call(b2, p))
2921
- d2[p] = b2[p];
1648
+ var extendStatics = function(d, b2) {
1649
+ extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d2, b3) {
1650
+ d2.__proto__ = b3;
1651
+ } || function(d2, b3) {
1652
+ for (var p2 in b3)
1653
+ if (Object.prototype.hasOwnProperty.call(b3, p2))
1654
+ d2[p2] = b3[p2];
2922
1655
  };
2923
- return extendStatics(d, b);
1656
+ return extendStatics(d, b2);
2924
1657
  };
2925
- return function(d, b) {
2926
- if (typeof b !== "function" && b !== null)
2927
- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
2928
- extendStatics(d, b);
1658
+ return function(d, b2) {
1659
+ if (typeof b2 !== "function" && b2 !== null)
1660
+ throw new TypeError("Class extends value " + String(b2) + " is not a constructor or null");
1661
+ extendStatics(d, b2);
2929
1662
  function __() {
2930
1663
  this.constructor = d;
2931
1664
  }
2932
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
1665
+ d.prototype = b2 === null ? Object.create(b2) : (__.prototype = b2.prototype, new __());
2933
1666
  };
2934
1667
  }();
2935
1668
  var ClassRegistry = (
@@ -2937,8 +1670,8 @@ var ClassRegistry = (
2937
1670
  function(_super) {
2938
1671
  __extends(ClassRegistry2, _super);
2939
1672
  function ClassRegistry2() {
2940
- var _this = _super.call(this, function(c) {
2941
- return c.name;
1673
+ var _this = _super.call(this, function(c2) {
1674
+ return c2.name;
2942
1675
  }) || this;
2943
1676
  _this.classToAllowedProps = /* @__PURE__ */ new Map();
2944
1677
  return _this;
@@ -2961,23 +1694,23 @@ var ClassRegistry = (
2961
1694
  );
2962
1695
 
2963
1696
  // ../../node_modules/.pnpm/superjson@1.12.4/node_modules/superjson/dist/esm/util.js
2964
- var __read = function(o, n) {
2965
- var m = typeof Symbol === "function" && o[Symbol.iterator];
1697
+ var __read = function(o2, n2) {
1698
+ var m = typeof Symbol === "function" && o2[Symbol.iterator];
2966
1699
  if (!m)
2967
- return o;
2968
- var i = m.call(o), r, ar = [], e;
1700
+ return o2;
1701
+ var i2 = m.call(o2), r2, ar = [], e2;
2969
1702
  try {
2970
- while ((n === void 0 || n-- > 0) && !(r = i.next()).done)
2971
- ar.push(r.value);
1703
+ while ((n2 === void 0 || n2-- > 0) && !(r2 = i2.next()).done)
1704
+ ar.push(r2.value);
2972
1705
  } catch (error) {
2973
- e = { error };
1706
+ e2 = { error };
2974
1707
  } finally {
2975
1708
  try {
2976
- if (r && !r.done && (m = i["return"]))
2977
- m.call(i);
1709
+ if (r2 && !r2.done && (m = i2["return"]))
1710
+ m.call(i2);
2978
1711
  } finally {
2979
- if (e)
2980
- throw e.error;
1712
+ if (e2)
1713
+ throw e2.error;
2981
1714
  }
2982
1715
  }
2983
1716
  return ar;
@@ -3000,8 +1733,8 @@ function find(record, predicate) {
3000
1733
  return values.find(predicate);
3001
1734
  }
3002
1735
  var valuesNotNever = values;
3003
- for (var i = 0; i < valuesNotNever.length; i++) {
3004
- var value = valuesNotNever[i];
1736
+ for (var i2 = 0; i2 < valuesNotNever.length; i2++) {
1737
+ var value = valuesNotNever[i2];
3005
1738
  if (predicate(value)) {
3006
1739
  return value;
3007
1740
  }
@@ -3018,8 +1751,8 @@ function includes(arr, value) {
3018
1751
  return arr.indexOf(value) !== -1;
3019
1752
  }
3020
1753
  function findArr(record, predicate) {
3021
- for (var i = 0; i < record.length; i++) {
3022
- var value = record[i];
1754
+ for (var i2 = 0; i2 < record.length; i2++) {
1755
+ var value = record[i2];
3023
1756
  if (predicate(value)) {
3024
1757
  return value;
3025
1758
  }
@@ -3130,21 +1863,21 @@ var stringifyPath = function(path) {
3130
1863
  var parsePath = function(string) {
3131
1864
  var result = [];
3132
1865
  var segment = "";
3133
- for (var i = 0; i < string.length; i++) {
3134
- var char2 = string.charAt(i);
3135
- var isEscapedDot = char2 === "\\" && string.charAt(i + 1) === ".";
1866
+ for (var i2 = 0; i2 < string.length; i2++) {
1867
+ var char = string.charAt(i2);
1868
+ var isEscapedDot = char === "\\" && string.charAt(i2 + 1) === ".";
3136
1869
  if (isEscapedDot) {
3137
1870
  segment += ".";
3138
- i++;
1871
+ i2++;
3139
1872
  continue;
3140
1873
  }
3141
- var isEndOfSegment = char2 === ".";
1874
+ var isEndOfSegment = char === ".";
3142
1875
  if (isEndOfSegment) {
3143
1876
  result.push(segment);
3144
1877
  segment = "";
3145
1878
  continue;
3146
1879
  }
3147
- segment += char2;
1880
+ segment += char;
3148
1881
  }
3149
1882
  var lastSegment = segment;
3150
1883
  result.push(lastSegment);
@@ -3153,41 +1886,41 @@ var parsePath = function(string) {
3153
1886
 
3154
1887
  // ../../node_modules/.pnpm/superjson@1.12.4/node_modules/superjson/dist/esm/transformer.js
3155
1888
  var __assign = function() {
3156
- __assign = Object.assign || function(t) {
3157
- for (var s, i = 1, n = arguments.length; i < n; i++) {
3158
- s = arguments[i];
3159
- for (var p in s)
3160
- if (Object.prototype.hasOwnProperty.call(s, p))
3161
- t[p] = s[p];
1889
+ __assign = Object.assign || function(t2) {
1890
+ for (var s2, i2 = 1, n2 = arguments.length; i2 < n2; i2++) {
1891
+ s2 = arguments[i2];
1892
+ for (var p2 in s2)
1893
+ if (Object.prototype.hasOwnProperty.call(s2, p2))
1894
+ t2[p2] = s2[p2];
3162
1895
  }
3163
- return t;
1896
+ return t2;
3164
1897
  };
3165
1898
  return __assign.apply(this, arguments);
3166
1899
  };
3167
- var __read2 = function(o, n) {
3168
- var m = typeof Symbol === "function" && o[Symbol.iterator];
1900
+ var __read2 = function(o2, n2) {
1901
+ var m = typeof Symbol === "function" && o2[Symbol.iterator];
3169
1902
  if (!m)
3170
- return o;
3171
- var i = m.call(o), r, ar = [], e;
1903
+ return o2;
1904
+ var i2 = m.call(o2), r2, ar = [], e2;
3172
1905
  try {
3173
- while ((n === void 0 || n-- > 0) && !(r = i.next()).done)
3174
- ar.push(r.value);
1906
+ while ((n2 === void 0 || n2-- > 0) && !(r2 = i2.next()).done)
1907
+ ar.push(r2.value);
3175
1908
  } catch (error) {
3176
- e = { error };
1909
+ e2 = { error };
3177
1910
  } finally {
3178
1911
  try {
3179
- if (r && !r.done && (m = i["return"]))
3180
- m.call(i);
1912
+ if (r2 && !r2.done && (m = i2["return"]))
1913
+ m.call(i2);
3181
1914
  } finally {
3182
- if (e)
3183
- throw e.error;
1915
+ if (e2)
1916
+ throw e2.error;
3184
1917
  }
3185
1918
  }
3186
1919
  return ar;
3187
1920
  };
3188
- var __spreadArray = function(to, from2) {
3189
- for (var i = 0, il = from2.length, j = to.length; i < il; i++, j++)
3190
- to[j] = from2[i];
1921
+ var __spreadArray = function(to, from) {
1922
+ for (var i2 = 0, il = from.length, j = to.length; i2 < il; i2++, j++)
1923
+ to[j] = from[i2];
3191
1924
  return to;
3192
1925
  };
3193
1926
  function simpleTransformation(isApplicable, annotation, transform, untransform) {
@@ -3228,13 +1961,13 @@ var simpleRules = [
3228
1961
  });
3229
1962
  return baseError;
3230
1963
  }, function(v, superJson) {
3231
- var e = new Error(v.message);
3232
- e.name = v.name;
3233
- e.stack = v.stack;
1964
+ var e2 = new Error(v.message);
1965
+ e2.name = v.name;
1966
+ e2.stack = v.stack;
3234
1967
  superJson.allowedErrorProps.forEach(function(prop) {
3235
- e[prop] = v[prop];
1968
+ e2[prop] = v[prop];
3236
1969
  });
3237
- return e;
1970
+ return e2;
3238
1971
  }),
3239
1972
  simpleTransformation(isRegExp, "regexp", function(v) {
3240
1973
  return "" + v;
@@ -3291,19 +2024,19 @@ function compositeTransformation(isApplicable, annotation, transform, untransfor
3291
2024
  untransform
3292
2025
  };
3293
2026
  }
3294
- var symbolRule = compositeTransformation(function(s, superJson) {
3295
- if (isSymbol(s)) {
3296
- var isRegistered = !!superJson.symbolRegistry.getIdentifier(s);
2027
+ var symbolRule = compositeTransformation(function(s2, superJson) {
2028
+ if (isSymbol(s2)) {
2029
+ var isRegistered = !!superJson.symbolRegistry.getIdentifier(s2);
3297
2030
  return isRegistered;
3298
2031
  }
3299
2032
  return false;
3300
- }, function(s, superJson) {
3301
- var identifier2 = superJson.symbolRegistry.getIdentifier(s);
3302
- return ["symbol", identifier2];
2033
+ }, function(s2, superJson) {
2034
+ var identifier = superJson.symbolRegistry.getIdentifier(s2);
2035
+ return ["symbol", identifier];
3303
2036
  }, function(v) {
3304
2037
  return v.description;
3305
- }, function(_, a, superJson) {
3306
- var value = superJson.symbolRegistry.getValue(a[1]);
2038
+ }, function(_, a2, superJson) {
2039
+ var value = superJson.symbolRegistry.getValue(a2[1]);
3307
2040
  if (!value) {
3308
2041
  throw new Error("Trying to deserialize unknown symbol");
3309
2042
  }
@@ -3327,8 +2060,8 @@ var typedArrayRule = compositeTransformation(isTypedArray, function(v) {
3327
2060
  return ["typed-array", v.constructor.name];
3328
2061
  }, function(v) {
3329
2062
  return __spreadArray([], __read2(v));
3330
- }, function(v, a) {
3331
- var ctor = constructorToName[a[1]];
2063
+ }, function(v, a2) {
2064
+ var ctor = constructorToName[a2[1]];
3332
2065
  if (!ctor) {
3333
2066
  throw new Error("Trying to deserialize unknown typed array");
3334
2067
  }
@@ -3342,8 +2075,8 @@ function isInstanceOfRegisteredClass(potentialClass, superJson) {
3342
2075
  return false;
3343
2076
  }
3344
2077
  var classRule = compositeTransformation(isInstanceOfRegisteredClass, function(clazz, superJson) {
3345
- var identifier2 = superJson.classRegistry.getIdentifier(clazz.constructor);
3346
- return ["class", identifier2];
2078
+ var identifier = superJson.classRegistry.getIdentifier(clazz.constructor);
2079
+ return ["class", identifier];
3347
2080
  }, function(clazz, superJson) {
3348
2081
  var allowedProps = superJson.classRegistry.getAllowedProps(clazz.constructor);
3349
2082
  if (!allowedProps) {
@@ -3354,8 +2087,8 @@ var classRule = compositeTransformation(isInstanceOfRegisteredClass, function(cl
3354
2087
  result[prop] = clazz[prop];
3355
2088
  });
3356
2089
  return result;
3357
- }, function(v, a, superJson) {
3358
- var clazz = superJson.classRegistry.getValue(a[1]);
2090
+ }, function(v, a2, superJson) {
2091
+ var clazz = superJson.classRegistry.getValue(a2[1]);
3359
2092
  if (!clazz) {
3360
2093
  throw new Error("Trying to deserialize unknown class - check https://github.com/blitz-js/superjson/issues/116#issuecomment-773996564");
3361
2094
  }
@@ -3369,8 +2102,8 @@ var customRule = compositeTransformation(function(value, superJson) {
3369
2102
  }, function(value, superJson) {
3370
2103
  var transformer = superJson.customTransformerRegistry.findApplicable(value);
3371
2104
  return transformer.serialize(value);
3372
- }, function(v, a, superJson) {
3373
- var transformer = superJson.customTransformerRegistry.findByName(a[1]);
2105
+ }, function(v, a2, superJson) {
2106
+ var transformer = superJson.customTransformerRegistry.findByName(a2[1]);
3374
2107
  if (!transformer) {
3375
2108
  throw new Error("Trying to deserialize unknown custom value");
3376
2109
  }
@@ -3426,11 +2159,11 @@ var untransformValue = function(json, type, superJson) {
3426
2159
  };
3427
2160
 
3428
2161
  // ../../node_modules/.pnpm/superjson@1.12.4/node_modules/superjson/dist/esm/accessDeep.js
3429
- var getNthKey = function(value, n) {
2162
+ var getNthKey = function(value, n2) {
3430
2163
  var keys2 = value.keys();
3431
- while (n > 0) {
2164
+ while (n2 > 0) {
3432
2165
  keys2.next();
3433
- n--;
2166
+ n2--;
3434
2167
  }
3435
2168
  return keys2.next().value;
3436
2169
  };
@@ -3447,13 +2180,13 @@ function validatePath(path) {
3447
2180
  }
3448
2181
  var getDeep = function(object, path) {
3449
2182
  validatePath(path);
3450
- for (var i = 0; i < path.length; i++) {
3451
- var key = path[i];
2183
+ for (var i2 = 0; i2 < path.length; i2++) {
2184
+ var key = path[i2];
3452
2185
  if (isSet(object)) {
3453
2186
  object = getNthKey(object, +key);
3454
2187
  } else if (isMap(object)) {
3455
2188
  var row = +key;
3456
- var type = +path[++i] === 0 ? "key" : "value";
2189
+ var type = +path[++i2] === 0 ? "key" : "value";
3457
2190
  var keyOfRow = getNthKey(object, row);
3458
2191
  switch (type) {
3459
2192
  case "key":
@@ -3475,8 +2208,8 @@ var setDeep = function(object, path, mapper) {
3475
2208
  return mapper(object);
3476
2209
  }
3477
2210
  var parent = object;
3478
- for (var i = 0; i < path.length - 1; i++) {
3479
- var key = path[i];
2211
+ for (var i2 = 0; i2 < path.length - 1; i2++) {
2212
+ var key = path[i2];
3480
2213
  if (isArray(parent)) {
3481
2214
  var index = +key;
3482
2215
  parent = parent[index];
@@ -3486,12 +2219,12 @@ var setDeep = function(object, path, mapper) {
3486
2219
  var row = +key;
3487
2220
  parent = getNthKey(parent, row);
3488
2221
  } else if (isMap(parent)) {
3489
- var isEnd = i === path.length - 2;
2222
+ var isEnd = i2 === path.length - 2;
3490
2223
  if (isEnd) {
3491
2224
  break;
3492
2225
  }
3493
2226
  var row = +key;
3494
- var type = +path[++i] === 0 ? "key" : "value";
2227
+ var type = +path[++i2] === 0 ? "key" : "value";
3495
2228
  var keyOfRow = getNthKey(parent, row);
3496
2229
  switch (type) {
3497
2230
  case "key":
@@ -3540,30 +2273,30 @@ var setDeep = function(object, path, mapper) {
3540
2273
  };
3541
2274
 
3542
2275
  // ../../node_modules/.pnpm/superjson@1.12.4/node_modules/superjson/dist/esm/plainer.js
3543
- var __read3 = function(o, n) {
3544
- var m = typeof Symbol === "function" && o[Symbol.iterator];
2276
+ var __read3 = function(o2, n2) {
2277
+ var m = typeof Symbol === "function" && o2[Symbol.iterator];
3545
2278
  if (!m)
3546
- return o;
3547
- var i = m.call(o), r, ar = [], e;
2279
+ return o2;
2280
+ var i2 = m.call(o2), r2, ar = [], e2;
3548
2281
  try {
3549
- while ((n === void 0 || n-- > 0) && !(r = i.next()).done)
3550
- ar.push(r.value);
2282
+ while ((n2 === void 0 || n2-- > 0) && !(r2 = i2.next()).done)
2283
+ ar.push(r2.value);
3551
2284
  } catch (error) {
3552
- e = { error };
2285
+ e2 = { error };
3553
2286
  } finally {
3554
2287
  try {
3555
- if (r && !r.done && (m = i["return"]))
3556
- m.call(i);
2288
+ if (r2 && !r2.done && (m = i2["return"]))
2289
+ m.call(i2);
3557
2290
  } finally {
3558
- if (e)
3559
- throw e.error;
2291
+ if (e2)
2292
+ throw e2.error;
3560
2293
  }
3561
2294
  }
3562
2295
  return ar;
3563
2296
  };
3564
- var __spreadArray2 = function(to, from2) {
3565
- for (var i = 0, il = from2.length, j = to.length; i < il; i++, j++)
3566
- to[j] = from2[i];
2297
+ var __spreadArray2 = function(to, from) {
2298
+ for (var i2 = 0, il = from.length, j = to.length; i2 < il; i2++, j++)
2299
+ to[j] = from[i2];
3567
2300
  return to;
3568
2301
  };
3569
2302
  function traverse(tree, walker2, origin) {
@@ -3639,8 +2372,8 @@ function generateReferentialEqualityAnnotations(identitites) {
3639
2372
  }
3640
2373
  var _a = __read3(paths.map(function(path) {
3641
2374
  return path.map(String);
3642
- }).sort(function(a, b) {
3643
- return a.length - b.length;
2375
+ }).sort(function(a2, b2) {
2376
+ return a2.length - b2.length;
3644
2377
  })), shortestPath = _a[0], identicalPaths = _a.slice(1);
3645
2378
  if (shortestPath.length === 0) {
3646
2379
  rootEqualityPaths = identicalPaths.map(stringifyPath);
@@ -3746,9 +2479,9 @@ function assignProp(carry, key, newVal, originalObject, includeNonenumerable) {
3746
2479
  });
3747
2480
  }
3748
2481
  }
3749
- function copy2(target, options = {}) {
2482
+ function copy(target, options = {}) {
3750
2483
  if (isArray2(target)) {
3751
- return target.map((item) => copy2(item, options));
2484
+ return target.map((item) => copy(item, options));
3752
2485
  }
3753
2486
  if (!isPlainObject2(target)) {
3754
2487
  return target;
@@ -3760,7 +2493,7 @@ function copy2(target, options = {}) {
3760
2493
  return carry;
3761
2494
  }
3762
2495
  const val = target[key];
3763
- const newVal = copy2(val, options);
2496
+ const newVal = copy(val, options);
3764
2497
  assignProp(carry, key, newVal, target, options.nonenumerable);
3765
2498
  return carry;
3766
2499
  }, {});
@@ -3768,41 +2501,41 @@ function copy2(target, options = {}) {
3768
2501
 
3769
2502
  // ../../node_modules/.pnpm/superjson@1.12.4/node_modules/superjson/dist/esm/index.js
3770
2503
  var __assign2 = function() {
3771
- __assign2 = Object.assign || function(t) {
3772
- for (var s, i = 1, n = arguments.length; i < n; i++) {
3773
- s = arguments[i];
3774
- for (var p in s)
3775
- if (Object.prototype.hasOwnProperty.call(s, p))
3776
- t[p] = s[p];
2504
+ __assign2 = Object.assign || function(t2) {
2505
+ for (var s2, i2 = 1, n2 = arguments.length; i2 < n2; i2++) {
2506
+ s2 = arguments[i2];
2507
+ for (var p2 in s2)
2508
+ if (Object.prototype.hasOwnProperty.call(s2, p2))
2509
+ t2[p2] = s2[p2];
3777
2510
  }
3778
- return t;
2511
+ return t2;
3779
2512
  };
3780
2513
  return __assign2.apply(this, arguments);
3781
2514
  };
3782
- var __read4 = function(o, n) {
3783
- var m = typeof Symbol === "function" && o[Symbol.iterator];
2515
+ var __read4 = function(o2, n2) {
2516
+ var m = typeof Symbol === "function" && o2[Symbol.iterator];
3784
2517
  if (!m)
3785
- return o;
3786
- var i = m.call(o), r, ar = [], e;
2518
+ return o2;
2519
+ var i2 = m.call(o2), r2, ar = [], e2;
3787
2520
  try {
3788
- while ((n === void 0 || n-- > 0) && !(r = i.next()).done)
3789
- ar.push(r.value);
2521
+ while ((n2 === void 0 || n2-- > 0) && !(r2 = i2.next()).done)
2522
+ ar.push(r2.value);
3790
2523
  } catch (error) {
3791
- e = { error };
2524
+ e2 = { error };
3792
2525
  } finally {
3793
2526
  try {
3794
- if (r && !r.done && (m = i["return"]))
3795
- m.call(i);
2527
+ if (r2 && !r2.done && (m = i2["return"]))
2528
+ m.call(i2);
3796
2529
  } finally {
3797
- if (e)
3798
- throw e.error;
2530
+ if (e2)
2531
+ throw e2.error;
3799
2532
  }
3800
2533
  }
3801
2534
  return ar;
3802
2535
  };
3803
- var __spreadArray3 = function(to, from2) {
3804
- for (var i = 0, il = from2.length, j = to.length; i < il; i++, j++)
3805
- to[j] = from2[i];
2536
+ var __spreadArray3 = function(to, from) {
2537
+ for (var i2 = 0, il = from.length, j = to.length; i2 < il; i2++, j++)
2538
+ to[j] = from[i2];
3806
2539
  return to;
3807
2540
  };
3808
2541
  var SuperJSON = (
@@ -3810,9 +2543,9 @@ var SuperJSON = (
3810
2543
  function() {
3811
2544
  function SuperJSON2() {
3812
2545
  this.classRegistry = new ClassRegistry();
3813
- this.symbolRegistry = new Registry(function(s) {
2546
+ this.symbolRegistry = new Registry(function(s2) {
3814
2547
  var _a;
3815
- return (_a = s.description) !== null && _a !== void 0 ? _a : "";
2548
+ return (_a = s2.description) !== null && _a !== void 0 ? _a : "";
3816
2549
  });
3817
2550
  this.customTransformerRegistry = new CustomTransformerRegistry();
3818
2551
  this.allowedErrorProps = [];
@@ -3834,7 +2567,7 @@ var SuperJSON = (
3834
2567
  };
3835
2568
  SuperJSON2.prototype.deserialize = function(payload) {
3836
2569
  var json = payload.json, meta = payload.meta;
3837
- var result = copy2(json);
2570
+ var result = copy(json);
3838
2571
  if (meta === null || meta === void 0 ? void 0 : meta.values) {
3839
2572
  result = applyValueAnnotations(result, meta.values, this);
3840
2573
  }
@@ -3852,8 +2585,8 @@ var SuperJSON = (
3852
2585
  SuperJSON2.prototype.registerClass = function(v, options) {
3853
2586
  this.classRegistry.register(v, options);
3854
2587
  };
3855
- SuperJSON2.prototype.registerSymbol = function(v, identifier2) {
3856
- this.symbolRegistry.register(v, identifier2);
2588
+ SuperJSON2.prototype.registerSymbol = function(v, identifier) {
2589
+ this.symbolRegistry.register(v, identifier);
3857
2590
  };
3858
2591
  SuperJSON2.prototype.registerCustom = function(transformer, name) {
3859
2592
  this.customTransformerRegistry.register(__assign2({ name }, transformer));
@@ -3878,9 +2611,9 @@ var SuperJSON = (
3878
2611
  return SuperJSON2;
3879
2612
  }()
3880
2613
  );
3881
- var serialize2 = SuperJSON.serialize;
2614
+ var serialize = SuperJSON.serialize;
3882
2615
  SuperJSON.deserialize;
3883
- var stringify2 = SuperJSON.stringify;
2616
+ var stringify = SuperJSON.stringify;
3884
2617
  SuperJSON.parse;
3885
2618
  SuperJSON.registerClass;
3886
2619
  SuperJSON.registerCustom;
@@ -3907,17 +2640,17 @@ function getQueryStatusColorByLabel(label) {
3907
2640
  var displayValue = (value, beautify = false) => {
3908
2641
  const {
3909
2642
  json
3910
- } = serialize2(value);
2643
+ } = serialize(value);
3911
2644
  return JSON.stringify(json, null, beautify ? 2 : void 0);
3912
2645
  };
3913
2646
  var getStatusRank = (q) => q.state.fetchStatus !== "idle" ? 0 : !q.getObserversCount() ? 3 : q.isStale() ? 2 : 1;
3914
- var queryHashSort = (a, b) => a.queryHash.localeCompare(b.queryHash);
3915
- var dateSort = (a, b) => a.state.dataUpdatedAt < b.state.dataUpdatedAt ? 1 : -1;
3916
- var statusAndDateSort = (a, b) => {
3917
- if (getStatusRank(a) === getStatusRank(b)) {
3918
- return dateSort(a, b);
2647
+ var queryHashSort = (a2, b2) => a2.queryHash.localeCompare(b2.queryHash);
2648
+ var dateSort = (a2, b2) => a2.state.dataUpdatedAt < b2.state.dataUpdatedAt ? 1 : -1;
2649
+ var statusAndDateSort = (a2, b2) => {
2650
+ if (getStatusRank(a2) === getStatusRank(b2)) {
2651
+ return dateSort(a2, b2);
3919
2652
  }
3920
- return getStatusRank(a) > getStatusRank(b) ? 1 : -1;
2653
+ return getStatusRank(a2) > getStatusRank(b2) ? 1 : -1;
3921
2654
  };
3922
2655
  var sortFns = {
3923
2656
  status: statusAndDateSort,
@@ -3997,11 +2730,11 @@ var _tmpl$72 = /* @__PURE__ */ template(`<div><div><button> [<!>...<!>]`);
3997
2730
  function chunkArray(array, size) {
3998
2731
  if (size < 1)
3999
2732
  return [];
4000
- let i = 0;
2733
+ let i2 = 0;
4001
2734
  const result = [];
4002
- while (i < array.length) {
4003
- result.push(array.slice(i, i + size));
4004
- i = i + size;
2735
+ while (i2 < array.length) {
2736
+ result.push(array.slice(i2, i2 + size));
2737
+ i2 = i2 + size;
4005
2738
  }
4006
2739
  return result;
4007
2740
  }
@@ -4009,7 +2742,7 @@ var Expander = (props) => {
4009
2742
  const styles = getStyles();
4010
2743
  return (() => {
4011
2744
  const _el$ = _tmpl$12();
4012
- createRenderEffect(() => className(_el$, cx(styles.expander, css`
2745
+ createRenderEffect(() => className(_el$, clsx(styles.expander, u`
4013
2746
  transform: rotate(${props.expanded ? 90 : 0}deg);
4014
2747
  `)));
4015
2748
  return _el$;
@@ -4021,7 +2754,7 @@ var CopyButton = (props) => {
4021
2754
  return (() => {
4022
2755
  const _el$2 = _tmpl$22();
4023
2756
  addEventListener(_el$2, "click", copyState() === "NoCopy" ? () => {
4024
- navigator.clipboard.writeText(stringify2(props.value)).then(() => {
2757
+ navigator.clipboard.writeText(stringify(props.value)).then(() => {
4025
2758
  setCopyState("SuccessCopy");
4026
2759
  setTimeout(() => {
4027
2760
  setCopyState("NoCopy");
@@ -4082,8 +2815,8 @@ function Explorer(props) {
4082
2815
  const [expandedPages, setExpandedPages] = createSignal([]);
4083
2816
  const subEntries = createMemo(() => {
4084
2817
  if (Array.isArray(props.value)) {
4085
- return props.value.map((d, i) => ({
4086
- label: i.toString(),
2818
+ return props.value.map((d, i2) => ({
2819
+ label: i2.toString(),
4087
2820
  value: d
4088
2821
  }));
4089
2822
  } else if (props.value !== null && typeof props.value === "object" && isIterable(props.value) && typeof props.value[Symbol.iterator] === "function") {
@@ -4093,8 +2826,8 @@ function Explorer(props) {
4093
2826
  value: val
4094
2827
  }));
4095
2828
  }
4096
- return Array.from(props.value, (val, i) => ({
4097
- label: i.toString(),
2829
+ return Array.from(props.value, (val, i2) => ({
2830
+ label: i2.toString(),
4098
2831
  value: val
4099
2832
  }));
4100
2833
  } else if (typeof props.value === "object" && props.value !== null) {
@@ -4292,7 +3025,7 @@ var getStyles = () => {
4292
3025
  border
4293
3026
  } = tokens;
4294
3027
  return {
4295
- entry: css`
3028
+ entry: u`
4296
3029
  & * {
4297
3030
  font-size: ${font.size.sm};
4298
3031
  font-family: 'Menlo', 'Fira Code', monospace;
@@ -4302,12 +3035,12 @@ var getStyles = () => {
4302
3035
  outline: none;
4303
3036
  word-break: break-word;
4304
3037
  `,
4305
- subEntry: css`
3038
+ subEntry: u`
4306
3039
  margin: 0 0 0 0.5em;
4307
3040
  padding-left: 0.75em;
4308
3041
  border-left: 2px solid ${colors.darkGray[400]};
4309
3042
  `,
4310
- expander: css`
3043
+ expander: u`
4311
3044
  & path {
4312
3045
  stroke: ${colors.gray[400]};
4313
3046
  }
@@ -4315,7 +3048,7 @@ var getStyles = () => {
4315
3048
  align-items: center;
4316
3049
  transition: all 0.1s ease;
4317
3050
  `,
4318
- expanderButton: css`
3051
+ expanderButton: u`
4319
3052
  cursor: pointer;
4320
3053
  color: inherit;
4321
3054
  font: inherit;
@@ -4333,19 +3066,19 @@ var getStyles = () => {
4333
3066
  outline: 2px solid ${colors.blue[800]};
4334
3067
  }
4335
3068
  `,
4336
- info: css`
3069
+ info: u`
4337
3070
  color: ${colors.gray[500]};
4338
3071
  font-size: ${font.size.xs};
4339
3072
  line-height: ${font.size.xs};
4340
3073
  margin-left: ${size[1]};
4341
3074
  `,
4342
- label: css`
3075
+ label: u`
4343
3076
  color: ${colors.gray[300]};
4344
3077
  `,
4345
- value: css`
3078
+ value: u`
4346
3079
  color: ${colors.purple[400]};
4347
3080
  `,
4348
- copyButton: css`
3081
+ copyButton: u`
4349
3082
  background-color: transparent;
4350
3083
  border: none;
4351
3084
  display: inline-flex;
@@ -4398,17 +3131,17 @@ var _tmpl$13 = /* @__PURE__ */ template(`<div><div aria-hidden="true"></div><but
4398
3131
  var _tmpl$23 = /* @__PURE__ */ template(`<div>`);
4399
3132
  var _tmpl$33 = /* @__PURE__ */ template(`<span>Asc`);
4400
3133
  var _tmpl$43 = /* @__PURE__ */ template(`<span>Desc`);
4401
- var _tmpl$53 = /* @__PURE__ */ template(`<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`);
4402
- var _tmpl$63 = /* @__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"></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>`);
3134
+ var _tmpl$53 = /* @__PURE__ */ template(`<div role="menu" tabindex="-1" aria-labelledby="tsqd-settings-menu-btn" id="tsqd-settings-menu"><div>Position</div><div><button aria-label="Position top" class="tsqd-settings-menu-position-btn tsqd-settings-menu-position-btn-top"><span>Top</span></button><button aria-label="Position bottom" class="tsqd-settings-menu-position-btn tsqd-settings-menu-position-btn-bottom"><span>Bottom</span></button><button aria-label="Position left" class="tsqd-settings-menu-position-btn tsqd-settings-menu-position-btn-left"><span>Left</span></button><button aria-label="Position right" class="tsqd-settings-menu-position-btn tsqd-settings-menu-position-btn-right"><span>Right`);
3135
+ var _tmpl$63 = /* @__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></button><div><button id="tsqd-settings-menu-btn" aria-haspopup="true" aria-controls="tsqd-settings-menu"></button></div></div></div><div><div class="tsqd-queries-container">`);
4403
3136
  var _tmpl$73 = /* @__PURE__ */ template(`<option>Sort by `);
4404
- var _tmpl$82 = /* @__PURE__ */ template(`<div class="TSQDQueryDisabled">disabled`);
4405
- var _tmpl$92 = /* @__PURE__ */ template(`<button><div></div><code class="TSQDQueryHash">`);
4406
- var _tmpl$102 = /* @__PURE__ */ template(`<div role="tooltip" id="TSQD-status-tooltip">`);
4407
- var _tmpl$112 = /* @__PURE__ */ template(`<span>`);
3137
+ var _tmpl$82 = /* @__PURE__ */ template(`<div class="tsqd-query-disabled-indicator">disabled`);
3138
+ var _tmpl$92 = /* @__PURE__ */ template(`<button><div></div><code class="tsqd-query-hash">`);
3139
+ var _tmpl$102 = /* @__PURE__ */ template(`<div role="tooltip" id="tsqd-status-tooltip">`);
3140
+ var _tmpl$112 = /* @__PURE__ */ template(`<span class="tsqd-query-status-tag-label">`);
4408
3141
  var _tmpl$122 = /* @__PURE__ */ template(`<button><span></span><span>`);
4409
3142
  var _tmpl$132 = /* @__PURE__ */ template(`<button><span></span> Error`);
4410
3143
  var _tmpl$14 = /* @__PURE__ */ template(`<div><span></span>Trigger Error<select><option value="" disabled selected>`);
4411
- var _tmpl$15 = /* @__PURE__ */ template(`<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>`);
3144
+ var _tmpl$15 = /* @__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> 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">`);
4412
3145
  var _tmpl$16 = /* @__PURE__ */ template(`<option>`);
4413
3146
  var firstBreakpoint = 1024;
4414
3147
  var secondBreakpoint = 796;
@@ -4443,13 +3176,21 @@ var Devtools = () => {
4443
3176
  const isOpen = createMemo(() => {
4444
3177
  return localStore.open === "true" ? true : localStore.open === "false" ? false : useQueryDevtoolsContext().initialIsOpen || INITIAL_IS_OPEN;
4445
3178
  });
4446
- const position2 = createMemo(() => {
3179
+ const position = createMemo(() => {
4447
3180
  return localStore.position || useQueryDevtoolsContext().position || POSITION;
4448
3181
  });
3182
+ createEffect(() => {
3183
+ const root = document.querySelector(".tsqd-parent-container");
3184
+ const height = localStore.height || DEFAULT_HEIGHT;
3185
+ const width = localStore.width || DEFAULT_WIDTH;
3186
+ const panelPosition = position();
3187
+ root.style.setProperty("--tsqd-panel-height", `${panelPosition === "top" ? "-" : ""}${height}px`);
3188
+ root.style.setProperty("--tsqd-panel-width", `${panelPosition === "left" ? "-" : ""}${width}px`);
3189
+ });
4449
3190
  return (() => {
4450
3191
  const _el$ = _tmpl$23();
4451
3192
  insert(_el$, createComponent(TransitionGroup, {
4452
- name: "TSQD-panel",
3193
+ name: "tsqd-panel-transition",
4453
3194
  get children() {
4454
3195
  return createComponent(Show, {
4455
3196
  get when() {
@@ -4465,7 +3206,7 @@ var Devtools = () => {
4465
3206
  }
4466
3207
  }), null);
4467
3208
  insert(_el$, createComponent(TransitionGroup, {
4468
- name: "TSQD-button",
3209
+ name: "tsqd-button-transition",
4469
3210
  get children() {
4470
3211
  return createComponent(Show, {
4471
3212
  get when() {
@@ -4476,33 +3217,33 @@ var Devtools = () => {
4476
3217
  insert(_el$3, createComponent(TanstackLogo, {}));
4477
3218
  _el$4.$$click = () => setLocalStore("open", "true");
4478
3219
  insert(_el$4, createComponent(TanstackLogo, {}));
4479
- createRenderEffect(() => className(_el$2, cx(styles.devtoolsBtn, styles[`devtoolsBtn-position-${buttonPosition()}`])));
3220
+ createRenderEffect(() => className(_el$2, clsx(styles.devtoolsBtn, styles[`devtoolsBtn-position-${buttonPosition()}`])));
4480
3221
  return _el$2;
4481
3222
  }
4482
3223
  });
4483
3224
  }
4484
3225
  }), null);
4485
- createRenderEffect(() => className(_el$, css`
4486
- & .TSQD-panel-exit-active,
4487
- & .TSQD-panel-enter-active {
4488
- transition: opacity 0.3s, transform 0.3s;
4489
- }
3226
+ createRenderEffect(() => className(_el$, clsx(u`
3227
+ & .tsqd-panel-transition-exit-active,
3228
+ & .tsqd-panel-transition-enter-active {
3229
+ transition: opacity 0.3s, transform 0.3s;
3230
+ }
4490
3231
 
4491
- & .TSQD-panel-exit-to,
4492
- & .TSQD-panel-enter {
4493
- ${position2() === "top" ? `transform: translateY(-${Number(localStore.height || DEFAULT_HEIGHT)}px);` : position2() === "left" ? `transform: translateX(-${Number(localStore.width || DEFAULT_WIDTH)}px);` : position2() === "right" ? `transform: translateX(${Number(localStore.width || DEFAULT_WIDTH)}px);` : `transform: translateY(${Number(localStore.height || DEFAULT_HEIGHT)}px);`}
4494
- }
3232
+ & .tsqd-panel-transition-exit-to,
3233
+ & .tsqd-panel-transition-enter {
3234
+ ${position() === "top" || position() === "bottom" ? `transform: translateY(var(--tsqd-panel-height));` : `transform: translateX(var(--tsqd-panel-width));`}
3235
+ }
4495
3236
 
4496
- & .TSQD-button-exit-active,
4497
- & .TSQD-button-enter-active {
4498
- transition: opacity 0.3s, transform 0.3s;
4499
- }
3237
+ & .tsqd-button-transition-exit-active,
3238
+ & .tsqd-button-transition-enter-active {
3239
+ transition: opacity 0.3s, transform 0.3s;
3240
+ }
4500
3241
 
4501
- & .TSQD-button-exit-to,
4502
- & .TSQD-button-enter {
4503
- transform: ${buttonPosition() === "top-left" ? `translateX(-72px);` : buttonPosition() === "top-right" ? `translateX(72px);` : `translateY(72px);`};
4504
- }
4505
- `));
3242
+ & .tsqd-button-transition-exit-to,
3243
+ & .tsqd-button-transition-enter {
3244
+ transform: ${buttonPosition() === "top-left" ? `translateX(-72px);` : buttonPosition() === "top-right" ? `translateX(72px);` : `translateY(72px);`};
3245
+ }
3246
+ `, "tsqd-transitions-container")));
4506
3247
  return _el$;
4507
3248
  })();
4508
3249
  };
@@ -4513,19 +3254,19 @@ var DevtoolsPanel = (props) => {
4513
3254
  const sortOrder = createMemo(() => Number(props.localStore.sortOrder) || DEFAULT_SORT_ORDER);
4514
3255
  const [offline, setOffline] = createSignal(false);
4515
3256
  const [settingsOpen, setSettingsOpen] = createSignal(false);
4516
- const position2 = createMemo(() => props.localStore.position || useQueryDevtoolsContext().position || POSITION);
3257
+ const position = createMemo(() => props.localStore.position || useQueryDevtoolsContext().position || POSITION);
4517
3258
  const sortFn = createMemo(() => sortFns[sort()]);
4518
3259
  const onlineManager = createMemo(() => useQueryDevtoolsContext().onlineManager);
4519
- const cache2 = createMemo(() => {
3260
+ const cache = createMemo(() => {
4520
3261
  return useQueryDevtoolsContext().client.getQueryCache();
4521
3262
  });
4522
3263
  const queryCount = createSubscribeToQueryCacheBatcher((queryCache) => {
4523
3264
  return queryCache().getAll().length;
4524
3265
  }, false);
4525
3266
  const queries = createMemo(on(() => [queryCount(), props.localStore.filter, sort(), sortOrder()], () => {
4526
- const curr = cache2().getAll();
3267
+ const curr = cache().getAll();
4527
3268
  const filtered = props.localStore.filter ? curr.filter((item) => rankItem(item.queryHash, props.localStore.filter || "").passed) : [...curr];
4528
- const sorted = sortFn() ? filtered.sort((a, b) => sortFn()(a, b) * sortOrder()) : filtered;
3269
+ const sorted = sortFn() ? filtered.sort((a2, b2) => sortFn()(a2, b2) * sortOrder()) : filtered;
4529
3270
  return sorted;
4530
3271
  }));
4531
3272
  const handleDragStart = (event) => {
@@ -4544,8 +3285,8 @@ var DevtoolsPanel = (props) => {
4544
3285
  const minWidth = convertRemToPixels(12);
4545
3286
  const runDrag = (moveEvent) => {
4546
3287
  moveEvent.preventDefault();
4547
- if (position2() === "left" || position2() === "right") {
4548
- const valToAdd = position2() === "right" ? startX - moveEvent.clientX : moveEvent.clientX - startX;
3288
+ if (position() === "left" || position() === "right") {
3289
+ const valToAdd = position() === "right" ? startX - moveEvent.clientX : moveEvent.clientX - startX;
4549
3290
  newSize = Math.round(width + valToAdd);
4550
3291
  if (newSize < minWidth) {
4551
3292
  newSize = minWidth;
@@ -4556,7 +3297,7 @@ var DevtoolsPanel = (props) => {
4556
3297
  props.setLocalStore("width", String(newWidth));
4557
3298
  }
4558
3299
  } else {
4559
- const valToAdd = position2() === "bottom" ? startY - moveEvent.clientY : moveEvent.clientY - startY;
3300
+ const valToAdd = position() === "bottom" ? startY - moveEvent.clientY : moveEvent.clientY - startY;
4560
3301
  newSize = Math.round(height + valToAdd);
4561
3302
  if (newSize < minHeight) {
4562
3303
  newSize = minHeight;
@@ -4632,8 +3373,8 @@ var DevtoolsPanel = (props) => {
4632
3373
  insert(_el$12, () => useQueryDevtoolsContext().version, null);
4633
3374
  insert(_el$9, createComponent(QueryStatusCount, {}), null);
4634
3375
  insert(_el$16, createComponent(Search, {}), _el$17);
4635
- _el$17.$$input = (e) => props.setLocalStore("filter", e.currentTarget.value);
4636
- _el$19.addEventListener("change", (e) => props.setLocalStore("sort", e.currentTarget.value));
3376
+ _el$17.$$input = (e2) => props.setLocalStore("filter", e2.currentTarget.value);
3377
+ _el$19.addEventListener("change", (e2) => props.setLocalStore("sort", e2.currentTarget.value));
4637
3378
  insert(_el$19, () => Object.keys(sortFns).map((key) => (() => {
4638
3379
  const _el$40 = _tmpl$73(); _el$40.firstChild;
4639
3380
  _el$40.value = key;
@@ -4674,7 +3415,7 @@ var DevtoolsPanel = (props) => {
4674
3415
  return () => _c$() ? createComponent(Offline, {}) : createComponent(Wifi, {});
4675
3416
  })());
4676
3417
  _el$25.style.setProperty("position", "relative");
4677
- _el$26.$$click = () => setSettingsOpen((prev2) => !prev2);
3418
+ _el$26.$$click = () => setSettingsOpen((prev) => !prev);
4678
3419
  insert(_el$26, createComponent(Settings, {}));
4679
3420
  insert(_el$25, createComponent(Show, {
4680
3421
  get when() {
@@ -4699,7 +3440,7 @@ var DevtoolsPanel = (props) => {
4699
3440
  };
4700
3441
  insert(_el$36, createComponent(ArrowDown, {}), _el$37);
4701
3442
  createRenderEffect((_p$) => {
4702
- const _v$ = styles.settingsMenu, _v$2 = styles.settingsMenuHeader, _v$3 = styles.settingsMenuSection;
3443
+ const _v$ = clsx(styles.settingsMenu, "tsqd-settings-menu"), _v$2 = clsx(styles.settingsMenuHeader, "tsqd-settings-menu-header"), _v$3 = clsx(styles.settingsMenuSection, "tsqd-settings-menu-section");
4703
3444
  _v$ !== _p$._v$ && className(_el$27, _p$._v$ = _v$);
4704
3445
  _v$2 !== _p$._v$2 && className(_el$28, _p$._v$2 = _v$2);
4705
3446
  _v$3 !== _p$._v$3 && className(_el$29, _p$._v$3 = _v$3);
@@ -4732,20 +3473,19 @@ var DevtoolsPanel = (props) => {
4732
3473
  }
4733
3474
  }), null);
4734
3475
  createRenderEffect((_p$) => {
4735
- const _v$4 = `${styles.panel} ${styles[`panel-position-${position2()}`]} ${css`
4736
- flex-direction: ${panelWidth() < secondBreakpoint ? "column" : "row"};
4737
- background-color: ${panelWidth() < secondBreakpoint ? tokens.colors.gray[600] : tokens.colors.darkGray[900]};
4738
- ${panelWidth() < thirdBreakpoint && (position2() === "right" || position2() === "left") ? `
3476
+ const _v$4 = clsx(styles.panel, styles[`panel-position-${position()}`], u`
3477
+ flex-direction: ${panelWidth() < secondBreakpoint ? "column" : "row"};
3478
+ background-color: ${panelWidth() < secondBreakpoint ? tokens.colors.gray[600] : tokens.colors.darkGray[900]};
3479
+ `, {
3480
+ [u`
4739
3481
  min-width: min-content;
4740
- ` : ""}
4741
- `}`, _v$5 = position2() === "bottom" || position2() === "top" ? `${props.localStore.height || DEFAULT_HEIGHT}px` : "auto", _v$6 = position2() === "right" || position2() === "left" ? `${props.localStore.width || DEFAULT_WIDTH}px` : "auto", _v$7 = cx(styles.dragHandle, styles[`dragHandle-position-${position2()}`]), _v$8 = cx(styles.closeBtn, styles[`closeBtn-position-${position2()}`]), _v$9 = `${styles.queriesContainer} ${css`
4742
- ${panelWidth() < secondBreakpoint && selectedQueryHash() ? `
4743
- height: 50%;
4744
- max-height: 50%;
4745
- ` : ""}
4746
- `}`, _v$10 = cx(styles.row), _v$11 = styles.logo, _v$12 = styles.tanstackLogo, _v$13 = styles.queryFlavorLogo, _v$14 = cx(styles.row, css`
3482
+ `]: panelWidth() < thirdBreakpoint && (position() === "right" || position() === "left")
3483
+ }, "tsqd-main-panel"), _v$5 = position() === "bottom" || position() === "top" ? `${props.localStore.height || DEFAULT_HEIGHT}px` : "auto", _v$6 = position() === "right" || position() === "left" ? `${props.localStore.width || DEFAULT_WIDTH}px` : "auto", _v$7 = clsx(styles.dragHandle, styles[`dragHandle-position-${position()}`], "tsqd-drag-handle"), _v$8 = clsx(styles.closeBtn, styles[`closeBtn-position-${position()}`], "tsqd-minimize-btn"), _v$9 = clsx(styles.queriesContainer, panelWidth() < secondBreakpoint && selectedQueryHash() && u`
3484
+ height: 50%;
3485
+ max-height: 50%;
3486
+ `, "tsqd-queries-container"), _v$10 = clsx(styles.row, "tsqd-header"), _v$11 = clsx(styles.logo, "tsqd-text-logo-container"), _v$12 = clsx(styles.tanstackLogo, "tsqd-text-logo-tanstack"), _v$13 = clsx(styles.queryFlavorLogo, "tsqd-text-logo-query-flavor"), _v$14 = clsx(styles.row, u`
4747
3487
  gap: ${tokens.size[2.5]};
4748
- `), _v$15 = styles.filtersContainer, _v$16 = styles.filterInput, _v$17 = styles.filterSelect, _v$18 = `Sort order ${sortOrder() === -1 ? "descending" : "ascending"}`, _v$19 = sortOrder() === -1, _v$20 = styles.actionsContainer, _v$21 = styles.actionsBtn, _v$22 = `${offline() ? "Unset offline mocking behavior" : "Mock offline behavior"}`, _v$23 = offline(), _v$24 = styles.actionsBtn, _v$25 = `${settingsOpen() ? "Close" : "Open"} settings menu`, _v$26 = styles.overflowQueryContainer;
3488
+ `, "tsqd-filters-actions-container"), _v$15 = clsx(styles.filtersContainer, "tsqd-filters-container"), _v$16 = clsx(styles.filterInput, "tsqd-query-filter-textfield-container"), _v$17 = clsx(styles.filterSelect, "tsqd-query-filter-sort-container"), _v$18 = `Sort order ${sortOrder() === -1 ? "descending" : "ascending"}`, _v$19 = sortOrder() === -1, _v$20 = clsx(styles.actionsContainer, "tsqd-actions-container"), _v$21 = clsx(styles.actionsBtn, "tsqd-actions-btn", "tsqd-action-mock-offline-behavior"), _v$22 = `${offline() ? "Unset offline mocking behavior" : "Mock offline behavior"}`, _v$23 = offline(), _v$24 = clsx(styles.actionsBtn, "tsqd-actions-btn", "tsqd-action-settings"), _v$25 = `${settingsOpen() ? "Close" : "Open"} settings menu`, _v$26 = clsx(styles.overflowQueryContainer, "tsqd-queries-overflow-container");
4749
3489
  _v$4 !== _p$._v$4 && className(_el$5, _p$._v$4 = _v$4);
4750
3490
  _v$5 !== _p$._v$5 && ((_p$._v$5 = _v$5) != null ? _el$5.style.setProperty("height", _v$5) : _el$5.style.removeProperty("height"));
4751
3491
  _v$6 !== _p$._v$6 && ((_p$._v$6 = _v$6) != null ? _el$5.style.setProperty("width", _v$6) : _el$5.style.removeProperty("width"));
@@ -4837,13 +3577,13 @@ var QueryRow = (props) => {
4837
3577
  }
4838
3578
  }), null);
4839
3579
  createRenderEffect((_p$) => {
4840
- const _v$27 = cx(styles.queryRow, selectedQueryHash() === props.query.queryHash && styles.selectedQueryRow), _v$28 = `Query key ${props.query.queryHash}`, _v$29 = cx("TSQDObserverCount", color() === "gray" ? css`
3580
+ const _v$27 = clsx(styles.queryRow, selectedQueryHash() === props.query.queryHash && styles.selectedQueryRow, "tsqd-query-row"), _v$28 = `Query key ${props.query.queryHash}`, _v$29 = clsx(color() === "gray" ? u`
4841
3581
  background-color: ${tokens.colors[color()][700]};
4842
3582
  color: ${tokens.colors[color()][300]};
4843
- ` : css`
3583
+ ` : u`
4844
3584
  background-color: ${tokens.colors[color()][900]};
4845
- color: ${tokens.colors[color()][300]} !important;
4846
- `);
3585
+ color: ${tokens.colors[color()][300]};
3586
+ `, "tsqd-query-observer-count");
4847
3587
  _v$27 !== _p$._v$27 && className(_el$42, _p$._v$27 = _v$27);
4848
3588
  _v$28 !== _p$._v$28 && setAttribute(_el$42, "aria-label", _p$._v$28 = _v$28);
4849
3589
  _v$29 !== _p$._v$29 && className(_el$43, _p$._v$29 = _v$29);
@@ -4901,7 +3641,7 @@ var QueryStatusCount = () => {
4901
3641
  return inactive();
4902
3642
  }
4903
3643
  }), null);
4904
- createRenderEffect(() => className(_el$46, styles.queryStatusContainer));
3644
+ createRenderEffect(() => className(_el$46, clsx(styles.queryStatusContainer, "tsqd-query-status-container")));
4905
3645
  return _el$46;
4906
3646
  })();
4907
3647
  };
@@ -4937,15 +3677,15 @@ var QueryStatus = (props) => {
4937
3677
  return showLabel();
4938
3678
  },
4939
3679
  get ["class"]() {
4940
- return cx(styles.queryStatusTag, !showLabel() ? css`
4941
- cursor: pointer;
4942
- &:hover {
4943
- background: ${tokens.colors.darkGray[400]}${tokens.alpha[80]};
4944
- }
4945
- ` : null);
3680
+ return clsx(styles.queryStatusTag, !showLabel() && u`
3681
+ cursor: pointer;
3682
+ &:hover {
3683
+ background: ${tokens.colors.darkGray[400]}${tokens.alpha[80]};
3684
+ }
3685
+ `, "tsqd-query-status-tag", `tsqd-query-status-tag-${props.label.toLowerCase()}`);
4946
3686
  }
4947
3687
  }, () => mouseOver() || focused() ? {
4948
- "aria-describedby": "TSQD-status-tooltip"
3688
+ "aria-describedby": "tsqd-status-tooltip"
4949
3689
  } : {}), false, true);
4950
3690
  insert(_el$47, createComponent(Show, {
4951
3691
  get when() {
@@ -4954,7 +3694,7 @@ var QueryStatus = (props) => {
4954
3694
  get children() {
4955
3695
  const _el$48 = _tmpl$102();
4956
3696
  insert(_el$48, () => props.label);
4957
- createRenderEffect(() => className(_el$48, cx(styles.statusTooltip)));
3697
+ createRenderEffect(() => className(_el$48, clsx(styles.statusTooltip, "tsqd-query-status-tooltip")));
4958
3698
  return _el$48;
4959
3699
  }
4960
3700
  }), _el$49);
@@ -4970,17 +3710,17 @@ var QueryStatus = (props) => {
4970
3710
  }), _el$51);
4971
3711
  insert(_el$51, () => props.count);
4972
3712
  createRenderEffect((_p$) => {
4973
- const _v$30 = css`
4974
- width: ${tokens.size[2]};
4975
- height: ${tokens.size[2]};
4976
- border-radius: ${tokens.border.radius.full};
4977
- background-color: ${tokens.colors[props.color][500]};
4978
- `, _v$31 = cx(styles.queryStatusCount, props.count > 0 && props.color !== "gray" ? css`
3713
+ const _v$30 = clsx(u`
3714
+ width: ${tokens.size[2]};
3715
+ height: ${tokens.size[2]};
3716
+ border-radius: ${tokens.border.radius.full};
3717
+ background-color: ${tokens.colors[props.color][500]};
3718
+ `, "tsqd-query-status-tag-dot"), _v$31 = clsx(styles.queryStatusCount, props.count > 0 && props.color !== "gray" ? u`
4979
3719
  background-color: ${tokens.colors[props.color][900]};
4980
- color: ${tokens.colors[props.color][300]} !important;
4981
- ` : css`
4982
- color: ${tokens.colors["gray"][400]} !important;
4983
- `);
3720
+ color: ${tokens.colors[props.color][300]};
3721
+ ` : u`
3722
+ color: ${tokens.colors["gray"][400]};
3723
+ `, "tsqd-query-status-tag-count");
4984
3724
  _v$30 !== _p$._v$30 && className(_el$49, _p$._v$30 = _v$30);
4985
3725
  _v$31 !== _p$._v$31 && className(_el$51, _p$._v$31 = _v$31);
4986
3726
  return _p$;
@@ -5090,7 +3830,7 @@ var QueryDetails = () => {
5090
3830
  });
5091
3831
  }
5092
3832
  };
5093
- insert(_el$73, () => statusLabel() === "fetching" ? "Restore" : "Trigger", _el$75);
3833
+ insert(_el$73, () => queryStatus() === "pending" ? "Restore" : "Trigger", _el$75);
5094
3834
  insert(_el$66, createComponent(Show, {
5095
3835
  get when() {
5096
3836
  return errorTypes().length === 0 || queryStatus() === "error";
@@ -5106,17 +3846,19 @@ var QueryDetails = () => {
5106
3846
  };
5107
3847
  insert(_el$76, () => queryStatus() === "error" ? "Restore" : "Trigger", _el$78);
5108
3848
  createRenderEffect((_p$) => {
5109
- const _v$32 = css`
5110
- color: ${tokens.colors.red[400]};
5111
- `, _v$33 = css`
3849
+ const _v$32 = clsx(u`
3850
+ color: ${tokens.colors.red[400]};
3851
+ `, "tsqd-query-details-actions-btn", "tsqd-query-details-action-error"), _v$33 = queryStatus() === "pending", _v$34 = u`
5112
3852
  background-color: ${tokens.colors.red[400]};
5113
3853
  `;
5114
3854
  _v$32 !== _p$._v$32 && className(_el$76, _p$._v$32 = _v$32);
5115
- _v$33 !== _p$._v$33 && className(_el$77, _p$._v$33 = _v$33);
3855
+ _v$33 !== _p$._v$33 && (_el$76.disabled = _p$._v$33 = _v$33);
3856
+ _v$34 !== _p$._v$34 && className(_el$77, _p$._v$34 = _v$34);
5116
3857
  return _p$;
5117
3858
  }, {
5118
3859
  _v$32: void 0,
5119
- _v$33: void 0
3860
+ _v$33: void 0,
3861
+ _v$34: void 0
5120
3862
  });
5121
3863
  return _el$76;
5122
3864
  }
@@ -5127,8 +3869,8 @@ var QueryDetails = () => {
5127
3869
  },
5128
3870
  get children() {
5129
3871
  const _el$79 = _tmpl$14(), _el$80 = _el$79.firstChild, _el$81 = _el$80.nextSibling, _el$82 = _el$81.nextSibling; _el$82.firstChild;
5130
- _el$82.addEventListener("change", (e) => {
5131
- const errorType = errorTypes().find((t) => t.name === e.currentTarget.value);
3872
+ _el$82.addEventListener("change", (e2) => {
3873
+ const errorType = errorTypes().find((t2) => t2.name === e2.currentTarget.value);
5132
3874
  triggerError(errorType);
5133
3875
  });
5134
3876
  insert(_el$82, createComponent(For, {
@@ -5144,17 +3886,17 @@ var QueryDetails = () => {
5144
3886
  }), null);
5145
3887
  insert(_el$79, createComponent(ChevronDown, {}), null);
5146
3888
  createRenderEffect((_p$) => {
5147
- const _v$34 = styles.actionsSelect, _v$35 = css`
3889
+ const _v$35 = clsx(styles.actionsSelect, "tsqd-query-details-actions-btn", "tsqd-query-details-action-error-multiple"), _v$36 = u`
5148
3890
  background-color: ${tokens.colors.red[400]};
5149
- `, _v$36 = queryStatus() === "pending";
5150
- _v$34 !== _p$._v$34 && className(_el$79, _p$._v$34 = _v$34);
5151
- _v$35 !== _p$._v$35 && className(_el$80, _p$._v$35 = _v$35);
5152
- _v$36 !== _p$._v$36 && (_el$82.disabled = _p$._v$36 = _v$36);
3891
+ `, _v$37 = queryStatus() === "pending";
3892
+ _v$35 !== _p$._v$35 && className(_el$79, _p$._v$35 = _v$35);
3893
+ _v$36 !== _p$._v$36 && className(_el$80, _p$._v$36 = _v$36);
3894
+ _v$37 !== _p$._v$37 && (_el$82.disabled = _p$._v$37 = _v$37);
5153
3895
  return _p$;
5154
3896
  }, {
5155
- _v$34: void 0,
5156
3897
  _v$35: void 0,
5157
- _v$36: void 0
3898
+ _v$36: void 0,
3899
+ _v$37: void 0
5158
3900
  });
5159
3901
  return _el$79;
5160
3902
  }
@@ -5177,52 +3919,53 @@ var QueryDetails = () => {
5177
3919
  }
5178
3920
  }));
5179
3921
  createRenderEffect((_p$) => {
5180
- const _v$37 = styles.detailsContainer, _v$38 = styles.detailsHeader, _v$39 = styles.detailsBody, _v$40 = cx(styles.queryDetailsStatus, color() === "gray" ? css`
3922
+ const _v$38 = clsx(styles.detailsContainer, "tsqd-query-details-container"), _v$39 = clsx(styles.detailsHeader, "tsqd-query-details-header"), _v$40 = clsx(styles.detailsBody, "tsqd-query-details-summary-container"), _v$41 = clsx(styles.queryDetailsStatus, color() === "gray" ? u`
5181
3923
  background-color: ${tokens.colors[color()][700]};
5182
3924
  color: ${tokens.colors[color()][300]};
5183
3925
  border-color: ${tokens.colors[color()][600]};
5184
- ` : css`
3926
+ ` : u`
5185
3927
  background-color: ${tokens.colors[color()][900]};
5186
3928
  color: ${tokens.colors[color()][300]};
5187
3929
  border-color: ${tokens.colors[color()][600]};
5188
- `), _v$41 = styles.detailsHeader, _v$42 = styles.actionsBody, _v$43 = css`
5189
- color: ${tokens.colors.blue[400]};
5190
- `, _v$44 = statusLabel() === "fetching", _v$45 = css`
3930
+ `), _v$42 = clsx(styles.detailsHeader, "tsqd-query-details-header"), _v$43 = clsx(styles.actionsBody, "tsqd-query-details-actions-container"), _v$44 = clsx(u`
3931
+ color: ${tokens.colors.blue[400]};
3932
+ `, "tsqd-query-details-actions-btn", "tsqd-query-details-action-refetch"), _v$45 = statusLabel() === "fetching", _v$46 = u`
5191
3933
  background-color: ${tokens.colors.blue[400]};
5192
- `, _v$46 = css`
5193
- color: ${tokens.colors.yellow[400]};
5194
- `, _v$47 = css`
3934
+ `, _v$47 = clsx(u`
3935
+ color: ${tokens.colors.yellow[400]};
3936
+ `, "tsqd-query-details-actions-btn", "tsqd-query-details-action-invalidate"), _v$48 = queryStatus() === "pending", _v$49 = u`
5195
3937
  background-color: ${tokens.colors.yellow[400]};
5196
- `, _v$48 = css`
5197
- color: ${tokens.colors.gray[300]};
5198
- `, _v$49 = css`
3938
+ `, _v$50 = clsx(u`
3939
+ color: ${tokens.colors.gray[300]};
3940
+ `, "tsqd-query-details-actions-btn", "tsqd-query-details-action-reset"), _v$51 = queryStatus() === "pending", _v$52 = u`
5199
3941
  background-color: ${tokens.colors.gray[400]};
5200
- `, _v$50 = css`
5201
- color: ${tokens.colors.cyan[400]};
5202
- `, _v$51 = restoringLoading(), _v$52 = css`
3942
+ `, _v$53 = clsx(u`
3943
+ color: ${tokens.colors.cyan[400]};
3944
+ `, "tsqd-query-details-actions-btn", "tsqd-query-details-action-loading"), _v$54 = restoringLoading(), _v$55 = u`
5203
3945
  background-color: ${tokens.colors.cyan[400]};
5204
- `, _v$53 = styles.detailsHeader, _v$54 = styles.detailsHeader;
5205
- _v$37 !== _p$._v$37 && className(_el$52, _p$._v$37 = _v$37);
5206
- _v$38 !== _p$._v$38 && className(_el$53, _p$._v$38 = _v$38);
5207
- _v$39 !== _p$._v$39 && className(_el$54, _p$._v$39 = _v$39);
5208
- _v$40 !== _p$._v$40 && className(_el$58, _p$._v$40 = _v$40);
5209
- _v$41 !== _p$._v$41 && className(_el$65, _p$._v$41 = _v$41);
5210
- _v$42 !== _p$._v$42 && className(_el$66, _p$._v$42 = _v$42);
5211
- _v$43 !== _p$._v$43 && className(_el$67, _p$._v$43 = _v$43);
5212
- _v$44 !== _p$._v$44 && (_el$67.disabled = _p$._v$44 = _v$44);
5213
- _v$45 !== _p$._v$45 && className(_el$68, _p$._v$45 = _v$45);
5214
- _v$46 !== _p$._v$46 && className(_el$69, _p$._v$46 = _v$46);
5215
- _v$47 !== _p$._v$47 && className(_el$70, _p$._v$47 = _v$47);
5216
- _v$48 !== _p$._v$48 && className(_el$71, _p$._v$48 = _v$48);
5217
- _v$49 !== _p$._v$49 && className(_el$72, _p$._v$49 = _v$49);
5218
- _v$50 !== _p$._v$50 && className(_el$73, _p$._v$50 = _v$50);
5219
- _v$51 !== _p$._v$51 && (_el$73.disabled = _p$._v$51 = _v$51);
5220
- _v$52 !== _p$._v$52 && className(_el$74, _p$._v$52 = _v$52);
5221
- _v$53 !== _p$._v$53 && className(_el$84, _p$._v$53 = _v$53);
5222
- _v$54 !== _p$._v$54 && className(_el$86, _p$._v$54 = _v$54);
3946
+ `, _v$56 = clsx(styles.detailsHeader, "tsqd-query-details-header"), _v$57 = clsx(styles.detailsHeader, "tsqd-query-details-header");
3947
+ _v$38 !== _p$._v$38 && className(_el$52, _p$._v$38 = _v$38);
3948
+ _v$39 !== _p$._v$39 && className(_el$53, _p$._v$39 = _v$39);
3949
+ _v$40 !== _p$._v$40 && className(_el$54, _p$._v$40 = _v$40);
3950
+ _v$41 !== _p$._v$41 && className(_el$58, _p$._v$41 = _v$41);
3951
+ _v$42 !== _p$._v$42 && className(_el$65, _p$._v$42 = _v$42);
3952
+ _v$43 !== _p$._v$43 && className(_el$66, _p$._v$43 = _v$43);
3953
+ _v$44 !== _p$._v$44 && className(_el$67, _p$._v$44 = _v$44);
3954
+ _v$45 !== _p$._v$45 && (_el$67.disabled = _p$._v$45 = _v$45);
3955
+ _v$46 !== _p$._v$46 && className(_el$68, _p$._v$46 = _v$46);
3956
+ _v$47 !== _p$._v$47 && className(_el$69, _p$._v$47 = _v$47);
3957
+ _v$48 !== _p$._v$48 && (_el$69.disabled = _p$._v$48 = _v$48);
3958
+ _v$49 !== _p$._v$49 && className(_el$70, _p$._v$49 = _v$49);
3959
+ _v$50 !== _p$._v$50 && className(_el$71, _p$._v$50 = _v$50);
3960
+ _v$51 !== _p$._v$51 && (_el$71.disabled = _p$._v$51 = _v$51);
3961
+ _v$52 !== _p$._v$52 && className(_el$72, _p$._v$52 = _v$52);
3962
+ _v$53 !== _p$._v$53 && className(_el$73, _p$._v$53 = _v$53);
3963
+ _v$54 !== _p$._v$54 && (_el$73.disabled = _p$._v$54 = _v$54);
3964
+ _v$55 !== _p$._v$55 && className(_el$74, _p$._v$55 = _v$55);
3965
+ _v$56 !== _p$._v$56 && className(_el$84, _p$._v$56 = _v$56);
3966
+ _v$57 !== _p$._v$57 && className(_el$86, _p$._v$57 = _v$57);
5223
3967
  return _p$;
5224
3968
  }, {
5225
- _v$37: void 0,
5226
3969
  _v$38: void 0,
5227
3970
  _v$39: void 0,
5228
3971
  _v$40: void 0,
@@ -5239,7 +3982,10 @@ var QueryDetails = () => {
5239
3982
  _v$51: void 0,
5240
3983
  _v$52: void 0,
5241
3984
  _v$53: void 0,
5242
- _v$54: void 0
3985
+ _v$54: void 0,
3986
+ _v$55: void 0,
3987
+ _v$56: void 0,
3988
+ _v$57: void 0
5243
3989
  });
5244
3990
  return _el$52;
5245
3991
  }
@@ -5291,10 +4037,11 @@ var getStyles2 = () => {
5291
4037
  border
5292
4038
  } = tokens;
5293
4039
  return {
5294
- devtoolsBtn: css`
4040
+ devtoolsBtn: u`
5295
4041
  z-index: 100000;
5296
4042
  position: fixed;
5297
4043
  padding: 4px;
4044
+ text-align: left;
5298
4045
 
5299
4046
  display: flex;
5300
4047
  align-items: center;
@@ -5344,7 +4091,7 @@ var getStyles2 = () => {
5344
4091
  }
5345
4092
  }
5346
4093
  `,
5347
- panel: css`
4094
+ panel: u`
5348
4095
  position: fixed;
5349
4096
  z-index: 9999;
5350
4097
  display: flex;
@@ -5356,23 +4103,23 @@ var getStyles2 = () => {
5356
4103
  text-transform: none;
5357
4104
  }
5358
4105
  `,
5359
- "devtoolsBtn-position-bottom-right": css`
4106
+ "devtoolsBtn-position-bottom-right": u`
5360
4107
  bottom: 12px;
5361
4108
  right: 12px;
5362
4109
  `,
5363
- "devtoolsBtn-position-bottom-left": css`
4110
+ "devtoolsBtn-position-bottom-left": u`
5364
4111
  bottom: 12px;
5365
4112
  left: 12px;
5366
4113
  `,
5367
- "devtoolsBtn-position-top-left": css`
4114
+ "devtoolsBtn-position-top-left": u`
5368
4115
  top: 12px;
5369
4116
  left: 12px;
5370
4117
  `,
5371
- "devtoolsBtn-position-top-right": css`
4118
+ "devtoolsBtn-position-top-right": u`
5372
4119
  top: 12px;
5373
4120
  right: 12px;
5374
4121
  `,
5375
- "panel-position-top": css`
4122
+ "panel-position-top": u`
5376
4123
  top: 0;
5377
4124
  right: 0;
5378
4125
  left: 0;
@@ -5380,7 +4127,7 @@ var getStyles2 = () => {
5380
4127
  min-height: 3.5rem;
5381
4128
  border-bottom: ${colors.darkGray[300]} 1px solid;
5382
4129
  `,
5383
- "panel-position-bottom": css`
4130
+ "panel-position-bottom": u`
5384
4131
  bottom: 0;
5385
4132
  right: 0;
5386
4133
  left: 0;
@@ -5388,21 +4135,21 @@ var getStyles2 = () => {
5388
4135
  min-height: 3.5rem;
5389
4136
  border-top: ${colors.darkGray[300]} 1px solid;
5390
4137
  `,
5391
- "panel-position-right": css`
4138
+ "panel-position-right": u`
5392
4139
  bottom: 0;
5393
4140
  right: 0;
5394
4141
  top: 0;
5395
4142
  border-left: ${colors.darkGray[300]} 1px solid;
5396
4143
  max-width: 90%;
5397
4144
  `,
5398
- "panel-position-left": css`
4145
+ "panel-position-left": u`
5399
4146
  bottom: 0;
5400
4147
  left: 0;
5401
4148
  top: 0;
5402
4149
  border-right: ${colors.darkGray[300]} 1px solid;
5403
4150
  max-width: 90%;
5404
4151
  `,
5405
- closeBtn: css`
4152
+ closeBtn: u`
5406
4153
  position: absolute;
5407
4154
  cursor: pointer;
5408
4155
  z-index: 5;
@@ -5417,7 +4164,7 @@ var getStyles2 = () => {
5417
4164
  outline: 2px solid ${colors.blue[600]};
5418
4165
  }
5419
4166
  `,
5420
- "closeBtn-position-top": css`
4167
+ "closeBtn-position-top": u`
5421
4168
  bottom: 0;
5422
4169
  right: ${size[3]};
5423
4170
  transform: translate(0, 100%);
@@ -5442,7 +4189,7 @@ var getStyles2 = () => {
5442
4189
  transform: rotate(180deg);
5443
4190
  }
5444
4191
  `,
5445
- "closeBtn-position-bottom": css`
4192
+ "closeBtn-position-bottom": u`
5446
4193
  top: 0;
5447
4194
  right: ${size[3]};
5448
4195
  transform: translate(0, -100%);
@@ -5463,7 +4210,7 @@ var getStyles2 = () => {
5463
4210
  width: calc(100% + ${size[5]});
5464
4211
  }
5465
4212
  `,
5466
- "closeBtn-position-right": css`
4213
+ "closeBtn-position-right": u`
5467
4214
  bottom: ${size[3]};
5468
4215
  left: 0;
5469
4216
  transform: translate(-100%, 0);
@@ -5487,7 +4234,7 @@ var getStyles2 = () => {
5487
4234
  transform: rotate(-90deg);
5488
4235
  }
5489
4236
  `,
5490
- "closeBtn-position-left": css`
4237
+ "closeBtn-position-left": u`
5491
4238
  bottom: ${size[3]};
5492
4239
  right: 0;
5493
4240
  transform: translate(100%, 0);
@@ -5511,13 +4258,13 @@ var getStyles2 = () => {
5511
4258
  transform: rotate(90deg);
5512
4259
  }
5513
4260
  `,
5514
- queriesContainer: css`
4261
+ queriesContainer: u`
5515
4262
  flex: 1 1 700px;
5516
4263
  background-color: ${colors.darkGray[700]};
5517
4264
  display: flex;
5518
4265
  flex-direction: column;
5519
4266
  `,
5520
- dragHandle: css`
4267
+ dragHandle: u`
5521
4268
  position: absolute;
5522
4269
  transition: background-color 0.125s ease;
5523
4270
  &:hover {
@@ -5525,31 +4272,31 @@ var getStyles2 = () => {
5525
4272
  }
5526
4273
  z-index: 4;
5527
4274
  `,
5528
- "dragHandle-position-top": css`
4275
+ "dragHandle-position-top": u`
5529
4276
  bottom: 0;
5530
4277
  width: 100%;
5531
4278
  height: ${tokens.size[1]};
5532
4279
  cursor: ns-resize;
5533
4280
  `,
5534
- "dragHandle-position-bottom": css`
4281
+ "dragHandle-position-bottom": u`
5535
4282
  top: 0;
5536
4283
  width: 100%;
5537
4284
  height: ${tokens.size[1]};
5538
4285
  cursor: ns-resize;
5539
4286
  `,
5540
- "dragHandle-position-right": css`
4287
+ "dragHandle-position-right": u`
5541
4288
  left: 0;
5542
4289
  width: ${tokens.size[1]};
5543
4290
  height: 100%;
5544
4291
  cursor: ew-resize;
5545
4292
  `,
5546
- "dragHandle-position-left": css`
4293
+ "dragHandle-position-left": u`
5547
4294
  right: 0;
5548
4295
  width: ${tokens.size[1]};
5549
4296
  height: 100%;
5550
4297
  cursor: ew-resize;
5551
4298
  `,
5552
- row: css`
4299
+ row: u`
5553
4300
  display: flex;
5554
4301
  justify-content: space-between;
5555
4302
  padding: ${tokens.size[2.5]} ${tokens.size[3]};
@@ -5564,7 +4311,7 @@ var getStyles2 = () => {
5564
4311
  flex-direction: column;
5565
4312
  }
5566
4313
  `,
5567
- logo: css`
4314
+ logo: u`
5568
4315
  cursor: pointer;
5569
4316
  &:hover {
5570
4317
  opacity: 0.7;
@@ -5575,27 +4322,28 @@ var getStyles2 = () => {
5575
4322
  outline: 2px solid ${colors.blue[800]};
5576
4323
  }
5577
4324
  `,
5578
- tanstackLogo: css`
4325
+ tanstackLogo: u`
5579
4326
  font-size: ${font.size.lg};
5580
4327
  font-weight: ${font.weight.extrabold};
5581
4328
  line-height: ${font.lineHeight.sm};
5582
4329
  white-space: nowrap;
5583
4330
  `,
5584
- queryFlavorLogo: css`
4331
+ queryFlavorLogo: u`
5585
4332
  font-weight: ${font.weight.semibold};
5586
4333
  font-size: ${font.size.sm};
5587
4334
  background: linear-gradient(to right, #dd524b, #e9a03b);
5588
4335
  background-clip: text;
4336
+ -webkit-background-clip: text;
5589
4337
  line-height: ${font.lineHeight.xs};
5590
4338
  -webkit-text-fill-color: transparent;
5591
4339
  white-space: nowrap;
5592
4340
  `,
5593
- queryStatusContainer: css`
4341
+ queryStatusContainer: u`
5594
4342
  display: flex;
5595
4343
  gap: ${tokens.size[2]};
5596
4344
  height: min-content;
5597
4345
  `,
5598
- queryStatusTag: css`
4346
+ queryStatusTag: u`
5599
4347
  display: flex;
5600
4348
  gap: ${tokens.size[1.5]};
5601
4349
  background: ${colors.darkGray[500]};
@@ -5617,7 +4365,7 @@ var getStyles2 = () => {
5617
4365
  color: ${colors.gray[300]}${alpha[80]};
5618
4366
  }
5619
4367
  `,
5620
- statusTooltip: css`
4368
+ statusTooltip: u`
5621
4369
  position: absolute;
5622
4370
  z-index: 1;
5623
4371
  background-color: ${colors.darkGray[500]};
@@ -5656,10 +4404,10 @@ var getStyles2 = () => {
5656
4404
  border-width: 7px;
5657
4405
  }
5658
4406
  `,
5659
- selectedQueryRow: css`
4407
+ selectedQueryRow: u`
5660
4408
  background-color: ${colors.darkGray[500]};
5661
4409
  `,
5662
- queryStatusCount: css`
4410
+ queryStatusCount: u`
5663
4411
  padding: 0 8px;
5664
4412
  display: flex;
5665
4413
  align-items: center;
@@ -5669,7 +4417,7 @@ var getStyles2 = () => {
5669
4417
  border-radius: 3px;
5670
4418
  font-variant-numeric: tabular-nums;
5671
4419
  `,
5672
- filtersContainer: css`
4420
+ filtersContainer: u`
5673
4421
  display: flex;
5674
4422
  gap: ${tokens.size[2.5]};
5675
4423
  & > button {
@@ -5692,7 +4440,7 @@ var getStyles2 = () => {
5692
4440
  }
5693
4441
  }
5694
4442
  `,
5695
- filterInput: css`
4443
+ filterInput: u`
5696
4444
  padding: ${tokens.size[1.5]} ${tokens.size[2.5]};
5697
4445
  border-radius: ${tokens.border.radius.md};
5698
4446
  background-color: ${colors.darkGray[400]};
@@ -5730,7 +4478,7 @@ var getStyles2 = () => {
5730
4478
  outline: 2px solid ${colors.blue[800]};
5731
4479
  }
5732
4480
  `,
5733
- filterSelect: css`
4481
+ filterSelect: u`
5734
4482
  padding: ${tokens.size[1.5]} ${tokens.size[2.5]};
5735
4483
  border-radius: ${tokens.border.radius.md};
5736
4484
  background-color: ${colors.darkGray[400]};
@@ -5762,15 +4510,15 @@ var getStyles2 = () => {
5762
4510
  outline: 2px solid ${colors.blue[800]};
5763
4511
  }
5764
4512
  `,
5765
- actionsContainer: css`
4513
+ actionsContainer: u`
5766
4514
  display: flex;
5767
4515
  gap: ${tokens.size[2.5]};
5768
4516
  `,
5769
- actionsBtn: css`
4517
+ actionsBtn: u`
5770
4518
  border-radius: ${tokens.border.radius.md};
5771
4519
  background-color: ${colors.darkGray[400]};
5772
- width: 2.125rem; // 34px
5773
- height: 2.125rem; // 34px
4520
+ width: 2.125rem;
4521
+ height: 2.125rem;
5774
4522
  justify-content: center;
5775
4523
  display: flex;
5776
4524
  align-items: center;
@@ -5792,7 +4540,7 @@ var getStyles2 = () => {
5792
4540
  outline: 2px solid ${colors.blue[800]};
5793
4541
  }
5794
4542
  `,
5795
- overflowQueryContainer: css`
4543
+ overflowQueryContainer: u`
5796
4544
  flex: 1;
5797
4545
  overflow-y: auto;
5798
4546
  & > div {
@@ -5800,27 +4548,30 @@ var getStyles2 = () => {
5800
4548
  flex-direction: column;
5801
4549
  }
5802
4550
  `,
5803
- queryRow: css`
4551
+ queryRow: u`
5804
4552
  display: flex;
5805
4553
  align-items: center;
5806
4554
  padding: 0;
5807
4555
  background-color: inherit;
5808
4556
  border: none;
5809
4557
  cursor: pointer;
4558
+ &:focus {
4559
+ outline: none;
4560
+ }
5810
4561
  &:focus-visible {
5811
4562
  outline-offset: -2px;
5812
4563
  border-radius: ${border.radius.xs};
5813
4564
  outline: 2px solid ${colors.blue[800]};
5814
4565
  }
5815
- &:hover .TSQDQueryHash {
4566
+ &:hover .tsqd-query-hash {
5816
4567
  background-color: ${colors.darkGray[600]};
5817
4568
  }
5818
4569
 
5819
- & .TSQDObserverCount {
4570
+ & .tsqd-query-observer-count {
5820
4571
  padding: 0 ${tokens.size[1]};
5821
4572
  user-select: none;
5822
4573
  min-width: ${tokens.size[8]};
5823
- align-self: stretch !important;
4574
+ align-self: stretch;
5824
4575
  display: flex;
5825
4576
  align-items: center;
5826
4577
  justify-content: center;
@@ -5828,7 +4579,7 @@ var getStyles2 = () => {
5828
4579
  font-weight: ${font.weight.medium};
5829
4580
  border-bottom: 1px solid ${colors.darkGray[700]};
5830
4581
  }
5831
- & .TSQDQueryHash {
4582
+ & .tsqd-query-hash {
5832
4583
  user-select: text;
5833
4584
  font-size: ${font.size.sm};
5834
4585
  display: flex;
@@ -5836,16 +4587,15 @@ var getStyles2 = () => {
5836
4587
  min-height: ${tokens.size[8]};
5837
4588
  flex: 1;
5838
4589
  padding: ${tokens.size[1]} ${tokens.size[2]};
5839
- font-family: 'Menlo', 'Fira Code', monospace !important;
4590
+ font-family: 'Menlo', 'Fira Code', monospace;
5840
4591
  border-bottom: 1px solid ${colors.darkGray[400]};
5841
4592
  text-align: left;
5842
4593
  text-overflow: clip;
5843
4594
  word-break: break-word;
5844
4595
  }
5845
4596
 
5846
- & .TSQDQueryDisabled {
4597
+ & .tsqd-query-disabled-indicator {
5847
4598
  align-self: stretch;
5848
- align-self: stretch !important;
5849
4599
  display: flex;
5850
4600
  align-items: center;
5851
4601
  padding: 0 ${tokens.size[3]};
@@ -5855,15 +4605,16 @@ var getStyles2 = () => {
5855
4605
  font-size: ${font.size.sm};
5856
4606
  }
5857
4607
  `,
5858
- detailsContainer: css`
4608
+ detailsContainer: u`
5859
4609
  flex: 1 1 700px;
5860
4610
  background-color: ${colors.darkGray[700]};
5861
4611
  display: flex;
5862
4612
  flex-direction: column;
5863
4613
  overflow-y: auto;
5864
4614
  display: flex;
4615
+ text-align: left;
5865
4616
  `,
5866
- detailsHeader: css`
4617
+ detailsHeader: u`
5867
4618
  position: sticky;
5868
4619
  top: 0;
5869
4620
  z-index: 2;
@@ -5871,8 +4622,9 @@ var getStyles2 = () => {
5871
4622
  padding: ${tokens.size[2]} ${tokens.size[2]};
5872
4623
  font-weight: ${font.weight.medium};
5873
4624
  font-size: ${font.size.sm};
4625
+ text-align: left;
5874
4626
  `,
5875
- detailsBody: css`
4627
+ detailsBody: u`
5876
4628
  margin: ${tokens.size[2]} 0px ${tokens.size[3]} 0px;
5877
4629
  & > div {
5878
4630
  display: flex;
@@ -5893,19 +4645,19 @@ var getStyles2 = () => {
5893
4645
  }
5894
4646
 
5895
4647
  & code {
5896
- font-family: 'Menlo', 'Fira Code', monospace !important;
4648
+ font-family: 'Menlo', 'Fira Code', monospace;
5897
4649
  margin: 0;
5898
4650
  font-size: ${font.size.sm};
5899
4651
  line-height: ${font.lineHeight.sm};
5900
4652
  }
5901
4653
  `,
5902
- queryDetailsStatus: css`
4654
+ queryDetailsStatus: u`
5903
4655
  border: 1px solid ${colors.darkGray[200]};
5904
4656
  border-radius: ${tokens.border.radius.md};
5905
4657
  font-weight: ${font.weight.medium};
5906
4658
  padding: ${tokens.size[1]} ${tokens.size[2.5]};
5907
4659
  `,
5908
- actionsBody: css`
4660
+ actionsBody: u`
5909
4661
  flex-wrap: wrap;
5910
4662
  margin: ${tokens.size[3]} 0px ${tokens.size[3]} 0px;
5911
4663
  display: flex;
@@ -5944,7 +4696,7 @@ var getStyles2 = () => {
5944
4696
  }
5945
4697
  }
5946
4698
  `,
5947
- actionsSelect: css`
4699
+ actionsSelect: u`
5948
4700
  font-size: ${font.size.sm};
5949
4701
  padding: ${tokens.size[2]} ${tokens.size[2]};
5950
4702
  display: flex;
@@ -5986,10 +4738,10 @@ var getStyles2 = () => {
5986
4738
  }
5987
4739
 
5988
4740
  & svg path {
5989
- stroke: ${tokens.colors.red[400]} !important;
4741
+ stroke: ${tokens.colors.red[400]};
5990
4742
  }
5991
4743
  `,
5992
- settingsMenu: css`
4744
+ settingsMenu: u`
5993
4745
  position: absolute;
5994
4746
  top: calc(100% + ${tokens.size[2]});
5995
4747
  border-radius: ${tokens.border.radius.lg};
@@ -6001,12 +4753,12 @@ var getStyles2 = () => {
6001
4753
  color: ${colors.gray[500]};
6002
4754
  z-index: 7;
6003
4755
  `,
6004
- settingsMenuHeader: css`
4756
+ settingsMenuHeader: u`
6005
4757
  padding: ${tokens.size[1.5]} ${tokens.size[2.5]};
6006
4758
  color: ${colors.gray[300]};
6007
4759
  font-weight: ${font.weight.medium};
6008
4760
  `,
6009
- settingsMenuSection: css`
4761
+ settingsMenuSection: u`
6010
4762
  border-top: 1px solid ${colors.gray[600]};
6011
4763
  display: flex;
6012
4764
  flex-direction: column;